diff --git a/deepdataspace/server/static/index.html b/deepdataspace/server/static/index.html index cfb4af9..29730a3 100644 --- a/deepdataspace/server/static/index.html +++ b/deepdataspace/server/static/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/deepdataspace/server/static/p__Dataset__index.655d469e.async.js b/deepdataspace/server/static/p__Dataset__index.cc75cb8c.async.js similarity index 77% rename from deepdataspace/server/static/p__Dataset__index.655d469e.async.js rename to deepdataspace/server/static/p__Dataset__index.cc75cb8c.async.js index 430868e..d03a35d 100644 --- a/deepdataspace/server/static/p__Dataset__index.655d469e.async.js +++ b/deepdataspace/server/static/p__Dataset__index.cc75cb8c.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[33],{51204:function(se,Z,e){e.d(Z,{Z:function(){return V}});var R=e(58757),j=e(59504),N=e(53357),A={wrapper:"wrapper___FtwXk"},u=e(35667),o=function(P){var i=(0,N.bU)(),s=i.localeText,p=P.categoryId,t=P.categories,h=P.onCategoryChange,y=(0,R.useMemo)(function(){return t.map(function(w){return{label:w.name,value:w.id}})},[t]);return(0,u.jsxs)("div",{className:A.wrapper,children:[s("dataset.detail.category"),":",(0,u.jsx)(j.Z,{showSearch:!0,style:{width:"160px",marginLeft:"10px"},placeholder:"Select a category",options:y,optionFilterProp:"label",value:p,onChange:h,getPopupContainer:function(){return document.getElementById("filterWrap")}})]})},V=o},85205:function(se,Z,e){e.d(Z,{Z:function(){return t}});var R=e(58757),j=e(10852),N=e(38904),A=e(57414),u={dropBtn:"dropBtn___SYvIY",displayPanel:"displayPanel___JkzSB",objectTypeOption:"objectTypeOption___O6sJL",typeTitle:"typeTitle___l97pr",displayOptions:"displayOptions___NQVYA"},o=e(87615),V=e(87608),W=e.n(V),P=e(53357),i=e(76180),s=e(35667),p=function(y){var w=(0,P.bU)(),g=w.localeText,J=y.annotationTypes,B=y.disableChangeType,H=y.displayAnnotationType,f=y.displayOptions,$=y.displayOptionsValue,K=y.onDisplayAnnotationTypeChange,S=y.onDisplayOptionsChange;return(0,s.jsx)(o.Z,{className:u.dropBtn,customOverlay:(0,s.jsxs)("div",{className:W()(u.displayPanel),children:[J.length>0&&(0,s.jsxs)("div",{className:u.objectTypeOption,children:[(0,s.jsxs)("span",{className:u.typeTitle,children:[g("dataset.detail.displayType"),":"]}),(0,s.jsx)(j.ZP.Group,{disabled:B,onChange:function(Q){return K(Q.target.value)},value:H,children:J.map(function(D){return(0,s.jsx)(j.ZP,{value:D,children:D},D)})})]}),(0,s.jsx)(N.Z.Group,{className:u.displayOptions,onChange:S,value:$,children:(0,s.jsx)(A.Z,{direction:"vertical",children:f.map(function(D){return(0,s.jsx)(N.Z,{value:D,children:g(i.Ss[D])},D)})})})]}),children:g("dataset.detail.displayOptions")})},t=p},87615:function(se,Z,e){e.d(Z,{Z:function(){return p}});var R=e(58757),j=e(38904),N=e(10852),A=e(73267),u=e(57414),o=e(12562),V=e(10130),W=e(53357),P={dropdownSelector:"dropdownSelector___gvMFq",dropdownWrap:"dropdownWrap___WWYlz",dropdownBox:"dropdownBox___lpUVf"},i=e(35667),s=function(h){var y=h.data,w=h.multiple,g=h.type,J=g===void 0?"primary":g,B=h.ghost,H=B===void 0?!0:B,f=h.value,$=h.filterOptionValue,K=h.filterOptionName,S=h.onChange,D=h.className,Q=h.children,q=h.customOverlay,F=w?j.Z:N.ZP,a=function(b){S&&S(w?b:b.target.value)};return(0,i.jsx)(A.Z,{overlayClassName:P.dropdownSelector,trigger:["click"],dropdownRender:function(){return(0,i.jsx)("div",{className:P.dropdownWrap,children:q||(0,i.jsx)(F.Group,{className:P.dropdownBox,onChange:a,value:f,children:(0,i.jsx)(u.Z,{direction:"vertical",children:y==null?void 0:y.map(function(b,_){var oe=$?$(b):b,ne=K?K(b):b;return(0,i.jsx)(F,{value:oe,children:(0,W._w)(ne)},_)})})})})},children:(0,i.jsxs)(o.ZP,{className:D,type:J,ghost:H,children:[Q,(0,i.jsx)(V.Z,{})]})})},p=s},77589:function(se,Z,e){e.d(Z,{Z:function(){return y}});var R=e(58757),j=e(38904),N=e(57414),A=e(94706),u=e(10852),o={labelsPanel:"labelsPanel___nCoUr",labels:"labels___f2KO4",labelTitle:"labelTitle___C12Si",optionRow:"optionRow___X46cn",checkbox:"checkbox___Z6wLJ",slider:"slider___GUIhq",lineStyle:"lineStyle___Kmd9H",actionBtns:"actionBtns___JfDVN",modes:"modes___HaJVD"},V=e(87615),W=e(87608),P=e.n(W),i=e(76180),s=e(74595),p=e(53357),t=e(35667),h=function(g){var J=(0,p.bU)(),B=J.localeText,H=g.showMatting,f=g.showKeyPoints,$=g.isTiledDiff,K=g.labels,S=g.selectedLabelIds,D=g.diffMode,Q=g.disableChangeDiffMode,q=g.onLabelsChange,F=g.onLabelConfidenceChange,a=g.onLabelsDiffModeChange;return(0,t.jsx)(V.Z,{customOverlay:(0,t.jsxs)("div",{className:P()(o.labelsPanel),id:"labelsPanel",children:[(0,t.jsxs)("div",{className:o.labels,children:[(0,t.jsxs)("div",{className:o.labelTitle,children:[(0,t.jsx)("div",{style:{width:"240px",paddingLeft:"24px"},children:B("dataset.detail.labelSetsName")}),!H&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{style:{width:"132px"},children:B("dataset.detail.confidence")}),(0,t.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:B("dataset.detail.style")})]})]}),(0,t.jsx)(j.Z.Group,{onChange:q,value:S,className:o.options,children:(0,t.jsx)(N.Z,{direction:"vertical",children:K.map(function(x,b){var _=(0,s.iE)(x.id,S,$),oe=_.strokeDash,ne=_.lineWidth,fe=_.colorAplha;return(0,t.jsxs)("div",{className:o.optionRow,children:[(0,t.jsx)(j.Z,{value:x.id,className:o.checkbox,disabled:!S.includes(x.id)&&S.length>=i.JQ.length,children:x.name}),!H&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.Z,{tooltip:{open:!0,prefixCls:"slider-tooltip",getPopupContainer:function(){return document.getElementById("labelsPanel")}},className:o.slider,range:!0,min:0,max:1,value:x.confidenceRange,step:.01,onChange:function(xe){return F(b,xe)},disabled:x.source!==i.$j.pred}),(0,t.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:S.includes(x.id)&&(0,t.jsxs)("svg",{className:o.lineStyle,children:[(0,t.jsx)("line",{x1:5,y1:5,x2:70,y2:5,strokeDasharray:oe.join(","),strokeWidth:"".concat(ne,"pt")}),f&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:5,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(fe,")")}),(0,t.jsx)("circle",{cx:70,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(fe,")")})]})]})})]})]},x.id)})})})]}),!H&&!Q&&(0,t.jsx)("div",{className:o.modes,children:(0,t.jsx)(u.ZP.Group,{onChange:function(b){return a(b.target.value)},value:D,children:i.Wp.map(function(x){return(0,t.jsx)(u.ZP,{value:x,children:B(x)},x)})})})]}),children:B("dataset.detail.labelSets")})},y=h},10666:function(se,Z,e){e.r(Z),e.d(Z,{default:function(){return Be}});var R=e(24454),j=e.n(R),N=e(56592),A=e.n(N),u=e(58757),o=e(97375),V=e(28506),W=e(61845),P=e(37617),i=e(79233),s=e(6233),p=e.n(s),t=e(12562),h=e(92183),y=e(60698),w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M956 686.5l-.1-.1-.1-.1C911.7 593 843.4 545 752.5 545s-159.2 48.1-203.4 141.3v.1a42.92 42.92 0 000 36.4C593.3 816 661.6 864 752.5 864s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.2zM752.5 800c-62.1 0-107.4-30-141.1-95.5C645 639 690.4 609 752.5 609c62.1 0 107.4 30 141.1 95.5C860 770 814.6 800 752.5 800z"}},{tag:"path",attrs:{d:"M697 705a56 56 0 10112 0 56 56 0 10-112 0zM136 232h704v253h72V192c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h352v-72H136V232z"}},{tag:"path",attrs:{d:"M724.9 338.1l-36.8-36.8a8.03 8.03 0 00-11.3 0L493 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L251.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.2-3.1 3.2-8.2 0-11.3z"}}]},name:"fund-view",theme:"outlined"},g=w,J=e(17202),B=function(v,d){return u.createElement(J.Z,(0,y.Z)({},v,{ref:d,icon:g}))},H=u.forwardRef(B),f=e(76180),$=e(23707),K=e(51204),S=e(77589),D=e(85205),Q=e(51830),q=e(53357),F={fixMenu:"fixMenu___sFkoc",filter:"filter___YLCNA",rightFilters:"rightFilters___ciVMw",backBtn:"backBtn___czLrv",dropBtn:"dropBtn___dmpsD"},a=e(35667),x=function(){var v=(0,q.bU)(),d=v.localeText,T=(0,o.useModel)("dataset.common",function(n){return{isTiledDiff:n.isTiledDiff,cloumnCount:n.pageState.cloumnCount,filters:n.pageData.filters,filterValues:n.pageState.filterValues,comparisons:n.pageState.comparisons}}),r=T.filters,M=T.filterValues,c=T.comparisons,L=T.isTiledDiff,G=T.cloumnCount,O=(0,o.useModel)("dataset.filters"),C=O.onCategoryChange,k=O.onDisplayOptionsChange,z=O.onDisplayAnnotationTypeChange,E=O.onLabelsChange,te=O.onLabelConfidenceChange,re=O.onLabelsDiffModeChange,de=O.onColumnCountChange,U=(0,o.useModel)("dataset.comparisons"),ce=U.openAnalysisModal,ee=r.labels,ue=M.selectedLabelIds,le=M.displayAnnotationType===f.JJ.Matting,ve=M.displayAnnotationType===f.JJ.KeyPoints;return(0,a.jsxs)("div",{className:F.fixMenu,id:"filterWrap",children:[(0,a.jsxs)("div",{className:F.filter,children:[(0,a.jsx)(t.ZP,{icon:(0,a.jsx)(h.Z,{}),type:"text",className:F.backBtn,onClick:function(){return(0,$.yS)("/dataset")}}),(0,a.jsx)(K.Z,{categoryId:M.categoryId,categories:r.categories,onCategoryChange:C})]}),(0,a.jsxs)("div",{className:F.rightFilters,children:[c?null:(0,a.jsx)(S.Z,{showMatting:le,showKeyPoints:ve,isTiledDiff:L,labels:ee,selectedLabelIds:ue,diffMode:M.diffMode,onLabelsChange:E,onLabelConfidenceChange:te,onLabelsDiffModeChange:re}),(0,a.jsx)(D.Z,{annotationTypes:r.annotationTypes,disableChangeType:!!c,displayAnnotationType:M.displayAnnotationType,displayOptions:r.displayOptions,displayOptionsValue:M.displayOptions,onDisplayAnnotationTypeChange:z,onDisplayOptionsChange:k}),c?null:(0,a.jsxs)(t.ZP,{className:F.dropBtn,type:"primary",onClick:ce,children:[(0,a.jsx)(H,{}),d("dataset.detail.analysis")]}),!L&&(0,a.jsx)(Q.ii,{cloumnCount:G,onColumnCountChange:de})]})]})},b=x,_=e(88205),oe=e.n(_),ne=e(84045),fe=e(62109),ye=e(59504),xe=e(10852),ie=e(38904),De=e(94706),je=e(87615),m={tools:"tools___Ug3Ea",title:"title____AI54",optionsTitle:"optionsTitle___sroju",vsText:"vsText___dPKn_",vs:"vs___zpup3",splitLine:"splitLine___SWsIk",splitLineLeft:"splitLineLeft___gVvN2",toolsBar:"toolsBar___SS4ub",text:"text___TLeEl",selector:"selector___rNXkx",scoreSlider:"scoreSlider___Dmu_I",slider:"slider___TbBwi",displayBar:"displayBar___iGMj2",anlysisModal:"anlysisModal___IPNpO"},Me=e(41260),Ne=function(){var v,d,T=(0,q.bU)(),r=T.localeText,M=(0,o.useModel)("dataset.common",function(n){return{comparisons:n.pageState.comparisons,labels:n.pageData.filters.labels}}),c=M.comparisons,L=M.labels,G=(0,u.useState)(void 0),O=oe()(G,2),C=O[0],k=O[1],z=(0,o.useModel)("dataset.comparisons"),E=z.showAnalysisModal,te=z.closeAnalysisModal,re=z.compareLabelSet,de=z.exitComparisons,U=z.onFilterComparisonsPrecision,ce=L.length>0&&L.find(function(n){return n.source===f.$j.gt})&&L.find(function(n){var l;return((l=n.comparePrecisions)===null||l===void 0?void 0:l.length)>0}),ee=L.find(function(n){return n.source===f.$j.gt}),ue=L.filter(function(n){var l;return((l=n.comparePrecisions)===null||l===void 0?void 0:l.length)>0}).map(function(n){return{value:n.id,label:n.name}}),le=function(l){k(l)},ve=function(){if(!ce){ne.ZP.warning(r("dataset.toAnalysis.unSupportWarn"));return}var l=L.find(function(pe){return pe.id===C});if(!C||!l){ne.ZP.warning(r("dataset.toAnalysis.unSelectWarn"));return}te(),re(l)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(fe.Z,{title:r("dataset.detail.analModal.title"),footer:[(0,a.jsx)(t.ZP,{type:"primary",onClick:ve,children:r("dataset.detail.analModal.btn")},"analysis")],open:E,onCancel:te,children:(0,a.jsxs)("div",{className:m.anlysisModal,children:[(0,a.jsx)("div",{children:ee==null?void 0:ee.name}),(0,a.jsx)("div",{className:m.vs,children:"vs"}),(0,a.jsx)(ye.Z,{placeholder:r("dataset.detail.analModal.select"),style:{width:240},onChange:le,options:ue,value:C})]})}),c&&(0,a.jsxs)("div",{className:m.tools,children:[(0,a.jsxs)("div",{className:m.toolsBar,children:[(0,a.jsxs)("div",{className:m.selector,children:[(0,a.jsxs)("div",{className:m.title,children:[r("dataset.detail.analModal.sort")," :"]}),(0,a.jsx)(je.Z,{data:f.J1,value:c.orderBy,filterOptionName:function(l){return l.name},filterOptionValue:function(l){return l.value},onChange:function(l){return U("orderBy",l)},ghost:!1,type:"default",children:(v=f.J1.find(function(n){return n.value===c.orderBy}))===null||v===void 0?void 0:v.name}),(0,a.jsx)("span",{className:m.text,children:"with Confidence Precision"}),(0,a.jsxs)(je.Z,{data:c.label.comparePrecisions,value:c.precision,filterOptionName:function(l){return"".concat(l.precision," (Threshold: ").concat((0,Me.O)(l.threshold),")")},filterOptionValue:function(l){return l.precision},onChange:function(l){return U("precision",l)},ghost:!1,type:"default",children:[c.precision," (Threshold: ".concat((0,Me.O)(((d=c.label.comparePrecisions.find(function(n){return n.precision===c.precision}))===null||d===void 0?void 0:d.threshold)||0),")")]})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("span",{className:m.vsText,children:["GroundTruch ",(0,a.jsx)("span",{className:m.vs,children:"VS"})," ",c==null?void 0:c.label.name]}),(0,a.jsx)(t.ZP,{onClick:de,children:r("dataset.detail.analModal.exit")})]})]}),(0,a.jsxs)("div",{className:m.displayBar,children:[(0,a.jsxs)("div",{className:m.title,children:[r("dataset.detail.analModal.display")," :"]}),(0,a.jsx)(xe.ZP.Group,{options:f.Wp.map(function(n){return{label:"".concat(r(n)).concat(r("dataset.detail.analModal.diff")),value:n}}),onChange:function(l){return U("diffMode",l.target.value)},value:c.diffMode,optionType:"button"}),(0,a.jsx)("div",{className:m.splitLine}),(0,a.jsxs)(ie.Z.Group,{value:c.displays,onChange:function(l){return U("displays",l)},children:[(0,a.jsx)("span",{className:m.optionsTitle,children:"GroundTruth :"}),(0,a.jsx)(ie.Z,{value:f.$j.gt,children:"Matched"}),(0,a.jsx)(ie.Z,{value:f.BP.fn,children:"FN"}),(0,a.jsx)("div",{className:m.splitLineLeft}),(0,a.jsx)("span",{className:m.optionsTitle,children:"Prediction :"}),(0,a.jsx)(ie.Z,{value:f.$j.pred,children:"Matched"}),(0,a.jsx)(ie.Z,{value:f.BP.fp,children:"FP"})]}),(0,a.jsx)("div",{className:m.splitLineLeft}),(0,a.jsxs)("div",{className:m.scoreSlider,children:["Confidence threshold:",(0,a.jsx)(De.Z,{className:m.slider,min:0,max:1,value:c.score,step:.01,onChange:function(l){return U("score",l)}})]})]})]})]})},Se=Ne,Le=e(74595),Ce={toolsBar:"toolsBar___YbUXd",name:"name___QVqrS",vs:"vs___xuWpM"},be=function(v){var d=v.itemWidth,T=(0,o.useModel)("dataset.common",function(C){return{selectedLabelIds:C.pageState.filterValues.selectedLabelIds,displayAnnotationType:C.pageState.filterValues.displayAnnotationType,labels:C.pageData.filters.labels,comparisons:C.pageState.comparisons,isTiledDiff:C.isTiledDiff}}),r=T.comparisons,M=T.isTiledDiff,c=T.labels,L=T.selectedLabelIds,G=T.displayAnnotationType;if(r||L.length<=1)return null;var O=(0,Le.WR)(c,L,G);return(0,a.jsx)("div",{className:Ce.toolsBar,children:O.map(function(C,k){return(0,a.jsxs)(u.Fragment,{children:[!M&&k>0&&(0,a.jsx)("span",{className:Ce.vs,children:"VS"}),(0,a.jsx)("span",{className:Ce.name,style:{width:M&&k+1!==O.length?d:"auto"},children:C.name})]},C.id)})})},Ie=be,Te=e(9644),Ze=e(4394),X={page:"page___O9xsN",container:"container___rArHW",item:"item___aq9kP",itemImgWrap:"itemImgWrap___IaXgL",flagIcon:"flagIcon___Cm6rw",label:"label___spqGh",itemSelectedMask:"itemSelectedMask___CHtC_",pagination:"pagination___VE_pg",editor:"editor___Nl4nr",pageSpin:"pageSpin___zzy9v"},Ae=function(){var v=(0,o.useModel)("dataset.common"),d=v.pageState,T=v.onInitPageState,r=v.pageData,M=v.loading,c=v.displayLabelIds,L=v.isTiledDiff,G=v.displayOptionsResult,O=v.onPageContentLoaded,C=v.onPreviewIndexChange,k=v.exitPreview,z=v.displayObjectsFilter,E=(0,o.useModel)("Dataset.model"),te=E.onPageDidMount,re=E.onPageWillUnmount,de=E.clickItem,U=E.doubleClickItem,ce=E.onPageChange,ee=E.onPageSizeChange,ue=(0,o.useModel)("global"),le=ue.layoutInnerWidth,ve=d.cloumnCount,n=d.isSingleAnnotation,l=d.filterValues,pe=d.flagTools;(0,V._)({onPageDidMount:te,onPageWillUnmount:re,onInitPageState:T,pageState:d});var Oe=le?le-80:0,ge=(0,u.useMemo)(function(){return L?(0,Le.JC)(r.imgList,c,l.displayAnnotationType):r.imgList},[L,r.imgList,c]),Pe=L?ge.length/(r.imgList.length||1):ve,ae=Oe?(Oe-16*(Pe-1))/(Pe||1):0;return(0,a.jsxs)(W._z,{ghost:!0,className:X.page,pageHeaderRender:function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b,{}),(0,a.jsx)(Se,{}),(0,a.jsx)(Ie,{itemWidth:ae+16})]})},fixedHeader:!0,children:[(0,a.jsx)("div",{className:X.container,children:(0,a.jsx)(P.Z,{loading:M,children:ge.length?(0,a.jsx)(p(),{options:{gutter:16,horizontalOrder:!0,transitionDuration:0},onImagesLoaded:function(){return O()},enableResizableChildren:!0,children:ge.map(function(I,he){return(0,a.jsxs)("div",{className:X.item,style:{width:ae},onClick:function(){return de(he)},onDoubleClick:function(){return U(he)},children:[(0,a.jsx)("div",{className:X.itemImgWrap,style:{width:ae,height:pe?ae*3/4:"auto"},children:(0,a.jsx)(Te.D5,{isOldMode:!0,categories:r.filters.categories,data:I,wrapWidth:ae,wrapHeight:pe?ae*3/4:void 0,minHeight:ae*3/4,objectsFilter:z,displayOptionsResult:G})}),I.flag>0&&(0,a.jsx)(Ze.r,{fill:f.a5[I.flag],className:X.flagIcon}),G.showImgDesc&&(0,a.jsxs)("div",{className:X.label,children:[" ",I.caption||I.desc," "]}),pe&&I.selected?(0,a.jsx)("div",{className:X.itemSelectedMask}):null]},"".concat(I.id,"_").concat(he))})}):null})}),!M&&(0,a.jsx)(Q.ZJ,{current:d.page,size:d.pageSize,total:r.total,onPageChange:ce,onPageSizeChange:ee}),(0,a.jsx)(Te.j5,{isOldMode:!0,visible:d.previewIndex>=0&&!n,categories:r.filters.categories,list:ge,current:d.previewIndex,onCancel:k,onNext:A()(j()().mark(function I(){return j()().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:d.previewIndex0&&C(d.previewIndex-1);case 1:case"end":return Y.stop()}},I)})),objectsFilter:z,displayOptionsResult:G}),r.screenLoading?(0,a.jsx)("div",{className:X.pageSpin,children:(0,a.jsx)(i.Z,{spinning:!0,tip:r.screenLoading})}):null]})},Be=Ae},4394:function(se,Z,e){e.d(Z,{r:function(){return W}});var R=e(58757),j=Object.defineProperty,N=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,o=(i,s,p)=>s in i?j(i,s,{enumerable:!0,configurable:!0,writable:!0,value:p}):i[s]=p,V=(i,s)=>{for(var p in s||(s={}))A.call(s,p)&&o(i,p,s[p]);if(N)for(var p of N(s))u.call(s,p)&&o(i,p,s[p]);return i};const W=i=>R.createElement("svg",V({viewBox:"0 0 16 16",fill:"#52C41A",xmlns:"http://www.w3.org/2000/svg"},i),R.createElement("path",{d:"M12.633 4.84 3.838 1.05A.599.599 0 0 0 3 1.602v12.793a.602.602 0 1 0 1.204 0v-4l8.475-4.47a.601.601 0 0 0-.046-1.086Z"}));var P="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9IiM1MkM0MUEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyLjYzMyA0Ljg0IDMuODM4IDEuMDVBLjU5OS41OTkgMCAwIDAgMyAxLjYwMnYxMi43OTNhLjYwMi42MDIgMCAxIDAgMS4yMDQgMHYtNGw4LjQ3NS00LjQ3YS42MDEuNjAxIDAgMCAwLS4wNDYtMS4wODZaIi8+PC9zdmc+"}}]); +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[33],{51204:function(se,Z,e){e.d(Z,{Z:function(){return V}});var R=e(58757),j=e(59504),N=e(53357),A={wrapper:"wrapper___FtwXk"},u=e(35667),o=function(P){var i=(0,N.bU)(),s=i.localeText,p=P.categoryId,t=P.categories,h=P.onCategoryChange,y=(0,R.useMemo)(function(){return t.map(function(w){return{label:w.name,value:w.id}})},[t]);return(0,u.jsxs)("div",{className:A.wrapper,children:[s("dataset.detail.category"),":",(0,u.jsx)(j.Z,{showSearch:!0,style:{width:"160px",marginLeft:"10px"},placeholder:"Select a category",options:y,optionFilterProp:"label",value:p,onChange:h,getPopupContainer:function(){return document.getElementById("filterWrap")}})]})},V=o},85205:function(se,Z,e){e.d(Z,{Z:function(){return t}});var R=e(58757),j=e(10852),N=e(38904),A=e(57414),u={dropBtn:"dropBtn___SYvIY",displayPanel:"displayPanel___JkzSB",objectTypeOption:"objectTypeOption___O6sJL",typeTitle:"typeTitle___l97pr",displayOptions:"displayOptions___NQVYA"},o=e(87615),V=e(87608),W=e.n(V),P=e(53357),i=e(76180),s=e(35667),p=function(y){var w=(0,P.bU)(),g=w.localeText,J=y.annotationTypes,B=y.disableChangeType,H=y.displayAnnotationType,f=y.displayOptions,$=y.displayOptionsValue,K=y.onDisplayAnnotationTypeChange,S=y.onDisplayOptionsChange;return(0,s.jsx)(o.Z,{className:u.dropBtn,customOverlay:(0,s.jsxs)("div",{className:W()(u.displayPanel),children:[J.length>0&&(0,s.jsxs)("div",{className:u.objectTypeOption,children:[(0,s.jsxs)("span",{className:u.typeTitle,children:[g("dataset.detail.displayType"),":"]}),(0,s.jsx)(j.ZP.Group,{disabled:B,onChange:function(Q){return K(Q.target.value)},value:H,children:J.map(function(D){return(0,s.jsx)(j.ZP,{value:D,children:D},D)})})]}),(0,s.jsx)(N.Z.Group,{className:u.displayOptions,onChange:S,value:$,children:(0,s.jsx)(A.Z,{direction:"vertical",children:f.map(function(D){return(0,s.jsx)(N.Z,{value:D,children:g(i.Ss[D])},D)})})})]}),children:g("dataset.detail.displayOptions")})},t=p},87615:function(se,Z,e){e.d(Z,{Z:function(){return p}});var R=e(58757),j=e(38904),N=e(10852),A=e(73267),u=e(57414),o=e(12562),V=e(10130),W=e(53357),P={dropdownSelector:"dropdownSelector___gvMFq",dropdownWrap:"dropdownWrap___WWYlz",dropdownBox:"dropdownBox___lpUVf"},i=e(35667),s=function(h){var y=h.data,w=h.multiple,g=h.type,J=g===void 0?"primary":g,B=h.ghost,H=B===void 0?!0:B,f=h.value,$=h.filterOptionValue,K=h.filterOptionName,S=h.onChange,D=h.className,Q=h.children,q=h.customOverlay,F=w?j.Z:N.ZP,a=function(b){S&&S(w?b:b.target.value)};return(0,i.jsx)(A.Z,{overlayClassName:P.dropdownSelector,trigger:["click"],dropdownRender:function(){return(0,i.jsx)("div",{className:P.dropdownWrap,children:q||(0,i.jsx)(F.Group,{className:P.dropdownBox,onChange:a,value:f,children:(0,i.jsx)(u.Z,{direction:"vertical",children:y==null?void 0:y.map(function(b,_){var oe=$?$(b):b,ne=K?K(b):b;return(0,i.jsx)(F,{value:oe,children:(0,W._w)(ne)},_)})})})})},children:(0,i.jsxs)(o.ZP,{className:D,type:J,ghost:H,children:[Q,(0,i.jsx)(V.Z,{})]})})},p=s},77589:function(se,Z,e){e.d(Z,{Z:function(){return y}});var R=e(58757),j=e(38904),N=e(57414),A=e(94706),u=e(10852),o={labelsPanel:"labelsPanel___nCoUr",labels:"labels___f2KO4",labelTitle:"labelTitle___C12Si",optionRow:"optionRow___X46cn",checkbox:"checkbox___Z6wLJ",slider:"slider___GUIhq",lineStyle:"lineStyle___Kmd9H",actionBtns:"actionBtns___JfDVN",modes:"modes___HaJVD"},V=e(87615),W=e(87608),P=e.n(W),i=e(76180),s=e(74595),p=e(53357),t=e(35667),h=function(g){var J=(0,p.bU)(),B=J.localeText,H=g.showMatting,f=g.showKeyPoints,$=g.isTiledDiff,K=g.labels,S=g.selectedLabelIds,D=g.diffMode,Q=g.disableChangeDiffMode,q=g.onLabelsChange,F=g.onLabelConfidenceChange,a=g.onLabelsDiffModeChange;return(0,t.jsx)(V.Z,{customOverlay:(0,t.jsxs)("div",{className:P()(o.labelsPanel),id:"labelsPanel",children:[(0,t.jsxs)("div",{className:o.labels,children:[(0,t.jsxs)("div",{className:o.labelTitle,children:[(0,t.jsx)("div",{style:{width:"240px",paddingLeft:"24px"},children:B("dataset.detail.labelSetsName")}),!H&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{style:{width:"132px"},children:B("dataset.detail.confidence")}),(0,t.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:B("dataset.detail.style")})]})]}),(0,t.jsx)(j.Z.Group,{onChange:q,value:S,className:o.options,children:(0,t.jsx)(N.Z,{direction:"vertical",children:K.map(function(x,b){var _=(0,s.iE)(x.id,S,$),oe=_.strokeDash,ne=_.lineWidth,fe=_.colorAplha;return(0,t.jsxs)("div",{className:o.optionRow,children:[(0,t.jsx)(j.Z,{value:x.id,className:o.checkbox,disabled:!S.includes(x.id)&&S.length>=i.JQ.length,children:x.name}),!H&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.Z,{tooltip:{open:!0,prefixCls:"slider-tooltip",getPopupContainer:function(){return document.getElementById("labelsPanel")}},className:o.slider,range:!0,min:0,max:1,value:x.confidenceRange,step:.01,onChange:function(xe){return F(b,xe)},disabled:x.source!==i.$j.pred}),(0,t.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:S.includes(x.id)&&(0,t.jsxs)("svg",{className:o.lineStyle,children:[(0,t.jsx)("line",{x1:5,y1:5,x2:70,y2:5,strokeDasharray:oe.join(","),strokeWidth:"".concat(ne,"pt")}),f&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:5,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(fe,")")}),(0,t.jsx)("circle",{cx:70,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(fe,")")})]})]})})]})]},x.id)})})})]}),!H&&!Q&&(0,t.jsx)("div",{className:o.modes,children:(0,t.jsx)(u.ZP.Group,{onChange:function(b){return a(b.target.value)},value:D,children:i.Wp.map(function(x){return(0,t.jsx)(u.ZP,{value:x,children:B(x)},x)})})})]}),children:B("dataset.detail.labelSets")})},y=h},10666:function(se,Z,e){e.r(Z),e.d(Z,{default:function(){return Be}});var R=e(24454),j=e.n(R),N=e(56592),A=e.n(N),u=e(58757),o=e(97375),V=e(28506),W=e(61845),P=e(37617),i=e(79233),s=e(6233),p=e.n(s),t=e(12562),h=e(92183),y=e(60698),w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M956 686.5l-.1-.1-.1-.1C911.7 593 843.4 545 752.5 545s-159.2 48.1-203.4 141.3v.1a42.92 42.92 0 000 36.4C593.3 816 661.6 864 752.5 864s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.2zM752.5 800c-62.1 0-107.4-30-141.1-95.5C645 639 690.4 609 752.5 609c62.1 0 107.4 30 141.1 95.5C860 770 814.6 800 752.5 800z"}},{tag:"path",attrs:{d:"M697 705a56 56 0 10112 0 56 56 0 10-112 0zM136 232h704v253h72V192c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h352v-72H136V232z"}},{tag:"path",attrs:{d:"M724.9 338.1l-36.8-36.8a8.03 8.03 0 00-11.3 0L493 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L251.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.2-3.1 3.2-8.2 0-11.3z"}}]},name:"fund-view",theme:"outlined"},g=w,J=e(17202),B=function(v,d){return u.createElement(J.Z,(0,y.Z)({},v,{ref:d,icon:g}))},H=u.forwardRef(B),f=e(76180),$=e(23707),K=e(51204),S=e(77589),D=e(85205),Q=e(51830),q=e(53357),F={fixMenu:"fixMenu___sFkoc",filter:"filter___YLCNA",rightFilters:"rightFilters___ciVMw",backBtn:"backBtn___czLrv",dropBtn:"dropBtn___dmpsD"},a=e(35667),x=function(){var v=(0,q.bU)(),d=v.localeText,T=(0,o.useModel)("dataset.common",function(n){return{isTiledDiff:n.isTiledDiff,cloumnCount:n.pageState.cloumnCount,filters:n.pageData.filters,filterValues:n.pageState.filterValues,comparisons:n.pageState.comparisons}}),r=T.filters,M=T.filterValues,c=T.comparisons,L=T.isTiledDiff,G=T.cloumnCount,O=(0,o.useModel)("dataset.filters"),C=O.onCategoryChange,k=O.onDisplayOptionsChange,z=O.onDisplayAnnotationTypeChange,E=O.onLabelsChange,te=O.onLabelConfidenceChange,re=O.onLabelsDiffModeChange,de=O.onColumnCountChange,U=(0,o.useModel)("dataset.comparisons"),ce=U.openAnalysisModal,ee=r.labels,ue=M.selectedLabelIds,le=M.displayAnnotationType===f.JJ.Matting,ve=M.displayAnnotationType===f.JJ.KeyPoints;return(0,a.jsxs)("div",{className:F.fixMenu,id:"filterWrap",children:[(0,a.jsxs)("div",{className:F.filter,children:[(0,a.jsx)(t.ZP,{icon:(0,a.jsx)(h.Z,{}),type:"text",className:F.backBtn,onClick:function(){return(0,$.yS)("/dataset")}}),(0,a.jsx)(K.Z,{categoryId:M.categoryId,categories:r.categories,onCategoryChange:C})]}),(0,a.jsxs)("div",{className:F.rightFilters,children:[c?null:(0,a.jsx)(S.Z,{showMatting:le,showKeyPoints:ve,isTiledDiff:L,labels:ee,selectedLabelIds:ue,diffMode:M.diffMode,onLabelsChange:E,onLabelConfidenceChange:te,onLabelsDiffModeChange:re}),(0,a.jsx)(D.Z,{annotationTypes:r.annotationTypes,disableChangeType:!!c,displayAnnotationType:M.displayAnnotationType,displayOptions:r.displayOptions,displayOptionsValue:M.displayOptions,onDisplayAnnotationTypeChange:z,onDisplayOptionsChange:k}),c?null:(0,a.jsxs)(t.ZP,{className:F.dropBtn,type:"primary",onClick:ce,children:[(0,a.jsx)(H,{}),d("dataset.detail.analysis")]}),!L&&(0,a.jsx)(Q.ii,{cloumnCount:G,onColumnCountChange:de})]})]})},b=x,_=e(88205),oe=e.n(_),ne=e(84045),fe=e(62109),ye=e(59504),xe=e(10852),ie=e(38904),De=e(94706),je=e(87615),m={tools:"tools___Ug3Ea",title:"title____AI54",optionsTitle:"optionsTitle___sroju",vsText:"vsText___dPKn_",vs:"vs___zpup3",splitLine:"splitLine___SWsIk",splitLineLeft:"splitLineLeft___gVvN2",toolsBar:"toolsBar___SS4ub",text:"text___TLeEl",selector:"selector___rNXkx",scoreSlider:"scoreSlider___Dmu_I",slider:"slider___TbBwi",displayBar:"displayBar___iGMj2",anlysisModal:"anlysisModal___IPNpO"},Me=e(41260),Ne=function(){var v,d,T=(0,q.bU)(),r=T.localeText,M=(0,o.useModel)("dataset.common",function(n){return{comparisons:n.pageState.comparisons,labels:n.pageData.filters.labels}}),c=M.comparisons,L=M.labels,G=(0,u.useState)(void 0),O=oe()(G,2),C=O[0],k=O[1],z=(0,o.useModel)("dataset.comparisons"),E=z.showAnalysisModal,te=z.closeAnalysisModal,re=z.compareLabelSet,de=z.exitComparisons,U=z.onFilterComparisonsPrecision,ce=L.length>0&&L.find(function(n){return n.source===f.$j.gt})&&L.find(function(n){var l;return((l=n.comparePrecisions)===null||l===void 0?void 0:l.length)>0}),ee=L.find(function(n){return n.source===f.$j.gt}),ue=L.filter(function(n){var l;return((l=n.comparePrecisions)===null||l===void 0?void 0:l.length)>0}).map(function(n){return{value:n.id,label:n.name}}),le=function(l){k(l)},ve=function(){if(!ce){ne.ZP.warning(r("dataset.toAnalysis.unSupportWarn"));return}var l=L.find(function(pe){return pe.id===C});if(!C||!l){ne.ZP.warning(r("dataset.toAnalysis.unSelectWarn"));return}te(),re(l)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(fe.Z,{title:r("dataset.detail.analModal.title"),footer:[(0,a.jsx)(t.ZP,{type:"primary",onClick:ve,children:r("dataset.detail.analModal.btn")},"analysis")],open:E,onCancel:te,children:(0,a.jsxs)("div",{className:m.anlysisModal,children:[(0,a.jsx)("div",{children:ee==null?void 0:ee.name}),(0,a.jsx)("div",{className:m.vs,children:"vs"}),(0,a.jsx)(ye.Z,{placeholder:r("dataset.detail.analModal.select"),style:{width:240},onChange:le,options:ue,value:C})]})}),c&&(0,a.jsxs)("div",{className:m.tools,children:[(0,a.jsxs)("div",{className:m.toolsBar,children:[(0,a.jsxs)("div",{className:m.selector,children:[(0,a.jsxs)("div",{className:m.title,children:[r("dataset.detail.analModal.sort")," :"]}),(0,a.jsx)(je.Z,{data:f.J1,value:c.orderBy,filterOptionName:function(l){return l.name},filterOptionValue:function(l){return l.value},onChange:function(l){return U("orderBy",l)},ghost:!1,type:"default",children:(v=f.J1.find(function(n){return n.value===c.orderBy}))===null||v===void 0?void 0:v.name}),(0,a.jsx)("span",{className:m.text,children:"with Confidence Precision"}),(0,a.jsxs)(je.Z,{data:c.label.comparePrecisions,value:c.precision,filterOptionName:function(l){return"".concat(l.precision," (Threshold: ").concat((0,Me.O)(l.threshold),")")},filterOptionValue:function(l){return l.precision},onChange:function(l){return U("precision",l)},ghost:!1,type:"default",children:[c.precision," (Threshold: ".concat((0,Me.O)(((d=c.label.comparePrecisions.find(function(n){return n.precision===c.precision}))===null||d===void 0?void 0:d.threshold)||0),")")]})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("span",{className:m.vsText,children:["GroundTruch ",(0,a.jsx)("span",{className:m.vs,children:"VS"})," ",c==null?void 0:c.label.name]}),(0,a.jsx)(t.ZP,{onClick:de,children:r("dataset.detail.analModal.exit")})]})]}),(0,a.jsxs)("div",{className:m.displayBar,children:[(0,a.jsxs)("div",{className:m.title,children:[r("dataset.detail.analModal.display")," :"]}),(0,a.jsx)(xe.ZP.Group,{options:f.Wp.map(function(n){return{label:"".concat(r(n)).concat(r("dataset.detail.analModal.diff")),value:n}}),onChange:function(l){return U("diffMode",l.target.value)},value:c.diffMode,optionType:"button"}),(0,a.jsx)("div",{className:m.splitLine}),(0,a.jsxs)(ie.Z.Group,{value:c.displays,onChange:function(l){return U("displays",l)},children:[(0,a.jsx)("span",{className:m.optionsTitle,children:"GroundTruth :"}),(0,a.jsx)(ie.Z,{value:f.$j.gt,children:"Matched"}),(0,a.jsx)(ie.Z,{value:f.BP.fn,children:"FN"}),(0,a.jsx)("div",{className:m.splitLineLeft}),(0,a.jsx)("span",{className:m.optionsTitle,children:"Prediction :"}),(0,a.jsx)(ie.Z,{value:f.$j.pred,children:"Matched"}),(0,a.jsx)(ie.Z,{value:f.BP.fp,children:"FP"})]}),(0,a.jsx)("div",{className:m.splitLineLeft}),(0,a.jsxs)("div",{className:m.scoreSlider,children:["Confidence threshold:",(0,a.jsx)(De.Z,{className:m.slider,min:0,max:1,value:c.score,step:.01,onChange:function(l){return U("score",l)}})]})]})]})]})},Se=Ne,Le=e(74595),Ce={toolsBar:"toolsBar___YbUXd",name:"name___QVqrS",vs:"vs___xuWpM"},be=function(v){var d=v.itemWidth,T=(0,o.useModel)("dataset.common",function(C){return{selectedLabelIds:C.pageState.filterValues.selectedLabelIds,displayAnnotationType:C.pageState.filterValues.displayAnnotationType,labels:C.pageData.filters.labels,comparisons:C.pageState.comparisons,isTiledDiff:C.isTiledDiff}}),r=T.comparisons,M=T.isTiledDiff,c=T.labels,L=T.selectedLabelIds,G=T.displayAnnotationType;if(r||L.length<=1)return null;var O=(0,Le.WR)(c,L,G);return(0,a.jsx)("div",{className:Ce.toolsBar,children:O.map(function(C,k){return(0,a.jsxs)(u.Fragment,{children:[!M&&k>0&&(0,a.jsx)("span",{className:Ce.vs,children:"VS"}),(0,a.jsx)("span",{className:Ce.name,style:{width:M&&k+1!==O.length?d:"auto"},children:C.name})]},C.id)})})},Ie=be,Te=e(65104),Ze=e(4394),X={page:"page___O9xsN",container:"container___rArHW",item:"item___aq9kP",itemImgWrap:"itemImgWrap___IaXgL",flagIcon:"flagIcon___Cm6rw",label:"label___spqGh",itemSelectedMask:"itemSelectedMask___CHtC_",pagination:"pagination___VE_pg",editor:"editor___Nl4nr",pageSpin:"pageSpin___zzy9v"},Ae=function(){var v=(0,o.useModel)("dataset.common"),d=v.pageState,T=v.onInitPageState,r=v.pageData,M=v.loading,c=v.displayLabelIds,L=v.isTiledDiff,G=v.displayOptionsResult,O=v.onPageContentLoaded,C=v.onPreviewIndexChange,k=v.exitPreview,z=v.displayObjectsFilter,E=(0,o.useModel)("Dataset.model"),te=E.onPageDidMount,re=E.onPageWillUnmount,de=E.clickItem,U=E.doubleClickItem,ce=E.onPageChange,ee=E.onPageSizeChange,ue=(0,o.useModel)("global"),le=ue.layoutInnerWidth,ve=d.cloumnCount,n=d.isSingleAnnotation,l=d.filterValues,pe=d.flagTools;(0,V._)({onPageDidMount:te,onPageWillUnmount:re,onInitPageState:T,pageState:d});var Oe=le?le-80:0,ge=(0,u.useMemo)(function(){return L?(0,Le.JC)(r.imgList,c,l.displayAnnotationType):r.imgList},[L,r.imgList,c]),Pe=L?ge.length/(r.imgList.length||1):ve,ae=Oe?(Oe-16*(Pe-1))/(Pe||1):0;return(0,a.jsxs)(W._z,{ghost:!0,className:X.page,pageHeaderRender:function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b,{}),(0,a.jsx)(Se,{}),(0,a.jsx)(Ie,{itemWidth:ae+16})]})},fixedHeader:!0,children:[(0,a.jsx)("div",{className:X.container,children:(0,a.jsx)(P.Z,{loading:M,children:ge.length?(0,a.jsx)(p(),{options:{gutter:16,horizontalOrder:!0,transitionDuration:0},onImagesLoaded:function(){return O()},enableResizableChildren:!0,children:ge.map(function(I,he){return(0,a.jsxs)("div",{className:X.item,style:{width:ae},onClick:function(){return de(he)},onDoubleClick:function(){return U(he)},children:[(0,a.jsx)("div",{className:X.itemImgWrap,style:{width:ae,height:pe?ae*3/4:"auto"},children:(0,a.jsx)(Te.D5,{isOldMode:!0,categories:r.filters.categories,data:I,wrapWidth:ae,wrapHeight:pe?ae*3/4:void 0,minHeight:ae*3/4,objectsFilter:z,displayOptionsResult:G})}),I.flag>0&&(0,a.jsx)(Ze.r,{fill:f.a5[I.flag],className:X.flagIcon}),G.showImgDesc&&(0,a.jsxs)("div",{className:X.label,children:[" ",I.caption||I.desc," "]}),pe&&I.selected?(0,a.jsx)("div",{className:X.itemSelectedMask}):null]},"".concat(I.id,"_").concat(he))})}):null})}),!M&&(0,a.jsx)(Q.ZJ,{current:d.page,size:d.pageSize,total:r.total,onPageChange:ce,onPageSizeChange:ee}),(0,a.jsx)(Te.j5,{isOldMode:!0,visible:d.previewIndex>=0&&!n,categories:r.filters.categories,list:ge,current:d.previewIndex,onCancel:k,onNext:A()(j()().mark(function I(){return j()().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:d.previewIndex0&&C(d.previewIndex-1);case 1:case"end":return Y.stop()}},I)})),objectsFilter:z,displayOptionsResult:G}),r.screenLoading?(0,a.jsx)("div",{className:X.pageSpin,children:(0,a.jsx)(i.Z,{spinning:!0,tip:r.screenLoading})}):null]})},Be=Ae},4394:function(se,Z,e){e.d(Z,{r:function(){return W}});var R=e(58757),j=Object.defineProperty,N=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,o=(i,s,p)=>s in i?j(i,s,{enumerable:!0,configurable:!0,writable:!0,value:p}):i[s]=p,V=(i,s)=>{for(var p in s||(s={}))A.call(s,p)&&o(i,p,s[p]);if(N)for(var p of N(s))u.call(s,p)&&o(i,p,s[p]);return i};const W=i=>R.createElement("svg",V({viewBox:"0 0 16 16",fill:"#52C41A",xmlns:"http://www.w3.org/2000/svg"},i),R.createElement("path",{d:"M12.633 4.84 3.838 1.05A.599.599 0 0 0 3 1.602v12.793a.602.602 0 1 0 1.204 0v-4l8.475-4.47a.601.601 0 0 0-.046-1.086Z"}));var P="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9IiM1MkM0MUEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyLjYzMyA0Ljg0IDMuODM4IDEuMDVBLjU5OS41OTkgMCAwIDAgMyAxLjYwMnYxMi43OTNhLjYwMi42MDIgMCAxIDAgMS4yMDQgMHYtNGw4LjQ3NS00LjQ3YS42MDEuNjAxIDAgMCAwLS4wNDYtMS4wODZaIi8+PC9zdmc+"}}]); diff --git a/deepdataspace/server/static/p__Lab__FlagTool__index.b0f6cd4b.async.js b/deepdataspace/server/static/p__Lab__FlagTool__index.5a95f054.async.js similarity index 72% rename from deepdataspace/server/static/p__Lab__FlagTool__index.b0f6cd4b.async.js rename to deepdataspace/server/static/p__Lab__FlagTool__index.5a95f054.async.js index 5582701..c6bfa3c 100644 --- a/deepdataspace/server/static/p__Lab__FlagTool__index.b0f6cd4b.async.js +++ b/deepdataspace/server/static/p__Lab__FlagTool__index.5a95f054.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[397],{51204:function(q,M,e){e.d(M,{Z:function(){return I}});var W=e(58757),m=e(59504),j=e(53357),P={wrapper:"wrapper___FtwXk"},g=e(35667),o=function(y){var l=(0,j.bU)(),t=l.localeText,c=y.categoryId,n=y.categories,h=y.onCategoryChange,s=(0,W.useMemo)(function(){return n.map(function(N){return{label:N.name,value:N.id}})},[n]);return(0,g.jsxs)("div",{className:P.wrapper,children:[t("dataset.detail.category"),":",(0,g.jsx)(m.Z,{showSearch:!0,style:{width:"160px",marginLeft:"10px"},placeholder:"Select a category",options:s,optionFilterProp:"label",value:c,onChange:h,getPopupContainer:function(){return document.getElementById("filterWrap")}})]})},I=o},85205:function(q,M,e){e.d(M,{Z:function(){return n}});var W=e(58757),m=e(10852),j=e(38904),P=e(57414),g={dropBtn:"dropBtn___SYvIY",displayPanel:"displayPanel___JkzSB",objectTypeOption:"objectTypeOption___O6sJL",typeTitle:"typeTitle___l97pr",displayOptions:"displayOptions___NQVYA"},o=e(87615),I=e(87608),Z=e.n(I),y=e(53357),l=e(76180),t=e(35667),c=function(s){var N=(0,y.bU)(),u=N.localeText,z=s.annotationTypes,L=s.disableChangeType,b=s.displayAnnotationType,A=s.displayOptions,a=s.displayOptionsValue,E=s.onDisplayAnnotationTypeChange,O=s.onDisplayOptionsChange;return(0,t.jsx)(o.Z,{className:g.dropBtn,customOverlay:(0,t.jsxs)("div",{className:Z()(g.displayPanel),children:[z.length>0&&(0,t.jsxs)("div",{className:g.objectTypeOption,children:[(0,t.jsxs)("span",{className:g.typeTitle,children:[u("dataset.detail.displayType"),":"]}),(0,t.jsx)(m.ZP.Group,{disabled:L,onChange:function(J){return E(J.target.value)},value:b,children:z.map(function(x){return(0,t.jsx)(m.ZP,{value:x,children:x},x)})})]}),(0,t.jsx)(j.Z.Group,{className:g.displayOptions,onChange:O,value:a,children:(0,t.jsx)(P.Z,{direction:"vertical",children:A.map(function(x){return(0,t.jsx)(j.Z,{value:x,children:u(l.Ss[x])},x)})})})]}),children:u("dataset.detail.displayOptions")})},n=c},87615:function(q,M,e){e.d(M,{Z:function(){return c}});var W=e(58757),m=e(38904),j=e(10852),P=e(73267),g=e(57414),o=e(12562),I=e(10130),Z=e(53357),y={dropdownSelector:"dropdownSelector___gvMFq",dropdownWrap:"dropdownWrap___WWYlz",dropdownBox:"dropdownBox___lpUVf"},l=e(35667),t=function(h){var s=h.data,N=h.multiple,u=h.type,z=u===void 0?"primary":u,L=h.ghost,b=L===void 0?!0:L,A=h.value,a=h.filterOptionValue,E=h.filterOptionName,O=h.onChange,x=h.className,J=h.children,K=h.customOverlay,Q=N?m.Z:j.ZP,_=function(S){O&&O(N?S:S.target.value)};return(0,l.jsx)(P.Z,{overlayClassName:y.dropdownSelector,trigger:["click"],dropdownRender:function(){return(0,l.jsx)("div",{className:y.dropdownWrap,children:K||(0,l.jsx)(Q.Group,{className:y.dropdownBox,onChange:_,value:A,children:(0,l.jsx)(g.Z,{direction:"vertical",children:s==null?void 0:s.map(function(S,U){var X=a?a(S):S,B=E?E(S):S;return(0,l.jsx)(Q,{value:X,children:(0,Z._w)(B)},U)})})})})},children:(0,l.jsxs)(o.ZP,{className:x,type:z,ghost:b,children:[J,(0,l.jsx)(I.Z,{})]})})},c=t},77589:function(q,M,e){e.d(M,{Z:function(){return s}});var W=e(58757),m=e(38904),j=e(57414),P=e(94706),g=e(10852),o={labelsPanel:"labelsPanel___nCoUr",labels:"labels___f2KO4",labelTitle:"labelTitle___C12Si",optionRow:"optionRow___X46cn",checkbox:"checkbox___Z6wLJ",slider:"slider___GUIhq",lineStyle:"lineStyle___Kmd9H",actionBtns:"actionBtns___JfDVN",modes:"modes___HaJVD"},I=e(87615),Z=e(87608),y=e.n(Z),l=e(76180),t=e(74595),c=e(53357),n=e(35667),h=function(u){var z=(0,c.bU)(),L=z.localeText,b=u.showMatting,A=u.showKeyPoints,a=u.isTiledDiff,E=u.labels,O=u.selectedLabelIds,x=u.diffMode,J=u.disableChangeDiffMode,K=u.onLabelsChange,Q=u.onLabelConfidenceChange,_=u.onLabelsDiffModeChange;return(0,n.jsx)(I.Z,{customOverlay:(0,n.jsxs)("div",{className:y()(o.labelsPanel),id:"labelsPanel",children:[(0,n.jsxs)("div",{className:o.labels,children:[(0,n.jsxs)("div",{className:o.labelTitle,children:[(0,n.jsx)("div",{style:{width:"240px",paddingLeft:"24px"},children:L("dataset.detail.labelSetsName")}),!b&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{width:"132px"},children:L("dataset.detail.confidence")}),(0,n.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:L("dataset.detail.style")})]})]}),(0,n.jsx)(m.Z.Group,{onChange:K,value:O,className:o.options,children:(0,n.jsx)(j.Z,{direction:"vertical",children:E.map(function(p,S){var U=(0,t.iE)(p.id,O,a),X=U.strokeDash,B=U.lineWidth,F=U.colorAplha;return(0,n.jsxs)("div",{className:o.optionRow,children:[(0,n.jsx)(m.Z,{value:p.id,className:o.checkbox,disabled:!O.includes(p.id)&&O.length>=l.JQ.length,children:p.name}),!b&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(P.Z,{tooltip:{open:!0,prefixCls:"slider-tooltip",getPopupContainer:function(){return document.getElementById("labelsPanel")}},className:o.slider,range:!0,min:0,max:1,value:p.confidenceRange,step:.01,onChange:function(se){return Q(S,se)},disabled:p.source!==l.$j.pred}),(0,n.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:O.includes(p.id)&&(0,n.jsxs)("svg",{className:o.lineStyle,children:[(0,n.jsx)("line",{x1:5,y1:5,x2:70,y2:5,strokeDasharray:X.join(","),strokeWidth:"".concat(B,"pt")}),A&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:5,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(F,")")}),(0,n.jsx)("circle",{cx:70,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(F,")")})]})]})})]})]},p.id)})})})]}),!b&&!J&&(0,n.jsx)("div",{className:o.modes,children:(0,n.jsx)(g.ZP.Group,{onChange:function(S){return _(S.target.value)},value:x,children:l.Wp.map(function(p){return(0,n.jsx)(g.ZP,{value:p,children:L(p)},p)})})})]}),children:L("dataset.detail.labelSets")})},s=h},14481:function(q,M,e){e.r(M),e.d(M,{default:function(){return je}});var W=e(24454),m=e.n(W),j=e(56592),P=e.n(j),g=e(58757),o=e(97375),I=e(28506),Z=e(61845),y=e(37617),l=e(79233),t=e(6233),c=e.n(t),n=e(12562),h=e(92183),s=e(76180),N=e(23707),u=e(51204),z=e(77589),L=e(85205),b=e(51830),A={fixMenu:"fixMenu___3BTI4",filter:"filter___f53Ll",rightFilters:"rightFilters___PcqUj",backBtn:"backBtn___zqjXV",dropBtn:"dropBtn___f3XQO"},a=e(35667),E=function(){var r=(0,o.useModel)("dataset.common",function(H){return{isTiledDiff:H.isTiledDiff,cloumnCount:H.pageState.cloumnCount,filters:H.pageData.filters,filterValues:H.pageState.filterValues,comparisons:H.pageState.comparisons}}),i=r.filters,f=r.filterValues,C=r.comparisons,G=r.isTiledDiff,w=r.cloumnCount,T=(0,o.useModel)("dataset.filters"),Y=T.onCategoryChange,ee=T.onDisplayOptionsChange,$=T.onDisplayAnnotationTypeChange,ae=T.onLabelsChange,d=T.onLabelConfidenceChange,v=T.onLabelsDiffModeChange,re=T.onColumnCountChange,de=i.labels,ce=f.selectedLabelIds,ge=f.displayAnnotationType===s.JJ.Matting,ue=f.displayAnnotationType===s.JJ.KeyPoints;return(0,a.jsxs)("div",{className:A.fixMenu,id:"filterWrap",children:[(0,a.jsxs)("div",{className:A.filter,children:[(0,a.jsx)(n.ZP,{icon:(0,a.jsx)(h.Z,{}),type:"text",className:A.backBtn,onClick:function(){return(0,N.yS)("/dataset")}}),(0,a.jsx)(u.Z,{categoryId:f.categoryId,categories:i.categories,onCategoryChange:Y})]}),(0,a.jsxs)("div",{className:A.rightFilters,children:[(0,a.jsx)(z.Z,{showMatting:ge,showKeyPoints:ue,isTiledDiff:G,labels:de,selectedLabelIds:ce,diffMode:s.uP.Overlay,disableChangeDiffMode:!0,onLabelsChange:ae,onLabelConfidenceChange:d,onLabelsDiffModeChange:v}),(0,a.jsx)(L.Z,{annotationTypes:i.annotationTypes,disableChangeType:!!C,displayAnnotationType:f.displayAnnotationType,displayOptions:i.displayOptions,displayOptionsValue:f.displayOptions,onDisplayAnnotationTypeChange:$,onDisplayOptionsChange:ee}),!G&&(0,a.jsx)(b.ii,{cloumnCount:w,onColumnCountChange:re})]})]})},O=E,x=e(38904),J=e(74820),K=e(60698),Q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},_=Q,p=e(17202),S=function(r,i){return g.createElement(p.Z,(0,K.Z)({},r,{ref:i,icon:_}))},U=g.forwardRef(S),X=e(4394),B=e(53357),F={toolsBar:"toolsBar___BaJ18",selector:"selector___oykI4",antiBtn:"antiBtn___BMNv_",flagTip:"flagTip___jQeUr",flag:"flag___AuDg7",flagBtn:"flagBtn___kI5rw",rightContent:"rightContent___J7I4T",lineSplit:"lineSplit___cRXnA"},oe=e(87615),se=function(){var r,i=(0,o.useModel)("dataset.common",function(d){var v;return{pageSize:d.pageState.pageSize,flagStatus:(v=d.pageState.flagTools)===null||v===void 0?void 0:v.flagStatus,flagTools:d.pageState.flagTools&&d.pageData.flagTools}}),f=i.flagTools,C=i.flagStatus,G=i.pageSize,w=(0,o.useModel)("dataset.flag"),T=w.onChangeFlagStatus,Y=w.changeSelectAll,ee=w.antiSelect,$=w.saveFlag,ae=w.updateOrder;return f?(0,a.jsxs)("div",{className:F.toolsBar,children:[(0,a.jsxs)("div",{className:F.selector,children:[(0,a.jsx)(x.Z,{indeterminate:f.count>0&&f.count!==G,checked:(f==null?void 0:f.count)===G,onChange:Y,children:f.count===0?(0,a.jsx)(B.Og,{id:"lab.toolsBar.selectAll"}):(0,a.jsx)(B.Og,{id:"lab.toolsBar.selectSome",values:{num:f.count}})}),(0,a.jsx)(n.ZP,{onClick:function(){return ee()},className:F.antiBtn,children:(0,a.jsx)(B.Og,{id:"lab.toolsBar.selectInvert"})}),(0,a.jsxs)(oe.Z,{data:s.j3,value:C,filterOptionName:function(v){return v.name},filterOptionValue:function(v){return v.value},onChange:function(v){return T(v)},ghost:!1,type:"default",className:F.antiBtn,children:[(0,a.jsx)(B.Og,{id:"lab.toolsBar.filter"})," :"," ",(r=s.j3.find(function(d){return d.value===C}))===null||r===void 0?void 0:r.name]}),(0,a.jsxs)("div",{className:F.flagTip,children:[(0,a.jsx)(B.Og,{id:"lab.toolsBar.saveAs"}),"\uFF1A"]}),s.YC.map(function(d){return(0,a.jsx)(J.Z,{placement:"bottom",title:d.tip,children:(0,a.jsx)(n.ZP,{ghost:!0,onClick:function(){return $(d.value)},className:F.flagBtn,style:{borderColor:s.a5[d.value],opacity:f.count<=0?.5:1},icon:(0,a.jsx)(X.r,{fill:s.a5[d.value]})})},d.value)})]}),(0,a.jsx)("div",{className:F.rightContent,children:(0,a.jsxs)(n.ZP,{onClick:ae,children:[(0,a.jsx)(U,{}),(0,a.jsx)(B.Og,{id:"lab.toolsBar.updateOrder"})]})})]}):null},me=se,he=e(9644),ye=e(74595),R={page:"page___gO_hp",container:"container___ZoYU1",item:"item___gLaMX",itemImgWrap:"itemImgWrap___I92CG",flagIcon:"flagIcon___snhaL",label:"label___m8WJS",itemSelectedMask:"itemSelectedMask___oYwMk",pagination:"pagination___Z13Xp",editor:"editor___ZxT8b",pageSpin:"pageSpin___kIm_a"},xe=e(95073),Ce=function(){var r=(0,o.useModel)("dataset.common"),i=r.pageState,f=r.onInitPageState,C=r.pageData,G=r.loading,w=r.displayLabelIds,T=r.isTiledDiff,Y=r.displayOptionsResult,ee=r.onPageContentLoaded,$=r.onPreviewIndexChange,ae=r.exitPreview,d=r.displayObjectsFilter,v=(0,o.useModel)("Lab.FlagTool.model"),re=v.onPageDidMount,de=v.onPageWillUnmount,ce=v.clickItem,ge=v.doubleClickItem,ue=v.onPageChange,H=v.onPageSizeChange,Oe=i.cloumnCount,Se=i.isSingleAnnotation,Te=i.filterValues,ve=i.flagTools;(0,I._)({onPageDidMount:re,onPageWillUnmount:de,onInitPageState:f,pageState:i});var le=(0,xe.Z)(function(){return document.querySelector(".ant-pro-page-container")}),fe=le!=null&&le.width?le.width-80:0,ne=(0,g.useMemo)(function(){return T?(0,ye.JC)(C.imgList,w,Te.displayAnnotationType):C.imgList},[T,C.imgList,w]),pe=T?ne.length/(C.imgList.length||1):Oe,k=fe?(fe-16*(pe-1))/(pe||1):0;return(0,a.jsxs)(Z._z,{ghost:!0,className:R.page,pageHeaderRender:function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsx)(me,{})]})},fixedHeader:!0,children:[(0,a.jsx)("div",{className:R.container,children:(0,a.jsx)(y.Z,{loading:G,children:ne.length?(0,a.jsx)(c(),{options:{gutter:16,horizontalOrder:!0,transitionDuration:0},onImagesLoaded:function(){return ee()},children:ne.map(function(D,te){return(0,a.jsxs)("div",{className:R.item,style:{width:k},onClick:function(){return ce(te)},onDoubleClick:function(){return ge(te)},children:[(0,a.jsx)("div",{className:R.itemImgWrap,style:{width:k,height:ve?k*3/4:"auto"},children:(0,a.jsx)(he.D5,{isOldMode:!0,categories:C.filters.categories,data:D,wrapWidth:k,wrapHeight:ve?k*3/4:void 0,minHeight:k*3/4,objectsFilter:d,displayOptionsResult:Y})}),D.flag>0&&(0,a.jsx)(X.r,{fill:s.a5[D.flag],className:R.flagIcon}),Y.showImgDesc&&(0,a.jsxs)("div",{className:R.label,children:[" ",D.caption||D.desc," "]}),ve&&D.selected?(0,a.jsx)("div",{className:R.itemSelectedMask}):null]},"".concat(D.id,"_").concat(te))})}):null})}),!G&&(0,a.jsx)(b.ZJ,{current:i.page,size:i.pageSize,total:C.total,onPageChange:ue,onPageSizeChange:H}),(0,a.jsx)(he.j5,{isOldMode:!0,visible:i.previewIndex>=0&&!Se,categories:C.filters.categories,list:ne,current:i.previewIndex,onCancel:ae,onNext:P()(m()().mark(function D(){return m()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:i.previewIndex0&&$(i.previewIndex-1);case 1:case"end":return V.stop()}},D)})),objectsFilter:d,displayOptionsResult:Y}),C.screenLoading?(0,a.jsx)("div",{className:R.pageSpin,children:(0,a.jsx)(l.Z,{spinning:!0,tip:C.screenLoading})}):null]})},je=Ce},4394:function(q,M,e){e.d(M,{r:function(){return Z}});var W=e(58757),m=Object.defineProperty,j=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,o=(l,t,c)=>t in l?m(l,t,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[t]=c,I=(l,t)=>{for(var c in t||(t={}))P.call(t,c)&&o(l,c,t[c]);if(j)for(var c of j(t))g.call(t,c)&&o(l,c,t[c]);return l};const Z=l=>W.createElement("svg",I({viewBox:"0 0 16 16",fill:"#52C41A",xmlns:"http://www.w3.org/2000/svg"},l),W.createElement("path",{d:"M12.633 4.84 3.838 1.05A.599.599 0 0 0 3 1.602v12.793a.602.602 0 1 0 1.204 0v-4l8.475-4.47a.601.601 0 0 0-.046-1.086Z"}));var y="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9IiM1MkM0MUEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyLjYzMyA0Ljg0IDMuODM4IDEuMDVBLjU5OS41OTkgMCAwIDAgMyAxLjYwMnYxMi43OTNhLjYwMi42MDIgMCAxIDAgMS4yMDQgMHYtNGw4LjQ3NS00LjQ3YS42MDEuNjAxIDAgMCAwLS4wNDYtMS4wODZaIi8+PC9zdmc+"}}]); +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[397],{51204:function(q,M,e){e.d(M,{Z:function(){return I}});var W=e(58757),m=e(59504),j=e(53357),P={wrapper:"wrapper___FtwXk"},g=e(35667),o=function(y){var l=(0,j.bU)(),t=l.localeText,c=y.categoryId,n=y.categories,h=y.onCategoryChange,s=(0,W.useMemo)(function(){return n.map(function(N){return{label:N.name,value:N.id}})},[n]);return(0,g.jsxs)("div",{className:P.wrapper,children:[t("dataset.detail.category"),":",(0,g.jsx)(m.Z,{showSearch:!0,style:{width:"160px",marginLeft:"10px"},placeholder:"Select a category",options:s,optionFilterProp:"label",value:c,onChange:h,getPopupContainer:function(){return document.getElementById("filterWrap")}})]})},I=o},85205:function(q,M,e){e.d(M,{Z:function(){return n}});var W=e(58757),m=e(10852),j=e(38904),P=e(57414),g={dropBtn:"dropBtn___SYvIY",displayPanel:"displayPanel___JkzSB",objectTypeOption:"objectTypeOption___O6sJL",typeTitle:"typeTitle___l97pr",displayOptions:"displayOptions___NQVYA"},o=e(87615),I=e(87608),Z=e.n(I),y=e(53357),l=e(76180),t=e(35667),c=function(s){var N=(0,y.bU)(),u=N.localeText,z=s.annotationTypes,L=s.disableChangeType,b=s.displayAnnotationType,A=s.displayOptions,a=s.displayOptionsValue,E=s.onDisplayAnnotationTypeChange,O=s.onDisplayOptionsChange;return(0,t.jsx)(o.Z,{className:g.dropBtn,customOverlay:(0,t.jsxs)("div",{className:Z()(g.displayPanel),children:[z.length>0&&(0,t.jsxs)("div",{className:g.objectTypeOption,children:[(0,t.jsxs)("span",{className:g.typeTitle,children:[u("dataset.detail.displayType"),":"]}),(0,t.jsx)(m.ZP.Group,{disabled:L,onChange:function(J){return E(J.target.value)},value:b,children:z.map(function(x){return(0,t.jsx)(m.ZP,{value:x,children:x},x)})})]}),(0,t.jsx)(j.Z.Group,{className:g.displayOptions,onChange:O,value:a,children:(0,t.jsx)(P.Z,{direction:"vertical",children:A.map(function(x){return(0,t.jsx)(j.Z,{value:x,children:u(l.Ss[x])},x)})})})]}),children:u("dataset.detail.displayOptions")})},n=c},87615:function(q,M,e){e.d(M,{Z:function(){return c}});var W=e(58757),m=e(38904),j=e(10852),P=e(73267),g=e(57414),o=e(12562),I=e(10130),Z=e(53357),y={dropdownSelector:"dropdownSelector___gvMFq",dropdownWrap:"dropdownWrap___WWYlz",dropdownBox:"dropdownBox___lpUVf"},l=e(35667),t=function(h){var s=h.data,N=h.multiple,u=h.type,z=u===void 0?"primary":u,L=h.ghost,b=L===void 0?!0:L,A=h.value,a=h.filterOptionValue,E=h.filterOptionName,O=h.onChange,x=h.className,J=h.children,K=h.customOverlay,Q=N?m.Z:j.ZP,_=function(S){O&&O(N?S:S.target.value)};return(0,l.jsx)(P.Z,{overlayClassName:y.dropdownSelector,trigger:["click"],dropdownRender:function(){return(0,l.jsx)("div",{className:y.dropdownWrap,children:K||(0,l.jsx)(Q.Group,{className:y.dropdownBox,onChange:_,value:A,children:(0,l.jsx)(g.Z,{direction:"vertical",children:s==null?void 0:s.map(function(S,U){var X=a?a(S):S,B=E?E(S):S;return(0,l.jsx)(Q,{value:X,children:(0,Z._w)(B)},U)})})})})},children:(0,l.jsxs)(o.ZP,{className:x,type:z,ghost:b,children:[J,(0,l.jsx)(I.Z,{})]})})},c=t},77589:function(q,M,e){e.d(M,{Z:function(){return s}});var W=e(58757),m=e(38904),j=e(57414),P=e(94706),g=e(10852),o={labelsPanel:"labelsPanel___nCoUr",labels:"labels___f2KO4",labelTitle:"labelTitle___C12Si",optionRow:"optionRow___X46cn",checkbox:"checkbox___Z6wLJ",slider:"slider___GUIhq",lineStyle:"lineStyle___Kmd9H",actionBtns:"actionBtns___JfDVN",modes:"modes___HaJVD"},I=e(87615),Z=e(87608),y=e.n(Z),l=e(76180),t=e(74595),c=e(53357),n=e(35667),h=function(u){var z=(0,c.bU)(),L=z.localeText,b=u.showMatting,A=u.showKeyPoints,a=u.isTiledDiff,E=u.labels,O=u.selectedLabelIds,x=u.diffMode,J=u.disableChangeDiffMode,K=u.onLabelsChange,Q=u.onLabelConfidenceChange,_=u.onLabelsDiffModeChange;return(0,n.jsx)(I.Z,{customOverlay:(0,n.jsxs)("div",{className:y()(o.labelsPanel),id:"labelsPanel",children:[(0,n.jsxs)("div",{className:o.labels,children:[(0,n.jsxs)("div",{className:o.labelTitle,children:[(0,n.jsx)("div",{style:{width:"240px",paddingLeft:"24px"},children:L("dataset.detail.labelSetsName")}),!b&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{width:"132px"},children:L("dataset.detail.confidence")}),(0,n.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:L("dataset.detail.style")})]})]}),(0,n.jsx)(m.Z.Group,{onChange:K,value:O,className:o.options,children:(0,n.jsx)(j.Z,{direction:"vertical",children:E.map(function(p,S){var U=(0,t.iE)(p.id,O,a),X=U.strokeDash,B=U.lineWidth,F=U.colorAplha;return(0,n.jsxs)("div",{className:o.optionRow,children:[(0,n.jsx)(m.Z,{value:p.id,className:o.checkbox,disabled:!O.includes(p.id)&&O.length>=l.JQ.length,children:p.name}),!b&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(P.Z,{tooltip:{open:!0,prefixCls:"slider-tooltip",getPopupContainer:function(){return document.getElementById("labelsPanel")}},className:o.slider,range:!0,min:0,max:1,value:p.confidenceRange,step:.01,onChange:function(se){return Q(S,se)},disabled:p.source!==l.$j.pred}),(0,n.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:O.includes(p.id)&&(0,n.jsxs)("svg",{className:o.lineStyle,children:[(0,n.jsx)("line",{x1:5,y1:5,x2:70,y2:5,strokeDasharray:X.join(","),strokeWidth:"".concat(B,"pt")}),A&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:5,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(F,")")}),(0,n.jsx)("circle",{cx:70,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(F,")")})]})]})})]})]},p.id)})})})]}),!b&&!J&&(0,n.jsx)("div",{className:o.modes,children:(0,n.jsx)(g.ZP.Group,{onChange:function(S){return _(S.target.value)},value:x,children:l.Wp.map(function(p){return(0,n.jsx)(g.ZP,{value:p,children:L(p)},p)})})})]}),children:L("dataset.detail.labelSets")})},s=h},14481:function(q,M,e){e.r(M),e.d(M,{default:function(){return je}});var W=e(24454),m=e.n(W),j=e(56592),P=e.n(j),g=e(58757),o=e(97375),I=e(28506),Z=e(61845),y=e(37617),l=e(79233),t=e(6233),c=e.n(t),n=e(12562),h=e(92183),s=e(76180),N=e(23707),u=e(51204),z=e(77589),L=e(85205),b=e(51830),A={fixMenu:"fixMenu___3BTI4",filter:"filter___f53Ll",rightFilters:"rightFilters___PcqUj",backBtn:"backBtn___zqjXV",dropBtn:"dropBtn___f3XQO"},a=e(35667),E=function(){var r=(0,o.useModel)("dataset.common",function(H){return{isTiledDiff:H.isTiledDiff,cloumnCount:H.pageState.cloumnCount,filters:H.pageData.filters,filterValues:H.pageState.filterValues,comparisons:H.pageState.comparisons}}),i=r.filters,f=r.filterValues,C=r.comparisons,G=r.isTiledDiff,w=r.cloumnCount,T=(0,o.useModel)("dataset.filters"),Y=T.onCategoryChange,ee=T.onDisplayOptionsChange,$=T.onDisplayAnnotationTypeChange,ae=T.onLabelsChange,d=T.onLabelConfidenceChange,v=T.onLabelsDiffModeChange,re=T.onColumnCountChange,de=i.labels,ce=f.selectedLabelIds,ge=f.displayAnnotationType===s.JJ.Matting,ue=f.displayAnnotationType===s.JJ.KeyPoints;return(0,a.jsxs)("div",{className:A.fixMenu,id:"filterWrap",children:[(0,a.jsxs)("div",{className:A.filter,children:[(0,a.jsx)(n.ZP,{icon:(0,a.jsx)(h.Z,{}),type:"text",className:A.backBtn,onClick:function(){return(0,N.yS)("/dataset")}}),(0,a.jsx)(u.Z,{categoryId:f.categoryId,categories:i.categories,onCategoryChange:Y})]}),(0,a.jsxs)("div",{className:A.rightFilters,children:[(0,a.jsx)(z.Z,{showMatting:ge,showKeyPoints:ue,isTiledDiff:G,labels:de,selectedLabelIds:ce,diffMode:s.uP.Overlay,disableChangeDiffMode:!0,onLabelsChange:ae,onLabelConfidenceChange:d,onLabelsDiffModeChange:v}),(0,a.jsx)(L.Z,{annotationTypes:i.annotationTypes,disableChangeType:!!C,displayAnnotationType:f.displayAnnotationType,displayOptions:i.displayOptions,displayOptionsValue:f.displayOptions,onDisplayAnnotationTypeChange:$,onDisplayOptionsChange:ee}),!G&&(0,a.jsx)(b.ii,{cloumnCount:w,onColumnCountChange:re})]})]})},O=E,x=e(38904),J=e(74820),K=e(60698),Q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},_=Q,p=e(17202),S=function(r,i){return g.createElement(p.Z,(0,K.Z)({},r,{ref:i,icon:_}))},U=g.forwardRef(S),X=e(4394),B=e(53357),F={toolsBar:"toolsBar___BaJ18",selector:"selector___oykI4",antiBtn:"antiBtn___BMNv_",flagTip:"flagTip___jQeUr",flag:"flag___AuDg7",flagBtn:"flagBtn___kI5rw",rightContent:"rightContent___J7I4T",lineSplit:"lineSplit___cRXnA"},oe=e(87615),se=function(){var r,i=(0,o.useModel)("dataset.common",function(d){var v;return{pageSize:d.pageState.pageSize,flagStatus:(v=d.pageState.flagTools)===null||v===void 0?void 0:v.flagStatus,flagTools:d.pageState.flagTools&&d.pageData.flagTools}}),f=i.flagTools,C=i.flagStatus,G=i.pageSize,w=(0,o.useModel)("dataset.flag"),T=w.onChangeFlagStatus,Y=w.changeSelectAll,ee=w.antiSelect,$=w.saveFlag,ae=w.updateOrder;return f?(0,a.jsxs)("div",{className:F.toolsBar,children:[(0,a.jsxs)("div",{className:F.selector,children:[(0,a.jsx)(x.Z,{indeterminate:f.count>0&&f.count!==G,checked:(f==null?void 0:f.count)===G,onChange:Y,children:f.count===0?(0,a.jsx)(B.Og,{id:"lab.toolsBar.selectAll"}):(0,a.jsx)(B.Og,{id:"lab.toolsBar.selectSome",values:{num:f.count}})}),(0,a.jsx)(n.ZP,{onClick:function(){return ee()},className:F.antiBtn,children:(0,a.jsx)(B.Og,{id:"lab.toolsBar.selectInvert"})}),(0,a.jsxs)(oe.Z,{data:s.j3,value:C,filterOptionName:function(v){return v.name},filterOptionValue:function(v){return v.value},onChange:function(v){return T(v)},ghost:!1,type:"default",className:F.antiBtn,children:[(0,a.jsx)(B.Og,{id:"lab.toolsBar.filter"})," :"," ",(r=s.j3.find(function(d){return d.value===C}))===null||r===void 0?void 0:r.name]}),(0,a.jsxs)("div",{className:F.flagTip,children:[(0,a.jsx)(B.Og,{id:"lab.toolsBar.saveAs"}),"\uFF1A"]}),s.YC.map(function(d){return(0,a.jsx)(J.Z,{placement:"bottom",title:d.tip,children:(0,a.jsx)(n.ZP,{ghost:!0,onClick:function(){return $(d.value)},className:F.flagBtn,style:{borderColor:s.a5[d.value],opacity:f.count<=0?.5:1},icon:(0,a.jsx)(X.r,{fill:s.a5[d.value]})})},d.value)})]}),(0,a.jsx)("div",{className:F.rightContent,children:(0,a.jsxs)(n.ZP,{onClick:ae,children:[(0,a.jsx)(U,{}),(0,a.jsx)(B.Og,{id:"lab.toolsBar.updateOrder"})]})})]}):null},me=se,he=e(65104),ye=e(74595),R={page:"page___gO_hp",container:"container___ZoYU1",item:"item___gLaMX",itemImgWrap:"itemImgWrap___I92CG",flagIcon:"flagIcon___snhaL",label:"label___m8WJS",itemSelectedMask:"itemSelectedMask___oYwMk",pagination:"pagination___Z13Xp",editor:"editor___ZxT8b",pageSpin:"pageSpin___kIm_a"},xe=e(95073),Ce=function(){var r=(0,o.useModel)("dataset.common"),i=r.pageState,f=r.onInitPageState,C=r.pageData,G=r.loading,w=r.displayLabelIds,T=r.isTiledDiff,Y=r.displayOptionsResult,ee=r.onPageContentLoaded,$=r.onPreviewIndexChange,ae=r.exitPreview,d=r.displayObjectsFilter,v=(0,o.useModel)("Lab.FlagTool.model"),re=v.onPageDidMount,de=v.onPageWillUnmount,ce=v.clickItem,ge=v.doubleClickItem,ue=v.onPageChange,H=v.onPageSizeChange,Oe=i.cloumnCount,Se=i.isSingleAnnotation,Te=i.filterValues,ve=i.flagTools;(0,I._)({onPageDidMount:re,onPageWillUnmount:de,onInitPageState:f,pageState:i});var le=(0,xe.Z)(function(){return document.querySelector(".ant-pro-page-container")}),fe=le!=null&&le.width?le.width-80:0,ne=(0,g.useMemo)(function(){return T?(0,ye.JC)(C.imgList,w,Te.displayAnnotationType):C.imgList},[T,C.imgList,w]),pe=T?ne.length/(C.imgList.length||1):Oe,k=fe?(fe-16*(pe-1))/(pe||1):0;return(0,a.jsxs)(Z._z,{ghost:!0,className:R.page,pageHeaderRender:function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsx)(me,{})]})},fixedHeader:!0,children:[(0,a.jsx)("div",{className:R.container,children:(0,a.jsx)(y.Z,{loading:G,children:ne.length?(0,a.jsx)(c(),{options:{gutter:16,horizontalOrder:!0,transitionDuration:0},onImagesLoaded:function(){return ee()},children:ne.map(function(D,te){return(0,a.jsxs)("div",{className:R.item,style:{width:k},onClick:function(){return ce(te)},onDoubleClick:function(){return ge(te)},children:[(0,a.jsx)("div",{className:R.itemImgWrap,style:{width:k,height:ve?k*3/4:"auto"},children:(0,a.jsx)(he.D5,{isOldMode:!0,categories:C.filters.categories,data:D,wrapWidth:k,wrapHeight:ve?k*3/4:void 0,minHeight:k*3/4,objectsFilter:d,displayOptionsResult:Y})}),D.flag>0&&(0,a.jsx)(X.r,{fill:s.a5[D.flag],className:R.flagIcon}),Y.showImgDesc&&(0,a.jsxs)("div",{className:R.label,children:[" ",D.caption||D.desc," "]}),ve&&D.selected?(0,a.jsx)("div",{className:R.itemSelectedMask}):null]},"".concat(D.id,"_").concat(te))})}):null})}),!G&&(0,a.jsx)(b.ZJ,{current:i.page,size:i.pageSize,total:C.total,onPageChange:ue,onPageSizeChange:H}),(0,a.jsx)(he.j5,{isOldMode:!0,visible:i.previewIndex>=0&&!Se,categories:C.filters.categories,list:ne,current:i.previewIndex,onCancel:ae,onNext:P()(m()().mark(function D(){return m()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:i.previewIndex0&&$(i.previewIndex-1);case 1:case"end":return V.stop()}},D)})),objectsFilter:d,displayOptionsResult:Y}),C.screenLoading?(0,a.jsx)("div",{className:R.pageSpin,children:(0,a.jsx)(l.Z,{spinning:!0,tip:C.screenLoading})}):null]})},je=Ce},4394:function(q,M,e){e.d(M,{r:function(){return Z}});var W=e(58757),m=Object.defineProperty,j=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,o=(l,t,c)=>t in l?m(l,t,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[t]=c,I=(l,t)=>{for(var c in t||(t={}))P.call(t,c)&&o(l,c,t[c]);if(j)for(var c of j(t))g.call(t,c)&&o(l,c,t[c]);return l};const Z=l=>W.createElement("svg",I({viewBox:"0 0 16 16",fill:"#52C41A",xmlns:"http://www.w3.org/2000/svg"},l),W.createElement("path",{d:"M12.633 4.84 3.838 1.05A.599.599 0 0 0 3 1.602v12.793a.602.602 0 1 0 1.204 0v-4l8.475-4.47a.601.601 0 0 0-.046-1.086Z"}));var y="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9IiM1MkM0MUEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyLjYzMyA0Ljg0IDMuODM4IDEuMDVBLjU5OS41OTkgMCAwIDAgMyAxLjYwMnYxMi43OTNhLjYwMi42MDIgMCAxIDAgMS4yMDQgMHYtNGw4LjQ3NS00LjQ3YS42MDEuNjAxIDAgMCAwLS4wNDYtMS4wODZaIi8+PC9zdmc+"}}]); diff --git a/deepdataspace/server/static/p__Project__Workspace__index.065c0c78.async.js b/deepdataspace/server/static/p__Project__Workspace__index.065c0c78.async.js new file mode 100644 index 0000000..e49d370 --- /dev/null +++ b/deepdataspace/server/static/p__Project__Workspace__index.065c0c78.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[914],{87615:function(ae,S,e){e.d(S,{Z:function(){return T}});var h=e(58757),R=e(38904),w=e(10852),b=e(73267),d=e(57414),E=e(12562),O=e(10130),L=e(53357),j={dropdownSelector:"dropdownSelector___gvMFq",dropdownWrap:"dropdownWrap___WWYlz",dropdownBox:"dropdownBox___lpUVf"},o=e(35667),D=function(i){var s=i.data,y=i.multiple,N=i.type,m=N===void 0?"primary":N,C=i.ghost,V=C===void 0?!0:C,$=i.value,t=i.filterOptionValue,k=i.filterOptionName,f=i.onChange,G=i.className,x=i.children,P=i.customOverlay,u=y?R.Z:w.ZP,a=function(n){f&&f(y?n:n.target.value)};return(0,o.jsx)(b.Z,{overlayClassName:j.dropdownSelector,trigger:["click"],dropdownRender:function(){return(0,o.jsx)("div",{className:j.dropdownWrap,children:P||(0,o.jsx)(u.Group,{className:j.dropdownBox,onChange:a,value:$,children:(0,o.jsx)(d.Z,{direction:"vertical",children:s==null?void 0:s.map(function(n,B){var H=t?t(n):n,z=k?k(n):n;return(0,o.jsx)(u,{value:H,children:(0,L._w)(z)},B)})})})})},children:(0,o.jsxs)(E.ZP,{className:G,type:m,ghost:V,children:[x,(0,o.jsx)(O.Z,{})]})})},T=D},61470:function(ae,S,e){e.r(S),e.d(S,{default:function(){return f}});var h=e(58757),R=e(97375),w=e(28506),b=e(61845),d=e(12562),E=e(16951),O=e(37617),L=e(79233),j=e(18695),o={page:"page___DZyiW",header:"header___bRKb4",backBtn:"backBtn___yET2T",tabs:"tabs___weXzX",btn:"btn____fESN",line:"line___k1GQQ",item:"item___Jv55m",itemImgWrap:"itemImgWrap___bWdL3",flagIcon:"flagIcon___PULYz",label:"label___LGG_W",itemSelectedMask:"itemSelectedMask___mU2PX",topSpin:"topSpin___eLVKZ",bottomSpin:"bottomSpin___MuKRE",pagination:"pagination___WlY5J",pageSpin:"pageSpin___BAc4e",editor:"editor___YUj9q"},D=e(39378),T=e(87615),U=e(93059),i=e(65104),s=e(35459),y=e(92183),N=e(22283),m=e(1239),C=e(95073),V=e(23707),$=e(53357),t=e(35667),k=function(){var x,P=(0,R.useModel)("Project.auth"),u=P.checkPermission,a=(0,R.useModel)("Project.workspace"),r=a.pageData,n=a.pageState,B=a.loading,H=a.loadPageData,z=a.onInitPageState,oe=a.projectId,l=a.curRole,p=a.userRoles,ne=a.tabItems,Y=a.labelImages,F=a.isEditorVisible,re=a.onStatusTabChange,ie=a.onRoleChange,le=a.clickItem,se=a.loadMore,de=a.onExitEditor,ce=a.onNextImage,ue=a.onPrevImage,ve=a.onLabelSave,ge=a.onReviewAccept,me=a.onReviewReject,pe=a.onEnterEdit,X=a.onStartLabel,J=a.onStartRework,Q=a.onStartReview;(0,w._)({onInitPageState:z,pageState:n});var he=(0,$.bU)(),v=he.localeText,je=(0,w.w)(),fe=je.height,Z=(0,C.Z)(function(){return document.querySelector(".ant-pro-page-container")}),q=Z!=null&&Z.width?Z.width-80:0,xe=h.useRef(null),I=5,M=q?(q-16*(I-1))/(I||1):0,A=M*3/4,_=fe-46,Se=function(c){Math.floor(c.currentTarget.scrollHeight-c.currentTarget.scrollTop)===Math.floor(_)&&se()},K=(0,h.useMemo)(function(){return(0,D.chunk)(Y,I).map(function(W,c){return{index:c,lineImgs:W}})},[r.list]),Re=(0,h.useMemo)(function(){return r.editorMode!==i.je.View||n.taskStatus!==s.gZ.Working?[]:u(p,m.Oc.StartLabel)?n.status===s.j$.Labeling?[(0,t.jsx)(d.ZP,{type:"primary",onClick:X,children:v("proj.workspace.eTask.startLabel")},"label")]:n.status===s.j$.Reviewing?[(0,t.jsx)(d.ZP,{type:"primary",onClick:pe,children:v("proj.workspace.eTask.edit")},"edit")]:n.status===s.j$.Rejected?[(0,t.jsx)(d.ZP,{type:"primary",onClick:J,children:v("proj.workspace.eTask.startRework")},"rework")]:[]:u(p,m.Oc.StartReview)&&n.status===s.j$.Reviewing?[(0,t.jsx)(d.ZP,{type:"primary",onClick:Q,children:v("proj.workspace.eTask.startReview")},"review")]:[]},[n.status,n.taskStatus,r.editorMode,p]);return(0,t.jsxs)(b._z,{ghost:!0,className:o.page,fixedHeader:!0,pageHeaderRender:function(){return(0,t.jsxs)("div",{className:o.header,children:[(0,t.jsx)(d.ZP,{icon:(0,t.jsx)(y.Z,{}),type:"text",className:o.backBtn,onClick:function(){return(0,V.yS)("/project/".concat(oe))}}),(0,t.jsx)(E.Z,{className:o.tabs,activeKey:n.status,onChange:re,items:ne,tabBarExtraContent:(0,t.jsxs)("div",{children:[(0,t.jsx)(d.ZP,{type:"text",className:o.btn,icon:(0,t.jsx)(N.Z,{}),onClick:function(){return H()}}),l&&(l==null?void 0:l.labelNumWaiting)>0&&n.taskStatus===s.gZ.Working&&u(p,m.Oc.StartLabel)&&(0,t.jsx)(d.ZP,{type:"primary",className:o.btn,onClick:X,children:v("proj.workspace.eProj.startLabeling")}),l&&(l==null?void 0:l.reviewNumRejected)>0&&n.taskStatus===s.gZ.Working&&u(p,m.Oc.StartLabel)&&(0,t.jsx)(d.ZP,{type:"primary",className:o.btn,onClick:J,children:v("proj.workspace.eProj.startRework")}),l&&(l==null?void 0:l.reviewNumWaiting)>0&&n.taskStatus===s.gZ.Working&&u(p,m.Oc.StartReview)&&(0,t.jsx)(d.ZP,{type:"primary",className:o.btn,onClick:Q,children:v("proj.workspace.eProj.startReview")}),(0,t.jsxs)(T.Z,{data:r.taskRoles,value:n.roleId||"",filterOptionName:function(g){return"".concat(g.userName," (").concat(g.role,")")},filterOptionValue:function(g){return g.id},onChange:ie,ghost:!1,type:"default",children:[v("proj.workspace.eProj.role"),": ",l==null?void 0:l.userName,"(",l==null?void 0:l.role,")"]})]})})]})},children:[(0,t.jsx)(O.Z,{loading:B,className:o.list,children:K.length>0&&(0,t.jsx)(j.Z,{ref:xe,data:K,height:_,itemHeight:A+16,itemKey:"index",onScroll:Se,children:function(c,g){return(0,t.jsxs)(h.Fragment,{children:[(0,t.jsx)("div",{className:o.line,children:c.lineImgs.map(function(ee,te){return(0,t.jsx)("div",{className:o.item,style:{width:M},onClick:function(){return le(g*I+te)},children:(0,t.jsx)("div",{className:o.itemImgWrap,style:{width:M,height:A},children:(0,t.jsx)(i.D5,{isOldMode:!0,categories:r.categoryList,data:ee,wrapWidth:M,wrapHeight:A})})},"".concat(ee.id,"_").concat(te))})}),g===K.length-1&&r.loadingImagesType===U.D.More&&(0,t.jsx)(L.Z,{className:o.bottomSpin})]},g)}})}),F&&(0,t.jsx)("div",{className:o.editor,children:(0,t.jsx)(i.kl,{isOldMode:!0,isSeperate:!1,mode:r.editorMode,visible:F,categories:r.categoryList,list:Y,current:r.curIndex,pagination:{show:r.editorMode!==i.je.Review&&!(r.editorMode===i.je.Edit&&n.status===s.j$.Reviewing),total:r.total,customText:r.editorMode===i.je.Edit?(0,t.jsx)(t.Fragment,{}):void 0,customDisableNext:r.editorMode===i.je.Edit?!((x=r.list[r.curIndex])!==null&&x!==void 0&&x.labeled)||r.curIndex>=r.total-1:void 0},actionElements:Re,onCancel:de,onSave:ve,onReviewAccept:ge,onReviewReject:me,onNext:ce,onPrev:ue})})]})},f=k}}]); diff --git a/deepdataspace/server/static/p__Project__Workspace__index.6c11d39f.async.js b/deepdataspace/server/static/p__Project__Workspace__index.6c11d39f.async.js deleted file mode 100644 index e883c71..0000000 --- a/deepdataspace/server/static/p__Project__Workspace__index.6c11d39f.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[914],{87615:function(ae,S,e){e.d(S,{Z:function(){return T}});var h=e(58757),R=e(38904),w=e(10852),b=e(73267),d=e(57414),E=e(12562),O=e(10130),L=e(53357),j={dropdownSelector:"dropdownSelector___gvMFq",dropdownWrap:"dropdownWrap___WWYlz",dropdownBox:"dropdownBox___lpUVf"},o=e(35667),D=function(i){var s=i.data,y=i.multiple,N=i.type,m=N===void 0?"primary":N,C=i.ghost,V=C===void 0?!0:C,$=i.value,t=i.filterOptionValue,k=i.filterOptionName,f=i.onChange,G=i.className,x=i.children,P=i.customOverlay,u=y?R.Z:w.ZP,a=function(n){f&&f(y?n:n.target.value)};return(0,o.jsx)(b.Z,{overlayClassName:j.dropdownSelector,trigger:["click"],dropdownRender:function(){return(0,o.jsx)("div",{className:j.dropdownWrap,children:P||(0,o.jsx)(u.Group,{className:j.dropdownBox,onChange:a,value:$,children:(0,o.jsx)(d.Z,{direction:"vertical",children:s==null?void 0:s.map(function(n,B){var H=t?t(n):n,z=k?k(n):n;return(0,o.jsx)(u,{value:H,children:(0,L._w)(z)},B)})})})})},children:(0,o.jsxs)(E.ZP,{className:G,type:m,ghost:V,children:[x,(0,o.jsx)(O.Z,{})]})})},T=D},61470:function(ae,S,e){e.r(S),e.d(S,{default:function(){return f}});var h=e(58757),R=e(97375),w=e(28506),b=e(61845),d=e(12562),E=e(16951),O=e(37617),L=e(79233),j=e(18695),o={page:"page___DZyiW",header:"header___bRKb4",backBtn:"backBtn___yET2T",tabs:"tabs___weXzX",btn:"btn____fESN",line:"line___k1GQQ",item:"item___Jv55m",itemImgWrap:"itemImgWrap___bWdL3",flagIcon:"flagIcon___PULYz",label:"label___LGG_W",itemSelectedMask:"itemSelectedMask___mU2PX",topSpin:"topSpin___eLVKZ",bottomSpin:"bottomSpin___MuKRE",pagination:"pagination___WlY5J",pageSpin:"pageSpin___BAc4e",editor:"editor___YUj9q"},D=e(39378),T=e(87615),U=e(93059),i=e(9644),s=e(35459),y=e(92183),N=e(22283),m=e(1239),C=e(95073),V=e(23707),$=e(53357),t=e(35667),k=function(){var x,P=(0,R.useModel)("Project.auth"),u=P.checkPermission,a=(0,R.useModel)("Project.workspace"),r=a.pageData,n=a.pageState,B=a.loading,H=a.loadPageData,z=a.onInitPageState,oe=a.projectId,l=a.curRole,p=a.userRoles,ne=a.tabItems,Y=a.labelImages,F=a.isEditorVisible,re=a.onStatusTabChange,ie=a.onRoleChange,le=a.clickItem,se=a.loadMore,de=a.onExitEditor,ce=a.onNextImage,ue=a.onPrevImage,ve=a.onLabelSave,ge=a.onReviewAccept,me=a.onReviewReject,pe=a.onEnterEdit,X=a.onStartLabel,J=a.onStartRework,Q=a.onStartReview;(0,w._)({onInitPageState:z,pageState:n});var he=(0,$.bU)(),v=he.localeText,je=(0,w.w)(),fe=je.height,Z=(0,C.Z)(function(){return document.querySelector(".ant-pro-page-container")}),q=Z!=null&&Z.width?Z.width-80:0,xe=h.useRef(null),I=5,M=q?(q-16*(I-1))/(I||1):0,A=M*3/4,_=fe-46,Se=function(c){Math.floor(c.currentTarget.scrollHeight-c.currentTarget.scrollTop)===Math.floor(_)&&se()},K=(0,h.useMemo)(function(){return(0,D.chunk)(Y,I).map(function(W,c){return{index:c,lineImgs:W}})},[r.list]),Re=(0,h.useMemo)(function(){return r.editorMode!==i.je.View||n.taskStatus!==s.gZ.Working?[]:u(p,m.Oc.StartLabel)?n.status===s.j$.Labeling?[(0,t.jsx)(d.ZP,{type:"primary",onClick:X,children:v("proj.workspace.eTask.startLabel")},"label")]:n.status===s.j$.Reviewing?[(0,t.jsx)(d.ZP,{type:"primary",onClick:pe,children:v("proj.workspace.eTask.edit")},"edit")]:n.status===s.j$.Rejected?[(0,t.jsx)(d.ZP,{type:"primary",onClick:J,children:v("proj.workspace.eTask.startRework")},"rework")]:[]:u(p,m.Oc.StartReview)&&n.status===s.j$.Reviewing?[(0,t.jsx)(d.ZP,{type:"primary",onClick:Q,children:v("proj.workspace.eTask.startReview")},"review")]:[]},[n.status,n.taskStatus,r.editorMode,p]);return(0,t.jsxs)(b._z,{ghost:!0,className:o.page,fixedHeader:!0,pageHeaderRender:function(){return(0,t.jsxs)("div",{className:o.header,children:[(0,t.jsx)(d.ZP,{icon:(0,t.jsx)(y.Z,{}),type:"text",className:o.backBtn,onClick:function(){return(0,V.yS)("/project/".concat(oe))}}),(0,t.jsx)(E.Z,{className:o.tabs,activeKey:n.status,onChange:re,items:ne,tabBarExtraContent:(0,t.jsxs)("div",{children:[(0,t.jsx)(d.ZP,{type:"text",className:o.btn,icon:(0,t.jsx)(N.Z,{}),onClick:function(){return H()}}),l&&(l==null?void 0:l.labelNumWaiting)>0&&n.taskStatus===s.gZ.Working&&u(p,m.Oc.StartLabel)&&(0,t.jsx)(d.ZP,{type:"primary",className:o.btn,onClick:X,children:v("proj.workspace.eProj.startLabeling")}),l&&(l==null?void 0:l.reviewNumRejected)>0&&n.taskStatus===s.gZ.Working&&u(p,m.Oc.StartLabel)&&(0,t.jsx)(d.ZP,{type:"primary",className:o.btn,onClick:J,children:v("proj.workspace.eProj.startRework")}),l&&(l==null?void 0:l.reviewNumWaiting)>0&&n.taskStatus===s.gZ.Working&&u(p,m.Oc.StartReview)&&(0,t.jsx)(d.ZP,{type:"primary",className:o.btn,onClick:Q,children:v("proj.workspace.eProj.startReview")}),(0,t.jsxs)(T.Z,{data:r.taskRoles,value:n.roleId||"",filterOptionName:function(g){return"".concat(g.userName," (").concat(g.role,")")},filterOptionValue:function(g){return g.id},onChange:ie,ghost:!1,type:"default",children:[v("proj.workspace.eProj.role"),": ",l==null?void 0:l.userName,"(",l==null?void 0:l.role,")"]})]})})]})},children:[(0,t.jsx)(O.Z,{loading:B,className:o.list,children:K.length>0&&(0,t.jsx)(j.Z,{ref:xe,data:K,height:_,itemHeight:A+16,itemKey:"index",onScroll:Se,children:function(c,g){return(0,t.jsxs)(h.Fragment,{children:[(0,t.jsx)("div",{className:o.line,children:c.lineImgs.map(function(ee,te){return(0,t.jsx)("div",{className:o.item,style:{width:M},onClick:function(){return le(g*I+te)},children:(0,t.jsx)("div",{className:o.itemImgWrap,style:{width:M,height:A},children:(0,t.jsx)(i.D5,{isOldMode:!0,categories:r.categoryList,data:ee,wrapWidth:M,wrapHeight:A})})},"".concat(ee.id,"_").concat(te))})}),g===K.length-1&&r.loadingImagesType===U.D.More&&(0,t.jsx)(L.Z,{className:o.bottomSpin})]},g)}})}),F&&(0,t.jsx)("div",{className:o.editor,children:(0,t.jsx)(i.kl,{isOldMode:!0,isSeperate:!1,mode:r.editorMode,visible:F,categories:r.categoryList,list:Y,current:r.curIndex,pagination:{show:r.editorMode!==i.je.Review&&!(r.editorMode===i.je.Edit&&n.status===s.j$.Reviewing),total:r.total,customText:r.editorMode===i.je.Edit?(0,t.jsx)(t.Fragment,{}):void 0,customDisableNext:r.editorMode===i.je.Edit?!((x=r.list[r.curIndex])!==null&&x!==void 0&&x.labeled)||r.curIndex>=r.total-1:void 0},actionElements:Re,onCancel:de,onSave:ve,onReviewAccept:ge,onReviewReject:me,onNext:ce,onPrev:ue})})]})},f=k}}]); diff --git a/deepdataspace/server/static/umi.30868830.css b/deepdataspace/server/static/umi.5d546bdb.css similarity index 65% rename from deepdataspace/server/static/umi.30868830.css rename to deepdataspace/server/static/umi.5d546bdb.css index dd81a40..61c9135 100644 --- a/deepdataspace/server/static/umi.30868830.css +++ b/deepdataspace/server/static/umi.5d546bdb.css @@ -1,3 +1,3 @@ -*{margin:0;padding:0;box-sizing:border-box}body{background:#f5f5f5;overflow:overlay}#root .ant-page-header{background-color:#fff}#root .ant-pro .ant-layout-header.ant-pro-layout-header-fixed-header{padding:0 44px;background-color:#fff;border-bottom:1px solid #f0f0f0}#root .ant-pro-page-container-affix .ant-affix{top:0!important}#root .ant-pro-top-nav-header-main{padding-inline-start:0}#root .ant-pro-top-nav-header-logo>*:first-child>img{height:40px}#root .ant-image-preview-mask{z-index:900!important}#root .ant-image-preview-wrap{z-index:901!important}#root .ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding:0!important}#root .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:0!important}#root .ant-collapse .ant-collapse-item-disabled>.ant-collapse-header,#root .ant-collapse .ant-collapse-item-disabled>.ant-collapse-header>.arrow{cursor:pointer!important}#root .ant-pro .ant-pro-layout .ant-pro-layout-content{margin-block:0;margin-inline:0}#root .ant-table-tbody>tr>td>.ant-space{flex-wrap:wrap}#root .ant-table-pagination.ant-pagination{margin:16px 0}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type="range"]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}.dds-lang-selector{height:34px;padding:4px 8px}.dds-lang-selector div{position:relative;width:1.2em;height:1.2em}.dds-lang-selector .cur-lang{position:absolute;font-size:1.2em;line-height:1;left:-5%;top:0;transform:scale(.7);transform-origin:0 0;z-index:1}.dds-lang-selector .cur-lang-light{color:#fff;border:1px solid rgba(0,0,0,.88);background-color:#000000e0}.dds-lang-selector .cur-lang-dark{color:#000;border:1px solid rgba(255,255,255,.88);background-color:#ffffffe0}.dds-lang-selector .change-lang{position:absolute;font-size:1.2em;line-height:1;right:-5%;bottom:0;transform:scale(.5);transform-origin:100% 100%;z-index:0}.dds-lang-selector .change-lang-light{color:#000000e0;border:1px solid rgba(0,0,0,.88)}.dds-lang-selector .change-lang-dark{color:#ffffffe0;border:1px solid rgba(255,255,255,.88)}.dds-column-settings-panel{display:flex;flex-direction:column;padding:0 16px 24px;background-color:#fff;border-radius:2px;outline:none;box-shadow:0 2px 8px #00000026;max-height:400px;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none}.dds-column-settings-panel::-webkit-scrollbar{display:none}.dds-column-settings-panel .item-title{margin:24px 0;font-size:14px;line-height:22px;color:#000}.dds-column-settings-panel .item-content{display:flex;justify-content:center}.dds-column-settings-panel .slider{width:168px;margin-right:26px}.dds-column-settings-panel .num-box{display:flex;align-items:center;justify-content:center;width:94px;height:26px;border:1px solid #d9d9d9;box-shadow:0 2px #00000004;border-radius:2px 0 0 2px}.dds-column-settings-panel .num-box .num{margin:0 8px;width:32px;height:26px;line-height:26px;text-align:center;color:#262626;border:1px solid #d9d9d9}.dds-column-settings-panel .num-box svg{width:16px;height:16px;cursor:pointer}.dds-column-settings-btn{display:flex;justify-content:center;align-items:center;margin-left:16px;width:32px;height:32px;background:#f5f5f5;cursor:pointer}.dds-dynamic-pagination{position:absolute;bottom:0;left:0;margin:20px 0;width:100%;display:flex;justify-content:center}.dds-dynamic-pagination .pagesize-wrap{display:flex;align-items:center;justify-content:center;margin:0 16px}.dds-dynamic-pagination .pagesize-wrap .pagesize-label{color:#000000e0;font-size:14px}.dds-dynamic-pagination .pagesize-wrap .ant-input-number{margin-left:8px}.dds-annotator-attributes-form{width:100%;padding:12px 12px 0}.dds-annotator-attributes-form .ant-form-item{margin-bottom:14px}.dds-annotator-attributes-form .ant-form-item-label{font-weight:500}.dds-annotator-attributes-form .ant-input{border-color:#1e53f5}.dds-annotator-attributes-form-item-title{display:flex;align-items:center}.dds-annotator-attributes-form-item-title-btn{margin-left:12px;height:24px;border:0;display:flex;align-items:center;justify-items:center}.dds-annotator-attributes-form-item-title-btn svg{width:22px;height:22px;fill:#1e53f5}.dds-annotator-attributes-form-item-title .attribute-warn{fill:#f53f3f}.dds-annotator-attributes-form-dark .ant-form-item-label>label{color:#fff}.dds-annotator-attributes-form-dark .ant-radio-wrapper{color:#fff}.dds-annotator-attributes-form-dark .ant-radio-wrapper .ant-radio-disabled .ant-radio-inner{background-color:#fff}.dds-annotator-attributes-form-dark .ant-checkbox-wrapper{color:#fff}.dds-annotator-attributes-form-dark .ant-checkbox-wrapper .ant-checkbox-disabled .ant-checkbox-inner{background-color:#fff}.dds-annotator-attributes-form-dark .ant-checkbox-wrapper .ant-checkbox-disabled+span{color:#fff}.dds-annotator-attributes-form-dark .ant-input{color:#fff;background-color:transparent}.dds-annotator-attributes-form-dark .ant-input::placeholder{color:#ffffff4d}.dds-annotator-attribute-editor{position:absolute;right:1rem;top:1rem;width:320px;box-shadow:2px 2px 12px 3px #0009;opacity:1;pointer-events:all;z-index:99}.dds-annotator-attribute-editor .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0 15px;min-height:45px}.dds-annotator-attribute-editor .ant-card-body{padding:0 4px}.dds-annotator-attribute-editor-title{display:flex;align-items:center;justify-content:space-between}.dds-annotator-attribute-editor-title-btn{border:0}.dds-annotator-attribute-editor-title-btn:hover{background-color:#fff3!important}.dds-annotator-attribute-editor-title-btn:hover svg{color:#fff}.dds-annotator-attribute-editor-content{display:flex;flex-direction:column;align-items:flex-end}.dds-annotator-attribute-editor-actions{padding:0 12px 12px}.dds-annotator-attribute-editor:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-classification{scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-classification::-webkit-scrollbar{display:none}.dds-annotator-classification .ant-tabs{color:#ffffff80}.dds-annotator-classification .ant-tabs-tab+.ant-tabs-tab{margin:0}.dds-annotator-classification .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#fff}.dds-annotator-classification .ant-tabs-tab{padding:12px;margin:0;font-size:16px}.dds-annotator-classification .ant-tabs-ink-bar{background:transparent}.dds-annotator-classification .ant-tabs-nav{margin:0;position:sticky;top:0;z-index:1;background:#000}.dds-annotator-classification .ant-tabs-nav:before{display:none}.dds-annotator-classification .tab-header-actions{position:absolute;right:5%;top:50%;transform:translateY(-50%);border:0}.dds-annotator-imageview-reload-cover{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}.dds-annotator-imageview-reload-cover img{display:block;position:absolute;left:0;top:0;width:100%;height:100%}.dds-annotator-imageview-reload-cover svg{position:absolute;left:0;top:0;width:100%;height:100%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.dds-annotator-imageview-reload-cover .content-box{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#f0f0f080}.dds-annotator-imageview-reload-cover .reload-trigger{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:0}.dds-annotator-imageview-reload-cover .reload-trigger span{width:24px;height:24px}.dds-annotator-imageview-canvas{position:absolute;left:0;top:0}.dds-annotator-model-selector-modal{display:flex;align-items:center;justify-content:space-between}.dds-annotator-model-selector-modal-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding-top:30px;padding-bottom:20px;padding-inline:5px;margin-block:10px;width:220px;height:200px;border:.5px solid #d6d6d6}.dds-annotator-model-selector-modal-option-icon svg{width:55px;height:55px}.dds-annotator-model-selector-modal-option-name{text-align:center;color:#000;font-size:18px;font-weight:500;user-select:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:90%}.dds-annotator-model-selector-modal-option-description{text-align:center;color:#0006;font-size:12px;font-weight:400;text-overflow:ellipsis;user-select:none}.dds-annotator-model-selector-modal-option-tag{position:absolute;top:10px;right:10px;margin:0}.dds-annotator-model-selector-modal-option:hover{background:rgba(185,206,255,.11);box-shadow:0 4px 4px #00000040}.dds-annotator-model-selector-modal-option-hightlight{border:1px solid #165cff5f;box-shadow:0 1px 2px #00000040;background:rgba(185,206,255,.3)}.dds-annotator-objectlist{scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-objectlist::-webkit-scrollbar{display:none}.dds-annotator-objectlist .ant-tabs{color:#ffffff80}.dds-annotator-objectlist .ant-tabs-tab+.ant-tabs-tab{margin:0}.dds-annotator-objectlist .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#fff}.dds-annotator-objectlist .ant-tabs-tab{padding:12px;margin:0;font-size:16px}.dds-annotator-objectlist .ant-tabs-ink-bar{background:transparent}.dds-annotator-objectlist .ant-tabs-nav{margin:0;position:sticky;top:0;z-index:1;background:#000}.dds-annotator-objectlist .ant-tabs-nav:before{display:none}.dds-annotator-objectlist .ant-collapse-item{scroll-margin:48px 0 0 0}.dds-annotator-objectlist .ant-list{color:#fff}.dds-annotator-objectlist .ant-list-item{padding:0;color:#fff}.dds-annotator-objectlist .objects-selector{width:144px;color:#fff;text-align:left;padding:0}.dds-annotator-objectlist .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{color:#fff}.dds-annotator-objectlist .objects-select-popup{background:#050505;color:#fff;border-radius:1px;padding:0;margin-top:-10px}.dds-annotator-objectlist .objects-select-popup .ant-select-item{color:#fff;text-align:left}.dds-annotator-objectlist .objects-select-popup .ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:#4c4c4c}.dds-annotator-objectlist .objects-select-popup .ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:#fff;font-weight:600;background-color:#050505}.dds-annotator-objectlist .ant-select-multiple .ant-select-selection-item{background:rgba(0,0,0,.3);color:#ffffffe6;border-color:#ffffffb3}.dds-annotator-objectlist .ant-select-multiple .ant-select-selection-item-remove{color:#ffffffb3}.dds-annotator-objectlist .tab-header-actions{position:absolute;right:5%;top:50%;transform:translateY(-50%)}.dds-annotator-objectlist .tab-header-actions button{border:0}.dds-annotator-objectlist .tab-header-actions-color-btn{width:28px;height:28px;margin:0 .5rem;border:0;background-color:transparent;color:#fff;border-radius:5px;box-shadow:unset}.dds-annotator-objectlist .tab-header-actions-color-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-objectlist .tab-header-actions-color-btn-active{color:#1e53f5;background-color:#1e53f5}.dds-annotator-objectlist .tab-collapse{width:100%}.dds-annotator-objectlist .tab-collapse .collapse-header{position:relative;display:flex;align-items:center;padding:0;width:256px;font-size:14px;color:#fff;background:#1f1f1f}.dds-annotator-objectlist .tab-collapse .collapse-header .label-name{margin:0 15px;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dds-annotator-objectlist .tab-collapse .collapse-header .label-count{display:inline-block;padding-inline:5px;margin-inline:10px;height:25px;min-width:25px;line-height:25px;border-radius:5px;background-color:#236bf7;font-size:12px;text-align:center}.dds-annotator-objectlist .tab-collapse .collapse-header .selected-line{position:absolute;left:0;top:0;width:4px;height:100%}.dds-annotator-objectlist .tab-collapse .collapse-header .label-icon{margin-left:14px;margin-right:14px;width:15px;height:15px}.dds-annotator-objectlist .tab-collapse .collapse-header .label-actions{position:absolute;right:5%;top:50%;transform:translateY(-50%)}.dds-annotator-objectlist .tab-collapse .collapse-header .label-btn{border:0}.dds-annotator-objectlist .tab-collapse .collapse-header .down-arrow{transform:rotate(180deg);width:10px;height:10px}.dds-annotator-objectlist .tab-collapse .collapseHeader:hover{background-color:#4b4f52}.dds-annotator-objectlist .tab-collapse .collapse-header-selected .arrow{transform:rotate(0)}.dds-annotator-objectlist .tab-collapse .collapse-item{position:relative;display:flex;justify-items:flex-start;align-items:center;height:35px;padding-left:10px;margin-left:6px;color:#fff;background:#1f1f1f;font-size:14px}.dds-annotator-objectlist .tab-collapse .collapse-item .color-hint{position:absolute;left:3%;margin-left:0;width:.5rem;height:.5rem;border:.1rem solid rgba(255,255,255,.8);border-radius:50%}.dds-annotator-objectlist .tab-collapse .collapse-item .label-icon{margin-left:15px;margin-right:12px;width:15px;height:15px}.dds-annotator-objectlist .tab-collapse .collapse-item .label{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dds-annotator-objectlist .tab-collapse .collapse-item .label-actions{margin-right:5%;display:flex;align-items:center;justify-content:center}.dds-annotator-objectlist .tab-collapse .collapse-item .label-btn,.dds-annotator-objectlist .tab-collapse .collapse-item .attr-btn{border:0}.dds-annotator-objectlist .tab-collapse .collapse-item .attr-btn svg{width:22px;height:22px;fill:#1e53f5}.dds-annotator-objectlist .tab-collapse .collapse-item .attr-btn-warn svg{fill:#f53f3f}.dds-annotator-objectlist .tab-collapse .collapse-item .frame-count{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 8px;font-size:14px}.dds-annotator-objectlist .tab-collapse .collapse-item .frame-count svg{width:14px;height:14px;fill:#fff}.dds-annotator-objectlist .tab-collapse .collapse-item:hover{background-color:#4b4f52}.item___v9XQ_{display:flex;flex-flow:row nowrap;border-radius:2px}.item___v9XQ_ .selected___H8gjQ{left:0;top:0;width:4px;height:100%;margin-right:5px}.item___v9XQ_ .info___YLqTh{width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.item___v9XQ_ .action___zGuUy{flex:1 1}.item___v9XQ_ .btn___ean1l{border:0}.item___v9XQ_:hover{background-color:#f0f8ff}.dds-annotator-points-editor{position:absolute;right:1rem;top:1rem;box-shadow:2px 2px 12px 3px #0009;opacity:0;transition:opacity .15s ease;pointer-events:none;z-index:99;border-radius:6px;overflow:hidden}.dds-annotator-points-editor .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0;min-height:auto}.dds-annotator-points-editor .ant-card-body{padding:0}.dds-annotator-points-editor .btn{border:0}.dds-annotator-points-editor .title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;min-height:40px;cursor:pointer}.dds-annotator-points-editor .title .extra-btn{cursor:pointer}.dds-annotator-points-editor .title .extra-btn:hover{transform:scale(1.05)}.dds-annotator-points-editor .content{display:flex;flex-direction:column;gap:5px;width:280px;height:140px;overflow-y:scroll;padding:10px 0 12px 10px}.dds-annotator-points-editor:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-points-editor-visible{opacity:1;pointer-events:all}.dds-annotator-seg-confirm{position:absolute;right:1rem;top:1rem;width:300px;box-shadow:2px 2px 12px 3px #0009;opacity:0;transition:opacity .15s ease;pointer-events:none;z-index:99}.dds-annotator-seg-confirm .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0 15px;min-height:45px}.dds-annotator-seg-confirm .ant-card-body{padding:12px}.dds-annotator-seg-confirm .btn{border:0}.dds-annotator-seg-confirm .title{display:flex;align-items:center;justify-content:space-between}.dds-annotator-seg-confirm .content{display:flex;align-items:center;justify-content:space-between;gap:12px}.dds-annotator-seg-confirm .content .item{display:flex;align-items:center;justify-content:space-around;gap:12px;width:100%}.dds-annotator-seg-confirm .content .selector{width:100%}.dds-annotator-seg-confirm .content .actions{display:flex;justify-content:space-between;width:100%}.dds-annotator-seg-confirm:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-seg-confirm-visible{opacity:1;pointer-events:all}.dds-annotator-shortcutsinfo{background:#262626!important;max-height:calc(100vh - 60px);overflow:scroll}.dds-annotator-shortcutsinfo .ant-dropdown-menu{padding:0}.dds-annotator-shortcutsinfo .ant-dropdown-menu-item-group-title{color:#fff!important;text-shadow:0 -1px 0 rgba(0,0,0,.12);background-color:#595959;font-weight:600}.dds-annotator-shortcutsinfo .ant-dropdown-menu-item{color:#ffffffe6!important;display:flex;flex-direction:row-reverse}.dds-annotator-shortcutsinfo .ant-dropdown-menu-title-content{align-self:flex-start}.dds-annotator-shortcutsinfo .ant-dropdown-menu-item-icon{margin:0 0 0 8px}.dds-annotator-shortcutsinfo-key{padding:2px 4px;height:22px;min-width:22px;color:#000;justify-content:center;align-items:center;align-self:flex-start;background:#f9fafb;border:1px solid #374151;border-radius:4px;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;display:inline-flex;flex:0 0 22px;font-size:11px;font-weight:600}.dds-annotator-shortcutsinfo-combine{color:#ffffffe6}.dds-annotator-shortcutsinfo-icon svg{margin-left:2px;margin-right:12px;fill:#fff;cursor:pointer}.dds-annotator-shortcutsinfo-icon svg:hover{fill:#1e53f5}.dds-annotator-slidertoolbar{position:relative;height:100%;background:#212121;border-radius:0;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:12px;width:50px;pointer-events:auto;font-weight:600;padding:1rem .5rem 2rem;z-index:99;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-slidertoolbar::-webkit-scrollbar{display:none}.dds-annotator-slidertoolbar-content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px}.dds-annotator-slidertoolbar .slidertoolbar-btn{width:32px;height:32px;border:0;background-color:transparent;border-radius:5px}.dds-annotator-slidertoolbar .slidertoolbar-btn svg{color:#fff;fill:#fff;scale:1.2}.dds-annotator-slidertoolbar .slidertoolbar-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-slidertoolbar .slidertoolbar-btn-active{color:#1e53f5;background-color:#1e53f5}.dds-annotator-slidertoolbar .slidertoolbar-btn-disabled{color:#ffffff40;pointer-events:none}.dds-annotator-slidertoolbar .slidertoolbar-btn-disabled svg{fill:#ffffff40}.dds-annotator-slidertoolbar .slidertoolbar-annotool-active-wrap{display:flex;flex-direction:column;align-items:center;gap:12px;width:50px;padding:10px 0;background:#484848;border-radius:12px}.dds-annotator-slidertoolbar .slidertoolbar-scale-text{font-size:12px;font-weight:400;color:#fffc;margin:12px 0;user-select:none}.dds-annotator-slidertoolbar .slidertoolbar-divider{width:100%;margin:8px 6px;border-bottom:1px solid #bbb}.dds-annotator-slidertoolbar-popover{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.dds-annotator-slidertoolbar-popover .popover-title{font-weight:600;font-size:14px;margin-right:10px}.dds-annotator-slidertoolbar-popover .popover-key{min-width:30px;justify-content:center;border-radius:2px;padding:2px 5px;color:#000c;box-shadow:0 1px 3px #0000004d,0 1px 2px #0000001a;font-size:12px;font-weight:600}.dds-annotator-slidertoolbar-popover .popover-divider{width:100%;margin:10px 0;border-bottom:1px solid rgba(0,0,0,.1)}.dds-annotator-slidertoolbar-popover .popover-description{max-width:220px;font-size:13px;color:#000c}.dds-annotator-editor-light .dds-annotator-slidertoolbar{background:#fff}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn{box-shadow:none}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn svg{color:#000;fill:#000;scale:1.2}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn:hover svg{color:#fff;fill:#fff}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn-active svg{color:#fff;fill:#fff;scale:1.2}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn-disabled{color:#00000040}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn-disabled svg{fill:#00000040}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-annotool-active-wrap{background:#484848}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-scale-text{color:#000c}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-divider{border-bottom:1px solid #bbb}.dds-annotator-editor-light .dds-annotator-slidertoolbar-popover .popover-key{color:#fffc;box-shadow:0 1px 3px #ffffff4d,0 1px 2px #ffffff1a}.dds-annotator-editor-light .dds-annotator-slidertoolbar-popover .popover-divider{border-bottom:1px solid rgba(255,255,255,.1)}.dds-annotator-editor-light .dds-annotator-slidertoolbar-popover .popover-description{color:#fffc}.dds-annotator-smart-container{position:absolute;right:1rem;top:1rem;width:375px;box-shadow:2px 2px 12px 3px #0009;opacity:0;transition:opacity .15s ease;pointer-events:none;z-index:9}.dds-annotator-smart-container .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0 15px;min-height:45px}.dds-annotator-smart-container .ant-card-body{padding:12px}.dds-annotator-smart-container-btn{border:0}.dds-annotator-smart-container-btn:hover{background-color:#fff3!important}.dds-annotator-smart-container-btn:hover svg{color:#fff}.dds-annotator-smart-container-title{display:flex;align-items:center;justify-content:space-between}.dds-annotator-smart-container-title-icon{display:flex;align-items:center;justify-content:center;gap:12px}.dds-annotator-smart-container-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:12px}.dds-annotator-smart-container-content-item{display:flex;align-items:center;justify-content:space-around;gap:12px;width:100%}.dds-annotator-smart-container-content-param-controls{display:flex;flex-direction:column;width:100%}.dds-annotator-smart-container-content-param-item{display:flex;flex-direction:row;justify-content:space-around}.dds-annotator-smart-container-content-param-item-title{width:100px}.dds-annotator-smart-container-content-param-item-select{flex:1 1}.dds-annotator-smart-container-content-param-item-slider{align-self:flex-end;flex:1 1}.dds-annotator-smart-container-content-instruction{font-size:13px}.dds-annotator-smart-container-content-actions{display:flex;justify-content:space-between;width:100%}.dds-annotator-smart-container-content-column-item{display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:100%}.dds-annotator-smart-container-content-tip-text span{font-weight:700}.dds-annotator-smart-container:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-smart-container-visible{opacity:1;pointer-events:all}.dds-annotator-operation-tip{position:absolute;right:1rem;top:1rem;display:flex;flex-direction:column;gap:10px;z-index:9}.dds-annotator-operation-tip-item{display:flex;justify-content:space-between;align-items:center;padding:5px 10px;background-color:#3c56f899;border-radius:5px}.dds-annotator-operation-tip-item span{margin-right:20px;color:#fff}.dds-annotator-toppagination{display:flex;flex-direction:row;justify-content:center;align-items:center;z-index:99;border-radius:10px;padding:.4rem .5rem}.dds-annotator-toppagination-btn{width:32px;height:32px;margin:0 .5rem;border:0;background-color:transparent;color:#fff;border-radius:5px}.dds-annotator-toppagination-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-toppagination-btn-disabled{color:#ffffff40;pointer-events:none}.dds-annotator-toppagination-btn-disabled svg{fill:#ffffff40}.dds-annotator-toppagination-scale-text{color:#fffc;margin:0 8px}.dds-annotator-toppagination-divider{height:100%;margin:6px 8px;border-left:1px solid #bbb}.dds-annotator-popover-menu{position:absolute;display:flex;flex-direction:column;justify-content:center;background:#fff;border:2px solid #1f4dd8;border-radius:50px;color:#000000d9;font-size:14px;box-shadow:2px 2px 6px 3px #00000026;pointer-events:none}.dds-annotator-popover-menu-content{display:flex;justify-content:space-around}.dds-annotator-popover-menu-text{max-width:150px;line-height:32px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin:0 10px}.dds-annotator-display{cursor:pointer}.dds-annotator-display-popover{border-radius:10px}.dds-annotator-display-popover .ant-popover-inner{padding:0}.dds-annotator-display-pop-container{border-radius:10px;color:#fff;padding-bottom:8px}.dds-annotator-display-pop-container-header{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid rgba(107,114,128);padding:8px 8px 8px 16px;margin-bottom:8px}.dds-annotator-display-pop-container-btn{width:24px;height:24px;margin:0 .25rem;border:0;background-color:transparent;color:#fff;box-shadow:unset;font-size:12px}.dds-annotator-display-pop-container-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-display-pop-container-btn:hover svg{fill:#000}.dds-annotator-display-pop-container-option{display:flex;flex-flow:column nowrap;padding:4px 16px;width:240px}.dds-annotator-display-pop-container-option .ant-slider{margin:5px 8px}.dds-annotator-editor-status{position:relative;height:30px;padding:0 8px;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-size:14px;font-weight:500;border-radius:5px}.dds-annotator-editor-status svg{width:20px;height:20px}.dds-annotator-editor-status-1{border:1px solid #26a1f4;background:rgba(38,161,244,.38)}.dds-annotator-editor-status-2{border:1px solid #ffd305;background:rgba(255,211,5,.38)}.dds-annotator-label-selector{width:220px;margin-left:-5px}.dds-annotator-label-selector .ant-select{width:100%}.dds-annotator-label-selector .ant-select .ant-select-selector{background-color:transparent!important;color:#fff}.dds-annotator-label-selector .ant-select .ant-select-selection-item{display:flex;align-items:center}.dds-annotator-label-selector .ant-select .ant-select-selection-item svg{width:16px;height:16px;margin-right:10px}.dds-annotator-label-selector .ant-select .ant-select-arrow,.dds-annotator-label-selector .ant-select-open .ant-select-selection-item{color:#ffffff80}.dds-annotator-label-selector-option-color{width:12px;height:12px;margin-right:10px;background-color:#fff}.dds-annotator-label-selector-option .ant-select-item-option-content{display:flex;align-items:center}.dds-annotator-label-selector-option svg{width:16px;height:16px;margin-right:10px}.dds-annotator-editor-light .dds-annotator-label-selector .ant-select .ant-select-selector{color:#000;border:1px solid #acacac}.dds-annotator-editor-light .dds-annotator-label-selector .ant-select .ant-select-arrow,.dds-annotator-editor-light .dds-annotator-label-selector .ant-select-open .ant-select-selection-item{color:#00000080}.dds-annotator-editor-light .dds-annotator-label-selector-option-color{background-color:#000}.dds-annotator-model-selector{width:220px;margin-left:-5px}.dds-annotator-model-selector .ant-select{width:100%}.dds-annotator-model-selector .ant-select .ant-select-selector{background-color:transparent!important;color:#fff}.dds-annotator-model-selector .ant-select .ant-select-selection-item{display:flex;align-items:center}.dds-annotator-model-selector .ant-select .ant-select-selection-item svg{width:16px;height:16px;margin-right:10px}.dds-annotator-model-selector .ant-select .ant-select-arrow,.dds-annotator-model-selector .ant-select-open .ant-select-selection-item{color:#ffffff80}.dds-annotator-model-selector-option-color{width:12px;height:12px;margin-right:10px;background-color:#fff}.dds-annotator-model-selector-option .ant-select-item-option-content{display:flex;align-items:center}.dds-annotator-model-selector-option svg{width:16px;height:16px;margin-right:10px}.dds-annotator-editor-light .dds-annotator-model-selector .ant-select .ant-select-selector{color:#000;border:1px solid #acacac}.dds-annotator-editor-light .dds-annotator-model-selector .ant-select .ant-select-arrow,.dds-annotator-editor-light .dds-annotator-model-selector .ant-select-open .ant-select-selection-item{color:#00000080}.dds-annotator-editor-light .dds-annotator-model-selector-option-color{background-color:#000}.dds-annotator-subtoolbar{display:flex;flex-direction:row;justify-content:center;align-items:center;z-index:99;background-color:#212121;border-radius:10px;padding:.5rem;padding-left:0;height:50px;pointer-events:auto;font-weight:600}.dds-annotator-subtoolbar-btn{width:32px;height:32px;margin:0 .25rem;border:0;background-color:transparent;color:#fff;border-radius:5px}.dds-annotator-subtoolbar-btn svg{scale:1.2}.dds-annotator-subtoolbar-btn:hover{color:#fff}.dds-annotator-subtoolbar-btn-limited:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-subtoolbar-btn-active{background-color:#1e53f5}.dds-annotator-subtoolbar-divider{height:65%;margin:10px 8px;border-left:1px solid #fff}.dds-annotator-subtoolbar-title{margin:0 .25rem;color:#fff}.dds-annotator-subtoolbar-slider{width:100px;margin:0 .25rem}.dds-annotator-subtoolbar-slider .ant-slider-rail{background-color:#37404a}.dds-annotator-subtoolbar-action{height:32px;margin:0 .25rem;border:0;color:#fff;border-radius:5px}.dds-annotator-subtoolbar-popover{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.dds-annotator-subtoolbar-popover-title{font-weight:500;font-size:14px}.dds-annotator-subtoolbar-popover-key{justify-content:center;border-radius:2px;margin-left:10px;padding:2px 5px;color:#000c;box-shadow:0 1px 3px #0000004d,0 1px 2px #0000001a;font-size:12px;font-weight:500}.dds-annotator-subtoolbar-popover-divider{width:100%;margin:10px 0;border-bottom:1px solid rgba(0,0,0,.1)}.dds-annnotator-toptools{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 16px;width:100%;height:56px;color:#fff;background:#1f1f1f;border-bottom:1px solid #141414;pointer-events:auto;overflow-x:scroll;z-index:1;scrollbar-width:none;-ms-overflow-style:none}.dds-annnotator-toptools::-webkit-scrollbar{display:none}.dds-annnotator-toptools-row{display:flex;align-items:center;gap:16px;opacity:.85}.dds-annnotator-toptools-row-icon{padding:8px;color:#fff;border-radius:5px;cursor:pointer}.dds-annnotator-toptools-row-icon span{vertical-align:middle}.dds-annnotator-toptools-row-icon svg{width:20px;height:20px;fill:#fff;vertical-align:middle}.dds-annnotator-toptools-row-icon:hover{background-color:#1e53f5}.dds-annnotator-toptools-row-icon-disable{color:#ffffff40;pointer-events:none}.dds-annnotator-toptools-row-icon-disable svg{fill:#ffffff40}.dds-annnotator-toptools-row-split{margin:5px;width:1px;height:20px;background-color:#3b3838}.dds-annnotator-toptools-progress{position:absolute;left:50%;transform:translate(-50%);font-size:13px;line-height:20px;color:#fff;user-select:none}.dds-annotator-loading{position:fixed;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.2);z-index:10001}.dds-annotator-logo{margin-left:-5px;width:33px;height:33px;cursor:pointer}.dds-annotator-logo-replace{margin-left:-5px;width:33px;height:33px}.dds-annotator .edit-wrap{position:absolute;inset:0;font-size:0;user-select:none;pointer-events:auto}.dds-annotator .edit-wrap img{display:none}.dds-annotator .edit-wrap canvas{position:absolute;inset:0;cursor:crosshair}.dds-annotator-qk-actions{display:flex;align-items:center;justify-content:center;gap:18px}.dds-annotator-qk-actions svg{cursor:pointer;fill:#fff}.dds-annotator-qk-actions svg:hover{fill:#1e53f5}.dds-annotator-dropdown-options{display:flex;flex-direction:column;background-color:#fff;border-radius:5px;overflow:hidden}.dds-annotator-dropdown-options-object{position:relative;padding:5px 10px 5px 20px;min-width:120px;user-select:none;cursor:pointer}.dds-annotator-dropdown-options-object:hover{color:#1e53f5;background-color:#e2e6f9}.dds-annotator-dropdown-options-object-dot{position:absolute;top:50%;left:8px;transform:translateY(-50%);width:4px;height:4px;border-radius:50%;background-color:red}.dds-annotator-editor{position:relative;top:0;left:0;z-index:100;width:100%;height:100vh;background-color:#000;overflow:hidden}.dds-annotator-editor .editor-container{position:absolute;inset:56px 0 0;display:flex;flex-direction:row;pointer-events:auto}.dds-annotator-editor .editor-container .left-slider{position:relative;height:100%;background:#212121;padding:0;border-radius:0;border-left:1px solid black;overflow-y:scroll;overflow-x:hidden;z-index:1}.dds-annotator-editor .editor-container .center-content{position:relative;flex:1 1;height:100%;display:flex;flex-direction:column;overflow:hidden}.dds-annotator-editor .editor-container .center-content .draw-area{position:relative;flex:1 1;width:100%}.dds-annotator-editor .editor-container .right-slider{position:relative;width:256px;min-width:256px;height:100%;background:#262626;border-left:2px solid #141414;backdrop-filter:blur(12px);display:flex;flex-direction:column;z-index:1}.dds-annotator-editor .editor-container .right-slider .classifications{max-height:50%;overflow-x:hidden;overflow-y:scroll}.dds-annotator-editor .editor-container .right-slider .object-list{flex:1 1;width:100%;overflow-y:scroll;overflow-x:hidden}.dds-annotator-editor-light{background-color:#f7f7f7}.dds-annotator-editor-light .dds-annnotator-toptools{background-color:#f1f2f4;border-bottom:1px solid #f7f7f7}.dds-annotator-editor-light .dds-annnotator-toptools-row-icon{color:#000}.dds-annotator-editor-light .dds-annnotator-toptools-row-icon svg{fill:#fff}.dds-annotator-preview{position:fixed;top:0;left:0;width:100%;height:100%;z-index:100;background-color:#000000b3}.dds-annotator-preview .top-tools{background:linear-gradient(180deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,.15) 100%)!important;border:none!important}.dds-annotator-preview .switch{position:absolute;bottom:40px;display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-top:-22px;color:#ffffffd9;background:rgba(0,0,0,.5);border-radius:50%;cursor:pointer;pointer-events:auto;z-index:1}.dds-annotator-preview .switch-disable{color:#ffffff40;cursor:not-allowed}.dds-annotator-preview .switch-left{right:calc(50vw + 32px)}.dds-annotator-preview .switch-right{left:calc(50vw + 32px)}.dds-annotator-preview .info-wrap{position:absolute;right:40px;top:50%;transform:translateY(-50%);pointer-events:auto;user-select:none}.dds-annotator-preview .info-wrap .info-box{width:248px;max-height:calc(100vh - 192px);padding:24px 20px 0;display:flex;flex-direction:column;background-color:#00000073;color:#fff;border-radius:4px;pointer-events:auto;overflow-y:scroll;z-index:1;user-select:text;scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-preview .info-wrap .info-box::-webkit-scrollbar{display:none}.dds-annotator-preview .info-wrap .info-box .item{max-width:100%;margin-bottom:16px;text-align:left;word-break:break-all;font-size:14px;line-height:22px}.dds-annotator-preview .info-wrap .info-box .item:last-child{margin-bottom:24px}.dds-annotator-preview .info-wrap .bottom-mask{position:absolute;bottom:0;left:0;width:100%;height:40px;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,#000 100%);opacity:.45}.dds-annotator-preview .hide-info-btn{position:absolute;right:-24px;top:50%;transform:translateY(-50%);width:24px;height:48px;line-height:48px;background-color:#00000073;border-radius:0 48px 48px 0;display:flex;align-items:center;justify-content:flex-end;padding-right:8px;cursor:pointer;pointer-events:auto;z-index:1}.dds-annotator-preview .show-info-btn{position:absolute;right:0;top:50%;transform:translateY(-50%);width:24px;height:48px;line-height:48px;background-color:#00000073;border-radius:48px 0 0 48px;display:flex;align-items:center;justify-content:flex-start;padding-left:8px;cursor:pointer;pointer-events:auto;z-index:1}.dds-annotator-preview .show-info-btn svg{transform:rotate(180deg)}.dds-annotator-view{position:relative;display:flex}.dds-quicklabel-image-filter{display:flex;align-items:center;gap:10px}.dds-quicklabel-options-list{height:100vh}.dds-quicklabel-options-list-virtual{border-radius:8px}.dds-quicklabel-options-list-image{margin:8px 0;width:100%;height:120px;box-sizing:border-box;object-fit:cover;border-radius:8px;background-color:#fff;cursor:pointer;transition:transform .3s ease}.dds-quicklabel-options-list-image:hover{transform:scale(.95)}.dds-quicklabel-options-list-image-selected{border:3px solid #fff;border-radius:8px}.dds-upload-list{position:relative;width:100%;height:100%}.dds-upload-list .virtual-list{border-radius:8px;overflow-y:hidden}.dds-upload-list .row-container{display:flex}.dds-upload-list .preview-container{position:relative;display:flex;flex-direction:column;align-items:center;overflow:hidden;cursor:pointer;border-radius:5px}.dds-upload-list .preview-container .file-preview{box-sizing:border-box;object-fit:cover;background-color:#fff;border-radius:5px}.dds-upload-list .preview-container .file-name{width:90%;margin:5px;word-wrap:break-word;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dds-upload-list .preview-container .remove-button{display:none;position:absolute!important;top:4px;right:4px}.dds-upload-list .preview-container:hover{background-color:#f0f0f0;border-radius:5px;box-shadow:0 1px 2px #0000004d}.dds-upload-list .preview-container:hover .remove-button{display:block}.dds-upload-list .preview-container-success .file-name{color:#1e53f5}.dds-upload-list .preview-container-success .file-preview{border:1px solid #1e53f5}.dds-upload-list .preview-container-error .file-name{color:red}.dds-upload-list .preview-container-error .file-preview{border:1px solid red}.dds-upload{position:relative;width:100%;height:100%}.dds-upload-loading{position:absolute;left:0;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.3)}.dds-upload input{display:none!important}.dds-upload-title{font-size:24px;font-weight:500;line-height:1}.dds-upload-text{font-size:14px;font-weight:400;color:#c1c1c1}.dds-upload-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;border-radius:5px;border:1px solid #c9cdd4;cursor:pointer}.dds-upload-empty svg{width:91px;height:75px}.dds-upload-empty .dds-upload-title{margin-top:30px}.dds-upload-content{width:100%;height:100%;border-radius:5px;border:1px solid #c9cdd4}.dds-upload-content-list{position:relative;width:100%;height:calc(100% - 64px);padding:30px 0 0}.dds-upload-content-list-count{position:absolute;left:18px;top:8px;font-size:14px;color:#00000073}.dds-upload-draging{border:1px solid #1e53f5;background:#e8efff}.dds-upload-topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-radius:0;border-bottom:1px solid #c9cdd4}.dds-upload-topbar .dds-upload-title{font-size:20px}.dds-upload-topbar .dds-upload-text{font-size:12px;margin-top:4px}.dds-quicklabel-subtitle{font-size:16px;font-weight:500;margin:20px 0 10px}.dds-quicklabel-upload{width:100%;height:360px}.dds-quicklabel-upload-tip{margin:10px 0 0;background-color:transparent;border-width:0}.dds-quicklabel-upload-preannot-btn{width:100%;height:42px;font-weight:600;border-radius:5px;background:#fff}.dds-quicklabel{position:relative;display:flex;background:#212121}.dds-quicklabel-list{display:flex;flex-direction:column;align-items:stretch;width:200px;height:100%;padding:16px;gap:8px}.dds-quicklabel-workspace{flex:1 1;height:100%}.dds-upload-pre-anno .ant-upload{width:100%}.dds-upload-pre-anno .ant-card{border:1px solid #c9cdd4;background:none}.dds-upload-pre-anno .ant-card .ant-card-meta-avatar{width:56px;height:56px;margin-right:20px}.dds-upload-pre-anno .ant-card .ant-card-meta-avatar svg{width:56px;height:56px}.dds-upload-pre-anno .ant-card .ant-card-meta-title{font-size:24px;font-weight:500}.dds-upload-pre-anno .ant-card:hover{cursor:pointer} +*{margin:0;padding:0;box-sizing:border-box}body{background:#f5f5f5;overflow:overlay}#root .ant-page-header{background-color:#fff}#root .ant-pro .ant-layout-header.ant-pro-layout-header-fixed-header{padding:0 44px;background-color:#fff;border-bottom:1px solid #f0f0f0}#root .ant-pro-page-container-affix .ant-affix{top:0!important}#root .ant-pro-top-nav-header-main{padding-inline-start:0}#root .ant-pro-top-nav-header-logo>*:first-child>img{height:40px}#root .ant-image-preview-mask{z-index:900!important}#root .ant-image-preview-wrap{z-index:901!important}#root .ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding:0!important}#root .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:0!important}#root .ant-collapse .ant-collapse-item-disabled>.ant-collapse-header,#root .ant-collapse .ant-collapse-item-disabled>.ant-collapse-header>.arrow{cursor:pointer!important}#root .ant-pro .ant-pro-layout .ant-pro-layout-content{margin-block:0;margin-inline:0}#root .ant-table-tbody>tr>td>.ant-space{flex-wrap:wrap}#root .ant-table-pagination.ant-pagination{margin:16px 0}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type="range"]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}.dds-lang-selector{height:34px;padding:4px 8px}.dds-lang-selector div{position:relative;width:1.2em;height:1.2em}.dds-lang-selector .cur-lang{position:absolute;font-size:1.2em;line-height:1;left:-5%;top:0;transform:scale(.7);transform-origin:0 0;z-index:1}.dds-lang-selector .cur-lang-light{color:#fff;border:1px solid rgba(0,0,0,.88);background-color:#000000e0}.dds-lang-selector .cur-lang-dark{color:#000;border:1px solid rgba(255,255,255,.88);background-color:#ffffffe0}.dds-lang-selector .change-lang{position:absolute;font-size:1.2em;line-height:1;right:-5%;bottom:0;transform:scale(.5);transform-origin:100% 100%;z-index:0}.dds-lang-selector .change-lang-light{color:#000000e0;border:1px solid rgba(0,0,0,.88)}.dds-lang-selector .change-lang-dark{color:#ffffffe0;border:1px solid rgba(255,255,255,.88)}.dds-column-settings-panel{display:flex;flex-direction:column;padding:0 16px 24px;background-color:#fff;border-radius:2px;outline:none;box-shadow:0 2px 8px #00000026;max-height:400px;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none}.dds-column-settings-panel::-webkit-scrollbar{display:none}.dds-column-settings-panel .item-title{margin:24px 0;font-size:14px;line-height:22px;color:#000}.dds-column-settings-panel .item-content{display:flex;justify-content:center}.dds-column-settings-panel .slider{width:168px;margin-right:26px}.dds-column-settings-panel .num-box{display:flex;align-items:center;justify-content:center;width:94px;height:26px;border:1px solid #d9d9d9;box-shadow:0 2px #00000004;border-radius:2px 0 0 2px}.dds-column-settings-panel .num-box .num{margin:0 8px;width:32px;height:26px;line-height:26px;text-align:center;color:#262626;border:1px solid #d9d9d9}.dds-column-settings-panel .num-box svg{width:16px;height:16px;cursor:pointer}.dds-column-settings-btn{display:flex;justify-content:center;align-items:center;margin-left:16px;width:32px;height:32px;background:#f5f5f5;cursor:pointer}.dds-dynamic-pagination{position:absolute;bottom:0;left:0;margin:20px 0;width:100%;display:flex;justify-content:center}.dds-dynamic-pagination .pagesize-wrap{display:flex;align-items:center;justify-content:center;margin:0 16px}.dds-dynamic-pagination .pagesize-wrap .pagesize-label{color:#000000e0;font-size:14px}.dds-dynamic-pagination .pagesize-wrap .ant-input-number{margin-left:8px}.dds-annotator-attributes-form{width:100%;padding:12px 12px 0}.dds-annotator-attributes-form .ant-form-item{margin-bottom:14px}.dds-annotator-attributes-form .ant-form-item-label{font-weight:500}.dds-annotator-attributes-form .ant-input{border-color:#1e53f5}.dds-annotator-attributes-form-item-title{display:flex;align-items:center}.dds-annotator-attributes-form-item-title-btn{margin-left:12px;height:24px;border:0;display:flex;align-items:center;justify-items:center}.dds-annotator-attributes-form-item-title-btn svg{width:22px;height:22px;fill:#1e53f5}.dds-annotator-attributes-form-item-title .attribute-warn{fill:#f53f3f}.dds-annotator-attributes-form-dark .ant-form-item-label>label{color:#fff}.dds-annotator-attributes-form-dark .ant-radio-wrapper{color:#fff}.dds-annotator-attributes-form-dark .ant-radio-wrapper .ant-radio-disabled .ant-radio-inner{background-color:#fff}.dds-annotator-attributes-form-dark .ant-checkbox-wrapper{color:#fff}.dds-annotator-attributes-form-dark .ant-checkbox-wrapper .ant-checkbox-disabled .ant-checkbox-inner{background-color:#fff}.dds-annotator-attributes-form-dark .ant-checkbox-wrapper .ant-checkbox-disabled+span{color:#fff}.dds-annotator-attributes-form-dark .ant-input{color:#fff;background-color:transparent}.dds-annotator-attributes-form-dark .ant-input::placeholder{color:#ffffff4d}.dds-annotator-attribute-editor{position:absolute;right:1rem;top:1rem;width:320px;box-shadow:2px 2px 12px 3px #0009;opacity:1;pointer-events:all;z-index:99}.dds-annotator-attribute-editor .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0 15px;min-height:45px}.dds-annotator-attribute-editor .ant-card-body{padding:0 4px}.dds-annotator-attribute-editor-title{display:flex;align-items:center;justify-content:space-between}.dds-annotator-attribute-editor-title-btn{border:0}.dds-annotator-attribute-editor-title-btn:hover{background-color:#fff3!important}.dds-annotator-attribute-editor-title-btn:hover svg{color:#fff}.dds-annotator-attribute-editor-content{display:flex;flex-direction:column;align-items:flex-end}.dds-annotator-attribute-editor-actions{padding:0 12px 12px}.dds-annotator-attribute-editor:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-classification{scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-classification::-webkit-scrollbar{display:none}.dds-annotator-classification .ant-tabs{color:#ffffff80}.dds-annotator-classification .ant-tabs-tab+.ant-tabs-tab{margin:0}.dds-annotator-classification .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#fff}.dds-annotator-classification .ant-tabs-tab{padding:12px;margin:0;font-size:16px}.dds-annotator-classification .ant-tabs-ink-bar{background:transparent}.dds-annotator-classification .ant-tabs-nav{margin:0;position:sticky;top:0;z-index:1;background:#000}.dds-annotator-classification .ant-tabs-nav:before{display:none}.dds-annotator-classification .tab-header-actions{position:absolute;right:5%;top:50%;transform:translateY(-50%);border:0}.dds-annotator-imageview-reload-cover{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}.dds-annotator-imageview-reload-cover img{display:block;position:absolute;left:0;top:0;width:100%;height:100%}.dds-annotator-imageview-reload-cover svg{position:absolute;left:0;top:0;width:100%;height:100%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.dds-annotator-imageview-reload-cover .content-box{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#f0f0f080}.dds-annotator-imageview-reload-cover .reload-trigger{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:0}.dds-annotator-imageview-reload-cover .reload-trigger span{width:24px;height:24px}.dds-annotator-imageview-canvas{position:absolute;left:0;top:0}.dds-annotator-model-selector-modal{display:flex;align-items:center;justify-content:space-between}.dds-annotator-model-selector-modal-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding-top:30px;padding-bottom:20px;padding-inline:5px;margin-block:10px;width:220px;height:200px;border:.5px solid #d6d6d6}.dds-annotator-model-selector-modal-option-icon svg{width:55px;height:55px}.dds-annotator-model-selector-modal-option-name{text-align:center;color:#000;font-size:18px;font-weight:500;user-select:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:90%}.dds-annotator-model-selector-modal-option-description{text-align:center;color:#0006;font-size:12px;font-weight:400;text-overflow:ellipsis;user-select:none}.dds-annotator-model-selector-modal-option-tag{position:absolute;top:10px;right:10px;margin:0}.dds-annotator-model-selector-modal-option:hover{background:rgba(185,206,255,.11);box-shadow:0 4px 4px #00000040}.dds-annotator-model-selector-modal-option-hightlight{border:1px solid #165cff5f;box-shadow:0 1px 2px #00000040;background:rgba(185,206,255,.3)}.dds-annotator-objectlist{scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-objectlist::-webkit-scrollbar{display:none}.dds-annotator-objectlist .ant-tabs{color:#ffffff80}.dds-annotator-objectlist .ant-tabs-tab+.ant-tabs-tab{margin:0}.dds-annotator-objectlist .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#fff}.dds-annotator-objectlist .ant-tabs-tab{padding:12px;margin:0;font-size:16px}.dds-annotator-objectlist .ant-tabs-ink-bar{background:transparent}.dds-annotator-objectlist .ant-tabs-nav{margin:0;position:sticky;top:0;z-index:1;background:#000}.dds-annotator-objectlist .ant-tabs-nav:before{display:none}.dds-annotator-objectlist .ant-collapse-item{scroll-margin:48px 0 0 0}.dds-annotator-objectlist .ant-list{color:#fff}.dds-annotator-objectlist .ant-list-item{padding:0;color:#fff}.dds-annotator-objectlist .objects-selector{width:144px;color:#fff;text-align:left;padding:0}.dds-annotator-objectlist .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{color:#fff}.dds-annotator-objectlist .objects-select-popup{background:#050505;color:#fff;border-radius:1px;padding:0;margin-top:-10px}.dds-annotator-objectlist .objects-select-popup .ant-select-item{color:#fff;text-align:left}.dds-annotator-objectlist .objects-select-popup .ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:#4c4c4c}.dds-annotator-objectlist .objects-select-popup .ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:#fff;font-weight:600;background-color:#050505}.dds-annotator-objectlist .ant-select-multiple .ant-select-selection-item{background:rgba(0,0,0,.3);color:#ffffffe6;border-color:#ffffffb3}.dds-annotator-objectlist .ant-select-multiple .ant-select-selection-item-remove{color:#ffffffb3}.dds-annotator-objectlist .tab-header-actions{position:absolute;right:5%;top:50%;transform:translateY(-50%)}.dds-annotator-objectlist .tab-header-actions button{border:0}.dds-annotator-objectlist .tab-header-actions-color-btn{width:28px;height:28px;margin:0 .5rem;border:0;background-color:transparent;color:#fff;border-radius:5px;box-shadow:unset}.dds-annotator-objectlist .tab-header-actions-color-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-objectlist .tab-header-actions-color-btn-active{color:#1e53f5;background-color:#1e53f5}.dds-annotator-objectlist .tab-collapse{width:100%}.dds-annotator-objectlist .tab-collapse .collapse-header{position:relative;display:flex;align-items:center;padding:0;width:256px;font-size:14px;color:#fff;background:#1f1f1f}.dds-annotator-objectlist .tab-collapse .collapse-header .label-name{margin:0 15px;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dds-annotator-objectlist .tab-collapse .collapse-header .label-count{display:inline-block;padding-inline:5px;margin-inline:10px;height:25px;min-width:25px;line-height:25px;border-radius:5px;background-color:#236bf7;font-size:12px;text-align:center}.dds-annotator-objectlist .tab-collapse .collapse-header .selected-line{position:absolute;left:0;top:0;width:4px;height:100%}.dds-annotator-objectlist .tab-collapse .collapse-header .label-icon{margin-left:14px;margin-right:14px;width:15px;height:15px}.dds-annotator-objectlist .tab-collapse .collapse-header .label-actions{position:absolute;right:5%;top:50%;transform:translateY(-50%)}.dds-annotator-objectlist .tab-collapse .collapse-header .label-btn{border:0}.dds-annotator-objectlist .tab-collapse .collapse-header .down-arrow{transform:rotate(180deg);width:10px;height:10px}.dds-annotator-objectlist .tab-collapse .collapseHeader:hover{background-color:#4b4f52}.dds-annotator-objectlist .tab-collapse .collapse-header-selected .arrow{transform:rotate(0)}.dds-annotator-objectlist .tab-collapse .collapse-item{position:relative;display:flex;justify-items:flex-start;align-items:center;height:35px;padding-left:10px;margin-left:6px;color:#fff;background:#1f1f1f;font-size:14px}.dds-annotator-objectlist .tab-collapse .collapse-item .color-hint{position:absolute;left:3%;margin-left:0;width:.5rem;height:.5rem;border:.1rem solid rgba(255,255,255,.8);border-radius:50%}.dds-annotator-objectlist .tab-collapse .collapse-item .label-icon{margin-left:15px;margin-right:12px;width:15px;height:15px}.dds-annotator-objectlist .tab-collapse .collapse-item .label{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dds-annotator-objectlist .tab-collapse .collapse-item .label-actions{margin-right:5%;display:flex;align-items:center;justify-content:center}.dds-annotator-objectlist .tab-collapse .collapse-item .label-btn,.dds-annotator-objectlist .tab-collapse .collapse-item .attr-btn{border:0}.dds-annotator-objectlist .tab-collapse .collapse-item .attr-btn svg{width:22px;height:22px;fill:#1e53f5}.dds-annotator-objectlist .tab-collapse .collapse-item .attr-btn-warn svg{fill:#f53f3f}.dds-annotator-objectlist .tab-collapse .collapse-item .frame-count{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 8px;font-size:14px}.dds-annotator-objectlist .tab-collapse .collapse-item .frame-count svg{width:14px;height:14px;fill:#fff}.dds-annotator-objectlist .tab-collapse .collapse-item:hover{background-color:#4b4f52}.item___v9XQ_{display:flex;flex-flow:row nowrap;border-radius:2px}.item___v9XQ_ .selected___H8gjQ{left:0;top:0;width:4px;height:100%;margin-right:5px}.item___v9XQ_ .info___YLqTh{width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.item___v9XQ_ .action___zGuUy{flex:1 1}.item___v9XQ_ .btn___ean1l{border:0}.item___v9XQ_:hover{background-color:#f0f8ff}.dds-annotator-points-editor{position:absolute;right:1rem;top:1rem;box-shadow:2px 2px 12px 3px #0009;opacity:0;transition:opacity .15s ease;pointer-events:none;z-index:99;border-radius:6px;overflow:hidden}.dds-annotator-points-editor .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0;min-height:auto}.dds-annotator-points-editor .ant-card-body{padding:0}.dds-annotator-points-editor .btn{border:0}.dds-annotator-points-editor .title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;min-height:40px;cursor:pointer}.dds-annotator-points-editor .title .extra-btn{cursor:pointer}.dds-annotator-points-editor .title .extra-btn:hover{transform:scale(1.05)}.dds-annotator-points-editor .content{display:flex;flex-direction:column;gap:5px;width:280px;height:140px;overflow-y:scroll;padding:10px 0 12px 10px}.dds-annotator-points-editor:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-points-editor-visible{opacity:1;pointer-events:all}.dds-annotator-seg-confirm{position:absolute;right:1rem;top:1rem;width:300px;box-shadow:2px 2px 12px 3px #0009;opacity:0;transition:opacity .15s ease;pointer-events:none;z-index:99}.dds-annotator-seg-confirm .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0 15px;min-height:45px}.dds-annotator-seg-confirm .ant-card-body{padding:12px}.dds-annotator-seg-confirm .btn{border:0}.dds-annotator-seg-confirm .title{display:flex;align-items:center;justify-content:space-between}.dds-annotator-seg-confirm .content{display:flex;align-items:center;justify-content:space-between;gap:12px}.dds-annotator-seg-confirm .content .item{display:flex;align-items:center;justify-content:space-around;gap:12px;width:100%}.dds-annotator-seg-confirm .content .selector{width:100%}.dds-annotator-seg-confirm .content .actions{display:flex;justify-content:space-between;width:100%}.dds-annotator-seg-confirm:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-seg-confirm-visible{opacity:1;pointer-events:all}.dds-annotator-shortcutsinfo{background:#262626!important;max-height:calc(100vh - 60px);overflow:scroll}.dds-annotator-shortcutsinfo .ant-dropdown-menu{padding:0}.dds-annotator-shortcutsinfo .ant-dropdown-menu-item-group-title{color:#fff!important;text-shadow:0 -1px 0 rgba(0,0,0,.12);background-color:#595959;font-weight:600}.dds-annotator-shortcutsinfo .ant-dropdown-menu-item{color:#ffffffe6!important;display:flex;flex-direction:row-reverse}.dds-annotator-shortcutsinfo .ant-dropdown-menu-title-content{align-self:flex-start}.dds-annotator-shortcutsinfo .ant-dropdown-menu-item-icon{margin:0 0 0 8px}.dds-annotator-shortcutsinfo-key{padding:2px 4px;height:22px;min-width:22px;color:#000;justify-content:center;align-items:center;align-self:flex-start;background:#f9fafb;border:1px solid #374151;border-radius:4px;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;display:inline-flex;flex:0 0 22px;font-size:11px;font-weight:600}.dds-annotator-shortcutsinfo-combine{color:#ffffffe6}.dds-annotator-shortcutsinfo-icon svg{margin-left:2px;margin-right:12px;fill:#fff;cursor:pointer}.dds-annotator-shortcutsinfo-icon svg:hover{fill:#1e53f5}.dds-annotator-slidertoolbar{position:relative;height:100%;background:#212121;border-radius:0;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:12px;width:50px;pointer-events:auto;font-weight:600;padding:1rem .5rem 2rem;z-index:99;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-slidertoolbar::-webkit-scrollbar{display:none}.dds-annotator-slidertoolbar-content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px}.dds-annotator-slidertoolbar .slidertoolbar-btn{width:32px;height:32px;border:0;background-color:transparent;border-radius:5px}.dds-annotator-slidertoolbar .slidertoolbar-btn svg{color:#fff;fill:#fff;scale:1.2}.dds-annotator-slidertoolbar .slidertoolbar-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-slidertoolbar .slidertoolbar-btn-active{color:#1e53f5;background-color:#1e53f5}.dds-annotator-slidertoolbar .slidertoolbar-btn-disabled{color:#ffffff40;pointer-events:none}.dds-annotator-slidertoolbar .slidertoolbar-btn-disabled svg{fill:#ffffff40}.dds-annotator-slidertoolbar .slidertoolbar-annotool-active-wrap{display:flex;flex-direction:column;align-items:center;gap:12px;width:50px;padding:10px 0;background:#484848;border-radius:12px}.dds-annotator-slidertoolbar .slidertoolbar-scale-text{font-size:12px;font-weight:400;color:#fffc;margin:12px 0;user-select:none}.dds-annotator-slidertoolbar .slidertoolbar-divider{width:100%;margin:8px 6px;border-bottom:1px solid #bbb}.dds-annotator-slidertoolbar-popover{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.dds-annotator-slidertoolbar-popover .popover-title{font-weight:600;font-size:14px;margin-right:10px}.dds-annotator-slidertoolbar-popover .popover-key{min-width:30px;justify-content:center;border-radius:2px;padding:2px 5px;color:#000c;box-shadow:0 1px 3px #0000004d,0 1px 2px #0000001a;font-size:12px;font-weight:600}.dds-annotator-slidertoolbar-popover .popover-divider{width:100%;margin:10px 0;border-bottom:1px solid rgba(0,0,0,.1)}.dds-annotator-slidertoolbar-popover .popover-description{max-width:220px;font-size:13px;color:#000c}.dds-annotator-editor-light .dds-annotator-slidertoolbar{background:#fff}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn{box-shadow:none}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn svg{color:#000;fill:#000;scale:1.2}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn:hover svg{color:#fff;fill:#fff}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn-active svg{color:#fff;fill:#fff;scale:1.2}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn-disabled{color:#00000040}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn-disabled svg{fill:#00000040}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-annotool-active-wrap{background:#484848}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-scale-text{color:#000c}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-divider{border-bottom:1px solid #bbb}.dds-annotator-editor-light .dds-annotator-slidertoolbar-popover .popover-key{color:#fffc;box-shadow:0 1px 3px #ffffff4d,0 1px 2px #ffffff1a}.dds-annotator-editor-light .dds-annotator-slidertoolbar-popover .popover-divider{border-bottom:1px solid rgba(255,255,255,.1)}.dds-annotator-editor-light .dds-annotator-slidertoolbar-popover .popover-description{color:#fffc}.dds-annotator-smart-container{position:absolute;right:1rem;top:1rem;width:375px;box-shadow:2px 2px 12px 3px #0009;opacity:0;transition:opacity .15s ease;pointer-events:none;z-index:9}.dds-annotator-smart-container .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0 15px;min-height:45px}.dds-annotator-smart-container .ant-card-body{padding:12px}.dds-annotator-smart-container-btn{border:0}.dds-annotator-smart-container-btn:hover{background-color:#fff3!important}.dds-annotator-smart-container-btn:hover svg{color:#fff}.dds-annotator-smart-container-title{display:flex;align-items:center;justify-content:space-between}.dds-annotator-smart-container-title-icon{display:flex;align-items:center;justify-content:center;gap:12px}.dds-annotator-smart-container-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:12px}.dds-annotator-smart-container-content-item{display:flex;align-items:center;justify-content:space-around;gap:12px;width:100%}.dds-annotator-smart-container-content-param-controls{display:flex;flex-direction:column;width:100%}.dds-annotator-smart-container-content-param-item{display:flex;flex-direction:row;justify-content:space-around}.dds-annotator-smart-container-content-param-item-title{width:100px}.dds-annotator-smart-container-content-param-item-select{flex:1 1}.dds-annotator-smart-container-content-param-item-slider{align-self:flex-end;flex:1 1}.dds-annotator-smart-container-content-instruction{font-size:13px}.dds-annotator-smart-container-content-actions{display:flex;justify-content:space-between;width:100%}.dds-annotator-smart-container-content-column-item{display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:100%}.dds-annotator-smart-container-content-tip-text span{font-weight:700}.dds-annotator-smart-container:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-smart-container-visible{opacity:1;pointer-events:all}.dds-annotator-operation-tip{position:absolute;right:1rem;top:1rem;display:flex;flex-direction:column;gap:10px;z-index:9}.dds-annotator-operation-tip-item{display:flex;justify-content:space-between;align-items:center;padding:5px 10px;background-color:#3c56f899;border-radius:5px}.dds-annotator-operation-tip-item span{margin-right:20px;color:#fff}.dds-annotator-toppagination{display:flex;flex-direction:row;justify-content:center;align-items:center;z-index:99;border-radius:10px;padding:.4rem .5rem}.dds-annotator-toppagination-btn{width:32px;height:32px;margin:0 .5rem;border:0;background-color:transparent;color:#fff;border-radius:5px}.dds-annotator-toppagination-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-toppagination-btn-disabled{color:#ffffff40;pointer-events:none}.dds-annotator-toppagination-btn-disabled svg{fill:#ffffff40}.dds-annotator-toppagination-scale-text{color:#fffc;margin:0 8px}.dds-annotator-toppagination-divider{height:100%;margin:6px 8px;border-left:1px solid #bbb}.dds-annotator-popover-menu{position:absolute;display:flex;flex-direction:column;justify-content:center;background:#fff;border:2px solid #1f4dd8;border-radius:50px;color:#000000d9;font-size:14px;box-shadow:2px 2px 6px 3px #00000026;pointer-events:none}.dds-annotator-popover-menu-content{display:flex;justify-content:space-around}.dds-annotator-popover-menu-text{max-width:150px;line-height:32px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin:0 10px}.dds-annotator-display{cursor:pointer}.dds-annotator-display-popover{border-radius:10px}.dds-annotator-display-popover .ant-popover-inner{padding:0}.dds-annotator-display-pop-container{border-radius:10px;color:#fff;padding-bottom:8px}.dds-annotator-display-pop-container-header{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid rgba(107,114,128);padding:8px 8px 8px 16px;margin-bottom:8px}.dds-annotator-display-pop-container-btn{width:24px;height:24px;margin:0 .25rem;border:0;background-color:transparent;color:#fff;box-shadow:unset;font-size:12px}.dds-annotator-display-pop-container-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-display-pop-container-btn:hover svg{fill:#000}.dds-annotator-display-pop-container-option{display:flex;flex-flow:column nowrap;padding:4px 16px;width:240px}.dds-annotator-display-pop-container-option .ant-slider{margin:5px 8px}.dds-annotator-editor-status{position:relative;height:30px;padding:0 8px;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-size:14px;font-weight:500;border-radius:5px;white-space:nowrap;text-overflow:ellipsis}.dds-annotator-editor-status svg{width:20px;height:20px}.dds-annotator-editor-status-1{border:1px solid #26a1f4;background:rgba(38,161,244,.38)}.dds-annotator-editor-status-2{border:1px solid #ffd305;background:rgba(255,211,5,.38)}.dds-annotator-label-selector{width:220px;margin-left:-5px}.dds-annotator-label-selector .ant-select{width:100%}.dds-annotator-label-selector .ant-select .ant-select-selector{background-color:transparent!important;color:#fff}.dds-annotator-label-selector .ant-select .ant-select-selection-item{display:flex;align-items:center}.dds-annotator-label-selector .ant-select .ant-select-selection-item svg{width:16px;height:16px;margin-right:10px}.dds-annotator-label-selector .ant-select .ant-select-arrow,.dds-annotator-label-selector .ant-select-open .ant-select-selection-item{color:#ffffff80}.dds-annotator-label-selector-option-color{width:12px;height:12px;margin-right:10px;background-color:#fff}.dds-annotator-label-selector-option .ant-select-item-option-content{display:flex;align-items:center}.dds-annotator-label-selector-option svg{width:16px;height:16px;margin-right:10px}.dds-annotator-editor-light .dds-annotator-label-selector .ant-select .ant-select-selector{color:#000;border:1px solid #acacac}.dds-annotator-editor-light .dds-annotator-label-selector .ant-select .ant-select-arrow,.dds-annotator-editor-light .dds-annotator-label-selector .ant-select-open .ant-select-selection-item{color:#00000080}.dds-annotator-editor-light .dds-annotator-label-selector-option-color{background-color:#000}.dds-annotator-model-selector{width:220px;margin-left:-5px}.dds-annotator-model-selector .ant-select{width:100%}.dds-annotator-model-selector .ant-select .ant-select-selector{background-color:transparent!important;color:#fff}.dds-annotator-model-selector .ant-select .ant-select-selection-item{display:flex;align-items:center}.dds-annotator-model-selector .ant-select .ant-select-selection-item svg{width:16px;height:16px;margin-right:10px}.dds-annotator-model-selector .ant-select .ant-select-arrow,.dds-annotator-model-selector .ant-select-open .ant-select-selection-item{color:#ffffff80}.dds-annotator-model-selector-option-color{width:12px;height:12px;margin-right:10px;background-color:#fff}.dds-annotator-model-selector-option .ant-select-item-option-content{display:flex;align-items:center}.dds-annotator-model-selector-option svg{width:16px;height:16px;margin-right:10px}.dds-annotator-editor-light .dds-annotator-model-selector .ant-select .ant-select-selector{color:#000;border:1px solid #acacac}.dds-annotator-editor-light .dds-annotator-model-selector .ant-select .ant-select-arrow,.dds-annotator-editor-light .dds-annotator-model-selector .ant-select-open .ant-select-selection-item{color:#00000080}.dds-annotator-editor-light .dds-annotator-model-selector-option-color{background-color:#000}.dds-annotator-subtoolbar{display:flex;flex-direction:row;justify-content:center;align-items:center;z-index:99;background-color:#212121;border-radius:10px;padding:.5rem;padding-left:0;height:50px;pointer-events:auto;font-weight:600}.dds-annotator-subtoolbar-btn{width:32px;height:32px;margin:0 .25rem;border:0;background-color:transparent;color:#fff;border-radius:5px}.dds-annotator-subtoolbar-btn svg{scale:1.2}.dds-annotator-subtoolbar-btn:hover{color:#fff}.dds-annotator-subtoolbar-btn-limited:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-subtoolbar-btn-active{background-color:#1e53f5}.dds-annotator-subtoolbar-divider{height:65%;margin:10px 8px;border-left:1px solid #fff}.dds-annotator-subtoolbar-title{margin:0 .25rem;color:#fff}.dds-annotator-subtoolbar-slider{width:100px;margin:0 .25rem}.dds-annotator-subtoolbar-slider .ant-slider-rail{background-color:#37404a}.dds-annotator-subtoolbar-action{height:32px;margin:0 .25rem;border:0;color:#fff;border-radius:5px}.dds-annotator-subtoolbar-popover{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.dds-annotator-subtoolbar-popover-title{font-weight:500;font-size:14px}.dds-annotator-subtoolbar-popover-key{justify-content:center;border-radius:2px;margin-left:10px;padding:2px 5px;color:#000c;box-shadow:0 1px 3px #0000004d,0 1px 2px #0000001a;font-size:12px;font-weight:500}.dds-annotator-subtoolbar-popover-divider{width:100%;margin:10px 0;border-bottom:1px solid rgba(0,0,0,.1)}.dds-annnotator-toptools{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 16px;width:100%;height:56px;color:#fff;background:#1f1f1f;border-bottom:1px solid #141414;pointer-events:auto;overflow-x:scroll;z-index:1;scrollbar-width:none;-ms-overflow-style:none}.dds-annnotator-toptools::-webkit-scrollbar{display:none}.dds-annnotator-toptools-row{display:flex;align-items:center;gap:16px;opacity:.85}.dds-annnotator-toptools-row-icon{padding:8px;color:#fff;border-radius:5px;cursor:pointer}.dds-annnotator-toptools-row-icon span{vertical-align:middle}.dds-annnotator-toptools-row-icon svg{width:20px;height:20px;fill:#fff;vertical-align:middle}.dds-annnotator-toptools-row-icon:hover{background-color:#1e53f5}.dds-annnotator-toptools-row-icon-disable{color:#ffffff40;pointer-events:none}.dds-annnotator-toptools-row-icon-disable svg{fill:#ffffff40}.dds-annnotator-toptools-row-split{margin:5px;width:1px;height:20px;background-color:#3b3838}.dds-annnotator-toptools-progress{position:absolute;left:50%;transform:translate(-50%);font-size:13px;line-height:20px;color:#fff;user-select:none}.dds-annotator-loading{position:fixed;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.2);z-index:10001}.dds-annotator-logo{margin-left:-5px;width:33px;height:33px;cursor:pointer}.dds-annotator-logo-replace{margin-left:-5px;width:33px;height:33px}.dds-annotator .edit-wrap{position:absolute;inset:0;font-size:0;user-select:none;pointer-events:auto}.dds-annotator .edit-wrap img{display:none}.dds-annotator .edit-wrap canvas{position:absolute;inset:0;cursor:crosshair}.dds-annotator-qk-actions{display:flex;align-items:center;justify-content:center;gap:18px}.dds-annotator-qk-actions svg{cursor:pointer;fill:#fff}.dds-annotator-qk-actions svg:hover{fill:#1e53f5}.dds-annotator-dropdown-options{display:flex;flex-direction:column;background-color:#fff;border-radius:5px;overflow:hidden}.dds-annotator-dropdown-options-object{position:relative;padding:5px 10px 5px 20px;min-width:120px;user-select:none;cursor:pointer}.dds-annotator-dropdown-options-object:hover{color:#1e53f5;background-color:#e2e6f9}.dds-annotator-dropdown-options-object-dot{position:absolute;top:50%;left:8px;transform:translateY(-50%);width:4px;height:4px;border-radius:50%;background-color:red}.dds-annotator-editor{position:relative;top:0;left:0;z-index:100;width:100%;height:100vh;background-color:#000;border-radius:0;overflow:hidden}.dds-annotator-editor .editor-container{position:absolute;inset:56px 0 0;display:flex;flex-direction:row;pointer-events:auto}.dds-annotator-editor .editor-container .left-slider{position:relative;height:100%;background:#212121;padding:0;border-radius:0;border-left:1px solid black;overflow-y:scroll;overflow-x:hidden;z-index:1}.dds-annotator-editor .editor-container .center-content{position:relative;flex:1 1;height:100%;display:flex;flex-direction:column;overflow:hidden}.dds-annotator-editor .editor-container .center-content .draw-area{position:relative;flex:1 1;width:100%}.dds-annotator-editor .editor-container .right-slider{position:relative;width:256px;min-width:256px;height:100%;background:#262626;border-left:2px solid #141414;backdrop-filter:blur(12px);display:flex;flex-direction:column;z-index:1}.dds-annotator-editor .editor-container .right-slider .classifications{max-height:50%;overflow-x:hidden;overflow-y:scroll}.dds-annotator-editor .editor-container .right-slider .object-list{flex:1 1;width:100%;overflow-y:scroll;overflow-x:hidden}.dds-annotator-editor-light{background-color:#f7f7f7}.dds-annotator-editor-light .dds-annnotator-toptools{background-color:#f1f2f4;border-bottom:1px solid #f7f7f7}.dds-annotator-editor-light .dds-annnotator-toptools-row-icon{color:#000}.dds-annotator-editor-light .dds-annnotator-toptools-row-icon svg{fill:#fff}.dds-annotator-preview{position:fixed;top:0;left:0;width:100%;height:100%;z-index:100;background-color:#000000b3}.dds-annotator-preview .top-tools{background:linear-gradient(180deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,.15) 100%)!important;border:none!important}.dds-annotator-preview .switch{position:absolute;bottom:40px;display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-top:-22px;color:#ffffffd9;background:rgba(0,0,0,.5);border-radius:50%;cursor:pointer;pointer-events:auto;z-index:1}.dds-annotator-preview .switch-disable{color:#ffffff40;cursor:not-allowed}.dds-annotator-preview .switch-left{right:calc(50vw + 32px)}.dds-annotator-preview .switch-right{left:calc(50vw + 32px)}.dds-annotator-preview .info-wrap{position:absolute;right:40px;top:50%;transform:translateY(-50%);pointer-events:auto;user-select:none}.dds-annotator-preview .info-wrap .info-box{width:248px;max-height:calc(100vh - 192px);padding:24px 20px 0;display:flex;flex-direction:column;background-color:#00000073;color:#fff;border-radius:4px;pointer-events:auto;overflow-y:scroll;z-index:1;user-select:text;scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-preview .info-wrap .info-box::-webkit-scrollbar{display:none}.dds-annotator-preview .info-wrap .info-box .item{max-width:100%;margin-bottom:16px;text-align:left;word-break:break-all;font-size:14px;line-height:22px}.dds-annotator-preview .info-wrap .info-box .item:last-child{margin-bottom:24px}.dds-annotator-preview .info-wrap .bottom-mask{position:absolute;bottom:0;left:0;width:100%;height:40px;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,#000 100%);opacity:.45}.dds-annotator-preview .hide-info-btn{position:absolute;right:-24px;top:50%;transform:translateY(-50%);width:24px;height:48px;line-height:48px;background-color:#00000073;border-radius:0 48px 48px 0;display:flex;align-items:center;justify-content:flex-end;padding-right:8px;cursor:pointer;pointer-events:auto;z-index:1}.dds-annotator-preview .show-info-btn{position:absolute;right:0;top:50%;transform:translateY(-50%);width:24px;height:48px;line-height:48px;background-color:#00000073;border-radius:48px 0 0 48px;display:flex;align-items:center;justify-content:flex-start;padding-left:8px;cursor:pointer;pointer-events:auto;z-index:1}.dds-annotator-preview .show-info-btn svg{transform:rotate(180deg)}.dds-annotator-view{position:relative;display:flex}.dds-quicklabel-image-filter{display:flex;align-items:center;gap:10px}.dds-quicklabel-options-list{height:100vh}.dds-quicklabel-options-list-virtual{border-radius:8px}.dds-quicklabel-options-list-image{margin:8px 0;width:100%;height:120px;box-sizing:border-box;object-fit:cover;border-radius:8px;background-color:#fff;cursor:pointer;transition:transform .3s ease}.dds-quicklabel-options-list-image:hover{transform:scale(.95)}.dds-quicklabel-options-list-image-selected{border:3px solid #fff;border-radius:8px}.dds-upload-list{position:relative;width:100%;height:100%}.dds-upload-list .virtual-list{border-radius:8px;overflow-y:hidden}.dds-upload-list .row-container{display:flex}.dds-upload-list .preview-container{position:relative;display:flex;flex-direction:column;align-items:center;overflow:hidden;cursor:pointer;border-radius:5px}.dds-upload-list .preview-container .file-preview{box-sizing:border-box;object-fit:cover;background-color:#fff;border-radius:5px}.dds-upload-list .preview-container .file-name{width:90%;margin:5px;word-wrap:break-word;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dds-upload-list .preview-container .remove-button{display:none;position:absolute!important;top:4px;right:4px}.dds-upload-list .preview-container:hover{background-color:#f0f0f0;border-radius:5px;box-shadow:0 1px 2px #0000004d}.dds-upload-list .preview-container:hover .remove-button{display:block}.dds-upload-list .preview-container-success .file-name{color:#1e53f5}.dds-upload-list .preview-container-success .file-preview{border:1px solid #1e53f5}.dds-upload-list .preview-container-error .file-name{color:red}.dds-upload-list .preview-container-error .file-preview{border:1px solid red}.dds-upload{position:relative;width:100%;height:100%}.dds-upload-loading{position:absolute;left:0;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.3)}.dds-upload input{display:none!important}.dds-upload-title{font-size:24px;font-weight:500;line-height:1}.dds-upload-text{font-size:14px;font-weight:400;color:#c1c1c1}.dds-upload-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;border-radius:5px;border:1px solid #c9cdd4;cursor:pointer}.dds-upload-empty svg{width:91px;height:75px}.dds-upload-empty .dds-upload-title{margin-top:30px}.dds-upload-content{width:100%;height:100%;border-radius:5px;border:1px solid #c9cdd4}.dds-upload-content-list{position:relative;width:100%;height:calc(100% - 64px);padding:30px 0 0}.dds-upload-content-list-count{position:absolute;left:18px;top:8px;font-size:14px;color:#00000073}.dds-upload-draging{border:1px solid #1e53f5;background:#e8efff}.dds-upload-topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-radius:0;border-bottom:1px solid #c9cdd4}.dds-upload-topbar .dds-upload-title{font-size:20px}.dds-upload-topbar .dds-upload-text{font-size:12px;margin-top:4px}.dds-quicklabel-subtitle{font-size:16px;font-weight:500;margin:20px 0 10px}.dds-quicklabel-upload{width:100%;height:360px}.dds-quicklabel-upload-tip{margin:10px 0 0;background-color:transparent;border-width:0}.dds-quicklabel-upload-preannot-btn{width:100%;height:42px;font-weight:600;border-radius:5px;background:#fff}.dds-quicklabel{position:relative;display:flex;background:#212121}.dds-quicklabel-list{display:flex;flex-direction:column;align-items:stretch;width:200px;height:100%;padding:16px;gap:8px}.dds-quicklabel-workspace{flex:1 1;height:100%}.dds-upload-pre-anno .ant-upload{width:100%}.dds-upload-pre-anno .ant-card{border:1px solid #c9cdd4;background:none}.dds-upload-pre-anno .ant-card .ant-card-meta-avatar{width:56px;height:56px;margin-right:20px}.dds-upload-pre-anno .ant-card .ant-card-meta-avatar svg{width:56px;height:56px}.dds-upload-pre-anno .ant-card .ant-card-meta-title{font-size:24px;font-weight:500}.dds-upload-pre-anno .ant-card:hover{cursor:pointer} -/*# sourceMappingURL=umi.30868830.css.map*/ \ No newline at end of file +/*# sourceMappingURL=umi.5d546bdb.css.map*/ \ No newline at end of file diff --git a/deepdataspace/server/static/umi.30868830.css.map b/deepdataspace/server/static/umi.5d546bdb.css.map similarity index 99% rename from deepdataspace/server/static/umi.30868830.css.map rename to deepdataspace/server/static/umi.5d546bdb.css.map index cebeeab..10ac350 100644 --- a/deepdataspace/server/static/umi.30868830.css.map +++ b/deepdataspace/server/static/umi.5d546bdb.css.map @@ -1 +1 @@ -{"version":3,"file":"umi.30868830.css","mappings":"AAAA","sources":["webpack://app/./src/global.less"],"sourcesContent":["* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n background: #f5f5f5;\n overflow: overlay; // Scrollbar does not occupy width.\n}\n\n#root {\n .ant-page-header {\n background-color: #fff;\n }\n\n .ant-pro .ant-layout-header.ant-pro-layout-header-fixed-header {\n padding: 0 44px;\n background-color: white;\n border-bottom: 1px solid #f0f0f0;\n }\n\n .ant-pro-page-container-affix .ant-affix {\n top: 0 !important;\n }\n\n .ant-pro-top-nav-header-main {\n padding-inline-start: 0;\n }\n\n .ant-pro-top-nav-header-logo > *:first-child > img {\n height: 40px;\n }\n\n .ant-image-preview-mask {\n z-index: 900 !important;\n }\n\n .ant-image-preview-wrap {\n z-index: 901 !important;\n }\n\n .ant-collapse\n > .ant-collapse-item.ant-collapse-no-arrow\n > .ant-collapse-header {\n padding: 0 !important;\n }\n\n .ant-collapse-ghost\n > .ant-collapse-item\n > .ant-collapse-content\n > .ant-collapse-content-box {\n padding: 0 !important;\n }\n\n .ant-collapse .ant-collapse-item-disabled > .ant-collapse-header,\n .ant-collapse .ant-collapse-item-disabled > .ant-collapse-header > .arrow {\n cursor: pointer !important;\n }\n\n .ant-pro .ant-pro-layout .ant-pro-layout-content {\n margin-block: 0;\n margin-inline: 0;\n }\n\n .ant-table-tbody > tr > td > .ant-space {\n flex-wrap: wrap;\n }\n\n .ant-table-pagination.ant-pagination {\n margin: 16px 0;\n }\n}\n\n@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;@colorPrimary: #1e53f5;@colorSuccess: #52c41a;@colorWarning: #faad14;@colorError: #ff4d4f;@colorInfo: #1677ff;@colorLink: #1677ff;@colorTextBase: #000;@colorBgBase: #fff;@fontFamily: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji';@fontFamilyCode: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;@fontSize: 14;@lineWidth: 1;@lineType: solid;@motionUnit: 0.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: 1000;@opacityImage: 1;@wireframe: false;@motion: true;@blue-1: #e6f4ff;@blue1: #e6f4ff;@blue-2: #bae0ff;@blue2: #bae0ff;@blue-3: #91caff;@blue3: #91caff;@blue-4: #69b1ff;@blue4: #69b1ff;@blue-5: #4096ff;@blue5: #4096ff;@blue-6: #1677ff;@blue6: #1677ff;@blue-7: #0958d9;@blue7: #0958d9;@blue-8: #003eb3;@blue8: #003eb3;@blue-9: #002c8c;@blue9: #002c8c;@blue-10: #001d66;@blue10: #001d66;@purple-1: #f9f0ff;@purple1: #f9f0ff;@purple-2: #efdbff;@purple2: #efdbff;@purple-3: #d3adf7;@purple3: #d3adf7;@purple-4: #b37feb;@purple4: #b37feb;@purple-5: #9254de;@purple5: #9254de;@purple-6: #722ed1;@purple6: #722ed1;@purple-7: #531dab;@purple7: #531dab;@purple-8: #391085;@purple8: #391085;@purple-9: #22075e;@purple9: #22075e;@purple-10: #120338;@purple10: #120338;@cyan-1: #e6fffb;@cyan1: #e6fffb;@cyan-2: #b5f5ec;@cyan2: #b5f5ec;@cyan-3: #87e8de;@cyan3: #87e8de;@cyan-4: #5cdbd3;@cyan4: #5cdbd3;@cyan-5: #36cfc9;@cyan5: #36cfc9;@cyan-6: #13c2c2;@cyan6: #13c2c2;@cyan-7: #08979c;@cyan7: #08979c;@cyan-8: #006d75;@cyan8: #006d75;@cyan-9: #00474f;@cyan9: #00474f;@cyan-10: #002329;@cyan10: #002329;@green-1: #f6ffed;@green1: #f6ffed;@green-2: #d9f7be;@green2: #d9f7be;@green-3: #b7eb8f;@green3: #b7eb8f;@green-4: #95de64;@green4: #95de64;@green-5: #73d13d;@green5: #73d13d;@green-6: #52c41a;@green6: #52c41a;@green-7: #389e0d;@green7: #389e0d;@green-8: #237804;@green8: #237804;@green-9: #135200;@green9: #135200;@green-10: #092b00;@green10: #092b00;@magenta-1: #fff0f6;@magenta1: #fff0f6;@magenta-2: #ffd6e7;@magenta2: #ffd6e7;@magenta-3: #ffadd2;@magenta3: #ffadd2;@magenta-4: #ff85c0;@magenta4: #ff85c0;@magenta-5: #f759ab;@magenta5: #f759ab;@magenta-6: #eb2f96;@magenta6: #eb2f96;@magenta-7: #c41d7f;@magenta7: #c41d7f;@magenta-8: #9e1068;@magenta8: #9e1068;@magenta-9: #780650;@magenta9: #780650;@magenta-10: #520339;@magenta10: #520339;@pink-1: #fff0f6;@pink1: #fff0f6;@pink-2: #ffd6e7;@pink2: #ffd6e7;@pink-3: #ffadd2;@pink3: #ffadd2;@pink-4: #ff85c0;@pink4: #ff85c0;@pink-5: #f759ab;@pink5: #f759ab;@pink-6: #eb2f96;@pink6: #eb2f96;@pink-7: #c41d7f;@pink7: #c41d7f;@pink-8: #9e1068;@pink8: #9e1068;@pink-9: #780650;@pink9: #780650;@pink-10: #520339;@pink10: #520339;@red-1: #fff1f0;@red1: #fff1f0;@red-2: #ffccc7;@red2: #ffccc7;@red-3: #ffa39e;@red3: #ffa39e;@red-4: #ff7875;@red4: #ff7875;@red-5: #ff4d4f;@red5: #ff4d4f;@red-6: #f5222d;@red6: #f5222d;@red-7: #cf1322;@red7: #cf1322;@red-8: #a8071a;@red8: #a8071a;@red-9: #820014;@red9: #820014;@red-10: #5c0011;@red10: #5c0011;@orange-1: #fff7e6;@orange1: #fff7e6;@orange-2: #ffe7ba;@orange2: #ffe7ba;@orange-3: #ffd591;@orange3: #ffd591;@orange-4: #ffc069;@orange4: #ffc069;@orange-5: #ffa940;@orange5: #ffa940;@orange-6: #fa8c16;@orange6: #fa8c16;@orange-7: #d46b08;@orange7: #d46b08;@orange-8: #ad4e00;@orange8: #ad4e00;@orange-9: #873800;@orange9: #873800;@orange-10: #612500;@orange10: #612500;@yellow-1: #feffe6;@yellow1: #feffe6;@yellow-2: #ffffb8;@yellow2: #ffffb8;@yellow-3: #fffb8f;@yellow3: #fffb8f;@yellow-4: #fff566;@yellow4: #fff566;@yellow-5: #ffec3d;@yellow5: #ffec3d;@yellow-6: #fadb14;@yellow6: #fadb14;@yellow-7: #d4b106;@yellow7: #d4b106;@yellow-8: #ad8b00;@yellow8: #ad8b00;@yellow-9: #876800;@yellow9: #876800;@yellow-10: #614700;@yellow10: #614700;@volcano-1: #fff2e8;@volcano1: #fff2e8;@volcano-2: #ffd8bf;@volcano2: #ffd8bf;@volcano-3: #ffbb96;@volcano3: #ffbb96;@volcano-4: #ff9c6e;@volcano4: #ff9c6e;@volcano-5: #ff7a45;@volcano5: #ff7a45;@volcano-6: #fa541c;@volcano6: #fa541c;@volcano-7: #d4380d;@volcano7: #d4380d;@volcano-8: #ad2102;@volcano8: #ad2102;@volcano-9: #871400;@volcano9: #871400;@volcano-10: #610b00;@volcano10: #610b00;@geekblue-1: #f0f5ff;@geekblue1: #f0f5ff;@geekblue-2: #d6e4ff;@geekblue2: #d6e4ff;@geekblue-3: #adc6ff;@geekblue3: #adc6ff;@geekblue-4: #85a5ff;@geekblue4: #85a5ff;@geekblue-5: #597ef7;@geekblue5: #597ef7;@geekblue-6: #2f54eb;@geekblue6: #2f54eb;@geekblue-7: #1d39c4;@geekblue7: #1d39c4;@geekblue-8: #10239e;@geekblue8: #10239e;@geekblue-9: #061178;@geekblue9: #061178;@geekblue-10: #030852;@geekblue10: #030852;@gold-1: #fffbe6;@gold1: #fffbe6;@gold-2: #fff1b8;@gold2: #fff1b8;@gold-3: #ffe58f;@gold3: #ffe58f;@gold-4: #ffd666;@gold4: #ffd666;@gold-5: #ffc53d;@gold5: #ffc53d;@gold-6: #faad14;@gold6: #faad14;@gold-7: #d48806;@gold7: #d48806;@gold-8: #ad6800;@gold8: #ad6800;@gold-9: #874d00;@gold9: #874d00;@gold-10: #613400;@gold10: #613400;@lime-1: #fcffe6;@lime1: #fcffe6;@lime-2: #f4ffb8;@lime2: #f4ffb8;@lime-3: #eaff8f;@lime3: #eaff8f;@lime-4: #d3f261;@lime4: #d3f261;@lime-5: #bae637;@lime5: #bae637;@lime-6: #a0d911;@lime6: #a0d911;@lime-7: #7cb305;@lime7: #7cb305;@lime-8: #5b8c00;@lime8: #5b8c00;@lime-9: #3f6600;@lime9: #3f6600;@lime-10: #254000;@lime10: #254000;@colorText: rgba(0, 0, 0, 0.88);@colorTextSecondary: rgba(0, 0, 0, 0.65);@colorTextTertiary: rgba(0, 0, 0, 0.45);@colorTextQuaternary: rgba(0, 0, 0, 0.25);@colorFill: rgba(0, 0, 0, 0.15);@colorFillSecondary: rgba(0, 0, 0, 0.06);@colorFillTertiary: rgba(0, 0, 0, 0.04);@colorFillQuaternary: rgba(0, 0, 0, 0.02);@colorBgLayout: #f5f5f5;@colorBgContainer: #ffffff;@colorBgElevated: #ffffff;@colorBgSpotlight: rgba(0, 0, 0, 0.85);@colorBorder: #d9d9d9;@colorBorderSecondary: #f0f0f0;@colorPrimaryBg: #ebf3ff;@colorPrimaryBgHover: #c2d9ff;@colorPrimaryBorder: #99bdff;@colorPrimaryBorderHover: #709dff;@colorPrimaryHover: #477bff;@colorPrimaryActive: #0e38cf;@colorPrimaryTextHover: #477bff;@colorPrimaryText: #1e53f5;@colorPrimaryTextActive: #0e38cf;@colorSuccessBg: #f6ffed;@colorSuccessBgHover: #d9f7be;@colorSuccessBorder: #b7eb8f;@colorSuccessBorderHover: #95de64;@colorSuccessHover: #95de64;@colorSuccessActive: #389e0d;@colorSuccessTextHover: #73d13d;@colorSuccessText: #52c41a;@colorSuccessTextActive: #389e0d;@colorErrorBg: #fff2f0;@colorErrorBgHover: #fff1f0;@colorErrorBorder: #ffccc7;@colorErrorBorderHover: #ffa39e;@colorErrorHover: #ff7875;@colorErrorActive: #d9363e;@colorErrorTextHover: #ff7875;@colorErrorText: #ff4d4f;@colorErrorTextActive: #d9363e;@colorWarningBg: #fffbe6;@colorWarningBgHover: #fff1b8;@colorWarningBorder: #ffe58f;@colorWarningBorderHover: #ffd666;@colorWarningHover: #ffd666;@colorWarningActive: #d48806;@colorWarningTextHover: #ffc53d;@colorWarningText: #faad14;@colorWarningTextActive: #d48806;@colorInfoBg: #e6f4ff;@colorInfoBgHover: #bae0ff;@colorInfoBorder: #91caff;@colorInfoBorderHover: #69b1ff;@colorInfoHover: #69b1ff;@colorInfoActive: #0958d9;@colorInfoTextHover: #4096ff;@colorInfoText: #1677ff;@colorInfoTextActive: #0958d9;@colorLinkHover: #69b1ff;@colorLinkActive: #0958d9;@colorBgMask: rgba(0, 0, 0, 0.45);@colorWhite: #fff;@fontSizeSM: 12;@fontSizeLG: 16;@fontSizeXL: 20;@fontSizeHeading1: 38;@fontSizeHeading2: 30;@fontSizeHeading3: 24;@fontSizeHeading4: 20;@fontSizeHeading5: 16;@lineHeight: 1.5714285714285714;@lineHeightLG: 1.5;@lineHeightSM: 1.6666666666666667;@lineHeightHeading1: 1.2105263157894737;@lineHeightHeading2: 1.2666666666666666;@lineHeightHeading3: 1.3333333333333333;@lineHeightHeading4: 1.4;@lineHeightHeading5: 1.5;@sizeXXL: 48;@sizeXL: 32;@sizeLG: 24;@sizeMD: 20;@sizeMS: 16;@size: 16;@sizeSM: 12;@sizeXS: 8;@sizeXXS: 4;@controlHeightSM: 24;@controlHeightXS: 16;@controlHeightLG: 40;@motionDurationFast: 0.1s;@motionDurationMid: 0.2s;@motionDurationSlow: 0.3s;@lineWidthBold: 2;@borderRadiusXS: 2;@borderRadiusSM: 4;@borderRadiusLG: 8;@borderRadiusOuter: 4;"],"names":[],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"umi.5d546bdb.css","mappings":"AAAA","sources":["webpack://app/./src/global.less"],"sourcesContent":["* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n background: #f5f5f5;\n overflow: overlay; // Scrollbar does not occupy width.\n}\n\n#root {\n .ant-page-header {\n background-color: #fff;\n }\n\n .ant-pro .ant-layout-header.ant-pro-layout-header-fixed-header {\n padding: 0 44px;\n background-color: white;\n border-bottom: 1px solid #f0f0f0;\n }\n\n .ant-pro-page-container-affix .ant-affix {\n top: 0 !important;\n }\n\n .ant-pro-top-nav-header-main {\n padding-inline-start: 0;\n }\n\n .ant-pro-top-nav-header-logo > *:first-child > img {\n height: 40px;\n }\n\n .ant-image-preview-mask {\n z-index: 900 !important;\n }\n\n .ant-image-preview-wrap {\n z-index: 901 !important;\n }\n\n .ant-collapse\n > .ant-collapse-item.ant-collapse-no-arrow\n > .ant-collapse-header {\n padding: 0 !important;\n }\n\n .ant-collapse-ghost\n > .ant-collapse-item\n > .ant-collapse-content\n > .ant-collapse-content-box {\n padding: 0 !important;\n }\n\n .ant-collapse .ant-collapse-item-disabled > .ant-collapse-header,\n .ant-collapse .ant-collapse-item-disabled > .ant-collapse-header > .arrow {\n cursor: pointer !important;\n }\n\n .ant-pro .ant-pro-layout .ant-pro-layout-content {\n margin-block: 0;\n margin-inline: 0;\n }\n\n .ant-table-tbody > tr > td > .ant-space {\n flex-wrap: wrap;\n }\n\n .ant-table-pagination.ant-pagination {\n margin: 16px 0;\n }\n}\n\n@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;@colorPrimary: #1e53f5;@colorSuccess: #52c41a;@colorWarning: #faad14;@colorError: #ff4d4f;@colorInfo: #1677ff;@colorLink: #1677ff;@colorTextBase: #000;@colorBgBase: #fff;@fontFamily: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji';@fontFamilyCode: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;@fontSize: 14;@lineWidth: 1;@lineType: solid;@motionUnit: 0.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: 1000;@opacityImage: 1;@wireframe: false;@motion: true;@blue-1: #e6f4ff;@blue1: #e6f4ff;@blue-2: #bae0ff;@blue2: #bae0ff;@blue-3: #91caff;@blue3: #91caff;@blue-4: #69b1ff;@blue4: #69b1ff;@blue-5: #4096ff;@blue5: #4096ff;@blue-6: #1677ff;@blue6: #1677ff;@blue-7: #0958d9;@blue7: #0958d9;@blue-8: #003eb3;@blue8: #003eb3;@blue-9: #002c8c;@blue9: #002c8c;@blue-10: #001d66;@blue10: #001d66;@purple-1: #f9f0ff;@purple1: #f9f0ff;@purple-2: #efdbff;@purple2: #efdbff;@purple-3: #d3adf7;@purple3: #d3adf7;@purple-4: #b37feb;@purple4: #b37feb;@purple-5: #9254de;@purple5: #9254de;@purple-6: #722ed1;@purple6: #722ed1;@purple-7: #531dab;@purple7: #531dab;@purple-8: #391085;@purple8: #391085;@purple-9: #22075e;@purple9: #22075e;@purple-10: #120338;@purple10: #120338;@cyan-1: #e6fffb;@cyan1: #e6fffb;@cyan-2: #b5f5ec;@cyan2: #b5f5ec;@cyan-3: #87e8de;@cyan3: #87e8de;@cyan-4: #5cdbd3;@cyan4: #5cdbd3;@cyan-5: #36cfc9;@cyan5: #36cfc9;@cyan-6: #13c2c2;@cyan6: #13c2c2;@cyan-7: #08979c;@cyan7: #08979c;@cyan-8: #006d75;@cyan8: #006d75;@cyan-9: #00474f;@cyan9: #00474f;@cyan-10: #002329;@cyan10: #002329;@green-1: #f6ffed;@green1: #f6ffed;@green-2: #d9f7be;@green2: #d9f7be;@green-3: #b7eb8f;@green3: #b7eb8f;@green-4: #95de64;@green4: #95de64;@green-5: #73d13d;@green5: #73d13d;@green-6: #52c41a;@green6: #52c41a;@green-7: #389e0d;@green7: #389e0d;@green-8: #237804;@green8: #237804;@green-9: #135200;@green9: #135200;@green-10: #092b00;@green10: #092b00;@magenta-1: #fff0f6;@magenta1: #fff0f6;@magenta-2: #ffd6e7;@magenta2: #ffd6e7;@magenta-3: #ffadd2;@magenta3: #ffadd2;@magenta-4: #ff85c0;@magenta4: #ff85c0;@magenta-5: #f759ab;@magenta5: #f759ab;@magenta-6: #eb2f96;@magenta6: #eb2f96;@magenta-7: #c41d7f;@magenta7: #c41d7f;@magenta-8: #9e1068;@magenta8: #9e1068;@magenta-9: #780650;@magenta9: #780650;@magenta-10: #520339;@magenta10: #520339;@pink-1: #fff0f6;@pink1: #fff0f6;@pink-2: #ffd6e7;@pink2: #ffd6e7;@pink-3: #ffadd2;@pink3: #ffadd2;@pink-4: #ff85c0;@pink4: #ff85c0;@pink-5: #f759ab;@pink5: #f759ab;@pink-6: #eb2f96;@pink6: #eb2f96;@pink-7: #c41d7f;@pink7: #c41d7f;@pink-8: #9e1068;@pink8: #9e1068;@pink-9: #780650;@pink9: #780650;@pink-10: #520339;@pink10: #520339;@red-1: #fff1f0;@red1: #fff1f0;@red-2: #ffccc7;@red2: #ffccc7;@red-3: #ffa39e;@red3: #ffa39e;@red-4: #ff7875;@red4: #ff7875;@red-5: #ff4d4f;@red5: #ff4d4f;@red-6: #f5222d;@red6: #f5222d;@red-7: #cf1322;@red7: #cf1322;@red-8: #a8071a;@red8: #a8071a;@red-9: #820014;@red9: #820014;@red-10: #5c0011;@red10: #5c0011;@orange-1: #fff7e6;@orange1: #fff7e6;@orange-2: #ffe7ba;@orange2: #ffe7ba;@orange-3: #ffd591;@orange3: #ffd591;@orange-4: #ffc069;@orange4: #ffc069;@orange-5: #ffa940;@orange5: #ffa940;@orange-6: #fa8c16;@orange6: #fa8c16;@orange-7: #d46b08;@orange7: #d46b08;@orange-8: #ad4e00;@orange8: #ad4e00;@orange-9: #873800;@orange9: #873800;@orange-10: #612500;@orange10: #612500;@yellow-1: #feffe6;@yellow1: #feffe6;@yellow-2: #ffffb8;@yellow2: #ffffb8;@yellow-3: #fffb8f;@yellow3: #fffb8f;@yellow-4: #fff566;@yellow4: #fff566;@yellow-5: #ffec3d;@yellow5: #ffec3d;@yellow-6: #fadb14;@yellow6: #fadb14;@yellow-7: #d4b106;@yellow7: #d4b106;@yellow-8: #ad8b00;@yellow8: #ad8b00;@yellow-9: #876800;@yellow9: #876800;@yellow-10: #614700;@yellow10: #614700;@volcano-1: #fff2e8;@volcano1: #fff2e8;@volcano-2: #ffd8bf;@volcano2: #ffd8bf;@volcano-3: #ffbb96;@volcano3: #ffbb96;@volcano-4: #ff9c6e;@volcano4: #ff9c6e;@volcano-5: #ff7a45;@volcano5: #ff7a45;@volcano-6: #fa541c;@volcano6: #fa541c;@volcano-7: #d4380d;@volcano7: #d4380d;@volcano-8: #ad2102;@volcano8: #ad2102;@volcano-9: #871400;@volcano9: #871400;@volcano-10: #610b00;@volcano10: #610b00;@geekblue-1: #f0f5ff;@geekblue1: #f0f5ff;@geekblue-2: #d6e4ff;@geekblue2: #d6e4ff;@geekblue-3: #adc6ff;@geekblue3: #adc6ff;@geekblue-4: #85a5ff;@geekblue4: #85a5ff;@geekblue-5: #597ef7;@geekblue5: #597ef7;@geekblue-6: #2f54eb;@geekblue6: #2f54eb;@geekblue-7: #1d39c4;@geekblue7: #1d39c4;@geekblue-8: #10239e;@geekblue8: #10239e;@geekblue-9: #061178;@geekblue9: #061178;@geekblue-10: #030852;@geekblue10: #030852;@gold-1: #fffbe6;@gold1: #fffbe6;@gold-2: #fff1b8;@gold2: #fff1b8;@gold-3: #ffe58f;@gold3: #ffe58f;@gold-4: #ffd666;@gold4: #ffd666;@gold-5: #ffc53d;@gold5: #ffc53d;@gold-6: #faad14;@gold6: #faad14;@gold-7: #d48806;@gold7: #d48806;@gold-8: #ad6800;@gold8: #ad6800;@gold-9: #874d00;@gold9: #874d00;@gold-10: #613400;@gold10: #613400;@lime-1: #fcffe6;@lime1: #fcffe6;@lime-2: #f4ffb8;@lime2: #f4ffb8;@lime-3: #eaff8f;@lime3: #eaff8f;@lime-4: #d3f261;@lime4: #d3f261;@lime-5: #bae637;@lime5: #bae637;@lime-6: #a0d911;@lime6: #a0d911;@lime-7: #7cb305;@lime7: #7cb305;@lime-8: #5b8c00;@lime8: #5b8c00;@lime-9: #3f6600;@lime9: #3f6600;@lime-10: #254000;@lime10: #254000;@colorText: rgba(0, 0, 0, 0.88);@colorTextSecondary: rgba(0, 0, 0, 0.65);@colorTextTertiary: rgba(0, 0, 0, 0.45);@colorTextQuaternary: rgba(0, 0, 0, 0.25);@colorFill: rgba(0, 0, 0, 0.15);@colorFillSecondary: rgba(0, 0, 0, 0.06);@colorFillTertiary: rgba(0, 0, 0, 0.04);@colorFillQuaternary: rgba(0, 0, 0, 0.02);@colorBgLayout: #f5f5f5;@colorBgContainer: #ffffff;@colorBgElevated: #ffffff;@colorBgSpotlight: rgba(0, 0, 0, 0.85);@colorBorder: #d9d9d9;@colorBorderSecondary: #f0f0f0;@colorPrimaryBg: #ebf3ff;@colorPrimaryBgHover: #c2d9ff;@colorPrimaryBorder: #99bdff;@colorPrimaryBorderHover: #709dff;@colorPrimaryHover: #477bff;@colorPrimaryActive: #0e38cf;@colorPrimaryTextHover: #477bff;@colorPrimaryText: #1e53f5;@colorPrimaryTextActive: #0e38cf;@colorSuccessBg: #f6ffed;@colorSuccessBgHover: #d9f7be;@colorSuccessBorder: #b7eb8f;@colorSuccessBorderHover: #95de64;@colorSuccessHover: #95de64;@colorSuccessActive: #389e0d;@colorSuccessTextHover: #73d13d;@colorSuccessText: #52c41a;@colorSuccessTextActive: #389e0d;@colorErrorBg: #fff2f0;@colorErrorBgHover: #fff1f0;@colorErrorBorder: #ffccc7;@colorErrorBorderHover: #ffa39e;@colorErrorHover: #ff7875;@colorErrorActive: #d9363e;@colorErrorTextHover: #ff7875;@colorErrorText: #ff4d4f;@colorErrorTextActive: #d9363e;@colorWarningBg: #fffbe6;@colorWarningBgHover: #fff1b8;@colorWarningBorder: #ffe58f;@colorWarningBorderHover: #ffd666;@colorWarningHover: #ffd666;@colorWarningActive: #d48806;@colorWarningTextHover: #ffc53d;@colorWarningText: #faad14;@colorWarningTextActive: #d48806;@colorInfoBg: #e6f4ff;@colorInfoBgHover: #bae0ff;@colorInfoBorder: #91caff;@colorInfoBorderHover: #69b1ff;@colorInfoHover: #69b1ff;@colorInfoActive: #0958d9;@colorInfoTextHover: #4096ff;@colorInfoText: #1677ff;@colorInfoTextActive: #0958d9;@colorLinkHover: #69b1ff;@colorLinkActive: #0958d9;@colorBgMask: rgba(0, 0, 0, 0.45);@colorWhite: #fff;@fontSizeSM: 12;@fontSizeLG: 16;@fontSizeXL: 20;@fontSizeHeading1: 38;@fontSizeHeading2: 30;@fontSizeHeading3: 24;@fontSizeHeading4: 20;@fontSizeHeading5: 16;@lineHeight: 1.5714285714285714;@lineHeightLG: 1.5;@lineHeightSM: 1.6666666666666667;@lineHeightHeading1: 1.2105263157894737;@lineHeightHeading2: 1.2666666666666666;@lineHeightHeading3: 1.3333333333333333;@lineHeightHeading4: 1.4;@lineHeightHeading5: 1.5;@sizeXXL: 48;@sizeXL: 32;@sizeLG: 24;@sizeMD: 20;@sizeMS: 16;@size: 16;@sizeSM: 12;@sizeXS: 8;@sizeXXS: 4;@controlHeightSM: 24;@controlHeightXS: 16;@controlHeightLG: 40;@motionDurationFast: 0.1s;@motionDurationMid: 0.2s;@motionDurationSlow: 0.3s;@lineWidthBold: 2;@borderRadiusXS: 2;@borderRadiusSM: 4;@borderRadiusLG: 8;@borderRadiusOuter: 4;"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/deepdataspace/server/static/umi.83ddf177.js b/deepdataspace/server/static/umi.83ddf177.js new file mode 100644 index 0000000..e9380a3 --- /dev/null +++ b/deepdataspace/server/static/umi.83ddf177.js @@ -0,0 +1,518 @@ +!(function(){var mg=Object.defineProperty,pg=Object.defineProperties;var hg=Object.getOwnPropertyDescriptors;var Hf=Object.getOwnPropertySymbols;var yg=Object.prototype.hasOwnProperty,bg=Object.prototype.propertyIsEnumerable;var _f=(Au,Gl,Lt)=>Gl in Au?mg(Au,Gl,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Au[Gl]=Lt,Wa=(Au,Gl)=>{for(var Lt in Gl||(Gl={}))yg.call(Gl,Lt)&&_f(Au,Lt,Gl[Lt]);if(Hf)for(var Lt of Hf(Gl))bg.call(Gl,Lt)&&_f(Au,Lt,Gl[Lt]);return Au},Qs=(Au,Gl)=>pg(Au,hg(Gl));var xf=(Au,Gl,Lt)=>new Promise((If,b)=>{var y=t=>{try{a(Lt.next(t))}catch(o){b(o)}},e=t=>{try{a(Lt.throw(t))}catch(o){b(o)}},a=t=>t.done?If(t.value):Promise.resolve(t.value).then(y,e);a((Lt=Lt.apply(Au,Gl)).next())});(function(){var Au={26134:function(b,y,e){"use strict";e.r(y),e.d(y,{blue:function(){return se},cyan:function(){return ee},geekblue:function(){return Q},generate:function(){return U},gold:function(){return j},gray:function(){return H},green:function(){return _},grey:function(){return O},lime:function(){return ne},magenta:function(){return X},orange:function(){return G},presetDarkPalettes:function(){return Z},presetPalettes:function(){return N},presetPrimaryColors:function(){return T},purple:function(){return C},red:function(){return D},volcano:function(){return L},yellow:function(){return W}});var a=e(20117),t=e(76981),o=2,s=.16,n=.05,d=.05,l=.15,c=5,m=4,g=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function M(k){var A=k.r,Y=k.g,de=k.b,me=(0,a.py)(A,Y,de);return{h:me.h*360,s:me.s,v:me.v}}function h(k){var A=k.r,Y=k.g,de=k.b;return"#".concat((0,a.vq)(A,Y,de,!1))}function S(k,A,Y){var de=Y/100,me={r:(A.r-k.r)*de+k.r,g:(A.g-k.g)*de+k.g,b:(A.b-k.b)*de+k.b};return me}function w(k,A,Y){var de;return Math.round(k.h)>=60&&Math.round(k.h)<=240?de=Y?Math.round(k.h)-o*A:Math.round(k.h)+o*A:de=Y?Math.round(k.h)+o*A:Math.round(k.h)-o*A,de<0?de+=360:de>=360&&(de-=360),de}function x(k,A,Y){if(k.h===0&&k.s===0)return k.s;var de;return Y?de=k.s-s*A:A===m?de=k.s+s:de=k.s+n*A,de>1&&(de=1),Y&&A===c&&de>.1&&(de=.1),de<.06&&(de=.06),Number(de.toFixed(2))}function z(k,A,Y){var de;return Y?de=k.v+d*A:de=k.v-l*A,de>1&&(de=1),Number(de.toFixed(2))}function U(k){for(var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Y=[],de=(0,t.uA)(k),me=c;me>0;me-=1){var ve=M(de),be=h((0,t.uA)({h:w(ve,me,!0),s:x(ve,me,!0),v:z(ve,me,!0)}));Y.push(be)}Y.push(h(de));for(var Pe=1;Pe<=m;Pe+=1){var Je=M(de),qe=h((0,t.uA)({h:w(Je,Pe),s:x(Je,Pe),v:z(Je,Pe)}));Y.push(qe)}return A.theme==="dark"?g.map(function(Xe){var mt=Xe.index,Ct=Xe.opacity,vt=h(S((0,t.uA)(A.backgroundColor||"#141414"),(0,t.uA)(Y[mt]),Ct*100));return vt}):Y}var T={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"},N={},Z={};Object.keys(T).forEach(function(k){N[k]=U(T[k]),N[k].primary=N[k][5],Z[k]=U(T[k],{theme:"dark",backgroundColor:"#141414"}),Z[k].primary=Z[k][5]});var D=N.red,L=N.volcano,j=N.gold,G=N.orange,W=N.yellow,ne=N.lime,_=N.green,ee=N.cyan,se=N.blue,Q=N.geekblue,C=N.purple,X=N.magenta,O=N.grey,H=N.grey},57793:function(b,y,e){"use strict";e.d(y,{E4:function(){return yr},jG:function(){return H},t2:function(){return Ne},fp:function(){return Ae},xy:function(){return dn}});var a=e(29140),t=e(57370);function o(Gt){for(var yn=0,jn,Gn=0,br=Gt.length;br>=4;++Gn,br-=4)jn=Gt.charCodeAt(Gn)&255|(Gt.charCodeAt(++Gn)&255)<<8|(Gt.charCodeAt(++Gn)&255)<<16|(Gt.charCodeAt(++Gn)&255)<<24,jn=(jn&65535)*1540483477+((jn>>>16)*59797<<16),jn^=jn>>>24,yn=(jn&65535)*1540483477+((jn>>>16)*59797<<16)^(yn&65535)*1540483477+((yn>>>16)*59797<<16);switch(br){case 3:yn^=(Gt.charCodeAt(Gn+2)&255)<<16;case 2:yn^=(Gt.charCodeAt(Gn+1)&255)<<8;case 1:yn^=Gt.charCodeAt(Gn)&255,yn=(yn&65535)*1540483477+((yn>>>16)*59797<<16)}return yn^=yn>>>13,yn=(yn&65535)*1540483477+((yn>>>16)*59797<<16),((yn^yn>>>15)>>>0).toString(36)}var s=o,n=e(58757),d=e.t(n,2),l=e(27903),c=e(7637),m=e(60412),g=e(14346),M=e(37734),h="%",S=function(){function Gt(yn){(0,m.Z)(this,Gt),(0,M.Z)(this,"instanceId",void 0),(0,M.Z)(this,"cache",new Map),this.instanceId=yn}return(0,g.Z)(Gt,[{key:"get",value:function(jn){return this.cache.get(jn.join(h))||null}},{key:"update",value:function(jn,Gn){var br=jn.join(h),Hr=this.cache.get(br),ta=Gn(Hr);ta===null?this.cache.delete(br):this.cache.set(br,ta)}}]),Gt}(),w=S,x=null,z="data-token-hash",U="data-css-hash",T="data-cache-path",N="__cssinjs_instance__";function Z(){var Gt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var yn=document.body.querySelectorAll("style[".concat(U,"]"))||[],jn=document.head.firstChild;Array.from(yn).forEach(function(br){br[N]=br[N]||Gt,br[N]===Gt&&document.head.insertBefore(br,jn)});var Gn={};Array.from(document.querySelectorAll("style[".concat(U,"]"))).forEach(function(br){var Hr=br.getAttribute(U);if(Gn[Hr]){if(br[N]===Gt){var ta;(ta=br.parentNode)===null||ta===void 0||ta.removeChild(br)}}else Gn[Hr]=!0})}return new w(Gt)}var D=n.createContext({hashPriority:"low",cache:Z(),defaultCache:!0}),L=function(yn){var jn=yn.children,Gn=_objectWithoutProperties(yn,x),br=React.useContext(D),Hr=useMemo(function(){var ta=_objectSpread({},br);Object.keys(Gn).forEach(function(zr){var va=Gn[zr];Gn[zr]!==void 0&&(ta[zr]=va)});var sr=Gn.cache;return ta.cache=ta.cache||Z(),ta.defaultCache=!sr&&br.defaultCache,ta},[br,Gn],function(ta,sr){return!isEqual(ta[0],sr[0],!0)||!isEqual(ta[1],sr[1],!0)});return React.createElement(D.Provider,{value:Hr},jn)},j=D,G=e(38790),W=e(19075),ne=e(39678),_=e(28314);function ee(Gt,yn){if(Gt.length!==yn.length)return!1;for(var jn=0;jn1&&arguments[1]!==void 0?arguments[1]:!1,ta={map:this.cache};return jn.forEach(function(sr){if(!ta)ta=void 0;else{var zr,va;ta=(zr=ta)===null||zr===void 0||(va=zr.map)===null||va===void 0?void 0:va.get(sr)}}),(Gn=ta)!==null&&Gn!==void 0&&Gn.value&&Hr&&(ta.value[1]=this.cacheCallTimes++),(br=ta)===null||br===void 0?void 0:br.value}},{key:"get",value:function(jn){var Gn;return(Gn=this.internalGet(jn,!0))===null||Gn===void 0?void 0:Gn[0]}},{key:"has",value:function(jn){return!!this.internalGet(jn)}},{key:"set",value:function(jn,Gn){var br=this;if(!this.has(jn)){if(this.size()+1>Gt.MAX_CACHE_SIZE+Gt.MAX_CACHE_OFFSET){var Hr=this.keys.reduce(function(va,Sr){var xa=(0,_.Z)(va,2),Xa=xa[1];return br.internalGet(Sr)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),C+=1}return(0,g.Z)(Gt,[{key:"getDerivativeToken",value:function(jn){return this.derivatives.reduce(function(Gn,br){return br(jn,Gn)},void 0)}}]),Gt}(),O=new se;function H(Gt){var yn=Array.isArray(Gt)?Gt:[Gt];return O.has(yn)||O.set(yn,new X(yn)),O.get(yn)}var k=new WeakMap;function A(Gt){var yn=k.get(Gt)||"";return yn||(Object.keys(Gt).forEach(function(jn){var Gn=Gt[jn];yn+=jn,Gn instanceof X?yn+=Gn.id:Gn&&(0,G.Z)(Gn)==="object"?yn+=A(Gn):yn+=Gn}),k.set(Gt,yn)),yn}function Y(Gt,yn){return s("".concat(yn,"_").concat(A(Gt)))}var de="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),me="_bAmBoO_";function ve(Gt,yn,jn){if((0,W.Z)()){var Gn,br;(0,ne.hq)(Gt,de);var Hr=document.createElement("div");Hr.style.position="fixed",Hr.style.left="0",Hr.style.top="0",yn==null||yn(Hr),document.body.appendChild(Hr);var ta=jn?jn(Hr):(Gn=getComputedStyle(Hr).content)===null||Gn===void 0?void 0:Gn.includes(me);return(br=Hr.parentNode)===null||br===void 0||br.removeChild(Hr),(0,ne.jL)(de),ta}return!1}var be=void 0;function Pe(){return be===void 0&&(be=ve("@layer ".concat(de," { .").concat(de,' { content: "').concat(me,'"!important; } }'),function(Gt){Gt.className=de})),be}var Je=void 0;function qe(){return Je===void 0&&(Je=ve(":where(.".concat(de,') { content: "').concat(me,'"!important; }'),function(Gt){Gt.className=de})),Je}var Xe=void 0;function mt(){return Xe===void 0&&(Xe=ve(".".concat(de," { inset-block: 93px !important; }"),function(Gt){Gt.className=de},function(Gt){return getComputedStyle(Gt).bottom==="93px"})),Xe}var Ct=e(81334),vt=(0,t.Z)({},d),Ht=vt.useInsertionEffect,ke=function(yn,jn,Gn){n.useMemo(yn,Gn),(0,Ct.Z)(function(){return jn(!0)},Gn)},Ve=Ht?function(Gt,yn,jn){return Ht(function(){return Gt(),yn()},jn)}:ke,ot=Ve,Ke=(0,t.Z)({},d),he=Ke.useInsertionEffect,J=function(yn){var jn=[],Gn=!1;function br(Hr){Gn||jn.push(Hr)}return n.useEffect(function(){return Gn=!1,function(){Gn=!0,jn.length&&jn.forEach(function(Hr){return Hr()})}},yn),br},V=function(){return function(yn){yn()}},R=typeof he!="undefined"?J:V,P=R;function B(){return!1}var ge=!1;function ie(){return ge}var pe=B;if(!1)var Oe,xe;function Se(Gt,yn,jn,Gn,br){var Hr=n.useContext(j),ta=Hr.cache,sr=[Gt].concat((0,a.Z)(yn)),zr=sr.join("_"),va=P([zr]),Sr=pe(),xa=function(Va){ta.update(sr,function(xo){var io=xo||[],Ca=(0,_.Z)(io,2),_a=Ca[0],Io=_a===void 0?0:_a,Yo=Ca[1],ni=Yo,co=ni||jn(),Mi=[Io,co];return Va?Va(Mi):Mi})};n.useMemo(function(){xa()},[zr]);var Xa=ta.get(sr),bo=Xa[1];return ot(function(){br==null||br(bo)},function(Oo){return xa(function(Va){var xo=(0,_.Z)(Va,2),io=xo[0],Ca=xo[1];return Oo&&io===0&&(br==null||br(bo)),[io+1,Ca]}),function(){ta.update(sr,function(Va){var xo=Va||[],io=(0,_.Z)(xo,2),Ca=io[0],_a=Ca===void 0?0:Ca,Io=io[1],Yo=_a-1;return Yo===0?(va(function(){return Gn==null?void 0:Gn(Io,!1)}),null):[_a-1,Io]})}},[zr]),bo}var $e={},re="css",oe=new Map;function q(Gt){oe.set(Gt,(oe.get(Gt)||0)+1)}function ue(Gt,yn){if(typeof document!="undefined"){var jn=document.querySelectorAll("style[".concat(z,'="').concat(Gt,'"]'));jn.forEach(function(Gn){if(Gn[N]===yn){var br;(br=Gn.parentNode)===null||br===void 0||br.removeChild(Gn)}})}}var Ee=0;function le(Gt,yn){oe.set(Gt,(oe.get(Gt)||0)-1);var jn=Array.from(oe.keys()),Gn=jn.filter(function(br){var Hr=oe.get(br)||0;return Hr<=0});jn.length-Gn.length>Ee&&Gn.forEach(function(br){ue(br,yn),oe.delete(br)})}var Ne=function(yn,jn,Gn,br){var Hr=Gn.getDerivativeToken(yn),ta=(0,t.Z)((0,t.Z)({},Hr),jn);return br&&(ta=br(ta)),ta};function Ae(Gt,yn){var jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Gn=(0,n.useContext)(j),br=Gn.cache.instanceId,Hr=jn.salt,ta=Hr===void 0?"":Hr,sr=jn.override,zr=sr===void 0?$e:sr,va=jn.formatToken,Sr=jn.getComputedToken,xa=n.useMemo(function(){return Object.assign.apply(Object,[{}].concat((0,a.Z)(yn)))},[yn]),Xa=n.useMemo(function(){return A(xa)},[xa]),bo=n.useMemo(function(){return A(zr)},[zr]),Oo=Se("token",[ta,Gt.id,Xa,bo],function(){var Va=Sr?Sr(xa,zr,Gt):Ne(xa,zr,Gt,va),xo=Y(Va,ta);Va._tokenKey=xo,q(xo);var io="".concat(re,"-").concat(s(xo));return Va._hashId=io,[Va,io]},function(Va){le(Va[0]._tokenKey,br)});return Oo}var we=e(60698),Re={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},st=Re,nt="-ms-",_e="-moz-",We="-webkit-",Be="comm",it="rule",Ge="decl",Ot="@page",$t="@media",wt="@import",Pt="@charset",dt="@viewport",je="@supports",tt="@document",lt="@namespace",bt="@keyframes",It="@font-face",Kt="@counter-style",zt="@font-feature-values",Mt="@layer",Le=Math.abs,Ce=String.fromCharCode,Et=Object.assign;function Tt(Gt,yn){return qt(Gt,0)^45?(((yn<<2^qt(Gt,0))<<2^qt(Gt,1))<<2^qt(Gt,2))<<2^qt(Gt,3):0}function Ye(Gt){return Gt.trim()}function et(Gt,yn){return(Gt=yn.exec(Gt))?Gt[0]:Gt}function _t(Gt,yn,jn){return Gt.replace(yn,jn)}function Ut(Gt,yn){return Gt.indexOf(yn)}function qt(Gt,yn){return Gt.charCodeAt(yn)|0}function un(Gt,yn,jn){return Gt.slice(yn,jn)}function Mn(Gt){return Gt.length}function vn(Gt){return Gt.length}function Xn(Gt,yn){return yn.push(Gt),Gt}function Vn(Gt,yn){return Gt.map(yn).join("")}function or(Gt,yn){return Gt.filter(function(jn){return!et(jn,yn)})}function er(Gt,yn){for(var jn="",Gn=0;Gn0?qt(pt,--En):0,nn--,on===10&&(nn=1,en--),on}function mn(){return on=En2||ct(on)>3?"":" "}function xn(Gt){for(;mn();)switch(ct(on)){case 0:append(Rn(En-1),Gt);break;case 2:append(kt(on),Gt);break;default:append(from(on),Gt)}return Gt}function Nn(Gt,yn){for(;--yn&&mn()&&!(on<48||on>102||on>57&&on<65||on>70&&on<97););return ut(Gt,tr()+(yn<6&&Zn()==32&&mn()==32))}function gr(Gt){for(;mn();)switch(on){case Gt:return En;case 34:case 39:Gt!==34&&Gt!==39&&gr(on);break;case 40:Gt===41&&gr(Gt);break;case 92:mn();break}return En}function nr(Gt,yn){for(;mn()&&Gt+on!==57;)if(Gt+on===84&&Zn()===47)break;return"/*"+ut(yn,En-1)+"*"+Ce(Gt===47?Gt:mn())}function Rn(Gt){for(;!ct(Zn());)mn();return ut(Gt,En)}function kr(Gt){return xt(fr("",null,null,null,[""],Gt=Dt(Gt),0,[0],Gt))}function fr(Gt,yn,jn,Gn,br,Hr,ta,sr,zr){for(var va=0,Sr=0,xa=ta,Xa=0,bo=0,Oo=0,Va=1,xo=1,io=1,Ca=0,_a="",Io=br,Yo=Hr,ni=Gn,co=_a;xo;)switch(Oo=Ca,Ca=mn()){case 40:if(Oo!=108&&qt(co,xa-1)==58){Ut(co+=_t(kt(Ca),"&","&\f"),"&\f")!=-1&&(io=-1);break}case 34:case 39:case 91:co+=kt(Ca);break;case 9:case 10:case 13:case 32:co+=tn(Oo);break;case 92:co+=Nn(tr()-1,7);continue;case 47:switch(Zn()){case 42:case 47:Xn(Pr(nr(mn(),tr()),yn,jn,zr),zr);break;default:co+="/"}break;case 123*Va:sr[va++]=Mn(co)*io;case 125*Va:case 59:case 0:switch(Ca){case 0:case 125:xo=0;case 59+Sr:io==-1&&(co=_t(co,/\f/g,"")),bo>0&&Mn(co)-xa&&Xn(bo>32?Bn(co+";",Gn,jn,xa-1,zr):Bn(_t(co," ","")+";",Gn,jn,xa-2,zr),zr);break;case 59:co+=";";default:if(Xn(ni=ua(co,yn,jn,va,Sr,br,sr,_a,Io=[],Yo=[],xa,Hr),Hr),Ca===123)if(Sr===0)fr(co,yn,ni,ni,Io,Hr,xa,sr,Yo);else switch(Xa===99&&qt(co,3)===110?100:Xa){case 100:case 108:case 109:case 115:fr(Gt,ni,ni,Gn&&Xn(ua(Gt,ni,ni,0,0,br,sr,_a,br,Io=[],xa,Yo),Yo),br,Yo,xa,sr,Gn?Io:Yo);break;default:fr(co,ni,ni,ni,[""],Yo,0,sr,Yo)}}va=Sr=bo=0,Va=io=1,_a=co="",xa=ta;break;case 58:xa=1+Mn(co),bo=Oo;default:if(Va<1){if(Ca==123)--Va;else if(Ca==125&&Va++==0&&pn()==125)continue}switch(co+=Ce(Ca),Ca*Va){case 38:io=Sr>0?1:(co+="\f",-1);break;case 44:sr[va++]=(Mn(co)-1)*io,io=1;break;case 64:Zn()===45&&(co+=kt(mn())),Xa=Zn(),Sr=xa=Mn(_a=co+=Rn(tr())),Ca++;break;case 45:Oo===45&&Mn(co)==2&&(Va=0)}}return Hr}function ua(Gt,yn,jn,Gn,br,Hr,ta,sr,zr,va,Sr,xa){for(var Xa=br-1,bo=br===0?Hr:[""],Oo=vn(bo),Va=0,xo=0,io=0;Va0?bo[Ca]+" "+_a:_t(_a,/&\f/g,bo[Ca])))&&(zr[io++]=Io);return gt(Gt,yn,jn,br===0?it:sr,zr,va,Sr,xa)}function Pr(Gt,yn,jn,Gn){return gt(Gt,yn,jn,Be,Ce(Jt()),un(Gt,2,-2),0,Gn)}function Bn(Gt,yn,jn,Gn,br){return gt(Gt,yn,jn,Ge,un(Gt,0,Gn),un(Gt,Gn+1,-1),Gn,br)}function Cn(Gt,yn){var jn=yn.path,Gn=yn.parentSelectors;devWarning(!1,"[Ant Design CSS-in-JS] ".concat(jn?"Error in ".concat(jn,": "):"").concat(Gt).concat(Gn.length?" Selector: ".concat(Gn.join(" | ")):""))}var wn=function(yn,jn,Gn){if(yn==="content"){var br=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Hr=["normal","none","initial","inherit","unset"];(typeof jn!="string"||Hr.indexOf(jn)===-1&&!br.test(jn)&&(jn.charAt(0)!==jn.charAt(jn.length-1)||jn.charAt(0)!=='"'&&jn.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(jn,"\"'`."),Gn)}},ar=null,mr=function(yn,jn,Gn){yn==="animation"&&Gn.hashId&&jn!=="none"&&lintWarning("You seem to be using hashed animation '".concat(jn,"', in which case 'animationName' with Keyframe as value is recommended."),Gn)},Qr=null;function qr(Gt){var yn,jn=((yn=Gt.match(/:not\(([^)]*)\)/))===null||yn===void 0?void 0:yn[1])||"",Gn=jn.split(/(\[[^[]*])|(?=[.#])/).filter(function(br){return br});return Gn.length>1}function ya(Gt){return Gt.parentSelectors.reduce(function(yn,jn){return yn?jn.includes("&")?jn.replace(/&/g,yn):"".concat(yn," ").concat(jn):jn},"")}var dr=function(yn,jn,Gn){var br=ya(Gn),Hr=br.match(/:not\([^)]*\)/g)||[];Hr.length>0&&Hr.some(qr)&&lintWarning("Concat ':not' selector not support in legacy browsers.",Gn)},Br=null,Ea=function(yn,jn,Gn){switch(yn){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":lintWarning("You seem to be using non-logical property '".concat(yn,"' 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."),Gn);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof jn=="string"){var br=jn.split(" ").map(function(sr){return sr.trim()});br.length===4&&br[1]!==br[3]&&lintWarning("You seem to be using '".concat(yn,"' property with different left ").concat(yn," and right ").concat(yn,", 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."),Gn)}return;case"clear":case"textAlign":(jn==="left"||jn==="right")&&lintWarning("You seem to be using non-logical value '".concat(jn,"' of ").concat(yn,", 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."),Gn);return;case"borderRadius":if(typeof jn=="string"){var Hr=jn.split("/").map(function(sr){return sr.trim()}),ta=Hr.reduce(function(sr,zr){if(sr)return sr;var va=zr.split(" ").map(function(Sr){return Sr.trim()});return va.length>=2&&va[0]!==va[1]||va.length===3&&va[1]!==va[2]||va.length===4&&va[2]!==va[3]?!0:sr},!1);ta&&lintWarning("You seem to be using non-logical value '".concat(jn,"' of ").concat(yn,", 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."),Gn)}return;default:}},ca=null,Kn=function(yn,jn,Gn){Gn.parentSelectors.some(function(br){var Hr=br.split(",");return Hr.some(function(ta){return ta.split("&").length>2})})&&lintWarning("Should not use more than one `&` in a selector.",Gn)},zn=null,vr="data-ant-cssinjs-cache-path",ra="_FILE_STYLE__";function xr(Gt){return Object.keys(Gt).map(function(yn){var jn=Gt[yn];return"".concat(yn,":").concat(jn)}).join(";")}var jt,an=!0;function hn(Gt){var yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;jt=Gt,an=yn}function ao(){if(!jt&&(jt={},(0,W.Z)())){var Gt=document.createElement("div");Gt.className=vr,Gt.style.position="fixed",Gt.style.visibility="hidden",Gt.style.top="-9999px",document.body.appendChild(Gt);var yn=getComputedStyle(Gt).content||"";yn=yn.replace(/^"/,"").replace(/"$/,""),yn.split(";").forEach(function(br){var Hr=br.split(":"),ta=(0,_.Z)(Hr,2),sr=ta[0],zr=ta[1];jt[sr]=zr});var jn=document.querySelector("style[".concat(vr,"]"));if(jn){var Gn;an=!1,(Gn=jn.parentNode)===null||Gn===void 0||Gn.removeChild(jn)}document.body.removeChild(Gt)}}function Mo(Gt){return ao(),!!jt[Gt]}function Ua(Gt){var yn=jt[Gt],jn=null;if(yn&&(0,W.Z)())if(an)jn=ra;else{var Gn=document.querySelector("style[".concat(U,'="').concat(jt[Gt],'"]'));Gn?jn=Gn.innerHTML:delete jt[Gt]}return[jn,yn]}var Ha=(0,W.Z)(),eo="_skip_check_",jo="_multi_value_";function Wo(Gt){var yn=er(kr(Gt),Wt);return yn.replace(/\{%%%\:[^;];}/g,";")}function Eo(Gt){return(0,G.Z)(Gt)==="object"&&Gt&&(eo in Gt||jo in Gt)}function ft(Gt,yn,jn){if(!yn)return Gt;var Gn=".".concat(yn),br=jn==="low"?":where(".concat(Gn,")"):Gn,Hr=Gt.split(",").map(function(ta){var sr,zr=ta.trim().split(/\s+/),va=zr[0]||"",Sr=((sr=va.match(/^\w+/))===null||sr===void 0?void 0:sr[0])||"";return va="".concat(Sr).concat(br).concat(va.slice(Sr.length)),[va].concat((0,a.Z)(zr.slice(1))).join(" ")});return Hr.join(",")}var Nt=function Gt(yn){var jn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Gn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},br=Gn.root,Hr=Gn.injectHash,ta=Gn.parentSelectors,sr=jn.hashId,zr=jn.layer,va=jn.path,Sr=jn.hashPriority,xa=jn.transformers,Xa=xa===void 0?[]:xa,bo=jn.linters,Oo=bo===void 0?[]:bo,Va="",xo={};function io(ni){var co=ni.getName(sr);if(!xo[co]){var Mi=Gt(ni.style,jn,{root:!1,parentSelectors:ta}),ai=(0,_.Z)(Mi,1),Po=ai[0];xo[co]="@keyframes ".concat(ni.getName(sr)).concat(Po)}}function Ca(ni){var co=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return ni.forEach(function(Mi){Array.isArray(Mi)?Ca(Mi,co):Mi&&co.push(Mi)}),co}var _a=Ca(Array.isArray(yn)?yn:[yn]);if(_a.forEach(function(ni){var co=typeof ni=="string"&&!br?{}:ni;if(typeof co=="string")Va+="".concat(co,` +`);else if(co._keyframe)io(co);else{var Mi=Xa.reduce(function(ai,Po){var li;return(Po==null||(li=Po.visit)===null||li===void 0?void 0:li.call(Po,ai))||ai},co);Object.keys(Mi).forEach(function(ai){var Po=Mi[ai];if((0,G.Z)(Po)==="object"&&Po&&(ai!=="animationName"||!Po._keyframe)&&!Eo(Po)){var li=!1,Pi=ai.trim(),hi=!1;(br||Hr)&&sr?Pi.startsWith("@")?li=!0:Pi=ft(ai,sr,Sr):br&&!sr&&(Pi==="&"||Pi==="")&&(Pi="",hi=!0);var yi=Gt(Po,jn,{root:hi,injectHash:li,parentSelectors:[].concat((0,a.Z)(ta),[Pi])}),Zi=(0,_.Z)(yi,2),ji=Zi[0],oo=Zi[1];xo=(0,t.Z)((0,t.Z)({},xo),oo),Va+="".concat(Pi).concat(ji)}else{let oi=function(No,zo){var xi=No.replace(/[A-Z]/g,function(ki){return"-".concat(ki.toLowerCase())}),Ui=zo;!st[No]&&typeof Ui=="number"&&Ui!==0&&(Ui="".concat(Ui,"px")),No==="animationName"&&zo!==null&&zo!==void 0&&zo._keyframe&&(io(zo),Ui=zo.getName(sr)),Va+="".concat(xi,":").concat(Ui,";")};var Ja,ri=(Ja=Po==null?void 0:Po.value)!==null&&Ja!==void 0?Ja:Po;(0,G.Z)(Po)==="object"&&Po!==null&&Po!==void 0&&Po[jo]&&Array.isArray(ri)?ri.forEach(function(No){oi(ai,No)}):oi(ai,ri)}})}}),!br)Va="{".concat(Va,"}");else if(zr&&Pe()){var Io=zr.split(","),Yo=Io[Io.length-1].trim();Va="@layer ".concat(Yo," {").concat(Va,"}"),Io.length>1&&(Va="@layer ".concat(zr,"{%%%:%}").concat(Va))}return[Va,xo]};function Ie(Gt,yn){return s("".concat(Gt.join("%")).concat(yn))}function cn(){return null}function dn(Gt,yn){var jn=Gt.token,Gn=Gt.path,br=Gt.hashId,Hr=Gt.layer,ta=Gt.nonce,sr=Gt.clientOnly,zr=Gt.order,va=zr===void 0?0:zr,Sr=n.useContext(j),xa=Sr.autoClear,Xa=Sr.mock,bo=Sr.defaultCache,Oo=Sr.hashPriority,Va=Sr.container,xo=Sr.ssrInline,io=Sr.transformers,Ca=Sr.linters,_a=Sr.cache,Io=jn._tokenKey,Yo=[Io].concat((0,a.Z)(Gn)),ni=Ha,co=Se("style",Yo,function(){var Pi=Yo.join("|");if(Mo(Pi)){var hi=Ua(Pi),yi=(0,_.Z)(hi,2),Zi=yi[0],ji=yi[1];if(Zi)return[Zi,Io,ji,{},sr,va]}var oo=yn(),Ja=Nt(oo,{hashId:br,hashPriority:Oo,layer:Hr,path:Gn.join("-"),transformers:io,linters:Ca}),ri=(0,_.Z)(Ja,2),oi=ri[0],No=ri[1],zo=Wo(oi),xi=Ie(Yo,zo);return[zo,Io,xi,No,sr,va]},function(Pi,hi){var yi=(0,_.Z)(Pi,3),Zi=yi[2];(hi||xa)&&Ha&&(0,ne.jL)(Zi,{mark:U})},function(Pi){var hi=(0,_.Z)(Pi,4),yi=hi[0],Zi=hi[1],ji=hi[2],oo=hi[3];if(ni&&yi!==ra){var Ja={mark:U,prepend:"queue",attachTo:Va,priority:va},ri=typeof ta=="function"?ta():ta;ri&&(Ja.csp={nonce:ri});var oi=(0,ne.hq)(yi,ji,Ja);oi[N]=_a.instanceId,oi.setAttribute(z,Io),Object.keys(oo).forEach(function(No){(0,ne.hq)(Wo(oo[No]),"_effect-".concat(No),Ja)})}}),Mi=(0,_.Z)(co,3),ai=Mi[0],Po=Mi[1],li=Mi[2];return function(Pi){var hi;if(!xo||ni||!bo)hi=n.createElement(cn,null);else{var yi;hi=n.createElement("style",(0,we.Z)({},(yi={},(0,M.Z)(yi,z,Po),(0,M.Z)(yi,U,li),yi),{dangerouslySetInnerHTML:{__html:ai}}))}return n.createElement(n.Fragment,null,hi,Pi)}}function _n(Gt){var yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,jn="style%",Gn=Array.from(Gt.cache.keys()).filter(function(va){return va.startsWith(jn)}),br={},Hr={},ta="";function sr(va,Sr,xa){var Xa,bo=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Oo=_objectSpread(_objectSpread({},bo),{},(Xa={},_defineProperty(Xa,ATTR_TOKEN,Sr),_defineProperty(Xa,ATTR_MARK,xa),Xa)),Va=Object.keys(Oo).map(function(xo){var io=Oo[xo];return io?"".concat(xo,'="').concat(io,'"'):null}).filter(function(xo){return xo}).join(" ");return yn?va:"")}var zr=Gn.map(function(va){var Sr=va.slice(jn.length).replace(/%/g,"|"),xa=_slicedToArray(Gt.cache.get(va)[1],6),Xa=xa[0],bo=xa[1],Oo=xa[2],Va=xa[3],xo=xa[4],io=xa[5];if(xo)return null;var Ca={"data-rc-order":"prependQueue","data-rc-priority":"".concat(io)},_a=sr(Xa,bo,Oo,Ca);Hr[Sr]=Oo,Va&&Object.keys(Va).forEach(function(Yo){br[Yo]||(br[Yo]=!0,_a+=sr(Wo(Va[Yo]),bo,"_effect-".concat(Yo),Ca))});var Io=[io,_a];return Io}).filter(function(va){return va});return zr.sort(function(va,Sr){return va[0]-Sr[0]}).forEach(function(va){var Sr=_slicedToArray(va,2),xa=Sr[1];ta+=xa}),ta+=sr(".".concat(ATTR_CACHE_MAP,'{content:"').concat(serializeCacheMap(Hr),'";}'),void 0,void 0,_defineProperty({},ATTR_CACHE_MAP,ATTR_CACHE_MAP)),ta}var Tn=function(){function Gt(yn,jn){(0,m.Z)(this,Gt),(0,M.Z)(this,"name",void 0),(0,M.Z)(this,"style",void 0),(0,M.Z)(this,"_keyframe",!0),this.name=yn,this.style=jn}return(0,g.Z)(Gt,[{key:"getName",value:function(){var jn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return jn?"".concat(jn,"-").concat(this.name):this.name}}]),Gt}(),yr=Tn;function Wr(Gt){if(typeof Gt=="number")return[[Gt],!1];var yn=String(Gt).trim(),jn=yn.match(/(.*)(!important)/),Gn=(jn?jn[1]:yn).trim().split(/\s+/),br="",Hr=0;return[Gn.reduce(function(ta,sr){return sr.includes("(")?(br+=sr,Hr+=sr.split("(").length-1):sr.includes(")")?(br+=sr,Hr-=sr.split(")").length-1,Hr===0&&(ta.push(br),br="")):Hr>0?br+=sr:ta.push(sr),ta},[]),!!jn]}function Da(Gt){return Gt.notSplit=!0,Gt}var la={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:Da(["borderTop","borderBottom"]),borderBlockStart:Da(["borderTop"]),borderBlockEnd:Da(["borderBottom"]),borderInline:Da(["borderLeft","borderRight"]),borderInlineStart:Da(["borderLeft"]),borderInlineEnd:Da(["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 ea(Gt,yn){var jn=Gt;return yn&&(jn="".concat(jn," !important")),{_skip_check_:!0,value:jn}}var oa={visit:function(yn){var jn={};return Object.keys(yn).forEach(function(Gn){var br=yn[Gn],Hr=la[Gn];if(Hr&&(typeof br=="number"||typeof br=="string")){var ta=Wr(br),sr=(0,_.Z)(ta,2),zr=sr[0],va=sr[1];Hr.length&&Hr.notSplit?Hr.forEach(function(Sr){jn[Sr]=ea(br,va)}):Hr.length===1?jn[Hr[0]]=ea(br,va):Hr.length===2?Hr.forEach(function(Sr,xa){var Xa;jn[Sr]=ea((Xa=zr[xa])!==null&&Xa!==void 0?Xa:zr[0],va)}):Hr.length===4?Hr.forEach(function(Sr,xa){var Xa,bo;jn[Sr]=ea((Xa=(bo=zr[xa])!==null&&bo!==void 0?bo:zr[xa-2])!==null&&Xa!==void 0?Xa:zr[0],va)}):jn[Gn]=br}else jn[Gn]=br}),jn}},Ir=null,$r=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function pa(Gt,yn){var jn=Math.pow(10,yn+1),Gn=Math.floor(Gt*jn);return Math.round(Gn/10)*10/jn}var La=function(){var yn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},jn=yn.rootValue,Gn=jn===void 0?16:jn,br=yn.precision,Hr=br===void 0?5:br,ta=yn.mediaQuery,sr=ta===void 0?!1:ta,zr=function(xa,Xa){if(!Xa)return xa;var bo=parseFloat(Xa);if(bo<=1)return xa;var Oo=pa(bo/Gn,Hr);return"".concat(Oo,"rem")},va=function(xa){var Xa=_objectSpread({},xa);return Object.entries(xa).forEach(function(bo){var Oo=_slicedToArray(bo,2),Va=Oo[0],xo=Oo[1];if(typeof xo=="string"&&xo.includes("px")){var io=xo.replace($r,zr);Xa[Va]=io}!unitless[Va]&&typeof xo=="number"&&xo!==0&&(Xa[Va]="".concat(xo,"px").replace($r,zr));var Ca=Va.trim();if(Ca.startsWith("@")&&Ca.includes("px")&&sr){var _a=Va.replace($r,zr);Xa[_a]=Xa[Va],delete Xa[Va]}}),Xa};return{visit:va}},lo=null,Qa={supportModernCSS:function(){return qe()&&mt()}}},17202:function(b,y,e){"use strict";e.d(y,{Z:function(){return L}});var a=e(60698),t=e(28314),o=e(37734),s=e(47075),n=e(58757),d=e(87608),l=e.n(d),c=e(26134),m=e(71048),g=e(57370),M=e(17332),h=["icon","className","onClick","style","primaryColor","secondaryColor"],S={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function w(j){var G=j.primaryColor,W=j.secondaryColor;S.primaryColor=G,S.secondaryColor=W||(0,M.pw)(G),S.calculated=!!W}function x(){return(0,g.Z)({},S)}var z=function(G){var W=G.icon,ne=G.className,_=G.onClick,ee=G.style,se=G.primaryColor,Q=G.secondaryColor,C=(0,s.Z)(G,h),X=n.useRef(),O=S;if(se&&(O={primaryColor:se,secondaryColor:Q||(0,M.pw)(se)}),(0,M.C3)(X),(0,M.Kp)((0,M.r)(W),"icon should be icon definiton, but got ".concat(W)),!(0,M.r)(W))return null;var H=W;return H&&typeof H.icon=="function"&&(H=(0,g.Z)((0,g.Z)({},H),{},{icon:H.icon(O.primaryColor,O.secondaryColor)})),(0,M.R_)(H.icon,"svg-".concat(H.name),(0,g.Z)((0,g.Z)({className:ne,onClick:_,style:ee,"data-icon":H.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},C),{},{ref:X}))};z.displayName="IconReact",z.getTwoToneColors=x,z.setTwoToneColors=w;var U=z;function T(j){var G=(0,M.H9)(j),W=(0,t.Z)(G,2),ne=W[0],_=W[1];return U.setTwoToneColors({primaryColor:ne,secondaryColor:_})}function N(){var j=U.getTwoToneColors();return j.calculated?[j.primaryColor,j.secondaryColor]:j.primaryColor}var Z=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];T(c.blue.primary);var D=n.forwardRef(function(j,G){var W,ne=j.className,_=j.icon,ee=j.spin,se=j.rotate,Q=j.tabIndex,C=j.onClick,X=j.twoToneColor,O=(0,s.Z)(j,Z),H=n.useContext(m.Z),k=H.prefixCls,A=k===void 0?"anticon":k,Y=H.rootClassName,de=l()(Y,A,(W={},(0,o.Z)(W,"".concat(A,"-").concat(_.name),!!_.name),(0,o.Z)(W,"".concat(A,"-spin"),!!ee||_.name==="loading"),W),ne),me=Q;me===void 0&&C&&(me=-1);var ve=se?{msTransform:"rotate(".concat(se,"deg)"),transform:"rotate(".concat(se,"deg)")}:void 0,be=(0,M.H9)(X),Pe=(0,t.Z)(be,2),Je=Pe[0],qe=Pe[1];return n.createElement("span",(0,a.Z)({role:"img","aria-label":_.name},O,{ref:G,tabIndex:me,onClick:C,className:de}),n.createElement(U,{icon:_,primaryColor:Je,secondaryColor:qe,style:ve}))});D.displayName="AntdIcon",D.getTwoToneColor=N,D.setTwoToneColor=T;var L=D},71048:function(b,y,e){"use strict";var a=e(58757),t=(0,a.createContext)({});y.Z=t},39875:function(b,y,e){"use strict";var a=e(60698),t=e(57370),o=e(37734),s=e(47075),n=e(58757),d=e(87608),l=e.n(d),c=e(21319),m=e(71048),g=e(17332),M=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],h=n.forwardRef(function(S,w){var x=S.className,z=S.component,U=S.viewBox,T=S.spin,N=S.rotate,Z=S.tabIndex,D=S.onClick,L=S.children,j=(0,s.Z)(S,M),G=n.useRef(),W=(0,c.x1)(G,w);(0,g.Kp)(!!(z||L),"Should have `component` prop or `children`."),(0,g.C3)(G);var ne=n.useContext(m.Z),_=ne.prefixCls,ee=_===void 0?"anticon":_,se=ne.rootClassName,Q=l()(se,ee,x),C=l()((0,o.Z)({},"".concat(ee,"-spin"),!!T)),X=N?{msTransform:"rotate(".concat(N,"deg)"),transform:"rotate(".concat(N,"deg)")}:void 0,O=(0,t.Z)((0,t.Z)({},g.vD),{},{className:C,style:X,viewBox:U});U||delete O.viewBox;var H=function(){return z?n.createElement(z,O,L):L?((0,g.Kp)(!!U||n.Children.count(L)===1&&n.isValidElement(L)&&n.Children.only(L).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),n.createElement("svg",(0,a.Z)({},O,{viewBox:U}),L)):null},k=Z;return k===void 0&&D&&(k=-1),n.createElement("span",(0,a.Z)({role:"img"},j,{ref:W,tabIndex:k,onClick:D,className:Q}),H())});h.displayName="AntdIcon",y.Z=h},92183:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},85678:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},35725:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},79999:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},52495:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},23605:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},10130:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},18974:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},69831:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},83720:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},56019:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},33064:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},99142:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},25755:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},12673:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},22283:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},91169:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},99534:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},39800:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},23926:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},98030:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},2528:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},17332:function(b,y,e){"use strict";e.d(y,{C3:function(){return N},H9:function(){return z},Kp:function(){return M},R_:function(){return w},pw:function(){return x},r:function(){return h},vD:function(){return U}});var a=e(57370),t=e(38790),o=e(26134),s=e(61012),n=e.n(s),d=e(39678),l=e(4171),c=e(75556),m=e(58757),g=e(71048);function M(Z,D){(0,c.ZP)(Z,"[@ant-design/icons] ".concat(D))}function h(Z){return(0,t.Z)(Z)==="object"&&typeof Z.name=="string"&&typeof Z.theme=="string"&&((0,t.Z)(Z.icon)==="object"||typeof Z.icon=="function")}function S(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(Z).reduce(function(D,L){var j=Z[L];switch(L){case"class":D.className=j,delete D.class;break;default:delete D[L],D[n()(L)]=j}return D},{})}function w(Z,D,L){return L?m.createElement(Z.tag,(0,a.Z)((0,a.Z)({key:D},S(Z.attrs)),L),(Z.children||[]).map(function(j,G){return w(j,"".concat(D,"-").concat(Z.tag,"-").concat(G))})):m.createElement(Z.tag,(0,a.Z)({key:D},S(Z.attrs)),(Z.children||[]).map(function(j,G){return w(j,"".concat(D,"-").concat(Z.tag,"-").concat(G))}))}function x(Z){return(0,o.generate)(Z)[0]}function z(Z){return Z?Array.isArray(Z)?Z:[Z]:[]}var U={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},T=` +.anticon { + display: inline-block; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.anticon > * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`,N=function(D){var L=(0,m.useContext)(g.Z),j=L.csp,G=L.prefixCls,W=T;G&&(W=W.replace(/anticon/g,G)),(0,m.useEffect)(function(){var ne=D.current,_=(0,l.A)(ne);(0,d.hq)(W,"@ant-design-icons",{prepend:!0,csp:j,attachTo:_})},[])}},8295:function(b,y,e){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"default",{enumerable:!0,get:function(){return o}});var a=e(58757),t=(0,a.createContext)({}),o=t},38875:function(b,y,e){"use strict";var a;a={value:!0},Object.defineProperty(y,"Z",{enumerable:!0,get:function(){return U}});var t=g(e(58757)),o=c(e(87608)),s=e(25697),n=c(e(8295)),d=e(96757);function l(T,N,Z){return N in T?Object.defineProperty(T,N,{value:Z,enumerable:!0,configurable:!0,writable:!0}):T[N]=Z,T}function c(T){return T&&T.__esModule?T:{default:T}}function m(T){if(typeof WeakMap!="function")return null;var N=new WeakMap,Z=new WeakMap;return(m=function(D){return D?Z:N})(T)}function g(T,N){if(!N&&T&&T.__esModule)return T;if(T===null||typeof T!="object"&&typeof T!="function")return{default:T};var Z=m(N);if(Z&&Z.has(T))return Z.get(T);var D={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in T)if(j!=="default"&&Object.prototype.hasOwnProperty.call(T,j)){var G=L?Object.getOwnPropertyDescriptor(T,j):null;G&&(G.get||G.set)?Object.defineProperty(D,j,G):D[j]=T[j]}return D.default=T,Z&&Z.set(T,D),D}function M(T){for(var N=1;N=0)&&Object.prototype.propertyIsEnumerable.call(T,D)&&(Z[D]=T[D])}return Z}function x(T,N){if(T==null)return{};var Z={},D=Object.keys(T),L,j;for(j=0;j=0)&&(Z[L]=T[L]);return Z}var z=t.forwardRef(function(T,N){var Z=T.className,D=T.component,L=T.viewBox,j=T.spin,G=T.rotate,W=T.tabIndex,ne=T.onClick,_=T.children,ee=w(T,["className","component","viewBox","spin","rotate","tabIndex","onClick","children"]),se=t.useRef(),Q=(0,s.useComposeRef)(se,N);(0,d.warning)(!!(D||_),"Should have `component` prop or `children`."),(0,d.useInsertStyles)(se);var C=t.useContext(n.default),X=C.prefixCls,O=X===void 0?"anticon":X,H=C.rootClassName,k=(0,o.default)(H,O,Z),A=(0,o.default)(l({},"".concat(O,"-spin"),!!j)),Y=G?{msTransform:"rotate(".concat(G,"deg)"),transform:"rotate(".concat(G,"deg)")}:void 0,de=S(M({},d.svgBaseProps),{className:A,style:Y,viewBox:L});L||delete de.viewBox;var me=function(){return D?t.createElement(D,de,_):_?((0,d.warning)(!!L||t.Children.count(_)===1&&t.isValidElement(_)&&t.Children.only(_).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),t.createElement("svg",S(M({},de),{viewBox:L}),_)):null},ve=W;return ve===void 0&&ne&&(ve=-1),t.createElement("span",S(M({role:"img"},ee),{ref:Q,tabIndex:ve,onClick:ne,className:k}),me())});z.displayName="AntdIcon";var U=z},96757:function(b,y,e){"use strict";Object.defineProperty(y,"__esModule",{value:!0});function a(j,G){for(var W in G)Object.defineProperty(j,W,{enumerable:!0,get:G[W]})}a(y,{warning:function(){return w},isIconDefinition:function(){return x},normalizeAttrs:function(){return z},generate:function(){return U},getSecondaryColor:function(){return T},normalizeTwoToneColors:function(){return N},svgBaseProps:function(){return Z},iconStyles:function(){return D},useInsertStyles:function(){return L}});var t=e(26134),o=g(e(61012)),s=e(82912),n=e(13393),d=g(e(66780)),l=h(e(58757)),c=g(e(8295));function m(j,G,W){return G in j?Object.defineProperty(j,G,{value:W,enumerable:!0,configurable:!0,writable:!0}):j[G]=W,j}function g(j){return j&&j.__esModule?j:{default:j}}function M(j){if(typeof WeakMap!="function")return null;var G=new WeakMap,W=new WeakMap;return(M=function(ne){return ne?W:G})(j)}function h(j,G){if(!G&&j&&j.__esModule)return j;if(j===null||typeof j!="object"&&typeof j!="function")return{default:j};var W=M(G);if(W&&W.has(j))return W.get(j);var ne={},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ee in j)if(ee!=="default"&&Object.prototype.hasOwnProperty.call(j,ee)){var se=_?Object.getOwnPropertyDescriptor(j,ee):null;se&&(se.get||se.set)?Object.defineProperty(ne,ee,se):ne[ee]=j[ee]}return ne.default=j,W&&W.set(j,ne),ne}function S(j){for(var G=1;G0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(j).reduce(function(G,W){var ne=j[W];switch(W){case"class":G.className=ne,delete G.class;break;default:delete G[W],G[(0,o.default)(W)]=ne}return G},{})}function U(j,G,W){return W?l.default.createElement(j.tag,S({key:G},z(j.attrs),W),(j.children||[]).map(function(ne,_){return U(ne,"".concat(G,"-").concat(j.tag,"-").concat(_))})):l.default.createElement(j.tag,S({key:G},z(j.attrs)),(j.children||[]).map(function(ne,_){return U(ne,"".concat(G,"-").concat(j.tag,"-").concat(_))}))}function T(j){return(0,t.generate)(j)[0]}function N(j){return j?Array.isArray(j)?j:[j]:[]}var Z={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},D=` +.anticon { + display: inline-block; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.anticon > * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`,L=function(j){var G=(0,l.useContext)(c.default),W=G.csp,ne=G.prefixCls,_=D;ne&&(_=_.replace(/anticon/g,ne)),(0,l.useEffect)(function(){var ee=j.current,se=(0,n.getShadowRoot)(ee);(0,s.updateCSS)(_,"@ant-design-icons",{prepend:!0,csp:W,attachTo:se})},[])}},20117:function(b,y,e){"use strict";e.d(y,{T6:function(){return h},VD:function(){return S},WE:function(){return l},Yt:function(){return w},lC:function(){return o},py:function(){return d},rW:function(){return t},s:function(){return m},ve:function(){return n},vq:function(){return c}});var a=e(33146);function t(x,z,U){return{r:(0,a.sh)(x,255)*255,g:(0,a.sh)(z,255)*255,b:(0,a.sh)(U,255)*255}}function o(x,z,U){x=(0,a.sh)(x,255),z=(0,a.sh)(z,255),U=(0,a.sh)(U,255);var T=Math.max(x,z,U),N=Math.min(x,z,U),Z=0,D=0,L=(T+N)/2;if(T===N)D=0,Z=0;else{var j=T-N;switch(D=L>.5?j/(2-T-N):j/(T+N),T){case x:Z=(z-U)/j+(z1&&(U-=1),U<.16666666666666666?x+(z-x)*(6*U):U<.5?z:U<.6666666666666666?x+(z-x)*(.6666666666666666-U)*6:x}function n(x,z,U){var T,N,Z;if(x=(0,a.sh)(x,360),z=(0,a.sh)(z,100),U=(0,a.sh)(U,100),z===0)N=U,Z=U,T=U;else{var D=U<.5?U*(1+z):U+z-U*z,L=2*U-D;T=s(L,D,x+.3333333333333333),N=s(L,D,x),Z=s(L,D,x-.3333333333333333)}return{r:T*255,g:N*255,b:Z*255}}function d(x,z,U){x=(0,a.sh)(x,255),z=(0,a.sh)(z,255),U=(0,a.sh)(U,255);var T=Math.max(x,z,U),N=Math.min(x,z,U),Z=0,D=T,L=T-N,j=T===0?0:L/T;if(T===N)Z=0;else{switch(T){case x:Z=(z-U)/L+(z>16,g:(x&65280)>>8,b:x&255}}},53099:function(b,y,e){"use strict";e.d(y,{R:function(){return a}});var a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},76981:function(b,y,e){"use strict";e.d(y,{uA:function(){return s}});var a=e(20117),t=e(53099),o=e(33146);function s(S){var w={r:0,g:0,b:0},x=1,z=null,U=null,T=null,N=!1,Z=!1;return typeof S=="string"&&(S=M(S)),typeof S=="object"&&(h(S.r)&&h(S.g)&&h(S.b)?(w=(0,a.rW)(S.r,S.g,S.b),N=!0,Z=String(S.r).substr(-1)==="%"?"prgb":"rgb"):h(S.h)&&h(S.s)&&h(S.v)?(z=(0,o.JX)(S.s),U=(0,o.JX)(S.v),w=(0,a.WE)(S.h,z,U),N=!0,Z="hsv"):h(S.h)&&h(S.s)&&h(S.l)&&(z=(0,o.JX)(S.s),T=(0,o.JX)(S.l),w=(0,a.ve)(S.h,z,T),N=!0,Z="hsl"),Object.prototype.hasOwnProperty.call(S,"a")&&(x=S.a)),x=(0,o.Yq)(x),{ok:N,format:S.format||Z,r:Math.min(255,Math.max(w.r,0)),g:Math.min(255,Math.max(w.g,0)),b:Math.min(255,Math.max(w.b,0)),a:x}}var n="[-\\+]?\\d+%?",d="[-\\+]?\\d*\\.\\d+%?",l="(?:".concat(d,")|(?:").concat(n,")"),c="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),m="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),g={CSS_UNIT:new RegExp(l),rgb:new RegExp("rgb"+c),rgba:new RegExp("rgba"+m),hsl:new RegExp("hsl"+c),hsla:new RegExp("hsla"+m),hsv:new RegExp("hsv"+c),hsva:new RegExp("hsva"+m),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function M(S){if(S=S.trim().toLowerCase(),S.length===0)return!1;var w=!1;if(t.R[S])S=t.R[S],w=!0;else if(S==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var x=g.rgb.exec(S);return x?{r:x[1],g:x[2],b:x[3]}:(x=g.rgba.exec(S),x?{r:x[1],g:x[2],b:x[3],a:x[4]}:(x=g.hsl.exec(S),x?{h:x[1],s:x[2],l:x[3]}:(x=g.hsla.exec(S),x?{h:x[1],s:x[2],l:x[3],a:x[4]}:(x=g.hsv.exec(S),x?{h:x[1],s:x[2],v:x[3]}:(x=g.hsva.exec(S),x?{h:x[1],s:x[2],v:x[3],a:x[4]}:(x=g.hex8.exec(S),x?{r:(0,a.VD)(x[1]),g:(0,a.VD)(x[2]),b:(0,a.VD)(x[3]),a:(0,a.T6)(x[4]),format:w?"name":"hex8"}:(x=g.hex6.exec(S),x?{r:(0,a.VD)(x[1]),g:(0,a.VD)(x[2]),b:(0,a.VD)(x[3]),format:w?"name":"hex"}:(x=g.hex4.exec(S),x?{r:(0,a.VD)(x[1]+x[1]),g:(0,a.VD)(x[2]+x[2]),b:(0,a.VD)(x[3]+x[3]),a:(0,a.T6)(x[4]+x[4]),format:w?"name":"hex8"}:(x=g.hex3.exec(S),x?{r:(0,a.VD)(x[1]+x[1]),g:(0,a.VD)(x[2]+x[2]),b:(0,a.VD)(x[3]+x[3]),format:w?"name":"hex"}:!1)))))))))}function h(S){return!!g.CSS_UNIT.exec(String(S))}},66671:function(b,y,e){"use strict";e.d(y,{C:function(){return n}});var a=e(20117),t=e(53099),o=e(76981),s=e(33146),n=function(){function l(c,m){c===void 0&&(c=""),m===void 0&&(m={});var g;if(c instanceof l)return c;typeof c=="number"&&(c=(0,a.Yt)(c)),this.originalInput=c;var M=(0,o.uA)(c);this.originalInput=c,this.r=M.r,this.g=M.g,this.b=M.b,this.a=M.a,this.roundA=Math.round(100*this.a)/100,this.format=(g=m.format)!==null&&g!==void 0?g:M.format,this.gradientType=m.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=M.ok}return l.prototype.isDark=function(){return this.getBrightness()<128},l.prototype.isLight=function(){return!this.isDark()},l.prototype.getBrightness=function(){var c=this.toRgb();return(c.r*299+c.g*587+c.b*114)/1e3},l.prototype.getLuminance=function(){var c=this.toRgb(),m,g,M,h=c.r/255,S=c.g/255,w=c.b/255;return h<=.03928?m=h/12.92:m=Math.pow((h+.055)/1.055,2.4),S<=.03928?g=S/12.92:g=Math.pow((S+.055)/1.055,2.4),w<=.03928?M=w/12.92:M=Math.pow((w+.055)/1.055,2.4),.2126*m+.7152*g+.0722*M},l.prototype.getAlpha=function(){return this.a},l.prototype.setAlpha=function(c){return this.a=(0,s.Yq)(c),this.roundA=Math.round(100*this.a)/100,this},l.prototype.isMonochrome=function(){var c=this.toHsl().s;return c===0},l.prototype.toHsv=function(){var c=(0,a.py)(this.r,this.g,this.b);return{h:c.h*360,s:c.s,v:c.v,a:this.a}},l.prototype.toHsvString=function(){var c=(0,a.py)(this.r,this.g,this.b),m=Math.round(c.h*360),g=Math.round(c.s*100),M=Math.round(c.v*100);return this.a===1?"hsv(".concat(m,", ").concat(g,"%, ").concat(M,"%)"):"hsva(".concat(m,", ").concat(g,"%, ").concat(M,"%, ").concat(this.roundA,")")},l.prototype.toHsl=function(){var c=(0,a.lC)(this.r,this.g,this.b);return{h:c.h*360,s:c.s,l:c.l,a:this.a}},l.prototype.toHslString=function(){var c=(0,a.lC)(this.r,this.g,this.b),m=Math.round(c.h*360),g=Math.round(c.s*100),M=Math.round(c.l*100);return this.a===1?"hsl(".concat(m,", ").concat(g,"%, ").concat(M,"%)"):"hsla(".concat(m,", ").concat(g,"%, ").concat(M,"%, ").concat(this.roundA,")")},l.prototype.toHex=function(c){return c===void 0&&(c=!1),(0,a.vq)(this.r,this.g,this.b,c)},l.prototype.toHexString=function(c){return c===void 0&&(c=!1),"#"+this.toHex(c)},l.prototype.toHex8=function(c){return c===void 0&&(c=!1),(0,a.s)(this.r,this.g,this.b,this.a,c)},l.prototype.toHex8String=function(c){return c===void 0&&(c=!1),"#"+this.toHex8(c)},l.prototype.toHexShortString=function(c){return c===void 0&&(c=!1),this.a===1?this.toHexString(c):this.toHex8String(c)},l.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},l.prototype.toRgbString=function(){var c=Math.round(this.r),m=Math.round(this.g),g=Math.round(this.b);return this.a===1?"rgb(".concat(c,", ").concat(m,", ").concat(g,")"):"rgba(".concat(c,", ").concat(m,", ").concat(g,", ").concat(this.roundA,")")},l.prototype.toPercentageRgb=function(){var c=function(m){return"".concat(Math.round((0,s.sh)(m,255)*100),"%")};return{r:c(this.r),g:c(this.g),b:c(this.b),a:this.a}},l.prototype.toPercentageRgbString=function(){var c=function(m){return Math.round((0,s.sh)(m,255)*100)};return this.a===1?"rgb(".concat(c(this.r),"%, ").concat(c(this.g),"%, ").concat(c(this.b),"%)"):"rgba(".concat(c(this.r),"%, ").concat(c(this.g),"%, ").concat(c(this.b),"%, ").concat(this.roundA,")")},l.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var c="#"+(0,a.vq)(this.r,this.g,this.b,!1),m=0,g=Object.entries(t.R);m=0,h=!m&&M&&(c.startsWith("hex")||c==="name");return h?c==="name"&&this.a===0?this.toName():this.toRgbString():(c==="rgb"&&(g=this.toRgbString()),c==="prgb"&&(g=this.toPercentageRgbString()),(c==="hex"||c==="hex6")&&(g=this.toHexString()),c==="hex3"&&(g=this.toHexString(!0)),c==="hex4"&&(g=this.toHex8String(!0)),c==="hex8"&&(g=this.toHex8String()),c==="name"&&(g=this.toName()),c==="hsl"&&(g=this.toHslString()),c==="hsv"&&(g=this.toHsvString()),g||this.toHexString())},l.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},l.prototype.clone=function(){return new l(this.toString())},l.prototype.lighten=function(c){c===void 0&&(c=10);var m=this.toHsl();return m.l+=c/100,m.l=(0,s.V2)(m.l),new l(m)},l.prototype.brighten=function(c){c===void 0&&(c=10);var m=this.toRgb();return m.r=Math.max(0,Math.min(255,m.r-Math.round(255*-(c/100)))),m.g=Math.max(0,Math.min(255,m.g-Math.round(255*-(c/100)))),m.b=Math.max(0,Math.min(255,m.b-Math.round(255*-(c/100)))),new l(m)},l.prototype.darken=function(c){c===void 0&&(c=10);var m=this.toHsl();return m.l-=c/100,m.l=(0,s.V2)(m.l),new l(m)},l.prototype.tint=function(c){return c===void 0&&(c=10),this.mix("white",c)},l.prototype.shade=function(c){return c===void 0&&(c=10),this.mix("black",c)},l.prototype.desaturate=function(c){c===void 0&&(c=10);var m=this.toHsl();return m.s-=c/100,m.s=(0,s.V2)(m.s),new l(m)},l.prototype.saturate=function(c){c===void 0&&(c=10);var m=this.toHsl();return m.s+=c/100,m.s=(0,s.V2)(m.s),new l(m)},l.prototype.greyscale=function(){return this.desaturate(100)},l.prototype.spin=function(c){var m=this.toHsl(),g=(m.h+c)%360;return m.h=g<0?360+g:g,new l(m)},l.prototype.mix=function(c,m){m===void 0&&(m=50);var g=this.toRgb(),M=new l(c).toRgb(),h=m/100,S={r:(M.r-g.r)*h+g.r,g:(M.g-g.g)*h+g.g,b:(M.b-g.b)*h+g.b,a:(M.a-g.a)*h+g.a};return new l(S)},l.prototype.analogous=function(c,m){c===void 0&&(c=6),m===void 0&&(m=30);var g=this.toHsl(),M=360/m,h=[this];for(g.h=(g.h-(M*c>>1)+720)%360;--c;)g.h=(g.h+M)%360,h.push(new l(g));return h},l.prototype.complement=function(){var c=this.toHsl();return c.h=(c.h+180)%360,new l(c)},l.prototype.monochromatic=function(c){c===void 0&&(c=6);for(var m=this.toHsv(),g=m.h,M=m.s,h=m.v,S=[],w=1/c;c--;)S.push(new l({h:g,s:M,v:h})),h=(h+w)%1;return S},l.prototype.splitcomplement=function(){var c=this.toHsl(),m=c.h;return[this,new l({h:(m+72)%360,s:c.s,l:c.l}),new l({h:(m+216)%360,s:c.s,l:c.l})]},l.prototype.onBackground=function(c){var m=this.toRgb(),g=new l(c).toRgb(),M=m.a+g.a*(1-m.a);return new l({r:(m.r*m.a+g.r*g.a*(1-m.a))/M,g:(m.g*m.a+g.g*g.a*(1-m.a))/M,b:(m.b*m.a+g.b*g.a*(1-m.a))/M,a:M})},l.prototype.triad=function(){return this.polyad(3)},l.prototype.tetrad=function(){return this.polyad(4)},l.prototype.polyad=function(c){for(var m=this.toHsl(),g=m.h,M=[this],h=360/c,S=1;S1)&&(c=1),c}function d(c){return c<=1?"".concat(Number(c)*100,"%"):c}function l(c){return c.length===1?"0"+c:String(c)}},57127:function(b,y,e){"use strict";e.d(y,{Z:function(){return G}});var a=e(28314),t=e(58757),o=e(26736),s=e(19075),n=e(75556),d=e(21319),l=t.createContext(null),c=l,m=e(29140),g=e(81334),M=[];function h(W,ne){var _=t.useState(function(){if(!(0,s.Z)())return null;var me=document.createElement("div");return me}),ee=(0,a.Z)(_,1),se=ee[0],Q=t.useRef(!1),C=t.useContext(c),X=t.useState(M),O=(0,a.Z)(X,2),H=O[0],k=O[1],A=C||(Q.current?void 0:function(me){k(function(ve){var be=[me].concat((0,m.Z)(ve));return be})});function Y(){se.parentElement||document.body.appendChild(se),Q.current=!0}function de(){var me;(me=se.parentElement)===null||me===void 0||me.removeChild(se),Q.current=!1}return(0,g.Z)(function(){return W?C?C(Y):Y():de(),de},[W]),(0,g.Z)(function(){H.length&&(H.forEach(function(me){return me()}),k(M))},[H]),[se,A]}var S=e(39678),w=e(17502);function x(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var z="rc-util-locker-".concat(Date.now()),U=0;function T(W){var ne=!!W,_=t.useState(function(){return U+=1,"".concat(z,"_").concat(U)}),ee=(0,a.Z)(_,1),se=ee[0];(0,g.Z)(function(){if(ne){var Q=(0,w.o)(document.body).width,C=x();(0,S.hq)(` +html body { + overflow-y: hidden; + `.concat(C?"width: calc(100% - ".concat(Q,"px);"):"",` +}`),se)}else(0,S.jL)(se);return function(){(0,S.jL)(se)}},[ne,se])}var N=!1;function Z(W){return typeof W=="boolean"&&(N=W),N}var D=function(ne){return ne===!1?!1:!(0,s.Z)()||!ne?null:typeof ne=="string"?document.querySelector(ne):typeof ne=="function"?ne():ne},L=t.forwardRef(function(W,ne){var _=W.open,ee=W.autoLock,se=W.getContainer,Q=W.debug,C=W.autoDestroy,X=C===void 0?!0:C,O=W.children,H=t.useState(_),k=(0,a.Z)(H,2),A=k[0],Y=k[1],de=A||_;t.useEffect(function(){(X||_)&&Y(_)},[_,X]);var me=t.useState(function(){return D(se)}),ve=(0,a.Z)(me,2),be=ve[0],Pe=ve[1];t.useEffect(function(){var Ke=D(se);Pe(Ke!=null?Ke:null)});var Je=h(de&&!be,Q),qe=(0,a.Z)(Je,2),Xe=qe[0],mt=qe[1],Ct=be!=null?be:Xe;T(ee&&_&&(0,s.Z)()&&(Ct===Xe||Ct===document.body));var vt=null;if(O&&(0,d.Yr)(O)&&ne){var Ht=O;vt=Ht.ref}var ke=(0,d.x1)(vt,ne);if(!de||!(0,s.Z)()||be===void 0)return null;var Ve=Ct===!1||Z(),ot=O;return ne&&(ot=t.cloneElement(O,{ref:ke})),t.createElement(c.Provider,{value:mt},Ve?ot:(0,o.createPortal)(ot,Ct))}),j=L,G=j},99863:function(b,y,e){"use strict";e.d(y,{Z:function(){return Ke}});var a=e(57370),t=e(28314),o=e(47075),s=e(57127),n=e(87608),d=e.n(n),l=e(19425),c=e(69188),m=e(4171),g=e(51729),M=e(97071),h=e(81334),S=e(21618),w=e(58757),x=e(26736),z=w.createContext(null),U=z;function T(he){return he?Array.isArray(he)?he:[he]:[]}function N(he,J,V,R){return w.useMemo(function(){var P=T(V!=null?V:J),B=T(R!=null?R:J),ge=new Set(P),ie=new Set(B);return he&&(ge.has("hover")&&(ge.delete("hover"),ge.add("click")),ie.has("hover")&&(ie.delete("hover"),ie.add("click"))),[ge,ie]},[he,J,V,R])}var Z=e(46499);function D(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],V=arguments.length>2?arguments[2]:void 0;return V?he[0]===J[0]:he[0]===J[0]&&he[1]===J[1]}function L(he,J,V,R){for(var P=V.points,B=Object.keys(he),ge=0;ge1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(he)?J:he}function _(he){return ne(parseFloat(he),0)}function ee(he,J){var V=(0,a.Z)({},he);return(J||[]).forEach(function(R){if(!(R instanceof HTMLBodyElement||R instanceof HTMLHtmlElement)){var P=G(R).getComputedStyle(R),B=P.overflow,ge=P.overflowClipMargin,ie=P.borderTopWidth,pe=P.borderBottomWidth,Oe=P.borderLeftWidth,xe=P.borderRightWidth,Se=R.getBoundingClientRect(),$e=R.offsetHeight,re=R.clientHeight,oe=R.offsetWidth,q=R.clientWidth,ue=_(ie),Ee=_(pe),le=_(Oe),Ne=_(xe),Ae=ne(Math.round(Se.width/oe*1e3)/1e3),we=ne(Math.round(Se.height/$e*1e3)/1e3),Re=(oe-q-le-Ne)*Ae,st=($e-re-ue-Ee)*we,nt=ue*we,_e=Ee*we,We=le*Ae,Be=Ne*Ae,it=0,Ge=0;if(B==="clip"){var Ot=_(ge);it=Ot*Ae,Ge=Ot*we}var $t=Se.x+We-it,wt=Se.y+nt-Ge,Pt=$t+Se.width+2*it-We-Be-Re,dt=wt+Se.height+2*Ge-nt-_e-st;V.left=Math.max(V.left,$t),V.top=Math.max(V.top,wt),V.right=Math.min(V.right,Pt),V.bottom=Math.min(V.bottom,dt)}}),V}function se(he){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,V="".concat(J),R=V.match(/^(.*)\%$/);return R?he*(parseFloat(R[1])/100):parseFloat(V)}function Q(he,J){var V=J||[],R=(0,t.Z)(V,2),P=R[0],B=R[1];return[se(he.width,P),se(he.height,B)]}function C(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[he[0],he[1]]}function X(he,J){var V=J[0],R=J[1],P,B;return V==="t"?B=he.y:V==="b"?B=he.y+he.height:B=he.y+he.height/2,R==="l"?P=he.x:R==="r"?P=he.x+he.width:P=he.x+he.width/2,{x:P,y:B}}function O(he,J){var V={t:"b",b:"t",l:"r",r:"l"};return he.map(function(R,P){return P===J?V[R]||"c":R}).join("")}function H(he,J,V,R,P,B,ge){var ie=w.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:P[R]||{}}),pe=(0,t.Z)(ie,2),Oe=pe[0],xe=pe[1],Se=w.useRef(0),$e=w.useMemo(function(){return J?W(J):[]},[J]),re=w.useRef({}),oe=function(){re.current={}};he||oe();var q=(0,g.Z)(function(){if(J&&V&&he){let pa=function(lo,Qa){var Gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Xn,yn=je.x+lo,jn=je.y+Qa,Gn=yn+Ce,br=jn+Le,Hr=Math.max(yn,Gt.left),ta=Math.max(jn,Gt.top),sr=Math.min(Gn,Gt.right),zr=Math.min(br,Gt.bottom);return Math.max(0,(sr-Hr)*(zr-ta))},La=function(){ar=je.y+tn,mr=ar+Le,Qr=je.x+sn,qr=Qr+Ce};var le,Ne,Ae=J,we=Ae.ownerDocument,Re=G(Ae),st=Re.getComputedStyle(Ae),nt=st.width,_e=st.height,We=st.position,Be=Ae.style.left,it=Ae.style.top,Ge=Ae.style.right,Ot=Ae.style.bottom,$t=(0,a.Z)((0,a.Z)({},P[R]),B),wt=we.createElement("div");(le=Ae.parentElement)===null||le===void 0||le.appendChild(wt),wt.style.left="".concat(Ae.offsetLeft,"px"),wt.style.top="".concat(Ae.offsetTop,"px"),wt.style.position=We,wt.style.height="".concat(Ae.offsetHeight,"px"),wt.style.width="".concat(Ae.offsetWidth,"px"),Ae.style.left="0",Ae.style.top="0",Ae.style.right="auto",Ae.style.bottom="auto";var Pt;if(Array.isArray(V))Pt={x:V[0],y:V[1],width:0,height:0};else{var dt=V.getBoundingClientRect();Pt={x:dt.x,y:dt.y,width:dt.width,height:dt.height}}var je=Ae.getBoundingClientRect(),tt=we.documentElement,lt=tt.clientWidth,bt=tt.clientHeight,It=tt.scrollWidth,Kt=tt.scrollHeight,zt=tt.scrollTop,Mt=tt.scrollLeft,Le=je.height,Ce=je.width,Et=Pt.height,Tt=Pt.width,Ye={left:0,top:0,right:lt,bottom:bt},et={left:-Mt,top:-zt,right:It-Mt,bottom:Kt-zt},_t=$t.htmlRegion,Ut="visible",qt="visibleFirst";_t!=="scroll"&&_t!==qt&&(_t=Ut);var un=_t===qt,Mn=ee(et,$e),vn=ee(Ye,$e),Xn=_t===Ut?vn:Mn,Vn=un?vn:Xn;Ae.style.left="auto",Ae.style.top="auto",Ae.style.right="0",Ae.style.bottom="0";var or=Ae.getBoundingClientRect();Ae.style.left=Be,Ae.style.top=it,Ae.style.right=Ge,Ae.style.bottom=Ot,(Ne=Ae.parentElement)===null||Ne===void 0||Ne.removeChild(wt);var er=ne(Math.round(Ce/parseFloat(nt)*1e3)/1e3),Wt=ne(Math.round(Le/parseFloat(_e)*1e3)/1e3);if(er===0||Wt===0||(0,c.S)(V)&&!(0,Z.Z)(V))return;var en=$t.offset,nn=$t.targetOffset,fn=Q(je,en),En=(0,t.Z)(fn,2),on=En[0],pt=En[1],gt=Q(Pt,nn),Xt=(0,t.Z)(gt,2),rn=Xt[0],Jt=Xt[1];Pt.x-=rn,Pt.y-=Jt;var pn=$t.points||[],mn=(0,t.Z)(pn,2),Zn=mn[0],tr=mn[1],ut=C(tr),ct=C(Zn),Dt=X(Pt,ut),xt=X(je,ct),kt=(0,a.Z)({},$t),sn=Dt.x-xt.x+on,tn=Dt.y-xt.y+pt,xn=pa(sn,tn),Nn=pa(sn,tn,vn),gr=X(Pt,["t","l"]),nr=X(je,["t","l"]),Rn=X(Pt,["b","r"]),kr=X(je,["b","r"]),fr=$t.overflow||{},ua=fr.adjustX,Pr=fr.adjustY,Bn=fr.shiftX,Cn=fr.shiftY,wn=function(Qa){return typeof Qa=="boolean"?Qa:Qa>=0},ar,mr,Qr,qr;La();var ya=wn(Pr),dr=ct[0]===ut[0];if(ya&&ct[0]==="t"&&(mr>Vn.bottom||re.current.bt)){var Br=tn;dr?Br-=Le-Et:Br=gr.y-kr.y-pt;var Ea=pa(sn,Br),ca=pa(sn,Br,vn);Ea>xn||Ea===xn&&(!un||ca>=Nn)?(re.current.bt=!0,tn=Br,pt=-pt,kt.points=[O(ct,0),O(ut,0)]):re.current.bt=!1}if(ya&&ct[0]==="b"&&(arxn||zn===xn&&(!un||vr>=Nn)?(re.current.tb=!0,tn=Kn,pt=-pt,kt.points=[O(ct,0),O(ut,0)]):re.current.tb=!1}var ra=wn(ua),xr=ct[1]===ut[1];if(ra&&ct[1]==="l"&&(qr>Vn.right||re.current.rl)){var jt=sn;xr?jt-=Ce-Tt:jt=gr.x-kr.x-on;var an=pa(jt,tn),hn=pa(jt,tn,vn);an>xn||an===xn&&(!un||hn>=Nn)?(re.current.rl=!0,sn=jt,on=-on,kt.points=[O(ct,1),O(ut,1)]):re.current.rl=!1}if(ra&&ct[1]==="r"&&(Qrxn||Mo===xn&&(!un||Ua>=Nn)?(re.current.lr=!0,sn=ao,on=-on,kt.points=[O(ct,1),O(ut,1)]):re.current.lr=!1}La();var Ha=Bn===!0?0:Bn;typeof Ha=="number"&&(Qrvn.right&&(sn-=qr-vn.right-on,Pt.x>vn.right-Ha&&(sn+=Pt.x-vn.right+Ha)));var eo=Cn===!0?0:Cn;typeof eo=="number"&&(arvn.bottom&&(tn-=mr-vn.bottom-pt,Pt.y>vn.bottom-eo&&(tn+=Pt.y-vn.bottom+eo)));var jo=je.x+sn,Wo=jo+Ce,Eo=je.y+tn,ft=Eo+Le,Nt=Pt.x,Ie=Nt+Tt,cn=Pt.y,dn=cn+Et,_n=Math.max(jo,Nt),Tn=Math.min(Wo,Ie),yr=(_n+Tn)/2,Wr=yr-jo,Da=Math.max(Eo,cn),la=Math.min(ft,dn),ea=(Da+la)/2,oa=ea-Eo;ge==null||ge(J,kt);var Ir=or.right-je.x-(sn+je.width),$r=or.bottom-je.y-(tn+je.height);xe({ready:!0,offsetX:sn/er,offsetY:tn/Wt,offsetR:Ir/er,offsetB:$r/Wt,arrowX:Wr/er,arrowY:oa/Wt,scaleX:er,scaleY:Wt,align:kt})}}),ue=function(){Se.current+=1;var Ne=Se.current;Promise.resolve().then(function(){Se.current===Ne&&q()})},Ee=function(){xe(function(Ne){return(0,a.Z)((0,a.Z)({},Ne),{},{ready:!1})})};return(0,h.Z)(Ee,[R]),(0,h.Z)(function(){he||Ee()},[he]),[Oe.ready,Oe.offsetX,Oe.offsetY,Oe.offsetR,Oe.offsetB,Oe.arrowX,Oe.arrowY,Oe.scaleX,Oe.scaleY,Oe.align,ue]}var k=e(29140);function A(he,J,V,R,P){(0,h.Z)(function(){if(he&&J&&V){let Se=function(){R(),P()};var B=J,ge=V,ie=W(B),pe=W(ge),Oe=G(ge),xe=new Set([Oe].concat((0,k.Z)(ie),(0,k.Z)(pe)));return xe.forEach(function($e){$e.addEventListener("scroll",Se,{passive:!0})}),Oe.addEventListener("resize",Se,{passive:!0}),R(),function(){xe.forEach(function($e){$e.removeEventListener("scroll",Se),Oe.removeEventListener("resize",Se)})}}},[he,J,V])}var Y=e(71219),de=e(61834);function me(he,J,V,R,P,B,ge,ie){var pe=w.useRef(he),Oe=w.useRef(!1);pe.current!==he&&(Oe.current=!0,pe.current=he),w.useEffect(function(){var xe=(0,de.Z)(function(){Oe.current=!1});return function(){de.Z.cancel(xe)}},[he]),w.useEffect(function(){if(J&&R&&(!P||B)){var xe=function(){var We=!1,Be=function(Ot){var $t=Ot.target;We=ge($t)},it=function(Ot){var $t=Ot.target;!Oe.current&&pe.current&&!We&&!ge($t)&&ie(!1)};return[Be,it]},Se=xe(),$e=(0,t.Z)(Se,2),re=$e[0],oe=$e[1],q=xe(),ue=(0,t.Z)(q,2),Ee=ue[0],le=ue[1],Ne=G(R);Ne.addEventListener("mousedown",re,!0),Ne.addEventListener("click",oe,!0),Ne.addEventListener("contextmenu",oe,!0);var Ae=(0,m.A)(V);if(Ae&&(Ae.addEventListener("mousedown",Ee,!0),Ae.addEventListener("click",le,!0),Ae.addEventListener("contextmenu",le,!0)),!1)var we,Re,st,nt;return function(){Ne.removeEventListener("mousedown",re,!0),Ne.removeEventListener("click",oe,!0),Ne.removeEventListener("contextmenu",oe,!0),Ae&&(Ae.removeEventListener("mousedown",Ee,!0),Ae.removeEventListener("click",le,!0),Ae.removeEventListener("contextmenu",le,!0))}}},[J,V,R,P,B])}var ve=e(60698),be=e(17598),Pe=e(21319);function Je(he){var J=he.prefixCls,V=he.align,R=he.arrow,P=he.arrowPos,B=R||{},ge=B.className,ie=B.content,pe=P.x,Oe=pe===void 0?0:pe,xe=P.y,Se=xe===void 0?0:xe,$e=w.useRef();if(!V||!V.points)return null;var re={position:"absolute"};if(V.autoArrow!==!1){var oe=V.points[0],q=V.points[1],ue=oe[0],Ee=oe[1],le=q[0],Ne=q[1];ue===le||!["t","b"].includes(ue)?re.top=Se:ue==="t"?re.top=0:re.bottom=0,Ee===Ne||!["l","r"].includes(Ee)?re.left=Oe:Ee==="l"?re.left=0:re.right=0}return w.createElement("div",{ref:$e,className:d()("".concat(J,"-arrow"),ge),style:re},ie)}function qe(he){var J=he.prefixCls,V=he.open,R=he.zIndex,P=he.mask,B=he.motion;return P?w.createElement(be.ZP,(0,ve.Z)({},B,{motionAppear:!0,visible:V,removeOnLeave:!0}),function(ge){var ie=ge.className;return w.createElement("div",{style:{zIndex:R},className:d()("".concat(J,"-mask"),ie)})}):null}var Xe=w.memo(function(he){var J=he.children;return J},function(he,J){return J.cache}),mt=Xe,Ct=w.forwardRef(function(he,J){var V=he.popup,R=he.className,P=he.prefixCls,B=he.style,ge=he.target,ie=he.onVisibleChanged,pe=he.open,Oe=he.keepDom,xe=he.onClick,Se=he.mask,$e=he.arrow,re=he.arrowPos,oe=he.align,q=he.motion,ue=he.maskMotion,Ee=he.forceRender,le=he.getPopupContainer,Ne=he.autoDestroy,Ae=he.portal,we=he.zIndex,Re=he.onMouseEnter,st=he.onMouseLeave,nt=he.onPointerEnter,_e=he.ready,We=he.offsetX,Be=he.offsetY,it=he.offsetR,Ge=he.offsetB,Ot=he.onAlign,$t=he.onPrepare,wt=he.stretch,Pt=he.targetWidth,dt=he.targetHeight,je=typeof V=="function"?V():V,tt=pe||Oe,lt=(le==null?void 0:le.length)>0,bt=w.useState(!le||!lt),It=(0,t.Z)(bt,2),Kt=It[0],zt=It[1];if((0,h.Z)(function(){!Kt&<&&ge&&zt(!0)},[Kt,lt,ge]),!Kt)return null;var Mt="auto",Le={left:"-1000vw",top:"-1000vh",right:Mt,bottom:Mt};if(_e||!pe){var Ce=oe.points,Et=oe._experimental,Tt=Et==null?void 0:Et.dynamicInset,Ye=Tt&&Ce[0][1]==="r",et=Tt&&Ce[0][0]==="b";Ye?(Le.right=it,Le.left=Mt):(Le.left=We,Le.right=Mt),et?(Le.bottom=Ge,Le.top=Mt):(Le.top=Be,Le.bottom=Mt)}var _t={};return wt&&(wt.includes("height")&&dt?_t.height=dt:wt.includes("minHeight")&&dt&&(_t.minHeight=dt),wt.includes("width")&&Pt?_t.width=Pt:wt.includes("minWidth")&&Pt&&(_t.minWidth=Pt)),pe||(_t.pointerEvents="none"),w.createElement(Ae,{open:Ee||tt,getContainer:le&&function(){return le(ge)},autoDestroy:Ne},w.createElement(qe,{prefixCls:P,open:pe,zIndex:we,mask:Se,motion:ue}),w.createElement(l.Z,{onResize:Ot,disabled:!pe},function(Ut){return w.createElement(be.ZP,(0,ve.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ee,leavedClassName:"".concat(P,"-hidden")},q,{onAppearPrepare:$t,onEnterPrepare:$t,visible:pe,onVisibleChanged:function(un){var Mn;q==null||(Mn=q.onVisibleChanged)===null||Mn===void 0||Mn.call(q,un),ie(un)}}),function(qt,un){var Mn=qt.className,vn=qt.style,Xn=d()(P,Mn,R);return w.createElement("div",{ref:(0,Pe.sQ)(Ut,J,un),className:Xn,style:(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({"--arrow-x":"".concat(re.x||0,"px"),"--arrow-y":"".concat(re.y||0,"px")},Le),_t),vn),{},{boxSizing:"border-box",zIndex:we},B),onMouseEnter:Re,onMouseLeave:st,onPointerEnter:nt,onClick:xe},$e&&w.createElement(Je,{prefixCls:P,arrow:$e,arrowPos:re,align:oe}),w.createElement(mt,{cache:!pe},je))})}))}),vt=Ct,Ht=w.forwardRef(function(he,J){var V=he.children,R=he.getTriggerDOMNode,P=(0,Pe.Yr)(V),B=w.useCallback(function(ie){(0,Pe.mH)(J,R?R(ie):ie)},[R]),ge=(0,Pe.x1)(B,V.ref);return P?w.cloneElement(V,{ref:ge}):V}),ke=Ht,Ve=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function ot(){var he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s.Z,J=w.forwardRef(function(V,R){var P=V.prefixCls,B=P===void 0?"rc-trigger-popup":P,ge=V.children,ie=V.action,pe=ie===void 0?"hover":ie,Oe=V.showAction,xe=V.hideAction,Se=V.popupVisible,$e=V.defaultPopupVisible,re=V.onPopupVisibleChange,oe=V.afterPopupVisibleChange,q=V.mouseEnterDelay,ue=V.mouseLeaveDelay,Ee=ue===void 0?.1:ue,le=V.focusDelay,Ne=V.blurDelay,Ae=V.mask,we=V.maskClosable,Re=we===void 0?!0:we,st=V.getPopupContainer,nt=V.forceRender,_e=V.autoDestroy,We=V.destroyPopupOnHide,Be=V.popup,it=V.popupClassName,Ge=V.popupStyle,Ot=V.popupPlacement,$t=V.builtinPlacements,wt=$t===void 0?{}:$t,Pt=V.popupAlign,dt=V.zIndex,je=V.stretch,tt=V.getPopupClassNameFromAlign,lt=V.alignPoint,bt=V.onPopupClick,It=V.onPopupAlign,Kt=V.arrow,zt=V.popupMotion,Mt=V.maskMotion,Le=V.popupTransitionName,Ce=V.popupAnimation,Et=V.maskTransitionName,Tt=V.maskAnimation,Ye=V.className,et=V.getTriggerDOMNode,_t=(0,o.Z)(V,Ve),Ut=_e||We||!1,qt=w.useState(!1),un=(0,t.Z)(qt,2),Mn=un[0],vn=un[1];(0,h.Z)(function(){vn((0,S.Z)())},[]);var Xn=w.useRef({}),Vn=w.useContext(U),or=w.useMemo(function(){return{registerSubPopup:function(zr,va){Xn.current[zr]=va,Vn==null||Vn.registerSubPopup(zr,va)}}},[Vn]),er=(0,M.Z)(),Wt=w.useState(null),en=(0,t.Z)(Wt,2),nn=en[0],fn=en[1],En=(0,g.Z)(function(sr){(0,c.S)(sr)&&nn!==sr&&fn(sr),Vn==null||Vn.registerSubPopup(er,sr)}),on=w.useState(null),pt=(0,t.Z)(on,2),gt=pt[0],Xt=pt[1],rn=(0,g.Z)(function(sr){(0,c.S)(sr)&>!==sr&&Xt(sr)}),Jt=w.Children.only(ge),pn=(Jt==null?void 0:Jt.props)||{},mn={},Zn=(0,g.Z)(function(sr){var zr,va,Sr=gt;return(Sr==null?void 0:Sr.contains(sr))||((zr=(0,m.A)(Sr))===null||zr===void 0?void 0:zr.host)===sr||sr===Sr||(nn==null?void 0:nn.contains(sr))||((va=(0,m.A)(nn))===null||va===void 0?void 0:va.host)===sr||sr===nn||Object.values(Xn.current).some(function(xa){return(xa==null?void 0:xa.contains(sr))||sr===xa})}),tr=j(B,zt,Ce,Le),ut=j(B,Mt,Tt,Et),ct=w.useState($e||!1),Dt=(0,t.Z)(ct,2),xt=Dt[0],kt=Dt[1],sn=Se!=null?Se:xt,tn=(0,g.Z)(function(sr){Se===void 0&&kt(sr)});(0,h.Z)(function(){kt(Se||!1)},[Se]);var xn=w.useRef(sn);xn.current=sn;var Nn=(0,g.Z)(function(sr){(0,x.flushSync)(function(){sn!==sr&&(tn(sr),re==null||re(sr))})}),gr=w.useRef(),nr=function(){clearTimeout(gr.current)},Rn=function(zr){var va=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;nr(),va===0?Nn(zr):gr.current=setTimeout(function(){Nn(zr)},va*1e3)};w.useEffect(function(){return nr},[]);var kr=w.useState(!1),fr=(0,t.Z)(kr,2),ua=fr[0],Pr=fr[1];(0,h.Z)(function(sr){(!sr||sn)&&Pr(!0)},[sn]);var Bn=w.useState(null),Cn=(0,t.Z)(Bn,2),wn=Cn[0],ar=Cn[1],mr=w.useState([0,0]),Qr=(0,t.Z)(mr,2),qr=Qr[0],ya=Qr[1],dr=function(zr){ya([zr.clientX,zr.clientY])},Br=H(sn,nn,lt?qr:gt,Ot,wt,Pt,It),Ea=(0,t.Z)(Br,11),ca=Ea[0],Kn=Ea[1],zn=Ea[2],vr=Ea[3],ra=Ea[4],xr=Ea[5],jt=Ea[6],an=Ea[7],hn=Ea[8],ao=Ea[9],Mo=Ea[10],Ua=N(Mn,pe,Oe,xe),Ha=(0,t.Z)(Ua,2),eo=Ha[0],jo=Ha[1],Wo=eo.has("click"),Eo=jo.has("click")||jo.has("contextMenu"),ft=(0,g.Z)(function(){ua||Mo()}),Nt=function(){xn.current&<&&Eo&&Rn(!1)};A(sn,gt,nn,ft,Nt),(0,h.Z)(function(){ft()},[qr,Ot]),(0,h.Z)(function(){sn&&!(wt!=null&&wt[Ot])&&ft()},[JSON.stringify(Pt)]);var Ie=w.useMemo(function(){var sr=L(wt,B,ao,lt);return d()(sr,tt==null?void 0:tt(ao))},[ao,tt,wt,B,lt]);w.useImperativeHandle(R,function(){return{forceAlign:ft}});var cn=w.useState(0),dn=(0,t.Z)(cn,2),_n=dn[0],Tn=dn[1],yr=w.useState(0),Wr=(0,t.Z)(yr,2),Da=Wr[0],la=Wr[1],ea=function(){if(je&>){var zr=gt.getBoundingClientRect();Tn(zr.width),la(zr.height)}},oa=function(){ea(),ft()},Ir=function(zr){Pr(!1),Mo(),oe==null||oe(zr)},$r=function(){return new Promise(function(zr){ea(),ar(function(){return zr})})};(0,h.Z)(function(){wn&&(Mo(),wn(),ar(null))},[wn]);function pa(sr,zr,va,Sr){mn[sr]=function(xa){var Xa;Sr==null||Sr(xa),Rn(zr,va);for(var bo=arguments.length,Oo=new Array(bo>1?bo-1:0),Va=1;Va1?va-1:0),xa=1;xa1?va-1:0),xa=1;xaDate.now()/1e3};function n(){const{performance:x}=o;if(!x||!x.now)return;const z=Date.now()-x.now();return{now:()=>x.now(),timeOrigin:z}}function d(){try{return(0,a.l$)(b,"perf_hooks").performance}catch(x){return}}const l=(0,a.KV)()?d():n(),c=l===void 0?s:{nowSeconds:()=>(l.timeOrigin+l.now())/1e3},m=s.nowSeconds.bind(s),g=c.nowSeconds.bind(c),M=null,h=l!==void 0;let S;const w=(()=>{const{performance:x}=o;if(!x||!x.now){S="none";return}const z=3600*1e3,U=x.now(),T=Date.now(),N=x.timeOrigin?Math.abs(x.timeOrigin+U-T):z,Z=NF.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,Me=>(Me^(ce()&15)>>Me/4).toString(16))}function L(K){return K.exception&&K.exception.values?K.exception.values[0]:void 0}function j(K){const{message:F,event_id:ce}=K;if(F)return F;const Me=L(K);return Me?Me.type&&Me.value?`${Me.type}: ${Me.value}`:Me.type||Me.value||ce||"":ce||""}function G(K,F,ce){const Me=K.exception=K.exception||{},ze=Me.values=Me.values||[],Qe=ze[0]=ze[0]||{};Qe.value||(Qe.value=F||""),Qe.type||(Qe.type=ce||"Error")}function W(K,F){const ce=L(K);if(!ce)return;const Me={type:"generic",handled:!0},ze=ce.mechanism;if(ce.mechanism=Wa(Wa(Wa({},Me),ze),F),F&&"data"in F){const Qe=Wa(Wa({},ze&&ze.data),F.data);ce.mechanism.data=Qe}}const ne=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function _(K){const F=K.match(ne)||[],ce=parseInt(F[1],10),Me=parseInt(F[2],10),ze=parseInt(F[3],10);return{buildmetadata:F[5],major:isNaN(ce)?void 0:ce,minor:isNaN(Me)?void 0:Me,patch:isNaN(ze)?void 0:ze,prerelease:F[4]}}function ee(K,F,ce=5){if(F.lineno===void 0)return;const Me=K.length,ze=Math.max(Math.min(Me-1,F.lineno-1),0);F.pre_context=K.slice(Math.max(0,ze-ce),ze).map(Qe=>snipLine(Qe,0)),F.context_line=snipLine(K[Math.min(Me-1,ze)],F.colno||0),F.post_context=K.slice(Math.min(ze+1,Me),ze+1+ce).map(Qe=>snipLine(Qe,0))}function se(K){if(K&&K.__sentry_captured__)return!0;try{addNonEnumerableProperty(K,"__sentry_captured__",!0)}catch(F){}return!1}function Q(K){return Array.isArray(K)?K:[K]}var C=e(43038);const X="Sentry Logger ",O=["debug","info","warn","error","log","assert","trace"];function H(K){if(!("console"in Z.n2))return K();const F=Z.n2.console,ce={};O.forEach(Me=>{const ze=F[Me]&&F[Me].__sentry_original__;Me in F&&ze&&(ce[Me]=F[Me],F[Me]=ze)});try{return K()}finally{Object.keys(ce).forEach(Me=>{F[Me]=ce[Me]})}}function k(){let K=!1;const F={enable:()=>{K=!0},disable:()=>{K=!1}};return typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?O.forEach(ce=>{F[ce]=(...Me)=>{K&&H(()=>{Z.n2.console[ce](`${X}[${ce}]:`,...Me)})}}):O.forEach(ce=>{F[ce]=()=>{}}),F}let A;typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?A=(0,Z.YO)("logger",k):A=k();const Y="production",de=Object.prototype.toString;function me(K){switch(de.call(K)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Ke(K,Error)}}function ve(K,F){return de.call(K)===`[object ${F}]`}function be(K){return ve(K,"ErrorEvent")}function Pe(K){return ve(K,"DOMError")}function Je(K){return ve(K,"DOMException")}function qe(K){return ve(K,"String")}function Xe(K){return K===null||typeof K!="object"&&typeof K!="function"}function mt(K){return ve(K,"Object")}function Ct(K){return typeof Event!="undefined"&&Ke(K,Event)}function vt(K){return typeof Element!="undefined"&&Ke(K,Element)}function Ht(K){return ve(K,"RegExp")}function ke(K){return!!(K&&K.then&&typeof K.then=="function")}function Ve(K){return mt(K)&&"nativeEvent"in K&&"preventDefault"in K&&"stopPropagation"in K}function ot(K){return typeof K=="number"&&K!==K}function Ke(K,F){try{return K instanceof F}catch(ce){return!1}}var he;(function(K){K[K.PENDING=0]="PENDING";const ce=1;K[K.RESOLVED=ce]="RESOLVED";const Me=2;K[K.REJECTED=Me]="REJECTED"})(he||(he={}));function J(K){return new R(F=>{F(K)})}function V(K){return new R((F,ce)=>{ce(K)})}class R{constructor(F){R.prototype.__init.call(this),R.prototype.__init2.call(this),R.prototype.__init3.call(this),R.prototype.__init4.call(this),this._state=he.PENDING,this._handlers=[];try{F(this._resolve,this._reject)}catch(ce){this._reject(ce)}}then(F,ce){return new R((Me,ze)=>{this._handlers.push([!1,Qe=>{if(!F)Me(Qe);else try{Me(F(Qe))}catch(St){ze(St)}},Qe=>{if(!ce)ze(Qe);else try{Me(ce(Qe))}catch(St){ze(St)}}]),this._executeHandlers()})}catch(F){return this.then(ce=>ce,F)}finally(F){return new R((ce,Me)=>{let ze,Qe;return this.then(St=>{Qe=!1,ze=St,F&&F()},St=>{Qe=!0,ze=St,F&&F()}).then(()=>{if(Qe){Me(ze);return}ce(ze)})})}__init(){this._resolve=F=>{this._setResult(he.RESOLVED,F)}}__init2(){this._reject=F=>{this._setResult(he.REJECTED,F)}}__init3(){this._setResult=(F,ce)=>{if(this._state===he.PENDING){if(ke(ce)){ce.then(this._resolve,this._reject);return}this._state=F,this._value=ce,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===he.PENDING)return;const F=this._handlers.slice();this._handlers=[],F.forEach(ce=>{ce[0]||(this._state===he.RESOLVED&&ce[1](this._value),this._state===he.REJECTED&&ce[2](this._value),ce[0]=!0)})}}}const P=(0,Z.Rf)(),B=80;function ge(K,F={}){try{let ce=K;const Me=5,ze=[];let Qe=0,St=0;const At=" > ",Yt=At.length;let ln;const Hn=Array.isArray(F)?F:F.keyAttrs,Dn=!Array.isArray(F)&&F.maxStringLength||B;for(;ce&&Qe++1&&St+ze.length*Yt+ln.length>=Dn));)ze.push(ln),St+=ln.length,ce=ce.parentNode;return ze.reverse().join(At)}catch(ce){return""}}function ie(K,F){const ce=K,Me=[];let ze,Qe,St,At,Yt;if(!ce||!ce.tagName)return"";Me.push(ce.tagName.toLowerCase());const ln=F&&F.length?F.filter(Dn=>ce.getAttribute(Dn)).map(Dn=>[Dn,ce.getAttribute(Dn)]):null;if(ln&&ln.length)ln.forEach(Dn=>{Me.push(`[${Dn[0]}="${Dn[1]}"]`)});else if(ce.id&&Me.push(`#${ce.id}`),ze=ce.className,ze&&qe(ze))for(Qe=ze.split(/\s+/),Yt=0;YtMe&&(F=Me);let ze=Math.max(F-60,0);ze<5&&(ze=0);let Qe=Math.min(ze+140,Me);return Qe>Me-5&&(Qe=Me),Qe===Me&&(ze=Math.max(Qe-140,0)),ce=ce.slice(ze,Qe),ze>0&&(ce=`'{snip} ${ce}`),Qere(K,Me,ce))}function q(K,F,ce){if(!(F in K))return;const Me=K[F],ze=ce(Me);if(typeof ze=="function")try{Ee(ze,Me)}catch(Qe){}K[F]=ze}function ue(K,F,ce){Object.defineProperty(K,F,{value:ce,writable:!0,configurable:!0})}function Ee(K,F){const ce=F.prototype||{};K.prototype=F.prototype=ce,ue(K,"__sentry_original__",F)}function le(K){return K.__sentry_original__}function Ne(K){return Object.keys(K).map(F=>`${encodeURIComponent(F)}=${encodeURIComponent(K[F])}`).join("&")}function Ae(K){if(me(K))return Wa({message:K.message,name:K.name,stack:K.stack},Re(K));if(Ct(K)){const F=Wa({type:K.type,target:we(K.target),currentTarget:we(K.currentTarget)},Re(K));return typeof CustomEvent!="undefined"&&Ke(K,CustomEvent)&&(F.detail=K.detail),F}else return K}function we(K){try{return vt(K)?ge(K):Object.prototype.toString.call(K)}catch(F){return""}}function Re(K){if(typeof K=="object"&&K!==null){const F={};for(const ce in K)Object.prototype.hasOwnProperty.call(K,ce)&&(F[ce]=K[ce]);return F}else return{}}function st(K,F=40){const ce=Object.keys(Ae(K));if(ce.sort(),!ce.length)return"[object has no keys]";if(ce[0].length>=F)return xe(ce[0],F);for(let Me=ce.length;Me>0;Me--){const ze=ce.slice(0,Me).join(", ");if(!(ze.length>F))return Me===ce.length?ze:xe(ze,F)}return""}function nt(K){return _e(K,new Map)}function _e(K,F){if(mt(K)){const ce=F.get(K);if(ce!==void 0)return ce;const Me={};F.set(K,Me);for(const ze of Object.keys(K))typeof K[ze]!="undefined"&&(Me[ze]=_e(K[ze],F));return Me}if(Array.isArray(K)){const ce=F.get(K);if(ce!==void 0)return ce;const Me=[];return F.set(K,Me),K.forEach(ze=>{Me.push(_e(ze,F))}),Me}return K}function We(K){let F;switch(!0){case K==null:F=new String(K);break;case(typeof K=="symbol"||typeof K=="bigint"):F=Object(K);break;case isPrimitive(K):F=new K.constructor(K);break;default:F=K;break}return F}function Be(K){const F=(0,C.ph)(),ce={sid:D(),init:!0,timestamp:F,started:F,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Ot(ce)};return K&&it(ce,K),ce}function it(K,F={}){if(F.user&&(!K.ipAddress&&F.user.ip_address&&(K.ipAddress=F.user.ip_address),!K.did&&!F.did&&(K.did=F.user.id||F.user.email||F.user.username)),K.timestamp=F.timestamp||(0,C.ph)(),F.ignoreDuration&&(K.ignoreDuration=F.ignoreDuration),F.sid&&(K.sid=F.sid.length===32?F.sid:D()),F.init!==void 0&&(K.init=F.init),!K.did&&F.did&&(K.did=`${F.did}`),typeof F.started=="number"&&(K.started=F.started),K.ignoreDuration)K.duration=void 0;else if(typeof F.duration=="number")K.duration=F.duration;else{const ce=K.timestamp-K.started;K.duration=ce>=0?ce:0}F.release&&(K.release=F.release),F.environment&&(K.environment=F.environment),!K.ipAddress&&F.ipAddress&&(K.ipAddress=F.ipAddress),!K.userAgent&&F.userAgent&&(K.userAgent=F.userAgent),typeof F.errors=="number"&&(K.errors=F.errors),F.status&&(K.status=F.status)}function Ge(K,F){let ce={};F?ce={status:F}:K.status==="ok"&&(ce={status:"exited"}),it(K,ce)}function Ot(K){return nt({sid:`${K.sid}`,init:K.init,started:new Date(K.started*1e3).toISOString(),timestamp:new Date(K.timestamp*1e3).toISOString(),status:K.status,errors:K.errors,did:typeof K.did=="number"||typeof K.did=="string"?`${K.did}`:void 0,duration:K.duration,attrs:{release:K.release,environment:K.environment,ip_address:K.ipAddress,user_agent:K.userAgent}})}const $t=100;class wt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=je()}static clone(F){const ce=new wt;return F&&(ce._breadcrumbs=[...F._breadcrumbs],ce._tags=Wa({},F._tags),ce._extra=Wa({},F._extra),ce._contexts=Wa({},F._contexts),ce._user=F._user,ce._level=F._level,ce._span=F._span,ce._session=F._session,ce._transactionName=F._transactionName,ce._fingerprint=F._fingerprint,ce._eventProcessors=[...F._eventProcessors],ce._requestSession=F._requestSession,ce._attachments=[...F._attachments],ce._sdkProcessingMetadata=Wa({},F._sdkProcessingMetadata),ce._propagationContext=Wa({},F._propagationContext)),ce}addScopeListener(F){this._scopeListeners.push(F)}addEventProcessor(F){return this._eventProcessors.push(F),this}setUser(F){return this._user=F||{},this._session&&it(this._session,{user:F}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(F){return this._requestSession=F,this}setTags(F){return this._tags=Wa(Wa({},this._tags),F),this._notifyScopeListeners(),this}setTag(F,ce){return this._tags=Qs(Wa({},this._tags),{[F]:ce}),this._notifyScopeListeners(),this}setExtras(F){return this._extra=Wa(Wa({},this._extra),F),this._notifyScopeListeners(),this}setExtra(F,ce){return this._extra=Qs(Wa({},this._extra),{[F]:ce}),this._notifyScopeListeners(),this}setFingerprint(F){return this._fingerprint=F,this._notifyScopeListeners(),this}setLevel(F){return this._level=F,this._notifyScopeListeners(),this}setTransactionName(F){return this._transactionName=F,this._notifyScopeListeners(),this}setContext(F,ce){return ce===null?delete this._contexts[F]:this._contexts[F]=ce,this._notifyScopeListeners(),this}setSpan(F){return this._span=F,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const F=this.getSpan();return F&&F.transaction}setSession(F){return F?this._session=F:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(F){if(!F)return this;if(typeof F=="function"){const ce=F(this);return ce instanceof wt?ce:this}return F instanceof wt?(this._tags=Wa(Wa({},this._tags),F._tags),this._extra=Wa(Wa({},this._extra),F._extra),this._contexts=Wa(Wa({},this._contexts),F._contexts),F._user&&Object.keys(F._user).length&&(this._user=F._user),F._level&&(this._level=F._level),F._fingerprint&&(this._fingerprint=F._fingerprint),F._requestSession&&(this._requestSession=F._requestSession),F._propagationContext&&(this._propagationContext=F._propagationContext)):mt(F)&&(F=F,this._tags=Wa(Wa({},this._tags),F.tags),this._extra=Wa(Wa({},this._extra),F.extra),this._contexts=Wa(Wa({},this._contexts),F.contexts),F.user&&(this._user=F.user),F.level&&(this._level=F.level),F.fingerprint&&(this._fingerprint=F.fingerprint),F.requestSession&&(this._requestSession=F.requestSession),F.propagationContext&&(this._propagationContext=F.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=je(),this}addBreadcrumb(F,ce){const Me=typeof ce=="number"?ce:$t;if(Me<=0)return this;const ze=Wa({timestamp:(0,C.yW)()},F);return this._breadcrumbs=[...this._breadcrumbs,ze].slice(-Me),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(F){return this._attachments.push(F),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(F,ce={}){if(this._extra&&Object.keys(this._extra).length&&(F.extra=Wa(Wa({},this._extra),F.extra)),this._tags&&Object.keys(this._tags).length&&(F.tags=Wa(Wa({},this._tags),F.tags)),this._user&&Object.keys(this._user).length&&(F.user=Wa(Wa({},this._user),F.user)),this._contexts&&Object.keys(this._contexts).length&&(F.contexts=Wa(Wa({},this._contexts),F.contexts)),this._level&&(F.level=this._level),this._transactionName&&(F.transaction=this._transactionName),this._span){F.contexts=Wa({trace:this._span.getTraceContext()},F.contexts);const Me=this._span.transaction;if(Me){F.sdkProcessingMetadata=Wa({dynamicSamplingContext:Me.getDynamicSamplingContext()},F.sdkProcessingMetadata);const ze=Me.name;ze&&(F.tags=Wa({transaction:ze},F.tags))}}return this._applyFingerprint(F),F.breadcrumbs=[...F.breadcrumbs||[],...this._breadcrumbs],F.breadcrumbs=F.breadcrumbs.length>0?F.breadcrumbs:void 0,F.sdkProcessingMetadata=Qs(Wa(Wa({},F.sdkProcessingMetadata),this._sdkProcessingMetadata),{propagationContext:this._propagationContext}),this._notifyEventProcessors([...Pt(),...this._eventProcessors],F,ce)}setSDKProcessingMetadata(F){return this._sdkProcessingMetadata=Wa(Wa({},this._sdkProcessingMetadata),F),this}setPropagationContext(F){return this._propagationContext=F,this}getPropagationContext(){return this._propagationContext}_notifyEventProcessors(F,ce,Me,ze=0){return new R((Qe,St)=>{const At=F[ze];if(ce===null||typeof At!="function")Qe(ce);else{const Yt=At(Wa({},ce),Me);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&At.id&&Yt===null&&A.log(`Event processor "${At.id}" dropped event`),ke(Yt)?Yt.then(ln=>this._notifyEventProcessors(F,ln,Me,ze+1).then(Qe)).then(null,St):this._notifyEventProcessors(F,Yt,Me,ze+1).then(Qe).then(null,St)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(F=>{F(this)}),this._notifyingListeners=!1)}_applyFingerprint(F){F.fingerprint=F.fingerprint?Q(F.fingerprint):[],this._fingerprint&&(F.fingerprint=F.fingerprint.concat(this._fingerprint)),F.fingerprint&&!F.fingerprint.length&&delete F.fingerprint}}function Pt(){return(0,Z.YO)("globalEventProcessors",()=>[])}function dt(K){Pt().push(K)}function je(){return{traceId:D(),spanId:D().substring(16),sampled:!1}}const tt=4,lt=100;class bt{constructor(F,ce=new wt,Me=tt){this._version=Me,this._stack=[{scope:ce}],F&&this.bindClient(F)}isOlderThan(F){return this._version{Qe.captureException(F,Qs(Wa({originalException:F,syntheticException:ze},ce),{event_id:Me}),St)}),Me}captureMessage(F,ce,Me){const ze=this._lastEventId=Me&&Me.event_id?Me.event_id:D(),Qe=new Error(F);return this._withClient((St,At)=>{St.captureMessage(F,ce,Qs(Wa({originalException:F,syntheticException:Qe},Me),{event_id:ze}),At)}),ze}captureEvent(F,ce){const Me=ce&&ce.event_id?ce.event_id:D();return F.type||(this._lastEventId=Me),this._withClient((ze,Qe)=>{ze.captureEvent(F,Qs(Wa({},ce),{event_id:Me}),Qe)}),Me}lastEventId(){return this._lastEventId}addBreadcrumb(F,ce){const{scope:Me,client:ze}=this.getStackTop();if(!ze)return;const{beforeBreadcrumb:Qe=null,maxBreadcrumbs:St=lt}=ze.getOptions&&ze.getOptions()||{};if(St<=0)return;const At=(0,C.yW)(),Yt=Wa({timestamp:At},F),ln=Qe?H(()=>Qe(Yt,ce)):Yt;ln!==null&&(ze.emit&&ze.emit("beforeAddBreadcrumb",ln,ce),Me.addBreadcrumb(ln,St))}setUser(F){this.getScope().setUser(F)}setTags(F){this.getScope().setTags(F)}setExtras(F){this.getScope().setExtras(F)}setTag(F,ce){this.getScope().setTag(F,ce)}setExtra(F,ce){this.getScope().setExtra(F,ce)}setContext(F,ce){this.getScope().setContext(F,ce)}configureScope(F){const{scope:ce,client:Me}=this.getStackTop();Me&&F(ce)}run(F){const ce=Kt(this);try{F(this)}finally{Kt(ce)}}getIntegration(F){const ce=this.getClient();if(!ce)return null;try{return ce.getIntegration(F)}catch(Me){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Cannot retrieve integration ${F.id} from the current Hub`),null}}startTransaction(F,ce){const Me=this._callExtensionMethod("startTransaction",F,ce);if((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&!Me){const ze=this.getClient();console.warn(ze?`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': +Sentry.addTracingExtensions(); +Sentry.init({...}); +`:"Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return Me}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(F=!1){if(F)return this.endSession();this._sendSessionUpdate()}endSession(){const ce=this.getStackTop().scope,Me=ce.getSession();Me&&Ge(Me),this._sendSessionUpdate(),ce.setSession()}startSession(F){const{scope:ce,client:Me}=this.getStackTop(),{release:ze,environment:Qe=Y}=Me&&Me.getOptions()||{},{userAgent:St}=Z.n2.navigator||{},At=Be(Wa(Wa({release:ze,environment:Qe,user:ce.getUser()},St&&{userAgent:St}),F)),Yt=ce.getSession&&ce.getSession();return Yt&&Yt.status==="ok"&&it(Yt,{status:"exited"}),this.endSession(),ce.setSession(At),At}shouldSendDefaultPii(){const F=this.getClient(),ce=F&&F.getOptions();return!!(ce&&ce.sendDefaultPii)}_sendSessionUpdate(){const{scope:F,client:ce}=this.getStackTop(),Me=F.getSession();Me&&ce&&ce.captureSession&&ce.captureSession(Me)}_withClient(F){const{scope:ce,client:Me}=this.getStackTop();Me&&F(Me,ce)}_callExtensionMethod(F,...ce){const ze=It().__SENTRY__;if(ze&&ze.extensions&&typeof ze.extensions[F]=="function")return ze.extensions[F].apply(this,ce);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Extension method ${F} couldn't be found, doing nothing.`)}}function It(){return Z.n2.__SENTRY__=Z.n2.__SENTRY__||{extensions:{},hub:void 0},Z.n2}function Kt(K){const F=It(),ce=Ye(F);return et(F,K),ce}function zt(){const K=It();if(K.__SENTRY__&&K.__SENTRY__.acs){const F=K.__SENTRY__.acs.getCurrentHub();if(F)return F}return Mt(K)}function Mt(K=It()){return(!Tt(K)||Ye(K).isOlderThan(tt))&&et(K,new bt),Ye(K)}function Le(K,F=Mt()){if(!Tt(K)||Ye(K).isOlderThan(tt)){const ce=F.getStackTop();et(K,new bt(ce.client,Scope.clone(ce.scope)))}}function Ce(K){const F=It();F.__SENTRY__=F.__SENTRY__||{},F.__SENTRY__.acs=K}function Et(K,F={}){const ce=It();return ce.__SENTRY__&&ce.__SENTRY__.acs?ce.__SENTRY__.acs.runWithAsyncContext(K,F):K()}function Tt(K){return!!(K&&K.__SENTRY__&&K.__SENTRY__.hub)}function Ye(K){return(0,Z.YO)("hub",()=>new bt,K)}function et(K,F){if(!K)return!1;const ce=K.__SENTRY__=K.__SENTRY__||{};return ce.hub=F,!0}const _t=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Ut=[/^.*healthcheck.*$/,/^.*healthy.*$/,/^.*live.*$/,/^.*ready.*$/,/^.*heartbeat.*$/,/^.*\/health$/,/^.*\/healthz$/];class qt{static __initStatic(){this.id="InboundFilters"}constructor(F={}){this.name=qt.id,this._options=F}setupOnce(F,ce){const Me=ze=>{const Qe=ce();if(Qe){const St=Qe.getIntegration(qt);if(St){const At=Qe.getClient(),Yt=At?At.getOptions():{},ln=un(St._options,Yt);return Mn(ze,ln)?null:ze}}return ze};Me.id=this.name,F(Me)}}qt.__initStatic();function un(K={},F={}){return{allowUrls:[...K.allowUrls||[],...F.allowUrls||[]],denyUrls:[...K.denyUrls||[],...F.denyUrls||[]],ignoreErrors:[...K.ignoreErrors||[],...F.ignoreErrors||[],...K.disableErrorDefaults?[]:_t],ignoreTransactions:[...K.ignoreTransactions||[],...F.ignoreTransactions||[],...K.disableTransactionDefaults?[]:Ut],ignoreInternal:K.ignoreInternal!==void 0?K.ignoreInternal:!0}}function Mn(K,F){return F.ignoreInternal&&Wt(K)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to being internal Sentry Error. +Event: ${j(K)}`),!0):vn(K,F.ignoreErrors)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to being matched by \`ignoreErrors\` option. +Event: ${j(K)}`),!0):Xn(K,F.ignoreTransactions)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. +Event: ${j(K)}`),!0):Vn(K,F.denyUrls)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to being matched by \`denyUrls\` option. +Event: ${j(K)}. +Url: ${nn(K)}`),!0):or(K,F.allowUrls)?!1:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to not being matched by \`allowUrls\` option. +Event: ${j(K)}. +Url: ${nn(K)}`),!0)}function vn(K,F){return K.type||!F||!F.length?!1:er(K).some(ce=>oe(ce,F))}function Xn(K,F){if(K.type!=="transaction"||!F||!F.length)return!1;const ce=K.transaction;return ce?oe(ce,F):!1}function Vn(K,F){if(!F||!F.length)return!1;const ce=nn(K);return ce?oe(ce,F):!1}function or(K,F){if(!F||!F.length)return!0;const ce=nn(K);return ce?oe(ce,F):!0}function er(K){if(K.message)return[K.message];if(K.exception){const{values:F}=K.exception;try{const{type:ce="",value:Me=""}=F&&F[F.length-1]||{};return[`${Me}`,`${ce}: ${Me}`]}catch(ce){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.error(`Cannot extract message for event ${j(K)}`),[]}}return[]}function Wt(K){try{return K.exception.values[0].type==="SentryError"}catch(F){}return!1}function en(K=[]){for(let F=K.length-1;F>=0;F--){const ce=K[F];if(ce&&ce.filename!==""&&ce.filename!=="[native code]")return ce.filename||null}return null}function nn(K){try{let F;try{F=K.exception.values[0].stacktrace.frames}catch(ce){}return F?en(F):null}catch(F){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.error(`Cannot extract url for event ${j(K)}`),null}}let fn;class En{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=En.id}setupOnce(){fn=Function.prototype.toString;try{Function.prototype.toString=function(...F){const ce=le(this)||this;return fn.apply(ce,F)}}catch(F){}}}En.__initStatic();const on=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function pt(K){return K==="http"||K==="https"}function gt(K,F=!1){const{host:ce,path:Me,pass:ze,port:Qe,projectId:St,protocol:At,publicKey:Yt}=K;return`${At}://${Yt}${F&&ze?`:${ze}`:""}@${ce}${Qe?`:${Qe}`:""}/${Me&&`${Me}/`}${St}`}function Xt(K){const F=on.exec(K);if(!F){console.error(`Invalid Sentry Dsn: ${K}`);return}const[ce,Me,ze="",Qe,St="",At]=F.slice(1);let Yt="",ln=At;const Hn=ln.split("/");if(Hn.length>1&&(Yt=Hn.slice(0,-1).join("/"),ln=Hn.pop()),ln){const Dn=ln.match(/^\d+/);Dn&&(ln=Dn[0])}return rn({host:Qe,pass:ze,path:Yt,projectId:ln,port:St,protocol:ce,publicKey:Me})}function rn(K){return{protocol:K.protocol,publicKey:K.publicKey||"",pass:K.pass||"",host:K.host,port:K.port||"",path:K.path||"",projectId:K.projectId}}function Jt(K){if(!(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__))return!0;const{port:F,projectId:ce,protocol:Me}=K;return["protocol","publicKey","host","projectId"].find(St=>K[St]?!1:(A.error(`Invalid Sentry Dsn: ${St} missing`),!0))?!1:ce.match(/^\d+$/)?pt(Me)?F&&isNaN(parseInt(F,10))?(A.error(`Invalid Sentry Dsn: Invalid port ${F}`),!1):!0:(A.error(`Invalid Sentry Dsn: Invalid protocol ${Me}`),!1):(A.error(`Invalid Sentry Dsn: Invalid projectId ${ce}`),!1)}function pn(K){const F=typeof K=="string"?Xt(K):rn(K);if(!(!F||!Jt(F)))return F}const mn="7";function Zn(K){const F=K.protocol?`${K.protocol}:`:"",ce=K.port?`:${K.port}`:"";return`${F}//${K.host}${ce}${K.path?`/${K.path}`:""}/api/`}function tr(K){return`${Zn(K)}${K.projectId}/envelope/`}function ut(K,F){return urlEncode(Wa({sentry_key:K.publicKey,sentry_version:mn},F&&{sentry_client:`${F.name}/${F.version}`}))}function ct(K,F={}){const ce=typeof F=="string"?F:F.tunnel,Me=typeof F=="string"||!F._metadata?void 0:F._metadata.sdk;return ce||`${tr(K)}?${ut(K,Me)}`}function Dt(K,F){const ce=pn(K);if(!ce)return"";const Me=`${Zn(ce)}embed/error-page/`;let ze=`dsn=${gt(ce)}`;for(const Qe in F)if(Qe!=="dsn")if(Qe==="user"){const St=F.user;if(!St)continue;St.name&&(ze+=`&name=${encodeURIComponent(St.name)}`),St.email&&(ze+=`&email=${encodeURIComponent(St.email)}`)}else ze+=`&${encodeURIComponent(Qe)}=${encodeURIComponent(F[Qe])}`;return`${Me}?${ze}`}function xt(K,F){return zt().captureException(K,{captureContext:F})}function kt(K,F){const ce=typeof F=="string"?F:void 0,Me=typeof F!="string"?{captureContext:F}:void 0;return getCurrentHub().captureMessage(K,ce,Me)}function sn(K,F){return getCurrentHub().captureEvent(K,F)}function tn(K){getCurrentHub().configureScope(K)}function xn(K){getCurrentHub().addBreadcrumb(K)}function Nn(K,F){getCurrentHub().setContext(K,F)}function gr(K){getCurrentHub().setExtras(K)}function nr(K,F){getCurrentHub().setExtra(K,F)}function Rn(K){getCurrentHub().setTags(K)}function kr(K,F){getCurrentHub().setTag(K,F)}function fr(K){getCurrentHub().setUser(K)}function ua(K){zt().withScope(K)}function Pr(K,F){return getCurrentHub().startTransaction(Wa({},K),F)}function Bn(K,F){const ce=getCurrentHub(),Me=ce.getScope(),ze=ce.getClient();if(!ze)(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&logger.warn("Cannot capture check-in. No client defined.");else if(!ze.captureCheckIn)(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&logger.warn("Cannot capture check-in. Client does not support sending check-ins.");else return ze.captureCheckIn(K,F,Me);return uuid4()}function Cn(K){return xf(this,null,function*(){const F=getCurrentHub().getClient();return F?F.flush(K):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&logger.warn("Cannot flush events. No client defined."),Promise.resolve(!1))})}function wn(K){return xf(this,null,function*(){const F=getCurrentHub().getClient();return F?F.close(K):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&logger.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))})}function ar(){return getCurrentHub().lastEventId()}const mr=Z.n2;let Qr=0;function qr(){return Qr>0}function ya(){Qr++,setTimeout(()=>{Qr--})}function dr(K,F={},ce){if(typeof K!="function")return K;try{const ze=K.__sentry_wrapped__;if(ze)return ze;if(le(K))return K}catch(ze){return K}const Me=function(){const ze=Array.prototype.slice.call(arguments);try{ce&&typeof ce=="function"&&ce.apply(this,arguments);const Qe=ze.map(St=>dr(St,F));return K.apply(this,Qe)}catch(Qe){throw ya(),ua(St=>{St.addEventProcessor(At=>(F.mechanism&&(G(At,void 0,void 0),W(At,F.mechanism)),At.extra=Qs(Wa({},At.extra),{arguments:ze}),At)),xt(Qe)}),Qe}};try{for(const ze in K)Object.prototype.hasOwnProperty.call(K,ze)&&(Me[ze]=K[ze])}catch(ze){}Ee(Me,K),ue(K,"__sentry_wrapped__",Me);try{Object.getOwnPropertyDescriptor(Me,"name").configurable&&Object.defineProperty(Me,"name",{get(){return K.name}})}catch(ze){}return Me}const Br=50,Ea=/\(error: (.*)\)/,ca=/captureMessage|captureException/;function Kn(...K){const F=K.sort((ce,Me)=>ce[0]-Me[0]).map(ce=>ce[1]);return(ce,Me=0)=>{const ze=[],Qe=ce.split(` +`);for(let St=Me;St1024)continue;const Yt=Ea.test(At)?At.replace(Ea,"$1"):At;if(!Yt.match(/\S*Error: /)){for(const ln of F){const Hn=ln(Yt);if(Hn){ze.push(Hn);break}}if(ze.length>=Br)break}}return vr(ze)}}function zn(K){return Array.isArray(K)?Kn(...K):K}function vr(K){if(!K.length)return[];const F=Array.from(K);return/sentryWrapped/.test(F[F.length-1].function||"")&&F.pop(),F.reverse(),ca.test(F[F.length-1].function||"")&&(F.pop(),ca.test(F[F.length-1].function||"")&&F.pop()),F.slice(0,Br).map(ce=>Qs(Wa({},ce),{filename:ce.filename||F[F.length-1].filename,function:ce.function||"?"}))}const ra="";function xr(K){try{return!K||typeof K!="function"?ra:K.name||ra}catch(F){return ra}}function jt(K){return[90,node(K)]}const an=(0,Z.Rf)();function hn(){try{return new ErrorEvent(""),!0}catch(K){return!1}}function ao(){try{return new DOMError(""),!0}catch(K){return!1}}function Mo(){try{return new DOMException(""),!0}catch(K){return!1}}function Ua(){if(!("fetch"in an))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(K){return!1}}function Ha(K){return K&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(K.toString())}function eo(){if(!Ua())return!1;if(Ha(an.fetch))return!0;let K=!1;const F=an.document;if(F&&typeof F.createElement=="function")try{const ce=F.createElement("iframe");ce.hidden=!0,F.head.appendChild(ce),ce.contentWindow&&ce.contentWindow.fetch&&(K=Ha(ce.contentWindow.fetch)),F.head.removeChild(ce)}catch(ce){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",ce)}return K}function jo(){return"ReportingObserver"in an}function Wo(){if(!Ua())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(K){return!1}}const Eo=(0,Z.Rf)();function ft(){const K=Eo.chrome,F=K&&K.app&&K.app.runtime,ce="history"in Eo&&!!Eo.history.pushState&&!!Eo.history.replaceState;return!F&&ce}const Nt=(0,Z.Rf)(),Ie="__sentry_xhr_v2__",cn={},dn={};function _n(K){if(!dn[K])switch(dn[K]=!0,K){case"console":Wr();break;case"dom":Gn();break;case"xhr":Ir();break;case"fetch":Da();break;case"history":pa();break;case"error":Hr();break;case"unhandledrejection":sr();break;default:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn("unknown instrumentation type:",K);return}}function Tn(K,F){cn[K]=cn[K]||[],cn[K].push(F),_n(K)}function yr(K,F){if(!(!K||!cn[K]))for(const ce of cn[K]||[])try{ce(F)}catch(Me){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.error(`Error while triggering instrumentation handler. +Type: ${K} +Name: ${xr(ce)} +Error:`,Me)}}function Wr(){"console"in Nt&&O.forEach(function(K){K in Nt.console&&q(Nt.console,K,function(F){return function(...ce){yr("console",{args:ce,level:K}),F&&F.apply(Nt.console,ce)}})})}function Da(){eo()&&q(Nt,"fetch",function(K){return function(...F){const{method:ce,url:Me}=oa(F),ze={args:F,fetchData:{method:ce,url:Me},startTimestamp:Date.now()};return yr("fetch",Wa({},ze)),K.apply(Nt,F).then(Qe=>(yr("fetch",Qs(Wa({},ze),{endTimestamp:Date.now(),response:Qe})),Qe),Qe=>{throw yr("fetch",Qs(Wa({},ze),{endTimestamp:Date.now(),error:Qe})),Qe})}})}function la(K,F){return!!K&&typeof K=="object"&&!!K[F]}function ea(K){return typeof K=="string"?K:K?la(K,"url")?K.url:K.toString?K.toString():"":""}function oa(K){if(K.length===0)return{method:"GET",url:""};if(K.length===2){const[ce,Me]=K;return{url:ea(ce),method:la(Me,"method")?String(Me.method).toUpperCase():"GET"}}const F=K[0];return{url:ea(F),method:la(F,"method")?String(F.method).toUpperCase():"GET"}}function Ir(){if(!("XMLHttpRequest"in Nt))return;const K=XMLHttpRequest.prototype;q(K,"open",function(F){return function(...ce){const Me=ce[1],ze=this[Ie]={method:qe(ce[0])?ce[0].toUpperCase():ce[0],url:ce[1],request_headers:{}};qe(Me)&&ze.method==="POST"&&Me.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const Qe=()=>{const St=this[Ie];if(St&&this.readyState===4){try{St.status_code=this.status}catch(At){}yr("xhr",{args:ce,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?q(this,"onreadystatechange",function(St){return function(...At){return Qe(),St.apply(this,At)}}):this.addEventListener("readystatechange",Qe),q(this,"setRequestHeader",function(St){return function(...At){const[Yt,ln]=At,Hn=this[Ie];return Hn&&(Hn.request_headers[Yt.toLowerCase()]=ln),St.apply(this,At)}}),F.apply(this,ce)}}),q(K,"send",function(F){return function(...ce){const Me=this[Ie];return Me&&ce[0]!==void 0&&(Me.body=ce[0]),yr("xhr",{args:ce,startTimestamp:Date.now(),xhr:this}),F.apply(this,ce)}})}let $r;function pa(){if(!ft())return;const K=Nt.onpopstate;Nt.onpopstate=function(...ce){const Me=Nt.location.href,ze=$r;if($r=Me,yr("history",{from:ze,to:Me}),K)try{return K.apply(this,ce)}catch(Qe){}};function F(ce){return function(...Me){const ze=Me.length>2?Me[2]:void 0;if(ze){const Qe=$r,St=String(ze);$r=St,yr("history",{from:Qe,to:St})}return ce.apply(this,Me)}}q(Nt.history,"pushState",F),q(Nt.history,"replaceState",F)}const La=1e3;let lo,Qa;function Gt(K,F){if(!K||K.type!==F.type)return!0;try{if(K.target!==F.target)return!0}catch(ce){}return!1}function yn(K){if(K.type!=="keypress")return!1;try{const F=K.target;if(!F||!F.tagName)return!0;if(F.tagName==="INPUT"||F.tagName==="TEXTAREA"||F.isContentEditable)return!1}catch(F){}return!0}function jn(K,F=!1){return ce=>{if(!ce||Qa===ce||yn(ce))return;const Me=ce.type==="keypress"?"input":ce.type;lo===void 0?(K({event:ce,name:Me,global:F}),Qa=ce):Gt(Qa,ce)&&(K({event:ce,name:Me,global:F}),Qa=ce),clearTimeout(lo),lo=Nt.setTimeout(()=>{lo=void 0},La)}}function Gn(){if(!("document"in Nt))return;const K=yr.bind(null,"dom"),F=jn(K,!0);Nt.document.addEventListener("click",F,!1),Nt.document.addEventListener("keypress",F,!1),["EventTarget","Node"].forEach(ce=>{const Me=Nt[ce]&&Nt[ce].prototype;!Me||!Me.hasOwnProperty||!Me.hasOwnProperty("addEventListener")||(q(Me,"addEventListener",function(ze){return function(Qe,St,At){if(Qe==="click"||Qe=="keypress")try{const Yt=this,ln=Yt.__sentry_instrumentation_handlers__=Yt.__sentry_instrumentation_handlers__||{},Hn=ln[Qe]=ln[Qe]||{refCount:0};if(!Hn.handler){const Dn=jn(K);Hn.handler=Dn,ze.call(this,Qe,Dn,At)}Hn.refCount++}catch(Yt){}return ze.call(this,Qe,St,At)}}),q(Me,"removeEventListener",function(ze){return function(Qe,St,At){if(Qe==="click"||Qe=="keypress")try{const Yt=this,ln=Yt.__sentry_instrumentation_handlers__||{},Hn=ln[Qe];Hn&&(Hn.refCount--,Hn.refCount<=0&&(ze.call(this,Qe,Hn.handler,At),Hn.handler=void 0,delete ln[Qe]),Object.keys(ln).length===0&&delete Yt.__sentry_instrumentation_handlers__)}catch(Yt){}return ze.call(this,Qe,St,At)}}))})}let br=null;function Hr(){br=Nt.onerror,Nt.onerror=function(K,F,ce,Me,ze){return yr("error",{column:Me,error:ze,line:ce,msg:K,url:F}),br&&!br.__SENTRY_LOADER__?br.apply(this,arguments):!1},Nt.onerror.__SENTRY_INSTRUMENTED__=!0}let ta=null;function sr(){ta=Nt.onunhandledrejection,Nt.onunhandledrejection=function(K){return yr("unhandledrejection",K),ta&&!ta.__SENTRY_LOADER__?ta.apply(this,arguments):!0},Nt.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function zr(){const K=typeof WeakSet=="function",F=K?new WeakSet:[];function ce(ze){if(K)return F.has(ze)?!0:(F.add(ze),!1);for(let Qe=0;Qece?Sr(K,F-1,ce):Me}function xa(K,F,ce=1/0,Me=1/0,ze=zr()){const[Qe,St]=ze;if(F==null||["number","boolean","string"].includes(typeof F)&&!ot(F))return F;const At=Xa(K,F);if(!At.startsWith("[object "))return At;if(F.__sentry_skip_normalization__)return F;const Yt=typeof F.__sentry_override_normalization_depth__=="number"?F.__sentry_override_normalization_depth__:ce;if(Yt===0)return At.replace("object ","");if(Qe(F))return"[Circular ~]";const ln=F;if(ln&&typeof ln.toJSON=="function")try{const Kr=ln.toJSON();return xa("",Kr,Yt-1,Me,ze)}catch(Kr){}const Hn=Array.isArray(F)?[]:{};let Dn=0;const qn=Ae(F);for(const Kr in qn){if(!Object.prototype.hasOwnProperty.call(qn,Kr))continue;if(Dn>=Me){Hn[Kr]="[MaxProperties ~]";break}const na=qn[Kr];Hn[Kr]=xa(Kr,na,Yt-1,Me,ze),Dn++}return St(F),Hn}function Xa(K,F){try{if(K==="domain"&&F&&typeof F=="object"&&F._events)return"[Domain]";if(K==="domainEmitter")return"[DomainEmitter]";if(typeof e.g!="undefined"&&F===e.g)return"[Global]";if(typeof window!="undefined"&&F===window)return"[Window]";if(typeof document!="undefined"&&F===document)return"[Document]";if(Ve(F))return"[SyntheticEvent]";if(typeof F=="number"&&F!==F)return"[NaN]";if(typeof F=="function")return`[Function: ${xr(F)}]`;if(typeof F=="symbol")return`[${String(F)}]`;if(typeof F=="bigint")return`[BigInt: ${String(F)}]`;const ce=bo(F);return/^HTML(\w*)Element$/.test(ce)?`[HTMLElement: ${ce}]`:`[object ${ce}]`}catch(ce){return`**non-serializable** (${ce})`}}function bo(K){const F=Object.getPrototypeOf(K);return F?F.constructor.name:"null prototype"}function Oo(K){return~-encodeURI(K).split(/%..|./).length}function Va(K){return Oo(JSON.stringify(K))}function xo(K,F){const ce=_a(K,F),Me={type:F&&F.name,value:ni(F)};return ce.length&&(Me.stacktrace={frames:ce}),Me.type===void 0&&Me.value===""&&(Me.value="Unrecoverable error caught"),Me}function io(K,F,ce,Me){const Qe=zt().getClient(),St=Qe&&Qe.getOptions().normalizeDepth,At={exception:{values:[{type:Ct(F)?F.constructor.name:Me?"UnhandledRejection":"Error",value:li(F,{isUnhandledRejection:Me})}]},extra:{__serialized__:Sr(F,St)}};if(ce){const Yt=_a(K,ce);Yt.length&&(At.exception.values[0].stacktrace={frames:Yt})}return At}function Ca(K,F){return{exception:{values:[xo(K,F)]}}}function _a(K,F){const ce=F.stacktrace||F.stack||"",Me=Yo(F);try{return K(ce,Me)}catch(ze){}return[]}const Io=/Minified React error #\d+;/i;function Yo(K){if(K){if(typeof K.framesToPop=="number")return K.framesToPop;if(Io.test(K.message))return 1}return 0}function ni(K){const F=K&&K.message;return F?F.error&&typeof F.error.message=="string"?F.error.message:F:"No error message"}function co(K,F,ce,Me){const ze=ce&&ce.syntheticException||void 0,Qe=ai(K,F,ze,Me);return addExceptionMechanism(Qe),Qe.level="error",ce&&ce.event_id&&(Qe.event_id=ce.event_id),resolvedSyncPromise(Qe)}function Mi(K,F,ce="info",Me,ze){const Qe=Me&&Me.syntheticException||void 0,St=Po(K,F,Qe,ze);return St.level=ce,Me&&Me.event_id&&(St.event_id=Me.event_id),resolvedSyncPromise(St)}function ai(K,F,ce,Me,ze){let Qe;if(be(F)&&F.error)return Ca(K,F.error);if(Pe(F)||Je(F)){const St=F;if("stack"in F)Qe=Ca(K,F);else{const At=St.name||(Pe(St)?"DOMError":"DOMException"),Yt=St.message?`${At}: ${St.message}`:At;Qe=Po(K,Yt,ce,Me),G(Qe,Yt)}return"code"in St&&(Qe.tags=Qs(Wa({},Qe.tags),{"DOMException.code":`${St.code}`})),Qe}return me(F)?Ca(K,F):mt(F)||Ct(F)?(Qe=io(K,F,ce,ze),W(Qe,{synthetic:!0}),Qe):(Qe=Po(K,F,ce,Me),G(Qe,`${F}`,void 0),W(Qe,{synthetic:!0}),Qe)}function Po(K,F,ce,Me){const ze={message:F};if(Me&&ce){const Qe=_a(K,ce);Qe.length&&(ze.exception={values:[{value:F,stacktrace:{frames:Qe}}]})}return ze}function li(K,{isUnhandledRejection:F}){const ce=st(K),Me=F?"promise rejection":"exception";return be(K)?`Event \`ErrorEvent\` captured as ${Me} with message \`${K.message}\``:Ct(K)?`Event \`${Pi(K)}\` (type=${K.type}) captured as ${Me}`:`Object captured as ${Me} with keys: ${ce}`}function Pi(K){try{const F=Object.getPrototypeOf(K);return F?F.constructor.name:void 0}catch(F){}}class hi{static __initStatic(){this.id="GlobalHandlers"}constructor(F){this.name=hi.id,this._options=Wa({onerror:!0,onunhandledrejection:!0},F),this._installFunc={onerror:yi,onunhandledrejection:Zi}}setupOnce(){Error.stackTraceLimit=50;const F=this._options;for(const ce in F){const Me=this._installFunc[ce];Me&&F[ce]&&(ri(ce),Me(),this._installFunc[ce]=void 0)}}}hi.__initStatic();function yi(){Tn("error",K=>{const[F,ce,Me]=No();if(!F.getIntegration(hi))return;const{msg:ze,url:Qe,line:St,column:At,error:Yt}=K;if(qr()||Yt&&Yt.__sentry_own_request__)return;const ln=Yt===void 0&&qe(ze)?oo(ze,Qe,St,At):Ja(ai(ce,Yt||ze,void 0,Me,!1),Qe,St,At);ln.level="error",oi(F,Yt,ln,"onerror")})}function Zi(){Tn("unhandledrejection",K=>{const[F,ce,Me]=No();if(!F.getIntegration(hi))return;let ze=K;try{"reason"in K?ze=K.reason:"detail"in K&&"reason"in K.detail&&(ze=K.detail.reason)}catch(St){}if(qr()||ze&&ze.__sentry_own_request__)return!0;const Qe=Xe(ze)?ji(ze):ai(ce,ze,void 0,Me,!0);Qe.level="error",oi(F,ze,Qe,"onunhandledrejection")})}function ji(K){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(K)}`}]}}}function oo(K,F,ce,Me){const ze=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let Qe=be(K)?K.message:K,St="Error";const At=Qe.match(ze);return At&&(St=At[1],Qe=At[2]),Ja({exception:{values:[{type:St,value:Qe}]}},F,ce,Me)}function Ja(K,F,ce,Me){const ze=K.exception=K.exception||{},Qe=ze.values=ze.values||[],St=Qe[0]=Qe[0]||{},At=St.stacktrace=St.stacktrace||{},Yt=At.frames=At.frames||[],ln=isNaN(parseInt(Me,10))?void 0:Me,Hn=isNaN(parseInt(ce,10))?void 0:ce,Dn=qe(F)&&F.length>0?F:pe();return Yt.length===0&&Yt.push({colno:ln,filename:Dn,function:"?",in_app:!0,lineno:Hn}),K}function ri(K){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.log(`Global Handler attached: ${K}`)}function oi(K,F,ce,Me){W(ce,{handled:!1,type:Me}),K.captureEvent(ce,{originalException:F})}function No(){const K=zt(),F=K.getClient(),ce=F&&F.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[K,ce.stackParser,ce.attachStacktrace]}const zo=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class xi{static __initStatic(){this.id="TryCatch"}constructor(F){this.name=xi.id,this._options=Wa({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},F)}setupOnce(){this._options.setTimeout&&q(mr,"setTimeout",Ui),this._options.setInterval&&q(mr,"setInterval",Ui),this._options.requestAnimationFrame&&q(mr,"requestAnimationFrame",ki),this._options.XMLHttpRequest&&"XMLHttpRequest"in mr&&q(XMLHttpRequest.prototype,"send",Ts);const F=this._options.eventTarget;F&&(Array.isArray(F)?F:zo).forEach(fs)}}xi.__initStatic();function Ui(K){return function(...F){const ce=F[0];return F[0]=dr(ce,{mechanism:{data:{function:xr(K)},handled:!0,type:"instrument"}}),K.apply(this,F)}}function ki(K){return function(F){return K.apply(this,[dr(F,{mechanism:{data:{function:"requestAnimationFrame",handler:xr(K)},handled:!0,type:"instrument"}})])}}function Ts(K){return function(...F){const ce=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(ze=>{ze in ce&&typeof ce[ze]=="function"&&q(ce,ze,function(Qe){const St={mechanism:{data:{function:ze,handler:xr(Qe)},handled:!0,type:"instrument"}},At=le(Qe);return At&&(St.mechanism.data.handler=xr(At)),dr(Qe,St)})}),K.apply(this,F)}}function fs(K){const F=mr,ce=F[K]&&F[K].prototype;!ce||!ce.hasOwnProperty||!ce.hasOwnProperty("addEventListener")||(q(ce,"addEventListener",function(Me){return function(ze,Qe,St){try{typeof Qe.handleEvent=="function"&&(Qe.handleEvent=dr(Qe.handleEvent,{mechanism:{data:{function:"handleEvent",handler:xr(Qe),target:K},handled:!0,type:"instrument"}}))}catch(At){}return Me.apply(this,[ze,dr(Qe,{mechanism:{data:{function:"addEventListener",handler:xr(Qe),target:K},handled:!0,type:"instrument"}}),St])}}),q(ce,"removeEventListener",function(Me){return function(ze,Qe,St){const At=Qe;try{const Yt=At&&At.__sentry_wrapped__;Yt&&Me.call(this,ze,Yt,St)}catch(Yt){}return Me.call(this,ze,At,St)}}))}const Xs=["fatal","error","warning","log","info","debug"];function zl(K){return kn(K)}function kn(K){return K==="warn"?"warning":Xs.includes(K)?K:"log"}function _r(K){if(!K)return{};const F=K.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!F)return{};const ce=F[6]||"",Me=F[8]||"";return{host:F[4],path:F[5],protocol:F[2],search:ce,hash:Me,relative:F[5]+ce+Me}}function Dr(K){return K.split(/[\?#]/,1)[0]}function Zr(K){return K.split(/\\?\//).filter(F=>F.length>0&&F!==",").length}function sa(K){const{protocol:F,host:ce,path:Me}=K,ze=ce&&ce.replace(/^.*@/,"[filtered]:[filtered]@").replace(":80","").replace(":443","")||"";return`${F?`${F}://`:""}${ze}${Me}`}const ja=1024,Fa="Breadcrumbs";class Na{static __initStatic(){this.id=Fa}constructor(F){this.name=Na.id,this.options=Wa({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},F)}setupOnce(){this.options.console&&Tn("console",Vo),this.options.dom&&Tn("dom",Bo(this.options.dom)),this.options.xhr&&Tn("xhr",Go),this.options.fetch&&Tn("fetch",Bi),this.options.history&&Tn("history",ps)}addSentryBreadcrumb(F){this.options.sentry&&zt().addBreadcrumb({category:`sentry.${F.type==="transaction"?"transaction":"event"}`,event_id:F.event_id,level:F.level,message:j(F)},{event:F})}}Na.__initStatic();function Bo(K){function F(ce){let Me,ze=typeof K=="object"?K.serializeAttribute:void 0,Qe=typeof K=="object"&&typeof K.maxStringLength=="number"?K.maxStringLength:void 0;Qe&&Qe>ja&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`\`dom.maxStringLength\` cannot exceed ${ja}, but a value of ${Qe} was configured. Sentry will use ${ja} instead.`),Qe=ja),typeof ze=="string"&&(ze=[ze]);try{const St=ce.event;Me=es(St)?ge(St.target,{keyAttrs:ze,maxStringLength:Qe}):ge(St,{keyAttrs:ze,maxStringLength:Qe})}catch(St){Me=""}Me.length!==0&&zt().addBreadcrumb({category:`ui.${ce.name}`,message:Me},{event:ce.event,name:ce.name,global:ce.global})}return F}function Vo(K){for(let ce=0;ce0?Qe.exception.values[Qe.exception.values.length-1]:void 0;At&&(Qe.exception.values=Il(ss(K,F,ze,St.originalException,Me,Qe.exception.values,At,0),ce))}function ss(K,F,ce,Me,ze,Qe,St,At){if(Qe.length>=ce+1)return Qe;let Yt=[...Qe];if(Ke(Me[ze],Error)){qo(St,At);const ln=K(F,Me[ze]),Hn=Yt.length;Fl(ln,ze,Hn,At),Yt=ss(K,F,ce,Me[ze],ze,[ln,...Yt],ln,Hn)}return Array.isArray(Me.errors)&&Me.errors.forEach((ln,Hn)=>{if(Ke(ln,Error)){qo(St,At);const Dn=K(F,ln),qn=Yt.length;Fl(Dn,`errors[${Hn}]`,qn,At),Yt=ss(K,F,ce,ln,ze,[Dn,...Yt],Dn,qn)}}),Yt}function qo(K,F){K.mechanism=K.mechanism||{type:"generic",handled:!0},K.mechanism=Qs(Wa({},K.mechanism),{is_exception_group:!0,exception_id:F})}function Fl(K,F,ce,Me){K.mechanism=K.mechanism||{type:"generic",handled:!0},K.mechanism=Qs(Wa({},K.mechanism),{type:"chained",source:F,exception_id:ce,parent_id:Me})}function Il(K,F){return K.map(ce=>(ce.value&&(ce.value=xe(ce.value,F)),ce))}const Al="cause",vu=5;class cl{static __initStatic(){this.id="LinkedErrors"}constructor(F={}){this.name=cl.id,this._key=F.key||Al,this._limit=F.limit||vu}setupOnce(F,ce){F((Me,ze)=>{const Qe=ce(),St=Qe.getClient(),At=Qe.getIntegration(cl);if(!St||!At)return Me;const Yt=St.getOptions();return $s(xo,Yt.stackParser,Yt.maxValueLength,At._key,At._limit,Me,ze),Me})}}cl.__initStatic();class dl{static __initStatic(){this.id="HttpContext"}constructor(){this.name=dl.id}setupOnce(){dt(F=>{if(zt().getIntegration(dl)){if(!mr.navigator&&!mr.location&&!mr.document)return F;const ce=F.request&&F.request.url||mr.location&&mr.location.href,{referrer:Me}=mr.document||{},{userAgent:ze}=mr.navigator||{},Qe=Wa(Wa(Wa({},F.request&&F.request.headers),Me&&{Referer:Me}),ze&&{"User-Agent":ze}),St=Qs(Wa(Wa({},F.request),ce&&{url:ce}),{headers:Qe});return Qs(Wa({},F),{request:St})}return F})}}dl.__initStatic();class Zs{static __initStatic(){this.id="Dedupe"}constructor(){this.name=Zs.id}setupOnce(F,ce){const Me=ze=>{if(ze.type)return ze;const Qe=ce().getIntegration(Zs);if(Qe){try{if(Js(ze,Qe._previousEvent))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(St){return Qe._previousEvent=ze}return Qe._previousEvent=ze}return ze};Me.id=this.name,F(Me)}}Zs.__initStatic();function Js(K,F){return F?!!(fl(K,F)||gu(K,F)):!1}function fl(K,F){const ce=K.message,Me=F.message;return!(!ce&&!Me||ce&&!Me||!ce&&Me||ce!==Me||!hs(K,F)||!vs(K,F))}function gu(K,F){const ce=Us(F),Me=Us(K);return!(!ce||!Me||ce.type!==Me.type||ce.value!==Me.value||!hs(K,F)||!vs(K,F))}function vs(K,F){let ce=ks(K),Me=ks(F);if(!ce&&!Me)return!0;if(ce&&!Me||!ce&&Me||(ce=ce,Me=Me,Me.length!==ce.length))return!1;for(let ze=0;ze{F===void 0||F===ce||Uo(getCurrentHub())}))}function fa(K){const F=getCurrentHub().getClient();F&&F.captureUserFeedback(K)}var vl=e(10063);const Bl="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/errorboundary.tsx";function qs(K){const F=K.match(/^([^.]+)/);return F!==null&&parseInt(F[0])>=17}const Ql="unknown",$l={componentStack:null,error:null,eventId:null};function wo(K,F){const ce=new WeakMap;function Me(ze,Qe){if(!ce.has(ze)){if(ze.cause)return ce.set(ze,!0),Me(ze.cause,Qe);ze.cause=Qe}}Me(K,F)}class Si extends x.Component{constructor(F){super(F),Si.prototype.__init.call(this),this.state=$l,this._openFallbackReportDialog=!0;const ce=zt().getClient();ce&&ce.on&&F.showDialog&&(this._openFallbackReportDialog=!1,ce.on("afterSendEvent",Me=>{!Me.type&&Me.event_id===this._lastEventId&&ys(Qs(Wa({},F.dialogOptions),{eventId:this._lastEventId}))}))}componentDidCatch(F,{componentStack:ce}){const{beforeCapture:Me,onError:ze,showDialog:Qe,dialogOptions:St}=this.props;ua(At=>{if(qs(x.version)&&me(F)){const ln=new Error(F.message);ln.name=`React ErrorBoundary ${ln.name}`,ln.stack=ce,wo(F,ln)}Me&&Me(At,F,ce);const Yt=xt(F,{contexts:{react:{componentStack:ce}}});ze&&ze(F,ce,Yt),Qe&&(this._lastEventId=Yt,this._openFallbackReportDialog&&ys(Qs(Wa({},St),{eventId:Yt}))),this.setState({error:F,componentStack:ce,eventId:Yt})})}componentDidMount(){const{onMount:F}=this.props;F&&F()}componentWillUnmount(){const{error:F,componentStack:ce,eventId:Me}=this.state,{onUnmount:ze}=this.props;ze&&ze(F,ce,Me)}__init(){this.resetErrorBoundary=()=>{const{onReset:F}=this.props,{error:ce,componentStack:Me,eventId:ze}=this.state;F&&F(ce,Me,ze),this.setState($l)}}render(){const{fallback:F,children:ce}=this.props,Me=this.state;if(Me.error){let ze;return typeof F=="function"?ze=F({error:Me.error,componentStack:Me.componentStack,resetError:this.resetErrorBoundary,eventId:Me.eventId}):ze=F,x.isValidElement(ze)?ze:(F&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn("fallback did not produce a valid ReactElement"),null)}return typeof ce=="function"?ce():ce}}function Sc(K,F){const ce=K.displayName||K.name||Ql,Me=ze=>React.createElement(Si,Qs(Wa({},F),{__self:this,__source:{fileName:Bl,lineNumber:227}}),React.createElement(K,Qs(Wa({},ze),{__self:this,__source:{fileName:Bl,lineNumber:228}})));return Me.displayName=`errorBoundary(${ce})`,hoistNonReactStatics(Me,K),Me}var dc=e(51830),qa=e(76180),as=e(53357),el={200:"requestConfig.success.msg",401:"requestConfig.unAuth.msg",403:"requestConfig.permissionDenied.msg",429:"errCode.TokenExceedsRateLimit",500:"requestConfig.responseStatus.msg"},za={101:"requestConfig.errorContent.msg",200001:"errCode.PartialSuccessBatchAssignLeaders",200002:"errCode.PartialSuccessBatchAssignWorkers",4e5:"errCode.BadRequest",400001:"errCode.ParameterMissing",400002:"errCode.ParameterIsInvalid",400050:"errCode.AnnotationNotListOfObj",400051:"errCode.AnnotationMissingCatName",400052:"errCode.AnnotationMissingBBox",400053:"errCode.AnnotationBBoxFormatError",400054:"errCode.AnnotationFormatError",400100:"errCode.FlagGroupsNotListOfObj",400101:"errCode.FlagObjectMissingFlag",400102:"errCode.FlagObjectFlagValueInvalid",400103:"errCode.FlagObjectMissingIDs",400104:"errCode.FlagObjectIDsNotList",400150:"errCode.LabelSetNameInvalid",400151:"errCode.LabelSetNameConflicts",400200:"errCode.UserNotFoundForLabelProject",400201:"errCode.UserNotActiveForLabelProject",400202:"errCode.DatasetNotFoundForLabelProject",400203:"errCode.LabelTaskNotFoundForLabelProject",400204:"errCode.CreateLabelProjectRequireManager",400205:"errCode.CreateLabelProjectRequireDataset",400206:"errCode.CreateLabelProjectRequireCategory",400207:"errCode.CreateLabelProjectDatasetOccupied",400208:"errCode.EditLabelProjectRequireManager",400209:"errCode.InitLabelProjectMustBeWaiting",400210:"errCode.InitLabelProjectTaskConfigError",400211:"errCode.QALabelProjectActionError",400212:"errCode.QALabelProjectMustBeReviewing",400213:"errCode.ExportLabelProjectMustBeAccepted",400214:"errCode.LeaderIDIsRequired",400215:"errCode.LabelerIDIsRequired",400216:"errCode.LabelProjectRoleIsNotTaskLevel",400217:"errCode.CantReplaceRoleWithTheSameUser",400218:"errCode.OldUserDoesNotHaveTheTaskRole",400219:"errCode.NewUserAlreadyHaveTheTaskRole",400220:"errCode.CantTransferRoleBetweenDifferentTask",400221:"errCode.CantTransferRoleToDifferentKind",400222:"errCode.RestartLabelTaskMustBeRejected",400223:"errCode.QALabelTaskActionError",400224:"errCode.AcceptLabelTaskMustBeReviewing",400225:"errCode.RejectLabelTaskMustBeReviewing",400226:"errCode.ForceAcceptLabelTaskMustBeRejected",400227:"errCode.LabelAnnotationMissingFields",400228:"errCode.LabelAnnotationFieldValueInvalid",400229:"errCode.LabelImageRequireTaskStatusWorking",400230:"errCode.LabelImageRequireUnfinishedReviewing",400231:"errCode.ReviewImageRequireTaskStatusWorking",400232:"errCode.ReviewImageRequireFinishedLabeling",400233:"errCode.ReviewImageTargetLabelNotFound",400234:"errCode.ReviewImageFoundExistedReview",400235:"errCode.CantDeleteAllOwnersOfLabelProject",400236:"errCode.NumOfTaskLeaderMismatchesConfig",400237:"errCode.TaskDoesNotRequireReviewer",400238:"errCode.NumOfTaskLabelerMismatchesConfig",400239:"errCode.NumOfTaskReviewerMismatchesConfig",400240:"errCode.TryInitRoleForTaskWithActiveRoles",400241:"errCode.TaskRoleNotOfLeaderKind",401e3:"errCode.Unauthorized",401001:"requestConfig.unAuth.msg",403e3:"errCode.Forbidden",403001:"requestConfig.permissionDenied.msg",403050:"errCode.UserAuthenticationFailed",403051:"errCode.UserCantViewLabelProjectTask",403052:"errCode.UserCantViewLabelProjectRole",403053:"errCode.UserCantCreateLabelProject",403054:"errCode.UserCantViewLabelProject",403055:"errCode.UserCantEditLabelProject",403056:"errCode.UserCantInitLabelProject",403057:"errCode.UserCantQALabelProject",403058:"errCode.UserCantExportLabelProject",403059:"errCode.UserCantAssignLabelTaskLeader",403060:"errCode.UserCantAssignLabelTaskWorker",403061:"errCode.UserCantRestartLabelTask",403062:"errCode.UserCantQALabelTask",403063:"errCode.UserCantLabelTaskImage",403064:"errCode.UserCantReviewTaskImage",404e3:"errCode.NotFound",404050:"errCode.DatasetNotFound",404051:"errCode.DatasetNotReadable",404052:"errCode.DatasetMissingEmbdFile",404053:"errCode.DatasetImageNotFound",404054:"errCode.DatasetHasNoFNFPData",404055:"errCode.DatasetLabelNotFound",404056:"errCode.DatasetFNFPPrecisionNotFound",404100:"errCode.ReRankByFlagTaskNotFound",404150:"errCode.LabelProjectNotFound",404151:"errCode.LabelProjectRoleNotFound",404152:"errCode.LabelProjectTaskNotFound",404153:"errCode.LabelTaskImageNotFound",429002:"errCode.TokenExceedsRateLimit",5e5:"errCode.InternalError",500001:"errCode.FailedToCloneLabelSet"},iu=function(F,ce){return F&&za[F]?(0,as._w)(za[F]):ce&&el[ce]?(0,as._w)(el[ce]):(0,as._w)("requestConfig.errorData.msg",{code:"".concat(ce).concat(F?"-".concat(F):"")})},Yi=e(35667);function Zl(){return Dl.apply(this,arguments)}function Dl(){return Dl=w()(g()().mark(function K(){return g()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return document.addEventListener("wheel",function(Me){(Me.ctrlKey||Me.detail)&&Me.preventDefault()},{capture:!1,passive:!1}),document.addEventListener("keydown",function(Me){(Me.ctrlKey===!0||Me.metaKey===!0)&&(Me.keyCode===61||Me.keyCode===107||Me.keyCode===173||Me.keyCode===109||Me.keyCode===187||Me.keyCode===189)&&Me.preventDefault()},!1),T.ZP.config({duration:1.5,maxCount:2}),ce.abrupt("return",{name:"@umijs/max"});case 4:case"end":return ce.stop()}},K)})),Dl.apply(this,arguments)}var Xl=function(){return{pure:!0,title:(0,as._w)("layout.title")}};function Ul(K){var F={showDialog:!0,fallback:function(Me){return(0,Yi.jsx)(dc.xA,h()({},Me))}};return x.createElement(Si,F,K)}var fc={baseURL:"",timeout:1e5,headers:{"Content-Type":"application/json"},errorConfig:{errorHandler:function(F,ce){var Me;if(!/^2/.test(F.status)&&!(ce!=null&&ce.skipErrorHandler)&&(((Me=F.response)===null||Me===void 0?void 0:Me.status)===401&&(N.history.push("/"),localStorage.removeItem(qa.Uf.AUTH_TOKEN)),!(ce!=null&&ce.hideCodeErrorMsg)))if(F.response){var ze;T.ZP.error(iu((ze=F.response.data)===null||ze===void 0?void 0:ze.code,F.response.status))}else F.request?T.ZP.error((0,as._w)("requestConfig.noResponse.msg")):T.ZP.error((0,as._w)("requestConfig.requestError.msg"))}},requestInterceptors:[function(K){if(K.params&&(K.params=U().decamelizeKeys(K.params)),K.data&&(K.data=U().decamelizeKeys(K.data)),K.headers){var F,ce;if((F=K.url)!==null&&F!==void 0&&F.includes("https://api.deepdataspace.com"))K.headers.Token="dds-tool-free";else if(((ce=K.url)===null||ce===void 0?void 0:ce.indexOf("http"))!==0){var Me=localStorage.getItem(qa.Uf.AUTH_TOKEN);Me&&(K.headers.Token=Me)}}return h()({},K)}],responseInterceptors:[function(K){var F;if(((F=K.data)===null||F===void 0?void 0:F.code)===0){var ce;return K.data=U().camelizeKeys(((ce=K.data)===null||ce===void 0?void 0:ce.data)||{}),K}else{var Me;if(!((Me=K.config)!==null&&Me!==void 0&&Me.hideCodeErrorMsg)){var ze;T.ZP.error(iu((ze=K.data)===null||ze===void 0?void 0:ze.code,200))}throw K}}]},Ou=e(7862),$o=e.n(Ou),Du=e(81690),su=e.n(Du),As=e(21700),tl=e.n(As),gl=e(31236),Zt=e.n(gl);function Ii(){return Ii=Object.assign||function(K){for(var F=1;F=0||(ze[ce]=K[ce]);return ze}var po={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},pu={rel:["amphtml","canonical","alternate"]},hu={type:["application/ld+json"]},bs={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ml=Object.keys(po).map(function(K){return po[K]}),Ei={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Di=Object.keys(Ei).reduce(function(K,F){return K[Ei[F]]=F,K},{}),ls=function(K,F){for(var ce=K.length-1;ce>=0;ce-=1){var Me=K[ce];if(Object.prototype.hasOwnProperty.call(Me,F))return Me[F]}return null},us=function(K){var F=ls(K,po.TITLE),ce=ls(K,"titleTemplate");if(Array.isArray(F)&&(F=F.join("")),ce&&F)return ce.replace(/%s/g,function(){return F});var Me=ls(K,"defaultTitle");return F||Me||void 0},ho=function(K){return ls(K,"onChangeClientState")||function(){}},nl=function(K,F){return F.filter(function(ce){return ce[K]!==void 0}).map(function(ce){return ce[K]}).reduce(function(ce,Me){return Ii({},ce,Me)},{})},yu=function(K,F){return F.filter(function(ce){return ce[po.BASE]!==void 0}).map(function(ce){return ce[po.BASE]}).reverse().reduce(function(ce,Me){if(!ce.length)for(var ze=Object.keys(Me),Qe=0;Qe/g,">").replace(/"/g,""").replace(/'/g,"'")},Ds=function(K){return Object.keys(K).reduce(function(F,ce){var Me=K[ce]!==void 0?ce+'="'+K[ce]+'"':""+ce;return F?F+" "+Me:Me},"")},bu=function(K,F){return F===void 0&&(F={}),Object.keys(K).reduce(function(ce,Me){return ce[Ei[Me]||Me]=K[Me],ce},F)},Ws=function(K,F){return F.map(function(ce,Me){var ze,Qe=((ze={key:Me})["data-rh"]=!0,ze);return Object.keys(ce).forEach(function(St){var At=Ei[St]||St;At==="innerHTML"||At==="cssText"?Qe.dangerouslySetInnerHTML={__html:ce.innerHTML||ce.cssText}:Qe[At]=ce[St]}),x.createElement(K,Qe)})},ha=function(K,F,ce){switch(K){case po.TITLE:return{toComponent:function(){return ze=F.titleAttributes,(Qe={key:Me=F.title})["data-rh"]=!0,St=bu(ze,Qe),[x.createElement(po.TITLE,St,Me)];var Me,ze,Qe,St},toString:function(){return function(Me,ze,Qe,St){var At=Ds(Qe),Yt=wu(ze);return At?"<"+Me+' data-rh="true" '+At+">"+Os(Yt,St)+"":"<"+Me+' data-rh="true">'+Os(Yt,St)+""}(K,F.title,F.titleAttributes,ce)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return bu(F)},toString:function(){return Ds(F)}};default:return{toComponent:function(){return Ws(K,F)},toString:function(){return function(Me,ze,Qe){return ze.reduce(function(St,At){var Yt=Object.keys(At).filter(function(Dn){return!(Dn==="innerHTML"||Dn==="cssText")}).reduce(function(Dn,qn){var Kr=At[qn]===void 0?qn:qn+'="'+Os(At[qn],Qe)+'"';return Dn?Dn+" "+Kr:Kr},""),ln=At.innerHTML||At.cssText||"",Hn=al.indexOf(Me)===-1;return St+"<"+Me+' data-rh="true" '+Yt+(Hn?"/>":">"+ln+"")},"")}(K,F,ce)}}}},rt=function(K){var F=K.baseTag,ce=K.bodyAttributes,Me=K.encode,ze=K.htmlAttributes,Qe=K.noscriptTags,St=K.styleTags,At=K.title,Yt=At===void 0?"":At,ln=K.titleAttributes,Hn=K.linkTags,Dn=K.metaTags,qn=K.scriptTags,Kr={toComponent:function(){},toString:function(){return""}};if(K.prioritizeSeoTags){var na=function(Or){var ba=Or.linkTags,Pa=Or.scriptTags,Za=Or.encode,to=rl(Or.metaTags,bs),Ra=rl(ba,pu),Aa=rl(Pa,hu);return{priorityMethods:{toComponent:function(){return[].concat(Ws(po.META,to.priority),Ws(po.LINK,Ra.priority),Ws(po.SCRIPT,Aa.priority))},toString:function(){return ha(po.META,to.priority,Za)+" "+ha(po.LINK,Ra.priority,Za)+" "+ha(po.SCRIPT,Aa.priority,Za)}},metaTags:to.default,linkTags:Ra.default,scriptTags:Aa.default}}(K);Kr=na.priorityMethods,Hn=na.linkTags,Dn=na.metaTags,qn=na.scriptTags}return{priority:Kr,base:ha(po.BASE,F,Me),bodyAttributes:ha("bodyAttributes",ce,Me),htmlAttributes:ha("htmlAttributes",ze,Me),link:ha(po.LINK,Hn,Me),meta:ha(po.META,Dn,Me),noscript:ha(po.NOSCRIPT,Qe,Me),script:ha(po.SCRIPT,qn,Me),style:ha(po.STYLE,St,Me),title:ha(po.TITLE,{title:Yt,titleAttributes:ln},Me)}},Vt=[],Wn=function(K,F){var ce=this;F===void 0&&(F=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(Me){ce.context.helmet=Me},helmetInstances:{get:function(){return ce.canUseDOM?Vt:ce.instances},add:function(Me){(ce.canUseDOM?Vt:ce.instances).push(Me)},remove:function(Me){var ze=(ce.canUseDOM?Vt:ce.instances).indexOf(Me);(ce.canUseDOM?Vt:ce.instances).splice(ze,1)}}},this.context=K,this.canUseDOM=F,F||(K.helmet=rt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},cr=x.createContext({}),wa=$o().shape({setHelmet:$o().func,helmetInstances:$o().shape({get:$o().func,add:$o().func,remove:$o().func})}),go=typeof document!="undefined",di=function(K){function F(ce){var Me;return(Me=K.call(this,ce)||this).helmetData=new Wn(Me.props.context,F.canUseDOM),Me}return Jl(F,K),F.prototype.render=function(){return x.createElement(cr.Provider,{value:this.helmetData.value},this.props.children)},F}(x.Component);di.canUseDOM=go,di.propTypes={context:$o().shape({helmet:$o().shape()}),children:$o().node.isRequired},di.defaultProps={context:{}},di.displayName="HelmetProvider";var Zo=function(K,F){var ce,Me=document.head||document.querySelector(po.HEAD),ze=Me.querySelectorAll(K+"[data-rh]"),Qe=[].slice.call(ze),St=[];return F&&F.length&&F.forEach(function(At){var Yt=document.createElement(K);for(var ln in At)Object.prototype.hasOwnProperty.call(At,ln)&&(ln==="innerHTML"?Yt.innerHTML=At.innerHTML:ln==="cssText"?Yt.styleSheet?Yt.styleSheet.cssText=At.cssText:Yt.appendChild(document.createTextNode(At.cssText)):Yt.setAttribute(ln,At[ln]===void 0?"":At[ln]));Yt.setAttribute("data-rh","true"),Qe.some(function(Hn,Dn){return ce=Dn,Yt.isEqualNode(Hn)})?Qe.splice(ce,1):St.push(Yt)}),Qe.forEach(function(At){return At.parentNode.removeChild(At)}),St.forEach(function(At){return Me.appendChild(At)}),{oldTags:Qe,newTags:St}},os=function(K,F){var ce=document.getElementsByTagName(K)[0];if(ce){for(var Me=ce.getAttribute("data-rh"),ze=Me?Me.split(","):[],Qe=[].concat(ze),St=Object.keys(F),At=0;At=0;Dn-=1)ce.removeAttribute(Qe[Dn]);ze.length===Qe.length?ce.removeAttribute("data-rh"):ce.getAttribute("data-rh")!==St.join(",")&&ce.setAttribute("data-rh",St.join(","))}},ui=function(K,F){var ce=K.baseTag,Me=K.htmlAttributes,ze=K.linkTags,Qe=K.metaTags,St=K.noscriptTags,At=K.onChangeClientState,Yt=K.scriptTags,ln=K.styleTags,Hn=K.title,Dn=K.titleAttributes;os(po.BODY,K.bodyAttributes),os(po.HTML,Me),function(Or,ba){Or!==void 0&&document.title!==Or&&(document.title=wu(Or)),os(po.TITLE,ba)}(Hn,Dn);var qn={baseTag:Zo(po.BASE,ce),linkTags:Zo(po.LINK,ze),metaTags:Zo(po.META,Qe),noscriptTags:Zo(po.NOSCRIPT,St),scriptTags:Zo(po.SCRIPT,Yt),styleTags:Zo(po.STYLE,ln)},Kr={},na={};Object.keys(qn).forEach(function(Or){var ba=qn[Or],Pa=ba.newTags,Za=ba.oldTags;Pa.length&&(Kr[Or]=Pa),Za.length&&(na[Or]=qn[Or].oldTags)}),F&&F(),At(K,Kr,na)},fi=null,Ao=function(K){function F(){for(var Me,ze=arguments.length,Qe=new Array(ze),St=0;St elements are self-closing and can not contain children. Refer to our API for more information.")}},ce.flattenArrayTypeChildren=function(Me){var ze,Qe=Me.child,St=Me.arrayTypeChildren;return Ii({},St,((ze={})[Qe.type]=[].concat(St[Qe.type]||[],[Ii({},Me.newChildProps,this.mapNestedChildrenToProps(Qe,Me.nestedChildren))]),ze))},ce.mapObjectTypeChildren=function(Me){var ze,Qe,St=Me.child,At=Me.newProps,Yt=Me.newChildProps,ln=Me.nestedChildren;switch(St.type){case po.TITLE:return Ii({},At,((ze={})[St.type]=ln,ze.titleAttributes=Ii({},Yt),ze));case po.BODY:return Ii({},At,{bodyAttributes:Ii({},Yt)});case po.HTML:return Ii({},At,{htmlAttributes:Ii({},Yt)});default:return Ii({},At,((Qe={})[St.type]=Ii({},Yt),Qe))}},ce.mapArrayTypeChildrenToProps=function(Me,ze){var Qe=Ii({},ze);return Object.keys(Me).forEach(function(St){var At;Qe=Ii({},Qe,((At={})[St]=Me[St],At))}),Qe},ce.warnOnInvalidChildren=function(Me,ze){return tl()(ml.some(function(Qe){return Me.type===Qe}),typeof Me.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ml.join(", ")+" are allowed. Helmet does not support rendering <"+Me.type+"> elements. Refer to our API for more information."),tl()(!ze||typeof ze=="string"||Array.isArray(ze)&&!ze.some(function(Qe){return typeof Qe!="string"}),"Helmet expects a string as a child of <"+Me.type+">. Did you forget to wrap your children in braces? ( <"+Me.type+">{``} ) Refer to our API for more information."),!0},ce.mapChildrenToProps=function(Me,ze){var Qe=this,St={};return x.Children.forEach(Me,function(At){if(At&&At.props){var Yt=At.props,ln=Yt.children,Hn=Ko(Yt,To),Dn=Object.keys(Hn).reduce(function(Kr,na){return Kr[Di[na]||na]=Hn[na],Kr},{}),qn=At.type;switch(typeof qn=="symbol"?qn=qn.toString():Qe.warnOnInvalidChildren(At,ln),qn){case po.FRAGMENT:ze=Qe.mapChildrenToProps(ln,ze);break;case po.LINK:case po.META:case po.NOSCRIPT:case po.SCRIPT:case po.STYLE:St=Qe.flattenArrayTypeChildren({child:At,arrayTypeChildren:St,newChildProps:Dn,nestedChildren:ln});break;default:ze=Qe.mapObjectTypeChildren({child:At,newProps:ze,newChildProps:Dn,nestedChildren:ln})}}}),this.mapArrayTypeChildrenToProps(St,ze)},ce.render=function(){var Me=this.props,ze=Me.children,Qe=Ko(Me,Hi),St=Ii({},Qe),At=Qe.helmetData;return ze&&(St=this.mapChildrenToProps(ze,St)),!At||At instanceof Wn||(At=new Wn(At.context,At.instances)),At?x.createElement(Ao,Ii({},St,{context:At.value,helmetData:void 0})):x.createElement(cr.Consumer,null,function(Yt){return x.createElement(Ao,Ii({},St,{context:Yt}))})},F}(x.Component);Ms.propTypes={base:$o().object,bodyAttributes:$o().object,children:$o().oneOfType([$o().arrayOf($o().node),$o().node]),defaultTitle:$o().string,defer:$o().bool,encodeSpecialCharacters:$o().bool,htmlAttributes:$o().object,link:$o().arrayOf($o().object),meta:$o().arrayOf($o().object),noscript:$o().arrayOf($o().object),onChangeClientState:$o().func,script:$o().arrayOf($o().object),style:$o().arrayOf($o().object),title:$o().string,titleAttributes:$o().object,titleTemplate:$o().string,prioritizeSeoTags:$o().bool,helmetData:$o().object},Ms.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Ms.displayName="Helmet";var uu={},ql=function(F){return x.createElement(di,{context:uu},F)},Ss=e(96662);function Mu(K){var F={};return(0,Yi.jsx)(Ss.J.Provider,{value:F,children:K.children})}function eu(K){return(0,Yi.jsx)(Mu,{children:K})}var Es=e(62376),Lc=e.n(Es),rc=e(62109),Hs=e(65388),jl=e(42505),tu=["appConfig"],ju=null,Ec=function(){return ju||(ju=Xr().applyPlugins({key:"antd",type:N.ApplyPluginsType.modify,initialValue:h()({},{theme:{token:{colorLink:"#1e53f5",colorPrimary:"#1e53f5"}}})})),ju};function Pu(K){var F=Ec(),ce=F.appConfig,Me=Lc()(F,tu),ze=K;return Me.prefixCls&&(rc.Z.config({rootPrefixCls:Me.prefixCls}),T.ZP.config({prefixCls:"".concat(Me.prefixCls,"-message")}),Hs.Z.config({prefixCls:"".concat(Me.prefixCls,"-notification")})),Me.iconPrefixCls&&jl.ZP.config({iconPrefixCls:Me.iconPrefixCls}),Me.theme&&jl.ZP.config({theme:Me.theme}),ze=(0,Yi.jsx)(jl.ZP,h()(h()({},Me),{},{children:ze})),ze}var Tu=e(47338);function Su(){return(0,Yi.jsx)("div",{})}function ts(K){var F=x.useRef(!1),ce=(0,Tu.t)("@@initialState")||{},Me=ce.loading,ze=Me===void 0?!1:Me;return x.useEffect(function(){ze||(F.current=!0)},[ze]),ze&&!F.current?(0,Yi.jsx)(Su,{}):K.children}function Lu(K){return(0,Yi.jsx)(ts,{children:K})}var ws={};function Vi(K){return K.replace(K[0],K[0].toUpperCase()).replace(/-(w)/g,function(F,ce){return ce.toUpperCase()})}function Ns(K){var F=K.routes;Object.keys(F).forEach(function(ce){var Me=F[ce].icon;if(Me&&typeof Me=="string"){var ze=Vi(Me);(ws[ze]||ws[ze+"Outlined"])&&(F[ce].icon=x.createElement(ws[ze]||ws[ze+"Outlined"]))}})}var pl=e(88205),ei=e.n(pl),cu=e(6901),cs=e.n(cu),ac=e(85417),_s=e(16221);function hl(){var K=getLocale();if(moment!=null&&moment.locale){var F;moment.locale(((F=localeInfo[K])===null||F===void 0?void 0:F.momentLocale)||"")}setIntl(K)}var Ys=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,vi=function(F){var ce,Me=(0,_s.Kd)(),ze=x.useState(Me),Qe=ei()(ze,2),St=Qe[0],At=Qe[1],Yt=x.useState(function(){return(0,_s.lw)(St,!0)}),ln=ei()(Yt,2),Hn=ln[0],Dn=ln[1],qn=function(ba){if(cs()!==null&&cs()!==void 0&&cs().locale){var Pa;cs().locale(((Pa=_s.H8[ba])===null||Pa===void 0?void 0:Pa.momentLocale)||"en")}At(ba),Dn((0,_s.lw)(ba))};Ys(function(){return _s.B.on(_s.PZ,qn),function(){_s.B.off(_s.PZ,qn)}},[]);var Kr={},na=(0,_s.Mg)();return(0,Yi.jsx)(jl.ZP,{direction:na,locale:((ce=_s.H8[St])===null||ce===void 0?void 0:ce.antd)||Kr,children:(0,Yi.jsx)(_s.eU,{value:Hn,children:F.children})})};function js(K){return x.createElement(vi,null,K)}var Nu=e(34485),Wu=e.n(Nu),yl=e(65246),Eu=e(7986);function Ru(K,F){return nu.apply(this,arguments)}function nu(){return nu=w()(g()().mark(function K(F,ce){return g()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.abrupt("return",(0,N.request)("/api/v1/datasets",h()({method:"GET",params:F},ce||{})));case 1:case"end":return ze.stop()}},K)})),nu.apply(this,arguments)}function bl(K,F){return kl.apply(this,arguments)}function kl(){return kl=w()(g()().mark(function K(F,ce){return g()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.abrupt("return",(0,N.request)("/api/v1/datasets/".concat(F.datasetId),h()({method:"GET"},ce||{})));case 1:case"end":return ze.stop()}},K)})),kl.apply(this,arguments)}function ii(K,F){return $.apply(this,arguments)}function $(){return $=w()(g()().mark(function K(F,ce){return g()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.abrupt("return",(0,N.request)("/api/v1/images",h()({method:"GET",params:F},ce||{})));case 1:case"end":return ze.stop()}},K)})),$.apply(this,arguments)}function fe(K,F){return Ue.apply(this,arguments)}function Ue(){return Ue=w()(g()().mark(function K(F,ce){return g()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.abrupt("return",(0,N.request)("/api/v1/image_flags",h()({method:"POST",data:h()({},F)},ce||{})));case 1:case"end":return ze.stop()}},K)})),Ue.apply(this,arguments)}function at(K,F){return Rt.apply(this,arguments)}function Rt(){return Rt=w()(g()().mark(function K(F,ce){return g()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.abrupt("return",(0,N.request)("/api/v1/tasks/rerank_by_flags",h()({method:"POST",data:h()({},F)},ce||{})));case 1:case"end":return ze.stop()}},K)})),Rt.apply(this,arguments)}function On(K,F){return Tr.apply(this,arguments)}function Tr(){return Tr=w()(g()().mark(function K(F,ce){return g()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.abrupt("return",(0,N.request)("/api/v1/tasks/".concat(F.name,"/").concat(F.id),h()({method:"GET"},ce||{})));case 1:case"end":return ze.stop()}},K)})),Tr.apply(this,arguments)}function fo(K,F){return Ro.apply(this,arguments)}function Ro(){return Ro=_asyncToGenerator(_regeneratorRuntime().mark(function K(F,ce){return _regeneratorRuntime().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.abrupt("return",request("/api/v1/annotations",_objectSpread({method:"POST",data:_objectSpread({},F)},ce||{})));case 1:case"end":return ze.stop()}},K)})),Ro.apply(this,arguments)}function gi(K,F){return Gi.apply(this,arguments)}function Gi(){return Gi=w()(g()().mark(function K(F,ce){return g()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.abrupt("return",(0,N.request)("/api/v1/comparisons",h()({method:"GET",params:F},ce||{})));case 1:case"end":return ze.stop()}},K)})),Gi.apply(this,arguments)}function ol(K,F){return Ml.apply(this,arguments)}function Ml(){return Ml=_asyncToGenerator(_regeneratorRuntime().mark(function K(F,ce){return _regeneratorRuntime().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.abrupt("return",request("/api/v1/label_clone",_objectSpread({method:"POST",data:_objectSpread({},F)},ce||{})));case 1:case"end":return ze.stop()}},K)})),Ml.apply(this,arguments)}var oc=e(74595),Ki={categoryId:"All",displayAnnotationType:void 0,displayOptions:[qa.zY.showAnnotations,qa.zY.showAllCategory],selectedLabelIds:[],diffMode:qa.uP.Overlay},zu={datasetId:"",datasetName:"",page:1,pageSize:qa.L8,cloumnCount:5,isSingleAnnotation:!1,previewIndex:-1,filterValues:h()({},Ki),comparisons:void 0,flagTools:void 0},Cc={imgList:[],total:0,flagTools:{lastShiftIndex:-1,lastSavedIndexs:[],count:0}},Hu=h()(h()({},Cc),{},{screenLoading:"",hasEmbedFile:!1,filters:{categories:[],annotationTypes:[],displayOptions:qa.EX,labels:[]}}),_u=e(39378),Yu=function(){var K,F,ce,Me=(0,yl.x)(h()({},zu)),ze=ei()(Me,2),Qe=ze[0],St=ze[1],At=(0,yl.x)(h()({},Hu)),Yt=ei()(At,2),ln=Yt[0],Hn=Yt[1],Dn=Qe.filterValues,qn=Qe.comparisons,Kr=ln.filters,na=function(uo){St(function(vo){Object.assign(vo,zu,uo)})},Or=function(){},ba=(0,Eu.Z)(function(_o){if(!Qe.datasetId)throw null;return bl({datasetId:Qe.datasetId})},{refreshDeps:[Qe.datasetId],onSuccess:function(uo,vo){var Qi=uo.categoryList,Ai=uo.labelList,$i=uo.objectTypes,Ga=vo.length>0?vo[0]:qa.$j.gt,Ri=$i.filter(function(ko){return ko!==qa.JJ.Classification}),Oa=Qe.filterValues.displayAnnotationType&&Ri.find(function(ko){return ko===Qe.filterValues.displayAnnotationType});Hn(function(ko){var Ci=Oa||Ri[0],Ti=(0,oc.B8)(Qe.filterValues.displayOptions,Ci),ns=ei()(Ti,2),Cs=ns[0],Cl=ns[1];ko.filters.categories=[{id:"All",name:"All"}].concat(Wu()(Qi)),ko.filters.annotationTypes=Ri,ko.filters.displayOptions=Cs,Oa||St(function(Xi){Xi.filterValues.displayOptions=Cl,Xi.filterValues.displayAnnotationType=Ci}),Qe.filterValues.categoryId||St(function(Xi){Xi.filterValues.categoryId="All"}),Ai&&Ai.length&&(ko.filters.labels=Ai.map(function(Xi){return Xi.confidenceRange=Xi.source===qa.$j.pred?[.2,1]:[0,1],Xi.source===Ga&&!Oa&&St(function(ru){ru.filterValues.selectedLabelIds=[Xi.id]}),Xi}))})},onError:function(){}},[function(_o){return{onBefore:function(){var vo;return{loading:!(!((vo=_o.state.params)===null||vo===void 0)&&vo.length)}}}}]),Pa=ba.loading,Za=ba.runAsync,to=(0,Eu.Z)(function(){var _o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!Qe.datasetId||!Qe.filterValues.categoryId)throw null;_o||(Hn(function(Qi){Object.assign(Qi,Cc)}),window.scrollTo(0,0));var uo=Qe.filterValues.categoryId==="All"?void 0:Qe.filterValues.categoryId,vo={datasetId:Qe.datasetId,categoryId:uo,pageNum:Qe.page,pageSize:Qe.pageSize};return Qe.comparisons?gi(h()(h()({},vo),{},{labelId:Qe.comparisons.label.id,precision:Qe.comparisons.precision,orderBy:Qe.comparisons.orderBy,displayCategoryId:uo})):(Qe.flagTools&&Qe.flagTools.flagStatus>=0&&Object.assign(vo,{flag:Qe.flagTools.flagStatus}),ii(vo))},{debounceWait:20,refreshDeps:[Qe.datasetId,Qe.filterValues.categoryId,Qe.page,Qe.pageSize,(K=Qe.comparisons)===null||K===void 0?void 0:K.precision,(F=Qe.comparisons)===null||F===void 0?void 0:F.orderBy,(ce=Qe.flagTools)===null||ce===void 0?void 0:ce.flagStatus],onSuccess:function(uo){Hn(function(vo){vo.imgList=uo.imageList,vo.total=uo.total})},onError:function(){}},[function(_o){return{onBefore:function(){var vo;return{loading:!(!((vo=_o.state.params)===null||vo===void 0)&&vo.length)}}}}]),Ra=to.loading,Aa=to.run,Ho=function(uo){St(function(vo){vo.previewIndex=uo})},Ba=function(){St(function(uo){uo.previewIndex=-1})},ka=Pa||Ra,no=(0,x.useMemo)(function(){if(qn){var _o=[],uo=Kr.labels.find(function(vo){return vo.source===qa.$j.gt});return(qn.displays.includes(qa.$j.gt)||qn.displays.includes(qa.BP.fn))&&uo&&_o.push(uo.id),(qn.displays.includes(qa.$j.pred)||qn.displays.includes(qa.BP.fp))&&_o.push(qn.label.id),_o}return Dn.selectedLabelIds},[qn,Dn.selectedLabelIds,Kr.labels]),ci=(0,x.useMemo)(function(){return no.length>1&&(Dn.displayAnnotationType===qa.JJ.Matting||(qn?qn.diffMode===qa.uP.Tiled:Dn.diffMode===qa.uP.Tiled))},[qn,Dn.diffMode,no]),ti=(0,x.useMemo)(function(){var _o={};return Object.keys(qa.zY).forEach(function(uo){var vo;_o[uo]=!!(!((vo=Dn.displayOptions)===null||vo===void 0)&&vo.find(function(Qi){return Qi===uo}))}),_o},[Qe.filterValues.displayOptions]),mo=(0,x.useCallback)(function(_o){var uo=Wu()(_o.objects)||[],vo=Qe.comparisons,Qi={labels:ln.filters.labels,displayLabelIds:no,isTiledDiff:ci},Ai=Qe.filterValues.displayAnnotationType;if(uo=uo.filter(function(Ga){return Ga.mask&&Ai===qa.JJ.Mask||Ga.alpha&&Ai===qa.JJ.Matting||Ga.points&&Ai===qa.JJ.KeyPoints||Ga.segmentation&&Ai===qa.JJ.Segmentation||Ga.boundingBox&&Ai===qa.JJ.Detection}).map(function(Ga){return h()(h()({},Ga),{},{mask:Ai===qa.JJ.Mask?Ga.mask:void 0,alpha:Ai===qa.JJ.Matting?Ga.alpha:void 0,points:Ai===qa.JJ.KeyPoints?Ga.points:void 0,segmentation:Ai===qa.JJ.Segmentation?Ga.segmentation:void 0,boundingBox:[qa.JJ.Detection,qa.JJ.KeyPoints].includes(Ai)?Ga.boundingBox:void 0})}),vo){var $i=uo.filter(function(Ga){return Ga.source===qa.$j.pred});uo=uo.filter(function(Ga){return(Ga.conf||0)>=vo.score}),uo=uo.map(function(Ga){var Ri=h()({},Ga);if(Ga.source===qa.$j.gt){var Oa=(0,_u.isNumber)(Ga.matchedDetIdx)&&Ga.matchedDetIdx>=0&&uo.includes($i[Ga.matchedDetIdx])?qa.BP.ok:qa.BP.fn;Ri.compareResult=Oa}return Ri}),uo=uo.filter(function(Ga){return Ga.compareResult===qa.BP.ok?Ga.source&&vo.displays.includes(Ga.source):Ga.compareResult&&vo.displays.includes(Ga.compareResult)})}return uo.filter(function(Ga){var Ri=ti.showAnnotations,Oa=ti.showAllCategory,ko=Qe.filterValues.categoryId||"";if(!Ri||!Oa&&Ga.categoryId!==ko||Qi&&Ga.labelId&&!Qi.displayLabelIds.includes(Ga.labelId)||Qi&&Qi.isTiledDiff&&Ga.labelId!==_o.curLabelId)return!1;if(!vo&&Qi){var Ci=Qi.labels.find(function(Ti){return Ti.id===Ga.labelId});return Ci?Ci.source===qa.$j.gt?!0:Ga.conf!==void 0&&Ga.conf>=(Ci==null?void 0:Ci.confidenceRange[0])&&Ga.conf<=(Ci==null?void 0:Ci.confidenceRange[1]):!1}return!0}).map(function(Ga){var Ri=h()({},Ga),Oa=(0,oc.iE)(Ga.labelId,no,ci||!!Qe.comparisons),ko=Oa.colorAplha,Ci=Oa.strokeDash,Ti=Oa.lineWidth;return vo&&Ga.compareResult?Ri.customStyles={pointAplha:ko,strokeDash:Ci,thickness:Ti,fillColor:qa.pB[Ga.compareResult]||"transparent"}:Ri.customStyles={pointAplha:ko,strokeDash:Ci,thickness:Ti},Ri})},[Qe.filterValues.displayAnnotationType,Qe.comparisons,ln.filters.labels,no,ci,ti]);return{pageState:Qe,setPageState:St,pageData:ln,setPageData:Hn,onInitPageState:na,onPageContentLoaded:Or,onPreviewIndexChange:Ho,exitPreview:Ba,loadDatasetInfo:Za,loadImgList:Aa,loading:ka,displayLabelIds:no,isTiledDiff:ci,displayOptionsResult:ti,displayObjectsFilter:mo}},Fu=e(41260),_i=function(){var K=(0,x.useState)(!1),F=ei()(K,2),ce=F[0],Me=F[1],ze=(0,N.useModel)("dataset.common"),Qe=ze.setPageState,St=function(){Me(!0)},At=function(){Me(!1)},Yt=function(qn){Qe(function(Kr){Kr.page=1,Kr.filterValues.displayAnnotationType=qa.JJ.Detection,Kr.flagTools=void 0,Kr.comparisons={label:qn,orderBy:qa.YZ.fn,precision:qn.comparePrecisions[0].precision,displays:qa.G3.map(function(na){return na.value}),diffMode:qa.uP.Overlay,score:(0,Fu.p)(qn.comparePrecisions[0].threshold,2)}})},ln=function(){Qe(function(qn){qn.page=1,qn.comparisons=void 0})},Hn=function(qn,Kr){Qe(function(na){if(na.comparisons&&(na.comparisons[qn]=Kr,qn==="precision")){var Or=na.comparisons.label.comparePrecisions.find(function(ba){return ba.precision===Kr});Or&&(na.comparisons.score=(0,Fu.p)(Or.threshold,2))}})};return{showAnalysisModal:ce,openAnalysisModal:St,closeAnalysisModal:At,compareLabelSet:Yt,exitComparisons:ln,onFilterComparisonsPrecision:Hn}},So=function(){var K=(0,N.useModel)("dataset.common"),F=K.pageState,ce=K.setPageState,Me=K.pageData,ze=K.setPageData,Qe=function(Kr){ce(function(na){na.filterValues.categoryId=Kr,na.page=1})},St=function(Kr){var na;typeof Kr=="number"?na=Kr:Kr?na=F.cloumnCount1?F.cloumnCount-1:F.cloumnCount,ce(function(Or){Or.cloumnCount=na})},At=function(Kr){ce(function(na){na.filterValues.displayOptions=Kr})},Yt=function(Kr){ce(function(na){na.filterValues.selectedLabelIds=Kr.sort(function(Or,ba){return Me.filters.labels.findIndex(function(Pa){return Pa.id===Or})-Me.filters.labels.findIndex(function(Pa){return Pa.id===ba})})})},ln=function(Kr){ce(function(na){na.filterValues.diffMode=Kr})},Hn=function(Kr,na){ze(function(Or){Or.filters.labels[Kr].confidenceRange=na})},Dn=function(Kr){var na=(0,oc.B8)(F.filterValues.displayOptions,Kr),Or=ei()(na,2),ba=Or[0],Pa=Or[1];ze(function(Za){Za.filters.displayOptions=ba}),ce(function(Za){Za.filterValues.displayAnnotationType=Kr,Za.filterValues.displayOptions=Pa})};return{onCategoryChange:Qe,onColumnCountChange:St,onDisplayOptionsChange:At,onDisplayAnnotationTypeChange:Dn,onLabelsChange:Yt,onLabelsDiffModeChange:ln,onLabelConfidenceChange:Hn}},gs=e(2556),vc=function(F){var ce=[],Me=[];return F.forEach(function(ze,Qe){ze.selected&&(ce.push(Qe),Me.push(ze.id))}),{selectIndexs:ce,selectedIds:Me}},du=function(){var K=(0,N.useModel)("dataset.common"),F=K.pageState,ce=K.setPageState,Me=K.pageData,ze=K.setPageData,Qe=K.loadImgList,St=(0,yl.x)(!1),At=ei()(St,2),Yt=At[0],ln=At[1],Hn=function(Ba){ze(function(ka){if(F.flagTools){var no=!ka.imgList[Ba].selected;if(Yt&&ka.flagTools.lastShiftIndex>=0&&Ba!==ka.flagTools.lastShiftIndex){var ci=ka.flagTools.count;ka.imgList.forEach(function(ti,mo){(mo>=ka.flagTools.lastShiftIndex&&mo<=Ba||mo>=Ba&&mo<=ka.flagTools.lastShiftIndex)&&(ci+=ti.selected?0:1,ti.selected=!0)}),ka.flagTools.lastShiftIndex=-1,ka.flagTools.count=ci}else ka.imgList[Ba].selected=no,ka.flagTools.lastShiftIndex=no?Ba:-1,ka.flagTools.count+=no?1:-1}})},Dn=function(){var Ba=Me.flagTools.count!==F.pageSize;ze(function(ka){ka.imgList.forEach(function(no){no.selected=Ba}),ka.flagTools.lastShiftIndex=-1,ka.flagTools.count=Ba?F.pageSize:0})},qn=function(){ze(function(Ba){Ba.imgList.forEach(function(ka){ka.selected=!ka.selected}),Ba.flagTools.lastShiftIndex=-1,Ba.flagTools.count=F.pageSize-Ba.flagTools.count})},Kr=function(){return new Promise(function(Ba){if(!F.flagTools){Ba(null);return}var ka=vc(Me.imgList),no=ka.selectIndexs;if(no.length>0&&(no.length!==Me.flagTools.lastSavedIndexs.length||Me.flagTools.lastSavedIndexs.find(function(ci){return!no.includes(ci)}))){rc.Z.confirm({content:"Now selected items have not been saved, these will lose if you click 'OK', are you sure?",onOk:function(){Ba(null)}});return}Ba(null)})},na=function(Ba){Kr().then(function(){ce(function(ka){ka.page=1,ka.flagTools.flagStatus=Ba})})},Or=function(){ze(function(Ba){Ba.flagTools.lastShiftIndex=-1,Ba.flagTools.lastSavedIndexs=[],Ba.flagTools.count=0}),ce(function(Ba){Ba.page=1,Ba.flagTools={flagStatus:qa.po.all}})},ba=function(){Kr().then(function(){ce(function(Ba){Ba.page=1,Ba.flagTools=void 0})})},Pa=function(){var Ho=w()(g()().mark(function Ba(ka){var no,ci,ti,mo;return g()().wrap(function(uo){for(;;)switch(uo.prev=uo.next){case 0:if(!(Me.flagTools.count<=0)){uo.next=3;break}return T.ZP.warning("No any image to be selected!"),uo.abrupt("return");case 3:return no=vc(Me.imgList),ci=no.selectIndexs,ti=no.selectedIds,mo=T.ZP.loading("Flag saving..."),uo.prev=5,uo.next=8,fe({datasetId:F.datasetId,flagGroups:[{flag:ka,ids:ti}]});case 8:mo(),ze(function(vo){vo.imgList.forEach(function(Qi){Qi.selected&&(Qi.flag=ka)}),vo.flagTools.lastSavedIndexs=ci}),uo.next=17;break;case 12:uo.prev=12,uo.t0=uo.catch(5),console.error("error",uo.t0),mo(),T.ZP.error("Flag save fail, please retry!");case 17:case"end":return uo.stop()}},Ba,null,[[5,12]])}));return function(ka){return Ho.apply(this,arguments)}}(),Za=(0,Eu.Z)(function(Ho){return On(Ho)},{manual:!0,pollingInterval:1e3,pollingWhenHidden:!0,onSuccess:function(Ba){var ka=Ba.status;ka==="success"?(Ra(),T.ZP.success("Order update success!"),ze(function(no){no.screenLoading=""}),ce(function(no){no.page=1}),Qe()):ka==="fail"&&(Ra(),T.ZP.error("Query order task fail, Please retry!"),ze(function(no){no.screenLoading=""}))}}),to=Za.run,Ra=Za.cancel,Aa=function(){var Ho=w()(g()().mark(function Ba(){var ka,no,ci;return g()().wrap(function(mo){for(;;)switch(mo.prev=mo.next){case 0:return mo.prev=0,ze(function(_o){_o.screenLoading="Updating order..."}),mo.next=4,at({datasetId:F.datasetId});case 4:ka=mo.sent,no=ka.id,ci=ka.name,to({id:no,name:ci}),mo.next=14;break;case 10:mo.prev=10,mo.t0=mo.catch(0),console.error("error",mo.t0),ze(function(_o){_o.screenLoading=""});case 14:case"end":return mo.stop()}},Ba,null,[[0,10]])}));return function(){return Ho.apply(this,arguments)}}();return(0,gs.Z)(["Shift"],function(Ho){!F.flagTools||F.previewIndex>=0||ln(Ho.type==="keydown")},{events:["keydown","keyup"]}),(0,gs.Z)(["shift.q","shift.Q","shift.e","shift.E","v","V"],function(Ho){!F.flagTools||F.previewIndex>=0||(["v","V"].includes(Ho.key)&&qn(),["q","Q"].includes(Ho.key)&&Ho.shiftKey&&Pa(qa.po.picked),["e","E"].includes(Ho.key)&&Ho.shiftKey&&Pa(qa.po.rejected))}),{enterFlagTools:Or,exitFlagTools:ba,onChangeFlagStatus:na,selectItem:Hn,changeSelectAll:Dn,antiSelect:qn,limitNoSaveChangePage:Kr,saveFlag:Pa,updateOrder:Aa}},ic=function(){var K=(0,yl.x)({page:1,pageSize:qa.L8}),F=ei()(K,2),ce=F[0],Me=F[1],ze=(0,yl.x)({list:[],total:0}),Qe=ei()(ze,2),St=Qe[0],At=Qe[1],Yt=(0,Eu.Z)(function(Kr,na){return Ru({pageNum:Kr||ce.page,pageSize:na||ce.pageSize})},{manual:!0,debounceWait:100,refreshDeps:[ce.page,ce.pageSize],onSuccess:function(na){var Or=na.datasetList,ba=na.total;At(function(Pa){Pa.list=Or,Pa.total=ba})},onError:function(){}}),ln=Yt.loading,Hn=Yt.run,Dn=function(na){Me(function(Or){Or.page=na}),Hn(na)},qn=function(na,Or){Me(function(ba){ba.page=na,ba.pageSize=Or}),Hn(na,Or)};return{loading:ln,pagination:ce,datasetsData:St,loadDatasets:Hn,setPagination:Me,onPageChange:Dn,onPageSizeChange:qn}},Qc=e(7214),Rs=e(21325),il=!1;(0,Qc.ac)(function(K){il=K});var xc=function(){var K=(0,x.useState)(!1),F=ei()(K,2),ce=F[0],Me=F[1],ze=(0,x.useState)(""),Qe=ei()(ze,2),St=Qe[0],At=Qe[1],Yt=(0,x.useState)(il),ln=ei()(Yt,2),Hn=ln[0],Dn=ln[1],qn=(0,x.useState)(0),Kr=ei()(qn,2),na=Kr[0],Or=Kr[1],ba=(0,x.useState)(window.innerWidth),Pa=ei()(ba,2),Za=Pa[0],to=Pa[1];return(0,x.useEffect)(function(){(0,Qc.ac)(function(Ra){Dn(Ra)})},[]),(0,x.useEffect)(function(){to(window.innerWidth-na)},[na]),(0,Rs.Z)("resize",function(){var Ra=window.innerWidth-na;to(Ra)},{target:window}),{loading:ce,setLoading:Me,loadingTip:St,setLoadingTip:At,isMobile:Hn,fixSliderWidth:na,setFixSliderWidth:Or,layoutInnerWidth:Za}};function gc(K){return Sl.apply(this,arguments)}function Sl(){return Sl=w()(g()().mark(function K(F){return g()().wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Me.abrupt("return",(0,N.request)("/api/v1/user_info",h()({method:"GET",skipErrorHandler:!0},F||{})));case 1:case"end":return Me.stop()}},K)})),Sl.apply(this,arguments)}function El(K,F){return Bu.apply(this,arguments)}function Bu(){return Bu=w()(g()().mark(function K(F,ce){return g()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:return ze.abrupt("return",(0,N.request)("/api/v1/login",h()({method:"POST",data:h()({},F),skipErrorHandler:!0},ce||{})));case 1:case"end":return ze.stop()}},K)})),Bu.apply(this,arguments)}function sl(K){return Pl.apply(this,arguments)}function Pl(){return Pl=w()(g()().mark(function K(F){return g()().wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Me.abrupt("return",(0,N.request)("/api/v1/logout",h()({method:"POST"},F||{})));case 1:case"end":return Me.stop()}},K)})),Pl.apply(this,arguments)}var Ic=function(){var K=(0,N.useModel)("global"),F=K.setLoading,ce=(0,x.useState)(!1),Me=ei()(ce,2),ze=Me[0],Qe=Me[1],St=(0,yl.x)({}),At=ei()(St,2),Yt=At[0],ln=At[1],Hn=function(){return new Promise(function(Or){if(Yt.isLogin){Or(null);return}Qe(!0)})},Dn=function(){var na=w()(g()().mark(function Or(){var ba,Pa,Za,to,Ra,Aa;return g()().wrap(function(Ba){for(;;)switch(Ba.prev=Ba.next){case 0:return Ba.prev=0,ba=localStorage.getItem(qa.Uf.AUTH_TOKEN),Ba.next=4,gc();case 4:Pa=Ba.sent,Za=Pa.id,to=Pa.name,Ra=Pa.status,Aa=Pa.isStaff,ba&&Ra===qa.oC.Active&&ln({isLogin:!0,username:to,userId:Za,token:ba,isStaff:Aa}),Ba.next=16;break;case 12:Ba.prev=12,Ba.t0=Ba.catch(0),console.error("error",Ba.t0),ln({isLogin:!1});case 16:case"end":return Ba.stop()}},Or,null,[[0,12]])}));return function(){return na.apply(this,arguments)}}(),qn=function(){var na=w()(g()().mark(function Or(ba){var Pa,Za,to,Ra,Aa,Ho,Ba,ka,no;return g()().wrap(function(ti){for(;;)switch(ti.prev=ti.next){case 0:return Pa=ba.username,Za=ba.password,to=window.location.pathname,Ra=to.includes("page/login"),F(!0),ti.prev=4,ti.next=7,El({username:Pa,password:Za});case 7:Aa=ti.sent,Ho=Aa.username,Ba=Aa.userId,ka=Aa.token,no=Aa.isStaff,ln({isLogin:!0,username:Ho,token:ka,userId:Ba,isStaff:no}),localStorage.setItem(qa.Uf.AUTH_TOKEN,ka),Ra||Qe(!1),T.ZP.success((0,as._w)("loginSuccess")),ti.next=21;break;case 18:ti.prev=18,ti.t0=ti.catch(4),T.ZP.error((0,as._w)("loginAuthenticationFailed"));case 21:return ti.prev=21,F(!1),ti.finish(21);case 24:case"end":return ti.stop()}},Or,null,[[4,18,21,24]])}));return function(ba){return na.apply(this,arguments)}}(),Kr=function(){var na=w()(g()().mark(function Or(){return g()().wrap(function(Pa){for(;;)switch(Pa.prev=Pa.next){case 0:return Pa.prev=0,Pa.next=3,sl();case 3:ln({isLogin:!1}),T.ZP.success((0,as._w)("logoutSuccess")),localStorage.removeItem(qa.Uf.AUTH_TOKEN),N.history.push("/"),Pa.next=13;break;case 9:Pa.prev=9,Pa.t0=Pa.catch(0),console.error("error",Pa.t0),T.ZP.error((0,as._w)("logoutFailed"));case 13:case"end":return Pa.stop()}},Or,null,[[0,9]])}));return function(){return na.apply(this,arguments)}}();return{user:Yt,setUser:ln,checkLoginStatus:Dn,onLogin:qn,onLogout:Kr,showLoginModal:ze,setShowLoginModal:Qe,limitLoginAction:Hn}},Nc=e(1239),Ac=e(32694),Rc=e(54518),Oc=e(93059),mc=e(45060),Dc=e(16962),Ze=e.n(Dc),ye=e(88479),Te=e.n(ye),An=e(17410),yt=e(67761),Pn=e(46134),Sn=function(F,ce){var Me=function(Hn){return"".concat(F).concat(Hn)},ze=function(Hn){return Hn.startsWith(F)},Qe=function(Hn){var Dn=Hn.substring(F.length),qn=parseInt(Dn);return isNaN(qn)?-1:qn},St=function(Hn){var Dn=Hn.filter(function(qn){return!!qn.id&&ze(qn.id)}).map(function(qn){return Qe(qn.id)});return Dn.length>0?Math.max.apply(Math,Wu()(Dn)):-1},At=St(ce)+1,Yt=function(Hn){return Hn&&ze(Hn)?Qe(Hn):At++};return{getStringItemId:Me,getIntItemId:Yt}},In="user_import_category",Un="user_import_image",ir="user_import_annot",Mr=function(){var K=w()(g()().mark(function F(ce){var Me,ze,Qe,St,At,Yt,ln,Hn,Dn,qn,Kr,na;return g()().wrap(function(ba){for(;;)switch(ba.prev=ba.next){case 0:Me=ce.info,ze=ce.images,Qe=ce.categories,St={info:{},images:[],categories:[],annotations:[]},St.info=h()(h()({},Me),{},{year:new Date().getFullYear(),date_created:new Date().toISOString()}),At=Sn(In,Qe),Yt=At.getIntItemId,ln={},Qe.forEach(function(Pa){var Za=Yt(Pa.id);ln[Pa.name]=Za,St.categories.push({id:Za,name:Pa.name})}),Hn=Sn(Un,ze),Dn=Hn.getIntItemId,qn=Te()(ze),ba.prev=8,na=g()().mark(function Pa(){var Za,to,Ra,Aa;return g()().wrap(function(Ba){for(;;)switch(Ba.prev=Ba.next){case 0:if(Za=Kr.value,to=Dn(Za.id),Ra={width:0,height:0},!(!Za.width||!Za.height)){Ba.next=10;break}return Ba.next=6,(0,mc.pz)(Za.urlFullRes);case 6:Aa=Ba.sent,Ra=Aa,Ba.next=12;break;case 10:Ra.width=Za.width,Ra.height=Za.height;case 12:St.images.push(h()({id:to,file_name:Za.name},Ra)),Za.objects.forEach(function(ka){var no={id:St.annotations.length,image_id:to};if(ln&&ka.categoryName&&ln[ka.categoryName]!==void 0&&(no.category_id=ln[ka.categoryName]),ka.boundingBox){var ci=(0,Pn.cO)(ka.boundingBox,Ra),ti=ci.x,mo=ci.y,_o=ci.width,uo=ci.height,vo=_o*uo,Qi=[ti,mo,_o,uo];Object.assign(no,{area:vo,bbox:Qi})}if(ka.segmentation){var Ai=ka.segmentation.split("/").map(function(Cl){return Cl.split(",").map(function(Xi){return parseFloat(Xi)})}),$i=Ai.reduce(function(Cl,Xi){var ru=(0,Pn.X6)(Xi),Vu=(0,Pn.I4)(ru);return Cl+Vu},0);Object.assign(no,{segmentation:Ai,area:$i})}if(ka.mask){var Ga=(0,yt.ei)(ka.mask.counts||"",Ra,"#fff"),Ri=ka.mask;if(Ga){var Oa=(0,Pn.e4)(Ga),ko=Oa.area;Object.assign(no,{segmentation:Ri,area:ko})}else Object.assign(no,{segmentation:Ri})}if(ka.points&&ka.points.length>0){for(var Ci=ka.points,Ti=[],ns=0,Cs=0;Cs*60&&(ba.categories=ze==null?void 0:ze.map(function(Ra){var Aa=Ra.id,Ho=Ra.name;return{id:Dn(Aa),name:Ho}})),Qe&&Qe.length>0){var Pa=new Map(ba.images.map(function(Ra){return[Ra.name,Ra]}));Qe.forEach(function(Ra){var Aa=Pa.get(Ra.file_name);Aa&&(Aa.id=Kr(Ra.id),Aa.width=Ra.width,Aa.height=Ra.height)})}if(St&&St.length>0){var Za=new Map(Qe.map(function(Ra){return[Ra.id,Ra]})),to=new Map(ba.images.map(function(Ra){return[Ra.id,Ra]}));St.forEach(function(Ra){var Aa=Ra.id,Ho=Ra.image_id,Ba=Ra.category_id,ka=Ra.bbox,no=Ra.segmentation,ci=Ra.keypoints,ti=Ra.num_keypoints,mo=Za.get(Ho),_o=to.get(Kr(Ho));if(mo&&_o){var uo,vo=mo.width,Qi=mo.height,Ai={id:Or(Aa),categoryId:Dn(Ba),categoryName:ze==null||(uo=ze.find(function(ns){return ns.id===Ba}))===null||uo===void 0?void 0:uo.name};if(ka){var $i=ei()(ka,4),Ga=$i[0],Ri=$i[1],Oa=$i[2],ko=$i[3];Object.assign(Ai,{boundingBox:(0,Pn.kq)({x:Ga,y:Ri,width:Oa,height:ko},{width:vo,height:Qi})})}if(no&&(Array.isArray(no)?Object.assign(Ai,{segmentation:no==null?void 0:no.map(function(ns){var Cs;return(Cs=ns.map(function(Cl){return Cl.toString()}))===null||Cs===void 0?void 0:Cs.join(",")}).join("/")}):typeof no.counts=="string"&&Object.assign(Ai,{mask:no})),ci&&ti===An.v_.pointNames.length){for(var Ci=[],Ti=0;Ti*3-1?St:0),N.history.push("/quickstart")},Ci=function(){ce.length<=0||(ka(ce),mo(!1))},Ti=function(){Oa(),mo(!1),At(-1)},ns=(0,x.useCallback)(function(rs){var ms=ce.find(function(zi){return zi.id===Ba[rs].id});return ms&&ms.objects.length>0},[ce,Ba]),Cs=(0,x.useCallback)(function(rs){return ns(rs)?(Hs.Z.error({message:(0,as._w)("quicklabel.formModal.deleteImage.title"),description:(0,as._w)("quicklabel.formModal.deleteImage.desc"),duration:3}),!0):!1},[ns]),Cl=function(){var rs=w()(g()().mark(function ms(){var zi,ds;return g()().wrap(function(xs){for(;;)switch(xs.prev=xs.next){case 0:return xs.next=2,Mr({info:Hn,images:ce,categories:na});case 2:zi=xs.sent,ds=(0,mc.XV)(Date.now(),"Annotations"),(0,mc.Gf)(zi,ds);case 5:case"end":return xs.stop()}},ms)}));return function(){return rs.apply(this,arguments)}}(),Xi=function(ms){var zi=ms.file,ds=ms.fileList;if(!(ds.length===0||!ds[0].originFileObj)){var Tl=new FileReader;Tl.readAsText(ds[0].originFileObj),Tl.onload=function(xs){var Wl,Vs=JSON.parse((Wl=xs.target)===null||Wl===void 0?void 0:Wl.result),Cu=Ln(Vs);Cu.success?(Qi([zi]),Ri(Vs)):T.ZP.error(Cu.message)}}},ru=function(ms){var zi=vo.findIndex(function(ds){return ds.uid===ms.uid});vo.splice(zi,1),Qi(Wu()(vo)),Ri(da)},Vu=function(ms){to(ms),At(-1)},zc=function(){to(null),At(-1)};return{qsModalVisible:ti,setQsModalVisible:mo,uploadFiles:Ba,setUploadFiles:ka,images:ce,setImages:Me,filterImages:Ra,onClickQuickstart:ko,onCancelUploadFiles:Ci,onConfirmUploadFiles:Ti,limitRemoveFile:Cs,current:St,setCurrent:At,categories:na,setCategories:Or,filterCategoryName:Za,setFilterCategoryName:to,exportAnnotations:Cl,uploadPreAnnot:vo,onChangePreAnnotFile:Xi,onRemovePreAnnotFile:ru,onSelectFilterCategory:Vu,onClearFilterCategory:zc}},Yn=function(){return Rr()},lr=function(){var K=(0,N.useModel)("dataset.common"),F=K.pageState,ce=K.setPageState,Me=K.setPageData,ze=function(Dn){ce(function(qn){qn.previewIndex=Dn})},Qe=function(Dn){ce(function(qn){qn.previewIndex=Dn})},St=function(Dn){F.page!==Dn&&ce(function(qn){qn.page=Dn})},At=function(Dn,qn){ce(function(Kr){Kr.pageSize=qn})},Yt=function(){},ln=function(){Me(function(Dn){Object.assign(Dn,Hu)}),ce(function(Dn){Object.assign(Dn,zu)})};return{onPageDidMount:Yt,onPageWillUnmount:ln,clickItem:ze,doubleClickItem:Qe,onPageChange:St,onPageSizeChange:At}},Nr=e(86724),ia=e.n(Nr),Vr=function(){var K=(0,N.useModel)("datasets"),F=K.loadDatasets,ce=K.setPagination,Me=function(At){var Yt=JSON.stringify({datasetId:At.id,datasetName:At.name});N.history.push("/dataset/detail?pageState=".concat(encodeURIComponent(Yt)))},ze=function(At,Yt){var ln=JSON.stringify({datasetId:Yt.id,datasetName:Yt.name}),Hn="".concat(window.location.origin,"/page/dataset/detail?pageState=").concat(encodeURIComponent(ln)),Dn=ia()(Hn);Dn&&T.ZP.success((0,as._w)("dataset.onClickCopyLink.success")),At.stopPropagation()},Qe=function(At){ce(function(Yt){Object.assign(Yt,{page:1,pageSize:qa.L8},At)}),F()};return{onInitPageState:Qe,onClickItem:Me,onClickCopyLink:ze}},Lr=e(23707),ga=function(){var K=(0,N.useModel)("datasets"),F=K.loadDatasets,ce=K.setPagination,Me=(0,Lr.BQ)("type")||"flagtool",ze=function(Yt){var ln=JSON.stringify({datasetId:Yt.id,datasetName:Yt.name});N.history.push("/lab/".concat(Me,"?pageState=").concat(encodeURIComponent(ln)))},Qe=function(Yt,ln){var Hn=JSON.stringify({datasetId:ln.id,datasetName:ln.name}),Dn="".concat(window.location.origin,"/page/dataset/detail?pageState=").concat(encodeURIComponent(Hn)),qn=ia()(Dn);qn&&T.ZP.success((0,as._w)("lab.onClickCopyLink.success")),Yt.stopPropagation()},St=function(Yt){ce(function(ln){Object.assign(ln,{page:1,pageSize:qa.L8},Yt)}),F()};return{labType:Me,onInitPageState:St,onClickItem:ze,onClickCopyLink:Qe}},aa=function(){var K=(0,N.useModel)("user"),F=K.showLoginModal,ce=(0,N.useModel)("dataset.common"),Me=ce.pageState,ze=ce.setPageState,Qe=ce.pageData,St=ce.setPageData,At=(0,N.useModel)("dataset.flag"),Yt=At.selectItem,ln=At.enterFlagTools,Hn=At.limitNoSaveChangePage,Dn=function(Za){Yt(Za)},qn=function(Za){ze(function(to){to.previewIndex=Za})},Kr=function(Za){Me.page!==Za&&Hn().then(function(){ze(function(to){to.page=Za})})},na=function(Za,to){Hn().then(function(){ze(function(Ra){Ra.pageSize=to})})};(0,gs.Z)(["a","A","d","D","shift.q","shift.Q","shift.e","shift.E","z","Z"],function(Pa){Me.previewIndex>=0||F||(["a","A"].includes(Pa.key)&&Me.page>1&&Kr(Me.page-1),["d","D"].includes(Pa.key)&&Me.page=0)&&(Dt[kt]=ut[kt]);return Dt}const c=["onClick","reloadDocument","replace","state","target","to"],m=null;function g(ut,ct){if(!ut){typeof console!="undefined"&&console.warn(ct);try{throw new Error(ct)}catch(Dt){}}}function M(ut){let{basename:ct,children:Dt,window:xt}=ut,kt=useRef();kt.current==null&&(kt.current=createBrowserHistory({window:xt}));let sn=kt.current,[tn,xn]=useState({action:sn.action,location:sn.location});return useLayoutEffect(()=>sn.listen(xn),[sn]),createElement(Router,{basename:ct,children:Dt,location:tn.location,navigationType:tn.action,navigator:sn})}function h(ut){let{basename:ct,children:Dt,window:xt}=ut,kt=useRef();kt.current==null&&(kt.current=createHashHistory({window:xt}));let sn=kt.current,[tn,xn]=useState({action:sn.action,location:sn.location});return useLayoutEffect(()=>sn.listen(xn),[sn]),createElement(Router,{basename:ct,children:Dt,location:tn.location,navigationType:tn.action,navigator:sn})}function S(ut){let{basename:ct,children:Dt,history:xt}=ut;const[kt,sn]=useState({action:xt.action,location:xt.location});return useLayoutEffect(()=>xt.listen(sn),[xt]),createElement(Router,{basename:ct,children:Dt,location:kt.location,navigationType:kt.action,navigator:xt})}function w(ut){return!!(ut.metaKey||ut.altKey||ut.ctrlKey||ut.shiftKey)}const x=(0,o.forwardRef)(function(ct,Dt){let{onClick:xt,reloadDocument:kt,replace:sn=!1,state:tn,target:xn,to:Nn}=ct,gr=l(ct,c),nr=(0,s.useHref)(Nn),Rn=U(Nn,{replace:sn,state:tn,target:xn});function kr(fr){xt&&xt(fr),!fr.defaultPrevented&&!kt&&Rn(fr)}return(0,o.createElement)("a",d({},gr,{href:nr,onClick:kr,ref:Dt,target:xn}))}),z=null;function U(ut,ct){let{target:Dt,replace:xt,state:kt}=ct===void 0?{}:ct,sn=(0,s.useNavigate)(),tn=(0,s.useLocation)(),xn=(0,s.useResolvedPath)(ut);return(0,o.useCallback)(Nn=>{if(Nn.button===0&&(!Dt||Dt==="_self")&&!w(Nn)){Nn.preventDefault();let gr=!!xt||(0,n.Ep)(tn)===(0,n.Ep)(xn);sn(ut,{replace:gr,state:kt})}},[tn,sn,xn,xt,kt,Dt,ut])}function T(ut){let ct=useRef(N(ut)),Dt=useLocation(),xt=useMemo(()=>{let tn=N(Dt.search);for(let xn of ct.current.keys())tn.has(xn)||ct.current.getAll(xn).forEach(Nn=>{tn.append(xn,Nn)});return tn},[Dt.search]),kt=useNavigate(),sn=useCallback((tn,xn)=>{kt("?"+N(tn),xn)},[kt]);return[xt,sn]}function N(ut){return ut===void 0&&(ut=""),new URLSearchParams(typeof ut=="string"||Array.isArray(ut)||ut instanceof URLSearchParams?ut:Object.keys(ut).reduce((ct,Dt)=>{let xt=ut[Dt];return ct.concat(Array.isArray(xt)?xt.map(kt=>[Dt,kt]):[[Dt,xt]])},[]))}var Z=e(60581),D=["prefetch"];function L(ut){var ct,Dt=ut.prefetch,xt=(0,t.Z)(ut,D),kt=(0,Z.Ov)(),sn=typeof ut.to=="string"?ut.to:(ct=ut.to)===null||ct===void 0?void 0:ct.pathname;return sn?o.createElement(x,(0,a.Z)({onMouseEnter:function(){var xn;return Dt&&sn&&((xn=kt.preloadRoute)===null||xn===void 0?void 0:xn.call(kt,sn))}},xt),ut.children):null}var j=e(83753);function G(){"use strict";G=function(){return ut};var ut={},ct=Object.prototype,Dt=ct.hasOwnProperty,xt=Object.defineProperty||function(Kn,zn,vr){Kn[zn]=vr.value},kt=typeof Symbol=="function"?Symbol:{},sn=kt.iterator||"@@iterator",tn=kt.asyncIterator||"@@asyncIterator",xn=kt.toStringTag||"@@toStringTag";function Nn(Kn,zn,vr){return Object.defineProperty(Kn,zn,{value:vr,enumerable:!0,configurable:!0,writable:!0}),Kn[zn]}try{Nn({},"")}catch(Kn){Nn=function(vr,ra,xr){return vr[ra]=xr}}function gr(Kn,zn,vr,ra){var xr=zn&&zn.prototype instanceof kr?zn:kr,jt=Object.create(xr.prototype),an=new Br(ra||[]);return xt(jt,"_invoke",{value:Qr(Kn,vr,an)}),jt}function nr(Kn,zn,vr){try{return{type:"normal",arg:Kn.call(zn,vr)}}catch(ra){return{type:"throw",arg:ra}}}ut.wrap=gr;var Rn={};function kr(){}function fr(){}function ua(){}var Pr={};Nn(Pr,sn,function(){return this});var Bn=Object.getPrototypeOf,Cn=Bn&&Bn(Bn(Ea([])));Cn&&Cn!==ct&&Dt.call(Cn,sn)&&(Pr=Cn);var wn=ua.prototype=kr.prototype=Object.create(Pr);function ar(Kn){["next","throw","return"].forEach(function(zn){Nn(Kn,zn,function(vr){return this._invoke(zn,vr)})})}function mr(Kn,zn){function vr(xr,jt,an,hn){var ao=nr(Kn[xr],Kn,jt);if(ao.type!=="throw"){var Mo=ao.arg,Ua=Mo.value;return Ua&&(0,j.Z)(Ua)=="object"&&Dt.call(Ua,"__await")?zn.resolve(Ua.__await).then(function(Ha){vr("next",Ha,an,hn)},function(Ha){vr("throw",Ha,an,hn)}):zn.resolve(Ua).then(function(Ha){Mo.value=Ha,an(Mo)},function(Ha){return vr("throw",Ha,an,hn)})}hn(ao.arg)}var ra;xt(this,"_invoke",{value:function(jt,an){function hn(){return new zn(function(ao,Mo){vr(jt,an,ao,Mo)})}return ra=ra?ra.then(hn,hn):hn()}})}function Qr(Kn,zn,vr){var ra="suspendedStart";return function(xr,jt){if(ra==="executing")throw new Error("Generator is already running");if(ra==="completed"){if(xr==="throw")throw jt;return ca()}for(vr.method=xr,vr.arg=jt;;){var an=vr.delegate;if(an){var hn=qr(an,vr);if(hn){if(hn===Rn)continue;return hn}}if(vr.method==="next")vr.sent=vr._sent=vr.arg;else if(vr.method==="throw"){if(ra==="suspendedStart")throw ra="completed",vr.arg;vr.dispatchException(vr.arg)}else vr.method==="return"&&vr.abrupt("return",vr.arg);ra="executing";var ao=nr(Kn,zn,vr);if(ao.type==="normal"){if(ra=vr.done?"completed":"suspendedYield",ao.arg===Rn)continue;return{value:ao.arg,done:vr.done}}ao.type==="throw"&&(ra="completed",vr.method="throw",vr.arg=ao.arg)}}}function qr(Kn,zn){var vr=zn.method,ra=Kn.iterator[vr];if(ra===void 0)return zn.delegate=null,vr==="throw"&&Kn.iterator.return&&(zn.method="return",zn.arg=void 0,qr(Kn,zn),zn.method==="throw")||vr!=="return"&&(zn.method="throw",zn.arg=new TypeError("The iterator does not provide a '"+vr+"' method")),Rn;var xr=nr(ra,Kn.iterator,zn.arg);if(xr.type==="throw")return zn.method="throw",zn.arg=xr.arg,zn.delegate=null,Rn;var jt=xr.arg;return jt?jt.done?(zn[Kn.resultName]=jt.value,zn.next=Kn.nextLoc,zn.method!=="return"&&(zn.method="next",zn.arg=void 0),zn.delegate=null,Rn):jt:(zn.method="throw",zn.arg=new TypeError("iterator result is not an object"),zn.delegate=null,Rn)}function ya(Kn){var zn={tryLoc:Kn[0]};1 in Kn&&(zn.catchLoc=Kn[1]),2 in Kn&&(zn.finallyLoc=Kn[2],zn.afterLoc=Kn[3]),this.tryEntries.push(zn)}function dr(Kn){var zn=Kn.completion||{};zn.type="normal",delete zn.arg,Kn.completion=zn}function Br(Kn){this.tryEntries=[{tryLoc:"root"}],Kn.forEach(ya,this),this.reset(!0)}function Ea(Kn){if(Kn){var zn=Kn[sn];if(zn)return zn.call(Kn);if(typeof Kn.next=="function")return Kn;if(!isNaN(Kn.length)){var vr=-1,ra=function xr(){for(;++vr=0;--xr){var jt=this.tryEntries[xr],an=jt.completion;if(jt.tryLoc==="root")return ra("end");if(jt.tryLoc<=this.prev){var hn=Dt.call(jt,"catchLoc"),ao=Dt.call(jt,"finallyLoc");if(hn&&ao){if(this.prev=0;--ra){var xr=this.tryEntries[ra];if(xr.tryLoc<=this.prev&&Dt.call(xr,"finallyLoc")&&this.prev=0;--vr){var ra=this.tryEntries[vr];if(ra.finallyLoc===zn)return this.complete(ra.completion,ra.afterLoc),dr(ra),Rn}},catch:function(zn){for(var vr=this.tryEntries.length-1;vr>=0;--vr){var ra=this.tryEntries[vr];if(ra.tryLoc===zn){var xr=ra.completion;if(xr.type==="throw"){var jt=xr.arg;dr(ra)}return jt}}throw new Error("illegal catch attempt")},delegateYield:function(zn,vr,ra){return this.delegate={iterator:Ea(zn),resultName:vr,nextLoc:ra},this.method==="next"&&(this.arg=void 0),Rn}},ut}var W=e(5452);function ne(ut,ct,Dt,xt,kt,sn,tn){try{var xn=ut[sn](tn),Nn=xn.value}catch(gr){Dt(gr);return}xn.done?ct(Nn):Promise.resolve(Nn).then(xt,kt)}function _(ut){return function(){var ct=this,Dt=arguments;return new Promise(function(xt,kt){var sn=ut.apply(ct,Dt);function tn(Nn){ne(sn,xt,kt,tn,xn,"next",Nn)}function xn(Nn){ne(sn,xt,kt,tn,xn,"throw",Nn)}tn(void 0)})}}var ee=e(50648);function se(ut,ct){var Dt=typeof Symbol!="undefined"&&ut[Symbol.iterator]||ut["@@iterator"];if(!Dt){if(Array.isArray(ut)||(Dt=(0,ee.Z)(ut))||ct&&ut&&typeof ut.length=="number"){Dt&&(ut=Dt);var xt=0,kt=function(){};return{s:kt,n:function(){return xt>=ut.length?{done:!0}:{done:!1,value:ut[xt++]}},e:function(gr){throw gr},f:kt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var sn=!0,tn=!1,xn;return{s:function(){Dt=Dt.call(ut)},n:function(){var gr=Dt.next();return sn=gr.done,gr},e:function(gr){tn=!0,xn=gr},f:function(){try{!sn&&Dt.return!=null&&Dt.return()}finally{if(tn)throw xn}}}}var Q=e(40642);function C(ut){if(typeof Symbol!="undefined"&&ut[Symbol.iterator]!=null||ut["@@iterator"]!=null)return Array.from(ut)}var X=e(8010);function O(ut){return(0,Q.Z)(ut)||C(ut)||(0,ee.Z)(ut)||(0,X.Z)()}function H(ut,ct){if(!(ut instanceof ct))throw new TypeError("Cannot call a class as a function")}var k=e(4566);function A(ut,ct){for(var Dt=0;Dt-1,"register failed, invalid key ".concat(kt," ").concat(Dt.path?"from plugin ".concat(Dt.path):"",".")),xt.hooks[kt]=(xt.hooks[kt]||[]).concat(Dt.apply[kt])})}},{key:"getHooks",value:function(Dt){var xt=Dt.split("."),kt=O(xt),sn=kt[0],tn=kt.slice(1),xn=this.hooks[sn]||[];return tn.length&&(xn=xn.map(function(Nn){try{var gr=Nn,nr=se(tn),Rn;try{for(nr.s();!(Rn=nr.n()).done;){var kr=Rn.value;gr=gr[kr]}}catch(fr){nr.e(fr)}finally{nr.f()}return gr}catch(fr){return null}}).filter(Boolean)),xn}},{key:"applyPlugins",value:function(Dt){var xt=Dt.key,kt=Dt.type,sn=Dt.initialValue,tn=Dt.args,xn=Dt.async,Nn=this.getHooks(xt)||[];switch(tn&&me((0,j.Z)(tn)==="object","applyPlugins failed, args must be plain object."),xn&&me(kt===Pe.modify||kt===Pe.event,"async only works with modify and event type."),kt){case Pe.modify:return xn?Nn.reduce(function(){var gr=_(G().mark(function nr(Rn,kr){var fr;return G().wrap(function(Pr){for(;;)switch(Pr.prev=Pr.next){case 0:if(me(typeof kr=="function"||(0,j.Z)(kr)==="object"||be(kr),"applyPlugins failed, all hooks for key ".concat(xt," must be function, plain object or Promise.")),!be(Rn)){Pr.next=5;break}return Pr.next=4,Rn;case 4:Rn=Pr.sent;case 5:if(typeof kr!="function"){Pr.next=16;break}if(fr=kr(Rn,tn),!be(fr)){Pr.next=13;break}return Pr.next=10,fr;case 10:return Pr.abrupt("return",Pr.sent);case 13:return Pr.abrupt("return",fr);case 14:Pr.next=21;break;case 16:if(!be(kr)){Pr.next=20;break}return Pr.next=19,kr;case 19:kr=Pr.sent;case 20:return Pr.abrupt("return",(0,W.Z)((0,W.Z)({},Rn),kr));case 21:case"end":return Pr.stop()}},nr)}));return function(nr,Rn){return gr.apply(this,arguments)}}(),be(sn)?sn:Promise.resolve(sn)):Nn.reduce(function(gr,nr){return me(typeof nr=="function"||(0,j.Z)(nr)==="object","applyPlugins failed, all hooks for key ".concat(xt," must be function or plain object.")),typeof nr=="function"?nr(gr,tn):(0,W.Z)((0,W.Z)({},gr),nr)},sn);case Pe.event:return _(G().mark(function gr(){var nr,Rn,kr,fr;return G().wrap(function(Pr){for(;;)switch(Pr.prev=Pr.next){case 0:nr=se(Nn),Pr.prev=1,nr.s();case 3:if((Rn=nr.n()).done){Pr.next=12;break}if(kr=Rn.value,me(typeof kr=="function","applyPlugins failed, all hooks for key ".concat(xt," must be function.")),fr=kr(tn),!(xn&&be(fr))){Pr.next=10;break}return Pr.next=10,fr;case 10:Pr.next=3;break;case 12:Pr.next=17;break;case 14:Pr.prev=14,Pr.t0=Pr.catch(1),nr.e(Pr.t0);case 17:return Pr.prev=17,nr.f(),Pr.finish(17);case 20:case"end":return Pr.stop()}},gr,null,[[1,14,17,20]])}))();case Pe.compose:return function(){return ve({fns:Nn.concat(sn),args:tn})()}}}}],[{key:"create",value:function(Dt){var xt=new ut({validKeys:Dt.validKeys});return Dt.plugins.forEach(function(kt){xt.register(kt)}),xt}}]),ut}(),qe=e(12763),Xe=e(16962),mt=e.n(Xe),Ct=0,vt=0;function Ht(ut,ct){if(!1)var Dt}function ke(ut){return JSON.stringify(ut,null,2)}function Ve(ut){var ct=ut.length>1?ut.map(ot).join(" "):ut[0];return mt()(ct)==="object"?"".concat(ke(ct)):ct.toString()}function ot(ut){return mt()(ut)==="object"?"".concat(JSON.stringify(ut)):ut.toString()}var Ke={log:function(){for(var ct=arguments.length,Dt=new Array(ct),xt=0;xt-1&&(sn=setTimeout(function(){oe.delete(ct)},Dt)),oe.set(ct,{data:xt,timer:sn,startTime:new Date().getTime()})},ue=function(ct){var Dt=oe.get(ct);return{data:Dt==null?void 0:Dt.data,startTime:Dt==null?void 0:Dt.startTime}},Ee=function(ut,ct){var Dt=typeof Symbol=="function"&&ut[Symbol.iterator];if(!Dt)return ut;var xt=Dt.call(ut),kt,sn=[],tn;try{for(;(ct===void 0||ct-- >0)&&!(kt=xt.next()).done;)sn.push(kt.value)}catch(xn){tn={error:xn}}finally{try{kt&&!kt.done&&(Dt=xt.return)&&Dt.call(xt)}finally{if(tn)throw tn.error}}return sn},le=function(){for(var ut=[],ct=0;ct0)&&!(kt=xt.next()).done;)sn.push(kt.value)}catch(xn){tn={error:xn}}finally{try{kt&&!kt.done&&(Dt=xt.return)&&Dt.call(xt)}finally{if(tn)throw tn.error}}return sn},we=function(){for(var ut=[],ct=0;ct0)&&!(kt=xt.next()).done;)sn.push(kt.value)}catch(xn){tn={error:xn}}finally{try{kt&&!kt.done&&(Dt=xt.return)&&Dt.call(xt)}finally{if(tn)throw tn.error}}return sn},bt=function(){for(var ut=[],ct=0;ct0){var Ir=Br&&((oa=getCache(Br))===null||oa===void 0?void 0:oa.startTime)||0;zn===-1||new Date().getTime()-Ir<=zn||Object.values(cn).forEach(function($r){$r.refresh()})}else Wr.current.apply(Wr,bt(ar))},[]);var la=useCallback(function(){Object.values(_n.current).forEach(function(oa){oa.unmount()}),Mo.current=It,dn({}),_n.current={}},[dn]);useUpdateEffect(function(){tn||Object.values(_n.current).forEach(function(oa){oa.refresh()})},bt(kt)),useEffect(function(){return function(){Object.values(_n.current).forEach(function(oa){oa.unmount()})}},[]);var ea=useCallback(function(oa){return function(){console.warn("You should't call "+oa+" when service not executed once.")}},[]);return tt(tt({loading:an&&!tn||kr,data:xr,error:void 0,params:[],cancel:ea("cancel"),refresh:ea("refresh"),mutate:ea("mutate")},cn[Mo.current]||{}),{run:yr,fetches:cn,reset:la})}var Mt=null,Le=function(){return Le=Object.assign||function(ut){for(var ct,Dt=1,xt=arguments.length;Dt0)&&!(kt=xt.next()).done;)sn.push(kt.value)}catch(xn){tn={error:xn}}finally{try{kt&&!kt.done&&(Dt=xt.return)&&Dt.call(xt)}finally{if(tn)throw tn.error}}return sn},Tt=function(){for(var ut=[],ct=0;ct0)&&!(kt=xt.next()).done;)sn.push(kt.value)}catch(xn){tn={error:xn}}finally{try{kt&&!kt.done&&(Dt=xt.return)&&Dt.call(xt)}finally{if(tn)throw tn.error}}return sn},un=function(){for(var ut=[],ct=0;ctao&&(an=Math.max(1,ao)),dr({current:an,pageSize:hn})},[Br,dr]),Kn=useCallback(function(xr){ca(xr,ar)},[ca,ar]),zn=useCallback(function(xr){ca(Cn,xr)},[ca,Cn]),vr=useRef(Kn);vr.current=Kn,useUpdateEffect(function(){ct.manual||vr.current(1)},un(tn));var ra=useCallback(function(xr,jt,an){dr({current:xr.current,pageSize:xr.pageSize||kt,filters:jt,sorter:an})},[ya,Qr,dr]);return _t({loading:fr,data:nr,params:Rn,run:kr,pagination:{current:Cn,pageSize:ar,total:Br,totalPage:Ea,onChange:ca,changeCurrent:Kn,changePageSize:zn},tableProps:{dataSource:(nr==null?void 0:nr.list)||[],loading:fr,onChange:ra,pagination:{current:Cn,pageSize:ar,total:Br}},sorter:Qr,filters:ya},ua)}var vn=null,Xn=o.createContext({});Xn.displayName="UseRequestConfigContext";var Vn=Xn,or=function(){return or=Object.assign||function(ut){for(var ct,Dt=1,xt=arguments.length;Dt0)&&!(kt=xt.next()).done;)sn.push(kt.value)}catch(xn){tn={error:xn}}finally{try{kt&&!kt.done&&(Dt=xt.return)&&Dt.call(xt)}finally{if(tn)throw tn.error}}return sn},en=function(){for(var ut=[],ct=0;ct1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(ut,_objectSpread({formatResult:function(xt){return xt==null?void 0:xt.data},requestMethod:function(xt){if(typeof xt=="string")return Zn(xt);if(_typeof(xt)==="object"){var kt=xt.url,sn=_objectWithoutProperties(xt,gt);return Zn(kt,sn)}throw new Error("request options error")}},ct))}var rn,Jt,pn=function(){return Jt||(Jt=(0,pt.We)().applyPlugins({key:"request",type:Pe.modify,initialValue:{}}),Jt)},mn=function(){var ct,Dt;if(rn)return rn;var xt=pn();return rn=ie().create(xt),xt==null||(ct=xt.requestInterceptors)===null||ct===void 0||ct.forEach(function(kt){kt instanceof Array?rn.interceptors.request.use(function(sn){var tn=sn.url;if(kt[0].length===2){var xn=kt[0](tn,sn),Nn=xn.url,gr=xn.options;return B()(B()({},gr),{},{url:Nn})}return kt[0](sn)},kt[1]):rn.interceptors.request.use(function(sn){var tn=sn.url;if(kt.length===2){var xn=kt(tn,sn),Nn=xn.url,gr=xn.options;return B()(B()({},gr),{},{url:Nn})}return kt(sn)})}),xt==null||(Dt=xt.responseInterceptors)===null||Dt===void 0||Dt.forEach(function(kt){kt instanceof Array?rn.interceptors.response.use(kt[0],kt[1]):rn.interceptors.response.use(kt)}),rn.interceptors.response.use(function(kt){var sn,tn=kt.data;return(tn==null?void 0:tn.success)===!1&&xt!==null&&xt!==void 0&&(sn=xt.errorConfig)!==null&&sn!==void 0&&sn.errorThrower&&xt.errorConfig.errorThrower(tn),kt}),rn},Zn=function(ct){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{method:"GET"},xt=mn(),kt=pn(),sn=Dt.getResponse,tn=sn===void 0?!1:sn,xn=Dt.requestInterceptors,Nn=Dt.responseInterceptors,gr=xn==null?void 0:xn.map(function(Rn){return Rn instanceof Array?xt.interceptors.request.use(function(kr){var fr=kr.url;if(Rn[0].length===2){var ua=Rn[0](fr,kr),Pr=ua.url,Bn=ua.options;return B()(B()({},Bn),{},{url:Pr})}return Rn[0](kr)},Rn[1]):xt.interceptors.request.use(function(kr){var fr=kr.url;if(Rn.length===2){var ua=Rn(fr,kr),Pr=ua.url,Bn=ua.options;return B()(B()({},Bn),{},{url:Pr})}return Rn(kr)})}),nr=Nn==null?void 0:Nn.map(function(Rn){return Rn instanceof Array?xt.interceptors.response.use(Rn[0],Rn[1]):xt.interceptors.response.use(Rn)});return new Promise(function(Rn,kr){xt.request(B()(B()({},Dt),{},{url:ct})).then(function(fr){gr==null||gr.forEach(function(ua){xt.interceptors.request.eject(ua)}),nr==null||nr.forEach(function(ua){xt.interceptors.response.eject(ua)}),Rn(tn?fr:fr.data)}).catch(function(fr){gr==null||gr.forEach(function(Bn){xt.interceptors.request.eject(Bn)}),nr==null||nr.forEach(function(Bn){xt.interceptors.response.eject(Bn)});try{var ua,Pr=kt==null||(ua=kt.errorConfig)===null||ua===void 0?void 0:ua.errorHandler;Pr&&Pr(fr,Dt,kt)}catch(Bn){kr(Bn)}kr(fr)})})},tr=function(){}},96662:function(b,y,e){"use strict";e.d(y,{J:function(){return t}});var a=e(58757),t=a.createContext(null)},64470:function(b,y,e){"use strict";e.d(y,{Mf:function(){return d}});var a=e(58757),t=e(96662),o=e(35667),s=function(){return a.useContext(t.J)},n=function(c){return _jsx(_Fragment,{children:c.accessible?c.children:c.fallback})},d=function(c){var m=s(),g=a.useMemo(function(){var M=function h(S,w,x){var z,U,T=S.access,N=S;if(!T&&w&&(T=w,N=x),S.unaccessible=!1,typeof T=="string"){var Z=m[T];typeof Z=="function"?S.unaccessible=!Z(N):typeof Z=="boolean"?S.unaccessible=!Z:typeof Z=="undefined"&&(S.unaccessible=!0)}if((z=S.children)!==null&&z!==void 0&&z.length){var D=!S.children.reduce(function(j,G){return h(G,T,S),j||!G.unaccessible},!1);D&&(S.unaccessible=!0)}if((U=S.routes)!==null&&U!==void 0&&U.length){var L=!S.routes.reduce(function(j,G){return h(G,T,S),j||!G.unaccessible},!1);L&&(S.unaccessible=!0)}return S};return c.map(function(h){return M(h)})},[c.length,m]);return g}},93325:function(b,y,e){"use strict";e.d(y,{_H:function(){return a._H},pD:function(){return N},wv:function(){return a.wv},Kd:function(){return a.Kd},i_:function(){return a.i_},YB:function(){return a.YB}});var a=e(16221),t=e(88205),o=e.n(t),s=e(2657),n=e(63900),d=e.n(n),l=e(62376),c=e.n(l),m=e(58757),g=e(73267),M=e(93430),h=e(85706),S=e(35667),w=["overlayClassName"],x=["globalIconClassName","postLocalesData","onItemClick","icon","style","reload"],z=function(D){var L=D.overlayClassName,j=c()(D,w);return(0,S.jsx)(g.Z,d()({overlayClassName:L},j))},U=function(D){return D.reduce(function(L,j){return j.lang?_objectSpread(_objectSpread({},L),{},_defineProperty({},j.lang,j)):L},{})},T={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Vlaams",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},N=function(D){var L,j=D.globalIconClassName,G=D.postLocalesData,W=D.onItemClick,ne=D.icon,_=D.style,ee=D.reload,se=c()(D,x),Q=(0,m.useState)(function(){return(0,a.Kd)()}),C=o()(Q,2),X=C[0],O=C[1],H=function(qe){var Xe=qe.key;(0,a.i_)(Xe,ee),O((0,a.Kd)())},k=(0,a.XZ)().map(function(Je){return T[Je]||{lang:Je,label:Je,icon:"\u{1F310}",title:Je}}),A=(G==null?void 0:G(k))||k,Y=W?function(Je){return W(Je)}:H,de={minWidth:"160px"},me={marginRight:"8px"},ve={selectedKeys:[X],onClick:Y,items:A.map(function(Je){return{key:Je.lang||Je.key,style:de,label:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("span",{role:"img","aria-label":(Je==null?void 0:Je.label)||"en-US",style:me,children:(Je==null?void 0:Je.icon)||"\u{1F310}"}),(Je==null?void 0:Je.label)||"en-US"]})}})},be;M.Z.startsWith("5.")||M.Z.startsWith("4.24.")?be={menu:ve}:M.Z.startsWith("3.")?be={overlay:(0,S.jsx)(h.Z,{children:ve.items.map(function(Je){return(0,S.jsx)(h.Z.Item,{onClick:Je.onClick,children:Je.label},Je.key)})})}:be={overlay:(0,S.jsx)(h.Z,d()({},ve))};var Pe=d()({cursor:"pointer",padding:"12px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:18,verticalAlign:"middle"},_);return(0,S.jsx)(z,d()(d()(d()({},be),{},{placement:"bottomRight"},se),{},{children:(0,S.jsx)("span",{className:j,style:Pe,children:(0,S.jsx)("i",{className:"anticon",title:(L=A[X])===null||L===void 0?void 0:L.title,children:ne||(0,S.jsxs)("svg",{viewBox:"0 0 24 24",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,S.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,S.jsx)("path",{d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",className:"css-c4d79v"})]})})})}))}},16221:function(b,y,e){"use strict";e.d(y,{_H:function(){return Cn},PZ:function(){return ra},eU:function(){return j},B:function(){return vr},wv:function(){return Wo},XZ:function(){return Eo},Mg:function(){return Ha},lw:function(){return ao},Kd:function(){return Ua},H8:function(){return xr},i_:function(){return eo},YB:function(){return wn}});var a=e(62376),t=e.n(a),o=e(63900),s=e.n(o),n=e(77016),d=e.n(n),l=e(61697),c=e.n(l),m=e(1769),g=e.n(m),M=e(19881),h=e.n(M),S=e(58757),w=e.t(S,2),x=e(2657),z=e(10063),U=e.n(z),T=U()||z;function N(ft){return ft.displayName||ft.name||"Component"}var Z=S.createContext(null),D=Z.Consumer,L=Z.Provider,j=L,G=Z;function W(ft,Nt){var Ie=Nt||{},cn=Ie.intlPropName,dn=cn===void 0?"intl":cn,_n=Ie.forwardRef,Tn=_n===void 0?!1:_n,yr=Ie.enforceContext,Wr=yr===void 0?!0:yr,Da=function(ea){return React.createElement(D,null,function(oa){return Wr&&invariantIntlContext(oa),React.createElement(ft,Object.assign({},ea,_defineProperty({},dn,oa),{ref:Tn?ea.forwardedRef:null}))})};return Da.displayName="injectIntl(".concat(N(ft),")"),Da.WrappedComponent=ft,T(Tn?React.forwardRef(function(la,ea){return React.createElement(Da,Object.assign({},la,{forwardedRef:ea}))}):Da,ft)}var ne;(function(ft){ft[ft.literal=0]="literal",ft[ft.argument=1]="argument",ft[ft.number=2]="number",ft[ft.date=3]="date",ft[ft.time=4]="time",ft[ft.select=5]="select",ft[ft.plural=6]="plural",ft[ft.pound=7]="pound"})(ne||(ne={}));function _(ft){return ft.type===ne.literal}function ee(ft){return ft.type===ne.argument}function se(ft){return ft.type===ne.number}function Q(ft){return ft.type===ne.date}function C(ft){return ft.type===ne.time}function X(ft){return ft.type===ne.select}function O(ft){return ft.type===ne.plural}function H(ft){return ft.type===ne.pound}function k(ft){return!!(ft&&typeof ft=="object"&&ft.type===0)}function A(ft){return!!(ft&&typeof ft=="object"&&ft.type===1)}function Y(ft){return{type:ne.literal,value:ft}}function de(ft,Nt){return{type:ne.number,value:ft,style:Nt}}var me=function(){var ft=function(Nt,Ie){return ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(cn,dn){cn.__proto__=dn}||function(cn,dn){for(var _n in dn)dn.hasOwnProperty(_n)&&(cn[_n]=dn[_n])},ft(Nt,Ie)};return function(Nt,Ie){ft(Nt,Ie);function cn(){this.constructor=Nt}Nt.prototype=Ie===null?Object.create(Ie):(cn.prototype=Ie.prototype,new cn)}}(),ve=function(){return ve=Object.assign||function(ft){for(var Nt,Ie=1,cn=arguments.length;Ie0){for(oa=1,Ir=1;oaUo&&(Uo=Ft,Ol=[]),Ol.push(rt))}function iu(rt,Vt){return new be(rt,[],"",Vt)}function Yi(rt,Vt,Wn){return new be(be.buildMessage(rt,Vt),rt,Vt,Wn)}function Zl(){var rt;return rt=Dl(),rt}function Dl(){var rt,Vt;for(rt=[],Vt=Xl();Vt!==Ie;)rt.push(Vt),Vt=Xl();return rt}function Xl(){var rt;return rt=fc(),rt===Ie&&(rt=$o(),rt===Ie&&(rt=pu(),rt===Ie&&(rt=hu(),rt===Ie&&(rt=bs(),rt===Ie&&(rt=Ou()))))),rt}function Ul(){var rt,Vt,Wn;if(rt=Ft,Vt=[],Wn=Ni(),Wn===Ie&&(Wn=lu(),Wn===Ie&&(Wn=wu())),Wn!==Ie)for(;Wn!==Ie;)Vt.push(Wn),Wn=Ni(),Wn===Ie&&(Wn=lu(),Wn===Ie&&(Wn=wu()));else Vt=Ie;return Vt!==Ie&&(Do=rt,Vt=_n(Vt)),rt=Vt,rt}function fc(){var rt,Vt;return rt=Ft,Vt=Ul(),Vt!==Ie&&(Do=rt,Vt=Tn(Vt)),rt=Vt,rt}function Ou(){var rt,Vt;return rt=Ft,ft.charCodeAt(Ft)===35?(Vt=yr,Ft++):(Vt=Ie,fa===0&&za(Wr)),Vt!==Ie&&(Do=rt,Vt=Da()),rt=Vt,rt}function $o(){var rt,Vt,Wn,cr,wa,go;return fa++,rt=Ft,ft.charCodeAt(Ft)===123?(Vt=ea,Ft++):(Vt=Ie,fa===0&&za(oa)),Vt!==Ie?(Wn=ho(),Wn!==Ie?(cr=wl(),cr!==Ie?(wa=ho(),wa!==Ie?(ft.charCodeAt(Ft)===125?(go=Ir,Ft++):(go=Ie,fa===0&&za($r)),go!==Ie?(Do=rt,Vt=pa(cr),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie),fa--,rt===Ie&&(Vt=Ie,fa===0&&za(la)),rt}function Du(){var rt,Vt,Wn,cr,wa;if(fa++,rt=Ft,Vt=[],Wn=Ft,cr=Ft,fa++,wa=ls(),wa===Ie&&(lo.test(ft.charAt(Ft))?(wa=ft.charAt(Ft),Ft++):(wa=Ie,fa===0&&za(Qa))),fa--,wa===Ie?cr=void 0:(Ft=cr,cr=Ie),cr!==Ie?(ft.length>Ft?(wa=ft.charAt(Ft),Ft++):(wa=Ie,fa===0&&za(Gt)),wa!==Ie?(cr=[cr,wa],Wn=cr):(Ft=Wn,Wn=Ie)):(Ft=Wn,Wn=Ie),Wn!==Ie)for(;Wn!==Ie;)Vt.push(Wn),Wn=Ft,cr=Ft,fa++,wa=ls(),wa===Ie&&(lo.test(ft.charAt(Ft))?(wa=ft.charAt(Ft),Ft++):(wa=Ie,fa===0&&za(Qa))),fa--,wa===Ie?cr=void 0:(Ft=cr,cr=Ie),cr!==Ie?(ft.length>Ft?(wa=ft.charAt(Ft),Ft++):(wa=Ie,fa===0&&za(Gt)),wa!==Ie?(cr=[cr,wa],Wn=cr):(Ft=Wn,Wn=Ie)):(Ft=Wn,Wn=Ie);else Vt=Ie;return Vt!==Ie?rt=ft.substring(rt,Ft):rt=Vt,fa--,rt===Ie&&(Vt=Ie,fa===0&&za(La)),rt}function su(){var rt,Vt,Wn;return fa++,rt=Ft,ft.charCodeAt(Ft)===47?(Vt=jn,Ft++):(Vt=Ie,fa===0&&za(Gn)),Vt!==Ie?(Wn=Du(),Wn!==Ie?(Do=rt,Vt=br(Wn),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie),fa--,rt===Ie&&(Vt=Ie,fa===0&&za(yn)),rt}function As(){var rt,Vt,Wn,cr,wa;if(fa++,rt=Ft,Vt=ho(),Vt!==Ie)if(Wn=Du(),Wn!==Ie){for(cr=[],wa=su();wa!==Ie;)cr.push(wa),wa=su();cr!==Ie?(Do=rt,Vt=ta(Wn,cr),rt=Vt):(Ft=rt,rt=Ie)}else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;return fa--,rt===Ie&&(Vt=Ie,fa===0&&za(Hr)),rt}function tl(){var rt,Vt,Wn;if(rt=Ft,Vt=[],Wn=As(),Wn!==Ie)for(;Wn!==Ie;)Vt.push(Wn),Wn=As();else Vt=Ie;return Vt!==Ie&&(Do=rt,Vt=sr(Vt)),rt=Vt,rt}function gl(){var rt,Vt,Wn;return rt=Ft,ft.substr(Ft,2)===zr?(Vt=zr,Ft+=2):(Vt=Ie,fa===0&&za(va)),Vt!==Ie?(Wn=tl(),Wn!==Ie?(Do=rt,Vt=Sr(Wn),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie),rt===Ie&&(rt=Ft,Do=Ft,Vt=xa(),Vt?Vt=void 0:Vt=Ie,Vt!==Ie?(Wn=Ul(),Wn!==Ie?(Do=rt,Vt=Xa(Wn),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)),rt}function Zt(){var rt,Vt,Wn,cr,wa,go,di,Zo,os,ui,fi,Ao,To;return rt=Ft,ft.charCodeAt(Ft)===123?(Vt=ea,Ft++):(Vt=Ie,fa===0&&za(oa)),Vt!==Ie?(Wn=ho(),Wn!==Ie?(cr=wl(),cr!==Ie?(wa=ho(),wa!==Ie?(ft.charCodeAt(Ft)===44?(go=bo,Ft++):(go=Ie,fa===0&&za(Oo)),go!==Ie?(di=ho(),di!==Ie?(ft.substr(Ft,6)===Va?(Zo=Va,Ft+=6):(Zo=Ie,fa===0&&za(xo)),Zo!==Ie?(os=ho(),os!==Ie?(ui=Ft,ft.charCodeAt(Ft)===44?(fi=bo,Ft++):(fi=Ie,fa===0&&za(Oo)),fi!==Ie?(Ao=ho(),Ao!==Ie?(To=gl(),To!==Ie?(fi=[fi,Ao,To],ui=fi):(Ft=ui,ui=Ie)):(Ft=ui,ui=Ie)):(Ft=ui,ui=Ie),ui===Ie&&(ui=null),ui!==Ie?(fi=ho(),fi!==Ie?(ft.charCodeAt(Ft)===125?(Ao=Ir,Ft++):(Ao=Ie,fa===0&&za($r)),Ao!==Ie?(Do=rt,Vt=io(cr,Zo,ui),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie),rt}function Ii(){var rt,Vt,Wn,cr;if(rt=Ft,ft.charCodeAt(Ft)===39?(Vt=Ca,Ft++):(Vt=Ie,fa===0&&za(_a)),Vt!==Ie){if(Wn=[],cr=Ni(),cr===Ie&&(Io.test(ft.charAt(Ft))?(cr=ft.charAt(Ft),Ft++):(cr=Ie,fa===0&&za(Yo))),cr!==Ie)for(;cr!==Ie;)Wn.push(cr),cr=Ni(),cr===Ie&&(Io.test(ft.charAt(Ft))?(cr=ft.charAt(Ft),Ft++):(cr=Ie,fa===0&&za(Yo)));else Wn=Ie;Wn!==Ie?(ft.charCodeAt(Ft)===39?(cr=Ca,Ft++):(cr=Ie,fa===0&&za(_a)),cr!==Ie?(Vt=[Vt,Wn,cr],rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)}else Ft=rt,rt=Ie;if(rt===Ie)if(rt=[],Vt=Ni(),Vt===Ie&&(ni.test(ft.charAt(Ft))?(Vt=ft.charAt(Ft),Ft++):(Vt=Ie,fa===0&&za(co))),Vt!==Ie)for(;Vt!==Ie;)rt.push(Vt),Vt=Ni(),Vt===Ie&&(ni.test(ft.charAt(Ft))?(Vt=ft.charAt(Ft),Ft++):(Vt=Ie,fa===0&&za(co)));else rt=Ie;return rt}function Jl(){var rt,Vt;if(rt=[],Mi.test(ft.charAt(Ft))?(Vt=ft.charAt(Ft),Ft++):(Vt=Ie,fa===0&&za(ai)),Vt!==Ie)for(;Vt!==Ie;)rt.push(Vt),Mi.test(ft.charAt(Ft))?(Vt=ft.charAt(Ft),Ft++):(Vt=Ie,fa===0&&za(ai));else rt=Ie;return rt}function Wi(){var rt,Vt,Wn,cr;if(rt=Ft,Vt=Ft,Wn=[],cr=Ii(),cr===Ie&&(cr=Jl()),cr!==Ie)for(;cr!==Ie;)Wn.push(cr),cr=Ii(),cr===Ie&&(cr=Jl());else Wn=Ie;return Wn!==Ie?Vt=ft.substring(Vt,Ft):Vt=Wn,Vt!==Ie&&(Do=rt,Vt=Po(Vt)),rt=Vt,rt}function Ko(){var rt,Vt,Wn;return rt=Ft,ft.substr(Ft,2)===zr?(Vt=zr,Ft+=2):(Vt=Ie,fa===0&&za(va)),Vt!==Ie?(Wn=Wi(),Wn!==Ie?(Do=rt,Vt=Sr(Wn),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie),rt===Ie&&(rt=Ft,Do=Ft,Vt=li(),Vt?Vt=void 0:Vt=Ie,Vt!==Ie?(Wn=Ul(),Wn!==Ie?(Do=rt,Vt=Xa(Wn),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)),rt}function po(){var rt,Vt,Wn,cr,wa,go,di,Zo,os,ui,fi,Ao,To;return rt=Ft,ft.charCodeAt(Ft)===123?(Vt=ea,Ft++):(Vt=Ie,fa===0&&za(oa)),Vt!==Ie?(Wn=ho(),Wn!==Ie?(cr=wl(),cr!==Ie?(wa=ho(),wa!==Ie?(ft.charCodeAt(Ft)===44?(go=bo,Ft++):(go=Ie,fa===0&&za(Oo)),go!==Ie?(di=ho(),di!==Ie?(ft.substr(Ft,4)===Pi?(Zo=Pi,Ft+=4):(Zo=Ie,fa===0&&za(hi)),Zo===Ie&&(ft.substr(Ft,4)===yi?(Zo=yi,Ft+=4):(Zo=Ie,fa===0&&za(Zi))),Zo!==Ie?(os=ho(),os!==Ie?(ui=Ft,ft.charCodeAt(Ft)===44?(fi=bo,Ft++):(fi=Ie,fa===0&&za(Oo)),fi!==Ie?(Ao=ho(),Ao!==Ie?(To=Ko(),To!==Ie?(fi=[fi,Ao,To],ui=fi):(Ft=ui,ui=Ie)):(Ft=ui,ui=Ie)):(Ft=ui,ui=Ie),ui===Ie&&(ui=null),ui!==Ie?(fi=ho(),fi!==Ie?(ft.charCodeAt(Ft)===125?(Ao=Ir,Ft++):(Ao=Ie,fa===0&&za($r)),Ao!==Ie?(Do=rt,Vt=io(cr,Zo,ui),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie),rt}function pu(){var rt;return rt=Zt(),rt===Ie&&(rt=po()),rt}function hu(){var rt,Vt,Wn,cr,wa,go,di,Zo,os,ui,fi,Ao,To,Hi,Ms,uu;if(rt=Ft,ft.charCodeAt(Ft)===123?(Vt=ea,Ft++):(Vt=Ie,fa===0&&za(oa)),Vt!==Ie)if(Wn=ho(),Wn!==Ie)if(cr=wl(),cr!==Ie)if(wa=ho(),wa!==Ie)if(ft.charCodeAt(Ft)===44?(go=bo,Ft++):(go=Ie,fa===0&&za(Oo)),go!==Ie)if(di=ho(),di!==Ie)if(ft.substr(Ft,6)===ji?(Zo=ji,Ft+=6):(Zo=Ie,fa===0&&za(oo)),Zo===Ie&&(ft.substr(Ft,13)===Ja?(Zo=Ja,Ft+=13):(Zo=Ie,fa===0&&za(ri))),Zo!==Ie)if(os=ho(),os!==Ie)if(ft.charCodeAt(Ft)===44?(ui=bo,Ft++):(ui=Ie,fa===0&&za(Oo)),ui!==Ie)if(fi=ho(),fi!==Ie)if(Ao=Ft,ft.substr(Ft,7)===oi?(To=oi,Ft+=7):(To=Ie,fa===0&&za(No)),To!==Ie?(Hi=ho(),Hi!==Ie?(Ms=nl(),Ms!==Ie?(To=[To,Hi,Ms],Ao=To):(Ft=Ao,Ao=Ie)):(Ft=Ao,Ao=Ie)):(Ft=Ao,Ao=Ie),Ao===Ie&&(Ao=null),Ao!==Ie)if(To=ho(),To!==Ie){if(Hi=[],Ms=Di(),Ms!==Ie)for(;Ms!==Ie;)Hi.push(Ms),Ms=Di();else Hi=Ie;Hi!==Ie?(Ms=ho(),Ms!==Ie?(ft.charCodeAt(Ft)===125?(uu=Ir,Ft++):(uu=Ie,fa===0&&za($r)),uu!==Ie?(Do=rt,Vt=zo(cr,Zo,Ao,Hi),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)}else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;return rt}function bs(){var rt,Vt,Wn,cr,wa,go,di,Zo,os,ui,fi,Ao,To,Hi;if(rt=Ft,ft.charCodeAt(Ft)===123?(Vt=ea,Ft++):(Vt=Ie,fa===0&&za(oa)),Vt!==Ie)if(Wn=ho(),Wn!==Ie)if(cr=wl(),cr!==Ie)if(wa=ho(),wa!==Ie)if(ft.charCodeAt(Ft)===44?(go=bo,Ft++):(go=Ie,fa===0&&za(Oo)),go!==Ie)if(di=ho(),di!==Ie)if(ft.substr(Ft,6)===xi?(Zo=xi,Ft+=6):(Zo=Ie,fa===0&&za(Ui)),Zo!==Ie)if(os=ho(),os!==Ie)if(ft.charCodeAt(Ft)===44?(ui=bo,Ft++):(ui=Ie,fa===0&&za(Oo)),ui!==Ie)if(fi=ho(),fi!==Ie){if(Ao=[],To=Ei(),To!==Ie)for(;To!==Ie;)Ao.push(To),To=Ei();else Ao=Ie;Ao!==Ie?(To=ho(),To!==Ie?(ft.charCodeAt(Ft)===125?(Hi=Ir,Ft++):(Hi=Ie,fa===0&&za($r)),Hi!==Ie?(Do=rt,Vt=ki(cr,Ao),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)}else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;return rt}function ml(){var rt,Vt,Wn,cr;return rt=Ft,Vt=Ft,ft.charCodeAt(Ft)===61?(Wn=Ts,Ft++):(Wn=Ie,fa===0&&za(fs)),Wn!==Ie?(cr=nl(),cr!==Ie?(Wn=[Wn,cr],Vt=Wn):(Ft=Vt,Vt=Ie)):(Ft=Vt,Vt=Ie),Vt!==Ie?rt=ft.substring(rt,Ft):rt=Vt,rt===Ie&&(rt=Os()),rt}function Ei(){var rt,Vt,Wn,cr,wa,go,di,Zo;return rt=Ft,Vt=ho(),Vt!==Ie?(Wn=Os(),Wn!==Ie?(cr=ho(),cr!==Ie?(ft.charCodeAt(Ft)===123?(wa=ea,Ft++):(wa=Ie,fa===0&&za(oa)),wa!==Ie?(Do=Ft,go=Xs(Wn),go?go=void 0:go=Ie,go!==Ie?(di=Dl(),di!==Ie?(ft.charCodeAt(Ft)===125?(Zo=Ir,Ft++):(Zo=Ie,fa===0&&za($r)),Zo!==Ie?(Do=rt,Vt=zl(Wn,di),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie),rt}function Di(){var rt,Vt,Wn,cr,wa,go,di,Zo;return rt=Ft,Vt=ho(),Vt!==Ie?(Wn=ml(),Wn!==Ie?(cr=ho(),cr!==Ie?(ft.charCodeAt(Ft)===123?(wa=ea,Ft++):(wa=Ie,fa===0&&za(oa)),wa!==Ie?(Do=Ft,go=kn(Wn),go?go=void 0:go=Ie,go!==Ie?(di=Dl(),di!==Ie?(ft.charCodeAt(Ft)===125?(Zo=Ir,Ft++):(Zo=Ie,fa===0&&za($r)),Zo!==Ie?(Do=rt,Vt=_r(Wn,di),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie),rt}function ls(){var rt,Vt;return fa++,Zr.test(ft.charAt(Ft))?(rt=ft.charAt(Ft),Ft++):(rt=Ie,fa===0&&za(sa)),fa--,rt===Ie&&(Vt=Ie,fa===0&&za(Dr)),rt}function us(){var rt,Vt;return fa++,Fa.test(ft.charAt(Ft))?(rt=ft.charAt(Ft),Ft++):(rt=Ie,fa===0&&za(Na)),fa--,rt===Ie&&(Vt=Ie,fa===0&&za(ja)),rt}function ho(){var rt,Vt,Wn;for(fa++,rt=Ft,Vt=[],Wn=ls();Wn!==Ie;)Vt.push(Wn),Wn=ls();return Vt!==Ie?rt=ft.substring(rt,Ft):rt=Vt,fa--,rt===Ie&&(Vt=Ie,fa===0&&za(Bo)),rt}function nl(){var rt,Vt,Wn;return fa++,rt=Ft,ft.charCodeAt(Ft)===45?(Vt=Go,Ft++):(Vt=Ie,fa===0&&za(Bi)),Vt===Ie&&(Vt=null),Vt!==Ie?(Wn=al(),Wn!==Ie?(Do=rt,Vt=ps(Vt,Wn),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie),fa--,rt===Ie&&(Vt=Ie,fa===0&&za(Vo)),rt}function yu(){var rt,Vt;return fa++,ft.charCodeAt(Ft)===39?(rt=Ca,Ft++):(rt=Ie,fa===0&&za(_a)),fa--,rt===Ie&&(Vt=Ie,fa===0&&za(es)),rt}function Ni(){var rt,Vt;return fa++,rt=Ft,ft.substr(Ft,2)===ss?(Vt=ss,Ft+=2):(Vt=Ie,fa===0&&za(qo)),Vt!==Ie&&(Do=rt,Vt=Fl()),rt=Vt,fa--,rt===Ie&&(Vt=Ie,fa===0&&za($s)),rt}function lu(){var rt,Vt,Wn,cr,wa,go;if(rt=Ft,ft.charCodeAt(Ft)===39?(Vt=Ca,Ft++):(Vt=Ie,fa===0&&za(_a)),Vt!==Ie)if(Wn=rl(),Wn!==Ie){for(cr=Ft,wa=[],ft.substr(Ft,2)===ss?(go=ss,Ft+=2):(go=Ie,fa===0&&za(qo)),go===Ie&&(Io.test(ft.charAt(Ft))?(go=ft.charAt(Ft),Ft++):(go=Ie,fa===0&&za(Yo)));go!==Ie;)wa.push(go),ft.substr(Ft,2)===ss?(go=ss,Ft+=2):(go=Ie,fa===0&&za(qo)),go===Ie&&(Io.test(ft.charAt(Ft))?(go=ft.charAt(Ft),Ft++):(go=Ie,fa===0&&za(Yo)));wa!==Ie?cr=ft.substring(cr,Ft):cr=wa,cr!==Ie?(ft.charCodeAt(Ft)===39?(wa=Ca,Ft++):(wa=Ie,fa===0&&za(_a)),wa===Ie&&(wa=null),wa!==Ie?(Do=rt,Vt=Il(Wn,cr),rt=Vt):(Ft=rt,rt=Ie)):(Ft=rt,rt=Ie)}else Ft=rt,rt=Ie;else Ft=rt,rt=Ie;return rt}function wu(){var rt,Vt,Wn,cr;return rt=Ft,Vt=Ft,ft.length>Ft?(Wn=ft.charAt(Ft),Ft++):(Wn=Ie,fa===0&&za(Gt)),Wn!==Ie?(Do=Ft,cr=Al(Wn),cr?cr=void 0:cr=Ie,cr!==Ie?(Wn=[Wn,cr],Vt=Wn):(Ft=Vt,Vt=Ie)):(Ft=Vt,Vt=Ie),Vt===Ie&&(ft.charCodeAt(Ft)===10?(Vt=vu,Ft++):(Vt=Ie,fa===0&&za(cl))),Vt!==Ie?rt=ft.substring(rt,Ft):rt=Vt,rt}function rl(){var rt,Vt,Wn,cr;return rt=Ft,Vt=Ft,ft.length>Ft?(Wn=ft.charAt(Ft),Ft++):(Wn=Ie,fa===0&&za(Gt)),Wn!==Ie?(Do=Ft,cr=dl(Wn),cr?cr=void 0:cr=Ie,cr!==Ie?(Wn=[Wn,cr],Vt=Wn):(Ft=Vt,Vt=Ie)):(Ft=Vt,Vt=Ie),Vt!==Ie?rt=ft.substring(rt,Ft):rt=Vt,rt}function wl(){var rt,Vt;return fa++,rt=Ft,Vt=al(),Vt===Ie&&(Vt=Os()),Vt!==Ie?rt=ft.substring(rt,Ft):rt=Vt,fa--,rt===Ie&&(Vt=Ie,fa===0&&za(Zs)),rt}function al(){var rt,Vt,Wn,cr,wa;if(fa++,rt=Ft,ft.charCodeAt(Ft)===48?(Vt=fl,Ft++):(Vt=Ie,fa===0&&za(gu)),Vt!==Ie&&(Do=rt,Vt=vs()),rt=Vt,rt===Ie){if(rt=Ft,Vt=Ft,hs.test(ft.charAt(Ft))?(Wn=ft.charAt(Ft),Ft++):(Wn=Ie,fa===0&&za(Us)),Wn!==Ie){for(cr=[],ks.test(ft.charAt(Ft))?(wa=ft.charAt(Ft),Ft++):(wa=Ie,fa===0&&za(mu));wa!==Ie;)cr.push(wa),ks.test(ft.charAt(Ft))?(wa=ft.charAt(Ft),Ft++):(wa=Ie,fa===0&&za(mu));cr!==Ie?(Wn=[Wn,cr],Vt=Wn):(Ft=Vt,Vt=Ie)}else Ft=Vt,Vt=Ie;Vt!==Ie&&(Do=rt,Vt=Kl(Vt)),rt=Vt}return fa--,rt===Ie&&(Vt=Ie,fa===0&&za(Js)),rt}function Os(){var rt,Vt,Wn,cr,wa;if(fa++,rt=Ft,Vt=[],Wn=Ft,cr=Ft,fa++,wa=ls(),wa===Ie&&(wa=us()),fa--,wa===Ie?cr=void 0:(Ft=cr,cr=Ie),cr!==Ie?(ft.length>Ft?(wa=ft.charAt(Ft),Ft++):(wa=Ie,fa===0&&za(Gt)),wa!==Ie?(cr=[cr,wa],Wn=cr):(Ft=Wn,Wn=Ie)):(Ft=Wn,Wn=Ie),Wn!==Ie)for(;Wn!==Ie;)Vt.push(Wn),Wn=Ft,cr=Ft,fa++,wa=ls(),wa===Ie&&(wa=us()),fa--,wa===Ie?cr=void 0:(Ft=cr,cr=Ie),cr!==Ie?(ft.length>Ft?(wa=ft.charAt(Ft),Ft++):(wa=Ie,fa===0&&za(Gt)),wa!==Ie?(cr=[cr,wa],Wn=cr):(Ft=Wn,Wn=Ie)):(Ft=Wn,Wn=Ie);else Vt=Ie;return Vt!==Ie?rt=ft.substring(rt,Ft):rt=Vt,fa--,rt===Ie&&(Vt=Ie,fa===0&&za(ys)),rt}var Ds=["root"];function bu(){return Ds.length>1}function Ws(){return Ds[Ds.length-1]==="plural"}function ha(){return Nt&&Nt.captureLocation?{location:qs()}:{}}if(vl=dn(),vl!==Ie&&Ft===ft.length)return vl;throw vl!==Ie&&Ft1)throw new RangeError("Fraction-precision stems only accept a single optional option");dn.stem.replace(R,function(Tn,yr,Wr){return Tn==="."?Nt.maximumFractionDigits=0:Wr==="+"?Nt.minimumFractionDigits=Wr.length:yr[0]==="#"?Nt.maximumFractionDigits=yr.length:(Nt.minimumFractionDigits=yr.length,Nt.maximumFractionDigits=yr.length+(typeof Wr=="string"?Wr.length:0)),""}),dn.options.length&&(Nt=Ke(Ke({},Nt),B(dn.options[0])));continue}if(P.test(dn.stem)){Nt=Ke(Ke({},Nt),B(dn.stem));continue}var _n=ge(dn.stem);_n&&(Nt=Ke(Ke({},Nt),_n))}return Nt}var Oe=function(){var ft=function(Nt,Ie){return ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(cn,dn){cn.__proto__=dn}||function(cn,dn){for(var _n in dn)dn.hasOwnProperty(_n)&&(cn[_n]=dn[_n])},ft(Nt,Ie)};return function(Nt,Ie){ft(Nt,Ie);function cn(){this.constructor=Nt}Nt.prototype=Ie===null?Object.create(Ie):(cn.prototype=Ie.prototype,new cn)}}(),xe=function(){for(var ft=0,Nt=0,Ie=arguments.length;Nt(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Re=Date.now()+"@@",st=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function nt(ft,Nt,Ie){var cn=ft.tagName,dn=ft.outerHTML,_n=ft.textContent,Tn=ft.childNodes;if(!cn)return Ae(_n||"",Nt);cn=cn.toLowerCase();var yr=~st.indexOf(cn),Wr=Ie[cn];if(Wr&&yr)throw new Se(cn+" is a self-closing tag and can not be used, please use another tag name.");if(!Tn.length)return[dn];var Da=Array.prototype.slice.call(Tn).reduce(function(la,ea){return la.concat(nt(ea,Nt,Ie))},[]);return Wr?typeof Wr=="function"?[Wr.apply(void 0,Da)]:[Wr]:xe(["<"+cn+">"],Da,[""])}function _e(ft,Nt,Ie,cn,dn,_n){var Tn=re(ft,Nt,Ie,cn,dn,void 0,_n),yr={},Wr=Tn.reduce(function(oa,Ir){if(Ir.type===0)return oa+=Ir.value;var $r=Ne();return yr[$r]=Ir.value,oa+=""+ue+$r+ue},"");if(!we.test(Wr))return Ae(Wr,yr);if(!dn)throw new Se("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Se("Cannot format XML message without DOMParser");q||(q=new DOMParser);var Da=q.parseFromString(''+Wr+"","text/html").getElementById(Re);if(!Da)throw new Se("Malformed HTML message "+Wr);var la=Object.keys(dn).filter(function(oa){return!!Da.getElementsByTagName(oa).length});if(!la.length)return Ae(Wr,yr);var ea=la.filter(function(oa){return oa!==oa.toLowerCase()});if(ea.length)throw new Se("HTML tag must be lowercased but the following tags are not: "+ea.join(", "));return Array.prototype.slice.call(Da.childNodes).reduce(function(oa,Ir){return oa.concat(nt(Ir,yr,dn))},[])}var We=function(){return We=Object.assign||function(ft){for(var Nt,Ie=1,cn=arguments.length;Ie<"']/g;function tt(ft){return(""+ft).replace(je,function(Nt){return dt[Nt.charCodeAt(0)]})}function lt(ft,Nt){var Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Nt.reduce(function(cn,dn){return dn in ft?cn[dn]=ft[dn]:dn in Ie&&(cn[dn]=Ie[dn]),cn},{})}function bt(ft){Pt(ft,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function It(ft,Nt){var Ie=Nt?` +`.concat(Nt.stack):"";return"[React Intl] ".concat(ft).concat(Ie)}function Kt(ft){}var zt={formats:{},messages:{},timeZone:void 0,textComponent:S.Fragment,defaultLocale:"en",defaultFormats:{},onError:Kt};function Mt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Le(){var ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Mt(),Nt=Intl.RelativeTimeFormat,Ie=Intl.ListFormat,cn=Intl.DisplayNames;return{getDateTimeFormat:ot(Intl.DateTimeFormat,ft.dateTime),getNumberFormat:ot(Intl.NumberFormat,ft.number),getMessageFormat:ot(wt,ft.message),getRelativeTimeFormat:ot(Nt,ft.relativeTime),getPluralRules:ot(Intl.PluralRules,ft.pluralRules),getListFormat:ot(Ie,ft.list),getDisplayNames:ot(cn,ft.displayNames)}}function Ce(ft,Nt,Ie,cn){var dn=ft&&ft[Nt],_n;if(dn&&(_n=dn[Ie]),_n)return _n;cn(It("No ".concat(Nt," format named: ").concat(Ie)))}var Et=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Tt(ft,Nt){var Ie=ft.locale,cn=ft.formats,dn=ft.onError,_n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Tn=_n.format,yr=Tn&&Ce(cn,"number",Tn,dn)||{},Wr=lt(_n,Et,yr);return Nt(Ie,Wr)}function Ye(ft,Nt,Ie){var cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return Tt(ft,Nt,cn).format(Ie)}catch(dn){ft.onError(It("Error formatting number.",dn))}return String(Ie)}function et(ft,Nt,Ie){var cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return Tt(ft,Nt,cn).formatToParts(Ie)}catch(dn){ft.onError(It("Error formatting number.",dn))}return[]}var _t=["numeric","style"];function Ut(ft,Nt){var Ie=ft.locale,cn=ft.formats,dn=ft.onError,_n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Tn=_n.format,yr=!!Tn&&Ce(cn,"relative",Tn,dn)||{},Wr=lt(_n,_t,yr);return Nt(Ie,Wr)}function qt(ft,Nt,Ie,cn){var dn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};cn||(cn="second");var _n=Intl.RelativeTimeFormat;_n||ft.onError(It(`Intl.RelativeTimeFormat is not available in this environment. +Try polyfilling it using "@formatjs/intl-relativetimeformat" +`));try{return Ut(ft,Nt,dn).format(Ie,cn)}catch(Tn){ft.onError(It("Error formatting relative time.",Tn))}return String(Ie)}var un=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Mn(ft,Nt,Ie){var cn=ft.locale,dn=ft.formats,_n=ft.onError,Tn=ft.timeZone,yr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Wr=yr.format,Da=Object.assign(Object.assign({},Tn&&{timeZone:Tn}),Wr&&Ce(dn,Nt,Wr,_n)),la=lt(yr,un,Da);return Nt==="time"&&!la.hour&&!la.minute&&!la.second&&(la=Object.assign(Object.assign({},la),{hour:"numeric",minute:"numeric"})),Ie(cn,la)}function vn(ft,Nt,Ie){var cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},dn=typeof Ie=="string"?new Date(Ie||0):Ie;try{return Mn(ft,"date",Nt,cn).format(dn)}catch(_n){ft.onError(It("Error formatting date.",_n))}return String(dn)}function Xn(ft,Nt,Ie){var cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},dn=typeof Ie=="string"?new Date(Ie||0):Ie;try{return Mn(ft,"time",Nt,cn).format(dn)}catch(_n){ft.onError(It("Error formatting time.",_n))}return String(dn)}function Vn(ft,Nt,Ie){var cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},dn=typeof Ie=="string"?new Date(Ie||0):Ie;try{return Mn(ft,"date",Nt,cn).formatToParts(dn)}catch(_n){ft.onError(It("Error formatting date.",_n))}return[]}function or(ft,Nt,Ie){var cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},dn=typeof Ie=="string"?new Date(Ie||0):Ie;try{return Mn(ft,"time",Nt,cn).formatToParts(dn)}catch(_n){ft.onError(It("Error formatting time.",_n))}return[]}var er=["localeMatcher","type"];function Wt(ft,Nt,Ie){var cn=ft.locale,dn=ft.onError,_n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};Intl.PluralRules||dn(It(`Intl.PluralRules is not available in this environment. +Try polyfilling it using "@formatjs/intl-pluralrules" +`));var Tn=lt(_n,er);try{return Nt(cn,Tn).select(Ie)}catch(yr){dn(It("Error formatting plural.",yr))}return"other"}var en=e(34485),nn=e.n(en);function fn(ft,Nt){return Object.keys(ft).reduce(function(Ie,cn){return Ie[cn]=Object.assign({timeZone:Nt},ft[cn]),Ie},{})}function En(ft,Nt){var Ie=Object.keys(Object.assign(Object.assign({},ft),Nt));return Ie.reduce(function(cn,dn){return cn[dn]=Object.assign(Object.assign({},ft[dn]||{}),Nt[dn]||{}),cn},{})}function on(ft,Nt){if(!Nt)return ft;var Ie=wt.formats;return Object.assign(Object.assign(Object.assign({},Ie),ft),{date:En(fn(Ie.date,Nt),fn(ft.date||{},Nt)),time:En(fn(Ie.time,Nt),fn(ft.time||{},Nt))})}var pt=function(Nt){return S.createElement.apply(w,[S.Fragment,null].concat(nn()(Nt)))};function gt(ft,Nt){var Ie=ft.locale,cn=ft.formats,dn=ft.messages,_n=ft.defaultLocale,Tn=ft.defaultFormats,yr=ft.onError,Wr=ft.timeZone,Da=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},la=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},ea=Da.id,oa=Da.defaultMessage;Pt(!!ea,"[React Intl] An `id` must be provided to format a message.");var Ir=dn&&dn[String(ea)];cn=on(cn,Wr),Tn=on(Tn,Wr);var $r=[];if(Ir)try{var pa=Nt.getMessageFormat(Ir,Ie,cn,{formatters:Nt});$r=pa.formatHTMLMessage(la)}catch(lo){yr(It('Error formatting message: "'.concat(ea,'" for locale: "').concat(Ie,'"')+(oa?", using default message as fallback.":""),lo))}else(!oa||Ie&&Ie.toLowerCase()!==_n.toLowerCase())&&yr(It('Missing message: "'.concat(ea,'" for locale: "').concat(Ie,'"')+(oa?", using default message as fallback.":"")));if(!$r.length&&oa)try{var La=Nt.getMessageFormat(oa,_n,Tn);$r=La.formatHTMLMessage(la)}catch(lo){yr(It('Error formatting the default message for: "'.concat(ea,'"'),lo))}return $r.length?$r.length===1&&typeof $r[0]=="string"?$r[0]||oa||String(ea):pt($r):(yr(It('Cannot format message: "'.concat(ea,'", ')+"using message ".concat(Ir||oa?"source":"id"," as fallback."))),typeof Ir=="string"?Ir||oa||String(ea):oa||String(ea))}function Xt(ft,Nt){var Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},cn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},dn=Object.keys(cn).reduce(function(_n,Tn){var yr=cn[Tn];return _n[Tn]=typeof yr=="string"?tt(yr):yr,_n},{});return gt(ft,Nt,Ie,dn)}var rn=e(57761),Jt=e.n(rn),pn=e(16962),mn=e.n(pn),Zn=["localeMatcher","type","style"],tr=Date.now();function ut(ft){return"".concat(tr,"_").concat(ft,"_").concat(tr)}function ct(ft,Nt,Ie){var cn=ft.locale,dn=ft.onError,_n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Tn=Intl.ListFormat;Tn||dn(It(`Intl.ListFormat is not available in this environment. +Try polyfilling it using "@formatjs/intl-listformat" +`));var yr=lt(_n,Zn);try{var Wr={},Da=Ie.map(function(ea,oa){if(mn()(ea)==="object"){var Ir=ut(oa);return Wr[Ir]=ea,Ir}return String(ea)});if(!Object.keys(Wr).length)return Nt(cn,yr).format(Da);var la=Nt(cn,yr).formatToParts(Da);return la.reduce(function(ea,oa){var Ir=oa.value;return Wr[Ir]?ea.push(Wr[Ir]):typeof ea[ea.length-1]=="string"?ea[ea.length-1]+=Ir:ea.push(Ir),ea},[])}catch(ea){dn(It("Error formatting list.",ea))}return Ie}var Dt=["localeMatcher","style","type","fallback"];function xt(ft,Nt,Ie){var cn=ft.locale,dn=ft.onError,_n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Tn=Intl.DisplayNames;Tn||dn(It(`Intl.DisplayNames is not available in this environment. +Try polyfilling it using "@formatjs/intl-displaynames" +`));var yr=lt(_n,Dt);try{return Nt(cn,yr).of(Ie)}catch(Wr){dn(It("Error formatting display name.",Wr))}}var kt=Jt()||rn;function sn(ft){return{locale:ft.locale,timeZone:ft.timeZone,formats:ft.formats,textComponent:ft.textComponent,messages:ft.messages,defaultLocale:ft.defaultLocale,defaultFormats:ft.defaultFormats,onError:ft.onError}}function tn(ft,Nt){var Ie=Le(Nt),cn=Object.assign(Object.assign({},zt),ft),dn=cn.locale,_n=cn.defaultLocale,Tn=cn.onError;return dn?!Intl.NumberFormat.supportedLocalesOf(dn).length&&Tn?Tn(It('Missing locale data for locale: "'.concat(dn,'" in Intl.NumberFormat. Using default locale: "').concat(_n,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(dn).length&&Tn&&Tn(It('Missing locale data for locale: "'.concat(dn,'" in Intl.DateTimeFormat. Using default locale: "').concat(_n,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):(Tn&&Tn(It('"locale" was not configured, using "'.concat(_n,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details'))),cn.locale=cn.defaultLocale||"en"),Object.assign(Object.assign({},cn),{formatters:Ie,formatNumber:Ye.bind(null,cn,Ie.getNumberFormat),formatNumberToParts:et.bind(null,cn,Ie.getNumberFormat),formatRelativeTime:qt.bind(null,cn,Ie.getRelativeTimeFormat),formatDate:vn.bind(null,cn,Ie.getDateTimeFormat),formatDateToParts:Vn.bind(null,cn,Ie.getDateTimeFormat),formatTime:Xn.bind(null,cn,Ie.getDateTimeFormat),formatTimeToParts:or.bind(null,cn,Ie.getDateTimeFormat),formatPlural:Wt.bind(null,cn,Ie.getPluralRules),formatMessage:gt.bind(null,cn,Ie),formatHTMLMessage:Xt.bind(null,cn,Ie),formatList:ct.bind(null,cn,Ie.getListFormat),formatDisplayName:xt.bind(null,cn,Ie.getDisplayNames)})}var xn=function(ft){g()(Ie,ft);var Nt=h()(Ie);function Ie(){var cn;return d()(this,Ie),cn=Nt.apply(this,arguments),cn.cache=Mt(),cn.state={cache:cn.cache,intl:tn(sn(cn.props),cn.cache),prevConfig:sn(cn.props)},cn}return c()(Ie,[{key:"render",value:function(){return bt(this.state.intl),S.createElement(j,{value:this.state.intl},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(dn,_n){var Tn=_n.prevConfig,yr=_n.cache,Wr=sn(dn);return kt(Tn,Wr)?null:{intl:tn(Wr,yr),prevConfig:Wr}}}]),Ie}(S.PureComponent);xn.displayName="IntlProvider",xn.defaultProps=zt;var Nn=e(23042),gr=e(87308),nr=e.n(gr),Rn=e(62118),kr=e.n(Rn),fr=function(ft,Nt){var Ie={};for(var cn in ft)Object.prototype.hasOwnProperty.call(ft,cn)&&Nt.indexOf(cn)<0&&(Ie[cn]=ft[cn]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dn=0,cn=Object.getOwnPropertySymbols(ft);dn1&&arguments[1]!==void 0?arguments[1]:!0,cn=function(){if(Ua()!==Nt){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&zn&&window.localStorage.setItem("umi_locale",Nt||""),Mo(Nt),Ie)window.location.reload();else if(vr.emit(ra,Nt),window.dispatchEvent){var _n=new Event("languagechange");window.dispatchEvent(_n)}}};cn()},jo=!0,Wo=function(Nt,Ie){return jo&&(kr()(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl. + +\u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002 + +http://j.mp/37Fkd5Q + `),jo=!1),Kn||Mo(Ua()),Kn.formatMessage(Nt,Ie)},Eo=function(){return Object.keys(xr)}},47338:function(b,y,e){"use strict";e.d(y,{t:function(){return T},z:function(){return U}});var a=e(88205),t=e.n(a),o=e(61697),s=e.n(o),n=e(77016),d=e.n(n),l=e(2657),c=e.n(l),m=e(44204),g=e.n(m),M=e(58757),h=e(35667),S=M.createContext(null),w=s()(function N(){var Z=this;d()(this,N),c()(this,"callbacks",{}),c()(this,"data",{}),c()(this,"update",function(D){Z.callbacks[D]&&Z.callbacks[D].forEach(function(L){try{var j=Z.data[D];L(j)}catch(G){L(void 0)}})})});function x(N){var Z=N.hook,D=N.onUpdate,L=N.namespace,j=(0,M.useRef)(D),G=(0,M.useRef)(!1),W;try{W=Z()}catch(ne){console.error("plugin-model: Invoking '".concat(L||"unknown","' model failed:"),ne)}return(0,M.useMemo)(function(){j.current(W)},[]),(0,M.useEffect)(function(){G.current?j.current(W):G.current=!0}),null}var z=new w;function U(N){return(0,h.jsxs)(S.Provider,{value:{dispatcher:z},children:[Object.keys(N.models).map(function(Z){return(0,h.jsx)(x,{hook:N.models[Z],namespace:Z,onUpdate:function(L){z.data[Z]=L,z.update(Z)}},Z)}),N.children]})}function T(N,Z){var D=(0,M.useContext)(S),L=D.dispatcher,j=(0,M.useRef)(Z);j.current=Z;var G=(0,M.useState)(function(){return j.current?j.current(L.data[N]):L.data[N]}),W=t()(G,2),ne=W[0],_=W[1],ee=(0,M.useRef)(ne);ee.current=ne;var se=(0,M.useRef)(!1);return(0,M.useEffect)(function(){return se.current=!0,function(){se.current=!1}},[]),(0,M.useEffect)(function(){var Q,C=function(O){if(!se.current)setTimeout(function(){L.data[N]=O,L.update(N)});else{var H=j.current?j.current(O):O,k=ee.current;g()(H,k)||(ee.current=H,_(H))}};return(Q=L.callbacks)[N]||(Q[N]=new Set),L.callbacks[N].add(C),L.update(N),function(){L.callbacks[N].delete(C)}},[N]),ne}},76180:function(b,y,e){"use strict";e.d(y,{AD:function(){return V},JJ:function(){return he},EX:function(){return P},BP:function(){return Ee},pB:function(){return le},G3:function(){return Ne},YZ:function(){return q},J1:function(){return ue},L8:function(){return ke},Ss:function(){return R},zY:function(){return J},oC:function(){return we},gS:function(){return Ke},po:function(){return xe},a5:function(){return Se},j3:function(){return re},YC:function(){return $e},iP:function(){return ge},oM:function(){return ie},JQ:function(){return B},Wp:function(){return Oe},$j:function(){return oe},uP:function(){return pe},Uf:function(){return Ae}});var a=e(2657),t=e.n(a),o=e(58757),s=Object.defineProperty,n=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(nt,_e,We)=>_e in nt?s(nt,_e,{enumerable:!0,configurable:!0,writable:!0,value:We}):nt[_e]=We,m=(nt,_e)=>{for(var We in _e||(_e={}))d.call(_e,We)&&c(nt,We,_e[We]);if(n)for(var We of n(_e))l.call(_e,We)&&c(nt,We,_e[We]);return nt};const g=nt=>o.createElement("svg",m({className:"classification_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},nt),o.createElement("path",{d:"M797.723 912.007h-149.1c-59.634 0-109.325-49.691-109.325-109.326V539.325h263.356c59.635 0 109.326 49.69 109.326 109.325v149.073c0 29.804-9.944 54.65-29.804 79.495-29.83 24.818-54.703 34.762-84.48 34.762zm-422.373 0H226.277c-64.593 0-114.257-49.691-114.257-109.326V653.608c0-29.803 9.917-59.634 34.762-79.494 19.86-19.887 49.691-34.79 79.495-34.79h258.398v263.357c0 29.804-9.943 54.65-29.803 79.495-24.846 19.887-49.691 29.83-79.522 29.83zm422.373-422.373H534.339V226.277c0-29.804 9.97-59.634 34.79-79.495 19.887-19.86 49.69-34.762 79.521-34.762h149.073c59.608 4.932 109.298 54.623 109.298 114.257V375.35c0 29.83-9.916 54.676-29.803 79.495-24.846 24.845-49.691 34.762-79.495 34.762zm-313.048 0H221.32c-59.635 0-109.326-49.691-109.326-109.326V231.235c0-29.803 9.944-59.607 34.79-79.494 19.86-24.819 49.69-34.762 74.536-34.762h149.073c59.634 0 109.298 49.664 109.298 109.298v263.384h4.958v-.027z"}));var M="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTc5Ny43MjMgOTEyLjAwN2gtMTQ5LjFjLTU5LjYzNCAwLTEwOS4zMjUtNDkuNjkxLTEwOS4zMjUtMTA5LjMyNlY1MzkuMzI1aDI2My4zNTZjNTkuNjM1IDAgMTA5LjMyNiA0OS42OSAxMDkuMzI2IDEwOS4zMjV2MTQ5LjA3M2MwIDI5LjgwNC05Ljk0NCA1NC42NS0yOS44MDQgNzkuNDk1LTI5LjgzIDI0LjgxOC01NC43MDMgMzQuNzYyLTg0LjQ4IDM0Ljc2MnptLTQyMi4zNzMgMEgyMjYuMjc3Yy02NC41OTMgMC0xMTQuMjU3LTQ5LjY5MS0xMTQuMjU3LTEwOS4zMjZWNjUzLjYwOGMwLTI5LjgwMyA5LjkxNy01OS42MzQgMzQuNzYyLTc5LjQ5NCAxOS44Ni0xOS44ODcgNDkuNjkxLTM0Ljc5IDc5LjQ5NS0zNC43OWgyNTguMzk4djI2My4zNTdjMCAyOS44MDQtOS45NDMgNTQuNjUtMjkuODAzIDc5LjQ5NS0yNC44NDYgMTkuODg3LTQ5LjY5MSAyOS44My03OS41MjIgMjkuODN6bTQyMi4zNzMtNDIyLjM3M0g1MzQuMzM5VjIyNi4yNzdjMC0yOS44MDQgOS45Ny01OS42MzQgMzQuNzktNzkuNDk1IDE5Ljg4Ny0xOS44NiA0OS42OS0zNC43NjIgNzkuNTIxLTM0Ljc2MmgxNDkuMDczYzU5LjYwOCA0LjkzMiAxMDkuMjk4IDU0LjYyMyAxMDkuMjk4IDExNC4yNTdWMzc1LjM1YzAgMjkuODMtOS45MTYgNTQuNjc2LTI5LjgwMyA3OS40OTUtMjQuODQ2IDI0Ljg0NS00OS42OTEgMzQuNzYyLTc5LjQ5NSAzNC43NjJ6bS0zMTMuMDQ4IDBIMjIxLjMyYy01OS42MzUgMC0xMDkuMzI2LTQ5LjY5MS0xMDkuMzI2LTEwOS4zMjZWMjMxLjIzNWMwLTI5LjgwMyA5Ljk0NC01OS42MDcgMzQuNzktNzkuNDk0IDE5Ljg2LTI0LjgxOSA0OS42OS0zNC43NjIgNzQuNTM2LTM0Ljc2MmgxNDkuMDczYzU5LjYzNCAwIDEwOS4yOTggNDkuNjY0IDEwOS4yOTggMTA5LjI5OHYyNjMuMzg0aDQuOTU4di0uMDI3eiIvPjwvc3ZnPg==",h=Object.defineProperty,S=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(nt,_e,We)=>_e in nt?h(nt,_e,{enumerable:!0,configurable:!0,writable:!0,value:We}):nt[_e]=We,U=(nt,_e)=>{for(var We in _e||(_e={}))w.call(_e,We)&&z(nt,We,_e[We]);if(S)for(var We of S(_e))x.call(_e,We)&&z(nt,We,_e[We]);return nt};const T=nt=>o.createElement("svg",U({className:"datasetDetection_svg__icon",viewBox:"0 0 1092 1024",xmlns:"http://www.w3.org/2000/svg",width:213.281,height:200},nt),o.createElement("path",{d:"m514.859 116.928 318.336 130.624-1.28 3.2 2.88-1.152v448l-320 128-320-128v-448l2.816 1.152-1.28-3.2 318.528-130.624zm-256 227.2v310.144l224 89.6V434.24h1.28l-225.28-90.112zm512 0L545.323 434.24h1.408v309.632l224-89.6V344.128zm-256.064-158.08-236.352 97.024L514.795 377.6l236.288-94.528-236.288-97.024zM132.523 728.064v160h160v64h-224v-224h64zm830.272 0v224h-224v-64h160v-160h64zm-670.272-672v64h-160v160h-64v-224h224zm670.272 0v224h-64v-160h-160v-64h224z"}),o.createElement("path",{d:"M4.267 0h1024v1024h-1024z",fill:"none"}));var N="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwOTIgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjEzLjI4MSIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Im01MTQuODU5IDExNi45MjggMzE4LjMzNiAxMzAuNjI0LTEuMjggMy4yIDIuODgtMS4xNTJ2NDQ4bC0zMjAgMTI4LTMyMC0xMjh2LTQ0OGwyLjgxNiAxLjE1Mi0xLjI4LTMuMiAzMTguNTI4LTEzMC42MjR6bS0yNTYgMjI3LjJ2MzEwLjE0NGwyMjQgODkuNlY0MzQuMjRoMS4yOGwtMjI1LjI4LTkwLjExMnptNTEyIDBMNTQ1LjMyMyA0MzQuMjRoMS40MDh2MzA5LjYzMmwyMjQtODkuNlYzNDQuMTI4em0tMjU2LjA2NC0xNTguMDgtMjM2LjM1MiA5Ny4wMjRMNTE0Ljc5NSAzNzcuNmwyMzYuMjg4LTk0LjUyOC0yMzYuMjg4LTk3LjAyNHpNMTMyLjUyMyA3MjguMDY0djE2MGgxNjB2NjRoLTIyNHYtMjI0aDY0em04MzAuMjcyIDB2MjI0aC0yMjR2LTY0aDE2MHYtMTYwaDY0em0tNjcwLjI3Mi02NzJ2NjRoLTE2MHYxNjBoLTY0di0yMjRoMjI0em02NzAuMjcyIDB2MjI0aC02NHYtMTYwaC0xNjB2LTY0aDIyNHoiLz48cGF0aCBkPSJNNC4yNjcgMGgxMDI0djEwMjRoLTEwMjR6IiBmaWxsPSJub25lIi8+PC9zdmc+",Z=Object.defineProperty,D=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,G=(nt,_e,We)=>_e in nt?Z(nt,_e,{enumerable:!0,configurable:!0,writable:!0,value:We}):nt[_e]=We,W=(nt,_e)=>{for(var We in _e||(_e={}))L.call(_e,We)&&G(nt,We,_e[We]);if(D)for(var We of D(_e))j.call(_e,We)&&G(nt,We,_e[We]);return nt};const ne=nt=>o.createElement("svg",W({className:"datasetSegment_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},nt),o.createElement("path",{d:"M179.2 524.288h678.912a25.6 25.6 0 0 0 0-51.2H179.2a25.6 25.6 0 0 0 0 51.2zm700.672-245.504v-56.32l-164.864 156.16H774.4l105.472-99.84zm0 73.216-27.904 26.624h27.904V352zm-242.176 26.624 242.176-229.376v-15.616h-43.264L578.304 378.624h59.392zm-136.96 0 258.56-244.992h-59.392L441.6 378.624h59.136zm-136.704 0 258.304-244.992h-59.392l-258.56 244.992h59.648zm-136.96 0 258.56-244.992H426.24L167.68 378.624h59.392zm62.72-244.992L156.16 260.352v55.808l192.512-182.528h-58.88zm-133.632 0v53.504l56.32-53.504h-56.32zm618.24 742.4 105.472-99.584v-56.576l-164.864 156.16H774.4zm105.472 0v-26.368l-27.904 26.368h27.904zm-301.568 0h59.392l242.176-229.376v-15.36h-43.264L578.304 876.032zm121.6-244.736L441.6 876.032h59.136l258.56-244.736h-59.392zm-136.96 0-258.56 244.736h59.648l258.304-244.736h-59.392zm-136.704 0L167.68 876.032h59.392l258.56-244.736H426.24zm-136.448 0L156.16 758.016v55.808l192.512-182.528h-58.88zM156.16 684.544l56.32-53.248h-56.32v53.248z"}));var _="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTE3OS4yIDUyNC4yODhoNjc4LjkxMmEyNS42IDI1LjYgMCAwIDAgMC01MS4ySDE3OS4yYTI1LjYgMjUuNiAwIDAgMCAwIDUxLjJ6bTcwMC42NzItMjQ1LjUwNHYtNTYuMzJsLTE2NC44NjQgMTU2LjE2SDc3NC40bDEwNS40NzItOTkuODR6bTAgNzMuMjE2LTI3LjkwNCAyNi42MjRoMjcuOTA0VjM1MnptLTI0Mi4xNzYgMjYuNjI0IDI0Mi4xNzYtMjI5LjM3NnYtMTUuNjE2aC00My4yNjRMNTc4LjMwNCAzNzguNjI0aDU5LjM5MnptLTEzNi45NiAwIDI1OC41Ni0yNDQuOTkyaC01OS4zOTJMNDQxLjYgMzc4LjYyNGg1OS4xMzZ6bS0xMzYuNzA0IDAgMjU4LjMwNC0yNDQuOTkyaC01OS4zOTJsLTI1OC41NiAyNDQuOTkyaDU5LjY0OHptLTEzNi45NiAwIDI1OC41Ni0yNDQuOTkySDQyNi4yNEwxNjcuNjggMzc4LjYyNGg1OS4zOTJ6bTYyLjcyLTI0NC45OTJMMTU2LjE2IDI2MC4zNTJ2NTUuODA4bDE5Mi41MTItMTgyLjUyOGgtNTguODh6bS0xMzMuNjMyIDB2NTMuNTA0bDU2LjMyLTUzLjUwNGgtNTYuMzJ6bTYxOC4yNCA3NDIuNCAxMDUuNDcyLTk5LjU4NHYtNTYuNTc2bC0xNjQuODY0IDE1Ni4xNkg3NzQuNHptMTA1LjQ3MiAwdi0yNi4zNjhsLTI3LjkwNCAyNi4zNjhoMjcuOTA0em0tMzAxLjU2OCAwaDU5LjM5MmwyNDIuMTc2LTIyOS4zNzZ2LTE1LjM2aC00My4yNjRMNTc4LjMwNCA4NzYuMDMyem0xMjEuNi0yNDQuNzM2TDQ0MS42IDg3Ni4wMzJoNTkuMTM2bDI1OC41Ni0yNDQuNzM2aC01OS4zOTJ6bS0xMzYuOTYgMC0yNTguNTYgMjQ0LjczNmg1OS42NDhsMjU4LjMwNC0yNDQuNzM2aC01OS4zOTJ6bS0xMzYuNzA0IDBMMTY3LjY4IDg3Ni4wMzJoNTkuMzkybDI1OC41Ni0yNDQuNzM2SDQyNi4yNHptLTEzNi40NDggMEwxNTYuMTYgNzU4LjAxNnY1NS44MDhsMTkyLjUxMi0xODIuNTI4aC01OC44OHpNMTU2LjE2IDY4NC41NDRsNTYuMzItNTMuMjQ4aC01Ni4zMnY1My4yNDh6Ii8+PC9zdmc+",ee=Object.defineProperty,se=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,X=(nt,_e,We)=>_e in nt?ee(nt,_e,{enumerable:!0,configurable:!0,writable:!0,value:We}):nt[_e]=We,O=(nt,_e)=>{for(var We in _e||(_e={}))Q.call(_e,We)&&X(nt,We,_e[We]);if(se)for(var We of se(_e))C.call(_e,We)&&X(nt,We,_e[We]);return nt};const H=nt=>o.createElement("svg",O({className:"datasetMatting_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},nt),o.createElement("path",{d:"M832 288h-96v-96c0-52.9-43.1-96-96-96H192c-52.9 0-96 43.1-96 96v448c0 52.9 43.1 96 96 96h96v96c0 52.9 43.1 96 96 96h448c52.9 0 96-43.1 96-96V384c0-52.9-43.1-96-96-96zM160 640V192c0-17.6 14.4-32 32-32h448c17.6 0 32 14.4 32 32v96h-32c-17.7 0-32 14.3-32 32s14.3 32 32 32h32v288c0 17.6-14.4 32-32 32H352v-32c0-17.7-14.3-32-32-32s-32 14.3-32 32v32h-96c-17.6 0-32-14.4-32-32zm704 192c0 17.6-14.4 32-32 32H384c-17.6 0-32-14.4-32-32v-96h288c52.9 0 96-43.1 96-96V352h96c17.6 0 32 14.4 32 32v448z"}),o.createElement("path",{d:"M320 576c17.7 0 32-14.3 32-32v-64c0-17.7-14.3-32-32-32s-32 14.3-32 32v64c0 17.7 14.3 32 32 32zm160-224h64c17.7 0 32-14.3 32-32s-14.3-32-32-32h-64c-17.7 0-32 14.3-32 32s14.3 32 32 32zm-160 64c17.7 0 32-14.3 32-32 0-17.6 14.4-32 32-32 17.7 0 32-14.3 32-32s-14.3-32-32-32c-52.9 0-96 43.1-96 96 0 17.7 14.3 32 32 32z"}));var k="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTgzMiAyODhoLTk2di05NmMwLTUyLjktNDMuMS05Ni05Ni05NkgxOTJjLTUyLjkgMC05NiA0My4xLTk2IDk2djQ0OGMwIDUyLjkgNDMuMSA5NiA5NiA5Nmg5NnY5NmMwIDUyLjkgNDMuMSA5NiA5NiA5Nmg0NDhjNTIuOSAwIDk2LTQzLjEgOTYtOTZWMzg0YzAtNTIuOS00My4xLTk2LTk2LTk2ek0xNjAgNjQwVjE5MmMwLTE3LjYgMTQuNC0zMiAzMi0zMmg0NDhjMTcuNiAwIDMyIDE0LjQgMzIgMzJ2OTZoLTMyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnMxNC4zIDMyIDMyIDMyaDMydjI4OGMwIDE3LjYtMTQuNCAzMi0zMiAzMkgzNTJ2LTMyYzAtMTcuNy0xNC4zLTMyLTMyLTMycy0zMiAxNC4zLTMyIDMydjMyaC05NmMtMTcuNiAwLTMyLTE0LjQtMzItMzJ6bTcwNCAxOTJjMCAxNy42LTE0LjQgMzItMzIgMzJIMzg0Yy0xNy42IDAtMzItMTQuNC0zMi0zMnYtOTZoMjg4YzUyLjkgMCA5Ni00My4xIDk2LTk2VjM1Mmg5NmMxNy42IDAgMzIgMTQuNCAzMiAzMnY0NDh6Ii8+PHBhdGggZD0iTTMyMCA1NzZjMTcuNyAwIDMyLTE0LjMgMzItMzJ2LTY0YzAtMTcuNy0xNC4zLTMyLTMyLTMycy0zMiAxNC4zLTMyIDMydjY0YzAgMTcuNyAxNC4zIDMyIDMyIDMyem0xNjAtMjI0aDY0YzE3LjcgMCAzMi0xNC4zIDMyLTMycy0xNC4zLTMyLTMyLTMyaC02NGMtMTcuNyAwLTMyIDE0LjMtMzIgMzJzMTQuMyAzMiAzMiAzMnptLTE2MCA2NGMxNy43IDAgMzItMTQuMyAzMi0zMiAwLTE3LjYgMTQuNC0zMiAzMi0zMiAxNy43IDAgMzItMTQuMyAzMi0zMnMtMTQuMy0zMi0zMi0zMmMtNTIuOSAwLTk2IDQzLjEtOTYgOTYgMCAxNy43IDE0LjMgMzIgMzIgMzJ6Ii8+PC9zdmc+",A=Object.defineProperty,Y=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ve=(nt,_e,We)=>_e in nt?A(nt,_e,{enumerable:!0,configurable:!0,writable:!0,value:We}):nt[_e]=We,be=(nt,_e)=>{for(var We in _e||(_e={}))de.call(_e,We)&&ve(nt,We,_e[We]);if(Y)for(var We of Y(_e))me.call(_e,We)&&ve(nt,We,_e[We]);return nt};const Pe=nt=>o.createElement("svg",be({className:"datasetKeypoint_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},nt),o.createElement("path",{d:"M938.667 298.667c0 70.613-57.387 128-128 128s-128-57.387-128-128c0-1.92 0-3.627.213-5.334L501.12 238.72a107.03 107.03 0 0 1-63.787 55.253l69.334 138.24c15.36-3.626 31.573-5.546 48-5.546C672.213 426.667 768 522.453 768 640s-95.787 213.333-213.333 213.333c-85.334 0-159.147-50.56-193.067-123.093l-34.133 22.613c8.96 17.28 13.866 36.907 13.866 57.814 0 70.613-57.386 128-128 128s-128-57.387-128-128 57.387-128 128-128c34.774 0 66.134 13.653 88.96 36.053l44.8-29.867c-3.84-15.573-5.76-32-5.76-48.853 0-85.973 51.2-160.213 124.587-193.92L391.68 297.6A106.475 106.475 0 0 1 298.667 192c0-58.88 47.786-106.667 106.666-106.667S512 133.12 512 192c0 1.707 0 3.627-.213 5.333l180.053 53.974a127.957 127.957 0 0 1 118.827-80.64c70.613 0 128 57.386 128 128z"}));var Je="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTkzOC42NjcgMjk4LjY2N2MwIDcwLjYxMy01Ny4zODcgMTI4LTEyOCAxMjhzLTEyOC01Ny4zODctMTI4LTEyOGMwLTEuOTIgMC0zLjYyNy4yMTMtNS4zMzRMNTAxLjEyIDIzOC43MmExMDcuMDMgMTA3LjAzIDAgMCAxLTYzLjc4NyA1NS4yNTNsNjkuMzM0IDEzOC4yNGMxNS4zNi0zLjYyNiAzMS41NzMtNS41NDYgNDgtNS41NDZDNjcyLjIxMyA0MjYuNjY3IDc2OCA1MjIuNDUzIDc2OCA2NDBzLTk1Ljc4NyAyMTMuMzMzLTIxMy4zMzMgMjEzLjMzM2MtODUuMzM0IDAtMTU5LjE0Ny01MC41Ni0xOTMuMDY3LTEyMy4wOTNsLTM0LjEzMyAyMi42MTNjOC45NiAxNy4yOCAxMy44NjYgMzYuOTA3IDEzLjg2NiA1Ny44MTQgMCA3MC42MTMtNTcuMzg2IDEyOC0xMjggMTI4cy0xMjgtNTcuMzg3LTEyOC0xMjggNTcuMzg3LTEyOCAxMjgtMTI4YzM0Ljc3NCAwIDY2LjEzNCAxMy42NTMgODguOTYgMzYuMDUzbDQ0LjgtMjkuODY3Yy0zLjg0LTE1LjU3My01Ljc2LTMyLTUuNzYtNDguODUzIDAtODUuOTczIDUxLjItMTYwLjIxMyAxMjQuNTg3LTE5My45MkwzOTEuNjggMjk3LjZBMTA2LjQ3NSAxMDYuNDc1IDAgMCAxIDI5OC42NjcgMTkyYzAtNTguODggNDcuNzg2LTEwNi42NjcgMTA2LjY2Ni0xMDYuNjY3UzUxMiAxMzMuMTIgNTEyIDE5MmMwIDEuNzA3IDAgMy42MjctLjIxMyA1LjMzM2wxODAuMDUzIDUzLjk3NGExMjcuOTU3IDEyNy45NTcgMCAwIDEgMTE4LjgyNy04MC42NGM3MC42MTMgMCAxMjggNTcuMzg2IDEyOCAxMjh6Ii8+PC9zdmc+",qe,Xe,mt,Ct,vt="Deep Data Space",Ht="https://img.alicdn.com/tfs/TB1YHEpwUT1gK0jSZFhXXaAtVXa-28-27.svg",ke=50,Ve=null,ot=null,Ke=8,he=function(nt){return nt.Classification="Classification",nt.Detection="Detection",nt.Segmentation="Segmentation",nt.Matting="Matting",nt.KeyPoints="KeyPoints",nt.Mask="Mask",nt}({}),J=function(nt){return nt.showAnnotations="showAnnotations",nt.showAllCategory="showAllCategory",nt.showImgDesc="showImgDesc",nt.showBoxText="showBoxText",nt.showSegFilling="showSegFilling",nt.showSegContour="showSegContour",nt.showMattingColorFill="showMattingColorFill",nt.showKeyPointsLine="showKeyPointsLine",nt.showKeyPointsBox="showKeyPointsBox",nt}({}),V=(qe={},t()(qe,he.Classification,g),t()(qe,he.Detection,T),t()(qe,he.Segmentation,ne),t()(qe,he.Matting,H),t()(qe,he.KeyPoints,Pe),t()(qe,he.Mask,H),qe),R=(Xe={},t()(Xe,J.showAnnotations,"lab.displayOption.showAnnotations"),t()(Xe,J.showAllCategory,"lab.displayOption.showAllCategory"),t()(Xe,J.showImgDesc,"lab.displayOption.showImgDesc"),t()(Xe,J.showBoxText,"lab.displayOption.showBoxText"),t()(Xe,J.showSegFilling,"lab.displayOption.showSegFilling"),t()(Xe,J.showSegContour,"lab.displayOption.showSegContour"),t()(Xe,J.showMattingColorFill,"lab.displayOption.showMattingColorFill"),t()(Xe,J.showKeyPointsLine,"lab.displayOption.showKeyPointsLine"),t()(Xe,J.showKeyPointsBox,"lab.displayOption.showKeyPointsBox"),Xe),P=[J.showAnnotations,J.showAllCategory,J.showImgDesc],B=[[0],[2],[5],[10],[1,5,3],[5,2,10]],ge=[1,.4,.6,.8,.85,.9],ie=[1,1.5,1.75,2,2.25,2.5],pe=function(nt){return nt.Overlay="dataset.diffMode.overlay",nt.Tiled="dataset.diffMode.tiled",nt}({}),Oe=[pe.Overlay,pe.Tiled],xe=function(nt){return nt[nt.all=-1]="all",nt[nt.unflaged=0]="unflaged",nt[nt.picked=1]="picked",nt[nt.rejected=2]="rejected",nt}({}),Se=(mt={},t()(mt,xe.all,"transparent"),t()(mt,xe.unflaged,"#8C8C8C"),t()(mt,xe.picked,"#52C41A"),t()(mt,xe.rejected,"#F5222D"),mt),$e=[{value:xe.picked,tip:"save as 'positive'"},{value:xe.rejected,tip:"save as 'negative'"},{value:xe.unflaged,tip:"save as 'unset'"}],re=[{value:xe.all,name:"all"},{value:xe.unflaged,name:"unset"},{value:xe.picked,name:"positive"},{value:xe.rejected,name:"negative"}],oe=function(nt){return nt.gt="GT",nt.user="User",nt.pred="Pred",nt}({}),q=function(nt){return nt.fn="fn",nt.fp="fp",nt}({}),ue=[{value:q.fn,name:"FN count"},{value:q.fp,name:"FP count"}],Ee=function(nt){return nt.ok="OK",nt.fn="FN",nt.fp="FP",nt}({}),le=(Ct={},t()(Ct,Ee.ok,""),t()(Ct,Ee.fn,"rgba(255,0,0,0.4)"),t()(Ct,Ee.fp,"rgba(0,0,255,0.4)"),Ct),Ne=[{value:oe.gt,name:"GT - Matched"},{value:Ee.fn,name:"GT - FN"},{value:oe.pred,name:"Prediction - Matched"},{value:Ee.fp,name:"Prediction - FP"}],Ae=function(nt){return nt.AUTH_TOKEN="auth_token",nt}({}),we=function(nt){return nt.Active="active",nt.Inactive="inactive",nt.Activating="activating",nt}({}),Re=function(nt){return nt.Upload="self_uploaded",nt.DirectUrl="direct_url",nt}({}),st=function(nt){return nt.Waiting="waiting",nt.Running="running",nt.Success="success",nt.Failed="failed",nt.Fail="fail",nt}({})},35459:function(b,y,e){"use strict";e.d(y,{JE:function(){return m},ZA:function(){return c},gZ:function(){return l},j$:function(){return g},mu:function(){return d},tz:function(){return n}});var a=e(2657),t=e.n(a),o,s,n=function(M){return M.Waiting="waiting",M.Initializing="initializing",M.Working="working",M.Reviewing="reviewing",M.Rejected="rejected",M.Accepted="accepted",M.Exported="exported",M}({}),d=(o={},t()(o,n.Waiting,{text:"proj.statusMap.waiting",color:"default"}),t()(o,n.Initializing,{text:"proj.statusMap.initializing",color:"default"}),t()(o,n.Working,{text:"proj.statusMap.working",color:"processing"}),t()(o,n.Reviewing,{text:"proj.statusMap.reviewing",color:"warning"}),t()(o,n.Rejected,{text:"proj.statusMap.rejected",color:"error"}),t()(o,n.Accepted,{text:"proj.statusMap.accepted",color:"success"}),t()(o,n.Exported,{text:"proj.statusMap.exported",color:"default"}),o),l=function(M){return M.Waiting="waiting",M.Working="working",M.Reviewing="reviewing",M.Rejected="rejected",M.Accepted="accepted",M}({}),c=(s={},t()(s,l.Waiting,{text:"proj.eTaskStatus.waiting",color:"default"}),t()(s,l.Working,{text:"proj.eTaskStatus.working",color:"processing"}),t()(s,l.Reviewing,{text:"proj.eTaskStatus.reviewing",color:"warning"}),t()(s,l.Rejected,{text:"proj.eTaskStatus.rejected",color:"error"}),t()(s,l.Accepted,{text:"proj.eTaskStatus.accepted",color:"success"}),s),m=function(M){return M.Accept="accept",M.Reject="reject",M.ForceAccept="force_accept",M}({}),g=function(M){return M.Labeling="labeling",M.Reviewing="reviewing",M.Rejected="rejected",M.Accepted="accepted",M}({})},1239:function(b,y,e){"use strict";e.d(y,{Oc:function(){return d},vb:function(){return n}});var a=e(2657),t=e.n(a),o=e(97375),s,n=function(c){return c.Owner="owner",c.Manager="manager",c.LabelLeader="label_leader",c.ReviewLeader="review_leader",c.Labeler="labeler",c.Reviewer="reviewer",c}({}),d=function(c){return c[c.ProjectEdit=0]="ProjectEdit",c[c.ProjectInfo=1]="ProjectInfo",c[c.ProjectInit=2]="ProjectInit",c[c.ProjectQa=3]="ProjectQa",c[c.ProjectExport=4]="ProjectExport",c[c.AssignLeader=100]="AssignLeader",c[c.TaskQa=101]="TaskQa",c[c.AssignLabeler=102]="AssignLabeler",c[c.AssignReviewer=103]="AssignReviewer",c[c.RestartTask=104]="RestartTask",c[c.StartLabel=105]="StartLabel",c[c.StartReview=106]="StartReview",c[c.CommitReviewTask=107]="CommitReviewTask",c[c.View=108]="View",c}({}),l=(s={},t()(s,n.Owner,[d.ProjectEdit,d.ProjectQa,d.View,d.ProjectExport]),t()(s,n.Manager,[d.ProjectInit,d.ProjectInfo,d.AssignLeader,d.TaskQa,d.View]),t()(s,n.LabelLeader,[d.AssignLabeler,d.RestartTask,d.View]),t()(s,n.ReviewLeader,[d.AssignReviewer,d.View]),t()(s,n.Labeler,[d.StartLabel]),t()(s,n.Reviewer,[d.StartReview,d.CommitReviewTask]),s);y.ZP=function(){var c=(0,o.useModel)("user"),m=c.user,g=function(S,w){if(!m.userId||!S)return[];var x=[];if(m.userId===S.owner.id&&x.push(n.Owner),S.managers.find(function(T){return T.id===m.userId})&&x.push(n.Manager),w){var z,U;((z=w.labelLeader)===null||z===void 0?void 0:z.userId)===m.userId&&x.push(n.LabelLeader),((U=w.reviewLeader)===null||U===void 0?void 0:U.userId)===m.userId&&x.push(n.ReviewLeader),w.labelers.find(function(T){return T.userId===m.userId})&&x.push(n.Labeler),w.reviewers.find(function(T){return T.userId===m.userId})&&x.push(n.Reviewer)}return x},M=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],w=arguments.length>1?arguments[1]:void 0,x=[];return S.forEach(function(z){var U=l[z];U.forEach(function(T){x.includes(T)||x.push(T)})}),x.includes(w)};return{getUserRoles:g,checkPermission:M}}},32694:function(b,y,e){"use strict";e.d(y,{u:function(){return U}});var a=e(24454),t=e.n(a),o=e(34485),s=e.n(o),n=e(56592),d=e.n(n),l=e(88205),c=e.n(l),m=e(97375),g=e(65246),M=e(7986),h=e(91290),S=e(53357),w=e(84045),x=e(23707),z=20,U=function(N){return N[N.labelLeader=0]="labelLeader",N[N.reviewLeader=1]="reviewLeader",N[N.labeler=2]="labeler",N[N.reviewer=3]="reviewer",N[N.reassign=4]="reassign",N}({}),T={show:!1,types:[],tasks:[],initialValues:{}};y.Z=function(){var N=(0,m.useModel)("user"),Z=N.user,D=(0,g.x)({list:[],total:0,selectedTaskIds:[]}),L=c()(D,2),j=L[0],G=L[1],W=(0,g.x)({page:1,pageSize:z}),ne=c()(W,2),_=ne[0],ee=ne[1],se=(0,g.x)(void 0),Q=c()(se,2),C=Q[0],X=Q[1],O=(0,g.x)(T),H=c()(O,2),k=H[0],A=H[1],Y=(0,M.Z)(function(he,J){return G(function(V){V.list=[]}),(0,h.ZJ)({projectId:(0,x.Oe)(),pageNum:he||_.page,pageSize:J||_.pageSize})},{manual:!0,debounceWait:100,refreshDeps:[_.page,_.pageSize],onSuccess:function(J){var V=J.taskList,R=J.total;G(function(P){P.list=V,P.total=R,P.selectedTaskIds=[]})},onError:function(){}}),de=Y.loading,me=Y.run,ve=(0,M.Z)(function(){return(0,h.NT)((0,x.Oe)())},{manual:!0,debounceWait:100,refreshDeps:[_.page,_.pageSize],onSuccess:function(J){G(function(V){V.projectDetail=J,V.isPm=!!J.managers.find(function(R){return R.id===Z.userId})})},onError:function(){}}),be=ve.run,Pe=function(J,V){ee(function(R){R.page=V===R.pageSize?J:1,R.pageSize=V}),me(J,V)},Je=function(J){G(function(V){V.selectedTaskIds=J})},qe=function(J){if(j.projectDetail){var V=J||j.selectedTaskIds,R=[],P={},B=j.list.find(function(pe){return pe.id===V[0]});if(j.projectDetail.labelTimes>0){var ge;R.push(U.labelLeader),P.labelLeaderId=B==null||(ge=B.labelLeader)===null||ge===void 0?void 0:ge.userId}if(j.projectDetail.reviewTimes>0){var ie;R.push(U.reviewLeader),P.reviewLeaderId=B==null||(ie=B.reviewLeader)===null||ie===void 0?void 0:ie.userId}A(function(pe){pe.show=!0,pe.types=R,pe.tasks=j.list.filter(function(Oe){return V.includes(Oe.id)}),pe.initialValues=P})}},Xe=function(J,V){if(j.projectDetail){var R={};if(V.includes(U.labeler)){var P;R.labelerIds=(P=J.labelers)===null||P===void 0?void 0:P.map(function(ge){return ge.userId})}if(V.includes(U.reviewer)){var B;R.reviewerIds=(B=J.reviewers)===null||B===void 0?void 0:B.map(function(ge){return ge.userId})}A(function(ge){ge.show=!0,ge.types=V,ge.tasks=[J],ge.initialValues=R})}},mt=function(J,V){A(function(R){R.show=!0,R.types=[U.reassign],R.tasks=[J],R.reassignTarget=V})},Ct=function(){A(T)},vt=function(){var he=d()(t()().mark(function J(V){var R,P,B,ge,ie;return t()().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(R=V.keyWords,P=R===void 0?"":R,B=[],ge=k.tasks,ie=k.types,ge.forEach(function(xe){var Se=[];ie.includes(U.labelLeader)&&Se.push(xe.labelLeader),ie.includes(U.reviewLeader)&&Se.push(xe.reviewLeader),ie.includes(U.labeler)&&Se.push.apply(Se,s()(xe.labelers)),ie.includes(U.reviewer)&&Se.push.apply(Se,s()(xe.reviewers)),Se.forEach(function($e){$e&&!B.find(function(re){return $e.userId===re.id})&&B.push({id:$e.userId,name:$e.userName})})}),!P){Oe.next=8;break}return Oe.next=7,(0,h.Qm)({name:P});case 7:B=Oe.sent.userList.map(function(xe){return{name:xe.name,id:xe.id}});case 8:return Oe.abrupt("return",B.map(function(xe){return{label:xe.name,value:xe.id}}));case 9:case"end":return Oe.stop()}},J)}));return function(V){return he.apply(this,arguments)}}(),Ht=function(){var he=d()(t()().mark(function J(V){var R,P,B,ge,ie,pe;return t()().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:if(R=k.initialValues,!(k.types.includes(U.labelLeader)||k.types.includes(U.reviewLeader))){xe.next=16;break}if(!(V.labelLeaderId!==R.labelLeaderId||V.reviewLeaderId!==R.reviewLeaderId)){xe.next=14;break}return xe.prev=3,xe.next=6,(0,h.nu)({projectId:((P=j.projectDetail)===null||P===void 0?void 0:P.id)||"",taskIds:k.tasks.map(function(Se){return Se.id}),labelLeaderId:V.labelLeaderId!==R.labelLeaderId?V.labelLeaderId:void 0,reviewLeaderId:V.reviewLeaderId!==R.reviewLeaderId?V.reviewLeaderId:void 0});case 6:me(),w.ZP.success((0,S._w)("proj.assignModalFinish.assignLeader")),xe.next=14;break;case 10:return xe.prev=10,xe.t0=xe.catch(3),console.error(xe.t0),xe.abrupt("return",Promise.resolve(!1));case 14:xe.next=43;break;case 16:if(ge=k.tasks[0],!(k.types.includes(U.labeler)||k.types.includes(U.reviewer))){xe.next=31;break}return xe.prev=18,xe.next=21,(0,h.zb)(ge.id,V);case 21:me(),w.ZP.success((0,S._w)("proj.assignModalFinish.assignWorker")),xe.next=29;break;case 25:return xe.prev=25,xe.t1=xe.catch(18),console.error(xe.t1),xe.abrupt("return",Promise.resolve(!1));case 29:xe.next=43;break;case 31:if(!(k.types.includes(U.reassign)&&V.reassigner!==((B=k.reassignTarget)===null||B===void 0?void 0:B.userId))){xe.next=43;break}return xe.prev=32,xe.next=35,(0,h.xv)(ge.id,{oldWorkerId:((ie=k.reassignTarget)===null||ie===void 0?void 0:ie.userId)||"",newWorkerId:V.reassigner||"",role:((pe=k.reassignTarget)===null||pe===void 0?void 0:pe.role)||""});case 35:me(),w.ZP.success((0,S._w)("proj.assignModalFinish.reassignWorker")),xe.next=43;break;case 39:return xe.prev=39,xe.t2=xe.catch(32),console.error(xe.t2),xe.abrupt("return",Promise.resolve(!1));case 43:return Ct(),xe.abrupt("return",Promise.resolve(!1));case 45:case"end":return xe.stop()}},J,null,[[3,10],[18,25],[32,39]])}));return function(V){return he.apply(this,arguments)}}(),ke=function(){var he=d()(t()().mark(function J(V){return t()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.prev=0,P.next=3,(0,h.vo)(V.id);case 3:me(),w.ZP.success((0,S._w)("proj.assignModalFinish.restarTask")),P.next=11;break;case 7:return P.prev=7,P.t0=P.catch(0),console.error(P.t0),P.abrupt("return",Promise.resolve(!1));case 11:case"end":return P.stop()}},J,null,[[0,7]])}));return function(V){return he.apply(this,arguments)}}(),Ve=function(){var he=d()(t()().mark(function J(V){return t()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.prev=0,P.next=3,(0,h.$x)(V.id);case 3:me(),w.ZP.success((0,S._w)("proj.assignModalFinish.commiTask")),P.next=11;break;case 7:return P.prev=7,P.t0=P.catch(0),console.error(P.t0),P.abrupt("return",Promise.resolve(!1));case 11:case"end":return P.stop()}},J,null,[[0,7]])}));return function(V){return he.apply(this,arguments)}}(),ot=function(){var he=d()(t()().mark(function J(V,R){return t()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.prev=0,B.next=3,(0,h.d5)(V.id,{action:R});case 3:w.ZP.success((0,S._w)("proj.assignModalFinish.changeTaskStatus")),me(),B.next=11;break;case 7:return B.prev=7,B.t0=B.catch(0),console.error(B.t0),B.abrupt("return",Promise.reject(!1));case 11:case"end":return B.stop()}},J,null,[[0,7]])}));return function(V,R){return he.apply(this,arguments)}}(),Ke=function(J){ee(function(V){Object.assign(V,{page:1,pageSize:z},J)}),be(),me()};return{pageData:j,pageState:_,loading:de,onPageChange:Pe,onSelectChange:Je,onInitPageState:Ke,taskDetailModalIndex:C,setTaskDetailModalIndex:X,assignModal:k,assignLeaders:qe,assignWorker:Xe,reassignWorker:mt,onCloseAssignModal:Ct,userLintRequest:vt,assignModalFinish:Ht,restartTask:ke,commitReviewTask:Ve,onChangeTaskResult:ot}}},54518:function(b,y,e){"use strict";e.d(y,{I:function(){return N}});var a=e(24454),t=e.n(a),o=e(56592),s=e.n(o),n=e(63900),d=e.n(n),l=e(88205),c=e.n(l),m=e(97375),g=e(65246),M=e(7986),h=e(91290),S=e(84045),w=e(53357),x=e(35459),z=e(39378),U=e.n(z),T=20,N="proj.editModal.setWorkflowNow",Z={show:!1,current:0,initialValues:{basics:{},settings:{},workflowInitNow:[],hadBatchSize:!1,hadReviewer:!1}};y.Z=function(){var D=(0,m.useModel)("user"),L=D.user,j=(0,m.useModel)("Project.auth"),G=j.getUserRoles,W=(0,g.x)({list:[],total:0}),ne=c()(W,2),_=ne[0],ee=ne[1],se=(0,g.x)({page:1,pageSize:T}),Q=c()(se,2),C=Q[0],X=Q[1],O=(0,g.x)(Z),H=c()(O,2),k=H[0],A=H[1],Y=(0,M.Z)(function(ke,Ve){return ee(function(ot){ot.list=[]}),(0,h.eK)({pageNum:ke||C.page,pageSize:Ve||C.pageSize})},{manual:!0,debounceWait:100,refreshDeps:[C.page,C.pageSize],onSuccess:function(Ve){var ot=Ve.projectList,Ke=Ve.total;ee({list:ot.map(function(he){return d()(d()({},he),{},{userRoles:G(he)})}),total:Ke})},onError:function(){}}),de=Y.loading,me=Y.run,ve=function(Ve,ot){X(function(Ke){Ke.page=ot===Ke.pageSize?Ve:1,Ke.pageSize=ot}),me(Ve,ot)},be=function(){A(function(Ve){Ve.show=!0})},Pe=function(Ve,ot){A(function(Ke){var he=Ve.name,J=Ve.description,V=Ve.categories,R=Ve.datasets,P=Ve.preLabel,B=Ve.managers,ge=Ve.batchSize,ie=Ve.reviewTimes,pe=Ve.status;Ke.show=!0,Ke.targetProject=Ve,Ke.current=ot?1:0,Ke.initialValues.basics={name:he,description:J,categories:V,preLabel:P,datasetIds:R.map(function(Oe){return Oe.id}),managerIds:B.map(function(Oe){return Oe.id})},Ke.initialValues.settings=pe!==x.tz.Waiting?{batchSize:ge>0?ge:void 0}:{},Ke.initialValues.workflowInitNow=[(0,w._w)(N)],Ke.initialValues.hadBatchSize=ge>0,Ke.initialValues.hadReviewer=ie>0})},Je=function(){A(Z)},qe=function(Ve){A(function(ot){Ve===0&&(ot.current=0)})},Xe=function(Ve){return A(function(ot){var Ke;ot.disableInitProject=!((Ke=Ve.basics.managerIds)!==null&&Ke!==void 0&&Ke.includes(L.userId)),ot.current=1}),Promise.resolve(!1)},mt=function(){var ke=s()(t()().mark(function Ve(ot){var Ke,he,J,V,R,P,B,ge;return t()().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(J=!1,V=(Ke=k.targetProject)===null||Ke===void 0?void 0:Ke.id,V){pe.next=18;break}return pe.prev=3,pe.next=6,(0,h.o9)(ot.basics);case 6:R=pe.sent,V=R.id,A(function(Oe){Oe.targetProject=R}),J=!0,S.ZP.success((0,w._w)("proj.projectModalFinish.new")),pe.next=16;break;case 13:pe.prev=13,pe.t0=pe.catch(3),console.error(pe.t0);case 16:pe.next=30;break;case 18:if(P=k.initialValues.basics,B=P.description,ge=P.managerIds,!(ot.basics.description!==B||!(0,z.isEqual)(ot.basics.managerIds,ge))){pe.next=30;break}return pe.prev=20,pe.next=23,(0,h.NV)(V,ot.basics);case 23:J=!0,S.ZP.success((0,w._w)("proj.projectModalFinish.edit")),pe.next=30;break;case 27:pe.prev=27,pe.t1=pe.catch(20),console.error(pe.t1);case 30:if(!((!k.targetProject||((he=k.targetProject)===null||he===void 0?void 0:he.status)===x.tz.Waiting)&&ot.workflowInitNow&&ot.workflowInitNow.length)){pe.next=41;break}return pe.prev=31,pe.next=34,(0,h.mN)(V,{batchSize:ot.hadBatchSize?ot.settings.batchSize:0,labelTimes:1,reviewTimes:ot.hadReviewer?1:0});case 34:J=!0,S.ZP.success((0,w._w)("proj.projectModalFinish.init")),pe.next=41;break;case 38:pe.prev=38,pe.t2=pe.catch(31),console.error(pe.t2);case 41:return J&&me(),Je(),pe.abrupt("return",Promise.resolve(!1));case 44:case"end":return pe.stop()}},Ve,null,[[3,13],[20,27],[31,38]])}));return function(ot){return ke.apply(this,arguments)}}(),Ct=function(){var ke=s()(t()().mark(function Ve(ot,Ke){return t()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.prev=0,J.next=3,(0,h.lw)(ot.id,{action:Ke});case 3:S.ZP.success((0,w._w)("proj.projectModalFinish.change")),me(),J.next=11;break;case 7:return J.prev=7,J.t0=J.catch(0),console.error(J.t0),J.abrupt("return",Promise.reject(!1));case 11:case"end":return J.stop()}},Ve,null,[[0,7]])}));return function(ot,Ke){return ke.apply(this,arguments)}}(),vt=function(){var ke=s()(t()().mark(function Ve(ot,Ke){return t()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.prev=0,J.next=3,(0,h.Cd)(ot,{labelName:Ke==null?void 0:Ke.labelName});case 3:S.ZP.success((0,w._w)("proj.exportModal.submitSuccess",{name:Ke==null?void 0:Ke.labelName})),me(),J.next=10;break;case 7:J.prev=7,J.t0=J.catch(0),console.error(J.t0);case 10:case"end":return J.stop()}},Ve,null,[[0,7]])}));return function(ot,Ke){return ke.apply(this,arguments)}}(),Ht=function(Ve){X(function(ot){Object.assign(ot,{page:1,pageSize:T},Ve)}),me()};return{pageData:_,pageState:C,loading:de,onPageChange:ve,onInitPageState:Ht,projectModal:k,onNewProject:be,onEditProject:Pe,closeProjectModal:Je,onProjectModalCurrentChange:qe,projectModalNext:Xe,projectModalFinish:mt,onChangeProjectResult:Ct,onExportLabelProject:vt}}},93059:function(b,y,e){"use strict";e.d(y,{D:function(){return L}});var a=e(63900),t=e.n(a),o=e(24454),s=e.n(o),n=e(56592),d=e.n(n),l=e(34485),c=e.n(l),m=e(88205),g=e.n(m),M=e(65246),h=e(7986),S=e(91290),w=e(35459),x=e(58757),z=e(84045),U=e(65104),T=e(97375),N=e(23707),Z=e(53357),D=100,L={Init:0,More:1};y.Z=function(){var j=(0,T.useModel)("user"),G=j.user,W=(0,T.useModel)("global"),ne=W.setLoading,_=(0,M.x)({taskRoles:[],categoryList:[],list:[],curIndex:-1,page:1,pageSize:D,total:0,editorMode:U.je.View}),ee=g()(_,2),se=ee[0],Q=ee[1],C=(0,M.x)({status:w.j$.Labeling,taskStatus:w.gZ.Working}),X=g()(C,2),O=X[0],H=X[1],k=(0,x.useMemo)(function(){return(0,N.BQ)("projectId")||""},[window.location.search]),A=(0,x.useMemo)(function(){return(0,N.BQ)("taskId")||""},[window.location.search]),Y=(0,x.useMemo)(function(){var Oe;return(Oe=se.taskRoles)===null||Oe===void 0?void 0:Oe.find(function(xe){return xe.id===O.roleId})},[se.taskRoles,O.roleId]),de=(0,x.useMemo)(function(){return Y&&G.userId===(Y==null?void 0:Y.userId)?[Y.role]:[]},[G.userId,Y]),me=(0,x.useMemo)(function(){var Oe;return((Oe=se.list)===null||Oe===void 0?void 0:Oe.map(function(xe){var Se=[],$e="";return O.status===w.j$.Labeling&&!xe.labeled?xe.defaultLabels&&xe.defaultLabels.annotations&&Se.push.apply(Se,c()(xe.defaultLabels.annotations)):xe.labels.forEach(function(re){$e=re.id,Se.push.apply(Se,c()(re.annotations))}),{id:xe.id,url:xe.url,urlFullRes:xe.urlFullRes,labelId:$e,objects:Se}}))||[]},[se.list,O.status]),ve=function(){var Oe=d()(s()().mark(function xe(Se,$e){var re,oe,q,ue;return s()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:if(!se.loadingImagesType){le.next=2;break}return le.abrupt("return",Promise.reject(null));case 2:return Q(function(Ne){Ne.loadingImagesType=Se,Se===L.Init&&(Ne.list=[])}),le.prev=3,le.next=6,(0,S.zO)((0,N.BQ)("taskId")||"",{status:$e.status||O.status,roleId:$e.roleId||O.roleId,pageNum:$e.page,pageSize:se.pageSize});case 6:re=le.sent,oe=re.imageList,q=re.total,ue=re.pageNum,Q(function(Ne){Ne.list=Ne.list.concat(oe),Ne.page=ue,Ne.total=q,Ne.loadingImagesType=void 0}),le.next=17;break;case 13:return le.prev=13,le.t0=le.catch(3),Q(function(Ne){Ne.loadingImagesType=void 0}),le.abrupt("return",Promise.reject(le.t0));case 17:case"end":return le.stop()}},xe,null,[[3,13]])}));return function(Se,$e){return Oe.apply(this,arguments)}}(),be=(0,h.Z)(function(){return Promise.all([(0,S.Cb)((0,N.BQ)("taskId")||""),(0,S.Iu)((0,N.BQ)("taskId")||"")])},{manual:!0,debounceWait:60,onSuccess:function(xe){var Se=g()(xe,2),$e=Se[0],re=Se[1];Q(function(oe){oe.categoryList=re.categoryList,oe.taskRoles=$e.roleList}),H(function(oe){$e.roleList.length&&(!oe.roleId||!$e.roleList.find(function(q){return q.id===oe.roleId}))&&(oe.roleId=$e.roleList[0].id)})},onError:function(){}}),Pe=be.loading,Je=be.run,qe=function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Promise.all([Je(),ve(L.Init,t()(t()({},xe),{},{page:1}))])},Xe=function(){var Oe=d()(s()().mark(function xe(){return s()().wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:if(!(se.list.length0&&(re.curIndex=re.curIndex-1)}),$e.abrupt("return",Promise.resolve());case 2:case"end":return $e.stop()}},xe)}));return function(){return Oe.apply(this,arguments)}}(),ke=function(){var Oe=d()(s()().mark(function xe(){return s()().wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:if(!(se.curIndex=0;return{pageData:se,pageState:O,loading:Pe||se.loadingImagesType===L.Init,loadPageData:qe,loadMore:Xe,onInitPageState:ge,projectId:k,taskId:A,curRole:Y,userRoles:de,tabItems:ie,labelImages:me,isEditorVisible:pe,onStatusTabChange:mt,onRoleChange:Ct,clickItem:vt,onExitEditor:J,onPrevImage:Ht,onNextImage:ke,onLabelSave:V,onReviewResult:R,onReviewAccept:P,onReviewReject:B,onEnterEdit:Ve,onStartLabel:ot,onStartRework:Ke,onStartReview:he}}},91290:function(b,y,e){"use strict";e.d(y,{$x:function(){return de},Cb:function(){return ve},Cd:function(){return Z},Iu:function(){return Pe},J9:function(){return L},Jg:function(){return vt},NT:function(){return g},NV:function(){return z},Qm:function(){return G},ZJ:function(){return ne},d5:function(){return A},eK:function(){return c},lw:function(){return T},mN:function(){return w},nQ:function(){return mt},nu:function(){return ee},o9:function(){return h},vo:function(){return H},xv:function(){return X},zO:function(){return qe},zb:function(){return Q}});var a=e(24454),t=e.n(a),o=e(63900),s=e.n(o),n=e(56592),d=e.n(n),l=e(97375);function c(ke,Ve){return m.apply(this,arguments)}function m(){return m=d()(t()().mark(function ke(Ve,ot){return t()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,l.request)("/api/v1/label_projects",s()({method:"GET",params:Ve},ot||{})));case 1:case"end":return he.stop()}},ke)})),m.apply(this,arguments)}function g(ke,Ve){return M.apply(this,arguments)}function M(){return M=d()(t()().mark(function ke(Ve,ot){return t()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,l.request)("/api/v1/label_projects/".concat(Ve),s()({method:"GET"},ot||{})));case 1:case"end":return he.stop()}},ke)})),M.apply(this,arguments)}function h(ke,Ve){return S.apply(this,arguments)}function S(){return S=d()(t()().mark(function ke(Ve,ot){return t()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,l.request)("/api/v1/label_projects",s()({method:"POST",data:s()({},Ve)},ot||{})));case 1:case"end":return he.stop()}},ke)})),S.apply(this,arguments)}function w(ke,Ve,ot){return x.apply(this,arguments)}function x(){return x=d()(t()().mark(function ke(Ve,ot,Ke){return t()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.abrupt("return",(0,l.request)("/api/v1/label_project_configs/".concat(Ve),s()({method:"POST",data:s()({},ot)},Ke||{})));case 1:case"end":return J.stop()}},ke)})),x.apply(this,arguments)}function z(ke,Ve,ot){return U.apply(this,arguments)}function U(){return U=d()(t()().mark(function ke(Ve,ot,Ke){return t()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.abrupt("return",(0,l.request)("/api/v1/label_projects/".concat(Ve),s()({method:"POST",data:s()({},ot)},Ke||{})));case 1:case"end":return J.stop()}},ke)})),U.apply(this,arguments)}function T(ke,Ve,ot){return N.apply(this,arguments)}function N(){return N=d()(t()().mark(function ke(Ve,ot,Ke){return t()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.abrupt("return",(0,l.request)("/api/v1/label_project_qa/".concat(Ve),s()({method:"POST",data:s()({},ot)},Ke||{})));case 1:case"end":return J.stop()}},ke)})),N.apply(this,arguments)}function Z(ke,Ve,ot){return D.apply(this,arguments)}function D(){return D=d()(t()().mark(function ke(Ve,ot,Ke){return t()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.abrupt("return",(0,l.request)("/api/v1/label_project_export/".concat(Ve),s()({method:"POST",data:s()({},ot)},Ke||{})));case 1:case"end":return J.stop()}},ke)})),D.apply(this,arguments)}function L(ke,Ve){return j.apply(this,arguments)}function j(){return j=d()(t()().mark(function ke(Ve,ot){return t()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,l.request)("/api/v1/dataset_name_lints",s()({method:"GET",params:Ve},ot||{})));case 1:case"end":return he.stop()}},ke)})),j.apply(this,arguments)}function G(ke,Ve){return W.apply(this,arguments)}function W(){return W=d()(t()().mark(function ke(Ve,ot){return t()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,l.request)("/api/v1/user_name_lints",s()({method:"GET",params:Ve},ot||{})));case 1:case"end":return he.stop()}},ke)})),W.apply(this,arguments)}function ne(ke,Ve){return _.apply(this,arguments)}function _(){return _=d()(t()().mark(function ke(Ve,ot){return t()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,l.request)("/api/v1/label_tasks",s()({method:"GET",params:Ve},ot||{})));case 1:case"end":return he.stop()}},ke)})),_.apply(this,arguments)}function ee(ke,Ve){return se.apply(this,arguments)}function se(){return se=d()(t()().mark(function ke(Ve,ot){return t()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,l.request)("/api/v1/label_task_leaders",s()({method:"POST",data:s()({},Ve)},ot||{})));case 1:case"end":return he.stop()}},ke)})),se.apply(this,arguments)}function Q(ke,Ve,ot){return C.apply(this,arguments)}function C(){return C=d()(t()().mark(function ke(Ve,ot,Ke){return t()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.abrupt("return",(0,l.request)("/api/v1/label_task_workers/".concat(Ve),s()({method:"POST",data:s()({},ot)},Ke||{})));case 1:case"end":return J.stop()}},ke)})),C.apply(this,arguments)}function X(ke,Ve,ot){return O.apply(this,arguments)}function O(){return O=d()(t()().mark(function ke(Ve,ot,Ke){return t()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.abrupt("return",(0,l.request)("/api/v1/label_task_reassign/".concat(Ve),s()({method:"POST",data:s()({},ot)},Ke||{})));case 1:case"end":return J.stop()}},ke)})),O.apply(this,arguments)}function H(ke,Ve){return k.apply(this,arguments)}function k(){return k=d()(t()().mark(function ke(Ve,ot){return t()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,l.request)("/api/v1/label_task_restart/".concat(Ve),s()({method:"POST"},ot||{})));case 1:case"end":return he.stop()}},ke)})),k.apply(this,arguments)}function A(ke,Ve,ot){return Y.apply(this,arguments)}function Y(){return Y=d()(t()().mark(function ke(Ve,ot,Ke){return t()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.abrupt("return",(0,l.request)("/api/v1/label_task_qa/".concat(Ve),s()({method:"POST",data:s()({},ot)},Ke||{})));case 1:case"end":return J.stop()}},ke)})),Y.apply(this,arguments)}function de(ke,Ve){return me.apply(this,arguments)}function me(){return me=d()(t()().mark(function ke(Ve,ot){return t()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,l.request)("/api/v1/label_task_review_commit/".concat(Ve),s()({method:"POST"},ot||{})));case 1:case"end":return he.stop()}},ke)})),me.apply(this,arguments)}function ve(ke,Ve){return be.apply(this,arguments)}function be(){return be=d()(t()().mark(function ke(Ve,ot){return t()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,l.request)("/api/v1/label_task_roles/".concat(Ve),s()({method:"GET"},ot||{})));case 1:case"end":return he.stop()}},ke)})),be.apply(this,arguments)}function Pe(ke,Ve){return Je.apply(this,arguments)}function Je(){return Je=d()(t()().mark(function ke(Ve,ot){return t()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.abrupt("return",(0,l.request)("/api/v1/label_task_configs/".concat(Ve),s()({method:"GET"},ot||{})));case 1:case"end":return he.stop()}},ke)})),Je.apply(this,arguments)}function qe(ke,Ve,ot){return Xe.apply(this,arguments)}function Xe(){return Xe=d()(t()().mark(function ke(Ve,ot,Ke){return t()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.abrupt("return",(0,l.request)("/api/v1/label_task_images/".concat(Ve),s()({method:"GET",params:ot},Ke||{})));case 1:case"end":return J.stop()}},ke)})),Xe.apply(this,arguments)}function mt(ke,Ve,ot){return Ct.apply(this,arguments)}function Ct(){return Ct=d()(t()().mark(function ke(Ve,ot,Ke){return t()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.abrupt("return",(0,l.request)("/api/v1/label_task_image_labels/".concat(Ve),s()({method:"POST",data:s()({},ot)},Ke||{hideCodeErrorMsg:!0})));case 1:case"end":return J.stop()}},ke)})),Ct.apply(this,arguments)}function vt(ke,Ve,ot){return Ht.apply(this,arguments)}function Ht(){return Ht=d()(t()().mark(function ke(Ve,ot,Ke){return t()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.abrupt("return",(0,l.request)("/api/v1/label_task_image_reviews/".concat(Ve),s()({method:"POST",data:s()({},ot)},Ke||{hideCodeErrorMsg:!0})));case 1:case"end":return J.stop()}},ke)})),Ht.apply(this,arguments)}},74595:function(b,y,e){"use strict";e.d(y,{B8:function(){return g},JC:function(){return h},WR:function(){return M},i0:function(){return c},iE:function(){return m}});var a=e(63900),t=e.n(a),o=e(34485),s=e.n(o),n=e(76180),d=e(39378),l=e.n(d),c=function(w){var x=0;return(0,d.includes)(w,"Classification")&&(x=1),(0,d.includes)(w,"Detection")&&(x=2),(0,d.includes)(w,"Segmentation")&&(x=3),(0,d.includes)(w,"Matting")&&(x=4),(0,d.includes)(w,"KeyPoints")&&(x=5),e(14677)("./card_cover_".concat(x,".png"))},m=function(w,x,z){if(!w||!x||z)return{colorAplha:n.iP[0],strokeDash:n.JQ[0],lineWidth:n.oM[0]};var U=x.indexOf(w);return{colorAplha:n.iP[U]||n.iP[0],strokeDash:n.JQ[U]||n.JQ[0],lineWidth:n.oM[U]||n.oM[0]}},g=function(w,x){var z=[],U=[],T=w.filter(function(N){return n.EX.includes(N)});return x===n.JJ.Detection?(z=[n.zY.showBoxText],U=z):x===n.JJ.Segmentation?(z=[n.zY.showSegFilling,n.zY.showSegContour],U=z):x===n.JJ.Matting?z=[n.zY.showMattingColorFill]:x===n.JJ.KeyPoints&&(z=[n.zY.showKeyPointsLine,n.zY.showKeyPointsBox],U=z),[[].concat(s()(n.EX),s()(z)),[].concat(s()(T),s()(U))]},M=function(w,x,z){var U=[];return z===n.JJ.Matting&&U.push({id:"origin",name:"Origin image",source:n.$j.gt,comparePrecisions:[],confidenceRange:[0,1]}),x.length&&x.forEach(function(T){var N=w.find(function(Z){return Z.id===T});N&&U.push(t()({},N))}),U},h=function(w,x,z){var U=[];return x.length?(w.forEach(function(T){z===n.JJ.Matting&&U.push(t()({},T)),U.push.apply(U,s()(new Array(x.length).fill({}).map(function(N,Z){var D=t()({},T);return D.curLabelId=x[Z],D})))}),U):w}},17410:function(b,y,e){"use strict";e.d(y,{v_:function(){return xr},yj:function(){return Pr},Uu:function(){return qr},ru:function(){return mr},Zo:function(){return ya},QD:function(){return vr},Yq:function(){return ar},Ze:function(){return Cn},gr:function(){return wn},jB:function(){return Qr},HE:function(){return dr},ft:function(){return kr},GI:function(){return ra},t:function(){return ca},Fv:function(){return ua},vL:function(){return fr},TR:function(){return Ea},VC:function(){return zn},ef:function(){return Kn},Xn:function(){return Br},oP:function(){return Bn}});var a=e(2657),t=e.n(a),o=e(58757),s=Object.defineProperty,n=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(jt,an,hn)=>an in jt?s(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,m=(jt,an)=>{for(var hn in an||(an={}))d.call(an,hn)&&c(jt,hn,an[hn]);if(n)for(var hn of n(an))l.call(an,hn)&&c(jt,hn,an[hn]);return jt};const g=jt=>o.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"1em",width:"1em"},jt),o.createElement("path",{d:"M3 11h8V3H3v8zm2-6h4v4H5V5zm8-2v8h8V3h-8zm6 6h-4V5h4v4zM3 21h8v-8H3v8zm2-6h4v4H5v-4zm13-2h-2v3h-3v2h3v3h2v-3h3v-2h-3z"}));var M="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgaGVpZ2h0PSIxZW0iIHdpZHRoPSIxZW0iPjxwYXRoIGQ9Ik0zIDExaDhWM0gzdjh6bTItNmg0djRINVY1em04LTJ2OGg4VjNoLTh6bTYgNmgtNFY1aDR2NHpNMyAyMWg4di04SDN2OHptMi02aDR2NEg1di00em0xMy0yaC0ydjNoLTN2MmgzdjNoMnYtM2gzdi0yaC0zeiIvPjwvc3ZnPg==",h=Object.defineProperty,S=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(jt,an,hn)=>an in jt?h(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,U=(jt,an)=>{for(var hn in an||(an={}))w.call(an,hn)&&z(jt,hn,an[hn]);if(S)for(var hn of S(an))x.call(an,hn)&&z(jt,hn,an[hn]);return jt};const T=jt=>o.createElement("svg",U({className:"delete_all_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},jt),o.createElement("path",{d:"M864 192v576h64V192c0-70.4-57.6-128-128-128H352v64h448c35.2 0 64 28.8 64 64z"}),o.createElement("path",{d:"M672 192H224c-70.4 0-128 57.6-128 128v512c0 70.4 57.6 128 128 128h448c70.4 0 128-57.6 128-128V320c0-70.4-57.6-128-128-128zm-73.235 489.51c12.445 12.445 12.445 32.81 0 45.255s-32.81 12.445-45.255 0L448 621.255l-105.51 105.51c-12.445 12.445-32.81 12.445-45.255 0s-12.445-32.81 0-45.255L402.745 576l-105.51-105.51c-12.445-12.445-12.445-32.81 0-45.255s32.81-12.445 45.255 0L448 530.745l105.51-105.51c12.445-12.445 32.81-12.445 45.255 0s12.445 32.81 0 45.255L493.255 576l105.51 105.51z"}));var N="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik04NjQgMTkydjU3Nmg2NFYxOTJjMC03MC40LTU3LjYtMTI4LTEyOC0xMjhIMzUydjY0aDQ0OGMzNS4yIDAgNjQgMjguOCA2NCA2NHoiLz48cGF0aCBkPSJNNjcyIDE5MkgyMjRjLTcwLjQgMC0xMjggNTcuNi0xMjggMTI4djUxMmMwIDcwLjQgNTcuNiAxMjggMTI4IDEyOGg0NDhjNzAuNCAwIDEyOC01Ny42IDEyOC0xMjhWMzIwYzAtNzAuNC01Ny42LTEyOC0xMjgtMTI4em0tNzMuMjM1IDQ4OS41MWMxMi40NDUgMTIuNDQ1IDEyLjQ0NSAzMi44MSAwIDQ1LjI1NXMtMzIuODEgMTIuNDQ1LTQ1LjI1NSAwTDQ0OCA2MjEuMjU1bC0xMDUuNTEgMTA1LjUxYy0xMi40NDUgMTIuNDQ1LTMyLjgxIDEyLjQ0NS00NS4yNTUgMHMtMTIuNDQ1LTMyLjgxIDAtNDUuMjU1TDQwMi43NDUgNTc2bC0xMDUuNTEtMTA1LjUxYy0xMi40NDUtMTIuNDQ1LTEyLjQ0NS0zMi44MSAwLTQ1LjI1NXMzMi44MS0xMi40NDUgNDUuMjU1IDBMNDQ4IDUzMC43NDVsMTA1LjUxLTEwNS41MWMxMi40NDUtMTIuNDQ1IDMyLjgxLTEyLjQ0NSA0NS4yNTUgMHMxMi40NDUgMzIuODEgMCA0NS4yNTVMNDkzLjI1NSA1NzZsMTA1LjUxIDEwNS41MXoiLz48L3N2Zz4=",Z=Object.defineProperty,D=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,G=(jt,an,hn)=>an in jt?Z(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,W=(jt,an)=>{for(var hn in an||(an={}))L.call(an,hn)&&G(jt,hn,an[hn]);if(D)for(var hn of D(an))j.call(an,hn)&&G(jt,hn,an[hn]);return jt};const ne=jt=>o.createElement("svg",W({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},jt),o.createElement("defs",null,o.createElement("style",null,".magic_svg__cls-1{fill:#fff}")),o.createElement("path",{className:"magic_svg__cls-1",d:"M26.08 18.47V16.6c0-.58.27-1.19 1-1.25s1.05.45 1.06 1.29v1.83h1.92c.76 0 1.25.46 1.19 1.08a1 1 0 0 1-1.18 1h-1.91v1.74c0 .91-.39 1.41-1.06 1.39s-1-.49-1-1.42v-1.71h-1.91c-.71 0-1.21-.29-1.21-1s.5-1 1.21-1ZM12.81 6.47h1.59a1 1 0 0 1 1 1 1 1 0 0 1-1 1.07h-1.58v1.5c0 .68-.38 1.11-1.07 1.1a1 1 0 0 1-1-1.08V8.54H9.29c-.68 0-1.13-.36-1.12-1s.46-1 1.14-1h1.44V5.01a1 1 0 1 1 2.06 0c.02.38 0 .87 0 1.46ZM19.93 24.67c.11-1.56.33-2 1.05-2s1 .44 1.12 2c.8.17 2.09-.2 2 1.22-.07 1.15-1.14.89-2 .95-.18.8.22 2.11-1.2 2-1.18-.07-.89-1.19-1-2-.84-.09-1.91.21-2-1.06-.07-.7.39-.94 2.03-1.11ZM30.2 6l-2.51-2.49a2.15 2.15 0 0 0-3.06 0L3.27 24.92a2.2 2.2 0 0 0 0 3.08l2.51 2.51a2.17 2.17 0 0 0 3.06 0L30.2 9.09a2.19 2.19 0 0 0 0-3.09ZM29 8.47l-4.39 4.39a.94.94 0 0 1-1.35 0l-2.28-2.28a1 1 0 0 1 0-1.36l4.38-4.39a1 1 0 0 1 1.36 0L29 7.11a1 1 0 0 1 0 1.36Z"}));var _="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmZmZ9PC9zdHlsZT48L2RlZnM+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMjYuMDggMTguNDdWMTYuNmMwLS41OC4yNy0xLjE5IDEtMS4yNXMxLjA1LjQ1IDEuMDYgMS4yOXYxLjgzaDEuOTJjLjc2IDAgMS4yNS40NiAxLjE5IDEuMDhhMSAxIDAgMCAxLTEuMTggMWgtMS45MXYxLjc0YzAgLjkxLS4zOSAxLjQxLTEuMDYgMS4zOXMtMS0uNDktMS0xLjQydi0xLjcxaC0xLjkxYy0uNzEgMC0xLjIxLS4yOS0xLjIxLTFzLjUtMSAxLjIxLTFaTTEyLjgxIDYuNDdoMS41OWExIDEgMCAwIDEgMSAxIDEgMSAwIDAgMS0xIDEuMDdoLTEuNTh2MS41YzAgLjY4LS4zOCAxLjExLTEuMDcgMS4xYTEgMSAwIDAgMS0xLTEuMDhWOC41NEg5LjI5Yy0uNjggMC0xLjEzLS4zNi0xLjEyLTFzLjQ2LTEgMS4xNC0xaDEuNDRWNS4wMWExIDEgMCAxIDEgMi4wNiAwYy4wMi4zOCAwIC44NyAwIDEuNDZaTTE5LjkzIDI0LjY3Yy4xMS0xLjU2LjMzLTIgMS4wNS0yczEgLjQ0IDEuMTIgMmMuOC4xNyAyLjA5LS4yIDIgMS4yMi0uMDcgMS4xNS0xLjE0Ljg5LTIgLjk1LS4xOC44LjIyIDIuMTEtMS4yIDItMS4xOC0uMDctLjg5LTEuMTktMS0yLS44NC0uMDktMS45MS4yMS0yLTEuMDYtLjA3LS43LjM5LS45NCAyLjAzLTEuMTFaTTMwLjIgNmwtMi41MS0yLjQ5YTIuMTUgMi4xNSAwIDAgMC0zLjA2IDBMMy4yNyAyNC45MmEyLjIgMi4yIDAgMCAwIDAgMy4wOGwyLjUxIDIuNTFhMi4xNyAyLjE3IDAgMCAwIDMuMDYgMEwzMC4yIDkuMDlhMi4xOSAyLjE5IDAgMCAwIDAtMy4wOVpNMjkgOC40N2wtNC4zOSA0LjM5YS45NC45NCAwIDAgMS0xLjM1IDBsLTIuMjgtMi4yOGExIDEgMCAwIDEgMC0xLjM2bDQuMzgtNC4zOWExIDEgMCAwIDEgMS4zNiAwTDI5IDcuMTFhMSAxIDAgMCAxIDAgMS4zNloiLz48L3N2Zz4=",ee=Object.defineProperty,se=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,X=(jt,an,hn)=>an in jt?ee(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,O=(jt,an)=>{for(var hn in an||(an={}))Q.call(an,hn)&&X(jt,hn,an[hn]);if(se)for(var hn of se(an))C.call(an,hn)&&X(jt,hn,an[hn]);return jt};const H=jt=>o.createElement("svg",O({viewBox:"0 0 33 33",xmlns:"http://www.w3.org/2000/svg"},jt),o.createElement("g",{clipPath:"url(#mask-ai_svg__a)"},o.createElement("path",{d:"M15.278 33H6.753c-1.77 0-2.435-.664-2.103-2.436.443-1.993.886-3.985 1.218-5.978.11-.665.443-.886 1.107-.886h16.718c.664 0 .996.332 1.107.886.443 1.993.886 3.985 1.218 5.978.332 1.772-.222 2.436-2.104 2.436h-8.636ZM15.39 20.6H7.306c-.996 0-1.107-.11-1.107-1.218v-1.66c0-1.218.554-1.772 1.882-1.772h3.432c.665 0 .997-.221.886-.886V5.432c0-1.66.886-2.99 2.325-3.321 1.993-.554 3.764.996 3.764 3.21v9.3c0 1.44 0 1.329 1.33 1.329h3.21c1.107 0 1.66.554 1.66 1.66v1.994c0 .775-.332.996-.996.996H15.39Z"})),o.createElement("path",{d:"M26.928 11.296h-3.492l-.6 1.704h-1.428l2.988-8.352h1.584L28.968 13h-1.44l-.6-1.704Zm-.384-1.116-1.356-3.876-1.368 3.876h2.724Zm5.091-5.52V13h-1.368V4.66h1.368Z"}),o.createElement("defs",null,o.createElement("clipPath",{id:"mask-ai_svg__a"},o.createElement("path",{transform:"translate(0 2)",d:"M0 0h31v31H0z"}))));var k="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzMgMzMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTUuMjc4IDMzSDYuNzUzYy0xLjc3IDAtMi40MzUtLjY2NC0yLjEwMy0yLjQzNi40NDMtMS45OTMuODg2LTMuOTg1IDEuMjE4LTUuOTc4LjExLS42NjUuNDQzLS44ODYgMS4xMDctLjg4NmgxNi43MThjLjY2NCAwIC45OTYuMzMyIDEuMTA3Ljg4Ni40NDMgMS45OTMuODg2IDMuOTg1IDEuMjE4IDUuOTc4LjMzMiAxLjc3Mi0uMjIyIDIuNDM2LTIuMTA0IDIuNDM2aC04LjYzNlpNMTUuMzkgMjAuNkg3LjMwNmMtLjk5NiAwLTEuMTA3LS4xMS0xLjEwNy0xLjIxOHYtMS42NmMwLTEuMjE4LjU1NC0xLjc3MiAxLjg4Mi0xLjc3MmgzLjQzMmMuNjY1IDAgLjk5Ny0uMjIxLjg4Ni0uODg2VjUuNDMyYzAtMS42Ni44ODYtMi45OSAyLjMyNS0zLjMyMSAxLjk5My0uNTU0IDMuNzY0Ljk5NiAzLjc2NCAzLjIxdjkuM2MwIDEuNDQgMCAxLjMyOSAxLjMzIDEuMzI5aDMuMjFjMS4xMDcgMCAxLjY2LjU1NCAxLjY2IDEuNjZ2MS45OTRjMCAuNzc1LS4zMzIuOTk2LS45OTYuOTk2SDE1LjM5WiIvPjwvZz48cGF0aCBkPSJNMjYuOTI4IDExLjI5NmgtMy40OTJsLS42IDEuNzA0aC0xLjQyOGwyLjk4OC04LjM1MmgxLjU4NEwyOC45NjggMTNoLTEuNDRsLS42LTEuNzA0Wm0tLjM4NC0xLjExNi0xLjM1Ni0zLjg3Ni0xLjM2OCAzLjg3NmgyLjcyNFptNS4wOTEtNS41MlYxM2gtMS4zNjhWNC42NmgxLjM2OFoiLz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMikiIGQ9Ik0wIDBoMzF2MzFIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",A=Object.defineProperty,Y=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ve=(jt,an,hn)=>an in jt?A(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,be=(jt,an)=>{for(var hn in an||(an={}))de.call(an,hn)&&ve(jt,hn,an[hn]);if(Y)for(var hn of Y(an))me.call(an,hn)&&ve(jt,hn,an[hn]);return jt};const Pe=jt=>o.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34 34"},jt),o.createElement("path",{className:"mask_svg__cls-1",d:"M17.29 31.49H9.44c-1.68 0-2.24-.66-1.92-2.28.36-1.83.77-3.66 1.13-5.49a.9.9 0 0 1 1-.84h15.39a.91.91 0 0 1 1 .85c.37 1.83.78 3.65 1.13 5.48.32 1.62-.24 2.28-1.92 2.28-2.63.01-5.25 0-7.96 0ZM17.39 20.05H9.92c-1 0-1.09-.12-1.09-1.06v-1.72a1.36 1.36 0 0 1 1.44-1.46h3.51c.56 0 .74-.19.73-.74 0-2.89.05-5.78 0-8.67C14.43 3.93 16 2.94 17.38 3s2.93 1 2.87 3.48c-.07 2.84 0 5.68 0 8.52 0 .64.16.89.84.86 1.09-.05 2.19 0 3.29 0a1.4 1.4 0 0 1 1.56 1.57v1.8c0 .6-.36.89-1 .89Z"}),o.createElement("path",{style:{fill:"none"},d:"M2.89 2.83h28.35v28.35H2.89z"}));var Je="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNCAzNCI+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMTcuMjkgMzEuNDlIOS40NGMtMS42OCAwLTIuMjQtLjY2LTEuOTItMi4yOC4zNi0xLjgzLjc3LTMuNjYgMS4xMy01LjQ5YS45LjkgMCAwIDEgMS0uODRoMTUuMzlhLjkxLjkxIDAgMCAxIDEgLjg1Yy4zNyAxLjgzLjc4IDMuNjUgMS4xMyA1LjQ4LjMyIDEuNjItLjI0IDIuMjgtMS45MiAyLjI4LTIuNjMuMDEtNS4yNSAwLTcuOTYgMFpNMTcuMzkgMjAuMDVIOS45MmMtMSAwLTEuMDktLjEyLTEuMDktMS4wNnYtMS43MmExLjM2IDEuMzYgMCAwIDEgMS40NC0xLjQ2aDMuNTFjLjU2IDAgLjc0LS4xOS43My0uNzQgMC0yLjg5LjA1LTUuNzggMC04LjY3QzE0LjQzIDMuOTMgMTYgMi45NCAxNy4zOCAzczIuOTMgMSAyLjg3IDMuNDhjLS4wNyAyLjg0IDAgNS42OCAwIDguNTIgMCAuNjQuMTYuODkuODQuODYgMS4wOS0uMDUgMi4xOSAwIDMuMjkgMGExLjQgMS40IDAgMCAxIDEuNTYgMS41N3YxLjhjMCAuNi0uMzYuODktMSAuODlaIi8+PHBhdGggc3R5bGU9ImZpbGw6bm9uZSIgZD0iTTIuODkgMi44M2gyOC4zNXYyOC4zNUgyLjg5eiIvPjwvc3ZnPg==",qe=Object.defineProperty,Xe=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,vt=(jt,an,hn)=>an in jt?qe(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,Ht=(jt,an)=>{for(var hn in an||(an={}))mt.call(an,hn)&&vt(jt,hn,an[hn]);if(Xe)for(var hn of Xe(an))Ct.call(an,hn)&&vt(jt,hn,an[hn]);return jt};const ke=jt=>o.createElement("svg",Ht({viewBox:"0 0 35 31",xmlns:"http://www.w3.org/2000/svg"},jt),o.createElement("g",{clipPath:"url(#polygon-ai_svg__a)"},o.createElement("path",{d:"M27.125 23.25c-.534 0-1.042.108-1.505.303l-5.444-6.17a3.854 3.854 0 0 0-.008-3.782l5.403-6.178c.477.21 1.002.327 1.554.327A3.88 3.88 0 0 0 31 3.875 3.88 3.88 0 0 0 27.125 0a3.88 3.88 0 0 0-3.653 2.583H7.528A3.88 3.88 0 0 0 3.875 0 3.88 3.88 0 0 0 0 3.875a3.88 3.88 0 0 0 2.583 3.653v15.944A3.88 3.88 0 0 0 0 27.125 3.88 3.88 0 0 0 3.875 31a3.88 3.88 0 0 0 3.653-2.583h15.944A3.88 3.88 0 0 0 27.125 31 3.88 3.88 0 0 0 31 27.125a3.88 3.88 0 0 0-3.875-3.875ZM7.528 5.167h15.944c.06.168.132.332.213.488l-5.46 6.245a3.854 3.854 0 0 0-1.433-.275 3.88 3.88 0 0 0-3.875 3.875 3.88 3.88 0 0 0 3.875 3.875c.511 0 1-.1 1.448-.282l5.471 6.202a3.937 3.937 0 0 0-.239.538H7.528a3.894 3.894 0 0 0-2.361-2.36V7.527a3.894 3.894 0 0 0 2.36-2.361Z"})),o.createElement("path",{d:"M28.928 17.296h-3.492l-.6 1.704h-1.428l2.988-8.352h1.584L30.968 19h-1.44l-.6-1.704Zm-.384-1.116-1.356-3.876-1.368 3.876h2.724Zm5.091-5.52V19h-1.368v-8.34h1.368Z"}),o.createElement("defs",null,o.createElement("clipPath",{id:"polygon-ai_svg__a"},o.createElement("path",{d:"M0 0h31v31H0z"}))));var Ve="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzUgMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjcuMTI1IDIzLjI1Yy0uNTM0IDAtMS4wNDIuMTA4LTEuNTA1LjMwM2wtNS40NDQtNi4xN2EzLjg1NCAzLjg1NCAwIDAgMC0uMDA4LTMuNzgybDUuNDAzLTYuMTc4Yy40NzcuMjEgMS4wMDIuMzI3IDEuNTU0LjMyN0EzLjg4IDMuODggMCAwIDAgMzEgMy44NzUgMy44OCAzLjg4IDAgMCAwIDI3LjEyNSAwYTMuODggMy44OCAwIDAgMC0zLjY1MyAyLjU4M0g3LjUyOEEzLjg4IDMuODggMCAwIDAgMy44NzUgMCAzLjg4IDMuODggMCAwIDAgMCAzLjg3NWEzLjg4IDMuODggMCAwIDAgMi41ODMgMy42NTN2MTUuOTQ0QTMuODggMy44OCAwIDAgMCAwIDI3LjEyNSAzLjg4IDMuODggMCAwIDAgMy44NzUgMzFhMy44OCAzLjg4IDAgMCAwIDMuNjUzLTIuNTgzaDE1Ljk0NEEzLjg4IDMuODggMCAwIDAgMjcuMTI1IDMxIDMuODggMy44OCAwIDAgMCAzMSAyNy4xMjVhMy44OCAzLjg4IDAgMCAwLTMuODc1LTMuODc1Wk03LjUyOCA1LjE2N2gxNS45NDRjLjA2LjE2OC4xMzIuMzMyLjIxMy40ODhsLTUuNDYgNi4yNDVhMy44NTQgMy44NTQgMCAwIDAtMS40MzMtLjI3NSAzLjg4IDMuODggMCAwIDAtMy44NzUgMy44NzUgMy44OCAzLjg4IDAgMCAwIDMuODc1IDMuODc1Yy41MTEgMCAxLS4xIDEuNDQ4LS4yODJsNS40NzEgNi4yMDJhMy45MzcgMy45MzcgMCAwIDAtLjIzOS41MzhINy41MjhhMy44OTQgMy44OTQgMCAwIDAtMi4zNjEtMi4zNlY3LjUyN2EzLjg5NCAzLjg5NCAwIDAgMCAyLjM2LTIuMzYxWiIvPjwvZz48cGF0aCBkPSJNMjguOTI4IDE3LjI5NmgtMy40OTJsLS42IDEuNzA0aC0xLjQyOGwyLjk4OC04LjM1MmgxLjU4NEwzMC45NjggMTloLTEuNDRsLS42LTEuNzA0Wm0tLjM4NC0xLjExNi0xLjM1Ni0zLjg3Ni0xLjM2OCAzLjg3NmgyLjcyNFptNS4wOTEtNS41MlYxOWgtMS4zNjh2LTguMzRoMS4zNjhaIi8+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJNMCAwaDMxdjMxSDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",ot=Object.defineProperty,Ke=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable,V=(jt,an,hn)=>an in jt?ot(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,R=(jt,an)=>{for(var hn in an||(an={}))he.call(an,hn)&&V(jt,hn,an[hn]);if(Ke)for(var hn of Ke(an))J.call(an,hn)&&V(jt,hn,an[hn]);return jt};const P=jt=>o.createElement("svg",R({viewBox:"0 0 31 31",xmlns:"http://www.w3.org/2000/svg"},jt),o.createElement("g",{clipPath:"url(#polygon_svg__a)"},o.createElement("path",{d:"M27.125 23.25c-.534 0-1.042.108-1.505.303l-5.444-6.17a3.854 3.854 0 0 0-.008-3.782l5.403-6.178c.477.21 1.002.327 1.554.327A3.88 3.88 0 0 0 31 3.875 3.88 3.88 0 0 0 27.125 0a3.88 3.88 0 0 0-3.653 2.583H7.528A3.88 3.88 0 0 0 3.875 0 3.88 3.88 0 0 0 0 3.875a3.88 3.88 0 0 0 2.583 3.653v15.944A3.88 3.88 0 0 0 0 27.125 3.88 3.88 0 0 0 3.875 31a3.88 3.88 0 0 0 3.653-2.583h15.944A3.88 3.88 0 0 0 27.125 31 3.88 3.88 0 0 0 31 27.125a3.88 3.88 0 0 0-3.875-3.875ZM7.528 5.167h15.944c.06.168.132.332.213.488l-5.46 6.245a3.854 3.854 0 0 0-1.433-.275 3.88 3.88 0 0 0-3.875 3.875 3.88 3.88 0 0 0 3.875 3.875c.511 0 1-.1 1.448-.282l5.471 6.202a3.937 3.937 0 0 0-.239.538H7.528a3.894 3.894 0 0 0-2.361-2.36V7.527a3.894 3.894 0 0 0 2.36-2.361Z"})),o.createElement("defs",null,o.createElement("clipPath",{id:"polygon_svg__a"},o.createElement("path",{d:"M0 0h31v31H0z"}))));var B="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzEgMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjcuMTI1IDIzLjI1Yy0uNTM0IDAtMS4wNDIuMTA4LTEuNTA1LjMwM2wtNS40NDQtNi4xN2EzLjg1NCAzLjg1NCAwIDAgMC0uMDA4LTMuNzgybDUuNDAzLTYuMTc4Yy40NzcuMjEgMS4wMDIuMzI3IDEuNTU0LjMyN0EzLjg4IDMuODggMCAwIDAgMzEgMy44NzUgMy44OCAzLjg4IDAgMCAwIDI3LjEyNSAwYTMuODggMy44OCAwIDAgMC0zLjY1MyAyLjU4M0g3LjUyOEEzLjg4IDMuODggMCAwIDAgMy44NzUgMCAzLjg4IDMuODggMCAwIDAgMCAzLjg3NWEzLjg4IDMuODggMCAwIDAgMi41ODMgMy42NTN2MTUuOTQ0QTMuODggMy44OCAwIDAgMCAwIDI3LjEyNSAzLjg4IDMuODggMCAwIDAgMy44NzUgMzFhMy44OCAzLjg4IDAgMCAwIDMuNjUzLTIuNTgzaDE1Ljk0NEEzLjg4IDMuODggMCAwIDAgMjcuMTI1IDMxIDMuODggMy44OCAwIDAgMCAzMSAyNy4xMjVhMy44OCAzLjg4IDAgMCAwLTMuODc1LTMuODc1Wk03LjUyOCA1LjE2N2gxNS45NDRjLjA2LjE2OC4xMzIuMzMyLjIxMy40ODhsLTUuNDYgNi4yNDVhMy44NTQgMy44NTQgMCAwIDAtMS40MzMtLjI3NSAzLjg4IDMuODggMCAwIDAtMy44NzUgMy44NzUgMy44OCAzLjg4IDAgMCAwIDMuODc1IDMuODc1Yy41MTEgMCAxLS4xIDEuNDQ4LS4yODJsNS40NzEgNi4yMDJhMy45MzcgMy45MzcgMCAwIDAtLjIzOS41MzhINy41MjhhMy44OTQgMy44OTQgMCAwIDAtMi4zNjEtMi4zNlY3LjUyN2EzLjg5NCAzLjg5NCAwIDAgMCAyLjM2LTIuMzYxWiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGQ9Ik0wIDBoMzF2MzFIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",ge=Object.defineProperty,ie=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,xe=(jt,an,hn)=>an in jt?ge(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,Se=(jt,an)=>{for(var hn in an||(an={}))pe.call(an,hn)&&xe(jt,hn,an[hn]);if(ie)for(var hn of ie(an))Oe.call(an,hn)&&xe(jt,hn,an[hn]);return jt};const $e=jt=>o.createElement("svg",Se({viewBox:"0 0 29 29",xmlns:"http://www.w3.org/2000/svg"},jt),o.createElement("path",{d:"M27.32 6.07a1 1 0 0 0 1-1V1.01a1 1 0 0 0-1-1.001h-4.05a1 1 0 0 0-1 1v1H6.06v-1a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1v4.05a1 1 0 0 0 1 1h1V22.26H1a1 1 0 0 0-1 1v4.05a1 1 0 0 0 1 1h4.05a1 1 0 0 0 1-1v-1h16.2v1a1 1 0 0 0 1 1h4.05a1 1 0 0 0 1-1v-4.03a1 1 0 0 0-1-1h-1V6.07h1.02Zm-3 16.2h-1a1 1 0 0 0-1 1v1H6.06v-1a1 1 0 0 0-1-1h-1V6.07h1a1 1 0 0 0 1-1v-1h16.2v1a1 1 0 0 0 1 1h1l.06 16.2Z"}),o.createElement("path",{d:"M13.928 17.305h-3.492l-.6 1.704H8.408l2.988-8.352h1.584l2.988 8.352h-1.44l-.6-1.704Zm-.384-1.116-1.356-3.876-1.368 3.876h2.724Zm5.091-5.52v8.34h-1.368v-8.34h1.368Z"}));var re="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjkgMjkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI3LjMyIDYuMDdhMSAxIDAgMCAwIDEtMVYxLjAxYTEgMSAwIDAgMC0xLTEuMDAxaC00LjA1YTEgMSAwIDAgMC0xIDF2MUg2LjA2di0xYTEgMSAwIDAgMC0xLTFIMWExIDEgMCAwIDAtMSAxdjQuMDVhMSAxIDAgMCAwIDEgMWgxVjIyLjI2SDFhMSAxIDAgMCAwLTEgMXY0LjA1YTEgMSAwIDAgMCAxIDFoNC4wNWExIDEgMCAwIDAgMS0xdi0xaDE2LjJ2MWExIDEgMCAwIDAgMSAxaDQuMDVhMSAxIDAgMCAwIDEtMXYtNC4wM2ExIDEgMCAwIDAtMS0xaC0xVjYuMDdoMS4wMlptLTMgMTYuMmgtMWExIDEgMCAwIDAtMSAxdjFINi4wNnYtMWExIDEgMCAwIDAtMS0xaC0xVjYuMDdoMWExIDEgMCAwIDAgMS0xdi0xaDE2LjJ2MWExIDEgMCAwIDAgMSAxaDFsLjA2IDE2LjJaIi8+PHBhdGggZD0iTTEzLjkyOCAxNy4zMDVoLTMuNDkybC0uNiAxLjcwNEg4LjQwOGwyLjk4OC04LjM1MmgxLjU4NGwyLjk4OCA4LjM1MmgtMS40NGwtLjYtMS43MDRabS0uMzg0LTEuMTE2LTEuMzU2LTMuODc2LTEuMzY4IDMuODc2aDIuNzI0Wm01LjA5MS01LjUydjguMzRoLTEuMzY4di04LjM0aDEuMzY4WiIvPjwvc3ZnPg==",oe=Object.defineProperty,q=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,le=(jt,an,hn)=>an in jt?oe(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,Ne=(jt,an)=>{for(var hn in an||(an={}))ue.call(an,hn)&&le(jt,hn,an[hn]);if(q)for(var hn of q(an))Ee.call(an,hn)&&le(jt,hn,an[hn]);return jt};const Ae=jt=>o.createElement("svg",Ne({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},jt),o.createElement("path",{className:"rectangle_svg__cls-1",d:"M30.17 8.91a1 1 0 0 0 1-1V3.85a1 1 0 0 0-1-1h-4.05a1 1 0 0 0-1 1v1H8.91v-1a1 1 0 0 0-1-1H3.85a1 1 0 0 0-1 1V7.9a1 1 0 0 0 1 1h1v16.2h-1a1 1 0 0 0-1 1v4.05a1 1 0 0 0 1 1H7.9a1 1 0 0 0 1-1v-1h16.2v1a1 1 0 0 0 1 1h4.05a1 1 0 0 0 1-1v-4.03a1 1 0 0 0-1-1h-1V8.91Zm-3 16.2h-1a1 1 0 0 0-1 1v1H8.91v-1a1 1 0 0 0-1-1h-1V8.91h1a1 1 0 0 0 1-1v-1h16.2v1a1 1 0 0 0 1 1h1Z"}),o.createElement("path",{className:"rectangle_svg__cls-2",fill:"none",d:"M2.83 2.83h28.35v28.35H2.83z"}));var we="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMzAuMTcgOC45MWExIDEgMCAwIDAgMS0xVjMuODVhMSAxIDAgMCAwLTEtMWgtNC4wNWExIDEgMCAwIDAtMSAxdjFIOC45MXYtMWExIDEgMCAwIDAtMS0xSDMuODVhMSAxIDAgMCAwLTEgMVY3LjlhMSAxIDAgMCAwIDEgMWgxdjE2LjJoLTFhMSAxIDAgMCAwLTEgMXY0LjA1YTEgMSAwIDAgMCAxIDFINy45YTEgMSAwIDAgMCAxLTF2LTFoMTYuMnYxYTEgMSAwIDAgMCAxIDFoNC4wNWExIDEgMCAwIDAgMS0xdi00LjAzYTEgMSAwIDAgMC0xLTFoLTFWOC45MVptLTMgMTYuMmgtMWExIDEgMCAwIDAtMSAxdjFIOC45MXYtMWExIDEgMCAwIDAtMS0xaC0xVjguOTFoMWExIDEgMCAwIDAgMS0xdi0xaDE2LjJ2MWExIDEgMCAwIDAgMSAxaDFaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBmaWxsPSJub25lIiBkPSJNMi44MyAyLjgzaDI4LjM1djI4LjM1SDIuODN6Ii8+PC9zdmc+",Re=Object.defineProperty,st=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,We=(jt,an,hn)=>an in jt?Re(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,Be=(jt,an)=>{for(var hn in an||(an={}))nt.call(an,hn)&&We(jt,hn,an[hn]);if(st)for(var hn of st(an))_e.call(an,hn)&&We(jt,hn,an[hn]);return jt};const it=jt=>o.createElement("svg",Be({className:"redo_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},jt),o.createElement("path",{d:"m1017.173 430.08-477.866-307.2c-6.827-3.413-13.654-3.413-17.067 0-6.827 3.413-10.24 6.827-10.24 13.653v187.734c-341.333 10.24-508.587 337.92-512 563.2v3.413c0 6.827 6.827 13.653 17.067 13.653s17.066-6.826 17.066-17.066c3.414-51.2 228.694-279.894 477.867-290.134v187.734c0 6.826 3.413 13.653 10.24 13.653 6.827 3.413 13.653 3.413 17.067 0l477.866-341.333c3.414-3.414 6.827-10.24 6.827-13.654s-3.413-10.24-6.827-13.653z",fill:"#fff"}));var Ge="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Im0xMDE3LjE3MyA0MzAuMDgtNDc3Ljg2Ni0zMDcuMmMtNi44MjctMy40MTMtMTMuNjU0LTMuNDEzLTE3LjA2NyAwLTYuODI3IDMuNDEzLTEwLjI0IDYuODI3LTEwLjI0IDEzLjY1M3YxODcuNzM0Yy0zNDEuMzMzIDEwLjI0LTUwOC41ODcgMzM3LjkyLTUxMiA1NjMuMnYzLjQxM2MwIDYuODI3IDYuODI3IDEzLjY1MyAxNy4wNjcgMTMuNjUzczE3LjA2Ni02LjgyNiAxNy4wNjYtMTcuMDY2YzMuNDE0LTUxLjIgMjI4LjY5NC0yNzkuODk0IDQ3Ny44NjctMjkwLjEzNHYxODcuNzM0YzAgNi44MjYgMy40MTMgMTMuNjUzIDEwLjI0IDEzLjY1MyA2LjgyNyAzLjQxMyAxMy42NTMgMy40MTMgMTcuMDY3IDBsNDc3Ljg2Ni0zNDEuMzMzYzMuNDE0LTMuNDE0IDYuODI3LTEwLjI0IDYuODI3LTEzLjY1NHMtMy40MTMtMTAuMjQtNi44MjctMTMuNjUzeiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==",Ot=Object.defineProperty,$t=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,dt=(jt,an,hn)=>an in jt?Ot(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,je=(jt,an)=>{for(var hn in an||(an={}))wt.call(an,hn)&&dt(jt,hn,an[hn]);if($t)for(var hn of $t(an))Pt.call(an,hn)&&dt(jt,hn,an[hn]);return jt};const tt=jt=>o.createElement("svg",je({className:"repeat_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},jt),o.createElement("path",{d:"M0 448c0 35.4 28.6 64 64 64s64-28.6 64-64c0-106 86-192 192-192h320v64c0 25.8 15.6 49.2 39.6 59.2s51.4 4.4 69.8-13.8l128-128c25-25 25-65.6 0-90.6l-128-128C731 .4 703.6-5 679.6 5S640 38.2 640 64v64H320C143.2 128 0 271.2 0 448zm1024 128c0-35.4-28.6-64-64-64s-64 28.6-64 64c0 106-86 192-192 192H384v-64c0-25.8-15.6-49.2-39.6-59.2s-51.4-4.4-69.8 13.8l-128 128c-25 25-25 65.6 0 90.6l128 128c18.4 18.4 45.8 23.8 69.8 13.8s39.6-33.2 39.6-59.2V896h320c176.8 0 320-143.2 320-320z",fill:"#fff"}));var lt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik0wIDQ0OGMwIDM1LjQgMjguNiA2NCA2NCA2NHM2NC0yOC42IDY0LTY0YzAtMTA2IDg2LTE5MiAxOTItMTkyaDMyMHY2NGMwIDI1LjggMTUuNiA0OS4yIDM5LjYgNTkuMnM1MS40IDQuNCA2OS44LTEzLjhsMTI4LTEyOGMyNS0yNSAyNS02NS42IDAtOTAuNmwtMTI4LTEyOEM3MzEgLjQgNzAzLjYtNSA2NzkuNiA1UzY0MCAzOC4yIDY0MCA2NHY2NEgzMjBDMTQzLjIgMTI4IDAgMjcxLjIgMCA0NDh6bTEwMjQgMTI4YzAtMzUuNC0yOC42LTY0LTY0LTY0cy02NCAyOC42LTY0IDY0YzAgMTA2LTg2IDE5Mi0xOTIgMTkySDM4NHYtNjRjMC0yNS44LTE1LjYtNDkuMi0zOS42LTU5LjJzLTUxLjQtNC40LTY5LjggMTMuOGwtMTI4IDEyOGMtMjUgMjUtMjUgNjUuNiAwIDkwLjZsMTI4IDEyOGMxOC40IDE4LjQgNDUuOCAyMy44IDY5LjggMTMuOHMzOS42LTMzLjIgMzkuNi01OS4yVjg5NmgzMjBjMTc2LjggMCAzMjAtMTQzLjIgMzIwLTMyMHoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",bt=Object.defineProperty,It=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Mt=(jt,an,hn)=>an in jt?bt(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,Le=(jt,an)=>{for(var hn in an||(an={}))Kt.call(an,hn)&&Mt(jt,hn,an[hn]);if(It)for(var hn of It(an))zt.call(an,hn)&&Mt(jt,hn,an[hn]);return jt};const Ce=jt=>o.createElement("svg",Le({viewBox:"0 0 31 35",xmlns:"http://www.w3.org/2000/svg"},jt),o.createElement("g",{clipPath:"url(#skeleton-ai_svg__a)"},o.createElement("path",{d:"M25.833 19.5a5.161 5.161 0 0 0-4.097 2.023l-.09-.039a6.459 6.459 0 0 0-7.762-8.237l-.118-.222a5.16 5.16 0 1 0-2.297 1.18l.094.176a6.448 6.448 0 0 0-1.465 8.654l-2.435 2.277a5.167 5.167 0 1 0 1.88 1.78l2.374-2.22a6.45 6.45 0 0 0 8.446-1.125l.36.154a5.167 5.167 0 1 0 5.11-4.401ZM7.75 9.167a2.583 2.583 0 1 1 5.167 0 2.583 2.583 0 0 1-5.167 0Zm-2.583 23.25a2.583 2.583 0 1 1 0-5.166 2.583 2.583 0 0 1 0 5.166ZM15.5 23.375a3.874 3.874 0 0 1-2.067-7.148l.526-.28a3.876 3.876 0 1 1 1.54 7.428Zm10.333 3.875a2.583 2.583 0 1 1 0-5.165 2.583 2.583 0 0 1 0 5.165Z"})),o.createElement("path",{d:"M24.928 11.296h-3.492l-.6 1.704h-1.428l2.988-8.352h1.584L26.968 13h-1.44l-.6-1.704Zm-.384-1.116-1.356-3.876-1.368 3.876h2.724Zm5.091-5.52V13h-1.368V4.66h1.368Z"}),o.createElement("defs",null,o.createElement("clipPath",{id:"skeleton-ai_svg__a"},o.createElement("path",{transform:"translate(0 4)",d:"M0 0h31v31H0z"}))));var Et="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzEgMzUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjUuODMzIDE5LjVhNS4xNjEgNS4xNjEgMCAwIDAtNC4wOTcgMi4wMjNsLS4wOS0uMDM5YTYuNDU5IDYuNDU5IDAgMCAwLTcuNzYyLTguMjM3bC0uMTE4LS4yMjJhNS4xNiA1LjE2IDAgMSAwLTIuMjk3IDEuMThsLjA5NC4xNzZhNi40NDggNi40NDggMCAwIDAtMS40NjUgOC42NTRsLTIuNDM1IDIuMjc3YTUuMTY3IDUuMTY3IDAgMSAwIDEuODggMS43OGwyLjM3NC0yLjIyYTYuNDUgNi40NSAwIDAgMCA4LjQ0Ni0xLjEyNWwuMzYuMTU0YTUuMTY3IDUuMTY3IDAgMSAwIDUuMTEtNC40MDFaTTcuNzUgOS4xNjdhMi41ODMgMi41ODMgMCAxIDEgNS4xNjcgMCAyLjU4MyAyLjU4MyAwIDAgMS01LjE2NyAwWm0tMi41ODMgMjMuMjVhMi41ODMgMi41ODMgMCAxIDEgMC01LjE2NiAyLjU4MyAyLjU4MyAwIDAgMSAwIDUuMTY2Wk0xNS41IDIzLjM3NWEzLjg3NCAzLjg3NCAwIDAgMS0yLjA2Ny03LjE0OGwuNTI2LS4yOGEzLjg3NiAzLjg3NiAwIDEgMSAxLjU0IDcuNDI4Wm0xMC4zMzMgMy44NzVhMi41ODMgMi41ODMgMCAxIDEgMC01LjE2NSAyLjU4MyAyLjU4MyAwIDAgMSAwIDUuMTY1WiIvPjwvZz48cGF0aCBkPSJNMjQuOTI4IDExLjI5NmgtMy40OTJsLS42IDEuNzA0aC0xLjQyOGwyLjk4OC04LjM1MmgxLjU4NEwyNi45NjggMTNoLTEuNDRsLS42LTEuNzA0Wm0tLjM4NC0xLjExNi0xLjM1Ni0zLjg3Ni0xLjM2OCAzLjg3NmgyLjcyNFptNS4wOTEtNS41MlYxM2gtMS4zNjhWNC42NmgxLjM2OFoiLz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgNCkiIGQ9Ik0wIDBoMzF2MzFIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",Tt=Object.defineProperty,Ye=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable,Ut=(jt,an,hn)=>an in jt?Tt(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,qt=(jt,an)=>{for(var hn in an||(an={}))et.call(an,hn)&&Ut(jt,hn,an[hn]);if(Ye)for(var hn of Ye(an))_t.call(an,hn)&&Ut(jt,hn,an[hn]);return jt};const un=jt=>o.createElement("svg",qt({viewBox:"0 0 31 31",xmlns:"http://www.w3.org/2000/svg"},jt),o.createElement("g",{clipPath:"url(#skeleton_svg__a)"},o.createElement("path",{d:"M25.833 15.5a5.161 5.161 0 0 0-4.097 2.023l-.09-.039a6.459 6.459 0 0 0-7.762-8.237l-.118-.222a5.16 5.16 0 1 0-2.297 1.18l.094.176a6.448 6.448 0 0 0-1.465 8.654l-2.435 2.277a5.167 5.167 0 1 0 1.88 1.78l2.374-2.22a6.45 6.45 0 0 0 8.446-1.125l.36.154a5.167 5.167 0 1 0 5.11-4.401ZM7.75 5.167a2.583 2.583 0 1 1 5.167 0 2.583 2.583 0 0 1-5.167 0Zm-2.583 23.25a2.583 2.583 0 1 1 0-5.166 2.583 2.583 0 0 1 0 5.166ZM15.5 19.375a3.874 3.874 0 0 1-2.067-7.148l.526-.28a3.876 3.876 0 1 1 1.54 7.428Zm10.333 3.875a2.583 2.583 0 1 1 0-5.165 2.583 2.583 0 0 1 0 5.165Z"})),o.createElement("defs",null,o.createElement("clipPath",{id:"skeleton_svg__a"},o.createElement("path",{d:"M0 0h31v31H0z"}))));var Mn="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzEgMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjUuODMzIDE1LjVhNS4xNjEgNS4xNjEgMCAwIDAtNC4wOTcgMi4wMjNsLS4wOS0uMDM5YTYuNDU5IDYuNDU5IDAgMCAwLTcuNzYyLTguMjM3bC0uMTE4LS4yMjJhNS4xNiA1LjE2IDAgMSAwLTIuMjk3IDEuMThsLjA5NC4xNzZhNi40NDggNi40NDggMCAwIDAtMS40NjUgOC42NTRsLTIuNDM1IDIuMjc3YTUuMTY3IDUuMTY3IDAgMSAwIDEuODggMS43OGwyLjM3NC0yLjIyYTYuNDUgNi40NSAwIDAgMCA4LjQ0Ni0xLjEyNWwuMzYuMTU0YTUuMTY3IDUuMTY3IDAgMSAwIDUuMTEtNC40MDFaTTcuNzUgNS4xNjdhMi41ODMgMi41ODMgMCAxIDEgNS4xNjcgMCAyLjU4MyAyLjU4MyAwIDAgMS01LjE2NyAwWm0tMi41ODMgMjMuMjVhMi41ODMgMi41ODMgMCAxIDEgMC01LjE2NiAyLjU4MyAyLjU4MyAwIDAgMSAwIDUuMTY2Wk0xNS41IDE5LjM3NWEzLjg3NCAzLjg3NCAwIDAgMS0yLjA2Ny03LjE0OGwuNTI2LS4yOGEzLjg3NiAzLjg3NiAwIDEgMSAxLjU0IDcuNDI4Wm0xMC4zMzMgMy44NzVhMi41ODMgMi41ODMgMCAxIDEgMC01LjE2NSAyLjU4MyAyLjU4MyAwIDAgMSAwIDUuMTY1WiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGQ9Ik0wIDBoMzF2MzFIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",vn=Object.defineProperty,Xn=Object.getOwnPropertySymbols,Vn=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,er=(jt,an,hn)=>an in jt?vn(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,Wt=(jt,an)=>{for(var hn in an||(an={}))Vn.call(an,hn)&&er(jt,hn,an[hn]);if(Xn)for(var hn of Xn(an))or.call(an,hn)&&er(jt,hn,an[hn]);return jt};const en=jt=>o.createElement("svg",Wt({viewBox:"0 0 49 49",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jt),o.createElement("g",{clipPath:"url(#text-prompt_svg__a)"},o.createElement("path",{d:"M24.5 49C38.031 49 49 38.031 49 24.5S38.031 0 24.5 0 0 10.969 0 24.5 10.969 49 24.5 49Z",fill:"#CCDCFF"}),o.createElement("path",{d:"M4.64 16.275v16.45H24.5l9.93-8.225-9.93-8.225H4.64Z",fill:"#fff"}),o.createElement("path",{d:"M24.5 16.275h19.86v16.45H24.5v-16.45Z",fill:"#E8E8E8"}),o.createElement("path",{d:"M15.06 13.87v-3.243H6.646v3.242h2.586v21.262H6.646v3.242h8.414v-3.242h-2.585V13.869h2.585Z",fill:"#5C5B68"}),o.createElement("path",{d:"M15.69 26.757h6.247v2.871H15.69v-2.87Z",fill:"#397DEA"}),o.createElement("path",{d:"M25.24 26.757h6.247v2.871H25.24v-2.87ZM34.79 26.757h6.247v2.871H34.79v-2.87Z",fill:"#2C5DBF"})),o.createElement("defs",null,o.createElement("clipPath",{id:"text-prompt_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h49v49H0z"}))));var nn="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDkgNDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjQuNSA0OUMzOC4wMzEgNDkgNDkgMzguMDMxIDQ5IDI0LjVTMzguMDMxIDAgMjQuNSAwIDAgMTAuOTY5IDAgMjQuNSAxMC45NjkgNDkgMjQuNSA0OVoiIGZpbGw9IiNDQ0RDRkYiLz48cGF0aCBkPSJNNC42NCAxNi4yNzV2MTYuNDVIMjQuNWw5LjkzLTguMjI1LTkuOTMtOC4yMjVINC42NFoiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNMjQuNSAxNi4yNzVoMTkuODZ2MTYuNDVIMjQuNXYtMTYuNDVaIiBmaWxsPSIjRThFOEU4Ii8+PHBhdGggZD0iTTE1LjA2IDEzLjg3di0zLjI0M0g2LjY0NnYzLjI0MmgyLjU4NnYyMS4yNjJINi42NDZ2My4yNDJoOC40MTR2LTMuMjQyaC0yLjU4NVYxMy44NjloMi41ODVaIiBmaWxsPSIjNUM1QjY4Ii8+PHBhdGggZD0iTTE1LjY5IDI2Ljc1N2g2LjI0N3YyLjg3MUgxNS42OXYtMi44N1oiIGZpbGw9IiMzOTdERUEiLz48cGF0aCBkPSJNMjUuMjQgMjYuNzU3aDYuMjQ3djIuODcxSDI1LjI0di0yLjg3Wk0zNC43OSAyNi43NTdoNi4yNDd2Mi44NzFIMzQuNzl2LTIuODdaIiBmaWxsPSIjMkM1REJGIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGg0OXY0OUgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==",fn=Object.defineProperty,En=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,gt=(jt,an,hn)=>an in jt?fn(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,Xt=(jt,an)=>{for(var hn in an||(an={}))on.call(an,hn)&>(jt,hn,an[hn]);if(En)for(var hn of En(an))pt.call(an,hn)&>(jt,hn,an[hn]);return jt};const rn=jt=>o.createElement("svg",Xt({className:"undo_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},jt),o.createElement("path",{d:"M512 324.267V136.533c0-6.826-3.413-13.653-10.24-13.653-6.827-3.413-13.653-3.413-17.067 0L6.827 430.08C3.413 433.493 0 436.907 0 443.733s3.413 10.24 6.827 13.654L484.693 798.72c6.827 3.413 13.654 3.413 17.067 0 6.827-3.413 10.24-10.24 10.24-13.653V597.333c249.173 10.24 474.453 235.52 477.867 290.134 0 10.24 6.826 17.066 17.066 17.066S1024 897.707 1024 887.467c-3.413-225.28-170.667-552.96-512-563.2z",fill:"#fff"}));var Jt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMzI0LjI2N1YxMzYuNTMzYzAtNi44MjYtMy40MTMtMTMuNjUzLTEwLjI0LTEzLjY1My02LjgyNy0zLjQxMy0xMy42NTMtMy40MTMtMTcuMDY3IDBMNi44MjcgNDMwLjA4QzMuNDEzIDQzMy40OTMgMCA0MzYuOTA3IDAgNDQzLjczM3MzLjQxMyAxMC4yNCA2LjgyNyAxMy42NTRMNDg0LjY5MyA3OTguNzJjNi44MjcgMy40MTMgMTMuNjU0IDMuNDEzIDE3LjA2NyAwIDYuODI3LTMuNDEzIDEwLjI0LTEwLjI0IDEwLjI0LTEzLjY1M1Y1OTcuMzMzYzI0OS4xNzMgMTAuMjQgNDc0LjQ1MyAyMzUuNTIgNDc3Ljg2NyAyOTAuMTM0IDAgMTAuMjQgNi44MjYgMTcuMDY2IDE3LjA2NiAxNy4wNjZTMTAyNCA4OTcuNzA3IDEwMjQgODg3LjQ2N2MtMy40MTMtMjI1LjI4LTE3MC42NjctNTUyLjk2LTUxMi01NjMuMnoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",pn=Object.defineProperty,mn=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,tr=Object.prototype.propertyIsEnumerable,ut=(jt,an,hn)=>an in jt?pn(jt,an,{enumerable:!0,configurable:!0,writable:!0,value:hn}):jt[an]=hn,ct=(jt,an)=>{for(var hn in an||(an={}))Zn.call(an,hn)&&ut(jt,hn,an[hn]);if(mn)for(var hn of mn(an))tr.call(an,hn)&&ut(jt,hn,an[hn]);return jt};const Dt=jt=>o.createElement("svg",ct({viewBox:"0 0 49 49",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jt),o.createElement("g",{clipPath:"url(#visual-prompt_svg__a)"},o.createElement("path",{d:"M24.5 49C38.031 49 49 38.031 49 24.5S38.031 0 24.5 0 0 10.969 0 24.5 10.969 49 24.5 49Z",fill:"#CCDCFF"}),o.createElement("path",{d:"M24.5 40.84h-2.393v-7.178H24.5l.808 3.648-.808 3.53Z",fill:"#87ADFF"}),o.createElement("path",{d:"M24.5 33.662h2.393v7.177H24.5v-7.177Z",fill:"#165DFF"}),o.createElement("path",{d:"M24.5 42.514h-5.742V40.6H24.5l.642.957-.642.957Z",fill:"#165DFF"}),o.createElement("path",{d:"M24.5 40.6h5.742v1.914H24.5V40.6Z",fill:"#0E57FF"}),o.createElement("path",{d:"M25.765 23.118 24.5 13.32H6.316v18.183l18.184.563 1.265-8.948Z",fill:"#fff"}),o.createElement("path",{d:"M24.5 13.32v18.746l18.184-.563V13.32H24.5Z",fill:"#EAEDF4"}),o.createElement("path",{d:"m24.5 33.896.808-1.196-.808-1.197H6.316v2.393H24.5Z",fill:"#165DFF"}),o.createElement("path",{d:"M24.5 31.503h18.184v2.393H24.5v-2.393Z",fill:"#0E57FF"}),o.createElement("path",{d:"m36.198 24.423-3.163-1.054 1.055 3.163.527-.527 1.912 1.912 1.054-1.055-1.912-1.912.527-.527Z",fill:"#5C5B68"}),o.createElement("path",{d:"m19.034 19.3 3.474.608 1.992 2.548 1.48 2.73-1.48 3.517-5.466-3.156V19.3Z",fill:"#87ADFF"}),o.createElement("path",{d:"M29.966 25.547v-6.311l-3.399.786-2.067 2.434v6.247l5.466-3.156Z",fill:"#165DFF"}),o.createElement("path",{d:"m19.034 19.3 5.466 3.156 1.241-3.33L24.5 16.08l-5.466 3.22Z",fill:"#C1D4FD"}),o.createElement("path",{d:"M24.5 16.08v6.376l5.466-3.22L24.5 16.08Z",fill:"#A9C3FC"})),o.createElement("defs",null,o.createElement("clipPath",{id:"visual-prompt_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h49v49H0z"}))));var xt="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDkgNDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjQuNSA0OUMzOC4wMzEgNDkgNDkgMzguMDMxIDQ5IDI0LjVTMzguMDMxIDAgMjQuNSAwIDAgMTAuOTY5IDAgMjQuNSAxMC45NjkgNDkgMjQuNSA0OVoiIGZpbGw9IiNDQ0RDRkYiLz48cGF0aCBkPSJNMjQuNSA0MC44NGgtMi4zOTN2LTcuMTc4SDI0LjVsLjgwOCAzLjY0OC0uODA4IDMuNTNaIiBmaWxsPSIjODdBREZGIi8+PHBhdGggZD0iTTI0LjUgMzMuNjYyaDIuMzkzdjcuMTc3SDI0LjV2LTcuMTc3WiIgZmlsbD0iIzE2NURGRiIvPjxwYXRoIGQ9Ik0yNC41IDQyLjUxNGgtNS43NDJWNDAuNkgyNC41bC42NDIuOTU3LS42NDIuOTU3WiIgZmlsbD0iIzE2NURGRiIvPjxwYXRoIGQ9Ik0yNC41IDQwLjZoNS43NDJ2MS45MTRIMjQuNVY0MC42WiIgZmlsbD0iIzBFNTdGRiIvPjxwYXRoIGQ9Ik0yNS43NjUgMjMuMTE4IDI0LjUgMTMuMzJINi4zMTZ2MTguMTgzbDE4LjE4NC41NjMgMS4yNjUtOC45NDhaIiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTI0LjUgMTMuMzJ2MTguNzQ2bDE4LjE4NC0uNTYzVjEzLjMySDI0LjVaIiBmaWxsPSIjRUFFREY0Ii8+PHBhdGggZD0ibTI0LjUgMzMuODk2LjgwOC0xLjE5Ni0uODA4LTEuMTk3SDYuMzE2djIuMzkzSDI0LjVaIiBmaWxsPSIjMTY1REZGIi8+PHBhdGggZD0iTTI0LjUgMzEuNTAzaDE4LjE4NHYyLjM5M0gyNC41di0yLjM5M1oiIGZpbGw9IiMwRTU3RkYiLz48cGF0aCBkPSJtMzYuMTk4IDI0LjQyMy0zLjE2My0xLjA1NCAxLjA1NSAzLjE2My41MjctLjUyNyAxLjkxMiAxLjkxMiAxLjA1NC0xLjA1NS0xLjkxMi0xLjkxMi41MjctLjUyN1oiIGZpbGw9IiM1QzVCNjgiLz48cGF0aCBkPSJtMTkuMDM0IDE5LjMgMy40NzQuNjA4IDEuOTkyIDIuNTQ4IDEuNDggMi43My0xLjQ4IDMuNTE3LTUuNDY2LTMuMTU2VjE5LjNaIiBmaWxsPSIjODdBREZGIi8+PHBhdGggZD0iTTI5Ljk2NiAyNS41NDd2LTYuMzExbC0zLjM5OS43ODYtMi4wNjcgMi40MzR2Ni4yNDdsNS40NjYtMy4xNTZaIiBmaWxsPSIjMTY1REZGIi8+PHBhdGggZD0ibTE5LjAzNCAxOS4zIDUuNDY2IDMuMTU2IDEuMjQxLTMuMzNMMjQuNSAxNi4wOGwtNS40NjYgMy4yMloiIGZpbGw9IiNDMUQ0RkQiLz48cGF0aCBkPSJNMjQuNSAxNi4wOHY2LjM3Nmw1LjQ2Ni0zLjIyTDI0LjUgMTYuMDhaIiBmaWxsPSIjQTlDM0ZDIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGg0OXY0OUgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==",kt,sn,tn,xn,Nn,gr,nr,Rn=function(jt){return jt.showAnnotations="showAnnotations",jt.showAllCategory="showAllCategory",jt.showImgDesc="showImgDesc",jt.showBoxText="showBoxText",jt.showSegFilling="showSegFilling",jt.showSegContour="showSegContour",jt.showMattingColorFill="showMattingColorFill",jt.showKeyPointsLine="showKeyPointsLine",jt.showKeyPointsBox="showKeyPointsBox",jt}({}),kr=function(jt){return jt.Waiting="waiting",jt.Running="running",jt.Success="success",jt.Failed="failed",jt}({}),fr=.1,ua=20,Pr=.5,Bn=.1,Cn=function(jt){return jt.Rectangle="rect",jt.Polygon="polygon",jt.Mask="mask",jt.Skeleton="coco_keypoints_17",jt.Classification="classification",jt}({}),wn=function(jt){return jt.Custom="Custom",jt.Classification="Classification",jt.Rectangle="Rectangle",jt.Polygon="Polygon",jt.Skeleton="Skeleton",jt.Mask="Mask",jt.Matting="Matting",jt.Point="Point",jt.Polyline="Polyline",jt}({}),ar=function(jt){return jt.Rect="rect",jt.Circle="circle",jt.Polygon="polygon",jt.None="none",jt}({}),mr=function(jt){return jt.Drag="Drag",jt.Rectangle="Rect",jt.Polygon="Polygon",jt.Skeleton="Skeleton",jt.Mask="Mask",jt}({}),Qr=function(jt){return jt.PenAdd="PenAdd",jt.PenErase="PenErase",jt.BrushAdd="BrushAdd",jt.BrushErase="BrushErase",jt.AutoSegmentByBox="AutoSegmentByBox",jt.AutoSegmentByClick="AutoSegmentByClick",jt.AutoSegmentByStroke="AutoSegmentByStroke",jt.AutoSegmentEverything="AutoSegmentEverything",jt.AutoEdgeStitching="AutoEdgeStitching",jt.PositiveVisualPrompt="PositiveVisualPrompt",jt.NegativeVisualPrompt="NegativeVisualPrompt",jt}({}),qr=function(jt){return jt.SmartAnnotation="SmartAnnotation",jt.Undo="Undo",jt.Redo="Redo",jt.RepeatPrevious="RepeatPrevious",jt.DeleteAll="DeleteAll",jt}({}),ya=(kt={},t()(kt,mr.Drag,wn.Custom),t()(kt,mr.Rectangle,wn.Rectangle),t()(kt,mr.Polygon,wn.Polygon),t()(kt,mr.Skeleton,wn.Skeleton),t()(kt,mr.Mask,wn.Mask),kt),dr=function(jt){return jt.Detection="ai_detection",jt.IVP="ivp",jt.SegmentByPolygon="ai_polygon",jt.SegmentByMask="ai_segmentation_mask",jt.Pose="ai_pose",jt.MaskEdgeStitching="ai_mask_edge_stitching",jt.SegmentEverything="ai_segment_everything",jt}({}),Br=(sn={},t()(sn,mr.Drag,[]),t()(sn,mr.Rectangle,[dr.Detection,dr.IVP]),t()(sn,mr.Polygon,[dr.SegmentByPolygon]),t()(sn,mr.Mask,[dr.SegmentEverything,dr.SegmentByMask,dr.IVP]),t()(sn,mr.Skeleton,[dr.Pose]),sn),Ea=(tn={},t()(tn,dr.Detection,{name:"DDSAnnotator.smart.gdino.name",icon:en,description:"DDSAnnotator.smart.gdino.desc",hightlight:!1}),t()(tn,dr.IVP,{name:"DDSAnnotator.smart.ivp.name",icon:Dt,description:"DDSAnnotator.smart.ivp.desc",hightlight:!0}),t()(tn,dr.SegmentEverything,{name:"DDSAnnotator.smart.sam.name",icon:Dt,description:"DDSAnnotator.smart.sam.desc",hightlight:!1}),t()(tn,dr.SegmentByMask,{name:"DDSAnnotator.smart.isg.name",icon:Dt,description:"DDSAnnotator.smart.isg.desc",hightlight:!1}),tn),ca=(xn={},t()(xn,Cn.Rectangle,mr.Rectangle),t()(xn,Cn.Polygon,mr.Polygon),t()(xn,Cn.Mask,mr.Mask),t()(xn,Cn.Skeleton,mr.Skeleton),xn),Kn=(Nn={},t()(Nn,wn.Rectangle,Ae),t()(Nn,wn.Skeleton,un),t()(Nn,wn.Polygon,P),t()(Nn,wn.Mask,Pe),t()(Nn,wn.Matting,Pe),t()(Nn,wn.Point,g),t()(Nn,wn.Polyline,g),t()(Nn,wn.Custom,g),t()(Nn,wn.Classification,g),Nn),zn=(gr={},t()(gr,wn.Rectangle,$e),t()(gr,wn.Skeleton,Ce),t()(gr,wn.Polygon,ke),t()(gr,wn.Mask,H),gr),vr=(nr={},t()(nr,qr.SmartAnnotation,ne),t()(nr,qr.Undo,rn),t()(nr,qr.Redo,it),t()(nr,qr.RepeatPrevious,tt),t()(nr,qr.DeleteAll,T),nr),ra=function(jt){return jt[jt.noLabeled=0]="noLabeled",jt[jt.labeledNotVisible=1]="labeledNotVisible",jt[jt.labeledVisible=2]="labeledVisible",jt}({}),xr={categoryName:"person",boundingBox:{xmax:.44072164948453607,xmin:.2654639175257732,ymax:.5698739977090492,ymin:.09335624284077892},points:[175.25773195876286,61.21134020618557,0,1,2,1,179.9828178694158,41.45189003436426,0,1,2,1,170.96219931271477,41.881443298969074,0,1,2,1,189.86254295532646,51.33161512027492,0,1,2,1,163.23024054982818,50.47250859106529,0,1,2,1,192.86941580756016,68.08419243986253,0,1,2,1,158.295150820924,67.63982699371964,0,1,2,1,202.74914089347078,99.87113402061856,0,1,2,1,150.34364261168383,99.87113402061856,0,1,2,1,208.76288659793815,127.36254295532646,0,1,2,1,142.61168384879724,129.0807560137457,0,1,2,1,182.13058419243984,126.50343642611685,0,1,2,1,162.2279495990836,125.4739898092191,0,1,2,1,184.70790378006873,175.4725085910653,0,1,2,1,158.78675066819395,176.9759450171821,0,1,2,1,190.29209621993127,208.11855670103094,0,1,2,1,152.92096219931273,206.82989690721652,0,1,2,1],lines:[15,13,13,11,16,14,14,12,11,12,5,11,6,12,5,6,5,7,6,8,7,9,8,10,1,2,0,1,0,2,1,3,2,4,3,5,4,6],pointColors:["128","0","0","255","178","102","230","230","0","255","51","255","153","204","255","255","128","0","0","255","255","128","0","255","51","153","255","169","165","139","255","0","0","102","255","102","184","97","134","128","128","0","255","190","255","0","128","0","0","0","255"],pointNames:["nose","left_eye","right_eye","left_ear","right_ear","left_shoulder","right_shoulder","left_elbow","right_elbow","left_wrist","right_wrist","left_hip","right_hip","left_knee","right_knee","left_ankle","right_ankle"]}},34095:function(b,y,e){"use strict";e.d(y,{$k:function(){return S},Bt:function(){return m},CJ:function(){return g},XQ:function(){return c},cj:function(){return h},lz:function(){return M},mh:function(){return n},rl:function(){return d},s_:function(){return l}});var a=e(2657),t=e.n(a),o=e(50910),s,n={DEFAULT:0,CREATING:0,SHAPE:.4,FOCUS:.6,ACTIVE:.2,CTRL_TO_SELECT:.1,OTHER:0},d={DEFAULT:1,CREATING:1,CREATING_LINE:.8,FOCUS:1,ACTIVE:1,OTHER:.3},l={CREATING:.7,FOCUS:.7,DEFAULT:.5},c={CREATING:"#fff"},m={CREATING:"transparent",CREATING_POSITIVE:"#2876d4",CREATING_NEGATIVE:"#e91d00"},g={POSITIVE:"rgba(1, 128, 0, 1)",NEGATIVE:"rgba(255, 3, 0, 1)"},M={POSITIVE:"rgba(1, 128, 0, 0.6)",NEGATIVE:"rgba(255, 3, 0, 0.6)"},h=(s={},t()(s,o.SP.Solid,{lineDash:[],thickness:2}),t()(s,o.SP.DoubleSolid,{lineDash:[],thickness:4}),t()(s,o.SP.LCurbside,{lineDash:[],thickness:2}),t()(s,o.SP.RCurbside,{lineDash:[],thickness:2}),t()(s,o.SP.Unknown,{lineDash:[],thickness:2}),t()(s,o.SP.Dashed,{lineDash:[4,4],thickness:2}),t()(s,o.SP.DoubleDashed,{lineDash:[4,4],thickness:4}),t()(s,o.SP.LDashedRSolid,{lineDash:[4,8,4,8,16,4],thickness:4}),t()(s,o.SP.LSolidRDashed,{lineDash:[4,8,16,4],thickness:4}),s),S={Yellow:"#d97945",White:"#de1760",Other:"#72af44"}},65104:function(b,y,e){"use strict";e.d(y,{kl:function(){return _i},j5:function(){return Oc},D5:function(){return Dc},je:function(){return Q.je}});var a=e(63900),t=e.n(a),o=e(88205),s=e.n(o),n=e(62109),d=e(73267),l=e(87608),c=e.n(l),m=e(39378),g=e(58757),M=e(65246),h=e(52495),S=e(84045),w=e(18624),x=e(12562),z=e(53357),U=e(47513),T=e(74820),N=e(10852),Z=e(38904),D=e(21149),L=Object.defineProperty,j=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,ne=(Ze,ye,Te)=>ye in Ze?L(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,_=(Ze,ye)=>{for(var Te in ye||(ye={}))G.call(ye,Te)&&ne(Ze,Te,ye[Te]);if(j)for(var Te of j(ye))W.call(ye,Te)&&ne(Ze,Te,ye[Te]);return Ze};const ee=Ze=>g.createElement("svg",_({viewBox:"0 0 21 21",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("path",{d:"M16.625 4.375v12.25H4.375V4.375h12.25ZM3.5 2.625c-.438 0-.875.438-.875.875v14c0 .525.35.875.875.875h14c.525 0 .875-.35.875-.875v-14c0-.525-.35-.875-.875-.875h-14Z"}),g.createElement("path",{d:"M14.875 7.788c0-.525-.35-.875-.875-.875H9.625v-.438A.877.877 0 0 0 8.75 5.6c-.525 0-.875.35-.875.875v.438H7c-.525 0-.875.35-.875.875s.35.875.875.875h.875V9.1c0 .525.35.875.875.875s.875-.35.875-.875v-.437H14c.525 0 .875-.35.875-.875ZM6.125 13.3c0 .525.35.875.875.875h4.375v.438c0 .525.438.875.875.875.525 0 .875-.35.875-.875v-.438H14c.525 0 .875-.35.875-.875s-.35-.875-.875-.875h-.875v-.437c0-.525-.35-.875-.875-.875s-.875.35-.875.875v.437H7a.877.877 0 0 0-.875.875Z"}));var se="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjEgMjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2LjYyNSA0LjM3NXYxMi4yNUg0LjM3NVY0LjM3NWgxMi4yNVpNMy41IDIuNjI1Yy0uNDM4IDAtLjg3NS40MzgtLjg3NS44NzV2MTRjMCAuNTI1LjM1Ljg3NS44NzUuODc1aDE0Yy41MjUgMCAuODc1LS4zNS44NzUtLjg3NXYtMTRjMC0uNTI1LS4zNS0uODc1LS44NzUtLjg3NWgtMTRaIi8+PHBhdGggZD0iTTE0Ljg3NSA3Ljc4OGMwLS41MjUtLjM1LS44NzUtLjg3NS0uODc1SDkuNjI1di0uNDM4QS44NzcuODc3IDAgMCAwIDguNzUgNS42Yy0uNTI1IDAtLjg3NS4zNS0uODc1Ljg3NXYuNDM4SDdjLS41MjUgMC0uODc1LjM1LS44NzUuODc1cy4zNS44NzUuODc1Ljg3NWguODc1VjkuMWMwIC41MjUuMzUuODc1Ljg3NS44NzVzLjg3NS0uMzUuODc1LS44NzV2LS40MzdIMTRjLjUyNSAwIC44NzUtLjM1Ljg3NS0uODc1Wk02LjEyNSAxMy4zYzAgLjUyNS4zNS44NzUuODc1Ljg3NWg0LjM3NXYuNDM4YzAgLjUyNS40MzguODc1Ljg3NS44NzUuNTI1IDAgLjg3NS0uMzUuODc1LS44NzV2LS40MzhIMTRjLjUyNSAwIC44NzUtLjM1Ljg3NS0uODc1cy0uMzUtLjg3NS0uODc1LS44NzVoLS44NzV2LS40MzdjMC0uNTI1LS4zNS0uODc1LS44NzUtLjg3NXMtLjg3NS4zNS0uODc1Ljg3NXYuNDM3SDdhLjg3Ny44NzcgMCAwIDAtLjg3NS44NzVaIi8+PC9zdmc+",Q=e(50910),C=e(35667),X=function(ye,Te){return ye.isDarkTheme===Te.isDarkTheme&&ye.disabled===Te.disabled&&(0,m.isEqual)(ye.data,Te.data)&&(0,m.isEqual)(ye.values,Te.values)&&ye.onChangeValue===Te.onChangeValue&&ye.onFocusInput===Te.onFocusInput&&ye.onClickAttributes===Te.onClickAttributes},O=(0,g.memo)(function(Ze){var ye=(0,z.bU)(),Te=ye.localeText,An=Ze.isDarkTheme,yt=Ze.disabled,Pn=Ze.data,Sn=Ze.values,In=Ze.onChangeValue,Un=Ze.onFocusInput,ir=Ze.onClickAttributes;return(0,C.jsx)(U.Z,{layout:"vertical",className:c()("dds-annotator-attributes-form",{"dds-annotator-attributes-form-dark":An}),children:Pn.map(function(Mr,pr){var Ln,da;return(0,C.jsxs)(U.Z.Item,{required:Mr.required,label:Mr.hasAttributes?(0,C.jsxs)("div",{className:"dds-annotator-attributes-form-item-title",children:[Mr.field,(0,C.jsx)(T.Z,{title:Te("DDSAnnotator.attribute.edit"),children:(0,C.jsx)(x.ZP,{ghost:!0,className:"dds-annotator-attributes-form-item-title-btn",icon:(0,C.jsx)(ee,{className:Mr.requireAttribute?"attribute-warn":""}),shape:"circle",onClick:function(Yn){Yn.stopPropagation(),ir==null||ir(pr)}})})]}):Mr.field,children:[Mr.type===Q.In.Radio&&(0,C.jsx)(N.ZP.Group,{value:Sn[pr],options:(Ln=Mr.options)===null||Ln===void 0?void 0:Ln.map(function(Rr,Yn){var lr=Rr.label;return{label:lr,value:Yn}}),onChange:function(Yn){return In(pr,Yn.target.value)},disabled:yt}),Mr.type===Q.In.Checkbox&&(0,C.jsx)(Z.Z.Group,{value:Sn[pr],options:(da=Mr.options)===null||da===void 0?void 0:da.map(function(Rr,Yn){var lr=Rr.label;return{label:lr,value:Yn}}),onChange:function(Yn){return In(pr,Yn)},disabled:yt}),Mr.type===Q.In.Text&&(0,C.jsx)(D.Z,{placeholder:Te("DDSAnnotator.attribute.input"),value:Sn[pr],onChange:function(Yn){return In(pr,Yn.target.value)},onFocus:function(Yn){return Un==null?void 0:Un(pr,Yn)},onKeyUp:function(Yn){return Yn.stopPropagation()},onKeyDown:function(Yn){return Yn.stopPropagation()},disabled:yt})]},Mr.field)})})},X),H=O,k=function(ye){var Te=ye.children,An=ye.eventHandler,yt=function(Sn){An?An(Sn):Sn.stopPropagation()};return(0,C.jsx)("div",{onMouseDown:yt,onMouseUp:yt,style:{userSelect:"none"},children:Te})},A=(0,g.memo)(function(Ze){var ye=Ze.data,Te=Ze.supportEdit,An=Ze.onConfirmAttibuteEdit,yt=Ze.onCancelAttibuteEdit,Pn=(0,z.bU)(),Sn=Pn.localeText,In=(0,M.x)([]),Un=s()(In,2),ir=Un[0],Mr=Un[1];(0,g.useEffect)(function(){Mr((ye==null?void 0:ye.values)||[])},[ye.values]);var pr=function(Rr,Yn){Mr(function(lr){lr[Rr]=Yn})},Ln=function(){if(ye.attributes.find(function(Yn,lr){return Yn.required&&(ir[lr]===void 0||ir[lr]===null)})){S.ZP.error(Sn("DDSAnnotator.attribute.required"));return}var Rr=[];ye.attributes.forEach(function(Yn,lr){Rr.push(ir[lr]===void 0?null:ir[lr])}),An(Rr)};return(0,C.jsx)(k,{children:(0,C.jsx)(w.Z,{id:"annotation-editor",className:"dds-annotator-attribute-editor",title:(0,C.jsxs)("div",{className:"dds-annotator-attribute-editor-title",children:[(0,C.jsx)("div",{children:Sn("DDSAnnotator.attribute.add")}),(0,C.jsx)(x.ZP,{ghost:!0,className:"dds-annotator-attribute-editor-title-btn",icon:(0,C.jsx)(h.Z,{}),shape:"circle",size:"small",onClick:yt})]}),children:(0,C.jsxs)("div",{className:"dds-annotator-attribute-editor-content",children:[(0,C.jsx)(H,{disabled:!Te,data:ye.attributes,values:ir,onChangeValue:pr}),Te&&(0,C.jsx)("div",{className:"dds-annotator-attribute-editor-actions",children:(0,C.jsx)(x.ZP,{type:"primary",onClick:function(Rr){Rr.preventDefault(),Ln()},children:Sn("DDSAnnotator.confirm")})})]})})})}),Y=A,de=e(83720),me=e(56019),ve=e(16951),be=function(ye,Te){return ye.className===Te.className&&ye.supportEdit===Te.supportEdit&&(0,m.isEqual)(ye.classificationOptions,Te.classificationOptions)&&(0,m.isEqual)(ye.values,Te.values)&&ye.setDrawDataWithHistory===Te.setDrawDataWithHistory},Pe=(0,g.memo)(function(Ze){var ye=(0,z.bU)(),Te=ye.localeText,An=Ze.className,yt=Ze.classificationOptions,Pn=Ze.values,Sn=Ze.setDrawDataWithHistory,In=Ze.supportEdit,Un=(0,g.useState)(!1),ir=s()(Un,2),Mr=ir[0],pr=ir[1],Ln=function(Vr,Lr,ga){var aa,rr=yt[Vr],Jn=Pn==null||(aa=Pn.find(function(Fr){var Er=Fr.labelId;return Er===(rr==null?void 0:rr.id)}))===null||aa===void 0?void 0:aa.attributes;return rr!=null&&rr.attributes&&rr.attributes.length>0&&(Lr==null?void 0:Lr.labelId)!==rr.id&&(!ga||!(Jn!=null&&Jn.length))?{index:-1,labelId:rr.id,attributes:rr==null?void 0:rr.attributes,values:Jn}:null},da=function(Vr){setTimeout(function(){Sn(function(Lr){var ga=Ln(Vr,Lr.editingAttribute);ga&&(Lr.editingAttribute=ga)})})},Rr=function(Vr,Lr){Sn(function(ga){var aa,rr=yt[Vr],Jn=ga.classifications.findIndex(function(Fr){return Fr.labelId===rr.id});Jn>-1?ga.classifications[Jn].labelValue=Lr:ga.classifications.push({labelId:yt[Vr].id,labelValue:Lr}),((aa=ga.editingAttribute)===null||aa===void 0?void 0:aa.labelId)!==(rr==null?void 0:rr.id)&&(ga.editingAttribute=Ln(Vr,ga.editingAttribute,!0)||void 0)})},Yn=(0,g.useMemo)(function(){return yt.map(function(ia){var Vr,Lr;return{field:ia.labelName,type:ia.valueType,required:!0,options:ia.valueOptions,hasAttributes:!!((Vr=ia.attributes)!==null&&Vr!==void 0&&Vr.length),requireAttribute:!!((Lr=ia.attributes)!==null&&Lr!==void 0&&Lr.find(function(ga,aa){var rr,Jn;return(ga==null?void 0:ga.required)&&[void 0,null,""].includes((rr=Pn.find(function(Fr){var Er=Fr.labelId;return Er===ia.id}))===null||rr===void 0||(Jn=rr.attributes)===null||Jn===void 0?void 0:Jn[aa])}))}})},[yt,Pn]),lr=(0,g.useMemo)(function(){var ia=[];return yt.forEach(function(Vr){var Lr,ga=(Lr=Pn.find(function(aa){var rr=aa.labelId;return rr===Vr.id}))===null||Lr===void 0?void 0:Lr.labelValue;ia.push(ga===void 0?null:ga)}),ia},[yt,Pn]),Nr=(0,C.jsx)(H,{isDarkTheme:!0,disabled:!In,data:Yn,values:lr,onChangeValue:Rr,onFocusInput:da,onClickAttributes:da});return(0,C.jsx)("div",{className:c()("dds-annotator-classification",An),onMouseDown:function(Vr){Vr.stopPropagation()},children:(0,C.jsx)(ve.Z,{activeKey:"classification",items:[{key:"classification",label:Te("DDSAnnotator.annotsList.classification"),children:Mr?null:Nr}],tabBarExtraContent:(0,C.jsx)(T.Z,{title:Te(Mr?"DDSAnnotator.annotsList.showAll":"DDSAnnotator.annotsList.hideAll"),children:(0,C.jsx)(x.ZP,{ghost:!0,className:"tab-header-actions",icon:Mr?(0,C.jsx)(de.Z,{}):(0,C.jsx)(me.Z,{}),shape:"circle",onClick:function(){return pr(!Mr)}})})})})},be),Je=Pe,qe=e(22283),Xe=e(79233),mt=Object.defineProperty,Ct=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,ke=(Ze,ye,Te)=>ye in Ze?mt(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Ve=(Ze,ye)=>{for(var Te in ye||(ye={}))vt.call(ye,Te)&&ke(Ze,Te,ye[Te]);if(Ct)for(var Te of Ct(ye))Ht.call(ye,Te)&&ke(Ze,Te,ye[Te]);return Ze};const ot=Ze=>React.createElement("svg",Ve({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:600,height:600,fill:"none"},Ze),React.createElement("path",{fill:"#FFF",d:"M0 0h600v600H0z"}),React.createElement("mask",{id:"img-broken_svg__b",fill:"#fff"},React.createElement("use",{xlinkHref:"#img-broken_svg__a"})),React.createElement("g",{mask:"url(#img-broken_svg__b)"},React.createElement("path",{style:{fill:"#f3f3fa"},opacity:.6,d:"M520.82 276.411c.7 7.103 1.058 14.305 1.058 21.589 0 122.04-100.54 221-224.51 221-99.159 0-183.328-63.313-213.047-151.107h-8.426c-3.4 0-6.17-2.76-6.17-6.16A6.168 6.168 0 0 1 73.608 356H84c7.18 0 13-5.82 13-13v-1c0-7.18-5.82-13-13-13h-8.95l-.023-.161H52.855c-5.68 0-10.28-4.6-10.28-10.28s4.6-10.28 10.28-10.28h20.241A221.042 221.042 0 0 1 72.858 298c0-32.629 7.187-63.608 20.086-91.486H57c-15.46 0-28-12.541-28-28.001v-1.56c0-14.913 11.67-27.11 26.373-27.953H182c5.52 0 10-4.48 10-10s-4.48-10-10-10h-29.294l.732-.605h-14.59c-10.49 0-19-8.51-19-19v-1.06c0-10.49 8.51-19 19-19h84.392C246.448 81.345 271.393 77 297.368 77c51.023 0 98.077 16.763 135.787 45H418c-7.18 0-13 5.82-13 13v1c0 7.18 5.82 13 13 13h45.166a222.478 222.478 0 0 1 23.253 29.763h21.461c7.73 0 14 6.27 14 14v.78c0 6.387-4.281 11.777-10.128 13.457H492c-8.84 0-16 7.16-16 16v5c0 8.84 7.16 16 16 16h67.901c6.952 1.741 12.097 8.028 12.097 15.521v.89c0 8.84-7.16 16-16 16z"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__c)",d:"M147.977 187.468c-14.64 0-26.51 11.87-26.51 26.5h-5.34c-6.73 0-12.19 5.93-12.19 13.25s5.46 13.25 12.19 13.25h65.65c6.74 0 12.19-5.93 12.19-13.25s-5.45-13.25-12.19-13.25h-7.31c0-14.63-11.86-26.5-26.49-26.5z"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__d)",d:"M313.088 148.128c0 5.25 3.91 9.5 8.74 9.5h47.07c4.83 0 8.74-4.25 8.74-9.5s-3.91-9.5-8.74-9.5h-5.24c0-10.5-8.51-19-19-19s-19 8.5-19 19h-3.83c-4.83 0-8.74 4.25-8.74 9.5z"}),React.createElement("path",{style:{fill:"#e7eaf0"},d:"M508 453.5c0 11.036-19.12 20.438-45.869 23.988-6.38 1.885-13.556 3.663-21.438 5.315A16.82 16.82 0 0 1 441 486c0 24.3-52.84 44-118 44-58.623 0-107.274-15.946-116.445-36.841C128.328 487.215 73 472.59 73 455.5c0-22.36 94.71-40.5 211.5-40.5 61.363 0 116.631 5.008 155.269 13.004C477.563 428.253 508 439.575 508 453.5z"}),React.createElement("g",{fillRule:"evenodd"},React.createElement("path",{fill:"url(#img-broken_svg__e)",d:"M356 62c-.12-1.36-.23-2.78-.31-4.26-.09-1.23-.16-2.63-.22-4.17-.06-1.55-.09-3.08-.09-4.6V38.66l9.74-.13h1.19c.42 0 .79-.02 1.13-.06.41 0 .81-.02 1.18-.06a5.374 5.374 0 0 0 2.44-1.95c.63-.88.94-1.9.94-3.05l-.13-.8-.24-.99c-.13-.37-.23-.73-.32-1.05l-1.06-2.1c.21-.74.31-1.44.31-2.1 0-1.61-.45-3.03-1.37-4.26-.92-1.23-2.09-2.1-3.5-2.6l-7.88-15.25a7.22 7.22 0 0 0-2.65-3.09C353.97.39 352.63 0 351.13 0c-1.71 0-3.11.51-4.19 1.54-1.08 1.03-2.02 2.27-2.82 3.71h-.06l-9.81 17.97c-.67.58-1.22 1.26-1.65 2.04-.45.78-.71 1.62-.79 2.53l-1.56 3.58c-.08.21-.14.41-.19.62 0 0-.06.43-.06.68 0 1.44.46 2.68 1.37 3.74a6.535 6.535 0 0 0 3.44 2.06l7.06.37c.34.58.76 1.03 1.28 1.36.53.33 1.14.5 1.85.5.88 0 1.67-.31 2.38-.93v9.45c0 2.71-.03 4.89-.07 6.51-.04 1.63-.08 2.92-.12 3.86L347 62h9z",transform:"translate(92 370)"}),React.createElement("path",{fill:"url(#img-broken_svg__f)",d:"M385 60.7c.88 0 1.67-.31 2.38-.93v9.45c0 2.71-.03 4.89-.07 6.51-.04 1.63-.08 2.92-.12 3.86L387 82h9c-.12-1.36-.23-2.78-.31-4.26-.09-1.23-.16-2.63-.22-4.17-.06-1.55-.09-3.08-.09-4.6V58.66l9.74-.13h1.19c.42 0 .79-.02 1.13-.06.41 0 .81-.02 1.18-.06a5.374 5.374 0 0 0 2.44-1.95c.63-.88.94-1.9.94-3.05l-.13-.8-.24-.99c-.13-.37-.23-.73-.32-1.05l-1.06-2.1c.21-.74.31-1.44.31-2.1 0-1.61-.45-3.03-1.37-4.26-.92-1.23-2.09-2.1-3.5-2.6l-7.88-15.25a7.22 7.22 0 0 0-2.65-3.09c-1.19-.78-2.53-1.17-4.03-1.17-1.71 0-3.11.51-4.19 1.54-1.08 1.03-2.02 2.27-2.82 3.71h-.06l-9.81 17.97c-.67.58-1.22 1.26-1.65 2.04-.45.78-.71 1.62-.79 2.53l-1.56 3.58c-.08.21-.14.41-.19.62 0 0-.06.43-.06.68 0 1.44.46 2.68 1.37 3.74a6.535 6.535 0 0 0 3.44 2.06l7.06.37c.34.58.76 1.03 1.28 1.36.53.33 1.14.5 1.85.5z",transform:"translate(92 370)"}),React.createElement("path",{fill:"url(#img-broken_svg__g)",d:"M35.34 1.66C33.67.55 31.78 0 29.68 0c-2.4 0-4.36.73-5.89 2.19-1.52 1.46-2.83 3.21-3.95 5.26h-.09L5.97 32.96c-.94.81-1.71 1.78-2.32 2.89a8.845 8.845 0 0 0-1.1 3.59l-2.2 5.09c-.11.29-.2.58-.26.87 0 0-.09.62-.09.97 0 2.04.64 3.81 1.93 5.3a9 9 0 0 0 4.83 2.93l9.92.53c.47.82 1.07 1.46 1.8 1.93s1.6.7 2.59.7c1.23 0 2.34-.44 3.34-1.32v13.41c0 3.86-.03 6.95-.09 9.25-.06 2.31-.12 4.14-.18 5.49L23.88 88h12.64c-.17-1.93-.32-3.94-.44-6.05-.11-1.75-.21-3.73-.3-5.92s-.13-4.36-.13-6.53V54.87l13.69-.18h1.67c.59 0 1.11-.02 1.58-.09.59 0 1.14-.02 1.67-.08a7.599 7.599 0 0 0 3.42-2.77c.88-1.25 1.32-2.7 1.32-4.34l-.18-1.13-.35-1.4c-.17-.53-.32-1.03-.44-1.5l-1.49-2.97c.29-1.06.44-2.05.44-2.98 0-2.28-.64-4.3-1.93-6.05s-2.93-2.98-4.92-3.69L39.07 6.05c-.82-1.82-2.07-3.28-3.73-4.39z",transform:"translate(92 370)"})),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__h)",opacity:.5,d:"M195.17 339.008 336 259.118l-180.79-56.11L3 241.048l192.17 97.96z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__i)",d:"m120.19 238.468 16.76-67-23.23-50.7L147 87.008l-137.81.8A9.242 9.242 0 0 0 0 97.058v132.16c0 5.12 4.15 9.25 9.26 9.25l103.61 4.54 7.32-4.54z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__j)",d:"M0 233.728c0 5.13 4.13 9.28 9.22 9.28h103.19l17.59-70.83-24.95-52.65L130 93.008l-120.85.8c-5.05.04-9.15 4.18-9.15 9.28v130.64z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__k)",d:"M129 177.408s-39.15 25.41-39.87 25.47c-15.59-13.61-41.17-39.55-41.17-39.55-2.95-3.01-8.11-3.11-11.19-.2L0 214.158v18.8c0 5.05 3.11 10.05 10.1 10.05h102.84l10.05-40.81 6.01-24.79z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__l)",d:"m161.114 121.588 10.21 50.9-39.15 72.66 77.97 21.2c5.34 2.12 11.32-1.05 12.51-6.63l36.14-134.09c1.03-4.82-1.95-9.58-6.76-10.81l-53.81-13.81-37.11 20.58z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__m)",d:"m153.53 125.233 10.21 50.89-37.74 67.36 77.98 21.21c5.33 2.12 11.31-1.04 12.5-6.63l34.73-128.8c1.03-4.82-1.96-9.58-6.76-10.81l-53.81-13.81-37.11 20.59z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__n)",d:"M181.344 174.368c-2-3.27-6.23-4.33-9.52-2.39l-8.09 4.16-37.65 67.37s67.22 18.7 75.12 20.47c7.91 1.76 13.7.54 14.89-5.08l3.37-11.51-38.12-73.02z",transform:"translate(180 194.992)"}),React.createElement("path",{style:{fill:"#fff"},d:"M223.104 151.697c0-9.32-7.57-16.88-16.9-16.88-9.33 0-16.89 7.56-16.89 16.88s7.56 16.88 16.89 16.88c9.33 0 16.9-7.56 16.9-16.88z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__o)",d:"m50.921 37.823 12.386-6.041 11.209 22.982-7.452-32.637-12.592 6.142L42.197 6.864l8.724 30.959z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__p)",d:"m217.598 48.895 17.888 17.184-30.945 23.817s47.929-22.37 46.996-23.709c-.925-1.335-18.57-16.992-18.57-16.992l24.134-25.537-39.503 25.236z",transform:"translate(180 194.992)"})),React.createElement("defs",null,React.createElement("linearGradient",{id:"img-broken_svg__i",x1:"178.579%",y1:"114.41%",x2:"-67.6%",y2:"-21.639%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__p",x1:198.923,y1:151.68,x2:253.588,y2:43.245,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__d",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__e",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__f",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__g",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__h",x1:"50%",y1:"30.387%",x2:"-31.215%",y2:"-60.228%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E8EBF1",stopOpacity:.24}),React.createElement("stop",{offset:1,stopColor:"#A2ABB9"})),React.createElement("linearGradient",{id:"img-broken_svg__c",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__j",x1:"137.408%",y1:"115.518%",x2:"64.225%",y2:"-9.666%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__k",x1:"93.55%",y1:"132.782%",x2:"29.55%",y2:"19.901%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__l",x1:"178.579%",y1:"114.41%",x2:"-67.6%",y2:"-21.639%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__m",x1:"113.805%",y1:"123.201%",x2:"30.832%",y2:"0%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__n",x1:"110.007%",y1:"128.49%",x2:"50%",y2:"0%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__o",x1:92.534,y1:94.384,x2:55.523,y2:19.166,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("path",{id:"img-broken_svg__a",d:"M0 0h600v600H0z"})));var Ke="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjAwIiBoZWlnaHQ9IjYwMCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTAgMGg2MDB2NjAwSDB6Ii8+PG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPjx1c2UgeGxpbms6aHJlZj0iI2EiLz48L21hc2s+PGcgbWFzaz0idXJsKCNiKSI+PHBhdGggc3R5bGU9ImZpbGw6I2YzZjNmYSIgb3BhY2l0eT0iLjYiIGQ9Ik01MjAuODIgMjc2LjQxMWMuNyA3LjEwMyAxLjA1OCAxNC4zMDUgMS4wNTggMjEuNTg5IDAgMTIyLjA0LTEwMC41NCAyMjEtMjI0LjUxIDIyMS05OS4xNTkgMC0xODMuMzI4LTYzLjMxMy0yMTMuMDQ3LTE1MS4xMDdoLTguNDI2Yy0zLjQgMC02LjE3LTIuNzYtNi4xNy02LjE2QTYuMTY4IDYuMTY4IDAgMCAxIDczLjYwOCAzNTZIODRjNy4xOCAwIDEzLTUuODIgMTMtMTN2LTFjMC03LjE4LTUuODItMTMtMTMtMTNoLTguOTVsLS4wMjMtLjE2MUg1Mi44NTVjLTUuNjggMC0xMC4yOC00LjYtMTAuMjgtMTAuMjhzNC42LTEwLjI4IDEwLjI4LTEwLjI4aDIwLjI0MUEyMjEuMDQyIDIyMS4wNDIgMCAwIDEgNzIuODU4IDI5OGMwLTMyLjYyOSA3LjE4Ny02My42MDggMjAuMDg2LTkxLjQ4Nkg1N2MtMTUuNDYgMC0yOC0xMi41NDEtMjgtMjguMDAxdi0xLjU2YzAtMTQuOTEzIDExLjY3LTI3LjExIDI2LjM3My0yNy45NTNIMTgyYzUuNTIgMCAxMC00LjQ4IDEwLTEwcy00LjQ4LTEwLTEwLTEwaC0yOS4yOTRsLjczMi0uNjA1aC0xNC41OWMtMTAuNDkgMC0xOS04LjUxLTE5LTE5di0xLjA2YzAtMTAuNDkgOC41MS0xOSAxOS0xOWg4NC4zOTJDMjQ2LjQ0OCA4MS4zNDUgMjcxLjM5MyA3NyAyOTcuMzY4IDc3YzUxLjAyMyAwIDk4LjA3NyAxNi43NjMgMTM1Ljc4NyA0NUg0MThjLTcuMTggMC0xMyA1LjgyLTEzIDEzdjFjMCA3LjE4IDUuODIgMTMgMTMgMTNoNDUuMTY2YTIyMi40NzggMjIyLjQ3OCAwIDAgMSAyMy4yNTMgMjkuNzYzaDIxLjQ2MWM3LjczIDAgMTQgNi4yNyAxNCAxNHYuNzhjMCA2LjM4Ny00LjI4MSAxMS43NzctMTAuMTI4IDEzLjQ1N0g0OTJjLTguODQgMC0xNiA3LjE2LTE2IDE2djVjMCA4Ljg0IDcuMTYgMTYgMTYgMTZoNjcuOTAxYzYuOTUyIDEuNzQxIDEyLjA5NyA4LjAyOCAxMi4wOTcgMTUuNTIxdi44OWMwIDguODQtNy4xNiAxNi0xNiAxNnoiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjYykiIGQ9Ik0xNDcuOTc3IDE4Ny40NjhjLTE0LjY0IDAtMjYuNTEgMTEuODctMjYuNTEgMjYuNWgtNS4zNGMtNi43MyAwLTEyLjE5IDUuOTMtMTIuMTkgMTMuMjVzNS40NiAxMy4yNSAxMi4xOSAxMy4yNWg2NS42NWM2Ljc0IDAgMTIuMTktNS45MyAxMi4xOS0xMy4yNXMtNS40NS0xMy4yNS0xMi4xOS0xMy4yNWgtNy4zMWMwLTE0LjYzLTExLjg2LTI2LjUtMjYuNDktMjYuNXoiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjZCkiIGQ9Ik0zMTMuMDg4IDE0OC4xMjhjMCA1LjI1IDMuOTEgOS41IDguNzQgOS41aDQ3LjA3YzQuODMgMCA4Ljc0LTQuMjUgOC43NC05LjVzLTMuOTEtOS41LTguNzQtOS41aC01LjI0YzAtMTAuNS04LjUxLTE5LTE5LTE5cy0xOSA4LjUtMTkgMTloLTMuODNjLTQuODMgMC04Ljc0IDQuMjUtOC43NCA5LjV6Ii8+PHBhdGggc3R5bGU9ImZpbGw6I2U3ZWFmMCIgZD0iTTUwOCA0NTMuNWMwIDExLjAzNi0xOS4xMiAyMC40MzgtNDUuODY5IDIzLjk4OC02LjM4IDEuODg1LTEzLjU1NiAzLjY2My0yMS40MzggNS4zMTVBMTYuODIgMTYuODIgMCAwIDEgNDQxIDQ4NmMwIDI0LjMtNTIuODQgNDQtMTE4IDQ0LTU4LjYyMyAwLTEwNy4yNzQtMTUuOTQ2LTExNi40NDUtMzYuODQxQzEyOC4zMjggNDg3LjIxNSA3MyA0NzIuNTkgNzMgNDU1LjVjMC0yMi4zNiA5NC43MS00MC41IDIxMS41LTQwLjUgNjEuMzYzIDAgMTE2LjYzMSA1LjAwOCAxNTUuMjY5IDEzLjAwNEM0NzcuNTYzIDQyOC4yNTMgNTA4IDQzOS41NzUgNTA4IDQ1My41eiIvPjxnIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZmlsbD0idXJsKCNlKSIgZD0iTTM1NiA2MmMtLjEyLTEuMzYtLjIzLTIuNzgtLjMxLTQuMjYtLjA5LTEuMjMtLjE2LTIuNjMtLjIyLTQuMTctLjA2LTEuNTUtLjA5LTMuMDgtLjA5LTQuNlYzOC42Nmw5Ljc0LS4xM2gxLjE5Yy40MiAwIC43OS0uMDIgMS4xMy0uMDYuNDEgMCAuODEtLjAyIDEuMTgtLjA2YTUuMzc0IDUuMzc0IDAgMCAwIDIuNDQtMS45NWMuNjMtLjg4Ljk0LTEuOS45NC0zLjA1bC0uMTMtLjgtLjI0LS45OWMtLjEzLS4zNy0uMjMtLjczLS4zMi0xLjA1bC0xLjA2LTIuMWMuMjEtLjc0LjMxLTEuNDQuMzEtMi4xIDAtMS42MS0uNDUtMy4wMy0xLjM3LTQuMjYtLjkyLTEuMjMtMi4wOS0yLjEtMy41LTIuNmwtNy44OC0xNS4yNWE3LjIyIDcuMjIgMCAwIDAtMi42NS0zLjA5QzM1My45Ny4zOSAzNTIuNjMgMCAzNTEuMTMgMGMtMS43MSAwLTMuMTEuNTEtNC4xOSAxLjU0LTEuMDggMS4wMy0yLjAyIDIuMjctMi44MiAzLjcxaC0uMDZsLTkuODEgMTcuOTdjLS42Ny41OC0xLjIyIDEuMjYtMS42NSAyLjA0LS40NS43OC0uNzEgMS42Mi0uNzkgMi41M2wtMS41NiAzLjU4Yy0uMDguMjEtLjE0LjQxLS4xOS42MiAwIDAtLjA2LjQzLS4wNi42OCAwIDEuNDQuNDYgMi42OCAxLjM3IDMuNzRhNi41MzUgNi41MzUgMCAwIDAgMy40NCAyLjA2bDcuMDYuMzdjLjM0LjU4Ljc2IDEuMDMgMS4yOCAxLjM2LjUzLjMzIDEuMTQuNSAxLjg1LjUuODggMCAxLjY3LS4zMSAyLjM4LS45M3Y5LjQ1YzAgMi43MS0uMDMgNC44OS0uMDcgNi41MS0uMDQgMS42My0uMDggMi45Mi0uMTIgMy44NkwzNDcgNjJoOXoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkyIDM3MCkiLz48cGF0aCBmaWxsPSJ1cmwoI2YpIiBkPSJNMzg1IDYwLjdjLjg4IDAgMS42Ny0uMzEgMi4zOC0uOTN2OS40NWMwIDIuNzEtLjAzIDQuODktLjA3IDYuNTEtLjA0IDEuNjMtLjA4IDIuOTItLjEyIDMuODZMMzg3IDgyaDljLS4xMi0xLjM2LS4yMy0yLjc4LS4zMS00LjI2LS4wOS0xLjIzLS4xNi0yLjYzLS4yMi00LjE3LS4wNi0xLjU1LS4wOS0zLjA4LS4wOS00LjZWNTguNjZsOS43NC0uMTNoMS4xOWMuNDIgMCAuNzktLjAyIDEuMTMtLjA2LjQxIDAgLjgxLS4wMiAxLjE4LS4wNmE1LjM3NCA1LjM3NCAwIDAgMCAyLjQ0LTEuOTVjLjYzLS44OC45NC0xLjkuOTQtMy4wNWwtLjEzLS44LS4yNC0uOTljLS4xMy0uMzctLjIzLS43My0uMzItMS4wNWwtMS4wNi0yLjFjLjIxLS43NC4zMS0xLjQ0LjMxLTIuMSAwLTEuNjEtLjQ1LTMuMDMtMS4zNy00LjI2LS45Mi0xLjIzLTIuMDktMi4xLTMuNS0yLjZsLTcuODgtMTUuMjVhNy4yMiA3LjIyIDAgMCAwLTIuNjUtMy4wOWMtMS4xOS0uNzgtMi41My0xLjE3LTQuMDMtMS4xNy0xLjcxIDAtMy4xMS41MS00LjE5IDEuNTQtMS4wOCAxLjAzLTIuMDIgMi4yNy0yLjgyIDMuNzFoLS4wNmwtOS44MSAxNy45N2MtLjY3LjU4LTEuMjIgMS4yNi0xLjY1IDIuMDQtLjQ1Ljc4LS43MSAxLjYyLS43OSAyLjUzbC0xLjU2IDMuNThjLS4wOC4yMS0uMTQuNDEtLjE5LjYyIDAgMC0uMDYuNDMtLjA2LjY4IDAgMS40NC40NiAyLjY4IDEuMzcgMy43NGE2LjUzNSA2LjUzNSAwIDAgMCAzLjQ0IDIuMDZsNy4wNi4zN2MuMzQuNTguNzYgMS4wMyAxLjI4IDEuMzYuNTMuMzMgMS4xNC41IDEuODUuNXoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkyIDM3MCkiLz48cGF0aCBmaWxsPSJ1cmwoI2cpIiBkPSJNMzUuMzQgMS42NkMzMy42Ny41NSAzMS43OCAwIDI5LjY4IDBjLTIuNCAwLTQuMzYuNzMtNS44OSAyLjE5LTEuNTIgMS40Ni0yLjgzIDMuMjEtMy45NSA1LjI2aC0uMDlMNS45NyAzMi45NmMtLjk0LjgxLTEuNzEgMS43OC0yLjMyIDIuODlhOC44NDUgOC44NDUgMCAwIDAtMS4xIDMuNTlsLTIuMiA1LjA5Yy0uMTEuMjktLjIuNTgtLjI2Ljg3IDAgMC0uMDkuNjItLjA5Ljk3IDAgMi4wNC42NCAzLjgxIDEuOTMgNS4zYTkgOSAwIDAgMCA0LjgzIDIuOTNsOS45Mi41M2MuNDcuODIgMS4wNyAxLjQ2IDEuOCAxLjkzczEuNi43IDIuNTkuN2MxLjIzIDAgMi4zNC0uNDQgMy4zNC0xLjMydjEzLjQxYzAgMy44Ni0uMDMgNi45NS0uMDkgOS4yNS0uMDYgMi4zMS0uMTIgNC4xNC0uMTggNS40OUwyMy44OCA4OGgxMi42NGMtLjE3LTEuOTMtLjMyLTMuOTQtLjQ0LTYuMDUtLjExLTEuNzUtLjIxLTMuNzMtLjMtNS45MnMtLjEzLTQuMzYtLjEzLTYuNTNWNTQuODdsMTMuNjktLjE4aDEuNjdjLjU5IDAgMS4xMS0uMDIgMS41OC0uMDkuNTkgMCAxLjE0LS4wMiAxLjY3LS4wOGE3LjU5OSA3LjU5OSAwIDAgMCAzLjQyLTIuNzdjLjg4LTEuMjUgMS4zMi0yLjcgMS4zMi00LjM0bC0uMTgtMS4xMy0uMzUtMS40Yy0uMTctLjUzLS4zMi0xLjAzLS40NC0xLjVsLTEuNDktMi45N2MuMjktMS4wNi40NC0yLjA1LjQ0LTIuOTggMC0yLjI4LS42NC00LjMtMS45My02LjA1cy0yLjkzLTIuOTgtNC45Mi0zLjY5TDM5LjA3IDYuMDVjLS44Mi0xLjgyLTIuMDctMy4yOC0zLjczLTQuMzl6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MiAzNzApIi8+PC9nPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZmlsbD0idXJsKCNoKSIgb3BhY2l0eT0iLjUiIGQ9Ik0xOTUuMTcgMzM5LjAwOCAzMzYgMjU5LjExOGwtMTgwLjc5LTU2LjExTDMgMjQxLjA0OGwxOTIuMTcgOTcuOTZ6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAgMTk0Ljk5MikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjaSkiIGQ9Im0xMjAuMTkgMjM4LjQ2OCAxNi43Ni02Ny0yMy4yMy01MC43TDE0NyA4Ny4wMDhsLTEzNy44MS44QTkuMjQyIDkuMjQyIDAgMCAwIDAgOTcuMDU4djEzMi4xNmMwIDUuMTIgNC4xNSA5LjI1IDkuMjYgOS4yNWwxMDMuNjEgNC41NCA3LjMyLTQuNTR6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAgMTk0Ljk5MikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjaikiIGQ9Ik0wIDIzMy43MjhjMCA1LjEzIDQuMTMgOS4yOCA5LjIyIDkuMjhoMTAzLjE5bDE3LjU5LTcwLjgzLTI0Ljk1LTUyLjY1TDEzMCA5My4wMDhsLTEyMC44NS44Yy01LjA1LjA0LTkuMTUgNC4xOC05LjE1IDkuMjh2MTMwLjY0eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTgwIDE5NC45OTIpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSJ1cmwoI2spIiBkPSJNMTI5IDE3Ny40MDhzLTM5LjE1IDI1LjQxLTM5Ljg3IDI1LjQ3Yy0xNS41OS0xMy42MS00MS4xNy0zOS41NS00MS4xNy0zOS41NS0yLjk1LTMuMDEtOC4xMS0zLjExLTExLjE5LS4yTDAgMjE0LjE1OHYxOC44YzAgNS4wNSAzLjExIDEwLjA1IDEwLjEgMTAuMDVoMTAyLjg0bDEwLjA1LTQwLjgxIDYuMDEtMjQuNzl6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAgMTk0Ljk5MikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjbCkiIGQ9Im0xNjEuMTE0IDEyMS41ODggMTAuMjEgNTAuOS0zOS4xNSA3Mi42NiA3Ny45NyAyMS4yYzUuMzQgMi4xMiAxMS4zMi0xLjA1IDEyLjUxLTYuNjNsMzYuMTQtMTM0LjA5YzEuMDMtNC44Mi0xLjk1LTkuNTgtNi43Ni0xMC44MWwtNTMuODEtMTMuODEtMzcuMTEgMjAuNTh6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAgMTk0Ljk5MikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjbSkiIGQ9Im0xNTMuNTMgMTI1LjIzMyAxMC4yMSA1MC44OS0zNy43NCA2Ny4zNiA3Ny45OCAyMS4yMWM1LjMzIDIuMTIgMTEuMzEtMS4wNCAxMi41LTYuNjNsMzQuNzMtMTI4LjhjMS4wMy00LjgyLTEuOTYtOS41OC02Ljc2LTEwLjgxbC01My44MS0xMy44MS0zNy4xMSAyMC41OXoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCAxOTQuOTkyKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZmlsbD0idXJsKCNuKSIgZD0iTTE4MS4zNDQgMTc0LjM2OGMtMi0zLjI3LTYuMjMtNC4zMy05LjUyLTIuMzlsLTguMDkgNC4xNi0zNy42NSA2Ny4zN3M2Ny4yMiAxOC43IDc1LjEyIDIwLjQ3YzcuOTEgMS43NiAxMy43LjU0IDE0Ljg5LTUuMDhsMy4zNy0xMS41MS0zOC4xMi03My4wMnoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCAxOTQuOTkyKSIvPjxwYXRoIHN0eWxlPSJmaWxsOiNmZmYiIGQ9Ik0yMjMuMTA0IDE1MS42OTdjMC05LjMyLTcuNTctMTYuODgtMTYuOS0xNi44OC05LjMzIDAtMTYuODkgNy41Ni0xNi44OSAxNi44OHM3LjU2IDE2Ljg4IDE2Ljg5IDE2Ljg4YzkuMzMgMCAxNi45LTcuNTYgMTYuOS0xNi44OHoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCAxOTQuOTkyKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZmlsbD0idXJsKCNvKSIgZD0ibTUwLjkyMSAzNy44MjMgMTIuMzg2LTYuMDQxIDExLjIwOSAyMi45ODItNy40NTItMzIuNjM3LTEyLjU5MiA2LjE0Mkw0Mi4xOTcgNi44NjRsOC43MjQgMzAuOTU5eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTgwIDE5NC45OTIpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSJ1cmwoI3ApIiBkPSJtMjE3LjU5OCA0OC44OTUgMTcuODg4IDE3LjE4NC0zMC45NDUgMjMuODE3czQ3LjkyOS0yMi4zNyA0Ni45OTYtMjMuNzA5Yy0uOTI1LTEuMzM1LTE4LjU3LTE2Ljk5Mi0xOC41Ny0xNi45OTJsMjQuMTM0LTI1LjUzNy0zOS41MDMgMjUuMjM2eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTgwIDE5NC45OTIpIi8+PC9nPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iaSIgeDE9IjE3OC41NzklIiB5MT0iMTE0LjQxJSIgeDI9Ii02Ny42JSIgeTI9Ii0yMS42MzklIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjQTJBQkI5Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRTdFQUYwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9InAiIHgxPSIxOTguOTIzIiB5MT0iMTUxLjY4IiB4Mj0iMjUzLjU4OCIgeTI9IjQzLjI0NSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJkIiB4MT0iMTQ0LjU4OCUiIHkxPSI5OC44JSIgeDI9IjI5LjUxNiUiIHkyPSIxMDAlIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjRTBFNUVGIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMEU1RUYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZSIgeDE9IjE0NC41ODglIiB5MT0iOTguOCUiIHgyPSIyOS41MTYlIiB5Mj0iMTAwJSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0UwRTVFRiIgc3RvcC1vcGFjaXR5PSIwIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRTBFNUVGIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImYiIHgxPSIxNDQuNTg4JSIgeTE9Ijk4LjglIiB4Mj0iMjkuNTE2JSIgeTI9IjEwMCUiIGdyYWRpZW50VW5pdHM9Im9iamVjdEJvdW5kaW5nQm94Ij48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNFMEU1RUYiIHN0b3Atb3BhY2l0eT0iMCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0UwRTVFRiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJnIiB4MT0iMTQ0LjU4OCUiIHkxPSI5OC44JSIgeDI9IjI5LjUxNiUiIHkyPSIxMDAlIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjRTBFNUVGIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMEU1RUYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaCIgeDE9IjUwJSIgeTE9IjMwLjM4NyUiIHgyPSItMzEuMjE1JSIgeTI9Ii02MC4yMjglIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjRThFQkYxIiBzdG9wLW9wYWNpdHk9Ii4yNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJjIiB4MT0iMTQ0LjU4OCUiIHkxPSI5OC44JSIgeDI9IjI5LjUxNiUiIHkyPSIxMDAlIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjRTBFNUVGIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMEU1RUYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaiIgeDE9IjEzNy40MDglIiB5MT0iMTE1LjUxOCUiIHgyPSI2NC4yMjUlIiB5Mj0iLTkuNjY2JSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJrIiB4MT0iOTMuNTUlIiB5MT0iMTMyLjc4MiUiIHgyPSIyOS41NSUiIHkyPSIxOS45MDElIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjQTJBQkI5Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRTdFQUYwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImwiIHgxPSIxNzguNTc5JSIgeTE9IjExNC40MSUiIHgyPSItNjcuNiUiIHkyPSItMjEuNjM5JSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJtIiB4MT0iMTEzLjgwNSUiIHkxPSIxMjMuMjAxJSIgeDI9IjMwLjgzMiUiIHkyPSIwJSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJuIiB4MT0iMTEwLjAwNyUiIHkxPSIxMjguNDklIiB4Mj0iNTAlIiB5Mj0iMCUiIGdyYWRpZW50VW5pdHM9Im9iamVjdEJvdW5kaW5nQm94Ij48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNBMkFCQjkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFN0VBRjAiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0ibyIgeDE9IjkyLjUzNCIgeTE9Ijk0LjM4NCIgeDI9IjU1LjUyMyIgeTI9IjE5LjE2NiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PHBhdGggaWQ9ImEiIGQ9Ik0wIDBoNjAwdjYwMEgweiIvPjwvZGVmcz48L3N2Zz4=",he=function(ye){var Te=ye.url,An=Te===void 0?"":Te,yt=ye.imgRef,Pn=ye.canvasRef,Sn=ye.activeCanvasRef,In=ye.clientSize,Un=ye.imagePos,ir=ye.onLoad,Mr=(0,g.useState)(!1),pr=s()(Mr,2),Ln=pr[0],da=pr[1],Rr=(0,g.useState)(!0),Yn=s()(Rr,2),lr=Yn[0],Nr=Yn[1],ia=function(rr){Nr(!1),ir(rr)},Vr=function(rr){rr.stopPropagation(),yt!=null&&yt.current&&(yt.current.src=An,Nr(!0),da(!1))},Lr=function(rr){var Jn=rr.target;Jn.src=Ke,Nr(!1),da(!0)},ga=An.indexOf("aliyuncs.com")>-1?"anonymous":void 0;return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("img",{ref:yt,src:An,alt:"pic",crossOrigin:ga,style:{width:In.width,height:In.height},onLoad:ia,onError:Lr}),(0,C.jsx)("canvas",{ref:Pn,draggable:!1,onContextMenu:function(rr){return rr.preventDefault()},className:"dds-annotator-imageview-canvas"}),(0,C.jsx)("canvas",{ref:Sn,draggable:!1,onContextMenu:function(rr){return rr.preventDefault()},className:"dds-annotator-imageview-canvas"}),Ln&&(0,C.jsxs)("div",{className:"dds-annotator-imageview-reload-cover",onClick:Vr,onDoubleClick:Vr,style:{left:Un.current.x,top:Un.current.y,width:In.width,height:In.height},children:[(0,C.jsx)("img",{src:Ke,alt:"error-pic"}),(0,C.jsx)("div",{className:"content-box",children:(0,C.jsx)(x.ZP,{ghost:!0,type:"primary",className:"reload-trigger",shape:"circle",size:"small",icon:(0,C.jsx)(qe.Z,{})})})]}),lr&&(0,C.jsx)("div",{className:"dds-annotator-imageview-reload-cover",style:{backgroundColor:"#f6f6f6",left:Un.current.x,top:Un.current.y,width:In.width,height:In.height},children:(0,C.jsx)(Xe.Z,{className:"reload-trigger"})})]})},J=e(39875),V=e(32814),R=e(45060),P=e(23707),B=e(17410),ge=(0,g.memo)(function(Ze){var ye=Ze.AIAnnotation,Te=Ze.modelOptions,An=Ze.selectedModel,yt=Ze.onSelectModel,Pn=Ze.onCloseModal,Sn=(0,z.bU)(),In=Sn.localeText,Un=Te.length*220+(Te.length+1)*20,ir=(0,g.useMemo)(function(){return!!(ye&&Te&&Te.length>1&&!An)},[ye,Te,An]);return(0,C.jsx)(k,{children:(0,C.jsx)(n.Z,{open:ir,title:In("DDSAnnotator.smart.modelSelectModal.title"),width:Un,onCancel:Pn,footer:null,centered:!0,destroyOnClose:!0,children:(0,C.jsx)("div",{className:"dds-annotator-model-selector-modal",children:Te.map(function(Mr,pr){var Ln=B.TR[Mr];return Ln?(0,C.jsxs)("div",{className:c()("dds-annotator-model-selector-modal-option",{"dds-annotator-model-selector-modal-option-hightlight":Ln.hightlight}),onClick:function(){return yt(Mr)},children:[(0,C.jsx)(J.Z,{className:"dds-annotator-model-selector-modal-option-icon",component:Ln.icon}),(0,C.jsx)("div",{className:"dds-annotator-model-selector-modal-option-name",children:In(Ln.name)}),(0,C.jsx)("div",{className:"dds-annotator-model-selector-modal-option-description",children:In(Ln.description)}),Ln.hightlight&&(0,C.jsx)(V.Z,{color:"geekblue",className:"dds-annotator-model-selector-modal-option-tag",children:"New"})]},pr):(0,C.jsx)(C.Fragment,{})})})})})}),ie=ge,pe=e(23605),Oe=e(2556),xe=e(82968),Se=e(37617),$e=e(28506),re=e(18695),oe=Object.defineProperty,q=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,le=(Ze,ye,Te)=>ye in Ze?oe(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Ne=(Ze,ye)=>{for(var Te in ye||(ye={}))ue.call(ye,Te)&&le(Ze,Te,ye[Te]);if(q)for(var Te of q(ye))Ee.call(ye,Te)&&le(Ze,Te,ye[Te]);return Ze};const Ae=Ze=>g.createElement("svg",Ne({width:10,height:10,fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.464 5.65A1 1 0 0 0 2.88 7.064l2.12-2.12 2.122 2.12A1 1 0 0 0 8.535 5.65L5.713 2.828a1 1 0 0 0-1.42-.006L1.464 5.65Z",fill:"#fff"}));var we="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xLjQ2NCA1LjY1QTEgMSAwIDAgMCAyLjg4IDcuMDY0bDIuMTItMi4xMiAyLjEyMiAyLjEyQTEgMSAwIDAgMCA4LjUzNSA1LjY1TDUuNzEzIDIuODI4YTEgMSAwIDAgMC0xLjQyLS4wMDZMMS40NjQgNS42NVoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",Re=Object.defineProperty,st=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,We=(Ze,ye,Te)=>ye in Ze?Re(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Be=(Ze,ye)=>{for(var Te in ye||(ye={}))nt.call(ye,Te)&&We(Ze,Te,ye[Te]);if(st)for(var Te of st(ye))_e.call(ye,Te)&&We(Ze,Te,ye[Te]);return Ze};const it=Ze=>g.createElement("svg",Be({viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("g",{clipPath:"url(#layer_svg__a)"},g.createElement("path",{d:"m.57 6.625 5.805 3.48a2.182 2.182 0 0 0 2.25 0l5.805-3.48a1.163 1.163 0 0 0 0-1.995L8.625 1.144a2.18 2.18 0 0 0-2.25 0L.57 4.625a1.163 1.163 0 0 0 0 1.995v.005ZM7.34 2.75a.313.313 0 0 1 .32 0l4.789 2.875L7.66 8.5a.313.313 0 0 1-.322 0L2.551 5.625 7.34 2.75Z"}),g.createElement("path",{d:"M8.304 11.77a1.562 1.562 0 0 1-1.608 0L1.42 8.603a.937.937 0 0 0-.965 1.607l5.276 3.164a3.43 3.43 0 0 0 3.538 0l5.276-3.166a.937.937 0 1 0-.965-1.605l-5.276 3.165Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"layer_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h15v15H0z"}))));var Ge="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTUgMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJtLjU3IDYuNjI1IDUuODA1IDMuNDhhMi4xODIgMi4xODIgMCAwIDAgMi4yNSAwbDUuODA1LTMuNDhhMS4xNjMgMS4xNjMgMCAwIDAgMC0xLjk5NUw4LjYyNSAxLjE0NGEyLjE4IDIuMTggMCAwIDAtMi4yNSAwTC41NyA0LjYyNWExLjE2MyAxLjE2MyAwIDAgMCAwIDEuOTk1di4wMDVaTTcuMzQgMi43NWEuMzEzLjMxMyAwIDAgMSAuMzIgMGw0Ljc4OSAyLjg3NUw3LjY2IDguNWEuMzEzLjMxMyAwIDAgMS0uMzIyIDBMMi41NTEgNS42MjUgNy4zNCAyLjc1WiIvPjxwYXRoIGQ9Ik04LjMwNCAxMS43N2ExLjU2MiAxLjU2MiAwIDAgMS0xLjYwOCAwTDEuNDIgOC42MDNhLjkzNy45MzcgMCAwIDAtLjk2NSAxLjYwN2w1LjI3NiAzLjE2NGEzLjQzIDMuNDMgMCAwIDAgMy41MzggMGw1LjI3Ni0zLjE2NmEuOTM3LjkzNyAwIDEgMC0uOTY1LTEuNjA1bC01LjI3NiAzLjE2NVoiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDE1djE1SDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",Ot=Object.defineProperty,$t=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,dt=(Ze,ye,Te)=>ye in Ze?Ot(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,je=(Ze,ye)=>{for(var Te in ye||(ye={}))wt.call(ye,Te)&&dt(Ze,Te,ye[Te]);if($t)for(var Te of $t(ye))Pt.call(ye,Te)&&dt(Ze,Te,ye[Te]);return Ze};const tt=Ze=>g.createElement("svg",je({className:"palette_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},Ze),g.createElement("path",{d:"M512 102.39c-226.202 0-409.6 183.367-409.6 409.6S285.798 921.62 512 921.62a408.556 408.556 0 0 0 156.672-31.2 68.332 68.332 0 0 0 22.16-111.402l-48.057-48.056a68.28 68.28 0 0 1 48.261-116.542l162.304-.04a68.26 68.26 0 0 0 68.27-68.26v-34.13c-.01-226.243-183.378-409.6-409.61-409.6zm341.33 443.73-162.304.03c-75.305 0-136.53 61.225-136.53 136.53 0 36.485 14.203 70.738 39.997 96.543l48.067 48.056a338.166 338.166 0 0 1-130.57 26.082c-188.201 0-341.33-153.14-341.33-341.371S323.799 170.65 512 170.65s341.33 153.098 341.33 341.33v34.14z",fill:"#fff"}),g.createElement("path",{d:"M443.73 307.19a68.27 68.27 0 1 0 136.54 0 68.27 68.27 0 1 0-136.54 0ZM300.503 555.254a68.198 68.198 0 0 1 93.225 24.996 68.3 68.3 0 0 1-24.934 93.266 68.352 68.352 0 0 1-93.297-24.996 68.321 68.321 0 0 1 25.006-93.266zM621.056 409.59a68.29 68.29 0 1 0 136.581 0 68.29 68.29 0 1 0-136.581 0ZM300.503 468.716a68.26 68.26 0 0 1-24.965-93.266 68.25 68.25 0 1 1 118.2 68.239 68.27 68.27 0 0 1-93.235 25.027z",fill:"#fff"}));var lt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMTAyLjM5Yy0yMjYuMjAyIDAtNDA5LjYgMTgzLjM2Ny00MDkuNiA0MDkuNlMyODUuNzk4IDkyMS42MiA1MTIgOTIxLjYyYTQwOC41NTYgNDA4LjU1NiAwIDAgMCAxNTYuNjcyLTMxLjIgNjguMzMyIDY4LjMzMiAwIDAgMCAyMi4xNi0xMTEuNDAybC00OC4wNTctNDguMDU2YTY4LjI4IDY4LjI4IDAgMCAxIDQ4LjI2MS0xMTYuNTQybDE2Mi4zMDQtLjA0YTY4LjI2IDY4LjI2IDAgMCAwIDY4LjI3LTY4LjI2di0zNC4xM2MtLjAxLTIyNi4yNDMtMTgzLjM3OC00MDkuNi00MDkuNjEtNDA5LjZ6bTM0MS4zMyA0NDMuNzMtMTYyLjMwNC4wM2MtNzUuMzA1IDAtMTM2LjUzIDYxLjIyNS0xMzYuNTMgMTM2LjUzIDAgMzYuNDg1IDE0LjIwMyA3MC43MzggMzkuOTk3IDk2LjU0M2w0OC4wNjcgNDguMDU2YTMzOC4xNjYgMzM4LjE2NiAwIDAgMS0xMzAuNTcgMjYuMDgyYy0xODguMjAxIDAtMzQxLjMzLTE1My4xNC0zNDEuMzMtMzQxLjM3MVMzMjMuNzk5IDE3MC42NSA1MTIgMTcwLjY1czM0MS4zMyAxNTMuMDk4IDM0MS4zMyAzNDEuMzN2MzQuMTR6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTQ0My43MyAzMDcuMTlhNjguMjcgNjguMjcgMCAxIDAgMTM2LjU0IDAgNjguMjcgNjguMjcgMCAxIDAtMTM2LjU0IDBaTTMwMC41MDMgNTU1LjI1NGE2OC4xOTggNjguMTk4IDAgMCAxIDkzLjIyNSAyNC45OTYgNjguMyA2OC4zIDAgMCAxLTI0LjkzNCA5My4yNjYgNjguMzUyIDY4LjM1MiAwIDAgMS05My4yOTctMjQuOTk2IDY4LjMyMSA2OC4zMjEgMCAwIDEgMjUuMDA2LTkzLjI2NnpNNjIxLjA1NiA0MDkuNTlhNjguMjkgNjguMjkgMCAxIDAgMTM2LjU4MSAwIDY4LjI5IDY4LjI5IDAgMSAwLTEzNi41ODEgMFpNMzAwLjUwMyA0NjguNzE2YTY4LjI2IDY4LjI2IDAgMCAxLTI0Ljk2NS05My4yNjYgNjguMjUgNjguMjUgMCAxIDEgMTE4LjIgNjguMjM5IDY4LjI3IDY4LjI3IDAgMCAxLTkzLjIzNSAyNS4wMjd6IiBmaWxsPSIjZmZmIi8+PC9zdmc+",bt=e(2657),It=e.n(bt),Kt,zt=function(Ze){return Ze.Tool="DDSAnnotator.shortcuts.tools",Ze.GeneralAction="DDSAnnotator.shortcuts.general",Ze.ViewAction="DDSAnnotator.shortcuts.viewControl",Ze.AnnotationAction="DDSAnnotator.shortcuts.annotsControl",Ze}({}),Mt=function(Ze){return Ze[Ze.RectangleTool=0]="RectangleTool",Ze[Ze.PolygonTool=1]="PolygonTool",Ze[Ze.SkeletonTool=2]="SkeletonTool",Ze[Ze.DragTool=3]="DragTool",Ze[Ze.MaskTool=4]="MaskTool",Ze[Ze.SmartAnnotation=5]="SmartAnnotation",Ze[Ze.Undo=6]="Undo",Ze[Ze.Redo=7]="Redo",Ze[Ze.RepeatPrevious=8]="RepeatPrevious",Ze[Ze.DeleteAll=9]="DeleteAll",Ze[Ze.NextImage=10]="NextImage",Ze[Ze.PreviousImage=11]="PreviousImage",Ze[Ze.Save=12]="Save",Ze[Ze.Accept=13]="Accept",Ze[Ze.Reject=14]="Reject",Ze[Ze.ZoomIn=15]="ZoomIn",Ze[Ze.ZoomOut=16]="ZoomOut",Ze[Ze.Reset=17]="Reset",Ze[Ze.HideCurrObject=18]="HideCurrObject",Ze[Ze.HideCurrCategory=19]="HideCurrCategory",Ze[Ze.HideAll=20]="HideAll",Ze[Ze.PanImage=21]="PanImage",Ze[Ze.DeleteCurrObject=22]="DeleteCurrObject",Ze[Ze.SaveCurrObject=23]="SaveCurrObject",Ze[Ze.CancelCurrObject=24]="CancelCurrObject",Ze}({}),Le=(Kt={},It()(Kt,Mt.RectangleTool,{name:"RectangleTool",type:zt.Tool,shortcut:["r"],descTextKey:"DDSAnnotator.shortcuts.tools.rectangle"}),It()(Kt,Mt.PolygonTool,{name:"PolygonTool",type:zt.Tool,shortcut:["p"],descTextKey:"DDSAnnotator.shortcuts.tools.polygon"}),It()(Kt,Mt.SkeletonTool,{name:"SkeletonTool",type:zt.Tool,shortcut:["s"],descTextKey:"DDSAnnotator.shortcuts.tools.skeleton"}),It()(Kt,Mt.MaskTool,{name:"MaskTool",type:zt.Tool,shortcut:["m"],descTextKey:"DDSAnnotator.shortcuts.tools.mask"}),It()(Kt,Mt.DragTool,{name:"DragTool",type:zt.Tool,shortcut:["d"],descTextKey:"DDSAnnotator.shortcuts.tools.drag"}),It()(Kt,Mt.SmartAnnotation,{name:"SmartAnnotation",type:zt.GeneralAction,shortcut:["a"],descTextKey:"DDSAnnotator.shortcuts.general.smart"}),It()(Kt,Mt.Undo,{name:"Undo",type:zt.GeneralAction,shortcut:["ctrl.z","meta.z"],descTextKey:"DDSAnnotator.shortcuts.general.undo"}),It()(Kt,Mt.Redo,{name:"Redo",type:zt.GeneralAction,shortcut:["ctrl.shift.z","meta.shift.z"],descTextKey:"DDSAnnotator.shortcuts.general.redo"}),It()(Kt,Mt.RepeatPrevious,{name:"RepeatPrevious",type:zt.GeneralAction,shortcut:["ctrl.r","meta.r"],descTextKey:"DDSAnnotator.shortcuts.general.repeatPrevious"}),It()(Kt,Mt.DeleteAll,{name:"DeleteAll",type:zt.GeneralAction,shortcut:["ctrl.shift.d","meta.shift.d"],descTextKey:"DDSAnnotator.shortcuts.general.deleteAll"}),It()(Kt,Mt.Save,{name:"Save",type:zt.GeneralAction,shortcut:["ctrl.s","meta.s"],descTextKey:"DDSAnnotator.shortcuts.general.save"}),It()(Kt,Mt.HideCurrObject,{name:"HideCurrObject",type:zt.ViewAction,shortcut:["h"],descTextKey:"DDSAnnotator.shortcuts.viewControl.hideCurrObject"}),It()(Kt,Mt.HideCurrCategory,{name:"HideCurrCategory",type:zt.ViewAction,shortcut:["ctrl.h","meta.h"],descTextKey:"DDSAnnotator.shortcuts.viewControl.hideCurrCategory"}),It()(Kt,Mt.HideAll,{name:"HideAll",type:zt.ViewAction,shortcut:["ctrl.shift.h","meta.shift.h"],descTextKey:"DDSAnnotator.shortcuts.viewControl.hideAll"}),It()(Kt,Mt.ZoomIn,{name:"ZoomIn",type:zt.ViewAction,shortcut:["equalsign"],descTextKey:"DDSAnnotator.shortcuts.viewControl.zoomIn"}),It()(Kt,Mt.ZoomOut,{name:"ZoomOut",type:zt.ViewAction,shortcut:["dash"],descTextKey:"DDSAnnotator.shortcuts.viewControl.zoomOut"}),It()(Kt,Mt.Reset,{name:"Reset",type:zt.ViewAction,shortcut:["0"],descTextKey:"DDSAnnotator.shortcuts.viewControl.zoomReset"}),It()(Kt,Mt.Accept,{name:"Accept",type:zt.GeneralAction,shortcut:["ctrl.a","meta.a"],descTextKey:"DDSAnnotator.shortcuts.general.accept"}),It()(Kt,Mt.Reject,{name:"Reject",type:zt.GeneralAction,shortcut:["ctrl.r","meta.r"],descTextKey:"DDSAnnotator.shortcuts.general.reject"}),It()(Kt,Mt.NextImage,{name:"NextImage",type:zt.ViewAction,shortcut:["rightarrow"],descTextKey:"DDSAnnotator.shortcuts.general.next"}),It()(Kt,Mt.PreviousImage,{name:"PreviousImage",type:zt.ViewAction,shortcut:["leftarrow"],descTextKey:"DDSAnnotator.shortcuts.general.prev"}),It()(Kt,Mt.PanImage,{name:"PanImage",type:zt.ViewAction,shortcut:["Space"],descTextKey:"DDSAnnotator.shortcuts.viewControl.panImage"}),It()(Kt,Mt.SaveCurrObject,{name:"SaveCurrObject",type:zt.AnnotationAction,shortcut:["enter"],descTextKey:"DDSAnnotator.shortcuts.annotsControl.finish"}),It()(Kt,Mt.DeleteCurrObject,{name:"DeleteCurrObject",type:zt.AnnotationAction,shortcut:["Backspace","Delete"],descTextKey:"DDSAnnotator.shortcuts.annotsControl.delete"}),It()(Kt,Mt.CancelCurrObject,{name:"CancelCurrObject",type:zt.AnnotationAction,shortcut:["esc"],descTextKey:"DDSAnnotator.shortcuts.annotsControl.cancel"}),Kt),Ce=function(ye){var Te=ye;switch(ye){case"meta":Te="\u2318";break;case"shift":Te="\u21E7";break;case"equalsign":case"add":Te="+";break;case"dash":case"subtract":Te="-";break;case"leftarrow":Te="\u2190";break;case"rightarrow":Te="\u2192";break;default:Te=ye.toUpperCase();break}return Te},Et=function(Ze){return Ze.Object="object",Ze.Class="class",Ze}(Et||{}),Tt=function(ye,Te){return(0,m.isEqual)(ye.objects,Te.objects)&&(0,m.isEqual)(ye.framesObjects,Te.framesObjects)&&ye.activeObjectIndex===Te.activeObjectIndex&&ye.supportEdit===Te.supportEdit&&ye.activeClassName===Te.activeClassName&&ye.className===Te.className&&ye.onChangeActiveClassName===Te.onChangeActiveClassName&&ye.onFocusObject===Te.onFocusObject&&ye.onDeleteObject===Te.onDeleteObject&&ye.onChangeObjectHidden===Te.onChangeObjectHidden&&ye.onChangeCategoryHidden===Te.onChangeCategoryHidden&&ye.setDrawDataWithHistory===Te.setDrawDataWithHistory&&(0,m.isEqual)(ye.categories,Te.categories)&&ye.colorByCategory===Te.colorByCategory&&ye.onChangeAnnotsDisplayOpts===Te.onChangeAnnotsDisplayOpts},Ye=(0,g.memo)(function(Ze){var ye=Ze.objects,Te=Ze.framesObjects,An=Ze.activeObjectIndex,yt=Ze.className,Pn=Ze.supportEdit,Sn=Ze.activeClassName,In=Ze.onFocusObject,Un=Ze.onActiveObject,ir=Ze.onChangeObjectHidden,Mr=Ze.onDeleteObject,pr=Ze.onChangeCategoryHidden,Ln=Ze.onChangeActiveClassName,da=Ze.categories,Rr=Ze.setDrawDataWithHistory,Yn=Ze.colorByCategory,lr=Ze.onChangeAnnotsDisplayOpts,Nr=(0,z.bU)(),ia=Nr.localeText,Vr=ia("DDSAnnotator.annotsList.uncategorized"),Lr=(0,g.useState)(Et.Class),ga=s()(Lr,2),aa=ga[0],rr=ga[1],Jn=function(ze){rr(ze)},Fr=(0,$e.w)(),Er=Fr.height,jr=45,Cr=35,Ur=Er-jr-56,Yr=(0,g.useRef)(null),Gr=(0,g.useMemo)(function(){return!ye.some(function(Me){return!Me.hidden})},[ye]),Jr=function(){ye.forEach(function(ze,Qe){ir(Qe,!Gr)})},Xr=function(){lr({colorByCategory:!Yn})},K=(0,g.useCallback)(function(Me,ze,Qe){Un(Qe),Rr(function(St){St.editingAttribute={index:Qe,labelId:Me.labelId,attributes:ze.attributes||[],values:Me.attributes||[]}})},[Un]);(0,Oe.Z)(Le[Mt.HideAll].shortcut,function(Me){Me.preventDefault(),Jr()},{exactMatch:!0});var F=(0,g.useMemo)(function(){return ye.reduce(function(Me,ze,Qe){var St,At=((St=da.find(function(Yt){return Yt.id===ze.labelId}))===null||St===void 0?void 0:St.name)||Vr;return Me[At]||(Me[At]=[]),Me[At].push(t()(t()({},ze),{},{originIndex:Qe})),Me},{})},[ye]);(0,g.useEffect)(function(){if(!(An<0)){var Me=document.querySelector(".ant-tabs-tabpane-active");if(aa===Et.Object){var ze=Me==null?void 0:Me.querySelector(".tab-collapse .ant-collapse-item:nth-child(".concat(An+1,")"));ze==null||ze.scrollIntoView({behavior:"smooth",block:"nearest"})}else if(aa===Et.Class&&F[Sn]){var Qe=F[Sn].findIndex(function(At){return At.originIndex===An});if(Qe>-1){var St;(St=Yr.current)===null||St===void 0||St.scrollTo({index:Qe,align:"auto"})}}}},[An]);var ce=(0,C.jsx)(xe.Z,{accordion:!0,ghost:!0,className:"tab-collapse",activeKey:Sn,children:ye.length>0&&Object.keys(F).sort().map(function(Me){var ze,Qe=F[Me],St=Qe.every(function(Yt){return Yt.hidden}),At=(ze=Qe[0])===null||ze===void 0?void 0:ze.color;return(0,C.jsx)(xe.Z.Panel,{showArrow:!1,header:(0,C.jsxs)("div",{className:c()("collapse-header",{"collapse-header-selected":Sn===Me}),style:{height:jr},onClick:function(){Ln(Me===Sn?"":Me)},children:[Sn===Me&&(0,C.jsx)("div",{className:"selected-line",style:{backgroundColor:At||"#fff"}}),(0,C.jsx)("div",{className:"label-name",children:Me}),(0,C.jsxs)("div",{className:"label-actions",children:[(0,C.jsx)("span",{className:"label-count",children:Qe.length}),Pn&&(0,C.jsx)(T.Z,{title:ia(St?"DDSAnnotator.annotsList.showCate":"DDSAnnotator.annotsList.hideCate"),children:(0,C.jsx)(x.ZP,{ghost:!0,className:"label-btn",icon:St?(0,C.jsx)(de.Z,{}):(0,C.jsx)(me.Z,{}),shape:"circle",onClick:function(ln){ln.stopPropagation(),pr(Me,!St)}})}),(0,C.jsx)(x.ZP,{ghost:!0,className:"label-btn",icon:(0,C.jsx)(Ae,{className:"down-arrow"}),shape:"circle"})]})]},Me),children:Sn===Me&&(0,C.jsx)(Se.Z,{children:(0,C.jsx)(re.Z,{data:Qe,height:Ur,fullHeight:!1,itemHeight:Cr,itemKey:"originIndex",ref:Yr,children:function(ln,Hn){var Dn,qn,Kr,na,Or=da.find(function(to){return to.id===ln.labelId}),ba=!!(Or!=null&&(Dn=Or.attributes)!==null&&Dn!==void 0&&Dn.length),Pa=Or==null||(qn=Or.attributes)===null||qn===void 0?void 0:qn.find(function(to,Ra){var Aa;return to.required&&[void 0,null,""].includes((Aa=ln.attributes)===null||Aa===void 0?void 0:Aa[Ra])}),Za=(Te==null||(Kr=Te[ln.originIndex])===null||Kr===void 0||(na=Kr.filter(function(to){return to&&!to.frameEmpty}))===null||na===void 0?void 0:na.length)||1;return(0,C.jsxs)(Se.Z.Item,{className:"collapse-item",style:{height:Cr},onMouseOver:function(){In(ln.originIndex)},onClick:function(Ra){Ra.stopPropagation(),Un(ln.originIndex)},children:[An===ln.originIndex&&(0,C.jsx)("div",{className:"color-hint",style:{backgroundColor:ln.color}}),(0,C.jsx)(J.Z,{className:"label-icon",component:B.ef[ln.type]}),(0,C.jsxs)("div",{className:"label",children:["# ",ln.originIndex+1]}),(0,C.jsxs)("div",{className:"label-actions",children:[Te&&(0,C.jsxs)("span",{className:"frame-count",children:[(0,C.jsx)(it,{})," ",Za]}),ba&&(0,C.jsx)(T.Z,{title:ia("DDSAnnotator.attribute.edit"),children:(0,C.jsx)(x.ZP,{ghost:!0,className:c()("attr-btn",{"attr-btn-warn":Pa}),icon:(0,C.jsx)(ee,{}),shape:"circle",onClick:function(Ra){Ra.stopPropagation(),K(ln,Or,ln.originIndex)}})}),(0,C.jsx)(T.Z,{title:ln.hidden?ia("DDSAnnotator.annotsList.show"):ia("DDSAnnotator.annotsList.hide"),children:(0,C.jsx)(x.ZP,{ghost:!0,className:"label-btn",icon:ln.hidden?(0,C.jsx)(de.Z,{}):(0,C.jsx)(me.Z,{}),shape:"circle",onClick:function(Ra){Ra.stopPropagation(),ir(ln.originIndex,!ln.hidden)}})}),Pn&&(0,C.jsx)(C.Fragment,{children:(0,C.jsx)(T.Z,{title:ia("DDSAnnotator.annotsList.delete"),children:(0,C.jsx)(x.ZP,{ghost:!0,className:"label-btn",icon:(0,C.jsx)(pe.Z,{}),shape:"circle",onClick:function(Ra){Ra.stopPropagation(),Mr(ln.originIndex)}})})})]})]},ln.labelId+Hn)}})})},Me||Vr)})});return(0,C.jsx)("div",{className:c()("dds-annotator-objectlist",yt),id:"rightOperations",onMouseDown:function(ze){ze.stopPropagation()},children:(0,C.jsx)(ve.Z,{activeKey:aa,onChange:Jn,items:[{key:Et.Class,label:ia("DDSAnnotator.annotsList.labels"),children:ce}],tabBarExtraContent:(0,C.jsxs)("div",{className:"tab-header-actions",children:[(0,C.jsx)(T.Z,{title:ia("DDSAnnotator.colorMode"),children:(0,C.jsx)(x.ZP,{type:"primary",className:c()("tab-header-actions-color-btn",{"tab-header-actions-color-btn-active":!Yn}),icon:(0,C.jsx)(J.Z,{component:tt}),onClick:Xr})}),ye.length>0&&(0,C.jsx)(T.Z,{title:ia(Gr?"DDSAnnotator.annotsList.showAll":"DDSAnnotator.annotsList.hideAll"),children:(0,C.jsx)(x.ZP,{ghost:!0,icon:Gr?(0,C.jsx)(de.Z,{}):(0,C.jsx)(me.Z,{}),shape:"circle",onClick:Jr})})]})})})},Tt),et=e(60698),_t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"down-circle",theme:"outlined"},Ut=_t,qt=e(17202),un=function(ye,Te){return g.createElement(qt.Z,(0,et.Z)({},ye,{ref:Te,icon:Ut}))},Mn=g.forwardRef(un),vn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.5 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c10.2 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"up-circle",theme:"outlined"},Xn=vn,Vn=function(ye,Te){return g.createElement(qt.Z,(0,et.Z)({},ye,{ref:Te,icon:Xn}))},or=g.forwardRef(Vn),er=e(59504),Wt={item:"item___v9XQ_",selected:"selected___H8gjQ",info:"info___YLqTh",action:"action___zGuUy",btn:"btn___ean1l"},en=function(ye){var Te=ye.point,An=ye.index,yt=ye.active,Pn=ye.onMouseEnter,Sn=ye.onMouseOut,In=ye.onMouseOver,Un=ye.onVisibleChange,ir=(0,z.bU)(),Mr=ir.localeText;return(0,C.jsxs)("div",{className:Wt.item,onMouseOut:Sn,onMouseOver:In,onMouseEnter:Pn,children:[yt&&(0,C.jsx)("div",{className:Wt.selected,style:{backgroundColor:Te.color}}),(0,C.jsx)("div",{className:Wt.info,children:Te.name?"#".concat(An+1," ").concat(Te.name):"".concat(An+1," ")}),(0,C.jsx)("div",{className:Wt.action,children:(0,C.jsxs)(er.Z,{bordered:!1,showArrow:!0,popupClassName:Wt["selector-dropdown"],size:"small",value:Te.visible,onChange:Un,style:{width:"100%"},children:[(0,C.jsx)(er.Z.Option,{value:B.GI.noLabeled,children:Mr("DDSAnnotator.annotsList.point.notInImage")}),(0,C.jsx)(er.Z.Option,{value:B.GI.labeledNotVisible,children:Mr("DDSAnnotator.annotsList.point.notVisible")}),(0,C.jsx)(er.Z.Option,{value:B.GI.labeledVisible,children:Mr("DDSAnnotator.annotsList.point.visible")})]})})]},An)},nn=en,fn=(0,g.memo)(function(Ze){var ye=Ze.mode,Te=Ze.isAiAnnotation,An=Ze.currObject,yt=Ze.currObjectIndex,Pn=Ze.focusObjectIndex,Sn=Ze.focusEleType,In=Ze.focusEleIndex,Un=Ze.onChangePointVisible,ir=Ze.setEditState,Mr=(0,z.bU)(),pr=Mr.localeText,Ln=(0,g.useState)(!0),da=s()(Ln,2),Rr=da[0],Yn=da[1],lr=(0,g.useMemo)(function(){return yt>-1&&(An==null?void 0:An.type)===B.gr.Skeleton&&!Te},[ye,An,yt,Te]),Nr=function(Vr){ir(function(Lr){Lr.focusObjectIndex=yt,Lr.focusEleIndex=Vr,Lr.focusEleType=B.Yq.Circle})};return(0,C.jsx)(k,{children:(0,C.jsx)(w.Z,{className:c()("dds-annotator-points-editor",{"dds-annotator-points-editor-visible":lr}),title:(0,C.jsxs)("div",{className:"title",onClick:function(){return Yn(function(Vr){return!Vr})},children:[pr("DDSAnnotator.points.editor"),(0,C.jsx)("div",{className:"extra-btn",children:Rr?(0,C.jsx)(Mn,{}):(0,C.jsx)(or,{})})]}),children:!Rr&&(0,C.jsx)("div",{className:"content",onMouseMove:function(Vr){Vr.stopPropagation()},children:An&&An.keypoints&&An.keypoints.points.map(function(ia,Vr){return(0,C.jsx)(nn,{point:ia,index:Vr,active:Pn===yt&&Sn===B.Yq.Circle&&In===Vr,onMouseEnter:function(){return Nr(Vr)},onVisibleChange:function(ga){Un(Vr,ga)}},Vr)})})})})}),En=fn,on=(0,g.memo)(function(Ze){var ye=Ze.mode,Te=Ze.isAiAnnotation,An=Ze.latestLabelId,yt=Ze.currObject,Pn=Ze.onFinishCurrCreate,Sn=(0,z.bU)(),In=Sn.localeText,Un=(0,g.useMemo)(function(){return ye!==Q.je.Edit?!1:!!((yt==null?void 0:yt.type)===B.gr.Mask||(yt==null?void 0:yt.type)===B.gr.Polygon&&Te)},[ye,yt,Te]);return(0,Oe.Z)(Le[Mt.SaveCurrObject].shortcut,function(ir){yt&&(ir.preventDefault(),Pn(An))},{exactMatch:!0}),(0,C.jsx)(k,{children:(0,C.jsx)(w.Z,{className:c()("dds-annotator-seg-confirm",{"dds-annotator-seg-confirm-visible":Un}),title:(0,C.jsx)("div",{className:"title",children:In("DDSAnnotator.seg.tool")}),children:(0,C.jsxs)("div",{className:"content",children:[(0,C.jsx)("div",{children:In("DDSAnnotator.seg.tool.content")}),(0,C.jsx)(x.ZP,{type:"primary",onClick:function(Mr){Mr.preventDefault(),Pn(An)},children:In("DDSAnnotator.confirm")})]})})})}),pt=on,gt=e(34485),Xt=e.n(gt),rn=e(2528),Jt=e(98030),pn=e(33181),mn=Object.defineProperty,Zn=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,ct=(Ze,ye,Te)=>ye in Ze?mn(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Dt=(Ze,ye)=>{for(var Te in ye||(ye={}))tr.call(ye,Te)&&ct(Ze,Te,ye[Te]);if(Zn)for(var Te of Zn(ye))ut.call(ye,Te)&&ct(Ze,Te,ye[Te]);return Ze};const xt=Ze=>g.createElement("svg",Dt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 29"},Ze),g.createElement("defs",null,g.createElement("style",null,".drag_svg__cls-1{fill:none}")),g.createElement("path",{className:"drag_svg__cls-1",d:"M2.83 2.83h28.35v28.35H2.83z"}),g.createElement("path",{className:"drag_svg__cls-1",d:"M2.83 2.83h28.35v28.35H2.83z"}),g.createElement("path",{className:"drag_svg__cls-1",d:"M2.83 2.83h28.35v28.35H2.83Z"}),g.createElement("path",{className:"drag_svg__cls-2",d:"m21.73 18.19 8.23 4.8-3.51 1 2.51 4.35-2.05 1.18-2.51-4.35-2.63 2.54-.04-9.52z"}),g.createElement("path",{className:"drag_svg__cls-2",d:"M19.37 9.92h2.36v2.36h5.91a1.18 1.18 0 0 1 1.18 1.18v4.73h-2.36v-3.54H14.65v11.81h4.72v2.36h-5.91a1.18 1.18 0 0 1-1.18-1.18v-5.91H9.92v-2.36h2.36v-5.91a1.18 1.18 0 0 1 1.18-1.18h5.91ZM5.2 19.37h2.36v2.36H5.2zM5.2 14.65h2.36v2.36H5.2zM5.2 9.92h2.36v2.36H5.2zM5.2 5.2h2.36v2.36H5.2zM9.92 5.2h2.36v2.36H9.92zM14.65 5.2h2.36v2.36h-2.36zM19.37 5.2h2.36v2.36h-2.36z"}));var kt="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyOSAyOSI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOm5vbmV9PC9zdHlsZT48L2RlZnM+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMi44MyAyLjgzaDI4LjM1djI4LjM1SDIuODN6Ii8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMi44MyAyLjgzaDI4LjM1djI4LjM1SDIuODN6Ii8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMi44MyAyLjgzaDI4LjM1djI4LjM1SDIuODNaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJtMjEuNzMgMTguMTkgOC4yMyA0LjgtMy41MSAxIDIuNTEgNC4zNS0yLjA1IDEuMTgtMi41MS00LjM1LTIuNjMgMi41NC0uMDQtOS41MnoiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0xOS4zNyA5LjkyaDIuMzZ2Mi4zNmg1LjkxYTEuMTggMS4xOCAwIDAgMSAxLjE4IDEuMTh2NC43M2gtMi4zNnYtMy41NEgxNC42NXYxMS44MWg0LjcydjIuMzZoLTUuOTFhMS4xOCAxLjE4IDAgMCAxLTEuMTgtMS4xOHYtNS45MUg5Ljkydi0yLjM2aDIuMzZ2LTUuOTFhMS4xOCAxLjE4IDAgMCAxIDEuMTgtMS4xOGg1LjkxWk01LjIgMTkuMzdoMi4zNnYyLjM2SDUuMnpNNS4yIDE0LjY1aDIuMzZ2Mi4zNkg1LjJ6TTUuMiA5LjkyaDIuMzZ2Mi4zNkg1LjJ6TTUuMiA1LjJoMi4zNnYyLjM2SDUuMnpNOS45MiA1LjJoMi4zNnYyLjM2SDkuOTJ6TTE0LjY1IDUuMmgyLjM2djIuMzZoLTIuMzZ6TTE5LjM3IDUuMmgyLjM2djIuMzZoLTIuMzZ6Ii8+PC9zdmc+",sn=Object.defineProperty,tn=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,gr=(Ze,ye,Te)=>ye in Ze?sn(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,nr=(Ze,ye)=>{for(var Te in ye||(ye={}))xn.call(ye,Te)&&gr(Ze,Te,ye[Te]);if(tn)for(var Te of tn(ye))Nn.call(ye,Te)&&gr(Ze,Te,ye[Te]);return Ze};const Rn=Ze=>g.createElement("svg",nr({className:"zoomResize_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Ze),g.createElement("path",{d:"M981.333 42.667v938.666H42.667V42.667h938.666zM128 896h768V128H128v768zm170.667-170.667H448v85.334H213.333V576h85.334v149.333zm426.666-426.666H576v-85.334h234.667V448h-85.334V298.667z"}));var kr="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTk4MS4zMzMgNDIuNjY3djkzOC42NjZINDIuNjY3VjQyLjY2N2g5MzguNjY2ek0xMjggODk2aDc2OFYxMjhIMTI4djc2OHptMTcwLjY2Ny0xNzAuNjY3SDQ0OHY4NS4zMzRIMjEzLjMzM1Y1NzZoODUuMzM0djE0OS4zMzN6bTQyNi42NjYtNDI2LjY2Nkg1NzZ2LTg1LjMzNGgyMzQuNjY3VjQ0OGgtODUuMzM0VjI5OC42Njd6Ii8+PC9zdmc+",fr=e(85706),ua=Object.defineProperty,Pr=Object.getOwnPropertySymbols,Bn=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,wn=(Ze,ye,Te)=>ye in Ze?ua(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,ar=(Ze,ye)=>{for(var Te in ye||(ye={}))Bn.call(ye,Te)&&wn(Ze,Te,ye[Te]);if(Pr)for(var Te of Pr(ye))Cn.call(ye,Te)&&wn(Ze,Te,ye[Te]);return Ze};const mr=Ze=>g.createElement("svg",ar({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("path",{d:"M21.5 3h-19A2.503 2.503 0 0 0 0 5.5V17h24V5.5C24 4.122 22.878 3 21.5 3Zm.5 12H2V5.5a.5.5 0 0 1 .5-.5h19a.5.5 0 0 1 .5.5V15ZM4 7h3v2H4V7Zm8 2H9V7h3v2Zm2-2h6v2h-6V7Zm-6 4h8v2H8v-2Zm10 0h2v2h-2v-2ZM4 11h2v2H4v-2Zm11.293 7.707 1.414 1.414-3.293 3.293c-.39.39-.902.585-1.414.585a1.993 1.993 0 0 1-1.414-.585l-3.293-3.293 1.414-1.414L12 22l3.293-3.293Z"}));var Qr="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIxLjUgM2gtMTlBMi41MDMgMi41MDMgMCAwIDAgMCA1LjVWMTdoMjRWNS41QzI0IDQuMTIyIDIyLjg3OCAzIDIxLjUgM1ptLjUgMTJIMlY1LjVhLjUuNSAwIDAgMSAuNS0uNWgxOWEuNS41IDAgMCAxIC41LjVWMTVaTTQgN2gzdjJINFY3Wm04IDJIOVY3aDN2MlptMi0yaDZ2MmgtNlY3Wm0tNiA0aDh2Mkg4di0yWm0xMCAwaDJ2MmgtMnYtMlpNNCAxMWgydjJINHYtMlptMTEuMjkzIDcuNzA3IDEuNDE0IDEuNDE0LTMuMjkzIDMuMjkzYy0uMzkuMzktLjkwMi41ODUtMS40MTQuNTg1YTEuOTkzIDEuOTkzIDAgMCAxLTEuNDE0LS41ODVsLTMuMjkzLTMuMjkzIDEuNDE0LTEuNDE0TDEyIDIybDMuMjkzLTMuMjkzWiIvPjwvc3ZnPg==",qr=function(ye){for(var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,An=navigator.userAgent.toLowerCase(),yt=An.indexOf("mac")>-1,Pn=[],Sn=function(){var Mr=ye[In];if(!yt&&Mr.includes("meta")||yt&&Mr.includes("ctrl"))return"continue";if(Mr.includes(".")){var pr=Mr.split(".");pr.forEach(function(da,Rr){var Yn=(0,C.jsx)("span",{className:c()({"dds-annotator-shortcutsinfo-key":Te}),children:Ce(da)},Rr);Pn.push(Yn),Rr!==pr.length-1&&Pn.push((0,C.jsxs)("span",{className:c()({"dds-annotator-shortcutsinfo-combine":Te}),children:[" ","+"," "]},Rr+"and"))})}else{var Ln=(0,C.jsx)("span",{className:c()({"dds-annotator-shortcutsinfo-key":Te}),children:Ce(Mr)},In);Pn.push(Ln)}In!==ye.length-1&&Pn.push((0,C.jsxs)("span",{className:c()({"dds-annotator-shortcutsinfo-combine":Te}),children:[" ","/"," "]},In+"or"))},In=0;In=B.Fv,Er=Ln<=B.vL;(0,Oe.Z)(Le[Mt.ZoomIn].shortcut,function(){Fr||da()}),(0,Oe.Z)(Le[Mt.ZoomOut].shortcut,function(){Er||Rr()}),(0,Oe.Z)(Le[Mt.Reset].shortcut,function(){Yn()});var jr=function(Ur){var Yr=qr(Ur.shortcut.shortcut,!1);return(0,C.jsxs)("div",{className:"dds-annotator-slidertoolbar-popover",children:[(0,C.jsxs)("div",{children:[(0,C.jsx)("span",{className:"popover-title",children:Ur.name}),(0,C.jsx)("span",{className:"popover-key",children:Yr})]}),(0,C.jsx)("div",{className:"popover-divider"}),(0,C.jsx)("div",{className:"popover-description",children:Ur.description})]})};return(0,C.jsxs)("div",{className:"dds-annotator-slidertoolbar",onMouseDown:function(Ur){Ur.stopPropagation()},children:[lr?(0,C.jsx)("div",{}):(0,C.jsxs)("div",{className:"dds-annotator-slidertoolbar-content",children:[Lr.map(function(Cr){return(0,C.jsx)(pn.Z,{placement:"right",content:jr(Cr),children:(0,C.jsx)(x.ZP,{className:c()("slidertoolbar-btn",{"slidertoolbar-btn-active":ye===Cr.key}),icon:Cr.icon,onClick:function(){return Sn(Cr.key)}})},Cr.key)}),ga.map(function(Cr){return(0,C.jsxs)("div",{className:c()({"slidertoolbar-annotool-active-wrap":ye===Cr.key&&!Te}),children:[(0,C.jsx)(pn.Z,{placement:"right",content:jr(Cr),children:(0,C.jsx)(x.ZP,{className:c()("slidertoolbar-btn",{"slidertoolbar-btn-active":ye===Cr.key&&!Pn}),icon:Cr.icon,onClick:function(){return Sn(Cr.key)}})}),ye===Cr.key&&!Te&&(0,C.jsx)(pn.Z,{placement:"right",content:jr(aa),children:(0,C.jsx)(x.ZP,{className:c()("slidertoolbar-btn",{"slidertoolbar-btn-active":Pn}),icon:Cr.aiIcon,onClick:function(){return In(!Pn)}})},aa.key)]},Cr.key)}),(0,C.jsx)("div",{className:"slidertoolbar-divider"}),rr.map(function(Cr){return(0,C.jsx)(pn.Z,{placement:"right",content:jr(Cr),children:(0,C.jsx)(x.ZP,{className:c()("slidertoolbar-btn"),icon:Cr.icon,onClick:Cr.handler})},Cr.key)})]}),(0,C.jsxs)("div",{className:"dds-annotator-slidertoolbar-content",children:[(0,C.jsx)(x.ZP,{type:"primary",className:"slidertoolbar-btn",onClick:Yn,icon:(0,C.jsx)(J.Z,{component:Rn})}),(0,C.jsx)(x.ZP,{type:"primary",className:c()("slidertoolbar-btn",{"slidertoolbar-btn-disabled":Er}),icon:(0,C.jsx)(rn.Z,{}),onClick:Rr}),(0,C.jsxs)("div",{className:"slidertoolbar-scale-text",children:[Math.floor(Ln*100),"%"]}),(0,C.jsx)(x.ZP,{type:"primary",className:c()("slidertoolbar-btn",{"slidertoolbar-btn-disabled":Fr}),icon:(0,C.jsx)(Jt.Z,{}),onClick:da})]})]})}),Br=dr,Ea=e(38875),ca=e(94706),Kn=e(57414),zn=Object.defineProperty,vr=Object.getOwnPropertySymbols,ra=Object.prototype.hasOwnProperty,xr=Object.prototype.propertyIsEnumerable,jt=(Ze,ye,Te)=>ye in Ze?zn(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,an=(Ze,ye)=>{for(var Te in ye||(ye={}))ra.call(ye,Te)&&jt(Ze,Te,ye[Te]);if(vr)for(var Te of vr(ye))xr.call(ye,Te)&&jt(Ze,Te,ye[Te]);return Ze};const hn=Ze=>g.createElement("svg",an({width:32,height:32,viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("path",{d:"M23.737 13.118v7.764a6.713 6.713 0 0 1-6.706 6.707 6.713 6.713 0 0 1-6.705-6.707v-7.764a6.713 6.713 0 0 1 6.705-6.707 6.713 6.713 0 0 1 6.706 6.707Zm-.693 3.662H11.018v4.102a6.02 6.02 0 0 0 6.013 6.017 6.02 6.02 0 0 0 6.013-6.017V16.78Zm0-3.662a6.02 6.02 0 0 0-5.698-6.008v8.977h5.698v-2.969Z",fill:"#fff"}));var ao="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzNCAzNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMjMuNzM3IDEzLjExOHY3Ljc2NGE2LjcxMyA2LjcxMyAwIDAgMS02LjcwNiA2LjcwNyA2LjcxMyA2LjcxMyAwIDAgMS02LjcwNS02LjcwN3YtNy43NjRhNi43MTMgNi43MTMgMCAwIDEgNi43MDUtNi43MDcgNi43MTMgNi43MTMgMCAwIDEgNi43MDYgNi43MDdabS0uNjkzIDMuNjYySDExLjAxOHY0LjEwMmE2LjAyIDYuMDIgMCAwIDAgNi4wMTMgNi4wMTcgNi4wMiA2LjAyIDAgMCAwIDYuMDEzLTYuMDE3VjE2Ljc4Wm0wLTMuNjYyYTYuMDIgNi4wMiAwIDAgMC01LjY5OC02LjAwOHY4Ljk3N2g1LjY5OHYtMi45NjlaIiBmaWxsPSIjZmZmIi8+PC9zdmc+",Mo=Object.defineProperty,Ua=Object.getOwnPropertySymbols,Ha=Object.prototype.hasOwnProperty,eo=Object.prototype.propertyIsEnumerable,jo=(Ze,ye,Te)=>ye in Ze?Mo(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Wo=(Ze,ye)=>{for(var Te in ye||(ye={}))Ha.call(ye,Te)&&jo(Ze,Te,ye[Te]);if(Ua)for(var Te of Ua(ye))eo.call(ye,Te)&&jo(Ze,Te,ye[Te]);return Ze};const Eo=Ze=>g.createElement("svg",Wo({width:32,height:32,viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("path",{d:"M10.263 13.118v7.764a6.713 6.713 0 0 0 6.706 6.707 6.713 6.713 0 0 0 6.705-6.707v-7.764a6.713 6.713 0 0 0-6.705-6.707 6.713 6.713 0 0 0-6.706 6.707Zm.693 3.662h12.026v4.102a6.02 6.02 0 0 1-6.013 6.017 6.02 6.02 0 0 1-6.013-6.017V16.78Zm0-3.662a6.02 6.02 0 0 1 5.698-6.008v8.977h-5.698v-2.969Z",fill:"#fff"}));var ft="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzNCAzNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAuMjYzIDEzLjExOHY3Ljc2NGE2LjcxMyA2LjcxMyAwIDAgMCA2LjcwNiA2LjcwNyA2LjcxMyA2LjcxMyAwIDAgMCA2LjcwNS02LjcwN3YtNy43NjRhNi43MTMgNi43MTMgMCAwIDAtNi43MDUtNi43MDcgNi43MTMgNi43MTMgMCAwIDAtNi43MDYgNi43MDdabS42OTMgMy42NjJoMTIuMDI2djQuMTAyYTYuMDIgNi4wMiAwIDAgMS02LjAxMyA2LjAxNyA2LjAyIDYuMDIgMCAwIDEtNi4wMTMtNi4wMTdWMTYuNzhabTAtMy42NjJhNi4wMiA2LjAyIDAgMCAxIDUuNjk4LTYuMDA4djguOTc3aC01LjY5OHYtMi45NjlaIiBmaWxsPSIjZmZmIi8+PC9zdmc+",Nt=(0,g.memo)(function(Ze){var ye,Te=Ze.selectedTool,An=Ze.selectedSubTool,yt=Ze.selectedModel,Pn=Ze.AIAnnotation,Sn=Ze.isBatchEditing,In=Ze.isCtrlPressed,Un=Ze.aiLabels,ir=Ze.naturalSize,Mr=Ze.limitConf,pr=Ze.setAiLabels,Ln=Ze.onExitAIAnnotation,da=Ze.onAiAnnotation,Rr=Ze.onChangeConfidenceRange,Yn=Ze.onChangeLimitConf,lr=Ze.onAcceptValidObjects,Nr=Ze.onCancelBatchEdit,ia=Ze.forceChangeTool,Vr=(0,z.bU)(),Lr=Vr.localeText,ga=(0,M.x)({predIouThresh:.89,pointsPerSide:32,minMaskRegionArea:300}),aa=s()(ga,2),rr=aa[0],Jn=aa[1],Fr=(ye={},It()(ye,B.ru.Drag,{name:Lr("DDSAnnotator.shortcuts.tools.drag"),icon:xt}),It()(ye,B.ru.Rectangle,{name:yt===B.HE.Detection?Lr("DDSAnnotator.smart.detection.name"):Lr("DDSAnnotator.smart.ivp.name"),icon:B.ef[B.gr.Rectangle]}),It()(ye,B.ru.Polygon,{name:Lr("DDSAnnotator.smart.segmentation.name"),icon:B.ef[B.gr.Polygon]}),It()(ye,B.ru.Skeleton,{name:Lr("DDSAnnotator.smart.pose.name"),icon:B.ef[B.gr.Skeleton]}),It()(ye,B.ru.Mask,{name:yt===B.HE.SegmentByMask?Lr("DDSAnnotator.smart.isg.name"):yt===B.HE.SegmentEverything?Lr("DDSAnnotator.smart.sam.name"):Lr("DDSAnnotator.smart.ivp.name"),icon:B.ef[B.gr.Mask]}),ye),Er=function(Gr){if(Gr.type==="mouseup"&&(Te===B.ru.Skeleton||Te===B.ru.Mask&&An===B.jB.AutoSegmentEverything||Te===B.ru.Rectangle)){Gr.preventDefault();return}else Gr.stopPropagation()},jr=(0,g.useMemo)(function(){return!Pn||Te===B.ru.Drag?!1:Te===B.ru.Mask?yt===B.HE.SegmentEverything?An===B.jB.AutoSegmentEverything:yt===B.HE.SegmentByMask?!1:yt===B.HE.IVP?Sn:!1:Te===B.ru.Polygon?!1:Te===B.ru.Rectangle?yt===B.HE.Detection?!(Sn&&In):yt===B.HE.IVP?Sn:!1:!0},[Te,An,yt,Pn,Sn,In]),Cr=(0,g.useMemo)(function(){return Te===B.ru.Rectangle&&yt===B.HE.Detection&&Sn&&In?[{text:Lr("DDSAnnotator.smart.tip.recover"),logo:(0,C.jsx)(hn,{})},{text:Lr("DDSAnnotator.smart.tip.overlayobject"),logo:(0,C.jsx)(Eo,{})}]:[]},[Sn,In,yt]),Ur=(0,g.useMemo)(function(){return ir.width*ir.height},[ir]);return(0,C.jsxs)(k,{eventHandler:Er,children:[Cr.length>0&&(0,C.jsx)("div",{className:"dds-annotator-operation-tip",children:Cr.map(function(Yr){return(0,C.jsxs)("div",{className:"dds-annotator-operation-tip-item",children:[(0,C.jsx)("span",{children:Yr.text}),Yr.logo]},Yr.text)})}),(0,C.jsx)(w.Z,{id:"smart-annotation-editor",className:c()("dds-annotator-smart-container",{"dds-annotator-smart-container-visible":jr}),title:(0,C.jsxs)("div",{className:"dds-annotator-smart-container-title",children:[(0,C.jsxs)("div",{className:"dds-annotator-smart-container-title-icon",children:[(0,C.jsx)(Ea.Z,{component:B.QD[B.Uu.SmartAnnotation]}),(0,C.jsx)("div",{children:Fr[Te].name})]}),(0,C.jsx)(x.ZP,{ghost:!0,className:"dds-annotator-smart-container-btn",icon:(0,C.jsx)(h.Z,{}),shape:"circle",size:"small",onClick:function(){Ln(),ia(Te,B.jB.PenAdd)}})]}),children:(0,C.jsxs)("div",{className:"dds-annotator-smart-container-content",children:[Te===B.ru.Rectangle&&yt===B.HE.Detection&&(Sn?(0,C.jsxs)("div",{className:"dds-annotator-smart-container-content-column-item",children:[(0,C.jsx)("div",{className:"dds-annotator-smart-container-content-param-controls",children:(0,C.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item",children:[(0,C.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item-title",children:[Lr("DDSAnnotator.smart.detection.confidence"),":"]}),(0,C.jsx)(ca.Z,{className:"dds-annotator-smart-container-content-param-item-slider",defaultValue:Mr,min:0,max:1,step:.01,onAfterChange:Yn,railStyle:{background:"#99bdff"},trackStyle:{background:"#edf0f3"}})]})}),(0,C.jsxs)("div",{className:"dds-annotator-smart-container-content-tip-text",children:[(0,C.jsxs)("span",{children:[Lr("DDSAnnotator.smart.tip"),": "]}),Lr("DDSAnnotator.smart.tip.ctrl")]}),(0,C.jsxs)("div",{style:{alignSelf:"flex-end"},children:[(0,C.jsx)(x.ZP,{style:{marginRight:"10px"},onClick:Nr,children:Lr("DDSAnnotator.smart.back")}),(0,C.jsx)(x.ZP,{type:"primary",onClick:lr,children:Lr("DDSAnnotator.save")})]})]}):(0,C.jsxs)("div",{className:"dds-annotator-smart-container-content-item",children:[(0,C.jsx)(D.Z,{style:{width:250},placeholder:Lr("DDSAnnotator.smart.detection.input"),value:Un,onChange:function(Gr){return pr(Gr.target.value)},onKeyUp:function(Gr){return Gr.stopPropagation()},onKeyDown:function(Gr){return Gr.stopPropagation()}}),(0,C.jsx)(x.ZP,{type:"primary",onClick:function(){return da({aiLabels:Un})},children:Lr("DDSAnnotator.smart.annotate")})]})),(Te===B.ru.Rectangle&&yt===B.HE.IVP||Te===B.ru.Mask&&yt===B.HE.IVP)&&(0,C.jsxs)("div",{className:"dds-annotator-smart-container-content-column-item",children:[(0,C.jsxs)("div",{className:"dds-annotator-smart-container-content-tip-text",children:[(0,C.jsxs)("span",{children:[Lr("DDSAnnotator.smart.tip"),": "]}),Lr("DDSAnnotator.smart.tip.visualPrompt")]}),(0,C.jsxs)("div",{style:{alignSelf:"flex-end"},children:[(0,C.jsx)(x.ZP,{style:{marginRight:"10px"},onClick:Nr,children:Lr("DDSAnnotator.smart.back")}),(0,C.jsx)(x.ZP,{type:"primary",onClick:lr,children:Lr("DDSAnnotator.save")})]})]}),Te===B.ru.Skeleton&&(Sn?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"dds-annotator-smart-container-content-param-controls",children:(0,C.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item",children:[(0,C.jsx)("div",{className:"dds-annotator-smart-container-content-param-item-title",children:Lr("DDSAnnotator.confidence")}),(0,C.jsx)(ca.Z,{className:"dds-annotator-smart-container-content-param-item-slider",range:!0,defaultValue:[0,100],onAfterChange:function(Gr){return Rr([Gr[0]/100,Gr[1]/100])},tooltip:{formatter:function(Gr){return(0,C.jsx)(C.Fragment,{children:"".concat(Gr/100)})},getPopupContainer:function(){return document.getElementById("conf-slider")}}})]})}),(0,C.jsx)(x.ZP,{style:{alignSelf:"flex-end"},type:"primary",onClick:lr,children:Lr("DDSAnnotator.save")})]}):(0,C.jsx)(C.Fragment,{children:(0,C.jsx)(x.ZP,{style:{alignSelf:"flex-end"},type:"primary",onClick:function(){return da({aiLabels:Un})},children:Lr("DDSAnnotator.smart.annotate")})})),Te===B.ru.Mask&&yt===B.HE.SegmentEverything&&An===B.jB.AutoSegmentEverything&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)("div",{id:"param-controls",className:"dds-annotator-smart-container-content-param-controls",children:[(0,C.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item",children:[(0,C.jsx)("div",{className:"dds-annotator-smart-container-content-param-item-title",children:Lr("DDSAnnotator.smart.iouThres")}),(0,C.jsx)(ca.Z,{className:"dds-annotator-smart-container-content-param-item-slider",value:1-rr.predIouThresh,onChange:function(Gr){return Jn(function(Jr){Jr.predIouThresh=1-Gr})},min:0,max:.99,step:.01,reverse:!0,tooltip:{formatter:function(Gr){return"".concat(Math.floor((1-Gr)*100),"%")},getPopupContainer:function(){return document.getElementById("param-controls")}}})]}),(0,C.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item",children:[(0,C.jsx)("div",{className:"dds-annotator-smart-container-content-param-item-title",children:Lr("DDSAnnotator.smart.minArea")}),(0,C.jsx)(ca.Z,{className:"dds-annotator-smart-container-content-param-item-slider",value:rr.minMaskRegionArea/Ur,onChange:function(Gr){return Jn(function(Jr){Jr.minMaskRegionArea=Gr*Ur})},min:.01,max:.3,step:.01,tooltip:{formatter:function(Gr){return"".concat(Math.ceil(Gr*100),"%")},getPopupContainer:function(){return document.getElementById("param-controls")}}})]})]}),Sn?(0,C.jsxs)(Kn.Z,{className:"dds-annotator-smart-container-content-actions",style:{justifyContent:"flex-end"},children:[(0,C.jsx)(x.ZP,{onClick:function(){return da({segmentEverythingParams:rr})},children:Lr("DDSAnnotator.smart.retry")}),(0,C.jsx)(x.ZP,{type:"primary",onClick:function(){lr(),ia(B.ru.Mask,B.jB.AutoEdgeStitching)},children:Lr("DDSAnnotator.annotsEditor.finish")})]}):(0,C.jsx)(x.ZP,{style:{alignSelf:"flex-end"},type:"primary",onClick:function(){return da({segmentEverythingParams:rr})},children:Lr("DDSAnnotator.smart.annotate")})]})]})})]})}),Ie=Nt,cn=e(24454),dn=e.n(cn),_n=e(56592),Tn=e.n(_n),yr=e(99142),Wr=e(91169),Da=function(ye,Te){return ye.current===Te.current&&ye.total===Te.total&&ye.customText===Te.customText&&ye.customDisableNext===Te.customDisableNext},la=(0,g.memo)(function(Ze){var ye=Ze.current,Te=Ze.total,An=Ze.customText,yt=Ze.customDisableNext,Pn=Ze.onPrev,Sn=Pn===void 0?function(){return Promise.resolve()}:Pn,In=Ze.onNext,Un=In===void 0?function(){return Promise.resolve()}:In,ir=(0,z.bU)(),Mr=ir.localeText,pr=(0,g.useState)(!1),Ln=s()(pr,2),da=Ln[0],Rr=Ln[1],Yn=(0,g.useState)(!1),lr=s()(Yn,2),Nr=lr[0],ia=lr[1],Vr=function(){var rr=Tn()(dn()().mark(function Jn(){return dn()().wrap(function(Er){for(;;)switch(Er.prev=Er.next){case 0:return Rr(!0),Er.next=3,Sn();case 3:Rr(!1);case 4:case"end":return Er.stop()}},Jn)}));return function(){return rr.apply(this,arguments)}}(),Lr=function(){var rr=Tn()(dn()().mark(function Jn(){return dn()().wrap(function(Er){for(;;)switch(Er.prev=Er.next){case 0:return ia(!0),Er.next=3,Un();case 3:ia(!1);case 4:case"end":return Er.stop()}},Jn)}));return function(){return rr.apply(this,arguments)}}(),ga=ye<=0,aa=yt!=null?yt:ye>=Te-1;return(0,Oe.Z)(Le[Mt.PreviousImage].shortcut,function(){ga||Vr()},{exactMatch:!0}),(0,Oe.Z)(Le[Mt.NextImage].shortcut,function(){aa||Lr()},{exactMatch:!0}),(0,C.jsxs)("div",{className:"dds-annotator-toppagination",children:[(0,C.jsx)(T.Z,{title:Mr("DDSAnnotator.prev"),children:(0,C.jsx)(x.ZP,{className:c()("dds-annotator-toppagination-btn",{"dds-annotator-toppagination-btn-disabled":ga}),type:"primary",icon:(0,C.jsx)(yr.Z,{}),loading:da,onClick:Vr})}),An||(0,C.jsxs)("div",{className:"dds-annotator-toppagination-scale-text",children:[ye+1," / ",Te]}),(0,C.jsx)(T.Z,{title:Mr("DDSAnnotator.next"),children:(0,C.jsx)(x.ZP,{className:c()("dds-annotator-toppagination-btn",{"dds-annotator-toppagination-btn-disabled":aa}),type:"primary",icon:(0,C.jsx)(Wr.Z,{}),loading:Nr,onClick:Lr})})]})},Da),ea=function(ye){var Te=ye.mode,An=ye.currImageItem,yt=ye.modal,Pn=ye.framesData,Sn=ye.drawData,In=ye.editState,Un=ye.setEditState,ir=ye.hadChangeRecord,Mr=ye.categories,pr=ye.translateObject,Ln=ye.flagSaved,da=ye.onCancel,Rr=ye.onSave,Yn=ye.onCommit,lr=ye.onReviewModify,Nr=ye.onReviewAccept,ia=ye.onReviewReject,Vr=ye.classificationOptions,Lr=(0,z.bU)(),ga=Lr.localeText,aa=In.isRequiring,rr=function(Xr){return Un(function(K){K.isRequiring=Xr})},Jn=(0,g.useCallback)(function(Jr){var Xr=[];return Pn?Xr=Pn.objects.map(function(K){var F={};return K.forEach(function(ce,Me){if(ce&&!ce.frameEmpty){var ze=pr==null?void 0:pr(ce),Qe=ze.labelId,St=ze.attributes,At=ze.labelValue;F.labelId=Qe,F.attributes=St,F.labelValue||(F.labelValue={}),F.labelValue[String(Me)]=At}}),F}):Xr=Jr.objectList.map(function(K){return pr==null?void 0:pr(K)}),[(Pn==null?void 0:Pn.id)||(An==null?void 0:An.id)||"",[].concat(Xt()(Jr.classifications.map(function(K){var F,ce=Mr.find(function(Me){return Me.id===K.labelId});return t()(t()({},K),{},{attributes:K.attributes||(ce==null||(F=ce.attributes)===null||F===void 0?void 0:F.map(function(){return null}))||[]})})),Xt()(Xr)),Pn?It()({},Pn.activeIndex,{}):void 0]},[An,pr,Pn]),Fr=function(Xr){var K=[];return Vr==null||Vr.forEach(function(F,ce){var Me=Xr.find(function(ze){return ze.labelId===F.id});(!Me||[void 0,null,""].includes(Me.labelValue))&&K.push(ga("DDSAnnotator.save.check.classification",{idx:ce+1}))}),Xr.forEach(function(F,ce){var Me,ze=Mr.find(function(Qe){return Qe.id===F.labelId});ze!=null&&(Me=ze.attributes)!==null&&Me!==void 0&&Me.find(function(Qe,St){var At;return Qe.required&&[void 0,null,""].includes((At=F.attributes)===null||At===void 0?void 0:At[St])})&&K.push(ga("DDSAnnotator.save.check.label",{idx:ce+1,labelName:ze.labelName}))}),K.length>0?(n.Z.warning({width:480,title:ga("DDSAnnotator.save.check.error"),content:(0,C.jsxs)("div",{children:[K.map(function(F,ce){return(0,C.jsxs)("span",{children:[F,(0,C.jsx)("br",{})]},ce)}),(0,C.jsx)("span",{children:ga("DDSAnnotator.save.check.tip")})]})}),!0):!1},Er=function(){var Jr=Tn()(dn()().mark(function Xr(){var K,F,ce,Me;return dn()().wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(!(aa||!Rr)){Qe.next=2;break}return Qe.abrupt("return");case 2:if(K=Jn(Sn),F=s()(K,2),ce=F[0],Me=F[1],console.log(">>> save",ce,Me),!Fr(Me)){Qe.next=6;break}return Qe.abrupt("return");case 6:return rr(!0),Qe.prev=7,Qe.next=10,Rr(ce,Me);case 10:Ln==null||Ln(),Qe.next=16;break;case 13:Qe.prev=13,Qe.t0=Qe.catch(7),console.error(Qe.t0);case 16:rr(!1);case 17:case"end":return Qe.stop()}},Xr,null,[[7,13]])}));return function(){return Jr.apply(this,arguments)}}(),jr=function(){var Jr=Tn()(dn()().mark(function Xr(){var K,F,ce,Me;return dn()().wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(!(aa||!Yn)){Qe.next=2;break}return Qe.abrupt("return");case 2:if(K=Jn(Sn),F=s()(K,2),ce=F[0],Me=F[1],!Fr(Me)){Qe.next=5;break}return Qe.abrupt("return");case 5:return rr(!0),Qe.prev=6,Qe.next=9,Yn(ce,Me);case 9:Qe.next=14;break;case 11:Qe.prev=11,Qe.t0=Qe.catch(6),console.error(Qe.t0);case 14:rr(!1);case 15:case"end":return Qe.stop()}},Xr,null,[[6,11]])}));return function(){return Jr.apply(this,arguments)}}(),Cr=function(){var Jr=Tn()(dn()().mark(function Xr(){return dn()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:Te===Q.je.Review&&ia&&ia.apply(void 0,Xt()(Jn(Sn)));case 1:case"end":return F.stop()}},Xr)}));return function(){return Jr.apply(this,arguments)}}(),Ur=function(){var Jr=Tn()(dn()().mark(function Xr(){return dn()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:Te===Q.je.Review&&Nr&&Nr.apply(void 0,Xt()(Jn(Sn)));case 1:case"end":return F.stop()}},Xr)}));return function(){return Jr.apply(this,arguments)}}(),Yr=function(){var Jr=Tn()(dn()().mark(function Xr(){return dn()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:Te===Q.je.Review&&lr&&lr.apply(void 0,Xt()(Jn(Sn)));case 1:case"end":return F.stop()}},Xr)}));return function(){return Jr.apply(this,arguments)}}(),Gr=function(){var Jr=Tn()(dn()().mark(function Xr(){return dn()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(!(Te===Q.je.Edit&&ir)){F.next=3;break}return yt.confirm({getContainer:function(){return document.body},content:ga("DDSAnnotator.confirmLeave.content"),cancelText:ga("DDSAnnotator.confirmLeave.cancel"),okText:ga("DDSAnnotator.confirmLeave.ok"),okButtonProps:{danger:!0},onOk:function(){da&&da()}}),F.abrupt("return");case 3:da&&da();case 4:case"end":return F.stop()}},Xr)}));return function(){return Jr.apply(this,arguments)}}();return{onSaveAnnotations:Er,onCommitAnnotations:jr,onCancelAnnotations:Gr,onRejectAnnotations:Cr,onAcceptAnnotations:Ur,onModifyAnnotations:Yr}},oa=ea,Ir=e(97375),$r;(function(Ze){})($r||($r={}));function pa(Ze,ye,Te){return La.apply(this,arguments)}function La(){return La=Tn()(dn()().mark(function Ze(ye,Te,An){var yt;return dn()().wrap(function(Sn){for(;;)switch(Sn.prev=Sn.next){case 0:return yt="".concat("https://api.deepdataspace.com","/tasks/").concat(ye),Sn.abrupt("return",(0,Ir.request)(yt,t()({method:"POST",data:t()({},Te)},An||{hideCodeErrorMsg:!0})));case 2:case"end":return Sn.stop()}},Ze)})),La.apply(this,arguments)}function lo(Ze,ye){var Te="".concat("https://api.deepdataspace.com","/task_statuses/").concat(Ze);return(0,Ir.request)(Te,t()({method:"GET"},ye||{}))}function Qa(Ze,ye){return Gt.apply(this,arguments)}function Gt(){return Gt=Tn()(dn()().mark(function Ze(ye,Te){var An,yt,Pn,Sn,In=arguments;return dn()().wrap(function(ir){for(;;)switch(ir.prev=ir.next){case 0:An=In.length>2&&In[2]!==void 0?In[2]:5e3,yt=In.length>3&&In[3]!==void 0?In[3]:1e3,Pn=0;case 3:if(!(PnYt?ln.score:Yt},((K=F[0])===null||K===void 0?void 0:K.score)||0),Qe=F.map(function(Yt){var ln=t()({},(0,Sr.JP)(Yt.bbox,Un,ir)),Hn=Yt.score/ze;return{rect:t()(t()({},ln),{},{visible:!0}),labelId:Sn.latestLabelId,type:B.gr.Rectangle,hidden:!1,status:Hn>=Me?Q.TK.Checked:Q.TK.Unchecked,conf:Hn,color:Mr(Sn.latestLabelId,!0)}}).reverse(),Pn(function(Yt){Yt.isBatchEditing=!0,Yt.limitConf=Me;var ln=Yt.objectList.filter(function(Hn){return(Hn==null?void 0:Hn.status)===Q.TK.Commited});Yt.objectList=[].concat(Xt()(ln),Xt()(Qe)),Yt.creatingObject&&Yt.objectList[Yt.activeObjectIndex]&&(Yt.creatingObject=t()({},Yt.objectList[Yt.activeObjectIndex])),Yt.prompt.sessionId=Xr}),At.abrupt("return",!0);case 18:case"end":return At.stop()}},jr)}));return function(Cr,Ur){return Er.apply(this,arguments)}}(),ia=function(){var Er=Tn()(dn()().mark(function jr(Cr,Ur){var Yr,Gr,Jr,Xr,K,F,ce,Me;return dn()().wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(!(!Te||!Ur)){Qe.next=2;break}return Qe.abrupt("return");case 2:if(Yr={prompts:lr(Ur||[]),labelTypes:["bbox"]},!Cr.prompt.sessionId){Qe.next=7;break}Object.assign(Yr,{sessionId:Cr.prompt.sessionId}),Qe.next=11;break;case 7:return Qe.next=9,zr(Te.url);case 9:Gr=Qe.sent,Object.assign(Yr,{promptImage:Gr,inferImage:Gr});case 11:return Qe.next=13,yn(B.HE.IVP,Yr);case 13:if(Jr=Qe.sent,Xr=Jr.result,K=Jr.sessionId,!Xr){Qe.next=22;break}return F=Xr.objects,ce=.3,Me=F.filter(function(St){return St.bbox}).map(function(St){var At=St.bbox,Yt=s()(At,4),ln=Yt[0],Hn=Yt[1],Dn=Yt[2],qn=Yt[3],Kr=(0,Sr.$S)((0,Sr.Aw)({xmin:ln,ymin:Hn,xmax:Dn,ymax:qn}),Un,ir);return{rect:t()(t()({},Kr),{},{visible:!0}),labelId:Sn.latestLabelId,type:B.gr.Rectangle,hidden:!1,status:St.score>=ce?Q.TK.Checked:Q.TK.Unchecked,conf:St.score,color:Mr(Sn.latestLabelId,!0)}}).reverse(),Pn(function(St){St.isBatchEditing=!0,St.limitConf=ce;var At=St.objectList.filter(function(Yt){return Yt.status===Q.TK.Commited});St.objectList=[].concat(Xt()(At),Xt()(Me)),St.creatingObject&&St.objectList[St.activeObjectIndex]&&(St.creatingObject=t()({},St.objectList[St.activeObjectIndex])),St.prompt.promptsQueue=Ur,St.prompt.sessionId=K,St.prompt.creatingPrompt=void 0}),Qe.abrupt("return",!0);case 22:case"end":return Qe.stop()}},jr)}));return function(Cr,Ur){return Er.apply(this,arguments)}}(),Vr=function(){var Er=Tn()(dn()().mark(function jr(Cr,Ur){var Yr,Gr,Jr,Xr,K,F,ce;return dn()().wrap(function(ze){for(;;)switch(ze.prev=ze.next){case 0:if(!(!Te||!Ur)){ze.next=2;break}return ze.abrupt("return");case 2:if(Yr={prompts:lr(Ur||[]),labelTypes:["mask"]},!Cr.prompt.sessionId){ze.next=7;break}Object.assign(Yr,{sessionId:Cr.prompt.sessionId}),ze.next=11;break;case 7:return ze.next=9,zr(Te.url);case 9:Gr=ze.sent,Object.assign(Yr,{promptImage:Gr,inferImage:Gr});case 11:return ze.next=13,yn(B.HE.IVP,Yr);case 13:if(Jr=ze.sent,Xr=Jr.result,K=Jr.sessionId,!Xr){ze.next=22;break}return In(function(Qe){Qe.annotsDisplayOptions.colorByCategory=!1}),F=Xr.objects,ce=F.filter(function(Qe){return!!Qe.mask}).map(function(Qe){var St,At=Mr(Sn.latestLabelId),Yt=((St=Qe.mask)===null||St===void 0?void 0:St.counts)||"";return{type:B.gr.Mask,hidden:!1,labelId:Sn.latestLabelId,maskRle:Yt,maskCanvasElement:(0,Gn.ei)(Yt,Un,At),status:Q.TK.Checked,conf:Qe.score,color:Mr(Sn.latestLabelId,!0)}}),Pn(function(Qe){Qe.isBatchEditing=!0;var St=Qe.objectList.filter(function(At){return At.status===Q.TK.Commited});Qe.objectList=[].concat(Xt()(St),Xt()(ce)),Qe.creatingObject&&Qe.objectList[Qe.activeObjectIndex]&&(Qe.creatingObject=t()({},Qe.objectList[Qe.activeObjectIndex])),Qe.prompt.promptsQueue=Ur,Qe.prompt.sessionId=K,Qe.prompt.creatingPrompt=void 0}),ze.abrupt("return",!0);case 22:case"end":return ze.stop()}},jr)}));return function(Cr,Ur){return Er.apply(this,arguments)}}(),Lr=function(){var Er=Tn()(dn()().mark(function jr(Cr,Ur){var Yr,Gr,Jr,Xr,K,F,ce,Me;return dn()().wrap(function(Qe){for(;;)switch(Qe.prev=Qe.next){case 0:if(Ur){Qe.next=2;break}return Qe.abrupt("return");case 2:return Qe.next=4,Yn(Cr,{density:Cr.pointResolution,prompts:lr(Ur||[])});case 4:return Yr=Qe.sent,Qe.next=7,yn(B.HE.SegmentByPolygon,Yr);case 7:if(Gr=Qe.sent,Jr=Gr.result,Xr=Gr.sessionId,!Jr){Qe.next=17;break}if(K=Jr.polygons,!(K&&K.length>0)){Qe.next=17;break}return ce=K.filter(function(St){return St.length>=6}).map(function(St){for(var At=[],Yt=0;Yt-1&&Xr[Cr.activeObjectIndex]&&Cr.creatingObject&&(Xr[Cr.activeObjectIndex]=t()(t()({},Xr[Cr.activeObjectIndex]),Cr.creatingObject)),K=Xr.filter(function(ln){return ln.type===B.gr.Skeleton&&ln.status===Q.TK.Checked}),K.length>0&&(F=K.map(function(ln){return{keypoints:ln.keypoints?(0,Sr.$G)(ln.keypoints.points,Un,ir).points:void 0,bbox:ln.rect?(0,Sr.cx)(ln.rect,ir,Un):void 0}}),Object.assign(Jr,{objects:F}))),Yt.next=7,yn(B.HE.Pose,Jr);case 7:if(ce=Yt.sent,Me=ce.result,ze=ce.sessionId,!Me){Yt.next=16;break}if(Qe=Me.objects,!(Qe&&Qe.length>0)){Yt.next=16;break}return St=Qe.map(function(ln){var Hn=ln.bbox,Dn=ln.keypoints,qn=ln.score,Kr={labelId:Sn.latestLabelId,color:Mr(Sn.latestLabelId),type:B.gr.Skeleton,hidden:!1,conf:qn,status:Q.TK.Checked};if(Hn){var na=(0,Sr.JP)(Hn,Un,ir);Object.assign(Kr,{rect:t()({visible:!0},na)})}if(Dn&&Ur&&Gr&&Yr){var Or=(0,Sr.OX)(Dn,Yr,Gr,Un,ir);Object.assign(Kr,{keypoints:{points:Or,lines:Ur}})}return Kr}),Pn(function(ln){ln.isBatchEditing||(ln.isBatchEditing=!0);var Hn=ln.objectList.filter(function(Dn){return Dn.status===Q.TK.Commited});ln.objectList=[].concat(Xt()(Hn),Xt()(St)),ln.creatingObject&&ln.objectList[ln.activeObjectIndex]&&(ln.creatingObject=t()({},ln.objectList[ln.activeObjectIndex])),ln.prompt.sessionId=ze}),Yt.abrupt("return",!0);case 16:case"end":return Yt.stop()}},jr)}));return function(Cr){return Er.apply(this,arguments)}}(),rr=function(){var Er=Tn()(dn()().mark(function jr(Cr){var Ur,Yr,Gr,Jr,Xr,K,F,ce,Me,ze,Qe,St,At,Yt,ln;return dn()().wrap(function(Dn){for(;;)switch(Dn.prev=Dn.next){case 0:if(!(!((Ur=Cr.prompt.creatingPrompt)!==null&&Ur!==void 0&&Ur.stroke)||!((Yr=Cr.prompt.creatingPrompt)!==null&&Yr!==void 0&&Yr.radius))){Dn.next=2;break}return Dn.abrupt("return");case 2:if(Jr=Cr.prompt.creatingPrompt,Xr=Jr.stroke,K=Jr.radius,F=Cr.objectList.filter(function(qn){return qn.type===B.gr.Mask}),!(F.length<2)){Dn.next=8;break}return S.ZP.error(Ln("DDSAnnotator.smart.tip.edgeStitchError")),yt(function(qn){qn.prompt.creatingPrompt=void 0}),Dn.abrupt("return");case 8:return ce=F.map(function(qn){return{counts:qn.maskRle||"",size:[Un.height,Un.width]}}),Me=Xr.reduce(function(qn,Kr){var na=Kr.x,Or=Kr.y,ba=(0,Sr.AR)([na,Or],Un,ir);return qn.concat([ba.x,ba.y])},[]),Dn.next=12,Yn(Cr,{masks:ce,prompts:[{type:Q.Ae.Stroke,stroke:Me,radius:K}]});case 12:return ze=Dn.sent,Dn.next=15,yn(B.HE.MaskEdgeStitching,ze);case 15:if(Qe=Dn.sent,St=Qe.result,At=Qe.sessionId,!(St&&((Gr=St.masks)===null||Gr===void 0?void 0:Gr.length)>0)){Dn.next=23;break}return Yt=F.map(function(qn,Kr){var na,Or,ba=((na=St.masks)===null||na===void 0||(Or=na[Kr])===null||Or===void 0?void 0:Or.counts)||"";return t()(t()({},qn),{},{maskRle:ba,maskCanvasElement:(0,Gn.ei)(ba,Un,qn.color)})}),ln=Cr.objectList.filter(function(qn){return qn.type!==B.gr.Mask}),Pn(function(qn){qn.objectList=[].concat(Xt()(ln),Xt()(Yt)),qn.prompt.creatingPrompt=void 0,qn.prompt.sessionId=At}),Dn.abrupt("return",!0);case 23:case"end":return Dn.stop()}},jr)}));return function(Cr){return Er.apply(this,arguments)}}(),Jn=function(){var Er=Tn()(dn()().mark(function jr(Cr){var Ur,Yr,Gr,Jr,Xr;return dn()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(Te){F.next=2;break}return F.abrupt("return");case 2:return F.t0=t(),F.next=5,zr(Te.url);case 5:return F.t1=F.sent,F.t2={image:F.t1},F.t3=Cr,Yr=(0,F.t0)(F.t2,F.t3),F.next=11,yn(B.HE.SegmentEverything,Yr);case 11:if(Gr=F.sent,Jr=Gr.result,!(Jr&&((Ur=Jr.masks)===null||Ur===void 0?void 0:Ur.length)>0)){F.next=18;break}return In(function(ce){ce.annotsDisplayOptions.colorByCategory=!1}),Xr=Jr.masks.map(function(ce){var Me=Mr(Sn.latestLabelId),ze=(ce==null?void 0:ce.counts)||"";return{type:B.gr.Mask,hidden:!1,labelId:Sn.latestLabelId,maskRle:ze,maskCanvasElement:(0,Gn.ei)(ze,Un,Me),conf:1,status:Q.TK.Checked,color:Me}}),Pn(function(ce){ce.objectList=Xr,ce.isBatchEditing=!0}),F.abrupt("return",!0);case 18:case"end":return F.stop()}},jr)}));return function(Cr){return Er.apply(this,arguments)}}(),Fr=(0,g.useCallback)(function(){var Er=Tn()(dn()().mark(function jr(Cr){var Ur,Yr,Gr,Jr,Xr,K,F,ce,Me,ze;return dn()().wrap(function(St){for(;;)switch(St.prev=St.next){case 0:if(Ur=Cr.type,Yr=Cr.drawData,Gr=Cr.aiLabels,Jr=Cr.promptsQueue,Xr=Cr.segmentEverythingParams,!(Sn.isRequiring||!Te)){St.next=3;break}return St.abrupt("return");case 3:K=Yr||An,F=S.ZP.loading(Ln("DDSAnnotator.smart.msg.loading"),1e5),St.prev=5,Rr(!0),In(function(At){At.isRequiring=!0}),ce=Ur||B.Zo[K.selectedTool],St.t0=ce,St.next=St.t0===B.gr.Rectangle?12:St.t0===B.gr.Skeleton?22:St.t0===B.gr.Polygon?26:St.t0===B.gr.Mask?30:54;break;case 12:if(K.selectedModel[K.selectedTool]!==B.HE.Detection){St.next=18;break}return St.next=15,Nr(K,Gr||"");case 15:Me=St.sent,St.next=21;break;case 18:return St.next=20,ia(K,Jr);case 20:Me=St.sent;case 21:return St.abrupt("break",56);case 22:return St.next=24,aa(K);case 24:return Me=St.sent,St.abrupt("break",56);case 26:return St.next=28,Lr(K,Jr);case 28:return Me=St.sent,St.abrupt("break",56);case 30:if(ze=K.selectedModel[K.selectedTool],ze!==B.HE.SegmentEverything){St.next=44;break}if(K.selectedSubTool!==B.jB.AutoEdgeStitching){St.next=38;break}return St.next=35,rr(K);case 35:Me=St.sent,St.next=42;break;case 38:if(K.selectedSubTool!==B.jB.AutoSegmentEverything){St.next=42;break}return St.next=41,Jn(Xr);case 41:Me=St.sent;case 42:St.next=53;break;case 44:if(ze!==B.HE.IVP){St.next=50;break}return St.next=47,Vr(K,Jr);case 47:Me=St.sent,St.next=53;break;case 50:return St.next=52,ga(K,Jr);case 52:Me=St.sent;case 53:return St.abrupt("break",56);case 54:return S.ZP.warning("Plan to Support!"),St.abrupt("break",56);case 56:Me&&S.ZP.success(Ln("DDSAnnotator.smart.msg.success")),St.next=63;break;case 59:St.prev=59,St.t1=St.catch(5),Pn(function(At){At.prompt.creatingPrompt&&(At.prompt.creatingPrompt=void 0)}),S.ZP.error(Ln("DDSAnnotator.smart.msg.error"));case 63:return St.prev=63,Rr(!1),In(function(At){At.isRequiring=!1}),yt(function(At){At.prompt.activeRectWhileLoading=void 0}),F(),St.finish(63);case 69:case"end":return St.stop()}},jr,null,[[5,59,63,69]])}));return function(jr){return Er.apply(this,arguments)}}(),[An]);return{onAiAnnotation:Fr}},Xa=xa;function bo(Ze){var ye=Ze.setDrawDataWithHistory,Te=Ze.categories,An=(0,g.useCallback)(function(Sn,In){var Un=Te.find(function(ir){return ir.id===Sn.labelId});if(Un!=null&&Un.attributes&&Un.attributes.length>0)return{index:In,labelId:Sn.labelId,attributes:Un.attributes,values:Sn.attributes||[]}},[Te]),yt=(0,g.useCallback)(function(Sn){ye(function(In){if(In.editingAttribute){if(In.objectList[In.editingAttribute.index])In.objectList[In.editingAttribute.index].attributes=Sn;else{var Un=In.classifications.findIndex(function(Mr){var pr;return Mr.labelId===((pr=In.editingAttribute)===null||pr===void 0?void 0:pr.labelId)});if(Un>-1)In.classifications[Un].attributes=Sn;else{var ir;In.classifications.push({labelId:(ir=In.editingAttribute)===null||ir===void 0?void 0:ir.labelId,labelValue:null,attributes:Sn})}}In.editingAttribute=void 0}})},[]),Pn=function(){ye(function(In){In.editingAttribute=void 0})};return{judgeEditingAttribute:An,onConfirmAttibuteEdit:yt,onCancelAttibuteEdit:Pn}}var Oo=e(95073),Va=e(43112),xo=e(5397),io=e(21325),Ca=e(68716),_a={screenX:NaN,screenY:NaN,clientX:NaN,clientY:NaN,pageX:NaN,pageY:NaN,elementX:NaN,elementY:NaN,elementH:NaN,elementW:NaN,elementPosX:NaN,elementPosY:NaN},Io=function(Ze){var ye=(0,Va.CR)((0,xo.Z)(_a),2),Te=ye[0],An=ye[1];return(0,io.Z)("mousemove",function(yt){var Pn=yt.screenX,Sn=yt.screenY,In=yt.clientX,Un=yt.clientY,ir=yt.pageX,Mr=yt.pageY,pr={screenX:Pn,screenY:Sn,clientX:In,clientY:Un,pageX:ir,pageY:Mr,elementX:NaN,elementY:NaN,elementH:NaN,elementW:NaN,elementPosX:NaN,elementPosY:NaN},Ln=(0,Ca.n)(Ze);if(Ln){var da=Ln.getBoundingClientRect(),Rr=da.left,Yn=da.top,lr=da.width,Nr=da.height;pr.elementPosX=Rr+window.pageXOffset,pr.elementPosY=Yn+window.pageYOffset,pr.elementX=ir-pr.elementPosX,pr.elementY=Mr-pr.elementPosY,pr.elementW=lr,pr.elementH=Nr}An(pr)},{target:function(){return document}}),Te},Yo=e(41260);function ni(Ze){var ye=Ze.isRequiring,Te=Ze.visible,An=Ze.minPadding,yt=An===void 0?{top:0,left:0}:An,Pn=Ze.allowMove,Sn=Ze.drawData,In=Ze.cursorSize,Un=Ze.onClickMaskBg,ir=Ze.hideReferenceLine,Mr=(0,g.useRef)(null),pr=(0,Oo.Z)(function(){return Mr.current}),Ln=Io(function(){return Mr.current}),da=(0,g.useState)({width:0,height:0}),Rr=s()(da,2),Yn=Rr[0],lr=Rr[1],Nr=(0,M.x)({width:Yn.width,height:Yn.height,scale:1}),ia=s()(Nr,2),Vr=ia[0],Lr=ia[1],ga=(0,g.useRef)({x:0,y:0}),aa=(0,g.useRef)(void 0),rr=(0,g.useMemo)(function(){return t()(t()({},Ln),{},{elementW:Vr.width,elementH:Vr.height,elementX:Ln.elementX-ga.current.x,elementY:Ln.elementY-ga.current.y})},[Ln,Vr]),Jn=(0,M.x)(null),Fr=s()(Jn,2),Er=Fr[0],jr=Fr[1],Cr=function(Dn,qn){if(Dn!=null&&Dn.width&&qn!==null&&qn!==void 0&&qn.height){var Kr=qn.width,na=qn.height,Or=(0,Sr.t9)(Dn.width,Dn.height,Kr-yt.left*2,na-yt.top*2),ba=s()(Or,3),Pa=ba[0],Za=ba[1],to=ba[2];ga.current={x:(Kr-Pa)*.5,y:(na-Za)*.5},Lr({scale:to,width:Dn.width*to,height:Dn.height*to}),aa.current=void 0}};(0,g.useEffect)(function(){Yn&&pr&&Cr(Yn,pr)},[pr]);var Ur=function(){if(pr){var Dn=pr==null?void 0:pr.width,qn=pr==null?void 0:pr.height,Kr=.5,na=.5,Or=Dn/2,ba=qn/2;aa.current&&(Kr=aa.current.posRatioX,na=aa.current.posRatioY,Or=aa.current.mouseX,ba=aa.current.mouseY);var Pa=Or-Vr.width*Kr,Za=ba-Vr.height*na;ga.current={x:Pa,y:Za}}};(0,g.useEffect)(function(){Ur()},[Vr]);var Yr=function(Dn,qn,Kr){!Te||ye||Lr(function(na){var Or=Dn?Math.min(B.Fv,(0,Yo.O)(na.scale+qn,2)):Math.max(B.vL,(0,Yo.O)(na.scale-qn,2));if((!aa.current||Ln.elementX!==aa.current.mouseX||Ln.elementY!==aa.current.mouseY)&&!Kr&&!isNaN(rr.elementX)&&!isNaN(Ln.elementX)&&Vr.width){var ba={posRatioX:rr.elementX/Vr.width,posRatioY:rr.elementY/Vr.height,mouseX:Ln.elementX,mouseY:Ln.elementY};aa.current=ba}na.scale=Or,na.width=Yn.width*Or,na.height=Yn.height*Or})},Gr=(0,g.useCallback)(function(){Yr(!0,B.yj,!0)},[B.yj,Yr]),Jr=(0,g.useCallback)(function(){Yr(!1,B.yj,!0)},[B.yj,Yr]),Xr=function(Dn){if(!(!Te||ye)){var qn=Dn.deltaY;qn>0?Yr(!1,B.oP):qn<0&&Yr(!0,B.oP)}},K=(0,g.useCallback)(function(){aa.current=void 0,pr&&Yn&&Cr(Yn,pr)},[Yn.width,Yn.height,pr==null?void 0:pr.width,pr==null?void 0:pr.height]);(0,g.useEffect)(function(){Te||(lr({width:0,height:0}),Lr({scale:1,width:0,height:0}),ga.current={x:0,y:0},aa.current=void 0)},[Te]);var F=(0,g.useState)(!1),ce=s()(F,2),Me=ce[0],ze=ce[1];(0,io.Z)("mousedown",function(){!Te||!Mr.current||!(0,Sr.jt)(Ln)||(ze(!0),jr({x:rr.elementX,y:rr.elementY}))}),(0,io.Z)("mousemove",function(){if(Te&&Er&&Pn&&Me){var Hn=rr.elementX-Er.x,Dn=rr.elementY-Er.y,qn=ga.current,Kr=qn.x,na=qn.y;ga.current={x:Kr+Hn,y:na+Dn}}}),(0,io.Z)("mouseup",function(){if(ze(!1),!(!Te||!Pn)&&Er){jr(null);return}}),(0,g.useEffect)(function(){jr(Pn?{x:rr.elementX,y:rr.elementY}:null)},[Pn]);var Qe=function(Dn,qn){var Kr=Dn.target,na={width:Kr.naturalWidth,height:Kr.naturalHeight};lr(na),pr&&na&&!qn&&Cr(na,pr)},St=function(Dn){(0,Sr.jt)(rr)||Un==null||Un(Dn)},At=(0,g.useMemo)(function(){var Hn=[B.jB.AutoEdgeStitching,B.jB.AutoSegmentByStroke,B.jB.BrushAdd,B.jB.BrushErase].includes(Sn.selectedSubTool);return Sn.creatingObject&&Sn.activeObjectIndex>-1&&[B.gr.Mask,B.gr.Polygon].includes(Sn.creatingObject.type)?Hn:Sn.selectedTool!==B.ru.Drag&&!Sn.isBatchEditing?[B.ru.Mask,B.ru.Polygon].includes(Sn.selectedTool)&&Hn:!1},[Sn.selectedTool,Sn.selectedSubTool]),Yt=(0,g.useMemo)(function(){return Sn.selectedTool!==B.ru.Drag&&!At&&!ir},[Sn.selectedTool,At,ir]),ln=function(Dn){var qn=Dn.children,Kr=Dn.className;return Te?(0,C.jsxs)("div",{ref:Mr,onWheel:Xr,onClick:St,className:Kr,children:[qn,Yt&&!Pn&&(0,Sr.jt)(rr)&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{style:{position:"absolute",backgroundColor:"#fff",width:Ln.elementX-18,height:1,left:0,top:0,transform:"translateY(".concat(Ln.elementY,"px)")}}),(0,C.jsx)("div",{style:{position:"absolute",backgroundColor:"#fff",height:1,width:Ln.elementW-Ln.elementX-18,right:0,top:0,transform:"translateY(".concat(Ln.elementY,"px)")}}),(0,C.jsx)("div",{style:{position:"absolute",backgroundColor:"#fff",width:1,height:Ln.elementY-18,left:0,top:0,transform:"translateX(".concat(Ln.elementX-1,"px")}}),(0,C.jsx)("div",{style:{position:"absolute",backgroundColor:"#fff",width:1,height:Ln.elementH-Ln.elementY-18,left:0,bottom:0,transform:"translateX(".concat(Ln.elementX-1,"px")}})]}),At&&In>0&&(0,Sr.jt)(Ln)&&(0,Sr.jt)(rr)&&!Pn&&(0,C.jsx)("div",{style:{position:"fixed",backgroundColor:"rgba(255, 255, 255, 0.5)",border:"1px solid rgba(255, 255, 255, 0.7)",width:In*Vr.scale,height:In*Vr.scale,borderRadius:In*Vr.scale/2,left:0,top:0,transformOrigin:"top left",transform:"translate(".concat(Ln.clientX-In*Vr.scale/2,"px, ").concat(Ln.clientY-In*Vr.scale/2,"px)")}})]}):null};return{CanvasContainer:ln,scale:Vr.scale,containerRef:Mr,naturalSize:Yn,clientSize:{width:Vr.width,height:Vr.height},containerSize:pr,containerMouse:t()(t()({},Ln),{},{elementW:(pr==null?void 0:pr.width)||Ln.elementW,elementH:(pr==null?void 0:pr.height)||Ln.elementH}),contentMouse:rr,imagePos:ga,isMousePress:Me,onLoadImg:Qe,onZoomIn:Gr,onZoomOut:Jr,onWheelMove:Xr,onReset:K}}var co=function(ye){var Te=ye.index,An=ye.targetElement,yt=ye.imagePos;return(0,C.jsx)(k,{children:(0,C.jsx)("div",{className:"dds-annotator-popover-menu",style:{left:An.x+yt.x+5,top:An.y+yt.y+5},children:(0,C.jsx)("div",{className:"dds-annotator-popover-menu-content",children:(0,C.jsx)("span",{className:"dds-annotator-popover-menu-text",children:"".concat(Te+1," ").concat(An.name)})})})})},Mi=co,ai=e(34095),Po=e(14464),li=e(81179),Pi=function(ye){var Te=ye.visible,An=ye.drawData,yt=ye.editState,Pn=ye.clientSize,Sn=ye.imagePos,In=ye.containerMouse,Un=ye.canvasRef,ir=ye.activeCanvasRef,Mr=ye.imgRef,pr=ye.objectHooksMap,Ln=ye.videoLoading,da=function(rr,Jn,Fr){var Er=[(0,Po.a7)(Jn,ai.rl.DEFAULT),(0,Po.a7)(Jn,ai.mh.DEFAULT),ai.s_.DEFAULT],jr=Er[0],Cr=Er[1],Ur=Er[2];return Fr==="focus"?(Ur=ai.s_.FOCUS,jr=(0,Po.a7)(Jn,ai.rl.FOCUS),Cr=(0,Po.a7)(Jn,ai.mh.FOCUS)):Fr==="editing"?(Ur=ai.s_.CREATING,jr=(0,Po.a7)(Jn,ai.rl.CREATING),Cr=(0,Po.a7)(Jn,ai.mh.CREATING)):Fr==="creating"&&(Ur=ai.s_.CREATING,jr=ai.XQ.CREATING,Cr=ai.Bt.CREATING),t()({strokeColor:jr,fillColor:Cr,maskAlpha:Ur,strokeDash:[0],thickness:2,pointAplha:1},rr.customStyles||{})},Rr=function(rr){var Jn=da(rr,rr.color,"creating");pr[rr.type].renderCreatingObject({object:rr,color:rr.color,styles:Jn})},Yn=function(rr){if(!rr.hidden){var Jn=(0,Sr.lT)(rr,{x:-Sn.current.x,y:-Sn.current.y}),Fr=yt.focusObjectIndex===An.activeObjectIndex,Er=da(rr,rr.color,Fr?"focus":"editing");pr[rr.type].renderEditingObject({object:Jn,color:rr.color,styles:Er,isFocus:Fr})}},lr=function(rr){var Jn=rr.prompt;if(Jn.creatingPrompt||Jn.promptsQueue||Jn.activeRectWhileLoading){var Fr,Er;rr.selectedTool===B.ru.Mask||((Fr=rr.creatingObject)===null||Fr===void 0?void 0:Fr.type)===B.gr.Mask?pr[B.gr.Mask].renderPrompt({prompt:Jn}):rr.selectedTool===B.ru.Polygon||((Er=rr.creatingObject)===null||Er===void 0?void 0:Er.type)===B.gr.Polygon?pr[B.gr.Polygon].renderPrompt({prompt:Jn}):rr.selectedTool===B.ru.Rectangle&&rr.selectedModel[rr.selectedTool]===B.HE.IVP&&pr[B.gr.Rectangle].renderPrompt({prompt:Jn})}},Nr=function(rr){if(!(!Te||!ir.current)){(0,li.ix)(ir.current,{width:In.elementW,height:In.elementH}),ir.current.getContext("2d").imageSmoothingEnabled=!1,(0,li.UN)(ir.current);var Jn=rr||An;Jn.creatingObject&&(Jn.activeObjectIndex>-1?Yn(Jn.creatingObject):Rr(Jn.creatingObject)),lr(Jn)}},ia=function(rr,Jn){var Fr=(0,Sr.lT)(rr,{x:-Sn.current.x,y:-Sn.current.y}),Er=Fr.type,jr=da(rr,rr.color,Jn?"focus":void 0);(0,li.M5)(Un.current,An.creatingObject?.6:1),pr[Er].renderObject({object:Fr,color:rr.color,styles:jr,isFocus:Jn})},Vr=function(rr,Jn){rr.forEach(function(Fr,Er){var jr;Fr.hidden||Er===Jn||Er===yt.focusObjectIndex||Fr.frameEmpty||ia(Fr,((jr=An.editingAttribute)===null||jr===void 0?void 0:jr.index)===Er)})},Lr=function(rr){if(!(!Te||!Un.current||!Mr.current||!Mr.current.complete)){if(Ln){(0,li.UN)(Un.current);return}(0,li.ix)(Un.current,{width:In.elementW,height:In.elementH}),Un.current.getContext("2d").imageSmoothingEnabled=!1,(0,li.UN)(Un.current),(0,li.KJ)(Un.current,yt.imageDisplayOptions.brightness,yt.imageDisplayOptions.contrast,yt.imageDisplayOptions.saturate),(0,li.AE)(Un.current,Mr.current,{x:Sn.current.x,y:Sn.current.y,width:Pn.width,height:Pn.height}),(0,li.ku)(Un.current);var Jn=rr||An;Vr(Jn.objectList,Jn.activeObjectIndex),Nr(Jn),yt.focusObjectIndex>-1&&yt.focusObjectIndex!==An.activeObjectIndex&&Jn.objectList[yt.focusObjectIndex]&&!Jn.objectList[yt.focusObjectIndex].hidden&&!Jn.objectList[yt.focusObjectIndex].frameEmpty&&ia(Jn.objectList[yt.focusObjectIndex],!0)}},ga=function(){if(yt.focusObjectIndex>-1&&An.objectList[yt.focusObjectIndex]&&!An.objectList[yt.focusObjectIndex].hidden&&yt.focusEleIndex>-1&&yt.focusEleType===B.Yq.Circle){var rr,Jn,Fr=(rr=An.objectList[yt.focusObjectIndex].keypoints)===null||rr===void 0||(Jn=rr.points)===null||Jn===void 0?void 0:Jn[yt.focusEleIndex];if(Fr)return(0,C.jsx)(Mi,{index:yt.focusEleIndex,targetElement:Fr,imagePos:Sn.current})}return(0,C.jsx)(C.Fragment,{})};return{updateRender:Lr,renderPopoverMenu:ga}},hi=Pi;function yi(Ze){var ye=Ze.categories,Te=Ze.editState,An=Ze.forceColorByObject,yt=(0,g.useMemo)(function(){return(0,Po.Cj)(ye.map(function(Un){return Un.id}))},[ye]),Pn=(0,g.useRef)(0),Sn=function(ir){var Mr=.618;Pn.current=ir+Mr;var pr=(ir+Mr)%1,Ln=(0,Po.WE)(pr,.8,.95);return(0,Po.ZT)(Ln)};(0,g.useEffect)(function(){Pn.current=0},[Te.annotsDisplayOptions.colorByCategory]);var In=(0,g.useCallback)(function(Un,ir){if(!An&&(Te.annotsDisplayOptions.colorByCategory||ir)){var Mr=ye.find(function(pr){return pr.id===Un});return(Mr==null?void 0:Mr.renderColor)||yt[Un]||"#fff"}else return Sn(Pn.current)},[Te.annotsDisplayOptions.colorByCategory,yt,Sn,Pn.current,An]);return{labelColors:yt,getAnnotColor:In}}function Zi(Ze,ye){var Te=(0,g.useRef)(),An=(0,g.useRef)(),yt=typeof ye=="function"?ye(An.current,Ze):!0;yt&&(Te.current=An.current,An.current=Ze);var Pn=function(){Te.current=void 0};return[Te.current,Pn]}var ji=function(ye){var Te=ye.imagePos,An=ye.clientSize,yt=ye.naturalSize,Pn=ye.annotations,Sn=ye.setAnnotations,In=ye.drawData,Un=ye.setDrawData,ir=ye.setFramesData,Mr=ye.editState,pr=ye.setEditState,Ln=ye.initObjectList,da=ye.updateRender,Rr=ye.clearHistory,Yn=ye.objectsFilter,lr=ye.labelOptions,Nr=ye.customDefaultDrawData,ia=Zi(An),Vr=s()(ia,2),Lr=Vr[0],ga=Vr[1],aa=function(Cr,Ur){if(!(!An.width||!An.height||!yt.width||!yt.height)){if(!In.initialized||Cr)Ln(Ur||Pn);else if(In.initialized&&Lr){ir&&(ir==null||ir(function(Gr){Gr.objects=(0,Sr.nF)(Gr.objects,Lr,An)}));var Yr=(0,Sr.hv)(In,Lr,An);Un(Yr),da(Yr),ga()}}},rr=(0,g.useCallback)(function(){Un(t()(t()({},(0,m.cloneDeep)(Q.f7)),{},{brushSize:In.brushSize,selectedTool:In.selectedTool,selectedSubTool:In.selectedSubTool,selectedModel:In.selectedModel,AIAnnotation:In.AIAnnotation},Nr))},[Q.f7,Nr,In.brushSize,In.selectedSubTool,In.selectedTool,In.AIAnnotation]),Jn=(0,g.useCallback)(function(){var jr;pr(t()(t()({},(0,m.cloneDeep)(Q.rl)),{},{latestLabelId:(lr==null||(jr=lr[0])===null||jr===void 0?void 0:jr.id)||"",imageDisplayOptions:Mr.imageDisplayOptions,annotsDisplayOptions:Mr.annotsDisplayOptions}))},[Q.rl,lr,Mr.imageDisplayOptions,Mr.annotsDisplayOptions]),Fr=(0,g.useCallback)(function(jr){var Cr=jr!=null&&jr.objects?Xt()(jr==null?void 0:jr.objects):[],Ur=jr&&Yn?Yn(jr)||[]:Cr;Sn(Ur),aa(!0,Ur)},[Yn,aa]),Er=(0,g.useCallback)(function(jr){var Cr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ur=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;Sn([]),rr(),Jn(),Ur&&Rr(),Cr&&jr&&Fr(jr)},[rr,Jn,Rr,Fr]);return(0,g.useEffect)(function(){da()},[In,Mr,Te.current.x,Te.current.y]),(0,g.useEffect)(function(){aa()},[An.height,An.width]),(0,g.useEffect)(function(){aa(!0)},[yt.width,yt.height]),(0,g.useEffect)(function(){lr!=null&&lr.length&&pr(function(jr){if(!jr.latestLabelId||!lr.find(function(Ur){return Ur.id===jr.latestLabelId})){var Cr;jr.latestLabelId=(Cr=lr[0])===null||Cr===void 0?void 0:Cr.id}})},[lr]),{rebuildDrawData:aa,resetDataWithImageData:Er}},oo=ji,Ja=function(ye){var Te=ye.clientSize,An=ye.naturalSize,yt=ye.onAutoSave,Pn=ye.setDrawData,Sn=ye.translateObject,In=ye.framesData,Un=ye.setFramesData,ir=(0,g.useRef)(!1),Mr=(0,M.x)([]),pr=s()(Mr,2),Ln=pr[0],da=pr[1],Rr=(0,g.useState)(0),Yn=s()(Rr,2),lr=Yn[0],Nr=Yn[1],ia=20,Vr=function(){ir.current=!1},Lr=function(Cr){if(yt){var Ur=Cr.drawData.objectList.map(function(Yr){return(Sn==null?void 0:Sn(Yr))||{}});yt(Ur,An)}},ga=(0,g.useCallback)(function(jr){Un==null||Un(function(Ur){if(jr.framesData){var Yr;Ur.activeIndex=(Yr=jr.framesData)===null||Yr===void 0?void 0:Yr.activeIndex,Ur.objects=(0,Sr.nF)(jr.framesData.objects,jr.clientSize,Te)}});var Cr=(0,Sr.hv)(jr.drawData,jr.clientSize,Te);Pn(Cr),Lr(jr)},[Te.width,Te.height]),aa=(0,g.useCallback)(function(){lr>0&&(Nr(function(jr){return ir.current=Ln.length>1&&jr-1!==0,jr-1}),ga(Ln[lr-1]))},[lr,Ln,ga]),rr=(0,g.useCallback)(function(){lr1&&jr+1!==0,jr+1}),ga(Ln[lr+1]))},[lr,Ln,ga]),Jn=function(Cr,Ur){var Yr=(0,m.cloneDeep)({drawData:Cr,clientSize:Te,framesData:Ur||In});da(function(Gr){var Jr,Xr,K;if(Gr[lr]&&(0,m.isEqual)(Yr,Gr[lr])||lr===0&&(0,m.isEqual)(Yr.drawData,(Jr=Gr[lr])===null||Jr===void 0?void 0:Jr.drawData))return Gr;!Ur&&Yr.framesData&&Un&&Yr.drawData.objectList.length&&!(0,m.isEqual)(Yr.drawData.objectList,(Xr=Gr[lr])===null||Xr===void 0||(K=Xr.drawData)===null||K===void 0?void 0:K.objectList)&&(Yr.framesData.objects=(0,Sr.cf)(Yr.drawData.objectList,Yr.framesData.objects,Yr.framesData.list.length,Yr.framesData.activeIndex,An),Un(function(F){F.objects=(0,m.cloneDeep)(Yr.framesData.objects)})),Gr.splice(lr+1),Gr.push(Yr),Gr.length>ia&&Gr.shift(),Nr(Gr.length-1),ir.current=Gr.length>1&&Gr.length-1!==0}),Lr(Yr)},Fr=(0,g.useCallback)(function(){da([])},[]),Er=function(Cr){typeof Cr=="function"?Pn(function(Ur){Cr(Ur),Jn((0,m.cloneDeep)(Ur))}):(Pn(Cr),Jn((0,m.cloneDeep)(Cr)))};return{updateHistory:Jn,undo:aa,redo:rr,clearHistory:Fr,setDrawDataWithHistory:Er,flagSaved:Vr,hadChangeRecord:ir.current}},ri=Ja;function oi(Ze){var ye=Ze.isOldMode,Te=Ze.categories,An=Ze.setCategories,yt=Ze.drawData,Pn=Ze.setDrawData,Sn=Ze.editState,In=Ze.updateObjectWithoutHistory,Un=Ze.updateAllObjectWithoutHistory,ir=(0,g.useState)(void 0),Mr=s()(ir,2),pr=Mr[0],Ln=Mr[1],da=yt.objectList,Rr=(0,g.useMemo)(function(){if(ye)return Te;if(yt.objectList[yt.activeObjectIndex]||yt.selectedTool!==B.ru.Drag){var aa=yt.objectList[yt.activeObjectIndex]?Object.keys(B.Zo).find(function(Jn){return yt.objectList[yt.activeObjectIndex].type===B.Zo[Jn]}):yt.selectedTool,rr=Object.keys(B.t).find(function(Jn){return aa===B.t[Jn]});return Te.filter(function(Jn){return Jn.labelType===rr})}return[]},[Te,yt.objectList,yt.activeObjectIndex,yt.selectedTool]),Yn=(0,g.useMemo)(function(){return(Te==null?void 0:Te.filter(function(aa){return aa.labelType===B.Ze.Classification}))||[]},[Te]),lr=(0,g.useCallback)(function(aa){Te.find(function(rr){return rr.name===aa})||!An||An(function(rr){return[].concat(Xt()(rr),[{id:aa,name:aa}])})},[Te]),Nr=(0,g.useCallback)(function(aa,rr){var Jn=t()({},yt.objectList[aa]);Jn.hidden=rr,In(Jn,aa)},[yt.objectList]),ia=(0,g.useCallback)(function(aa,rr){var Jn=yt.objectList.map(function(Fr){var Er,jr=t()({},Fr);return((Er=Te.find(function(Cr){return Cr.id===Fr.labelId}))===null||Er===void 0?void 0:Er.name)===aa&&(jr.hidden=rr),jr});Un(Jn)},[yt.objectList]),Vr=function(rr,Jn){var Fr=t()({},yt.objectList[Sn.focusObjectIndex]);switch(rr){case B.Yq.Rect:{Fr.rect&&(Fr.rect.visible=Jn,In(Fr,Sn.focusObjectIndex));break}case B.Yq.Polygon:{Fr.polygon&&(Fr.polygon.visible=Jn,In(Fr,Sn.focusObjectIndex));break}}},Lr=(0,g.useCallback)(function(aa,rr){var Jn,Fr,Er=(0,m.cloneDeep)(yt.objectList[yt.activeObjectIndex]),jr=(Jn=Er.keypoints)===null||Jn===void 0||(Fr=Jn.points)===null||Fr===void 0?void 0:Fr[aa];jr&&(jr.visible=rr),In(Er,yt.activeObjectIndex)},[yt.activeObjectIndex,yt.objectList]),ga=(0,g.useCallback)(function(aa){Pn(function(rr){aa!==rr.activeClassName&&(rr.activeClassName=aa)})},[]);return(0,g.useEffect)(function(){var aa;if(!(yt.activeObjectIndex<0)){var rr=((aa=Te.find(function(Jn){return Jn.id===yt.objectList[yt.activeObjectIndex].labelId}))===null||aa===void 0?void 0:aa.name)||"";rr!==yt.activeClassName&&ga(rr)}},[yt.activeObjectIndex]),{labelOptions:Rr,classificationOptions:Yn,aiLabels:pr,setAiLabels:Ln,curObjects:da,onChangeObjectHidden:Nr,onChangeCategoryHidden:ia,onChangeElementVisible:Vr,onChangePointVisible:Lr,onChangeActiveClass:ga,onCreateCategory:lr}}var No=function(ye){var Te=ye.topCanvas,An=ye.editState,yt=ye.drawData,Pn=(0,g.useCallback)(function(Sn,In){if(Te){var Un=Sn;if(In)switch(In){case Sr.Nm.TOP:case Sr.Nm.BOTTOM:Un="ns-resize";break;case Sr.Nm.TOP_LEFT:case Sr.Nm.BOTTOM_RIGHT:Un="nwse-resize";break;case Sr.Nm.BOTTOM_LEFT:case Sr.Nm.TOP_RIGHT:Un="nesw-resize";break;default:Un="ew-resize"}Un!==Te.style.cursor&&(Te.style.cursor=Un)}},[Te]);return(0,g.useEffect)(function(){An.allowMove?Pn("grabbing"):yt.selectedTool===B.ru.Drag?Pn("grab"):Pn("crosshair")},[An.allowMove]),{updateMouseCursor:Pn}},zo=No,xi=e(23671),Ui=e(53807),ki=function(Ze,ye){if(ye===void 0&&(ye=0),typeof requestAnimationFrame=="undefined")return{id:setInterval(Ze,ye)};var Te=new Date().getTime(),An={id:0},yt=function(){var Pn=new Date().getTime();Pn-Te>=ye&&(Ze(),Te=new Date().getTime()),An.id=requestAnimationFrame(yt)};return An.id=requestAnimationFrame(yt),An};function Ts(Ze){return typeof cancelAnimationFrame=="undefined"}var fs=function(Ze){if(Ts(Ze.id))return clearInterval(Ze.id);cancelAnimationFrame(Ze.id)};function Xs(Ze,ye,Te){var An=Te==null?void 0:Te.immediate,yt=(0,xi.Z)(Ze),Pn=(0,g.useRef)();(0,g.useEffect)(function(){if(!(!(0,Ui.hj)(ye)||ye<0))return An&&yt.current(),Pn.current=ki(function(){yt.current()},ye),function(){Pn.current&&fs(Pn.current)}},[ye]);var Sn=(0,g.useCallback)(function(){Pn.current&&fs(Pn.current)},[]);return Sn}var zl=Xs,kn=40,_r=10,Dr=function(ye){var Te=ye.visible,An=ye.mode,yt=ye.drawData,Pn=ye.setDrawData,Sn=ye.editState,In=ye.setEditState,Un=ye.clientSize,ir=ye.contentMouse,Mr=ye.categories,pr=ye.updateRender,Ln=ye.updateMouseCursor,da=ye.objectHooksMap,Rr=ye.imagePos,Yn=ye.containerMouse,lr=ye.limitActiveObject,Nr=ye.getAnnotColor,ia=(0,g.useRef)({topMin:0,topMax:0,leftMin:0,leftMax:0}),Vr=(0,g.useState)(void 0),Lr=s()(Vr,2),ga=Lr[0],aa=Lr[1];zl(function(){var Jr,Xr,K,F,ce=!1;(Jr=ia.current.direction)!==null&&Jr!==void 0&&Jr.includes("TOP")&&Rr.current.yia.current.topMin&&(Rr.current.y-=8,ce=!0),(K=ia.current.direction)!==null&&K!==void 0&&K.includes("LEFT")&&Rr.current.xia.current.leftMin&&(Rr.current.x-=8,ce=!0),ce||aa(void 0),pr()},ga);var rr=function(){var Xr="",K=kn,F=Yn.elementH-ir.elementH-kn,ce=kn,Me=Yn.elementW-ir.elementW-kn;Yn.elementY<=_r&&Rr.current.y=Yn.elementH-_r&&Rr.current.y>F&&(Xr="BOTTOM"),Yn.elementX<=_r&&Rr.current.x=Yn.elementW-_r&&Rr.current.x>Me&&(Xr+=Xr?"_RIGHT":"RIGHT"),Xr?(ia.current={direction:Xr,topMax:K,topMin:F,leftMax:ce,leftMin:Me},aa(16)):aa(void 0)},Jn=function(){var Xr;return yt.isBatchEditing&&(yt.selectedTool===B.ru.Rectangle&&Sn.isCtrlPressed?Xr=function(F){return F.status===Q.TK.Unchecked}:Xr=function(F){return F.status!==Q.TK.Unchecked}),Xr},Fr=function(){if((0,Sr.jt)(Yn)){var Xr=(0,Sr.Z0)(Un,ir,yt.activeObjectIndex,yt.objectList,Jn());if(Xr>-1&&Xr===yt.activeObjectIndex){In(function(Qe){Qe.focusObjectIndex=Xr});var K=yt.objectList[yt.activeObjectIndex],F=(0,Sr.o7)(ir,K),ce=F.focusEleIndex,Me=F.focusEleType,ze=F.focusPolygonInfo;In(function(Qe){Qe.focusEleIndex=ce,Qe.focusEleType=Me,Qe.focusPolygonInfo=ze})}else yt.selectedTool===B.ru.Drag||yt.isBatchEditing?In(function(Qe){Qe.focusObjectIndex=Xr,Qe.focusEleIndex=-1,Qe.focusEleType=B.Yq.None,Qe.focusPolygonInfo={index:-1,pointIndex:-1,lineIndex:-1}}):In(function(Qe){Qe.focusObjectIndex=-1,Qe.focusEleIndex=-1,Qe.focusEleType=B.Yq.None,Qe.focusPolygonInfo={index:-1,pointIndex:-1,lineIndex:-1}})}},Er=(0,g.useCallback)(function(Jr,Xr){if(!(Jr<0)){var K=(Xr==null?void 0:Xr.button)===2;if(K){var F=(0,Sr.RF)(Un,ir,yt.objectList,Jn());F.length>0?In(function(ce){ce.foucsObjectAllIndexs=F}):In(function(ce){ce.foucsObjectAllIndexs=[]});return}Pn(function(ce){var Me;if(ce.selectedTool===B.ru.Rectangle&&ce.isBatchEditing&&Sn.isCtrlPressed)ce.objectList[Jr].status=Q.TK.Checked,In(function(Qe){Qe.focusObjectIndex=-1});else{var ze;ce.activeObjectIndex=Jr,(ze=ce.objectList[Jr])!==null&&ze!==void 0&&ze.frameEmpty?ce.creatingObject=void 0:ce.creatingObject=t()(t()({},ce.objectList[Jr]),{},{currIndex:void 0,startPoint:void 0,tempMaskSteps:[],maskStep:void 0}),ce.selectedTool!==B.ru.Drag&&ce.objectList[Jr]&&B.Zo[ce.selectedTool]!==ce.objectList[Jr].type&&(ce.selectedTool=B.ru.Drag)}((Me=ce.editingAttribute)===null||Me===void 0?void 0:Me.index)!==Jr&&(ce.editingAttribute=void 0)})}},[Un.width,Un.height,ir,yt.objectList]),jr=function(){if(!Sn.foucsObjectAllIndexs.length)return(0,C.jsx)(C.Fragment,{});var Xr=function(Me){Me.stopPropagation()},K=function(Me){In(function(ze){ze.focusObjectIndex=Me})},F=function(Me){Er(Me),In(function(ze){ze.foucsObjectAllIndexs=[]})};return(0,C.jsx)("div",{className:"dds-annotator-dropdown-options",onMouseDown:Xr,onMouseUp:Xr,onMouseMove:Xr,onContextMenu:function(Me){return Me.preventDefault()},children:Sn.foucsObjectAllIndexs.map(function(ce){var Me,ze,Qe;return(0,C.jsxs)("div",{className:"dds-annotator-dropdown-options-object",onMouseEnter:function(){return K(ce)},onMouseDown:function(){return F(ce)},children:[(0,C.jsx)("div",{className:"dds-annotator-dropdown-options-object-dot",style:{backgroundColor:((Me=yt.objectList[ce])===null||Me===void 0?void 0:Me.color)||"#fff"}}),((ze=Mr.find(function(St){var At;return St.id===((At=yt.objectList[ce])===null||At===void 0?void 0:At.labelId)}))===null||ze===void 0?void 0:ze.name)||"",yt.isBatchEditing&&" (".concat((0,Yo.O)(((Qe=yt.objectList[ce])===null||Qe===void 0?void 0:Qe.conf)||0),")")]},ce)})})},Cr=function(Xr){if(!(!Te||Sn.allowMove||Sn.isRequiring||!(0,Sr.jt)(ir)||!(0,Sr.jt)(Yn))&&(In(function(F){F.foucsObjectAllIndexs=[]}),!(yt.creatingObject&&yt.activeObjectIndex>-1&&An===Q.je.Edit&&da[yt.creatingObject.type].startEditingWhenMouseDown({event:Xr,object:yt.creatingObject}))))if(yt.selectedTool!==B.ru.Drag&&(!yt.isBatchEditing||yt.selectedModel[yt.selectedTool]===B.HE.IVP)){Pn(function(F){F.editingAttribute=void 0});var K=B.Zo[yt.selectedTool];if(An===Q.je.Edit&&da[K].startCreatingWhenMouseDown({event:Xr,object:yt.creatingObject,point:{x:ir.elementX,y:ir.elementY},basic:{hidden:!1,labelId:Sn.latestLabelId||Mr[0].id,status:Q.TK.Commited,color:Nr(Sn.latestLabelId||Mr[0].name)}}))return}else Sn.focusObjectIndex>-1&&!lr?Er(Sn.focusObjectIndex,Xr):In(function(F){F.allowMove=!0})},Ur=function(Xr){if(!(!Te||Sn.isRequiring||Sn.allowMove)){if(Sn.focusObjectIndex>-1?Ln("pointer"):yt.selectedTool!==B.ru.Drag?Ln("crosshair"):Ln("grab"),yt.creatingObject&&yt.activeObjectIndex>-1){if(An===Q.je.Edit&&da[yt.creatingObject.type].updateEditingWhenMouseMove({event:Xr,object:yt.creatingObject})){var K,F=yt.creatingObject.type===B.gr.Mask&&!((K=yt.creatingObject)!==null&&K!==void 0&&K.maskStep);F||rr(),pr();return}}else if(yt.selectedTool!==B.ru.Drag&&yt.activeObjectIndex<0){var ce=B.Zo[yt.selectedTool];if(An===Q.je.Edit&&da[ce].updateCreatingWhenMouseMove({event:Xr,object:yt.creatingObject})){var Me,ze=ce===B.gr.Mask&&!((Me=yt.creatingObject)!==null&&Me!==void 0&&Me.maskStep);ze||rr(),pr();return}}Fr(),pr()}},Yr=function(Xr){if(aa(void 0),!(!Te||Sn.isRequiring)){if(Sn.allowMove){In(function(F){F.allowMove=!1});return}if(yt.creatingObject&&yt.activeObjectIndex>-1){if(An===Q.je.Edit&&da[yt.creatingObject.type].finishEditingWhenMouseUp({event:Xr,object:yt.creatingObject}))return}else if(yt.selectedTool!==B.ru.Drag&&yt.activeObjectIndex<0){var K=B.Zo[yt.selectedTool];if(An===Q.je.Edit&&da[K].finishCreatingWhenMouseUp({event:Xr,object:yt.creatingObject}))return}}},Gr=(0,g.useCallback)(function(Jr){In(function(Xr){Xr.focusObjectIndex=Jr})},[]);return(0,io.Z)("mousedown",function(Jr){Cr(Jr)}),(0,io.Z)("mousemove",function(Jr){Ur(Jr)}),(0,io.Z)("mouseup",function(Jr){Yr(Jr)}),{selectFocusObject:Er,forceChangeFocusObject:Gr,mouseRightObjectsDropDownRender:jr}},Zr=Dr,sa=function(ye){var Te=ye.mode,An=ye.drawData,yt=ye.setDrawData,Pn=ye.setDrawDataWithHistory,Sn=ye.framesData,In=ye.setFramesData,Un=ye.setEditState,ir=ye.translateToObject,Mr=ye.judgeEditingAttribute,pr=ye.limitActiveObjectAfterCreate,Ln=ye.updateHistory,da=function(Jn){yt(function(Fr){var Er=(0,m.cloneDeep)(Fr),jr=(0,m.cloneDeep)(Sn);if(Er.initialized=!0,jr){var Cr=Jn.map(function(Yr){return(ir==null?void 0:ir(Yr,jr.list.length))||{}});jr.objects=Cr.filter(function(Yr){return!!Yr.objects}).map(function(Yr){return Yr.objects}),Er.classifications=Cr.filter(function(Yr){return!!Yr.classification}).map(function(Yr){return Yr.classification}),Er.objectList=jr.objects.map(function(Yr){return Yr[jr.activeIndex]}),In==null||In(jr)}else{var Ur=Jn.map(function(Yr){return(ir==null?void 0:ir(Yr))||{}});Er.classifications=Ur.filter(function(Yr){return Yr.type===B.gr.Classification}),Er.objectList=Ur.filter(function(Yr){return Yr.type!==B.gr.Custom&&Yr.type!==B.gr.Classification})}return Ln((0,m.cloneDeep)(Er),(0,m.cloneDeep)(jr)),Er})},Rr=function(Jn,Fr){Te===Q.je.Edit&&Pn(function(Er){Er.objectList.push(Jn),pr?(Er.creatingObject=void 0,Er.activeObjectIndex=-1):(Er.creatingObject=t()({},Jn),Er.activeObjectIndex=Fr?-1:Er.objectList.length-1,Mr&&(Er.editingAttribute=Mr(Jn,Er.objectList.length-1)))})},Yn=function(Jn){if(!(Te!==Q.je.Edit||!An.objectList[Jn])){Un(function(jr){jr.focusObjectIndex=-1,jr.focusEleIndex=-1,jr.focusEleType=B.Yq.Rect});var Fr=(0,m.cloneDeep)(Sn),Er=(0,m.cloneDeep)(An);Fr&&Fr.objects[Jn]&&(Fr.objects.splice(Jn,1),In==null||In(Fr)),Er.objectList[Jn]&&(Er.objectList.splice(Jn,1),Er.activeObjectIndex=-1,Er.creatingObject=void 0,Er.editingAttribute=void 0),yt(Er),Ln((0,m.cloneDeep)(Er),(0,m.cloneDeep)(Fr))}},lr=(0,g.useCallback)(function(){if(Te===Q.je.Edit){Un(function(Fr){Fr.focusObjectIndex=-1,Fr.focusEleIndex=-1,Fr.focusEleType=B.Yq.Rect});var rr=(0,m.cloneDeep)(Sn),Jn=(0,m.cloneDeep)(An);rr&&(rr.objects=[],In==null||In(rr)),Jn.objectList=[],Jn.activeObjectIndex=-1,Jn.creatingObject=void 0,Jn.editingAttribute=void 0,yt(Jn),Ln((0,m.cloneDeep)(Jn),(0,m.cloneDeep)(rr))}},[Te,Sn,An]),Nr=function(Jn,Fr){Te!==Q.je.Edit||!An.objectList[Fr]||Pn(function(Er){Jn.labelId!==Er.objectList[Fr].labelId&&Mr&&(Er.editingAttribute=Mr(Jn,Fr)),Er.objectList[Fr]=Jn,Er.creatingObject&&Er.activeObjectIndex===Fr&&(Er.creatingObject=t()({},Jn))})},ia=function(Jn){Pn(function(Fr){Fr.objectList=Jn,Fr.creatingObject&&Fr.objectList[Fr.activeObjectIndex]&&(Fr.creatingObject=t()({},Fr.objectList[Fr.activeObjectIndex]))})},Vr=function(Jn,Fr){An.objectList[Fr]&&yt(function(Er){Er.objectList[Fr]=Jn,Er.creatingObject&&Er.activeObjectIndex===Fr&&(Er.creatingObject=t()({},Jn))})},Lr=function(Jn){yt(function(Fr){Fr.objectList=Jn,Fr.creatingObject&&Fr.objectList[Fr.activeObjectIndex]&&(Fr.creatingObject=t()({},Fr.objectList[Fr.activeObjectIndex]))})},ga=(0,g.useMemo)(function(){return An.objectList.filter(function(rr){return rr.status===Q.TK.Commited})},[An.isBatchEditing,An.objectList]),aa=(0,g.useMemo)(function(){return An.objectList[An.activeObjectIndex]||An.creatingObject},[An.objectList,An.activeObjectIndex,An.creatingObject]);return{initObjectList:da,addObject:Rr,removeObject:Yn,removeAllObjects:lr,updateObject:Nr,updateAllObject:ia,updateObjectWithoutHistory:Vr,updateAllObjectWithoutHistory:Lr,commitedObjects:ga,currObject:aa}},ja=sa,Fa=function(ye){var Te=ye.visible,An=ye.mode,yt=ye.drawData,Pn=ye.categories,Sn=ye.isMousePress,In=ye.setDrawData,Un=ye.setEditState,ir=ye.onSaveAnnotations,Mr=ye.onAcceptAnnotations,pr=ye.onRejectAnnotations,Ln=ye.onChangeObjectHidden,da=ye.onChangeCategoryHidden,Rr=ye.removeObject,Yn=ye.addObject;return(0,Oe.Z)(Le[Mt.Save].shortcut,function(lr){lr.preventDefault(),An===Q.je.Edit&&(ir==null||ir())},{exactMatch:!0}),(0,Oe.Z)(Le[Mt.Accept].shortcut,function(lr){lr.preventDefault(),Mr==null||Mr()},{exactMatch:!0}),(0,Oe.Z)(Le[Mt.Reject].shortcut,function(lr){lr.preventDefault(),pr==null||pr()},{exactMatch:!0}),(0,Oe.Z)(Le[Mt.PanImage].shortcut,function(lr){Te&&(lr.type==="keydown"&&!Sn?Un(function(Nr){Nr.allowMove=!0}):lr.type==="keyup"&&Un(function(Nr){Nr.allowMove=!1}))},{events:["keydown","keyup"]}),(0,Oe.Z)(Le[Mt.CancelCurrObject].shortcut,function(lr){Te&&lr.type==="keyup"&&(yt.creatingObject?In(function(Nr){var ia,Vr,Lr,ga,aa,rr;((ia=Nr.creatingObject)===null||ia===void 0?void 0:ia.type)===B.gr.Mask&&(Vr=Nr.creatingObject)!==null&&Vr!==void 0&&(Lr=Vr.maskStep)!==null&&Lr!==void 0&&(ga=Lr.points)!==null&&ga!==void 0&&ga.length&&(aa=Nr.creatingObject)!==null&&aa!==void 0&&(rr=aa.tempMaskSteps)!==null&&rr!==void 0&&rr.length?Nr.creatingObject.maskStep=void 0:(Nr.creatingObject=void 0,Nr.activeObjectIndex=-1),Nr.AIAnnotation&&(Nr.prompt={})}):In(function(Nr){Nr.activeObjectIndex=-1}))},{events:["keydown","keyup"]}),(0,Oe.Z)(Le[Mt.HideCurrObject].shortcut,function(lr){yt.activeObjectIndex<0||(lr.preventDefault(),Ln(yt.activeObjectIndex,!yt.objectList[yt.activeObjectIndex].hidden))},{exactMatch:!0}),(0,Oe.Z)(Le[Mt.HideCurrCategory].shortcut,function(lr){var Nr;if(!(yt.activeObjectIndex<0)){lr.preventDefault();var ia=yt.objectList[yt.activeObjectIndex],Vr=ia.labelId,Lr=ia.hidden,ga=((Nr=Pn.find(function(aa){return aa.id===Vr}))===null||Nr===void 0?void 0:Nr.name)||"";da(ga,!Lr)}},{exactMatch:!0}),(0,Oe.Z)(Le[Mt.DeleteCurrObject].shortcut,function(lr){!Te||An!==Q.je.Edit||["Delete","Backspace"].includes(lr.key)&&yt.activeObjectIndex>-1&&Rr(yt.activeObjectIndex)},{events:["keyup"]}),(0,Oe.Z)(["ctrl"],function(lr){yt.activeObjectIndex>-1||Un(function(Nr){var ia=lr.type==="keydown";if(Nr.isCtrlPressed===ia)return Nr;Nr.isCtrlPressed=lr.type==="keydown",Nr.focusObjectIndex=-1,Nr.foucsObjectAllIndexs=[]})},{events:["keydown","keyup"]}),(0,Oe.Z)(["v"],function(lr){Un(function(Nr){var ia=lr.type==="keydown";if(Nr.hideCreatingObject===ia)return Nr;Nr.hideCreatingObject=lr.type==="keydown"})},{events:["keydown","keyup"]}),(0,Oe.Z)(["enter"],function(){if(!yt.AIAnnotation&&yt.creatingObject&&yt.creatingObject.type===B.gr.Polygon){var lr=yt.creatingObject,Nr=lr.polygon,ia=lr.type,Vr=lr.hidden,Lr=lr.labelId,ga=lr.status,aa=lr.color;if(Nr&&Nr.group&&Nr.group[0].length>2){var rr={polygon:Nr,type:ia,hidden:Vr,labelId:Lr,status:ga,color:aa};Yn(rr)}}},{exactMatch:!0,events:["keyup"]}),{}},Na=Fa,Bo=Object.defineProperty,Vo=Object.getOwnPropertySymbols,Go=Object.prototype.hasOwnProperty,Bi=Object.prototype.propertyIsEnumerable,ps=(Ze,ye,Te)=>ye in Ze?Bo(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,es=(Ze,ye)=>{for(var Te in ye||(ye={}))Go.call(ye,Te)&&ps(Ze,Te,ye[Te]);if(Vo)for(var Te of Vo(ye))Bi.call(ye,Te)&&ps(Ze,Te,ye[Te]);return Ze};const $s=Ze=>g.createElement("svg",es({viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("path",{d:"M18.33 4.069a.67.67 0 0 0 .67-.672V.671A.672.672 0 0 0 18.33 0h-2.718a.67.67 0 0 0-.671.671v.672H4.066V.67A.672.672 0 0 0 3.395 0H.67A.67.67 0 0 0 0 .671v2.72a.672.672 0 0 0 .67.67h.672v10.877H.67A.67.67 0 0 0 0 15.61v2.72A.672.672 0 0 0 .67 19h2.718a.67.67 0 0 0 .671-.671v-.672h10.869v.672a.672.672 0 0 0 .67.671h2.718a.67.67 0 0 0 .67-.671v-2.706a.672.672 0 0 0-.67-.671h-.671V4.069h.684Zm-2.014 10.876h-.67a.67.67 0 0 0-.671.671v.672H4.065v-.672a.672.672 0 0 0-.67-.671h-.671V4.069h.67a.67.67 0 0 0 .672-.672v-.671h10.868v.671a.672.672 0 0 0 .671.672h.671l.02 5.438.02 5.438Z",fill:"#fff"}),g.createElement("g",{clipPath:"url(#add-prompt_svg__a)"},g.createElement("path",{d:"M14.51 5.884a.851.851 0 0 0-1.204 0l-5.418 5.423-2.409-2.41a.851.851 0 1 0-1.204 1.205l3.01 3.012a.849.849 0 0 0 1.205 0l6.02-6.025a.852.852 0 0 0 0-1.205Z",fill:"#fff"})),g.createElement("defs",null,g.createElement("clipPath",{id:"add-prompt_svg__a"},g.createElement("path",{fill:"#fff",transform:"translate(4.025 4.129)",d:"M0 0h10.735v10.742H0z"}))));var ss="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTkgMTkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE4LjMzIDQuMDY5YS42Ny42NyAwIDAgMCAuNjctLjY3MlYuNjcxQS42NzIuNjcyIDAgMCAwIDE4LjMzIDBoLTIuNzE4YS42Ny42NyAwIDAgMC0uNjcxLjY3MXYuNjcySDQuMDY2Vi42N0EuNjcyLjY3MiAwIDAgMCAzLjM5NSAwSC42N0EuNjcuNjcgMCAwIDAgMCAuNjcxdjIuNzJhLjY3Mi42NzIgMCAwIDAgLjY3LjY3aC42NzJ2MTAuODc3SC42N0EuNjcuNjcgMCAwIDAgMCAxNS42MXYyLjcyQS42NzIuNjcyIDAgMCAwIC42NyAxOWgyLjcxOGEuNjcuNjcgMCAwIDAgLjY3MS0uNjcxdi0uNjcyaDEwLjg2OXYuNjcyYS42NzIuNjcyIDAgMCAwIC42Ny42NzFoMi43MThhLjY3LjY3IDAgMCAwIC42Ny0uNjcxdi0yLjcwNmEuNjcyLjY3MiAwIDAgMC0uNjctLjY3MWgtLjY3MVY0LjA2OWguNjg0Wm0tMi4wMTQgMTAuODc2aC0uNjdhLjY3LjY3IDAgMCAwLS42NzEuNjcxdi42NzJINC4wNjV2LS42NzJhLjY3Mi42NzIgMCAwIDAtLjY3LS42NzFoLS42NzFWNC4wNjloLjY3YS42Ny42NyAwIDAgMCAuNjcyLS42NzJ2LS42NzFoMTAuODY4di42NzFhLjY3Mi42NzIgMCAwIDAgLjY3MS42NzJoLjY3MWwuMDIgNS40MzguMDIgNS40MzhaIiBmaWxsPSIjZmZmIi8+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTQuNTEgNS44ODRhLjg1MS44NTEgMCAwIDAtMS4yMDQgMGwtNS40MTggNS40MjMtMi40MDktMi40MWEuODUxLjg1MSAwIDEgMC0xLjIwNCAxLjIwNWwzLjAxIDMuMDEyYS44NDkuODQ5IDAgMCAwIDEuMjA1IDBsNi4wMi02LjAyNWEuODUyLjg1MiAwIDAgMCAwLTEuMjA1WiIgZmlsbD0iI2ZmZiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQuMDI1IDQuMTI5KSIgZD0iTTAgMGgxMC43MzV2MTAuNzQySDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",qo=Object.defineProperty,Fl=Object.getOwnPropertySymbols,Il=Object.prototype.hasOwnProperty,Al=Object.prototype.propertyIsEnumerable,vu=(Ze,ye,Te)=>ye in Ze?qo(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,cl=(Ze,ye)=>{for(var Te in ye||(ye={}))Il.call(ye,Te)&&vu(Ze,Te,ye[Te]);if(Fl)for(var Te of Fl(ye))Al.call(ye,Te)&&vu(Ze,Te,ye[Te]);return Ze};const dl=Ze=>g.createElement("svg",cl({width:16,height:16,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("g",{clipPath:"url(#brush-add_svg__a)",fill:"#fff"},g.createElement("path",{d:"M5.07 10.37 4.02 9.22l-.46-.46a1.42 1.42 0 0 1 0-1.89l.41-.41 3.84-3.73L10.34.22a.71.71 0 0 1 1.07 0c.34.31.67.63 1 .93a.66.66 0 0 1 .22.69c-.1.43-.19.87-.28 1.34l.69-.13c.25 0 .5-.1.75-.12a.82.82 0 0 1 .69.26l4.47 4.37.45.44a.87.87 0 0 1 0 1.3l-2 2-.08.08-1.34-.79 1.89-1.95-.33-.33-3.78-3.71a.3.3 0 0 0-.32-.09l-1.89.37A.74.74 0 0 1 10.7 4c.06-.33.12-.65.19-1s.1-.58.18-.85a.31.31 0 0 0-.17-.4L6.7 5.94l5 4.85c-.3.21-.61.4-.88.62a4.76 4.76 0 0 0-1.75 3 .88.88 0 0 1-.25.44l-2.94 3.37a3.42 3.42 0 0 1-5 .22 3 3 0 0 1-.83-2 3.39 3.39 0 0 1 1.33-2.88l3.32-2.89.37-.3Z"}),g.createElement("path",{d:"M17.88 13.99a4.06 4.06 0 0 0-4.46-2.68 4 4 0 0 0 .61 7.9c.22 0 .44 0 .65-.06a4 4 0 0 0 3.2-5.16Zm-2.31 2.13h-.62v.58a.94.94 0 0 1-1.87 0v-.58h-.58a.94.94 0 0 1 0-1.87h.58v-.56a.94.94 0 1 1 1.87 0v.53h.62a.94.94 0 0 1 0 1.87v.03Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"brush-add_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h19.7v19.44H0z"}))));var Zs="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Ik01LjA3IDEwLjM3IDQuMDIgOS4yMmwtLjQ2LS40NmExLjQyIDEuNDIgMCAwIDEgMC0xLjg5bC40MS0uNDEgMy44NC0zLjczTDEwLjM0LjIyYS43MS43MSAwIDAgMSAxLjA3IDBjLjM0LjMxLjY3LjYzIDEgLjkzYS42Ni42NiAwIDAgMSAuMjIuNjljLS4xLjQzLS4xOS44Ny0uMjggMS4zNGwuNjktLjEzYy4yNSAwIC41LS4xLjc1LS4xMmEuODIuODIgMCAwIDEgLjY5LjI2bDQuNDcgNC4zNy40NS40NGEuODcuODcgMCAwIDEgMCAxLjNsLTIgMi0uMDguMDgtMS4zNC0uNzkgMS44OS0xLjk1LS4zMy0uMzMtMy43OC0zLjcxYS4zLjMgMCAwIDAtLjMyLS4wOWwtMS44OS4zN0EuNzQuNzQgMCAwIDEgMTAuNyA0Yy4wNi0uMzMuMTItLjY1LjE5LTFzLjEtLjU4LjE4LS44NWEuMzEuMzEgMCAwIDAtLjE3LS40TDYuNyA1Ljk0bDUgNC44NWMtLjMuMjEtLjYxLjQtLjg4LjYyYTQuNzYgNC43NiAwIDAgMC0xLjc1IDMgLjg4Ljg4IDAgMCAxLS4yNS40NGwtMi45NCAzLjM3YTMuNDIgMy40MiAwIDAgMS01IC4yMiAzIDMgMCAwIDEtLjgzLTIgMy4zOSAzLjM5IDAgMCAxIDEuMzMtMi44OGwzLjMyLTIuODkuMzctLjNaIi8+PHBhdGggZD0iTTE3Ljg4IDEzLjk5YTQuMDYgNC4wNiAwIDAgMC00LjQ2LTIuNjggNCA0IDAgMCAwIC42MSA3LjljLjIyIDAgLjQ0IDAgLjY1LS4wNmE0IDQgMCAwIDAgMy4yLTUuMTZabS0yLjMxIDIuMTNoLS42MnYuNThhLjk0Ljk0IDAgMCAxLTEuODcgMHYtLjU4aC0uNThhLjk0Ljk0IDAgMCAxIDAtMS44N2guNTh2LS41NmEuOTQuOTQgMCAxIDEgMS44NyAwdi41M2guNjJhLjk0Ljk0IDAgMCAxIDAgMS44N3YuMDNaIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGgxOS43djE5LjQ0SDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",Js=Object.defineProperty,fl=Object.getOwnPropertySymbols,gu=Object.prototype.hasOwnProperty,vs=Object.prototype.propertyIsEnumerable,hs=(Ze,ye,Te)=>ye in Ze?Js(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Us=(Ze,ye)=>{for(var Te in ye||(ye={}))gu.call(ye,Te)&&hs(Ze,Te,ye[Te]);if(fl)for(var Te of fl(ye))vs.call(ye,Te)&&hs(Ze,Te,ye[Te]);return Ze};const ks=Ze=>g.createElement("svg",Us({width:16,height:16,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("g",{clipPath:"url(#brush-erase_svg__a)",fill:"#fff"},g.createElement("path",{d:"m6.47 5.69 4.8 4.7c-.29.2-.59.38-.85.59a4.73 4.73 0 0 0-1.74 3.05.45.45 0 0 1-.1.21l-2.89 3.34a3.24 3.24 0 0 1-2.47 1.2 3 3 0 0 1-3.23-3.1 3.34 3.34 0 0 1 1.39-2.7c1.16-.95 2.29-1.93 3.44-2.89l.14-.1-.4-.38-1-1a1.38 1.38 0 0 1 0-2.07L7.7 2.48c.76-.7 1.52-1.5 2.29-2.24a.69.69 0 0 1 1.05 0l1 .91a.59.59 0 0 1 .18.63c-.09.43-.18.87-.27 1.33l1.27-.25a.88.88 0 0 1 .84.24l2.71 2.68 2 1.92a.9.9 0 0 1 .29.8.66.66 0 0 1-.16.35c-.7.7-1.41 1.39-2.12 2.08l-1.28-.77 1.84-1.79V8.3l-4-3.88a.29.29 0 0 0-.28-.07l-1.84.43a.86.86 0 0 1-.8-.26.571.571 0 0 1-.13-.56c.12-.59.24-1.17.37-1.76 0-.19 0-.33-.18-.42L6.47 5.69Z"}),g.createElement("path",{d:"M9.69 14.71a3.88 3.88 0 1 1 3.88 3.8 3.83 3.83 0 0 1-3.88-3.8Zm3.87 1h1.57a1 1 0 0 0 1-1 1 1 0 0 0-1-1.06h-3.14a1 1 0 0 0 0 2l1.57.06Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"brush-erase_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h19.03v18.77H0z"}))));var mu="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Im02LjQ3IDUuNjkgNC44IDQuN2MtLjI5LjItLjU5LjM4LS44NS41OWE0LjczIDQuNzMgMCAwIDAtMS43NCAzLjA1LjQ1LjQ1IDAgMCAxLS4xLjIxbC0yLjg5IDMuMzRhMy4yNCAzLjI0IDAgMCAxLTIuNDcgMS4yIDMgMyAwIDAgMS0zLjIzLTMuMSAzLjM0IDMuMzQgMCAwIDEgMS4zOS0yLjdjMS4xNi0uOTUgMi4yOS0xLjkzIDMuNDQtMi44OWwuMTQtLjEtLjQtLjM4LTEtMWExLjM4IDEuMzggMCAwIDEgMC0yLjA3TDcuNyAyLjQ4Yy43Ni0uNyAxLjUyLTEuNSAyLjI5LTIuMjRhLjY5LjY5IDAgMCAxIDEuMDUgMGwxIC45MWEuNTkuNTkgMCAwIDEgLjE4LjYzYy0uMDkuNDMtLjE4Ljg3LS4yNyAxLjMzbDEuMjctLjI1YS44OC44OCAwIDAgMSAuODQuMjRsMi43MSAyLjY4IDIgMS45MmEuOS45IDAgMCAxIC4yOS44LjY2LjY2IDAgMCAxLS4xNi4zNWMtLjcuNy0xLjQxIDEuMzktMi4xMiAyLjA4bC0xLjI4LS43NyAxLjg0LTEuNzlWOC4zbC00LTMuODhhLjI5LjI5IDAgMCAwLS4yOC0uMDdsLTEuODQuNDNhLjg2Ljg2IDAgMCAxLS44LS4yNi41NzEuNTcxIDAgMCAxLS4xMy0uNTZjLjEyLS41OS4yNC0xLjE3LjM3LTEuNzYgMC0uMTkgMC0uMzMtLjE4LS40Mkw2LjQ3IDUuNjlaIi8+PHBhdGggZD0iTTkuNjkgMTQuNzFhMy44OCAzLjg4IDAgMSAxIDMuODggMy44IDMuODMgMy44MyAwIDAgMS0zLjg4LTMuOFptMy44NyAxaDEuNTdhMSAxIDAgMCAwIDEtMSAxIDEgMCAwIDAtMS0xLjA2aC0zLjE0YTEgMSAwIDAgMCAwIDJsMS41Ny4wNloiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDE5LjAzdjE4Ljc3SDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",Kl=Object.defineProperty,ys=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,Do=Object.prototype.propertyIsEnumerable,Ls=(Ze,ye,Te)=>ye in Ze?Kl(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Uo=(Ze,ye)=>{for(var Te in ye||(ye={}))Ft.call(ye,Te)&&Ls(Ze,Te,ye[Te]);if(ys)for(var Te of ys(ye))Do.call(ye,Te)&&Ls(Ze,Te,ye[Te]);return Ze};const Ol=Ze=>g.createElement("svg",Uo({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Ze),g.createElement("defs",null,g.createElement("style",null,".edge-stitch_svg__cls-1{fill:#fcfefe}.edge-stitch_svg__cls-3{fill:#fff}")),g.createElement("path",{className:"edge-stitch_svg__cls-1",d:"M22.25 18.52a.82.82 0 0 0 .57.15h4.3a1.44 1.44 0 1 0 0-2.87h-.86L31 11.06a1.42 1.42 0 0 0-2-2l-4.73 4.74v-.86a1.44 1.44 0 1 0-2.87 0v4.3a.87.87 0 0 0 .14.57 1.67 1.67 0 0 0 .71.71ZM9.91 31.58a1.31 1.31 0 0 0 1-.43l4.74-4.74v.86a1.44 1.44 0 1 0 2.87 0V23a.82.82 0 0 0-.15-.57 1.7 1.7 0 0 0-.71-.72.85.85 0 0 0-.58-.15h-4.3a1.44 1.44 0 1 0 0 2.87h.86l-4.73 4.71a1.38 1.38 0 0 0 0 2 1.31 1.31 0 0 0 1 .44Z"}),g.createElement("path",{style:{fill:"none",stroke:"#fff",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:3},d:"m14.4 14.51 11.14 11.14"}),g.createElement("path",{className:"edge-stitch_svg__cls-3",d:"M7.51 5.7a3.41 3.41 0 0 1 .74.45c.85.8 1.67 1.64 2.49 2.47a1.19 1.19 0 1 1-1.69 1.67Q7.77 9 6.53 7.77a1.13 1.13 0 0 1-.26-1.33 1.33 1.33 0 0 1 1.24-.74ZM19.85 10.84a5.11 5.11 0 0 1-.92-.75.93.93 0 0 1 .07-1.24c.94-1 1.89-1.95 2.88-2.87a1.07 1.07 0 0 1 1.51.09 1.09 1.09 0 0 1 .11 1.56c-.91 1-1.87 1.9-2.83 2.83a2.88 2.88 0 0 1-.82.38ZM7.26 23.44a5 5 0 0 1-.92-.73.92.92 0 0 1 .06-1.24Q7.81 20 9.31 18.56a1.08 1.08 0 0 1 1.51.14 1.1 1.1 0 0 1 .09 1.52C10 21.21 9 22.15 8 23.09a3.07 3.07 0 0 1-.74.35ZM16.16 5.64v1.67A1.24 1.24 0 0 1 15 8.59a1.22 1.22 0 0 1-1.19-1.28v-3.4A1.22 1.22 0 0 1 15 2.63a1.23 1.23 0 0 1 1.19 1.29c-.01.57-.03 1.15-.03 1.72ZM6 15.73H4.38a1.2 1.2 0 1 1 0-2.4h3.34a1.2 1.2 0 1 1 0 2.4c-.58.02-1.15 0-1.72 0Z"}));var fa="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmY2ZlZmV9LmNscy0ze2ZpbGw6I2ZmZn08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yMi4yNSAxOC41MmEuODIuODIgMCAwIDAgLjU3LjE1aDQuM2ExLjQ0IDEuNDQgMCAxIDAgMC0yLjg3aC0uODZMMzEgMTEuMDZhMS40MiAxLjQyIDAgMCAwLTItMmwtNC43MyA0Ljc0di0uODZhMS40NCAxLjQ0IDAgMSAwLTIuODcgMHY0LjNhLjg3Ljg3IDAgMCAwIC4xNC41NyAxLjY3IDEuNjcgMCAwIDAgLjcxLjcxWk05LjkxIDMxLjU4YTEuMzEgMS4zMSAwIDAgMCAxLS40M2w0Ljc0LTQuNzR2Ljg2YTEuNDQgMS40NCAwIDEgMCAyLjg3IDBWMjNhLjgyLjgyIDAgMCAwLS4xNS0uNTcgMS43IDEuNyAwIDAgMC0uNzEtLjcyLjg1Ljg1IDAgMCAwLS41OC0uMTVoLTQuM2ExLjQ0IDEuNDQgMCAxIDAgMCAyLjg3aC44NmwtNC43MyA0LjcxYTEuMzggMS4zOCAwIDAgMCAwIDIgMS4zMSAxLjMxIDAgMCAwIDEgLjQ0WiIvPjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7c3Ryb2tlLXdpZHRoOjNweCIgZD0ibTE0LjQgMTQuNTEgMTEuMTQgMTEuMTQiLz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Ik03LjUxIDUuN2EzLjQxIDMuNDEgMCAwIDEgLjc0LjQ1Yy44NS44IDEuNjcgMS42NCAyLjQ5IDIuNDdhMS4xOSAxLjE5IDAgMSAxLTEuNjkgMS42N1E3Ljc3IDkgNi41MyA3Ljc3YTEuMTMgMS4xMyAwIDAgMS0uMjYtMS4zMyAxLjMzIDEuMzMgMCAwIDEgMS4yNC0uNzRaTTE5Ljg1IDEwLjg0YTUuMTEgNS4xMSAwIDAgMS0uOTItLjc1LjkzLjkzIDAgMCAxIC4wNy0xLjI0Yy45NC0xIDEuODktMS45NSAyLjg4LTIuODdhMS4wNyAxLjA3IDAgMCAxIDEuNTEuMDkgMS4wOSAxLjA5IDAgMCAxIC4xMSAxLjU2Yy0uOTEgMS0xLjg3IDEuOS0yLjgzIDIuODNhMi44OCAyLjg4IDAgMCAxLS44Mi4zOFpNNy4yNiAyMy40NGE1IDUgMCAwIDEtLjkyLS43My45Mi45MiAwIDAgMSAuMDYtMS4yNFE3LjgxIDIwIDkuMzEgMTguNTZhMS4wOCAxLjA4IDAgMCAxIDEuNTEuMTQgMS4xIDEuMSAwIDAgMSAuMDkgMS41MkMxMCAyMS4yMSA5IDIyLjE1IDggMjMuMDlhMy4wNyAzLjA3IDAgMCAxLS43NC4zNVpNMTYuMTYgNS42NHYxLjY3QTEuMjQgMS4yNCAwIDAgMSAxNSA4LjU5YTEuMjIgMS4yMiAwIDAgMS0xLjE5LTEuMjh2LTMuNEExLjIyIDEuMjIgMCAwIDEgMTUgMi42M2ExLjIzIDEuMjMgMCAwIDEgMS4xOSAxLjI5Yy0uMDEuNTctLjAzIDEuMTUtLjAzIDEuNzJaTTYgMTUuNzNINC4zOGExLjIgMS4yIDAgMSAxIDAtMi40aDMuMzRhMS4yIDEuMiAwIDEgMSAwIDIuNGMtLjU4LjAyLTEuMTUgMC0xLjcyIDBaIi8+PC9zdmc+",vl=Object.defineProperty,Bl=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,Ql=Object.prototype.propertyIsEnumerable,$l=(Ze,ye,Te)=>ye in Ze?vl(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,wo=(Ze,ye)=>{for(var Te in ye||(ye={}))qs.call(ye,Te)&&$l(Ze,Te,ye[Te]);if(Bl)for(var Te of Bl(ye))Ql.call(ye,Te)&&$l(Ze,Te,ye[Te]);return Ze};const Si=Ze=>g.createElement("svg",wo({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Ze),g.createElement("defs",null,g.createElement("style",null,".magic-box_svg__cls-1,.magic-box_svg__cls-3{fill:none}.magic-box_svg__cls-2{fill:#fcfefe}.magic-box_svg__cls-3{stroke:#fcfeff;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px}")),g.createElement("path",{className:"magic-box_svg__cls-1",d:"M5.28 16.36V6.08a1 1 0 0 1 1-1h22.2a1 1 0 0 1 1 1v21.67a1 1 0 0 1-1 .95h-10v2.39H31.4V2.74H3.17v13.62ZM3.06 2.74h.11v13.62h-.11z"}),g.createElement("path",{className:"magic-box_svg__cls-2",d:"M7.28 7.12H27.4V26.7h-8.91v2h10a1 1 0 0 0 1-.95V6.08a1 1 0 0 0-1-1H6.24a1 1 0 0 0-1 1v10.28h2Z"}),g.createElement("path",{className:"magic-box_svg__cls-2",d:"M4.82 28.43a.87.87 0 0 0 .11 1.19 1 1 0 0 0 1.19.09c3.29-2.56 4.66-2.56 8 0a.92.92 0 0 0 1.28-1.28c-2.56-3.29-2.56-4.66 0-8a.92.92 0 0 0-1.28-1.28c-3.29 2.56-4.66 2.56-8 0a1.37 1.37 0 0 0-.55-.15.83.83 0 0 0-.64.27.87.87 0 0 0-.09 1.19c2.63 3.31 2.63 4.59-.02 7.97Z"}),g.createElement("path",{className:"magic-box_svg__cls-3",d:"m19.24 10.15 5.75-.07M24.99 15.91v-5.83M17.97 17.19l7.02-7.11"}));var Sc="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PGRlZnM+PHN0eWxlPi5jbHMtMSwuY2xzLTN7ZmlsbDpub25lfS5jbHMtMntmaWxsOiNmY2ZlZmV9LmNscy0ze3N0cm9rZTojZmNmZWZmO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwO3N0cm9rZS13aWR0aDoycHh9PC9zdHlsZT48L2RlZnM+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNS4yOCAxNi4zNlY2LjA4YTEgMSAwIDAgMSAxLTFoMjIuMmExIDEgMCAwIDEgMSAxdjIxLjY3YTEgMSAwIDAgMS0xIC45NWgtMTB2Mi4zOUgzMS40VjIuNzRIMy4xN3YxMy42MlpNMy4wNiAyLjc0aC4xMXYxMy42MmgtLjExeiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTcuMjggNy4xMkgyNy40VjI2LjdoLTguOTF2MmgxMGExIDEgMCAwIDAgMS0uOTVWNi4wOGExIDEgMCAwIDAtMS0xSDYuMjRhMSAxIDAgMCAwLTEgMXYxMC4yOGgyWiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQuODIgMjguNDNhLjg3Ljg3IDAgMCAwIC4xMSAxLjE5IDEgMSAwIDAgMCAxLjE5LjA5YzMuMjktMi41NiA0LjY2LTIuNTYgOCAwYS45Mi45MiAwIDAgMCAxLjI4LTEuMjhjLTIuNTYtMy4yOS0yLjU2LTQuNjYgMC04YS45Mi45MiAwIDAgMC0xLjI4LTEuMjhjLTMuMjkgMi41Ni00LjY2IDIuNTYtOCAwYTEuMzcgMS4zNyAwIDAgMC0uNTUtLjE1LjgzLjgzIDAgMCAwLS42NC4yNy44Ny44NyAwIDAgMC0uMDkgMS4xOWMyLjYzIDMuMzEgMi42MyA0LjU5LS4wMiA3Ljk3WiIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0ibTE5LjI0IDEwLjE1IDUuNzUtLjA3TTI0Ljk5IDE1Ljkxdi01LjgzTTE3Ljk3IDE3LjE5bDcuMDItNy4xMSIvPjwvc3ZnPg==",dc=Object.defineProperty,qa=Object.getOwnPropertySymbols,as=Object.prototype.hasOwnProperty,el=Object.prototype.propertyIsEnumerable,za=(Ze,ye,Te)=>ye in Ze?dc(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,iu=(Ze,ye)=>{for(var Te in ye||(ye={}))as.call(ye,Te)&&za(Ze,Te,ye[Te]);if(qa)for(var Te of qa(ye))el.call(ye,Te)&&za(Ze,Te,ye[Te]);return Ze};const Yi=Ze=>g.createElement("svg",iu({id:"magic-brush_svg__\\u56FE\\u5C42_1","data-name":"\\u56FE\\u5C42 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Ze),g.createElement("defs",null,g.createElement("style",null,".magic-brush_svg__cls-1{fill:#fff}")),g.createElement("path",{className:"magic-brush_svg__cls-1",d:"M15.22 14.73 21 9l10.1 10.1-5.8 5.76ZM14.33 15.43l10.34 10.36c-.87.86-1.78 1.78-2.71 2.68-.09.08-.37 0-.53-.07-1.31-.58-2.63-1.16-3.92-1.78a.74.74 0 0 0-1 .17q-1.75 1.82-3.57 3.56a2.14 2.14 0 0 1-2.33.51 2.08 2.08 0 0 1-1.42-1.69 2.2 2.2 0 0 1 .67-2.05C11 26 12.14 24.8 13.32 23.66a.74.74 0 0 0 .19-1c-.61-1.27-1.16-2.57-1.77-3.85a.67.67 0 0 1 .15-.91c.84-.81 1.63-1.64 2.44-2.47Zm-1.82 13.18a1 1 0 1 0-2 .05 1 1 0 0 0 2-.05Z"}),g.createElement("path",{d:"M3.2 12.66a.89.89 0 0 0 .11 1.23 1 1 0 0 0 1.23.1c3.4-2.65 4.82-2.65 8.27 0a.95.95 0 0 0 1.32-1.33c-2.64-3.4-2.64-4.81 0-8.26A.9.9 0 0 0 14 3.17a.89.89 0 0 0-1.23-.1C9.41 5.72 8 5.72 4.54 3.07A1.27 1.27 0 0 0 4 2.89a.84.84 0 0 0-.66.28.9.9 0 0 0-.12 1.23c2.72 3.45 2.72 4.77-.02 8.26Z",style:{fill:"#fcfefe"}}));var Zl="data:image/svg+xml;base64,PHN2ZyBpZD0i5Zu+5bGCXzEiIGRhdGEtbmFtZT0i5Zu+5bGCIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDM0LjAyIDM0LjAyIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZn08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0xNS4yMiAxNC43MyAyMSA5bDEwLjEgMTAuMS01LjggNS43NlpNMTQuMzMgMTUuNDNsMTAuMzQgMTAuMzZjLS44Ny44Ni0xLjc4IDEuNzgtMi43MSAyLjY4LS4wOS4wOC0uMzcgMC0uNTMtLjA3LTEuMzEtLjU4LTIuNjMtMS4xNi0zLjkyLTEuNzhhLjc0Ljc0IDAgMCAwLTEgLjE3cS0xLjc1IDEuODItMy41NyAzLjU2YTIuMTQgMi4xNCAwIDAgMS0yLjMzLjUxIDIuMDggMi4wOCAwIDAgMS0xLjQyLTEuNjkgMi4yIDIuMiAwIDAgMSAuNjctMi4wNUMxMSAyNiAxMi4xNCAyNC44IDEzLjMyIDIzLjY2YS43NC43NCAwIDAgMCAuMTktMWMtLjYxLTEuMjctMS4xNi0yLjU3LTEuNzctMy44NWEuNjcuNjcgMCAwIDEgLjE1LS45MWMuODQtLjgxIDEuNjMtMS42NCAyLjQ0LTIuNDdabS0xLjgyIDEzLjE4YTEgMSAwIDEgMC0yIC4wNSAxIDEgMCAwIDAgMi0uMDVaIi8+PHBhdGggZD0iTTMuMiAxMi42NmEuODkuODkgMCAwIDAgLjExIDEuMjMgMSAxIDAgMCAwIDEuMjMuMWMzLjQtMi42NSA0LjgyLTIuNjUgOC4yNyAwYS45NS45NSAwIDAgMCAxLjMyLTEuMzNjLTIuNjQtMy40LTIuNjQtNC44MSAwLTguMjZBLjkuOSAwIDAgMCAxNCAzLjE3YS44OS44OSAwIDAgMC0xLjIzLS4xQzkuNDEgNS43MiA4IDUuNzIgNC41NCAzLjA3QTEuMjcgMS4yNyAwIDAgMCA0IDIuODlhLjg0Ljg0IDAgMCAwLS42Ni4yOC45LjkgMCAwIDAtLjEyIDEuMjNjMi43MiAzLjQ1IDIuNzIgNC43Ny0uMDIgOC4yNloiIHN0eWxlPSJmaWxsOiNmY2ZlZmUiLz48L3N2Zz4=",Dl=Object.defineProperty,Xl=Object.getOwnPropertySymbols,Ul=Object.prototype.hasOwnProperty,fc=Object.prototype.propertyIsEnumerable,Ou=(Ze,ye,Te)=>ye in Ze?Dl(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,$o=(Ze,ye)=>{for(var Te in ye||(ye={}))Ul.call(ye,Te)&&Ou(Ze,Te,ye[Te]);if(Xl)for(var Te of Xl(ye))fc.call(ye,Te)&&Ou(Ze,Te,ye[Te]);return Ze};const Du=Ze=>g.createElement("svg",$o({id:"magic-click_svg__\\u56FE\\u5C42_1","data-name":"\\u56FE\\u5C42 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Ze),g.createElement("defs",null,g.createElement("style",null,".magic-click_svg__cls-1{fill:#fff}")),g.createElement("path",{className:"magic-click_svg__cls-1",d:"M30.88 21.21a1.6 1.6 0 0 1-1 1.35c-1.54.75-3.08 1.51-4.59 2.31a2.18 2.18 0 0 0-.87.86c-.79 1.49-1.53 3-2.27 4.53a1.49 1.49 0 0 1-2.89-.18Q17.2 23.8 15.1 17.52a1.49 1.49 0 0 1 2-2l12.55 4.19a1.56 1.56 0 0 1 1.23 1.5Zm-5.25.23-6.94-2.32 2.32 7c.37-.74.71-1.3.95-1.9a3 3 0 0 1 1.8-1.79c.6-.29 1.15-.62 1.87-.99ZM7.34 6.09a4.23 4.23 0 0 1 .89.54l3 3a1.45 1.45 0 1 1-2 2c-1-1-2.06-2-3.07-3.07A1.37 1.37 0 0 1 5.83 7a1.6 1.6 0 0 1 1.51-.91ZM22.35 12.35a6.61 6.61 0 0 1-1.12-.92 1.14 1.14 0 0 1 .09-1.51c1.14-1.19 2.3-2.37 3.5-3.49a1.31 1.31 0 0 1 1.84.1 1.34 1.34 0 0 1 .14 1.9c-1.11 1.19-2.28 2.32-3.45 3.45a3.92 3.92 0 0 1-1 .47ZM7 27.68a6 6 0 0 1-1.13-.9 1.12 1.12 0 0 1 .13-1.5c1.15-1.21 2.32-2.4 3.55-3.54a1.32 1.32 0 0 1 1.84.17 1.33 1.33 0 0 1 .1 1.85C10.35 25 9.16 26.11 8 27.25a3.75 3.75 0 0 1-1 .43ZM17.87 6v2A1.46 1.46 0 1 1 15 8V3.87a1.49 1.49 0 0 1 1.46-1.56 1.51 1.51 0 0 1 1.45 1.57c-.03.74-.04 1.44-.04 2.12ZM5.48 18.3h-2a1.5 1.5 0 0 1-1.55-1.5 1.48 1.48 0 0 1 1.59-1.42h4.07a1.49 1.49 0 0 1 1.59 1.49 1.5 1.5 0 0 1-1.6 1.42c-.69.02-1.4.01-2.1.01Z"}),g.createElement("path",{className:"magic-click_svg__cls-1",d:"M25.63 21.44c-.72.37-1.27.7-1.87.94A3 3 0 0 0 22 24.17c-.24.6-.58 1.16-.95 1.9l-2.32-6.95Z"}));var su="data:image/svg+xml;base64,PHN2ZyBpZD0i5Zu+5bGCXzEiIGRhdGEtbmFtZT0i5Zu+5bGCIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDM0LjAyIDM0LjAyIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZn08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0zMC44OCAyMS4yMWExLjYgMS42IDAgMCAxLTEgMS4zNWMtMS41NC43NS0zLjA4IDEuNTEtNC41OSAyLjMxYTIuMTggMi4xOCAwIDAgMC0uODcuODZjLS43OSAxLjQ5LTEuNTMgMy0yLjI3IDQuNTNhMS40OSAxLjQ5IDAgMCAxLTIuODktLjE4UTE3LjIgMjMuOCAxNS4xIDE3LjUyYTEuNDkgMS40OSAwIDAgMSAyLTJsMTIuNTUgNC4xOWExLjU2IDEuNTYgMCAwIDEgMS4yMyAxLjVabS01LjI1LjIzLTYuOTQtMi4zMiAyLjMyIDdjLjM3LS43NC43MS0xLjMuOTUtMS45YTMgMyAwIDAgMSAxLjgtMS43OWMuNi0uMjkgMS4xNS0uNjIgMS44Ny0uOTlaTTcuMzQgNi4wOWE0LjIzIDQuMjMgMCAwIDEgLjg5LjU0bDMgM2ExLjQ1IDEuNDUgMCAxIDEtMiAyYy0xLTEtMi4wNi0yLTMuMDctMy4wN0ExLjM3IDEuMzcgMCAwIDEgNS44MyA3YTEuNiAxLjYgMCAwIDEgMS41MS0uOTFaTTIyLjM1IDEyLjM1YTYuNjEgNi42MSAwIDAgMS0xLjEyLS45MiAxLjE0IDEuMTQgMCAwIDEgLjA5LTEuNTFjMS4xNC0xLjE5IDIuMy0yLjM3IDMuNS0zLjQ5YTEuMzEgMS4zMSAwIDAgMSAxLjg0LjEgMS4zNCAxLjM0IDAgMCAxIC4xNCAxLjljLTEuMTEgMS4xOS0yLjI4IDIuMzItMy40NSAzLjQ1YTMuOTIgMy45MiAwIDAgMS0xIC40N1pNNyAyNy42OGE2IDYgMCAwIDEtMS4xMy0uOSAxLjEyIDEuMTIgMCAwIDEgLjEzLTEuNWMxLjE1LTEuMjEgMi4zMi0yLjQgMy41NS0zLjU0YTEuMzIgMS4zMiAwIDAgMSAxLjg0LjE3IDEuMzMgMS4zMyAwIDAgMSAuMSAxLjg1QzEwLjM1IDI1IDkuMTYgMjYuMTEgOCAyNy4yNWEzLjc1IDMuNzUgMCAwIDEtMSAuNDNaTTE3Ljg3IDZ2MkExLjQ2IDEuNDYgMCAxIDEgMTUgOFYzLjg3YTEuNDkgMS40OSAwIDAgMSAxLjQ2LTEuNTYgMS41MSAxLjUxIDAgMCAxIDEuNDUgMS41N2MtLjAzLjc0LS4wNCAxLjQ0LS4wNCAyLjEyWk01LjQ4IDE4LjNoLTJhMS41IDEuNSAwIDAgMS0xLjU1LTEuNSAxLjQ4IDEuNDggMCAwIDEgMS41OS0xLjQyaDQuMDdhMS40OSAxLjQ5IDAgMCAxIDEuNTkgMS40OSAxLjUgMS41IDAgMCAxLTEuNiAxLjQyYy0uNjkuMDItMS40LjAxLTIuMS4wMVoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yNS42MyAyMS40NGMtLjcyLjM3LTEuMjcuNy0xLjg3Ljk0QTMgMyAwIDAgMCAyMiAyNC4xN2MtLjI0LjYtLjU4IDEuMTYtLjk1IDEuOWwtMi4zMi02Ljk1WiIvPjwvc3ZnPg==",As=Object.defineProperty,tl=Object.getOwnPropertySymbols,gl=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Ii=(Ze,ye,Te)=>ye in Ze?As(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Jl=(Ze,ye)=>{for(var Te in ye||(ye={}))gl.call(ye,Te)&&Ii(Ze,Te,ye[Te]);if(tl)for(var Te of tl(ye))Zt.call(ye,Te)&&Ii(Ze,Te,ye[Te]);return Ze};const Wi=Ze=>g.createElement("svg",Jl({width:16,height:16,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("g",{clipPath:"url(#pen-add_svg__a)",fill:"#fff"},g.createElement("path",{d:"M16.7 10c0-.1 0-.1.1-.2v-.2c0-.1 0-.1-.1-.1l-3.2-3.2-3.1-3.1v-.1H10.1c-.1.2-.3.3-.6.3-1.7.7-3.4 1.3-5.2 1.9-.1 0-.1.1-.2.1s0 .1 0 .2c-.2.6-.4 1.2-.6 1.9C3 9.2 2.5 11 2 12.7L.3 18.4c-.1.3-.2.7-.3 1l.2-.1L7 12.4l.1-.1V12c-.1-.2-.2-.5-.2-.8 0-.3 0-.6.1-.8.1-.3.3-.5.5-.7.2-.2.4-.3.7-.4H9c.3 0 .5.1.8.3.2.1.4.3.6.6.9-.8 2-1.2 3.3-1.2 1.1 0 2.2.4 3 1Z"}),g.createElement("path",{d:"M8.6 13.2h-.3c-.2-.1-.3-.2-.5-.3L.7 20l4-1.2 5-1.4c-.7-.9-1.2-2-1.2-3.3 0-.3.1-.6.1-.9ZM11.3 2.6 16.7 8l.8.8L20 7.2 12.8 0l-.1.1c-.5.8-1 1.5-1.5 2.2v.2l.1.1c-.1 0-.1 0 0 0ZM16.4 11c-.7-.6-1.7-1.1-2.7-1.1-1.2 0-2.3.5-3 1.3-.4.5-.8 1-.9 1.7-.1.4-.2.7-.2 1.1 0 1.2.5 2.2 1.3 3 .7.7 1.7 1.2 2.9 1.2 2.3 0 4.1-1.9 4.1-4.1-.1-1.2-.7-2.3-1.5-3.1Zm-1.1 4.1h-.7v.8c0 .6-.4 1-1 1s-1-.4-1-1v-.8H12c-.6 0-1-.4-1-1s.4-1 1-1h.6v-.5c0-.6.4-1 1-1s1 .4 1 1v.5h.7c.6 0 1 .4 1 1s-.4 1-1 1Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"pen-add_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"}))));var Ko="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Ik0xNi43IDEwYzAtLjEgMC0uMS4xLS4ydi0uMmMwLS4xIDAtLjEtLjEtLjFsLTMuMi0zLjItMy4xLTMuMXYtLjFIMTAuMWMtLjEuMi0uMy4zLS42LjMtMS43LjctMy40IDEuMy01LjIgMS45LS4xIDAtLjEuMS0uMi4xczAgLjEgMCAuMmMtLjIuNi0uNCAxLjItLjYgMS45QzMgOS4yIDIuNSAxMSAyIDEyLjdMLjMgMTguNGMtLjEuMy0uMi43LS4zIDFsLjItLjFMNyAxMi40bC4xLS4xVjEyYy0uMS0uMi0uMi0uNS0uMi0uOCAwLS4zIDAtLjYuMS0uOC4xLS4zLjMtLjUuNS0uNy4yLS4yLjQtLjMuNy0uNEg5Yy4zIDAgLjUuMS44LjMuMi4xLjQuMy42LjYuOS0uOCAyLTEuMiAzLjMtMS4yIDEuMSAwIDIuMi40IDMgMVoiLz48cGF0aCBkPSJNOC42IDEzLjJoLS4zYy0uMi0uMS0uMy0uMi0uNS0uM0wuNyAyMGw0LTEuMiA1LTEuNGMtLjctLjktMS4yLTItMS4yLTMuMyAwLS4zLjEtLjYuMS0uOVpNMTEuMyAyLjYgMTYuNyA4bC44LjhMMjAgNy4yIDEyLjggMGwtLjEuMWMtLjUuOC0xIDEuNS0xLjUgMi4ydi4ybC4xLjFjLS4xIDAtLjEgMCAwIDBaTTE2LjQgMTFjLS43LS42LTEuNy0xLjEtMi43LTEuMS0xLjIgMC0yLjMuNS0zIDEuMy0uNC41LS44IDEtLjkgMS43LS4xLjQtLjIuNy0uMiAxLjEgMCAxLjIuNSAyLjIgMS4zIDMgLjcuNyAxLjcgMS4yIDIuOSAxLjIgMi4zIDAgNC4xLTEuOSA0LjEtNC4xLS4xLTEuMi0uNy0yLjMtMS41LTMuMVptLTEuMSA0LjFoLS43di44YzAgLjYtLjQgMS0xIDFzLTEtLjQtMS0xdi0uOEgxMmMtLjYgMC0xLS40LTEtMXMuNC0xIDEtMWguNnYtLjVjMC0uNi40LTEgMS0xczEgLjQgMSAxdi41aC43Yy42IDAgMSAuNCAxIDFzLS40IDEtMSAxWiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0wIDBoMjB2MjBIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",po=Object.defineProperty,pu=Object.getOwnPropertySymbols,hu=Object.prototype.hasOwnProperty,bs=Object.prototype.propertyIsEnumerable,ml=(Ze,ye,Te)=>ye in Ze?po(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Ei=(Ze,ye)=>{for(var Te in ye||(ye={}))hu.call(ye,Te)&&ml(Ze,Te,ye[Te]);if(pu)for(var Te of pu(ye))bs.call(ye,Te)&&ml(Ze,Te,ye[Te]);return Ze};const Di=Ze=>g.createElement("svg",Ei({width:16,height:16,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("g",{clipPath:"url(#pen-erase_svg__a)",fill:"#fff"},g.createElement("path",{d:"m16.74 10 .07-.2a.22.22 0 0 0 0-.16.22.22 0 0 0-.09-.12l-3.14-3.16-3.07-3.08a.18.18 0 0 0 0-.07H10.29l-.72.26-5.23 1.82a.42.42 0 0 0-.18.11.35.35 0 0 0-.1.19c-.17.63-.36 1.25-.55 1.88C3 9.21 2.51 11 2 12.67L.3 18.34c-.09.31-.18.66-.3 1l.16-.14L7 12.42l.06-.06a.16.16 0 0 0 0-.09.17.17 0 0 0 0-.1v-.08a1.87 1.87 0 0 1-.06-1.6A1.95 1.95 0 0 1 8.16 9.4c.27-.09.558-.118.84-.08a2 2 0 0 1 .78.26c.232.15.432.344.59.57a5 5 0 0 1 6.37-.15Z"}),g.createElement("path",{d:"M8.63 13.2c-.106.01-.214.01-.32 0a3.38 3.38 0 0 1-.52-.22L.74 20l4-1.2 5-1.44a4.9 4.9 0 0 1-1.11-4.16ZM11.25 2.62c1.83 1.82 3.62 3.62 5.43 5.43l.81.83L20 7.21 12.83 0l-.08.1c-.5.75-1 1.53-1.5 2.25v.06a.192.192 0 0 0 0 .07.19.19 0 0 0 0 .08.208.208 0 0 0 0 .06ZM16.38 11a4.1 4.1 0 0 0-6.66 2 4.24 4.24 0 0 0-.18 1.13 4.11 4.11 0 0 0 1.27 3 4.06 4.06 0 0 0 2.85 1.16A4.12 4.12 0 0 0 16.38 11Zm-1 4.08h-3.32a1 1 0 0 1 0-2h3.27a1 1 0 0 1 0 2h.05Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"pen-erase_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"}))));var ls="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Im0xNi43NCAxMCAuMDctLjJhLjIyLjIyIDAgMCAwIDAtLjE2LjIyLjIyIDAgMCAwLS4wOS0uMTJsLTMuMTQtMy4xNi0zLjA3LTMuMDhhLjE4LjE4IDAgMCAwIDAtLjA3SDEwLjI5bC0uNzIuMjYtNS4yMyAxLjgyYS40Mi40MiAwIDAgMC0uMTguMTEuMzUuMzUgMCAwIDAtLjEuMTljLS4xNy42My0uMzYgMS4yNS0uNTUgMS44OEMzIDkuMjEgMi41MSAxMSAyIDEyLjY3TC4zIDE4LjM0Yy0uMDkuMzEtLjE4LjY2LS4zIDFsLjE2LS4xNEw3IDEyLjQybC4wNi0uMDZhLjE2LjE2IDAgMCAwIDAtLjA5LjE3LjE3IDAgMCAwIDAtLjF2LS4wOGExLjg3IDEuODcgMCAwIDEtLjA2LTEuNkExLjk1IDEuOTUgMCAwIDEgOC4xNiA5LjRjLjI3LS4wOS41NTgtLjExOC44NC0uMDhhMiAyIDAgMCAxIC43OC4yNmMuMjMyLjE1LjQzMi4zNDQuNTkuNTdhNSA1IDAgMCAxIDYuMzctLjE1WiIvPjxwYXRoIGQ9Ik04LjYzIDEzLjJjLS4xMDYuMDEtLjIxNC4wMS0uMzIgMGEzLjM4IDMuMzggMCAwIDEtLjUyLS4yMkwuNzQgMjBsNC0xLjIgNS0xLjQ0YTQuOSA0LjkgMCAwIDEtMS4xMS00LjE2Wk0xMS4yNSAyLjYyYzEuODMgMS44MiAzLjYyIDMuNjIgNS40MyA1LjQzbC44MS44M0wyMCA3LjIxIDEyLjgzIDBsLS4wOC4xYy0uNS43NS0xIDEuNTMtMS41IDIuMjV2LjA2YS4xOTIuMTkyIDAgMCAwIDAgLjA3LjE5LjE5IDAgMCAwIDAgLjA4LjIwOC4yMDggMCAwIDAgMCAuMDZaTTE2LjM4IDExYTQuMSA0LjEgMCAwIDAtNi42NiAyIDQuMjQgNC4yNCAwIDAgMC0uMTggMS4xMyA0LjExIDQuMTEgMCAwIDAgMS4yNyAzIDQuMDYgNC4wNiAwIDAgMCAyLjg1IDEuMTZBNC4xMiA0LjEyIDAgMCAwIDE2LjM4IDExWm0tMSA0LjA4aC0zLjMyYTEgMSAwIDAgMSAwLTJoMy4yN2ExIDEgMCAwIDEgMCAyaC4wNVoiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDIwdjIwSDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",us=Object.defineProperty,ho=Object.getOwnPropertySymbols,nl=Object.prototype.hasOwnProperty,yu=Object.prototype.propertyIsEnumerable,Ni=(Ze,ye,Te)=>ye in Ze?us(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,lu=(Ze,ye)=>{for(var Te in ye||(ye={}))nl.call(ye,Te)&&Ni(Ze,Te,ye[Te]);if(ho)for(var Te of ho(ye))yu.call(ye,Te)&&Ni(Ze,Te,ye[Te]);return Ze};const wu=Ze=>g.createElement("svg",lu({viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("path",{d:"M18.33 4.069a.67.67 0 0 0 .67-.672V.671A.672.672 0 0 0 18.33 0h-2.718a.67.67 0 0 0-.671.671v.672H4.066V.67A.672.672 0 0 0 3.395 0H.67A.67.67 0 0 0 0 .671v2.72a.672.672 0 0 0 .67.67h.672v10.877H.67A.67.67 0 0 0 0 15.61v2.72A.672.672 0 0 0 .67 19h2.718a.67.67 0 0 0 .671-.671v-.672h10.869v.672a.672.672 0 0 0 .67.671h2.718a.67.67 0 0 0 .67-.671v-2.706a.672.672 0 0 0-.67-.671h-.671V4.069h.684Zm-2.014 10.876h-.67a.67.67 0 0 0-.671.671v.672H4.065v-.672a.672.672 0 0 0-.67-.671h-.671V4.069h.67a.67.67 0 0 0 .672-.672v-.671h10.868v.671a.672.672 0 0 0 .671.672h.671l.02 5.438.02 5.438Z",fill:"#fff"}),g.createElement("g",{stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"},g.createElement("path",{d:"m6.71 6.713 6.037 6.043M6.71 6.713l6.037 6.043M6.71 6.713l6.037 6.043M6.71 6.713l6.037 6.043"})),g.createElement("g",{stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"},g.createElement("path",{d:"M12.747 6.713 6.71 12.756M12.747 6.713 6.71 12.756M12.747 6.713 6.71 12.756M12.747 6.713 6.71 12.756"})));var rl="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTkgMTkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE4LjMzIDQuMDY5YS42Ny42NyAwIDAgMCAuNjctLjY3MlYuNjcxQS42NzIuNjcyIDAgMCAwIDE4LjMzIDBoLTIuNzE4YS42Ny42NyAwIDAgMC0uNjcxLjY3MXYuNjcySDQuMDY2Vi42N0EuNjcyLjY3MiAwIDAgMCAzLjM5NSAwSC42N0EuNjcuNjcgMCAwIDAgMCAuNjcxdjIuNzJhLjY3Mi42NzIgMCAwIDAgLjY3LjY3aC42NzJ2MTAuODc3SC42N0EuNjcuNjcgMCAwIDAgMCAxNS42MXYyLjcyQS42NzIuNjcyIDAgMCAwIC42NyAxOWgyLjcxOGEuNjcuNjcgMCAwIDAgLjY3MS0uNjcxdi0uNjcyaDEwLjg2OXYuNjcyYS42NzIuNjcyIDAgMCAwIC42Ny42NzFoMi43MThhLjY3LjY3IDAgMCAwIC42Ny0uNjcxdi0yLjcwNmEuNjcyLjY3MiAwIDAgMC0uNjctLjY3MWgtLjY3MVY0LjA2OWguNjg0Wm0tMi4wMTQgMTAuODc2aC0uNjdhLjY3LjY3IDAgMCAwLS42NzEuNjcxdi42NzJINC4wNjV2LS42NzJhLjY3Mi42NzIgMCAwIDAtLjY3LS42NzFoLS42NzFWNC4wNjloLjY3YS42Ny42NyAwIDAgMCAuNjcyLS42NzJ2LS42NzFoMTAuODY4di42NzFhLjY3Mi42NzIgMCAwIDAgLjY3MS42NzJoLjY3MWwuMDIgNS40MzguMDIgNS40MzhaIiBmaWxsPSIjZmZmIi8+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48cGF0aCBkPSJtNi43MSA2LjcxMyA2LjAzNyA2LjA0M002LjcxIDYuNzEzbDYuMDM3IDYuMDQzTTYuNzEgNi43MTNsNi4wMzcgNi4wNDNNNi43MSA2LjcxM2w2LjAzNyA2LjA0MyIvPjwvZz48ZyBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiPjxwYXRoIGQ9Ik0xMi43NDcgNi43MTMgNi43MSAxMi43NTZNMTIuNzQ3IDYuNzEzIDYuNzEgMTIuNzU2TTEyLjc0NyA2LjcxMyA2LjcxIDEyLjc1Nk0xMi43NDcgNi43MTMgNi43MSAxMi43NTYiLz48L2c+PC9zdmc+",wl=Object.defineProperty,al=Object.getOwnPropertySymbols,Os=Object.prototype.hasOwnProperty,Ds=Object.prototype.propertyIsEnumerable,bu=(Ze,ye,Te)=>ye in Ze?wl(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Ws=(Ze,ye)=>{for(var Te in ye||(ye={}))Os.call(ye,Te)&&bu(Ze,Te,ye[Te]);if(al)for(var Te of al(ye))Ds.call(ye,Te)&&bu(Ze,Te,ye[Te]);return Ze};const ha=Ze=>g.createElement("svg",Ws({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Ze),g.createElement("defs",null,g.createElement("style",null,".segment-everything_svg__cls-1{fill:#fff}.segment-everything_svg__cls-3{fill:none}")),g.createElement("path",{className:"segment-everything_svg__cls-1",d:"m6.26 15.54 5.88 3.88a1 1 0 0 1 0 1.56L6.1 25.29a.9.9 0 0 1-1.41-.79l.19-8.2a.9.9 0 0 1 1.38-.76ZM7.58 29.17 23.43 17.7a1.71 1.71 0 0 1 2.25.22l3.32 3.5v7.75Z"}),g.createElement("path",{d:"M31 4.35a.88.88 0 0 0-.11-1.19 1 1 0 0 0-1.19-.09c-3.29 2.56-4.66 2.56-8 0a.87.87 0 0 0-1.19.09.87.87 0 0 0-.09 1.19c2.56 3.29 2.56 4.66 0 8a.92.92 0 0 0 1.28 1.28c3.29-2.56 4.66-2.56 8 0a1.28 1.28 0 0 0 .55.18.91.91 0 0 0 .64-.27.87.87 0 0 0 .11-1.19c-2.65-3.35-2.65-4.62 0-8Z",style:{fill:"#fcfefe"}}),g.createElement("path",{className:"segment-everything_svg__cls-3",d:"M4.07 4.13h26.29v26.29H4.07z"}),g.createElement("path",{className:"segment-everything_svg__cls-3",d:"M6.39 28.56h22.49V17H16.49v-3.38a2.56 2.56 0 0 1-2 .93 2.63 2.63 0 0 1-2.59-2.72 2.66 2.66 0 0 1 2.6-2.67 2.57 2.57 0 0 1 2 .95v-4H6.39Z"}),g.createElement("path",{className:"segment-everything_svg__cls-1",d:"M14.51 9.16a2.66 2.66 0 0 0-2.6 2.67 2.63 2.63 0 0 0 2.59 2.72 2.56 2.56 0 0 0 2-.93v-3.51a2.57 2.57 0 0 0-1.99-.95Z"}),g.createElement("path",{className:"segment-everything_svg__cls-1",d:"M28.88 28.56H6.39V6.1h10.1V4.25H5.42a.88.88 0 0 0-.89.88v25.28h26.21V17h-1.86Z"}),g.createElement("path",{className:"segment-everything_svg__cls-1",d:"M17.14 11.87a2.74 2.74 0 0 0-.65-1.76v3.51a2.7 2.7 0 0 0 .65-1.75Z"}));var rt="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmZmZ9LmNscy0ze2ZpbGw6bm9uZX08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im02LjI2IDE1LjU0IDUuODggMy44OGExIDEgMCAwIDEgMCAxLjU2TDYuMSAyNS4yOWEuOS45IDAgMCAxLTEuNDEtLjc5bC4xOS04LjJhLjkuOSAwIDAgMSAxLjM4LS43NlpNNy41OCAyOS4xNyAyMy40MyAxNy43YTEuNzEgMS43MSAwIDAgMSAyLjI1LjIybDMuMzIgMy41djcuNzVaIi8+PHBhdGggZD0iTTMxIDQuMzVhLjg4Ljg4IDAgMCAwLS4xMS0xLjE5IDEgMSAwIDAgMC0xLjE5LS4wOWMtMy4yOSAyLjU2LTQuNjYgMi41Ni04IDBhLjg3Ljg3IDAgMCAwLTEuMTkuMDkuODcuODcgMCAwIDAtLjA5IDEuMTljMi41NiAzLjI5IDIuNTYgNC42NiAwIDhhLjkyLjkyIDAgMCAwIDEuMjggMS4yOGMzLjI5LTIuNTYgNC42Ni0yLjU2IDggMGExLjI4IDEuMjggMCAwIDAgLjU1LjE4LjkxLjkxIDAgMCAwIC42NC0uMjcuODcuODcgMCAwIDAgLjExLTEuMTljLTIuNjUtMy4zNS0yLjY1LTQuNjIgMC04WiIgc3R5bGU9ImZpbGw6I2ZjZmVmZSIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTQuMDcgNC4xM2gyNi4yOXYyNi4yOUg0LjA3eiIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTYuMzkgMjguNTZoMjIuNDlWMTdIMTYuNDl2LTMuMzhhMi41NiAyLjU2IDAgMCAxLTIgLjkzIDIuNjMgMi42MyAwIDAgMS0yLjU5LTIuNzIgMi42NiAyLjY2IDAgMCAxIDIuNi0yLjY3IDIuNTcgMi41NyAwIDAgMSAyIC45NXYtNEg2LjM5WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTE0LjUxIDkuMTZhMi42NiAyLjY2IDAgMCAwLTIuNiAyLjY3IDIuNjMgMi42MyAwIDAgMCAyLjU5IDIuNzIgMi41NiAyLjU2IDAgMCAwIDItLjkzdi0zLjUxYTIuNTcgMi41NyAwIDAgMC0xLjk5LS45NVoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yOC44OCAyOC41Nkg2LjM5VjYuMWgxMC4xVjQuMjVINS40MmEuODguODggMCAwIDAtLjg5Ljg4djI1LjI4aDI2LjIxVjE3aC0xLjg2WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTE3LjE0IDExLjg3YTIuNzQgMi43NCAwIDAgMC0uNjUtMS43NnYzLjUxYTIuNyAyLjcgMCAwIDAgLjY1LTEuNzVaIi8+PC9zdmc+",Vt=function(ye){var Te=ye.drawData,An=ye.onChangePointResolution,yt=(0,z.bU)(),Pn=yt.localeText,Sn=(0,g.useMemo)(function(){return Te.objectList.length===0&&!Te.creatingObject||Te.isBatchEditing},[Te.objectList,Te.creatingObject,Te.isBatchEditing]),In=(0,g.useMemo)(function(){return[{key:B.jB.PenAdd,name:Pn("DDSAnnotator.subtoolbar.mask.penAdd"),icon:(0,C.jsx)(J.Z,{component:Wi}),available:!0},{key:B.jB.PenErase,name:Pn("DDSAnnotator.subtoolbar.mask.penErase"),icon:(0,C.jsx)(J.Z,{component:Di}),available:!!Te.creatingObject},{key:B.jB.BrushAdd,name:Pn("DDSAnnotator.subtoolbar.mask.brushAdd"),icon:(0,C.jsx)(J.Z,{component:dl}),available:!0,withSize:!0},{key:B.jB.BrushErase,name:Pn("DDSAnnotator.subtoolbar.mask.brushErase"),icon:(0,C.jsx)(J.Z,{component:ks}),available:!!Te.creatingObject,withSize:!0}]},[Te.creatingObject]),Un=(0,g.useMemo)(function(){return[{key:B.jB.AutoSegmentByBox,name:Pn("DDSAnnotator.subtoolbar.mask.box"),icon:(0,C.jsx)(J.Z,{component:Si}),available:!0},{key:B.jB.AutoSegmentByStroke,name:Pn("DDSAnnotator.subtoolbar.mask.stroke"),icon:(0,C.jsx)(J.Z,{component:Yi}),available:!0,withSize:!0},{key:B.jB.AutoSegmentByClick,name:Pn("DDSAnnotator.subtoolbar.mask.click"),icon:(0,C.jsx)(J.Z,{component:Du}),available:!0}]},[]),ir=(0,g.useMemo)(function(){return[{key:B.jB.AutoSegmentByBox,name:Pn("DDSAnnotator.subtoolbar.mask.box"),icon:(0,C.jsx)(J.Z,{component:Si}),available:!0,withCustomElement:!0},{key:B.jB.AutoSegmentByStroke,name:Pn("DDSAnnotator.subtoolbar.mask.stroke"),icon:(0,C.jsx)(J.Z,{component:Yi}),available:!0,withSize:!0,withCustomElement:!0},{key:B.jB.AutoSegmentByClick,name:Pn("DDSAnnotator.subtoolbar.mask.click"),icon:(0,C.jsx)(J.Z,{component:Du}),available:!0,withCustomElement:!0}]},[]),Mr=(0,g.useMemo)(function(){var Rr;return[{key:B.jB.PositiveVisualPrompt,name:Pn("DDSAnnotator.subtoolbar.visualprompt.positive"),icon:(0,C.jsx)(J.Z,{component:$s}),available:!0},{key:B.jB.NegativeVisualPrompt,name:Pn("DDSAnnotator.subtoolbar.visualprompt.negative"),icon:(0,C.jsx)(J.Z,{component:wu}),available:!!((Rr=Te.prompt.promptsQueue)!==null&&Rr!==void 0&&Rr.some(function(Yn){return Yn.isPositive}))}]},[Te.prompt]),pr=(0,g.useMemo)(function(){return[{key:B.jB.AutoSegmentEverything,name:Pn("DDSAnnotator.subtoolbar.mask.sam"),icon:(0,C.jsx)(J.Z,{component:ha}),available:Sn,description:Pn(Sn?"DDSAnnotator.subtoolbar.mask.sam.desc":"DDSAnnotator.subtoolbar.mask.sam.notAllow")},{key:B.jB.AutoEdgeStitching,name:Pn("DDSAnnotator.subtoolbar.mask.edgeStitch"),icon:(0,C.jsx)(J.Z,{component:Ol}),available:!0,withSize:!0}]},[Sn]),Ln=(0,g.useMemo)(function(){var Rr=Te.selectedTool,Yn=Te.creatingObject,lr=Te.AIAnnotation,Nr=Te.selectedModel;return!!(Rr===B.ru.Mask||(Yn==null?void 0:Yn.type)===B.gr.Mask||Rr===B.ru.Rectangle&&lr&&Nr[Rr]===B.HE.IVP||(Rr===B.ru.Polygon||(Yn==null?void 0:Yn.type)===B.gr.Polygon)&&lr)},[Te.selectedTool,Te.creatingObject,Te.AIAnnotation,Te.selectedModel]),da=(0,g.useMemo)(function(){var Rr,Yn;if(Te.selectedTool===B.ru.Mask||((Rr=Te.creatingObject)===null||Rr===void 0?void 0:Rr.type)===B.gr.Mask){if(!Te.AIAnnotation)return{basicTools:In,smartTools:[]};var lr=Te.selectedModel[Te.selectedTool];return lr===B.HE.IVP?{basicTools:[],smartTools:Mr}:lr===B.HE.SegmentByMask?{basicTools:[],smartTools:Un}:lr===B.HE.SegmentEverything?{basicTools:[],smartTools:pr}:{basicTools:In,smartTools:[]}}else{if(Te.selectedTool===B.ru.Polygon||((Yn=Te.creatingObject)===null||Yn===void 0?void 0:Yn.type)===B.gr.Polygon)return{basicTools:[],smartTools:ir,customElement:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"dds-annotator-subtoolbar-title",children:Pn("DDSAnnotator.subtoolbar.polygon.pointResolution")}),(0,C.jsx)("div",{className:"dds-annotator-subtoolbar-slider",children:(0,C.jsx)(ca.Z,{min:.1,max:.9,step:.1,value:Te.pointResolution,onChange:An,onAfterChange:function(ia){return An(ia,!0)}})})]})};if(Te.selectedTool===B.ru.Rectangle&&Te.AIAnnotation&&Te.selectedModel[Te.selectedTool]===B.HE.IVP)return{basicTools:[],smartTools:Mr}}return{basicTools:[],smartTools:[]}},[Te.selectedTool,Te.creatingObject,Te.AIAnnotation,Te.selectedModel,ir,In,Un,pr,Mr,Te.pointResolution]);return{showSubTools:Ln,currSubTools:da}},Wn=Vt,cr=function(ye){var Te=ye.mode,An=ye.manualMode,yt=ye.drawData,Pn=ye.setDrawData,Sn=ye.setDrawDataWithHistory,In=ye.setAiLabels,Un=ye.editState,ir=ye.setEditState,Mr=ye.clientSize,pr=ye.naturalSize,Ln=ye.addObject,da=ye.updateObject,Rr=ye.updateAllObject,Yn=ye.getAnnotColor,lr=ye.onAiAnnotation,Nr=(0,z.bU)(),ia=Nr.localeText,Vr=(0,g.useCallback)(function(At){var Yt;return Un.annotsDisplayOptions.colorByCategory?Yn(At):yt.activeObjectIndex>-1?yt.objectList[yt.activeObjectIndex].color:((Yt=yt.creatingObject)===null||Yt===void 0?void 0:Yt.color)||Yn(At)},[Un.annotsDisplayOptions.colorByCategory,Yn,yt.activeObjectIndex,yt.objectList,yt.creatingObject]),Lr=function(Yt){var ln=yt.objectList[yt.activeObjectIndex];if(ln){var Hn=t()(t()({},yt.objectList[yt.activeObjectIndex]),{},{attributes:void 0});Hn.labelId=Yt,Un.annotsDisplayOptions.colorByCategory&&(Hn.color=Yn(Yt)),Hn.type===B.gr.Mask&&Hn.maskRle&&(Hn.maskCanvasElement=(0,Gn.ei)(Hn.maskRle,pr,Hn.color)),yt.isBatchEditing&&(Hn.conf=1),da(Hn,yt.activeObjectIndex)}ir(function(Dn){Dn.latestLabelId=Yt})},ga=(0,g.useCallback)(function(At){var Yt,ln;if(((Yt=yt.creatingObject)===null||Yt===void 0?void 0:Yt.type)===B.gr.Mask){var Hn,Dn,qn=(0,Gn.G9)(Mr,pr,((Hn=yt.creatingObject)===null||Hn===void 0?void 0:Hn.tempMaskSteps)||[],(Dn=yt.creatingObject)===null||Dn===void 0?void 0:Dn.maskCanvasElement);if(qn&&qn.length>0){var Kr=Vr(At),na=t()(t()({},yt.objectList[yt.activeObjectIndex]),{},{type:B.gr.Mask,labelId:At,hidden:!1,maskRle:qn,maskCanvasElement:(0,Gn.ei)(qn,pr,Kr),conf:1,status:Q.TK.Commited,color:Kr});yt.activeObjectIndex>-1?da(na,yt.activeObjectIndex):Ln(na,!0)}else qn?S.ZP.warning(ia("DDSAnnotator.anno.mask.emptyWarning")):S.ZP.error(ia("DDSAnnotator.anno.mask.translateToRleError"))}else if(((ln=yt.creatingObject)===null||ln===void 0?void 0:ln.type)===B.gr.Polygon){var Or,ba=Yn(At),Pa=t()(t()({},yt.objectList[yt.activeObjectIndex]),{},{type:B.gr.Polygon,labelId:At,hidden:!1,polygon:(Or=yt.creatingObject)===null||Or===void 0?void 0:Or.polygon,conf:1,status:Q.TK.Commited,color:ba});yt.activeObjectIndex>-1?da(Pa,yt.activeObjectIndex):Ln(Pa,!0)}else{var Za=t()({},yt.objectList[yt.activeObjectIndex]);Za.labelId=At,Un.annotsDisplayOptions.colorByCategory&&(Za.color=Yn(At)),yt.isBatchEditing&&(Za.conf=1),da(Za,yt.activeObjectIndex)}Pn(function(to){to.creatingObject=void 0,to.prompt={},to.activeObjectIndex=-1,to.selectedSubTool===B.jB.PenErase?to.selectedSubTool=B.jB.PenAdd:to.selectedSubTool===B.jB.BrushErase&&(to.selectedSubTool=B.jB.BrushAdd)}),ir(function(to){to.latestLabelId=At})},[yt.creatingObject,yt.activeObjectIndex,yt.objectList,yt.selectedSubTool]),aa=(0,g.useCallback)(function(){Sn(function(At){var Yt=(0,m.cloneDeep)(yt.objectList).filter(function(ln){return ln.status!==Q.TK.Unchecked}).map(function(ln){return ln.status=Q.TK.Commited,ln.type!==B.gr.Mask&&(ln.color=Yn(ln.labelId)),ln});At.objectList=Yt,At.isBatchEditing=!1,At.activeObjectIndex=-1,At.creatingObject=void 0,At.prompt={}}),In(void 0)},[yt.objectList]),rr=(0,g.useCallback)(function(){Sn(function(At){var Yt=(0,m.cloneDeep)(yt.objectList).filter(function(ln){return ln.status===Q.TK.Commited});At.objectList=Yt,At.isBatchEditing=!1,At.activeObjectIndex=-1,At.creatingObject=void 0,At.prompt={}})},[yt.objectList]),Jn=(0,g.useCallback)(function(){var At=yt.selectedTool,Yt=yt.AIAnnotation,ln=yt.selectedModel,Hn=yt.selectedSubTool,Dn=yt.isBatchEditing,qn=yt.creatingObject;if(!Yt)return!1;if(At===B.ru.Rectangle)return Dn;if(At===B.ru.Polygon)return qn;if(At===B.ru.Skeleton)return Dn;if(At===B.ru.Mask){var Kr=ln[At];return Kr===B.HE.IVP||Kr===B.HE.SegmentEverything&&Hn===B.jB.AutoSegmentEverything?Dn:Kr===B.HE.SegmentByMask?qn:!1}return!1},[yt.selectedTool,yt.selectedModel,yt.AIAnnotation,yt.selectedSubTool,yt.isBatchEditing,yt.creatingObject]),Fr=(0,g.useCallback)(function(At){Te!==Q.je.Edit||At===yt.selectedTool&&!yt.AIAnnotation||yt.isBatchEditing||Jn()||Pn(function(Yt){Yt.selectedTool=At,Yt.AIAnnotation=!1,Yt.activeObjectIndex=-1,Yt.creatingObject=void 0,Yt.editingAttribute=void 0,Yt.prompt={}})},[Te,yt.selectedTool,yt.isBatchEditing,yt.AIAnnotation,Jn]),Er=(0,g.useCallback)(function(At){var Yt=yt.selectedTool,ln=yt.selectedModel,Hn=yt.selectedSubTool,Dn=yt.AIAnnotation,qn=yt.isBatchEditing;Te!==Q.je.Edit||At===Hn||Yt===B.ru.Mask&&Dn&&ln[Yt]===B.HE.SegmentEverything&&qn||Pn(function(Kr){Kr.selectedSubTool=At})},[Te,yt.selectedTool,yt.AIAnnotation,yt.selectedModel,yt.isBatchEditing,yt.selectedSubTool,Jn]),jr=(0,g.useCallback)(function(At,Yt){Pn(function(ln){ln.selectedTool=At,ln.selectedSubTool=Yt})},[]),Cr=(0,g.useCallback)(function(){Sn(function(At){At.objectList=At.objectList.filter(function(Yt){return Yt.status===Q.TK.Commited}),At.AIAnnotation=!1,At.isBatchEditing=!1,At.creatingObject=void 0,At.prompt={}})},[]),Ur=(0,g.useCallback)(function(At){Te===Q.je.Edit&&Pn(function(Yt){Yt.brushSize=At})},[Te]),Yr=(0,g.useCallback)(function(At){Te===Q.je.Edit&&Pn(function(Yt){Yt.pointResolution=At})},[Te]),Gr=(0,g.useCallback)(function(At,Yt){if(Yr(At),Yt&&yt.creatingObject&&yt.creatingObject.type===B.gr.Polygon&&yt.prompt.promptsQueue&&yt.prompt.promptsQueue.length>0){var ln=t()(t()({},yt),{},{pointResolution:At});lr({type:B.gr.Polygon,drawData:ln,promptsQueue:yt.prompt.promptsQueue})}},[yt.creatingObject,yt.prompt]),Jr=function(){n.Z.info({centered:!0,closable:!0,title:ia("DDSAnnotator.smart.infoModal.title"),content:ia("DDSAnnotator.smart.infoModal.content"),okText:ia("DDSAnnotator.smart.infoModal.action"),onOk:function(){window.open("https://deepdataspace.com","_blank")}})},Xr=(0,g.useCallback)(function(At){Te!==Q.je.Edit||An||Jn()||Pn(function(Yt){Yt.AIAnnotation=At})},[Te,An,Jn]),K=(0,g.useCallback)(function(At){Sn(function(Yt){var ln=(0,m.cloneDeep)(yt.objectList).map(function(Hn){return Hn.status===Q.TK.Commited?Hn:Hn.conf===void 0?(Hn.status=Q.TK.Unchecked,Hn):(Hn.status=Hn.confAt[1]?Q.TK.Unchecked:Q.TK.Checked,Hn)});Yt.objectList=ln})},[yt.objectList]),F=(0,g.useCallback)(function(At){Sn(function(Yt){var ln=(0,m.cloneDeep)(yt.objectList).map(function(Dn){return Dn.status===Q.TK.Commited||(Dn.status=Dn.conf&&Dn.conf>=At?Q.TK.Checked:Q.TK.Unchecked),Dn});Yt.objectList=ln;var Hn=ln.filter(function(Dn){return Dn.status===Q.TK.Checked}).length;S.ZP.success(ia("DDSAnnotator.smart.tip.annotationApplied",{count:Hn}))})},[yt.objectList]),ce=(0,g.useCallback)(function(At){ir(function(Yt){Yt.imageDisplayOptions=At})},[]),Me=(0,g.useCallback)(function(At){ir(function(Yt){Yt.annotsDisplayOptions=At})},[]),ze=(0,g.useCallback)(function(){if(!(!yt.objectList||!yt.objectList.length)){var At=(0,m.cloneDeep)(yt.objectList).map(function(Yt){var ln=Yn(Yt.labelId);return Yt.type===B.gr.Mask&&Yt.maskRle&&Yt.maskRle.length>0?t()(t()({},Yt),{},{color:ln,maskCanvasElement:(0,Gn.ei)(Yt.maskRle,pr,ln)}):t()(t()({},Yt),{},{color:ln})});Rr(At)}},[yt.objectList,Yn]),Qe=(0,g.useCallback)(function(At){var Yt=yt.selectedTool,ln=B.Xn[Yt];return!(!ln.includes(At)||Jn())},[B.Xn,yt.selectedTool,Jn]),St=(0,g.useCallback)(function(At){Qe(At)&&Pn(function(Yt){Yt.selectedModel[Yt.selectedTool]=At})},[Qe]);return(0,g.useEffect)(function(){Pn(function(At){if(At.AIAnnotation){var Yt=At.selectedModel[At.selectedTool];switch(At.selectedTool){case B.ru.Rectangle:Yt===B.HE.IVP?At.selectedSubTool=B.jB.PositiveVisualPrompt:At.selectedSubTool=B.jB.PenAdd;break;case B.ru.Mask:if(Yt===B.HE.IVP)At.selectedSubTool=B.jB.PositiveVisualPrompt;else if(Yt===B.HE.SegmentEverything){var ln=At.objectList.length===0&&!At.creatingObject||At.isBatchEditing;At.selectedSubTool=ln?B.jB.AutoSegmentEverything:B.jB.PenAdd}else At.selectedSubTool=B.jB.AutoSegmentByBox;break;case B.ru.Polygon:At.selectedSubTool=B.jB.AutoSegmentByBox;break;case B.ru.Skeleton:case B.ru.Drag:At.selectedSubTool=B.jB.PenAdd;break}}else At.selectedSubTool=B.jB.PenAdd})},[yt.selectedTool,yt.AIAnnotation,yt.selectedModel]),{onChangeObjectLabel:Lr,onFinishCurrCreate:ga,onAcceptValidObjects:aa,onAbortBatchObjects:rr,selectTool:Fr,selectSubTool:Er,forceChangeTool:jr,onExitAIAnnotation:Cr,setBrushSize:Ur,activeAIAnnotation:Xr,displayAIModeUnavailableModal:Jr,onChangeSkeletonConf:K,onChangeLimitConf:F,onChangeImageDisplayOpts:ce,onChangeAnnotsDisplayOpts:Me,onChangeColorMode:ze,onChangePointResolution:Gr,onSelectModel:St}},wa=cr,go=e(92183),di=Object.defineProperty,Zo=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,fi=(Ze,ye,Te)=>ye in Ze?di(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Ao=(Ze,ye)=>{for(var Te in ye||(ye={}))os.call(ye,Te)&&fi(Ze,Te,ye[Te]);if(Zo)for(var Te of Zo(ye))ui.call(ye,Te)&&fi(Ze,Te,ye[Te]);return Ze};const To=Ze=>g.createElement("svg",Ao({viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("g",{clipPath:"url(#docs_svg__a)"},g.createElement("path",{d:"M14.666 5.5a.917.917 0 1 1 0 1.833H7.333a.917.917 0 1 1 0-1.833h7.333Zm7.065 16.231a.916.916 0 0 1-1.296 0l-2.206-2.206a4.086 4.086 0 0 1-4.48-.053 4.125 4.125 0 1 1 6.417-3.43 4.085 4.085 0 0 1-.641 2.187l2.206 2.206a.917.917 0 0 1 0 1.296Zm-5.69-3.398a2.292 2.292 0 1 0 0-4.583 2.292 2.292 0 0 0 0 4.583Zm-4.125 1.834h-5.5a2.75 2.75 0 0 1-2.75-2.75V4.583a2.75 2.75 0 0 1 2.75-2.75h11a.917.917 0 0 1 .917.917v7.333a.917.917 0 0 0 1.833 0V2.75A2.75 2.75 0 0 0 17.416 0h-11a4.589 4.589 0 0 0-4.583 4.583v12.834A4.589 4.589 0 0 0 6.416 22h5.5a.917.917 0 1 0 0-1.833Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"docs_svg__a"},g.createElement("path",{d:"M0 0h22v22H0z"}))));var Hi="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjIgMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTQuNjY2IDUuNWEuOTE3LjkxNyAwIDEgMSAwIDEuODMzSDcuMzMzYS45MTcuOTE3IDAgMSAxIDAtMS44MzNoNy4zMzNabTcuMDY1IDE2LjIzMWEuOTE2LjkxNiAwIDAgMS0xLjI5NiAwbC0yLjIwNi0yLjIwNmE0LjA4NiA0LjA4NiAwIDAgMS00LjQ4LS4wNTMgNC4xMjUgNC4xMjUgMCAxIDEgNi40MTctMy40MyA0LjA4NSA0LjA4NSAwIDAgMS0uNjQxIDIuMTg3bDIuMjA2IDIuMjA2YS45MTcuOTE3IDAgMCAxIDAgMS4yOTZabS01LjY5LTMuMzk4YTIuMjkyIDIuMjkyIDAgMSAwIDAtNC41ODMgMi4yOTIgMi4yOTIgMCAwIDAgMCA0LjU4M1ptLTQuMTI1IDEuODM0aC01LjVhMi43NSAyLjc1IDAgMCAxLTIuNzUtMi43NVY0LjU4M2EyLjc1IDIuNzUgMCAwIDEgMi43NS0yLjc1aDExYS45MTcuOTE3IDAgMCAxIC45MTcuOTE3djcuMzMzYS45MTcuOTE3IDAgMCAwIDEuODMzIDBWMi43NUEyLjc1IDIuNzUgMCAwIDAgMTcuNDE2IDBoLTExYTQuNTg5IDQuNTg5IDAgMCAwLTQuNTgzIDQuNTgzdjEyLjgzNEE0LjU4OSA0LjU4OSAwIDAgMCA2LjQxNiAyMmg1LjVhLjkxNy45MTcgMCAxIDAgMC0xLjgzM1oiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",Ms=Object.defineProperty,uu=Object.getOwnPropertySymbols,ql=Object.prototype.hasOwnProperty,Ss=Object.prototype.propertyIsEnumerable,Mu=(Ze,ye,Te)=>ye in Ze?Ms(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,eu=(Ze,ye)=>{for(var Te in ye||(ye={}))ql.call(ye,Te)&&Mu(Ze,Te,ye[Te]);if(uu)for(var Te of uu(ye))Ss.call(ye,Te)&&Mu(Ze,Te,ye[Te]);return Ze};const Es=Ze=>g.createElement("svg",eu({viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},Ze),g.createElement("path",{d:"m15.5 1 13.423 7.75v15.5L15.5 32 2.077 24.25V8.75L15.5 1Z",fill:"#fff"}),g.createElement("path",{fill:"url(#logo_svg__a)",d:"M0 0h33v33H0z"}),g.createElement("defs",null,g.createElement("pattern",{id:"logo_svg__a",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#logo_svg__b",transform:"scale(.00417)"})),g.createElement("image",{id:"logo_svg__b",width:240,height:240,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABLHSURBVHgB7d1fVhw3FgbwKxX2jIE47QWYFCtIWMHACoLBeQ5eAbACmhUAK8B5DtidFcAOcFbgMlmAexyMk4GSRqqmCSYBd3dJKl3V93vKOfPnnND9dd0rXakEQXLy5U+LOtNbmnQhS7ld9B4VBEkSBMnIl3VHyU9bJPTGZ/+Blt0P6o+9fu9JnyApCHAi5lZscEsTXNG5479SaK23f3s1+5IgGQgwc7ZcVlLtm08yH/F/YsvqJZTVaUCAmTLBzU2fu2/63EWazEv0x/whwMwM+tw/1kmoLtXXN/3x7umrR9sELCHAjOSr5+uKbHDv7HMnhf6YKQSYgRvbQovkkSDRE6XYRFnNBwIcMQd97qTQHzOBAEforz733m0h31BWM4AAR+bpytmaELTTYHBvKzSVm78dPu4RRAcBjkSoPrcGlNURQoAbVpXL2cdd81H8SBxo2ZWKfkKQ44AANySSPndS6I8jgQA3YILxx1gVsnzwrOg9fEPQCAQ4oPyHs++0kjsR97mTQn/cEAQ4gDuP+aXG9McYywwLAfbM4/hjrNAfB4QAe5JQnzupN6asfoay2i8E2LEGxx9jhf7YIwTYEcfH/FJTmP74Jfpj9xBgB1rY504K/bFjCHANDMYfo4Rji+4gwBMY9LnK7OfSMkEd6I9rQoDHwHz8MVYoq2tAgEdUHfMjsdXibSHfcGxxAgjwF6DPDQ5l9RgQ4DuwO+aXGrxNYiQI8C3oc6OC/vgLEOAbMP4YLbxN4g4IMCV9zC816I9vaXWAW3PMLzU4tnittQHG+CN76I+phQG2fW4py10hxLcEKWj1scXWBBjH/JLXyv44+QBjW6hVCtJi7/TV9C61RNIBRp/bWq3pj5MMMMYf4UryZXVSAbZ9rsrKLsYf4TNa7Eol9lIMchIBRp8LI0iyrGYf4KerH5eFph2MP8KI7FjmC/M0PqYEsA0w+lyoKYn+mF2AMf4ITjE/tsgqwHMrNrjoc8E5tv0xiwDjmB8Ewu7YYtQBxvgjNIRNfxxlgNHnQgT6pj/ejf3YYnQBTmT8sW9+fLal+Qet5LoWOifgKur+OJoAp3PMT+/JcqZb9ES1qonpsDQIEseiFC9iK6sbD3AqfW71AUu1Wfw8++af/vPq31PqIzyN2YuqP24swKmMP5rgFkKUL4qDr45H+e/nK2drmuQWgsxaNMcWGwlw9ZYDQTv8+1y1Jy9nd4fl8qhQViej8f44aIBTGX80f7SeKGXtt+tdvSTttSb6joCzxsrqIAFO5YlT9bmi3B61XB4VyupENHBs0WuAEzrmV20LnR7Meut5qh+5qcs1s/e4RcBZ0LLaW4ATOuZnyqPpzXH73EkNqpVL80MhvyfgrJDlg2dF7+Eb8sh5gBM95he8x0FZnQyv3x1nAW7B+GMjo3Vzz3/voqxOgKe3STgJcMuO+QXfOsC2UzKcf3dqBbjlx/yCvxEAZXUynB1brBXgudWPmiB4f3xVVq+bf8TFBnwVp4cz81STJKhrTWXqqGojAjk9+KprfjQWTGP1E0GrIcBu5CRU11Qkb+2YKAVgn/inh7NrUuhNgtZCgN3KhRD736yev7YLTxRAcTC7a57G80KLgqB1EGAPzB74simr35on8n6IINunsVBiCSFuHwTYr6v++Nz73jhC3E5JBtgsrXsdXxuT6Y/1Toj+GCH+nD18Iql8lvJiX1IBtofrpVBL7w5nFmxfGNkHV/XHvsvqKsSZMl9aYnlRuQvV90DrF+8Op5eKw8e9arEv0XWCVAJsD9dvi/LRwvCo3/UqrfkgI/vg1qr+2OO2k73Wx6xOR32boid/fQ9uTTvZ78O7V9PzEX4faklhkGOkQYpIhx+8TnPZ1XC7oEYtMM6lc5Ec3XQyyME2wJMcro90priQUj+76zK8OvLl9x2VPXxLCU9sCU2/Cqk2JrlkoeHvQ2sDXPtwff7890Wtsv2IZor7JsRLPkI8t2IqD5HkaSZnlyw0NGPewgCb/maSS+Tukj8/24jo4nVvIf5m5fxtWgcgPr972xXbZgmV/Rjob9WeWehqO8CsItoZYJcfmp1istsukaxWd5QSR/kPZ84vuBOk9igB19+Dw9kNHzek2O9XRN+HkUT9BB73zuU6Irp4vfhQ/m/B5ftquffCIb8HQ4P+WJ2Qv79Z+k9gralHl1MFBRDRNkP+dfav1+RQYX8MFMthhr9tD4Zwdc79iBj84MVdQgu9YUcRQ53wsez+YdNllL1PzPX4pcx0j3ixlwk6b5vuY4Nrtt6O7HeOyyUVnBax7C0Gdp/vmAJp+OL1viml512W0ubzek+RP1V83b19n4buc2vdgf68OhgQ6ISPVZXVdiyzmbK681j+y+32j6JfKF796/HHQOG1wbUTcSr7+JbrZYwcRymvRxE7ZnGGArguq00/RiGZL5XLHyspdEyHPIaqPteWy0XAiwJtW6bk+Ym9iIHzZYx8Z6HNH/5x9vAk6A0Yg6ts5m2ZR4Go6rZPR2RcAb7aFlpoos+1B0tSuIwxlUvtgtyCf5MdAlFa2BLX96+3s174ajvpPTWszvjjpK7WM3bMFzaW2XBcaneD6Y8vToL2x4OrbBYC9Ma2F14jB4rBj0CTxwzt+OPmu1cz34Xvc8uTiMLrTGoH+r0f1btpcID+zwXfJbUQ5O49SbqpANvxR7st5O8Fcbflq+frgwUq3n3ufVK+FzroGxTmVs9e+jzVYsroJy7K6LkV+4UO1/s1VC4vlrLcNX3utxQvlNBfMLwB422IstpeHuBz+KMz9e8m9qJr0ntCTS+GK5c/5cNBjMjD60wbLrXLQ90QKcuLDV/3camy5NW/mV7X16GD2wZ97vmO/ZwTeyvmF7XpVkrbH594vcrGlLiilH7uo5IiJx769l6yUL0u90GMutp2rWxn+AYFX09ju7BlvsDPyD0OJeHgTHOY02OLg34+3QWqUbT1XuhqLPPp6kcvZengC+z8DG78J2O03vRxIcFNHA8c+NTmi91z06++9lVSy/KyS25L6bgDLGjb5yhk1eealX4b3Lb1uffBmxlsSe0hxNXQhHb7FA41+z0u80PYOz2Y6ZIntlKq+ly84PxvEGCrCrH7159IdWkXcpw9hTv07+gCXN2WUUpvb0i0q8u2Umpzn3sfBHhI6J38+adFcsjHUzg2QisvLze3JfPTlbM3bV1dHhUCfIPSyvlrQa+ewkmyT18ffW91H5U8P2nLMEYdCPDnOjrT++RQtTcc8PhhSPbpS44NwosV5lFFficWbYe+m8rHfVTmyZ7c2/F8PX1LWfYQ3tHFfSul0oMXlAm1FPSVoUI7ve0jUxc9SoyPp2+1YIWyeSwsSmg7GBH4bqrOY/nQ2VO4WswSUb2zuLa+4x+l6mYVLFiNjVUPbEu2YHc3C1p3uu9a0q+Ujl/cXjz/KTcleYrvb/KO5SLWdZCF3vQYZKdP4UgvlJuI+QF1+vSt3hCIvncirFehr99t5Ou2SPMUJkdKoQpKhcqOyZHBth0mrCbFfhvp5m2RHlasO66GOzIpC0pAtfrscHDD9bZd2ySzD1wF2a5YOw6ys4P0F1mTl8m5VJAj1U2ROJhQS3KDHDeD7GTrSQp3F8olQCvlbDGu6n2hlmQnsaobI0vlYsg+D3VVLQvCYSugxX8IasEo5SiyC4YXyvmhSTlpBZ6ufljGynN9CPAIlJ7KCZwSJJO7ZL0JCPAoMN7nHv6mTiQe4KmCnFBPKBWi+at57DuaTC2OtsQBPIFHYPY+v6Z0RHCzxRTC6wgCDMGVmcb1OI4gwBCc0BmewI4gwACMIcAQnkYJ7QoCDA3AFbGuIMAAjCHAAIwhwACMIcAAjCHAAIwhwKE8KLHyCs4hwKFcYO8T3EOAARhDgAEYQ4ABGEOAARhDgAEYQ4ABGEOAYSyCRE4QDQQYgDEEGIAxBBiAMQQYgDEEuEXwkrb0IMAAjCHAAIwhwACMIcAjwVleiBMCPAIdxQvBAP4OAQZgDAEGYAwBBmAMAQZgDAEGYAwBBmAMAQZgDAEOpJQiJwDHEGAAxhBgGI/GWGlMog5wJrOCIC4y+5ogGngCAzCGAAMwhgADMIYAAzCGAAMwhgADMIYAAzCGALfJgzKOIQypMAziCALcJhdxTFEJwjCIKwgwAGNxB1hfoNQCuEfUAVaUvZ5b+bTVWX6PIFcy/B3gM/GX0EJ1H2cPT56unK1R201FsggF0eDSA+dCiP251Y9v8YY9gL9wW8TKVabemiDvI8gAfFeh10yQT2x/TAAtxnkbqWP7Y1tW39UfF71HBQEkLIV94Ko//mb1/AhlNbRNMoMcmvQi+mNomxQnsWx/fDS3cr5B4JwgnRNEI9VRypyE3rH9MQEkLPVZ6JwiIUjkBOAYDjPAWDSJgiAaCDCMR5X/JYgGAgzjEbIgiAYCDGORUrwhiAYCDGPpX/5RO8BaYyvKFQQYRmZW0o/7vSd9qkvEszvAHQIMIxNa/UQ15T+cfUfgTK0AS61fCI1thTYwT9+ieDX7kmoqlcqp5WwlI4V6QQ7UCrD9QN+9mp6XQm8iyGkTpVgiB4SSi9RS9kfQPvTeHU4vFQdfHZMDTkro4mB2Vyj7AevaJVakOq0+ICFo29nRzEz8h9qnb365tkX5aMFFFXOTsx7YfsCnh7NrspTztkSgtHSqk07ML9grs0nuhdZ7pwczXXKg+hHU1KoeWBD1TCYWTg++6hY9UX8B8Bbni1g2yLZESLI/5n7BnpZjBtiE93DW2amuUpaL1BJXfe7Su8OZZz4vlvC2Cj3sj23pQLaESEc7Ltgz6xouw1v9X5JowxVIffu3c9nn3sf7NpItHWwJkWB/nOQFe9VCi3lynJp1DXLo6eqH5eT3f83DSpbT867/dvcJsg/8WX+c3mp1Qhfs6b1qocXDk0PS1DolqiqXzXfbV597n6CDHFV/bLed0uuPv3jBXsyun7qmZPbxBbR/E3vlESVm+HeryuWGLlBsZBLL9sdC/blw1R+nhNsFe9X2hvkCzvvs1xLsfYd97nyIPvc+jY1SFr0n/av+eD61/pjJBXsvh9sb5NHcysettHpfvRe6z73PFDXsqvRYy1c/9LSe2tEiqZMqtj9enFs537OxjoHt14Qot0M8Oezcs1LUpQRUfzepNoufZ6M6TikoMnnVL8mtxILshBTSbE08OqYJ5cu6E2qRxVYeSqoj7k9f2+eaH7wXTZfKd4nuNNKgP056LLMx4cKrO6Use8zD+9f4Y6ThtaI8Tnhz2wlB5kdn5/tmMe9b4uvloM8Nvy00rsZ74Ptc98crZ8coq+Nnn7w6+/Sa65ZRyPUBV6Lrge8z9/z3rlDZj20Nct0e2Cfb89qymemTty+13nR9UigEVjdy2JIG/XF8THgX7YIVw/D2h+OPHMNrsXoC32R/8XWmTLnWnuNpsT2Bbcms5Cezz6vZvYeqKpdL8YL7K2jZ3ok1OLY4s4BrfZrxdPXjspLnJ9zCKzT92vT4o0tsn8C32f6YtEz6uFoMT2BbLutMbzFcqLLjj9uxTFC5ksytlKmOZX5GXzR2G4gtl+dWznfsq1v5hTeu8UeXknkC32RH+HQpXye4Wl1orbd/C7jgMuhz/1gnUZpSWbC6TiiVPvc+SQZ4KOGxzEJTufnb4eMeeXS1urzPbaIq9vFHl5IOsFXN5E5driXaH9sTRduunzCDFX69z7PPVXu+T1jFJPkAD1VBzsqu+Vf+kVKjZVcq+qlukDlvCw363JnoRx9da02Ah/LVD8sJHlu0avXH+er5uiLVZdnnMht/dKl1AR5KuT+W5YNnRe/hSOdWbZ9bynKX2xRV1eeS3iwOZ7yuA8SutQG2ki6rv9Afc+9z5eXsbtvK5X/S6gAPDYJ8afYI5feUGtMfn756dH33GOdtIfK0aMcZAnxD0ttOpj+2/yAE7aDPTQcC/A/afmwxImyP+YWCAN8h8f44duhzR4QAf0Ebjy02qQ3jjy4hwCPCbZl+2WN+QqoN9LnjQYDH1IZji4ElecwvFAR4AuiPXWnn+KNLCHANCR9b9Ap9rjsIsAPoj0fTpmN+oSDAjlxNc20QyWTfg1sDtoU8QYAdQ398G/pcnxBgT9peVmP8MQwE2LP8+dmGVnK9LUHGMb+wEOAAWlJWo89tAAIcEOMzuPcyX6KeKOUmtoXCQ4AbkEp/jD63eQhwg67GMu22E7eD9Rh/jAQC3DB2/bF9mx/63GggwJGo+mOpj2ItqzH+GCcEODKx9ccYf4wbAhyhfPl9R01NbTR8bBF9LgMIcMSa648x/sgFAsxA/vz3Ra2yfd9lddXnSrVZ/Dw70qXw0DwEmBFf/TH6XL4QYGYcH1vE+CNzCDBTDvrjl7Kc3kRweUOAmRu3rMb4Y1oQ4ER86dhi1edqtY23HKQFAU7IHWU1+tyEIcAJGh5bNPu5fRzzS9v/AWiP/NYPzz1QAAAAAElFTkSuQmCC"})));var Lc="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzMgMzMiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxwYXRoIGQ9Im0xNS41IDEgMTMuNDIzIDcuNzV2MTUuNUwxNS41IDMyIDIuMDc3IDI0LjI1VjguNzVMMTUuNSAxWiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGZpbGw9InVybCgjYSkiIGQ9Ik0wIDBoMzN2MzNIMHoiLz48ZGVmcz48cGF0dGVybiBpZD0iYSIgcGF0dGVybkNvbnRlbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHdpZHRoPSIxIiBoZWlnaHQ9IjEiPjx1c2UgeGxpbms6aHJlZj0iI2IiIHRyYW5zZm9ybT0ic2NhbGUoLjAwNDE3KSIvPjwvcGF0dGVybj48aW1hZ2UgaWQ9ImIiIHdpZHRoPSIyNDAiIGhlaWdodD0iMjQwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL3BuZztiYXNlNjQsaVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQVBBQUFBRHdDQVlBQUFBK1ZlbVNBQUFBQ1hCSVdYTUFBQ0U0QUFBaE9BRkZsakZnQUFBQUFYTlNSMElBcnM0YzZRQUFBQVJuUVUxQkFBQ3hqd3Y4WVFVQUFCTEhTVVJCVkhnQjdkMWZWaHczRmdid0t4WDJqSUU0N1FXWUZDdElXTUhBQ29MQmVRNWVBYkFDbWhVQUs4QjVEdGlkRmNBT2NGYmdNbG1BZXh5TWs0R1NScXFtQ1NZQmQzZEpLbDNWOTN2S09mUG5uTkQ5ZGQwclhha0VRWEx5NVUrTE90TmJtblFoUzdsZDlCNFZCRWtTQk1uSWwzVkh5VTliSlBUR1ovK0JsdDBQNm8rOWZ1OUpueUFwQ0hBaTVsWnNjRXNUWE5HNTQ3OVNhSzIzZjNzMSs1SWdHUWd3YzdaY1ZsTHRtMDh5SC9GL1lzdnFKWlRWYVVDQW1UTEJ6VTJmdTIvNjNFV2F6RXYweC93aHdNd00rdHcvMWttb0x0WFhOLzN4N3VtclI5c0VMQ0hBak9TcjUrdUtiSER2N0hNbmhmNllLUVNZZ1J2YlFvdmtrU0RSRTZYWVJGbk5Cd0ljTVFkOTdxVFFIek9CQUVmb3J6NzMzbTBoMzFCV000QUFSK2JweXRtYUVMVFRZSEJ2S3pTVm03OGRQdTRSUkFjQmprU29QcmNHbE5VUlFvQWJWcFhMMmNkZDgxSDhTQnhvMlpXS2ZrS1E0NEFBTnlTU1BuZFM2SThqZ1FBM1lJTHh4MWdWc256d3JPZzlmRVBRQ0FRNG9QeUhzKyswa2pzUjk3bVRRbi9jRUFRNGdEdVArYVhHOU1jWXl3d0xBZmJNNC9oanJOQWZCNFFBZTVKUW56dXBONmFzZm9heTJpOEUyTEVHeHg5amhmN1lJd1RZRWNmSC9GSlRtUDc0SmZwajl4QmdCMXJZNTA0Sy9iRmpDSEFORE1ZZm80UmppKzRnd0JNWTlMbks3T2ZTTWtFZDZJOXJRb0RId0h6OE1WWW9xMnRBZ0VkVUhmTWpzZFhpYlNIZmNHeHhBZ2p3RjZEUERRNWw5UmdRNER1d08rYVhHcnhOWWlRSThDM29jNk9DL3ZnTEVPQWJNUDRZTGJ4TjRnNElNQ1Y5ekM4MTZJOXZhWFdBVzNQTUx6VTR0bml0dFFIRytDTjc2SStwaFFHMmZXNHB5MTBoeExjRUtXajFzY1hXQkJqSC9KTFh5djQ0K1FCalc2aFZDdEppNy9UVjlDNjFSTklCUnAvYldxM3BqNU1NTU1ZZjRVcnlaWFZTQWJaOXJzcktMc1lmNFROYTdFb2w5bElNY2hJQlJwOExJMGl5ckdZZjRLZXJINWVGcGgyTVA4S0k3RmptQy9NMFBxWUVzQTB3K2x5b0tZbittRjJBTWY0SVRqRS90c2dxd0hNck5yam9jOEU1dHYweGl3RGptQjhFd3U3WVl0UUJ4dmdqTklSTmZ4eGxnTkhuUWdUNnBqL2VqZjNZWW5RQlRtVDhzVzkrZkxhbCtRZXQ1TG9XT2lmZ0t1citPSm9BcDNQTVQrL0pjcVpiOUVTMXFvbnBzRFFJRXNlaUZDOWlLNnNiRDNBcWZXNzFBVXUxV2Z3OCsrYWYvdlBxMzFQcUl6eU4yWXVxUDI0c3dLbU1QNXJnRmtLVUw0cURyNDVIK2UvbksyZHJtdVFXZ3N4YU5NY1dHd2x3OVpZRFFUdjgrMXkxSnk5bmQ0Zmw4cWhRVmllajhmNDRhSUJUR1g4MGY3U2VLR1h0dCt0ZHZTVHR0U2I2am9DenhzcnFJQUZPNVlsVDlibWkzQjYxWEI0Vnl1cEVOSEJzMFd1QUV6cm1WMjBMblI3TWV1dDVxaCs1cWNzMXMvZTRSY0JaMExMYVc0QVRPdVpueXFQcHpYSDczRWtOcXBWTDgwTWh2eWZnckpEbGcyZEY3K0ViOHNoNWdCTTk1aGU4eDBGWm5ReXYzeDFuQVc3QitHTWpvM1Z6ejMvdm9xeE9nS2UzU1RnSmNNdU8rUVhmT3NDMlV6S2NmM2RxQmJqbHgveUN2eEVBWlhVeW5CMWJyQlhndWRXUG1pQjRmM3hWVnErYmY4VEZCbndWcDRjejgxU1RKS2hyVFdYcXFHb2pBams5K0twcmZqUVdUR1AxRTBHckljQnU1Q1JVMTFRa2IrMllLQVZnbi9pbmg3TnJVdWhOZ3RaQ2dOM0toUkQ3MzZ5ZXY3WUxUeFJBY1RDN2E1N0c4MEtMZ3FCMUVHQVB6Qjc0c2ltcjM1b244bjZJSU51bnNWQmlDU0Z1SHdUWXI2disrTno3M2poQzNFNUpCdGdzclhzZFh4dVQ2WS8xVG9qK0dDSCtuRDE4SXFsOGx2SmlYMUlCdG9mcnBWQkw3dzVuRm14ZkdOa0hWL1hIdnN2cUtzU1pNbDlhWW5sUnVRdlY5MERyRis4T3A1ZUt3OGU5YXJFdjBYV0NWQUpzRDlkdmkvTFJ3dkNvMy9VcXJma2dJL3ZnMXFyKzJPTzJrNzNXeDZ4T1IzMmJvaWQvZlE5dVRUdlo3OE83VjlQekVYNGZha2xoa0dPa1FZcEloeCs4VG5QWjFYQzdvRVl0TU02bGM1RWMzWFF5eU1FMndKTWNybzkwcHJpUVVqKzc2eks4T3ZMbDl4MlZQWHhMQ1U5c0NVMi9DcWsySnJsa29lSHZRMnNEWFB0d2ZmNzg5MFd0c3YySVpvcjdKc1JMUGtJOHQySXFENUhrYVNabmx5dzBOR1Bld2dDYi9tYVNTK1R1a2o4LzI0am80blZ2SWY1bTVmeHRXZ2NnUHI5NzJ4WGJaZ21WL1Jqb2I5V2VXZWhxTzhDc0l0b1pZSmNmbXAxaXN0c3VrYXhXZDVRU1Iva1BaODR2dUJPazlpZ0IxOStEdzlrTkh6ZWsyTzlYUk4rSGtVVDlCQjczenVVNklycDR2ZmhRL20vQjVmdHF1ZmZDSWI4SFE0UCtXSjJRdjc5WitrOWdyYWxIbDFNRkJSRFJOa1ArZGZhdjErUlFZWDhNRk10aGhyOXRENFp3ZGM3OWlCajg0TVZkUWd1OVlVY1JRNTN3c2V6K1lkTmxsTDFQelBYNHBjeDBqM2l4bHdrNmI1dnVZNE5ydHQ2TzdIZU95eVVWbkJheDdDMEdkcC92bUFKcCtPTDF2aW1sNTEyVzB1YnplaytSUDFWODNiMTluNGJ1YzJ2ZGdmNjhPaGdRNklTUFZaWFZkaXl6bWJLNjgxait5KzMyajZKZktGNzk2L0hIUU9HMXdiVVRjU3I3K0piclpZd2NSeW12UnhFN1puR0dBcmd1cTAwL1JpR1pMNVhMSHlzcGRFeUhQSWFxUHRlV3kwWEFpd0p0VzZiaytZbTlpSUh6Wll4OFo2SE5ILzV4OXZBazZBMFlnNnRzNW0yWlI0R282clpQUjJSY0FiN2FGbHBvb3MrMUIwdFN1SXd4bFV2dGd0eUNmNU1kQWxGYTJCTFg5NiszczE3NGFqdnBQVFdzenZqanBLN1dNM2JNRnphVzJYQmNhbmVENlk4dlRvTDJ4NE9yYkJZQzlNYTJGMTRqQjRyQmowQ1R4d3p0K09QbXUxY3ozNFh2Yzh1VGlNTHJUR29IK3IwZjFidHBjSUQrendYZkpiVVE1TzQ5U2JxcEFOdnhSN3N0NU84RmNiZmxxK2ZyZ3dVcTNuM3VmVksrRnpyb0d4VG1WczllK2p6Vllzcm9KeTdLNkxrVis0VU8xL3MxVkM0dmxyTGNOWDN1dHhRdmxOQmZNTHdCNDIySXN0cGVIdUJ6K0tNejllOG05cUpyMG50Q1RTK0dLNWMvNWNOQmpNakQ2MHdiTHJYTFE5MFFLY3VMRFYvM2NhbXk1TlcvbVY3WDE2R0Qyd1o5N3ZtTy9ad1RleXZtRjdYcFZrcmJINTk0dmNyR2xMaWlsSDd1bzVJaUp4NzY5bDZ5VUwwdTkwR011dHAycld4bitBWUZYMDlqdTdCbHZzRFB5RDBPSmVIZ1RIT1kwMk9MZzM0KzNRV3FVYlQxWHVocUxQUHA2a2N2WmVuZ0MrejhERzc4SjJPMDN2UnhJY0ZOSEE4YytOVG1pOTF6MDYrKzlsVlN5L0t5UzI1TDZiZ0RMR2piNXloazFlZWFsWDRiM0xiMXVmZkJteGxzU2UwaHhOWFFoSGI3RkE0MSt6MHU4MFBZT3oyWTZaSW50bEtxK2x5ODRQeHZFR0NyQ3JINzE1OUlkV2tYY3B3OWhUdjA3K2dDWE4yV1VVcHZiMGkwcTh1MlVtcHpuM3NmQkhoSTZKMzgrYWRGY3NqSFV6ZzJRaXN2THplM0pmUFRsYk0zYlYxZEhoVUNmSVBTeXZsclFhK2V3a215VDE4ZmZXOTFINVU4UDJuTE1FWWRDUERuT2pyVCsrUlF0VGNjOFBoaFNQYnBTNDROd29zVjVsRkZmaWNXYlllK204ckhmVlRteVo3YzIvRjhQWDFMV2ZZUTN0SEZmU3VsMG9NWGxBbTFGUFNWb1VJN3ZlMGpVeGM5U295UHAyKzFZSVd5ZVN3c1NtZzdHQkg0YnFyT1kvblEyVk80V3N3U1ViMnp1TGErNHgrbDZtWVZMRmlOalZVUGJFdTJZSGMzQzFwM3V1OWEwcStVamwvY1hqei9LVGNsZVlydmIvS081U0xXZFpDRjN2UVlaS2RQNFVndmxKdUkrUUYxK3ZTdDNoQ0l2bmNpckZlaHI5OXQ1T3UyU1BNVUprZEtvUXBLaGNxT3laSEJ0aDBtckNiRmZodnA1bTJSSGxhc082NkdPeklwQzBwQXRmcnNjSEREOWJaZDJ5U3pEMXdGMmE1WU93NnlzNFAwRjFtVGw4bTVWSkFqMVUyUk9KaFFTM0tESERlRDdHVHJTUXAzRjhvbFFDdmxiREd1Nm4yaGxtUW5zYW9iSTB2bFlzZytEM1ZWTFF2Q1lTdWd4WDhJYXNFbzVTaXlDNFlYeXZtaFNUbHBCWjZ1ZmxqR3luTjlDUEFJbEo3S0Nad1NKSk83WkwwSkNQQW9NTjduSHY2bVRpUWU0S21DbkZCUEtCV2krYXQ1N0R1YVRDMk90c1FCUElGSFlQWSt2NlowUkhDenhSVEM2d2dDRE1HVm1jYjFPSTRnd0JDYzBCbWV3STRnd0FDTUljQVFua1lKN1FvQ0RBM0FGYkd1SU1BQWpDSEFBSXdod0FDTUljQUFqQ0hBQUl3aHdLRThLTEh5Q3M0aHdLRmNZTzhUM0VPQUFSaERnQUVZUTRBQkdFT0FBUmhEZ0FFWVE0QUJHRU9BWVN5Q1JFNFFEUVFZZ0RFRUdJQXhCQmlBTVFRWWdERUV1RVh3a3JiMElNQUFqQ0hBQUl3aHdBQ01JY0Fqd1ZsZWlCTUNQQUlkeFF2QkFQNE9BUVpnREFFR1lBd0JCbUFNQVFaZ0RBRUdZQXdCQm1BTUFRWmdEQUVPcEpRaUp3REhFR0FBeGhCZ0dJL0dXR2xNb2c1d0pyT0NJQzR5KzVvZ0duZ0NBekNHQUFNd2hnQURNSVlBQXpDR0FBTXdoZ0FETUlZQUF6Q0dBTGZKZ3pLT0lReXBNQXppQ0FMY0poZHhURkVKd2pDSUt3Z3dBR054QjFoZm9OUUN1RWZVQVZhVXZaNWIrYlRWV1g2UElGY3kvQjNnTS9HWDBFSjFIMmNQVDU2dW5LMVIyMDFGc2dnRjBlRFNBK2RDaVAyNTFZOXY4WVk5Z0w5d1c4VEtWYWJlbWlEdkk4Z0FmRmVoMTB5UVQyeC9UQUF0eG5rYnFXUDdZMXRXMzlVZkY3MUhCUUVrTElWOTRLby8vbWIxL0FobE5iUk5Nb01jbXZRaSttTm9teFFuc1d4L2ZEUzNjcjVCNEp3Z25STkVJOVZSeXB5RTNySDlNUUVrTFBWWjZKd2lJVWprQk9BWURqUEFXRFNKZ2lBYUNEQ01SNVgvSllnR0FnempFYklnaUFZQ0RHT1JVcndoaUFZQ0RHUHBYLzVSTzhCYVl5dktGUVFZUm1aVzBvLzd2U2Q5cWt2RXN6dkFIUUlNSXhOYS9VUTE1VCtjZlVmZ1RLMEFTNjFmQ0kxdGhUWXdUOStpZURYN2ttb3FsY3FwNVd3bEk0VjZRUTdVQ3JEOVFOKzltcDZYUW04aXlHa1RwVmdpQjRTU2k5UlM5a2ZRUHZUZUhVNHZGUWRmSFpNRFRrcm80bUIyVnlqN0FldmFKVmFrT3EwK0lDRm8yOW5SekV6OGg5cW5iMzY1dGtYNWFNRkZGWE9Uc3g3WWZzQ25oN05yc3BUenRrU2d0SFNxazA3TUw5Z3JzMG51aGRaN3B3Y3pYWEtnK2hIVTFLb2VXQkQxVENZV1RnKys2aFk5VVg4QjhCYm5pMWcyeUxaRVNMSS81bjdCbnBaakJ0aUU5M0RXMmFtdVVwYUwxQkpYZmU3U3U4T1paejR2bHZDMkNqM3NqMjNwUUxhRVNFYzdMdGd6NnhvdXcxdjlYNUpvd3hWSWZmdTNjOW5uM3NmN05wSXRIV3dKa1dCL25PUUZlOVZDaTNseW5KcDFEWExvNmVxSDVlVDNmODNEU3BiVDg2Ny9kdmNKc2cvOFdYK2MzbXAxUWhmczZiMXFvY1hEazBQUzFEb2xxaXFYelhmYlY1OTduNkNESEZWL2JMZWQwdXVQdjNqQlhzeXVuN3FtWlBieEJiUi9FM3ZsRVNWbStIZXJ5dVdHTGxCc1pCTEw5c2RDL2JsdzFSK25oTnNGZTlYMmh2a0N6dnZzMXhMc2ZZZDk3bnlJUHZjK2pZMVNGcjBuL2F2K2VENjEvcGpKQlhzdmg5c2I1TkhjeXNldHRIcGZ2UmU2ejczUEZEWHNxdlJZeTFjLzlMU2UydEVpcVpNcXRqOWVuRnM1MzdPeGpvSHQxNFFvdDBNOE9lemNzMUxVcFFSVWZ6ZXBOb3VmWjZNNlRpa29Nbm5WTDhtdHhJTHNoQlRTYkUwOE9xWUo1Y3U2RTJxUnhWWWVTcW9qN2s5ZjIrZWFIN3dYVFpmS2Q0bnVOTktnUDA1NkxMTXg0Y0tyTzZVc2U4ekQrOWY0WTZUaHRhSThUbmh6MndsQjVrZG41L3RtTWU5YjR1dmxvTThOdnkwMHJzWjc0UHRjOThjclo4Y29xK05ubjd3NisvU2E2NVpSeVBVQlY2THJnZTh6OS96M3JsRFpqMjBOY3QwZTJDZmI4OXF5bWVtVHR5KzEzblI5VWlnRVZqZHkySklHL1hGOFRIZ1g3WUlWdy9EMmgrT1BITU5yc1hvQzMyUi84WFdtVExuV251TnBzVDJCYmNtczVDZXp6NnZadlllcUtwZEw4WUw3SzJqWjNvazFPTFk0czRCcmZacnhkUFhqc3BMbko5ekNLelQ5MnZUNG8wdHNuOEMzMmY2WXRFejZ1Rm9NVDJCYkx1dE1iekZjcUxMamo5dXhURkM1a3N5dGxLbU9aWDVHWHpSMkc0Z3RsK2RXem5mc3ExdjVoVGV1OFVlWGtua0MzMlJIK0hRcFh5ZTRXbDFvcmJkL0M3amdNdWh6LzFnblVacFNXYkM2VGlpVlB2YytTUVo0S09HeHpFSlR1Zm5iNGVNZWVYUzF1cnpQYmFJcTl2RkhsNUlPc0ZYTjVFNWRyaVhhSDlzVFJkdXVuekNERlg2OXo3UFBWWHUrVDFqRkpQa0FEMVZCenNxdStWZitrVktqWlZjcStxbHVrRGx2Q3czNjNKbm9SeDlkYTAyQWgvTFZEOHNKSGx1MGF2WEgrZXI1dWlMVlpkbm5NaHQvZEtsMUFSNUt1VCtXNVlOblJlL2hTT2RXYlo5YnluS1gyeFJWMWVlUzNpd09aN3l1QThTdXRRRzJraTZydjlBZmMrOXo1ZVhzYnR2SzVYL1M2Z0FQRFlKOGFmWUk1ZmVVR3RNZm43NTZkSDMzR09kdElmSzBhTWNaQW54RDB0dE9waisyL3lBRTdhRFBUUWNDL0EvYWZtd3hJbXlQK1lXQ0FOOGg4ZjQ0ZHVoelI0UUFmMEViankwMnFRM2pqeTRod0NQQ2JabCsyV04rUXFvTjlMbmpRWURIMUlaamk0RWxlY3d2RkFSNEF1aVBYV25uK0tOTENIQU5DUjliOUFwOXJqc0lzQVBvajBmVHBtTitvU0RBamx4TmMyMFF5V1RmZzFzRHRvVThRWUFkUTM5OEcvcGNueEJnVDlwZVZtUDhNUXdFMkxQOCtkbUdWbks5TFVIR01iK3dFT0FBV2xKV284OXRBQUljRU9NenVQY3lYNktlS09VbXRvWENRNEFia0VwL2pENjNlUWh3ZzY3R011MjJFN2VEOVJoL2pBUUMzREIyL2JGOW14LzYzR2dnd0pHbyttT3BqMkl0cXpIK0dDY0VPREt4OWNjWWY0d2JBaHloZlBsOVIwMU5iVFI4YkJGOUxnTUljTVNhNjQ4eC9zZ0ZBc3hBL3Z6M1JhMnlmZDlsZGRYblNyVlovRHc3MHFYdzBEd0VtQkZmL1RINlhMNFFZR1ljSDF2RStDTnpDREJURHZyamw3S2Mza1J3ZVVPQW1SdTNyTWI0WTFvUTRFUjg2ZGhpMWVkcXRZMjNIS1FGQVU3SUhXVTErdHlFSWNBSkdoNWJOUHU1ZlJ6elM5di9BV2lQL05ZUHp6MVFBQUFBQUVsRlRrU3VRbUNDIi8+PC9kZWZzPjwvc3ZnPg==",rc=Object.defineProperty,Hs=Object.getOwnPropertySymbols,jl=Object.prototype.hasOwnProperty,tu=Object.prototype.propertyIsEnumerable,ju=(Ze,ye,Te)=>ye in Ze?rc(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Ec=(Ze,ye)=>{for(var Te in ye||(ye={}))jl.call(ye,Te)&&ju(Ze,Te,ye[Te]);if(Hs)for(var Te of Hs(ye))tu.call(ye,Te)&&ju(Ze,Te,ye[Te]);return Ze};const Pu=Ze=>g.createElement("svg",Ec({className:"displayReset_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Ze),g.createElement("path",{d:"m193.07 70.353 5.423.931a34.91 34.91 0 0 1 28.37 40.425l-.024.07-12.87 72.541A448.698 448.698 0 0 1 507.857 75.38c246.831 0 447.023 197.912 447.023 442.182S754.688 959.744 507.857 959.744c-160.186 0-305.687-84.084-385.466-218.159a37.795 37.795 0 0 1 13.359-51.921 38.167 38.167 0 0 1 52.154 13.289c66.21 111.243 186.903 180.992 319.953 180.992 204.87 0 370.851-164.096 370.851-366.383S712.728 151.18 507.858 151.18c-107.288 0-206.802 45.265-276.318 121.995H373.04a34.91 34.91 0 0 1 0 69.818H163.584c-2.607 0-5.19-.279-7.657-.837a34.63 34.63 0 0 1-5.26-.512l-5.422-.931a34.91 34.91 0 0 1-28.346-40.495l35.77-201.588a34.91 34.91 0 0 1 40.402-28.277z",fill:"#fff"}));var Tu="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0ibTE5My4wNyA3MC4zNTMgNS40MjMuOTMxYTM0LjkxIDM0LjkxIDAgMCAxIDI4LjM3IDQwLjQyNWwtLjAyNC4wNy0xMi44NyA3Mi41NDFBNDQ4LjY5OCA0NDguNjk4IDAgMCAxIDUwNy44NTcgNzUuMzhjMjQ2LjgzMSAwIDQ0Ny4wMjMgMTk3LjkxMiA0NDcuMDIzIDQ0Mi4xODJTNzU0LjY4OCA5NTkuNzQ0IDUwNy44NTcgOTU5Ljc0NGMtMTYwLjE4NiAwLTMwNS42ODctODQuMDg0LTM4NS40NjYtMjE4LjE1OWEzNy43OTUgMzcuNzk1IDAgMCAxIDEzLjM1OS01MS45MjEgMzguMTY3IDM4LjE2NyAwIDAgMSA1Mi4xNTQgMTMuMjg5YzY2LjIxIDExMS4yNDMgMTg2LjkwMyAxODAuOTkyIDMxOS45NTMgMTgwLjk5MiAyMDQuODcgMCAzNzAuODUxLTE2NC4wOTYgMzcwLjg1MS0zNjYuMzgzUzcxMi43MjggMTUxLjE4IDUwNy44NTggMTUxLjE4Yy0xMDcuMjg4IDAtMjA2LjgwMiA0NS4yNjUtMjc2LjMxOCAxMjEuOTk1SDM3My4wNGEzNC45MSAzNC45MSAwIDAgMSAwIDY5LjgxOEgxNjMuNTg0Yy0yLjYwNyAwLTUuMTktLjI3OS03LjY1Ny0uODM3YTM0LjYzIDM0LjYzIDAgMCAxLTUuMjYtLjUxMmwtNS40MjItLjkzMWEzNC45MSAzNC45MSAwIDAgMS0yOC4zNDYtNDAuNDk1bDM1Ljc3LTIwMS41ODhhMzQuOTEgMzQuOTEgMCAwIDEgNDAuNDAyLTI4LjI3N3oiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",Su=Object.defineProperty,ts=Object.getOwnPropertySymbols,Lu=Object.prototype.hasOwnProperty,ws=Object.prototype.propertyIsEnumerable,Vi=(Ze,ye,Te)=>ye in Ze?Su(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Ns=(Ze,ye)=>{for(var Te in ye||(ye={}))Lu.call(ye,Te)&&Vi(Ze,Te,ye[Te]);if(ts)for(var Te of ts(ye))ws.call(ye,Te)&&Vi(Ze,Te,ye[Te]);return Ze};const pl=Ze=>g.createElement("svg",Ns({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("g",{clipPath:"url(#settings-sliders_svg__a)"},g.createElement("path",{d:"M.833 3.958h2.28a3.107 3.107 0 0 0 5.996 0h10.058a.833.833 0 0 0 0-1.667H9.109a3.107 3.107 0 0 0-5.996 0H.833a.833.833 0 0 0 0 1.667Zm5.278-2.292a1.458 1.458 0 1 1 0 2.917 1.458 1.458 0 0 1 0-2.917ZM19.167 9.167h-2.28a3.106 3.106 0 0 0-5.995 0H.833a.833.833 0 0 0 0 1.666h10.059a3.105 3.105 0 0 0 5.995 0h2.28a.833.833 0 0 0 0-1.666Zm-5.278 2.291a1.458 1.458 0 1 1 0-2.915 1.458 1.458 0 0 1 0 2.915ZM19.167 16.042H9.109a3.107 3.107 0 0 0-5.996 0H.833a.833.833 0 1 0 0 1.666h2.28a3.107 3.107 0 0 0 5.996 0h10.058a.833.833 0 0 0 0-1.666ZM6.11 18.333a1.458 1.458 0 1 1 0-2.915 1.458 1.458 0 0 1 0 2.915Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"settings-sliders_svg__a"},g.createElement("path",{d:"M0 0h20v20H0z"}))));var ei="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNLjgzMyAzLjk1OGgyLjI4YTMuMTA3IDMuMTA3IDAgMCAwIDUuOTk2IDBoMTAuMDU4YS44MzMuODMzIDAgMCAwIDAtMS42NjdIOS4xMDlhMy4xMDcgMy4xMDcgMCAwIDAtNS45OTYgMEguODMzYS44MzMuODMzIDAgMCAwIDAgMS42NjdabTUuMjc4LTIuMjkyYTEuNDU4IDEuNDU4IDAgMSAxIDAgMi45MTcgMS40NTggMS40NTggMCAwIDEgMC0yLjkxN1pNMTkuMTY3IDkuMTY3aC0yLjI4YTMuMTA2IDMuMTA2IDAgMCAwLTUuOTk1IDBILjgzM2EuODMzLjgzMyAwIDAgMCAwIDEuNjY2aDEwLjA1OWEzLjEwNSAzLjEwNSAwIDAgMCA1Ljk5NSAwaDIuMjhhLjgzMy44MzMgMCAwIDAgMC0xLjY2NlptLTUuMjc4IDIuMjkxYTEuNDU4IDEuNDU4IDAgMSAxIDAtMi45MTUgMS40NTggMS40NTggMCAwIDEgMCAyLjkxNVpNMTkuMTY3IDE2LjA0Mkg5LjEwOWEzLjEwNyAzLjEwNyAwIDAgMC01Ljk5NiAwSC44MzNhLjgzMy44MzMgMCAxIDAgMCAxLjY2NmgyLjI4YTMuMTA3IDMuMTA3IDAgMCAwIDUuOTk2IDBoMTAuMDU4YS44MzMuODMzIDAgMCAwIDAtMS42NjZaTTYuMTEgMTguMzMzYTEuNDU4IDEuNDU4IDAgMSAxIDAtMi45MTUgMS40NTggMS40NTggMCAwIDEgMCAyLjkxNVoiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJNMCAwaDIwdjIwSDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",cu=(0,g.memo)(function(Ze){var ye=Ze.displayOption,Te=Ze.onChangeImageDisplayOpts,An=Ze.onChangeAnnotsDisplayOpts,yt=(0,z.bU)(),Pn=yt.localeText,Sn=(0,g.useMemo)(function(){return(0,C.jsxs)("div",{className:"dds-annotator-display-pop-container",children:[(0,C.jsxs)("div",{className:"dds-annotator-display-pop-container-header",children:[(0,C.jsx)("div",{children:Pn("DDSAnnotator.imgDisplayTool.title")}),(0,C.jsx)(x.ZP,{type:"primary",className:"dds-annotator-display-pop-container-btn",icon:(0,C.jsx)(J.Z,{component:Pu}),onClick:function(){return Te(Q.O4)}})]}),(0,C.jsxs)("div",{className:"dds-annotator-display-pop-container-option",children:[(0,C.jsx)("label",{children:Pn("DDSAnnotator.imgDisplayTool.brightness")}),(0,C.jsx)(ca.Z,{value:ye.brightness,onChange:function(Un){return Te(t()(t()({},ye),{},{brightness:Un}))},min:0,max:200})]}),(0,C.jsxs)("div",{className:"dds-annotator-display-pop-container-option",children:[(0,C.jsx)("label",{children:Pn("DDSAnnotator.imgDisplayTool.contrast")}),(0,C.jsx)(ca.Z,{value:ye.contrast,onChange:function(Un){return Te(t()(t()({},ye),{},{contrast:Un}))},min:0,max:200})]}),(0,C.jsxs)("div",{className:"dds-annotator-display-pop-container-option",children:[(0,C.jsx)("label",{children:Pn("DDSAnnotator.imgDisplayTool.saturate")}),(0,C.jsx)(ca.Z,{value:ye.saturate,onChange:function(Un){return Te(t()(t()({},ye),{},{saturate:Un}))},min:0,max:200})]})]})},[ye.brightness,ye.contrast,ye.saturate,Te,An]);return(0,C.jsx)(pn.Z,{placement:"top",content:Sn,trigger:"click",overlayClassName:"dds-annotator-display-popover",color:"#212121",children:(0,C.jsx)(T.Z,{title:Pn("DDSAnnotator.imgDisplayTool.title"),children:(0,C.jsx)(J.Z,{component:pl,className:"dds-annotator-display"})})})}),cs=cu,ac=Object.defineProperty,_s=Object.getOwnPropertySymbols,hl=Object.prototype.hasOwnProperty,Ys=Object.prototype.propertyIsEnumerable,vi=(Ze,ye,Te)=>ye in Ze?ac(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,js=(Ze,ye)=>{for(var Te in ye||(ye={}))hl.call(ye,Te)&&vi(Ze,Te,ye[Te]);if(_s)for(var Te of _s(ye))Ys.call(ye,Te)&&vi(Ze,Te,ye[Te]);return Ze};const Nu=Ze=>g.createElement("svg",js({viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("g",{clipPath:"url(#label_svg__a)"},g.createElement("path",{d:"M13.5 27C20.956 27 27 20.956 27 13.5S20.956 0 13.5 0 0 6.044 0 13.5 6.044 27 13.5 27Z",fill:"#26A1F4"}),g.createElement("path",{d:"m18.201 12.527-.007-.008-3.721-3.723s-4.535 4.535-6.72 6.765c-.273.278-.479.664-.601 1.037-.359 1.097-.656 2.215-.986 3.322-.088.297-.07.559.162.78.22.211.466.219.751.133 1.055-.316 2.116-.617 3.176-.92a3.243 3.243 0 0 0 1.432-.865c2.082-2.095 6.514-6.521 6.514-6.521ZM20.373 7.9l-1.272-1.272a1.74 1.74 0 0 0-2.46 0l-1.442 1.44 3.733 3.734 1.442-1.442a1.74 1.74 0 0 0 0-2.46Z",fill:"#fff"})),g.createElement("defs",null,g.createElement("clipPath",{id:"label_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h27v27H0z"}))));var Wu="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjcgMjciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTMuNSAyN0MyMC45NTYgMjcgMjcgMjAuOTU2IDI3IDEzLjVTMjAuOTU2IDAgMTMuNSAwIDAgNi4wNDQgMCAxMy41IDYuMDQ0IDI3IDEzLjUgMjdaIiBmaWxsPSIjMjZBMUY0Ii8+PHBhdGggZD0ibTE4LjIwMSAxMi41MjctLjAwNy0uMDA4LTMuNzIxLTMuNzIzcy00LjUzNSA0LjUzNS02LjcyIDYuNzY1Yy0uMjczLjI3OC0uNDc5LjY2NC0uNjAxIDEuMDM3LS4zNTkgMS4wOTctLjY1NiAyLjIxNS0uOTg2IDMuMzIyLS4wODguMjk3LS4wNy41NTkuMTYyLjc4LjIyLjIxMS40NjYuMjE5Ljc1MS4xMzMgMS4wNTUtLjMxNiAyLjExNi0uNjE3IDMuMTc2LS45MmEzLjI0MyAzLjI0MyAwIDAgMCAxLjQzMi0uODY1YzIuMDgyLTIuMDk1IDYuNTE0LTYuNTIxIDYuNTE0LTYuNTIxWk0yMC4zNzMgNy45bC0xLjI3Mi0xLjI3MmExLjc0IDEuNzQgMCAwIDAtMi40NiAwbC0xLjQ0MiAxLjQ0IDMuNzMzIDMuNzM0IDEuNDQyLTEuNDQyYTEuNzQgMS43NCAwIDAgMCAwLTIuNDZaIiBmaWxsPSIjZmZmIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGgyN3YyN0gweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==",yl=Object.defineProperty,Eu=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,nu=Object.prototype.propertyIsEnumerable,bl=(Ze,ye,Te)=>ye in Ze?yl(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,kl=(Ze,ye)=>{for(var Te in ye||(ye={}))Ru.call(ye,Te)&&bl(Ze,Te,ye[Te]);if(Eu)for(var Te of Eu(ye))nu.call(ye,Te)&&bl(Ze,Te,ye[Te]);return Ze};const ii=Ze=>g.createElement("svg",kl({viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("path",{d:"M13.5 27C20.956 27 27 20.956 27 13.5S20.956 0 13.5 0 0 6.044 0 13.5 6.044 27 13.5 27Z",fill:"#FFD305"}),g.createElement("path",{d:"m20.713 19.26-.369-.37-.063-.064-1.493 1.493.036.036.396.396c.254.254.791.125 1.207-.287.415-.412.54-.952.286-1.204ZM16.709 15.31a5.797 5.797 0 1 0-1.515 1.47l3.229 3.181 1.493-1.492-3.207-3.16Zm-4.655.717a4.092 4.092 0 1 1 0-8.184 4.092 4.092 0 0 1 0 8.184Z",fill:"#fff"}));var $="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjcgMjciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjUgMjdDMjAuOTU2IDI3IDI3IDIwLjk1NiAyNyAxMy41UzIwLjk1NiAwIDEzLjUgMCAwIDYuMDQ0IDAgMTMuNSA2LjA0NCAyNyAxMy41IDI3WiIgZmlsbD0iI0ZGRDMwNSIvPjxwYXRoIGQ9Im0yMC43MTMgMTkuMjYtLjM2OS0uMzctLjA2My0uMDY0LTEuNDkzIDEuNDkzLjAzNi4wMzYuMzk2LjM5NmMuMjU0LjI1NC43OTEuMTI1IDEuMjA3LS4yODcuNDE1LS40MTIuNTQtLjk1Mi4yODYtMS4yMDRaTTE2LjcwOSAxNS4zMWE1Ljc5NyA1Ljc5NyAwIDEgMC0xLjUxNSAxLjQ3bDMuMjI5IDMuMTgxIDEuNDkzLTEuNDkyLTMuMjA3LTMuMTZabS00LjY1NS43MTdhNC4wOTIgNC4wOTIgMCAxIDEgMC04LjE4NCA0LjA5MiA0LjA5MiAwIDAgMSAwIDguMTg0WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==",fe=(0,g.memo)(function(Ze){var ye=Ze.mode,Te=(0,z.bU)(),An=Te.localeText;return ye===Q.je.View?null:(0,C.jsx)("div",{className:c()("dds-annotator-editor-status","dds-annotator-editor-status-".concat(ye)),children:ye===Q.je.Edit?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Nu,{}),An("DDSAnnotator.status.labeling")]}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(ii,{}),An("DDSAnnotator.status.reviewing")]})})}),Ue=fe,at=e(12673),Rt=e(51244),On=(0,g.memo)(function(Ze){var ye=Ze.onAdd,Te=(0,z.bU)(),An=Te.localeText,yt=(0,g.useRef)(null),Pn=(0,g.useState)(""),Sn=s()(Pn,2),In=Sn[0],Un=Sn[1],ir=function(Ln){Ln.stopPropagation(),Un(Ln.target.value)},Mr=function(){var Ln;In!==""&&(ye(In),Un(""),(Ln=yt.current)===null||Ln===void 0||Ln.focus())};return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Rt.Z,{style:{margin:"8px 0"}}),(0,C.jsxs)(Kn.Z,{style:{padding:"0 8px 4px"},children:[(0,C.jsx)(D.Z,{placeholder:An("DDSAnnotator.annotsEditor.addCategory"),ref:yt,value:In,onChange:ir,onKeyDown:function(Ln){Ln.code==="Enter"&&Mr(),Ln.stopPropagation()}}),(0,C.jsx)(x.ZP,{type:"text",icon:(0,C.jsx)(at.Z,{}),onClick:Mr,children:An("DDSAnnotator.annotsEditor.add")})]})]})}),Tr=On,fo=(0,g.memo)(function(Ze){var ye,Te=Ze.drawData,An=Ze.latestLabelId,yt=Ze.isSeperate,Pn=Ze.labelOptions,Sn=Ze.labelColors,In=Ze.onChangeObjectLabel,Un=Ze.onCreateCategory,ir=(0,z.bU)(),Mr=ir.localeText,pr=(0,g.useMemo)(function(){if(Pn.length>0){var Ln,da=(Ln=Pn[0])===null||Ln===void 0?void 0:Ln.labelType,Rr=da&&B.t[da],Yn=B.Zo[Rr];if(Yn)return B.ef[Yn]}},[Pn]);return(0,C.jsx)("div",{className:"dds-annotator-label-selector",children:(0,C.jsx)(er.Z,{showSearch:!0,placeholder:Mr("DDSAnnotator.label.select"),size:"middle",value:((ye=Te.objectList[Te.activeObjectIndex])===null||ye===void 0?void 0:ye.labelId)||An,onChange:In,popupClassName:"objects-select-popup",onClick:function(da){return da.stopPropagation()},onKeyUp:function(da){return da.stopPropagation()},onInputKeyDown:function(da){da.code!=="Enter"&&da.stopPropagation()},filterOption:function(da,Rr){var Yn,lr,Nr,ia=(Rr==null||(Yn=Rr.children)===null||Yn===void 0?void 0:Yn[((Rr==null||(lr=Rr.children)===null||lr===void 0?void 0:lr.length)||0)-1])||"";return(Nr=ia.toLowerCase())===null||Nr===void 0?void 0:Nr.includes(da.toLowerCase())},dropdownRender:function(da){return(0,C.jsxs)(C.Fragment,{children:[da,yt&&(0,C.jsx)(Tr,{onAdd:Un})]})},children:Pn==null?void 0:Pn.map(function(Ln){return(0,C.jsxs)(er.Z.Option,{value:Ln.id,className:"dds-annotator-label-selector-option",children:[pr?(0,C.jsx)(pr,{color:Ln.renderColor,fill:Ln.renderColor}):(0,C.jsx)("div",{className:"dds-annotator-label-selector-option-color",style:{backgroundColor:Sn==null?void 0:Sn[Ln.id]}}),Ln.name]},Ln.id)})})})}),Ro=fo,gi=(0,g.memo)(function(Ze){var ye=Ze.selectedTool,Te=Ze.selectedModel,An=Ze.modelOptions,yt=Ze.onSelectModel,Pn=(0,z.bU)(),Sn=Pn.localeText,In=B.Zo[ye];return(0,C.jsx)("div",{className:"dds-annotator-model-selector",children:(0,C.jsx)(er.Z,{placeholder:Sn("DDSAnnotator.label.select"),size:"middle",value:Te,onChange:yt,popupClassName:"objects-select-popup",onClick:function(ir){return ir.stopPropagation()},onKeyUp:function(ir){return ir.stopPropagation()},onInputKeyDown:function(ir){ir.code!=="Enter"&&ir.stopPropagation()},children:An==null?void 0:An.map(function(Un,ir){return(0,C.jsxs)(er.Z.Option,{value:Un,className:"dds-annotator-model-selector-option",children:[(0,C.jsx)(J.Z,{component:B.VC[In]}),B.TR[Un]&&Sn(B.TR[Un].name)]},ir)})})})}),Gi=gi,ol=(0,g.memo)(function(Ze){var ye,Te=Ze.toolOptions,An=Ze.selectedSubTool,yt=Ze.isAIAnnotationActive,Pn=Ze.brushSize,Sn=Ze.onChangeSubTool,In=Ze.onChangeBrushSize,Un=(0,g.useMemo)(function(){return[].concat(Xt()(Te.basicTools),Xt()(Te.smartTools))},[Te.basicTools,Te.smartTools]),ir=(0,g.useMemo)(function(){for(var Rr=[],Yn=1;Yn<=Un.length;Yn++)Rr.push(Yn.toString());return Rr},[Un]);(0,Oe.Z)(ir,function(Rr){var Yn=Un.find(function(lr,Nr){return(Nr+1).toString()===Rr.key});if(Yn&&Yn.available){if(Te.smartTools.find(function(lr){return Yn.key===lr.key})&&!yt)return;Sn(Yn.key)}},{exactMatch:!0});var Mr=function(Yn){var lr=Un.find(function(Nr){return Nr.key===An});Yn.type==="mouseup"&&(lr!=null&&lr.withSize||lr!=null&&lr.withCustomElement)||Yn.stopPropagation()},pr=function(Yn){var lr=Un.findIndex(function(Nr){return Nr.key===Yn.key})+1;return(0,C.jsxs)("div",{className:"dds-annotator-subtoolbar-popover",children:[(0,C.jsxs)("div",{children:[(0,C.jsx)("span",{className:"dds-annotator-subtoolbar-popover-title",children:Yn.name}),lr&&(0,C.jsx)("span",{className:"dds-annotator-subtoolbar-popover-key",children:lr})]}),Yn.description&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"dds-annotator-subtoolbar-popover-divider"}),(0,C.jsx)("div",{children:Yn.description})]})]})},Ln=function(Yn){var lr=Un.find(function(Nr){return Nr.key===Yn});lr&&lr.available&&Sn(Yn)},da=function(Yn){return(0,C.jsx)(pn.Z,{placement:"bottom",content:pr(Yn),children:(0,C.jsx)(x.ZP,{className:c()("dds-annotator-subtoolbar-btn",{"dds-annotator-subtoolbar-btn-active":An===Yn.key&&Yn.available,"dds-annotator-subtoolbar-btn-limited":Yn.available}),style:{cursor:Yn.available?"pointer":"not-allowed"},icon:Yn.icon,onClick:function(){return Ln(Yn.key)}})},Yn.key)};return(0,C.jsx)(k,{eventHandler:Mr,children:(0,C.jsxs)("div",{className:"dds-annotator-subtoolbar",children:[Te.basicTools.map(function(Rr){return da(Rr)}),yt&&(0,C.jsxs)(C.Fragment,{children:[Te.basicTools.length>0&&Te.smartTools.length>0&&(0,C.jsx)("div",{className:"dds-annotator-subtoolbar-divider"}),Te.smartTools.map(function(Rr){return da(Rr)})]}),Te.customElement&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"dds-annotator-subtoolbar-divider"}),Te.customElement]}),!!((ye=Un.find(function(Rr){return Rr.key===An}))!==null&&ye!==void 0&&ye.withSize)&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("div",{className:"dds-annotator-subtoolbar-divider"}),(0,C.jsx)("div",{className:"dds-annotator-subtoolbar-title",children:"Brush Size"}),(0,C.jsx)("div",{className:"dds-annotator-subtoolbar-slider",children:(0,C.jsx)(ca.Z,{defaultValue:20,min:1,max:100,value:Pn,onChange:function(Yn){return In(Yn)}})})]})]})})}),Ml=ol,oc=function(ye){var Te=ye.className,An=Te===void 0?"":Te,yt=ye.children,Pn=ye.leftTools,Sn=Pn===void 0?[]:Pn,In=ye.rightTools,Un=In===void 0?[]:In,ir=function(pr){return pr.map(function(Ln,da){var Rr=Ln.title,Yn=Ln.icon,lr=Ln.onClick,Nr=Ln.disabled,ia=Ln.splitLine,Vr=Ln.customElement;return(0,C.jsxs)(g.Fragment,{children:[Vr||(0,C.jsx)(T.Z,{title:Rr,children:(0,C.jsx)("div",{className:c()("dds-annnotator-toptools-row-icon",{"dds-annnotator-toptools-row-icon-disabled":!!Nr}),onClick:lr,children:Yn})}),ia&&(0,C.jsx)("div",{className:"dds-annnotator-toptools-row-split"})]},da)})};return(0,C.jsxs)("div",{className:c()("dds-annnotator-toptools",An),onMouseDown:function(pr){pr.stopPropagation()},children:[(0,C.jsx)("div",{className:"dds-annnotator-toptools-row",children:ir(Sn)}),(0,C.jsx)("div",{className:"dds-annnotator-toptools-progress",children:yt}),(0,C.jsx)("div",{className:"dds-annnotator-toptools-row",children:ir(Un)})]})},Ki=oc,zu=function(ye){var Te=ye.isOldMode,An=ye.isSeperate,yt=ye.mode,Pn=ye.fileName,Sn=ye.drawData,In=ye.editState,Un=ye.hideTopBarActions,ir=ye.titleElements,Mr=ye.actionElements,pr=ye.enableReviewerModify,Ln=ye.labelOptions,da=ye.labelColors,Rr=ye.showSubTools,Yn=ye.currSubTools,lr=ye.topBarCenterElement,Nr=ye.selectSubTool,ia=ye.setBrushSize,Vr=ye.activeAIAnnotation,Lr=ye.onChangeImageDisplayOpts,ga=ye.onChangeAnnotsDisplayOpts,aa=ye.onChangeObjectLabel,rr=ye.onCreateCategory,Jn=ye.onSaveAnnotations,Fr=ye.onCommitAnnotations,Er=ye.onRejectAnnotations,jr=ye.onAcceptAnnotations,Cr=ye.onModifyAnnotations,Ur=ye.onCancelAnnotations,Yr=ye.onSelectModel,Gr=(0,z.bU)(),Jr=Gr.localeText,Xr=function(){window.open("https://docs.deepdataspace.com")},K=(0,g.useMemo)(function(){var Me=Mr?Mr.map(function(ze){return{customElement:ze}}):[];return Un||(yt===Q.je.Review&&Me.push.apply(Me,[{customElement:(0,C.jsx)(x.ZP,{type:"primary",danger:!0,onClick:Er,children:Jr("DDSAnnotator.reject")})}].concat(Xt()(Te||!pr?[]:[{customElement:(0,C.jsx)(x.ZP,{type:"default",onClick:Cr,children:Jr("DDSAnnotator.modify")})}]),[{customElement:(0,C.jsx)(x.ZP,{type:"primary",onClick:jr,children:Jr("DDSAnnotator.approve")})}])),yt===Q.je.Edit&&!An&&(Me.push({customElement:(0,C.jsx)(x.ZP,{type:"default",onClick:Jn,children:Jr("DDSAnnotator.save")})}),Te||Me.push({customElement:(0,C.jsx)(x.ZP,{type:"primary",onClick:Fr,children:Jr("DDSAnnotator.commit")})})),Me.unshift({customElement:(0,C.jsxs)(C.Fragment,{children:[yt===Q.je.Edit&&(0,C.jsxs)("div",{className:"dds-annotator-qk-actions",children:[(0,C.jsx)(T.Z,{title:Jr("DDSAnnotator.docs"),children:(0,C.jsx)(J.Z,{component:To,onClick:Xr})}),(0,C.jsx)(cs,{displayOption:In.imageDisplayOptions,colorByCategory:In.annotsDisplayOptions.colorByCategory,onChangeImageDisplayOpts:Lr,onChangeAnnotsDisplayOpts:ga})]}),(0,C.jsx)(ya,{mode:yt}),(0,C.jsx)(Ue,{mode:yt})]})}),yt===Q.je.Edit&&Pn&&Me.unshift({customElement:(0,C.jsx)(C.Fragment,{children:Pn})})),Me},[yt,Te,pr,Un,Jn,Fr,Ur,Er,jr,Cr]),F=function(){var ze=[];return ir?ze.push.apply(ze,Xt()(ir.map(function(Qe){return{customElement:Qe}}))):(An||yt===Q.je.Edit?ze.push({customElement:(0,C.jsx)(T.Z,{title:Jr("DDSAnnotator.exit"),children:(0,C.jsx)(Es,{className:"dds-annotator-logo",onClick:Ur})})}):ze.push({title:Jr("DDSAnnotator.exit"),icon:(0,C.jsx)(go.Z,{}),onClick:function(){return Ur()}}),yt!==Q.je.Edit&&Pn&&ze.push({customElement:Pn})),yt===Q.je.Edit&&B.Xn[Sn.selectedTool]&&B.Xn[Sn.selectedTool].length>1&&Sn.AIAnnotation&&Sn.selectedModel&&ze.push({customElement:(0,C.jsx)(Gi,{selectedTool:Sn.selectedTool,selectedModel:Sn.selectedModel[Sn.selectedTool],modelOptions:B.Xn[Sn.selectedTool],onSelectModel:Yr})}),yt===Q.je.Edit&&(Sn.objectList[Sn.activeObjectIndex]||Sn.selectedTool!==B.ru.Drag)&&ze.push({customElement:(0,C.jsx)(Ro,{drawData:Sn,latestLabelId:In.latestLabelId,isSeperate:An,labelOptions:Ln,labelColors:da,onChangeObjectLabel:aa,onCreateCategory:rr})}),yt===Q.je.Edit&&Rr&&ze.push({customElement:(0,C.jsx)(Ml,{toolOptions:Yn,selectedSubTool:Sn.selectedSubTool,isAIAnnotationActive:Sn.AIAnnotation,brushSize:Sn.brushSize,onChangeSubTool:Nr,onChangeBrushSize:ia,onActiveAIAnnotation:Vr})}),ze},ce=(0,C.jsx)(Ki,{leftTools:F(),rightTools:K,children:lr});return{topToolsBar:ce}},Cc=zu,Hu=function(ye){var Te=ye.isOldMode,An=ye.clientSize,yt=ye.naturalSize,Pn=ye.categories,Sn=ye.getAnnotColor,In=function(Ln){var da=Ln.categoryId,Rr=Ln.boundingBox,Yn=Ln.points,lr=Ln.lines,Nr=Ln.pointNames,ia=Ln.pointColors,Vr=Ln.segmentation,Lr=Ln.mask,ga=Ln.alpha,aa=Ln.point,rr=Ln.polyline,Jn=Ln.lineColor,Fr=Ln.lineType,Er=Sn(da||""),jr={labelId:da||"",type:B.gr.Rectangle,hidden:!1,conf:Ln.conf||1,customStyles:Ln.customStyles,status:Q.TK.Commited,color:Er};if(Rr){var Cr=(0,Sr.cO)(Rr,An);Object.assign(jr,{rect:t()({visible:!0},Cr)})}if(Yn&&Yn.length>0&&lr&&lr.length>0&&Nr&&ia){var Ur=(0,Sr.el)(Yn,Nr,ia,yt,An);Object.assign(jr,{keypoints:{points:Ur,lines:lr}})}if(Vr){var Yr=(0,Sr.Vh)(Vr,yt,An),Gr={group:Yr,visible:!0};Object.assign(jr,{polygon:Gr})}if(Lr){var Jr=Lr.counts||"";Object.assign(jr,{maskRle:Jr,maskCanvasElement:(0,Gn.ei)(Jr,yt,Er)})}if(ga){var Xr=new Image;Xr.src=ga,Object.assign(jr,{alpha:ga,alphaImageElement:Xr})}if(aa&&Object.assign(jr,{point:t()(t()({},(0,Sr.YO)(aa,yt,An)),{},{visible:B.GI.labeledVisible})}),rr&&Fr&&Jn){var K=(0,Sr.aH)(rr).map(function(ce){return(0,Sr.YO)([ce.x,ce.y],yt,An)}),F={group:[K],visible:!0,lineType:Fr,color:(0,Sr.Yc)(Jn)};Object.assign(jr,{polyline:F})}return jr.type=(0,Sr.tQ)(jr),jr},Un=function(Ln){var da,Rr=Ln.labelId,Yn=Ln.rect,lr=Ln.keypoints,Nr=Ln.polygon,ia=Ln.maskRle,Vr=Ln.point,Lr=((da=Pn.find(function(Er){return Er.id===Rr}))===null||da===void 0?void 0:da.name)||"",ga={categoryId:Rr,categoryName:Lr};if(Yn&&Object.assign(ga,{boundingBox:(0,Sr.kq)(Yn,An)}),lr&&Object.assign(ga,t()({lines:lr.lines},(0,Sr.yn)(lr.points,yt,An))),Nr){var aa=(0,Sr.Vi)(Nr,yt,An);Object.assign(ga,{segmentation:aa})}if(ia&&Object.assign(ga,{mask:{counts:ia,size:[yt.height,yt.width]}}),Vr){var rr=(0,Sr.AR)([Vr.x,Vr.y],yt,An),Jn=rr.x,Fr=rr.y;Object.assign(ga,{point:[Jn,Fr]})}return ga},ir=function(Ln,da){var Rr,Yn=Ln.labelId,lr=Ln.labelValue,Nr=Sn(Yn),ia=Pn.find(function(Jn){return Jn.id===Yn}),Vr=(ia==null||(Rr=ia.attributes)===null||Rr===void 0?void 0:Rr.map(function(Jn,Fr){var Er;return((Er=Ln.attributes)===null||Er===void 0?void 0:Er[Fr])||null}))||void 0,Lr={labelId:Yn,type:B.gr.Custom,hidden:!1,status:Q.TK.Commited,color:Nr,attributes:Vr},ga=function(Fr,Er){switch(ia==null?void 0:ia.labelType){case B.Ze.Rectangle:{var jr=(0,Sr.JP)(Er,yt,An);Object.assign(Fr,{rect:t()({visible:!0},jr),type:B.gr.Rectangle});break}case B.Ze.Polygon:{var Cr=(0,Sr.Uy)(Er,yt,An),Ur={group:Cr,visible:!0};Object.assign(Fr,{polygon:Ur,type:B.gr.Polygon});break}case B.Ze.Skeleton:{var Yr=(0,Sr.OX)(Er,B.v_.pointNames,B.v_.pointColors,yt,An);Object.assign(Fr,{keypoints:{points:Yr,lines:B.v_.lines},type:B.gr.Skeleton});break}case B.Ze.Mask:{var Gr=Er.counts||"";Object.assign(Fr,{maskRle:Gr,maskCanvasElement:(0,Gn.ei)(Gr,yt,Nr),type:B.gr.Mask});break}case B.Ze.Classification:{Object.assign(Fr,{labelValue:Er,type:B.gr.Classification});break}}return Fr};if(da&&da>0){if((ia==null?void 0:ia.labelType)===B.Ze.Classification)return{classification:ga(Lr,lr)};var aa=new Array(da).fill(void 0),rr;return Object.keys(lr).forEach(function(Jn){rr=ga((0,m.cloneDeep)(Lr),lr[Jn]),aa[Number(Jn)]=t()(t()({},rr),{},{frameEmpty:!1})}),{objects:aa.map(function(Jn){return Jn||t()(t()({},(0,m.cloneDeep)(rr)),{},{frameEmpty:!0})})}}return ga(Lr,lr)},Mr=function(Ln){var da,Rr=Ln.labelId,Yn=Ln.rect,lr=Ln.keypoints,Nr=Ln.polygon,ia=Ln.maskRle,Vr=Ln.attributes,Lr=Pn.find(function(Jn){return Jn.id===Rr}),ga={labelId:Rr,attributes:Vr||(Lr==null||(da=Lr.attributes)===null||da===void 0?void 0:da.map(function(){return null}))||[]};switch(Lr==null?void 0:Lr.labelType){case B.Ze.Rectangle:{Yn&&(ga.labelValue=(0,Sr.cx)(Yn,An,yt));break}case B.Ze.Polygon:{Nr&&(ga.labelValue=(0,Sr.A_)(Nr,yt,An));break}case B.Ze.Skeleton:{if(lr){var aa=(0,Sr.$G)(lr.points,yt,An),rr=aa.points;ga.labelValue=rr}break}case B.Ze.Mask:{ia&&(ga.labelValue={counts:ia,size:[yt.height,yt.width]});break}}return ga};return{translateAnnotationToObject:In,translateObjectToAnnotation:Un,translateLabelToObject:ir,translateObjectToLabel:Mr,translateObject:Te?Un:Mr,translateToObject:Te?In:ir}},_u=Hu,Yu=e(87478),Fu=function(ye){var Te,An=ye.theme,yt=An===void 0?"dark":An,Pn=ye.isOldMode,Sn=ye.isSeperate,In=ye.visible,Un=ye.categories,ir=ye.list,Mr=ye.current,pr=ye.pagination,Ln=ye.mode,da=ye.enableReviewerModify,Rr=ye.limitToolTypes,Yn=ye.titleElements,lr=ye.actionElements,Nr=ye.layoutOptions,ia=ye.displayOptionsResult,Vr=ye.manualMode,Lr=ye.forceColorByObject,ga=ye.limitActiveObject,aa=ye.limitActiveObjectAfterCreate,rr=ye.customDefaultDrawData,Jn=ye.onPrev,Fr=ye.onNext,Er=ye.onCancel,jr=ye.onSave,Cr=ye.onCommit,Ur=ye.onReviewModify,Yr=ye.onReviewAccept,Gr=ye.onReviewReject,Jr=ye.setCategories,Xr=ye.onAutoSave,K=ye.objectsFilter,F=n.Z.useModal(),ce=s()(F,2),Me=ce[0],ze=ce[1],Qe=(0,M.x)([]),St=s()(Qe,2),At=St[0],Yt=St[1],ln=(0,M.x)((0,m.cloneDeep)(Q.rl)),Hn=s()(ln,2),Dn=Hn[0],qn=Hn[1],Kr=(0,M.x)(t()(t()({},(0,m.cloneDeep)(Q.f7)),rr)),na=s()(Kr,2),Or=na[0],ba=na[1],Pa=(0,g.useRef)(null),Za=(0,g.useRef)(null),to=(0,g.useRef)(null),Ra=(0,g.useMemo)(function(){return ir[Mr]},[ir,Mr]),Aa=Ra,Ho=yi({categories:Un,editState:Dn,forceColorByObject:Lr}),Ba=Ho.getAnnotColor,ka=Ho.labelColors,no=ni({visible:In,drawData:Or,allowMove:Dn.allowMove,isRequiring:Dn.isRequiring,minPadding:(Nr==null?void 0:Nr.minPadding)||{top:30,left:80},cursorSize:Or.brushSize,hideReferenceLine:!!(Nr!=null&&Nr.hideReferenceLine)}),ci=no.scale,ti=no.naturalSize,mo=no.clientSize,_o=no.containerMouse,uo=no.contentMouse,vo=no.imagePos,Qi=no.onLoadImg,Ai=no.onZoomIn,$i=no.onZoomOut,Ga=no.onReset,Ri=no.CanvasContainer,Oa=no.isMousePress,ko=_u({isOldMode:Pn,clientSize:mo,naturalSize:ti,categories:Un,getAnnotColor:Ba}),Ci=ko.translateObject,Ti=ko.translateToObject,ns=ri({clientSize:mo,naturalSize:ti,setDrawData:ba,onAutoSave:Xr,translateObject:Ci}),Cs=ns.undo,Cl=ns.redo,Xi=ns.clearHistory,ru=ns.flagSaved,Vu=ns.hadChangeRecord,zc=ns.updateHistory,rs=ns.setDrawDataWithHistory,ms=bo({setDrawDataWithHistory:rs,categories:Un}),zi=ms.judgeEditingAttribute,ds=ms.onConfirmAttibuteEdit,Tl=ms.onCancelAttibuteEdit,xs=ja({annotations:At,setAnnotations:Yt,drawData:Or,setDrawData:ba,setDrawDataWithHistory:rs,setEditState:qn,mode:Ln,translateToObject:Ti,judgeEditingAttribute:zi,limitActiveObjectAfterCreate:aa,updateHistory:zc}),Wl=xs.addObject,Vs=xs.removeObject,Cu=xs.removeAllObjects,Hl=xs.initObjectList,yd=xs.updateAllObject,Xc=xs.updateObject,Fc=xs.updateObjectWithoutHistory,dd=xs.updateAllObjectWithoutHistory,xu=xs.commitedObjects,sc=xs.currObject,fu=oi({isOldMode:Pn,mode:Ln,categories:Un,setCategories:Jr,drawData:Or,setDrawData:ba,editState:Dn,updateObjectWithoutHistory:Fc,updateAllObjectWithoutHistory:dd}),Bc=fu.labelOptions,_l=fu.classificationOptions,Oi=fu.aiLabels,Ps=fu.setAiLabels,Is=fu.onChangeObjectHidden,Gs=fu.onChangeCategoryHidden,au=fu.onChangeActiveClass,wc=fu.onCreateCategory,zs=fu.onChangePointVisible,$c=Xa({currImageItem:Aa,drawData:Or,setDrawData:ba,setDrawDataWithHistory:rs,editState:Dn,setEditState:qn,naturalSize:ti,clientSize:mo,getAnnotColor:Ba}),Gu=$c.onAiAnnotation,Ku=oa({mode:Ln,currImageItem:Aa,modal:Me,drawData:Or,editState:Dn,setEditState:qn,hadChangeRecord:Vu,categories:Un,translateObject:Ci,flagSaved:ru,onCancel:Er,onSave:jr,onCommit:Cr,onReviewModify:Ur,onReviewAccept:Yr,onReviewReject:Gr,classificationOptions:_l}),Zc=Ku.onSaveAnnotations,jc=Ku.onCommitAnnotations,Ll=Ku.onCancelAnnotations,Jc=Ku.onRejectAnnotations,pc=Ku.onAcceptAnnotations,Qu=Ku.onModifyAnnotations,Uc=zo({topCanvas:Za.current,editState:Dn,drawData:Or}),qc=Uc.updateMouseCursor,is=wa({mode:Ln,manualMode:!!Vr,drawData:Or,setDrawData:ba,setDrawDataWithHistory:rs,setAiLabels:Ps,editState:Dn,setEditState:qn,getAnnotColor:Ba,clientSize:mo,naturalSize:ti,addObject:Wl,updateObject:Xc,updateAllObject:yd,onAiAnnotation:Gu}),ed=is.onChangeObjectLabel,lc=is.onFinishCurrCreate,td=is.onAcceptValidObjects,kc=is.onAbortBatchObjects,Yl=is.selectTool,nd=is.selectSubTool,rd=is.forceChangeTool,Nl=is.onExitAIAnnotation,Xu=is.setBrushSize,ou=is.activeAIAnnotation,ad=is.onChangeSkeletonConf,bd=is.onChangeLimitConf,Rl=is.onChangeAnnotsDisplayOpts,od=is.onChangeImageDisplayOpts,fd=is.onChangeColorMode,vd=is.onChangePointResolution,Md=is.onSelectModel,Ju=Wn({drawData:Or,onChangePointResolution:vd}),Sd=Ju.showSubTools,gd=Ju.currSubTools,hc=(0,Yu.Vr)({imgRef:to,editState:Dn,clientSize:mo,naturalSize:ti,contentMouse:uo,imagePos:vo,containerMouse:_o,canvasRef:Pa,activeCanvasRef:Za,setEditState:qn,drawData:Or,setDrawData:ba,setDrawDataWithHistory:rs,updateHistory:zc,updateObject:Xc,addObject:Wl,updateMouseCursor:qc,aiLabels:Oi,onAiAnnotation:Gu,getAnnotColor:Ba,categories:Un,displayOptionsResult:ia}),id=hc.objectHooksMap,uc=hi({visible:In,drawData:Or,editState:Dn,clientSize:mo,imagePos:vo,containerMouse:_o,canvasRef:Pa,activeCanvasRef:Za,imgRef:to,objectHooksMap:id}),sd=uc.updateRender,Ed=uc.renderPopoverMenu,Wc=Zr({visible:In,mode:Ln,drawData:Or,setDrawData:ba,editState:Dn,setEditState:qn,clientSize:mo,contentMouse:uo,categories:Un,updateRender:sd,updateMouseCursor:qc,objectHooksMap:id,imagePos:vo,containerMouse:_o,getAnnotColor:Ba,limitActiveObject:ga}),ld=Wc.selectFocusObject,Rd=Wc.forceChangeFocusObject,zd=Wc.mouseRightObjectsDropDownRender;Na({visible:In,mode:Ln,drawData:Or,categories:Un,isMousePress:Oa,setDrawData:ba,setEditState:qn,onSaveAnnotations:Zc,onAcceptAnnotations:pc,onRejectAnnotations:Jc,onChangeObjectHidden:Is,onChangeCategoryHidden:Gs,removeObject:Vs,addObject:Wl});var Cd=oo({imagePos:vo,clientSize:mo,naturalSize:ti,annotations:At,setAnnotations:Yt,drawData:Or,setDrawData:ba,editState:Dn,setEditState:qn,initObjectList:Hl,updateRender:sd,clearHistory:Xi,objectsFilter:K,labelOptions:Bc,customDefaultDrawData:rr}),xd=Cd.resetDataWithImageData;(0,g.useEffect)(function(){return document.body.style.overflow=In?"hidden":"overlay",function(){document.body.style.overflow="overlay"}},[In]),(0,g.useEffect)(function(){xd(Aa,In)},[In,Ln,Mr,Aa==null?void 0:Aa.id,K]),(0,g.useEffect)(function(){fd()},[Dn.annotsDisplayOptions.colorByCategory]);var yc=(0,g.useMemo)(function(){if(Ra!=null&&Ra.name)return Ra==null?void 0:Ra.name;if(Ra!=null&&Ra.url&&(Ra==null?void 0:Ra.url.indexOf("http"))===0){var Ji=decodeURIComponent(Ra==null?void 0:Ra.url);return Ji.replace(/\?.*$/,"").split("/").pop()||""}return""},[Ra]),Fd=pr&&pr.show?(0,C.jsx)(la,{list:ir,current:Mr,total:pr.total,customText:pr.customText,customDisableNext:pr.customDisableNext,onPrev:Jn,onNext:Fr}):null,Pc=Cc({isOldMode:Pn,isSeperate:Sn,mode:Ln,hideTopBarActions:Nr==null?void 0:Nr.hideTopBarActions,fileName:yc,drawData:Or,editState:Dn,titleElements:Yn,actionElements:lr,enableReviewerModify:da,labelOptions:Bc,showSubTools:Sd,currSubTools:gd,topBarCenterElement:Fd,labelColors:ka,selectSubTool:nd,setBrushSize:Xu,activeAIAnnotation:ou,onChangeImageDisplayOpts:od,onChangeAnnotsDisplayOpts:Rl,onChangeObjectLabel:ed,onCreateCategory:wc,onSaveAnnotations:Zc,onCommitAnnotations:jc,onRejectAnnotations:Jc,onAcceptAnnotations:pc,onModifyAnnotations:Qu,onCancelAnnotations:Ll,onSelectModel:Md}),ud=Pc.topToolsBar;return In?(0,C.jsxs)("div",{className:c()("dds-annotator","dds-annotator-editor","dds-annotator-editor-".concat(yt)),style:{height:(Nr==null?void 0:Nr.wrapHeight)||"100vh"},children:[!(Nr!=null&&Nr.hideTopBar)&&ud,(0,C.jsxs)("div",{className:"editor-container",style:{top:Nr!=null&&Nr.hideTopBar?"0":""},children:[!(Nr!=null&&Nr.hideMainToolBar)&&(0,C.jsx)(Br,{onlySupportZoom:Ln!==Q.je.Edit,selectedTool:Or.selectedTool,manualMode:!!Vr,limitToolTypes:Rr,isAIAnnotationActive:Or.AIAnnotation,onChangeSelectedTool:Yl,onActiveAIAnnotation:ou,hideUndoRedoActions:Nr==null?void 0:Nr.hideUndoRedoActions,undo:Cs,redo:Cl,deleteAll:Cu,scale:ci,onZoomIn:Ai,onZoomOut:$i,onZoomReset:Ga}),(0,C.jsxs)("div",{className:"center-content",children:[Aa&&(0,C.jsx)(d.Z,{dropdownRender:zd,trigger:["contextMenu"],open:Dn.foucsObjectAllIndexs.length>0,children:Ri({className:"edit-wrap",children:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(he,{url:Aa==null?void 0:Aa.url,imgRef:to,canvasRef:Pa,activeCanvasRef:Za,clientSize:mo,imagePos:vo,onLoad:function(Hc){sd(),Qi(Hc)}}),Ed()]})})}),(0,C.jsx)(pt,{mode:Ln,isAiAnnotation:Or.AIAnnotation,latestLabelId:Dn.latestLabelId,currObject:sc,onFinishCurrCreate:lc}),(0,C.jsx)(En,{mode:Ln,isAiAnnotation:Or.AIAnnotation,currObject:sc,currObjectIndex:Or.activeObjectIndex,focusObjectIndex:Dn.focusObjectIndex,focusEleType:Dn.focusEleType,focusEleIndex:Dn.focusEleIndex,onChangePointVisible:zs,setEditState:qn}),(0,C.jsx)(Ie,{selectedTool:Or.selectedTool,selectedSubTool:Or.selectedSubTool,selectedModel:Or.selectedModel[Or.selectedTool],isBatchEditing:Or.isBatchEditing,AIAnnotation:Or.AIAnnotation,hasPolygonPreds:!!((Te=Or.creatingObject)!==null&&Te!==void 0&&Te.polygon),isCtrlPressed:Dn.isCtrlPressed,limitConf:Or.limitConf,aiLabels:Oi,naturalSize:ti,setAiLabels:Ps,forceChangeTool:rd,onAiAnnotation:Gu,onExitAIAnnotation:Nl,onChangeConfidenceRange:ad,onChangeLimitConf:bd,onAcceptValidObjects:td,onCancelBatchEdit:kc}),(0,C.jsx)(ie,{AIAnnotation:Or.AIAnnotation,modelOptions:B.Xn[Or.selectedTool],selectedModel:Or.selectedModel[Or.selectedTool],onSelectModel:Md,onCloseModal:function(){return ba(function(Hc){Hc.AIAnnotation=!1})}}),Or.editingAttribute&&(0,C.jsx)(Y,{data:Or.editingAttribute,supportEdit:Ln===Q.je.Edit,onConfirmAttibuteEdit:ds,onCancelAttibuteEdit:Tl})]}),!(Nr!=null&&Nr.hideRightList)&&(0,C.jsxs)("div",{className:"right-slider",children:[_l.length>0&&(0,C.jsx)(Je,{className:"classifications",supportEdit:Ln===Q.je.Edit,classificationOptions:_l,values:Or.classifications,setDrawDataWithHistory:rs}),(0,C.jsx)(Ye,{supportEdit:Ln===Q.je.Edit,className:"object-list",objects:xu,categories:Un,activeObjectIndex:Or.activeObjectIndex,activeClassName:Or.activeClassName,onFocusObject:Rd,onActiveObject:ld,onChangeObjectHidden:Is,onChangeCategoryHidden:Gs,onDeleteObject:Vs,onChangeActiveClassName:au,setDrawDataWithHistory:rs,colorByCategory:Dn.annotsDisplayOptions.colorByCategory,onChangeAnnotsDisplayOpts:Rl})]})]}),(0,C.jsx)("div",{onMouseDown:function(Hc){Hc.stopPropagation()},children:ze})]}):null},_i=Fu,So=e(16962),gs=e.n(So),vc=Object.defineProperty,du=Object.getOwnPropertySymbols,ic=Object.prototype.hasOwnProperty,Qc=Object.prototype.propertyIsEnumerable,Rs=(Ze,ye,Te)=>ye in Ze?vc(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,il=(Ze,ye)=>{for(var Te in ye||(ye={}))ic.call(ye,Te)&&Rs(Ze,Te,ye[Te]);if(du)for(var Te of du(ye))Qc.call(ye,Te)&&Rs(Ze,Te,ye[Te]);return Ze};const xc=Ze=>g.createElement("svg",il({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("path",{d:"m8.379 7.648-4.56-5.825a.283.283 0 0 0-.224-.11h-1.38a.142.142 0 0 0-.113.231L6.842 8l-4.74 6.055a.143.143 0 0 0 .112.23h1.38a.289.289 0 0 0 .226-.109l4.559-5.823a.571.571 0 0 0 0-.705Zm5.428 0L9.248 1.823a.283.283 0 0 0-.225-.11h-1.38a.142.142 0 0 0-.112.231L12.27 8l-4.74 6.055a.143.143 0 0 0 .113.23h1.38a.289.289 0 0 0 .225-.109l4.56-5.823a.571.571 0 0 0 0-.705Z",fill:"#fff",opacity:.85}));var gc="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTguMzc5IDcuNjQ4LTQuNTYtNS44MjVhLjI4My4yODMgMCAwIDAtLjIyNC0uMTFoLTEuMzhhLjE0Mi4xNDIgMCAwIDAtLjExMy4yMzFMNi44NDIgOGwtNC43NCA2LjA1NWEuMTQzLjE0MyAwIDAgMCAuMTEyLjIzaDEuMzhhLjI4OS4yODkgMCAwIDAgLjIyNi0uMTA5bDQuNTU5LTUuODIzYS41NzEuNTcxIDAgMCAwIDAtLjcwNVptNS40MjggMEw5LjI0OCAxLjgyM2EuMjgzLjI4MyAwIDAgMC0uMjI1LS4xMWgtMS4zOGEuMTQyLjE0MiAwIDAgMC0uMTEyLjIzMUwxMi4yNyA4bC00Ljc0IDYuMDU1YS4xNDMuMTQzIDAgMCAwIC4xMTMuMjNoMS4zOGEuMjg5LjI4OSAwIDAgMCAuMjI1LS4xMDlsNC41Ni01LjgyM2EuNTcxLjU3MSAwIDAgMCAwLS43MDVaIiBmaWxsPSIjZmZmIiBvcGFjaXR5PSIuODUiLz48L3N2Zz4=",Sl=Object.defineProperty,El=Object.getOwnPropertySymbols,Bu=Object.prototype.hasOwnProperty,sl=Object.prototype.propertyIsEnumerable,Pl=(Ze,ye,Te)=>ye in Ze?Sl(Ze,ye,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ze[ye]=Te,Ic=(Ze,ye)=>{for(var Te in ye||(ye={}))Bu.call(ye,Te)&&Pl(Ze,Te,ye[Te]);if(El)for(var Te of El(ye))sl.call(ye,Te)&&Pl(Ze,Te,ye[Te]);return Ze};const Nc=Ze=>g.createElement("svg",Ic({viewBox:"0 0 14 14",fill:"#595959",xmlns:"http://www.w3.org/2000/svg"},Ze),g.createElement("path",{d:"M6.887 9.657a.143.143 0 0 0 .225 0l2-2.53A.142.142 0 0 0 9 6.897H7.677V.854A.143.143 0 0 0 7.534.71H6.462a.143.143 0 0 0-.143.143v6.041H5a.142.142 0 0 0-.112.23l2 2.532Zm6.649-.625h-1.072a.143.143 0 0 0-.143.143v2.75H1.678v-2.75a.143.143 0 0 0-.142-.143H.464a.143.143 0 0 0-.143.143v3.536a.57.57 0 0 0 .572.572h12.214a.57.57 0 0 0 .571-.572V9.175a.143.143 0 0 0-.142-.143Z"}));var Ac="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTQgMTQiIGZpbGw9IiM1OTU5NTkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuODg3IDkuNjU3YS4xNDMuMTQzIDAgMCAwIC4yMjUgMGwyLTIuNTNBLjE0Mi4xNDIgMCAwIDAgOSA2Ljg5N0g3LjY3N1YuODU0QS4xNDMuMTQzIDAgMCAwIDcuNTM0LjcxSDYuNDYyYS4xNDMuMTQzIDAgMCAwLS4xNDMuMTQzdjYuMDQxSDVhLjE0Mi4xNDIgMCAwIDAtLjExMi4yM2wyIDIuNTMyWm02LjY0OS0uNjI1aC0xLjA3MmEuMTQzLjE0MyAwIDAgMC0uMTQzLjE0M3YyLjc1SDEuNjc4di0yLjc1YS4xNDMuMTQzIDAgMCAwLS4xNDItLjE0M0guNDY0YS4xNDMuMTQzIDAgMCAwLS4xNDMuMTQzdjMuNTM2YS41Ny41NyAwIDAgMCAuNTcyLjU3MmgxMi4yMTRhLjU3LjU3IDAgMCAwIC41NzEtLjU3MlY5LjE3NWEuMTQzLjE0MyAwIDAgMC0uMTQyLS4xNDNaIi8+PC9zdmc+",Rc=function(ye){var Te,An,yt=ye.isOldMode,Pn=ye.visible,Sn=ye.categories,In=ye.list,Un=ye.current,ir=ye.onPrev,Mr=ye.onNext,pr=ye.onCancel,Ln=ye.objectsFilter,da=ye.displayOptionsResult,Rr=(0,M.x)([]),Yn=s()(Rr,2),lr=Yn[0],Nr=Yn[1],ia=(0,M.x)((0,m.cloneDeep)(Q.rl)),Vr=s()(ia,2),Lr=Vr[0],ga=Vr[1],aa=(0,M.x)((0,m.cloneDeep)(Q.f7)),rr=s()(aa,2),Jn=rr[0],Fr=rr[1],Er=(0,g.useRef)(null),jr=(0,g.useRef)(null),Cr=(0,g.useRef)(null),Ur=ni({visible:Pn,drawData:Jn,allowMove:Lr.allowMove,isRequiring:Lr.isRequiring,minPadding:{top:120,left:300},cursorSize:Jn.brushSize,onClickMaskBg:pr}),Yr=Ur.scale,Gr=Ur.naturalSize,Jr=Ur.clientSize,Xr=Ur.containerMouse,K=Ur.contentMouse,F=Ur.imagePos,ce=Ur.onLoadImg,Me=Ur.onZoomIn,ze=Ur.onZoomOut,Qe=Ur.CanvasContainer,St=yi({categories:Sn,editState:Lr}),At=St.getAnnotColor,Yt=zo({topCanvas:jr.current,editState:Lr,drawData:Jn}),ln=Yt.updateMouseCursor,Hn=_u({isOldMode:yt,clientSize:Jr,naturalSize:Gr,categories:Sn,getAnnotColor:At}),Dn=Hn.translateToObject,qn=ri({clientSize:Jr,naturalSize:Gr,setDrawData:Fr}),Kr=qn.clearHistory,na=qn.updateHistory,Or=qn.setDrawDataWithHistory,ba=ja({annotations:lr,setAnnotations:Nr,drawData:Jn,setDrawData:Fr,setDrawDataWithHistory:Or,setEditState:ga,mode:Q.je.View,translateToObject:Dn,updateHistory:na}),Pa=ba.addObject,Za=ba.initObjectList,to=ba.updateObject,Ra=(0,Yu.Vr)({imgRef:Cr,editState:Lr,clientSize:Jr,naturalSize:Gr,contentMouse:K,imagePos:F,containerMouse:Xr,canvasRef:Er,activeCanvasRef:jr,setEditState:ga,drawData:Jn,setDrawData:Fr,setDrawDataWithHistory:Or,updateHistory:na,updateObject:to,addObject:Pa,updateMouseCursor:ln,displayOptionsResult:da,getAnnotColor:At,categories:Sn}),Aa=Ra.objectHooksMap,Ho=hi({visible:Pn,drawData:Jn,editState:Lr,clientSize:Jr,imagePos:F,containerMouse:Xr,canvasRef:Er,activeCanvasRef:jr,imgRef:Cr,objectHooksMap:Aa}),Ba=Ho.updateRender;Zr({visible:Pn,mode:Q.je.View,drawData:Jn,setDrawData:Fr,editState:Lr,setEditState:ga,clientSize:Jr,contentMouse:K,categories:Sn,updateRender:Ba,updateMouseCursor:ln,objectHooksMap:Aa,imagePos:F,containerMouse:Xr,getAnnotColor:At,limitActiveObject:!0}),(0,g.useEffect)(function(){document.body.style.overflow=Pn?"hidden":"overlay"},[Pn]);var ka=oo({imagePos:F,clientSize:Jr,naturalSize:Gr,annotations:lr,setAnnotations:Nr,drawData:Jn,setDrawData:Fr,editState:Lr,setEditState:ga,initObjectList:Za,updateRender:Ba,clearHistory:Kr,objectsFilter:Ln,labelOptions:Sn}),no=ka.resetDataWithImageData;(0,g.useEffect)(function(){no(In[Un],Pn)},[Pn,In[Un],Ln]),(0,g.useEffect)(function(){Ba()},[da]);var ci=(0,g.useState)(!0),ti=s()(ci,2),mo=ti[0],_o=ti[1],uo=(0,g.useCallback)(function(){_o(function($i){return!$i})},[]),vo=function(){var $i=Tn()(dn()().mark(function Ga(Ri){var Oa,ko;return dn()().wrap(function(Ti){for(;;)switch(Ti.prev=Ti.next){case 0:return Ri.preventDefault(),Ri.stopPropagation(),Oa=S.ZP.loading("Creating image...",6e4),ko=function(){return new Promise(function(Cs,Cl){setTimeout(function(){try{if(!Er.current)return;var Xi=Er.current.toDataURL(),ru=document.createElement("a");ru.setAttribute("download","".concat(In[Un].id,".png")),ru.setAttribute("href",Xi),ru.click(),Oa(),Cs(null)}catch(Vu){Cl(Vu)}},500)})},Ti.prev=4,ga(function(ns){ns.focusObjectIndex=-1}),Ba(),Ti.next=9,ko();case 9:Ti.next=16;break;case 11:Ti.prev=11,Ti.t0=Ti.catch(4),console.error(Ti.t0),Oa(),S.ZP.error("Create image fail, please try again");case 16:case"end":return Ti.stop()}},Ga,null,[[4,11]])}));return function(Ri){return $i.apply(this,arguments)}}();(0,Oe.Z)(Le[Mt.PreviousImage].shortcut,function(){Pn&&(ir==null||ir())},{exactMatch:!0}),(0,Oe.Z)(Le[Mt.NextImage].shortcut,function(){Pn&&(Mr==null||Mr())},{exactMatch:!0});var Qi=function(){var Ga;if(Lr.focusObjectIndex>-1&&Jn.objectList[Lr.focusObjectIndex]&&!((Ga=Jn.objectList[Lr.focusObjectIndex])!==null&&Ga!==void 0&&Ga.hidden)&&Lr.focusEleIndex>-1&&Lr.focusEleType===B.Yq.Circle){var Ri,Oa,ko,Ci=(Ri=Jn.objectList[Lr.focusObjectIndex])===null||Ri===void 0||(Oa=Ri.keypoints)===null||Oa===void 0||(ko=Oa.points)===null||ko===void 0?void 0:ko[Lr.focusEleIndex];if(Ci)return(0,C.jsx)(Mi,{index:Lr.focusEleIndex,targetElement:Ci,imagePos:F.current})}return(0,C.jsx)(C.Fragment,{})};if(!Pn)return(0,C.jsx)(C.Fragment,{});var Ai=(0,m.isEmpty)((Te=In[Un])===null||Te===void 0?void 0:Te.metadata)?void 0:In[Un].metadata;return(0,C.jsxs)("div",{className:"dds-annotator dds-annotator-preview",children:[(0,C.jsx)(Ki,{className:"top-tools",leftTools:[{icon:(0,C.jsx)(Jt.Z,{}),onClick:Me,disabled:Yr>=B.Fv},{icon:(0,C.jsx)(rn.Z,{}),onClick:ze,disabled:Yr<=B.vL},{icon:(0,C.jsx)(Nc,{}),onClick:vo}],rightTools:[{icon:(0,C.jsx)(h.Z,{}),onClick:pr}],children:"".concat(Un+1," / ").concat(In.length)}),Qe({className:"edit-wrap",children:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(he,{url:(An=In[Un])===null||An===void 0?void 0:An.url,imgRef:Cr,canvasRef:Er,activeCanvasRef:jr,clientSize:Jr,imagePos:F,onLoad:ce}),Qi()]})}),(0,C.jsx)("div",{className:c()("switch","switch-left",{"switch-disable":Un===0}),onClick:ir,children:(0,C.jsx)(yr.Z,{})}),(0,C.jsx)("div",{className:c()("switch","switch-right",{"switch-disable":Un===In.length-1}),onClick:Mr,children:(0,C.jsx)(Wr.Z,{})}),mo&&Ai&&(0,C.jsxs)("div",{className:"info-wrap",children:[(0,C.jsx)("div",{className:"info-box",children:Object.keys(Ai).map(function($i){return(0,C.jsxs)("div",{className:"item",children:[$i,(0,C.jsx)("br",{}),gs()(Ai[$i])==="object"?JSON.stringify(Ai[$i]):Ai[$i]]},$i)})}),(0,C.jsx)("div",{className:"bottom-mask"}),(0,C.jsx)("div",{className:"hide-info-btn",onClick:uo,children:(0,C.jsx)(xc,{})})]}),!mo&&(0,C.jsx)("div",{className:"show-info-btn",onClick:uo,children:(0,C.jsx)(xc,{})})]})},Oc=Rc,mc=function(ye){var Te=ye.isOldMode,An=ye.categories,yt=ye.data,Pn=ye.currentSize,Sn=ye.wrapWidth,In=ye.wrapHeight,Un=ye.minHeight,ir=ye.objectsFilter,Mr=ye.displayOptionsResult,pr=(0,M.x)([]),Ln=s()(pr,2),da=Ln[0],Rr=Ln[1],Yn=(0,M.x)((0,m.cloneDeep)(Q.rl)),lr=s()(Yn,2),Nr=lr[0],ia=lr[1],Vr=(0,M.x)((0,m.cloneDeep)(Q.f7)),Lr=s()(Vr,2),ga=Lr[0],aa=Lr[1],rr=(0,g.useRef)(null),Jn=(0,g.useRef)(null),Fr=(0,g.useRef)(null),Er=(0,g.useRef)({x:0,y:0}),jr=(0,g.useState)({width:0,height:Un||0}),Cr=s()(jr,2),Ur=Cr[0],Yr=Cr[1],Gr=(0,g.useMemo)(function(){if(Pn)return Pn;if(!Ur.width)return{width:Sn||0,height:In||Un||0};var Ba=(0,Sr.t9)(Ur.width,Ur.height,Sn,In),ka=s()(Ba,2),no=ka[0],ci=ka[1];return{width:no,height:ci}},[Sn,In,Un,Ur,Pn]),Jr=(0,g.useMemo)(function(){var Ba={screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,elementX:0,elementY:0,elementPosX:0,elementPosY:0,elementW:Gr.width,elementH:Gr.height};return[Ba,Ba]},[Gr]),Xr=s()(Jr,2),K=Xr[0],F=Xr[1],ce=yi({categories:An,editState:Nr}),Me=ce.getAnnotColor,ze=_u({isOldMode:Te,clientSize:Gr,naturalSize:Ur,categories:An,getAnnotColor:Me}),Qe=ze.translateToObject,St=ri({clientSize:Gr,naturalSize:Ur,setDrawData:aa}),At=St.clearHistory,Yt=St.updateHistory,ln=St.setDrawDataWithHistory,Hn=ja({annotations:da,setAnnotations:Rr,drawData:ga,setDrawData:aa,setDrawDataWithHistory:ln,setEditState:ia,mode:Q.je.View,translateToObject:Qe,updateHistory:Yt}),Dn=Hn.addObject,qn=Hn.initObjectList,Kr=Hn.updateObject,na=zo({topCanvas:Jn.current,editState:Nr,drawData:ga}),Or=na.updateMouseCursor,ba=(0,Yu.Vr)({imgRef:Fr,editState:Nr,clientSize:Gr,naturalSize:Ur,contentMouse:K,containerMouse:F,imagePos:Er,canvasRef:rr,activeCanvasRef:Jn,setEditState:ia,drawData:ga,setDrawData:aa,setDrawDataWithHistory:ln,updateHistory:Yt,updateObject:Kr,addObject:Dn,updateMouseCursor:Or,displayOptionsResult:Mr,getAnnotColor:Me,categories:An}),Pa=ba.objectHooksMap,Za=hi({visible:!0,drawData:ga,editState:Nr,clientSize:Gr,imagePos:Er,containerMouse:F,canvasRef:rr,activeCanvasRef:Jn,imgRef:Fr,objectHooksMap:Pa}),to=Za.updateRender,Ra=oo({imagePos:Er,clientSize:Gr,naturalSize:Ur,annotations:da,setAnnotations:Rr,drawData:ga,setDrawData:aa,editState:Nr,setEditState:ia,initObjectList:qn,updateRender:to,clearHistory:At,objectsFilter:ir,labelOptions:An}),Aa=Ra.resetDataWithImageData;(0,g.useEffect)(function(){Aa(yt,!0)},[yt,ir]),(0,g.useEffect)(function(){to()},[Mr]);var Ho=function(ka){var no=ka.target,ci={width:no.naturalWidth,height:no.naturalHeight};Yr(ci)};return(0,C.jsx)("div",{className:"dds-annotator-view",children:(0,C.jsx)(he,{url:yt==null?void 0:yt.url,imgRef:Fr,canvasRef:rr,activeCanvasRef:Jn,clientSize:Gr,imagePos:Er,onLoad:Ho})})},Dc=mc},87478:function(b,y,e){"use strict";e.d(y,{$N:function(){return X},hF:function(){return Q},G9:function(){return C},_G:function(){return O},Vr:function(){return se}});var a=e(63900),t=e.n(a),o=e(2657),s=e.n(o),n=e(17410),d=e(46134),l=e(81179),c=e(67761),m=function(k){var A=k.imgRef,Y=k.imagePos,de=k.canvasRef,me=k.clientSize,ve=k.displayOptionsResult,be=function(Ke){if(!(!Ke||!de.current||!A.current)){var he=ve||{},J=he.showMattingColorFill,V=de.current.getContext("2d"),R=t()({x:Y.current.x,y:Y.current.y},me);(0,l.UN)(de.current),(0,l.AE)(de.current,Ke,R),J?(V.globalCompositeOperation="source-out",(0,l.CR)(de.current,R,"#000"),V.globalCompositeOperation="destination-atop",(0,l.CR)(de.current,R,"#fff")):(V.globalCompositeOperation="source-in",(0,l.AE)(de.current,A.current,R),V.globalCompositeOperation="destination-over",(0,l.CR)(de.current,R,"#fff"))}},Pe=function(Ke){var he=Ke.object,J=he.alphaImageElement;J&&(be(J),J.onload=function(){be(J)})},Je=function(){},qe=function(){},Xe=function(){},mt=function(){return!1},Ct=function(){return!1},vt=function(){return!1},Ht=function(){return!1},ke=function(){return!1},Ve=function(){return!1};return{renderObject:Pe,renderCreatingObject:Je,renderEditingObject:qe,renderPrompt:Xe,startEditingWhenMouseDown:mt,startCreatingWhenMouseDown:Ct,updateEditingWhenMouseMove:vt,updateCreatingWhenMouseMove:Ht,finishEditingWhenMouseUp:ke,finishCreatingWhenMouseUp:Ve}},g=m,M=function(k){var A=k.canvasRef,Y=function(vt){var Ht=vt.object,ke=vt.styles,Ve=Ht.point;if(Ve&&Ve.visible){var ot=Ve.x,Ke=Ve.y,he=ke.strokeColor,J=ke.fillColor;(0,l.G5)(A.current,{x:ot,y:Ke},4,J,2,he)}},de=function(){},me=function(){},ve=function(){},be=function(){return!1},Pe=function(){return!1},Je=function(){return!1},qe=function(){return!1},Xe=function(){return!1},mt=function(){return!1};return{renderObject:Y,renderCreatingObject:de,renderEditingObject:me,renderPrompt:ve,startEditingWhenMouseDown:be,startCreatingWhenMouseDown:Pe,updateEditingWhenMouseMove:Je,updateCreatingWhenMouseMove:qe,finishEditingWhenMouseUp:Xe,finishCreatingWhenMouseUp:mt}},h=M,S=e(34485),w=e.n(S),x=e(39378),z=e(34095),U=e(50910),T=e(14464),N=function(k){var A=k.editState,Y=k.clientSize,de=k.naturalSize,me=k.imagePos,ve=k.containerMouse,be=k.canvasRef,Pe=k.activeCanvasRef,Je=k.contentMouse,qe=k.setEditState,Xe=k.drawData,mt=k.setDrawData,Ct=k.setDrawDataWithHistory,vt=k.updateHistory,Ht=k.updateMouseCursor,ke=k.updateObject,Ve=k.addObject,ot=k.onAiAnnotation,Ke=k.displayOptionsResult,he=function(q){var ue=q.object,Ee=q.color,le=q.styles,Ne=q.isFocus,Ae=ue.polygon;if(Ae&&Ae.visible){var we=Ne?le.fillColor:(0,T.a7)(Ee,z.mh.SHAPE),Re=le.thickness;Ke&&(!Ke.showSegFilling&&!Ne&&(we="transparent"),Ke.showSegContour||(Re=0)),Ae==null||Ae.group.forEach(function(st){(0,l.fb)(be.current,st,we,le.strokeColor,Re,le.strokeDash)})}},J=function(q){var ue=q.object,Ee=q.styles,le=ue.currIndex,Ne=(0,d.lT)(ue,{x:-me.current.x,y:-me.current.y}),Ae=Ne.polygon;Ae&&Ae.visible&&Ae.group.forEach(function(we,Re){le===Re?we.forEach(function(st,nt){(0,l.G5)(Pe.current,st,nt===0?6:4,Ee.strokeColor,3,"#1f4dd8"),we.length>1&&nt-1&&nt>-1){var We=Ae.group[st][nt];We&&(0,l.G5)(Pe.current,We,4,"#fff",5,Ee)}else if(st>-1&&_e>-1){var Be=(0,d.Iw)(Ae.group[st]);if(Be[_e]){var it=Be[_e],Ge=it.start,Ot=it.end,$t=(0,d.Z4)({x:Je.elementX+me.current.x,y:Je.elementY+me.current.y},Ge,Ot);$t&&(0,l.G5)(Pe.current,$t,4,"#fff",5,Ee)}}}},R=function(q){var ue=q.prompt;if(ue.creatingPrompt){var Ee=z.XQ.CREATING,le=z.Bt.CREATING;switch(ue.creatingPrompt.type){case U.Ae.Rect:{var Ne=ue.creatingPrompt.startPoint,Ae=(0,d.A7)(Ne,{x:Je.elementX,y:Je.elementY},{width:Je.elementW,height:Je.elementH}),we=(0,d.ZU)(Ae,{x:-me.current.x,y:-me.current.y});(0,l.Mu)(Pe.current,we,Ee,2,[0],le);break}case U.Ae.Point:{if(!ue.creatingPrompt.point)break;var Re=(0,d.aF)(ue.creatingPrompt.point,{x:-me.current.x,y:-me.current.y});(0,l.G5)(Pe.current,Re,4,ue.creatingPrompt.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE,2,"#fff")}case U.Ae.Stroke:{if(!ue.creatingPrompt.stroke||!ue.creatingPrompt.radius)break;var st=(0,d.U8)(ue.creatingPrompt.stroke,{x:-me.current.x,y:-me.current.y}),nt=ue.creatingPrompt.radius*Y.width/de.width,_e=ue.creatingPrompt.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE;(0,l.AT)(Pe.current,st,_e,nt);break}default:break}if(A.isRequiring&&ue.activeRectWhileLoading){var We=(0,d.ZU)(ue.activeRectWhileLoading,{x:-me.current.x,y:-me.current.y});(0,l.HU)(Pe.current,We)}}ue.promptsQueue&&ue.promptsQueue.forEach(function(Be){if(Be.type===U.Ae.Point){var it=(0,d.aF)(Be.point,{x:-me.current.x,y:-me.current.y});(0,l.G5)(Pe.current,it,4,Be.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE,2,"#fff")}})},P=function(q){var ue={x:Je.elementX,y:Je.elementY};mt(function(Ee){switch(Ee.selectedSubTool){case n.jB.AutoSegmentByBox:Ee.prompt.creatingPrompt={type:U.Ae.Rect,startPoint:ue,isPositive:!0};break;case n.jB.AutoSegmentByClick:Ee.prompt.creatingPrompt={type:U.Ae.Point,startPoint:ue,point:ue,isPositive:Q(q)};break;case n.jB.AutoSegmentByStroke:{Ee.prompt.creatingPrompt={type:U.Ae.Stroke,startPoint:ue,stroke:[ue],radius:Ee.brushSize,isPositive:Q(q)};break}default:}})},B=function(q){var ue=q.object,Ee=q.event;return Xe.AIAnnotation?(P(Ee),!0):(Ee==null?void 0:Ee.button)===2?!1:!!X({object:ue,contentMouse:Je,setEditState:qe,setDrawData:mt})},ge=function(q){var ue=q.event,Ee=q.point,le=q.basic;return mt(function(Ne){if(!Ne.creatingObject||Ne.activeObjectIndex>-1)if(Ne.activeObjectIndex=-1,Ne.AIAnnotation)switch(Ne.selectedSubTool){case n.jB.AutoSegmentByBox:Ne.prompt.creatingPrompt={type:U.Ae.Rect,startPoint:Ee,isPositive:!0};break;case n.jB.AutoSegmentByClick:Ne.prompt.creatingPrompt={type:U.Ae.Point,startPoint:Ee,point:Ee,isPositive:Q(ue)};break;case n.jB.AutoSegmentByStroke:{Ne.prompt.creatingPrompt={type:U.Ae.Stroke,startPoint:Ee,stroke:[Ee],radius:Ne.brushSize,isPositive:Q(ue)};break}}else Ne.creatingObject=t()({type:n.gr.Polygon,polygon:{visible:!0,group:[[Ee]]},currIndex:0},le),vt((0,x.cloneDeep)(Xe));else if(Ne.AIAnnotation)P(ue);else{var Ae=Ne.creatingObject.currIndex,we=Ne.creatingObject.polygon;if(Ae>-1){var Re=we.group[Ae][0];(0,d.uN)(Re,Je)?Ne.creatingObject.currIndex=-1:Ne.creatingObject.polygon&&(we.group[Ae].push(Ee),vt((0,x.cloneDeep)(Ne)))}else we.group.push([Ee]),Ne.creatingObject.currIndex=we.group.length-1,vt((0,x.cloneDeep)(Ne))}}),!0},ie=function(q){var ue=q.event,Ee=Xe.selectedSubTool===n.jB.AutoSegmentByStroke,le=ue.buttons===1||ue.buttons===2;if(Xe.prompt.creatingPrompt&&Ee&&le){var Ne={x:Je.elementX,y:Je.elementY};return mt(function(Ae){var we,Re;(we=Ae.prompt.creatingPrompt)===null||we===void 0||(Re=we.stroke)===null||Re===void 0||Re.push(Ne)}),!0}return!!Xe.creatingObject},pe=function(q){var ue=q.event;if(Xe.AIAnnotation)return Ht("crosshair"),ie({event:ue});var Ee=A.focusEleType,le=A.focusEleIndex,Ne=A.focusObjectIndex,Ae=A.focusPolygonInfo;if(Ne===Xe.activeObjectIndex&&Ee===n.Yq.Polygon&&(Ae.pointIndex>-1?Ht("pointer"):Ae.lineIndex>-1?Ht("crosshair"):Ht("move")),Ee===n.Yq.Polygon&&le===0){var we=A.focusPolygonInfo,Re=we.index,st=we.pointIndex;if(A.startElementMovePoint&&Re>-1)return st>-1?(mt(function(nt){var _e,We;if(nt.activeObjectIndex>-1&&A.focusEleIndex>-1&&A.startElementMovePoint&&(_e=nt.creatingObject)!==null&&_e!==void 0&&(We=_e.polygon)!==null&&We!==void 0&&We.group[Re]){var Be,it,Ge=(Be=nt.creatingObject)===null||Be===void 0||(it=Be.polygon)===null||it===void 0?void 0:it.group[Re];Ge[st]=(0,d.E5)(Je)}}),!0):(mt(function(nt){var _e,We;if(nt.activeObjectIndex>-1&&A.focusEleIndex>-1&&A.startElementMovePoint&&(_e=nt.creatingObject)!==null&&_e!==void 0&&(We=_e.polygon)!==null&&We!==void 0&&We.group[Re]){var Be,it,Ge=(Be=nt.creatingObject)===null||Be===void 0||(it=Be.polygon)===null||it===void 0?void 0:it.group[Re],Ot=(0,d.s5)(Ge,A.startElementMovePoint,Je);nt.creatingObject.polygon.group[Re]=Ot,qe(function($t){$t.startElementMovePoint&&($t.startElementMovePoint.mousePoint={x:Je.elementX,y:Je.elementY})})}}),!0)}return!1},Oe=function(q){var ue=q.event;return ie({event:ue})},xe=function(){if(Xe.prompt.promptsQueue&&Xe.prompt.promptsQueue.length>0)return Xe.prompt.promptsQueue;var q=!Xe.prompt.sessionId&&Xe.creatingObject;if(q){var ue,Ee,le=((ue=Xe.creatingObject)===null||ue===void 0||(Ee=ue.polygon)===null||Ee===void 0?void 0:Ee.group.map(function(Ae){return Ae.reduce(function(we,Re){return we.concat([Re.x,Re.y])},[])}))||[],Ne={type:U.Ae.Modify,isPositive:!0,polygons:le};return[Ne]}else return[]},Se=function(){var q={x:Je.elementX,y:Je.elementY},ue=xe();switch(Xe.selectedSubTool){case n.jB.AutoSegmentByBox:{var Ee,le,Ne;if(!((Ee=Xe.prompt.creatingPrompt)!==null&&Ee!==void 0&&Ee.startPoint))break;if(q.x===((le=Xe.prompt.creatingPrompt.startPoint)===null||le===void 0?void 0:le.x)||q.y===((Ne=Xe.prompt.creatingPrompt.startPoint)===null||Ne===void 0?void 0:Ne.y)){mt(function(Ge){return Ge.prompt.creatingPrompt=void 0});break}var Ae=(0,d.A7)(Xe.prompt.creatingPrompt.startPoint,q,{width:Je.elementW,height:Je.elementH}),we={type:U.Ae.Rect,isPositive:!0,rect:Ae};Ct(function(Ge){Ge.prompt.activeRectWhileLoading=Ae});var Re=[].concat(w()(ue),[we]);ot==null||ot({type:n.gr.Polygon,drawData:Xe,promptsQueue:Re});break}case n.jB.AutoSegmentByClick:{var st;if(!(0,d.jt)(Je)||!(0,d.jt)(ve)||!((st=Xe.prompt.creatingPrompt)!==null&&st!==void 0&&st.point))break;var nt={type:U.Ae.Point,isPositive:Xe.prompt.creatingPrompt.isPositive,point:Xe.prompt.creatingPrompt.point},_e=[].concat(w()(ue),[nt]);ot==null||ot({type:n.gr.Polygon,drawData:Xe,promptsQueue:_e});break}case n.jB.AutoSegmentByStroke:{var We;if(!((We=Xe.prompt.creatingPrompt)!==null&&We!==void 0&&We.stroke))break;var Be={type:U.Ae.Stroke,isPositive:Xe.prompt.creatingPrompt.isPositive,stroke:Xe.prompt.creatingPrompt.stroke,radius:Xe.brushSize},it=[].concat(w()(ue),[Be]);ot==null||ot({type:n.gr.Polygon,drawData:Xe,promptsQueue:it});break}}},$e=function(q){var ue=q.object;if(Xe.AIAnnotation)Se();else{var Ee,le,Ne=A.startRectResizeAnchor||A.startElementMovePoint,Ae=A.startElementMovePoint&&((Ee=A.startElementMovePoint.initPoint)===null||Ee===void 0?void 0:Ee.x)===Je.elementX&&((le=A.startElementMovePoint.initPoint)===null||le===void 0?void 0:le.y)===Je.elementY,we=Ae&&A.focusPolygonInfo.index>-1&&A.focusPolygonInfo.pointIndex>-1;if(we){var Re,st=(0,x.cloneDeep)(ue),nt=A.focusPolygonInfo,_e=nt.index,We=nt.pointIndex,Be=(Re=st.polygon)===null||Re===void 0?void 0:Re.group[_e];Be&&_e>-1&&We>-1&&Be.length>=3&&Be.splice(We,1),ke(st,Xe.activeObjectIndex)}else Ne&&ke(ue,Xe.activeObjectIndex);qe(function(it){it.startRectResizeAnchor=void 0,it.startElementMovePoint=void 0})}return!0},re=function(q){var ue=q.object;if(Xe.AIAnnotation)Se();else if(ue&&ue.currIndex===-1){var Ee=ue.polygon,le=ue.type,Ne=ue.hidden,Ae=ue.labelId,we=ue.status,Re=ue.color,st={polygon:Ee,type:le,hidden:Ne,labelId:Ae,status:we,color:Re};Ve(st)}return!0};return{renderObject:he,renderCreatingObject:J,renderEditingObject:V,renderPrompt:R,startEditingWhenMouseDown:B,startCreatingWhenMouseDown:ge,updateEditingWhenMouseMove:pe,updateCreatingWhenMouseMove:Oe,finishEditingWhenMouseUp:$e,finishCreatingWhenMouseUp:re}},Z=N,D=function(k){var A=k.canvasRef,Y=function(vt){var Ht=vt.object,ke=vt.color,Ve=vt.isFocus,ot=Ht.polyline;if(ot&&ot.visible&&ot.lineType){var Ke=ot.lineType,he=ot.color||ke,J=Ve?(0,T.a7)(he,z.rl.FOCUS):(0,T.a7)(he,z.rl.DEFAULT);ot==null||ot.group.forEach(function(V){(0,l.bT)(A.current,V,J,Ke)})}},de=function(){},me=function(){},ve=function(){},be=function(){return!1},Pe=function(){return!1},Je=function(){return!1},qe=function(){return!1},Xe=function(){return!1},mt=function(){return!1};return{renderObject:Y,renderCreatingObject:de,renderEditingObject:me,renderPrompt:ve,startEditingWhenMouseDown:be,startCreatingWhenMouseDown:Pe,updateEditingWhenMouseMove:Je,updateCreatingWhenMouseMove:qe,finishEditingWhenMouseUp:Xe,finishCreatingWhenMouseUp:mt}},L=D,j=function(k){var A=k.contentMouse,Y=k.imagePos,de=k.canvasRef,me=k.activeCanvasRef,ve=k.editState,be=k.setEditState,Pe=k.drawData,Je=k.setDrawData,qe=k.updateMouseCursor,Xe=k.updateObject,mt=k.addObject,Ct=k.getAnnotColor,vt=k.displayOptionsResult,Ht=k.categories,ke=k.onAiAnnotation,Ve=function(pe){var Oe=pe.object,xe=pe.color,Se=pe.styles,$e=pe.isFocus,re=Oe.rect;if(re&&re.visible){var oe=Se.strokeDash,q=Se.strokeColor,ue=Se.fillColor,Ee=Se.thickness,le=Pe.selectedModel[Pe.selectedTool];if(Pe.isBatchEditing){if(Oe.status===U.TK.Unchecked&&(!ve.isCtrlPressed||le===n.HE.IVP))return;ve.isCtrlPressed&&le===n.HE.Detection&&(Oe.status!==U.TK.Unchecked?(q=(0,T.a7)(xe,.8),oe=[2],Ee=1.5):ue=$e?(0,T.a7)(xe,z.mh.DEFAULT):(0,T.a7)(xe,z.mh.CTRL_TO_SELECT))}if((0,l.Mu)(de.current,re,q,Ee,oe,ue),vt!=null&&vt.showBoxText){var Ne,Ae=((Ne=Ht.find(function(Re){return Re.id===Oe.labelId}))===null||Ne===void 0?void 0:Ne.name)||"",we=Oe!=null&&Oe.conf&&Oe.conf>0&&Oe.conf<1?"".concat(Ae," (").concat(Oe.conf.toFixed(3),")"):Ae;(0,l.yU)(de.current,we||"",13,{x:re.x+6,y:re.y+6},xe,!0,"left")}Pe.isBatchEditing&&ve.isCtrlPressed&&$e&&(0,l.HU)(me.current,re,"#000",.6)}},ot=function(pe){var Oe=pe.object,xe=pe.styles,Se=Oe.startPoint;if(Se){var $e=(0,d.A7)(Se,{x:A.elementX,y:A.elementY},{width:A.elementW,height:A.elementH}),re=(0,d.ZU)($e,{x:-Y.current.x,y:-Y.current.y});(0,l.Mu)(me.current,re,xe.strokeColor,xe.thickness,xe.strokeDash,xe.fillColor)}},Ke=function(pe){var Oe=pe.object,xe=pe.styles,Se=Oe.rect;Se&&Se.visible&&((0,l.Mu)(me.current,Se,xe.strokeColor,xe.thickness,xe.strokeDash,xe.fillColor),C(me.current,Se))},he=function(pe){var Oe=pe.prompt;if(Oe.creatingPrompt){var xe=Oe.creatingPrompt.isPositive?z.CJ.POSITIVE:z.CJ.NEGATIVE,Se=Oe.creatingPrompt.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE;switch(Oe.creatingPrompt.type){case U.Ae.Rect:{var $e=Oe.creatingPrompt.startPoint,re=(0,d.A7)($e,{x:A.elementX,y:A.elementY},{width:A.elementW,height:A.elementH}),oe=(0,d.ZU)(re,{x:-Y.current.x,y:-Y.current.y});(0,l.Mu)(me.current,oe,xe,2,[0],Se);break}case U.Ae.Point:{if(!Oe.creatingPrompt.point)break;var q=(0,d.aF)(Oe.creatingPrompt.point,{x:-Y.current.x,y:-Y.current.y});(0,l.G5)(me.current,q,4,Oe.creatingPrompt.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE,2,"#fff")}default:break}}Oe.promptsQueue&&Oe.promptsQueue.forEach(function(ue){switch(ue.type){case U.Ae.Rect:{var Ee=(0,d.ZU)(ue.rect,{x:-Y.current.x,y:-Y.current.y});(0,l.Mu)(me.current,Ee,ue.isPositive?z.CJ.POSITIVE:z.CJ.NEGATIVE,2,[0],ue.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE);break}case U.Ae.Point:{var le=(0,d.aF)(ue.point,{x:-Y.current.x,y:-Y.current.y});(0,l.G5)(me.current,le,4,ue.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE,2,"#fff");break}}})},J=function(pe){var Oe=pe.object,xe=pe.event;return(xe==null?void 0:xe.button)===2?!1:!!X({object:Oe,contentMouse:A,setEditState:be,setDrawData:Je})},V=function(pe){var Oe=pe.point,xe=pe.basic;return Je(function(Se){var $e=Se.selectedModel[Se.selectedTool];Se.AIAnnotation&&$e===n.HE.IVP?(Se.activeObjectIndex=-1,Se.prompt.creatingPrompt={type:U.Ae.Rect,startPoint:Oe,point:Oe,isPositive:Se.selectedSubTool!==n.jB.NegativeVisualPrompt}):(Se.activeObjectIndex=-1,Se.creatingObject=t()({type:n.gr.Rectangle,startPoint:Oe},xe))}),!0},R=function(pe){var Oe=pe.object;return O({object:Oe,editState:ve,contentMouse:A,drawData:Pe,setDrawData:Je,updateMouseCursor:qe})},P=function(pe){var Oe=pe.object;return!!Oe},B=function(pe){var Oe=pe.object,xe=ve.startRectResizeAnchor||ve.startElementMovePoint;return xe&&Xe(Oe,Pe.activeObjectIndex),be(function(Se){Se.startRectResizeAnchor=void 0,Se.startElementMovePoint=void 0}),!0},ge=function(pe){var Oe,xe=pe.object,Se={x:A.elementX,y:A.elementY};if(Pe.AIAnnotation&&Pe.selectedModel[Pe.selectedTool]===n.HE.IVP&&(Oe=Pe.prompt.creatingPrompt)!==null&&Oe!==void 0&&Oe.startPoint){var $e=Pe.prompt.creatingPrompt.startPoint;if(Se.x===$e.x||Se.y===$e.y)return Je(function(le){le.prompt.creatingPrompt=void 0}),!0;var re=(0,d.A7)($e,Se,{width:A.elementW,height:A.elementH}),oe={type:U.Ae.Rect,isPositive:Pe.prompt.creatingPrompt.isPositive,rect:re},q=[].concat(w()(Pe.prompt.promptsQueue||[]),[oe]);return ke==null||ke({type:n.gr.Rectangle,drawData:Pe,promptsQueue:q}),!0}if(!xe||!xe.startPoint)return!1;if(A.elementX===xe.startPoint.x||A.elementY===xe.startPoint.y)return Je(function(le){le.creatingObject=void 0}),!0;var ue=(0,d.A7)(xe.startPoint,{x:A.elementX,y:A.elementY},{width:A.elementW,height:A.elementH}),Ee={type:n.gr.Rectangle,labelId:xe.labelId,hidden:!1,rect:t()({visible:!0},ue),conf:1,status:U.TK.Commited,color:Ct(xe.labelId)};return mt(Ee),!0};return{renderObject:Ve,renderCreatingObject:ot,renderEditingObject:Ke,renderPrompt:he,startEditingWhenMouseDown:J,startCreatingWhenMouseDown:V,updateEditingWhenMouseMove:R,updateCreatingWhenMouseMove:P,finishEditingWhenMouseUp:B,finishCreatingWhenMouseUp:ge}},G=j,W=function(k,A,Y,de,me){var ve=arguments.length>5&&arguments[5]!==void 0?arguments[5]:4,be=A.lines,Pe=A.points;if(!me)for(var Je=0;Je*2400?4:2)}},Ke=function(Oe){var xe=Oe.object,Se=Oe.styles,$e=xe.startPoint;if($e){var re=(0,d.A7)($e,{x:me.elementX,y:me.elementY},{width:me.elementW,height:me.elementH}),oe=(0,d.ZU)(re,{x:-ve.current.x,y:-ve.current.y}),q=n.v_.points,ue=n.v_.lines,Ee=n.v_.pointColors,le=n.v_.pointNames,Ne=(0,d.el)(q,le,Ee,de,Y),Ae=(0,d.cU)(Ne,oe);(0,l.Mu)(Pe.current,oe,Se.strokeColor,Se.thickness),Ae.forEach(function(_e){(0,l.G5)(Pe.current,{x:_e.x,y:_e.y},4,Se.strokeColor,3,"#1f4dd8")});for(var we=0;we*2-1&&A.focusEleIndex>-1&&A.startElementMovePoint&&($e=Se.creatingObject)!==null&&$e!==void 0&&(re=$e.keypoints)!==null&&re!==void 0&&(oe=re.points)!==null&&oe!==void 0&&oe[A.focusEleIndex]){var q,ue,Ee,le=(q=Se.creatingObject)===null||q===void 0||(ue=q.keypoints)===null||ue===void 0||(Ee=ue.points)===null||Ee===void 0?void 0:Ee[A.focusEleIndex],Ne=(0,d.E5)(me),Ae=Ne.x,we=Ne.y;le.x=Ae,le.y=we}}),!0):!1)},B=function(Oe){var xe=Oe.object;return!!xe},ge=function(Oe){var xe=Oe.object,Se=A.startRectResizeAnchor||A.startElementMovePoint;if(Se&&vt(xe,qe.activeObjectIndex),qe.AIAnnotation){var $e,re;A.startElementMovePoint&&((($e=A.startElementMovePoint.mousePoint)===null||$e===void 0?void 0:$e.x)!==me.elementX||((re=A.startElementMovePoint.mousePoint)===null||re===void 0?void 0:re.y)!==me.elementY)&&(ke==null||ke({type:n.gr.Skeleton,drawData:qe,aiLabels:Ht}))}return Je(function(oe){oe.startRectResizeAnchor=void 0,oe.startElementMovePoint=void 0}),!0},ie=function(Oe){var xe,Se,$e=Oe.object;if(!$e||!$e.startPoint)return!1;if(me.elementX===((xe=$e.startPoint)===null||xe===void 0?void 0:xe.x)||me.elementY===((Se=$e.startPoint)===null||Se===void 0?void 0:Se.y))return Xe(function(we){return we.creatingObject=void 0}),!0;var re=(0,d.A7)($e.startPoint,{x:me.elementX,y:me.elementY},{width:me.elementW,height:me.elementH}),oe=n.v_.points,q=n.v_.lines,ue=n.v_.pointColors,Ee=n.v_.pointNames,le=(0,d.el)(oe,Ee,ue,de,Y),Ne=(0,d.cU)(le,re),Ae={type:n.gr.Skeleton,labelId:$e.labelId,hidden:!1,color:$e.color,rect:t()({visible:!0},re),keypoints:{points:Ne,lines:q},conf:1,status:U.TK.Commited};return Ct(Ae),!0};return{renderObject:ot,renderCreatingObject:Ke,renderEditingObject:he,renderPrompt:J,startEditingWhenMouseDown:V,startCreatingWhenMouseDown:R,updateEditingWhenMouseMove:P,updateCreatingWhenMouseMove:B,finishEditingWhenMouseUp:ge,finishCreatingWhenMouseUp:ie}},_=ne,ee;(function(H){})(ee||(ee={}));var se=function(k){var A,Y=G(k),de=Z(k),me=_(k),ve=(0,c.ZP)(k),be=g(k),Pe=h(k),Je=L(k),qe=(A={},s()(A,n.gr.Rectangle,Y),s()(A,n.gr.Polygon,de),s()(A,n.gr.Skeleton,me),s()(A,n.gr.Mask,ve),s()(A,n.gr.Matting,be),s()(A,n.gr.Point,Pe),s()(A,n.gr.Polyline,Je),s()(A,n.gr.Custom,Y),s()(A,n.gr.Classification,Y),A);return{objectHooksMap:qe}},Q=function(k){return!(k.button===2||k.button===0&&k.altKey)},C=function(k,A){var Y=(0,d.Qo)(A).map(function(de){return de.position});Y.forEach(function(de){var me=(0,d.Ak)(de,{width:10,height:10}),ve=(0,d.my)(me);(0,l.Mu)(k,ve,"rgba(0, 0, 0, 0.8)",3,[0],"#fff")})},X=function(k){var A=k.object,Y=k.contentMouse,de=k.setEditState,me=k.setDrawData,ve=(0,d.o7)(Y,A),be=ve.focusEleIndex,Pe=ve.focusEleType,Je=ve.focusPolygonInfo;if(Pe===n.Yq.None)return!1;var qe=A.rect,Xe=A.keypoints,mt=A.polygon,Ct={x:Y.elementX,y:Y.elementY};return de(function(vt){switch(Pe){case n.Yq.Rect:{if(qe){var Ht=(0,d.Oh)(qe,Ct);Ht?vt.startRectResizeAnchor={type:Ht.type,position:(0,d.l1)(qe,Ht.type)}:vt.startElementMovePoint={topLeftPoint:{x:qe.x,y:qe.y},mousePoint:Ct}}break}case n.Yq.Circle:{if(Xe){var ke=Xe.points[be];vt.startElementMovePoint={topLeftPoint:{x:ke.x,y:ke.y},mousePoint:Ct}}break}case n.Yq.Polygon:{var Ve=Je.lineIndex,ot=Je.index;if(mt)if(Ve>-1){var Ke=(0,d.Iw)(mt.group[ot])[Ve];if(Ke){var he=(0,d.Z4)(Ct,Ke.start,Ke.end);me(function(J){var V=J.objectList[J.activeObjectIndex];V.polygon&&V.polygon.group[ot].splice(Ve+1,0,he),J.creatingObject=t()({},V)}),vt.focusPolygonInfo.pointIndex=Ve+1,vt.startElementMovePoint={topLeftPoint:{x:0,y:0},mousePoint:he,initPoint:he}}}else vt.startElementMovePoint={topLeftPoint:{x:0,y:0},mousePoint:Ct,initPoint:Ct};break}}}),!0},O=function(k){var A=k.object,Y=k.editState,de=k.contentMouse,me=k.drawData,ve=k.setDrawData,be=k.updateMouseCursor,Pe=Y.focusObjectIndex,Je=Y.focusEleIndex,qe=Y.focusEleType,Xe=Y.startRectResizeAnchor;if(Pe===me.activeObjectIndex&&qe===n.Yq.Rect&&A.rect){var mt=(0,d.Oh)(A.rect,{x:de.elementX,y:de.elementY});mt?be("resize",mt.type):be("move")}if(qe===n.Yq.Rect&&Je===0){if(Xe)return ve(function(Ct){if(Ct.activeObjectIndex>-1&&Y.startRectResizeAnchor&&Ct.creatingObject&&Ct.creatingObject.rect){var vt=(0,d.XR)(Ct.creatingObject.rect,Y.startRectResizeAnchor,de);Ct.creatingObject.rect=t()(t()({},Ct.creatingObject.rect),vt)}}),!0;if(Y.startElementMovePoint)return ve(function(Ct){if(Ct.activeObjectIndex>-1&&Y.startElementMovePoint&&Ct.creatingObject&&Ct.creatingObject.rect){var vt=(0,d.i$)(Ct.creatingObject.rect,Y.startElementMovePoint,de);Ct.creatingObject.rect=t()(t()({},Ct.creatingObject.rect),vt)}}),!0}return!1}},67761:function(b,y,e){"use strict";e.d(y,{G9:function(){return j},ei:function(){return G}});var a=e(34485),t=e.n(a),o=e(63900),s=e.n(o),n=e(39378),d=e.n(n),l=e(17410),c=e(34095),m=e(50910),g=e(14464),M=e(46134),h=e(81179),S=e(87478),w=function(_){for(var ee=_.length,se=0,Q=0,C=!0,X=Array(ee*6),O=0;O2&&(Q-=_[O-2]),C=!0;C;){var H=Q&31;Q>>=5,C=!!(Q!==-1&&H&16||Q!==0&&!(H&16)),C&&(H|=32),H+=48,X[se]=String.fromCharCode(H),se+=1}return X.join("")},x=function(_){for(var ee=0,se=[];ee<_.length&&_[ee];){for(var Q=0,C=0,X=1;X;){var O=_.charCodeAt(ee)-48;Q|=(O&31)<<5*C,X=O&32,ee+=1,C+=1,!X&&O&16&&(Q|=-1<<5*C)}se.length>2&&(Q+=se[se.length-2]),se.push(Q)}return se},z=function(_,ee){for(var se=new Array(ee),Q=0,C=0,X=0;X<_.length;X++){for(var O=_[X],H=0;H0&&X.forEach(function(H){var k=(0,M.U8)(H.points,{x:-ee.x,y:-ee.y});(H.tool===l.jB.PenAdd||H.tool===l.jB.PenErase)&&(0,h.HT)(_,k,H.positive,(0,g.a7)(C,c.s_.CREATING),"transparent"),(H.tool===l.jB.BrushAdd||H.tool===l.jB.BrushErase)&&(0,h.T8)(_,k,H.positive,C,c.s_.CREATING,H.radius*se.width/Q.width)}),O.restore()},D=function(_,ee,se,Q,C,X,O){if(_){var H=ee.maskStep,k=ee.tempMaskSteps,A=ee.maskCanvasElement,Y=_.getContext("2d");if(!Y)return null;if(A&&(Y.globalAlpha=c.s_.CREATING,(0,h.AE)(_,A,{x:se.x,y:se.y,width:X.width,height:X.height}),Y.globalAlpha=1),Z(_,se,X,O,Q,k),H&&H.points.length>0){var de=H.tool===l.jB.PenAdd||H.tool===l.jB.BrushAdd?c.Bt.CREATING_POSITIVE:c.Bt.CREATING_NEGATIVE,me=(0,M.U8)(H.points,{x:-se.x,y:-se.y});(H.tool===l.jB.PenAdd||H.tool===l.jB.PenErase)&&((0,h.G5)(_,me[0],6,(0,g.a7)(de,c.rl.CREATING),3,c.XQ.CREATING),me.length>0&&((0,h.MC)(_,me,(0,g.a7)(de,c.rl.CREATING),2.5,[0]),(0,h.pS)(_,me[me.length-1],C,(0,g.a7)(de,c.rl.CREATING_LINE),2.5,[5]))),(H.tool===l.jB.BrushAdd||H.tool===l.jB.BrushErase||H.tool===l.jB.AutoSegmentByStroke)&&me.length>1&&(0,h.AT)(_,me,(0,g.a7)(de,c.s_.CREATING),H.radius*X.width/O.width)}}},L=function(_,ee){var se=_.getContext("2d",{willReadFrequently:!0});if(!se)return null;for(var Q=se.getImageData(0,0,_.width,_.height),C=hexToRgbArray(ee),X=Q.data.length/4;X--;)Q.data[X*4+3]>0&&(Q.data[X*4]=C[0],Q.data[X*4+1]=C[1],Q.data[X*4+2]=C[2],Q.data[X*4+3]=255);return clearCanvas(_),se.putImageData(Q,0,0),_},j=function(_,ee,se,Q){var C=document.createElement("canvas"),X=C.getContext("2d",{willReadFrequently:!0});if(!X||!se)return null;C.width=ee.width,C.height=ee.height;var O=se.map(function(me){return s()(s()({},me),{},{points:me.points.map(function(ve){return(0,M.Ap)(ve,_,ee)})})});Q&&(0,h.AE)(C,Q,{x:0,y:0,width:ee.width,height:ee.height}),Z(C,{x:0,y:0},ee,ee,"#fff",O);for(var H=X.getImageData(0,0,ee.width,ee.height),k=0,A=new Array(H.data.length/4).fill(0),Y=H.data.length/4;Y--;){var de=0;H.data[Y*4+3]>0&&(k++,de=1,A[Y]=1),H.data[Y*4]=H.data[Y*4+1]=H.data[Y*4+2]=H.data[Y*4+3]=de}return k>0?N(A):""},G=function(_,ee,se){var Q=ee.width,C=ee.height,X=document.createElement("canvas"),O=X.getContext("2d");if(X.width=Q,X.height=C,!O)return null;for(var H=O.createImageData(Q,C),k=(0,g.dX)(se),A=T(_,Math.ceil(Q)*Math.ceil(C)),Y=H.data.length/4;Y--;)A[Y]>0&&(H.data[Y*4]=k[0],H.data[Y*4+1]=k[1],H.data[Y*4+2]=k[2],H.data[Y*4+3]=255);return O.putImageData(H,0,0),X},W=function(_){var ee=_.editState,se=_.clientSize,Q=_.naturalSize,C=_.contentMouse,X=_.imagePos,O=_.containerMouse,H=_.canvasRef,k=_.activeCanvasRef,A=_.drawData,Y=_.setDrawData,de=_.setDrawDataWithHistory,me=_.updateHistory,ve=_.onAiAnnotation,be=_.updateMouseCursor,Pe=function(V){var R=V.object,P=V.styles,B=R.maskCanvasElement,ge=H.current.getContext("2d"),ie=ge.globalAlpha;ge.globalAlpha=ge.globalAlpha*P.maskAlpha,(0,h.AE)(H.current,B,{x:X.current.x,y:X.current.y,width:se.width,height:se.height}),ge.globalAlpha=ie},Je=function(V){var R=V.object,P=V.color;ee.hideCreatingObject||D(k.current,R,X.current,P,{x:O.elementX,y:O.elementY},se,Q)},qe=function(V){var R=V.object,P=V.color;ee.hideCreatingObject||D(k.current,R,X.current,P,{x:O.elementX,y:O.elementY},se,Q)},Xe=function(V){var R=V.prompt,P=A.selectedModel[A.selectedTool];if(R.creatingPrompt)if(P===l.HE.IVP){var B=R.creatingPrompt.isPositive?c.CJ.POSITIVE:c.CJ.NEGATIVE,ge=R.creatingPrompt.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE;switch(R.creatingPrompt.type){case m.Ae.Rect:{var ie=R.creatingPrompt.startPoint,pe=(0,M.A7)(ie,{x:C.elementX,y:C.elementY},{width:C.elementW,height:C.elementH}),Oe=(0,M.ZU)(pe,{x:-X.current.x,y:-X.current.y});(0,h.Mu)(k.current,Oe,B,2,[0],ge);break}case m.Ae.Point:{if(!R.creatingPrompt.point)break;var xe=(0,M.aF)(R.creatingPrompt.point,{x:-X.current.x,y:-X.current.y});(0,h.G5)(k.current,xe,4,R.creatingPrompt.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE,2,"#fff")}default:break}}else{var Se=c.XQ.CREATING,$e=c.Bt.CREATING;switch(R.creatingPrompt.type){case m.Ae.Rect:{var re=R.creatingPrompt.startPoint,oe=(0,M.A7)(re,{x:C.elementX,y:C.elementY},{width:C.elementW,height:C.elementH}),q=(0,M.ZU)(oe,{x:-X.current.x,y:-X.current.y});(0,h.Mu)(k.current,q,Se,2,[0],$e);break}case m.Ae.Point:{if(!R.creatingPrompt.point)break;var ue=(0,M.aF)(R.creatingPrompt.point,{x:-X.current.x,y:-X.current.y});(0,h.G5)(k.current,ue,4,R.creatingPrompt.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE,2,"#fff")}case m.Ae.EdgeStitch:case m.Ae.Stroke:{if(!R.creatingPrompt.stroke||!R.creatingPrompt.radius)break;var Ee=(0,M.U8)(R.creatingPrompt.stroke,{x:-X.current.x,y:-X.current.y}),le=R.creatingPrompt.radius*se.width/Q.width,Ne=R.creatingPrompt.type===m.Ae.EdgeStitch?(0,g.a7)(Se,c.s_.CREATING):R.creatingPrompt.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE;(0,h.AT)(k.current,Ee,Ne,le);break}default:break}if(ee.isRequiring&&R.activeRectWhileLoading){var Ae=(0,M.ZU)(R.activeRectWhileLoading,{x:-X.current.x,y:-X.current.y});(0,h.HU)(k.current,Ae)}}R.promptsQueue&&(P===l.HE.IVP?R.promptsQueue.forEach(function(we){switch(we.type){case m.Ae.Rect:{var Re=(0,M.ZU)(we.rect,{x:-X.current.x,y:-X.current.y});(0,h.Mu)(k.current,Re,we.isPositive?c.CJ.POSITIVE:c.CJ.NEGATIVE,2,[0],we.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE);break}case m.Ae.Point:{var st=(0,M.aF)(we.point,{x:-X.current.x,y:-X.current.y});(0,h.G5)(k.current,st,4,we.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE,2,"#fff");break}}}):R.promptsQueue.forEach(function(we){if(we.type===m.Ae.Point){var Re=(0,M.aF)(we.point,{x:-X.current.x,y:-X.current.y});(0,h.G5)(k.current,Re,4,we.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE,2,"#fff")}}))},mt=function(V){var R={x:C.elementX,y:C.elementY};Y(function(P){switch(P.selectedSubTool){case l.jB.PenAdd:case l.jB.PenErase:case l.jB.BrushAdd:case l.jB.BrushErase:if(P.creatingObject){if(P.creatingObject.maskStep){if(P.creatingObject.maskStep.points.push(R),[l.jB.PenAdd,l.jB.PenErase].includes(P.selectedSubTool)&&(0,M.uN)(P.creatingObject.maskStep.points[0],C)){var B;(B=P.creatingObject.tempMaskSteps)===null||B===void 0||B.push(P.creatingObject.maskStep),P.creatingObject.maskStep=void 0}}else P.creatingObject.maskStep={tool:P.selectedSubTool,positive:P.selectedSubTool===l.jB.PenAdd||P.selectedSubTool===l.jB.BrushAdd,points:[R],radius:P.brushSize};[l.jB.BrushAdd,l.jB.BrushErase].includes(P.selectedSubTool)||me((0,n.cloneDeep)(P))}P.prompt.sessionId=void 0;break;case l.jB.AutoSegmentByBox:P.prompt.creatingPrompt={type:m.Ae.Rect,startPoint:R,isPositive:!0};break;case l.jB.AutoSegmentByClick:P.prompt.creatingPrompt={type:m.Ae.Point,startPoint:R,point:R,isPositive:(0,S.hF)(V)};break;case l.jB.AutoSegmentByStroke:P.prompt.creatingPrompt={type:m.Ae.Stroke,startPoint:R,stroke:[R],radius:P.brushSize,isPositive:(0,S.hF)(V)};break;case l.jB.AutoEdgeStitching:P.prompt.creatingPrompt={type:m.Ae.EdgeStitch,startPoint:R,stroke:[R],radius:P.brushSize,isPositive:!0};default:break}})},Ct=function(V){var R=V.event;return mt(R),!0},vt=function(V){var R=V.event,P=V.object,B=V.point,ge=V.basic;return P?mt(R):Y(function(ie){switch(ie.activeObjectIndex=-1,ie.selectedSubTool){case l.jB.PenAdd:case l.jB.PenErase:case l.jB.BrushAdd:case l.jB.BrushErase:ie.creatingObject=s()(s()({},ge),{},{type:l.gr.Mask,startPoint:B,maskStep:{tool:ie.selectedSubTool,positive:ie.selectedSubTool===l.jB.PenAdd||ie.selectedSubTool===l.jB.BrushAdd,points:[B],radius:ie.brushSize},tempMaskSteps:[]}),ie.prompt.sessionId=void 0;break;case l.jB.AutoSegmentByBox:ie.prompt.creatingPrompt={type:m.Ae.Rect,startPoint:B,isPositive:!0};break;case l.jB.AutoSegmentByClick:ie.prompt.creatingPrompt={type:m.Ae.Point,startPoint:B,point:B,isPositive:(0,S.hF)(R)};break;case l.jB.AutoSegmentByStroke:ie.prompt.creatingPrompt={type:m.Ae.Stroke,startPoint:B,stroke:[B],radius:ie.brushSize,isPositive:(0,S.hF)(R)};break;case l.jB.AutoEdgeStitching:ie.prompt.creatingPrompt={type:m.Ae.EdgeStitch,startPoint:B,stroke:[B],radius:ie.brushSize,isPositive:!0};break;case l.jB.PositiveVisualPrompt:case l.jB.NegativeVisualPrompt:ie.prompt.creatingPrompt={type:m.Ae.Rect,startPoint:B,point:B,isPositive:ie.selectedSubTool!==l.jB.NegativeVisualPrompt};default:break}}),!0},Ht=function(V){var R=V.event,P=V.object;if(P||A.prompt.creatingPrompt){be("crosshair");var B=[l.jB.BrushAdd,l.jB.BrushErase,l.jB.PenAdd,l.jB.PenErase,l.jB.AutoSegmentByStroke,l.jB.AutoEdgeStitching].includes(A.selectedSubTool),ge=R.buttons===1||R.buttons===2;if(B&&ge){var ie={x:C.elementX,y:C.elementY},pe=[l.jB.AutoSegmentByStroke,l.jB.AutoEdgeStitching].includes(A.selectedSubTool);Y(function(Oe){if(pe){var xe,Se;(xe=Oe.prompt.creatingPrompt)===null||xe===void 0||(Se=xe.stroke)===null||Se===void 0||Se.push(ie)}else{var $e,re;($e=Oe.creatingObject)===null||$e===void 0||(re=$e.maskStep)===null||re===void 0||re.points.push(ie)}})}return!0}return!1},ke=function(V){var R=V.object,P=V.event;return Ht({object:R,event:P})},Ve=function(V){var R=V.object,P=V.event;return Ht({object:R,event:P})},ot=function(){if(!(!A.creatingObject&&!A.prompt.creatingPrompt)){var V={x:C.elementX,y:C.elementY},R=A.selectedModel[A.selectedTool];switch(A.selectedSubTool){case l.jB.BrushAdd:case l.jB.BrushErase:case l.jB.PenAdd:case l.jB.PenErase:{de(function(Re){if(Re.creatingObject&&Re.creatingObject.tempMaskSteps&&Re.creatingObject.maskStep&&Re.creatingObject.maskStep.points.length>1&&([l.jB.BrushAdd,l.jB.BrushErase].includes(Re.selectedSubTool)||[l.jB.PenAdd,l.jB.PenErase].includes(Re.selectedSubTool)&&(0,M.uN)(Re.creatingObject.maskStep.points[0],C))){var st;(st=Re.creatingObject.tempMaskSteps)===null||st===void 0||st.push(Re.creatingObject.maskStep),Re.creatingObject.maskStep=void 0}Re.prompt.sessionId=void 0});break}case l.jB.AutoSegmentByBox:{var P,B,ge;if(!((P=A.prompt.creatingPrompt)!==null&&P!==void 0&&P.startPoint))break;if(V.x===((B=A.prompt.creatingPrompt.startPoint)===null||B===void 0?void 0:B.x)||V.y===((ge=A.prompt.creatingPrompt.startPoint)===null||ge===void 0?void 0:ge.y)){Y(function(Re){return Re.prompt.creatingPrompt=void 0});break}var ie=(0,M.A7)(A.prompt.creatingPrompt.startPoint,V,{width:C.elementW,height:C.elementH}),pe={type:m.Ae.Rect,isPositive:!0,rect:ie};de(function(Re){Re.prompt.activeRectWhileLoading=ie});var Oe=A.prompt.promptsQueue?[].concat(t()(A.prompt.promptsQueue),[pe]):[pe];ve==null||ve({type:l.gr.Mask,drawData:A,promptsQueue:Oe});break}case l.jB.AutoSegmentByClick:{var xe;if(!(0,M.jt)(C)||!(0,M.jt)(O)||!((xe=A.prompt.creatingPrompt)!==null&&xe!==void 0&&xe.point))break;var Se={type:m.Ae.Point,isPositive:A.prompt.creatingPrompt.isPositive,point:A.prompt.creatingPrompt.point},$e=A.prompt.promptsQueue?[].concat(t()(A.prompt.promptsQueue),[Se]):[Se];ve==null||ve({type:l.gr.Mask,drawData:A,promptsQueue:$e});break}case l.jB.AutoSegmentByStroke:{var re;if(!((re=A.prompt.creatingPrompt)!==null&&re!==void 0&&re.stroke))break;var oe={type:m.Ae.Stroke,isPositive:A.prompt.creatingPrompt.isPositive,stroke:A.prompt.creatingPrompt.stroke,radius:A.brushSize},q=A.prompt.promptsQueue?[].concat(t()(A.prompt.promptsQueue),[oe]):[oe];ve==null||ve({type:l.gr.Mask,drawData:A,promptsQueue:q});break}case l.jB.AutoEdgeStitching:{var ue;if(!((ue=A.prompt.creatingPrompt)!==null&&ue!==void 0&&ue.stroke))break;ve==null||ve({type:l.gr.Mask,drawData:A});break}case l.jB.PositiveVisualPrompt:case l.jB.NegativeVisualPrompt:{var Ee;if(R!==l.HE.IVP||!((Ee=A.prompt.creatingPrompt)!==null&&Ee!==void 0&&Ee.startPoint))break;var le=A.prompt.creatingPrompt.startPoint;if(V.x===le.x||V.y===le.y){Y(function(Re){return Re.prompt.creatingPrompt=void 0});break}else{var Ne=(0,M.A7)(le,V,{width:C.elementW,height:C.elementH}),Ae={type:m.Ae.Rect,isPositive:A.prompt.creatingPrompt.isPositive,rect:Ne},we=[].concat(t()(A.prompt.promptsQueue||[]),[Ae]);ve==null||ve({type:l.gr.Mask,drawData:A,promptsQueue:we})}}}}},Ke=function(){return ot(),!0},he=function(){return ot(),!0};return{renderObject:Pe,renderCreatingObject:Je,renderEditingObject:qe,renderPrompt:Xe,startEditingWhenMouseDown:Ct,startCreatingWhenMouseDown:vt,updateEditingWhenMouseMove:ke,updateCreatingWhenMouseMove:Ve,finishEditingWhenMouseUp:Ke,finishCreatingWhenMouseUp:he}};y.ZP=W},50910:function(b,y,e){"use strict";e.d(y,{Ae:function(){return l},In:function(){return n},O4:function(){return g},SP:function(){return S},TK:function(){return d},f7:function(){return m},je:function(){return c},rl:function(){return h}});var a=e(2657),t=e.n(a),o=e(17410),s,n=function(w){return w.Radio="radio",w.Checkbox="checkbox",w.Text="text",w}({}),d=function(w){return w[w.Unchecked=0]="Unchecked",w[w.Checked=1]="Checked",w[w.Commited=2]="Commited",w}({}),l=function(w){return w.Rect="rect",w.Point="point",w.Stroke="stroke",w.EdgeStitch="edgeStitch",w.Modify="modify",w.Text="text",w}({}),c={View:0,Edit:1,Review:2},m={initialized:!1,selectedTool:o.ru.Drag,selectedSubTool:o.jB.PenAdd,selectedModel:(s={},t()(s,o.ru.Drag,void 0),t()(s,o.ru.Rectangle,void 0),t()(s,o.ru.Mask,void 0),t()(s,o.ru.Skeleton,o.HE.Pose),t()(s,o.ru.Polygon,o.HE.SegmentByPolygon),s),AIAnnotation:!1,objectList:[],classifications:[],activeObjectIndex:-1,activeClassName:"",creatingObject:void 0,editingAttribute:void 0,brushSize:20,pointResolution:.5,prompt:{},isBatchEditing:!1,limitConf:0},g={brightness:100,contrast:100,saturate:100},M={colorByCategory:!0},h={isLoading:!1,isLoadingError:!1,isRequiring:!1,allowMove:!1,latestLabelId:"",startRectResizeAnchor:void 0,startElementMovePoint:void 0,focusObjectIndex:-1,foucsObjectAllIndexs:[],focusEleType:o.Yq.Rect,focusEleIndex:-1,focusPolygonInfo:{index:-1,pointIndex:-1,lineIndex:-1},isCtrlPressed:!1,hideCreatingObject:!1,imageDisplayOptions:g,annotsDisplayOptions:M},S=function(w){return w.Solid="solid",w.Dashed="dash",w.DoubleSolid="double_solid",w.DoubleDashed="double_dash",w.LDashedRSolid="left_dash-right_solid",w.LSolidRDashed="left_solid-right_dash",w.LCurbside="left_curbside",w.RCurbside="right_curbside",w.Unknown="none",w}({})},14464:function(b,y,e){"use strict";e.d(y,{Cj:function(){return c},WE:function(){return h},ZT:function(){return o},a7:function(){return d},dX:function(){return n},g9:function(){return g},wj:function(){return m}});var a=e(34485),t=e.n(a),o=function(x){return x.length!==3?"transparent":"#".concat(x[0].toString(16).padStart(2,"0")).concat(x[1].toString(16).padStart(2,"0")).concat(x[2].toString(16).padStart(2,"0")).toUpperCase()},s=function(x){var z=/^rgba?\((\d+),\s*(\d+),\s*(\d+)\)$/i.exec(x);return z?o(z):"transparent"},n=function(x){var z=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,U=x.replace(z,function(N,Z,D,L){return Z+Z+D+D+L+L}),T=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(U);return T?[parseInt(T[1],16),parseInt(T[2],16),parseInt(T[3],16)]:[0,0,0]},d=function(x){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,U=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,T=x.replace(U,function(D,L,j,G){return L+L+j+j+G+G}),N=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(T),Z=z<0||z>1?1:z;return N?"rgba(".concat(parseInt(N[1],16),",").concat(parseInt(N[2],16),",").concat(parseInt(N[3],16),",").concat(Z,")"):"transparent"},l=function(x){for(var z=["#FFFF00","#FF0000","#0000FF","#00FF00","#FF00FF","#00FFFF"],U=[255,128,64,32,16,8,4,2,1],T=z.length+1;z.length0)if(N[L%3]+U[Math.floor(L/3)]<=255)N[L%3]+=U[Math.floor(L/3)];else{D=!1;break}Z<<=1}if(D){var j="#".concat(N[0].toString(16).padStart(2,"0")).concat(N[1].toString(16).padStart(2,"0")).concat(N[2].toString(16).padStart(2,"0")).toUpperCase();z.includes(j)||z.push(j)}}return z},c=function(x){if(!x.length)return{};var z=t()(x),U=l(z.length),T={};return z.forEach(function(N,Z){T[N]=U[Z]}),T},m=function(x,z){return x.length!==3?"transparent":"rgba(".concat(x[0],", ").concat(x[1],", ").concat(x[2],", ").concat(z,")")},g=function(x){var z=x.slice(5,-1).split(",").map(function(U){return U.trim()});return z.length!==4||isNaN(parseFloat(z[3]))?[]:z.slice(0,3)},M=function(x,z){if(!x)return"rgba(0,0,0,0)";var U=x.substring(5,x.length-1).split(",").map(function(Z){return parseInt(Z.trim())}),T=[].concat(_toConsumableArray(U.slice(0,3)),[z]),N="rgba(".concat(T.join(","),")");return N},h=function(x,z,U){var T=U*z,N=T*(1-Math.abs(x*6%2-1)),Z=U-T,D=0,L=0,j=0;return x<1/6?(D=T,L=N):x<2/6?(D=N,L=T):x<3/6?(L=T,j=N):x<4/6?(L=N,j=T):x<5/6?(D=N,j=T):(D=T,j=N),[Math.round((D+Z)*255),Math.round((L+Z)*255),Math.round((j+Z)*255)]},S=function(){var w=.618033988749895,x=0;return function(){x=(x+w)%1;var z=h(x,.8,.95);return o(z)}}()},46134:function(b,y,e){"use strict";e.d(y,{$G:function(){return A},$S:function(){return _},A7:function(){return Z},AR:function(){return U},A_:function(){return Se},Ak:function(){return V},Ap:function(){return se},Aw:function(){return X},E5:function(){return pe},I4:function(){return le},Iw:function(){return mt},JP:function(){return Q},Nm:function(){return Ve},OX:function(){return k},Oh:function(){return R},Qo:function(){return J},RF:function(){return ke},U8:function(){return we},Uy:function(){return N},Vh:function(){return T},Vi:function(){return $e},X6:function(){return Ne},XR:function(){return B},YO:function(){return z},Yc:function(){return Pt},Z0:function(){return Ht},Z4:function(){return re},ZU:function(){return Ae},aF:function(){return Re},aH:function(){return wt},cO:function(){return C},cU:function(){return G},cf:function(){return it},cx:function(){return ee},e4:function(){return $t},el:function(){return O},hv:function(){return Be},i$:function(){return ge},jt:function(){return de},kh:function(){return ne},kq:function(){return W},l1:function(){return P},lT:function(){return st},my:function(){return he},nF:function(){return We},o7:function(){return vt},s5:function(){return ie},t9:function(){return x},tQ:function(){return xe},uN:function(){return Je},yn:function(){return H}});var a=e(34485),t=e.n(a),o=e(63900),s=e.n(o),n=e(88479),d=e.n(n),l=e(88205),c=e.n(l),m=e(39378),g=e.n(m),M=e(17410),h=e(34095),S=e(67761),w=e(14464),x=function(je,tt,lt,bt){if(!je||!tt)return[0,0,1];if(!lt)return[je/tt*(bt||0),bt||0,1];if(!bt)return[lt||0,tt/je*(lt||0),1];var It=je,Kt=tt,zt=1;return je/tt>=lt/bt?(It=lt,Kt=tt*lt/je,zt=lt/je):(Kt=bt,It=je*bt/tt,zt=bt/tt),[It||0,Kt||0,zt]},z=function(je,tt,lt){var bt=c()(je,2),It=bt[0],Kt=It===void 0?0:It,zt=bt[1],Mt=zt===void 0?0:zt;return{x:Kt/tt.width*lt.width,y:Mt/tt.height*lt.height}},U=function(je,tt,lt){var bt=c()(je,2),It=bt[0],Kt=It===void 0?0:It,zt=bt[1],Mt=zt===void 0?0:zt;return{x:Kt/lt.width*tt.width,y:Mt/lt.height*tt.height}},T=function(je,tt,lt){var bt=[];if(!je)return bt;var It=je.split("/");return It==null||It.forEach(function(Kt){for(var zt=[],Mt=Kt.split(",").map(Number),Le=0;Lelt.width?lt.width:tt.x,y:tt.y<0?0:tt.y>lt.height?lt.height:tt.y};return{x:Math.min(je.x,bt.x),y:Math.min(je.y,bt.y),width:Math.abs(je.x-bt.x),height:Math.abs(je.y-bt.y)}},D=function(je){var tt=1/0,lt=1/0,bt=-1/0,It=-1/0,Kt=d()(je),zt;try{for(Kt.s();!(zt=Kt.n()).done;){var Mt=zt.value;tt=Math.min(tt,Mt.x),lt=Math.min(lt,Mt.y),bt=Math.max(bt,Mt.x),It=Math.max(It,Mt.y)}}catch(Le){Kt.e(Le)}finally{Kt.f()}return{minX:tt,minY:lt,maxX:bt,maxY:It}},L=function(je,tt,lt){return{x:tt*je.x,y:lt*je.y}},j=function(je,tt,lt){return{x:je.x+tt,y:je.y+lt}},G=function(je,tt){var lt=D(je),bt=lt.minX,It=lt.minY,Kt=lt.maxX,zt=lt.maxY,Mt=tt.width/(Kt-bt),Le=tt.height/(zt-It),Ce=je.map(function(Et){var Tt=j(Et,-bt,-It),Ye=L(Tt,Mt,Le),et=j(Ye,tt.x,tt.y);return s()(s()({},Et),et)});return Ce},W=function(je,tt){return{xmin:je.x/tt.width,ymin:je.y/tt.height,xmax:(je.x+je.width)/tt.width,ymax:(je.y+je.height)/tt.height}},ne=function(je){return{xmin:je.x,ymin:je.y,xmax:je.x+je.width,ymax:je.y+je.height}},_=function(je,tt,lt){return{x:je.x*lt.width/tt.width,y:je.y*lt.height/tt.height,width:je.width*lt.width/tt.width,height:je.height*lt.height/tt.height}},ee=function(je,tt,lt){var bt=_(je,tt,lt);return[bt.x,bt.y,bt.x+bt.width,bt.y+bt.height]},se=function(je,tt,lt){return{x:je.x*lt.width/tt.width,y:je.y*lt.height/tt.height}},Q=function(je,tt,lt){return{x:(je[0]||0)/tt.width*lt.width,y:(je[1]||0)/tt.height*lt.height,width:((je[2]||0)-(je[0]||0))/tt.width*lt.width,height:((je[3]||0)-(je[1]||0))/tt.height*lt.height}},C=function(je,tt){return{x:(je.xmin||0)*tt.width,y:(je.ymin||0)*tt.height,width:((je.xmax||0)-(je.xmin||0))*tt.width,height:((je.ymax||0)-(je.ymin||0))*tt.height}},X=function(je){return{x:je.xmin,y:je.ymin,width:je.xmax-je.xmin,height:je.ymax-je.ymin}},O=function(je,tt,lt,bt,It){for(var Kt=[],zt=0;zt*6=0&&je.elementX<=je.elementW&&je.elementY>=0&&je.elementY<=je.elementH},me=function(je,tt){return{x:je.x-tt.x,y:je.y-tt.y,width:je.width+2*tt.x,height:je.height+2*tt.y}},ve=function(je,tt){return s()(s()({},je),{},{radius:tt})};function be(dt,je,tt){var lt={x:je.x-dt.x,y:je.y-dt.y},bt={x:tt.x-dt.x,y:tt.y-dt.y};return lt.x*bt.y-lt.y*bt.x}var Pe=function(je,tt,lt){if(!je||!tt)return!1;switch(lt){case M.Yq.Rect:{var bt=je;return bt.x<=tt.x&&bt.x+bt.width>=tt.x&&bt.y<=tt.y&&bt.y+bt.height>=tt.y}case M.Yq.Circle:{var It=je;return Math.sqrt(Math.pow(tt.x-It.x,2)+Math.pow(tt.y-It.y,2))<=It.radius}case M.Yq.Polygon:{for(var Kt=je,zt=1;zt0&&Mt*Ce>0)return!0}return!1}default:return!1}},Je=function(je,tt){var lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5,bt=ve(je,lt),It={x:tt.elementX,y:tt.elementY};return Pe(bt,It,M.Yq.Circle)},qe=function(je,tt){var lt=tt.elementX,bt=tt.elementY,It=Math.sqrt(Math.pow(lt-je.start.x,2)+Math.pow(bt-je.start.y,2)),Kt=Math.sqrt(Math.pow(lt-je.end.x,2)+Math.pow(bt-je.end.y,2)),zt=Math.sqrt(Math.pow(je.end.x-je.start.x,2)+Math.pow(je.end.y-je.start.y,2)),Mt=.75;return It+Kt>=zt-Mt&&It+Kt<=zt+Mt},Xe=function(je){var tt=D(je),lt=tt.maxX,bt=tt.minX,It=tt.maxY,Kt=tt.minY;return{x:bt,y:Kt,width:lt-bt,height:It-Kt}},mt=function(je){for(var tt=[],lt=0;lt0)return!0}break}}return!1},vt=function(je,tt){var lt,bt=M.Yq.None,It=-1,Kt={index:-1,pointIndex:-1,lineIndex:-1};if(!de(je)||tt.hidden)return{focusEleType:bt,focusEleIndex:It,focusPolygonInfo:Kt};if((lt=tt.keypoints)!==null&<!==void 0&<.points)for(var zt=tt.keypoints.points,Mt=0;Mt-1)return Kt.index=et,Kt.pointIndex=_t,{focusEleType:M.Yq.Polygon,focusEleIndex:0,focusPolygonInfo:Kt}}for(var Ut=0;Ut-1)return Kt.index=Ut,Kt.lineIndex=un,{focusEleType:M.Yq.Polygon,focusEleIndex:0,focusPolygonInfo:Kt}}var Mn=Ye.findIndex(function(vn){return Pe(vn,{x:je.elementX,y:je.elementY},M.Yq.Polygon)});if(Mn>-1)return Kt.index=Mn,{focusEleType:M.Yq.Polygon,focusEleIndex:0,focusPolygonInfo:Kt}}return tt.rect&&Pe(me(tt.rect,{x:8,y:8}),{x:je.elementX,y:je.elementY},M.Yq.Rect)?(bt=M.Yq.Rect,It=0,{focusEleType:bt,focusEleIndex:It,focusPolygonInfo:Kt}):{focusEleType:bt,focusEleIndex:It,focusPolygonInfo:Kt}},Ht=function(je,tt,lt,bt){var It=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){return!0};if(!de(tt))return-1;if(bt[lt]&&It(bt[lt])&&Ct(tt,bt[lt],je))return lt;for(var Kt=bt.length-1;Kt>=0;Kt--)if(It(bt[Kt])&&Ct(tt,bt[Kt],je))return Kt;return-1},ke=function(je,tt,lt){var bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0};if(!de(tt))return[];for(var It=[],Kt=lt.length-1;Kt>=0;Kt--)bt(lt[Kt])&&Ct(tt,lt[Kt],je)&&It.push(Kt);return It},Ve=function(dt){return dt.TOP="TOP",dt.BOTTOM="BOTTOM",dt.LEFT="LEFT",dt.RIGHT="RIGHT",dt.TOP_RIGHT="TOP_RIGHT",dt.TOP_LEFT="TOP_LEFT",dt.BOTTOM_RIGHT="BOTTOM_RIGHT",dt.BOTTOM_LEFT="BOTTOM_LEFT",dt.CENTER="CENTER",dt}({}),ot=function(je){return Math.floor(je)+.5},Ke=function(je){return{x:ot(je.x),y:ot(je.y)}},he=function(je){var tt={x:je.x,y:je.y},lt={x:je.x+je.width,y:je.y+je.height},bt=Ke(tt),It=Ke(lt);return{x:bt.x,y:bt.y,width:It.x-bt.x,height:It.y-bt.y}},J=function(je){return[{type:Ve.TOP_LEFT,position:{x:je.x,y:je.y}},{type:Ve.TOP,position:{x:je.x+.5*je.width,y:je.y}},{type:Ve.TOP_RIGHT,position:{x:je.x+je.width,y:je.y}},{type:Ve.LEFT,position:{x:je.x,y:je.y+.5*je.height}},{type:Ve.RIGHT,position:{x:je.x+je.width,y:je.y+.5*je.height}},{type:Ve.BOTTOM_LEFT,position:{x:je.x,y:je.y+je.height}},{type:Ve.BOTTOM,position:{x:je.x+.5*je.width,y:je.y+je.height}},{type:Ve.BOTTOM_RIGHT,position:{x:je.x+je.width,y:je.y+je.height}}]},V=function(je,tt){return s()({x:je.x-.5*tt.width,y:je.y-.5*tt.height},tt)},R=function(je,tt){for(var lt=J(je),bt=0;btlt.elementW?lt.elementW:lt.elementX,zt=lt.elementY<0?0:lt.elementY>lt.elementH?lt.elementH:lt.elementY,Mt={x:Kt,y:zt};switch(bt){case Ve.RIGHT:Mt.y=je.y+je.height;break;case Ve.BOTTOM:Mt.x=je.x+je.width;break;case Ve.LEFT:Mt.y=je.y;break;case Ve.TOP:Mt.x=je.x;break}return Z(It,Mt,{width:lt.elementW,height:lt.elementH})},ge=function(je,tt,lt){var bt=je.width,It=je.height,Kt=tt.topLeftPoint,zt=tt.mousePoint,Mt=lt.elementX-zt.x,Le=lt.elementY-zt.y,Ce=Kt.x+Mt,Et=Kt.y+Le;return{x:Ce<0?0:Ce+bt>lt.elementW?lt.elementW-bt:Ce,y:Et<0?0:Et+It>lt.elementH?lt.elementH-It:Et,width:bt,height:It}},ie=function(je,tt,lt){var bt=tt.mousePoint,It=lt.elementX,Kt=lt.elementY,zt=lt.elementW,Mt=lt.elementH,Le=D(je),Ce=Le.minX,Et=Le.minY,Tt=Le.maxX,Ye=Le.maxY,et=It-bt.x,_t=Kt-bt.y;et=et+Tt>zt?zt-Tt:et+Ce<0?0:et,_t=_t+Ye>Mt?Mt-Ye:_t+Et<0?0:_t;var Ut=je.map(function(qt){return{x:qt.x+et,y:qt.y+_t}});return Ut},pe=function(je){var tt=je.elementX,lt=je.elementY;return{x:tt<0?0:tt>je.elementW?je.elementW:tt,y:lt<0?0:lt>je.elementH?je.elementH:lt}},Oe=function(je){return!(!(0,m.isNumber)(je.x)||!(0,m.isNumber)(je.y)||!(0,m.isNumber)(je.width)||!(0,m.isNumber)(je.height)||je.x===0&&je.y===0&&je.width===0&&je.height===0)},xe=function(je){return je.maskRle?M.gr.Mask:je.alpha?M.gr.Matting:je.keypoints?M.gr.Skeleton:je.polygon?M.gr.Polygon:je.point?M.gr.Point:je.rect&&Oe(je.rect)?M.gr.Rectangle:je.polyline?M.gr.Polyline:M.gr.Custom},Se=function(je,tt,lt){var bt=je.group.map(function(It){return It.reduce(function(Kt,zt){var Mt=zt.x,Le=zt.y,Ce=U([Mt,Le],tt,lt);return Kt.concat([Ce.x,Ce.y])},[])});return bt},$e=function(je,tt,lt){var bt=Se(je,tt,lt),It=bt.map(function(Kt){return Kt.join(",")}).join("/")||"";return It},re=function(je,tt,lt){var bt={x:je.x-tt.x,y:je.y-tt.y},It={x:lt.x-tt.x,y:lt.y-tt.y},Kt=It.x*It.x+It.y*It.y,zt=bt.x*It.x+bt.y*It.y,Mt=zt/Kt;return Mt<0||isNaN(Mt)?Mt=0:Mt>1&&(Mt=1),{x:tt.x+It.x*Mt,y:tt.y+It.y*Mt}},oe=function(je,tt){return{x:(je.x+tt.x)/2,y:(je.y+tt.y)/2}},q=function(je){var tt=je.x,lt=je.y,bt=je.width,It=je.height,Kt={x:tt,y:lt},zt={x:tt+bt,y:lt},Mt={x:tt,y:lt+It},Le={x:tt+bt,y:lt+It},Ce={x:tt+bt/2,y:lt},Et={x:tt+bt/2,y:lt+It},Tt={x:tt,y:lt+It/2},Ye={x:tt+bt,y:lt+It/2},et={x:tt+bt/2,y:lt+It/2};return[Kt,zt,Mt,Le,Ce,Et,Tt,Ye,et]},ue=function(je,tt){var lt=D(je),bt=D(tt);if(bt.minX>=lt.maxX||bt.maxX<=lt.minX||bt.minY>=lt.maxY||bt.maxY<=lt.minY)return!1;var It=_createForOfIteratorHelper(je),Kt;try{for(It.s();!(Kt=It.n()).done;){var zt=Kt.value;if(!Pe(tt,zt,EElementType.Polygon))return!1}}catch(Mt){It.e(Mt)}finally{It.f()}return!0},Ee=function(je){for(var tt=[],lt=0;ltbt&&(0,m.isEqual)((0,m.omitBy)(Ce,m.isUndefined),(0,m.omitBy)(Le[bt],m.isUndefined))?Ye=zt:!Tt&&zt.type===M.gr.Mask&&Ye.maskRle&&zt.labelId!==Ce.labelId&&(Ye.maskCanvasElement=(0,S.ei)(Ye.maskRle,It,zt.color)),s()(s()({},Ye),{},{type:zt.type,labelId:zt.labelId,hidden:zt.hidden,color:zt.color,customStyles:zt.customStyles,attributes:zt.attributes,status:zt.status,frameEmpty:Tt})})}),Kt},Ge=function(je){var tt,lt;if(je.activeObjectIndex>=0&&(tt=je.objectList)!==null&&tt!==void 0&&tt[je.activeObjectIndex]&&!((lt=je.objectList)!==null&<!==void 0&<[je.activeObjectIndex].frameEmpty)){var bt;je.creatingObject=_objectSpread(_objectSpread({},je.creatingObject),(bt=je.objectList)===null||bt===void 0?void 0:bt[je.activeObjectIndex]);return}je.prompt={},je.creatingObject=void 0},Ot=function(je,tt,lt){var bt=je.x,It=je.y,Kt=tt.width,zt=tt.height,Mt=lt.elementW,Le=lt.elementH;if(bt>Mt||It>Le||bt+Kt<=0||It+zt<=0)return{xmin:0,ymin:0,xmax:0,ymax:0};var Ce={x:Math.max(0,bt),y:Math.max(0,It)},Et={x:Math.min(bt+Kt,Mt),y:Math.min(It+zt,Le)},Tt={x:je.x,y:je.y},Ye=Re(Ce,Tt),et=Ye.x,_t=Ye.y,Ut=Re(Et,Tt),qt=Ut.x,un=Ut.y;return{xmin:et,ymin:_t,xmax:qt,ymax:un}},$t=function(je){for(var tt=je.getContext("2d",{willReadFrequently:!0}),lt=tt.getImageData(0,0,je.width,je.height),bt=lt.data,It=lt.width,Kt=lt.height,zt=It,Mt=Kt,Le=0,Ce=0,Et=0,Tt=0;Tt0){var et=Tt/4%It,_t=Math.floor(Tt/4/It);Et++,zt=Math.min(zt,et),Mt=Math.min(Mt,_t),Le=Math.max(Le,et),Ce=Math.max(Ce,_t)}}var Ut={xmin:zt,ymin:Mt,xmax:Le,ymax:Ce};return{area:Et,bbox:Ut}},wt=function(je){var tt,lt;if(!je||je.length<2||((tt=je[0])===null||tt===void 0?void 0:tt.length)!==((lt=je[1])===null||lt===void 0?void 0:lt.length))return[];for(var bt=c()(je,2),It=bt[0],Kt=bt[1],zt=[],Mt=0;Mt3&&arguments[3]!==void 0?arguments[3]:"#111111",C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,X=arguments.length>5?arguments[5]:void 0,O=_.getContext("2d");O.save(),O.strokeStyle=Q,O.lineWidth=C,O.lineCap="round",O.beginPath(),X&&O.setLineDash(X),O.moveTo(ee.x,ee.y),O.lineTo(se.x+1,se.y+1),O.stroke(),O.restore()}function h(_,ee){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#111111",Q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,C=arguments.length>4?arguments[4]:void 0,X=_.getContext("2d");X.save(),X.strokeStyle=se,X.lineWidth=Q,X.lineCap="round",X.lineJoin="round",C&&X.setLineDash(C),X.beginPath(),X.moveTo(ee[0].x,ee[0].y);for(var O=1,H=ee.length;O2&&arguments[2]!==void 0?arguments[2]:"#111111",Q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:20,C=arguments.length>4?arguments[4]:void 0,X=_.getContext("2d");X.save(),X.strokeStyle=se,X.lineWidth=Q,X.lineCap="round",X.lineJoin="round",C&&X.setLineDash(C),X.beginPath();var O=ee[0],H=ee[1];X.moveTo(O.x,O.y);for(var k=1,A=ee.length;k2&&arguments[2]!==void 0?arguments[2]:"#fff",Q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,C=arguments.length>4?arguments[4]:void 0,X=arguments.length>5?arguments[5]:void 0;if(_){var O=_.getContext("2d");O.save(),O.strokeStyle=se,O.lineWidth=Q,O.beginPath(),C&&O.setLineDash(C),O.rect(ee.x,ee.y,ee.width,ee.height),O.stroke(),X&&(O.fillStyle=X,O.fill()),O.restore()}}function z(_,ee){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#fff";if(_){var Q=_.getContext("2d");Q.save(),Q.fillStyle=se,Q.beginPath(),Q.rect(ee.x,ee.y,ee.width,ee.height),Q.fill(),Q.restore()}}function U(_,ee){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#000",Q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:.5,C=_.getContext("2d");C.save(),C.fillStyle=se,C.globalAlpha=Q,C.fillRect(0,0,_.width,_.height),C.globalCompositeOperation="destination-out",C.globalAlpha=1,C.fillRect(ee.x,ee.y,ee.width,ee.height),C.restore()}function T(_){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{x:0,y:0},se=arguments.length>2?arguments[2]:void 0,Q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#fff",C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1;if(_){var X=_.getContext("2d");X.save(),X.strokeStyle=Q,X.lineWidth=C,X.beginPath();var O=ee.x,H=ee.y;X.moveTo(se[0].x+O,se[0].y+H);for(var k=1;k1&&arguments[1]!==void 0?arguments[1]:{x:0,y:0},se=arguments.length>2?arguments[2]:void 0,Q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#fff",C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,X=arguments.length>5?arguments[5]:void 0;if(_){var O=_.getContext("2d");O.save(),O.strokeStyle=Q,O.lineWidth=C,X&&O.setLineDash(X),O.beginPath();var H=ee.x,k=ee.y;O.moveTo(se[0].x+H,se[0].y+k);for(var A=1;A2&&arguments[2]!==void 0?arguments[2]:"#fff",Q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#fff",C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,X=arguments.length>5?arguments[5]:void 0;if(_){var O=_.getContext("2d");O.save(),O.fillStyle=se,O.strokeStyle=Q,O.lineWidth=C,X&&O.setLineDash(X),O.beginPath(),O.moveTo(ee[0].x,ee[0].y);for(var H=1;H0&&O.stroke(),O.fill(),O.restore()}}function L(_,ee,se,Q){var C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#ffffff",X=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,O=arguments.length>6&&arguments[6]!==void 0?arguments[6]:"center",H=_.getContext("2d");H.save(),H.fillStyle=C,H.textAlign=O,H.textBaseline="top",H.font=(X?"bold ":"")+se+"px Arial",H.fillText(ee,Q.x,Q.y),H.restore()}function j(_,ee,se){var Q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#ffffff",C=arguments.length>4?arguments[4]:void 0,X=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"#000",O=_.getContext("2d");O.save();var H=o(0),k=o(360);O.lineWidth=C||0,O.strokeStyle=X,O.fillStyle=Q,O.beginPath(),O.arc(ee.x,ee.y,se,H,k,!1),O.stroke(),O.fill(),O.restore()}function G(_,ee,se,Q,C){var X=arguments.length>5&&arguments[5]!==void 0?arguments[5]:20,O=arguments.length>6&&arguments[6]!==void 0?arguments[6]:"#ffffff",H=_.getContext("2d"),k=o(Q),A=o(C);H.save(),H.strokeStyle=O,H.lineWidth=X,H.beginPath(),H.arc(ee.x,ee.y,se,k,A,!1),H.stroke(),H.restore()}function W(_,ee){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#fff",C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#fff",X=arguments.length>5&&arguments[5]!==void 0?arguments[5]:1,O=arguments.length>6?arguments[6]:void 0,H=_.getContext("2d");H.save(),H.fillStyle=Q,H.strokeStyle=C,H.lineWidth=X,H.lineCap="round",H.lineJoin="round",O&&H.setLineDash(O),H.beginPath(),H.moveTo(ee[0].x,ee[0].y);for(var k=1;k0&&H.stroke(),H.fill()),H.restore()}function ne(_,ee){var se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,Q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#111111",C=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,X=arguments.length>5&&arguments[5]!==void 0?arguments[5]:20,O=arguments.length>6?arguments[6]:void 0,H=_.getContext("2d");H.save(),H.strokeStyle=Q,H.lineWidth=X,H.lineCap="round",H.lineJoin="round",H.beginPath(),O&&H.setLineDash(O);var k=ee[0],A=ee[1];H.moveTo(k.x,k.y);for(var Y=1,de=ee.length;Y0&&(H.globalCompositeOperation="destination-out",H.strokeStyle=Q,H.stroke(),H.strokeStyle=(0,t.a7)(Q,C),H.globalCompositeOperation="source-over",H.stroke()):(H.globalCompositeOperation="destination-out",H.stroke()),H.restore()}},28638:function(b,y,e){"use strict";e.d(y,{Z:function(){return re}});var a=e(39800),t=e(97375),o=e(2556),s=e(12562),n=e(65104),d=e(53357),l=e(58757),c=e(60698),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},g=m,M=e(17202),h=function(q,ue){return l.createElement(M.Z,(0,c.Z)({},q,{ref:ue,icon:g}))},S=l.forwardRef(h),w=e(59504),x=e(35667),z=function(q){var ue=q.categories,Ee=q.filterCategoryName,le=q.onSelectFilter,Ne=q.onClearFilter;return(0,x.jsxs)("div",{className:"dds-quicklabel-image-filter",children:[(0,x.jsx)("div",{children:(0,d._w)("quicklabel.imageFilter")}),(0,x.jsx)(w.Z,{style:{width:150},showSearch:!0,placeholder:(0,d._w)("quicklabel.allCategories"),size:"middle",value:Ee,onChange:le,popupClassName:"filter-options-popup",onClick:function(we){return we.stopPropagation()},onKeyUp:function(we){return we.stopPropagation()},onInputKeyDown:function(we){we.code!=="Enter"&&we.stopPropagation()},dropdownRender:function(we){return(0,x.jsxs)(x.Fragment,{children:[we,(0,x.jsx)(s.ZP,{type:"text",icon:(0,x.jsx)(S,{}),onClick:Ne,children:(0,d._w)("quicklabel.clearFilter")})]})},children:ue==null?void 0:ue.map(function(Ae){return(0,x.jsx)(w.Z.Option,{value:Ae.name,children:Ae.name},Ae.name)})})]})},U=z,T=e(88205),N=e.n(T),Z=e(18695),D=function(q){var ue=q.images,Ee=q.selected,le=q.onImageSelected,Ne=(0,l.useState)(0),Ae=N()(Ne,2),we=Ae[0],Re=Ae[1],st=120,nt=(0,l.useCallback)(function(){var We=document.getElementById("image-options-container");if(We){var Be=We.offsetHeight||0;Re(Be-56)}},[]);(0,l.useEffect)(function(){return nt(),window.addEventListener("resize",nt),function(){window.removeEventListener("resize",nt)}},[nt]);var _e=function(Be){Be<0||Be>=ue.length||le(Be)};return(0,x.jsx)("div",{id:"image-options-container",className:"dds-quicklabel-options-list",children:(0,x.jsx)(Z.Z,{className:"dds-quicklabel-options-list-virtual",data:ue,height:we,fullHeight:!0,itemHeight:st,itemKey:"id",children:function(Be,it){var Ge=it===Ee?"dds-quicklabel-options-list-image-selected":"";return(0,x.jsx)("div",{children:(0,x.jsx)("img",{className:"dds-quicklabel-options-list-image ".concat(Ge),src:Be.url,onClick:function(){return _e(it)}},Be.id)})}})})},L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},j=L,G=function(q,ue){return l.createElement(M.Z,(0,c.Z)({},q,{ref:ue,icon:j}))},W=l.forwardRef(G),ne=e(62109),_=e(15618),ee=e(51830),se=e(24454),Q=e.n(se),C=e(34485),X=e.n(C),O=e(88479),H=e.n(O),k=e(56592),A=e.n(k),Y=e(84045),de=e(79233),me=e(23671),ve=e(68716),be=e(8851),Pe=function(oe,q){q===void 0&&(q={});var ue=(0,me.Z)(q),Ee=(0,l.useRef)();(0,be.Z)(function(){var le=(0,ve.n)(oe);if(le!=null&&le.addEventListener){var Ne=function(_e,We){var Be=_e.getData("text/uri-list"),it=_e.getData("custom");if(it&&ue.current.onDom){var Ge=it;try{Ge=JSON.parse(it)}catch(Ot){Ge=it}ue.current.onDom(Ge,We);return}if(Be&&ue.current.onUri){ue.current.onUri(Be,We);return}if(_e.files&&_e.files.length&&ue.current.onFiles){ue.current.onFiles(Array.from(_e.files),We);return}_e.items&&_e.items.length&&ue.current.onText&&_e.items[0].getAsString(function(Ot){ue.current.onText(Ot,We)})},Ae=function(_e){var We,Be;_e.preventDefault(),_e.stopPropagation(),Ee.current=_e.target,(Be=(We=ue.current).onDragEnter)===null||Be===void 0||Be.call(We,_e)},we=function(_e){var We,Be;_e.preventDefault(),(Be=(We=ue.current).onDragOver)===null||Be===void 0||Be.call(We,_e)},Re=function(_e){var We,Be;_e.target===Ee.current&&((Be=(We=ue.current).onDragLeave)===null||Be===void 0||Be.call(We,_e))},st=function(_e){var We,Be;_e.preventDefault(),Ne(_e.dataTransfer,_e),(Be=(We=ue.current).onDrop)===null||Be===void 0||Be.call(We,_e)},nt=function(_e){var We,Be;Ne(_e.clipboardData,_e),(Be=(We=ue.current).onPaste)===null||Be===void 0||Be.call(We,_e)};return le.addEventListener("dragenter",Ae),le.addEventListener("dragover",we),le.addEventListener("dragleave",Re),le.addEventListener("drop",st),le.addEventListener("paste",nt),function(){le.removeEventListener("dragenter",Ae),le.removeEventListener("dragover",we),le.removeEventListener("dragleave",Re),le.removeEventListener("drop",st),le.removeEventListener("paste",nt)}}},[],oe)},Je=Pe,qe=e(39378),Xe=Object.defineProperty,mt=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,Ht=(oe,q,ue)=>q in oe?Xe(oe,q,{enumerable:!0,configurable:!0,writable:!0,value:ue}):oe[q]=ue,ke=(oe,q)=>{for(var ue in q||(q={}))Ct.call(q,ue)&&Ht(oe,ue,q[ue]);if(mt)for(var ue of mt(q))vt.call(q,ue)&&Ht(oe,ue,q[ue]);return oe};const Ve=oe=>l.createElement("svg",ke({viewBox:"0 0 91 75",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oe),l.createElement("path",{d:"M60.633.007C49.453-.22 37.923 6.255 34.76 20.864c-12.874-4.444-24.497 4.32-23.29 18.315C4.735 41.932 0 48.587 0 56.409 0 66.709 8.199 75 18.383 75h22.33c-.005-6.26-.018-18.818-.018-21.197l-5.237 1.919c-3.8 1.656-6.605-3.183-3.352-6.195l9.909-9.739c2.263-2.288 4.966-2.026 6.97 0l9.909 9.739c3.253 3.012.447 7.85-3.352 6.195l-5.237-1.92V75h22.312C82.801 75 91 66.708 91 56.41c0-7.58-4.45-14.06-10.855-16.96C92.558 14.977 76.972.336 60.633.006Z",fill:"#B9CEFF"}),l.createElement("path",{d:"M60.633.004c-.623-.013-1.306.009-1.93.037-14.278 22.757 7.788 39.403 21.442 39.403C92.558 14.974 76.972.334 60.633.004Z",fill:"#739EFF"}));var ot="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgOTEgNzUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYwLjYzMy4wMDdDNDkuNDUzLS4yMiAzNy45MjMgNi4yNTUgMzQuNzYgMjAuODY0Yy0xMi44NzQtNC40NDQtMjQuNDk3IDQuMzItMjMuMjkgMTguMzE1QzQuNzM1IDQxLjkzMiAwIDQ4LjU4NyAwIDU2LjQwOSAwIDY2LjcwOSA4LjE5OSA3NSAxOC4zODMgNzVoMjIuMzNjLS4wMDUtNi4yNi0uMDE4LTE4LjgxOC0uMDE4LTIxLjE5N2wtNS4yMzcgMS45MTljLTMuOCAxLjY1Ni02LjYwNS0zLjE4My0zLjM1Mi02LjE5NWw5LjkwOS05LjczOWMyLjI2My0yLjI4OCA0Ljk2Ni0yLjAyNiA2Ljk3IDBsOS45MDkgOS43MzljMy4yNTMgMy4wMTIuNDQ3IDcuODUtMy4zNTIgNi4xOTVsLTUuMjM3LTEuOTJWNzVoMjIuMzEyQzgyLjgwMSA3NSA5MSA2Ni43MDggOTEgNTYuNDFjMC03LjU4LTQuNDUtMTQuMDYtMTAuODU1LTE2Ljk2QzkyLjU1OCAxNC45NzcgNzYuOTcyLjMzNiA2MC42MzMuMDA2WiIgZmlsbD0iI0I5Q0VGRiIvPjxwYXRoIGQ9Ik02MC42MzMuMDA0Yy0uNjIzLS4wMTMtMS4zMDYuMDA5LTEuOTMuMDM3LTE0LjI3OCAyMi43NTcgNy43ODggMzkuNDAzIDIxLjQ0MiAzOS40MDNDOTIuNTU4IDE0Ljk3NCA3Ni45NzIuMzM0IDYwLjYzMy4wMDRaIiBmaWxsPSIjNzM5RUZGIi8+PC9zdmc+",Ke=e(45060),he=e(23605),J=e(95073),V=e(87608),R=e.n(V),P=function(q){var ue=q.files,Ee=q.fileType,le=q.onRemoveFile,Ne=(0,l.useRef)(null),Ae=(0,J.Z)(Ne),we=Ae!=null&&Ae.width&&Ae.width>800?8:5,Re=(0,l.useMemo)(function(){return(0,qe.chunk)(ue,we).map(function(wt,Pt){return{index:Pt,rowImages:wt}})},[ue,we]),st=8,nt=18,_e=.75,We=.95,Be=30,it=(0,l.useMemo)(function(){return Ae!=null&&Ae.width?((Ae==null?void 0:Ae.width)-nt*2-(we-1)*st)/we:0},[Ae==null?void 0:Ae.width,we,st]),Ge=(0,l.useMemo)(function(){return it*We},[it,We]),Ot=(0,l.useMemo)(function(){return Ge*_e},[Ge,_e]),$t=(0,l.useMemo)(function(){return Ot+Be+16},[Ot,Be]);return(0,x.jsx)("div",{ref:Ne,className:"dds-upload-list",children:(0,x.jsx)(Z.Z,{className:"virtual-list",data:Re,height:(Ae==null?void 0:Ae.height)||0,fullHeight:!0,itemHeight:$t,itemKey:"index",children:function(Pt,dt){return(0,x.jsx)("div",{className:"row-container",style:{gap:st,padding:"".concat(st,"px ").concat(nt,"px")},children:Pt.rowImages.map(function(je,tt){return(0,x.jsxs)("div",{className:R()("preview-container",{"preview-container-success":je.status==="success","preview-container-error":je.status==="error"}),style:{width:it},children:[Ee==="video"?(0,x.jsx)("video",{className:"file-preview",src:je.url,style:{width:Ge,height:Ot}}):(0,x.jsx)("img",{className:"file-preview",src:je.url,style:{width:Ge,height:Ot}}),(0,x.jsx)("div",{className:"remove-button",children:(0,x.jsx)(s.ZP,{icon:(0,x.jsx)(he.Z,{}),shape:"circle",danger:!0,onClick:function(bt){bt.stopPropagation(),le(dt*we+tt)}})}),(0,x.jsx)("div",{className:"file-name",children:je.name})]},je.name)})},dt)}})})},B=P,ge=function(q){var ue=q.fileList,Ee=q.setFileList,le=q.acceptTypes,Ne=q.maxCount,Ae=q.maxSize,we=q.maxDuratuion,Re=q.limitRemoveFile,st=q.fileType,nt=(0,d.bU)(),_e=nt.localeText,We=(0,l.useState)(!1),Be=N()(We,2),it=Be[0],Ge=Be[1],Ot=(0,l.useState)(!1),$t=N()(Ot,2),wt=$t[0],Pt=$t[1],dt=(0,l.useRef)(!1),je=(0,l.useRef)(null),tt=le?le.join(", "):void 0,lt=function(){var zt=A()(Q()().mark(function Mt(Le){var Ce,Et,Tt,Ye,et;return Q()().wrap(function(Ut){for(;;)switch(Ut.prev=Ut.next){case 0:Ge(!0),Ce=[],Et=H()(Le),Ut.prev=3,Ye=Q()().mark(function qt(){var un,Mn,vn,Xn;return Q()().wrap(function(or){for(;;)switch(or.prev=or.next){case 0:if(un=Tt.value,Mn=0,vn=0,Xn=0,!(Ae&&un.size&&un.size/1024/1024>Ae)){or.next=4;break}return or.abrupt("return","continue");case 4:if(!(Ne&&Ce.length+ue.length>Ne-1)){or.next=6;break}return or.abrupt("return","continue");case 6:if(!ue.find(function(er){return er.name===un.name})){or.next=8;break}return or.abrupt("return","continue");case 8:Ce.push({id:un.name,name:un.name,url:URL.createObjectURL(un),originFileObj:un,frameCount:Mn,frameRate:vn,duration:Xn});case 9:case"end":return or.stop()}},qt)}),Et.s();case 6:if((Tt=Et.n()).done){Ut.next=13;break}return Ut.delegateYield(Ye(),"t0",8);case 8:if(et=Ut.t0,et!=="continue"){Ut.next=11;break}return Ut.abrupt("continue",11);case 11:Ut.next=6;break;case 13:Ut.next=18;break;case 15:Ut.prev=15,Ut.t1=Ut.catch(3),Et.e(Ut.t1);case 18:return Ut.prev=18,Et.f(),Ut.finish(18);case 21:Ge(!1),Ce.length>0&&(Ee([].concat(Ce,X()(ue))),Y.ZP.success(_e("dds-upload.tip.successLoad",{count:Ce.length})));case 23:case"end":return Ut.stop()}},Mt,null,[[3,15,18,21]])}));return function(Le){return zt.apply(this,arguments)}}(),bt=(0,l.useCallback)(function(zt){if(!(Re&&Re(zt))){var Mt=(0,qe.cloneDeep)(ue);Mt.splice(zt,1),Ee(Mt)}},[ue]),It=function(Mt){dt.current=!1;var Le=Mt.target.files?X()(Mt.target.files):[];Le.length>0&<(Le),Pt(!1),Mt.target.value=""},Kt=(0,l.useCallback)(function(){var zt;if(Ne&&ue.length>=Ne){Y.ZP.warning(_e("dds-upload.tip.fileCountLimitMsg",{count:Ne}));return}Pt(!0),(zt=je.current)===null||zt===void 0||zt.click(),dt.current=!0,window.addEventListener("focus",function(){setTimeout(function(){dt.current&&Pt(!1)},100)},{once:!0})},[ue,Ne]);return Je(window.document.body,{onFiles:function(){var zt=A()(Q()().mark(function Le(Ce,Et){var Tt;return Q()().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:if(!(Ne&&ue.length>=Ne)){et.next=3;break}return Y.ZP.warning(_e("dds-upload.tip.fileCountLimitMsg",{count:Ne})),et.abrupt("return");case 3:return et.next=5,(0,Ke._q)(Et==null?void 0:Et.dataTransfer,le);case 5:Tt=et.sent,lt(Tt);case 7:case"end":return et.stop()}},Le)}));function Mt(Le,Ce){return zt.apply(this,arguments)}return Mt}(),onDragEnter:function(){Pt(!0)},onDrop:function(){Pt(!1)},onDragLeave:function(){Pt(!1)}}),(0,x.jsxs)("div",{className:"dds-upload",children:[(0,x.jsx)("input",{ref:je,type:"file",accept:tt,multiple:!0,onChange:It}),ue.length<=0?(0,x.jsxs)("div",{className:R()("dds-upload-empty",{"dds-upload-draging":wt}),onClick:Kt,children:[(0,x.jsx)(Ve,{}),(0,x.jsx)("p",{className:"dds-upload-title",children:_e("dds-upload.title")}),(0,x.jsx)("p",{className:"dds-upload-text",children:_e(st==="video"?"dds-upload.limit.type.video":"dds-upload.limit.type.image")})]}):(0,x.jsxs)("div",{className:R()("dds-upload-content",{"dds-upload-draging":wt}),children:[(0,x.jsxs)("div",{className:"dds-upload-topbar",children:[(0,x.jsxs)("div",{children:[(0,x.jsx)("div",{className:"dds-upload-title",children:_e("dds-upload.title")}),(0,x.jsx)("div",{className:"dds-upload-text",children:_e(st==="video"?"dds-upload.limit.type.video":"dds-upload.limit.type.image")})]}),(0,x.jsx)(s.ZP,{type:"primary",onClick:Kt,children:_e("dds-upload.upload")})]}),(0,x.jsxs)("div",{className:"dds-upload-content-list",children:[Ne&&(0,x.jsxs)("div",{className:"dds-upload-content-list-count",children:[ue.length," / ",Ne]}),(0,x.jsx)(B,{files:ue,onRemoveFile:bt,fileType:st})]})]}),it&&(0,x.jsx)(de.Z,{size:"large",className:"dds-upload-loading",spinning:it,delay:500})]})},ie=ge,pe=1e3,Oe=10,xe=function(q){var ue=q.open,Ee=q.isInit,le=q.fileList,Ne=q.setFileList,Ae=q.onClickOk,we=q.onClickCancel,Re=q.limitRemoveFile,st=q.okText,nt=q.limitClose,_e=q.uploadPreAnnot,We=q.onChangePreAnnotFile,Be=q.onRemovePreAnnotFile;return(0,x.jsx)("div",{onMouseDown:function(Ge){return Ge.stopPropagation()},onMouseUp:function(Ge){return Ge.stopPropagation()},children:(0,x.jsxs)(ne.Z,{title:(0,d._w)("quicklabel.title"),width:675,open:ue,onOk:Ae,onCancel:we,okText:st,okButtonProps:{disabled:le.length===0},cancelButtonProps:{hidden:nt},closable:!nt,destroyOnClose:!0,children:[(0,x.jsx)(_.Z,{message:(0,d._w)("quicklabel.formModal.attn"),description:(0,d._w)("quicklabel.formModal.tip"),type:"info",showIcon:!0}),(0,x.jsx)("div",{className:"dds-quicklabel-subtitle",children:(0,d._w)("quicklabel.formModal.importImages")}),(0,x.jsx)("div",{className:"dds-quicklabel-upload",children:(0,x.jsx)(ie,{fileList:le,setFileList:Ne,fileType:"image",acceptTypes:["image/png","image/jpeg","image/jpg"],limitRemoveFile:Re,maxCount:pe,maxSize:Oe})}),(0,x.jsx)(_.Z,{className:"dds-quicklabel-upload-tip",message:(0,d._w)("quicklabel.formModal.imageTips",{count:pe,size:Oe}),type:"info",showIcon:!0}),Ee&&(0,x.jsx)(ee.Tn,{uploadFiles:_e,onChangeFile:We,onRemoveFile:Be,children:(0,x.jsx)(s.ZP,{icon:(0,x.jsx)(W,{}),className:"dds-quicklabel-upload-preannot-btn",children:(0,d._w)("quicklabel.formModal.importPreAnnots")})})]})})},Se=xe,$e=function(q){var ue=q.images,Ee=q.filterImages,le=q.current,Ne=q.categories,Ae=q.qsModalVisible,we=q.uploadFiles,Re=q.uploadPreAnnot,st=q.filterCategoryName,nt=q.setImages,_e=q.setCurrent,We=q.setCategories,Be=q.setQsModalVisible,it=q.setUploadFiles,Ge=q.limitRemoveFile,Ot=q.onCancelUploadFiles,$t=q.onConfirmUploadFiles,wt=q.exportAnnotations,Pt=q.onChangePreAnnotFile,dt=q.onRemovePreAnnotFile,je=q.onSelectFilterCategory,tt=q.onClearFilterCategory;(0,l.useEffect)(function(){ue.length<=0&&Be(!0)},[]),(0,o.Z)("uparrow",function(){_e(Math.max(0,le-1))},{exactMatch:!0}),(0,o.Z)("downarrow",function(){_e(Math.min(le+1,ue.length-1))},{exactMatch:!0});var lt=function(It,Kt){if(Ee[le]){var zt=Ee[le].originalIndex;nt(function(Mt){Mt[zt]&&(Mt[zt].objects=It,Mt[zt].width=Kt.width,Mt[zt].height=Kt.height)})}};return(0,x.jsxs)("div",{className:"dds-quicklabel",children:[(0,x.jsxs)("div",{className:"dds-quicklabel-list",onMouseDown:function(It){It.stopPropagation()},onMouseUp:function(It){It.stopPropagation()},children:[(0,x.jsx)(s.ZP,{type:"primary",icon:(0,x.jsx)(a.Z,{}),onClick:function(){Be(!0)},children:(0,d._w)("quicklabel.setting")}),(0,x.jsx)(D,{images:Ee,selected:le,onImageSelected:function(It){_e(It)}})]}),(0,x.jsx)("div",{className:"dds-quicklabel-workspace",children:(0,x.jsx)(n.kl,{isOldMode:!0,isSeperate:!0,visible:!0,mode:n.je.Edit,categories:Ne,setCategories:We,list:Ee,current:le,titleElements:[(0,x.jsx)(U,{categories:Ne,filterCategoryName:st,onSelectFilter:je,onClearFilter:tt},"image-filters")],actionElements:[(0,x.jsx)(s.ZP,{type:"primary",onClick:wt,children:(0,d._w)("quicklabel.export")},"export")],onAutoSave:lt,onCancel:function(){return t.history.push("/")}})}),(0,x.jsx)(Se,{open:Ae,isInit:ue.length===0,fileList:we,setFileList:it,limitRemoveFile:Ge,okText:(0,d._w)("quicklabel.formModal.confirm"),onClickCancel:Ot,onClickOk:$t,limitClose:ue.length<=0,uploadPreAnnot:Re,onChangePreAnnotFile:Pt,onRemovePreAnnotFile:dt})]})},re=$e},51830:function(b,y,e){"use strict";e.d(y,{ii:function(){return Xe},ZJ:function(){return ot},mn:function(){return n},fL:function(){return h},Qs:function(){return Ct},xA:function(){return z},Tn:function(){return oe}});var a=e(79233),t=e(58757),o=e(35667),s=function(ue){var Ee=ue.children,le=ue.active,Ne=ue.tip;return(0,o.jsx)(a.Z,{size:"large",spinning:le,delay:500,style:{maxHeight:"none",opacity:.3},tip:Ne,children:Ee})},n=s,d=e(88205),l=e.n(d),c=e(74820),m=e(12562),g=function(q){return q.en="en-US",q.zh="zh-CN",q}({}),M=function(ue){var Ee=ue.getLocale,le=ue.setLocale,Ne=ue.tooltipPlacement,Ae=Ne===void 0?"right":Ne,we=ue.theme,Re=we===void 0?"light":we,st=ue.className,nt=Ee(),_e=function(){var $t=nt===g.zh?g.en:g.zh;le($t)},We=(0,t.useMemo)(function(){return nt===g.zh?["change-lang change-lang-".concat(Re),"cur-lang cur-lang-".concat(Re)]:["cur-lang cur-lang-".concat(Re),"change-lang change-lang-".concat(Re)]},[Re,nt]),Be=l()(We,2),it=Be[0],Ge=Be[1];return(0,o.jsx)(c.Z,{placement:Ae,title:nt===g.zh?"\u4E2D\u6587 / English":"English / \u4E2D\u6587",children:(0,o.jsx)(m.ZP,{type:"text",className:"dds-lang-selector ".concat(st),onClick:_e,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{className:Ge,children:"\u4E2D"}),(0,o.jsx)("span",{className:it,children:"En"})]})})})},h=M,S=e(62109),w=e(12632),x=function(ue){var Ee=ue.error,le=ue.componentStack,Ne=ue.resetError,Ae=function(){S.Z.error({title:Ee.toString(),content:(0,o.jsx)("div",{style:{height:"60vh",overflowY:"scroll"},children:(0,o.jsx)("p",{children:le})}),onOk:function(){},maskClosable:!0,width:"80vw"})};return(0,o.jsx)("div",{style:{position:"relative",height:"calc(100vh - 64px)",width:"100%",backgroundColor:"#fff",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,o.jsx)(w.ZP,{status:"500",title:"Running Error",subTitle:"Sorry, something went wrong.",extra:[(0,o.jsx)(m.ZP,{type:"primary",onClick:Ne,children:"Click here to reset"},"bt1"),(0,o.jsx)(m.ZP,{onClick:Ae,children:"Error Detail"},"bt2")]})})},z=x,U=e(73267),T=e(94706),N=Object.defineProperty,Z=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,j=(q,ue,Ee)=>ue in q?N(q,ue,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):q[ue]=Ee,G=(q,ue)=>{for(var Ee in ue||(ue={}))D.call(ue,Ee)&&j(q,Ee,ue[Ee]);if(Z)for(var Ee of Z(ue))L.call(ue,Ee)&&j(q,Ee,ue[Ee]);return q};const W=q=>t.createElement("svg",G({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},q),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 4.4c0-.22.18-.4.4-.4h1.2c.22 0 .4.18.4.4V6h3.6c.22 0 .4.18.4.4v1.2a.4.4 0 0 1-.4.4H18v1.6a.4.4 0 0 1-.4.4h-1.2a.4.4 0 0 1-.4-.4V4.4ZM2.4 6a.4.4 0 0 0-.4.4v1.2c0 .22.18.4.4.4h11.2a.4.4 0 0 0 .4-.4V6.4a.4.4 0 0 0-.4-.4H2.4Zm8 10a.4.4 0 0 0-.4.4v1.2c0 .22.18.4.4.4h11.2a.4.4 0 0 0 .4-.4v-1.2a.4.4 0 0 0-.4-.4H10.4Zm-8 0a.4.4 0 0 0-.4.4v1.2c0 .22.18.4.4.4H6v1.6c0 .22.18.4.4.4h1.2a.4.4 0 0 0 .4-.4v-5.2a.4.4 0 0 0-.4-.4H6.4a.4.4 0 0 0-.4.4V16H2.4Z",fill:"#434343"}));var ne="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNiA0LjRjMC0uMjIuMTgtLjQuNC0uNGgxLjJjLjIyIDAgLjQuMTguNC40VjZoMy42Yy4yMiAwIC40LjE4LjQuNHYxLjJhLjQuNCAwIDAgMS0uNC40SDE4djEuNmEuNC40IDAgMCAxLS40LjRoLTEuMmEuNC40IDAgMCAxLS40LS40VjQuNFpNMi40IDZhLjQuNCAwIDAgMC0uNC40djEuMmMwIC4yMi4xOC40LjQuNGgxMS4yYS40LjQgMCAwIDAgLjQtLjRWNi40YS40LjQgMCAwIDAtLjQtLjRIMi40Wm04IDEwYS40LjQgMCAwIDAtLjQuNHYxLjJjMCAuMjIuMTguNC40LjRoMTEuMmEuNC40IDAgMCAwIC40LS40di0xLjJhLjQuNCAwIDAgMC0uNC0uNEgxMC40Wm0tOCAwYS40LjQgMCAwIDAtLjQuNHYxLjJjMCAuMjIuMTguNC40LjRINnYxLjZjMCAuMjIuMTguNC40LjRoMS4yYS40LjQgMCAwIDAgLjQtLjR2LTUuMmEuNC40IDAgMCAwLS40LS40SDYuNGEuNC40IDAgMCAwLS40LjRWMTZIMi40WiIgZmlsbD0iIzQzNDM0MyIvPjwvc3ZnPg==",_=Object.defineProperty,ee=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable,C=(q,ue,Ee)=>ue in q?_(q,ue,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):q[ue]=Ee,X=(q,ue)=>{for(var Ee in ue||(ue={}))se.call(ue,Ee)&&C(q,Ee,ue[Ee]);if(ee)for(var Ee of ee(ue))Q.call(ue,Ee)&&C(q,Ee,ue[Ee]);return q};const O=q=>t.createElement("svg",X({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},q),t.createElement("path",{d:"M8.536 1.572H7.464c-.095 0-.143.048-.143.143v5.607h-5.32c-.096 0-.144.048-.144.143v1.072c0 .095.048.142.143.142h5.321v5.608c0 .095.048.142.143.142h1.072c.095 0 .142-.047.142-.142V8.679H14c.095 0 .143-.047.143-.142V7.465c0-.095-.048-.143-.143-.143H8.678V1.715c0-.095-.047-.143-.142-.143Z",fill:"#595959"}));var H="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTguNTM2IDEuNTcySDcuNDY0Yy0uMDk1IDAtLjE0My4wNDgtLjE0My4xNDN2NS42MDdoLTUuMzJjLS4wOTYgMC0uMTQ0LjA0OC0uMTQ0LjE0M3YxLjA3MmMwIC4wOTUuMDQ4LjE0Mi4xNDMuMTQyaDUuMzIxdjUuNjA4YzAgLjA5NS4wNDguMTQyLjE0My4xNDJoMS4wNzJjLjA5NSAwIC4xNDItLjA0Ny4xNDItLjE0MlY4LjY3OUgxNGMuMDk1IDAgLjE0My0uMDQ3LjE0My0uMTQyVjcuNDY1YzAtLjA5NS0uMDQ4LS4xNDMtLjE0My0uMTQzSDguNjc4VjEuNzE1YzAtLjA5NS0uMDQ3LS4xNDMtLjE0Mi0uMTQzWiIgZmlsbD0iIzU5NTk1OSIvPjwvc3ZnPg==",k=Object.defineProperty,A=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,me=(q,ue,Ee)=>ue in q?k(q,ue,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):q[ue]=Ee,ve=(q,ue)=>{for(var Ee in ue||(ue={}))Y.call(ue,Ee)&&me(q,Ee,ue[Ee]);if(A)for(var Ee of A(ue))de.call(ue,Ee)&&me(q,Ee,ue[Ee]);return q};const be=q=>t.createElement("svg",ve({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},q),t.createElement("path",{d:"M14.429 7.322H1.572a.143.143 0 0 0-.143.143v1.072c0 .078.064.142.143.142h12.857a.143.143 0 0 0 .143-.142V7.465a.143.143 0 0 0-.143-.143Z",fill:"#595959"}));var Pe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0LjQyOSA3LjMyMkgxLjU3MmEuMTQzLjE0MyAwIDAgMC0uMTQzLjE0M3YxLjA3MmMwIC4wNzguMDY0LjE0Mi4xNDMuMTQyaDEyLjg1N2EuMTQzLjE0MyAwIDAgMCAuMTQzLS4xNDJWNy40NjVhLjE0My4xNDMgMCAwIDAtLjE0My0uMTQzWiIgZmlsbD0iIzU5NTk1OSIvPjwvc3ZnPg==",Je=e(53357),qe=function(ue){var Ee=(0,Je.bU)(),le=Ee.localeText,Ne=ue.cloumnCount,Ae=ue.maxCloumnCount,we=Ae===void 0?8:Ae,Re=ue.onColumnCountChange,st=ue.getPopupContainer;return(0,o.jsx)(U.Z,{getPopupContainer:st,dropdownRender:function(){return(0,o.jsxs)("div",{className:"dds-column-settings-panel",children:[(0,o.jsx)("div",{className:"item-title",children:le("ColumnSettings.title")}),(0,o.jsxs)("div",{className:"item-content",children:[(0,o.jsx)(T.Z,{min:1,max:we,onChange:function(We){return Re(We)},value:Ne,className:"slider"}),(0,o.jsxs)("div",{className:"num-box",children:[(0,o.jsx)(be,{onClick:function(){return Re(!1)}}),(0,o.jsx)("div",{className:"num",children:Ne}),(0,o.jsx)(O,{onClick:function(){return Re(!0)}})]})]})]})},children:(0,o.jsx)("div",{className:"dds-column-settings-btn",children:(0,o.jsx)(W,{})})})},Xe=qe,mt=function(){return(0,o.jsx)("div",{style:{height:"100vh",width:"100%",backgroundColor:"#fff",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,o.jsx)(w.ZP,{status:"404",title:(0,Je._w)("MobileAlert.title"),subTitle:(0,Je._w)("MobileAlert.subTitle")})})},Ct=mt,vt=e(35910),Ht=e(32423),ke=e(39378),Ve=function(ue){var Ee=ue.current,le=ue.size,Ne=ue.total,Ae=ue.onPageChange,we=ue.onPageSizeChange,Re=(0,t.useState)(le),st=l()(Re,2),nt=st[0],_e=st[1],We=(0,Je.bU)(),Be=We.localeText;return(0,o.jsxs)("div",{className:"dds-dynamic-pagination",children:[(0,o.jsx)(vt.Z,{current:Ee,pageSize:le,total:Ne,showSizeChanger:!1,showQuickJumper:!0,onChange:function(Ge){return Ae(Ge)}}),(0,o.jsxs)("div",{className:"pagesize-wrap",children:[(0,o.jsx)("div",{className:"pagesize-label",children:Be("DynamicPagination.label")}),(0,o.jsx)(Ht.Z,{min:1,value:nt,onChange:function(Ge){_e(Number(Ge))},onBlur:function(Ge){(0,ke.isNaN)(Number(Ge.target.value))||Number(Ge.target.value)<=0?we(Ee,1):we(Ee,Number(Ge.target.value))},onPressEnter:function(Ge){Ge.target.blur(Ge)}})]})]})},ot=Ve,Ke=e(28638),he=e(65104),J=e(39875),V=e(23241),R=e(18624),P=Object.defineProperty,B=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,pe=(q,ue,Ee)=>ue in q?P(q,ue,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):q[ue]=Ee,Oe=(q,ue)=>{for(var Ee in ue||(ue={}))ge.call(ue,Ee)&&pe(q,Ee,ue[Ee]);if(B)for(var Ee of B(ue))ie.call(ue,Ee)&&pe(q,Ee,ue[Ee]);return q};const xe=q=>t.createElement("svg",Oe({viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},q),t.createElement("g",{clipPath:"url(#upload_file_svg__a)"},t.createElement("path",{d:"m46.55 12.917-8.132-8.131A16.227 16.227 0 0 0 26.868.002H16.333C9.9 0 4.667 5.234 4.667 11.667v32.666C4.667 50.766 9.9 56 16.333 56h23.334c6.433 0 11.666-5.234 11.666-11.667V24.465c0-4.363-1.698-8.46-4.783-11.548Zm-3.3 3.3c.743.742 1.37 1.565 1.879 2.45H35a2.337 2.337 0 0 1-2.333-2.334V6.204c.884.509 1.71 1.137 2.45 1.879l8.131 8.131.003.003Zm3.417 28.116c0 3.86-3.141 7-7 7H16.333c-3.859 0-7-3.14-7-7V11.667c0-3.86 3.141-7 7-7h10.535c.38 0 .759.018 1.132.053v11.613c0 3.86 3.14 7 7 7h11.613c.035.374.054.752.054 1.132v19.868ZM36.65 33.79a2.33 2.33 0 0 1 0 3.3 2.327 2.327 0 0 1-1.65.683 2.327 2.327 0 0 1-1.65-.684l-3.017-3.017v10.262a2.334 2.334 0 0 1-4.666 0V34.071l-3.017 3.017a2.33 2.33 0 0 1-3.3 0 2.33 2.33 0 0 1 0-3.299l3.766-3.766c2.693-2.693 7.075-2.693 9.77 0l3.766 3.766h-.002Z",fill:"#739EFF"})),t.createElement("defs",null,t.createElement("clipPath",{id:"upload_file_svg__a"},t.createElement("path",{fill:"#fff",d:"M0 0h56v56H0z"}))));var Se="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNTYgNTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJtNDYuNTUgMTIuOTE3LTguMTMyLTguMTMxQTE2LjIyNyAxNi4yMjcgMCAwIDAgMjYuODY4LjAwMkgxNi4zMzNDOS45IDAgNC42NjcgNS4yMzQgNC42NjcgMTEuNjY3djMyLjY2NkM0LjY2NyA1MC43NjYgOS45IDU2IDE2LjMzMyA1NmgyMy4zMzRjNi40MzMgMCAxMS42NjYtNS4yMzQgMTEuNjY2LTExLjY2N1YyNC40NjVjMC00LjM2My0xLjY5OC04LjQ2LTQuNzgzLTExLjU0OFptLTMuMyAzLjNjLjc0My43NDIgMS4zNyAxLjU2NSAxLjg3OSAyLjQ1SDM1YTIuMzM3IDIuMzM3IDAgMCAxLTIuMzMzLTIuMzM0VjYuMjA0Yy44ODQuNTA5IDEuNzEgMS4xMzcgMi40NSAxLjg3OWw4LjEzMSA4LjEzMS4wMDMuMDAzWm0zLjQxNyAyOC4xMTZjMCAzLjg2LTMuMTQxIDctNyA3SDE2LjMzM2MtMy44NTkgMC03LTMuMTQtNy03VjExLjY2N2MwLTMuODYgMy4xNDEtNyA3LTdoMTAuNTM1Yy4zOCAwIC43NTkuMDE4IDEuMTMyLjA1M3YxMS42MTNjMCAzLjg2IDMuMTQgNyA3IDdoMTEuNjEzYy4wMzUuMzc0LjA1NC43NTIuMDU0IDEuMTMydjE5Ljg2OFpNMzYuNjUgMzMuNzlhMi4zMyAyLjMzIDAgMCAxIDAgMy4zIDIuMzI3IDIuMzI3IDAgMCAxLTEuNjUuNjgzIDIuMzI3IDIuMzI3IDAgMCAxLTEuNjUtLjY4NGwtMy4wMTctMy4wMTd2MTAuMjYyYTIuMzM0IDIuMzM0IDAgMCAxLTQuNjY2IDBWMzQuMDcxbC0zLjAxNyAzLjAxN2EyLjMzIDIuMzMgMCAwIDEtMy4zIDAgMi4zMyAyLjMzIDAgMCAxIDAtMy4yOTlsMy43NjYtMy43NjZjMi42OTMtMi42OTMgNy4wNzUtMi42OTMgOS43NyAwbDMuNzY2IDMuNzY2aC0uMDAyWiIgZmlsbD0iIzczOUVGRiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0wIDBoNTZ2NTZIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",$e=20,re=function(ue){var Ee=ue.uploadFiles,le=ue.onChangeFile,Ne=ue.onRemoveFile,Ae=ue.children,we=(0,Je.bU)(),Re=we.localeText;return(0,o.jsx)(V.Z,{className:"dds-upload-pre-anno",maxCount:1,beforeUpload:function(){return!1},fileList:Ee,onChange:le,onRemove:Ne,accept:".json",showUploadList:!0,children:Ae||(0,o.jsx)(R.Z,{children:(0,o.jsx)(R.Z.Meta,{avatar:(0,o.jsx)(J.Z,{component:xe}),title:Re("dds-upload-pre-anno"),description:Re("dds-upload-pre-anno.tip",{maxSize:$e})})})})},oe=re},28506:function(b,y,e){"use strict";e.d(y,{_:function(){return x},w:function(){return z}});var a=e(63900),t=e.n(a),o=e(88205),s=e.n(o),n=e(58757),d=e(86429),l=e(51129),c=e(74324),m=e(66682);const g=m,M={parseNumbers:!1,parseBooleans:!1},h={skipNull:!1,skipEmptyString:!1};var w=(U,T)=>{var N,Z;const{navigateMode:D="push",parseOptions:L,stringifyOptions:j}=T||{},G=Object.assign(Object.assign({},M),L),W=Object.assign(Object.assign({},h),j),ne=g.useLocation(),_=(N=g.useHistory)===null||N===void 0?void 0:N.call(g),ee=(Z=g.useNavigate)===null||Z===void 0?void 0:Z.call(g),se=(0,d.Z)(),Q=(0,n.useRef)(typeof U=="function"?U():U||{}),C=(0,n.useMemo)(()=>(0,c.parse)(ne.search,G),[ne.search]),X=(0,n.useMemo)(()=>Object.assign(Object.assign({},Q.current),C),[C]),O=H=>{const k=typeof H=="function"?H(X):H;se(),_&&_[D]({hash:ne.hash,search:(0,c.stringify)(Object.assign(Object.assign({},C),k),W)||"?"},ne.state),ee&&ee({hash:ne.hash,search:(0,c.stringify)(Object.assign(Object.assign({},C),k),W)||"?"},{replace:D==="replace",state:ne.state})};return[X,(0,l.Z)(O)]};function x(U){var T=U.pageState,N=U.onInitPageState,Z=U.onPageDidMount,D=U.onPageWillUnmount,L=w({},{navigateMode:"replace"}),j=s()(L,2),G=j[0],W=j[1];(0,n.useEffect)(function(){if(N){var ne={};try{ne=G.pageState?JSON.parse(G.pageState):{}}catch(_){console.error("get urlPageState error: ",_)}N(ne,G)}return Z&&Z(G),function(){D&&D()}},[]),(0,n.useEffect)(function(){W(t()(t()({},G),{},{pageState:JSON.stringify(T)}))},[T])}function z(){var U=(0,n.useState)(window.innerWidth),T=s()(U,2),N=T[0],Z=T[1],D=(0,n.useState)(window.innerHeight),L=s()(D,2),j=L[0],G=L[1],W=function(){Z(window.innerWidth),G(window.innerHeight)};return(0,n.useEffect)(function(){return window.addEventListener("resize",W),function(){window.removeEventListener("resize",W)}},[]),{width:N,height:j}}},41260:function(b,y,e){"use strict";e.d(y,{O:function(){return t},p:function(){return a}});var a=function(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Math.floor(s*Math.pow(10,n))/Math.pow(10,n)},t=function(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Number(s.toFixed(n))}},45060:function(b,y,e){"use strict";e.d(y,{Gf:function(){return m},XV:function(){return c},_q:function(){return S},pz:function(){return x}});var a=e(88479),t=e.n(a),o=e(24454),s=e.n(o),n=e(56592),d=e.n(n),l=e(41260);function c(U,T,N){var Z=new Date(U),D=Z.getFullYear(),L=(0,l.p)(Z.getMonth()+1),j=(0,l.p)(Z.getDate()),G=(0,l.p)(Z.getHours()),W=(0,l.p)(Z.getMinutes()),ne=(0,l.p)(Z.getSeconds()),_=(0,l.p)(Z.getMilliseconds(),3),ee="".concat(D,"_").concat(L,"_").concat(j,"_").concat(G,"_").concat(W,"_").concat(ne,"_").concat(_);return T&&(ee="".concat(T,"_").concat(ee)),N&&(ee="".concat(ee,".").concat(N)),ee}function m(U,T){var N=JSON.stringify(U),Z=new Blob([N],{type:"application/json"}),D=URL.createObjectURL(Z),L=document.createElement("a");L.href=D,L.download=T,document.body.appendChild(L),L.click(),document.body.removeChild(L),URL.revokeObjectURL(D)}var g=function(T){return new Promise(function(N,Z){var D=new Image;D.src=T,D.onload=function(){N(D)},D.onerror=function(){Z(D)}})};function M(U,T,N){return h.apply(this,arguments)}function h(){return h=d()(s()().mark(function U(T,N,Z){return s()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.abrupt("return",new Promise(function(j,G){if(T.isDirectory){var W=T.createReader();W.readEntries(function(){var ne=d()(s()().mark(function _(ee){var se;return s()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:se=0;case 1:if(!(se0)){se.next=25;break}G=t()(T.items),se.prev=7,G.s();case 9:if((W=G.n()).done){se.next=17;break}if(ne=W.value,_=ne.webkitGetAsEntry(),!(_!=null&&_.isDirectory)){se.next=15;break}return se.next=15,M(_,Z,N);case 15:se.next=9;break;case 17:se.next=22;break;case 19:se.prev=19,se.t0=se.catch(7),G.e(se.t0);case 22:return se.prev=22,G.f(),se.finish(22);case 25:return se.abrupt("return",Z);case 26:case"end":return se.stop()}},U,null,[[7,19,22,25]])})),w.apply(this,arguments)}function x(U){return z.apply(this,arguments)}function z(){return z=d()(s()().mark(function U(T){return s()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return Z.abrupt("return",new Promise(function(D,L){var j=new Image;j.src=T,j.onload=function(){var G=j.width,W=j.height;D({width:G,height:W})},j.onerror=function(){L(new Error("Load Image Error"))}}));case 1:case"end":return Z.stop()}},U)})),z.apply(this,arguments)}},53357:function(b,y,e){"use strict";e.d(y,{Og:function(){return o},_w:function(){return t},bU:function(){return s}});var a=e(97375),t=function(d){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,a.formatMessage)({id:d},l)},o=a.FormattedMessage,s=function(){var d=(0,a.useIntl)(),l=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return d.formatMessage({id:m},g)};return{localeText:l}}},23707:function(b,y,e){"use strict";e.d(y,{BQ:function(){return t},Oe:function(){return o},yS:function(){return s}});var a=e(97375),t=function(d){var l=new RegExp("(^|&)"+d+"=([^&]*)(&|$)","i"),c=window.location.search.substr(1).match(l);return c!==null?decodeURIComponent(c[2]):null},o=function(){var d=window.location.pathname.split("/");return d[d.length-1]},s=function(d){document.referrer.includes(d)?window.history.back():a.history.push(d)}},74324:function(b,y,e){"use strict";var a=e(88205).default,t=e(88479).default,o=e(16962).default,s=e(34485).default,n=e(75978),d=e(65140),l=e(96896),c=e(22475),m=function(L){return L==null};function g(D){switch(D.arrayFormat){case"index":return function(L){return function(j,G){var W=j.length;return G===void 0||D.skipNull&&G===null||D.skipEmptyString&&G===""?j:G===null?[].concat(s(j),[[S(L,D),"[",W,"]"].join("")]):[].concat(s(j),[[S(L,D),"[",S(W,D),"]=",S(G,D)].join("")])}};case"bracket":return function(L){return function(j,G){return G===void 0||D.skipNull&&G===null||D.skipEmptyString&&G===""?j:G===null?[].concat(s(j),[[S(L,D),"[]"].join("")]):[].concat(s(j),[[S(L,D),"[]=",S(G,D)].join("")])}};case"comma":case"separator":return function(L){return function(j,G){return G==null||G.length===0?j:j.length===0?[[S(L,D),"=",S(G,D)].join("")]:[[j,S(G,D)].join(D.arrayFormatSeparator)]}};default:return function(L){return function(j,G){return G===void 0||D.skipNull&&G===null||D.skipEmptyString&&G===""?j:G===null?[].concat(s(j),[S(L,D)]):[].concat(s(j),[[S(L,D),"=",S(G,D)].join("")])}}}}function M(D){var L;switch(D.arrayFormat){case"index":return function(j,G,W){if(L=/\[(\d*)\]$/.exec(j),j=j.replace(/\[\d*\]$/,""),!L){W[j]=G;return}W[j]===void 0&&(W[j]={}),W[j][L[1]]=G};case"bracket":return function(j,G,W){if(L=/(\[\])$/.exec(j),j=j.replace(/\[\]$/,""),!L){W[j]=G;return}if(W[j]===void 0){W[j]=[G];return}W[j]=[].concat(W[j],G)};case"comma":case"separator":return function(j,G,W){var ne=typeof G=="string"&&G.includes(D.arrayFormatSeparator),_=typeof G=="string"&&!ne&&w(G,D).includes(D.arrayFormatSeparator);G=_?w(G,D):G;var ee=ne||_?G.split(D.arrayFormatSeparator).map(function(se){return w(se,D)}):G===null?G:w(G,D);W[j]=ee};default:return function(j,G,W){if(W[j]===void 0){W[j]=G;return}W[j]=[].concat(W[j],G)}}}function h(D){if(typeof D!="string"||D.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function S(D,L){return L.encode?L.strict?n(D):encodeURIComponent(D):D}function w(D,L){return L.decode?d(D):D}function x(D){return Array.isArray(D)?D.sort():o(D)==="object"?x(Object.keys(D)).sort(function(L,j){return Number(L)-Number(j)}).map(function(L){return D[L]}):D}function z(D){var L=D.indexOf("#");return L!==-1&&(D=D.slice(0,L)),D}function U(D){var L="",j=D.indexOf("#");return j!==-1&&(L=D.slice(j)),L}function T(D){D=z(D);var L=D.indexOf("?");return L===-1?"":D.slice(L+1)}function N(D,L){return L.parseNumbers&&!Number.isNaN(Number(D))&&typeof D=="string"&&D.trim()!==""?D=Number(D):L.parseBooleans&&D!==null&&(D.toLowerCase()==="true"||D.toLowerCase()==="false")&&(D=D.toLowerCase()==="true"),D}function Z(D,L){L=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},L),h(L.arrayFormatSeparator);var j=M(L),G=Object.create(null);if(typeof D!="string"||(D=D.trim().replace(/^[?#&]/,""),!D))return G;var W=t(D.split("&")),ne;try{for(W.s();!(ne=W.n()).done;){var _=ne.value;if(_!==""){var ee=l(L.decode?_.replace(/\+/g," "):_,"="),se=a(ee,2),Q=se[0],C=se[1];C=C===void 0?null:["comma","separator"].includes(L.arrayFormat)?C:w(C,L),j(w(Q,L),C,G)}}}catch(me){W.e(me)}finally{W.f()}for(var X=0,O=Object.keys(G);X0}).join("&")},y.parseUrl=function(D,L){L=Object.assign({decode:!0},L);var j=l(D,"#"),G=a(j,2),W=G[0],ne=G[1];return Object.assign({url:W.split("?")[0]||"",query:Z(T(D),L)},L&&L.parseFragmentIdentifier&&ne?{fragmentIdentifier:w(ne,L)}:{})},y.stringifyUrl=function(D,L){L=Object.assign({encode:!0,strict:!0},L);var j=z(D.url).split("?")[0]||"",G=y.extract(D.url),W=y.parse(G,{sort:!1}),ne=Object.assign(W,D.query),_=y.stringify(ne,L);_&&(_="?".concat(_));var ee=U(D.url);return D.fragmentIdentifier&&(ee="#".concat(S(D.fragmentIdentifier,L))),"".concat(j).concat(_).concat(ee)},y.pick=function(D,L,j){j=Object.assign({parseFragmentIdentifier:!0},j);var G=y.parseUrl(D,j),W=G.url,ne=G.query,_=G.fragmentIdentifier;return y.stringifyUrl({url:W,query:c(ne,L),fragmentIdentifier:_},j)},y.exclude=function(D,L,j){var G=Array.isArray(L)?function(W){return!L.includes(W)}:function(W,ne){return!L(W,ne)};return y.pick(D,G,j)}},96896:function(b){"use strict";b.exports=function(y,e){if(!(typeof y=="string"&&typeof e=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e==="")return[y];var a=y.indexOf(e);return a===-1?[y]:[y.slice(0,a),y.slice(a+e.length)]}},75978:function(b){"use strict";b.exports=function(y){return encodeURIComponent(y).replace(/[!'()*]/g,function(e){return"%".concat(e.charCodeAt(0).toString(16).toUpperCase())})}},60581:function(b,y,e){"use strict";e.d(y,{Il:function(){return o},Ov:function(){return s}});var a=e(58757),t=null,o=a.createContext({});function s(){return a.useContext(o)}function n(){var m=useLocation(),g=s(),M=g.clientRoutes,h=matchRoutes(M,m.pathname);return h||[]}function d(){var m,g=n().slice(-1),M=((m=g[0])===null||m===void 0?void 0:m.route)||{},h=M.element,S=_objectWithoutProperties(M,t);return S}function l(){var m=useRouteData(),g=s();return{data:g.serverLoaderData[m.route.id]}}function c(){var m=useRouteData(),g=s();return{data:g.clientLoaderData[m.route.id]}}},21325:function(b,y,e){"use strict";var a=e(23671),t=e(68716),o=e(8851);function s(n,d,l){l===void 0&&(l={});var c=(0,a.Z)(d);(0,o.Z)(function(){var m=(0,t.n)(l.target,window);if(m!=null&&m.addEventListener){var g=function(M){return c.current(M)};return m.addEventListener(n,g,{capture:l.capture,once:l.once,passive:l.passive}),function(){m.removeEventListener(n,g,{capture:l.capture})}}},[n,l.capture,l.once,l.passive],l.target)}y.Z=s},2556:function(b,y,e){"use strict";e.d(y,{Z:function(){return D}});var a=e(43112),t=e(23671),o=e(53807),s=e(68716),n=e(58757),d=e(8851),l=e(85466),c=e.n(l),m=function(L,j){return L===void 0&&(L=[]),j===void 0&&(j=[]),c()(L,j)},g=function(L,j,G){var W=(0,n.useRef)(),ne=(0,n.useRef)(0);m(j,W.current)||(W.current=j,ne.current+=1),(0,d.Z)(L,[ne.current],G)},M=g,h=/(mac|iphone|ipod|ipad)/i.test(typeof navigator!="undefined"?navigator==null?void 0:navigator.platform:""),S=h,w={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,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,leftwindowkey:91,rightwindowkey:92,meta:S?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide: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,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},x={ctrl:function(L){return L.ctrlKey},shift:function(L){return L.shiftKey},alt:function(L){return L.altKey},meta:function(L){return L.type==="keyup"?w.meta.includes(L.keyCode):L.metaKey}};function z(L){var j=Object.keys(x).reduce(function(G,W){return x[W](L)?G+1:G},0);return[16,17,18,91,92].includes(L.keyCode)?j:j+1}function U(L,j,G){var W,ne;if(!L.key)return!1;if((0,o.hj)(j))return L.keyCode===j;var _=j.split("."),ee=0;try{for(var se=(0,a.XA)(_),Q=se.next();!Q.done;Q=se.next()){var C=Q.value,X=x[C],O=w[C.toLowerCase()];(X&&X(L)||O&&O===L.keyCode)&&ee++}}catch(H){W={error:H}}finally{try{Q&&!Q.done&&(ne=se.return)&&ne.call(se)}finally{if(W)throw W.error}}return G?ee===_.length&&z(L)===_.length:ee===_.length}function T(L,j){return(0,o.mf)(L)?L:(0,o.HD)(L)||(0,o.hj)(L)?function(G){return U(G,L,j)}:Array.isArray(L)?function(G){return L.some(function(W){return U(G,W,j)})}:function(){return!!L}}var N=["keydown"];function Z(L,j,G){var W=G||{},ne=W.events,_=ne===void 0?N:ne,ee=W.target,se=W.exactMatch,Q=se===void 0?!1:se,C=W.useCapture,X=C===void 0?!1:C,O=(0,t.Z)(j),H=(0,t.Z)(L);M(function(){var k,A,Y,de=(0,s.n)(ee,window);if(de){var me=function(Je){var qe,Xe=T(H.current,Q);if(Xe(Je))return(qe=O.current)===null||qe===void 0?void 0:qe.call(O,Je)};try{for(var ve=(0,a.XA)(_),be=ve.next();!be.done;be=ve.next()){var Pe=be.value;(Y=de==null?void 0:de.addEventListener)===null||Y===void 0||Y.call(de,Pe,me,X)}}catch(Je){k={error:Je}}finally{try{be&&!be.done&&(A=ve.return)&&A.call(ve)}finally{if(k)throw k.error}}return function(){var Je,qe,Xe;try{for(var mt=(0,a.XA)(_),Ct=mt.next();!Ct.done;Ct=mt.next()){var vt=Ct.value;(Xe=de==null?void 0:de.removeEventListener)===null||Xe===void 0||Xe.call(de,vt,me,X)}}catch(Ht){Je={error:Ht}}finally{try{Ct&&!Ct.done&&(qe=mt.return)&&qe.call(mt)}finally{if(Je)throw Je.error}}}}},[_],ee)}var D=Z},23671:function(b,y,e){"use strict";var a=e(58757);function t(o){var s=(0,a.useRef)(o);return s.current=o,s}y.Z=t},51129:function(b,y,e){"use strict";var a=e(58757),t=e(53807),o=e(8182);function s(n){o.Z&&((0,t.mf)(n)||console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof n)));var d=(0,a.useRef)(n);d.current=(0,a.useMemo)(function(){return n},[n]);var l=(0,a.useRef)();return l.current||(l.current=function(){for(var c=[],m=0;m-1&&(q=setTimeout(function(){M.delete(Se)},$e)),M.set(Se,(0,a.pi)((0,a.pi)({},re),{timer:q}))},S=function(Se){return M.get(Se)},w=function(Se){if(Se){var $e=Array.isArray(Se)?Se:[Se];$e.forEach(function(re){return M.delete(re)})}else M.clear()},x=new Map,z=function(Se){return x.get(Se)},U=function(Se,$e){x.set(Se,$e),$e.then(function(re){return x.delete(Se),re}).catch(function(){x.delete(Se)})},T={},N=function(Se,$e){T[Se]&&T[Se].forEach(function(re){return re($e)})},Z=function(Se,$e){return T[Se]||(T[Se]=[]),T[Se].push($e),function(){var oe=T[Se].indexOf($e);T[Se].splice(oe,1)}},D=function(Se,$e){var re=$e.cacheKey,oe=$e.cacheTime,q=oe===void 0?5*60*1e3:oe,ue=$e.staleTime,Ee=ue===void 0?0:ue,le=$e.setCache,Ne=$e.getCache,Ae=(0,t.useRef)(),we=(0,t.useRef)(),Re=function(nt,_e){le?le(_e):h(nt,q,_e),N(nt,_e.data)},st=function(nt,_e){return _e===void 0&&(_e=[]),Ne?Ne(_e):S(nt)};return m(function(){if(re){var nt=st(re);nt&&Object.hasOwnProperty.call(nt,"data")&&(Se.state.data=nt.data,Se.state.params=nt.params,(Ee===-1||new Date().getTime()-nt.time<=Ee)&&(Se.state.loading=!1)),Ae.current=Z(re,function(_e){Se.setState({data:_e})})}},[]),(0,g.Z)(function(){var nt;(nt=Ae.current)===null||nt===void 0||nt.call(Ae)}),re?{onBefore:function(nt){var _e=st(re,nt);return!_e||!Object.hasOwnProperty.call(_e,"data")?{}:Ee===-1||new Date().getTime()-_e.time<=Ee?{loading:!1,data:_e==null?void 0:_e.data,error:void 0,returnNow:!0}:{data:_e==null?void 0:_e.data,error:void 0}},onRequest:function(nt,_e){var We=z(re);return We&&We!==we.current?{servicePromise:We}:(We=nt.apply(void 0,(0,a.ev)([],(0,a.CR)(_e),!1)),we.current=We,U(re,We),{servicePromise:We})},onSuccess:function(nt,_e){var We;re&&((We=Ae.current)===null||We===void 0||We.call(Ae),Re(re,{data:nt,params:_e,time:new Date().getTime()}),Ae.current=Z(re,function(Be){Se.setState({data:Be})}))},onMutate:function(nt){var _e;re&&((_e=Ae.current)===null||_e===void 0||_e.call(Ae),Re(re,{data:nt,params:Se.state.params,time:new Date().getTime()}),Ae.current=Z(re,function(We){Se.setState({data:We})}))}}:{}},L=D,j=e(77837),G=e.n(j),W=function(Se,$e){var re=$e.debounceWait,oe=$e.debounceLeading,q=$e.debounceTrailing,ue=$e.debounceMaxWait,Ee=(0,t.useRef)(),le=(0,t.useMemo)(function(){var Ne={};return oe!==void 0&&(Ne.leading=oe),q!==void 0&&(Ne.trailing=q),ue!==void 0&&(Ne.maxWait=ue),Ne},[oe,q,ue]);return(0,t.useEffect)(function(){if(re){var Ne=Se.runAsync.bind(Se);return Ee.current=G()(function(Ae){Ae()},re,le),Se.runAsync=function(){for(var Ae=[],we=0;we-1&&me.splice(re,1)}}if(se.Z){var be=function(){if(!(!Q()||!de()))for(var Se=0;Se{const{type:c,children:m,prefixCls:g,buttonProps:M,close:h,autoFocus:S,emitEvent:w,isSilent:x,quitOnNullishReturnValue:z,actionFn:U}=l,T=t.useRef(!1),N=t.useRef(null),[Z,D]=(0,a.Z)(!1),L=function(){h==null||h.apply(void 0,arguments)};t.useEffect(()=>{let W=null;return S&&(W=setTimeout(()=>{var ne;(ne=N.current)===null||ne===void 0||ne.focus()})),()=>{W&&clearTimeout(W)}},[]);const j=W=>{n(W)&&(D(!0),W.then(function(){D(!1,!0),L.apply(void 0,arguments),T.current=!1},ne=>{if(D(!1,!0),T.current=!1,!(x!=null&&x()))return Promise.reject(ne)}))},G=W=>{if(T.current)return;if(T.current=!0,!U){L();return}let ne;if(w){if(ne=U(W),z&&!n(ne)){T.current=!1,L(W);return}}else if(U.length)ne=U(h),T.current=!1;else if(ne=U(),!ne){L();return}j(ne)};return t.createElement(o.ZP,Object.assign({},(0,s.n)(c),{onClick:G,loading:Z,prefixCls:g},M,{ref:N}),m)};y.Z=d},15018:function(b,y,e){"use strict";e.d(y,{Z:function(){return d},i:function(){return n}});var a=e(60409),t=e(58757),o=e(42505),s=e(61836);function n(l){return function(m){return t.createElement(o.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},t.createElement(l,Object.assign({},m)))}}function d(l,c,m,g){function M(h){const{prefixCls:S,style:w}=h,x=t.useRef(null),[z,U]=t.useState(0),[T,N]=t.useState(0),[Z,D]=(0,a.Z)(!1,{value:h.open}),{getPrefixCls:L}=t.useContext(s.E_),j=L(c||"select",S);t.useEffect(()=>{if(D(!0),typeof ResizeObserver!="undefined"){const W=new ResizeObserver(_=>{const ee=_[0].target;U(ee.offsetHeight+8),N(ee.offsetWidth)}),ne=setInterval(()=>{var _;const ee=m?`.${m(j)}`:`.${j}-dropdown`,se=(_=x.current)===null||_===void 0?void 0:_.querySelector(ee);se&&(clearInterval(ne),W.observe(se))},10);return()=>{clearInterval(ne),W.disconnect()}}},[]);let G=Object.assign(Object.assign({},h),{style:Object.assign(Object.assign({},w),{margin:0}),open:Z,visible:Z,getPopupContainer:()=>x.current});return g&&(G=g(G)),t.createElement("div",{ref:x,style:{paddingBottom:z,position:"relative",minWidth:T}},t.createElement(l,Object.assign({},G)))}return n(M)}},1878:function(b,y,e){"use strict";e.d(y,{o2:function(){return n},yT:function(){return d}});var a=e(29140),t=e(34966);const o=t.i.map(l=>`${l}-inverse`),s=["success","processing","error","default","warning"];function n(l){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,a.Z)(o),(0,a.Z)(t.i)).includes(l):t.i.includes(l)}function d(l){return s.includes(l)}},44818:function(b,y){"use strict";function e(){const a=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const n=o[s];n!==void 0&&(a[s]=n)})}return a}y.Z=e},99836:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});const a=t=>t?typeof t=="function"?t():t:null},88858:function(b,y,e){"use strict";e.d(y,{Z:function(){return s}});var a=e(52495),t=e(58757);function o(n,d,l){return typeof n=="boolean"?n:d===void 0?!!l:d!==!1&&d!==null}function s(n,d,l){let c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:t.createElement(a.Z,null),m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!o(n,d,m))return[!1,null];const M=typeof d=="boolean"||d===void 0||d===null?c:d;return[!0,l?l(M):M]}},69387:function(b,y,e){"use strict";var a=e(58757),t=e(32792);y.Z=()=>{const[o,s]=a.useState(!1);return a.useEffect(()=>{s((0,t.fk)())},[]),o}},4459:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(58757);function t(){const[,o]=a.useReducer(s=>s+1,0);return o}},90881:function(b,y,e){"use strict";e.d(y,{m:function(){return l}});const a=()=>({height:0,opacity:0}),t=c=>{const{scrollHeight:m}=c;return{height:m,opacity:1}},o=c=>({height:c?c.offsetHeight:0}),s=(c,m)=>(m==null?void 0:m.deadline)===!0||m.propertyName==="height",n=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:a,onEnterStart:a,onAppearActive:t,onEnterActive:t,onLeaveStart:o,onLeaveActive:a,onAppearEnd:s,onEnterEnd:s,onLeaveEnd:s,motionDeadline:500}},d=null,l=(c,m,g)=>g!==void 0?g:`${c}-${m}`;y.Z=n},95446:function(b,y,e){"use strict";e.d(y,{Z:function(){return d}});var a=e(24542);function t(l,c,m,g){if(g===!1)return{adjustX:!1,adjustY:!1};const M=g&&typeof g=="object"?g:{},h={};switch(l){case"top":case"bottom":h.shiftX=c.dropdownArrowOffset*2+m;break;case"left":case"right":h.shiftY=c.dropdownArrowOffsetVertical*2+m;break}const S=Object.assign(Object.assign({},h),M);return S.shiftX||(S.adjustX=!0),S.shiftY||(S.adjustY=!0),S}const o={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},s={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},n=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function d(l){const{arrowWidth:c,autoAdjustOverflow:m,arrowPointAtCenter:g,offset:M,borderRadius:h,visibleFirst:S}=l,w=c/2,x={};return Object.keys(o).forEach(z=>{const U=g&&s[z]||o[z],T=Object.assign(Object.assign({},U),{offset:[0,0]});switch(x[z]=T,n.has(z)&&(T.autoArrow=!1),z){case"top":case"topLeft":case"topRight":T.offset[1]=-w-M;break;case"bottom":case"bottomLeft":case"bottomRight":T.offset[1]=w+M;break;case"left":case"leftTop":case"leftBottom":T.offset[0]=-w-M;break;case"right":case"rightTop":case"rightBottom":T.offset[0]=w+M;break}const N=(0,a.fS)({contentRadius:h,limitVerticalRadius:!0});if(g)switch(z){case"topLeft":case"bottomLeft":T.offset[0]=-N.dropdownArrowOffset-w;break;case"topRight":case"bottomRight":T.offset[0]=N.dropdownArrowOffset+w;break;case"leftTop":case"rightTop":T.offset[1]=-N.dropdownArrowOffset-w;break;case"leftBottom":case"rightBottom":T.offset[1]=N.dropdownArrowOffset+w;break}T.overflow=t(z,N,c,m),S&&(T.htmlRegion="visibleFirst")}),x}},37047:function(b,y,e){"use strict";var a;e.d(y,{M2:function(){return s},Tm:function(){return d},l$:function(){return o},wm:function(){return n}});var t=e(58757);const{isValidElement:o}=a||(a=e.t(t,2));function s(l){return l&&o(l)&&l.type===t.Fragment}function n(l,c,m){return o(l)?t.cloneElement(l,typeof m=="function"?m(l.props||{}):m):c}function d(l,c){return n(l,l,c)}},87078:function(b,y,e){"use strict";e.d(y,{Z:function(){return d},c:function(){return o}});var a=e(58757),t=e(51806);const o=["xxl","xl","lg","md","sm","xs"],s=l=>({xs:`(max-width: ${l.screenXSMax}px)`,sm:`(min-width: ${l.screenSM}px)`,md:`(min-width: ${l.screenMD}px)`,lg:`(min-width: ${l.screenLG}px)`,xl:`(min-width: ${l.screenXL}px)`,xxl:`(min-width: ${l.screenXXL}px)`}),n=l=>{const c=l,m=[].concat(o).reverse();return m.forEach((g,M)=>{const h=g.toUpperCase(),S=`screen${h}Min`,w=`screen${h}`;if(!(c[S]<=c[w]))throw new Error(`${S}<=${w} fails : !(${c[S]}<=${c[w]})`);if(M{const m=new Map;let g=-1,M={};return{matchHandlers:{},dispatch(h){return M=h,m.forEach(S=>S(M)),m.size>=1},subscribe(h){return m.size||this.register(),g+=1,m.set(g,h),h(M),g},unsubscribe(h){m.delete(h),m.size||this.unregister()},unregister(){Object.keys(c).forEach(h=>{const S=c[h],w=this.matchHandlers[S];w==null||w.mql.removeListener(w==null?void 0:w.listener)}),m.clear()},register(){Object.keys(c).forEach(h=>{const S=c[h],w=z=>{let{matches:U}=z;this.dispatch(Object.assign(Object.assign({},M),{[h]:U}))},x=window.matchMedia(S);x.addListener(w),this.matchHandlers[S]={mql:x,listener:w},w(x)})},responsiveMap:c}},[l])}},41496:function(b,y,e){"use strict";e.d(y,{F:function(){return n},Z:function(){return s}});var a=e(87608),t=e.n(a);const o=null;function s(d,l,c){return t()({[`${d}-status-success`]:l==="success",[`${d}-status-warning`]:l==="warning",[`${d}-status-error`]:l==="error",[`${d}-status-validating`]:l==="validating",[`${d}-has-feedback`]:c})}const n=(d,l)=>l||d},32792:function(b,y,e){"use strict";e.d(y,{fk:function(){return s},jD:function(){return t}});var a=e(19075);const t=()=>(0,a.Z)()&&window.document.documentElement;let o;const s=()=>{if(!t())return!1;if(o!==void 0)return o;const n=document.createElement("div");n.style.display="flex",n.style.flexDirection="column",n.style.rowGap="1px",n.appendChild(document.createElement("div")),n.appendChild(document.createElement("div"));const d=document.createElement("div");return d.style.position="absolute",d.style.zIndex="-9999",d.appendChild(n),document.body.appendChild(d),o=n.scrollHeight===1,document.body.removeChild(d),o}},37486:function(b,y,e){"use strict";e.d(y,{Z:function(){return ne}});var a=e(87608),t=e.n(a),o=e(21319),s=e(46499),n=e(58757),d=e(61836),l=e(37047),c=e(52628);const m=_=>{const{componentCls:ee,colorPrimary:se}=_;return{[ee]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${se})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${_.motionEaseOutCirc}`,`opacity 2s ${_.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${_.motionEaseInOut}`,`opacity 0.35s ${_.motionEaseInOut}`].join(",")}}}}};var g=(0,c.Z)("Wave",_=>[m(_)]),M=e(51729),h=e(61834),S=e(17598),w=e(52323);function x(_){const ee=(_||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return ee&&ee[1]&&ee[2]&&ee[3]?!(ee[1]===ee[2]&&ee[2]===ee[3]):!0}function z(_){return _&&_!=="#fff"&&_!=="#ffffff"&&_!=="rgb(255, 255, 255)"&&_!=="rgba(255, 255, 255, 1)"&&x(_)&&!/rgba\((?:\d*, ){3}0\)/.test(_)&&_!=="transparent"}function U(_){const{borderTopColor:ee,borderColor:se,backgroundColor:Q}=getComputedStyle(_);return z(ee)?ee:z(se)?se:z(Q)?Q:null}var T=e(78856);function N(_){return Number.isNaN(_)?0:_}const Z=_=>{const{className:ee,target:se,component:Q}=_,C=n.useRef(null),[X,O]=n.useState(null),[H,k]=n.useState([]),[A,Y]=n.useState(0),[de,me]=n.useState(0),[ve,be]=n.useState(0),[Pe,Je]=n.useState(0),[qe,Xe]=n.useState(!1),mt={left:A,top:de,width:ve,height:Pe,borderRadius:H.map(Ht=>`${Ht}px`).join(" ")};X&&(mt["--wave-color"]=X);function Ct(){const Ht=getComputedStyle(se);O(U(se));const ke=Ht.position==="static",{borderLeftWidth:Ve,borderTopWidth:ot}=Ht;Y(ke?se.offsetLeft:N(-parseFloat(Ve))),me(ke?se.offsetTop:N(-parseFloat(ot))),be(se.offsetWidth),Je(se.offsetHeight);const{borderTopLeftRadius:Ke,borderTopRightRadius:he,borderBottomLeftRadius:J,borderBottomRightRadius:V}=Ht;k([Ke,he,V,J].map(R=>N(parseFloat(R))))}if(n.useEffect(()=>{if(se){const Ht=(0,h.Z)(()=>{Ct(),Xe(!0)});let ke;return typeof ResizeObserver!="undefined"&&(ke=new ResizeObserver(Ct),ke.observe(se)),()=>{h.Z.cancel(Ht),ke==null||ke.disconnect()}}},[]),!qe)return null;const vt=(Q==="Checkbox"||Q==="Radio")&&(se==null?void 0:se.classList.contains(T.A));return n.createElement(S.ZP,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(Ht,ke)=>{var Ve;if(ke.deadline||ke.propertyName==="opacity"){const ot=(Ve=C.current)===null||Ve===void 0?void 0:Ve.parentElement;(0,w.v)(ot).then(()=>{ot==null||ot.remove()})}return!1}},Ht=>{let{className:ke}=Ht;return n.createElement("div",{ref:C,className:t()(ee,{"wave-quick":vt},ke),style:mt})})};var L=(_,ee)=>{var se;const{component:Q}=ee;if(Q==="Checkbox"&&!(!((se=_.querySelector("input"))===null||se===void 0)&&se.checked))return;const C=document.createElement("div");C.style.position="absolute",C.style.left="0px",C.style.top="0px",_==null||_.insertBefore(C,_==null?void 0:_.firstChild),(0,w.s)(n.createElement(Z,Object.assign({},ee,{target:_})),C)},j=e(51806);function G(_,ee,se){const{wave:Q}=n.useContext(d.E_),[,C,X]=(0,j.Z)(),O=(0,M.Z)(A=>{const Y=_.current;if(Q!=null&&Q.disabled||!Y)return;const de=Y.querySelector(`.${T.A}`)||Y,{showEffect:me}=Q||{};(me||L)(de,{className:ee,token:C,component:se,event:A,hashId:X})}),H=n.useRef();return A=>{h.Z.cancel(H.current),H.current=(0,h.Z)(()=>{O(A)})}}var ne=_=>{const{children:ee,disabled:se,component:Q}=_,{getPrefixCls:C}=(0,n.useContext)(d.E_),X=(0,n.useRef)(null),O=C("wave"),[,H]=g(O),k=G(X,t()(O,H),Q);if(n.useEffect(()=>{const Y=X.current;if(!Y||Y.nodeType!==1||se)return;const de=me=>{!(0,s.Z)(me.target)||!Y.getAttribute||Y.getAttribute("disabled")||Y.disabled||Y.className.includes("disabled")||Y.className.includes("-leave")||k(me)};return Y.addEventListener("click",de,!0),()=>{Y.removeEventListener("click",de,!0)}},[se]),!n.isValidElement(ee))return ee!=null?ee:null;const A=(0,o.Yr)(ee)?(0,o.sQ)(ee.ref,X):X;return(0,l.Tm)(ee,{ref:A})}},78856:function(b,y,e){"use strict";e.d(y,{A:function(){return a}});const a="ant-wave-target"},15618:function(b,y,e){"use strict";e.d(y,{Z:function(){return k}});var a=e(85678),t=e(79999),o=e(52495),s=e(69831),n=e(33064),d=e(87608),l=e.n(d),c=e(17598),m=e(33926),g=e(58757),M=e(37047),h=e(61836),S=e(78330),w=e(52628),x=e(22151);const z=(A,Y,de,me,ve)=>({backgroundColor:A,border:`${me.lineWidth}px ${me.lineType} ${Y}`,[`${ve}-icon`]:{color:de}}),U=A=>{const{componentCls:Y,motionDurationSlow:de,marginXS:me,marginSM:ve,fontSize:be,fontSizeLG:Pe,lineHeight:Je,borderRadiusLG:qe,motionEaseInOutCirc:Xe,alertIconSizeLG:mt,colorText:Ct,paddingContentVerticalSM:vt,alertPaddingHorizontal:Ht,paddingMD:ke,paddingContentHorizontalLG:Ve,colorTextHeading:ot}=A;return{[Y]:Object.assign(Object.assign({},(0,S.Wf)(A)),{position:"relative",display:"flex",alignItems:"center",padding:`${vt}px ${Ht}px`,wordWrap:"break-word",borderRadius:qe,[`&${Y}-rtl`]:{direction:"rtl"},[`${Y}-content`]:{flex:1,minWidth:0},[`${Y}-icon`]:{marginInlineEnd:me,lineHeight:0},["&-description"]:{display:"none",fontSize:be,lineHeight:Je},"&-message":{color:Ct},[`&${Y}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${de} ${Xe}, opacity ${de} ${Xe}, + padding-top ${de} ${Xe}, padding-bottom ${de} ${Xe}, + margin-bottom ${de} ${Xe}`},[`&${Y}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${Y}-with-description`]:{alignItems:"flex-start",paddingInline:Ve,paddingBlock:ke,[`${Y}-icon`]:{marginInlineEnd:ve,fontSize:mt,lineHeight:0},[`${Y}-message`]:{display:"block",marginBottom:me,color:ot,fontSize:Pe},[`${Y}-description`]:{display:"block"}},[`${Y}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},T=A=>{const{componentCls:Y,colorSuccess:de,colorSuccessBorder:me,colorSuccessBg:ve,colorWarning:be,colorWarningBorder:Pe,colorWarningBg:Je,colorError:qe,colorErrorBorder:Xe,colorErrorBg:mt,colorInfo:Ct,colorInfoBorder:vt,colorInfoBg:Ht}=A;return{[Y]:{"&-success":z(ve,me,de,A,Y),"&-info":z(Ht,vt,Ct,A,Y),"&-warning":z(Je,Pe,be,A,Y),"&-error":Object.assign(Object.assign({},z(mt,Xe,qe,A,Y)),{[`${Y}-description > pre`]:{margin:0,padding:0}})}}},N=A=>{const{componentCls:Y,iconCls:de,motionDurationMid:me,marginXS:ve,fontSizeIcon:be,colorIcon:Pe,colorIconHover:Je}=A;return{[Y]:{["&-action"]:{marginInlineStart:ve},[`${Y}-close-icon`]:{marginInlineStart:ve,padding:0,overflow:"hidden",fontSize:be,lineHeight:`${be}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${de}-close`]:{color:Pe,transition:`color ${me}`,"&:hover":{color:Je}}},"&-close-text":{color:Pe,transition:`color ${me}`,"&:hover":{color:Je}}}}},Z=A=>[U(A),T(A),N(A)];var D=(0,w.Z)("Alert",A=>{const{fontSizeHeading3:Y}=A,de=(0,x.TS)(A,{alertIconSizeLG:Y,alertPaddingHorizontal:12});return[Z(de)]}),L=function(A,Y){var de={};for(var me in A)Object.prototype.hasOwnProperty.call(A,me)&&Y.indexOf(me)<0&&(de[me]=A[me]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,me=Object.getOwnPropertySymbols(A);ve{const{icon:Y,prefixCls:de,type:me}=A,ve=j[me]||null;return Y?(0,M.wm)(Y,g.createElement("span",{className:`${de}-icon`},Y),()=>({className:l()(`${de}-icon`,{[Y.props.className]:Y.props.className})})):g.createElement(ve,{className:`${de}-icon`})},W=A=>{const{isClosable:Y,prefixCls:de,closeIcon:me,handleClose:ve}=A,be=me===!0||me===void 0?g.createElement(o.Z,null):me;return Y?g.createElement("button",{type:"button",onClick:ve,className:`${de}-close-icon`,tabIndex:0},be):null};var _=A=>{const{description:Y,prefixCls:de,message:me,banner:ve,className:be,rootClassName:Pe,style:Je,onMouseEnter:qe,onMouseLeave:Xe,onClick:mt,afterClose:Ct,showIcon:vt,closable:Ht,closeText:ke,closeIcon:Ve,action:ot}=A,Ke=L(A,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[he,J]=g.useState(!1),V=g.useRef(null),{getPrefixCls:R,direction:P,alert:B}=g.useContext(h.E_),ge=R("alert",de),[ie,pe]=D(ge),Oe=q=>{var ue;J(!0),(ue=A.onClose)===null||ue===void 0||ue.call(A,q)},xe=g.useMemo(()=>A.type!==void 0?A.type:ve?"warning":"info",[A.type,ve]),Se=g.useMemo(()=>ke?!0:typeof Ht=="boolean"?Ht:Ve!==!1&&Ve!==null&&Ve!==void 0,[ke,Ve,Ht]),$e=ve&&vt===void 0?!0:vt,re=l()(ge,`${ge}-${xe}`,{[`${ge}-with-description`]:!!Y,[`${ge}-no-icon`]:!$e,[`${ge}-banner`]:!!ve,[`${ge}-rtl`]:P==="rtl"},B==null?void 0:B.className,be,Pe,pe),oe=(0,m.Z)(Ke,{aria:!0,data:!0});return ie(g.createElement(c.ZP,{visible:!he,motionName:`${ge}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:q=>({maxHeight:q.offsetHeight}),onLeaveEnd:Ct},q=>{let{className:ue,style:Ee}=q;return g.createElement("div",Object.assign({ref:V,"data-show":!he,className:l()(re,ue),style:Object.assign(Object.assign(Object.assign({},B==null?void 0:B.style),Je),Ee),onMouseEnter:qe,onMouseLeave:Xe,onClick:mt,role:"alert"},oe),$e?g.createElement(G,{description:Y,icon:A.icon,prefixCls:ge,type:xe}):null,g.createElement("div",{className:`${ge}-content`},me?g.createElement("div",{className:`${ge}-message`},me):null,Y?g.createElement("div",{className:`${ge}-description`},Y):null),ot?g.createElement("div",{className:`${ge}-action`},ot):null,g.createElement(W,{isClosable:Se,prefixCls:ge,closeIcon:ke||Ve,handleClose:Oe}))}))},ee=e(60412),se=e(14346),Q=e(87498),C=e(73726),O=function(A){(0,Q.Z)(de,A);var Y=(0,C.Z)(de);function de(){var me;return(0,ee.Z)(this,de),me=Y.apply(this,arguments),me.state={error:void 0,info:{componentStack:""}},me}return(0,se.Z)(de,[{key:"componentDidCatch",value:function(ve,be){this.setState({error:ve,info:be})}},{key:"render",value:function(){const{message:ve,description:be,children:Pe}=this.props,{error:Je,info:qe}=this.state,Xe=qe&&qe.componentStack?qe.componentStack:null,mt=typeof ve=="undefined"?(Je||"").toString():ve,Ct=typeof be=="undefined"?Xe:be;return Je?g.createElement(_,{type:"error",message:mt,description:g.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},Ct)}):Pe}}]),de}(g.Component);const H=_;H.ErrorBoundary=O;var k=H},70921:function(b,y,e){"use strict";e.d(y,{n:function(){return re},Z:function(){return Ee}});var a=e(87608),t=e.n(a),o=e(98186),s=e(21319),n=e(58757),d=e(37486),l=e(61836),c=e(92428),m=e(58785),g=e(43528),h=(0,n.forwardRef)((le,Ne)=>{const{className:Ae,style:we,children:Re,prefixCls:st}=le,nt=t()(`${st}-icon`,Ae);return n.createElement("span",{ref:Ne,className:nt,style:we},Re)}),S=e(25755),w=e(17598);const x=(0,n.forwardRef)((le,Ne)=>{let{prefixCls:Ae,className:we,style:Re,iconClassName:st}=le;const nt=t()(`${Ae}-loading-icon`,we);return n.createElement(h,{prefixCls:Ae,className:nt,style:Re,ref:Ne},n.createElement(S.Z,{className:st}))}),z=()=>({width:0,opacity:0,transform:"scale(0)"}),U=le=>({width:le.scrollWidth,opacity:1,transform:"scale(1)"});var N=le=>{const{prefixCls:Ne,loading:Ae,existIcon:we,className:Re,style:st}=le,nt=!!Ae;return we?n.createElement(x,{prefixCls:Ne,className:Re,style:st}):n.createElement(w.ZP,{visible:nt,motionName:`${Ne}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:z,onAppearActive:U,onEnterStart:z,onEnterActive:U,onLeaveStart:U,onLeaveActive:z},(_e,We)=>{let{className:Be,style:it}=_e;return n.createElement(x,{prefixCls:Ne,className:Re,style:Object.assign(Object.assign({},st),it),ref:We,iconClassName:Be})})},Z=e(51806),D=function(le,Ne){var Ae={};for(var we in le)Object.prototype.hasOwnProperty.call(le,we)&&Ne.indexOf(we)<0&&(Ae[we]=le[we]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,we=Object.getOwnPropertySymbols(le);Re{const{getPrefixCls:Ne,direction:Ae}=n.useContext(l.E_),{prefixCls:we,size:Re,className:st}=le,nt=D(le,["prefixCls","size","className"]),_e=Ne("btn-group",we),[,,We]=(0,Z.Z)();let Be="";switch(Re){case"large":Be="lg";break;case"small":Be="sm";break;case"middle":case void 0:break;default:}const it=t()(_e,{[`${_e}-${Be}`]:Be,[`${_e}-rtl`]:Ae==="rtl"},st,We);return n.createElement(L.Provider,{value:Re},n.createElement("div",Object.assign({},nt,{className:it})))},W=e(37047);const ne=/^[\u4e00-\u9fa5]{2}$/,_=ne.test.bind(ne);function ee(le){return typeof le=="string"}function se(le){return le==="text"||le==="link"}function Q(le,Ne){if(le==null)return;const Ae=Ne?" ":"";return typeof le!="string"&&typeof le!="number"&&ee(le.type)&&_(le.props.children)?(0,W.Tm)(le,{children:le.props.children.split("").join(Ae)}):ee(le)?_(le)?n.createElement("span",null,le.split("").join(Ae)):n.createElement("span",null,le):(0,W.M2)(le)?n.createElement("span",null,le):le}function C(le,Ne){let Ae=!1;const we=[];return n.Children.forEach(le,Re=>{const st=typeof Re,nt=st==="string"||st==="number";if(Ae&&nt){const _e=we.length-1,We=we[_e];we[_e]=`${We}${Re}`}else we.push(Re);Ae=nt}),n.Children.map(we,Re=>Q(Re,Ne))}const X=null,O=null,H=null;var k=e(78330),A=e(64493);function Y(le,Ne){return{[`&-item:not(${Ne}-last-item)`]:{marginBottom:-le.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function de(le,Ne){return{[`&-item:not(${Ne}-first-item):not(${Ne}-last-item)`]:{borderRadius:0},[`&-item${Ne}-first-item:not(${Ne}-last-item)`]:{[`&, &${le}-sm, &${le}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${Ne}-last-item:not(${Ne}-first-item)`]:{[`&, &${le}-sm, &${le}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function me(le){const Ne=`${le.componentCls}-compact-vertical`;return{[Ne]:Object.assign(Object.assign({},Y(le,Ne)),de(le.componentCls,Ne))}}var ve=e(22151),be=e(52628);const Pe=(le,Ne)=>({[`> span, > ${le}`]:{"&:not(:last-child)":{[`&, & > ${le}`]:{"&:not(:disabled)":{borderInlineEndColor:Ne}}},"&:not(:first-child)":{[`&, & > ${le}`]:{"&:not(:disabled)":{borderInlineStartColor:Ne}}}}});var qe=le=>{const{componentCls:Ne,fontSize:Ae,lineWidth:we,colorPrimaryHover:Re,colorErrorHover:st}=le;return{[`${Ne}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${Ne}`]:{"&:not(:last-child)":{[`&, & > ${Ne}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-we,[`&, & > ${Ne}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[Ne]:{position:"relative",zIndex:1,[`&:hover, + &:focus, + &:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${Ne}-icon-only`]:{fontSize:Ae}},Pe(`${Ne}-primary`,Re),Pe(`${Ne}-danger`,st)]}};const Xe=le=>{const{componentCls:Ne,iconCls:Ae,buttonFontWeight:we}=le;return{[Ne]:{outline:"none",position:"relative",display:"inline-block",fontWeight:we,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${le.lineWidth}px ${le.lineType} transparent`,cursor:"pointer",transition:`all ${le.motionDurationMid} ${le.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:le.lineHeight,color:le.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${Ne}-icon`]:{lineHeight:0},[`> ${Ae} + span, > span + ${Ae}`]:{marginInlineStart:le.marginXS},[`&:not(${Ne}-icon-only) > ${Ne}-icon`]:{[`&${Ne}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:le.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,k.Qy)(le)),[`&-icon-only${Ne}-compact-item`]:{flex:"none"},[`&-compact-item${Ne}-primary`]:{[`&:not([disabled]) + ${Ne}-compact-item${Ne}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-le.lineWidth,insetInlineStart:-le.lineWidth,display:"inline-block",width:le.lineWidth,height:`calc(100% + ${le.lineWidth*2}px)`,backgroundColor:le.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${Ne}-primary`]:{[`&:not([disabled]) + ${Ne}-compact-vertical-item${Ne}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-le.lineWidth,insetInlineStart:-le.lineWidth,display:"inline-block",width:`calc(100% + ${le.lineWidth*2}px)`,height:le.lineWidth,backgroundColor:le.colorPrimaryHover,content:'""'}}}}}}},mt=(le,Ne,Ae)=>({[`&:not(:disabled):not(${le}-disabled)`]:{"&:hover":Ne,"&:active":Ae}}),Ct=le=>({minWidth:le.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),vt=le=>({borderRadius:le.controlHeight,paddingInlineStart:le.controlHeight/2,paddingInlineEnd:le.controlHeight/2}),Ht=le=>({cursor:"not-allowed",borderColor:le.colorBorder,color:le.colorTextDisabled,backgroundColor:le.colorBgContainerDisabled,boxShadow:"none"}),ke=(le,Ne,Ae,we,Re,st,nt)=>({[`&${le}-background-ghost`]:Object.assign(Object.assign({color:Ne||void 0,backgroundColor:"transparent",borderColor:Ae||void 0,boxShadow:"none"},mt(le,Object.assign({backgroundColor:"transparent"},st),Object.assign({backgroundColor:"transparent"},nt))),{"&:disabled":{cursor:"not-allowed",color:we||void 0,borderColor:Re||void 0}})}),Ve=le=>({[`&:disabled, &${le.componentCls}-disabled`]:Object.assign({},Ht(le))}),ot=le=>Object.assign({},Ve(le)),Ke=le=>({[`&:disabled, &${le.componentCls}-disabled`]:{cursor:"not-allowed",color:le.colorTextDisabled}}),he=le=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ot(le)),{backgroundColor:le.colorBgContainer,borderColor:le.colorBorder,boxShadow:`0 ${le.controlOutlineWidth}px 0 ${le.controlTmpOutline}`}),mt(le.componentCls,{color:le.colorPrimaryHover,borderColor:le.colorPrimaryHover},{color:le.colorPrimaryActive,borderColor:le.colorPrimaryActive})),ke(le.componentCls,le.colorBgContainer,le.colorBgContainer,le.colorTextDisabled,le.colorBorder)),{[`&${le.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:le.colorError,borderColor:le.colorError},mt(le.componentCls,{color:le.colorErrorHover,borderColor:le.colorErrorBorderHover},{color:le.colorErrorActive,borderColor:le.colorErrorActive})),ke(le.componentCls,le.colorError,le.colorError,le.colorTextDisabled,le.colorBorder)),Ve(le))}),J=le=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ot(le)),{color:le.colorTextLightSolid,backgroundColor:le.colorPrimary,boxShadow:`0 ${le.controlOutlineWidth}px 0 ${le.controlOutline}`}),mt(le.componentCls,{color:le.colorTextLightSolid,backgroundColor:le.colorPrimaryHover},{color:le.colorTextLightSolid,backgroundColor:le.colorPrimaryActive})),ke(le.componentCls,le.colorPrimary,le.colorPrimary,le.colorTextDisabled,le.colorBorder,{color:le.colorPrimaryHover,borderColor:le.colorPrimaryHover},{color:le.colorPrimaryActive,borderColor:le.colorPrimaryActive})),{[`&${le.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:le.colorError,boxShadow:`0 ${le.controlOutlineWidth}px 0 ${le.colorErrorOutline}`},mt(le.componentCls,{backgroundColor:le.colorErrorHover},{backgroundColor:le.colorErrorActive})),ke(le.componentCls,le.colorError,le.colorError,le.colorTextDisabled,le.colorBorder,{color:le.colorErrorHover,borderColor:le.colorErrorHover},{color:le.colorErrorActive,borderColor:le.colorErrorActive})),Ve(le))}),V=le=>Object.assign(Object.assign({},he(le)),{borderStyle:"dashed"}),R=le=>Object.assign(Object.assign(Object.assign({color:le.colorLink},mt(le.componentCls,{color:le.colorLinkHover},{color:le.colorLinkActive})),Ke(le)),{[`&${le.componentCls}-dangerous`]:Object.assign(Object.assign({color:le.colorError},mt(le.componentCls,{color:le.colorErrorHover},{color:le.colorErrorActive})),Ke(le))}),P=le=>Object.assign(Object.assign(Object.assign({},mt(le.componentCls,{color:le.colorText,backgroundColor:le.colorBgTextHover},{color:le.colorText,backgroundColor:le.colorBgTextActive})),Ke(le)),{[`&${le.componentCls}-dangerous`]:Object.assign(Object.assign({color:le.colorError},Ke(le)),mt(le.componentCls,{color:le.colorErrorHover,backgroundColor:le.colorErrorBg},{color:le.colorErrorHover,backgroundColor:le.colorErrorBg}))}),B=le=>{const{componentCls:Ne}=le;return{[`${Ne}-default`]:he(le),[`${Ne}-primary`]:J(le),[`${Ne}-dashed`]:V(le),[`${Ne}-link`]:R(le),[`${Ne}-text`]:P(le),[`${Ne}-ghost`]:ke(le.componentCls,le.colorBgContainer,le.colorBgContainer,le.colorTextDisabled,le.colorBorder)}},ge=function(le){let Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:Ae,controlHeight:we,fontSize:Re,lineHeight:st,lineWidth:nt,borderRadius:_e,buttonPaddingHorizontal:We,iconCls:Be}=le,it=Math.max(0,(we-Re*st)/2-nt),Ge=We-nt,Ot=`${Ae}-icon-only`;return[{[`${Ae}${Ne}`]:{fontSize:Re,height:we,padding:`${it}px ${Ge}px`,borderRadius:_e,[`&${Ot}`]:{width:we,paddingInlineStart:0,paddingInlineEnd:0,[`&${Ae}-round`]:{width:"auto"},[Be]:{fontSize:le.buttonIconOnlyFontSize}},[`&${Ae}-loading`]:{opacity:le.opacityLoading,cursor:"default"},[`${Ae}-loading-icon`]:{transition:`width ${le.motionDurationSlow} ${le.motionEaseInOut}, opacity ${le.motionDurationSlow} ${le.motionEaseInOut}`}}},{[`${Ae}${Ae}-circle${Ne}`]:Ct(le)},{[`${Ae}${Ae}-round${Ne}`]:vt(le)}]},ie=le=>ge(le),pe=le=>{const Ne=(0,ve.TS)(le,{controlHeight:le.controlHeightSM,padding:le.paddingXS,buttonPaddingHorizontal:8,borderRadius:le.borderRadiusSM,buttonIconOnlyFontSize:le.fontSizeLG-2});return ge(Ne,`${le.componentCls}-sm`)},Oe=le=>{const Ne=(0,ve.TS)(le,{controlHeight:le.controlHeightLG,fontSize:le.fontSizeLG,borderRadius:le.borderRadiusLG,buttonIconOnlyFontSize:le.fontSizeLG+2});return ge(Ne,`${le.componentCls}-lg`)},xe=le=>{const{componentCls:Ne}=le;return{[Ne]:{[`&${Ne}-block`]:{width:"100%"}}}};var Se=(0,be.Z)("Button",le=>{const{controlTmpOutline:Ne,paddingContentHorizontal:Ae}=le,we=(0,ve.TS)(le,{colorOutlineDefault:Ne,buttonPaddingHorizontal:Ae,buttonIconOnlyFontSize:le.fontSizeLG,buttonFontWeight:400});return[Xe(we),pe(we),ie(we),Oe(we),xe(we),B(we),qe(we),(0,A.c)(le),me(le)]}),$e=function(le,Ne){var Ae={};for(var we in le)Object.prototype.hasOwnProperty.call(le,we)&&Ne.indexOf(we)<0&&(Ae[we]=le[we]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,we=Object.getOwnPropertySymbols(le);Re{var Ae,we;const{loading:Re=!1,prefixCls:st,type:nt="default",danger:_e,shape:We="default",size:Be,styles:it,disabled:Ge,className:Ot,rootClassName:$t,children:wt,icon:Pt,ghost:dt=!1,block:je=!1,htmlType:tt="button",classNames:lt,style:bt={}}=le,It=$e(le,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Kt,autoInsertSpaceInButton:zt,direction:Mt,button:Le}=(0,n.useContext)(l.E_),Ce=Kt("btn",st),[Et,Tt]=Se(Ce),Ye=(0,n.useContext)(c.Z),et=Ge!=null?Ge:Ye,_t=(0,n.useContext)(L),Ut=(0,n.useMemo)(()=>oe(Re),[Re]),[qt,un]=(0,n.useState)(Ut.loading),[Mn,vn]=(0,n.useState)(!1),Xn=(0,n.createRef)(),Vn=(0,s.sQ)(Ne,Xn),or=n.Children.count(wt)===1&&!Pt&&!se(nt);(0,n.useEffect)(()=>{let ut=null;Ut.delay>0?ut=setTimeout(()=>{ut=null,un(!0)},Ut.delay):un(Ut.loading);function ct(){ut&&(clearTimeout(ut),ut=null)}return ct},[Ut]),(0,n.useEffect)(()=>{if(!Vn||!Vn.current||zt===!1)return;const ut=Vn.current.textContent;or&&_(ut)?Mn||vn(!0):Mn&&vn(!1)},[Vn]);const er=ut=>{const{onClick:ct}=le;if(qt||et){ut.preventDefault();return}ct==null||ct(ut)},Wt=zt!==!1,{compactSize:en,compactItemClassnames:nn}=(0,g.ri)(Ce,Mt),fn={large:"lg",small:"sm",middle:void 0},En=(0,m.Z)(ut=>{var ct,Dt;return(Dt=(ct=Be!=null?Be:en)!==null&&ct!==void 0?ct:_t)!==null&&Dt!==void 0?Dt:ut}),on=En&&fn[En]||"",pt=qt?"loading":Pt,gt=(0,o.Z)(It,["navigate"]),Xt=t()(Ce,Tt,{[`${Ce}-${We}`]:We!=="default"&&We,[`${Ce}-${nt}`]:nt,[`${Ce}-${on}`]:on,[`${Ce}-icon-only`]:!wt&&wt!==0&&!!pt,[`${Ce}-background-ghost`]:dt&&!se(nt),[`${Ce}-loading`]:qt,[`${Ce}-two-chinese-chars`]:Mn&&Wt&&!qt,[`${Ce}-block`]:je,[`${Ce}-dangerous`]:!!_e,[`${Ce}-rtl`]:Mt==="rtl"},nn,Ot,$t,Le==null?void 0:Le.className),rn=Object.assign(Object.assign({},Le==null?void 0:Le.style),bt),Jt=t()(lt==null?void 0:lt.icon,(Ae=Le==null?void 0:Le.classNames)===null||Ae===void 0?void 0:Ae.icon),pn=Object.assign(Object.assign({},(it==null?void 0:it.icon)||{}),((we=Le==null?void 0:Le.styles)===null||we===void 0?void 0:we.icon)||{}),mn=Pt&&!qt?n.createElement(h,{prefixCls:Ce,className:Jt,style:pn},Pt):n.createElement(N,{existIcon:!!Pt,prefixCls:Ce,loading:!!qt}),Zn=wt||wt===0?C(wt,or&&Wt):null;if(gt.href!==void 0)return Et(n.createElement("a",Object.assign({},gt,{className:t()(Xt,{[`${Ce}-disabled`]:et}),style:rn,onClick:er,ref:Vn}),mn,Zn));let tr=n.createElement("button",Object.assign({},It,{type:tt,className:Xt,style:rn,onClick:er,disabled:et,ref:Vn}),mn,Zn);return se(nt)||(tr=n.createElement(d.Z,{component:"Button",disabled:!!qt},tr)),Et(tr)},ue=(0,n.forwardRef)(q);ue.Group=G,ue.__ANT_BUTTON=!0;var Ee=ue},12562:function(b,y,e){"use strict";var a=e(70921);y.ZP=a.Z},81872:function(b,y,e){"use strict";var a=e(7056);y.Z=a.Z},18624:function(b,y,e){"use strict";e.d(y,{Z:function(){return X}});var a=e(87608),t=e.n(a),o=e(98186),s=e(58757),n=e(61836),d=e(58785),l=e(57214),c=e(16951),m=function(O,H){var k={};for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&H.indexOf(A)<0&&(k[A]=O[A]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,A=Object.getOwnPropertySymbols(O);Y{var{prefixCls:H,className:k,hoverable:A=!0}=O,Y=m(O,["prefixCls","className","hoverable"]);const{getPrefixCls:de}=s.useContext(n.E_),me=de("card",H),ve=t()(`${me}-grid`,k,{[`${me}-grid-hoverable`]:A});return s.createElement("div",Object.assign({},Y,{className:ve}))},h=e(78330),S=e(52628),w=e(22151);const x=O=>{const{antCls:H,componentCls:k,headerHeight:A,cardPaddingBase:Y,tabsMarginBottom:de}=O;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:A,marginBottom:-1,padding:`0 ${Y}px`,color:O.colorTextHeading,fontWeight:O.fontWeightStrong,fontSize:O.headerFontSize,background:O.headerBg,borderBottom:`${O.lineWidth}px ${O.lineType} ${O.colorBorderSecondary}`,borderRadius:`${O.borderRadiusLG}px ${O.borderRadiusLG}px 0 0`},(0,h.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},h.vS),{[` + > ${k}-typography, + > ${k}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${H}-tabs-top`]:{clear:"both",marginBottom:de,color:O.colorText,fontWeight:"normal",fontSize:O.fontSize,"&-bar":{borderBottom:`${O.lineWidth}px ${O.lineType} ${O.colorBorderSecondary}`}}})},z=O=>{const{cardPaddingBase:H,colorBorderSecondary:k,cardShadow:A,lineWidth:Y}=O;return{width:"33.33%",padding:H,border:0,borderRadius:0,boxShadow:` + ${Y}px 0 0 0 ${k}, + 0 ${Y}px 0 0 ${k}, + ${Y}px ${Y}px 0 0 ${k}, + ${Y}px 0 0 0 ${k} inset, + 0 ${Y}px 0 0 ${k} inset; + `,transition:`all ${O.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:A}}},U=O=>{const{componentCls:H,iconCls:k,actionsLiMargin:A,cardActionsIconSize:Y,colorBorderSecondary:de,actionsBg:me}=O;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:me,borderTop:`${O.lineWidth}px ${O.lineType} ${de}`,display:"flex",borderRadius:`0 0 ${O.borderRadiusLG}px ${O.borderRadiusLG}px `},(0,h.dF)()),{"& > li":{margin:A,color:O.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:O.cardActionsIconSize*2,fontSize:O.fontSize,lineHeight:O.lineHeight,cursor:"pointer","&:hover":{color:O.colorPrimary,transition:`color ${O.motionDurationMid}`},[`a:not(${H}-btn), > ${k}`]:{display:"inline-block",width:"100%",color:O.colorTextDescription,lineHeight:`${O.fontSize*O.lineHeight}px`,transition:`color ${O.motionDurationMid}`,"&:hover":{color:O.colorPrimary}},[`> ${k}`]:{fontSize:Y,lineHeight:`${Y*O.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${O.lineWidth}px ${O.lineType} ${de}`}}})},T=O=>Object.assign(Object.assign({margin:`-${O.marginXXS}px 0`,display:"flex"},(0,h.dF)()),{"&-avatar":{paddingInlineEnd:O.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:O.marginXS}},"&-title":Object.assign({color:O.colorTextHeading,fontWeight:O.fontWeightStrong,fontSize:O.fontSizeLG},h.vS),"&-description":{color:O.colorTextDescription}}),N=O=>{const{componentCls:H,cardPaddingBase:k,colorFillAlter:A}=O;return{[`${H}-head`]:{padding:`0 ${k}px`,background:A,"&-title":{fontSize:O.fontSize}},[`${H}-body`]:{padding:`${O.padding}px ${k}px`}}},Z=O=>{const{componentCls:H}=O;return{overflow:"hidden",[`${H}-body`]:{userSelect:"none"}}},D=O=>{const{antCls:H,componentCls:k,cardShadow:A,cardHeadPadding:Y,colorBorderSecondary:de,boxShadowTertiary:me,cardPaddingBase:ve,extraColor:be}=O;return{[k]:Object.assign(Object.assign({},(0,h.Wf)(O)),{position:"relative",background:O.colorBgContainer,borderRadius:O.borderRadiusLG,[`&:not(${k}-bordered)`]:{boxShadow:me},[`${k}-head`]:x(O),[`${k}-extra`]:{marginInlineStart:"auto",color:be,fontWeight:"normal",fontSize:O.fontSize},[`${k}-body`]:Object.assign({padding:ve,borderRadius:` 0 0 ${O.borderRadiusLG}px ${O.borderRadiusLG}px`},(0,h.dF)()),[`${k}-grid`]:z(O),[`${k}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${H}-image-mask`]:{borderRadius:`${O.borderRadiusLG}px ${O.borderRadiusLG}px 0 0`}},[`${k}-actions`]:U(O),[`${k}-meta`]:T(O)}),[`${k}-bordered`]:{border:`${O.lineWidth}px ${O.lineType} ${de}`,[`${k}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${k}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${O.motionDurationMid}, border-color ${O.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:A}},[`${k}-contain-grid`]:{[`${k}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${k}-loading) ${k}-body`]:{marginBlockStart:-O.lineWidth,marginInlineStart:-O.lineWidth,padding:0}},[`${k}-contain-tabs`]:{[`> ${k}-head`]:{[`${k}-head-title, ${k}-extra`]:{paddingTop:Y}}},[`${k}-type-inner`]:N(O),[`${k}-loading`]:Z(O),[`${k}-rtl`]:{direction:"rtl"}}},L=O=>{const{componentCls:H,cardPaddingSM:k,headerHeightSM:A,headerFontSizeSM:Y}=O;return{[`${H}-small`]:{[`> ${H}-head`]:{minHeight:A,padding:`0 ${k}px`,fontSize:Y,[`> ${H}-head-wrapper`]:{[`> ${H}-extra`]:{fontSize:O.fontSize}}},[`> ${H}-body`]:{padding:k}},[`${H}-small${H}-contain-tabs`]:{[`> ${H}-head`]:{[`${H}-head-title, ${H}-extra`]:{minHeight:A,paddingTop:0,display:"flex",alignItems:"center"}}}}};var j=(0,S.Z)("Card",O=>{const H=(0,w.TS)(O,{cardShadow:O.boxShadowCard,cardHeadPadding:O.padding,cardPaddingBase:O.paddingLG,cardActionsIconSize:O.fontSize,cardPaddingSM:12});return[D(H),L(H)]},O=>({headerBg:"transparent",headerFontSize:O.fontSizeLG,headerFontSizeSM:O.fontSize,headerHeight:O.fontSizeLG*O.lineHeightLG+O.padding*2,headerHeightSM:O.fontSize*O.lineHeight+O.paddingXS*2,actionsBg:O.colorBgContainer,actionsLiMargin:`${O.paddingSM}px 0`,tabsMarginBottom:-O.padding-O.lineWidth,extraColor:O.colorText})),G=function(O,H){var k={};for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&H.indexOf(A)<0&&(k[A]=O[A]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,A=Object.getOwnPropertySymbols(O);Ys.createElement("li",{style:{width:`${100/O.length}%`},key:`action-${k}`},s.createElement("span",null,H)))}var _=s.forwardRef((O,H)=>{const{prefixCls:k,className:A,rootClassName:Y,style:de,extra:me,headStyle:ve={},bodyStyle:be={},title:Pe,loading:Je,bordered:qe=!0,size:Xe,type:mt,cover:Ct,actions:vt,tabList:Ht,children:ke,activeTabKey:Ve,defaultActiveTabKey:ot,tabBarExtraContent:Ke,hoverable:he,tabProps:J={}}=O,V=G(O,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:R,direction:P,card:B}=s.useContext(n.E_),ge=nt=>{var _e;(_e=O.onTabChange)===null||_e===void 0||_e.call(O,nt)},ie=s.useMemo(()=>{let nt=!1;return s.Children.forEach(ke,_e=>{_e&&_e.type&&_e.type===M&&(nt=!0)}),nt},[ke]),pe=R("card",k),[Oe,xe]=j(pe),Se=s.createElement(l.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},ke),$e=Ve!==void 0,re=Object.assign(Object.assign({},J),{[$e?"activeKey":"defaultActiveKey"]:$e?Ve:ot,tabBarExtraContent:Ke});let oe;const q=(0,d.Z)(Xe),ue=!q||q==="default"?"large":q,Ee=Ht?s.createElement(c.Z,Object.assign({size:ue},re,{className:`${pe}-head-tabs`,onChange:ge,items:Ht.map(nt=>{var{tab:_e}=nt,We=G(nt,["tab"]);return Object.assign({label:_e},We)})})):null;(Pe||me||Ee)&&(oe=s.createElement("div",{className:`${pe}-head`,style:ve},s.createElement("div",{className:`${pe}-head-wrapper`},Pe&&s.createElement("div",{className:`${pe}-head-title`},Pe),me&&s.createElement("div",{className:`${pe}-extra`},me)),Ee));const le=Ct?s.createElement("div",{className:`${pe}-cover`},Ct):null,Ne=s.createElement("div",{className:`${pe}-body`,style:be},Je?Se:ke),Ae=vt&&vt.length?s.createElement("ul",{className:`${pe}-actions`},W(vt)):null,we=(0,o.Z)(V,["onTabChange"]),Re=t()(pe,B==null?void 0:B.className,{[`${pe}-loading`]:Je,[`${pe}-bordered`]:qe,[`${pe}-hoverable`]:he,[`${pe}-contain-grid`]:ie,[`${pe}-contain-tabs`]:Ht&&Ht.length,[`${pe}-${q}`]:q,[`${pe}-type-${mt}`]:!!mt,[`${pe}-rtl`]:P==="rtl"},A,Y,xe),st=Object.assign(Object.assign({},B==null?void 0:B.style),de);return Oe(s.createElement("div",Object.assign({ref:H},we,{className:Re,style:st}),oe,le,Ne,Ae))}),ee=function(O,H){var k={};for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&H.indexOf(A)<0&&(k[A]=O[A]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,A=Object.getOwnPropertySymbols(O);Y{const{prefixCls:H,className:k,avatar:A,title:Y,description:de}=O,me=ee(O,["prefixCls","className","avatar","title","description"]),{getPrefixCls:ve}=s.useContext(n.E_),be=ve("card",H),Pe=t()(`${be}-meta`,k),Je=A?s.createElement("div",{className:`${be}-meta-avatar`},A):null,qe=Y?s.createElement("div",{className:`${be}-meta-title`},Y):null,Xe=de?s.createElement("div",{className:`${be}-meta-description`},de):null,mt=qe||Xe?s.createElement("div",{className:`${be}-meta-detail`},qe,Xe):null;return s.createElement("div",Object.assign({},me,{className:Pe}),Je,mt)};const C=_;C.Grid=M,C.Meta=Q;var X=C},38904:function(b,y,e){"use strict";e.d(y,{Z:function(){return G}});var a=e(87608),t=e.n(a),o=e(60357),s=e(58757),n=e(61836),d=e(92428),l=e(81496),m=s.createContext(null),g=e(7316),M=e(37486),h=e(78856),S=function(W,ne){var _={};for(var ee in W)Object.prototype.hasOwnProperty.call(W,ee)&&ne.indexOf(ee)<0&&(_[ee]=W[ee]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,ee=Object.getOwnPropertySymbols(W);se{var _;const{prefixCls:ee,className:se,rootClassName:Q,children:C,indeterminate:X=!1,style:O,onMouseEnter:H,onMouseLeave:k,skipGroup:A=!1,disabled:Y}=W,de=S(W,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:me,direction:ve,checkbox:be}=s.useContext(n.E_),Pe=s.useContext(m),{isFormItemInput:Je}=s.useContext(l.aM),qe=s.useContext(d.Z),Xe=(_=(Pe==null?void 0:Pe.disabled)||Y)!==null&&_!==void 0?_:qe,mt=s.useRef(de.value);s.useEffect(()=>{Pe==null||Pe.registerValue(de.value)},[]),s.useEffect(()=>{if(!A)return de.value!==mt.current&&(Pe==null||Pe.cancelValue(mt.current),Pe==null||Pe.registerValue(de.value),mt.current=de.value),()=>Pe==null?void 0:Pe.cancelValue(de.value)},[de.value]);const Ct=me("checkbox",ee),[vt,Ht]=(0,g.ZP)(Ct),ke=Object.assign({},de);Pe&&!A&&(ke.onChange=function(){de.onChange&&de.onChange.apply(de,arguments),Pe.toggleOption&&Pe.toggleOption({label:C,value:de.value})},ke.name=Pe.name,ke.checked=Pe.value.includes(de.value));const Ve=t()(`${Ct}-wrapper`,{[`${Ct}-rtl`]:ve==="rtl",[`${Ct}-wrapper-checked`]:ke.checked,[`${Ct}-wrapper-disabled`]:Xe,[`${Ct}-wrapper-in-form-item`]:Je},be==null?void 0:be.className,se,Q,Ht),ot=t()({[`${Ct}-indeterminate`]:X},h.A,Ht),Ke=X?"mixed":void 0;return vt(s.createElement(M.Z,{component:"Checkbox",disabled:Xe},s.createElement("label",{className:Ve,style:Object.assign(Object.assign({},be==null?void 0:be.style),O),onMouseEnter:H,onMouseLeave:k},s.createElement(o.Z,Object.assign({"aria-checked":Ke},ke,{prefixCls:Ct,className:ot,disabled:Xe,ref:ne})),C!==void 0&&s.createElement("span",null,C))))};var z=s.forwardRef(w),U=e(29140),T=e(98186),N=function(W,ne){var _={};for(var ee in W)Object.prototype.hasOwnProperty.call(W,ee)&&ne.indexOf(ee)<0&&(_[ee]=W[ee]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,ee=Object.getOwnPropertySymbols(W);se{const{defaultValue:_,children:ee,options:se=[],prefixCls:Q,className:C,rootClassName:X,style:O,onChange:H}=W,k=N(W,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:A,direction:Y}=s.useContext(n.E_),[de,me]=s.useState(k.value||_||[]),[ve,be]=s.useState([]);s.useEffect(()=>{"value"in k&&me(k.value||[])},[k.value]);const Pe=s.useMemo(()=>se.map(he=>typeof he=="string"||typeof he=="number"?{label:he,value:he}:he),[se]),Je=he=>{be(J=>J.filter(V=>V!==he))},qe=he=>{be(J=>[].concat((0,U.Z)(J),[he]))},Xe=he=>{const J=de.indexOf(he.value),V=(0,U.Z)(de);J===-1?V.push(he.value):V.splice(J,1),"value"in k||me(V),H==null||H(V.filter(R=>ve.includes(R)).sort((R,P)=>{const B=Pe.findIndex(ie=>ie.value===R),ge=Pe.findIndex(ie=>ie.value===P);return B-ge}))},mt=A("checkbox",Q),Ct=`${mt}-group`,[vt,Ht]=(0,g.ZP)(mt),ke=(0,T.Z)(k,["value","disabled"]),Ve=se.length?Pe.map(he=>s.createElement(z,{prefixCls:mt,key:he.value.toString(),disabled:"disabled"in he?he.disabled:k.disabled,value:he.value,checked:de.includes(he.value),onChange:he.onChange,className:`${Ct}-item`,style:he.style,title:he.title},he.label)):ee,ot={toggleOption:Xe,value:de,disabled:k.disabled,name:k.name,registerValue:qe,cancelValue:Je},Ke=t()(Ct,{[`${Ct}-rtl`]:Y==="rtl"},C,X,Ht);return vt(s.createElement("div",Object.assign({className:Ke,style:O},ke,{ref:ne}),s.createElement(m.Provider,{value:ot},Ve)))},D=s.forwardRef(Z);var L=s.memo(D);const j=z;j.Group=L,j.__ANT_CHECKBOX=!0;var G=j},7316:function(b,y,e){"use strict";e.d(y,{C2:function(){return n}});var a=e(78330),t=e(22151),o=e(52628);const s=d=>{const{checkboxCls:l}=d,c=`${l}-wrapper`;return[{[`${l}-group`]:Object.assign(Object.assign({},(0,a.Wf)(d)),{display:"inline-flex",flexWrap:"wrap",columnGap:d.marginXS,[`> ${d.antCls}-row`]:{flex:1}}),[c]:Object.assign(Object.assign({},(0,a.Wf)(d)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${c}`]:{marginInlineStart:0},[`&${c}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[l]:Object.assign(Object.assign({},(0,a.Wf)(d)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:d.borderRadiusSM,alignSelf:"center",[`${l}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${l}-inner`]:Object.assign({},(0,a.oN)(d))},[`${l}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:d.checkboxSize,height:d.checkboxSize,direction:"ltr",backgroundColor:d.colorBgContainer,border:`${d.lineWidth}px ${d.lineType} ${d.colorBorder}`,borderRadius:d.borderRadiusSM,borderCollapse:"separate",transition:`all ${d.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:d.checkboxSize/14*5,height:d.checkboxSize/14*8,border:`${d.lineWidthBold}px solid ${d.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${d.motionDurationFast} ${d.motionEaseInBack}, opacity ${d.motionDurationFast}`}},"& + span":{paddingInlineStart:d.paddingXS,paddingInlineEnd:d.paddingXS}})},{[` + ${c}:not(${c}-disabled), + ${l}:not(${l}-disabled) + `]:{[`&:hover ${l}-inner`]:{borderColor:d.colorPrimary}},[`${c}:not(${c}-disabled)`]:{[`&:hover ${l}-checked:not(${l}-disabled) ${l}-inner`]:{backgroundColor:d.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${l}-checked:not(${l}-disabled):after`]:{borderColor:d.colorPrimaryHover}}},{[`${l}-checked`]:{[`${l}-inner`]:{backgroundColor:d.colorPrimary,borderColor:d.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${d.motionDurationMid} ${d.motionEaseOutBack} ${d.motionDurationFast}`}}},[` + ${c}-checked:not(${c}-disabled), + ${l}-checked:not(${l}-disabled) + `]:{[`&:hover ${l}-inner`]:{backgroundColor:d.colorPrimaryHover,borderColor:"transparent"}}},{[l]:{"&-indeterminate":{[`${l}-inner`]:{backgroundColor:d.colorBgContainer,borderColor:d.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:d.fontSizeLG/2,height:d.fontSizeLG/2,backgroundColor:d.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${c}-disabled`]:{cursor:"not-allowed"},[`${l}-disabled`]:{[`&, ${l}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${l}-inner`]:{background:d.colorBgContainerDisabled,borderColor:d.colorBorder,"&:after":{borderColor:d.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:d.colorTextDisabled},[`&${l}-indeterminate ${l}-inner::after`]:{background:d.colorTextDisabled}}}]};function n(d,l){const c=(0,t.TS)(l,{checkboxCls:`.${d}`,checkboxSize:l.controlInteractiveSize});return[s(c)]}y.ZP=(0,o.Z)("Checkbox",(d,l)=>{let{prefixCls:c}=l;return[n(c,d)]})},82968:function(b,y,e){"use strict";e.d(y,{Z:function(){return Ht}});var a=e(91169),t=e(87608),o=e.n(t),s=e(28314),n=e(29140),d=e(38790),l=e(60409),c=e(75556),m=e(58757),g=e(60698),M=e(47075),h=e(42156),S=e(37734),w=e(17598),x=e(29639),z=m.forwardRef(function(ke,Ve){var ot,Ke=ke.prefixCls,he=ke.forceRender,J=ke.className,V=ke.style,R=ke.children,P=ke.isActive,B=ke.role,ge=m.useState(P||he),ie=(0,s.Z)(ge,2),pe=ie[0],Oe=ie[1];return m.useEffect(function(){(he||P)&&Oe(!0)},[he,P]),pe?m.createElement("div",{ref:Ve,className:o()("".concat(Ke,"-content"),(ot={},(0,S.Z)(ot,"".concat(Ke,"-content-active"),P),(0,S.Z)(ot,"".concat(Ke,"-content-inactive"),!P),ot),J),style:V,role:B},m.createElement("div",{className:"".concat(Ke,"-content-box")},R)):null});z.displayName="PanelContent";var U=z,T=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],N=m.forwardRef(function(ke,Ve){var ot,Ke,he=ke.showArrow,J=he===void 0?!0:he,V=ke.headerClass,R=ke.isActive,P=ke.onItemClick,B=ke.forceRender,ge=ke.className,ie=ke.prefixCls,pe=ke.collapsible,Oe=ke.accordion,xe=ke.panelKey,Se=ke.extra,$e=ke.header,re=ke.expandIcon,oe=ke.openMotion,q=ke.destroyInactivePanel,ue=ke.children,Ee=(0,M.Z)(ke,T),le=pe==="disabled",Ne=pe==="header",Ae=pe==="icon",we=Se!=null&&typeof Se!="boolean",Re=function(){P==null||P(xe)},st=function(Ge){(Ge.key==="Enter"||Ge.keyCode===x.Z.ENTER||Ge.which===x.Z.ENTER)&&Re()},nt=typeof re=="function"?re(ke):m.createElement("i",{className:"arrow"});nt&&(nt=m.createElement("div",{className:"".concat(ie,"-expand-icon"),onClick:["header","icon"].includes(pe)?Re:void 0},nt));var _e=o()((ot={},(0,S.Z)(ot,"".concat(ie,"-item"),!0),(0,S.Z)(ot,"".concat(ie,"-item-active"),R),(0,S.Z)(ot,"".concat(ie,"-item-disabled"),le),ot),ge),We=o()(V,(Ke={},(0,S.Z)(Ke,"".concat(ie,"-header"),!0),(0,S.Z)(Ke,"".concat(ie,"-header-collapsible-only"),Ne),(0,S.Z)(Ke,"".concat(ie,"-icon-collapsible-only"),Ae),Ke)),Be={className:We,"aria-expanded":R,"aria-disabled":le,onKeyDown:st};return!Ne&&!Ae&&(Be.onClick=Re,Be.role=Oe?"tab":"button",Be.tabIndex=le?-1:0),m.createElement("div",(0,g.Z)({},Ee,{ref:Ve,className:_e}),m.createElement("div",Be,J&&nt,m.createElement("span",{className:"".concat(ie,"-header-text"),onClick:pe==="header"?Re:void 0},$e),we&&m.createElement("div",{className:"".concat(ie,"-extra")},Se)),m.createElement(w.ZP,(0,g.Z)({visible:R,leavedClassName:"".concat(ie,"-content-hidden")},oe,{forceRender:B,removeOnLeave:q}),function(it,Ge){var Ot=it.className,$t=it.style;return m.createElement(U,{ref:Ge,prefixCls:ie,className:Ot,style:$t,isActive:R,forceRender:B,role:Oe?"tabpanel":void 0},ue)}))}),Z=N,D=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],L=function(Ve,ot){var Ke=ot.prefixCls,he=ot.accordion,J=ot.collapsible,V=ot.destroyInactivePanel,R=ot.onItemClick,P=ot.activeKey,B=ot.openMotion,ge=ot.expandIcon;return Ve.map(function(ie,pe){var Oe=ie.children,xe=ie.label,Se=ie.key,$e=ie.collapsible,re=ie.onItemClick,oe=ie.destroyInactivePanel,q=(0,M.Z)(ie,D),ue=String(Se!=null?Se:pe),Ee=$e!=null?$e:J,le=oe!=null?oe:V,Ne=function(Re){Ee!=="disabled"&&(R(Re),re==null||re(Re))},Ae=!1;return he?Ae=P[0]===ue:Ae=P.indexOf(ue)>-1,m.createElement(Z,(0,g.Z)({},q,{prefixCls:Ke,key:ue,panelKey:ue,isActive:Ae,accordion:he,openMotion:B,expandIcon:ge,header:xe,collapsible:Ee,onItemClick:Ne,destroyInactivePanel:le}),Oe)})},j=function(Ve,ot,Ke){if(!Ve)return null;var he=Ke.prefixCls,J=Ke.accordion,V=Ke.collapsible,R=Ke.destroyInactivePanel,P=Ke.onItemClick,B=Ke.activeKey,ge=Ke.openMotion,ie=Ke.expandIcon,pe=Ve.key||String(ot),Oe=Ve.props,xe=Oe.header,Se=Oe.headerClass,$e=Oe.destroyInactivePanel,re=Oe.collapsible,oe=Oe.onItemClick,q=!1;J?q=B[0]===pe:q=B.indexOf(pe)>-1;var ue=re!=null?re:V,Ee=function(Ae){ue!=="disabled"&&(P(Ae),oe==null||oe(Ae))},le={key:pe,panelKey:pe,header:xe,headerClass:Se,isActive:q,prefixCls:he,destroyInactivePanel:$e!=null?$e:R,openMotion:ge,accordion:J,children:Ve.props.children,onItemClick:Ee,expandIcon:ie,collapsible:ue};return typeof Ve.type=="string"?Ve:(Object.keys(le).forEach(function(Ne){typeof le[Ne]=="undefined"&&delete le[Ne]}),m.cloneElement(Ve,le))};function G(ke,Ve,ot){return Array.isArray(ke)?L(ke,ot):(0,h.Z)(Ve).map(function(Ke,he){return j(Ke,he,ot)})}var W=G;function ne(ke){var Ve=ke;if(!Array.isArray(Ve)){var ot=(0,d.Z)(Ve);Ve=ot==="number"||ot==="string"?[Ve]:[]}return Ve.map(function(Ke){return String(Ke)})}var _=m.forwardRef(function(ke,Ve){var ot=ke.prefixCls,Ke=ot===void 0?"rc-collapse":ot,he=ke.destroyInactivePanel,J=he===void 0?!1:he,V=ke.style,R=ke.accordion,P=ke.className,B=ke.children,ge=ke.collapsible,ie=ke.openMotion,pe=ke.expandIcon,Oe=ke.activeKey,xe=ke.defaultActiveKey,Se=ke.onChange,$e=ke.items,re=o()(Ke,P),oe=(0,l.Z)([],{value:Oe,onChange:function(we){return Se==null?void 0:Se(we)},defaultValue:xe,postState:ne}),q=(0,s.Z)(oe,2),ue=q[0],Ee=q[1],le=function(we){return Ee(function(){if(R)return ue[0]===we?[]:[we];var Re=ue.indexOf(we),st=Re>-1;return st?ue.filter(function(nt){return nt!==we}):[].concat((0,n.Z)(ue),[we])})};(0,c.ZP)(!B,"`children` will be removed in next major version. Please use `items` instead.");var Ne=W($e,B,{prefixCls:Ke,accordion:R,openMotion:ie,expandIcon:pe,collapsible:ge,destroyInactivePanel:J,onItemClick:le,activeKey:ue});return m.createElement("div",{ref:Ve,className:re,style:V,role:R?"tablist":void 0},Ne)}),ee=Object.assign(_,{Panel:Z}),se=ee,Q=ee.Panel,C=e(98186),X=e(90881),O=e(37047),H=e(61836),k=e(58785),Y=m.forwardRef((ke,Ve)=>{const{getPrefixCls:ot}=m.useContext(H.E_),{prefixCls:Ke,className:he,showArrow:J=!0}=ke,V=ot("collapse",Ke),R=o()({[`${V}-no-arrow`]:!J},he);return m.createElement(se.Panel,Object.assign({ref:Ve},ke,{prefixCls:V,className:R}))}),de=e(78330),me=e(41086),ve=e(52628),be=e(22151);const Pe=ke=>{const{componentCls:Ve,collapseContentBg:ot,padding:Ke,collapseContentPaddingHorizontal:he,collapseHeaderBg:J,collapseHeaderPadding:V,collapseHeaderPaddingSM:R,collapseHeaderPaddingLG:P,collapsePanelBorderRadius:B,lineWidth:ge,lineType:ie,colorBorder:pe,colorText:Oe,colorTextHeading:xe,colorTextDisabled:Se,fontSize:$e,fontSizeLG:re,lineHeight:oe,marginSM:q,paddingSM:ue,paddingLG:Ee,paddingXS:le,motionDurationSlow:Ne,fontSizeIcon:Ae}=ke,we=`${ge}px ${ie} ${pe}`;return{[Ve]:Object.assign(Object.assign({},(0,de.Wf)(ke)),{backgroundColor:J,border:we,borderBottom:0,borderRadius:`${B}px`,["&-rtl"]:{direction:"rtl"},[`& > ${Ve}-item`]:{borderBottom:we,["&:last-child"]:{[` + &, + & > ${Ve}-header`]:{borderRadius:`0 0 ${B}px ${B}px`}},[`> ${Ve}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:V,paddingInlineStart:ue,color:xe,lineHeight:oe,cursor:"pointer",transition:`all ${Ne}, visibility 0s`,[`> ${Ve}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Ve}-expand-icon`]:{height:$e*oe,display:"flex",alignItems:"center",paddingInlineEnd:q,marginInlineStart:Ke-ue},[`${Ve}-arrow`]:Object.assign(Object.assign({},(0,de.Ro)()),{fontSize:Ae,svg:{transition:`transform ${Ne}`}}),[`${Ve}-header-text`]:{marginInlineEnd:"auto"}},[`${Ve}-header-collapsible-only`]:{cursor:"default",[`${Ve}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Ve}-icon-collapsible-only`]:{cursor:"default",[`${Ve}-expand-icon`]:{cursor:"pointer"}}},[`${Ve}-content`]:{color:Oe,backgroundColor:ot,borderTop:we,[`& > ${Ve}-content-box`]:{padding:`${Ke}px ${he}px`},["&-hidden"]:{display:"none"}},["&-small"]:{[`> ${Ve}-item`]:{[`> ${Ve}-header`]:{padding:R,paddingInlineStart:le,[`> ${Ve}-expand-icon`]:{marginInlineStart:ue-le}},[`> ${Ve}-content > ${Ve}-content-box`]:{padding:ue}}},["&-large"]:{[`> ${Ve}-item`]:{fontSize:re,[`> ${Ve}-header`]:{padding:P,paddingInlineStart:Ke,[`> ${Ve}-expand-icon`]:{height:re*oe,marginInlineStart:Ee-Ke}},[`> ${Ve}-content > ${Ve}-content-box`]:{padding:Ee}}},[`${Ve}-item:last-child`]:{[`> ${Ve}-content`]:{borderRadius:`0 0 ${B}px ${B}px`}},[`& ${Ve}-item-disabled > ${Ve}-header`]:{[` + &, + & > .arrow + `]:{color:Se,cursor:"not-allowed"}},[`&${Ve}-icon-position-end`]:{[`& > ${Ve}-item`]:{[`> ${Ve}-header`]:{[`${Ve}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:q}}}}})}},Je=ke=>{const{componentCls:Ve}=ke,ot=`> ${Ve}-item > ${Ve}-header ${Ve}-arrow svg`;return{[`${Ve}-rtl`]:{[ot]:{transform:"rotate(180deg)"}}}},qe=ke=>{const{componentCls:Ve,collapseHeaderBg:ot,paddingXXS:Ke,colorBorder:he}=ke;return{[`${Ve}-borderless`]:{backgroundColor:ot,border:0,[`> ${Ve}-item`]:{borderBottom:`1px solid ${he}`},[` + > ${Ve}-item:last-child, + > ${Ve}-item:last-child ${Ve}-header + `]:{borderRadius:0},[`> ${Ve}-item:last-child`]:{borderBottom:0},[`> ${Ve}-item > ${Ve}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Ve}-item > ${Ve}-content > ${Ve}-content-box`]:{paddingTop:Ke}}}},Xe=ke=>{const{componentCls:Ve,paddingSM:ot}=ke;return{[`${Ve}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Ve}-item`]:{borderBottom:0,[`> ${Ve}-content`]:{backgroundColor:"transparent",border:0,[`> ${Ve}-content-box`]:{paddingBlock:ot}}}}}};var mt=(0,ve.Z)("Collapse",ke=>{const Ve=(0,be.TS)(ke,{collapseContentBg:ke.colorBgContainer,collapseHeaderBg:ke.colorFillAlter,collapseHeaderPadding:`${ke.paddingSM}px ${ke.padding}px`,collapseHeaderPaddingSM:`${ke.paddingXS}px ${ke.paddingSM}px`,collapseHeaderPaddingLG:`${ke.padding}px ${ke.paddingLG}px`,collapsePanelBorderRadius:ke.borderRadiusLG,collapseContentPaddingHorizontal:16});return[Pe(Ve),qe(Ve),Xe(Ve),Je(Ve),(0,me.Z)(Ve)]}),vt=Object.assign(m.forwardRef((ke,Ve)=>{const{getPrefixCls:ot,direction:Ke,collapse:he}=m.useContext(H.E_),{prefixCls:J,className:V,rootClassName:R,style:P,bordered:B=!0,ghost:ge,size:ie,expandIconPosition:pe="start",children:Oe,expandIcon:xe}=ke,Se=(0,k.Z)(we=>{var Re;return(Re=ie!=null?ie:we)!==null&&Re!==void 0?Re:"middle"}),$e=ot("collapse",J),re=ot(),[oe,q]=mt($e),ue=m.useMemo(()=>pe==="left"?"start":pe==="right"?"end":pe,[pe]),Ee=function(){let we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Re=xe?xe(we):m.createElement(a.Z,{rotate:we.isActive?90:void 0});return(0,O.Tm)(Re,()=>({className:o()(Re.props.className,`${$e}-arrow`)}))},le=o()(`${$e}-icon-position-${ue}`,{[`${$e}-borderless`]:!B,[`${$e}-rtl`]:Ke==="rtl",[`${$e}-ghost`]:!!ge,[`${$e}-${Se}`]:Se!=="middle"},he==null?void 0:he.className,V,R,q),Ne=Object.assign(Object.assign({},(0,X.Z)(re)),{motionAppear:!1,leavedClassName:`${$e}-content-hidden`}),Ae=m.useMemo(()=>Oe?(0,h.Z)(Oe).map((we,Re)=>{var st,nt;if(!((st=we.props)===null||st===void 0)&&st.disabled){const _e=(nt=we.key)!==null&&nt!==void 0?nt:String(Re),{disabled:We,collapsible:Be}=we.props,it=Object.assign(Object.assign({},(0,C.Z)(we.props,["disabled"])),{key:_e,collapsible:Be!=null?Be:We?"disabled":void 0});return(0,O.Tm)(we,it)}return we}):null,[Oe]);return oe(m.createElement(se,Object.assign({ref:Ve,openMotion:Ne},(0,C.Z)(ke,["rootClassName"]),{expandIcon:Ee,prefixCls:$e,className:le,style:Object.assign(Object.assign({},he==null?void 0:he.style),P)}),Ae))}),{Panel:Y}),Ht=vt},92428:function(b,y,e){"use strict";e.d(y,{n:function(){return o}});var a=e(58757);const t=a.createContext(!1),o=s=>{let{children:n,disabled:d}=s;const l=a.useContext(t);return a.createElement(t.Provider,{value:d!=null?d:l},n)};y.Z=t},33446:function(b,y,e){"use strict";e.d(y,{q:function(){return o}});var a=e(58757);const t=a.createContext(void 0),o=s=>{let{children:n,size:d}=s;const l=a.useContext(t);return a.createElement(t.Provider,{value:d||l},n)};y.Z=t},61836:function(b,y,e){"use strict";e.d(y,{E_:function(){return s},oR:function(){return t}});var a=e(58757);const t="anticon",o=(d,l)=>l||(d?`ant-${d}`:"ant"),s=a.createContext({getPrefixCls:o,iconPrefixCls:t}),{Consumer:n}=s},10401:function(b,y,e){"use strict";var a=e(58757),t=e(61836),o=e(17444);const s=n=>{const{componentName:d}=n,{getPrefixCls:l}=(0,a.useContext)(t.E_),c=l("empty");switch(d){case"Table":case"List":return a.createElement(o.Z,{image:o.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return a.createElement(o.Z,{image:o.Z.PRESENTED_IMAGE_SIMPLE,className:`${c}-small`});default:return a.createElement(o.Z,null)}};y.Z=s},58785:function(b,y,e){"use strict";var a=e(58757),t=e(33446);const o=s=>{const n=a.useContext(t.Z);return a.useMemo(()=>s?typeof s=="string"?s!=null?s:n:s instanceof Function?s(n):n:n,[s,n])};y.Z=o},42505:function(b,y,e){"use strict";e.d(y,{ZP:function(){return Ht},w6:function(){return mt}});var a=e(57793),t=e(71048),o=e(27903),s=e(16766),n=e(58757),d=e(48736),l=e(67228),c=e(10520);const m="internalMark";var M=ke=>{const{locale:Ve={},children:ot,_ANT_MARK__:Ke}=ke;n.useEffect(()=>(0,l.f)(Ve&&Ve.Modal),[Ve]);const he=n.useMemo(()=>Object.assign(Object.assign({},Ve),{exist:!0}),[Ve]);return n.createElement(c.Z.Provider,{value:he},ot)},h=e(80076),S=e(83631),w=e(28378),x=e(61836),z=e(26134),U=e(66671),T=e(19075),N=e(39678);const Z=`-ant-${Date.now()}-${Math.random()}`;function D(ke,Ve){const ot={},Ke=(V,R)=>{let P=V.clone();return P=(R==null?void 0:R(P))||P,P.toRgbString()},he=(V,R)=>{const P=new U.C(V),B=(0,z.generate)(P.toRgbString());ot[`${R}-color`]=Ke(P),ot[`${R}-color-disabled`]=B[1],ot[`${R}-color-hover`]=B[4],ot[`${R}-color-active`]=B[6],ot[`${R}-color-outline`]=P.clone().setAlpha(.2).toRgbString(),ot[`${R}-color-deprecated-bg`]=B[0],ot[`${R}-color-deprecated-border`]=B[2]};if(Ve.primaryColor){he(Ve.primaryColor,"primary");const V=new U.C(Ve.primaryColor),R=(0,z.generate)(V.toRgbString());R.forEach((B,ge)=>{ot[`primary-${ge+1}`]=B}),ot["primary-color-deprecated-l-35"]=Ke(V,B=>B.lighten(35)),ot["primary-color-deprecated-l-20"]=Ke(V,B=>B.lighten(20)),ot["primary-color-deprecated-t-20"]=Ke(V,B=>B.tint(20)),ot["primary-color-deprecated-t-50"]=Ke(V,B=>B.tint(50)),ot["primary-color-deprecated-f-12"]=Ke(V,B=>B.setAlpha(B.getAlpha()*.12));const P=new U.C(R[0]);ot["primary-color-active-deprecated-f-30"]=Ke(P,B=>B.setAlpha(B.getAlpha()*.3)),ot["primary-color-active-deprecated-d-02"]=Ke(P,B=>B.darken(2))}return Ve.successColor&&he(Ve.successColor,"success"),Ve.warningColor&&he(Ve.warningColor,"warning"),Ve.errorColor&&he(Ve.errorColor,"error"),Ve.infoColor&&he(Ve.infoColor,"info"),` + :root { + ${Object.keys(ot).map(V=>`--${ke}-${V}: ${ot[V]};`).join(` +`)} + } + `.trim()}function L(ke,Ve){const ot=D(ke,Ve);(0,T.Z)()&&(0,N.hq)(ot,`${Z}-dynamic-theme`)}var j=e(92428),G=e(33446);function W(){const ke=(0,n.useContext)(j.Z),Ve=(0,n.useContext)(G.Z);return{componentDisabled:ke,componentSize:Ve}}var ne=W,_=e(7637);function ee(ke,Ve){const ot=ke||{},Ke=ot.inherit===!1||!Ve?S.u_:Ve;return(0,o.Z)(()=>{if(!ke)return Ve;const he=Object.assign({},Ke.components);return Object.keys(ke.components||{}).forEach(J=>{he[J]=Object.assign(Object.assign({},he[J]),ke.components[J])}),Object.assign(Object.assign(Object.assign({},Ke),ot),{token:Object.assign(Object.assign({},Ke.token),ot.token),components:he})},[ot,Ke],(he,J)=>he.some((V,R)=>{const P=J[R];return!(0,_.Z)(V,P,!0)}))}var se=e(17598),Q=e(51806);function C(ke){const{children:Ve}=ke,[,ot]=(0,Q.Z)(),{motion:Ke}=ot,he=n.useRef(!1);return he.current=he.current||Ke===!1,he.current?n.createElement(se.zt,{motion:Ke},Ve):Ve}var X=e(60619),O=function(ke,Ve){var ot={};for(var Ke in ke)Object.prototype.hasOwnProperty.call(ke,Ke)&&Ve.indexOf(Ke)<0&&(ot[Ke]=ke[Ke]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Ke=Object.getOwnPropertySymbols(ke);heVe.endsWith("Color"))}const Xe=ke=>{let{prefixCls:Ve,iconPrefixCls:ot,theme:Ke}=ke;Ve!==void 0&&(me=Ve),ot!==void 0&&(ve=ot),Ke&&(qe(Ke)?L(Pe(),Ke):be=Ke)},mt=()=>({getPrefixCls:(ke,Ve)=>Ve||(ke?`${Pe()}-${ke}`:Pe()),getIconPrefixCls:Je,getRootPrefixCls:()=>me||Pe(),getTheme:()=>be}),Ct=ke=>{const{children:Ve,csp:ot,autoInsertSpaceInButton:Ke,alert:he,anchor:J,form:V,locale:R,componentSize:P,direction:B,space:ge,virtual:ie,dropdownMatchSelectWidth:pe,popupMatchSelectWidth:Oe,popupOverflow:xe,legacyLocale:Se,parentContext:$e,iconPrefixCls:re,theme:oe,componentDisabled:q,segmented:ue,statistic:Ee,spin:le,calendar:Ne,carousel:Ae,cascader:we,collapse:Re,typography:st,checkbox:nt,descriptions:_e,divider:We,drawer:Be,skeleton:it,steps:Ge,image:Ot,layout:$t,list:wt,mentions:Pt,modal:dt,progress:je,result:tt,slider:lt,breadcrumb:bt,menu:It,pagination:Kt,input:zt,empty:Mt,badge:Le,radio:Ce,rate:Et,switch:Tt,transfer:Ye,avatar:et,message:_t,tag:Ut,table:qt,card:un,tabs:Mn,timeline:vn,timePicker:Xn,upload:Vn,notification:or,tree:er,colorPicker:Wt,datePicker:en,wave:nn}=ke,fn=n.useCallback((ct,Dt)=>{const{prefixCls:xt}=ke;if(Dt)return Dt;const kt=xt||$e.getPrefixCls("");return ct?`${kt}-${ct}`:kt},[$e.getPrefixCls,ke.prefixCls]),En=re||$e.iconPrefixCls||x.oR,on=En!==$e.iconPrefixCls,pt=ot||$e.csp,gt=(0,X.Z)(En,pt),Xt=ee(oe,$e.theme),rn={csp:pt,autoInsertSpaceInButton:Ke,alert:he,anchor:J,locale:R||Se,direction:B,space:ge,virtual:ie,popupMatchSelectWidth:Oe!=null?Oe:pe,popupOverflow:xe,getPrefixCls:fn,iconPrefixCls:En,theme:Xt,segmented:ue,statistic:Ee,spin:le,calendar:Ne,carousel:Ae,cascader:we,collapse:Re,typography:st,checkbox:nt,descriptions:_e,divider:We,drawer:Be,skeleton:it,steps:Ge,image:Ot,input:zt,layout:$t,list:wt,mentions:Pt,modal:dt,progress:je,result:tt,slider:lt,breadcrumb:bt,menu:It,pagination:Kt,empty:Mt,badge:Le,radio:Ce,rate:Et,switch:Tt,transfer:Ye,avatar:et,message:_t,tag:Ut,table:qt,card:un,tabs:Mn,timeline:vn,timePicker:Xn,upload:Vn,notification:or,tree:er,colorPicker:Wt,datePicker:en,wave:nn},Jt=Object.assign({},$e);Object.keys(rn).forEach(ct=>{rn[ct]!==void 0&&(Jt[ct]=rn[ct])}),Y.forEach(ct=>{const Dt=ke[ct];Dt&&(Jt[ct]=Dt)});const pn=(0,o.Z)(()=>Jt,Jt,(ct,Dt)=>{const xt=Object.keys(ct),kt=Object.keys(Dt);return xt.length!==kt.length||xt.some(sn=>ct[sn]!==Dt[sn])}),mn=n.useMemo(()=>({prefixCls:En,csp:pt}),[En,pt]);let Zn=on?gt(Ve):Ve;const tr=n.useMemo(()=>{var ct,Dt,xt,kt;return(0,s.T)(((ct=h.Z.Form)===null||ct===void 0?void 0:ct.defaultValidateMessages)||{},((xt=(Dt=pn.locale)===null||Dt===void 0?void 0:Dt.Form)===null||xt===void 0?void 0:xt.defaultValidateMessages)||{},((kt=pn.form)===null||kt===void 0?void 0:kt.validateMessages)||{},(V==null?void 0:V.validateMessages)||{})},[pn,V==null?void 0:V.validateMessages]);Object.keys(tr).length>0&&(Zn=n.createElement(d.Z.Provider,{value:tr},Ve)),R&&(Zn=n.createElement(M,{locale:R,_ANT_MARK__:m},Zn)),(En||pt)&&(Zn=n.createElement(t.Z.Provider,{value:mn},Zn)),P&&(Zn=n.createElement(G.q,{size:P},Zn)),Zn=n.createElement(C,null,Zn);const ut=n.useMemo(()=>{const ct=Xt||{},{algorithm:Dt,token:xt,components:kt}=ct,sn=O(ct,["algorithm","token","components"]),tn=Dt&&(!Array.isArray(Dt)||Dt.length>0)?(0,a.jG)(Dt):S.uH,xn={};return Object.entries(kt||{}).forEach(Nn=>{let[gr,nr]=Nn;const Rn=Object.assign({},nr);"algorithm"in Rn&&(Rn.algorithm===!0?Rn.theme=tn:(Array.isArray(Rn.algorithm)||typeof Rn.algorithm=="function")&&(Rn.theme=(0,a.jG)(Rn.algorithm)),delete Rn.algorithm),xn[gr]=Rn}),Object.assign(Object.assign({},sn),{theme:tn,token:Object.assign(Object.assign({},w.Z),xt),components:xn})},[Xt]);return oe&&(Zn=n.createElement(S.Mj.Provider,{value:ut},Zn)),q!==void 0&&(Zn=n.createElement(j.n,{disabled:q},Zn)),n.createElement(x.E_.Provider,{value:pn},Zn)},vt=ke=>{const Ve=n.useContext(x.E_),ot=n.useContext(c.Z);return n.createElement(Ct,Object.assign({parentContext:Ve,legacyLocale:ot},ke))};vt.ConfigContext=x.E_,vt.SizeContext=G.Z,vt.config=Xe,vt.useConfig=ne,Object.defineProperty(vt,"SizeContext",{get:()=>G.Z});var Ht=vt},7056:function(b,y,e){"use strict";e.d(y,{Z:function(){return n}});var a={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",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,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"},t=a,o=e(38107),n={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"]},t),timePickerLocale:Object.assign({},o.Z)}},51244:function(b,y,e){"use strict";e.d(y,{Z:function(){return h}});var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(78330),d=e(52628),l=e(22151);const c=S=>{const{componentCls:w,sizePaddingEdgeHorizontal:x,colorSplit:z,lineWidth:U}=S;return{[w]:Object.assign(Object.assign({},(0,n.Wf)(S)),{borderBlockStart:`${U}px solid ${z}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${S.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${U}px solid ${z}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${S.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${w}-with-text`]:{display:"flex",alignItems:"center",margin:`${S.dividerHorizontalWithTextGutterMargin}px 0`,color:S.colorTextHeading,fontWeight:500,fontSize:S.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${z}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${U}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${w}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${w}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${w}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:z,borderStyle:"dashed",borderWidth:`${U}px 0 0`},[`&-horizontal${w}-with-text${w}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${w}-dashed`]:{borderInlineStartWidth:U,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${w}-with-text`]:{color:S.colorText,fontWeight:"normal",fontSize:S.fontSize},[`&-horizontal${w}-with-text-left${w}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${w}-inner-text`]:{paddingInlineStart:x}},[`&-horizontal${w}-with-text-right${w}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${w}-inner-text`]:{paddingInlineEnd:x}}})}};var m=(0,d.Z)("Divider",S=>{const w=(0,l.TS)(S,{dividerVerticalGutterMargin:S.marginXS,dividerHorizontalWithTextGutterMargin:S.margin,dividerHorizontalGutterMargin:S.marginLG});return[c(w)]},{sizePaddingEdgeHorizontal:0}),g=function(S,w){var x={};for(var z in S)Object.prototype.hasOwnProperty.call(S,z)&&w.indexOf(z)<0&&(x[z]=S[z]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,z=Object.getOwnPropertySymbols(S);U{const{getPrefixCls:w,direction:x,divider:z}=o.useContext(s.E_),{prefixCls:U,type:T="horizontal",orientation:N="center",orientationMargin:Z,className:D,rootClassName:L,children:j,dashed:G,plain:W,style:ne}=S,_=g(S,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),ee=w("divider",U),[se,Q]=m(ee),C=N.length>0?`-${N}`:N,X=!!j,O=N==="left"&&Z!=null,H=N==="right"&&Z!=null,k=t()(ee,z==null?void 0:z.className,Q,`${ee}-${T}`,{[`${ee}-with-text`]:X,[`${ee}-with-text${C}`]:X,[`${ee}-dashed`]:!!G,[`${ee}-plain`]:!!W,[`${ee}-rtl`]:x==="rtl",[`${ee}-no-default-orientation-margin-left`]:O,[`${ee}-no-default-orientation-margin-right`]:H},D,L),A=o.useMemo(()=>typeof Z=="number"?Z:/^\d+$/.test(Z)?Number(Z):Z,[Z]),Y=Object.assign(Object.assign({},O&&{marginLeft:A}),H&&{marginRight:A});return se(o.createElement("div",Object.assign({className:k,style:Object.assign(Object.assign({},z==null?void 0:z.style),ne)},_,{role:"separator"}),j&&T!=="vertical"&&o.createElement("span",{className:`${ee}-inner-text`,style:Y},j)))}},40627:function(b,y,e){"use strict";var a=e(91169),t=e(87608),o=e.n(t),s=e(4933),n=e(51729),d=e(60409),l=e(98186),c=e(58757),m=e(15018),g=e(95446),M=e(37047),h=e(61836),S=e(85706),w=e(81285),x=e(22802),z=e(78607);const U=null,T=L=>{const{menu:j,arrow:G,prefixCls:W,children:ne,trigger:_,disabled:ee,dropdownRender:se,getPopupContainer:Q,overlayClassName:C,rootClassName:X,open:O,onOpenChange:H,visible:k,onVisibleChange:A,mouseEnterDelay:Y=.15,mouseLeaveDelay:de=.1,autoAdjustOverflow:me=!0,placement:ve="",overlay:be,transitionName:Pe}=L,{getPopupContainer:Je,getPrefixCls:qe,direction:Xe}=c.useContext(h.E_),mt=c.useMemo(()=>{const Oe=qe();return Pe!==void 0?Pe:ve.includes("top")?`${Oe}-slide-down`:`${Oe}-slide-up`},[qe,ve,Pe]),Ct=c.useMemo(()=>ve?ve.includes("Center")?ve.slice(0,ve.indexOf("Center")):ve:Xe==="rtl"?"bottomRight":"bottomLeft",[ve,Xe]),vt=qe("dropdown",W),[Ht,ke]=(0,z.Z)(vt),{token:Ve}=x.Z.useToken(),ot=c.Children.only(ne),Ke=(0,M.Tm)(ot,{className:o()(`${vt}-trigger`,{[`${vt}-rtl`]:Xe==="rtl"},ot.props.className),disabled:ee}),he=ee?[]:_;let J;he&&he.includes("contextMenu")&&(J=!0);const[V,R]=(0,d.Z)(!1,{value:O!=null?O:k}),P=(0,n.Z)(Oe=>{H==null||H(Oe),A==null||A(Oe),R(Oe)}),B=o()(C,X,ke,{[`${vt}-rtl`]:Xe==="rtl"}),ge=(0,g.Z)({arrowPointAtCenter:typeof G=="object"&&G.pointAtCenter,autoAdjustOverflow:me,offset:Ve.marginXXS,arrowWidth:G?Ve.sizePopupArrow:0,borderRadius:Ve.borderRadius}),ie=c.useCallback(()=>{R(!1)},[]),pe=()=>{let Oe;return j!=null&&j.items?Oe=c.createElement(S.Z,Object.assign({},j)):typeof be=="function"?Oe=be():Oe=be,se&&(Oe=se(Oe)),Oe=c.Children.only(typeof Oe=="string"?c.createElement("span",null,Oe):Oe),c.createElement(w.J,{prefixCls:`${vt}-menu`,expandIcon:c.createElement("span",{className:`${vt}-menu-submenu-arrow`},c.createElement(a.Z,{className:`${vt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ie,validator:xe=>{let{mode:Se}=xe}},Oe)};return Ht(c.createElement(s.Z,Object.assign({alignPoint:J},(0,l.Z)(L,["rootClassName"]),{mouseEnterDelay:Y,mouseLeaveDelay:de,visible:V,builtinPlacements:ge,arrow:!!G,overlayClassName:B,prefixCls:vt,getPopupContainer:Q||Je,transitionName:mt,trigger:he,overlay:pe,placement:Ct,onVisibleChange:P}),Ke))};function N(L){return Object.assign(Object.assign({},L),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Z=(0,m.Z)(T,"dropdown",L=>L,N),D=L=>c.createElement(Z,Object.assign({},L),c.createElement("span",null));T._InternalPanelDoNotUseOrYouWillBeFired=D,y.Z=T},73267:function(b,y,e){"use strict";e.d(y,{Z:function(){return x}});var a=e(40627),t=e(87608),o=e.n(t),s=e(58757),n=e(18974),d=e(12562),l=e(61836),c=e(57414),m=e(43528),g=e(78607),M=function(z,U){var T={};for(var N in z)Object.prototype.hasOwnProperty.call(z,N)&&U.indexOf(N)<0&&(T[N]=z[N]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,N=Object.getOwnPropertySymbols(z);Z{const{getPopupContainer:U,getPrefixCls:T,direction:N}=s.useContext(l.E_),{prefixCls:Z,type:D="default",danger:L,disabled:j,loading:G,onClick:W,htmlType:ne,children:_,className:ee,menu:se,arrow:Q,autoFocus:C,overlay:X,trigger:O,align:H,open:k,onOpenChange:A,placement:Y,getPopupContainer:de,href:me,icon:ve=s.createElement(n.Z,null),title:be,buttonsRender:Pe=pe=>pe,mouseEnterDelay:Je,mouseLeaveDelay:qe,overlayClassName:Xe,overlayStyle:mt,destroyPopupOnHide:Ct,dropdownRender:vt}=z,Ht=M(z,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),ke=T("dropdown",Z),Ve=`${ke}-button`,[ot,Ke]=(0,g.Z)(ke),he={menu:se,arrow:Q,autoFocus:C,align:H,disabled:j,trigger:j?[]:O,onOpenChange:A,getPopupContainer:de||U,mouseEnterDelay:Je,mouseLeaveDelay:qe,overlayClassName:Xe,overlayStyle:mt,destroyPopupOnHide:Ct,dropdownRender:vt},{compactSize:J,compactItemClassnames:V}=(0,m.ri)(ke,N),R=o()(Ve,V,ee,Ke);"overlay"in z&&(he.overlay=X),"open"in z&&(he.open=k),"placement"in z?he.placement=Y:he.placement=N==="rtl"?"bottomLeft":"bottomRight";const P=s.createElement(d.ZP,{type:D,danger:L,disabled:j,loading:G,onClick:W,htmlType:ne,href:me,title:be},_),B=s.createElement(d.ZP,{type:D,danger:L,icon:ve}),[ge,ie]=Pe([P,B]);return ot(s.createElement(c.Z.Compact,Object.assign({className:R,size:J,block:!0},Ht),ge,s.createElement(a.Z,Object.assign({},he),ie)))};h.__ANT_BUTTON=!0;var S=h;const w=a.Z;w.Button=S;var x=w},78607:function(b,y,e){"use strict";e.d(y,{Z:function(){return M}});var a=e(78330),t=e(1016),o=e(1546),s=e(28107),n=e(24542),d=e(52628),l=e(22151),m=h=>{const{componentCls:S,menuCls:w,colorError:x,colorTextLightSolid:z}=h,U=`${w}-item`;return{[`${S}, ${S}-menu-submenu`]:{[`${w} ${U}`]:{[`&${U}-danger:not(${U}-disabled)`]:{color:x,"&:hover":{color:z,backgroundColor:x}}}}}};const g=h=>{const{componentCls:S,menuCls:w,zIndexPopup:x,dropdownArrowDistance:z,sizePopupArrow:U,antCls:T,iconCls:N,motionDurationMid:Z,dropdownPaddingVertical:D,fontSize:L,dropdownEdgeChildPadding:j,colorTextDisabled:G,fontSizeIcon:W,controlPaddingHorizontal:ne,colorBgElevated:_}=h;return[{[S]:Object.assign(Object.assign({},(0,a.Wf)(h)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:x,display:"block","&::before":{position:"absolute",insetBlock:-z+U/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${T}-btn`]:{[`& > ${N}-down, & > ${T}-btn-icon > ${N}-down`]:{fontSize:W}},[`${S}-wrap`]:{position:"relative",[`${T}-btn > ${N}-down`]:{fontSize:W},[`${N}-down::before`]:{transition:`transform ${Z}`}},[`${S}-wrap-open`]:{[`${N}-down::before`]:{transform:"rotate(180deg)"}},[` + &-hidden, + &-menu-hidden, + &-menu-submenu-hidden + `]:{display:"none"},[`&${T}-slide-down-enter${T}-slide-down-enter-active${S}-placement-bottomLeft, + &${T}-slide-down-appear${T}-slide-down-appear-active${S}-placement-bottomLeft, + &${T}-slide-down-enter${T}-slide-down-enter-active${S}-placement-bottom, + &${T}-slide-down-appear${T}-slide-down-appear-active${S}-placement-bottom, + &${T}-slide-down-enter${T}-slide-down-enter-active${S}-placement-bottomRight, + &${T}-slide-down-appear${T}-slide-down-appear-active${S}-placement-bottomRight`]:{animationName:t.fJ},[`&${T}-slide-up-enter${T}-slide-up-enter-active${S}-placement-topLeft, + &${T}-slide-up-appear${T}-slide-up-appear-active${S}-placement-topLeft, + &${T}-slide-up-enter${T}-slide-up-enter-active${S}-placement-top, + &${T}-slide-up-appear${T}-slide-up-appear-active${S}-placement-top, + &${T}-slide-up-enter${T}-slide-up-enter-active${S}-placement-topRight, + &${T}-slide-up-appear${T}-slide-up-appear-active${S}-placement-topRight`]:{animationName:t.Qt},[`&${T}-slide-down-leave${T}-slide-down-leave-active${S}-placement-bottomLeft, + &${T}-slide-down-leave${T}-slide-down-leave-active${S}-placement-bottom, + &${T}-slide-down-leave${T}-slide-down-leave-active${S}-placement-bottomRight`]:{animationName:t.Uw},[`&${T}-slide-up-leave${T}-slide-up-leave-active${S}-placement-topLeft, + &${T}-slide-up-leave${T}-slide-up-leave-active${S}-placement-top, + &${T}-slide-up-leave${T}-slide-up-leave-active${S}-placement-topRight`]:{animationName:t.ly}})},(0,n.ZP)(h,{colorBg:_,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${S} ${w}`]:{position:"relative",margin:0},[`${w}-submenu-popup`]:{position:"absolute",zIndex:x,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${S}, ${S}-menu-submenu`]:{[w]:Object.assign(Object.assign({padding:j,listStyleType:"none",backgroundColor:_,backgroundClip:"padding-box",borderRadius:h.borderRadiusLG,outline:"none",boxShadow:h.boxShadowSecondary},(0,a.Qy)(h)),{[`${w}-item-group-title`]:{padding:`${D}px ${ne}px`,color:h.colorTextDescription,transition:`all ${Z}`},[`${w}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${w}-item-icon`]:{minWidth:L,marginInlineEnd:h.marginXS,fontSize:h.fontSizeSM},[`${w}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${Z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${w}-item, ${w}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${D}px ${ne}px`,color:h.colorText,fontWeight:"normal",fontSize:L,lineHeight:h.lineHeight,cursor:"pointer",transition:`all ${Z}`,borderRadius:h.borderRadiusSM,["&:hover, &-active"]:{backgroundColor:h.controlItemBgHover}},(0,a.Qy)(h)),{"&-selected":{color:h.colorPrimary,backgroundColor:h.controlItemBgActive,"&:hover, &-active":{backgroundColor:h.controlItemBgActiveHover}},"&-disabled":{color:G,cursor:"not-allowed","&:hover":{color:G,backgroundColor:_,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${h.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:h.colorSplit},[`${S}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:h.paddingXS,[`${S}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:h.colorTextDescription,fontSize:W,fontStyle:"normal"}}}),[`${w}-item-group-list`]:{margin:`0 ${h.marginXS}px`,padding:0,listStyle:"none"},[`${w}-submenu-title`]:{paddingInlineEnd:ne+h.fontSizeSM},[`${w}-submenu-vertical`]:{position:"relative"},[`${w}-submenu${w}-submenu-disabled ${S}-menu-submenu-title`]:{[`&, ${S}-menu-submenu-arrow-icon`]:{color:G,backgroundColor:_,cursor:"not-allowed"}},[`${w}-submenu-selected ${S}-menu-submenu-title`]:{color:h.colorPrimary}})}},[(0,t.oN)(h,"slide-up"),(0,t.oN)(h,"slide-down"),(0,o.Fm)(h,"move-up"),(0,o.Fm)(h,"move-down"),(0,s._y)(h,"zoom-big")]]};var M=(0,d.Z)("Dropdown",(h,S)=>{let{rootPrefixCls:w}=S;const{marginXXS:x,sizePopupArrow:z,controlHeight:U,fontSize:T,lineHeight:N,paddingXXS:Z,componentCls:D,borderRadiusLG:L}=h,j=(U-T*N)/2,{dropdownArrowOffset:G}=(0,n.fS)({contentRadius:L}),W=(0,l.TS)(h,{menuCls:`${D}-menu`,rootPrefixCls:w,dropdownArrowDistance:z/2+x,dropdownArrowOffset:G,dropdownPaddingVertical:j,dropdownEdgeChildPadding:Z});return[g(W),m(W)]},h=>({zIndexPopup:h.zIndexPopupBase+50}))},17444:function(b,y,e){"use strict";e.d(y,{Z:function(){return Z}});var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(29487),d=e(66671),l=e(51806),m=()=>{const[,D]=(0,l.Z)(),j=new d.C(D.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:j,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),o.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),o.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),o.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),o.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},M=()=>{const[,D]=(0,l.Z)(),{colorFill:L,colorFillTertiary:j,colorFillQuaternary:G,colorBgContainer:W}=D,{borderColor:ne,shadowColor:_,contentColor:ee}=(0,o.useMemo)(()=>({borderColor:new d.C(L).onBackground(W).toHexShortString(),shadowColor:new d.C(j).onBackground(W).toHexShortString(),contentColor:new d.C(G).onBackground(W).toHexShortString()}),[L,j,G,W]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:_,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:ne},o.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),o.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:ee}))))},h=e(52628),S=e(22151);const w=D=>{const{componentCls:L,margin:j,marginXS:G,marginXL:W,fontSize:ne,lineHeight:_}=D;return{[L]:{marginInline:G,fontSize:ne,lineHeight:_,textAlign:"center",[`${L}-image`]:{height:D.emptyImgHeight,marginBottom:G,opacity:D.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${L}-description`]:{color:D.colorText},[`${L}-footer`]:{marginTop:j},"&-normal":{marginBlock:W,color:D.colorTextDisabled,[`${L}-description`]:{color:D.colorTextDisabled},[`${L}-image`]:{height:D.emptyImgHeightMD}},"&-small":{marginBlock:G,color:D.colorTextDisabled,[`${L}-image`]:{height:D.emptyImgHeightSM}}}}};var x=(0,h.Z)("Empty",D=>{const{componentCls:L,controlHeightLG:j}=D,G=(0,S.TS)(D,{emptyImgCls:`${L}-img`,emptyImgHeight:j*2.5,emptyImgHeightMD:j,emptyImgHeightSM:j*.875});return[w(G)]}),z=function(D,L){var j={};for(var G in D)Object.prototype.hasOwnProperty.call(D,G)&&L.indexOf(G)<0&&(j[G]=D[G]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,G=Object.getOwnPropertySymbols(D);W{var{className:L,rootClassName:j,prefixCls:G,image:W=U,description:ne,children:_,imageStyle:ee,style:se}=D,Q=z(D,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:C,direction:X,empty:O}=o.useContext(s.E_),H=C("empty",G),[k,A]=x(H),[Y]=(0,n.Z)("Empty"),de=typeof ne!="undefined"?ne:Y==null?void 0:Y.description,me=typeof de=="string"?de:"empty";let ve=null;return typeof W=="string"?ve=o.createElement("img",{alt:me,src:W}):ve=W,k(o.createElement("div",Object.assign({className:t()(A,H,O==null?void 0:O.className,{[`${H}-normal`]:W===T,[`${H}-rtl`]:X==="rtl"},L,j),style:Object.assign(Object.assign({},O==null?void 0:O.style),se)},Q),o.createElement("div",{className:`${H}-image`,style:ee},ve),de&&o.createElement("div",{className:`${H}-description`},de),_&&o.createElement("div",{className:`${H}-footer`},_)))};N.PRESENTED_IMAGE_DEFAULT=U,N.PRESENTED_IMAGE_SIMPLE=T;var Z=N},81496:function(b,y,e){"use strict";e.d(y,{RV:function(){return d},Rk:function(){return l},Ux:function(){return m},aM:function(){return c},q3:function(){return s},qI:function(){return n}});var a=e(94866),t=e(98186),o=e(58757);const s=o.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),n=o.createContext(null),d=g=>{const M=(0,t.Z)(g,["prefixCls"]);return o.createElement(a.RV,Object.assign({},M))},l=o.createContext({prefixCls:""}),c=o.createContext({}),m=g=>{let{children:M,status:h,override:S}=g;const w=(0,o.useContext)(c),x=(0,o.useMemo)(()=>{const z=Object.assign({},w);return S&&delete z.isFormItemInput,h&&(delete z.status,delete z.hasFeedback,delete z.feedbackIcon),z},[h,S,w]);return o.createElement(c.Provider,{value:x},M)}},47513:function(b,y,e){"use strict";e.d(y,{Z:function(){return Le}});var a=e(29140),t=e(87608),o=e.n(t),s=e(17598),n=e(58757),d=e(90881),l=e(81496);function c(Ce){const[Et,Tt]=n.useState(Ce);return n.useEffect(()=>{const Ye=setTimeout(()=>{Tt(Ce)},Ce.length?0:10);return()=>{clearTimeout(Ye)}},[Ce]),Et}var m=e(78330),g=e(28107),M=e(41086),h=e(52628),S=e(22151),x=Ce=>{const{componentCls:Et}=Ce,Tt=`${Et}-show-help`,Ye=`${Et}-show-help-item`;return{[Tt]:{transition:`opacity ${Ce.motionDurationSlow} ${Ce.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Ye]:{overflow:"hidden",transition:`height ${Ce.motionDurationSlow} ${Ce.motionEaseInOut}, + opacity ${Ce.motionDurationSlow} ${Ce.motionEaseInOut}, + transform ${Ce.motionDurationSlow} ${Ce.motionEaseInOut} !important`,[`&${Ye}-appear, &${Ye}-enter`]:{transform:"translateY(-5px)",opacity:0,["&-active"]:{transform:"translateY(0)",opacity:1}},[`&${Ye}-leave-active`]:{transform:"translateY(-5px)"}}}}};const z=Ce=>({legend:{display:"block",width:"100%",marginBottom:Ce.marginLG,padding:0,color:Ce.colorTextDescription,fontSize:Ce.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Ce.lineWidth}px ${Ce.lineType} ${Ce.colorBorder}`},label:{fontSize:Ce.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, + input[type='radio']:focus, + input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${Ce.controlOutlineWidth}px ${Ce.controlOutline}`},output:{display:"block",paddingTop:15,color:Ce.colorText,fontSize:Ce.fontSize,lineHeight:Ce.lineHeight}}),U=(Ce,Et)=>{const{formItemCls:Tt}=Ce;return{[Tt]:{[`${Tt}-label > label`]:{height:Et},[`${Tt}-control-input`]:{minHeight:Et}}}},T=Ce=>{const{componentCls:Et}=Ce;return{[Ce.componentCls]:Object.assign(Object.assign(Object.assign({},(0,m.Wf)(Ce)),z(Ce)),{[`${Et}-text`]:{display:"inline-block",paddingInlineEnd:Ce.paddingSM},"&-small":Object.assign({},U(Ce,Ce.controlHeightSM)),"&-large":Object.assign({},U(Ce,Ce.controlHeightLG))})}},N=Ce=>{const{formItemCls:Et,iconCls:Tt,componentCls:Ye,rootPrefixCls:et}=Ce;return{[Et]:Object.assign(Object.assign({},(0,m.Wf)(Ce)),{marginBottom:Ce.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${et}-row`]:{display:"none"},"&-has-warning":{[`${Et}-split`]:{color:Ce.colorError}},"&-has-error":{[`${Et}-split`]:{color:Ce.colorWarning}},[`${Et}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Ce.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Ce.controlHeight,color:Ce.colorTextHeading,fontSize:Ce.fontSize,[`> ${Tt}`]:{fontSize:Ce.fontSize,verticalAlign:"top"},[`&${Et}-required:not(${Et}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Ce.marginXXS,color:Ce.colorError,fontSize:Ce.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Ye}-hide-required-mark &`]:{display:"none"}},[`${Et}-optional`]:{display:"inline-block",marginInlineStart:Ce.marginXXS,color:Ce.colorTextDescription,[`${Ye}-hide-required-mark &`]:{display:"none"}},[`${Et}-tooltip`]:{color:Ce.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Ce.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Ce.marginXXS/2,marginInlineEnd:Ce.marginXS},[`&${Et}-no-colon::after`]:{content:'"\\a0"'}}},[`${Et}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${et}-col-'"]):not([class*="' ${et}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Ce.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Et]:{"&-explain, &-extra":{clear:"both",color:Ce.colorTextDescription,fontSize:Ce.fontSize,lineHeight:Ce.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Ce.controlHeightSM,transition:`color ${Ce.motionDurationMid} ${Ce.motionEaseOut}`},"&-explain":{"&-error":{color:Ce.colorError},"&-warning":{color:Ce.colorWarning}}},[`&-with-help ${Et}-explain`]:{height:"auto",opacity:1},[`${Et}-feedback-icon`]:{fontSize:Ce.fontSize,textAlign:"center",visibility:"visible",animationName:g.kr,animationDuration:Ce.motionDurationMid,animationTimingFunction:Ce.motionEaseOutBack,pointerEvents:"none","&-success":{color:Ce.colorSuccess},"&-error":{color:Ce.colorError},"&-warning":{color:Ce.colorWarning},"&-validating":{color:Ce.colorPrimary}}})}},Z=Ce=>{const{componentCls:Et,formItemCls:Tt,rootPrefixCls:Ye}=Ce;return{[`${Et}-horizontal`]:{[`${Tt}-label`]:{flexGrow:0},[`${Tt}-control`]:{flex:"1 1 0",minWidth:0},[`${Tt}-label.${Ye}-col-24 + ${Tt}-control`]:{minWidth:"unset"}}}},D=Ce=>{const{componentCls:Et,formItemCls:Tt}=Ce;return{[`${Et}-inline`]:{display:"flex",flexWrap:"wrap",[Tt]:{flex:"none",marginInlineEnd:Ce.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Tt}-label, + > ${Tt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Tt}-label`]:{flex:"none"},[`${Et}-text`]:{display:"inline-block"},[`${Tt}-has-feedback`]:{display:"inline-block"}}}}},L=Ce=>({padding:`0 0 ${Ce.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),j=Ce=>{const{componentCls:Et,formItemCls:Tt,rootPrefixCls:Ye}=Ce;return{[`${Tt} ${Tt}-label`]:L(Ce),[Et]:{[Tt]:{flexWrap:"wrap",[`${Tt}-label, ${Tt}-control`]:{[`&:not([class*=" ${Ye}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},G=Ce=>{const{componentCls:Et,formItemCls:Tt,rootPrefixCls:Ye}=Ce;return{[`${Et}-vertical`]:{[Tt]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Et}-item-control`]:{width:"100%"}}},[`${Et}-vertical ${Tt}-label, + .${Ye}-col-24${Tt}-label, + .${Ye}-col-xl-24${Tt}-label`]:L(Ce),[`@media (max-width: ${Ce.screenXSMax}px)`]:[j(Ce),{[Et]:{[`.${Ye}-col-xs-24${Tt}-label`]:L(Ce)}}],[`@media (max-width: ${Ce.screenSMMax}px)`]:{[Et]:{[`.${Ye}-col-sm-24${Tt}-label`]:L(Ce)}},[`@media (max-width: ${Ce.screenMDMax}px)`]:{[Et]:{[`.${Ye}-col-md-24${Tt}-label`]:L(Ce)}},[`@media (max-width: ${Ce.screenLGMax}px)`]:{[Et]:{[`.${Ye}-col-lg-24${Tt}-label`]:L(Ce)}}}};var W=(0,h.Z)("Form",(Ce,Et)=>{let{rootPrefixCls:Tt}=Et;const Ye=(0,S.TS)(Ce,{formItemCls:`${Ce.componentCls}-item`,rootPrefixCls:Tt});return[T(Ye),N(Ye),x(Ye),Z(Ye),D(Ye),G(Ye),(0,M.Z)(Ye),g.kr]});const ne=[];function _(Ce,Et,Tt){let Ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Ce=="string"?Ce:`${Et}-${Ye}`,error:Ce,errorStatus:Tt}}var se=Ce=>{let{help:Et,helpStatus:Tt,errors:Ye=ne,warnings:et=ne,className:_t,fieldId:Ut,onVisibleChanged:qt}=Ce;const{prefixCls:un}=n.useContext(l.Rk),Mn=`${un}-item-explain`,[,vn]=W(un),Xn=(0,n.useMemo)(()=>(0,d.Z)(un),[un]),Vn=c(Ye),or=c(et),er=n.useMemo(()=>Et!=null?[_(Et,"help",Tt)]:[].concat((0,a.Z)(Vn.map((en,nn)=>_(en,"error","error",nn))),(0,a.Z)(or.map((en,nn)=>_(en,"warning","warning",nn)))),[Et,Tt,Vn,or]),Wt={};return Ut&&(Wt.id=`${Ut}_help`),n.createElement(s.ZP,{motionDeadline:Xn.motionDeadline,motionName:`${un}-show-help`,visible:!!er.length,onVisibleChanged:qt},en=>{const{className:nn,style:fn}=en;return n.createElement("div",Object.assign({},Wt,{className:o()(Mn,nn,_t,vn),style:fn,role:"alert"}),n.createElement(s.V4,Object.assign({keys:er},(0,d.Z)(un),{motionName:`${un}-show-help-item`,component:!1}),En=>{const{key:on,error:pt,errorStatus:gt,className:Xt,style:rn}=En;return n.createElement("div",{key:on,className:o()(Xt,{[`${Mn}-${gt}`]:gt}),style:rn},pt)}))})},Q=e(94866),C=e(61836),X=e(92428),O=e(33446),H=e(58785),k=e(18591);const A=["parentNode"],Y="form_item";function de(Ce){return Ce===void 0||Ce===!1?[]:Array.isArray(Ce)?Ce:[Ce]}function me(Ce,Et){if(!Ce.length)return;const Tt=Ce.join("_");return Et?`${Et}_${Tt}`:A.includes(Tt)?`${Y}_${Tt}`:Tt}function ve(Ce){return de(Ce).join("_")}function be(Ce){const[Et]=(0,Q.cI)(),Tt=n.useRef({}),Ye=n.useMemo(()=>Ce!=null?Ce:Object.assign(Object.assign({},Et),{__INTERNAL__:{itemRef:et=>_t=>{const Ut=ve(et);_t?Tt.current[Ut]=_t:delete Tt.current[Ut]}},scrollToField:function(et){let _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Ut=de(et),qt=me(Ut,Ye.__INTERNAL__.name),un=qt?document.getElementById(qt):null;un&&(0,k.Z)(un,Object.assign({scrollMode:"if-needed",block:"nearest"},_t))},getFieldInstance:et=>{const _t=ve(et);return Tt.current[_t]}}),[Ce,Et]);return[Ye]}var Pe=e(48736),Je=function(Ce,Et){var Tt={};for(var Ye in Ce)Object.prototype.hasOwnProperty.call(Ce,Ye)&&Et.indexOf(Ye)<0&&(Tt[Ye]=Ce[Ye]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ye=Object.getOwnPropertySymbols(Ce);et{const Tt=n.useContext(X.Z),{getPrefixCls:Ye,direction:et,form:_t}=n.useContext(C.E_),{prefixCls:Ut,className:qt,rootClassName:un,size:Mn,disabled:vn=Tt,form:Xn,colon:Vn,labelAlign:or,labelWrap:er,labelCol:Wt,wrapperCol:en,hideRequiredMark:nn,layout:fn="horizontal",scrollToFirstError:En,requiredMark:on,onFinishFailed:pt,name:gt,style:Xt}=Ce,rn=Je(Ce,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style"]),Jt=(0,H.Z)(Mn),pn=n.useContext(Pe.Z),mn=(0,n.useMemo)(()=>on!==void 0?on:_t&&_t.requiredMark!==void 0?_t.requiredMark:!nn,[nn,on,_t]),Zn=Vn!=null?Vn:_t==null?void 0:_t.colon,tr=Ye("form",Ut),[ut,ct]=W(tr),Dt=o()(tr,`${tr}-${fn}`,{[`${tr}-hide-required-mark`]:mn===!1,[`${tr}-rtl`]:et==="rtl",[`${tr}-${Jt}`]:Jt},ct,_t==null?void 0:_t.className,qt,un),[xt]=be(Xn),{__INTERNAL__:kt}=xt;kt.name=gt;const sn=(0,n.useMemo)(()=>({name:gt,labelAlign:or,labelCol:Wt,labelWrap:er,wrapperCol:en,vertical:fn==="vertical",colon:Zn,requiredMark:mn,itemRef:kt.itemRef,form:xt}),[gt,or,Wt,en,fn,Zn,mn,xt]);n.useImperativeHandle(Et,()=>xt);const tn=(Nn,gr)=>{if(Nn){let nr={block:"nearest"};typeof Nn=="object"&&(nr=Nn),xt.scrollToField(gr,nr)}},xn=Nn=>{if(pt==null||pt(Nn),Nn.errorFields.length){const gr=Nn.errorFields[0].name;if(En!==void 0){tn(En,gr);return}_t&&_t.scrollToFirstError!==void 0&&tn(_t.scrollToFirstError,gr)}};return ut(n.createElement(X.n,{disabled:vn},n.createElement(O.q,{size:Jt},n.createElement(l.RV,{validateMessages:pn},n.createElement(l.q3.Provider,{value:sn},n.createElement(Q.ZP,Object.assign({id:gt},rn,{name:gt,onFinishFailed:xn,form:xt,style:Object.assign(Object.assign({},_t==null?void 0:_t.style),Xt),className:Dt})))))))};var mt=n.forwardRef(qe),Ct=e(13989),vt=e(21319),Ht=e(37047);const ke=()=>{const{status:Ce,errors:Et=[],warnings:Tt=[]}=(0,n.useContext)(l.aM);return{status:Ce,errors:Et,warnings:Tt}};ke.Context=l.aM;var Ve=ke,ot=e(61834);function Ke(Ce){const[Et,Tt]=n.useState(Ce),Ye=(0,n.useRef)(null),et=(0,n.useRef)([]),_t=(0,n.useRef)(!1);n.useEffect(()=>(_t.current=!1,()=>{_t.current=!0,ot.Z.cancel(Ye.current),Ye.current=null}),[]);function Ut(qt){_t.current||(Ye.current===null&&(et.current=[],Ye.current=(0,ot.Z)(()=>{Ye.current=null,Tt(un=>{let Mn=un;return et.current.forEach(vn=>{Mn=vn(Mn)}),Mn})})),et.current.push(qt))}return[Et,Ut]}function he(){const{itemRef:Ce}=n.useContext(l.q3),Et=n.useRef({});function Tt(Ye,et){const _t=et&&typeof et=="object"&&et.ref,Ut=Ye.join("_");return(Et.current.name!==Ut||Et.current.originRef!==_t)&&(Et.current.name=Ut,Et.current.originRef=_t,Et.current.ref=(0,vt.sQ)(Ce(Ye),_t)),Et.current.ref}return Tt}var J=e(85678),V=e(79999),R=e(69831),P=e(25755),B=e(81334),ge=e(46499),ie=e(98186),pe=e(67665),Oe=e(91334),Se=Ce=>{const{prefixCls:Et,status:Tt,wrapperCol:Ye,children:et,errors:_t,warnings:Ut,_internalItemRender:qt,extra:un,help:Mn,fieldId:vn,marginBottom:Xn,onErrorVisibleChanged:Vn}=Ce,or=`${Et}-item`,er=n.useContext(l.q3),Wt=Ye||er.wrapperCol||{},en=o()(`${or}-control`,Wt.className),nn=n.useMemo(()=>Object.assign({},er),[er]);delete nn.labelCol,delete nn.wrapperCol;const fn=n.createElement("div",{className:`${or}-control-input`},n.createElement("div",{className:`${or}-control-input-content`},et)),En=n.useMemo(()=>({prefixCls:Et,status:Tt}),[Et,Tt]),on=Xn!==null||_t.length||Ut.length?n.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},n.createElement(l.Rk.Provider,{value:En},n.createElement(se,{fieldId:vn,errors:_t,warnings:Ut,help:Mn,helpStatus:Tt,className:`${or}-explain-connected`,onVisibleChanged:Vn})),!!Xn&&n.createElement("div",{style:{width:0,height:Xn}})):null,pt={};vn&&(pt.id=`${vn}_extra`);const gt=un?n.createElement("div",Object.assign({},pt,{className:`${or}-extra`}),un):null,Xt=qt&&qt.mark==="pro_table_render"&&qt.render?qt.render(Ce,{input:fn,errorList:on,extra:gt}):n.createElement(n.Fragment,null,fn,on,gt);return n.createElement(l.q3.Provider,{value:nn},n.createElement(Oe.Z,Object.assign({},Wt,{className:en}),Xt))},$e=e(60698),re={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},oe=re,q=e(17202),ue=function(Et,Tt){return n.createElement(q.Z,(0,$e.Z)({},Et,{ref:Tt,icon:oe}))},Ee=n.forwardRef(ue),le=e(80076),Ne=e(29487),Ae=e(74820),we=function(Ce,Et){var Tt={};for(var Ye in Ce)Object.prototype.hasOwnProperty.call(Ce,Ye)&&Et.indexOf(Ye)<0&&(Tt[Ye]=Ce[Ye]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ye=Object.getOwnPropertySymbols(Ce);et{let{prefixCls:Et,label:Tt,htmlFor:Ye,labelCol:et,labelAlign:_t,colon:Ut,required:qt,requiredMark:un,tooltip:Mn}=Ce;var vn;const[Xn]=(0,Ne.Z)("Form"),{vertical:Vn,labelAlign:or,labelCol:er,labelWrap:Wt,colon:en}=n.useContext(l.q3);if(!Tt)return null;const nn=et||er||{},fn=_t||or,En=`${Et}-item-label`,on=o()(En,fn==="left"&&`${En}-left`,nn.className,{[`${En}-wrap`]:!!Wt});let pt=Tt;const gt=Ut===!0||en!==!1&&Ut!==!1;gt&&!Vn&&typeof Tt=="string"&&Tt.trim()!==""&&(pt=Tt.replace(/[:|:]\s*$/,""));const rn=Re(Mn);if(rn){const{icon:pn=n.createElement(Ee,null)}=rn,mn=we(rn,["icon"]),Zn=n.createElement(Ae.Z,Object.assign({},mn),n.cloneElement(pn,{className:`${Et}-item-tooltip`,title:""}));pt=n.createElement(n.Fragment,null,pt,Zn)}un==="optional"&&!qt&&(pt=n.createElement(n.Fragment,null,pt,n.createElement("span",{className:`${Et}-item-optional`,title:""},(Xn==null?void 0:Xn.optional)||((vn=le.Z.Form)===null||vn===void 0?void 0:vn.optional))));const Jt=o()({[`${Et}-item-required`]:qt,[`${Et}-item-required-mark-optional`]:un==="optional",[`${Et}-item-no-colon`]:!gt});return n.createElement(Oe.Z,Object.assign({},nn,{className:on}),n.createElement("label",{htmlFor:Ye,className:Jt,title:typeof Tt=="string"?Tt:""},pt))},_e=function(Ce,Et){var Tt={};for(var Ye in Ce)Object.prototype.hasOwnProperty.call(Ce,Ye)&&Et.indexOf(Ye)<0&&(Tt[Ye]=Ce[Ye]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ye=Object.getOwnPropertySymbols(Ce);et{if(rn&&on.current){const xt=getComputedStyle(on.current);mn(parseInt(xt.marginBottom,10))}},[rn,Jt]);const Zn=xt=>{xt||mn(null)},ut=function(){let xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,kt="";const sn=xt?pt:Mn.errors,tn=xt?gt:Mn.warnings;return un!==void 0?kt=un:Mn.validating?kt="validating":sn.length?kt="error":tn.length?kt="warning":(Mn.touched||vn&&Mn.validated)&&(kt="success"),kt}(),ct=n.useMemo(()=>{let xt;if(vn){const kt=ut&&We[ut];xt=kt?n.createElement("span",{className:o()(`${fn}-feedback-icon`,`${fn}-feedback-icon-${ut}`)},n.createElement(kt,null)):null}return{status:ut,errors:Ut,warnings:qt,hasFeedback:vn,feedbackIcon:xt,isFormItemInput:!0}},[ut,vn]),Dt=o()(fn,Tt,Ye,{[`${fn}-with-help`]:Xt||pt.length||gt.length,[`${fn}-has-feedback`]:ut&&vn,[`${fn}-has-success`]:ut==="success",[`${fn}-has-warning`]:ut==="warning",[`${fn}-has-error`]:ut==="error",[`${fn}-is-validating`]:ut==="validating",[`${fn}-hidden`]:Xn});return n.createElement("div",{className:Dt,style:et,ref:on},n.createElement(pe.Z,Object.assign({className:`${fn}-row`},(0,ie.Z)(nn,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),n.createElement(nt,Object.assign({htmlFor:or},Ce,{requiredMark:En,required:er!=null?er:Wt,prefixCls:Et})),n.createElement(Se,Object.assign({},Ce,Mn,{errors:pt,warnings:gt,prefixCls:Et,status:ut,help:_t,marginBottom:pn,onErrorVisibleChanged:Zn}),n.createElement(l.qI.Provider,{value:en},n.createElement(l.aM.Provider,{value:ct},Vn)))),!!pn&&n.createElement("div",{className:`${fn}-margin-offset`,style:{marginBottom:-pn}}))}var it=e(42156);function Ge(Ce){if(typeof Ce=="function")return Ce;const Et=(0,it.Z)(Ce);return Et.length<=1?Et[0]:Et}const Ot="__SPLIT__",$t=null,wt=n.memo(Ce=>{let{children:Et}=Ce;return Et},(Ce,Et)=>Ce.value===Et.value&&Ce.update===Et.update&&Ce.childProps.length===Et.childProps.length&&Ce.childProps.every((Tt,Ye)=>Tt===Et.childProps[Ye]));function Pt(Ce){return Ce!=null}function dt(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function je(Ce){const{name:Et,noStyle:Tt,className:Ye,dependencies:et,prefixCls:_t,shouldUpdate:Ut,rules:qt,children:un,required:Mn,label:vn,messageVariables:Xn,trigger:Vn="onChange",validateTrigger:or,hidden:er,help:Wt}=Ce,{getPrefixCls:en}=n.useContext(C.E_),{name:nn}=n.useContext(l.q3),fn=Ge(un),En=typeof fn=="function",on=n.useContext(l.qI),{validateTrigger:pt}=n.useContext(Q.zb),gt=or!==void 0?or:pt,Xt=Pt(Et),rn=en("form",_t),[Jt,pn]=W(rn),mn=n.useContext(Q.ZM),Zn=n.useRef(),[tr,ut]=Ke({}),[ct,Dt]=(0,Ct.Z)(()=>dt()),xt=nr=>{const Rn=mn==null?void 0:mn.getKey(nr.name);if(Dt(nr.destroy?dt():nr,!0),Tt&&Wt!==!1&&on){let kr=nr.name;if(nr.destroy)kr=Zn.current||kr;else if(Rn!==void 0){const[fr,ua]=Rn;kr=[fr].concat((0,a.Z)(ua)),Zn.current=kr}on(nr,kr)}},kt=(nr,Rn)=>{ut(kr=>{const fr=Object.assign({},kr),Pr=[].concat((0,a.Z)(nr.name.slice(0,-1)),(0,a.Z)(Rn)).join(Ot);return nr.destroy?delete fr[Pr]:fr[Pr]=nr,fr})},[sn,tn]=n.useMemo(()=>{const nr=(0,a.Z)(ct.errors),Rn=(0,a.Z)(ct.warnings);return Object.values(tr).forEach(kr=>{nr.push.apply(nr,(0,a.Z)(kr.errors||[])),Rn.push.apply(Rn,(0,a.Z)(kr.warnings||[]))}),[nr,Rn]},[tr,ct.errors,ct.warnings]),xn=he();function Nn(nr,Rn,kr){return Tt&&!er?nr:n.createElement(Be,Object.assign({key:"row"},Ce,{className:o()(Ye,pn),prefixCls:rn,fieldId:Rn,isRequired:kr,errors:sn,warnings:tn,meta:ct,onSubItemMetaChange:kt}),nr)}if(!Xt&&!En&&!et)return Jt(Nn(fn));let gr={};return typeof vn=="string"?gr.label=vn:Et&&(gr.label=String(Et)),Xn&&(gr=Object.assign(Object.assign({},gr),Xn)),Jt(n.createElement(Q.gN,Object.assign({},Ce,{messageVariables:gr,trigger:Vn,validateTrigger:gt,onMetaChange:xt}),(nr,Rn,kr)=>{const fr=de(Et).length&&Rn?Rn.name:[],ua=me(fr,nn),Pr=Mn!==void 0?Mn:!!(qt&&qt.some(wn=>{if(wn&&typeof wn=="object"&&wn.required&&!wn.warningOnly)return!0;if(typeof wn=="function"){const ar=wn(kr);return ar&&ar.required&&!ar.warningOnly}return!1})),Bn=Object.assign({},nr);let Cn=null;if(Array.isArray(fn)&&Xt)Cn=fn;else if(!(En&&(!(Ut||et)||Xt))){if(!(et&&!En&&!Xt))if((0,Ht.l$)(fn)){const wn=Object.assign(Object.assign({},fn.props),Bn);if(wn.id||(wn.id=ua),Wt||sn.length>0||tn.length>0||Ce.extra){const Qr=[];(Wt||sn.length>0)&&Qr.push(`${ua}_help`),Ce.extra&&Qr.push(`${ua}_extra`),wn["aria-describedby"]=Qr.join(" ")}sn.length>0&&(wn["aria-invalid"]="true"),Pr&&(wn["aria-required"]="true"),(0,vt.Yr)(fn)&&(wn.ref=xn(fr,fn)),new Set([].concat((0,a.Z)(de(Vn)),(0,a.Z)(de(gt)))).forEach(Qr=>{wn[Qr]=function(){for(var qr,ya,dr,Br,Ea,ca=arguments.length,Kn=new Array(ca),zn=0;zn{var{prefixCls:Et,children:Tt}=Ce,Ye=bt(Ce,["prefixCls","children"]);const{getPrefixCls:et}=n.useContext(C.E_),_t=et("form",Et),Ut=n.useMemo(()=>({prefixCls:_t,status:"error"}),[_t]);return n.createElement(Q.aV,Object.assign({},Ye),(qt,un,Mn)=>n.createElement(l.Rk.Provider,{value:Ut},Tt(qt.map(vn=>Object.assign(Object.assign({},vn),{fieldKey:vn.key})),un,{errors:Mn.errors,warnings:Mn.warnings})))};function zt(){const{form:Ce}=(0,n.useContext)(l.q3);return Ce}const Mt=mt;Mt.Item=lt,Mt.List=Kt,Mt.ErrorList=se,Mt.useForm=be,Mt.useFormInstance=zt,Mt.useWatch=Q.qo,Mt.Provider=l.RV,Mt.create=()=>{};var Le=Mt},48736:function(b,y,e){"use strict";var a=e(58757);y.Z=(0,a.createContext)(void 0)},35429:function(b,y,e){"use strict";var a=e(58757);const t=(0,a.createContext)({});y.Z=t},91334:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(35429),d=e(58378),l=function(M,h){var S={};for(var w in M)Object.prototype.hasOwnProperty.call(M,w)&&h.indexOf(w)<0&&(S[w]=M[w]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,w=Object.getOwnPropertySymbols(M);x{const{getPrefixCls:S,direction:w}=o.useContext(s.E_),{gutter:x,wrap:z,supportFlexGap:U}=o.useContext(n.Z),{prefixCls:T,span:N,order:Z,offset:D,push:L,pull:j,className:G,children:W,flex:ne,style:_}=M,ee=l(M,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),se=S("col",T),[Q,C]=(0,d.c)(se);let X={};m.forEach(k=>{let A={};const Y=M[k];typeof Y=="number"?A.span=Y:typeof Y=="object"&&(A=Y||{}),delete ee[k],X=Object.assign(Object.assign({},X),{[`${se}-${k}-${A.span}`]:A.span!==void 0,[`${se}-${k}-order-${A.order}`]:A.order||A.order===0,[`${se}-${k}-offset-${A.offset}`]:A.offset||A.offset===0,[`${se}-${k}-push-${A.push}`]:A.push||A.push===0,[`${se}-${k}-pull-${A.pull}`]:A.pull||A.pull===0,[`${se}-${k}-flex-${A.flex}`]:A.flex||A.flex==="auto",[`${se}-rtl`]:w==="rtl"})});const O=t()(se,{[`${se}-${N}`]:N!==void 0,[`${se}-order-${Z}`]:Z,[`${se}-offset-${D}`]:D,[`${se}-push-${L}`]:L,[`${se}-pull-${j}`]:j},G,X,C),H={};if(x&&x[0]>0){const k=x[0]/2;H.paddingLeft=k,H.paddingRight=k}if(x&&x[1]>0&&!U){const k=x[1]/2;H.paddingTop=k,H.paddingBottom=k}return ne&&(H.flex=c(ne),z===!1&&!H.minWidth&&(H.minWidth=0)),Q(o.createElement("div",Object.assign({},ee,{style:Object.assign(Object.assign({},H),_),className:O,ref:h}),W))});y.Z=g},60059:function(b,y,e){"use strict";var a=e(58757),t=e(81334),o=e(4459),s=e(87078);function n(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const l=(0,a.useRef)({}),c=(0,o.Z)(),m=(0,s.Z)();return(0,t.Z)(()=>{const g=m.subscribe(M=>{l.current=M,d&&c()});return()=>m.unsubscribe(g)},[]),l.current}y.Z=n},67665:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(69387),d=e(87078),l=e(35429),c=e(58378),m=function(w,x){var z={};for(var U in w)Object.prototype.hasOwnProperty.call(w,U)&&x.indexOf(U)<0&&(z[U]=w[U]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,U=Object.getOwnPropertySymbols(w);T{if(typeof w=="string"&&U(w),typeof w=="object")for(let N=0;N{T()},[JSON.stringify(w),x]),z}const S=o.forwardRef((w,x)=>{const{prefixCls:z,justify:U,align:T,className:N,style:Z,children:D,gutter:L=0,wrap:j}=w,G=m(w,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:W,direction:ne}=o.useContext(s.E_),[_,ee]=o.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[se,Q]=o.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),C=h(T,se),X=h(U,se),O=(0,n.Z)(),H=o.useRef(L),k=(0,d.Z)();o.useEffect(()=>{const vt=k.subscribe(Ht=>{Q(Ht);const ke=H.current||0;(!Array.isArray(ke)&&typeof ke=="object"||Array.isArray(ke)&&(typeof ke[0]=="object"||typeof ke[1]=="object"))&&ee(Ht)});return()=>k.unsubscribe(vt)},[]);const A=()=>{const vt=[void 0,void 0];return(Array.isArray(L)?L:[L,void 0]).forEach((ke,Ve)=>{if(typeof ke=="object")for(let ot=0;ot0?ve[0]/-2:void 0,qe=ve[1]!=null&&ve[1]>0?ve[1]/-2:void 0;Je&&(Pe.marginLeft=Je,Pe.marginRight=Je),O?[,Pe.rowGap]=ve:qe&&(Pe.marginTop=qe,Pe.marginBottom=qe);const[Xe,mt]=ve,Ct=o.useMemo(()=>({gutter:[Xe,mt],wrap:j,supportFlexGap:O}),[Xe,mt,j,O]);return de(o.createElement(l.Z.Provider,{value:Ct},o.createElement("div",Object.assign({},G,{className:be,style:Object.assign(Object.assign({},Pe),Z),ref:x}),D)))});y.Z=S},58378:function(b,y,e){"use strict";e.d(y,{V:function(){return c},c:function(){return m}});var a=e(52628),t=e(22151);const o=g=>{const{componentCls:M}=g;return{[M]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},s=g=>{const{componentCls:M}=g;return{[M]:{position:"relative",maxWidth:"100%",minHeight:1}}},n=(g,M)=>{const{componentCls:h,gridColumns:S}=g,w={};for(let x=S;x>=0;x--)x===0?(w[`${h}${M}-${x}`]={display:"none"},w[`${h}-push-${x}`]={insetInlineStart:"auto"},w[`${h}-pull-${x}`]={insetInlineEnd:"auto"},w[`${h}${M}-push-${x}`]={insetInlineStart:"auto"},w[`${h}${M}-pull-${x}`]={insetInlineEnd:"auto"},w[`${h}${M}-offset-${x}`]={marginInlineStart:0},w[`${h}${M}-order-${x}`]={order:0}):(w[`${h}${M}-${x}`]={display:"block",flex:`0 0 ${x/S*100}%`,maxWidth:`${x/S*100}%`},w[`${h}${M}-push-${x}`]={insetInlineStart:`${x/S*100}%`},w[`${h}${M}-pull-${x}`]={insetInlineEnd:`${x/S*100}%`},w[`${h}${M}-offset-${x}`]={marginInlineStart:`${x/S*100}%`},w[`${h}${M}-order-${x}`]={order:x});return w},d=(g,M)=>n(g,M),l=(g,M,h)=>({[`@media (min-width: ${M}px)`]:Object.assign({},d(g,h))}),c=(0,a.Z)("Grid",g=>[o(g)]),m=(0,a.Z)("Grid",g=>{const M=(0,t.TS)(g,{gridColumns:24}),h={"-sm":M.screenSMMin,"-md":M.screenMDMin,"-lg":M.screenLGMin,"-xl":M.screenXLMin,"-xxl":M.screenXXLMin};return[s(M),d(M,""),d(M,"-xs"),Object.keys(h).map(S=>l(M,h[S],S)).reduce((S,w)=>Object.assign(Object.assign({},S),w),{})]})},32423:function(b,y,e){"use strict";e.d(y,{Z:function(){return re}});var a=e(10130),t=e(23926),o=e(87608),s=e.n(o),n=e(60698),d=e(37734),l=e(38790),c=e(28314),m=e(47075),g=e(60412),M=e(14346);function h(){return typeof BigInt=="function"}function S(oe){return!oe&&oe!==0&&!Number.isNaN(oe)||!String(oe).trim()}function w(oe){var q=oe.trim(),ue=q.startsWith("-");ue&&(q=q.slice(1)),q=q.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),q.startsWith(".")&&(q="0".concat(q));var Ee=q||"0",le=Ee.split("."),Ne=le[0]||"0",Ae=le[1]||"0";Ne==="0"&&Ae==="0"&&(ue=!1);var we=ue?"-":"";return{negative:ue,negativeStr:we,trimStr:Ee,integerStr:Ne,decimalStr:Ae,fullStr:"".concat(we).concat(Ee)}}function x(oe){var q=String(oe);return!Number.isNaN(Number(q))&&q.includes("e")}function z(oe){var q=String(oe);if(x(oe)){var ue=Number(q.slice(q.indexOf("e-")+2)),Ee=q.match(/\.(\d+)/);return Ee!=null&&Ee[1]&&(ue+=Ee[1].length),ue}return q.includes(".")&&T(q)?q.length-q.indexOf(".")-1:0}function U(oe){var q=String(oe);if(x(oe)){if(oe>Number.MAX_SAFE_INTEGER)return String(h()?BigInt(oe).toString():Number.MAX_SAFE_INTEGER);if(oe0&&arguments[0]!==void 0?arguments[0]:!0;return ue?this.isInvalidate()?"":w("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),oe}(),Z=function(){function oe(q){if((0,g.Z)(this,oe),(0,d.Z)(this,"origin",""),(0,d.Z)(this,"number",void 0),(0,d.Z)(this,"empty",void 0),S(q)){this.empty=!0;return}this.origin=String(q),this.number=Number(q)}return(0,M.Z)(oe,[{key:"negate",value:function(){return new oe(-this.toNumber())}},{key:"add",value:function(ue){if(this.isInvalidate())return new oe(ue);var Ee=Number(ue);if(Number.isNaN(Ee))return this;var le=this.number+Ee;if(le>Number.MAX_SAFE_INTEGER)return new oe(Number.MAX_SAFE_INTEGER);if(leNumber.MAX_SAFE_INTEGER)return new oe(Number.MAX_SAFE_INTEGER);if(le0&&arguments[0]!==void 0?arguments[0]:!0;return ue?this.isInvalidate()?"":U(this.number):this.origin}}]),oe}();function D(oe){return h()?new N(oe):new Z(oe)}function L(oe,q,ue){var Ee=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(oe==="")return"";var le=w(oe),Ne=le.negativeStr,Ae=le.integerStr,we=le.decimalStr,Re="".concat(q).concat(we),st="".concat(Ne).concat(Ae);if(ue>=0){var nt=Number(we[ue]);if(nt>=5&&!Ee){var _e=D(oe).add("".concat(Ne,"0.").concat("0".repeat(ue)).concat(10-nt));return L(_e.toString(),q,ue,Ee)}return ue===0?st:"".concat(st).concat(q).concat(we.padEnd(ue,"0").slice(0,ue))}return Re===".0"?st:"".concat(st).concat(Re)}var j=D,G=e(19570),W=e(81334),ne=e(21319),_=e(58757),ee=e(75556);function se(oe,q){var ue=(0,_.useRef)(null);function Ee(){try{var Ne=oe.selectionStart,Ae=oe.selectionEnd,we=oe.value,Re=we.substring(0,Ne),st=we.substring(Ae);ue.current={start:Ne,end:Ae,value:we,beforeTxt:Re,afterTxt:st}}catch(nt){}}function le(){if(oe&&ue.current&&q)try{var Ne=oe.value,Ae=ue.current,we=Ae.beforeTxt,Re=Ae.afterTxt,st=Ae.start,nt=Ne.length;if(Ne.endsWith(Re))nt=Ne.length-ue.current.afterTxt.length;else if(Ne.startsWith(we))nt=we.length;else{var _e=we[st-1],We=Ne.indexOf(_e,st-1);We!==-1&&(nt=We+1)}oe.setSelectionRange(nt,nt)}catch(Be){(0,ee.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Be.message))}}return[Ee,le]}var Q=e(21618),C=function(){var q=(0,_.useState)(!1),ue=(0,c.Z)(q,2),Ee=ue[0],le=ue[1];return(0,W.Z)(function(){le((0,Q.Z)())},[]),Ee},X=C,O=e(61834),H=200,k=600;function A(oe){var q=oe.prefixCls,ue=oe.upNode,Ee=oe.downNode,le=oe.upDisabled,Ne=oe.downDisabled,Ae=oe.onStep,we=_.useRef(),Re=_.useRef([]),st=_.useRef();st.current=Ae;var nt=function(){clearTimeout(we.current)},_e=function(Pt,dt){Pt.preventDefault(),nt(),st.current(dt);function je(){st.current(dt),we.current=setTimeout(je,H)}we.current=setTimeout(je,k)};_.useEffect(function(){return function(){nt(),Re.current.forEach(function(wt){return O.Z.cancel(wt)})}},[]);var We=X();if(We)return null;var Be="".concat(q,"-handler"),it=s()(Be,"".concat(Be,"-up"),(0,d.Z)({},"".concat(Be,"-up-disabled"),le)),Ge=s()(Be,"".concat(Be,"-down"),(0,d.Z)({},"".concat(Be,"-down-disabled"),Ne)),Ot=function(){return Re.current.push((0,O.Z)(nt))},$t={unselectable:"on",role:"button",onMouseUp:Ot,onMouseLeave:Ot};return _.createElement("div",{className:"".concat(Be,"-wrap")},_.createElement("span",(0,n.Z)({},$t,{onMouseDown:function(Pt){_e(Pt,!0)},"aria-label":"Increase Value","aria-disabled":le,className:it}),ue||_.createElement("span",{unselectable:"on",className:"".concat(q,"-handler-up-inner")})),_.createElement("span",(0,n.Z)({},$t,{onMouseDown:function(Pt){_e(Pt,!1)},"aria-label":"Decrease Value","aria-disabled":Ne,className:Ge}),Ee||_.createElement("span",{unselectable:"on",className:"".concat(q,"-handler-down-inner")})))}function Y(oe){var q=typeof oe=="number"?U(oe):w(oe).fullStr,ue=q.includes(".");return ue?w(q.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:oe+"0"}var de=e(33615),me=function(){var oe=(0,_.useRef)(0),q=function(){O.Z.cancel(oe.current)};return(0,_.useEffect)(function(){return q},[]),function(ue){q(),oe.current=(0,O.Z)(function(){ue()})}},ve=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],be=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],Pe=function(q,ue){return q||ue.isEmpty()?ue.toString():ue.toNumber()},Je=function(q){var ue=j(q);return ue.isInvalidate()?null:ue},qe=_.forwardRef(function(oe,q){var ue,Ee=oe.prefixCls,le=Ee===void 0?"rc-input-number":Ee,Ne=oe.className,Ae=oe.style,we=oe.min,Re=oe.max,st=oe.step,nt=st===void 0?1:st,_e=oe.defaultValue,We=oe.value,Be=oe.disabled,it=oe.readOnly,Ge=oe.upHandler,Ot=oe.downHandler,$t=oe.keyboard,wt=oe.controls,Pt=wt===void 0?!0:wt,dt=oe.classNames,je=oe.stringMode,tt=oe.parser,lt=oe.formatter,bt=oe.precision,It=oe.decimalSeparator,Kt=oe.onChange,zt=oe.onInput,Mt=oe.onPressEnter,Le=oe.onStep,Ce=(0,m.Z)(oe,ve),Et="".concat(le,"-input"),Tt=_.useRef(null),Ye=_.useState(!1),et=(0,c.Z)(Ye,2),_t=et[0],Ut=et[1],qt=_.useRef(!1),un=_.useRef(!1),Mn=_.useRef(!1),vn=_.useState(function(){return j(We!=null?We:_e)}),Xn=(0,c.Z)(vn,2),Vn=Xn[0],or=Xn[1];function er(Bn){We===void 0&&or(Bn)}var Wt=_.useCallback(function(Bn,Cn){if(!Cn)return bt>=0?bt:Math.max(z(Bn),z(nt))},[bt,nt]),en=_.useCallback(function(Bn){var Cn=String(Bn);if(tt)return tt(Cn);var wn=Cn;return It&&(wn=wn.replace(It,".")),wn.replace(/[^\w.-]+/g,"")},[tt,It]),nn=_.useRef(""),fn=_.useCallback(function(Bn,Cn){if(lt)return lt(Bn,{userTyping:Cn,input:String(nn.current)});var wn=typeof Bn=="number"?U(Bn):Bn;if(!Cn){var ar=Wt(wn,Cn);if(T(wn)&&(It||ar>=0)){var mr=It||".";wn=L(wn,mr,ar)}}return wn},[lt,Wt,It]),En=_.useState(function(){var Bn=_e!=null?_e:We;return Vn.isInvalidate()&&["string","number"].includes((0,l.Z)(Bn))?Number.isNaN(Bn)?"":Bn:fn(Vn.toString(),!1)}),on=(0,c.Z)(En,2),pt=on[0],gt=on[1];nn.current=pt;function Xt(Bn,Cn){gt(fn(Bn.isInvalidate()?Bn.toString(!1):Bn.toString(!Cn),Cn))}var rn=_.useMemo(function(){return Je(Re)},[Re,bt]),Jt=_.useMemo(function(){return Je(we)},[we,bt]),pn=_.useMemo(function(){return!rn||!Vn||Vn.isInvalidate()?!1:rn.lessEquals(Vn)},[rn,Vn]),mn=_.useMemo(function(){return!Jt||!Vn||Vn.isInvalidate()?!1:Vn.lessEquals(Jt)},[Jt,Vn]),Zn=se(Tt.current,_t),tr=(0,c.Z)(Zn,2),ut=tr[0],ct=tr[1],Dt=function(Cn){return rn&&!Cn.lessEquals(rn)?rn:Jt&&!Jt.lessEquals(Cn)?Jt:null},xt=function(Cn){return!Dt(Cn)},kt=function(Cn,wn){var ar=Cn,mr=xt(ar)||ar.isEmpty();if(!ar.isEmpty()&&!wn&&(ar=Dt(ar)||ar,mr=!0),!it&&!Be&&mr){var Qr=ar.toString(),qr=Wt(Qr,wn);return qr>=0&&(ar=j(L(Qr,".",qr)),xt(ar)||(ar=j(L(Qr,".",qr,!0)))),ar.equals(Vn)||(er(ar),Kt==null||Kt(ar.isEmpty()?null:Pe(je,ar)),We===void 0&&Xt(ar,wn)),ar}return Vn},sn=me(),tn=function Bn(Cn){if(ut(),nn.current=Cn,gt(Cn),!un.current){var wn=en(Cn),ar=j(wn);ar.isNaN()||kt(ar,!0)}zt==null||zt(Cn),sn(function(){var mr=Cn;tt||(mr=Cn.replace(/。/g,".")),mr!==Cn&&Bn(mr)})},xn=function(){un.current=!0},Nn=function(){un.current=!1,tn(Tt.current.value)},gr=function(Cn){tn(Cn.target.value)},nr=function(Cn){var wn;if(!(Cn&&pn||!Cn&&mn)){qt.current=!1;var ar=j(Mn.current?Y(nt):nt);Cn||(ar=ar.negate());var mr=(Vn||j(0)).add(ar.toString()),Qr=kt(mr,!1);Le==null||Le(Pe(je,Qr),{offset:Mn.current?Y(nt):nt,type:Cn?"up":"down"}),(wn=Tt.current)===null||wn===void 0||wn.focus()}},Rn=function(Cn){var wn=j(en(pt)),ar=wn;wn.isNaN()?ar=kt(Vn,Cn):ar=kt(wn,Cn),We!==void 0?Xt(Vn,!1):ar.isNaN()||Xt(ar,!1)},kr=function(){qt.current=!0},fr=function(Cn){var wn=Cn.key,ar=Cn.shiftKey;qt.current=!0,Mn.current=ar,wn==="Enter"&&(un.current||(qt.current=!1),Rn(!1),Mt==null||Mt(Cn)),$t!==!1&&!un.current&&["Up","ArrowUp","Down","ArrowDown"].includes(wn)&&(nr(wn==="Up"||wn==="ArrowUp"),Cn.preventDefault())},ua=function(){qt.current=!1,Mn.current=!1},Pr=function(){Rn(!1),Ut(!1),qt.current=!1};return(0,W.o)(function(){Vn.isInvalidate()||Xt(Vn,!1)},[bt]),(0,W.o)(function(){var Bn=j(We);or(Bn);var Cn=j(en(pt));(!Bn.equals(Cn)||!qt.current||lt)&&Xt(Bn,qt.current)},[We]),(0,W.o)(function(){lt&&ct()},[pt]),_.createElement("div",{className:s()(le,dt==null?void 0:dt.input,Ne,(ue={},(0,d.Z)(ue,"".concat(le,"-focused"),_t),(0,d.Z)(ue,"".concat(le,"-disabled"),Be),(0,d.Z)(ue,"".concat(le,"-readonly"),it),(0,d.Z)(ue,"".concat(le,"-not-a-number"),Vn.isNaN()),(0,d.Z)(ue,"".concat(le,"-out-of-range"),!Vn.isInvalidate()&&!xt(Vn)),ue)),style:Ae,onFocus:function(){Ut(!0)},onBlur:Pr,onKeyDown:fr,onKeyUp:ua,onCompositionStart:xn,onCompositionEnd:Nn,onBeforeInput:kr},Pt&&_.createElement(A,{prefixCls:le,upNode:Ge,downNode:Ot,upDisabled:pn,downDisabled:mn,onStep:nr}),_.createElement("div",{className:"".concat(Et,"-wrap")},_.createElement("input",(0,n.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":we,"aria-valuemax":Re,"aria-valuenow":Vn.isInvalidate()?null:Vn.toString(),step:nt},Ce,{ref:(0,ne.sQ)(Tt,q),className:Et,value:pt,onChange:gr,disabled:Be,readOnly:it}))))}),Xe=_.forwardRef(function(oe,q){var ue=oe.disabled,Ee=oe.style,le=oe.prefixCls,Ne=oe.value,Ae=oe.prefix,we=oe.suffix,Re=oe.addonBefore,st=oe.addonAfter,nt=oe.classes,_e=oe.className,We=oe.classNames,Be=(0,m.Z)(oe,be),it=_.useRef(null),Ge=function($t){it.current&&(0,de.nH)(it.current,$t)};return _.createElement(G.Q,{inputElement:_.createElement(qe,(0,n.Z)({prefixCls:le,disabled:ue,classNames:We,ref:(0,ne.sQ)(it,q)},Be)),className:_e,triggerFocus:Ge,prefixCls:le,value:Ne,disabled:ue,style:Ee,prefix:Ae,suffix:we,addonAfter:st,addonBefore:Re,classes:nt,classNames:We,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Xe.displayName="InputNumber";var mt=Xe,Ct=mt,vt=e(41496),Ht=e(61836),ke=e(42505),Ve=e(92428),ot=e(58785),Ke=e(81496),he=e(43528),J=e(46902),V=e(78330),R=e(64493),P=e(52628);const B=(oe,q)=>{let{componentCls:ue,borderRadiusSM:Ee,borderRadiusLG:le}=oe;const Ne=q==="lg"?le:Ee;return{[`&-${q}`]:{[`${ue}-handler-wrap`]:{borderStartEndRadius:Ne,borderEndEndRadius:Ne},[`${ue}-handler-up`]:{borderStartEndRadius:Ne},[`${ue}-handler-down`]:{borderEndEndRadius:Ne}}}},ge=oe=>{const{componentCls:q,lineWidth:ue,lineType:Ee,colorBorder:le,borderRadius:Ne,fontSizeLG:Ae,controlHeightLG:we,controlHeightSM:Re,colorError:st,inputPaddingHorizontalSM:nt,colorTextDescription:_e,motionDurationMid:We,colorPrimary:Be,inputPaddingHorizontal:it,inputPaddingVertical:Ge,colorBgContainer:Ot,colorTextDisabled:$t,borderRadiusSM:wt,borderRadiusLG:Pt,controlWidth:dt,handleVisible:je}=oe;return[{[q]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,V.Wf)(oe)),(0,J.ik)(oe)),(0,J.bi)(oe,q)),{display:"inline-block",width:dt,margin:0,padding:0,border:`${ue}px ${Ee} ${le}`,borderRadius:Ne,"&-rtl":{direction:"rtl",[`${q}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Ae,borderRadius:Pt,[`input${q}-input`]:{height:we-2*ue}},"&-sm":{padding:0,borderRadius:wt,[`input${q}-input`]:{height:Re-2*ue,padding:`0 ${nt}px`}},"&:hover":Object.assign({},(0,J.pU)(oe)),"&-focused":Object.assign({},(0,J.M1)(oe)),"&-out-of-range":{[`${q}-input-wrap`]:{input:{color:st}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,V.Wf)(oe)),(0,J.s7)(oe)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${q}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${q}-group-addon`]:{borderRadius:Pt,fontSize:oe.fontSizeLG}},"&-sm":{[`${q}-group-addon`]:{borderRadius:wt}},[`${q}-wrapper-disabled > ${q}-group-addon`]:Object.assign({},(0,J.Xy)(oe))}}),[`&-disabled ${q}-input`]:{cursor:"not-allowed"},[q]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,V.Wf)(oe)),{width:"100%",padding:`${Ge}px ${it}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Ne,outline:0,transition:`all ${We} linear`,appearance:"textfield",fontSize:"inherit"}),(0,J.nz)(oe.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[q]:Object.assign(Object.assign(Object.assign({[`&:hover ${q}-handler-wrap, &-focused ${q}-handler-wrap`]:{opacity:1},[`${q}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:oe.handleWidth,height:"100%",background:Ot,borderStartStartRadius:0,borderStartEndRadius:Ne,borderEndEndRadius:Ne,borderEndStartRadius:0,opacity:je===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${We} linear ${We}`,[`${q}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${q}-handler-up-inner, + ${q}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:oe.handleFontSize}}},[`${q}-handler`]:{height:"50%",overflow:"hidden",color:_e,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${ue}px ${Ee} ${le}`,transition:`all ${We} linear`,"&:active":{background:oe.colorFillAlter},"&:hover":{height:"60%",[` + ${q}-handler-up-inner, + ${q}-handler-down-inner + `]:{color:Be}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,V.Ro)()),{color:_e,transition:`all ${We} linear`,userSelect:"none"})},[`${q}-handler-up`]:{borderStartEndRadius:Ne},[`${q}-handler-down`]:{borderBlockStart:`${ue}px ${Ee} ${le}`,borderEndEndRadius:Ne}},B(oe,"lg")),B(oe,"sm")),{"&-disabled, &-readonly":{[`${q}-handler-wrap`]:{display:"none"},[`${q}-input`]:{color:"inherit"}},[` + ${q}-handler-up-disabled, + ${q}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${q}-handler-up-disabled:hover &-handler-up-inner, + ${q}-handler-down-disabled:hover &-handler-down-inner + `]:{color:$t}})},{[`${q}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${q}-handler-down`]:{borderBlockStartWidth:0}}}]},ie=oe=>{const{componentCls:q,inputPaddingVertical:ue,inputPaddingHorizontal:Ee,inputAffixPadding:le,controlWidth:Ne,borderRadiusLG:Ae,borderRadiusSM:we}=oe;return{[`${q}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,J.ik)(oe)),(0,J.bi)(oe,`${q}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Ne,padding:0,paddingInlineStart:Ee,"&-lg":{borderRadius:Ae},"&-sm":{borderRadius:we},[`&:not(${q}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,J.pU)(oe)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${q}-disabled`]:{background:"transparent"},[`> div${q}`]:{width:"100%",border:"none",outline:"none",[`&${q}-focused`]:{boxShadow:"none !important"}},[`input${q}-input`]:{padding:`${ue}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${q}-handler-wrap`]:{zIndex:2},[q]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:le},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:Ee,marginInlineStart:le}}})}};var pe=(0,P.Z)("InputNumber",oe=>{const q=(0,J.e5)(oe);return[ge(q),ie(q),(0,R.c)(q)]},oe=>({controlWidth:90,handleWidth:oe.controlHeightSM-oe.lineWidth*2,handleFontSize:oe.fontSize/2,handleVisible:"auto"})),Oe=function(oe,q){var ue={};for(var Ee in oe)Object.prototype.hasOwnProperty.call(oe,Ee)&&q.indexOf(Ee)<0&&(ue[Ee]=oe[Ee]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,Ee=Object.getOwnPropertySymbols(oe);le{const{getPrefixCls:ue,direction:Ee}=_.useContext(Ht.E_),le=_.useRef(null);_.useImperativeHandle(q,()=>le.current);const{className:Ne,rootClassName:Ae,size:we,disabled:Re,prefixCls:st,addonBefore:nt,addonAfter:_e,prefix:We,bordered:Be=!0,readOnly:it,status:Ge,controls:Ot}=oe,$t=Oe(oe,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),wt=ue("input-number",st),[Pt,dt]=pe(wt),{compactSize:je,compactItemClassnames:tt}=(0,he.ri)(wt,Ee);let lt=_.createElement(t.Z,{className:`${wt}-handler-up-inner`}),bt=_.createElement(a.Z,{className:`${wt}-handler-down-inner`});const It=typeof Ot=="boolean"?Ot:void 0;typeof Ot=="object"&&(lt=typeof Ot.upIcon=="undefined"?lt:_.createElement("span",{className:`${wt}-handler-up-inner`},Ot.upIcon),bt=typeof Ot.downIcon=="undefined"?bt:_.createElement("span",{className:`${wt}-handler-down-inner`},Ot.downIcon));const{hasFeedback:Kt,status:zt,isFormItemInput:Mt,feedbackIcon:Le}=_.useContext(Ke.aM),Ce=(0,vt.F)(zt,Ge),Et=(0,ot.Z)(qt=>{var un;return(un=we!=null?we:je)!==null&&un!==void 0?un:qt}),Tt=_.useContext(Ve.Z),Ye=Re!=null?Re:Tt,et=s()({[`${wt}-lg`]:Et==="large",[`${wt}-sm`]:Et==="small",[`${wt}-rtl`]:Ee==="rtl",[`${wt}-borderless`]:!Be,[`${wt}-in-form-item`]:Mt},(0,vt.Z)(wt,Ce),tt,dt),_t=`${wt}-group`,Ut=_.createElement(Ct,Object.assign({ref:le,disabled:Ye,className:s()(Ne,Ae),upHandler:lt,downHandler:bt,prefixCls:wt,readOnly:it,controls:It,prefix:We,suffix:Kt&&Le,addonAfter:_e&&_.createElement(he.BR,null,_.createElement(Ke.Ux,{override:!0,status:!0},_e)),addonBefore:nt&&_.createElement(he.BR,null,_.createElement(Ke.Ux,{override:!0,status:!0},nt)),classNames:{input:et},classes:{affixWrapper:s()((0,vt.Z)(`${wt}-affix-wrapper`,Ce,Kt),{[`${wt}-affix-wrapper-sm`]:Et==="small",[`${wt}-affix-wrapper-lg`]:Et==="large",[`${wt}-affix-wrapper-rtl`]:Ee==="rtl",[`${wt}-affix-wrapper-borderless`]:!Be},dt),wrapper:s()({[`${_t}-rtl`]:Ee==="rtl",[`${wt}-wrapper-disabled`]:Ye},dt),group:s()({[`${wt}-group-wrapper-sm`]:Et==="small",[`${wt}-group-wrapper-lg`]:Et==="large",[`${wt}-group-wrapper-rtl`]:Ee==="rtl"},(0,vt.Z)(`${wt}-group-wrapper`,Ce,Kt),dt)}},$t));return Pt(Ut)}),Se=xe,$e=oe=>_.createElement(ke.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},_.createElement(xe,Object.assign({},oe)));Se._InternalPanelDoNotUseOrYouWillBeFired=$e;var re=Se},95670:function(b,y,e){"use strict";e.d(y,{Z:function(){return N},n:function(){return U}});var a=e(79999),t=e(87608),o=e.n(t),s=e(19570),n=e(21319),d=e(58757),l=e(41496),c=e(61836),m=e(92428),g=e(58785),M=e(81496),h=e(43528),S=e(52191),w=e(46902);function x(Z){return!!(Z.prefix||Z.suffix||Z.allowClear)}var z=function(Z,D){var L={};for(var j in Z)Object.prototype.hasOwnProperty.call(Z,j)&&D.indexOf(j)<0&&(L[j]=Z[j]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,j=Object.getOwnPropertySymbols(Z);G{var L;const{prefixCls:j,bordered:G=!0,status:W,size:ne,disabled:_,onBlur:ee,onFocus:se,suffix:Q,allowClear:C,addonAfter:X,addonBefore:O,className:H,style:k,styles:A,rootClassName:Y,onChange:de,classNames:me}=Z,ve=z(Z,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:be,direction:Pe,input:Je}=d.useContext(c.E_),qe=be("input",j),Xe=(0,d.useRef)(null),[mt,Ct]=(0,w.ZP)(qe),{compactSize:vt,compactItemClassnames:Ht}=(0,h.ri)(qe,Pe),ke=(0,g.Z)(Se=>{var $e;return($e=ne!=null?ne:vt)!==null&&$e!==void 0?$e:Se}),Ve=d.useContext(m.Z),ot=_!=null?_:Ve,{status:Ke,hasFeedback:he,feedbackIcon:J}=(0,d.useContext)(M.aM),V=(0,l.F)(Ke,W),R=x(Z)||!!he,P=(0,d.useRef)(R);(0,d.useEffect)(()=>{var Se;R&&P.current,P.current=R},[R]);const B=(0,S.Z)(Xe,!0),ge=Se=>{B(),ee==null||ee(Se)},ie=Se=>{B(),se==null||se(Se)},pe=Se=>{B(),de==null||de(Se)},Oe=(he||Q)&&d.createElement(d.Fragment,null,Q,he&&J);let xe;return typeof C=="object"&&(C!=null&&C.clearIcon)?xe=C:C&&(xe={clearIcon:d.createElement(a.Z,null)}),mt(d.createElement(s.Z,Object.assign({ref:(0,n.sQ)(D,Xe),prefixCls:qe,autoComplete:Je==null?void 0:Je.autoComplete},ve,{disabled:ot,onBlur:ge,onFocus:ie,style:Object.assign(Object.assign({},Je==null?void 0:Je.style),k),styles:Object.assign(Object.assign({},Je==null?void 0:Je.styles),A),suffix:Oe,allowClear:xe,className:o()(H,Y,Ht,Je==null?void 0:Je.className),onChange:pe,addonAfter:X&&d.createElement(h.BR,null,d.createElement(M.Ux,{override:!0,status:!0},X)),addonBefore:O&&d.createElement(h.BR,null,d.createElement(M.Ux,{override:!0,status:!0},O)),classNames:Object.assign(Object.assign(Object.assign({},me),Je==null?void 0:Je.classNames),{input:o()({[`${qe}-sm`]:ke==="small",[`${qe}-lg`]:ke==="large",[`${qe}-rtl`]:Pe==="rtl",[`${qe}-borderless`]:!G},!R&&(0,l.Z)(qe,V),me==null?void 0:me.input,(L=Je==null?void 0:Je.classNames)===null||L===void 0?void 0:L.input,Ct)}),classes:{affixWrapper:o()({[`${qe}-affix-wrapper-sm`]:ke==="small",[`${qe}-affix-wrapper-lg`]:ke==="large",[`${qe}-affix-wrapper-rtl`]:Pe==="rtl",[`${qe}-affix-wrapper-borderless`]:!G},(0,l.Z)(`${qe}-affix-wrapper`,V,he),Ct),wrapper:o()({[`${qe}-group-rtl`]:Pe==="rtl"},Ct),group:o()({[`${qe}-group-wrapper-sm`]:ke==="small",[`${qe}-group-wrapper-lg`]:ke==="large",[`${qe}-group-wrapper-rtl`]:Pe==="rtl",[`${qe}-group-wrapper-disabled`]:ot},(0,l.Z)(`${qe}-group-wrapper`,V,he),Ct)}})))})},79617:function(b,y,e){"use strict";var a=e(79999),t=e(87608),o=e.n(t),s=e(9457),n=e(58757),d=e(41496),l=e(61836),c=e(92428),m=e(58785),g=e(81496),M=e(95670),h=e(46902),S=function(x,z){var U={};for(var T in x)Object.prototype.hasOwnProperty.call(x,T)&&z.indexOf(T)<0&&(U[T]=x[T]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,T=Object.getOwnPropertySymbols(x);N{const{prefixCls:U,bordered:T=!0,size:N,disabled:Z,status:D,allowClear:L,showCount:j,classNames:G}=x,W=S(x,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]),{getPrefixCls:ne,direction:_}=n.useContext(l.E_),ee=(0,m.Z)(N),se=n.useContext(c.Z),Q=Z!=null?Z:se,{status:C,hasFeedback:X,feedbackIcon:O}=n.useContext(g.aM),H=(0,d.F)(C,D),k=n.useRef(null);n.useImperativeHandle(z,()=>{var ve;return{resizableTextArea:(ve=k.current)===null||ve===void 0?void 0:ve.resizableTextArea,focus:be=>{var Pe,Je;(0,M.n)((Je=(Pe=k.current)===null||Pe===void 0?void 0:Pe.resizableTextArea)===null||Je===void 0?void 0:Je.textArea,be)},blur:()=>{var be;return(be=k.current)===null||be===void 0?void 0:be.blur()}}});const A=ne("input",U);let Y;typeof L=="object"&&(L!=null&&L.clearIcon)?Y=L:L&&(Y={clearIcon:n.createElement(a.Z,null)});const[de,me]=(0,h.ZP)(A);return de(n.createElement(s.Z,Object.assign({},W,{disabled:Q,allowClear:Y,classes:{affixWrapper:o()(`${A}-textarea-affix-wrapper`,{[`${A}-affix-wrapper-rtl`]:_==="rtl",[`${A}-affix-wrapper-borderless`]:!T,[`${A}-affix-wrapper-sm`]:ee==="small",[`${A}-affix-wrapper-lg`]:ee==="large",[`${A}-textarea-show-count`]:j},(0,d.Z)(`${A}-affix-wrapper`,H),me)},classNames:Object.assign(Object.assign({},G),{textarea:o()({[`${A}-borderless`]:!T,[`${A}-sm`]:ee==="small",[`${A}-lg`]:ee==="large"},(0,d.Z)(A,H),me,G==null?void 0:G.textarea)}),prefixCls:A,suffix:X&&n.createElement("span",{className:`${A}-textarea-suffix`},O),showCount:j,ref:k})))});y.Z=w},52191:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(58757);function t(o,s){const n=(0,a.useRef)([]),d=()=>{n.current.push(setTimeout(()=>{var l,c,m,g;!((l=o.current)===null||l===void 0)&&l.input&&((c=o.current)===null||c===void 0?void 0:c.input.getAttribute("type"))==="password"&&(!((m=o.current)===null||m===void 0)&&m.input.hasAttribute("value"))&&((g=o.current)===null||g===void 0||g.input.removeAttribute("value"))}))};return(0,a.useEffect)(()=>(s&&d(),()=>n.current.forEach(l=>{l&&clearTimeout(l)})),[]),d}},21149:function(b,y,e){"use strict";e.d(y,{Z:function(){return Q}});var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(81496),d=e(46902),c=C=>{const{getPrefixCls:X,direction:O}=(0,o.useContext)(s.E_),{prefixCls:H,className:k}=C,A=X("input-group",H),Y=X("input"),[de,me]=(0,d.ZP)(Y),ve=t()(A,{[`${A}-lg`]:C.size==="large",[`${A}-sm`]:C.size==="small",[`${A}-compact`]:C.compact,[`${A}-rtl`]:O==="rtl"},me,k),be=(0,o.useContext)(n.aM),Pe=(0,o.useMemo)(()=>Object.assign(Object.assign({},be),{isFormItemInput:!1}),[be]);return de(o.createElement("span",{className:ve,style:C.style,onMouseEnter:C.onMouseEnter,onMouseLeave:C.onMouseLeave,onFocus:C.onFocus,onBlur:C.onBlur},o.createElement(n.aM.Provider,{value:Pe},C.children)))},m=e(95670),g=e(83720),M=e(56019),h=e(98186),S=e(21319),w=e(52191),x=function(C,X){var O={};for(var H in C)Object.prototype.hasOwnProperty.call(C,H)&&X.indexOf(H)<0&&(O[H]=C[H]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,H=Object.getOwnPropertySymbols(C);kC?o.createElement(M.Z,null):o.createElement(g.Z,null),U={click:"onClick",hover:"onMouseOver"};var N=o.forwardRef((C,X)=>{const{visibilityToggle:O=!0}=C,H=typeof O=="object"&&O.visible!==void 0,[k,A]=(0,o.useState)(()=>H?O.visible:!1),Y=(0,o.useRef)(null);o.useEffect(()=>{H&&A(O.visible)},[H,O]);const de=(0,w.Z)(Y),me=()=>{const{disabled:ot}=C;ot||(k&&de(),A(Ke=>{var he;const J=!Ke;return typeof O=="object"&&((he=O.onVisibleChange)===null||he===void 0||he.call(O,J)),J}))},ve=ot=>{const{action:Ke="click",iconRender:he=z}=C,J=U[Ke]||"",V=he(k),R={[J]:me,className:`${ot}-icon`,key:"passwordIcon",onMouseDown:P=>{P.preventDefault()},onMouseUp:P=>{P.preventDefault()}};return o.cloneElement(o.isValidElement(V)?V:o.createElement("span",null,V),R)},{className:be,prefixCls:Pe,inputPrefixCls:Je,size:qe}=C,Xe=x(C,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:mt}=o.useContext(s.E_),Ct=mt("input",Je),vt=mt("input-password",Pe),Ht=O&&ve(vt),ke=t()(vt,be,{[`${vt}-${qe}`]:!!qe}),Ve=Object.assign(Object.assign({},(0,h.Z)(Xe,["suffix","iconRender","visibilityToggle"])),{type:k?"text":"password",className:ke,prefixCls:Ct,suffix:Ht});return qe&&(Ve.size=qe),o.createElement(m.Z,Object.assign({ref:(0,S.sQ)(X,Y)},Ve))}),Z=e(99534),D=e(37047),L=e(12562),j=e(58785),G=e(43528),W=function(C,X){var O={};for(var H in C)Object.prototype.hasOwnProperty.call(C,H)&&X.indexOf(H)<0&&(O[H]=C[H]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,H=Object.getOwnPropertySymbols(C);k{const{prefixCls:O,inputPrefixCls:H,className:k,size:A,suffix:Y,enterButton:de=!1,addonAfter:me,loading:ve,disabled:be,onSearch:Pe,onChange:Je,onCompositionStart:qe,onCompositionEnd:Xe}=C,mt=W(C,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ct,direction:vt}=o.useContext(s.E_),Ht=o.useRef(!1),ke=Ct("input-search",O),Ve=Ct("input",H),{compactSize:ot}=(0,G.ri)(ke,vt),Ke=(0,j.Z)(re=>{var oe;return(oe=A!=null?A:ot)!==null&&oe!==void 0?oe:re}),he=o.useRef(null),J=re=>{re&&re.target&&re.type==="click"&&Pe&&Pe(re.target.value,re),Je&&Je(re)},V=re=>{var oe;document.activeElement===((oe=he.current)===null||oe===void 0?void 0:oe.input)&&re.preventDefault()},R=re=>{var oe,q;Pe&&Pe((q=(oe=he.current)===null||oe===void 0?void 0:oe.input)===null||q===void 0?void 0:q.value,re)},P=re=>{Ht.current||ve||R(re)},B=typeof de=="boolean"?o.createElement(Z.Z,null):null,ge=`${ke}-button`;let ie;const pe=de||{},Oe=pe.type&&pe.type.__ANT_BUTTON===!0;Oe||pe.type==="button"?ie=(0,D.Tm)(pe,Object.assign({onMouseDown:V,onClick:re=>{var oe,q;(q=(oe=pe==null?void 0:pe.props)===null||oe===void 0?void 0:oe.onClick)===null||q===void 0||q.call(oe,re),R(re)},key:"enterButton"},Oe?{className:ge,size:Ke}:{})):ie=o.createElement(L.ZP,{className:ge,type:de?"primary":void 0,size:Ke,disabled:be,key:"enterButton",onMouseDown:V,onClick:R,loading:ve,icon:B},de),me&&(ie=[ie,(0,D.Tm)(me,{key:"addonAfter"})]);const xe=t()(ke,{[`${ke}-rtl`]:vt==="rtl",[`${ke}-${Ke}`]:!!Ke,[`${ke}-with-button`]:!!de},k),Se=re=>{Ht.current=!0,qe==null||qe(re)},$e=re=>{Ht.current=!1,Xe==null||Xe(re)};return o.createElement(m.Z,Object.assign({ref:(0,S.sQ)(he,X),onPressEnter:P},mt,{size:Ke,onCompositionStart:Se,onCompositionEnd:$e,prefixCls:Ve,addonAfter:ie,suffix:Y,onChange:J,className:xe,disabled:be}))}),ee=e(79617);const se=m.Z;se.Group=c,se.Search=_,se.TextArea=ee.Z,se.Password=N;var Q=se},46902:function(b,y,e){"use strict";e.d(y,{M1:function(){return l},Xy:function(){return c},bi:function(){return M},e5:function(){return N},ik:function(){return h},nz:function(){return n},pU:function(){return d},s7:function(){return S},x0:function(){return g}});var a=e(78330),t=e(64493),o=e(22151),s=e(52628);const n=D=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:D,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),d=D=>({borderColor:D.inputBorderHoverColor,borderInlineEndWidth:D.lineWidth}),l=D=>({borderColor:D.inputBorderHoverColor,boxShadow:`0 0 0 ${D.controlOutlineWidth}px ${D.controlOutline}`,borderInlineEndWidth:D.lineWidth,outline:0}),c=D=>({color:D.colorTextDisabled,backgroundColor:D.colorBgContainerDisabled,borderColor:D.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},d((0,o.TS)(D,{inputBorderHoverColor:D.colorBorder})))}),m=D=>{const{inputPaddingVerticalLG:L,fontSizeLG:j,lineHeightLG:G,borderRadiusLG:W,inputPaddingHorizontalLG:ne}=D;return{padding:`${L}px ${ne}px`,fontSize:j,lineHeight:G,borderRadius:W}},g=D=>({padding:`${D.inputPaddingVerticalSM}px ${D.controlPaddingHorizontalSM-1}px`,borderRadius:D.borderRadiusSM}),M=(D,L)=>{const{componentCls:j,colorError:G,colorWarning:W,colorErrorOutline:ne,colorWarningOutline:_,colorErrorBorderHover:ee,colorWarningBorderHover:se}=D;return{[`&-status-error:not(${L}-disabled):not(${L}-borderless)${L}`]:{borderColor:G,"&:hover":{borderColor:ee},"&:focus, &-focused":Object.assign({},l((0,o.TS)(D,{inputBorderActiveColor:G,inputBorderHoverColor:G,controlOutline:ne}))),[`${j}-prefix, ${j}-suffix`]:{color:G}},[`&-status-warning:not(${L}-disabled):not(${L}-borderless)${L}`]:{borderColor:W,"&:hover":{borderColor:se},"&:focus, &-focused":Object.assign({},l((0,o.TS)(D,{inputBorderActiveColor:W,inputBorderHoverColor:W,controlOutline:_}))),[`${j}-prefix, ${j}-suffix`]:{color:W}}}},h=D=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${D.inputPaddingVertical}px ${D.inputPaddingHorizontal}px`,color:D.colorText,fontSize:D.fontSize,lineHeight:D.lineHeight,backgroundColor:D.colorBgContainer,backgroundImage:"none",borderWidth:D.lineWidth,borderStyle:D.lineType,borderColor:D.colorBorder,borderRadius:D.borderRadius,transition:`all ${D.motionDurationMid}`},n(D.colorTextPlaceholder)),{"&:hover":Object.assign({},d(D)),"&:focus, &-focused":Object.assign({},l(D)),"&-disabled, &[disabled]":Object.assign({},c(D)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:D.controlHeight,lineHeight:D.lineHeight,verticalAlign:"bottom",transition:`all ${D.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},m(D)),"&-sm":Object.assign({},g(D)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),S=D=>{const{componentCls:L,antCls:j}=D;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,["&[class*='col-']"]:{paddingInlineEnd:D.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${L}, &-lg > ${L}-group-addon`]:Object.assign({},m(D)),[`&-sm ${L}, &-sm > ${L}-group-addon`]:Object.assign({},g(D)),[`&-lg ${j}-select-single ${j}-select-selector`]:{height:D.controlHeightLG},[`&-sm ${j}-select-single ${j}-select-selector`]:{height:D.controlHeightSM},[`> ${L}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${L}-group`]:{["&-addon, &-wrap"]:{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${D.inputPaddingHorizontal}px`,color:D.colorText,fontWeight:"normal",fontSize:D.fontSize,textAlign:"center",backgroundColor:D.colorFillAlter,border:`${D.lineWidth}px ${D.lineType} ${D.colorBorder}`,borderRadius:D.borderRadius,transition:`all ${D.motionDurationSlow}`,lineHeight:1,[`${j}-select`]:{margin:`-${D.inputPaddingVertical+1}px -${D.inputPaddingHorizontal}px`,[`&${j}-select-single:not(${j}-select-customize-input)`]:{[`${j}-select-selector`]:{backgroundColor:"inherit",border:`${D.lineWidth}px ${D.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${j}-select-selector`]:{color:D.colorPrimary}}},[`${j}-cascader-picker`]:{margin:`-9px -${D.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${j}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${L}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${L}-search-with-button &`]:{zIndex:0}}},[`> ${L}:first-child, ${L}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${j}-select ${j}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${L}-affix-wrapper`]:{[`&:not(:first-child) ${L}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${L}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${L}:last-child, ${L}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${j}-select ${j}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${L}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${L}-search &`]:{borderStartStartRadius:D.borderRadius,borderEndStartRadius:D.borderRadius}},[`&:not(:first-child), ${L}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${L}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,a.dF)()),{[`${L}-group-addon, ${L}-group-wrap, > ${L}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:D.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` + & > ${L}-affix-wrapper, + & > ${L}-number-affix-wrapper, + & > ${j}-picker-range + `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-D.lineWidth,borderInlineEndWidth:D.lineWidth},[`${L}`]:{float:"none"},[`& > ${j}-select > ${j}-select-selector, + & > ${j}-select-auto-complete ${L}, + & > ${j}-cascader-picker ${L}, + & > ${L}-group-wrapper ${L}`]:{borderInlineEndWidth:D.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${j}-select-focused`]:{zIndex:1},[`& > ${j}-select > ${j}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${j}-select:first-child > ${j}-select-selector, + & > ${j}-select-auto-complete:first-child ${L}, + & > ${j}-cascader-picker:first-child ${L}`]:{borderStartStartRadius:D.borderRadius,borderEndStartRadius:D.borderRadius},[`& > *:last-child, + & > ${j}-select:last-child > ${j}-select-selector, + & > ${j}-cascader-picker:last-child ${L}, + & > ${j}-cascader-picker-focused:last-child ${L}`]:{borderInlineEndWidth:D.lineWidth,borderStartEndRadius:D.borderRadius,borderEndEndRadius:D.borderRadius},[`& > ${j}-select-auto-complete ${L}`]:{verticalAlign:"top"},[`${L}-group-wrapper + ${L}-group-wrapper`]:{marginInlineStart:-D.lineWidth,[`${L}-affix-wrapper`]:{borderRadius:0}},[`${L}-group-wrapper:not(:last-child)`]:{[`&${L}-search > ${L}-group`]:{[`& > ${L}-group-addon > ${L}-search-button`]:{borderRadius:0},[`& > ${L}`]:{borderStartStartRadius:D.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:D.borderRadius}}}})}},w=D=>{const{componentCls:L,controlHeightSM:j,lineWidth:G}=D,W=16,ne=(j-G*2-W)/2;return{[L]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,a.Wf)(D)),h(D)),M(D,L)),{'&[type="color"]':{height:D.controlHeight,[`&${L}-lg`]:{height:D.controlHeightLG},[`&${L}-sm`]:{height:j,paddingTop:ne,paddingBottom:ne}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},x=D=>{const{componentCls:L}=D;return{[`${L}-clear-icon`]:{margin:0,color:D.colorTextQuaternary,fontSize:D.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${D.motionDurationSlow}`,"&:hover":{color:D.colorTextTertiary},"&:active":{color:D.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${D.inputAffixPadding}px`}}}},z=D=>{const{componentCls:L,inputAffixPadding:j,colorTextDescription:G,motionDurationSlow:W,colorIcon:ne,colorIconHover:_,iconCls:ee}=D;return{[`${L}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h(D)),{display:"inline-flex",[`&:not(${L}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},d(D)),{zIndex:1,[`${L}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${L}[disabled]`]:{background:"transparent"}},[`> input${L}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${L}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:D.paddingXS}},"&-show-count-suffix":{color:G},"&-show-count-has-suffix":{marginInlineEnd:D.paddingXXS},"&-prefix":{marginInlineEnd:j},"&-suffix":{marginInlineStart:j}}}),x(D)),{[`${ee}${L}-password-icon`]:{color:ne,cursor:"pointer",transition:`all ${W}`,"&:hover":{color:_}}}),M(D,`${L}-affix-wrapper`))}},U=D=>{const{componentCls:L,colorError:j,colorWarning:G,borderRadiusLG:W,borderRadiusSM:ne}=D;return{[`${L}-group`]:Object.assign(Object.assign(Object.assign({},(0,a.Wf)(D)),S(D)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${L}-group-addon`]:{borderRadius:W,fontSize:D.fontSizeLG}},"&-sm":{[`${L}-group-addon`]:{borderRadius:ne}},"&-status-error":{[`${L}-group-addon`]:{color:j,borderColor:j}},"&-status-warning":{[`${L}-group-addon`]:{color:G,borderColor:G}},"&-disabled":{[`${L}-group-addon`]:Object.assign({},c(D))},[`&:not(${L}-compact-first-item):not(${L}-compact-last-item)${L}-compact-item`]:{[`${L}, ${L}-group-addon`]:{borderRadius:0}},[`&:not(${L}-compact-last-item)${L}-compact-first-item`]:{[`${L}, ${L}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${L}-compact-first-item)${L}-compact-last-item`]:{[`${L}, ${L}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},T=D=>{const{componentCls:L,antCls:j}=D,G=`${L}-search`;return{[G]:{[`${L}`]:{"&:hover, &:focus":{borderColor:D.colorPrimaryHover,[`+ ${L}-group-addon ${G}-button:not(${j}-btn-primary)`]:{borderInlineStartColor:D.colorPrimaryHover}}},[`${L}-affix-wrapper`]:{borderRadius:0},[`${L}-lg`]:{lineHeight:D.lineHeightLG-2e-4},[`> ${L}-group`]:{[`> ${L}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${G}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:D.borderRadius,borderEndEndRadius:D.borderRadius,borderEndStartRadius:0},[`${G}-button:not(${j}-btn-primary)`]:{color:D.colorTextDescription,"&:hover":{color:D.colorPrimaryHover},"&:active":{color:D.colorPrimaryActive},[`&${j}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${G}-button`]:{height:D.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${G}-button`]:{height:D.controlHeightLG},[`&-small ${G}-button`]:{height:D.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${L}-compact-item`]:{[`&:not(${L}-compact-last-item)`]:{[`${L}-group-addon`]:{[`${L}-search-button`]:{marginInlineEnd:-D.lineWidth,borderRadius:0}}},[`&:not(${L}-compact-first-item)`]:{[`${L},${L}-affix-wrapper`]:{borderRadius:0}},[`> ${L}-group-addon ${L}-search-button, + > ${L}, + ${L}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${L}-affix-wrapper-focused`]:{zIndex:2}}}}};function N(D){return(0,o.TS)(D,{inputAffixPadding:D.paddingXXS,inputPaddingVertical:Math.max(Math.round((D.controlHeight-D.fontSize*D.lineHeight)/2*10)/10-D.lineWidth,3),inputPaddingVerticalLG:Math.ceil((D.controlHeightLG-D.fontSizeLG*D.lineHeightLG)/2*10)/10-D.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((D.controlHeightSM-D.fontSize*D.lineHeight)/2*10)/10-D.lineWidth,0),inputPaddingHorizontal:D.paddingSM-D.lineWidth,inputPaddingHorizontalSM:D.paddingXS-D.lineWidth,inputPaddingHorizontalLG:D.controlPaddingHorizontal-D.lineWidth,inputBorderHoverColor:D.colorPrimaryHover,inputBorderActiveColor:D.colorPrimaryHover})}const Z=D=>{const{componentCls:L,paddingLG:j}=D,G=`${L}-textarea`;return{[G]:{position:"relative","&-show-count":{[`> ${L}`]:{height:"100%"},[`${L}-data-count`]:{position:"absolute",bottom:-D.fontSize*D.lineHeight,insetInlineEnd:0,color:D.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${L}`]:{paddingInlineEnd:j}},[`&-affix-wrapper${G}-has-feedback`]:{[`${L}`]:{paddingInlineEnd:j}},[`&-affix-wrapper${L}-affix-wrapper`]:{padding:0,[`> textarea${L}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${L}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${L}-clear-icon`]:{position:"absolute",insetInlineEnd:D.paddingXS,insetBlockStart:D.paddingXS},[`${G}-suffix`]:{position:"absolute",top:0,insetInlineEnd:D.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};y.ZP=(0,s.Z)("Input",D=>{const L=N(D);return[w(L),Z(L),z(L),U(L),T(L),(0,t.c)(L)]})},67423:function(b,y,e){"use strict";e.d(y,{D:function(){return N},Z:function(){return L}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},s=o,n=e(17202),d=function(G,W){return t.createElement(n.Z,(0,a.Z)({},G,{ref:W,icon:s}))},l=t.forwardRef(d),c=e(99142),m=e(91169),g=e(87608),M=e.n(g),h=e(98186),w=j=>!isNaN(parseFloat(j))&&isFinite(j),x=e(61836),z=e(79802),U=function(j,G){var W={};for(var ne in j)Object.prototype.hasOwnProperty.call(j,ne)&&G.indexOf(ne)<0&&(W[ne]=j[ne]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,ne=Object.getOwnPropertySymbols(j);_{let j=0;return function(){let G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return j+=1,`${G}${j}`}})();var L=t.forwardRef((j,G)=>{const{prefixCls:W,className:ne,trigger:_,children:ee,defaultCollapsed:se=!1,theme:Q="dark",style:C={},collapsible:X=!1,reverseArrow:O=!1,width:H=200,collapsedWidth:k=80,zeroWidthTriggerStyle:A,breakpoint:Y,onCollapse:de,onBreakpoint:me}=j,ve=U(j,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:be}=(0,t.useContext)(z.Gs),[Pe,Je]=(0,t.useState)("collapsed"in j?j.collapsed:se),[qe,Xe]=(0,t.useState)(!1);(0,t.useEffect)(()=>{"collapsed"in j&&Je(j.collapsed)},[j.collapsed]);const mt=(ot,Ke)=>{"collapsed"in j||Je(ot),de==null||de(ot,Ke)},Ct=(0,t.useRef)();Ct.current=ot=>{Xe(ot.matches),me==null||me(ot.matches),Pe!==ot.matches&&mt(ot.matches,"responsive")},(0,t.useEffect)(()=>{function ot(he){return Ct.current(he)}let Ke;if(typeof window!="undefined"){const{matchMedia:he}=window;if(he&&Y&&Y in T){Ke=he(`(max-width: ${T[Y]})`);try{Ke.addEventListener("change",ot)}catch(J){Ke.addListener(ot)}ot(Ke)}}return()=>{try{Ke==null||Ke.removeEventListener("change",ot)}catch(he){Ke==null||Ke.removeListener(ot)}}},[Y]),(0,t.useEffect)(()=>{const ot=Z("ant-sider-");return be.addSider(ot),()=>be.removeSider(ot)},[]);const vt=()=>{mt(!Pe,"clickTrigger")},{getPrefixCls:Ht}=(0,t.useContext)(x.E_),ke=()=>{const ot=Ht("layout-sider",W),Ke=(0,h.Z)(ve,["collapsed"]),he=Pe?k:H,J=w(he)?`${he}px`:String(he),V=parseFloat(String(k||0))===0?t.createElement("span",{onClick:vt,className:M()(`${ot}-zero-width-trigger`,`${ot}-zero-width-trigger-${O?"right":"left"}`),style:A},_||t.createElement(l,null)):null,B={expanded:O?t.createElement(m.Z,null):t.createElement(c.Z,null),collapsed:O?t.createElement(c.Z,null):t.createElement(m.Z,null)}[Pe?"collapsed":"expanded"],ge=_!==null?V||t.createElement("div",{className:`${ot}-trigger`,onClick:vt,style:{width:J}},_||B):null,ie=Object.assign(Object.assign({},C),{flex:`0 0 ${J}`,maxWidth:J,minWidth:J,width:J}),pe=M()(ot,`${ot}-${Q}`,{[`${ot}-collapsed`]:!!Pe,[`${ot}-has-trigger`]:X&&_!==null&&!V,[`${ot}-below`]:!!qe,[`${ot}-zero-width`]:parseFloat(J)===0},ne);return t.createElement("aside",Object.assign({className:pe},Ke,{style:ie,ref:G}),t.createElement("div",{className:`${ot}-children`},ee),X||qe&&V?ge:null)},Ve=t.useMemo(()=>({siderCollapsed:Pe}),[Pe]);return t.createElement(N.Provider,{value:Ve},ke())})},79802:function(b,y,e){"use strict";e.d(y,{VY:function(){return D},$_:function(){return Z},h4:function(){return N},Gs:function(){return w},ZP:function(){return L}});var a=e(29140),t=e(87608),o=e.n(t),s=e(98186),n=e(58757),d=e(61836),l=e(52628),c=e(22151),g=j=>{const{componentCls:G,colorBgContainer:W,colorBgBody:ne,colorText:_}=j;return{[`${G}-sider-light`]:{background:W,[`${G}-sider-trigger`]:{color:_,background:W},[`${G}-sider-zero-width-trigger`]:{color:_,background:W,border:`1px solid ${ne}`,borderInlineStart:0}}}};const M=j=>{const{antCls:G,componentCls:W,colorText:ne,colorTextLightSolid:_,colorBgHeader:ee,colorBgBody:se,colorBgTrigger:Q,layoutHeaderHeight:C,layoutHeaderPaddingInline:X,layoutHeaderColor:O,layoutFooterPadding:H,layoutTriggerHeight:k,layoutZeroTriggerSize:A,motionDurationMid:Y,motionDurationSlow:de,fontSize:me,borderRadius:ve}=j;return{[W]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:se,"&, *":{boxSizing:"border-box"},[`&${W}-has-sider`]:{flexDirection:"row",[`> ${W}, > ${W}-content`]:{width:0}},[`${W}-header, &${W}-footer`]:{flex:"0 0 auto"},[`${W}-sider`]:{position:"relative",minWidth:0,background:ee,transition:`all ${Y}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${G}-menu${G}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:k},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:k,color:_,lineHeight:`${k}px`,textAlign:"center",background:Q,cursor:"pointer",transition:`all ${Y}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:C,insetInlineEnd:-A,zIndex:1,width:A,height:A,color:_,fontSize:j.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ee,borderStartStartRadius:0,borderStartEndRadius:ve,borderEndEndRadius:ve,borderEndStartRadius:0,cursor:"pointer",transition:`background ${de} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${de}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-A,borderStartStartRadius:ve,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ve}}}}},g(j)),{"&-rtl":{direction:"rtl"}}),[`${W}-header`]:{height:C,paddingInline:X,color:O,lineHeight:`${C}px`,background:ee,[`${G}-menu`]:{lineHeight:"inherit"}},[`${W}-footer`]:{padding:H,color:ne,fontSize:me,background:se},[`${W}-content`]:{flex:"auto",minHeight:0}}};var h=(0,l.Z)("Layout",j=>{const{colorText:G,controlHeightSM:W,controlHeight:ne,controlHeightLG:_,marginXXS:ee}=j,se=_*1.25,Q=(0,c.TS)(j,{layoutHeaderHeight:ne*2,layoutHeaderPaddingInline:se,layoutHeaderColor:G,layoutFooterPadding:`${W}px ${se}px`,layoutTriggerHeight:_+ee*2,layoutZeroTriggerSize:_});return[M(Q)]},j=>{const{colorBgLayout:G}=j;return{colorBgHeader:"#001529",colorBgBody:G,colorBgTrigger:"#002140"}}),S=function(j,G){var W={};for(var ne in j)Object.prototype.hasOwnProperty.call(j,ne)&&G.indexOf(ne)<0&&(W[ne]=j[ne]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,ne=Object.getOwnPropertySymbols(j);_null,removeSider:()=>null}});function x(j){let{suffixCls:G,tagName:W,displayName:ne}=j;return _=>n.forwardRef((se,Q)=>n.createElement(_,Object.assign({ref:Q,suffixCls:G,tagName:W},se)))}const z=n.forwardRef((j,G)=>{const{prefixCls:W,suffixCls:ne,className:_,tagName:ee}=j,se=S(j,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Q}=n.useContext(d.E_),C=Q("layout",W),[X,O]=h(C),H=ne?`${C}-${ne}`:C;return X(n.createElement(ee,Object.assign({className:o()(W||H,_,O),ref:G},se)))}),U=n.forwardRef((j,G)=>{const{direction:W}=n.useContext(d.E_),[ne,_]=n.useState([]),{prefixCls:ee,className:se,rootClassName:Q,children:C,hasSider:X,tagName:O,style:H}=j,k=S(j,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),A=(0,s.Z)(k,["suffixCls"]),{getPrefixCls:Y,layout:de}=n.useContext(d.E_),me=Y("layout",ee),[ve,be]=h(me),Pe=o()(me,{[`${me}-has-sider`]:typeof X=="boolean"?X:ne.length>0,[`${me}-rtl`]:W==="rtl"},de==null?void 0:de.className,se,Q,be),Je=n.useMemo(()=>({siderHook:{addSider:qe=>{_(Xe=>[].concat((0,a.Z)(Xe),[qe]))},removeSider:qe=>{_(Xe=>Xe.filter(mt=>mt!==qe))}}}),[]);return ve(n.createElement(w.Provider,{value:Je},n.createElement(O,Object.assign({ref:G,className:Pe,style:Object.assign(Object.assign({},de==null?void 0:de.style),H)},A),C)))}),T=x({tagName:"div",displayName:"Layout"})(U),N=x({suffixCls:"header",tagName:"header",displayName:"Header"})(z),Z=x({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(z),D=x({suffixCls:"content",tagName:"main",displayName:"Content"})(z);var L=T},37617:function(b,y,e){"use strict";e.d(y,{Z:function(){return C}});var a=e(29140),t=e(87608),o=e.n(t),s=e(58757),n=e(44818),d=e(87078),l=e(61836),c=e(10401),m=e(67665),g=e(60059),M=e(35910),h=e(79233),S=e(37047),w=e(91334);const x=s.createContext({}),z=x.Consumer;var U=function(X,O){var H={};for(var k in X)Object.prototype.hasOwnProperty.call(X,k)&&O.indexOf(k)<0&&(H[k]=X[k]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,k=Object.getOwnPropertySymbols(X);A{var{prefixCls:O,className:H,avatar:k,title:A,description:Y}=X,de=U(X,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:me}=(0,s.useContext)(l.E_),ve=me("list",O),be=o()(`${ve}-item-meta`,H),Pe=s.createElement("div",{className:`${ve}-item-meta-content`},A&&s.createElement("h4",{className:`${ve}-item-meta-title`},A),Y&&s.createElement("div",{className:`${ve}-item-meta-description`},Y));return s.createElement("div",Object.assign({},de,{className:be}),k&&s.createElement("div",{className:`${ve}-item-meta-avatar`},k),(A||Y)&&Pe)},N=(X,O)=>{var{prefixCls:H,children:k,actions:A,extra:Y,className:de,colStyle:me}=X,ve=U(X,["prefixCls","children","actions","extra","className","colStyle"]);const{grid:be,itemLayout:Pe}=(0,s.useContext)(x),{getPrefixCls:Je}=(0,s.useContext)(l.E_),qe=()=>{let ke;return s.Children.forEach(k,Ve=>{typeof Ve=="string"&&(ke=!0)}),ke&&s.Children.count(k)>1},Xe=()=>Pe==="vertical"?!!Y:!qe(),mt=Je("list",H),Ct=A&&A.length>0&&s.createElement("ul",{className:`${mt}-item-action`,key:"actions"},A.map((ke,Ve)=>s.createElement("li",{key:`${mt}-item-action-${Ve}`},ke,Ve!==A.length-1&&s.createElement("em",{className:`${mt}-item-action-split`})))),vt=be?"div":"li",Ht=s.createElement(vt,Object.assign({},ve,be?{}:{ref:O},{className:o()(`${mt}-item`,{[`${mt}-item-no-flex`]:!Xe()},de)}),Pe==="vertical"&&Y?[s.createElement("div",{className:`${mt}-item-main`,key:"content"},k,Ct),s.createElement("div",{className:`${mt}-item-extra`,key:"extra"},Y)]:[k,Ct,(0,S.Tm)(Y,{key:"extra"})]);return be?s.createElement(w.Z,{ref:O,flex:1,style:me},Ht):Ht},Z=(0,s.forwardRef)(N);Z.Meta=T;var D=Z,L=e(78330),j=e(52628),G=e(22151);const W=X=>{const{listBorderedCls:O,componentCls:H,paddingLG:k,margin:A,itemPaddingSM:Y,itemPaddingLG:de,marginLG:me,borderRadiusLG:ve}=X;return{[`${O}`]:{border:`${X.lineWidth}px ${X.lineType} ${X.colorBorder}`,borderRadius:ve,[`${H}-header,${H}-footer,${H}-item`]:{paddingInline:k},[`${H}-pagination`]:{margin:`${A}px ${me}px`}},[`${O}${H}-sm`]:{[`${H}-item,${H}-header,${H}-footer`]:{padding:Y}},[`${O}${H}-lg`]:{[`${H}-item,${H}-header,${H}-footer`]:{padding:de}}}},ne=X=>{const{componentCls:O,screenSM:H,screenMD:k,marginLG:A,marginSM:Y,margin:de}=X;return{[`@media screen and (max-width:${k})`]:{[`${O}`]:{[`${O}-item`]:{[`${O}-item-action`]:{marginInlineStart:A}}},[`${O}-vertical`]:{[`${O}-item`]:{[`${O}-item-extra`]:{marginInlineStart:A}}}},[`@media screen and (max-width: ${H})`]:{[`${O}`]:{[`${O}-item`]:{flexWrap:"wrap",[`${O}-action`]:{marginInlineStart:Y}}},[`${O}-vertical`]:{[`${O}-item`]:{flexWrap:"wrap-reverse",[`${O}-item-main`]:{minWidth:X.contentWidth},[`${O}-item-extra`]:{margin:`auto auto ${de}px`}}}}}},_=X=>{const{componentCls:O,antCls:H,controlHeight:k,minHeight:A,paddingSM:Y,marginLG:de,padding:me,itemPadding:ve,colorPrimary:be,itemPaddingSM:Pe,itemPaddingLG:Je,paddingXS:qe,margin:Xe,colorText:mt,colorTextDescription:Ct,motionDurationSlow:vt,lineWidth:Ht,headerBg:ke,footerBg:Ve,emptyTextPadding:ot,metaMarginBottom:Ke,avatarMarginRight:he,titleMarginBottom:J,descriptionFontSize:V}=X,R={};return["start","center","end"].forEach(P=>{R[`&-align-${P}`]={textAlign:P}}),{[`${O}`]:Object.assign(Object.assign({},(0,L.Wf)(X)),{position:"relative","*":{outline:"none"},[`${O}-header`]:{background:ke},[`${O}-footer`]:{background:Ve},[`${O}-header, ${O}-footer`]:{paddingBlock:Y},[`${O}-pagination`]:Object.assign(Object.assign({marginBlockStart:de},R),{[`${H}-pagination-options`]:{textAlign:"start"}}),[`${O}-spin`]:{minHeight:A,textAlign:"center"},[`${O}-items`]:{margin:0,padding:0,listStyle:"none"},[`${O}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:ve,color:mt,[`${O}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${O}-item-meta-avatar`]:{marginInlineEnd:he},[`${O}-item-meta-content`]:{flex:"1 0",width:0,color:mt},[`${O}-item-meta-title`]:{margin:`0 0 ${X.marginXXS}px 0`,color:mt,fontSize:X.fontSize,lineHeight:X.lineHeight,"> a":{color:mt,transition:`all ${vt}`,["&:hover"]:{color:be}}},[`${O}-item-meta-description`]:{color:Ct,fontSize:V,lineHeight:X.lineHeight}},[`${O}-item-action`]:{flex:"0 0 auto",marginInlineStart:X.marginXXL,padding:0,fontSize:0,listStyle:"none",["& > li"]:{position:"relative",display:"inline-block",padding:`0 ${qe}px`,color:Ct,fontSize:X.fontSize,lineHeight:X.lineHeight,textAlign:"center",["&:first-child"]:{paddingInlineStart:0}},[`${O}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:Ht,height:Math.ceil(X.fontSize*X.lineHeight)-X.marginXXS*2,transform:"translateY(-50%)",backgroundColor:X.colorSplit}}},[`${O}-empty`]:{padding:`${me}px 0`,color:Ct,fontSize:X.fontSizeSM,textAlign:"center"},[`${O}-empty-text`]:{padding:ot,color:X.colorTextDisabled,fontSize:X.fontSize,textAlign:"center"},[`${O}-item-no-flex`]:{display:"block"}}),[`${O}-grid ${H}-col > ${O}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:Xe,paddingBlock:0,borderBlockEnd:"none"},[`${O}-vertical ${O}-item`]:{alignItems:"initial",[`${O}-item-main`]:{display:"block",flex:1},[`${O}-item-extra`]:{marginInlineStart:de},[`${O}-item-meta`]:{marginBlockEnd:Ke,[`${O}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:J,color:mt,fontSize:X.fontSizeLG,lineHeight:X.lineHeightLG}},[`${O}-item-action`]:{marginBlockStart:me,marginInlineStart:"auto","> li":{padding:`0 ${me}px`,["&:first-child"]:{paddingInlineStart:0}}}},[`${O}-split ${O}-item`]:{borderBlockEnd:`${X.lineWidth}px ${X.lineType} ${X.colorSplit}`,["&:last-child"]:{borderBlockEnd:"none"}},[`${O}-split ${O}-header`]:{borderBlockEnd:`${X.lineWidth}px ${X.lineType} ${X.colorSplit}`},[`${O}-split${O}-empty ${O}-footer`]:{borderTop:`${X.lineWidth}px ${X.lineType} ${X.colorSplit}`},[`${O}-loading ${O}-spin-nested-loading`]:{minHeight:k},[`${O}-split${O}-something-after-last-item ${H}-spin-container > ${O}-items > ${O}-item:last-child`]:{borderBlockEnd:`${X.lineWidth}px ${X.lineType} ${X.colorSplit}`},[`${O}-lg ${O}-item`]:{padding:Je},[`${O}-sm ${O}-item`]:{padding:Pe},[`${O}:not(${O}-vertical)`]:{[`${O}-item-no-flex`]:{[`${O}-item-action`]:{float:"right"}}}}};var ee=(0,j.Z)("List",X=>{const O=(0,G.TS)(X,{listBorderedCls:`${X.componentCls}-bordered`,minHeight:X.controlHeightLG});return[_(O),W(O),ne(O)]},X=>({contentWidth:220,itemPadding:`${X.paddingContentVertical}px 0`,itemPaddingSM:`${X.paddingContentVerticalSM}px ${X.paddingContentHorizontal}px`,itemPaddingLG:`${X.paddingContentVerticalLG}px ${X.paddingContentHorizontalLG}px`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:X.padding,metaMarginBottom:X.padding,avatarMarginRight:X.padding,titleMarginBottom:X.paddingSM,descriptionFontSize:X.fontSize})),se=function(X,O){var H={};for(var k in X)Object.prototype.hasOwnProperty.call(X,k)&&O.indexOf(k)<0&&(H[k]=X[k]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,k=Object.getOwnPropertySymbols(X);A(dt,je)=>{var tt;V(dt),P(je),H&&H[Pt]&&((tt=H==null?void 0:H[Pt])===null||tt===void 0||tt.call(H,dt,je))},Se=xe("onChange"),$e=xe("onShowSizeChange"),re=(Pt,dt)=>{if(!Ve)return null;let je;return typeof ke=="function"?je=ke(Pt):ke?je=Pt[ke]:je=Pt.key,je||(je=`list-item-${dt}`),s.createElement(s.Fragment,{key:je},Ve(Pt,dt))},oe=()=>!!(Je||H||vt),q=B("list",k),[ue,Ee]=ee(q);let le=Ht;typeof le=="boolean"&&(le={spinning:le});const Ne=le&&le.spinning;let Ae="";switch(mt){case"large":Ae="lg";break;case"small":Ae="sm";break;default:break}const we=o()(q,{[`${q}-vertical`]:Pe==="vertical",[`${q}-${Ae}`]:Ae,[`${q}-split`]:Y,[`${q}-bordered`]:A,[`${q}-loading`]:Ne,[`${q}-grid`]:!!qe,[`${q}-something-after-last-item`]:oe(),[`${q}-rtl`]:ie==="rtl"},pe==null?void 0:pe.className,de,me,Ee),Re=(0,n.Z)(Oe,{total:Xe.length,current:J,pageSize:R},H||{}),st=Math.ceil(Re.total/Re.pageSize);Re.current>st&&(Re.current=st);const nt=H?s.createElement("div",{className:o()(`${q}-pagination`,`${q}-pagination-align-${(O=Re==null?void 0:Re.align)!==null&&O!==void 0?O:"end"}`)},s.createElement(M.Z,Object.assign({},Re,{onChange:Se,onShowSizeChange:$e}))):null;let _e=(0,a.Z)(Xe);H&&Xe.length>(Re.current-1)*Re.pageSize&&(_e=(0,a.Z)(Xe).splice((Re.current-1)*Re.pageSize,Re.pageSize));const We=Object.keys(qe||{}).some(Pt=>["xs","sm","md","lg","xl","xxl"].includes(Pt)),Be=(0,g.Z)(We),it=s.useMemo(()=>{for(let Pt=0;Pt{if(!qe)return;const Pt=it&&qe[it]?qe[it]:qe.column;if(Pt)return{width:`${100/Pt}%`,maxWidth:`${100/Pt}%`}},[qe==null?void 0:qe.column,it]);let Ot=Ne&&s.createElement("div",{style:{minHeight:53}});if(_e.length>0){const Pt=_e.map((dt,je)=>re(dt,je));Ot=qe?s.createElement(m.Z,{gutter:qe.gutter},s.Children.map(Pt,dt=>s.createElement("div",{key:dt==null?void 0:dt.key,style:Ge},dt))):s.createElement("ul",{className:`${q}-items`},Pt)}else!be&&!Ne&&(Ot=s.createElement("div",{className:`${q}-empty-text`},ot&&ot.emptyText||(ge==null?void 0:ge("List"))||s.createElement(c.Z,{componentName:"List"})));const $t=Re.position||"bottom",wt=s.useMemo(()=>({grid:qe,itemLayout:Pe}),[JSON.stringify(qe),Pe]);return ue(s.createElement(x.Provider,{value:wt},s.createElement("div",Object.assign({style:Object.assign(Object.assign({},pe==null?void 0:pe.style),ve),className:we},Ke),($t==="top"||$t==="both")&&nt,Ct&&s.createElement("div",{className:`${q}-header`},Ct),s.createElement(h.Z,Object.assign({},le),Ot,be),vt&&s.createElement("div",{className:`${q}-footer`},vt),Je||($t==="bottom"||$t==="both")&&nt)))}Q.Item=D;var C=Q},10520:function(b,y,e){"use strict";var a=e(58757);const t=(0,a.createContext)(void 0);y.Z=t},80076:function(b,y,e){"use strict";var a=e(57522),t=e(81872),o=e(7056),s=e(38107);const n="${label} is not a valid ${type}",d={locale:"en",Pagination:a.Z,DatePicker:o.Z,TimePicker:s.Z,Calendar:t.Z,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",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"},PageHeader:{back:"Back"},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:n,method:n,array:n,object:n,number:n,date:n,boolean:n,integer:n,float:n,regexp:n,email:n,url:n,hex:n},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"},ColorPicker:{presetEmpty:"Empty"}};y.Z=d},29487:function(b,y,e){"use strict";var a=e(58757),t=e(10520),o=e(80076);const s=(n,d)=>{const l=a.useContext(t.Z),c=a.useMemo(()=>{var g;const M=d||o.Z[n],h=(g=l==null?void 0:l[n])!==null&&g!==void 0?g:{};return Object.assign(Object.assign({},typeof M=="function"?M():M),h||{})},[n,d,l]),m=a.useMemo(()=>{const g=l==null?void 0:l.locale;return l!=null&&l.exist&&!g?o.Z.locale:g},[l]);return[c,m]};y.Z=s},1597:function(b,y,e){"use strict";e.d(y,{Z:function(){return M}});var a=e(23737),t={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},o=t,n={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};const d={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},o),timePickerLocale:Object.assign({},n)};d.lang.ok="\u786E\u5B9A";var l=d,c=l;const m="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}";var M={locale:"zh-cn",Pagination:a.Z,DatePicker:l,TimePicker:n,Calendar:c,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:m,method:m,array:m,object:m,number:m,date:m,boolean:m,integer:m,float:m,regexp:m,email:m,url:m,hex:m},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0"},ColorPicker:{presetEmpty:"\u6682\u65E0"}}},81285:function(b,y,e){"use strict";e.d(y,{J:function(){return d}});var a=e(58757),t=e(43528),o=e(71219),s=function(l,c){var m={};for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&c.indexOf(g)<0&&(m[g]=l[g]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,g=Object.getOwnPropertySymbols(l);M{const{children:m}=l,g=s(l,["children"]),M=a.useContext(n),h=a.useMemo(()=>Object.assign(Object.assign({},M),g),[M,g.prefixCls,g.mode,g.selectable]);return a.createElement(n.Provider,{value:h},a.createElement(t.BR,null,(0,o.t4)(m)?a.cloneElement(m,{ref:c}):m))});y.Z=n},85706:function(b,y,e){"use strict";e.d(y,{Z:function(){return ot}});var a=e(87854),t=e(58757),o=e(67423),s=e(87608),n=e.n(s),d=e(61836),l=function(Ke,he){var J={};for(var V in Ke)Object.prototype.hasOwnProperty.call(Ke,V)&&he.indexOf(V)<0&&(J[V]=Ke[V]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,V=Object.getOwnPropertySymbols(Ke);R{const{prefixCls:he,className:J,dashed:V}=Ke,R=l(Ke,["prefixCls","className","dashed"]),{getPrefixCls:P}=t.useContext(d.E_),B=P("menu",he),ge=n()({[`${B}-item-divider-dashed`]:!!V},J);return t.createElement(a.iz,Object.assign({className:ge},R))},g=e(42156),M=e(98186),h=e(74820),S=e(37047),x=(0,t.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),U=Ke=>{var he;const{className:J,children:V,icon:R,title:P,danger:B}=Ke,{prefixCls:ge,firstLevel:ie,direction:pe,disableMenuItemTitleTooltip:Oe,inlineCollapsed:xe}=t.useContext(x),Se=Ee=>{const le=t.createElement("span",{className:`${ge}-title-content`},V);return(!R||(0,S.l$)(V)&&V.type==="span")&&V&&Ee&&ie&&typeof V=="string"?t.createElement("div",{className:`${ge}-inline-collapsed-noicon`},V.charAt(0)):le},{siderCollapsed:$e}=t.useContext(o.D);let re=P;typeof P=="undefined"?re=ie?V:"":P===!1&&(re="");const oe={title:re};!$e&&!xe&&(oe.title=null,oe.open=!1);const q=(0,g.Z)(V).length;let ue=t.createElement(a.ck,Object.assign({},(0,M.Z)(Ke,["title","icon","danger"]),{className:n()({[`${ge}-item-danger`]:B,[`${ge}-item-only-child`]:(R?q+1:q)===1},J),title:typeof P=="string"?P:void 0}),(0,S.Tm)(R,{className:n()((0,S.l$)(R)?(he=R.props)===null||he===void 0?void 0:he.className:"",`${ge}-item-icon`)}),Se(xe));return Oe||(ue=t.createElement(h.Z,Object.assign({},oe,{placement:pe==="rtl"?"left":"right",overlayClassName:`${ge}-inline-collapsed-tooltip`}),ue)),ue},N=Ke=>{var he;const{popupClassName:J,icon:V,title:R,theme:P}=Ke,B=t.useContext(x),{prefixCls:ge,inlineCollapsed:ie,theme:pe}=B,Oe=(0,a.Xl)();let xe;if(!V)xe=ie&&!Oe.length&&R&&typeof R=="string"?t.createElement("div",{className:`${ge}-inline-collapsed-noicon`},R.charAt(0)):t.createElement("span",{className:`${ge}-title-content`},R);else{const $e=(0,S.l$)(R)&&R.type==="span";xe=t.createElement(t.Fragment,null,(0,S.Tm)(V,{className:n()((0,S.l$)(V)?(he=V.props)===null||he===void 0?void 0:he.className:"",`${ge}-item-icon`)}),$e?R:t.createElement("span",{className:`${ge}-title-content`},R))}const Se=t.useMemo(()=>Object.assign(Object.assign({},B),{firstLevel:!1}),[B]);return t.createElement(x.Provider,{value:Se},t.createElement(a.Wd,Object.assign({},(0,M.Z)(Ke,["icon"]),{title:xe,popupClassName:n()(ge,J,`${ge}-${P||pe}`)})))},Z=e(18974),D=e(51729),L=e(90881),j=e(81285),G=function(Ke,he){var J={};for(var V in Ke)Object.prototype.hasOwnProperty.call(Ke,V)&&he.indexOf(V)<0&&(J[V]=Ke[V]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,V=Object.getOwnPropertySymbols(Ke);R{if(he&&typeof he=="object"){const V=he,{label:R,children:P,key:B,type:ge}=V,ie=G(V,["label","children","key","type"]),pe=B!=null?B:`tmp-${J}`;return P||ge==="group"?ge==="group"?t.createElement(a.BW,Object.assign({key:pe},ie,{title:R}),W(P)):t.createElement(N,Object.assign({key:pe},ie,{title:R}),W(P)):ge==="divider"?t.createElement(m,Object.assign({key:pe},ie)):t.createElement(U,Object.assign({key:pe},ie),R)}return null}).filter(he=>he)}function ne(Ke){return t.useMemo(()=>Ke&&W(Ke),[Ke])}var _=e(66671),ee=e(78330),se=e(41086),Q=e(1016),C=e(28107),X=e(52628),O=e(22151),k=Ke=>{const{componentCls:he,motionDurationSlow:J,horizontalLineHeight:V,colorSplit:R,lineWidth:P,lineType:B,itemPaddingInline:ge}=Ke;return{[`${he}-horizontal`]:{lineHeight:V,border:0,borderBottom:`${P}px ${B} ${R}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${he}-item, ${he}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ge},[`> ${he}-item:hover, + > ${he}-item-active, + > ${he}-submenu ${he}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${he}-item, ${he}-submenu-title`]:{transition:[`border-color ${J}`,`background ${J}`].join(",")},[`${he}-submenu-arrow`]:{display:"none"}}}},Y=Ke=>{let{componentCls:he,menuArrowOffset:J}=Ke;return{[`${he}-rtl`]:{direction:"rtl"},[`${he}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${he}-rtl${he}-vertical, + ${he}-submenu-rtl ${he}-vertical`]:{[`${he}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${J})`},"&::after":{transform:`rotate(45deg) translateY(${J})`}}}}};const de=Ke=>Object.assign({},(0,ee.oN)(Ke));var ve=(Ke,he)=>{const{componentCls:J,itemColor:V,itemSelectedColor:R,groupTitleColor:P,itemBg:B,subMenuItemBg:ge,itemSelectedBg:ie,activeBarHeight:pe,activeBarWidth:Oe,activeBarBorderWidth:xe,motionDurationSlow:Se,motionEaseInOut:$e,motionEaseOut:re,itemPaddingInline:oe,motionDurationMid:q,itemHoverColor:ue,lineType:Ee,colorSplit:le,itemDisabledColor:Ne,dangerItemColor:Ae,dangerItemHoverColor:we,dangerItemSelectedColor:Re,dangerItemActiveBg:st,dangerItemSelectedBg:nt,itemHoverBg:_e,itemActiveBg:We,menuSubMenuBg:Be,horizontalItemSelectedColor:it,horizontalItemSelectedBg:Ge,horizontalItemBorderRadius:Ot,horizontalItemHoverBg:$t,popupBg:wt}=Ke;return{[`${J}-${he}, ${J}-${he} > ${J}`]:{color:V,background:B,[`&${J}-root:focus-visible`]:Object.assign({},de(Ke)),[`${J}-item-group-title`]:{color:P},[`${J}-submenu-selected`]:{[`> ${J}-submenu-title`]:{color:R}},[`${J}-item-disabled, ${J}-submenu-disabled`]:{color:`${Ne} !important`},[`${J}-item:not(${J}-item-selected):not(${J}-submenu-selected)`]:{[`&:hover, > ${J}-submenu-title:hover`]:{color:ue}},[`&:not(${J}-horizontal)`]:{[`${J}-item:not(${J}-item-selected)`]:{"&:hover":{backgroundColor:_e},"&:active":{backgroundColor:We}},[`${J}-submenu-title`]:{"&:hover":{backgroundColor:_e},"&:active":{backgroundColor:We}}},[`${J}-item-danger`]:{color:Ae,[`&${J}-item:hover`]:{[`&:not(${J}-item-selected):not(${J}-submenu-selected)`]:{color:we}},[`&${J}-item:active`]:{background:st}},[`${J}-item a`]:{"&, &:hover":{color:"inherit"}},[`${J}-item-selected`]:{color:R,[`&${J}-item-danger`]:{color:Re},["a, a:hover"]:{color:"inherit"}},[`& ${J}-item-selected`]:{backgroundColor:ie,[`&${J}-item-danger`]:{backgroundColor:nt}},[`${J}-item, ${J}-submenu-title`]:{[`&:not(${J}-item-disabled):focus-visible`]:Object.assign({},de(Ke))},[`&${J}-submenu > ${J}`]:{backgroundColor:Be},[`&${J}-popup > ${J}`]:{backgroundColor:wt},[`&${J}-horizontal`]:Object.assign(Object.assign({},he==="dark"?{borderBottom:0}:{}),{[`> ${J}-item, > ${J}-submenu`]:{top:xe,marginTop:-xe,marginBottom:0,borderRadius:Ot,"&::after":{position:"absolute",insetInline:oe,bottom:0,borderBottom:`${pe}px solid transparent`,transition:`border-color ${Se} ${$e}`,content:'""'},["&:hover, &-active, &-open"]:{background:$t,"&::after":{borderBottomWidth:pe,borderBottomColor:it}},["&-selected"]:{color:it,backgroundColor:Ge,"&:hover":{backgroundColor:Ge},"&::after":{borderBottomWidth:pe,borderBottomColor:it}}}}),[`&${J}-root`]:{[`&${J}-inline, &${J}-vertical`]:{borderInlineEnd:`${xe}px ${Ee} ${le}`}},[`&${J}-inline`]:{[`${J}-sub${J}-inline`]:{background:ge},[`${J}-item, ${J}-submenu-title`]:xe&&Oe?{width:`calc(100% + ${xe}px)`}:{},[`${J}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Oe}px solid ${R}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${q} ${re}`,`opacity ${q} ${re}`].join(","),content:'""'},[`&${J}-item-danger`]:{"&::after":{borderInlineEndColor:Re}}},[`${J}-selected, ${J}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${q} ${$e}`,`opacity ${q} ${$e}`].join(",")}}}}}};const be=Ke=>{const{componentCls:he,itemHeight:J,itemMarginInline:V,padding:R,menuArrowSize:P,marginXS:B,itemMarginBlock:ge}=Ke,ie=R+P+B;return{[`${he}-item`]:{position:"relative",overflow:"hidden"},[`${he}-item, ${he}-submenu-title`]:{height:J,lineHeight:`${J}px`,paddingInline:R,overflow:"hidden",textOverflow:"ellipsis",marginInline:V,marginBlock:ge,width:`calc(100% - ${V*2}px)`},[`> ${he}-item, + > ${he}-submenu > ${he}-submenu-title`]:{height:J,lineHeight:`${J}px`},[`${he}-item-group-list ${he}-submenu-title, + ${he}-submenu-title`]:{paddingInlineEnd:ie}}};var Je=Ke=>{const{componentCls:he,iconCls:J,itemHeight:V,colorTextLightSolid:R,dropdownWidth:P,controlHeightLG:B,motionDurationMid:ge,motionEaseOut:ie,paddingXL:pe,itemMarginInline:Oe,fontSizeLG:xe,motionDurationSlow:Se,paddingXS:$e,boxShadowSecondary:re,collapsedWidth:oe,collapsedIconSize:q}=Ke,ue={height:V,lineHeight:`${V}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[he]:{["&-inline, &-vertical"]:Object.assign({[`&${he}-root`]:{boxShadow:"none"}},be(Ke))},[`${he}-submenu-popup`]:{[`${he}-vertical`]:Object.assign(Object.assign({},be(Ke)),{boxShadow:re})}},{[`${he}-submenu-popup ${he}-vertical${he}-sub`]:{minWidth:P,maxHeight:`calc(100vh - ${B*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${he}-inline`]:{width:"100%",[`&${he}-root`]:{[`${he}-item, ${he}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Se}`,`background ${Se}`,`padding ${ge} ${ie}`].join(","),[`> ${he}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${he}-sub${he}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${he}-submenu > ${he}-submenu-title`]:ue,[`& ${he}-item-group-title`]:{paddingInlineStart:pe}},[`${he}-item`]:ue}},{[`${he}-inline-collapsed`]:{width:oe,[`&${he}-root`]:{[`${he}-item, ${he}-submenu ${he}-submenu-title`]:{[`> ${he}-inline-collapsed-noicon`]:{fontSize:xe,textAlign:"center"}}},[`> ${he}-item, + > ${he}-item-group > ${he}-item-group-list > ${he}-item, + > ${he}-item-group > ${he}-item-group-list > ${he}-submenu > ${he}-submenu-title, + > ${he}-submenu > ${he}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${xe/2}px - ${Oe}px)`,textOverflow:"clip",[` + ${he}-submenu-arrow, + ${he}-submenu-expand-icon + `]:{opacity:0},[`${he}-item-icon, ${J}`]:{margin:0,fontSize:q,lineHeight:`${V}px`,"+ span":{display:"inline-block",opacity:0}}},[`${he}-item-icon, ${J}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${he}-item-icon, ${J}`]:{display:"none"},"a, a:hover":{color:R}},[`${he}-item-group-title`]:Object.assign(Object.assign({},ee.vS),{paddingInline:$e})}}]};const qe=Ke=>{const{componentCls:he,motionDurationSlow:J,motionDurationMid:V,motionEaseInOut:R,motionEaseOut:P,iconCls:B,iconSize:ge,iconMarginInlineEnd:ie}=Ke;return{[`${he}-item, ${he}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${J}`,`background ${J}`,`padding ${J} ${R}`].join(","),[`${he}-item-icon, ${B}`]:{minWidth:ge,fontSize:ge,transition:[`font-size ${V} ${P}`,`margin ${J} ${R}`,`color ${J}`].join(","),"+ span":{marginInlineStart:ie,opacity:1,transition:[`opacity ${J} ${R}`,`margin ${J}`,`color ${J}`].join(",")}},[`${he}-item-icon`]:Object.assign({},(0,ee.Ro)()),[`&${he}-item-only-child`]:{[`> ${B}, > ${he}-item-icon`]:{marginInlineEnd:0}}},[`${he}-item-disabled, ${he}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${he}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Xe=Ke=>{const{componentCls:he,motionDurationSlow:J,motionEaseInOut:V,borderRadius:R,menuArrowSize:P,menuArrowOffset:B}=Ke;return{[`${he}-submenu`]:{["&-expand-icon, &-arrow"]:{position:"absolute",top:"50%",insetInlineEnd:Ke.margin,width:P,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${J} ${V}, opacity ${J}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:P*.6,height:P*.15,backgroundColor:"currentcolor",borderRadius:R,transition:[`background ${J} ${V}`,`transform ${J} ${V}`,`top ${J} ${V}`,`color ${J} ${V}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${B})`},"&::after":{transform:`rotate(-45deg) translateY(${B})`}}}}},mt=Ke=>{const{antCls:he,componentCls:J,fontSize:V,motionDurationSlow:R,motionDurationMid:P,motionEaseInOut:B,paddingXS:ge,padding:ie,colorSplit:pe,lineWidth:Oe,zIndexPopup:xe,borderRadiusLG:Se,subMenuItemBorderRadius:$e,menuArrowSize:re,menuArrowOffset:oe,lineType:q,menuPanelMaskInset:ue,groupTitleLineHeight:Ee,groupTitleFontSize:le}=Ke;return[{"":{[`${J}`]:Object.assign(Object.assign({},(0,ee.dF)()),{["&-hidden"]:{display:"none"}})},[`${J}-submenu-hidden`]:{display:"none"}},{[J]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ee.Wf)(Ke)),(0,ee.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:V,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${R} cubic-bezier(0.2, 0, 0, 1) 0s`,["ul, ol"]:{margin:0,padding:0,listStyle:"none"},["&-overflow"]:{display:"flex",[`${J}-item`]:{flex:"none"}},[`${J}-item, ${J}-submenu, ${J}-submenu-title`]:{borderRadius:Ke.itemBorderRadius},[`${J}-item-group-title`]:{padding:`${ge}px ${ie}px`,fontSize:le,lineHeight:Ee,transition:`all ${R}`},[`&-horizontal ${J}-submenu`]:{transition:[`border-color ${R} ${B}`,`background ${R} ${B}`].join(",")},[`${J}-submenu, ${J}-submenu-inline`]:{transition:[`border-color ${R} ${B}`,`background ${R} ${B}`,`padding ${P} ${B}`].join(",")},[`${J}-submenu ${J}-sub`]:{cursor:"initial",transition:[`background ${R} ${B}`,`padding ${R} ${B}`].join(",")},[`${J}-title-content`]:{transition:`color ${R}`},[`${J}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${J}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:pe,borderStyle:q,borderWidth:0,borderTopWidth:Oe,marginBlock:Oe,padding:0,"&-dashed":{borderStyle:"dashed"}}}),qe(Ke)),{[`${J}-item-group`]:{[`${J}-item-group-list`]:{margin:0,padding:0,[`${J}-item, ${J}-submenu-title`]:{paddingInline:`${V*2}px ${ie}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:xe,borderRadius:Se,boxShadow:"none",transformOrigin:"0 0",[`&${J}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ue}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ue},[` + &-placement-leftTop, + &-placement-bottomRight, + `]:{transformOrigin:"100% 0"},[` + &-placement-leftBottom, + &-placement-topRight, + `]:{transformOrigin:"100% 100%"},[` + &-placement-rightBottom, + &-placement-topLeft, + `]:{transformOrigin:"0 100%"},[` + &-placement-bottomLeft, + &-placement-rightTop, + `]:{transformOrigin:"0 0"},[` + &-placement-leftTop, + &-placement-leftBottom + `]:{paddingInlineEnd:Ke.paddingXS},[` + &-placement-rightTop, + &-placement-rightBottom + `]:{paddingInlineStart:Ke.paddingXS},[` + &-placement-topRight, + &-placement-topLeft + `]:{paddingBottom:Ke.paddingXS},[` + &-placement-bottomRight, + &-placement-bottomLeft + `]:{paddingTop:Ke.paddingXS},[`> ${J}`]:Object.assign(Object.assign(Object.assign({borderRadius:Se},qe(Ke)),Xe(Ke)),{[`${J}-item, ${J}-submenu > ${J}-submenu-title`]:{borderRadius:$e},[`${J}-submenu-title::after`]:{transition:`transform ${R} ${B}`}})}}),Xe(Ke)),{[`&-inline-collapsed ${J}-submenu-arrow, + &-inline ${J}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${oe})`},"&::after":{transform:`rotate(45deg) translateX(-${oe})`}},[`${J}-submenu-open${J}-submenu-inline > ${J}-submenu-title > ${J}-submenu-arrow`]:{transform:`translateY(-${re*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${oe})`},"&::before":{transform:`rotate(45deg) translateX(${oe})`}}})},{[`${he}-layout-header`]:{[J]:{lineHeight:"inherit"}}}]};var Ct=(Ke,he)=>(0,X.Z)("Menu",V=>{if(he===!1)return[];const{colorBgElevated:R,colorPrimary:P,colorTextLightSolid:B,controlHeightLG:ge,fontSize:ie,darkItemColor:pe,darkDangerItemColor:Oe,darkItemBg:xe,darkSubMenuItemBg:Se,darkItemSelectedColor:$e,darkItemSelectedBg:re,darkDangerItemSelectedBg:oe,darkItemHoverBg:q,darkGroupTitleColor:ue,darkItemHoverColor:Ee,darkItemDisabledColor:le,darkDangerItemHoverColor:Ne,darkDangerItemSelectedColor:Ae,darkDangerItemActiveBg:we}=V,Re=ie/7*5,st=(0,O.TS)(V,{menuArrowSize:Re,menuHorizontalHeight:ge*1.15,menuArrowOffset:`${Re*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:R}),nt=(0,O.TS)(st,{itemColor:pe,itemHoverColor:Ee,groupTitleColor:ue,itemSelectedColor:$e,itemBg:xe,popupBg:xe,subMenuItemBg:Se,itemActiveBg:"transparent",itemSelectedBg:re,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:q,itemDisabledColor:le,dangerItemColor:Oe,dangerItemHoverColor:Ne,dangerItemSelectedColor:Ae,dangerItemActiveBg:we,dangerItemSelectedBg:oe,menuSubMenuBg:Se,horizontalItemSelectedColor:B,horizontalItemSelectedBg:P});return[mt(st),k(st),Je(st),ve(st,"light"),ve(nt,"dark"),Y(st),(0,se.Z)(st),(0,Q.oN)(st,"slide-up"),(0,Q.oN)(st,"slide-down"),(0,C._y)(st,"zoom-big")]},V=>{const{colorPrimary:R,colorError:P,colorTextDisabled:B,colorErrorBg:ge,colorText:ie,colorTextDescription:pe,colorBgContainer:Oe,colorFillAlter:xe,colorFillContent:Se,lineWidth:$e,lineWidthBold:re,controlItemBgActive:oe,colorBgTextHover:q,controlHeightLG:ue,lineHeight:Ee,colorBgElevated:le,marginXXS:Ne,padding:Ae,fontSize:we,controlHeightSM:Re,fontSizeLG:st,colorTextLightSolid:nt,colorErrorHover:_e}=V,We=new _.C(nt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:V.zIndexPopupBase+50,radiusItem:V.borderRadiusLG,itemBorderRadius:V.borderRadiusLG,radiusSubMenuItem:V.borderRadiusSM,subMenuItemBorderRadius:V.borderRadiusSM,colorItemText:ie,itemColor:ie,colorItemTextHover:ie,itemHoverColor:ie,colorItemTextHoverHorizontal:R,horizontalItemHoverColor:R,colorGroupTitle:pe,groupTitleColor:pe,colorItemTextSelected:R,itemSelectedColor:R,colorItemTextSelectedHorizontal:R,horizontalItemSelectedColor:R,colorItemBg:Oe,itemBg:Oe,colorItemBgHover:q,itemHoverBg:q,colorItemBgActive:Se,itemActiveBg:oe,colorSubItemBg:xe,subMenuItemBg:xe,colorItemBgSelected:oe,itemSelectedBg:oe,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:re,activeBarHeight:re,colorActiveBarBorderSize:$e,activeBarBorderWidth:$e,colorItemTextDisabled:B,itemDisabledColor:B,colorDangerItemText:P,dangerItemColor:P,colorDangerItemTextHover:P,dangerItemHoverColor:P,colorDangerItemTextSelected:P,dangerItemSelectedColor:P,colorDangerItemBgActive:ge,dangerItemActiveBg:ge,colorDangerItemBgSelected:ge,dangerItemSelectedBg:ge,itemMarginInline:V.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ue,groupTitleLineHeight:Ee,collapsedWidth:ue*2,popupBg:le,itemMarginBlock:Ne,itemPaddingInline:Ae,horizontalLineHeight:`${ue*1.15}px`,iconSize:we,iconMarginInlineEnd:Re-we,collapsedIconSize:st,groupTitleFontSize:we,darkItemDisabledColor:new _.C(nt).setAlpha(.25).toRgbString(),darkItemColor:We,darkDangerItemColor:P,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:nt,darkItemSelectedBg:R,darkDangerItemSelectedBg:P,darkItemHoverBg:"transparent",darkGroupTitleColor:We,darkItemHoverColor:nt,darkDangerItemHoverColor:_e,darkDangerItemSelectedColor:nt,darkDangerItemActiveBg:P}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Ke),vt=function(Ke,he){var J={};for(var V in Ke)Object.prototype.hasOwnProperty.call(Ke,V)&&he.indexOf(V)<0&&(J[V]=Ke[V]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,V=Object.getOwnPropertySymbols(Ke);R{var J,V;const R=t.useContext(j.Z),P=R||{},{getPrefixCls:B,getPopupContainer:ge,direction:ie,menu:pe}=t.useContext(d.E_),Oe=B(),{prefixCls:xe,className:Se,style:$e,theme:re="light",expandIcon:oe,_internalDisableMenuItemTitleTooltip:q,inlineCollapsed:ue,siderCollapsed:Ee,items:le,children:Ne,rootClassName:Ae,mode:we,selectable:Re,onClick:st,overflowedIndicatorPopupClassName:nt}=Ke,_e=vt(Ke,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),We=(0,M.Z)(_e,["collapsedWidth"]),Be=ne(le)||Ne;(J=P.validator)===null||J===void 0||J.call(P,{mode:we});const it=(0,D.Z)(function(){var It;st==null||st.apply(void 0,arguments),(It=P.onClick)===null||It===void 0||It.call(P)}),Ge=P.mode||we,Ot=Re!=null?Re:P.selectable,$t=t.useMemo(()=>Ee!==void 0?Ee:ue,[ue,Ee]),wt={horizontal:{motionName:`${Oe}-slide-up`},inline:(0,L.Z)(Oe),other:{motionName:`${Oe}-zoom-big`}},Pt=B("menu",xe||P.prefixCls),[dt,je]=Ct(Pt,!R),tt=n()(`${Pt}-${re}`,pe==null?void 0:pe.className,Se);let lt;if(typeof oe=="function")lt=oe;else{const It=oe||P.expandIcon;lt=(0,S.Tm)(It,{className:n()(`${Pt}-submenu-expand-icon`,(0,S.l$)(It)?(V=It.props)===null||V===void 0?void 0:V.className:"")})}const bt=t.useMemo(()=>({prefixCls:Pt,inlineCollapsed:$t||!1,direction:ie,firstLevel:!0,theme:re,mode:Ge,disableMenuItemTitleTooltip:q}),[Pt,$t,ie,q,re]);return dt(t.createElement(j.Z.Provider,{value:null},t.createElement(x.Provider,{value:bt},t.createElement(a.ZP,Object.assign({getPopupContainer:ge,overflowedIndicator:t.createElement(Z.Z,null),overflowedIndicatorPopupClassName:n()(Pt,`${Pt}-${re}`,nt),mode:Ge,selectable:Ot,onClick:it},We,{inlineCollapsed:$t,style:Object.assign(Object.assign({},pe==null?void 0:pe.style),$e),className:tt,prefixCls:Pt,direction:ie,defaultMotions:wt,expandIcon:lt,ref:he,rootClassName:n()(Ae,je)}),Be))))});const Ve=(0,t.forwardRef)((Ke,he)=>{const J=(0,t.useRef)(null),V=t.useContext(o.D);return(0,t.useImperativeHandle)(he,()=>({menu:J.current,focus:R=>{var P;(P=J.current)===null||P===void 0||P.focus(R)}})),t.createElement(ke,Object.assign({ref:J},Ke,V))});Ve.Item=U,Ve.SubMenu=N,Ve.Divider=m,Ve.ItemGroup=a.BW;var ot=Ve},80209:function(b,y,e){"use strict";e.d(y,{CW:function(){return w}});var a=e(85678),t=e(79999),o=e(69831),s=e(33064),n=e(25755),d=e(87608),l=e.n(d),c=e(75248),m=e(58757),g=e(61836),M=e(13952),h=function(z,U){var T={};for(var N in z)Object.prototype.hasOwnProperty.call(z,N)&&U.indexOf(N)<0&&(T[N]=z[N]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,N=Object.getOwnPropertySymbols(z);Z{let{prefixCls:U,type:T,icon:N,children:Z}=z;return m.createElement("div",{className:l()(`${U}-custom-content`,`${U}-${T}`)},N||S[T],m.createElement("span",null,Z))},x=z=>{const{prefixCls:U,className:T,type:N,icon:Z,content:D}=z,L=h(z,["prefixCls","className","type","icon","content"]),{getPrefixCls:j}=m.useContext(g.E_),G=U||j("message"),[,W]=(0,M.Z)(G);return m.createElement(c.q,Object.assign({},L,{prefixCls:G,className:l()(T,W,`${G}-notice-pure-panel`),eventKey:"pure",duration:null,content:m.createElement(w,{prefixCls:G,type:N,icon:Z},D)}))};y.ZP=x},84045:function(b,y,e){"use strict";var a=e(29140),t=e(58757),o=e(52323),s=e(42505),n=e(80209),d=e(45054),l=e(86538);let c=null,m=W=>W(),g=[],M={};function h(){const{prefixCls:W,getContainer:ne,duration:_,rtl:ee,maxCount:se,top:Q}=M,C=W!=null?W:(0,s.w6)().getPrefixCls("message"),X=(ne==null?void 0:ne())||document.body;return{prefixCls:C,getContainer:()=>X,duration:_,rtl:ee,maxCount:se,top:Q}}const S=t.forwardRef((W,ne)=>{const[_,ee]=t.useState(h),[se,Q]=(0,d.K)(_),C=(0,s.w6)(),X=C.getRootPrefixCls(),O=C.getIconPrefixCls(),H=C.getTheme(),k=()=>{ee(h)};return t.useEffect(k,[]),t.useImperativeHandle(ne,()=>{const A=Object.assign({},se);return Object.keys(A).forEach(Y=>{A[Y]=function(){return k(),se[Y].apply(se,arguments)}}),{instance:A,sync:k}}),t.createElement(s.ZP,{prefixCls:X,iconPrefixCls:O,theme:H},Q)});function w(){if(!c){const W=document.createDocumentFragment(),ne={fragment:W};c=ne,m(()=>{(0,o.s)(t.createElement(S,{ref:_=>{const{instance:ee,sync:se}=_||{};Promise.resolve().then(()=>{!ne.instance&&ee&&(ne.instance=ee,ne.sync=se,w())})}}),W)});return}c.instance&&(g.forEach(W=>{const{type:ne,skipped:_}=W;if(!_)switch(ne){case"open":{m(()=>{const ee=c.instance.open(Object.assign(Object.assign({},M),W.config));ee==null||ee.then(W.resolve),W.setCloseFn(ee)});break}case"destroy":m(()=>{c==null||c.instance.destroy(W.key)});break;default:m(()=>{var ee;const se=(ee=c.instance)[ne].apply(ee,(0,a.Z)(W.args));se==null||se.then(W.resolve),W.setCloseFn(se)})}}),g=[])}function x(W){M=Object.assign(Object.assign({},M),W),m(()=>{var ne;(ne=c==null?void 0:c.sync)===null||ne===void 0||ne.call(c)})}function z(W){const ne=(0,l.J)(_=>{let ee;const se={type:"open",config:W,resolve:_,setCloseFn:Q=>{ee=Q}};return g.push(se),()=>{ee?m(()=>{ee()}):se.skipped=!0}});return w(),ne}function U(W,ne){const _=(0,l.J)(ee=>{let se;const Q={type:W,args:ne,resolve:ee,setCloseFn:C=>{se=C}};return g.push(Q),()=>{se?m(()=>{se()}):Q.skipped=!0}});return w(),_}function T(W){g.push({type:"destroy",key:W}),w()}const N=["success","info","warning","error","loading"],D={open:z,destroy:T,config:x,useMessage:d.Z,_InternalPanelDoNotUseOrYouWillBeFired:n.ZP};N.forEach(W=>{D[W]=function(){for(var ne=arguments.length,_=new Array(ne),ee=0;ee{};let j=null,G=null;y.ZP=D},13952:function(b,y,e){"use strict";var a=e(57793),t=e(78330),o=e(52628),s=e(22151);const n=d=>{const{componentCls:l,iconCls:c,boxShadow:m,colorText:g,colorSuccess:M,colorError:h,colorWarning:S,colorInfo:w,fontSizeLG:x,motionEaseInOutCirc:z,motionDurationSlow:U,marginXS:T,paddingXS:N,borderRadiusLG:Z,zIndexPopup:D,contentPadding:L,contentBg:j}=d,G=`${l}-notice`,W=new a.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:N,transform:"translateY(0)",opacity:1}}),ne=new a.E4("MessageMoveOut",{"0%":{maxHeight:d.height,padding:N,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),_={padding:N,textAlign:"center",[`${l}-custom-content > ${c}`]:{verticalAlign:"text-bottom",marginInlineEnd:T,fontSize:x},[`${G}-content`]:{display:"inline-block",padding:L,background:j,borderRadius:Z,boxShadow:m,pointerEvents:"all"},[`${l}-success > ${c}`]:{color:M},[`${l}-error > ${c}`]:{color:h},[`${l}-warning > ${c}`]:{color:S},[`${l}-info > ${c}, + ${l}-loading > ${c}`]:{color:w}};return[{[l]:Object.assign(Object.assign({},(0,t.Wf)(d)),{color:g,position:"fixed",top:T,width:"100%",pointerEvents:"none",zIndex:D,[`${l}-move-up`]:{animationFillMode:"forwards"},[` + ${l}-move-up-appear, + ${l}-move-up-enter + `]:{animationName:W,animationDuration:U,animationPlayState:"paused",animationTimingFunction:z},[` + ${l}-move-up-appear${l}-move-up-appear-active, + ${l}-move-up-enter${l}-move-up-enter-active + `]:{animationPlayState:"running"},[`${l}-move-up-leave`]:{animationName:ne,animationDuration:U,animationPlayState:"paused",animationTimingFunction:z},[`${l}-move-up-leave${l}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[l]:{[G]:Object.assign({},_)}},{[`${l}-notice-pure-panel`]:Object.assign(Object.assign({},_),{padding:0,textAlign:"start"})}]};y.Z=(0,o.Z)("Message",d=>{const l=(0,s.TS)(d,{height:150});return[n(l)]},d=>({zIndexPopup:d.zIndexPopupBase+10,contentBg:d.colorBgElevated,contentPadding:`${(d.controlHeightLG-d.fontSize*d.lineHeight)/2}px ${d.paddingSM}px`}),{clientOnly:!0})},45054:function(b,y,e){"use strict";e.d(y,{K:function(){return x},Z:function(){return z}});var a=e(52495),t=e(87608),o=e.n(t),s=e(75248),n=e(58757),d=e(61836),l=e(80209),c=e(13952),m=e(86538),g=function(U,T){var N={};for(var Z in U)Object.prototype.hasOwnProperty.call(U,Z)&&T.indexOf(Z)<0&&(N[Z]=U[Z]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,Z=Object.getOwnPropertySymbols(U);D{const{top:N,prefixCls:Z,getContainer:D,maxCount:L,duration:j=h,rtl:G,transitionName:W,onAllRemoved:ne}=U,{getPrefixCls:_,getPopupContainer:ee,message:se}=n.useContext(d.E_),Q=Z||_("message"),[,C]=(0,c.Z)(Q),X=()=>({left:"50%",transform:"translateX(-50%)",top:N!=null?N:M}),O=()=>o()(C,{[`${Q}-rtl`]:G}),H=()=>(0,m.g)(Q,W),k=n.createElement("span",{className:`${Q}-close-x`},n.createElement(a.Z,{className:`${Q}-close-icon`})),[A,Y]=(0,s.l)({prefixCls:Q,style:X,className:O,motion:H,closable:!1,closeIcon:k,duration:j,getContainer:()=>(D==null?void 0:D())||(ee==null?void 0:ee())||document.body,maxCount:L,onAllRemoved:ne});return n.useImperativeHandle(T,()=>Object.assign(Object.assign({},A),{prefixCls:Q,hashId:C,message:se})),Y});let w=0;function x(U){const T=n.useRef(null);return[n.useMemo(()=>{const Z=W=>{var ne;(ne=T.current)===null||ne===void 0||ne.close(W)},D=W=>{if(!T.current){const ve=()=>{};return ve.then=()=>{},ve}const{open:ne,prefixCls:_,hashId:ee,message:se}=T.current,Q=`${_}-notice`,{content:C,icon:X,type:O,key:H,className:k,style:A,onClose:Y}=W,de=g(W,["content","icon","type","key","className","style","onClose"]);let me=H;return me==null&&(w+=1,me=`antd-message-${w}`),(0,m.J)(ve=>(ne(Object.assign(Object.assign({},de),{key:me,content:n.createElement(l.CW,{prefixCls:_,type:O,icon:X},C),placement:"top",className:o()(O&&`${Q}-${O}`,ee,k,se==null?void 0:se.className),style:Object.assign(Object.assign({},se==null?void 0:se.style),A),onClose:()=>{Y==null||Y(),ve()}})),()=>{Z(me)}))},j={open:D,destroy:W=>{var ne;W!==void 0?Z(W):(ne=T.current)===null||ne===void 0||ne.destroy()}};return["info","success","warning","error","loading"].forEach(W=>{const ne=(_,ee,se)=>{let Q;_&&typeof _=="object"&&"content"in _?Q=_:Q={content:_};let C,X;typeof ee=="function"?X=ee:(C=ee,X=se);const O=Object.assign(Object.assign({onClose:X,duration:C},Q),{type:W});return D(O)};j[W]=ne}),j},[]),n.createElement(S,Object.assign({key:"message-holder"},U,{ref:T}))]}function z(U){return x(U)}},86538:function(b,y,e){"use strict";e.d(y,{J:function(){return t},g:function(){return a}});function a(o,s){return{motionName:s!=null?s:`${o}-move-up`}}function t(o){let s;const n=new Promise(l=>{s=o(()=>{l(!0)})}),d=()=>{s==null||s()};return d.then=(l,c)=>n.then(l,c),d.promise=n,d}},76370:function(b,y,e){"use strict";e.d(y,{O:function(){return S}});var a=e(85678),t=e(79999),o=e(69831),s=e(33064),n=e(87608),d=e.n(n),l=e(58757),c=e(99086),m=e(90881),g=e(42505),M=e(29487),h=e(65401);function S(x){const{icon:z,onCancel:U,onOk:T,close:N,onConfirm:Z,isSilent:D,okText:L,okButtonProps:j,cancelText:G,cancelButtonProps:W,confirmPrefixCls:ne,rootPrefixCls:_,type:ee,okCancel:se,footer:Q,locale:C}=x;let X=z;if(!z&&z!==null)switch(ee){case"info":X=l.createElement(s.Z,null);break;case"success":X=l.createElement(a.Z,null);break;case"error":X=l.createElement(t.Z,null);break;default:X=l.createElement(o.Z,null)}const O=x.okType||"primary",H=se!=null?se:ee==="confirm",k=x.autoFocusButton===null?!1:x.autoFocusButton||"ok",[A]=(0,M.Z)("Modal"),Y=C||A,de=H&&l.createElement(c.Z,{isSilent:D,actionFn:U,close:function(){N==null||N.apply(void 0,arguments),Z==null||Z(!1)},autoFocus:k==="cancel",buttonProps:W,prefixCls:`${_}-btn`},G||(Y==null?void 0:Y.cancelText));return l.createElement("div",{className:`${ne}-body-wrapper`},l.createElement("div",{className:`${ne}-body`},X,x.title===void 0?null:l.createElement("span",{className:`${ne}-title`},x.title),l.createElement("div",{className:`${ne}-content`},x.content)),Q===void 0?l.createElement("div",{className:`${ne}-btns`},de,l.createElement(c.Z,{isSilent:D,type:O,actionFn:T,close:function(){N==null||N.apply(void 0,arguments),Z==null||Z(!0)},autoFocus:k==="ok",buttonProps:j,prefixCls:`${_}-btn`},L||(H?Y==null?void 0:Y.okText:Y==null?void 0:Y.justOkText))):Q)}const w=x=>{const{close:z,zIndex:U,afterClose:T,visible:N,open:Z,keyboard:D,centered:L,getContainer:j,maskStyle:G,direction:W,prefixCls:ne,wrapClassName:_,rootPrefixCls:ee,iconPrefixCls:se,theme:Q,bodyStyle:C,closable:X=!1,closeIcon:O,modalRender:H,focusTriggerAfterClose:k}=x,A=`${ne}-confirm`,Y=x.width||416,de=x.style||{},me=x.mask===void 0?!0:x.mask,ve=x.maskClosable===void 0?!1:x.maskClosable,be=d()(A,`${A}-${x.type}`,{[`${A}-rtl`]:W==="rtl"},x.className);return l.createElement(g.ZP,{prefixCls:ee,iconPrefixCls:se,direction:W,theme:Q},l.createElement(h.Z,{prefixCls:ne,className:be,wrapClassName:d()({[`${A}-centered`]:!!x.centered},_),onCancel:()=>z==null?void 0:z({triggerCancel:!0}),open:Z,title:"",footer:null,transitionName:(0,m.m)(ee,"zoom",x.transitionName),maskTransitionName:(0,m.m)(ee,"fade",x.maskTransitionName),mask:me,maskClosable:ve,maskStyle:G,style:de,bodyStyle:C,width:Y,zIndex:U,afterClose:T,keyboard:D,centered:L,getContainer:j,closable:X,closeIcon:O,modalRender:H,focusTriggerAfterClose:k},l.createElement(S,Object.assign({},x,{confirmPrefixCls:A}))))};y.Z=w},65401:function(b,y,e){"use strict";var a=e(52495),t=e(87608),o=e.n(t),s=e(67117),n=e(58757),d=e(88858),l=e(90881),c=e(32792),m=e(61836),g=e(81496),M=e(43528),h=e(78669),S=e(76073),w=function(T,N){var Z={};for(var D in T)Object.prototype.hasOwnProperty.call(T,D)&&N.indexOf(D)<0&&(Z[D]=T[D]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,D=Object.getOwnPropertySymbols(T);L{x={x:T.pageX,y:T.pageY},setTimeout(()=>{x=null},100)};(0,c.jD)()&&document.documentElement.addEventListener("click",z,!0);const U=T=>{var N;const{getPopupContainer:Z,getPrefixCls:D,direction:L,modal:j}=n.useContext(m.E_),G=Ht=>{const{onCancel:ke}=T;ke==null||ke(Ht)},W=Ht=>{const{onOk:ke}=T;ke==null||ke(Ht)},{prefixCls:ne,className:_,rootClassName:ee,open:se,wrapClassName:Q,centered:C,getContainer:X,closeIcon:O,closable:H,focusTriggerAfterClose:k=!0,style:A,visible:Y,width:de=520,footer:me}=T,ve=w(T,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),be=D("modal",ne),Pe=D(),[Je,qe]=(0,S.Z)(be),Xe=o()(Q,{[`${be}-centered`]:!!C,[`${be}-wrap-rtl`]:L==="rtl"}),mt=me===void 0?n.createElement(h.$,Object.assign({},T,{onOk:W,onCancel:G})):me,[Ct,vt]=(0,d.Z)(H,O,Ht=>(0,h.b)(be,Ht),n.createElement(a.Z,{className:`${be}-close-icon`}),!0);return Je(n.createElement(M.BR,null,n.createElement(g.Ux,{status:!0,override:!0},n.createElement(s.Z,Object.assign({width:de},ve,{getContainer:X===void 0?Z:X,prefixCls:be,rootClassName:o()(qe,ee),wrapClassName:Xe,footer:mt,visible:se!=null?se:Y,mousePosition:(N=ve.mousePosition)!==null&&N!==void 0?N:x,onClose:G,closable:Ct,closeIcon:vt,focusTriggerAfterClose:k,transitionName:(0,l.m)(Pe,"zoom",T.transitionName),maskTransitionName:(0,l.m)(Pe,"fade",T.maskTransitionName),className:o()(qe,_,j==null?void 0:j.className),style:Object.assign(Object.assign({},j==null?void 0:j.style),A)})))))};y.Z=U},49316:function(b,y,e){"use strict";e.d(y,{AQ:function(){return x},Au:function(){return z},ZP:function(){return M},ai:function(){return U},cw:function(){return S},uW:function(){return h},vq:function(){return w}});var a=e(29140),t=e(52323),o=e(58757),s=e(42505),n=e(76370),d=e(98702),l=e(67228),c=function(T,N){var Z={};for(var D in T)Object.prototype.hasOwnProperty.call(T,D)&&N.indexOf(D)<0&&(Z[D]=T[D]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,D=Object.getOwnPropertySymbols(T);LQ&&Q.triggerCancel);T.onCancel&&se&&T.onCancel.apply(T,[()=>{}].concat((0,a.Z)(_.slice(1))));for(let Q=0;Q{const X=(0,l.A)(),{getPrefixCls:O,getIconPrefixCls:H,getTheme:k}=(0,s.w6)(),A=O(void 0,g()),Y=se||`${A}-modal`,de=H(),me=k();let ve=Q;ve===!1&&(ve=void 0),(0,t.s)(o.createElement(n.Z,Object.assign({},C,{getContainer:ve,prefixCls:Y,rootPrefixCls:A,iconPrefixCls:de,okText:_,locale:X,theme:me,cancelText:ee||X.cancelText})),N)})}function G(){for(var ne=arguments.length,_=new Array(ne),ee=0;ee{typeof T.afterClose=="function"&&T.afterClose(),L.apply(this,_)}}),Z.visible&&delete Z.visible,j(Z)}function W(ne){typeof ne=="function"?Z=ne(Z):Z=Object.assign(Object.assign({},Z),ne),j(Z)}return j(Z),d.Z.push(G),{destroy:G,update:W}}function h(T){return Object.assign(Object.assign({},T),{type:"warning"})}function S(T){return Object.assign(Object.assign({},T),{type:"info"})}function w(T){return Object.assign(Object.assign({},T),{type:"success"})}function x(T){return Object.assign(Object.assign({},T),{type:"error"})}function z(T){return Object.assign(Object.assign({},T),{type:"confirm"})}function U(T){let{rootPrefixCls:N}=T;m=N}},98702:function(b,y){"use strict";const e=[];y.Z=e},62109:function(b,y,e){"use strict";e.d(y,{Z:function(){return N}});var a=e(49316),t=e(98702),o=e(65401),s=e(87608),n=e.n(s),d=e(67117),l=e(58757),c=e(61836),m=e(76370),g=e(78669),M=e(76073),h=e(15018),S=function(Z,D){var L={};for(var j in Z)Object.prototype.hasOwnProperty.call(Z,j)&&D.indexOf(j)<0&&(L[j]=Z[j]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,j=Object.getOwnPropertySymbols(Z);G{const{prefixCls:D,className:L,closeIcon:j,closable:G,type:W,title:ne,children:_}=Z,ee=S(Z,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:se}=l.useContext(c.E_),Q=se(),C=D||se("modal"),[,X]=(0,M.Z)(C),O=`${C}-confirm`;let H={};return W?H={closable:G!=null?G:!1,title:"",footer:"",children:l.createElement(m.O,Object.assign({},Z,{confirmPrefixCls:O,rootPrefixCls:Q,content:_}))}:H={closable:G!=null?G:!0,title:ne,footer:Z.footer===void 0?l.createElement(g.$,Object.assign({},Z)):Z.footer,children:_},l.createElement(d.s,Object.assign({prefixCls:C,className:n()(X,`${C}-pure-panel`,W&&O,W&&`${O}-${W}`,L)},ee,{closeIcon:(0,g.b)(C,j),closable:G},H))};var x=(0,h.i)(w),z=e(65172);function U(Z){return(0,a.ZP)((0,a.uW)(Z))}const T=o.Z;T.useModal=z.Z,T.info=function(D){return(0,a.ZP)((0,a.cw)(D))},T.success=function(D){return(0,a.ZP)((0,a.vq)(D))},T.error=function(D){return(0,a.ZP)((0,a.AQ)(D))},T.warning=U,T.warn=U,T.confirm=function(D){return(0,a.ZP)((0,a.Au)(D))},T.destroyAll=function(){for(;t.Z.length;){const D=t.Z.pop();D&&D()}},T.config=a.ai,T._InternalPanelDoNotUseOrYouWillBeFired=x;var N=T},67228:function(b,y,e){"use strict";e.d(y,{A:function(){return d},f:function(){return n}});var a=e(80076);let t=Object.assign({},a.Z.Modal),o=[];const s=()=>o.reduce((l,c)=>Object.assign(Object.assign({},l),c),a.Z.Modal);function n(l){if(l){const c=Object.assign({},l);return o.push(c),t=s(),()=>{o=o.filter(m=>m!==c),t=s()}}t=Object.assign({},a.Z.Modal)}function d(){return t}},78669:function(b,y,e){"use strict";e.d(y,{$:function(){return m},b:function(){return c}});var a=e(52495),t=e(58757),o=e(12562),s=e(70921),n=e(92428),d=e(29487),l=e(67228);function c(g,M){return t.createElement("span",{className:`${g}-close-x`},M||t.createElement(a.Z,{className:`${g}-close-icon`}))}const m=g=>{const{okText:M,okType:h="primary",cancelText:S,confirmLoading:w,onOk:x,onCancel:z,okButtonProps:U,cancelButtonProps:T}=g,[N]=(0,d.Z)("Modal",(0,l.A)());return t.createElement(n.n,{disabled:!1},t.createElement(o.ZP,Object.assign({onClick:z},T),S||(N==null?void 0:N.cancelText)),t.createElement(o.ZP,Object.assign({},(0,s.n)(h),{loading:w,onClick:x},U),M||(N==null?void 0:N.okText)))}},76073:function(b,y,e){"use strict";e.d(y,{Q:function(){return l}});var a=e(78330),t=e(7239),o=e(28107),s=e(52628),n=e(22151);function d(h){return{position:h,inset:0}}const l=h=>{const{componentCls:S,antCls:w}=h;return[{[`${S}-root`]:{[`${S}${w}-zoom-enter, ${S}${w}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:h.motionDurationSlow,userSelect:"none"},[`${S}${w}-zoom-leave ${S}-content`]:{pointerEvents:"none"},[`${S}-mask`]:Object.assign(Object.assign({},d("fixed")),{zIndex:h.zIndexPopupBase,height:"100%",backgroundColor:h.colorBgMask,pointerEvents:"none",[`${S}-hidden`]:{display:"none"}}),[`${S}-wrap`]:Object.assign(Object.assign({},d("fixed")),{zIndex:h.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${S}${w}-zoom-enter), &:has(${S}${w}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${S}-root`]:(0,t.J$)(h)}]},c=h=>{const{componentCls:S}=h;return[{[`${S}-root`]:{[`${S}-wrap-rtl`]:{direction:"rtl"},[`${S}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[S]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${h.screenSMMax})`]:{[S]:{maxWidth:"calc(100vw - 16px)",margin:`${h.marginXS} auto`},[`${S}-centered`]:{[S]:{flex:1}}}}},{[S]:Object.assign(Object.assign({},(0,a.Wf)(h)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${h.margin*2}px)`,margin:"0 auto",paddingBottom:h.paddingLG,[`${S}-title`]:{margin:0,color:h.titleColor,fontWeight:h.fontWeightStrong,fontSize:h.titleFontSize,lineHeight:h.titleLineHeight,wordWrap:"break-word"},[`${S}-content`]:{position:"relative",backgroundColor:h.contentBg,backgroundClip:"padding-box",border:0,borderRadius:h.borderRadiusLG,boxShadow:h.boxShadow,pointerEvents:"auto",padding:`${h.paddingMD}px ${h.paddingContentHorizontalLG}px`},[`${S}-close`]:Object.assign({position:"absolute",top:(h.modalHeaderHeight-h.modalCloseBtnSize)/2,insetInlineEnd:(h.modalHeaderHeight-h.modalCloseBtnSize)/2,zIndex:h.zIndexPopupBase+10,padding:0,color:h.modalCloseIconColor,fontWeight:h.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:h.borderRadiusSM,width:h.modalCloseBtnSize,height:h.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${h.motionDurationMid}, background-color ${h.motionDurationMid}`,"&-x":{display:"flex",fontSize:h.fontSizeLG,fontStyle:"normal",lineHeight:`${h.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:h.modalIconHoverColor,backgroundColor:h.wireframe?"transparent":h.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:h.wireframe?"transparent":h.colorFillContentHover}},(0,a.Qy)(h)),[`${S}-header`]:{color:h.colorText,background:h.headerBg,borderRadius:`${h.borderRadiusLG}px ${h.borderRadiusLG}px 0 0`,marginBottom:h.marginXS},[`${S}-body`]:{fontSize:h.fontSize,lineHeight:h.lineHeight,wordWrap:"break-word"},[`${S}-footer`]:{textAlign:"end",background:h.footerBg,marginTop:h.marginSM,[`${h.antCls}-btn + ${h.antCls}-btn:not(${h.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:h.marginXS}},[`${S}-open`]:{overflow:"hidden"}})},{[`${S}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${S}-content, + ${S}-body, + ${S}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${S}-confirm-body`]:{marginBottom:"auto"}}}]},m=h=>{const{componentCls:S}=h,w=`${S}-confirm`;return{[w]:{"&-rtl":{direction:"rtl"},[`${h.antCls}-modal-header`]:{display:"none"},[`${w}-body-wrapper`]:Object.assign({},(0,a.dF)()),[`${w}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${w}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:h.colorTextHeading,fontWeight:h.fontWeightStrong,fontSize:h.titleFontSize,lineHeight:h.titleLineHeight,[`+ ${w}-content`]:{marginBlockStart:h.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${h.modalConfirmIconSize+h.marginSM}px)`}},[`${w}-content`]:{color:h.colorText,fontSize:h.fontSize},[`> ${h.iconCls}`]:{flex:"none",marginInlineEnd:h.marginSM,fontSize:h.modalConfirmIconSize,[`+ ${w}-title`]:{flex:1},[`+ ${w}-title + ${w}-content`]:{marginInlineStart:h.modalConfirmIconSize+h.marginSM}}},[`${w}-btns`]:{textAlign:"end",marginTop:h.marginSM,[`${h.antCls}-btn + ${h.antCls}-btn`]:{marginBottom:0,marginInlineStart:h.marginXS}}},[`${w}-error ${w}-body > ${h.iconCls}`]:{color:h.colorError},[`${w}-warning ${w}-body > ${h.iconCls}, + ${w}-confirm ${w}-body > ${h.iconCls}`]:{color:h.colorWarning},[`${w}-info ${w}-body > ${h.iconCls}`]:{color:h.colorInfo},[`${w}-success ${w}-body > ${h.iconCls}`]:{color:h.colorSuccess}}},g=h=>{const{componentCls:S}=h;return{[`${S}-root`]:{[`${S}-wrap-rtl`]:{direction:"rtl",[`${S}-confirm-body`]:{direction:"rtl"}}}}},M=h=>{const{componentCls:S,antCls:w}=h,x=`${S}-confirm`;return{[S]:{[`${S}-content`]:{padding:0},[`${S}-header`]:{padding:h.modalHeaderPadding,borderBottom:`${h.modalHeaderBorderWidth}px ${h.modalHeaderBorderStyle} ${h.modalHeaderBorderColorSplit}`,marginBottom:0},[`${S}-body`]:{padding:h.modalBodyPadding},[`${S}-footer`]:{padding:`${h.modalFooterPaddingVertical}px ${h.modalFooterPaddingHorizontal}px`,borderTop:`${h.modalFooterBorderWidth}px ${h.modalFooterBorderStyle} ${h.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${h.borderRadiusLG}px ${h.borderRadiusLG}px`,marginTop:0}},[x]:{[`${w}-modal-body`]:{padding:`${h.padding*2}px ${h.padding*2}px ${h.paddingLG}px`},[`${x}-body`]:{[`> ${h.iconCls}`]:{marginInlineEnd:h.margin,[`+ ${x}-title + ${x}-content`]:{marginInlineStart:h.modalConfirmIconSize+h.margin}}},[`${x}-btns`]:{marginTop:h.marginLG}}}};y.Z=(0,s.Z)("Modal",h=>{const S=h.padding,w=h.fontSizeHeading5,x=h.lineHeightHeading5,z=(0,n.TS)(h,{modalBodyPadding:h.paddingLG,modalHeaderPadding:`${S}px ${h.paddingLG}px`,modalHeaderBorderWidth:h.lineWidth,modalHeaderBorderStyle:h.lineType,modalHeaderBorderColorSplit:h.colorSplit,modalHeaderHeight:x*w+S*2,modalFooterBorderColorSplit:h.colorSplit,modalFooterBorderStyle:h.lineType,modalFooterPaddingVertical:h.paddingXS,modalFooterPaddingHorizontal:h.padding,modalFooterBorderWidth:h.lineWidth,modalIconHoverColor:h.colorIconHover,modalCloseIconColor:h.colorIcon,modalCloseBtnSize:h.fontSize*h.lineHeight,modalConfirmIconSize:h.fontSize*h.lineHeight});return[c(z),m(z),g(z),l(z),h.wireframe&&M(z),(0,o._y)(z,"zoom")]},h=>({footerBg:"transparent",headerBg:h.colorBgElevated,titleLineHeight:h.lineHeightHeading5,titleFontSize:h.fontSizeHeading5,contentBg:h.colorBgElevated,titleColor:h.colorTextHeading}))},65172:function(b,y,e){"use strict";e.d(y,{Z:function(){return z}});var a=e(29140),t=e(58757);function o(){const[U,T]=t.useState([]),N=t.useCallback(Z=>(T(D=>[].concat((0,a.Z)(D),[Z])),()=>{T(D=>D.filter(L=>L!==Z))}),[]);return[U,N]}var s=e(49316),n=e(98702),d=e(61836),l=e(80076),c=e(29487),m=e(76370),g=function(U,T){var N={};for(var Z in U)Object.prototype.hasOwnProperty.call(U,Z)&&T.indexOf(Z)<0&&(N[Z]=U[Z]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,Z=Object.getOwnPropertySymbols(U);D{var N,{afterClose:Z,config:D}=U,L=g(U,["afterClose","config"]);const[j,G]=t.useState(!0),[W,ne]=t.useState(D),{direction:_,getPrefixCls:ee}=t.useContext(d.E_),se=ee("modal"),Q=ee(),C=()=>{var k;Z(),(k=W.afterClose)===null||k===void 0||k.call(W)},X=function(){G(!1);for(var k=arguments.length,A=new Array(k),Y=0;Yme&&me.triggerCancel);W.onCancel&&de&&W.onCancel.apply(W,[()=>{}].concat((0,a.Z)(A.slice(1))))};t.useImperativeHandle(T,()=>({destroy:X,update:k=>{ne(A=>Object.assign(Object.assign({},A),k))}}));const O=(N=W.okCancel)!==null&&N!==void 0?N:W.type==="confirm",[H]=(0,c.Z)("Modal",l.Z.Modal);return t.createElement(m.Z,Object.assign({prefixCls:se,rootPrefixCls:Q},W,{close:X,open:j,afterClose:C,okText:W.okText||(O?H==null?void 0:H.okText:H==null?void 0:H.justOkText),direction:W.direction||_,cancelText:W.cancelText||(H==null?void 0:H.cancelText)},L))};var h=t.forwardRef(M);let S=0;const w=t.memo(t.forwardRef((U,T)=>{const[N,Z]=o();return t.useImperativeHandle(T,()=>({patchElement:Z}),[]),t.createElement(t.Fragment,null,N)}));function x(){const U=t.useRef(null),[T,N]=t.useState([]);t.useEffect(()=>{T.length&&((0,a.Z)(T).forEach(j=>{j()}),N([]))},[T]);const Z=t.useCallback(L=>function(G){var W;S+=1;const ne=t.createRef();let _;const ee=new Promise(O=>{_=O});let se=!1,Q;const C=t.createElement(h,{key:`modal-${S}`,config:L(G),ref:ne,afterClose:()=>{Q==null||Q()},isSilent:()=>se,onConfirm:O=>{_(O)}});return Q=(W=U.current)===null||W===void 0?void 0:W.patchElement(C),Q&&n.Z.push(Q),{destroy:()=>{function O(){var H;(H=ne.current)===null||H===void 0||H.destroy()}ne.current?O():N(H=>[].concat((0,a.Z)(H),[O]))},update:O=>{function H(){var k;(k=ne.current)===null||k===void 0||k.update(O)}ne.current?H():N(k=>[].concat((0,a.Z)(k),[H]))},then:O=>(se=!0,ee.then(O))}},[]);return[t.useMemo(()=>({info:Z(s.cw),success:Z(s.vq),error:Z(s.AQ),warning:Z(s.uW),confirm:Z(s.Au)}),[]),t.createElement(w,{key:"modal-holder",ref:U})]}var z=x},37864:function(b,y,e){"use strict";e.d(y,{CW:function(){return U},z5:function(){return x}});var a=e(85678),t=e(79999),o=e(52495),s=e(69831),n=e(33064),d=e(25755),l=e(87608),c=e.n(l),m=e(75248),g=e(58757),M=e(61836),h=e(26284),S=function(N,Z){var D={};for(var L in N)Object.prototype.hasOwnProperty.call(N,L)&&Z.indexOf(L)<0&&(D[L]=N[L]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,L=Object.getOwnPropertySymbols(N);j{const{prefixCls:Z,icon:D,type:L,message:j,description:G,btn:W,role:ne="alert"}=N;let _=null;return D?_=g.createElement("span",{className:`${Z}-icon`},D):L&&(_=g.createElement(z[L]||null,{className:c()(`${Z}-icon`,`${Z}-icon-${L}`)})),g.createElement("div",{className:c()({[`${Z}-with-icon`]:_}),role:ne},_,g.createElement("div",{className:`${Z}-message`},j),g.createElement("div",{className:`${Z}-description`},G),W&&g.createElement("div",{className:`${Z}-btn`},W))},T=N=>{const{prefixCls:Z,className:D,icon:L,type:j,message:G,description:W,btn:ne,closable:_=!0,closeIcon:ee}=N,se=S(N,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:Q}=g.useContext(M.E_),C=Z||Q("notification"),X=`${C}-notice`,[,O]=(0,h.Z)(C);return g.createElement(m.q,Object.assign({},se,{prefixCls:C,className:c()(D,O,`${X}-pure-panel`),eventKey:"pure",duration:null,closable:_,closeIcon:x(C,ee),content:g.createElement(U,{prefixCls:X,icon:L,type:j,message:G,description:W,btn:ne})}))};y.ZP=T},65388:function(b,y,e){"use strict";var a=e(58757),t=e(52323),o=e(42505),s=e(37864),n=e(75105);let d=null,l=D=>D(),c=[],m={};function g(){const{prefixCls:D,getContainer:L,rtl:j,maxCount:G,top:W,bottom:ne}=m,_=D!=null?D:(0,o.w6)().getPrefixCls("notification"),ee=(L==null?void 0:L())||document.body;return{prefixCls:_,getContainer:()=>ee,rtl:j,maxCount:G,top:W,bottom:ne}}const M=a.forwardRef((D,L)=>{const[j,G]=a.useState(g),[W,ne]=(0,n.k)(j),_=(0,o.w6)(),ee=_.getRootPrefixCls(),se=_.getIconPrefixCls(),Q=_.getTheme(),C=()=>{G(g)};return a.useEffect(C,[]),a.useImperativeHandle(L,()=>{const X=Object.assign({},W);return Object.keys(X).forEach(O=>{X[O]=function(){return C(),W[O].apply(W,arguments)}}),{instance:X,sync:C}}),a.createElement(o.ZP,{prefixCls:ee,iconPrefixCls:se,theme:Q},ne)});function h(){if(!d){const D=document.createDocumentFragment(),L={fragment:D};d=L,l(()=>{(0,t.s)(a.createElement(M,{ref:j=>{const{instance:G,sync:W}=j||{};Promise.resolve().then(()=>{!L.instance&&G&&(L.instance=G,L.sync=W,h())})}}),D)});return}d.instance&&(c.forEach(D=>{switch(D.type){case"open":{l(()=>{d.instance.open(Object.assign(Object.assign({},m),D.config))});break}case"destroy":l(()=>{d==null||d.instance.destroy(D.key)});break}}),c=[])}function S(D){m=Object.assign(Object.assign({},m),D),l(()=>{var L;(L=d==null?void 0:d.sync)===null||L===void 0||L.call(d)})}function w(D){c.push({type:"open",config:D}),h()}function x(D){c.push({type:"destroy",key:D}),h()}const z=["success","info","warning","error"],T={open:w,destroy:x,config:S,useNotification:n.Z,_InternalPanelDoNotUseOrYouWillBeFired:s.ZP};z.forEach(D=>{T[D]=L=>w(Object.assign(Object.assign({},L),{type:D}))});const N=()=>{};let Z=null;y.Z=T},26284:function(b,y,e){"use strict";e.d(y,{Z:function(){return c}});var a=e(57793),t=e(78330),o=e(52628),s=e(22151),d=m=>{const{componentCls:g,width:M,notificationMarginEdge:h}=m,S=new a.E4("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),w=new a.E4("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),x=new a.E4("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:M},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${g}-top, &${g}-bottom`]:{marginInline:0},[`&${g}-top`]:{[`${g}-fade-enter${g}-fade-enter-active, ${g}-fade-appear${g}-fade-appear-active`]:{animationName:S}},[`&${g}-bottom`]:{[`${g}-fade-enter${g}-fade-enter-active, ${g}-fade-appear${g}-fade-appear-active`]:{animationName:w}},[`&${g}-topLeft, &${g}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:h,[`${g}-fade-enter${g}-fade-enter-active, ${g}-fade-appear${g}-fade-appear-active`]:{animationName:x}}}};const l=m=>{const{iconCls:g,componentCls:M,boxShadow:h,fontSizeLG:S,notificationMarginBottom:w,borderRadiusLG:x,colorSuccess:z,colorInfo:U,colorWarning:T,colorError:N,colorTextHeading:Z,notificationBg:D,notificationPadding:L,notificationMarginEdge:j,motionDurationMid:G,motionEaseInOut:W,fontSize:ne,lineHeight:_,width:ee,notificationIconSize:se,colorText:Q}=m,C=`${M}-notice`,X=new a.E4("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:ee},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),O=new a.E4("antNotificationFadeOut",{"0%":{maxHeight:m.animationMaxHeight,marginBottom:w,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),H={position:"relative",width:ee,maxWidth:`calc(100vw - ${j*2}px)`,marginBottom:w,marginInlineStart:"auto",padding:L,overflow:"hidden",lineHeight:_,wordWrap:"break-word",background:D,borderRadius:x,boxShadow:h,[`${M}-close-icon`]:{fontSize:ne,cursor:"pointer"},[`${C}-message`]:{marginBottom:m.marginXS,color:Z,fontSize:S,lineHeight:m.lineHeightLG},[`${C}-description`]:{fontSize:ne,color:Q},[`&${C}-closable ${C}-message`]:{paddingInlineEnd:m.paddingLG},[`${C}-with-icon ${C}-message`]:{marginBottom:m.marginXS,marginInlineStart:m.marginSM+se,fontSize:S},[`${C}-with-icon ${C}-description`]:{marginInlineStart:m.marginSM+se,fontSize:ne},[`${C}-icon`]:{position:"absolute",fontSize:se,lineHeight:0,[`&-success${g}`]:{color:z},[`&-info${g}`]:{color:U},[`&-warning${g}`]:{color:T},[`&-error${g}`]:{color:N}},[`${C}-close`]:{position:"absolute",top:m.notificationPaddingVertical,insetInlineEnd:m.notificationPaddingHorizontal,color:m.colorIcon,outline:"none",width:m.notificationCloseButtonSize,height:m.notificationCloseButtonSize,borderRadius:m.borderRadiusSM,transition:`background-color ${m.motionDurationMid}, color ${m.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:m.colorIconHover,backgroundColor:m.wireframe?"transparent":m.colorFillContent}},[`${C}-btn`]:{float:"right",marginTop:m.marginSM}};return[{[M]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,t.Wf)(m)),{position:"fixed",zIndex:m.zIndexPopup,marginInlineEnd:j,[`${M}-hook-holder`]:{position:"relative"},[`&${M}-top, &${M}-bottom`]:{[C]:{marginInline:"auto auto"}},[`&${M}-topLeft, &${M}-bottomLeft`]:{[C]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${M}-fade-enter, ${M}-fade-appear`]:{animationDuration:m.motionDurationMid,animationTimingFunction:W,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${M}-fade-leave`]:{animationTimingFunction:W,animationFillMode:"both",animationDuration:G,animationPlayState:"paused"},[`${M}-fade-enter${M}-fade-enter-active, ${M}-fade-appear${M}-fade-appear-active`]:{animationName:X,animationPlayState:"running"},[`${M}-fade-leave${M}-fade-leave-active`]:{animationName:O,animationPlayState:"running"}}),d(m)),{"&-rtl":{direction:"rtl",[`${C}-btn`]:{float:"left"}}})},{[M]:{[C]:Object.assign({},H)}},{[`${C}-pure-panel`]:Object.assign(Object.assign({},H),{margin:0})}]};var c=(0,o.Z)("Notification",m=>{const g=m.paddingMD,M=m.paddingLG,h=(0,s.TS)(m,{notificationBg:m.colorBgElevated,notificationPaddingVertical:g,notificationPaddingHorizontal:M,notificationIconSize:m.fontSizeLG*m.lineHeightLG,notificationCloseButtonSize:m.controlHeightLG*.55,notificationMarginBottom:m.margin,notificationPadding:`${m.paddingMD}px ${m.paddingContentHorizontalLG}px`,notificationMarginEdge:m.marginLG,animationMaxHeight:150});return[l(h)]},m=>({zIndexPopup:m.zIndexPopupBase+50,width:384}),{clientOnly:!0})},75105:function(b,y,e){"use strict";e.d(y,{Z:function(){return z},k:function(){return x}});var a=e(58757),t=e(87608),o=e.n(t),s=e(75248),n=e(61836),d=e(37864),l=e(26284);function c(U,T,N){let Z;switch(U){case"top":Z={left:"50%",transform:"translateX(-50%)",right:"auto",top:T,bottom:"auto"};break;case"topLeft":Z={left:0,top:T,bottom:"auto"};break;case"topRight":Z={right:0,top:T,bottom:"auto"};break;case"bottom":Z={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:N};break;case"bottomLeft":Z={left:0,top:"auto",bottom:N};break;default:Z={right:0,top:"auto",bottom:N};break}return Z}function m(U){return{motionName:`${U}-fade`}}var g=function(U,T){var N={};for(var Z in U)Object.prototype.hasOwnProperty.call(U,Z)&&T.indexOf(Z)<0&&(N[Z]=U[Z]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,Z=Object.getOwnPropertySymbols(U);D{const{top:N,bottom:Z,prefixCls:D,getContainer:L,maxCount:j,rtl:G,onAllRemoved:W}=U,{getPrefixCls:ne,getPopupContainer:_,notification:ee}=a.useContext(n.E_),se=D||ne("notification"),Q=A=>c(A,N!=null?N:M,Z!=null?Z:M),[,C]=(0,l.Z)(se),X=()=>o()(C,{[`${se}-rtl`]:G}),O=()=>m(se),[H,k]=(0,s.l)({prefixCls:se,style:Q,className:X,motion:O,closable:!0,closeIcon:(0,d.z5)(se),duration:h,getContainer:()=>(L==null?void 0:L())||(_==null?void 0:_())||document.body,maxCount:j,onAllRemoved:W});return a.useImperativeHandle(T,()=>Object.assign(Object.assign({},H),{prefixCls:se,hashId:C,notification:ee})),k});function x(U){const T=a.useRef(null);return[a.useMemo(()=>{const Z=G=>{var W;if(!T.current)return;const{open:ne,prefixCls:_,hashId:ee,notification:se}=T.current,Q=`${_}-notice`,{message:C,description:X,icon:O,type:H,btn:k,className:A,style:Y,role:de="alert",closeIcon:me}=G,ve=g(G,["message","description","icon","type","btn","className","style","role","closeIcon"]),be=(0,d.z5)(Q,me);return ne(Object.assign(Object.assign({placement:(W=U==null?void 0:U.placement)!==null&&W!==void 0?W:S},ve),{content:a.createElement(d.CW,{prefixCls:Q,icon:O,type:H,message:C,description:X,btn:k,role:de}),className:o()(H&&`${Q}-${H}`,ee,A,se==null?void 0:se.className),style:Object.assign(Object.assign({},se==null?void 0:se.style),Y),closeIcon:be,closable:!!be}))},L={open:Z,destroy:G=>{var W,ne;G!==void 0?(W=T.current)===null||W===void 0||W.close(G):(ne=T.current)===null||ne===void 0||ne.destroy()}};return["success","info","warning","error"].forEach(G=>{L[G]=W=>Z(Object.assign(Object.assign({},W),{type:G}))}),L},[]),a.createElement(w,Object.assign({key:"notification-holder"},U,{ref:T}))]}function z(U){return x(U)}},35910:function(b,y,e){"use strict";e.d(y,{Z:function(){return ge}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},s=o,n=e(17202),d=function(pe,Oe){return t.createElement(n.Z,(0,a.Z)({},pe,{ref:Oe,icon:s}))},l=t.forwardRef(d),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},m=c,g=function(pe,Oe){return t.createElement(n.Z,(0,a.Z)({},pe,{ref:Oe,icon:m}))},M=t.forwardRef(g),h=e(99142),S=e(91169),w=e(87608),x=e.n(w),z=e(37734),U=e(57370),T=e(60412),N=e(14346),Z=e(87498),D=e(73726),L=e(33926),j={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},G=j,W=e(23737),ne=function(ie){(0,Z.Z)(Oe,ie);var pe=(0,D.Z)(Oe);function Oe(){var xe;(0,T.Z)(this,Oe);for(var Se=arguments.length,$e=new Array(Se),re=0;re=0||oe.relatedTarget.className.indexOf("".concat(le,"-item"))>=0))&&Ee(xe.getValidValue()))},xe.go=function(oe){var q=xe.state.goInputText;q!==""&&(oe.keyCode===G.ENTER||oe.type==="click")&&(xe.setState({goInputText:""}),xe.props.quickGo(xe.getValidValue()))},xe}return(0,N.Z)(Oe,[{key:"getPageSizeOptions",value:function(){var Se=this.props,$e=Se.pageSize,re=Se.pageSizeOptions;return re.some(function(oe){return oe.toString()===$e.toString()})?re:re.concat([$e.toString()]).sort(function(oe,q){var ue=Number.isNaN(Number(oe))?0:Number(oe),Ee=Number.isNaN(Number(q))?0:Number(q);return ue-Ee})}},{key:"render",value:function(){var Se=this,$e=this.props,re=$e.pageSize,oe=$e.locale,q=$e.rootPrefixCls,ue=$e.changeSize,Ee=$e.quickGo,le=$e.goButton,Ne=$e.selectComponentClass,Ae=$e.buildOptionText,we=$e.selectPrefixCls,Re=$e.disabled,st=this.state.goInputText,nt="".concat(q,"-options"),_e=Ne,We=null,Be=null,it=null;if(!ue&&!Ee)return null;var Ge=this.getPageSizeOptions();if(ue&&_e){var Ot=Ge.map(function($t,wt){return t.createElement(_e.Option,{key:wt,value:$t.toString()},(Ae||Se.buildOptionText)($t))});We=t.createElement(_e,{disabled:Re,prefixCls:we,showSearch:!1,className:"".concat(nt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(re||Ge[0]).toString(),onChange:this.changeSize,getPopupContainer:function(wt){return wt.parentNode},"aria-label":oe.page_size,defaultOpen:!1},Ot)}return Ee&&(le&&(it=typeof le=="boolean"?t.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Re,className:"".concat(nt,"-quick-jumper-button")},oe.jump_to_confirm):t.createElement("span",{onClick:this.go,onKeyUp:this.go},le)),Be=t.createElement("div",{className:"".concat(nt,"-quick-jumper")},oe.jump_to,t.createElement("input",{disabled:Re,type:"text",value:st,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":oe.page}),oe.page,it)),t.createElement("li",{className:"".concat(nt)},We,Be)}}]),Oe}(t.Component);ne.defaultProps={pageSizeOptions:["10","20","50","100"]};var _=ne,ee=function(pe){var Oe,xe=pe.rootPrefixCls,Se=pe.page,$e=pe.active,re=pe.className,oe=pe.showTitle,q=pe.onClick,ue=pe.onKeyPress,Ee=pe.itemRender,le="".concat(xe,"-item"),Ne=x()(le,"".concat(le,"-").concat(Se),(Oe={},(0,z.Z)(Oe,"".concat(le,"-active"),$e),(0,z.Z)(Oe,"".concat(le,"-disabled"),!Se),(0,z.Z)(Oe,pe.className,re),Oe)),Ae=function(){q(Se)},we=function(nt){ue(nt,q,Se)},Re=Ee(Se,"page",t.createElement("a",{rel:"nofollow"},Se));return Re?t.createElement("li",{title:oe?Se.toString():null,className:Ne,onClick:Ae,onKeyPress:we,tabIndex:0},Re):null},se=ee;function Q(){}function C(ie){var pe=Number(ie);return typeof pe=="number"&&!Number.isNaN(pe)&&isFinite(pe)&&Math.floor(pe)===pe}var X=function(pe,Oe,xe){return xe};function O(ie,pe,Oe){var xe=typeof ie=="undefined"?pe.pageSize:ie;return Math.floor((Oe.total-1)/xe)+1}var H=function(ie){(0,Z.Z)(Oe,ie);var pe=(0,D.Z)(Oe);function Oe(xe){var Se;(0,T.Z)(this,Oe),Se=pe.call(this,xe),Se.paginationNode=t.createRef(),Se.getJumpPrevPage=function(){return Math.max(1,Se.state.current-(Se.props.showLessItems?3:5))},Se.getJumpNextPage=function(){return Math.min(O(void 0,Se.state,Se.props),Se.state.current+(Se.props.showLessItems?3:5))},Se.getItemIcon=function(ue,Ee){var le=Se.props.prefixCls,Ne=ue||t.createElement("button",{type:"button","aria-label":Ee,className:"".concat(le,"-item-link")});return typeof ue=="function"&&(Ne=t.createElement(ue,(0,U.Z)({},Se.props))),Ne},Se.isValid=function(ue){var Ee=Se.props.total;return C(ue)&&ue!==Se.state.current&&C(Ee)&&Ee>0},Se.shouldDisplayQuickJumper=function(){var ue=Se.props,Ee=ue.showQuickJumper,le=ue.total,Ne=Se.state.pageSize;return le<=Ne?!1:Ee},Se.handleKeyDown=function(ue){(ue.keyCode===G.ARROW_UP||ue.keyCode===G.ARROW_DOWN)&&ue.preventDefault()},Se.handleKeyUp=function(ue){var Ee=Se.getValidValue(ue),le=Se.state.currentInputValue;Ee!==le&&Se.setState({currentInputValue:Ee}),ue.keyCode===G.ENTER?Se.handleChange(Ee):ue.keyCode===G.ARROW_UP?Se.handleChange(Ee-1):ue.keyCode===G.ARROW_DOWN&&Se.handleChange(Ee+1)},Se.handleBlur=function(ue){var Ee=Se.getValidValue(ue);Se.handleChange(Ee)},Se.changePageSize=function(ue){var Ee=Se.state.current,le=O(ue,Se.state,Se.props);Ee=Ee>le?le:Ee,le===0&&(Ee=Se.state.current),typeof ue=="number"&&("pageSize"in Se.props||Se.setState({pageSize:ue}),"current"in Se.props||Se.setState({current:Ee,currentInputValue:Ee})),Se.props.onShowSizeChange(Ee,ue),"onChange"in Se.props&&Se.props.onChange&&Se.props.onChange(Ee,ue)},Se.handleChange=function(ue){var Ee=Se.props,le=Ee.disabled,Ne=Ee.onChange,Ae=Se.state,we=Ae.pageSize,Re=Ae.current,st=Ae.currentInputValue;if(Se.isValid(ue)&&!le){var nt=O(void 0,Se.state,Se.props),_e=ue;return ue>nt?_e=nt:ue<1&&(_e=1),"current"in Se.props||Se.setState({current:_e}),_e!==st&&Se.setState({currentInputValue:_e}),Ne(_e,we),_e}return Re},Se.prev=function(){Se.hasPrev()&&Se.handleChange(Se.state.current-1)},Se.next=function(){Se.hasNext()&&Se.handleChange(Se.state.current+1)},Se.jumpPrev=function(){Se.handleChange(Se.getJumpPrevPage())},Se.jumpNext=function(){Se.handleChange(Se.getJumpNextPage())},Se.hasPrev=function(){return Se.state.current>1},Se.hasNext=function(){return Se.state.current2?le-2:0),Ae=2;Ae=re?q=re:q=Number($e),q}},{key:"getShowSizeChanger",value:function(){var Se=this.props,$e=Se.showSizeChanger,re=Se.total,oe=Se.totalBoundaryShowSizeChanger;return typeof $e!="undefined"?$e:re>oe}},{key:"render",value:function(){var Se=this.props,$e=Se.prefixCls,re=Se.className,oe=Se.style,q=Se.disabled,ue=Se.hideOnSinglePage,Ee=Se.total,le=Se.locale,Ne=Se.showQuickJumper,Ae=Se.showLessItems,we=Se.showTitle,Re=Se.showTotal,st=Se.simple,nt=Se.itemRender,_e=Se.showPrevNextJumpers,We=Se.jumpPrevIcon,Be=Se.jumpNextIcon,it=Se.selectComponentClass,Ge=Se.selectPrefixCls,Ot=Se.pageSizeOptions,$t=this.state,wt=$t.current,Pt=$t.pageSize,dt=$t.currentInputValue;if(ue===!0&&Ee<=Pt)return null;var je=O(void 0,this.state,this.props),tt=[],lt=null,bt=null,It=null,Kt=null,zt=null,Mt=Ne&&Ne.goButton,Le=Ae?1:2,Ce=wt-1>0?wt-1:0,Et=wt+1Ee?Ee:wt*Pt]));if(st){Mt&&(typeof Mt=="boolean"?zt=t.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},le.jump_to_confirm):zt=t.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Mt),zt=t.createElement("li",{title:we?"".concat(le.jump_to).concat(wt,"/").concat(je):null,className:"".concat($e,"-simple-pager")},zt));var et=this.renderPrev(Ce);return t.createElement("ul",(0,a.Z)({className:x()($e,"".concat($e,"-simple"),(0,z.Z)({},"".concat($e,"-disabled"),q),re),style:oe,ref:this.paginationNode},Tt),Ye,et?t.createElement("li",{title:we?le.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:x()("".concat($e,"-prev"),(0,z.Z)({},"".concat($e,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},et):null,t.createElement("li",{title:we?"".concat(wt,"/").concat(je):null,className:"".concat($e,"-simple-pager")},t.createElement("input",{type:"text",value:dt,disabled:q,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),t.createElement("span",{className:"".concat($e,"-slash")},"/"),je),t.createElement("li",{title:we?le.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:x()("".concat($e,"-next"),(0,z.Z)({},"".concat($e,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Et)),zt)}if(je<=3+Le*2){var _t={locale:le,rootPrefixCls:$e,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:we,itemRender:nt};je||tt.push(t.createElement(se,(0,a.Z)({},_t,{key:"noPager",page:1,className:"".concat($e,"-item-disabled")})));for(var Ut=1;Ut<=je;Ut+=1){var qt=wt===Ut;tt.push(t.createElement(se,(0,a.Z)({},_t,{key:Ut,page:Ut,active:qt})))}}else{var un=Ae?le.prev_3:le.prev_5,Mn=Ae?le.next_3:le.next_5,vn=nt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(We,"prev page")),Xn=nt(this.getJumpNextPage(),"jump-next",this.getItemIcon(Be,"next page"));_e&&(lt=vn?t.createElement("li",{title:we?un:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:x()("".concat($e,"-jump-prev"),(0,z.Z)({},"".concat($e,"-jump-prev-custom-icon"),!!We))},vn):null,bt=Xn?t.createElement("li",{title:we?Mn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:x()("".concat($e,"-jump-next"),(0,z.Z)({},"".concat($e,"-jump-next-custom-icon"),!!Be))},Xn):null),Kt=t.createElement(se,{locale:le,last:!0,rootPrefixCls:$e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:je,page:je,active:!1,showTitle:we,itemRender:nt}),It=t.createElement(se,{locale:le,rootPrefixCls:$e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:we,itemRender:nt});var Vn=Math.max(1,wt-Le),or=Math.min(wt+Le,je);wt-1<=Le&&(or=1+Le*2),je-wt<=Le&&(Vn=je-Le*2);for(var er=Vn;er<=or;er+=1){var Wt=wt===er;tt.push(t.createElement(se,{locale:le,rootPrefixCls:$e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:er,page:er,active:Wt,showTitle:we,itemRender:nt}))}wt-1>=Le*2&&wt!==1+2&&(tt[0]=(0,t.cloneElement)(tt[0],{className:"".concat($e,"-item-after-jump-prev")}),tt.unshift(lt)),je-wt>=Le*2&&wt!==je-2&&(tt[tt.length-1]=(0,t.cloneElement)(tt[tt.length-1],{className:"".concat($e,"-item-before-jump-next")}),tt.push(bt)),Vn!==1&&tt.unshift(It),or!==je&&tt.push(Kt)}var en=!this.hasPrev()||!je,nn=!this.hasNext()||!je,fn=this.renderPrev(Ce),En=this.renderNext(Et);return t.createElement("ul",(0,a.Z)({className:x()($e,re,(0,z.Z)({},"".concat($e,"-disabled"),q)),style:oe,ref:this.paginationNode},Tt),Ye,fn?t.createElement("li",{title:we?le.prev_page:null,onClick:this.prev,tabIndex:en?null:0,onKeyPress:this.runIfEnterPrev,className:x()("".concat($e,"-prev"),(0,z.Z)({},"".concat($e,"-disabled"),en)),"aria-disabled":en},fn):null,tt,En?t.createElement("li",{title:we?le.next_page:null,onClick:this.next,tabIndex:nn?null:0,onKeyPress:this.runIfEnterNext,className:x()("".concat($e,"-next"),(0,z.Z)({},"".concat($e,"-disabled"),nn)),"aria-disabled":nn},En):null,t.createElement(_,{disabled:q,locale:le,rootPrefixCls:$e,selectComponentClass:it,selectPrefixCls:Ge,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:wt,pageSize:Pt,pageSizeOptions:Ot,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Mt}))}}],[{key:"getDerivedStateFromProps",value:function(Se,$e){var re={};if("current"in Se&&(re.current=Se.current,Se.current!==$e.current&&(re.currentInputValue=re.current)),"pageSize"in Se&&Se.pageSize!==$e.pageSize){var oe=$e.current,q=O(Se.pageSize,$e,Se);oe=oe>q?q:oe,"current"in Se||(re.current=oe,re.currentInputValue=oe),re.pageSize=Se.pageSize}return re}}]),Oe}(t.Component);H.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Q,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Q,locale:W.Z,style:{},itemRender:X,totalBoundaryShowSizeChanger:50};var k=H,A=e(57522),Y=e(61836),de=e(58785),me=e(60059),ve=e(29487),be=e(59504);const Pe=ie=>t.createElement(be.Z,Object.assign({},ie,{showSearch:!0,size:"small"})),Je=ie=>t.createElement(be.Z,Object.assign({},ie,{showSearch:!0,size:"middle"}));Pe.Option=be.Z.Option,Je.Option=be.Z.Option;var qe=e(46902),Xe=e(78330),mt=e(52628),Ct=e(22151);const vt=ie=>{const{componentCls:pe}=ie;return{[`${pe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${pe}-item-link`]:{color:ie.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${pe}-item-link`]:{color:ie.colorTextDisabled,cursor:"not-allowed"}}},[`&${pe}-disabled`]:{cursor:"not-allowed",[`${pe}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ie.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ie.colorBorder,backgroundColor:ie.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ie.itemActiveBgDisabled},a:{color:ie.itemActiveColorDisabled}}},[`${pe}-item-link`]:{color:ie.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${pe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${pe}-simple-pager`]:{color:ie.colorTextDisabled},[`${pe}-jump-prev, ${pe}-jump-next`]:{[`${pe}-item-link-icon`]:{opacity:0},[`${pe}-item-ellipsis`]:{opacity:1}}},[`&${pe}-simple`]:{[`${pe}-prev, ${pe}-next`]:{[`&${pe}-disabled ${pe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ht=ie=>{const{componentCls:pe}=ie;return{[`&${pe}-mini ${pe}-total-text, &${pe}-mini ${pe}-simple-pager`]:{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`},[`&${pe}-mini ${pe}-item`]:{minWidth:ie.itemSizeSM,height:ie.itemSizeSM,margin:0,lineHeight:`${ie.itemSizeSM-2}px`},[`&${pe}-mini:not(${pe}-disabled) ${pe}-item:not(${pe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:ie.colorBgTextHover},"&:active":{backgroundColor:ie.colorBgTextActive}},[`&${pe}-mini ${pe}-prev, &${pe}-mini ${pe}-next`]:{minWidth:ie.itemSizeSM,height:ie.itemSizeSM,margin:0,lineHeight:`${ie.itemSizeSM}px`},[`&${pe}-mini:not(${pe}-disabled)`]:{[`${pe}-prev, ${pe}-next`]:{[`&:hover ${pe}-item-link`]:{backgroundColor:ie.colorBgTextHover},[`&:active ${pe}-item-link`]:{backgroundColor:ie.colorBgTextActive},[`&${pe}-disabled:hover ${pe}-item-link`]:{backgroundColor:"transparent"}}},[` + &${pe}-mini ${pe}-prev ${pe}-item-link, + &${pe}-mini ${pe}-next ${pe}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`}},[`&${pe}-mini ${pe}-jump-prev, &${pe}-mini ${pe}-jump-next`]:{height:ie.itemSizeSM,marginInlineEnd:0,lineHeight:`${ie.itemSizeSM}px`},[`&${pe}-mini ${pe}-options`]:{marginInlineStart:ie.paginationMiniOptionsMarginInlineStart,["&-size-changer"]:{top:ie.miniOptionsSizeChangerTop},["&-quick-jumper"]:{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,qe.x0)(ie)),{width:ie.paginationMiniQuickJumperInputWidth,height:ie.controlHeightSM})}}}},ke=ie=>{const{componentCls:pe}=ie;return{[` + &${pe}-simple ${pe}-prev, + &${pe}-simple ${pe}-next + `]:{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`,verticalAlign:"top",[`${pe}-item-link`]:{height:ie.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:ie.colorBgTextHover},"&:active":{backgroundColor:ie.colorBgTextActive},"&::after":{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`}}},[`&${pe}-simple ${pe}-simple-pager`]:{display:"inline-block",height:ie.itemSizeSM,marginInlineEnd:ie.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:ie.marginXS,padding:`0 ${ie.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:ie.itemInputBg,border:`${ie.lineWidth}px ${ie.lineType} ${ie.colorBorder}`,borderRadius:ie.borderRadius,outline:"none",transition:`border-color ${ie.motionDurationMid}`,color:"inherit","&:hover":{borderColor:ie.colorPrimary},"&:focus":{borderColor:ie.colorPrimaryHover,boxShadow:`${ie.inputOutlineOffset}px 0 ${ie.controlOutlineWidth}px ${ie.controlOutline}`},"&[disabled]":{color:ie.colorTextDisabled,backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder,cursor:"not-allowed"}}}}},Ve=ie=>{const{componentCls:pe}=ie;return{[`${pe}-jump-prev, ${pe}-jump-next`]:{outline:0,[`${pe}-item-container`]:{position:"relative",[`${pe}-item-link-icon`]:{color:ie.colorPrimary,fontSize:ie.fontSizeSM,opacity:0,transition:`all ${ie.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${pe}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:ie.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:ie.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:ie.paginationEllipsisTextIndent,opacity:1,transition:`all ${ie.motionDurationMid}`}},"&:hover":{[`${pe}-item-link-icon`]:{opacity:1},[`${pe}-item-ellipsis`]:{opacity:0}}},[` + ${pe}-prev, + ${pe}-jump-prev, + ${pe}-jump-next + `]:{marginInlineEnd:ie.marginXS},[` + ${pe}-prev, + ${pe}-next, + ${pe}-jump-prev, + ${pe}-jump-next + `]:{display:"inline-block",minWidth:ie.itemSize,height:ie.itemSize,color:ie.colorText,fontFamily:ie.fontFamily,lineHeight:`${ie.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ie.borderRadius,cursor:"pointer",transition:`all ${ie.motionDurationMid}`},[`${pe}-prev, ${pe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:ie.colorText,cursor:"pointer",userSelect:"none"},[`${pe}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ie.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${ie.lineWidth}px ${ie.lineType} transparent`,borderRadius:ie.borderRadius,outline:"none",transition:`all ${ie.motionDurationMid}`},[`&:hover ${pe}-item-link`]:{backgroundColor:ie.colorBgTextHover},[`&:active ${pe}-item-link`]:{backgroundColor:ie.colorBgTextActive},[`&${pe}-disabled:hover`]:{[`${pe}-item-link`]:{backgroundColor:"transparent"}}},[`${pe}-slash`]:{marginInlineEnd:ie.paginationSlashMarginInlineEnd,marginInlineStart:ie.paginationSlashMarginInlineStart},[`${pe}-options`]:{display:"inline-block",marginInlineStart:ie.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ie.controlHeight,marginInlineStart:ie.marginXS,lineHeight:`${ie.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,qe.ik)(ie)),{width:ie.controlHeightLG*1.25,height:ie.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ie.marginXS,marginInlineEnd:ie.marginXS})}}}},ot=ie=>{const{componentCls:pe}=ie;return{[`${pe}-item`]:{display:"inline-block",minWidth:ie.itemSize,height:ie.itemSize,marginInlineEnd:ie.marginXS,fontFamily:ie.fontFamily,lineHeight:`${ie.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${ie.lineWidth}px ${ie.lineType} transparent`,borderRadius:ie.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${ie.paginationItemPaddingInline}px`,color:ie.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${pe}-item-active)`]:{"&:hover":{transition:`all ${ie.motionDurationMid}`,backgroundColor:ie.colorBgTextHover},"&:active":{backgroundColor:ie.colorBgTextActive}},"&-active":{fontWeight:ie.fontWeightStrong,backgroundColor:ie.itemActiveBg,borderColor:ie.colorPrimary,a:{color:ie.colorPrimary},"&:hover":{borderColor:ie.colorPrimaryHover},"&:hover a":{color:ie.colorPrimaryHover}}}}},Ke=ie=>{const{componentCls:pe}=ie;return{[pe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(ie)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${pe}-total-text`]:{display:"inline-block",height:ie.itemSize,marginInlineEnd:ie.marginXS,lineHeight:`${ie.itemSize-2}px`,verticalAlign:"middle"}}),ot(ie)),Ve(ie)),ke(ie)),Ht(ie)),vt(ie)),{[`@media only screen and (max-width: ${ie.screenLG}px)`]:{[`${pe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ie.screenSM}px)`]:{[`${pe}-options`]:{display:"none"}}}),[`&${ie.componentCls}-rtl`]:{direction:"rtl"}}},he=ie=>{const{componentCls:pe}=ie;return{[`${pe}${pe}-disabled:not(${pe}-mini)`]:{"&, &:hover":{[`${pe}-item-link`]:{borderColor:ie.colorBorder}},"&:focus-visible":{[`${pe}-item-link`]:{borderColor:ie.colorBorder}},[`${pe}-item, ${pe}-item-link`]:{backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder,[`&:hover:not(${pe}-item-active)`]:{backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder,a:{color:ie.colorTextDisabled}},[`&${pe}-item-active`]:{backgroundColor:ie.itemActiveBgDisabled}},[`${pe}-prev, ${pe}-next`]:{"&:hover button":{backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder,color:ie.colorTextDisabled},[`${pe}-item-link`]:{backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder}}},[`${pe}:not(${pe}-mini)`]:{[`${pe}-prev, ${pe}-next`]:{"&:hover button":{borderColor:ie.colorPrimaryHover,backgroundColor:ie.itemBg},[`${pe}-item-link`]:{backgroundColor:ie.itemLinkBg,borderColor:ie.colorBorder},[`&:hover ${pe}-item-link`]:{borderColor:ie.colorPrimary,backgroundColor:ie.itemBg,color:ie.colorPrimary},[`&${pe}-disabled`]:{[`${pe}-item-link`]:{borderColor:ie.colorBorder,color:ie.colorTextDisabled}}},[`${pe}-item`]:{backgroundColor:ie.itemBg,border:`${ie.lineWidth}px ${ie.lineType} ${ie.colorBorder}`,[`&:hover:not(${pe}-item-active)`]:{borderColor:ie.colorPrimary,backgroundColor:ie.itemBg,a:{color:ie.colorPrimary}},"&-active":{borderColor:ie.colorPrimary}}}}},J=ie=>{const{componentCls:pe}=ie;return{[`${pe}:not(${pe}-disabled)`]:{[`${pe}-item`]:Object.assign({},(0,Xe.Qy)(ie)),[`${pe}-jump-prev, ${pe}-jump-next`]:{"&:focus-visible":Object.assign({[`${pe}-item-link-icon`]:{opacity:1},[`${pe}-item-ellipsis`]:{opacity:0}},(0,Xe.oN)(ie))},[`${pe}-prev, ${pe}-next`]:{[`&:focus-visible ${pe}-item-link`]:Object.assign({},(0,Xe.oN)(ie))}}}};var V=(0,mt.Z)("Pagination",ie=>{const pe=(0,Ct.TS)(ie,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ie.marginXXS/2,paginationMiniQuickJumperInputWidth:ie.controlHeightLG*1.1,paginationItemPaddingInline:ie.marginXXS*1.5,paginationEllipsisLetterSpacing:ie.marginXXS/2,paginationSlashMarginInlineStart:ie.marginXXS,paginationSlashMarginInlineEnd:ie.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,qe.e5)(ie));return[Ke(pe),J(pe),ie.wireframe&&he(pe)]},ie=>({itemBg:ie.colorBgContainer,itemSize:ie.controlHeight,itemSizeSM:ie.controlHeightSM,itemActiveBg:ie.colorBgContainer,itemLinkBg:ie.colorBgContainer,itemActiveColorDisabled:ie.colorTextDisabled,itemActiveBgDisabled:ie.controlItemBgActiveDisabled,itemInputBg:ie.colorBgContainer,miniOptionsSizeChangerTop:0})),R=function(ie,pe){var Oe={};for(var xe in ie)Object.prototype.hasOwnProperty.call(ie,xe)&&pe.indexOf(xe)<0&&(Oe[xe]=ie[xe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,xe=Object.getOwnPropertySymbols(ie);Se{const{prefixCls:pe,selectPrefixCls:Oe,className:xe,rootClassName:Se,style:$e,size:re,locale:oe,selectComponentClass:q,responsive:ue,showSizeChanger:Ee}=ie,le=R(ie,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Ne}=(0,me.Z)(ue),{getPrefixCls:Ae,direction:we,pagination:Re={}}=t.useContext(Y.E_),st=Ae("pagination",pe),[nt,_e]=V(st),We=Ee!=null?Ee:Re.showSizeChanger,Be=t.useMemo(()=>{const je=t.createElement("span",{className:`${st}-item-ellipsis`},"\u2022\u2022\u2022"),tt=t.createElement("button",{className:`${st}-item-link`,type:"button",tabIndex:-1},we==="rtl"?t.createElement(S.Z,null):t.createElement(h.Z,null)),lt=t.createElement("button",{className:`${st}-item-link`,type:"button",tabIndex:-1},we==="rtl"?t.createElement(h.Z,null):t.createElement(S.Z,null)),bt=t.createElement("a",{className:`${st}-item-link`},t.createElement("div",{className:`${st}-item-container`},we==="rtl"?t.createElement(M,{className:`${st}-item-link-icon`}):t.createElement(l,{className:`${st}-item-link-icon`}),je)),It=t.createElement("a",{className:`${st}-item-link`},t.createElement("div",{className:`${st}-item-container`},we==="rtl"?t.createElement(l,{className:`${st}-item-link-icon`}):t.createElement(M,{className:`${st}-item-link-icon`}),je));return{prevIcon:tt,nextIcon:lt,jumpPrevIcon:bt,jumpNextIcon:It}},[we,st]),[it]=(0,ve.Z)("Pagination",A.Z),Ge=Object.assign(Object.assign({},it),oe),Ot=(0,de.Z)(re),$t=Ot==="small"||!!(Ne&&!Ot&&ue),wt=Ae("select",Oe),Pt=x()({[`${st}-mini`]:$t,[`${st}-rtl`]:we==="rtl"},Re==null?void 0:Re.className,xe,Se,_e),dt=Object.assign(Object.assign({},Re==null?void 0:Re.style),$e);return nt(t.createElement(k,Object.assign({},Be,le,{style:dt,prefixCls:st,selectPrefixCls:wt,className:Pt,selectComponentClass:q||($t?Pe:Je),locale:Ge,showSizeChanger:We})))},ge=B},21465:function(b,y,e){"use strict";e.d(y,{t5:function(){return g}});var a=e(87608),t=e.n(a),o=e(33664),s=e(58757),n=e(61836),d=e(99836),l=e(86194),c=function(h,S){var w={};for(var x in h)Object.prototype.hasOwnProperty.call(h,x)&&S.indexOf(x)<0&&(w[x]=h[x]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,x=Object.getOwnPropertySymbols(h);z{if(!(!S&&!w))return s.createElement(s.Fragment,null,S&&s.createElement("div",{className:`${h}-title`},(0,d.Z)(S)),s.createElement("div",{className:`${h}-inner-content`},(0,d.Z)(w)))},g=h=>{const{hashId:S,prefixCls:w,className:x,style:z,placement:U="top",title:T,content:N,children:Z}=h;return s.createElement("div",{className:t()(S,w,`${w}-pure`,`${w}-placement-${U}`,x),style:z},s.createElement("div",{className:`${w}-arrow`}),s.createElement(o.G,Object.assign({},h,{className:S,prefixCls:w}),Z||m(w,T,N)))},M=h=>{const{prefixCls:S}=h,w=c(h,["prefixCls"]),{getPrefixCls:x}=s.useContext(n.E_),z=x("popover",S),[U,T]=(0,l.Z)(z);return U(s.createElement(g,Object.assign({},w,{prefixCls:z,hashId:T})))};y.ZP=M},33181:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(58757),s=e(99836),n=e(90881),d=e(61836),l=e(74820),c=e(21465),m=e(86194),g=function(S,w){var x={};for(var z in S)Object.prototype.hasOwnProperty.call(S,z)&&w.indexOf(z)<0&&(x[z]=S[z]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,z=Object.getOwnPropertySymbols(S);U{let{title:w,content:x,prefixCls:z}=S;return o.createElement(o.Fragment,null,w&&o.createElement("div",{className:`${z}-title`},(0,s.Z)(w)),o.createElement("div",{className:`${z}-inner-content`},(0,s.Z)(x)))},h=o.forwardRef((S,w)=>{const{prefixCls:x,title:z,content:U,overlayClassName:T,placement:N="top",trigger:Z="hover",mouseEnterDelay:D=.1,mouseLeaveDelay:L=.1,overlayStyle:j={}}=S,G=g(S,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:W}=o.useContext(d.E_),ne=W("popover",x),[_,ee]=(0,m.Z)(ne),se=W(),Q=t()(T,ee);return _(o.createElement(l.Z,Object.assign({placement:N,trigger:Z,mouseEnterDelay:D,mouseLeaveDelay:L,overlayStyle:j},G,{prefixCls:ne,overlayClassName:Q,ref:w,overlay:z||U?o.createElement(M,{prefixCls:ne,title:z,content:U}):null,transitionName:(0,n.m)(se,"zoom-big",G.transitionName),"data-popover-inject":!0})))});h._InternalPanelDoNotUseOrYouWillBeFired=c.ZP,y.Z=h},86194:function(b,y,e){"use strict";var a=e(78330),t=e(28107),o=e(24542),s=e(34966),n=e(52628),d=e(22151);const l=g=>{const{componentCls:M,popoverColor:h,minWidth:S,fontWeightStrong:w,popoverPadding:x,boxShadowSecondary:z,colorTextHeading:U,borderRadiusLG:T,zIndexPopup:N,marginXS:Z,colorBgElevated:D,popoverBg:L}=g;return[{[M]:Object.assign(Object.assign({},(0,a.Wf)(g)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:N,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":D,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${M}-content`]:{position:"relative"},[`${M}-inner`]:{backgroundColor:L,backgroundClip:"padding-box",borderRadius:T,boxShadow:z,padding:x},[`${M}-title`]:{minWidth:S,marginBottom:Z,color:U,fontWeight:w},[`${M}-inner-content`]:{color:h}})},(0,o.ZP)(g,{colorBg:"var(--antd-arrow-background-color)"}),{[`${M}-pure`]:{position:"relative",maxWidth:"none",margin:g.sizePopupArrow,display:"inline-block",[`${M}-content`]:{display:"inline-block"}}}]},c=g=>{const{componentCls:M}=g;return{[M]:s.i.map(h=>{const S=g[`${h}6`];return{[`&${M}-${h}`]:{"--antd-arrow-background-color":S,[`${M}-inner`]:{backgroundColor:S},[`${M}-arrow`]:{background:"transparent"}}}})}},m=g=>{const{componentCls:M,lineWidth:h,lineType:S,colorSplit:w,paddingSM:x,controlHeight:z,fontSize:U,lineHeight:T,padding:N}=g,Z=z-Math.round(U*T),D=Z/2,L=Z/2-h,j=N;return{[M]:{[`${M}-inner`]:{padding:0},[`${M}-title`]:{margin:0,padding:`${D}px ${j}px ${L}px`,borderBottom:`${h}px ${S} ${w}`},[`${M}-inner-content`]:{padding:`${x}px ${j}px`}}}};y.Z=(0,n.Z)("Popover",g=>{const{colorBgElevated:M,colorText:h,wireframe:S}=g,w=(0,d.TS)(g,{popoverPadding:12,popoverBg:M,popoverColor:h});return[l(w),c(w),S&&m(w),(0,t._y)(w,"zoom-big")]},g=>({width:177,minWidth:177,zIndexPopup:g.zIndexPopupBase+30}),{deprecatedTokens:[["width","minWidth"]]})},95664:function(b,y,e){"use strict";e.d(y,{Z:function(){return $e}});var a=e(85678),t=e(35725),o=e(79999),s=e(52495),n=e(87608),d=e.n(n),l=e(98186),c=e(58757),m=e(61836),g=e(60698),M=e(57370),h=e(47075),S={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},w=function(){var oe=(0,c.useRef)([]),q=(0,c.useRef)(null);return(0,c.useEffect)(function(){var ue=Date.now(),Ee=!1;oe.current.forEach(function(le){if(le){Ee=!0;var Ne=le.style;Ne.transitionDuration=".3s, .3s, .3s, .06s",q.current&&ue-q.current<100&&(Ne.transitionDuration="0s, 0s")}}),Ee&&(q.current=Date.now())}),oe.current},x=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],z=function(oe){var q=(0,M.Z)((0,M.Z)({},S),oe),ue=q.className,Ee=q.percent,le=q.prefixCls,Ne=q.strokeColor,Ae=q.strokeLinecap,we=q.strokeWidth,Re=q.style,st=q.trailColor,nt=q.trailWidth,_e=q.transition,We=(0,h.Z)(q,x);delete We.gapPosition;var Be=Array.isArray(Ee)?Ee:[Ee],it=Array.isArray(Ne)?Ne:[Ne],Ge=w(),Ot=we/2,$t=100-we/2,wt="M ".concat(Ae==="round"?Ot:0,",").concat(Ot,` + L `).concat(Ae==="round"?$t:100,",").concat(Ot),Pt="0 0 100 ".concat(we),dt=0;return c.createElement("svg",(0,g.Z)({className:d()("".concat(le,"-line"),ue),viewBox:Pt,preserveAspectRatio:"none",style:Re},We),c.createElement("path",{className:"".concat(le,"-line-trail"),d:wt,strokeLinecap:Ae,stroke:st,strokeWidth:nt||we,fillOpacity:"0"}),Be.map(function(je,tt){var lt=1;switch(Ae){case"round":lt=1-we/100;break;case"square":lt=1-we/2/100;break;default:lt=1;break}var bt={strokeDasharray:"".concat(je*lt,"px, 100px"),strokeDashoffset:"-".concat(dt,"px"),transition:_e||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},It=it[tt]||it[it.length-1];return dt+=je,c.createElement("path",{key:tt,className:"".concat(le,"-line-path"),d:wt,strokeLinecap:Ae,stroke:It,strokeWidth:we,fillOpacity:"0",ref:function(zt){Ge[tt]=zt},style:bt})}))},U=z,T=e(38790),N=e(28314),Z=e(19075),D=0,L=(0,Z.Z)();function j(){var re;return L?(re=D,D+=1):re="TEST_OR_SSR",re}var G=function(re){var oe=c.useState(),q=(0,N.Z)(oe,2),ue=q[0],Ee=q[1];return c.useEffect(function(){Ee("rc_progress_".concat(j()))},[]),re||ue},W=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ne(re){return+re.replace("%","")}function _(re){var oe=re!=null?re:[];return Array.isArray(oe)?oe:[oe]}var ee=100,se=function(oe,q,ue,Ee,le,Ne,Ae,we,Re,st){var nt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,_e=ue/100*360*((360-Ne)/360),We=Ne===0?0:{bottom:0,top:180,left:90,right:-90}[Ae],Be=(100-Ee)/100*q;return Re==="round"&&Ee!==100&&(Be+=st/2,Be>=q&&(Be=q-.01)),{stroke:typeof we=="string"?we:void 0,strokeDasharray:"".concat(q,"px ").concat(oe),strokeDashoffset:Be+nt,transform:"rotate(".concat(le+_e+We,"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Q=function(oe){var q=(0,M.Z)((0,M.Z)({},S),oe),ue=q.id,Ee=q.prefixCls,le=q.steps,Ne=q.strokeWidth,Ae=q.trailWidth,we=q.gapDegree,Re=we===void 0?0:we,st=q.gapPosition,nt=q.trailColor,_e=q.strokeLinecap,We=q.style,Be=q.className,it=q.strokeColor,Ge=q.percent,Ot=(0,h.Z)(q,W),$t=G(ue),wt="".concat($t,"-gradient"),Pt=ee/2-Ne/2,dt=Math.PI*2*Pt,je=Re>0?90+Re/2:-90,tt=dt*((360-Re)/360),lt=(0,T.Z)(le)==="object"?le:{count:le,space:2},bt=lt.count,It=lt.space,Kt=se(dt,tt,0,100,je,Re,st,nt,_e,Ne),zt=_(Ge),Mt=_(it),Le=Mt.find(function(Ye){return Ye&&(0,T.Z)(Ye)==="object"}),Ce=w(),Et=function(){var et=0;return zt.map(function(_t,Ut){var qt=Mt[Ut]||Mt[Mt.length-1],un=qt&&(0,T.Z)(qt)==="object"?"url(#".concat(wt,")"):void 0,Mn=se(dt,tt,et,_t,je,Re,st,qt,_e,Ne);return et+=_t,c.createElement("circle",{key:Ut,className:"".concat(Ee,"-circle-path"),r:Pt,cx:0,cy:0,stroke:un,strokeLinecap:_e,strokeWidth:Ne,opacity:_t===0?0:1,style:Mn,ref:function(Xn){Ce[Ut]=Xn}})}).reverse()},Tt=function(){var et=Math.round(bt*(zt[0]/100)),_t=100/bt,Ut=0;return new Array(bt).fill(null).map(function(qt,un){var Mn=un<=et-1?Mt[0]:nt,vn=Mn&&(0,T.Z)(Mn)==="object"?"url(#".concat(wt,")"):void 0,Xn=se(dt,tt,Ut,_t,je,Re,st,Mn,"butt",Ne,It);return Ut+=(tt-Xn.strokeDashoffset+It)*100/tt,c.createElement("circle",{key:un,className:"".concat(Ee,"-circle-path"),r:Pt,cx:0,cy:0,stroke:vn,strokeWidth:Ne,opacity:1,style:Xn,ref:function(or){Ce[un]=or}})})};return c.createElement("svg",(0,g.Z)({className:d()("".concat(Ee,"-circle"),Be),viewBox:"".concat(-ee/2," ").concat(-ee/2," ").concat(ee," ").concat(ee),style:We,id:ue,role:"presentation"},Ot),Le&&c.createElement("defs",null,c.createElement("linearGradient",{id:wt,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Le).sort(function(Ye,et){return ne(Ye)-ne(et)}).map(function(Ye,et){return c.createElement("stop",{key:et,offset:Ye,stopColor:Le[Ye]})}))),!bt&&c.createElement("circle",{className:"".concat(Ee,"-circle-trail"),r:Pt,cx:0,cy:0,stroke:nt,strokeLinecap:_e,strokeWidth:Ae||Ne,style:Kt}),bt?Tt():Et())},C=Q,X={Line:U,Circle:C},O=e(74820),H=e(26134);function k(re){return!re||re<0?0:re>100?100:re}function A(re){let{success:oe,successPercent:q}=re,ue=q;return oe&&"progress"in oe&&(ue=oe.progress),oe&&"percent"in oe&&(ue=oe.percent),ue}const Y=re=>{let{percent:oe,success:q,successPercent:ue}=re;const Ee=k(A({success:q,successPercent:ue}));return[Ee,k(k(oe)-Ee)]},de=re=>{let{success:oe={},strokeColor:q}=re;const{strokeColor:ue}=oe;return[ue||H.presetPrimaryColors.green,q||null]},me=(re,oe,q)=>{var ue,Ee,le,Ne;let Ae=-1,we=-1;if(oe==="step"){const Re=q.steps,st=q.strokeWidth;typeof re=="string"||typeof re=="undefined"?(Ae=re==="small"?2:14,we=st!=null?st:8):typeof re=="number"?[Ae,we]=[re,re]:[Ae=14,we=8]=re,Ae*=Re}else if(oe==="line"){const Re=q==null?void 0:q.strokeWidth;typeof re=="string"||typeof re=="undefined"?we=Re||(re==="small"?6:8):typeof re=="number"?[Ae,we]=[re,re]:[Ae=-1,we=8]=re}else(oe==="circle"||oe==="dashboard")&&(typeof re=="string"||typeof re=="undefined"?[Ae,we]=re==="small"?[60,60]:[120,120]:typeof re=="number"?[Ae,we]=[re,re]:(Ae=(Ee=(ue=re[0])!==null&&ue!==void 0?ue:re[1])!==null&&Ee!==void 0?Ee:120,we=(Ne=(le=re[0])!==null&&le!==void 0?le:re[1])!==null&&Ne!==void 0?Ne:120));return[Ae,we]},ve=3,be=re=>ve/re*100;var Je=re=>{const{prefixCls:oe,trailColor:q=null,strokeLinecap:ue="round",gapPosition:Ee,gapDegree:le,width:Ne=120,type:Ae,children:we,success:Re,size:st=Ne}=re,[nt,_e]=me(st,"circle");let{strokeWidth:We}=re;We===void 0&&(We=Math.max(be(nt),6));const Be={width:nt,height:_e,fontSize:nt*.15+6},it=c.useMemo(()=>{if(le||le===0)return le;if(Ae==="dashboard")return 75},[le,Ae]),Ge=Ee||Ae==="dashboard"&&"bottom"||void 0,Ot=Object.prototype.toString.call(re.strokeColor)==="[object Object]",$t=de({success:Re,strokeColor:re.strokeColor}),wt=d()(`${oe}-inner`,{[`${oe}-circle-gradient`]:Ot}),Pt=c.createElement(C,{percent:Y(re),strokeWidth:We,trailWidth:We,strokeColor:$t,strokeLinecap:ue,trailColor:q,prefixCls:oe,gapDegree:it,gapPosition:Ge});return c.createElement("div",{className:wt,style:Be},nt<=20?c.createElement(O.Z,{title:we},c.createElement("span",null,Pt)):c.createElement(c.Fragment,null,Pt,we))},qe=function(re,oe){var q={};for(var ue in re)Object.prototype.hasOwnProperty.call(re,ue)&&oe.indexOf(ue)<0&&(q[ue]=re[ue]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,ue=Object.getOwnPropertySymbols(re);Ee{let oe=[];return Object.keys(re).forEach(q=>{const ue=parseFloat(q.replace(/%/g,""));isNaN(ue)||oe.push({key:ue,value:re[q]})}),oe=oe.sort((q,ue)=>q.key-ue.key),oe.map(q=>{let{key:ue,value:Ee}=q;return`${Ee} ${ue}%`}).join(", ")},mt=(re,oe)=>{const{from:q=H.presetPrimaryColors.blue,to:ue=H.presetPrimaryColors.blue,direction:Ee=oe==="rtl"?"to left":"to right"}=re,le=qe(re,["from","to","direction"]);if(Object.keys(le).length!==0){const Ne=Xe(le);return{backgroundImage:`linear-gradient(${Ee}, ${Ne})`}}return{backgroundImage:`linear-gradient(${Ee}, ${q}, ${ue})`}};var vt=re=>{const{prefixCls:oe,direction:q,percent:ue,size:Ee,strokeWidth:le,strokeColor:Ne,strokeLinecap:Ae="round",children:we,trailColor:Re=null,success:st}=re,nt=Ne&&typeof Ne!="string"?mt(Ne,q):{backgroundColor:Ne},_e=Ae==="square"||Ae==="butt"?0:void 0,We={backgroundColor:Re||void 0,borderRadius:_e},Be=Ee!=null?Ee:[-1,le||(Ee==="small"?6:8)],[it,Ge]=me(Be,"line",{strokeWidth:le}),Ot=Object.assign({width:`${k(ue)}%`,height:Ge,borderRadius:_e},nt),$t=A(re),wt={width:`${k($t)}%`,height:Ge,borderRadius:_e,backgroundColor:st==null?void 0:st.strokeColor},Pt={width:it<0?"100%":it,height:Ge};return c.createElement(c.Fragment,null,c.createElement("div",{className:`${oe}-outer`,style:Pt},c.createElement("div",{className:`${oe}-inner`,style:We},c.createElement("div",{className:`${oe}-bg`,style:Ot}),$t!==void 0?c.createElement("div",{className:`${oe}-success-bg`,style:wt}):null)),we)},ke=re=>{const{size:oe,steps:q,percent:ue=0,strokeWidth:Ee=8,strokeColor:le,trailColor:Ne=null,prefixCls:Ae,children:we}=re,Re=Math.round(q*(ue/100)),st=oe==="small"?2:14,nt=oe!=null?oe:[st,Ee],[_e,We]=me(nt,"step",{steps:q,strokeWidth:Ee}),Be=_e/q,it=new Array(q);for(let Ge=0;Ge{const oe=re?"100%":"-100%";return new Ve.E4(`antProgress${re?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${oe}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${oe}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},V=re=>{const{componentCls:oe,iconCls:q}=re;return{[oe]:Object.assign(Object.assign({},(0,ot.Wf)(re)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:re.fontSize,marginInlineEnd:re.marginXS,marginBottom:re.marginXS},[`${oe}-outer`]:{display:"inline-block",width:"100%"},[`&${oe}-show-info`]:{[`${oe}-outer`]:{marginInlineEnd:`calc(-2em - ${re.marginXS}px)`,paddingInlineEnd:`calc(2em + ${re.paddingXS}px)`}},[`${oe}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:re.progressRemainingColor,borderRadius:re.progressLineRadius},[`${oe}-inner:not(${oe}-circle-gradient)`]:{[`${oe}-circle-path`]:{stroke:re.colorInfo}},[`${oe}-success-bg, ${oe}-bg`]:{position:"relative",backgroundColor:re.colorInfo,borderRadius:re.progressLineRadius,transition:`all ${re.motionDurationSlow} ${re.motionEaseInOutCirc}`},[`${oe}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:re.colorSuccess},[`${oe}-text`]:{display:"inline-block",width:"2em",marginInlineStart:re.marginXS,color:re.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[q]:{fontSize:re.fontSize}},[`&${oe}-status-active`]:{[`${oe}-bg::before`]:{position:"absolute",inset:0,backgroundColor:re.colorBgContainer,borderRadius:re.progressLineRadius,opacity:0,animationName:J(),animationDuration:re.progressActiveMotionDuration,animationTimingFunction:re.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${oe}-rtl${oe}-status-active`]:{[`${oe}-bg::before`]:{animationName:J(!0)}},[`&${oe}-status-exception`]:{[`${oe}-bg`]:{backgroundColor:re.colorError},[`${oe}-text`]:{color:re.colorError}},[`&${oe}-status-exception ${oe}-inner:not(${oe}-circle-gradient)`]:{[`${oe}-circle-path`]:{stroke:re.colorError}},[`&${oe}-status-success`]:{[`${oe}-bg`]:{backgroundColor:re.colorSuccess},[`${oe}-text`]:{color:re.colorSuccess}},[`&${oe}-status-success ${oe}-inner:not(${oe}-circle-gradient)`]:{[`${oe}-circle-path`]:{stroke:re.colorSuccess}}})}},R=re=>{const{componentCls:oe,iconCls:q}=re;return{[oe]:{[`${oe}-circle-trail`]:{stroke:re.progressRemainingColor},[`&${oe}-circle ${oe}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${oe}-circle ${oe}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:re.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[q]:{fontSize:`${re.fontSize/re.fontSizeSM}em`}},[`${oe}-circle&-status-exception`]:{[`${oe}-text`]:{color:re.colorError}},[`${oe}-circle&-status-success`]:{[`${oe}-text`]:{color:re.colorSuccess}}},[`${oe}-inline-circle`]:{lineHeight:1,[`${oe}-inner`]:{verticalAlign:"bottom"}}}},P=re=>{const{componentCls:oe}=re;return{[oe]:{[`${oe}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:re.progressStepMinWidth,marginInlineEnd:re.progressStepMarginInlineEnd,backgroundColor:re.progressRemainingColor,transition:`all ${re.motionDurationSlow}`,"&-active":{backgroundColor:re.colorInfo}}}}}},B=re=>{const{componentCls:oe,iconCls:q}=re;return{[oe]:{[`${oe}-small&-line, ${oe}-small&-line ${oe}-text ${q}`]:{fontSize:re.fontSizeSM}}}};var ge=(0,Ke.Z)("Progress",re=>{const oe=re.marginXXS/2,q=(0,he.TS)(re,{progressLineRadius:100,progressInfoTextColor:re.colorText,progressDefaultColor:re.colorInfo,progressRemainingColor:re.colorFillSecondary,progressStepMarginInlineEnd:oe,progressStepMinWidth:oe,progressActiveMotionDuration:"2.4s"});return[V(q),R(q),P(q),B(q)]}),ie=function(re,oe){var q={};for(var ue in re)Object.prototype.hasOwnProperty.call(re,ue)&&oe.indexOf(ue)<0&&(q[ue]=re[ue]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,ue=Object.getOwnPropertySymbols(re);Ee{const{prefixCls:q,className:ue,rootClassName:Ee,steps:le,strokeColor:Ne,percent:Ae=0,size:we="default",showInfo:Re=!0,type:st="line",status:nt,format:_e,style:We}=re,Be=ie(re,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),it=c.useMemo(()=>{var zt,Mt;const Le=A(re);return parseInt(Le!==void 0?(zt=Le!=null?Le:0)===null||zt===void 0?void 0:zt.toString():(Mt=Ae!=null?Ae:0)===null||Mt===void 0?void 0:Mt.toString(),10)},[Ae,re.success,re.successPercent]),Ge=c.useMemo(()=>!Oe.includes(nt)&&it>=100?"success":nt||"normal",[nt,it]),{getPrefixCls:Ot,direction:$t,progress:wt}=c.useContext(m.E_),Pt=Ot("progress",q),[dt,je]=ge(Pt),tt=c.useMemo(()=>{if(!Re)return null;const zt=A(re);let Mt;const Le=_e||(Et=>`${Et}%`),Ce=st==="line";return _e||Ge!=="exception"&&Ge!=="success"?Mt=Le(k(Ae),k(zt)):Ge==="exception"?Mt=Ce?c.createElement(o.Z,null):c.createElement(s.Z,null):Ge==="success"&&(Mt=Ce?c.createElement(a.Z,null):c.createElement(t.Z,null)),c.createElement("span",{className:`${Pt}-text`,title:typeof Mt=="string"?Mt:void 0},Mt)},[Re,Ae,it,Ge,st,Pt,_e]),lt=Array.isArray(Ne)?Ne[0]:Ne,bt=typeof Ne=="string"||Array.isArray(Ne)?Ne:void 0;let It;st==="line"?It=le?c.createElement(ke,Object.assign({},re,{strokeColor:bt,prefixCls:Pt,steps:le}),tt):c.createElement(vt,Object.assign({},re,{strokeColor:lt,prefixCls:Pt,direction:$t}),tt):(st==="circle"||st==="dashboard")&&(It=c.createElement(Je,Object.assign({},re,{strokeColor:lt,prefixCls:Pt,progressStatus:Ge}),tt));const Kt=d()(Pt,`${Pt}-status-${Ge}`,`${Pt}-${st==="dashboard"&&"circle"||le&&"steps"||st}`,{[`${Pt}-inline-circle`]:st==="circle"&&me(we,"circle")[0]<=20,[`${Pt}-show-info`]:Re,[`${Pt}-${we}`]:typeof we=="string",[`${Pt}-rtl`]:$t==="rtl"},wt==null?void 0:wt.className,ue,Ee,je);return dt(c.createElement("div",Object.assign({ref:oe,style:Object.assign(Object.assign({},wt==null?void 0:wt.style),We),className:Kt,role:"progressbar","aria-valuenow":it},(0,l.Z)(Be,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),It))}),$e=Se},86035:function(b,y,e){"use strict";e.d(y,{Ag:function(){return s},IH:function(){return n},w:function(){return o}});var a=e(58757);const t=a.createContext(null),o=t.Provider;y.ZP=t;const s=a.createContext(null),n=s.Provider},40256:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(60409),s=e(33926),n=e(58757),d=e(61836),l=e(58785),c=e(86035),m=e(27538),g=e(44397);const M=n.forwardRef((h,S)=>{const{getPrefixCls:w,direction:x}=n.useContext(d.E_),[z,U]=(0,o.Z)(h.defaultValue,{value:h.value}),T=ve=>{const be=z,Pe=ve.target.value;"value"in h||U(Pe);const{onChange:Je}=h;Je&&Pe!==be&&Je(ve)},{prefixCls:N,className:Z,rootClassName:D,options:L,buttonStyle:j="outline",disabled:G,children:W,size:ne,style:_,id:ee,onMouseEnter:se,onMouseLeave:Q,onFocus:C,onBlur:X}=h,O=w("radio",N),H=`${O}-group`,[k,A]=(0,g.Z)(O);let Y=W;L&&L.length>0&&(Y=L.map(ve=>typeof ve=="string"||typeof ve=="number"?n.createElement(m.Z,{key:ve.toString(),prefixCls:O,disabled:G,value:ve,checked:z===ve},ve):n.createElement(m.Z,{key:`radio-group-value-options-${ve.value}`,prefixCls:O,disabled:ve.disabled||G,value:ve.value,checked:z===ve.value,title:ve.title,style:ve.style},ve.label)));const de=(0,l.Z)(ne),me=t()(H,`${H}-${j}`,{[`${H}-${de}`]:de,[`${H}-rtl`]:x==="rtl"},Z,D,A);return k(n.createElement("div",Object.assign({},(0,s.Z)(h,{aria:!0,data:!0}),{className:me,style:_,onMouseEnter:se,onMouseLeave:Q,onFocus:C,onBlur:X,id:ee,ref:S}),n.createElement(c.w,{value:{onChange:T,value:z,disabled:h.disabled,name:h.name,optionType:h.optionType}},Y)))});y.Z=n.memo(M)},10852:function(b,y,e){"use strict";var a=e(40256),t=e(27538),o=e(42253);const s=t.Z;s.Button=o.Z,s.Group=a.Z,s.__ANT_RADIO=!0,y.ZP=s},27538:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(60357),s=e(21319),n=e(58757),d=e(61836),l=e(92428),c=e(81496),m=e(86035),g=e(44397),M=e(37486),h=e(78856),S=function(z,U){var T={};for(var N in z)Object.prototype.hasOwnProperty.call(z,N)&&U.indexOf(N)<0&&(T[N]=z[N]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,N=Object.getOwnPropertySymbols(z);Z{var T,N;const Z=n.useContext(m.ZP),D=n.useContext(m.Ag),{getPrefixCls:L,direction:j,radio:G}=n.useContext(d.E_),W=n.useRef(null),ne=(0,s.sQ)(U,W),{isFormItemInput:_}=n.useContext(c.aM),ee=Je=>{var qe,Xe;(qe=z.onChange)===null||qe===void 0||qe.call(z,Je),(Xe=Z==null?void 0:Z.onChange)===null||Xe===void 0||Xe.call(Z,Je)},{prefixCls:se,className:Q,rootClassName:C,children:X,style:O}=z,H=S(z,["prefixCls","className","rootClassName","children","style"]),k=L("radio",se),A=((Z==null?void 0:Z.optionType)||D)==="button",Y=A?`${k}-button`:k,[de,me]=(0,g.Z)(k),ve=Object.assign({},H),be=n.useContext(l.Z);Z&&(ve.name=Z.name,ve.onChange=ee,ve.checked=z.value===Z.value,ve.disabled=(T=ve.disabled)!==null&&T!==void 0?T:Z.disabled),ve.disabled=(N=ve.disabled)!==null&&N!==void 0?N:be;const Pe=t()(`${Y}-wrapper`,{[`${Y}-wrapper-checked`]:ve.checked,[`${Y}-wrapper-disabled`]:ve.disabled,[`${Y}-wrapper-rtl`]:j==="rtl",[`${Y}-wrapper-in-form-item`]:_},G==null?void 0:G.className,Q,C,me);return de(n.createElement(M.Z,{component:"Radio",disabled:ve.disabled},n.createElement("label",{className:Pe,style:Object.assign(Object.assign({},G==null?void 0:G.style),O),onMouseEnter:z.onMouseEnter,onMouseLeave:z.onMouseLeave},n.createElement(o.Z,Object.assign({},ve,{className:t()(ve.className,!A&&h.A),type:"radio",prefixCls:Y,ref:ne})),X!==void 0?n.createElement("span",null,X):null)))},x=n.forwardRef(w);y.Z=x},42253:function(b,y,e){"use strict";var a=e(58757),t=e(61836),o=e(86035),s=e(27538),n=function(l,c){var m={};for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&c.indexOf(g)<0&&(m[g]=l[g]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,g=Object.getOwnPropertySymbols(l);M{const{getPrefixCls:m}=a.useContext(t.E_),{prefixCls:g}=l,M=n(l,["prefixCls"]),h=m("radio",g);return a.createElement(o.IH,{value:"button"},a.createElement(s.Z,Object.assign({prefixCls:h},M,{type:"radio",ref:c})))};y.Z=a.forwardRef(d)},44397:function(b,y,e){"use strict";var a=e(78330),t=e(52628),o=e(22151);const s=c=>{const{componentCls:m,antCls:g}=c,M=`${m}-group`;return{[M]:Object.assign(Object.assign({},(0,a.Wf)(c)),{display:"inline-block",fontSize:0,[`&${M}-rtl`]:{direction:"rtl"},[`${g}-badge ${g}-badge-count`]:{zIndex:1},[`> ${g}-badge:not(:first-child) > ${g}-button-wrapper`]:{borderInlineStart:"none"}})}},n=c=>{const{componentCls:m,wrapperMarginInlineEnd:g,colorPrimary:M,radioSize:h,motionDurationSlow:S,motionDurationMid:w,motionEaseInOutCirc:x,colorBgContainer:z,colorBorder:U,lineWidth:T,dotSize:N,colorBgContainerDisabled:Z,colorTextDisabled:D,paddingXS:L,dotColorDisabled:j,lineType:G,radioDotDisabledSize:W,wireframe:ne,colorWhite:_}=c,ee=`${m}-inner`;return{[`${m}-wrapper`]:Object.assign(Object.assign({},(0,a.Wf)(c)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:g,cursor:"pointer",[`&${m}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:c.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${m}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${T}px ${G} ${M}`,borderRadius:"50%",visibility:"hidden",content:'""'},[m]:Object.assign(Object.assign({},(0,a.Wf)(c)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${m}-wrapper:hover &, + &:hover ${ee}`]:{borderColor:M},[`${m}-input:focus-visible + ${ee}`]:Object.assign({},(0,a.oN)(c)),[`${m}:hover::after, ${m}-wrapper:hover &::after`]:{visibility:"visible"},[`${m}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:h,height:h,marginBlockStart:h/-2,marginInlineStart:h/-2,backgroundColor:ne?M:_,borderBlockStart:0,borderInlineStart:0,borderRadius:h,transform:"scale(0)",opacity:0,transition:`all ${S} ${x}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:h,height:h,backgroundColor:z,borderColor:U,borderStyle:"solid",borderWidth:T,borderRadius:"50%",transition:`all ${w}`},[`${m}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${m}-checked`]:{[ee]:{borderColor:M,backgroundColor:ne?z:M,"&::after":{transform:`scale(${N/h})`,opacity:1,transition:`all ${S} ${x}`}}},[`${m}-disabled`]:{cursor:"not-allowed",[ee]:{backgroundColor:Z,borderColor:U,cursor:"not-allowed","&::after":{backgroundColor:j}},[`${m}-input`]:{cursor:"not-allowed"},[`${m}-disabled + span`]:{color:D,cursor:"not-allowed"},[`&${m}-checked`]:{[ee]:{"&::after":{transform:`scale(${W/h})`}}}},[`span${m} + *`]:{paddingInlineStart:L,paddingInlineEnd:L}})}},d=c=>{const{buttonColor:m,controlHeight:g,componentCls:M,lineWidth:h,lineType:S,colorBorder:w,motionDurationSlow:x,motionDurationMid:z,buttonPaddingInline:U,fontSize:T,buttonBg:N,fontSizeLG:Z,controlHeightLG:D,controlHeightSM:L,paddingXS:j,borderRadius:G,borderRadiusSM:W,borderRadiusLG:ne,buttonCheckedBg:_,buttonSolidCheckedColor:ee,colorTextDisabled:se,colorBgContainerDisabled:Q,buttonCheckedBgDisabled:C,buttonCheckedColorDisabled:X,colorPrimary:O,colorPrimaryHover:H,colorPrimaryActive:k}=c;return{[`${M}-button-wrapper`]:{position:"relative",display:"inline-block",height:g,margin:0,paddingInline:U,paddingBlock:0,color:m,fontSize:T,lineHeight:`${g-h*2}px`,background:N,border:`${h}px ${S} ${w}`,borderBlockStartWidth:h+.02,borderInlineStartWidth:0,borderInlineEndWidth:h,cursor:"pointer",transition:[`color ${z}`,`background ${z}`,`box-shadow ${z}`].join(","),a:{color:m},[`> ${M}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-h,insetInlineStart:-h,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:h,paddingInline:0,backgroundColor:w,transition:`background-color ${x}`,content:'""'}},"&:first-child":{borderInlineStart:`${h}px ${S} ${w}`,borderStartStartRadius:G,borderEndStartRadius:G},"&:last-child":{borderStartEndRadius:G,borderEndEndRadius:G},"&:first-child:last-child":{borderRadius:G},[`${M}-group-large &`]:{height:D,fontSize:Z,lineHeight:`${D-h*2}px`,"&:first-child":{borderStartStartRadius:ne,borderEndStartRadius:ne},"&:last-child":{borderStartEndRadius:ne,borderEndEndRadius:ne}},[`${M}-group-small &`]:{height:L,paddingInline:j-h,paddingBlock:0,lineHeight:`${L-h*2}px`,"&:first-child":{borderStartStartRadius:W,borderEndStartRadius:W},"&:last-child":{borderStartEndRadius:W,borderEndEndRadius:W}},"&:hover":{position:"relative",color:O},"&:has(:focus-visible)":Object.assign({},(0,a.oN)(c)),[`${M}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${M}-button-wrapper-disabled)`]:{zIndex:1,color:O,background:_,borderColor:O,"&::before":{backgroundColor:O},"&:first-child":{borderColor:O},"&:hover":{color:H,borderColor:H,"&::before":{backgroundColor:H}},"&:active":{color:k,borderColor:k,"&::before":{backgroundColor:k}}},[`${M}-group-solid &-checked:not(${M}-button-wrapper-disabled)`]:{color:ee,background:O,borderColor:O,"&:hover":{color:ee,background:H,borderColor:H},"&:active":{color:ee,background:k,borderColor:k}},"&-disabled":{color:se,backgroundColor:Q,borderColor:w,cursor:"not-allowed","&:first-child, &:hover":{color:se,backgroundColor:Q,borderColor:w}},[`&-disabled${M}-button-wrapper-checked`]:{color:X,backgroundColor:C,borderColor:w,boxShadow:"none"}}}},l=c=>c-4*2;y.Z=(0,t.Z)("Radio",c=>{const{controlOutline:m,controlOutlineWidth:g,radioSize:M}=c,h=`0 0 0 ${g}px ${m}`,S=h,w=l(M),x=(0,o.TS)(c,{radioDotDisabledSize:w,radioFocusShadow:h,radioButtonFocusShadow:S});return[s(x),n(x),d(x)]},c=>{const{wireframe:m,padding:g,marginXS:M,lineWidth:h,fontSizeLG:S,colorText:w,colorBgContainer:x,colorTextDisabled:z,controlItemBgActiveDisabled:U,colorTextLightSolid:T}=c,N=4,Z=S,D=m?l(Z):Z-(N+h)*2;return{radioSize:Z,dotSize:D,dotColorDisabled:z,buttonSolidCheckedColor:T,buttonBg:x,buttonCheckedBg:x,buttonColor:w,buttonCheckedBgDisabled:U,buttonCheckedColorDisabled:z,buttonPaddingInline:g-h,wrapperMarginInlineEnd:M}})},12632:function(b,y,e){"use strict";e.d(y,{ZP:function(){return O}});var a=e(85678),t=e(79999),o=e(69831),s=e(60698),n=e(58757),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},l=d,c=e(17202),m=function(k,A){return n.createElement(c.Z,(0,s.Z)({},k,{ref:A,icon:l}))},g=n.forwardRef(m),M=e(87608),h=e.n(M),S=e(61836),x=()=>n.createElement("svg",{width:"252",height:"294"},n.createElement("defs",null,n.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("g",{transform:"translate(0 .012)"},n.createElement("mask",{fill:"#fff"}),n.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),n.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),n.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),n.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),n.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),n.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),n.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),n.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),n.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),n.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),n.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),n.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),n.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),n.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),n.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),n.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),n.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),n.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),n.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),n.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),n.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),n.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),n.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),n.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),n.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),n.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),n.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),n.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),n.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),n.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),n.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),n.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),n.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),n.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),n.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),n.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),n.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),n.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),n.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),U=()=>n.createElement("svg",{width:"254",height:"294"},n.createElement("defs",null,n.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),n.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("g",{transform:"translate(0 .067)"},n.createElement("mask",{fill:"#fff"}),n.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),n.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),n.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),n.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),n.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),n.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),n.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),n.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),n.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),n.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),n.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),n.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),n.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),n.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),n.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),n.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),n.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),n.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),n.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),n.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),n.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),n.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),n.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),n.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),n.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),n.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),n.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),n.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),n.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),n.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),n.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),n.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),n.createElement("mask",{fill:"#fff"}),n.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),n.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),n.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),n.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),n.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),n.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),n.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),n.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),n.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),n.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),n.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),N=()=>n.createElement("svg",{width:"251",height:"294"},n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),n.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),n.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),n.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),n.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),n.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),n.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),n.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),n.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),n.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),n.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),n.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),n.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),n.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),n.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),n.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),n.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),n.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),n.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),n.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),n.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),n.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),n.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),n.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),n.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),n.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),n.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),n.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),n.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),n.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),n.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),n.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),n.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),n.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),n.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),n.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}))),Z=e(52628),D=e(22151);const L=H=>{const{componentCls:k,lineHeightHeading3:A,iconCls:Y,padding:de,paddingXL:me,paddingXS:ve,paddingLG:be,marginXS:Pe,lineHeight:Je}=H;return{[k]:{padding:`${be*2}px ${me}px`,"&-rtl":{direction:"rtl"}},[`${k} ${k}-image`]:{width:H.imageWidth,height:H.imageHeight,margin:"auto"},[`${k} ${k}-icon`]:{marginBottom:be,textAlign:"center",[`& > ${Y}`]:{fontSize:H.iconFontSize}},[`${k} ${k}-title`]:{color:H.colorTextHeading,fontSize:H.titleFontSize,lineHeight:A,marginBlock:Pe,textAlign:"center"},[`${k} ${k}-subtitle`]:{color:H.colorTextDescription,fontSize:H.subtitleFontSize,lineHeight:Je,textAlign:"center"},[`${k} ${k}-content`]:{marginTop:be,padding:`${be}px ${de*2.5}px`,backgroundColor:H.colorFillAlter},[`${k} ${k}-extra`]:{margin:H.extraMargin,textAlign:"center","& > *":{marginInlineEnd:ve,"&:last-child":{marginInlineEnd:0}}}}},j=H=>{const{componentCls:k,iconCls:A}=H;return{[`${k}-success ${k}-icon > ${A}`]:{color:H.resultSuccessIconColor},[`${k}-error ${k}-icon > ${A}`]:{color:H.resultErrorIconColor},[`${k}-info ${k}-icon > ${A}`]:{color:H.resultInfoIconColor},[`${k}-warning ${k}-icon > ${A}`]:{color:H.resultWarningIconColor}}},G=H=>[L(H),j(H)],W=H=>G(H);var ne=(0,Z.Z)("Result",H=>{const k=H.colorInfo,A=H.colorError,Y=H.colorSuccess,de=H.colorWarning,me=(0,D.TS)(H,{resultInfoIconColor:k,resultErrorIconColor:A,resultSuccessIconColor:Y,resultWarningIconColor:de,imageWidth:250,imageHeight:295});return[W(me)]},H=>({titleFontSize:H.fontSizeHeading3,subtitleFontSize:H.fontSize,iconFontSize:H.fontSizeHeading3*3,extraMargin:`${H.paddingLG}px 0 0 0`}));const _={success:a.Z,error:t.Z,info:o.Z,warning:g},ee={404:x,500:U,403:N},se=Object.keys(ee),Q=H=>{let{prefixCls:k,icon:A,status:Y}=H;const de=h()(`${k}-icon`);if(se.includes(`${Y}`)){const ve=ee[Y];return n.createElement("div",{className:`${de} ${k}-image`},n.createElement(ve,null))}const me=n.createElement(_[Y]);return A===null||A===!1?null:n.createElement("div",{className:de},A||me)},C=H=>{let{prefixCls:k,extra:A}=H;return A?n.createElement("div",{className:`${k}-extra`},A):null},X=H=>{let{prefixCls:k,className:A,rootClassName:Y,subTitle:de,title:me,style:ve,children:be,status:Pe="info",icon:Je,extra:qe}=H;const{getPrefixCls:Xe,direction:mt,result:Ct}=n.useContext(S.E_),vt=Xe("result",k),[Ht,ke]=ne(vt),Ve=h()(vt,`${vt}-${Pe}`,A,Ct==null?void 0:Ct.className,Y,{[`${vt}-rtl`]:mt==="rtl"},ke),ot=Object.assign(Object.assign({},Ct==null?void 0:Ct.style),ve);return Ht(n.createElement("div",{className:Ve,style:ot},n.createElement(Q,{prefixCls:vt,status:Pe,icon:Je}),n.createElement("div",{className:`${vt}-title`},me),de&&n.createElement("div",{className:`${vt}-subtitle`},de),n.createElement(C,{prefixCls:vt,extra:qe}),be&&n.createElement("div",{className:`${vt}-content`},be)))};X.PRESENTED_IMAGE_403=ee[403],X.PRESENTED_IMAGE_404=ee[404],X.PRESENTED_IMAGE_500=ee[500];var O=X},59504:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(18510),s=e(98186),n=e(58757),d=e(15018),l=e(90881),c=e(41496),m=e(61836),g=e(92428),M=e(10401),h=e(58785),S=e(81496),w=e(43528),x=e(92493),z=e(25639),U=e(61698),T=e(29701),N=function(G,W){var ne={};for(var _ in G)Object.prototype.hasOwnProperty.call(G,_)&&W.indexOf(_)<0&&(ne[_]=G[_]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,_=Object.getOwnPropertySymbols(G);ee<_.length;ee++)W.indexOf(_[ee])<0&&Object.prototype.propertyIsEnumerable.call(G,_[ee])&&(ne[_[ee]]=G[_[ee]]);return ne};const Z="SECRET_COMBOBOX_MODE_DO_NOT_USE",D=(G,W)=>{var ne,{prefixCls:_,bordered:ee=!0,className:se,rootClassName:Q,getPopupContainer:C,popupClassName:X,dropdownClassName:O,listHeight:H=256,placement:k,listItemHeight:A=24,size:Y,disabled:de,notFoundContent:me,status:ve,builtinPlacements:be,dropdownMatchSelectWidth:Pe,popupMatchSelectWidth:Je,direction:qe,style:Xe,allowClear:mt}=G,Ct=N(G,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:vt,getPrefixCls:Ht,renderEmpty:ke,direction:Ve,virtual:ot,popupMatchSelectWidth:Ke,popupOverflow:he,select:J}=n.useContext(m.E_),V=Ht("select",_),R=Ht(),P=qe!=null?qe:Ve,{compactSize:B,compactItemClassnames:ge}=(0,w.ri)(V,P),[ie,pe]=(0,x.Z)(V),Oe=n.useMemo(()=>{const{mode:wt}=Ct;if(wt!=="combobox")return wt===Z?"combobox":wt},[Ct.mode]),xe=Oe==="multiple"||Oe==="tags",Se=(0,U.Z)(Ct.suffixIcon,Ct.showArrow),$e=(ne=Je!=null?Je:Pe)!==null&&ne!==void 0?ne:Ke,{status:re,hasFeedback:oe,isFormItemInput:q,feedbackIcon:ue}=n.useContext(S.aM),Ee=(0,c.F)(re,ve);let le;me!==void 0?le=me:Oe==="combobox"?le=null:le=(ke==null?void 0:ke("Select"))||n.createElement(M.Z,{componentName:"Select"});const{suffixIcon:Ne,itemIcon:Ae,removeIcon:we,clearIcon:Re}=(0,T.Z)(Object.assign(Object.assign({},Ct),{multiple:xe,hasFeedback:oe,feedbackIcon:ue,showSuffixIcon:Se,prefixCls:V,showArrow:Ct.showArrow,componentName:"Select"})),st=mt===!0?{clearIcon:Re}:mt,nt=(0,s.Z)(Ct,["suffixIcon","itemIcon"]),_e=t()(X||O,{[`${V}-dropdown-${P}`]:P==="rtl"},Q,pe),We=(0,h.Z)(wt=>{var Pt;return(Pt=Y!=null?Y:B)!==null&&Pt!==void 0?Pt:wt}),Be=n.useContext(g.Z),it=de!=null?de:Be,Ge=t()({[`${V}-lg`]:We==="large",[`${V}-sm`]:We==="small",[`${V}-rtl`]:P==="rtl",[`${V}-borderless`]:!ee,[`${V}-in-form-item`]:q},(0,c.Z)(V,Ee,oe),ge,J==null?void 0:J.className,se,Q,pe),Ot=n.useMemo(()=>k!==void 0?k:P==="rtl"?"bottomRight":"bottomLeft",[k,P]),$t=(0,z.Z)(be,he);return ie(n.createElement(o.ZP,Object.assign({ref:W,virtual:ot,showSearch:J==null?void 0:J.showSearch},nt,{style:Object.assign(Object.assign({},J==null?void 0:J.style),Xe),dropdownMatchSelectWidth:$e,builtinPlacements:$t,transitionName:(0,l.m)(R,"slide-up",Ct.transitionName),listHeight:H,listItemHeight:A,mode:Oe,prefixCls:V,placement:Ot,direction:P,suffixIcon:Ne,menuItemSelectedIcon:Ae,removeIcon:we,allowClear:st,notFoundContent:le,className:Ge,getPopupContainer:C||vt,dropdownClassName:_e,disabled:it})))},L=n.forwardRef(D),j=(0,d.Z)(L);L.SECRET_COMBOBOX_MODE_DO_NOT_USE=Z,L.Option=o.Wx,L.OptGroup=o.Xo,L._InternalPanelDoNotUseOrYouWillBeFired=j,y.Z=L},92493:function(b,y,e){"use strict";e.d(y,{Z:function(){return L}});var a=e(78330),t=e(64493),o=e(22151),s=e(52628),n=e(1016),d=e(1546);const l=j=>{const{controlPaddingHorizontal:G,controlHeight:W,fontSize:ne,lineHeight:_}=j;return{position:"relative",display:"block",minHeight:W,padding:`${(W-ne*_)/2}px ${G}px`,color:j.colorText,fontWeight:"normal",fontSize:ne,lineHeight:_,boxSizing:"border-box"}};var m=j=>{const{antCls:G,componentCls:W}=j,ne=`${W}-item`,_=`&${G}-slide-up-enter${G}-slide-up-enter-active`,ee=`&${G}-slide-up-appear${G}-slide-up-appear-active`,se=`&${G}-slide-up-leave${G}-slide-up-leave-active`,Q=`${W}-dropdown-placement-`;return[{[`${W}-dropdown`]:Object.assign(Object.assign({},(0,a.Wf)(j)),{position:"absolute",top:-9999,zIndex:j.zIndexPopup,boxSizing:"border-box",padding:j.paddingXXS,overflow:"hidden",fontSize:j.fontSize,fontVariant:"initial",backgroundColor:j.colorBgElevated,borderRadius:j.borderRadiusLG,outline:"none",boxShadow:j.boxShadowSecondary,[` + ${_}${Q}bottomLeft, + ${ee}${Q}bottomLeft + `]:{animationName:n.fJ},[` + ${_}${Q}topLeft, + ${ee}${Q}topLeft, + ${_}${Q}topRight, + ${ee}${Q}topRight + `]:{animationName:n.Qt},[`${se}${Q}bottomLeft`]:{animationName:n.Uw},[` + ${se}${Q}topLeft, + ${se}${Q}topRight + `]:{animationName:n.ly},"&-hidden":{display:"none"},[`${ne}`]:Object.assign(Object.assign({},l(j)),{cursor:"pointer",transition:`background ${j.motionDurationSlow} ease`,borderRadius:j.borderRadiusSM,"&-group":{color:j.colorTextDescription,fontSize:j.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},a.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ne}-option-disabled)`]:{backgroundColor:j.controlItemBgHover},[`&-selected:not(${ne}-option-disabled)`]:{color:j.colorText,fontWeight:j.fontWeightStrong,backgroundColor:j.controlItemBgActive,[`${ne}-option-state`]:{color:j.colorPrimary}},"&-disabled":{[`&${ne}-option-selected`]:{backgroundColor:j.colorBgContainerDisabled},color:j.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:j.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,n.oN)(j,"slide-up"),(0,n.oN)(j,"slide-down"),(0,d.Fm)(j,"move-up"),(0,d.Fm)(j,"move-down")]};const g=2,M=j=>{let{controlHeightSM:G,controlHeight:W,lineWidth:ne}=j;const _=(W-G)/2-ne,ee=Math.ceil(_/2);return[_,ee]};function h(j,G){const{componentCls:W,iconCls:ne}=j,_=`${W}-selection-overflow`,ee=j.controlHeightSM,[se]=M(j),Q=G?`${W}-${G}`:"";return{[`${W}-multiple${Q}`]:{fontSize:j.fontSize,[_]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${W}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${se-g}px ${g*2}px`,borderRadius:j.borderRadius,[`${W}-show-search&`]:{cursor:"text"},[`${W}-disabled&`]:{background:j.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${g}px 0`,lineHeight:`${ee}px`,visibility:"hidden",content:'"\\a0"'}},[` + &${W}-show-arrow ${W}-selector, + &${W}-allow-clear ${W}-selector + `]:{paddingInlineEnd:j.fontSizeIcon+j.controlPaddingHorizontal},[`${W}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:ee,marginTop:g,marginBottom:g,lineHeight:`${ee-j.lineWidth*2}px`,background:j.colorFillSecondary,borderRadius:j.borderRadiusSM,cursor:"default",transition:`font-size ${j.motionDurationSlow}, line-height ${j.motionDurationSlow}, height ${j.motionDurationSlow}`,userSelect:"none",marginInlineEnd:g*2,paddingInlineStart:j.paddingXS,paddingInlineEnd:j.paddingXS/2,[`${W}-disabled&`]:{color:j.colorTextDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:j.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,a.Ro)()),{display:"inline-flex",alignItems:"center",color:j.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ne}`]:{verticalAlign:"-0.2em"},"&:hover":{color:j.colorIconHover}})},[`${_}-item + ${_}-item`]:{[`${W}-selection-search`]:{marginInlineStart:0}},[`${W}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:j.inputPaddingHorizontalBase-se,[` + &-input, + &-mirror + `]:{height:ee,fontFamily:j.fontFamily,lineHeight:`${ee}px`,transition:`all ${j.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${W}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:j.inputPaddingHorizontalBase,insetInlineEnd:j.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${j.motionDurationSlow}`}}}}var w=j=>{const{componentCls:G}=j,W=(0,o.TS)(j,{controlHeight:j.controlHeightSM,controlHeightSM:j.controlHeightXS,borderRadius:j.borderRadiusSM,borderRadiusSM:j.borderRadiusXS}),ne=(0,o.TS)(j,{fontSize:j.fontSizeLG,controlHeight:j.controlHeightLG,controlHeightSM:j.controlHeight,borderRadius:j.borderRadiusLG,borderRadiusSM:j.borderRadius}),[,_]=M(j);return[h(j),h(W,"sm"),{[`${G}-multiple${G}-sm`]:{[`${G}-selection-placeholder`]:{insetInline:j.controlPaddingHorizontalSM-j.lineWidth},[`${G}-selection-search`]:{marginInlineStart:_}}},h(ne,"lg")]};function x(j,G){const{componentCls:W,inputPaddingHorizontalBase:ne,borderRadius:_}=j,ee=j.controlHeight-j.lineWidth*2,se=Math.ceil(j.fontSize*1.25),Q=G?`${W}-${G}`:"";return{[`${W}-single${Q}`]:{fontSize:j.fontSize,[`${W}-selector`]:Object.assign(Object.assign({},(0,a.Wf)(j)),{display:"flex",borderRadius:_,[`${W}-selection-search`]:{position:"absolute",top:0,insetInlineStart:ne,insetInlineEnd:ne,bottom:0,"&-input":{width:"100%"}},[` + ${W}-selection-item, + ${W}-selection-placeholder + `]:{padding:0,lineHeight:`${ee}px`,transition:`all ${j.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${ee}px`}},[`${W}-selection-item`]:{position:"relative",userSelect:"none"},[`${W}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${W}-selection-item:after`,`${W}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${W}-show-arrow ${W}-selection-item, + &${W}-show-arrow ${W}-selection-placeholder + `]:{paddingInlineEnd:se},[`&${W}-open ${W}-selection-item`]:{color:j.colorTextPlaceholder},[`&:not(${W}-customize-input)`]:{[`${W}-selector`]:{width:"100%",height:j.controlHeight,padding:`0 ${ne}px`,[`${W}-selection-search-input`]:{height:ee},"&:after":{lineHeight:`${ee}px`}}},[`&${W}-customize-input`]:{[`${W}-selector`]:{"&:after":{display:"none"},[`${W}-selection-search`]:{position:"static",width:"100%"},[`${W}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ne}px`,"&:after":{display:"none"}}}}}}}function z(j){const{componentCls:G}=j,W=j.controlPaddingHorizontalSM-j.lineWidth;return[x(j),x((0,o.TS)(j,{controlHeight:j.controlHeightSM,borderRadius:j.borderRadiusSM}),"sm"),{[`${G}-single${G}-sm`]:{[`&:not(${G}-customize-input)`]:{[`${G}-selection-search`]:{insetInlineStart:W,insetInlineEnd:W},[`${G}-selector`]:{padding:`0 ${W}px`},[`&${G}-show-arrow ${G}-selection-search`]:{insetInlineEnd:W+j.fontSize*1.5},[` + &${G}-show-arrow ${G}-selection-item, + &${G}-show-arrow ${G}-selection-placeholder + `]:{paddingInlineEnd:j.fontSize*1.5}}}},x((0,o.TS)(j,{controlHeight:j.controlHeightLG,fontSize:j.fontSizeLG,borderRadius:j.borderRadiusLG}),"lg")]}const U=j=>{const{componentCls:G}=j;return{position:"relative",backgroundColor:j.colorBgContainer,border:`${j.lineWidth}px ${j.lineType} ${j.colorBorder}`,transition:`all ${j.motionDurationMid} ${j.motionEaseInOut}`,input:{cursor:"pointer"},[`${G}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${G}-disabled&`]:{color:j.colorTextDisabled,background:j.colorBgContainerDisabled,cursor:"not-allowed",[`${G}-multiple&`]:{background:j.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},T=function(j,G){let W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:ne,borderHoverColor:_,outlineColor:ee,antCls:se}=G,Q=W?{[`${ne}-selector`]:{borderColor:_}}:{};return{[j]:{[`&:not(${ne}-disabled):not(${ne}-customize-input):not(${se}-pagination-size-changer)`]:Object.assign(Object.assign({},Q),{[`${ne}-focused& ${ne}-selector`]:{borderColor:_,boxShadow:`0 0 0 ${G.controlOutlineWidth}px ${ee}`,outline:0},[`&:hover ${ne}-selector`]:{borderColor:_}})}}},N=j=>{const{componentCls:G}=j;return{[`${G}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Z=j=>{const{componentCls:G,inputPaddingHorizontalBase:W,iconCls:ne}=j;return{[G]:Object.assign(Object.assign({},(0,a.Wf)(j)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${G}-customize-input) ${G}-selector`]:Object.assign(Object.assign({},U(j)),N(j)),[`${G}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},a.vS),[`${G}-selection-placeholder`]:Object.assign(Object.assign({},a.vS),{flex:1,color:j.colorTextPlaceholder,pointerEvents:"none"}),[`${G}-arrow`]:Object.assign(Object.assign({},(0,a.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:W,height:j.fontSizeIcon,marginTop:-j.fontSizeIcon/2,color:j.colorTextQuaternary,fontSize:j.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[ne]:{verticalAlign:"top",transition:`transform ${j.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${G}-suffix)`]:{pointerEvents:"auto"}},[`${G}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${G}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:W,zIndex:1,display:"inline-block",width:j.fontSizeIcon,height:j.fontSizeIcon,marginTop:-j.fontSizeIcon/2,color:j.colorTextQuaternary,fontSize:j.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:j.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${j.motionDurationMid} ease, opacity ${j.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:j.colorTextTertiary}},"&:hover":{[`${G}-clear`]:{opacity:1}}}),[`${G}-has-feedback`]:{[`${G}-clear`]:{insetInlineEnd:W+j.fontSize+j.paddingXS}}}},D=j=>{const{componentCls:G}=j;return[{[G]:{[`&-borderless ${G}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${G}-in-form-item`]:{width:"100%"}}},Z(j),z(j),w(j),m(j),{[`${G}-rtl`]:{direction:"rtl"}},T(G,(0,o.TS)(j,{borderHoverColor:j.colorPrimaryHover,outlineColor:j.controlOutline})),T(`${G}-status-error`,(0,o.TS)(j,{borderHoverColor:j.colorErrorHover,outlineColor:j.colorErrorOutline}),!0),T(`${G}-status-warning`,(0,o.TS)(j,{borderHoverColor:j.colorWarningHover,outlineColor:j.colorWarningOutline}),!0),(0,t.c)(j,{borderElCls:`${G}-selector`,focusElCls:`${G}-focused`})]};var L=(0,s.Z)("Select",(j,G)=>{let{rootPrefixCls:W}=G;const ne=(0,o.TS)(j,{rootPrefixCls:W,inputPaddingHorizontalBase:j.paddingSM-1});return[D(ne)]},j=>({zIndexPopup:j.zIndexPopupBase+50}))},25639:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});const a=o=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:o==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function t(o,s){return o||a(s)}},61698:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(t,o){return o!==void 0?o:t!==null}},29701:function(b,y,e){"use strict";e.d(y,{Z:function(){return c}});var a=e(35725),t=e(79999),o=e(52495),s=e(10130),n=e(25755),d=e(99534),l=e(58757);function c(m){let{suffixIcon:g,clearIcon:M,menuItemSelectedIcon:h,removeIcon:S,loading:w,multiple:x,hasFeedback:z,prefixCls:U,showSuffixIcon:T,feedbackIcon:N,showArrow:Z,componentName:D}=m;const L=M!=null?M:l.createElement(t.Z,null),j=_=>g===null&&!z&&!Z?null:l.createElement(l.Fragment,null,T!==!1&&_,z&&N);let G=null;if(g!==void 0)G=j(g);else if(w)G=j(l.createElement(n.Z,{spin:!0}));else{const _=`${U}-suffix`;G=ee=>{let{open:se,showSearch:Q}=ee;return j(se&&Q?l.createElement(d.Z,{className:_}):l.createElement(s.Z,{className:_}))}}let W=null;h!==void 0?W=h:x?W=l.createElement(a.Z,null):W=null;let ne=null;return S!==void 0?ne=S:ne=l.createElement(o.Z,null),{clearIcon:L,suffixIcon:G,itemIcon:W,removeIcon:ne}}},57214:function(b,y,e){"use strict";e.d(y,{Z:function(){return Ke}});var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(98186),l=he=>{const{prefixCls:J,className:V,style:R,size:P,shape:B}=he,ge=t()({[`${J}-lg`]:P==="large",[`${J}-sm`]:P==="small"}),ie=t()({[`${J}-circle`]:B==="circle",[`${J}-square`]:B==="square",[`${J}-round`]:B==="round"}),pe=o.useMemo(()=>typeof P=="number"?{width:P,height:P,lineHeight:`${P}px`}:{},[P]);return o.createElement("span",{className:t()(J,ge,ie,V),style:Object.assign(Object.assign({},pe),R)})},c=e(57793),m=e(52628),g=e(22151);const M=new c.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),h=he=>({height:he,lineHeight:`${he}px`}),S=he=>Object.assign({width:he},h(he)),w=he=>({background:he.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:M,animationDuration:he.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),x=he=>Object.assign({width:he*5,minWidth:he*5},h(he)),z=he=>{const{skeletonAvatarCls:J,gradientFromColor:V,controlHeight:R,controlHeightLG:P,controlHeightSM:B}=he;return{[`${J}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:V},S(R)),[`${J}${J}-circle`]:{borderRadius:"50%"},[`${J}${J}-lg`]:Object.assign({},S(P)),[`${J}${J}-sm`]:Object.assign({},S(B))}},U=he=>{const{controlHeight:J,borderRadiusSM:V,skeletonInputCls:R,controlHeightLG:P,controlHeightSM:B,gradientFromColor:ge}=he;return{[`${R}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ge,borderRadius:V},x(J)),[`${R}-lg`]:Object.assign({},x(P)),[`${R}-sm`]:Object.assign({},x(B))}},T=he=>Object.assign({width:he},h(he)),N=he=>{const{skeletonImageCls:J,imageSizeBase:V,gradientFromColor:R,borderRadiusSM:P}=he;return{[`${J}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:R,borderRadius:P},T(V*2)),{[`${J}-path`]:{fill:"#bfbfbf"},[`${J}-svg`]:Object.assign(Object.assign({},T(V)),{maxWidth:V*4,maxHeight:V*4}),[`${J}-svg${J}-svg-circle`]:{borderRadius:"50%"}}),[`${J}${J}-circle`]:{borderRadius:"50%"}}},Z=(he,J,V)=>{const{skeletonButtonCls:R}=he;return{[`${V}${R}-circle`]:{width:J,minWidth:J,borderRadius:"50%"},[`${V}${R}-round`]:{borderRadius:J}}},D=he=>Object.assign({width:he*2,minWidth:he*2},h(he)),L=he=>{const{borderRadiusSM:J,skeletonButtonCls:V,controlHeight:R,controlHeightLG:P,controlHeightSM:B,gradientFromColor:ge}=he;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${V}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ge,borderRadius:J,width:R*2,minWidth:R*2},D(R))},Z(he,R,V)),{[`${V}-lg`]:Object.assign({},D(P))}),Z(he,P,`${V}-lg`)),{[`${V}-sm`]:Object.assign({},D(B))}),Z(he,B,`${V}-sm`))},j=he=>{const{componentCls:J,skeletonAvatarCls:V,skeletonTitleCls:R,skeletonParagraphCls:P,skeletonButtonCls:B,skeletonInputCls:ge,skeletonImageCls:ie,controlHeight:pe,controlHeightLG:Oe,controlHeightSM:xe,gradientFromColor:Se,padding:$e,marginSM:re,borderRadius:oe,titleHeight:q,blockRadius:ue,paragraphLiHeight:Ee,controlHeightXS:le,paragraphMarginTop:Ne}=he;return{[`${J}`]:{display:"table",width:"100%",[`${J}-header`]:{display:"table-cell",paddingInlineEnd:$e,verticalAlign:"top",[`${V}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Se},S(pe)),[`${V}-circle`]:{borderRadius:"50%"},[`${V}-lg`]:Object.assign({},S(Oe)),[`${V}-sm`]:Object.assign({},S(xe))},[`${J}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${R}`]:{width:"100%",height:q,background:Se,borderRadius:ue,[`+ ${P}`]:{marginBlockStart:xe}},[`${P}`]:{padding:0,"> li":{width:"100%",height:Ee,listStyle:"none",background:Se,borderRadius:ue,"+ li":{marginBlockStart:le}}},[`${P}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${J}-content`]:{[`${R}, ${P} > li`]:{borderRadius:oe}}},[`${J}-with-avatar ${J}-content`]:{[`${R}`]:{marginBlockStart:re,[`+ ${P}`]:{marginBlockStart:Ne}}},[`${J}${J}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},L(he)),z(he)),U(he)),N(he)),[`${J}${J}-block`]:{width:"100%",[`${B}`]:{width:"100%"},[`${ge}`]:{width:"100%"}},[`${J}${J}-active`]:{[` + ${R}, + ${P} > li, + ${V}, + ${B}, + ${ge}, + ${ie} + `]:Object.assign({},w(he))}}};var G=(0,m.Z)("Skeleton",he=>{const{componentCls:J}=he,V=(0,g.TS)(he,{skeletonAvatarCls:`${J}-avatar`,skeletonTitleCls:`${J}-title`,skeletonParagraphCls:`${J}-paragraph`,skeletonButtonCls:`${J}-button`,skeletonInputCls:`${J}-input`,skeletonImageCls:`${J}-image`,imageSizeBase:he.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${he.gradientFromColor} 25%, ${he.gradientToColor} 37%, ${he.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[j(V)]},he=>{const{colorFillContent:J,colorFill:V}=he,R=J,P=V;return{color:R,colorGradientEnd:P,gradientFromColor:R,gradientToColor:P,titleHeight:he.controlHeight/2,blockRadius:he.borderRadiusSM,paragraphMarginTop:he.marginLG+he.marginXXS,paragraphLiHeight:he.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ne=he=>{const{prefixCls:J,className:V,rootClassName:R,active:P,shape:B="circle",size:ge="default"}=he,{getPrefixCls:ie}=o.useContext(s.E_),pe=ie("skeleton",J),[Oe,xe]=G(pe),Se=(0,n.Z)(he,["prefixCls","className"]),$e=t()(pe,`${pe}-element`,{[`${pe}-active`]:P},V,R,xe);return Oe(o.createElement("div",{className:$e},o.createElement(l,Object.assign({prefixCls:`${pe}-avatar`,shape:B,size:ge},Se))))},ee=he=>{const{prefixCls:J,className:V,rootClassName:R,active:P,block:B=!1,size:ge="default"}=he,{getPrefixCls:ie}=o.useContext(s.E_),pe=ie("skeleton",J),[Oe,xe]=G(pe),Se=(0,n.Z)(he,["prefixCls"]),$e=t()(pe,`${pe}-element`,{[`${pe}-active`]:P,[`${pe}-block`]:B},V,R,xe);return Oe(o.createElement("div",{className:$e},o.createElement(l,Object.assign({prefixCls:`${pe}-button`,size:ge},Se))))};const se="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var C=he=>{const{prefixCls:J,className:V,rootClassName:R,style:P,active:B}=he,{getPrefixCls:ge}=o.useContext(s.E_),ie=ge("skeleton",J),[pe,Oe]=G(ie),xe=t()(ie,`${ie}-element`,{[`${ie}-active`]:B},V,R,Oe);return pe(o.createElement("div",{className:xe},o.createElement("div",{className:t()(`${ie}-image`,V),style:P},o.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ie}-image-svg`},o.createElement("path",{d:se,className:`${ie}-image-path`})))))},O=he=>{const{prefixCls:J,className:V,rootClassName:R,active:P,block:B,size:ge="default"}=he,{getPrefixCls:ie}=o.useContext(s.E_),pe=ie("skeleton",J),[Oe,xe]=G(pe),Se=(0,n.Z)(he,["prefixCls"]),$e=t()(pe,`${pe}-element`,{[`${pe}-active`]:P,[`${pe}-block`]:B},V,R,xe);return Oe(o.createElement("div",{className:$e},o.createElement(l,Object.assign({prefixCls:`${pe}-input`,size:ge},Se))))},H=e(60698),k={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},A=k,Y=e(17202),de=function(J,V){return o.createElement(Y.Z,(0,H.Z)({},J,{ref:V,icon:A}))},me=o.forwardRef(de),be=he=>{const{prefixCls:J,className:V,rootClassName:R,style:P,active:B,children:ge}=he,{getPrefixCls:ie}=o.useContext(s.E_),pe=ie("skeleton",J),[Oe,xe]=G(pe),Se=t()(pe,`${pe}-element`,{[`${pe}-active`]:B},xe,V,R),$e=ge!=null?ge:o.createElement(me,null);return Oe(o.createElement("div",{className:Se},o.createElement("div",{className:t()(`${pe}-image`,V),style:P},$e)))},Pe=e(29140),qe=he=>{const J=ie=>{const{width:pe,rows:Oe=2}=he;if(Array.isArray(pe))return pe[ie];if(Oe-1===ie)return pe},{prefixCls:V,className:R,style:P,rows:B}=he,ge=(0,Pe.Z)(Array(B)).map((ie,pe)=>o.createElement("li",{key:pe,style:{width:J(pe)}}));return o.createElement("ul",{className:t()(V,R),style:P},ge)},mt=he=>{let{prefixCls:J,className:V,width:R,style:P}=he;return o.createElement("h3",{className:t()(J,V),style:Object.assign({width:R},P)})};function Ct(he){return he&&typeof he=="object"?he:{}}function vt(he,J){return he&&!J?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ht(he,J){return!he&&J?{width:"38%"}:he&&J?{width:"50%"}:{}}function ke(he,J){const V={};return(!he||!J)&&(V.width="61%"),!he&&J?V.rows=3:V.rows=2,V}const Ve=he=>{const{prefixCls:J,loading:V,className:R,rootClassName:P,style:B,children:ge,avatar:ie=!1,title:pe=!0,paragraph:Oe=!0,active:xe,round:Se}=he,{getPrefixCls:$e,direction:re,skeleton:oe}=o.useContext(s.E_),q=$e("skeleton",J),[ue,Ee]=G(q);if(V||!("loading"in he)){const le=!!ie,Ne=!!pe,Ae=!!Oe;let we;if(le){const nt=Object.assign(Object.assign({prefixCls:`${q}-avatar`},vt(Ne,Ae)),Ct(ie));we=o.createElement("div",{className:`${q}-header`},o.createElement(l,Object.assign({},nt)))}let Re;if(Ne||Ae){let nt;if(Ne){const We=Object.assign(Object.assign({prefixCls:`${q}-title`},Ht(le,Ae)),Ct(pe));nt=o.createElement(mt,Object.assign({},We))}let _e;if(Ae){const We=Object.assign(Object.assign({prefixCls:`${q}-paragraph`},ke(le,Ne)),Ct(Oe));_e=o.createElement(qe,Object.assign({},We))}Re=o.createElement("div",{className:`${q}-content`},nt,_e)}const st=t()(q,{[`${q}-with-avatar`]:le,[`${q}-active`]:xe,[`${q}-rtl`]:re==="rtl",[`${q}-round`]:Se},oe==null?void 0:oe.className,R,P,Ee);return ue(o.createElement("div",{className:st,style:Object.assign(Object.assign({},oe==null?void 0:oe.style),B)},we,Re))}return typeof ge!="undefined"?ge:null};Ve.Button=ee,Ve.Avatar=ne,Ve.Input=O,Ve.Image=C,Ve.Node=be;var ot=Ve,Ke=ot},94706:function(b,y,e){"use strict";e.d(y,{Z:function(){return R}});var a=e(87608),t=e.n(a),o=e(37734),s=e(29140),n=e(28314),d=e(38790),l=e(58757),c=e(7637),m=e(60409),g=e(60698),M=e(47075),h=e(57370),S=e(29639),w=l.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),x=w;function z(P,B,ge){return(P-B)/(ge-B)}function U(P,B,ge,ie){var pe=z(B,ge,ie),Oe={};switch(P){case"rtl":Oe.right="".concat(pe*100,"%"),Oe.transform="translateX(50%)";break;case"btt":Oe.bottom="".concat(pe*100,"%"),Oe.transform="translateY(50%)";break;case"ttb":Oe.top="".concat(pe*100,"%"),Oe.transform="translateY(-50%)";break;default:Oe.left="".concat(pe*100,"%"),Oe.transform="translateX(-50%)";break}return Oe}function T(P,B){return Array.isArray(P)?P[B]:P}var N=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],Z=l.forwardRef(function(P,B){var ge,ie,pe=P.prefixCls,Oe=P.value,xe=P.valueIndex,Se=P.onStartMove,$e=P.style,re=P.render,oe=P.dragging,q=P.onOffsetChange,ue=(0,M.Z)(P,N),Ee=l.useContext(x),le=Ee.min,Ne=Ee.max,Ae=Ee.direction,we=Ee.disabled,Re=Ee.keyboard,st=Ee.range,nt=Ee.tabIndex,_e=Ee.ariaLabelForHandle,We=Ee.ariaLabelledByForHandle,Be=Ee.ariaValueTextFormatterForHandle,it="".concat(pe,"-handle"),Ge=function(dt){we||Se(dt,xe)},Ot=function(dt){if(!we&&Re){var je=null;switch(dt.which||dt.keyCode){case S.Z.LEFT:je=Ae==="ltr"||Ae==="btt"?-1:1;break;case S.Z.RIGHT:je=Ae==="ltr"||Ae==="btt"?1:-1;break;case S.Z.UP:je=Ae!=="ttb"?1:-1;break;case S.Z.DOWN:je=Ae!=="ttb"?-1:1;break;case S.Z.HOME:je="min";break;case S.Z.END:je="max";break;case S.Z.PAGE_UP:je=2;break;case S.Z.PAGE_DOWN:je=-2;break}je!==null&&(dt.preventDefault(),q(je,xe))}},$t=U(Ae,Oe,le,Ne),wt=l.createElement("div",(0,g.Z)({ref:B,className:t()(it,(ge={},(0,o.Z)(ge,"".concat(it,"-").concat(xe+1),st),(0,o.Z)(ge,"".concat(it,"-dragging"),oe),ge)),style:(0,h.Z)((0,h.Z)({},$t),$e),onMouseDown:Ge,onTouchStart:Ge,onKeyDown:Ot,tabIndex:we?null:T(nt,xe),role:"slider","aria-valuemin":le,"aria-valuemax":Ne,"aria-valuenow":Oe,"aria-disabled":we,"aria-label":T(_e,xe),"aria-labelledby":T(We,xe),"aria-valuetext":(ie=T(Be,xe))===null||ie===void 0?void 0:ie(Oe)},ue));return re&&(wt=re(wt,{index:xe,prefixCls:pe,value:Oe,dragging:oe})),wt}),D=Z,L=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],j=l.forwardRef(function(P,B){var ge=P.prefixCls,ie=P.style,pe=P.onStartMove,Oe=P.onOffsetChange,xe=P.values,Se=P.handleRender,$e=P.draggingIndex,re=(0,M.Z)(P,L),oe=l.useRef({});return l.useImperativeHandle(B,function(){return{focus:function(ue){var Ee;(Ee=oe.current[ue])===null||Ee===void 0||Ee.focus()}}}),l.createElement(l.Fragment,null,xe.map(function(q,ue){return l.createElement(D,(0,g.Z)({ref:function(le){le?oe.current[ue]=le:delete oe.current[ue]},dragging:$e===ue,prefixCls:ge,style:T(ie,ue),key:ue,value:q,valueIndex:ue,onStartMove:pe,onOffsetChange:Oe,render:Se},re))}))}),G=j;function W(P){var B="touches"in P?P.touches[0]:P;return{pageX:B.pageX,pageY:B.pageY}}function ne(P,B,ge,ie,pe,Oe,xe,Se,$e){var re=l.useState(null),oe=(0,n.Z)(re,2),q=oe[0],ue=oe[1],Ee=l.useState(-1),le=(0,n.Z)(Ee,2),Ne=le[0],Ae=le[1],we=l.useState(ge),Re=(0,n.Z)(we,2),st=Re[0],nt=Re[1],_e=l.useState(ge),We=(0,n.Z)(_e,2),Be=We[0],it=We[1],Ge=l.useRef(null),Ot=l.useRef(null);l.useEffect(function(){Ne===-1&&nt(ge)},[ge,Ne]),l.useEffect(function(){return function(){document.removeEventListener("mousemove",Ge.current),document.removeEventListener("mouseup",Ot.current),document.removeEventListener("touchmove",Ge.current),document.removeEventListener("touchend",Ot.current)}},[]);var $t=function(lt,bt){st.some(function(It,Kt){return It!==lt[Kt]})&&(bt!==void 0&&ue(bt),nt(lt),xe(lt))},wt=function(lt,bt){if(lt===-1){var It=Be[0],Kt=Be[Be.length-1],zt=ie-It,Mt=pe-Kt,Le=bt*(pe-ie);Le=Math.max(Le,zt),Le=Math.min(Le,Mt);var Ce=Oe(It+Le);Le=Ce-It;var Et=Be.map(function(_t){return _t+Le});$t(Et)}else{var Tt=(pe-ie)*bt,Ye=(0,s.Z)(st);Ye[lt]=Be[lt];var et=$e(Ye,Tt,lt,"dist");$t(et.values,et.value)}},Pt=l.useRef(wt);Pt.current=wt;var dt=function(lt,bt){lt.stopPropagation();var It=ge[bt];Ae(bt),ue(It),it(ge);var Kt=W(lt),zt=Kt.pageX,Mt=Kt.pageY,Le=function(Tt){Tt.preventDefault();var Ye=W(Tt),et=Ye.pageX,_t=Ye.pageY,Ut=et-zt,qt=_t-Mt,un=P.current.getBoundingClientRect(),Mn=un.width,vn=un.height,Xn;switch(B){case"btt":Xn=-qt/vn;break;case"ttb":Xn=qt/vn;break;case"rtl":Xn=-Ut/Mn;break;default:Xn=Ut/Mn}Pt.current(bt,Xn)},Ce=function Et(Tt){Tt.preventDefault(),document.removeEventListener("mouseup",Et),document.removeEventListener("mousemove",Le),document.removeEventListener("touchend",Et),document.removeEventListener("touchmove",Le),Ge.current=null,Ot.current=null,Ae(-1),Se()};document.addEventListener("mouseup",Ce),document.addEventListener("mousemove",Le),document.addEventListener("touchend",Ce),document.addEventListener("touchmove",Le),Ge.current=Le,Ot.current=Ce},je=l.useMemo(function(){var tt=(0,s.Z)(ge).sort(function(bt,It){return bt-It}),lt=(0,s.Z)(st).sort(function(bt,It){return bt-It});return tt.every(function(bt,It){return bt===lt[It]})?st:ge},[ge,st]);return[Ne,q,je,dt]}function _(P){var B=P.prefixCls,ge=P.style,ie=P.start,pe=P.end,Oe=P.index,xe=P.onStartMove,Se=l.useContext(x),$e=Se.direction,re=Se.min,oe=Se.max,q=Se.disabled,ue=Se.range,Ee="".concat(B,"-track"),le=z(ie,re,oe),Ne=z(pe,re,oe),Ae=function(st){!q&&xe&&xe(st,-1)},we={};switch($e){case"rtl":we.right="".concat(le*100,"%"),we.width="".concat(Ne*100-le*100,"%");break;case"btt":we.bottom="".concat(le*100,"%"),we.height="".concat(Ne*100-le*100,"%");break;case"ttb":we.top="".concat(le*100,"%"),we.height="".concat(Ne*100-le*100,"%");break;default:we.left="".concat(le*100,"%"),we.width="".concat(Ne*100-le*100,"%")}return l.createElement("div",{className:t()(Ee,ue&&"".concat(Ee,"-").concat(Oe+1)),style:(0,h.Z)((0,h.Z)({},we),ge),onMouseDown:Ae,onTouchStart:Ae})}function ee(P){var B=P.prefixCls,ge=P.style,ie=P.values,pe=P.startPoint,Oe=P.onStartMove,xe=l.useContext(x),Se=xe.included,$e=xe.range,re=xe.min,oe=l.useMemo(function(){if(!$e){if(ie.length===0)return[];var q=pe!=null?pe:re,ue=ie[0];return[{start:Math.min(q,ue),end:Math.max(q,ue)}]}for(var Ee=[],le=0;le3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof Ne=="number"){var Re,st=le[Ae],nt=st+Ne,_e=[];ie.forEach(function(Ot){_e.push(Ot.value)}),_e.push(P,B),_e.push(Se(st));var We=Ne>0?1:-1;we==="unit"?_e.push(Se(st+We*ge)):_e.push(Se(nt)),_e=_e.filter(function(Ot){return Ot!==null}).filter(function(Ot){return Ne<0?Ot<=st:Ot>=st}),we==="unit"&&(_e=_e.filter(function(Ot){return Ot!==st}));var Be=we==="unit"?st:nt;Re=_e[0];var it=Math.abs(Re-Be);if(_e.forEach(function(Ot){var $t=Math.abs(Ot-Be);$t1){var Ge=(0,s.Z)(le);return Ge[Ae]=Re,Ee(Ge,Ne-We,Ae,we)}return Re}else{if(Ne==="min")return P;if(Ne==="max")return B}},oe=function(le,Ne,Ae){var we=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",Re=le[Ae],st=re(le,Ne,Ae,we);return{value:st,changed:st!==Re}},q=function(le){return Oe===null&&le===0||typeof Oe=="number"&&le3&&arguments[3]!==void 0?arguments[3]:"unit",Re=le.map($e),st=Re[Ae],nt=re(Re,Ne,Ae,we);if(Re[Ae]=nt,pe===!1){var _e=Oe||0;Ae>0&&Re[Ae-1]!==st&&(Re[Ae]=Math.max(Re[Ae],Re[Ae-1]+_e)),Ae0;Ge-=1)for(var Ot=!0;q(Re[Ge]-Re[Ge-1])&&Ot;){var $t=oe(Re,-1,Ge-1);Re[Ge-1]=$t.value,Ot=$t.changed}for(var wt=Re.length-1;wt>0;wt-=1)for(var Pt=!0;q(Re[wt]-Re[wt-1])&&Pt;){var dt=oe(Re,-1,wt-1);Re[wt-1]=dt.value,Pt=dt.changed}for(var je=0;je=0?dt:!1},[dt,Wt]),nn=l.useMemo(function(){var ya=Object.keys(Tt||{});return ya.map(function(dr){var Br=Tt[dr],Ea={value:Number(dr)};return Br&&(0,d.Z)(Br)==="object"&&!l.isValidElement(Br)&&("label"in Br||"style"in Br)?(Ea.style=Br.style,Ea.label=Br.label):Ea.label=Br,Ea}).filter(function(dr){var Br=dr.label;return Br||typeof Br=="number"}).sort(function(dr,Br){return dr.value-Br.value})},[Tt]),fn=O(or,er,Wt,nn,wt,en),En=(0,n.Z)(fn,2),on=En[0],pt=En[1],gt=(0,m.Z)(_e,{value:nt}),Xt=(0,n.Z)(gt,2),rn=Xt[0],Jt=Xt[1],pn=l.useMemo(function(){var ya=rn==null?[]:Array.isArray(rn)?rn:[rn],dr=(0,n.Z)(ya,1),Br=dr[0],Ea=Br===void 0?or:Br,ca=rn===null?[]:[Ea];if(We){if(ca=(0,s.Z)(ya),Be||rn===void 0){var Kn=Be>=0?Be+1:2;for(ca=ca.slice(0,Kn);ca.length=0&&vn.current.focus(ya)}sn(null)},[kt]);var xn=l.useMemo(function(){return je&&Wt===null?!1:je},[je,Wt]),Nn=function(){Ot==null||Ot(Zn(mn.current))},gr=ne(Xn,Vn,pn,or,er,on,tr,Nn,pt),nr=(0,n.Z)(gr,4),Rn=nr[0],kr=nr[1],fr=nr[2],ua=nr[3],Pr=function(dr,Br){ua(dr,Br),Ge==null||Ge(Zn(mn.current))},Bn=Rn!==-1;l.useEffect(function(){if(!Bn){var ya=pn.lastIndexOf(kr);vn.current.focus(ya)}},[Bn]);var Cn=l.useMemo(function(){return(0,s.Z)(fr).sort(function(ya,dr){return ya-dr})},[fr]),wn=l.useMemo(function(){return We?[Cn[0],Cn[Cn.length-1]]:[or,Cn[0]]},[Cn,We,or]),ar=(0,n.Z)(wn,2),mr=ar[0],Qr=ar[1];l.useImperativeHandle(B,function(){return{focus:function(){vn.current.focus(0)},blur:function(){var dr=document,Br=dr.activeElement;Xn.current.contains(Br)&&(Br==null||Br.blur())}}}),l.useEffect(function(){q&&vn.current.focus(0)},[]);var qr=l.useMemo(function(){return{min:or,max:er,direction:Vn,disabled:$e,keyboard:oe,step:Wt,included:It,includedStart:mr,includedEnd:Qr,range:We,tabIndex:Ut,ariaLabelForHandle:qt,ariaLabelledByForHandle:un,ariaValueTextFormatterForHandle:Mn}},[or,er,Vn,$e,oe,Wt,It,mr,Qr,We,Ut,qt,un,Mn]);return l.createElement(x.Provider,{value:qr},l.createElement("div",{ref:Xn,className:t()(pe,Oe,(ge={},(0,o.Z)(ge,"".concat(pe,"-disabled"),$e),(0,o.Z)(ge,"".concat(pe,"-vertical"),lt),(0,o.Z)(ge,"".concat(pe,"-horizontal"),!lt),(0,o.Z)(ge,"".concat(pe,"-with-marks"),nn.length),ge)),style:xe,onMouseDown:ct},l.createElement("div",{className:"".concat(pe,"-rail"),style:Le}),l.createElement(ee,{prefixCls:pe,style:zt,values:Cn,startPoint:Kt,onStartMove:xn?Pr:null}),l.createElement(X,{prefixCls:pe,marks:nn,dots:Ye,style:Ce,activeStyle:Et}),l.createElement(G,{ref:vn,prefixCls:pe,style:Mt,values:fr,draggingIndex:Rn,onStartMove:Pr,onOffsetChange:tn,onFocus:ue,onBlur:Ee,handleRender:et}),l.createElement(Q,{prefixCls:pe,marks:nn,onClick:ut})))}),A=k,Y=A,de=e(61836),me=e(92428),ve=e(61834),be=e(21319),Pe=e(74820),qe=l.forwardRef((P,B)=>{const{open:ge}=P,ie=(0,l.useRef)(null),pe=(0,l.useRef)(null);function Oe(){ve.Z.cancel(pe.current),pe.current=null}function xe(){pe.current=(0,ve.Z)(()=>{var Se;(Se=ie.current)===null||Se===void 0||Se.forceAlign(),pe.current=null})}return l.useEffect(()=>(ge?xe():Oe(),Oe),[ge,P.title]),l.createElement(Pe.Z,Object.assign({ref:(0,be.sQ)(ie,B)},P))}),Xe=e(66671),mt=e(78330),Ct=e(52628),vt=e(22151);const Ht=P=>{const{componentCls:B,antCls:ge,controlSize:ie,dotSize:pe,marginFull:Oe,marginPart:xe,colorFillContentHover:Se}=P;return{[B]:Object.assign(Object.assign({},(0,mt.Wf)(P)),{position:"relative",height:ie,margin:`${xe}px ${Oe}px`,padding:0,cursor:"pointer",touchAction:"none",["&-vertical"]:{margin:`${Oe}px ${xe}px`},[`${B}-rail`]:{position:"absolute",backgroundColor:P.railBg,borderRadius:P.borderRadiusXS,transition:`background-color ${P.motionDurationMid}`},[`${B}-track`]:{position:"absolute",backgroundColor:P.trackBg,borderRadius:P.borderRadiusXS,transition:`background-color ${P.motionDurationMid}`},"&:hover":{[`${B}-rail`]:{backgroundColor:P.railHoverBg},[`${B}-track`]:{backgroundColor:P.trackHoverBg},[`${B}-dot`]:{borderColor:Se},[`${B}-handle::after`]:{boxShadow:`0 0 0 ${P.handleLineWidth}px ${P.colorPrimaryBorderHover}`},[`${B}-dot-active`]:{borderColor:P.dotActiveBorderColor}},[`${B}-handle`]:{position:"absolute",width:P.handleSize,height:P.handleSize,outline:"none",[`${B}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-P.handleLineWidth,insetBlockStart:-P.handleLineWidth,width:P.handleSize+P.handleLineWidth*2,height:P.handleSize+P.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:P.handleSize,height:P.handleSize,backgroundColor:P.colorBgElevated,boxShadow:`0 0 0 ${P.handleLineWidth}px ${P.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` + inset-inline-start ${P.motionDurationMid}, + inset-block-start ${P.motionDurationMid}, + width ${P.motionDurationMid}, + height ${P.motionDurationMid}, + box-shadow ${P.motionDurationMid} + `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((P.handleSizeHover-P.handleSize)/2+P.handleLineWidthHover),insetBlockStart:-((P.handleSizeHover-P.handleSize)/2+P.handleLineWidthHover),width:P.handleSizeHover+P.handleLineWidthHover*2,height:P.handleSizeHover+P.handleLineWidthHover*2},"&::after":{boxShadow:`0 0 0 ${P.handleLineWidthHover}px ${P.handleActiveColor}`,width:P.handleSizeHover,height:P.handleSizeHover,insetInlineStart:(P.handleSize-P.handleSizeHover)/2,insetBlockStart:(P.handleSize-P.handleSizeHover)/2}}},[`${B}-mark`]:{position:"absolute",fontSize:P.fontSize},[`${B}-mark-text`]:{position:"absolute",display:"inline-block",color:P.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:P.colorText}},[`${B}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${B}-dot`]:{position:"absolute",width:pe,height:pe,backgroundColor:P.colorBgElevated,border:`${P.handleLineWidth}px solid ${P.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${P.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:P.dotActiveBorderColor}},[`&${B}-disabled`]:{cursor:"not-allowed",[`${B}-rail`]:{backgroundColor:`${P.railBg} !important`},[`${B}-track`]:{backgroundColor:`${P.trackBgDisabled} !important`},[` + ${B}-dot + `]:{backgroundColor:P.colorBgElevated,borderColor:P.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${B}-handle::after`]:{backgroundColor:P.colorBgElevated,cursor:"not-allowed",width:P.handleSize,height:P.handleSize,boxShadow:`0 0 0 ${P.handleLineWidth}px ${new Xe.C(P.colorTextDisabled).onBackground(P.colorBgContainer).toHexShortString()}`,insetInlineStart:0,insetBlockStart:0},[` + ${B}-mark-text, + ${B}-dot + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${ge}-tooltip-inner`]:{minWidth:"unset"}})}},ke=(P,B)=>{const{componentCls:ge,railSize:ie,handleSize:pe,dotSize:Oe}=P,xe=B?"paddingBlock":"paddingInline",Se=B?"width":"height",$e=B?"height":"width",re=B?"insetBlockStart":"insetInlineStart",oe=B?"top":"insetInlineStart";return{[xe]:ie,[$e]:ie*3,[`${ge}-rail`]:{[Se]:"100%",[$e]:ie},[`${ge}-track`]:{[$e]:ie},[`${ge}-handle`]:{[re]:(ie*3-pe)/2},[`${ge}-mark`]:{insetInlineStart:0,top:0,[oe]:ie*3+(B?0:P.marginFull),[Se]:"100%"},[`${ge}-step`]:{insetInlineStart:0,top:0,[oe]:ie,[Se]:"100%",[$e]:ie},[`${ge}-dot`]:{position:"absolute",[re]:(ie-Oe)/2}}},Ve=P=>{const{componentCls:B,marginPartWithMark:ge}=P;return{[`${B}-horizontal`]:Object.assign(Object.assign({},ke(P,!0)),{[`&${B}-with-marks`]:{marginBottom:ge}})}},ot=P=>{const{componentCls:B}=P;return{[`${B}-vertical`]:Object.assign(Object.assign({},ke(P,!1)),{height:"100%"})}};var Ke=(0,Ct.Z)("Slider",P=>{const B=(0,vt.TS)(P,{marginPart:(P.controlHeight-P.controlSize)/2,marginFull:P.controlSize/2,marginPartWithMark:P.controlHeightLG-P.controlSize});return[Ht(B),Ve(B),ot(B)]},P=>{const ge=P.controlHeightLG/4,ie=P.controlHeightSM/2,pe=P.lineWidth+1,Oe=P.lineWidth+1*3;return{controlSize:ge,railSize:4,handleSize:ge,handleSizeHover:ie,dotSize:8,handleLineWidth:pe,handleLineWidthHover:Oe,railBg:P.colorFillTertiary,railHoverBg:P.colorFillSecondary,trackBg:P.colorPrimaryBorder,trackHoverBg:P.colorPrimaryBorderHover,handleColor:P.colorPrimaryBorder,handleActiveColor:P.colorPrimary,dotBorderColor:P.colorBorderSecondary,dotActiveBorderColor:P.colorPrimaryBorder,trackBgDisabled:P.colorBgContainerDisabled}}),he=function(P,B){var ge={};for(var ie in P)Object.prototype.hasOwnProperty.call(P,ie)&&B.indexOf(ie)<0&&(ge[ie]=P[ie]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,ie=Object.getOwnPropertySymbols(P);petypeof P=="number"?P.toString():"";var R=l.forwardRef((P,B)=>{const{prefixCls:ge,range:ie,className:pe,rootClassName:Oe,style:xe,disabled:Se,tooltipPrefixCls:$e,tipFormatter:re,tooltipVisible:oe,getTooltipPopupContainer:q,tooltipPlacement:ue}=P,Ee=he(P,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:le,slider:Ne,getPrefixCls:Ae,getPopupContainer:we}=l.useContext(de.E_),Re=l.useContext(me.Z),st=Se!=null?Se:Re,[nt,_e]=l.useState({}),We=(tt,lt)=>{_e(bt=>Object.assign(Object.assign({},bt),{[tt]:lt}))},Be=(tt,lt)=>tt||(lt?le==="rtl"?"left":"right":"top"),it=Ae("slider",ge),[Ge,Ot]=Ke(it),$t=t()(pe,Ne==null?void 0:Ne.className,Oe,{[`${it}-rtl`]:le==="rtl"},Ot);le==="rtl"&&!Ee.vertical&&(Ee.reverse=!Ee.reverse);const[wt,Pt]=l.useMemo(()=>ie?typeof ie=="object"?[!0,ie.draggableTrack]:[!0,!1]:[!1],[ie]),dt=(tt,lt)=>{var bt;const{index:It,dragging:Kt}=lt,{tooltip:zt={},vertical:Mt}=P,Le=Object.assign({},zt),{open:Ce,placement:Et,getPopupContainer:Tt,prefixCls:Ye,formatter:et}=Le;let _t;et||et===null?_t=et:re||re===null?_t=re:_t=J;const Ut=_t?nt[It]||Kt:!1,qt=(bt=Ce!=null?Ce:oe)!==null&&bt!==void 0?bt:Ce===void 0&&Ut,un=Object.assign(Object.assign({},tt.props),{onMouseEnter:()=>We(It,!0),onMouseLeave:()=>We(It,!1)}),Mn=Ae("tooltip",Ye!=null?Ye:$e);return l.createElement(qe,Object.assign({},Le,{prefixCls:Mn,title:_t?_t(lt.value):"",open:qt,placement:Be(Et!=null?Et:ue,Mt),key:It,overlayClassName:`${it}-tooltip`,getPopupContainer:Tt||q||we}),l.cloneElement(tt,un))},je=Object.assign(Object.assign({},Ne==null?void 0:Ne.style),xe);return Ge(l.createElement(Y,Object.assign({},Ee,{step:Ee.step,range:wt,draggableTrack:Pt,className:$t,style:je,disabled:st,ref:B,prefixCls:it,handleRender:dt})))})},43528:function(b,y,e){"use strict";e.d(y,{BR:function(){return M},ri:function(){return g}});var a=e(87608),t=e.n(a),o=e(42156),s=e(58757),n=e(61836),d=e(58785),l=e(21724),c=function(w,x){var z={};for(var U in w)Object.prototype.hasOwnProperty.call(w,U)&&x.indexOf(U)<0&&(z[U]=w[U]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,U=Object.getOwnPropertySymbols(w);T{const z=s.useContext(m),U=s.useMemo(()=>{if(!z)return"";const{compactDirection:T,isFirstItem:N,isLastItem:Z}=z,D=T==="vertical"?"-vertical-":"-";return t()(`${w}-compact${D}item`,{[`${w}-compact${D}first-item`]:N,[`${w}-compact${D}last-item`]:Z,[`${w}-compact${D}item-rtl`]:x==="rtl"})},[w,x,z]);return{compactSize:z==null?void 0:z.compactSize,compactDirection:z==null?void 0:z.compactDirection,compactItemClassnames:U}},M=w=>{let{children:x}=w;return s.createElement(m.Provider,{value:null},x)},h=w=>{var{children:x}=w,z=c(w,["children"]);return s.createElement(m.Provider,{value:z},x)},S=w=>{const{getPrefixCls:x,direction:z}=s.useContext(n.E_),{size:U,direction:T,block:N,prefixCls:Z,className:D,rootClassName:L,children:j}=w,G=c(w,["size","direction","block","prefixCls","className","rootClassName","children"]),W=(0,d.Z)(O=>U!=null?U:O),ne=x("space-compact",Z),[_,ee]=(0,l.Z)(ne),se=t()(ne,ee,{[`${ne}-rtl`]:z==="rtl",[`${ne}-block`]:N,[`${ne}-vertical`]:T==="vertical"},D,L),Q=s.useContext(m),C=(0,o.Z)(j),X=s.useMemo(()=>C.map((O,H)=>{const k=O&&O.key||`${ne}-item-${H}`;return s.createElement(h,{key:k,compactSize:W,compactDirection:T,isFirstItem:H===0&&(!Q||(Q==null?void 0:Q.isFirstItem)),isLastItem:H===C.length-1&&(!Q||(Q==null?void 0:Q.isLastItem))},O)}),[U,C,Q]);return C.length===0?null:_(s.createElement("div",Object.assign({className:se},G),X))};y.ZP=S},57414:function(b,y,e){"use strict";e.d(y,{Z:function(){return T}});var a=e(87608),t=e.n(a),o=e(42156),s=e(58757),n=e(69387),d=e(61836),l=e(43528);const c=s.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),m=c.Provider;var M=N=>{let{className:Z,direction:D,index:L,marginDirection:j,children:G,split:W,wrap:ne,style:_}=N;const{horizontalSize:ee,verticalSize:se,latestIndex:Q,supportFlexGap:C}=s.useContext(c);let X={};return C||(D==="vertical"?L{var D,L;const{getPrefixCls:j,space:G,direction:W}=s.useContext(d.E_),{size:ne=(G==null?void 0:G.size)||"small",align:_,className:ee,rootClassName:se,children:Q,direction:C="horizontal",prefixCls:X,split:O,style:H,wrap:k=!1,classNames:A,styles:Y}=N,de=S(N,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),me=(0,n.Z)(),[ve,be]=s.useMemo(()=>(Array.isArray(ne)?ne:[ne,ne]).map(he=>x(he)),[ne]),Pe=(0,o.Z)(Q,{keepEmpty:!0}),Je=_===void 0&&C==="horizontal"?"center":_,qe=j("space",X),[Xe,mt]=(0,h.Z)(qe),Ct=t()(qe,G==null?void 0:G.className,mt,`${qe}-${C}`,{[`${qe}-rtl`]:W==="rtl",[`${qe}-align-${Je}`]:Je},ee,se),vt=t()(`${qe}-item`,(D=A==null?void 0:A.item)!==null&&D!==void 0?D:(L=G==null?void 0:G.classNames)===null||L===void 0?void 0:L.item),Ht=W==="rtl"?"marginLeft":"marginRight";let ke=0;const Ve=Pe.map((he,J)=>{var V,R;he!=null&&(ke=J);const P=he&&he.key||`${vt}-${J}`;return s.createElement(M,{className:vt,key:P,direction:C,index:J,marginDirection:Ht,split:O,wrap:k,style:(V=Y==null?void 0:Y.item)!==null&&V!==void 0?V:(R=G==null?void 0:G.styles)===null||R===void 0?void 0:R.item},he)}),ot=s.useMemo(()=>({horizontalSize:ve,verticalSize:be,latestIndex:ke,supportFlexGap:me}),[ve,be,ke,me]);if(Pe.length===0)return null;const Ke={};return k&&(Ke.flexWrap="wrap",me||(Ke.marginBottom=-be)),me&&(Ke.columnGap=ve,Ke.rowGap=be),Xe(s.createElement("div",Object.assign({ref:Z,className:Ct,style:Object.assign(Object.assign(Object.assign({},Ke),G==null?void 0:G.style),H)},de),s.createElement(m,{value:ot},Ve)))});U.Compact=l.ZP;var T=U},21724:function(b,y,e){"use strict";e.d(y,{Z:function(){return n}});var a=e(52628),o=d=>{const{componentCls:l}=d;return{[l]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};const s=d=>{const{componentCls:l}=d;return{[l]:{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"}},[`${l}-item:empty`]:{display:"none"}}}};var n=(0,a.Z)("Space",d=>[s(d),o(d)],()=>({}),{resetStyle:!1})},79233:function(b,y,e){"use strict";e.d(y,{Z:function(){return j}});var a=e(87608),t=e.n(a),o=e(98186),s=e(58757),n=e(70989),d=e(37047),l=e(61836),c=e(57793),m=e(78330),g=e(52628),M=e(22151);const h=new c.E4("antSpinMove",{to:{opacity:1}}),S=new c.E4("antRotate",{to:{transform:"rotate(405deg)"}}),w=G=>({[`${G.componentCls}`]:Object.assign(Object.assign({},(0,m.Wf)(G)),{position:"absolute",display:"none",color:G.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${G.motionDurationSlow} ${G.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${G.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:G.contentHeight,[`${G.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-G.spinDotSize/2},[`${G.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(G.spinDotSize-G.fontSize)/2+2,textShadow:`0 1px 2px ${G.colorBgContainer}`,fontSize:G.fontSize},[`&${G.componentCls}-show-text ${G.componentCls}-dot`]:{marginTop:-(G.spinDotSize/2)-10},"&-sm":{[`${G.componentCls}-dot`]:{margin:-G.spinDotSizeSM/2},[`${G.componentCls}-text`]:{paddingTop:(G.spinDotSizeSM-G.fontSize)/2+2},[`&${G.componentCls}-show-text ${G.componentCls}-dot`]:{marginTop:-(G.spinDotSizeSM/2)-10}},"&-lg":{[`${G.componentCls}-dot`]:{margin:-(G.spinDotSizeLG/2)},[`${G.componentCls}-text`]:{paddingTop:(G.spinDotSizeLG-G.fontSize)/2+2},[`&${G.componentCls}-show-text ${G.componentCls}-dot`]:{marginTop:-(G.spinDotSizeLG/2)-10}}},[`${G.componentCls}-container`]:{position:"relative",transition:`opacity ${G.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:G.colorBgContainer,opacity:0,transition:`all ${G.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${G.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none",["&::after"]:{opacity:.4,pointerEvents:"auto"}}},["&-tip"]:{color:G.spinDotDefault},[`${G.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:G.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(G.spinDotSize-G.marginXXS/2)/2,height:(G.spinDotSize-G.marginXXS/2)/2,backgroundColor:G.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:h,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:S,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${G.componentCls}-dot`]:{fontSize:G.spinDotSizeSM,i:{width:(G.spinDotSizeSM-G.marginXXS/2)/2,height:(G.spinDotSizeSM-G.marginXXS/2)/2}},[`&-lg ${G.componentCls}-dot`]:{fontSize:G.spinDotSizeLG,i:{width:(G.spinDotSizeLG-G.marginXXS)/2,height:(G.spinDotSizeLG-G.marginXXS)/2}},[`&${G.componentCls}-show-text ${G.componentCls}-text`]:{display:"block"}})});var x=(0,g.Z)("Spin",G=>{const W=(0,M.TS)(G,{spinDotDefault:G.colorTextDescription,spinDotSize:G.controlHeightLG/2,spinDotSizeSM:G.controlHeightLG*.35,spinDotSizeLG:G.controlHeight});return[w(W)]},{contentHeight:400}),z=function(G,W){var ne={};for(var _ in G)Object.prototype.hasOwnProperty.call(G,_)&&W.indexOf(_)<0&&(ne[_]=G[_]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,_=Object.getOwnPropertySymbols(G);ee<_.length;ee++)W.indexOf(_[ee])<0&&Object.prototype.propertyIsEnumerable.call(G,_[ee])&&(ne[_[ee]]=G[_[ee]]);return ne};const U=null;let T=null;function N(G,W){const{indicator:ne}=W,_=`${G}-dot`;return ne===null?null:(0,d.l$)(ne)?(0,d.Tm)(ne,{className:t()(ne.props.className,_)}):(0,d.l$)(T)?(0,d.Tm)(T,{className:t()(T.props.className,_)}):s.createElement("span",{className:t()(_,`${G}-dot-spin`)},s.createElement("i",{className:`${G}-dot-item`,key:1}),s.createElement("i",{className:`${G}-dot-item`,key:2}),s.createElement("i",{className:`${G}-dot-item`,key:3}),s.createElement("i",{className:`${G}-dot-item`,key:4}))}function Z(G,W){return!!G&&!!W&&!isNaN(Number(W))}const D=G=>{const{spinPrefixCls:W,spinning:ne=!0,delay:_=0,className:ee,rootClassName:se,size:Q="default",tip:C,wrapperClassName:X,style:O,children:H,hashId:k}=G,A=z(G,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[Y,de]=s.useState(()=>ne&&!Z(ne,_));s.useEffect(()=>{if(ne){const Ct=(0,n.D)(_,()=>{de(!0)});return Ct(),()=>{var vt;(vt=Ct==null?void 0:Ct.cancel)===null||vt===void 0||vt.call(Ct)}}de(!1)},[_,ne]);const me=s.useMemo(()=>typeof H!="undefined",[H]),{direction:ve,spin:be}=s.useContext(l.E_),Pe=t()(W,be==null?void 0:be.className,{[`${W}-sm`]:Q==="small",[`${W}-lg`]:Q==="large",[`${W}-spinning`]:Y,[`${W}-show-text`]:!!C,[`${W}-rtl`]:ve==="rtl"},ee,se,k),Je=t()(`${W}-container`,{[`${W}-blur`]:Y}),qe=(0,o.Z)(A,["indicator","prefixCls"]),Xe=Object.assign(Object.assign({},be==null?void 0:be.style),O),mt=s.createElement("div",Object.assign({},qe,{style:Xe,className:Pe,"aria-live":"polite","aria-busy":Y}),N(W,G),C&&me?s.createElement("div",{className:`${W}-text`},C):null);return me?s.createElement("div",Object.assign({},qe,{className:t()(`${W}-nested-loading`,X,k)}),Y&&s.createElement("div",{key:"loading"},mt),s.createElement("div",{className:Je,key:"container"},H)):mt},L=G=>{const{prefixCls:W}=G,{getPrefixCls:ne}=s.useContext(l.E_),_=ne("spin",W),[ee,se]=x(_),Q=Object.assign(Object.assign({},G),{spinPrefixCls:_,hashId:se});return ee(s.createElement(D,Object.assign({},Q)))};L.setDefaultIndicator=G=>{T=G};var j=L},64493:function(b,y,e){"use strict";e.d(y,{c:function(){return o}});function a(s,n,d){const{focusElCls:l,focus:c,borderElCls:m}=d,g=m?"> *":"",M=["hover",c?"focus":null,"active"].filter(Boolean).map(h=>`&:${h} ${g}`).join(",");return{[`&-item:not(${n}-last-item)`]:{marginInlineEnd:-s.lineWidth},"&-item":Object.assign(Object.assign({[M]:{zIndex:2}},l?{[`&${l}`]:{zIndex:2}}:{}),{[`&[disabled] ${g}`]:{zIndex:0}})}}function t(s,n,d){const{borderElCls:l}=d,c=l?`> ${l}`:"";return{[`&-item:not(${n}-first-item):not(${n}-last-item) ${c}`]:{borderRadius:0},[`&-item:not(${n}-last-item)${n}-first-item`]:{[`& ${c}, &${s}-sm ${c}, &${s}-lg ${c}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${n}-first-item)${n}-last-item`]:{[`& ${c}, &${s}-sm ${c}, &${s}-lg ${c}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function o(s){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:d}=s,l=`${d}-compact`;return{[l]:Object.assign(Object.assign({},a(s,l,n)),t(d,l,n))}}},78330:function(b,y,e){"use strict";e.d(y,{Lx:function(){return n},Qy:function(){return c},Ro:function(){return o},Wf:function(){return t},dF:function(){return s},du:function(){return d},oN:function(){return l},vS:function(){return a}});const a={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},t=m=>({boxSizing:"border-box",margin:0,padding:0,color:m.colorText,fontSize:m.fontSize,lineHeight:m.lineHeight,listStyle:"none",fontFamily:m.fontFamily}),o=()=>({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"}}),s=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),n=m=>({a:{color:m.colorLink,textDecoration:m.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${m.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:m.colorLinkHover},"&:active":{color:m.colorLinkActive},[`&:active, + &:hover`]:{textDecoration:m.linkHoverDecoration,outline:0},"&:focus":{textDecoration:m.linkFocusDecoration,outline:0},"&[disabled]":{color:m.colorTextDisabled,cursor:"not-allowed"}}}),d=(m,g)=>{const{fontFamily:M,fontSize:h}=m,S=`[class^="${g}"], [class*=" ${g}"]`;return{[S]:{fontFamily:M,fontSize:h,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[S]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},l=m=>({outline:`${m.lineWidthFocus}px solid ${m.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),c=m=>({"&:focus-visible":Object.assign({},l(m))})},41086:function(b,y){"use strict";const e=a=>({[a.componentCls]:{[`${a.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${a.motionDurationMid} ${a.motionEaseInOut}, + opacity ${a.motionDurationMid} ${a.motionEaseInOut} !important`}},[`${a.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${a.motionDurationMid} ${a.motionEaseInOut}, + opacity ${a.motionDurationMid} ${a.motionEaseInOut} !important`}}});y.Z=e},7239:function(b,y,e){"use strict";e.d(y,{J$:function(){return n}});var a=e(57793),t=e(85745);const o=new a.E4("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),s=new a.E4("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),n=function(d){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:c}=d,m=`${c}-fade`,g=l?"&":"";return[(0,t.R)(m,o,s,d.motionDurationMid,l),{[` + ${g}${m}-enter, + ${g}${m}-appear + `]:{opacity:0,animationTimingFunction:"linear"},[`${g}${m}-leave`]:{animationTimingFunction:"linear"}}]}},85745:function(b,y,e){"use strict";e.d(y,{R:function(){return o}});const a=s=>({animationDuration:s,animationFillMode:"both"}),t=s=>({animationDuration:s,animationFillMode:"both"}),o=function(s,n,d,l){const m=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` + ${m}${s}-enter, + ${m}${s}-appear + `]:Object.assign(Object.assign({},a(l)),{animationPlayState:"paused"}),[`${m}${s}-leave`]:Object.assign(Object.assign({},t(l)),{animationPlayState:"paused"}),[` + ${m}${s}-enter${s}-enter-active, + ${m}${s}-appear${s}-appear-active + `]:{animationName:n,animationPlayState:"running"},[`${m}${s}-leave${s}-leave-active`]:{animationName:d,animationPlayState:"running",pointerEvents:"none"}}}},1546:function(b,y,e){"use strict";e.d(y,{Fm:function(){return h}});var a=e(57793),t=e(85745);const o=new a.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new a.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),n=new a.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new a.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),l=new a.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new a.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),m=new a.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),g=new a.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),M={"move-up":{inKeyframes:m,outKeyframes:g},"move-down":{inKeyframes:o,outKeyframes:s},"move-left":{inKeyframes:n,outKeyframes:d},"move-right":{inKeyframes:l,outKeyframes:c}},h=(S,w)=>{const{antCls:x}=S,z=`${x}-${w}`,{inKeyframes:U,outKeyframes:T}=M[w];return[(0,t.R)(z,U,T,S.motionDurationMid),{[` + ${z}-enter, + ${z}-appear + `]:{opacity:0,animationTimingFunction:S.motionEaseOutCirc},[`${z}-leave`]:{animationTimingFunction:S.motionEaseInOutCirc}}]}},1016:function(b,y,e){"use strict";e.d(y,{Qt:function(){return n},Uw:function(){return s},fJ:function(){return o},ly:function(){return d},oN:function(){return h}});var a=e(57793),t=e(85745);const o=new a.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),s=new a.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),n=new a.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),d=new a.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),l=new a.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),c=new a.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),m=new a.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),g=new a.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),M={"slide-up":{inKeyframes:o,outKeyframes:s},"slide-down":{inKeyframes:n,outKeyframes:d},"slide-left":{inKeyframes:l,outKeyframes:c},"slide-right":{inKeyframes:m,outKeyframes:g}},h=(S,w)=>{const{antCls:x}=S,z=`${x}-${w}`,{inKeyframes:U,outKeyframes:T}=M[w];return[(0,t.R)(z,U,T,S.motionDurationMid),{[` + ${z}-enter, + ${z}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:S.motionEaseOutQuint,["&-prepare"]:{transform:"scale(1)"}},[`${z}-leave`]:{animationTimingFunction:S.motionEaseInQuint}}]}},28107:function(b,y,e){"use strict";e.d(y,{_y:function(){return z},kr:function(){return o}});var a=e(57793),t=e(85745);const o=new a.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),s=new a.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),n=new a.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),d=new a.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),l=new a.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),c=new a.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),m=new a.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),g=new a.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),M=new a.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),h=new a.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),S=new a.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),w=new a.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),x={zoom:{inKeyframes:o,outKeyframes:s},"zoom-big":{inKeyframes:n,outKeyframes:d},"zoom-big-fast":{inKeyframes:n,outKeyframes:d},"zoom-left":{inKeyframes:m,outKeyframes:g},"zoom-right":{inKeyframes:M,outKeyframes:h},"zoom-up":{inKeyframes:l,outKeyframes:c},"zoom-down":{inKeyframes:S,outKeyframes:w}},z=(U,T)=>{const{antCls:N}=U,Z=`${N}-${T}`,{inKeyframes:D,outKeyframes:L}=x[T];return[(0,t.R)(Z,D,L,T==="zoom-big-fast"?U.motionDurationFast:U.motionDurationMid),{[` + ${Z}-enter, + ${Z}-appear + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:U.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${Z}-leave`]:{animationTimingFunction:U.motionEaseInOutCirc}}]}},24542:function(b,y,e){"use strict";e.d(y,{ZP:function(){return n},fS:function(){return o},qN:function(){return t}});var a=e(72944);const t=8;function o(d){const l=t,{contentRadius:c,limitVerticalRadius:m}=d,g=c>12?c+2:12;return{dropdownArrowOffset:g,dropdownArrowOffsetVertical:m?l:g}}function s(d,l){return d?l:{}}function n(d,l){const{componentCls:c,sizePopupArrow:m,borderRadiusXS:g,borderRadiusOuter:M,boxShadowPopoverArrow:h}=d,{colorBg:S,contentRadius:w=d.borderRadiusLG,limitVerticalRadius:x,arrowDistance:z=0,arrowPlacement:U={left:!0,right:!0,top:!0,bottom:!0}}=l,{dropdownArrowOffsetVertical:T,dropdownArrowOffset:N}=o({contentRadius:w,limitVerticalRadius:x});return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({[`${c}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,a.r)(m,g,M,S,h)),{"&:before":{background:S}})]},s(!!U.top,{[[`&-placement-top ${c}-arrow`,`&-placement-topLeft ${c}-arrow`,`&-placement-topRight ${c}-arrow`].join(",")]:{bottom:z,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${c}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${c}-arrow`]:{left:{_skip_check_:!0,value:N}},[`&-placement-topRight ${c}-arrow`]:{right:{_skip_check_:!0,value:N}}})),s(!!U.bottom,{[[`&-placement-bottom ${c}-arrow`,`&-placement-bottomLeft ${c}-arrow`,`&-placement-bottomRight ${c}-arrow`].join(",")]:{top:z,transform:"translateY(-100%)"},[`&-placement-bottom ${c}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${c}-arrow`]:{left:{_skip_check_:!0,value:N}},[`&-placement-bottomRight ${c}-arrow`]:{right:{_skip_check_:!0,value:N}}})),s(!!U.left,{[[`&-placement-left ${c}-arrow`,`&-placement-leftTop ${c}-arrow`,`&-placement-leftBottom ${c}-arrow`].join(",")]:{right:{_skip_check_:!0,value:z},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${c}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${c}-arrow`]:{top:T},[`&-placement-leftBottom ${c}-arrow`]:{bottom:T}})),s(!!U.right,{[[`&-placement-right ${c}-arrow`,`&-placement-rightTop ${c}-arrow`,`&-placement-rightBottom ${c}-arrow`].join(",")]:{left:{_skip_check_:!0,value:z},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${c}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${c}-arrow`]:{top:T},[`&-placement-rightBottom ${c}-arrow`]:{bottom:T}}))}}},72944:function(b,y,e){"use strict";e.d(y,{r:function(){return a}});const a=(t,o,s,n,d)=>{const l=t/2,c=0,m=l,g=s*1/Math.sqrt(2),M=l-s*(1-1/Math.sqrt(2)),h=l-o*(1/Math.sqrt(2)),S=s*(Math.sqrt(2)-1)+o*(1/Math.sqrt(2)),w=2*l-h,x=S,z=2*l-g,U=M,T=2*l-c,N=m,Z=l*Math.sqrt(2)+s*(Math.sqrt(2)-2),D=s*(Math.sqrt(2)-1);return{pointerEvents:"none",width:t,height:t,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:t,height:t/2,background:n,clipPath:{_multi_value_:!0,value:[`polygon(${D}px 100%, 50% ${D}px, ${2*l-D}px 100%, ${D}px 100%)`,`path('M ${c} ${m} A ${s} ${s} 0 0 0 ${g} ${M} L ${h} ${S} A ${o} ${o} 0 0 1 ${w} ${x} L ${z} ${U} A ${s} ${s} 0 0 0 ${T} ${N} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:Z,height:Z,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${o}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:d,zIndex:0,background:"transparent"}}}},16951:function(b,y,e){"use strict";e.d(y,{Z:function(){return Mt}});var a=e(52495),t=e(18974),o=e(12673),s=e(87608),n=e.n(s),d=e(60698),l=e(37734),c=e(57370),m=e(28314),g=e(38790),M=e(47075),h=e(58757),S=e(21618),w=e(60409),x=e(17598),z=(0,h.createContext)(null),U=h.forwardRef(function(Le,Ce){var Et=Le.prefixCls,Tt=Le.className,Ye=Le.style,et=Le.id,_t=Le.active,Ut=Le.tabKey,qt=Le.children;return h.createElement("div",{id:et&&"".concat(et,"-panel-").concat(Ut),role:"tabpanel",tabIndex:_t?0:-1,"aria-labelledby":et&&"".concat(et,"-tab-").concat(Ut),"aria-hidden":!_t,style:Ye,className:n()(Et,_t&&"".concat(Et,"-active"),Tt),ref:Ce},qt)}),T=U,N=["key","forceRender","style","className"];function Z(Le){var Ce=Le.id,Et=Le.activeKey,Tt=Le.animated,Ye=Le.tabPosition,et=Le.destroyInactiveTabPane,_t=h.useContext(z),Ut=_t.prefixCls,qt=_t.tabs,un=Tt.tabPane,Mn="".concat(Ut,"-tabpane");return h.createElement("div",{className:n()("".concat(Ut,"-content-holder"))},h.createElement("div",{className:n()("".concat(Ut,"-content"),"".concat(Ut,"-content-").concat(Ye),(0,l.Z)({},"".concat(Ut,"-content-animated"),un))},qt.map(function(vn){var Xn=vn.key,Vn=vn.forceRender,or=vn.style,er=vn.className,Wt=(0,M.Z)(vn,N),en=Xn===Et;return h.createElement(x.ZP,(0,d.Z)({key:Xn,visible:en,forceRender:Vn,removeOnLeave:!!et,leavedClassName:"".concat(Mn,"-hidden")},Tt.tabPaneMotion),function(nn,fn){var En=nn.style,on=nn.className;return h.createElement(T,(0,d.Z)({},Wt,{prefixCls:Mn,id:Ce,tabKey:Xn,animated:un,active:en,style:(0,c.Z)((0,c.Z)({},or),En),className:n()(er,on),ref:fn}))})})))}var D=e(29140),L=e(19425),j=e(51729),G=e(61834),W=e(21319),ne={width:0,height:0,left:0,top:0};function _(Le,Ce,Et){return(0,h.useMemo)(function(){for(var Tt,Ye=new Map,et=Ce.get((Tt=Le[0])===null||Tt===void 0?void 0:Tt.key)||ne,_t=et.left+et.width,Ut=0;Uttr?(mn=Jt,pt.current="x"):(mn=pn,pt.current="y"),Ce(-mn,-mn)&&rn.preventDefault()}var Xt=(0,h.useRef)(null);Xt.current={onTouchStart:fn,onTouchMove:En,onTouchEnd:on,onWheel:gt},h.useEffect(function(){function rn(Zn){Xt.current.onTouchStart(Zn)}function Jt(Zn){Xt.current.onTouchMove(Zn)}function pn(Zn){Xt.current.onTouchEnd(Zn)}function mn(Zn){Xt.current.onWheel(Zn)}return document.addEventListener("touchmove",Jt,{passive:!1}),document.addEventListener("touchend",pn,{passive:!1}),Le.current.addEventListener("touchstart",rn,{passive:!1}),Le.current.addEventListener("wheel",mn),function(){document.removeEventListener("touchmove",Jt),document.removeEventListener("touchend",pn)}},[])}var H=e(81334);function k(Le){var Ce=(0,h.useState)(0),Et=(0,m.Z)(Ce,2),Tt=Et[0],Ye=Et[1],et=(0,h.useRef)(0),_t=(0,h.useRef)();return _t.current=Le,(0,H.o)(function(){var Ut;(Ut=_t.current)===null||Ut===void 0||Ut.call(_t)},[Tt]),function(){et.current===Tt&&(et.current+=1,Ye(et.current))}}function A(Le){var Ce=(0,h.useRef)([]),Et=(0,h.useState)({}),Tt=(0,m.Z)(Et,2),Ye=Tt[1],et=(0,h.useRef)(typeof Le=="function"?Le():Le),_t=k(function(){var qt=et.current;Ce.current.forEach(function(un){qt=un(qt)}),Ce.current=[],et.current=qt,Ye({})});function Ut(qt){Ce.current.push(qt),_t()}return[et.current,Ut]}var Y={width:0,height:0,left:0,top:0,right:0};function de(Le,Ce,Et,Tt,Ye,et,_t){var Ut=_t.tabs,qt=_t.tabPosition,un=_t.rtl,Mn,vn,Xn;return["top","bottom"].includes(qt)?(Mn="width",vn=un?"right":"left",Xn=Math.abs(Et)):(Mn="height",vn="top",Xn=-Et),(0,h.useMemo)(function(){if(!Ut.length)return[0,0];for(var Vn=Ut.length,or=Vn,er=0;erXn+Ce){or=er-1;break}}for(var en=0,nn=Vn-1;nn>=0;nn-=1){var fn=Le.get(Ut[nn].key)||Y;if(fn[vn]=or?[0,0]:[en,or]},[Le,Ce,Tt,Ye,et,Xn,qt,Ut.map(function(Vn){return Vn.key}).join("_"),un])}function me(Le){var Ce;return Le instanceof Map?(Ce={},Le.forEach(function(Et,Tt){Ce[Tt]=Et})):Ce=Le,JSON.stringify(Ce)}var ve="TABS_DQ";function be(Le){return String(Le).replace(/"/g,ve)}function Pe(Le,Ce,Et,Tt){return!(!Et||Tt||Le===!1||Le===void 0&&(Ce===!1||Ce===null))}function Je(Le,Ce){var Et=Le.prefixCls,Tt=Le.editable,Ye=Le.locale,et=Le.style;return!Tt||Tt.showAdd===!1?null:h.createElement("button",{ref:Ce,type:"button",className:"".concat(Et,"-nav-add"),style:et,"aria-label":(Ye==null?void 0:Ye.addAriaLabel)||"Add tab",onClick:function(Ut){Tt.onEdit("add",{event:Ut})}},Tt.addIcon||"+")}var qe=h.forwardRef(Je),Xe=h.forwardRef(function(Le,Ce){var Et=Le.position,Tt=Le.prefixCls,Ye=Le.extra;if(!Ye)return null;var et,_t={};return(0,g.Z)(Ye)==="object"&&!h.isValidElement(Ye)?_t=Ye:_t.right=Ye,Et==="right"&&(et=_t.right),Et==="left"&&(et=_t.left),et?h.createElement("div",{className:"".concat(Tt,"-extra-content"),ref:Ce},et):null}),mt=Xe,Ct=e(4933),vt=e(87854),Ht=e(29639);function ke(Le,Ce){var Et=Le.prefixCls,Tt=Le.id,Ye=Le.tabs,et=Le.locale,_t=Le.mobile,Ut=Le.moreIcon,qt=Ut===void 0?"More":Ut,un=Le.moreTransitionName,Mn=Le.style,vn=Le.className,Xn=Le.editable,Vn=Le.tabBarGutter,or=Le.rtl,er=Le.removeAriaLabel,Wt=Le.onTabClick,en=Le.getPopupContainer,nn=Le.popupClassName,fn=(0,h.useState)(!1),En=(0,m.Z)(fn,2),on=En[0],pt=En[1],gt=(0,h.useState)(null),Xt=(0,m.Z)(gt,2),rn=Xt[0],Jt=Xt[1],pn="".concat(Tt,"-more-popup"),mn="".concat(Et,"-dropdown"),Zn=rn!==null?"".concat(pn,"-").concat(rn):null,tr=et==null?void 0:et.dropdownAriaLabel;function ut(xn,Nn){xn.preventDefault(),xn.stopPropagation(),Xn.onEdit("remove",{key:Nn,event:xn})}var ct=h.createElement(vt.ZP,{onClick:function(Nn){var gr=Nn.key,nr=Nn.domEvent;Wt(gr,nr),pt(!1)},prefixCls:"".concat(mn,"-menu"),id:pn,tabIndex:-1,role:"listbox","aria-activedescendant":Zn,selectedKeys:[rn],"aria-label":tr!==void 0?tr:"expanded dropdown"},Ye.map(function(xn){var Nn=xn.closable,gr=xn.disabled,nr=xn.closeIcon,Rn=xn.key,kr=xn.label,fr=Pe(Nn,nr,Xn,gr);return h.createElement(vt.sN,{key:Rn,id:"".concat(pn,"-").concat(Rn),role:"option","aria-controls":Tt&&"".concat(Tt,"-panel-").concat(Rn),disabled:gr},h.createElement("span",null,kr),fr&&h.createElement("button",{type:"button","aria-label":er||"remove",tabIndex:0,className:"".concat(mn,"-menu-item-remove"),onClick:function(Pr){Pr.stopPropagation(),ut(Pr,Rn)}},nr||Xn.removeIcon||"\xD7"))}));function Dt(xn){for(var Nn=Ye.filter(function(fr){return!fr.disabled}),gr=Nn.findIndex(function(fr){return fr.key===rn})||0,nr=Nn.length,Rn=0;Rnta?"left":"right"})}),Zn=(0,m.Z)(mn,2),tr=Zn[0],ut=Zn[1],ct=ee(0,function(Hr,ta){!pn&&fn&&fn({direction:Hr>ta?"top":"bottom"})}),Dt=(0,m.Z)(ct,2),xt=Dt[0],kt=Dt[1],sn=(0,h.useState)([0,0]),tn=(0,m.Z)(sn,2),xn=tn[0],Nn=tn[1],gr=(0,h.useState)([0,0]),nr=(0,m.Z)(gr,2),Rn=nr[0],kr=nr[1],fr=(0,h.useState)([0,0]),ua=(0,m.Z)(fr,2),Pr=ua[0],Bn=ua[1],Cn=(0,h.useState)([0,0]),wn=(0,m.Z)(Cn,2),ar=wn[0],mr=wn[1],Qr=A(new Map),qr=(0,m.Z)(Qr,2),ya=qr[0],dr=qr[1],Br=_(et,ya,Rn[0]),Ea=J(xn,pn),ca=J(Rn,pn),Kn=J(Pr,pn),zn=J(ar,pn),vr=Eaan?an:Hr}var ao=(0,h.useRef)(),Mo=(0,h.useState)(),Ua=(0,m.Z)(Mo,2),Ha=Ua[0],eo=Ua[1];function jo(){eo(Date.now())}function Wo(){window.clearTimeout(ao.current)}O(gt,function(Hr,ta){function sr(zr,va){zr(function(Sr){var xa=hn(Sr+va);return xa})}return vr?(pn?sr(ut,Hr):sr(kt,ta),Wo(),jo(),!0):!1}),(0,h.useEffect)(function(){return Wo(),Ha&&(ao.current=window.setTimeout(function(){eo(0)},100)),Wo},[Ha]);var Eo=de(Br,ra,pn?tr:xt,ca,Kn,zn,(0,c.Z)((0,c.Z)({},Le),{},{tabs:et})),ft=(0,m.Z)(Eo,2),Nt=ft[0],Ie=ft[1],cn=(0,j.Z)(function(){var Hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Mn,ta=Br.get(Hr)||{width:0,height:0,left:0,right:0,top:0};if(pn){var sr=tr;vn?ta.righttr+ra&&(sr=ta.right+ta.width-ra):ta.left<-tr?sr=-ta.left:ta.left+ta.width>-tr+ra&&(sr=-(ta.left+ta.width-ra)),kt(0),ut(hn(sr))}else{var zr=xt;ta.top<-xt?zr=-ta.top:ta.top+ta.height>-xt+ra&&(zr=-(ta.top+ta.height-ra)),ut(0),kt(hn(zr))}}),dn={};er==="top"||er==="bottom"?dn[vn?"marginRight":"marginLeft"]=Wt:dn.marginTop=Wt;var _n=et.map(function(Hr,ta){var sr=Hr.key;return h.createElement(Ke,{id:qt,prefixCls:Ye,key:sr,tab:Hr,style:ta===0?void 0:dn,closable:Hr.closable,editable:Vn,active:sr===Mn,renderWrapper:en,removeAriaLabel:or==null?void 0:or.removeAriaLabel,onClick:function(va){nn(sr,va)},onFocus:function(){cn(sr),jo(),gt.current&&(vn||(gt.current.scrollLeft=0),gt.current.scrollTop=0)}})}),Tn=function(){return dr(function(){var ta=new Map;return et.forEach(function(sr){var zr,va=sr.key,Sr=(zr=Xt.current)===null||zr===void 0?void 0:zr.querySelector('[data-node-key="'.concat(be(va),'"]'));Sr&&ta.set(va,{width:Sr.offsetWidth,height:Sr.offsetHeight,left:Sr.offsetLeft,top:Sr.offsetTop})}),ta})};(0,h.useEffect)(function(){Tn()},[et.map(function(Hr){return Hr.key}).join("_")]);var yr=k(function(){var Hr=he(En),ta=he(on),sr=he(pt);Nn([Hr[0]-ta[0]-sr[0],Hr[1]-ta[1]-sr[1]]);var zr=he(Jt);Bn(zr);var va=he(rn);mr(va);var Sr=he(Xt);kr([Sr[0]-zr[0],Sr[1]-zr[1]]),Tn()}),Wr=et.slice(0,Nt),Da=et.slice(Ie+1),la=[].concat((0,D.Z)(Wr),(0,D.Z)(Da)),ea=(0,h.useState)(),oa=(0,m.Z)(ea,2),Ir=oa[0],$r=oa[1],pa=Br.get(Mn),La=(0,h.useRef)();function lo(){G.Z.cancel(La.current)}(0,h.useEffect)(function(){var Hr={};return pa&&(pn?(vn?Hr.right=pa.right:Hr.left=pa.left,Hr.width=pa.width):(Hr.top=pa.top,Hr.height=pa.height)),lo(),La.current=(0,G.Z)(function(){$r(Hr)}),lo},[pa,pn,vn]),(0,h.useEffect)(function(){cn()},[Mn,jt,an,me(pa),me(Br),pn]),(0,h.useEffect)(function(){yr()},[vn]);var Qa=!!la.length,Gt="".concat(Ye,"-nav-wrap"),yn,jn,Gn,br;return pn?vn?(jn=tr>0,yn=tr!==an):(yn=tr<0,jn=tr!==jt):(Gn=xt<0,br=xt!==jt),h.createElement(L.Z,{onResize:yr},h.createElement("div",{ref:(0,W.x1)(Ce,En),role:"tablist",className:n()("".concat(Ye,"-nav"),_t),style:Ut,onKeyDown:function(){jo()}},h.createElement(mt,{ref:on,position:"left",extra:Xn,prefixCls:Ye}),h.createElement("div",{className:n()(Gt,(Et={},(0,l.Z)(Et,"".concat(Gt,"-ping-left"),yn),(0,l.Z)(Et,"".concat(Gt,"-ping-right"),jn),(0,l.Z)(Et,"".concat(Gt,"-ping-top"),Gn),(0,l.Z)(Et,"".concat(Gt,"-ping-bottom"),br),Et)),ref:gt},h.createElement(L.Z,{onResize:yr},h.createElement("div",{ref:Xt,className:"".concat(Ye,"-nav-list"),style:{transform:"translate(".concat(tr,"px, ").concat(xt,"px)"),transition:Ha?"none":void 0}},_n,h.createElement(qe,{ref:Jt,prefixCls:Ye,locale:or,editable:Vn,style:(0,c.Z)((0,c.Z)({},_n.length===0?void 0:dn),{},{visibility:Qa?"hidden":null})}),h.createElement("div",{className:n()("".concat(Ye,"-ink-bar"),(0,l.Z)({},"".concat(Ye,"-ink-bar-animated"),un.inkBar)),style:Ir})))),h.createElement(Ve,(0,d.Z)({},Le,{removeAriaLabel:or==null?void 0:or.removeAriaLabel,ref:rn,prefixCls:Ye,tabs:la,className:!Qa&&xr,tabMoving:!!Ha})),h.createElement(mt,{ref:pt,position:"right",extra:Xn,prefixCls:Ye})))}var R=h.forwardRef(V),P=["renderTabBar"],B=["label","key"];function ge(Le){var Ce=Le.renderTabBar,Et=(0,M.Z)(Le,P),Tt=h.useContext(z),Ye=Tt.tabs;if(Ce){var et=(0,c.Z)((0,c.Z)({},Et),{},{panes:Ye.map(function(_t){var Ut=_t.label,qt=_t.key,un=(0,M.Z)(_t,B);return h.createElement(T,(0,d.Z)({tab:Ut,key:qt,tabKey:qt},un))})});return Ce(et,R)}return h.createElement(R,Et)}var ie=e(75556);function pe(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Ce;return Le===!1?Ce={inkBar:!1,tabPane:!1}:Le===!0?Ce={inkBar:!0,tabPane:!1}:Ce=(0,c.Z)({inkBar:!0},(0,g.Z)(Le)==="object"?Le:{}),Ce.tabPaneMotion&&Ce.tabPane===void 0&&(Ce.tabPane=!0),!Ce.tabPaneMotion&&Ce.tabPane&&(Ce.tabPane=!1),Ce}var Oe=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],xe=0;function Se(Le,Ce){var Et,Tt=Le.id,Ye=Le.prefixCls,et=Ye===void 0?"rc-tabs":Ye,_t=Le.className,Ut=Le.items,qt=Le.direction,un=Le.activeKey,Mn=Le.defaultActiveKey,vn=Le.editable,Xn=Le.animated,Vn=Le.tabPosition,or=Vn===void 0?"top":Vn,er=Le.tabBarGutter,Wt=Le.tabBarStyle,en=Le.tabBarExtraContent,nn=Le.locale,fn=Le.moreIcon,En=Le.moreTransitionName,on=Le.destroyInactiveTabPane,pt=Le.renderTabBar,gt=Le.onChange,Xt=Le.onTabClick,rn=Le.onTabScroll,Jt=Le.getPopupContainer,pn=Le.popupClassName,mn=(0,M.Z)(Le,Oe),Zn=h.useMemo(function(){return(Ut||[]).filter(function(Qr){return Qr&&(0,g.Z)(Qr)==="object"&&"key"in Qr})},[Ut]),tr=qt==="rtl",ut=pe(Xn),ct=(0,h.useState)(!1),Dt=(0,m.Z)(ct,2),xt=Dt[0],kt=Dt[1];(0,h.useEffect)(function(){kt((0,S.Z)())},[]);var sn=(0,w.Z)(function(){var Qr;return(Qr=Zn[0])===null||Qr===void 0?void 0:Qr.key},{value:un,defaultValue:Mn}),tn=(0,m.Z)(sn,2),xn=tn[0],Nn=tn[1],gr=(0,h.useState)(function(){return Zn.findIndex(function(Qr){return Qr.key===xn})}),nr=(0,m.Z)(gr,2),Rn=nr[0],kr=nr[1];(0,h.useEffect)(function(){var Qr=Zn.findIndex(function(ya){return ya.key===xn});if(Qr===-1){var qr;Qr=Math.max(0,Math.min(Rn,Zn.length-1)),Nn((qr=Zn[Qr])===null||qr===void 0?void 0:qr.key)}kr(Qr)},[Zn.map(function(Qr){return Qr.key}).join("_"),xn,Rn]);var fr=(0,w.Z)(null,{value:Tt}),ua=(0,m.Z)(fr,2),Pr=ua[0],Bn=ua[1];(0,h.useEffect)(function(){Tt||(Bn("rc-tabs-".concat(xe)),xe+=1)},[]);function Cn(Qr,qr){Xt==null||Xt(Qr,qr);var ya=Qr!==xn;Nn(Qr),ya&&(gt==null||gt(Qr))}var wn={id:Pr,activeKey:xn,animated:ut,tabPosition:or,rtl:tr,mobile:xt},ar,mr=(0,c.Z)((0,c.Z)({},wn),{},{editable:vn,locale:nn,moreIcon:fn,moreTransitionName:En,tabBarGutter:er,onTabClick:Cn,onTabScroll:rn,extra:en,style:Wt,panes:null,getPopupContainer:Jt,popupClassName:pn});return h.createElement(z.Provider,{value:{tabs:Zn,prefixCls:et}},h.createElement("div",(0,d.Z)({ref:Ce,id:Tt,className:n()(et,"".concat(et,"-").concat(or),(Et={},(0,l.Z)(Et,"".concat(et,"-mobile"),xt),(0,l.Z)(Et,"".concat(et,"-editable"),vn),(0,l.Z)(Et,"".concat(et,"-rtl"),tr),Et),_t)},mn),ar,h.createElement(ge,(0,d.Z)({},mr,{renderTabBar:pt})),h.createElement(Z,(0,d.Z)({destroyInactiveTabPane:on},wn,{animated:ut}))))}var $e=h.forwardRef(Se),re=$e,oe=re,q=e(61836),ue=e(58785),le=()=>null,Ne=e(90881);const Ae={motionAppear:!1,motionEnter:!0,motionLeave:!0};function we(Le){let Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Et;return Ce===!1?Et={inkBar:!1,tabPane:!1}:Ce===!0?Et={inkBar:!0,tabPane:!0}:Et=Object.assign({inkBar:!0},typeof Ce=="object"?Ce:{}),Et.tabPane&&(Et.tabPaneMotion=Object.assign(Object.assign({},Ae),{motionName:(0,Ne.m)(Le,"switch")})),Et}var Re=e(42156),st=function(Le,Ce){var Et={};for(var Tt in Le)Object.prototype.hasOwnProperty.call(Le,Tt)&&Ce.indexOf(Tt)<0&&(Et[Tt]=Le[Tt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Tt=Object.getOwnPropertySymbols(Le);YeCe)}function _e(Le,Ce){if(Le)return Le;const Et=(0,Re.Z)(Ce).map(Tt=>{if(h.isValidElement(Tt)){const{key:Ye,props:et}=Tt,_t=et||{},{tab:Ut}=_t,qt=st(_t,["tab"]);return Object.assign(Object.assign({key:String(Ye)},qt),{label:Ut})}return null});return nt(Et)}var We=e(78330),Be=e(52628),it=e(22151),Ge=e(1016),$t=Le=>{const{componentCls:Ce,motionDurationSlow:Et}=Le;return[{[Ce]:{[`${Ce}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Et}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Et}`}}}}},[(0,Ge.oN)(Le,"slide-up"),(0,Ge.oN)(Le,"slide-down")]]};const wt=Le=>{const{componentCls:Ce,tabsCardPadding:Et,cardBg:Tt,cardGutter:Ye,colorBorderSecondary:et,itemSelectedColor:_t}=Le;return{[`${Ce}-card`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{[`${Ce}-tab`]:{margin:0,padding:Et,background:Tt,border:`${Le.lineWidth}px ${Le.lineType} ${et}`,transition:`all ${Le.motionDurationSlow} ${Le.motionEaseInOut}`},[`${Ce}-tab-active`]:{color:_t,background:Le.colorBgContainer},[`${Ce}-ink-bar`]:{visibility:"hidden"}},[`&${Ce}-top, &${Ce}-bottom`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{[`${Ce}-tab + ${Ce}-tab`]:{marginLeft:{_skip_check_:!0,value:`${Ye}px`}}}},[`&${Ce}-top`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{[`${Ce}-tab`]:{borderRadius:`${Le.borderRadiusLG}px ${Le.borderRadiusLG}px 0 0`},[`${Ce}-tab-active`]:{borderBottomColor:Le.colorBgContainer}}},[`&${Ce}-bottom`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{[`${Ce}-tab`]:{borderRadius:`0 0 ${Le.borderRadiusLG}px ${Le.borderRadiusLG}px`},[`${Ce}-tab-active`]:{borderTopColor:Le.colorBgContainer}}},[`&${Ce}-left, &${Ce}-right`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{[`${Ce}-tab + ${Ce}-tab`]:{marginTop:`${Ye}px`}}},[`&${Ce}-left`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{[`${Ce}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Le.borderRadiusLG}px 0 0 ${Le.borderRadiusLG}px`}},[`${Ce}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:Le.colorBgContainer}}}},[`&${Ce}-right`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{[`${Ce}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Le.borderRadiusLG}px ${Le.borderRadiusLG}px 0`}},[`${Ce}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:Le.colorBgContainer}}}}}}},Pt=Le=>{const{componentCls:Ce,itemHoverColor:Et,dropdownEdgeChildVerticalPadding:Tt}=Le;return{[`${Ce}-dropdown`]:Object.assign(Object.assign({},(0,We.Wf)(Le)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Le.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Ce}-dropdown-menu`]:{maxHeight:Le.tabsDropdownHeight,margin:0,padding:`${Tt}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:Le.colorBgContainer,backgroundClip:"padding-box",borderRadius:Le.borderRadiusLG,outline:"none",boxShadow:Le.boxShadowSecondary,"&-item":Object.assign(Object.assign({},We.vS),{display:"flex",alignItems:"center",minWidth:Le.tabsDropdownWidth,margin:0,padding:`${Le.paddingXXS}px ${Le.paddingSM}px`,color:Le.colorText,fontWeight:"normal",fontSize:Le.fontSize,lineHeight:Le.lineHeight,cursor:"pointer",transition:`all ${Le.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:Le.marginSM},color:Le.colorTextDescription,fontSize:Le.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:Et}},"&:hover":{background:Le.controlItemBgHover},"&-disabled":{"&, &:hover":{color:Le.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},dt=Le=>{const{componentCls:Ce,margin:Et,colorBorderSecondary:Tt,horizontalMargin:Ye,verticalItemPadding:et,verticalItemMargin:_t}=Le;return{[`${Ce}-top, ${Ce}-bottom`]:{flexDirection:"column",[`> ${Ce}-nav, > div > ${Ce}-nav`]:{margin:Ye,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Le.lineWidth}px ${Le.lineType} ${Tt}`,content:"''"},[`${Ce}-ink-bar`]:{height:Le.lineWidthBold,"&-animated":{transition:`width ${Le.motionDurationSlow}, left ${Le.motionDurationSlow}, + right ${Le.motionDurationSlow}`}},[`${Ce}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:Le.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:Le.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:Le.boxShadowTabsOverflowRight},[`&${Ce}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Ce}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Ce}-top`]:{[`> ${Ce}-nav, + > div > ${Ce}-nav`]:{"&::before":{bottom:0},[`${Ce}-ink-bar`]:{bottom:0}}},[`${Ce}-bottom`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{order:1,marginTop:`${Et}px`,marginBottom:0,"&::before":{top:0},[`${Ce}-ink-bar`]:{top:0}},[`> ${Ce}-content-holder, > div > ${Ce}-content-holder`]:{order:0}},[`${Ce}-left, ${Ce}-right`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{flexDirection:"column",minWidth:Le.controlHeight*1.25,[`${Ce}-tab`]:{padding:et,textAlign:"center"},[`${Ce}-tab + ${Ce}-tab`]:{margin:_t},[`${Ce}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:Le.controlHeight},"&::before":{top:0,boxShadow:Le.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:Le.boxShadowTabsOverflowBottom},[`&${Ce}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Ce}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Ce}-ink-bar`]:{width:Le.lineWidthBold,"&-animated":{transition:`height ${Le.motionDurationSlow}, top ${Le.motionDurationSlow}`}},[`${Ce}-nav-list, ${Ce}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Ce}-left`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{[`${Ce}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Ce}-content-holder, > div > ${Ce}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${Le.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${Le.lineWidth}px ${Le.lineType} ${Le.colorBorder}`},[`> ${Ce}-content > ${Ce}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:Le.paddingLG}}}},[`${Ce}-right`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{order:1,[`${Ce}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Ce}-content-holder, > div > ${Ce}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-Le.lineWidth},borderRight:{_skip_check_:!0,value:`${Le.lineWidth}px ${Le.lineType} ${Le.colorBorder}`},[`> ${Ce}-content > ${Ce}-tabpane`]:{paddingRight:{_skip_check_:!0,value:Le.paddingLG}}}}}},je=Le=>{const{componentCls:Ce,cardPaddingSM:Et,cardPaddingLG:Tt,horizontalItemPaddingSM:Ye,horizontalItemPaddingLG:et}=Le;return{[Ce]:{"&-small":{[`> ${Ce}-nav`]:{[`${Ce}-tab`]:{padding:Ye,fontSize:Le.titleFontSizeSM}}},"&-large":{[`> ${Ce}-nav`]:{[`${Ce}-tab`]:{padding:et,fontSize:Le.titleFontSizeLG}}}},[`${Ce}-card`]:{[`&${Ce}-small`]:{[`> ${Ce}-nav`]:{[`${Ce}-tab`]:{padding:Et}},[`&${Ce}-bottom`]:{[`> ${Ce}-nav ${Ce}-tab`]:{borderRadius:`0 0 ${Le.borderRadius}px ${Le.borderRadius}px`}},[`&${Ce}-top`]:{[`> ${Ce}-nav ${Ce}-tab`]:{borderRadius:`${Le.borderRadius}px ${Le.borderRadius}px 0 0`}},[`&${Ce}-right`]:{[`> ${Ce}-nav ${Ce}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Le.borderRadius}px ${Le.borderRadius}px 0`}}},[`&${Ce}-left`]:{[`> ${Ce}-nav ${Ce}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Le.borderRadius}px 0 0 ${Le.borderRadius}px`}}}},[`&${Ce}-large`]:{[`> ${Ce}-nav`]:{[`${Ce}-tab`]:{padding:Tt}}}}}},tt=Le=>{const{componentCls:Ce,itemActiveColor:Et,itemHoverColor:Tt,iconCls:Ye,tabsHorizontalItemMargin:et,horizontalItemPadding:_t,itemSelectedColor:Ut}=Le,qt=`${Ce}-tab`;return{[qt]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:_t,fontSize:Le.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:Et}},(0,We.Qy)(Le)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-Le.marginXXS},marginLeft:{_skip_check_:!0,value:Le.marginXS},color:Le.colorTextDescription,fontSize:Le.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${Le.motionDurationSlow}`,"&:hover":{color:Le.colorTextHeading}},"&:hover":{color:Tt},[`&${qt}-active ${qt}-btn`]:{color:Ut,textShadow:Le.tabsActiveTextShadow},[`&${qt}-disabled`]:{color:Le.colorTextDisabled,cursor:"not-allowed"},[`&${qt}-disabled ${qt}-btn, &${qt}-disabled ${Ce}-remove`]:{"&:focus, &:active":{color:Le.colorTextDisabled}},[`& ${qt}-remove ${Ye}`]:{margin:0},[Ye]:{marginRight:{_skip_check_:!0,value:Le.marginSM}}},[`${qt} + ${qt}`]:{margin:{_skip_check_:!0,value:et}}}},lt=Le=>{const{componentCls:Ce,tabsHorizontalItemMarginRTL:Et,iconCls:Tt,cardGutter:Ye}=Le;return{[`${Ce}-rtl`]:{direction:"rtl",[`${Ce}-nav`]:{[`${Ce}-tab`]:{margin:{_skip_check_:!0,value:Et},[`${Ce}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Tt]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${Le.marginSM}px`}},[`${Ce}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${Le.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${Le.marginXXS}px`},[Tt]:{margin:0}}}},[`&${Ce}-left`]:{[`> ${Ce}-nav`]:{order:1},[`> ${Ce}-content-holder`]:{order:0}},[`&${Ce}-right`]:{[`> ${Ce}-nav`]:{order:0},[`> ${Ce}-content-holder`]:{order:1}},[`&${Ce}-card${Ce}-top, &${Ce}-card${Ce}-bottom`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{[`${Ce}-tab + ${Ce}-tab`]:{marginRight:{_skip_check_:!0,value:Ye},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Ce}-dropdown-rtl`]:{direction:"rtl"},[`${Ce}-menu-item`]:{[`${Ce}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},bt=Le=>{const{componentCls:Ce,tabsCardPadding:Et,cardHeight:Tt,cardGutter:Ye,itemHoverColor:et,itemActiveColor:_t,colorBorderSecondary:Ut}=Le;return{[Ce]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,We.Wf)(Le)),{display:"flex",[`> ${Ce}-nav, > div > ${Ce}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Ce}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${Le.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Ce}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${Le.motionDurationSlow}`},[`${Ce}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Ce}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Ce}-nav-more`]:{position:"relative",padding:Et,background:"transparent",border:0,color:Le.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:Le.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Ce}-nav-add`]:Object.assign({minWidth:Tt,marginLeft:{_skip_check_:!0,value:Ye},padding:`0 ${Le.paddingXS}px`,background:"transparent",border:`${Le.lineWidth}px ${Le.lineType} ${Ut}`,borderRadius:`${Le.borderRadiusLG}px ${Le.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:Le.colorText,transition:`all ${Le.motionDurationSlow} ${Le.motionEaseInOut}`,"&:hover":{color:et},"&:active, &:focus:not(:focus-visible)":{color:_t}},(0,We.Qy)(Le))},[`${Ce}-extra-content`]:{flex:"none"},[`${Ce}-ink-bar`]:{position:"absolute",background:Le.inkBarColor,pointerEvents:"none"}}),tt(Le)),{[`${Ce}-content`]:{position:"relative",width:"100%"},[`${Ce}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Ce}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Ce}-centered`]:{[`> ${Ce}-nav, > div > ${Ce}-nav`]:{[`${Ce}-nav-wrap`]:{[`&:not([class*='${Ce}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var It=(0,Be.Z)("Tabs",Le=>{const Ce=(0,it.TS)(Le,{tabsCardPadding:Le.cardPadding||`${(Le.cardHeight-Math.round(Le.fontSize*Le.lineHeight))/2-Le.lineWidth}px ${Le.padding}px`,dropdownEdgeChildVerticalPadding:Le.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Le.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${Le.horizontalItemGutter}px`});return[je(Ce),lt(Ce),dt(Ce),Pt(Ce),wt(Ce),bt(Ce),$t(Ce)]},Le=>{const Ce=Le.controlHeightLG;return{zIndexPopup:Le.zIndexPopupBase+50,cardBg:Le.colorFillAlter,cardHeight:Ce,cardPadding:"",cardPaddingSM:`${Le.paddingXXS*1.5}px ${Le.padding}px`,cardPaddingLG:`${Le.paddingXS}px ${Le.padding}px ${Le.paddingXXS*1.5}px`,titleFontSize:Le.fontSize,titleFontSizeLG:Le.fontSizeLG,titleFontSizeSM:Le.fontSize,inkBarColor:Le.colorPrimary,horizontalMargin:`0 0 ${Le.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${Le.paddingSM}px 0`,horizontalItemPaddingSM:`${Le.paddingXS}px 0`,horizontalItemPaddingLG:`${Le.padding}px 0`,verticalItemPadding:`${Le.paddingXS}px ${Le.paddingLG}px`,verticalItemMargin:`${Le.margin}px 0 0 0`,itemSelectedColor:Le.colorPrimary,itemHoverColor:Le.colorPrimaryHover,itemActiveColor:Le.colorPrimaryActive,cardGutter:Le.marginXXS/2}}),Kt=function(Le,Ce){var Et={};for(var Tt in Le)Object.prototype.hasOwnProperty.call(Le,Tt)&&Ce.indexOf(Tt)<0&&(Et[Tt]=Le[Tt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Tt=Object.getOwnPropertySymbols(Le);Ye{const{type:Ce,className:Et,rootClassName:Tt,size:Ye,onEdit:et,hideAdd:_t,centered:Ut,addIcon:qt,popupClassName:un,children:Mn,items:vn,animated:Xn,style:Vn}=Le,or=Kt(Le,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style"]),{prefixCls:er,moreIcon:Wt=h.createElement(t.Z,null)}=or,{direction:en,tabs:nn,getPrefixCls:fn,getPopupContainer:En}=h.useContext(q.E_),on=fn("tabs",er),[pt,gt]=It(on);let Xt;Ce==="editable-card"&&(Xt={onEdit:(tr,ut)=>{let{key:ct,event:Dt}=ut;et==null||et(tr==="add"?Dt:ct,tr)},removeIcon:h.createElement(a.Z,null),addIcon:qt||h.createElement(o.Z,null),showAdd:_t!==!0});const rn=fn(),Jt=_e(vn,Mn),pn=we(on,Xn),mn=(0,ue.Z)(Ye),Zn=Object.assign(Object.assign({},nn==null?void 0:nn.style),Vn);return pt(h.createElement(oe,Object.assign({direction:en,getPopupContainer:En,moreTransitionName:`${rn}-slide-up`},or,{items:Jt,className:n()({[`${on}-${mn}`]:mn,[`${on}-card`]:["card","editable-card"].includes(Ce),[`${on}-editable-card`]:Ce==="editable-card",[`${on}-centered`]:Ut},nn==null?void 0:nn.className,Et,Tt,gt),popupClassName:n()(un,gt),style:Zn,editable:Xt,moreIcon:Wt,prefixCls:on,animated:pn})))};zt.TabPane=le;var Mt=zt},32814:function(b,y,e){"use strict";e.d(y,{Z:function(){return G}});var a=e(52495),t=e(87608),o=e.n(t),s=e(58757),n=e(1878),d=e(88858),l=e(37486),c=e(61836);function m(W){return typeof W!="string"?W:W.charAt(0).toUpperCase()+W.slice(1)}var g=e(78330),M=e(98251),h=e(52628),S=e(22151);const w=(W,ne,_)=>{const ee=m(_);return{[`${W.componentCls}-${ne}`]:{color:W[`color${_}`],background:W[`color${ee}Bg`],borderColor:W[`color${ee}Border`],[`&${W.componentCls}-borderless`]:{borderColor:"transparent"}}}},x=W=>(0,M.Z)(W,(ne,_)=>{let{textColor:ee,lightBorderColor:se,lightColor:Q,darkColor:C}=_;return{[`${W.componentCls}-${ne}`]:{color:ee,background:Q,borderColor:se,"&-inverse":{color:W.colorTextLightSolid,background:C,borderColor:C},[`&${W.componentCls}-borderless`]:{borderColor:"transparent"}}}}),z=W=>{const{paddingXXS:ne,lineWidth:_,tagPaddingHorizontal:ee,componentCls:se}=W,Q=ee-_,C=ne-_;return{[se]:Object.assign(Object.assign({},(0,g.Wf)(W)),{display:"inline-block",height:"auto",marginInlineEnd:W.marginXS,paddingInline:Q,fontSize:W.tagFontSize,lineHeight:W.tagLineHeight,whiteSpace:"nowrap",background:W.defaultBg,border:`${W.lineWidth}px ${W.lineType} ${W.colorBorder}`,borderRadius:W.borderRadiusSM,opacity:1,transition:`all ${W.motionDurationMid}`,textAlign:"start",position:"relative",[`&${se}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:W.defaultColor},[`${se}-close-icon`]:{marginInlineStart:C,color:W.colorTextDescription,fontSize:W.tagIconSize,cursor:"pointer",transition:`all ${W.motionDurationMid}`,"&:hover":{color:W.colorTextHeading}},[`&${se}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${W.iconCls}-close, ${W.iconCls}-close:hover`]:{color:W.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${se}-checkable-checked):hover`]:{color:W.colorPrimary,backgroundColor:W.colorFillSecondary},"&:active, &-checked":{color:W.colorTextLightSolid},"&-checked":{backgroundColor:W.colorPrimary,"&:hover":{backgroundColor:W.colorPrimaryHover}},"&:active":{backgroundColor:W.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${W.iconCls} + span, > span + ${W.iconCls}`]:{marginInlineStart:Q}}),[`${se}-borderless`]:{borderColor:"transparent",background:W.tagBorderlessBg}}};var U=(0,h.Z)("Tag",W=>{const{lineWidth:ne,fontSizeIcon:_}=W,ee=W.fontSizeSM,se=`${W.lineHeightSM*ee}px`,Q=(0,S.TS)(W,{tagFontSize:ee,tagLineHeight:se,tagIconSize:_-2*ne,tagPaddingHorizontal:8,tagBorderlessBg:W.colorFillTertiary});return[z(Q),x(Q),w(Q,"success","Success"),w(Q,"processing","Info"),w(Q,"error","Error"),w(Q,"warning","Warning")]},W=>({defaultBg:W.colorFillQuaternary,defaultColor:W.colorText})),T=function(W,ne){var _={};for(var ee in W)Object.prototype.hasOwnProperty.call(W,ee)&&ne.indexOf(ee)<0&&(_[ee]=W[ee]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,ee=Object.getOwnPropertySymbols(W);se{const{prefixCls:ne,className:_,checked:ee,onChange:se,onClick:Q}=W,C=T(W,["prefixCls","className","checked","onChange","onClick"]),{getPrefixCls:X}=s.useContext(c.E_),O=de=>{se==null||se(!ee),Q==null||Q(de)},H=X("tag",ne),[k,A]=U(H),Y=o()(H,`${H}-checkable`,{[`${H}-checkable-checked`]:ee},_,A);return k(s.createElement("span",Object.assign({},C,{className:Y,onClick:O})))},D=function(W,ne){var _={};for(var ee in W)Object.prototype.hasOwnProperty.call(W,ee)&&ne.indexOf(ee)<0&&(_[ee]=W[ee]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,ee=Object.getOwnPropertySymbols(W);se{const{prefixCls:_,className:ee,rootClassName:se,style:Q,children:C,icon:X,color:O,onClose:H,closeIcon:k,closable:A,bordered:Y=!0}=W,de=D(W,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:me,direction:ve,tag:be}=s.useContext(c.E_),[Pe,Je]=s.useState(!0);s.useEffect(()=>{"visible"in de&&Je(de.visible)},[de.visible]);const qe=(0,n.o2)(O)||(0,n.yT)(O),Xe=Object.assign(Object.assign({backgroundColor:O&&!qe?O:void 0},be==null?void 0:be.style),Q),mt=me("tag",_),[Ct,vt]=U(mt),Ht=o()(mt,be==null?void 0:be.className,{[`${mt}-${O}`]:qe,[`${mt}-has-color`]:O&&!qe,[`${mt}-hidden`]:!Pe,[`${mt}-rtl`]:ve==="rtl",[`${mt}-borderless`]:!Y},ee,se,vt),ke=V=>{V.stopPropagation(),H==null||H(V),!V.defaultPrevented&&Je(!1)},[,Ve]=(0,d.Z)(A,k,V=>V===null?s.createElement(a.Z,{className:`${mt}-close-icon`,onClick:ke}):s.createElement("span",{className:`${mt}-close-icon`,onClick:ke},V),null,!1),ot=typeof de.onClick=="function"||C&&C.type==="a",Ke=X||null,he=Ke?s.createElement(s.Fragment,null,Ke,C&&s.createElement("span",null,C)):C,J=s.createElement("span",Object.assign({},de,{ref:ne,className:Ht,style:Xe}),he,Ve);return Ct(ot?s.createElement(l.Z,{component:"Tag"},J):J)},j=s.forwardRef(L);j.CheckableTag=Z;var G=j},83631:function(b,y,e){"use strict";e.d(y,{Mj:function(){return l},uH:function(){return n},u_:function(){return d}});var a=e(57793),t=e(58757),o=e(57738),s=e(28378);const n=(0,a.jG)(o.Z),d={token:s.Z,hashed:!0},l=t.createContext(d)},22802:function(b,y,e){"use strict";e.d(y,{Z:function(){return G}});var a=e(57793),t=e(57738),o=e(28378),s=e(57634),d=W=>{const ne=W!=null&&W.algorithm?(0,a.jG)(W.algorithm):(0,a.jG)(t.Z),_=Object.assign(Object.assign({},o.Z),W==null?void 0:W.token);return(0,a.t2)(_,{override:W==null?void 0:W.token},ne,s.Z)},l=e(51806),c=e(83631),m=e(38458);function g(W){const{sizeUnit:ne,sizeStep:_}=W,ee=_-2;return{sizeXXL:ne*(ee+10),sizeXL:ne*(ee+6),sizeLG:ne*(ee+2),sizeMD:ne*(ee+2),sizeMS:ne*(ee+1),size:ne*ee,sizeSM:ne*ee,sizeXS:ne*(ee-1),sizeXXS:ne*(ee-1)}}var M=e(4490),S=(W,ne)=>{const _=ne!=null?ne:(0,t.Z)(W),ee=_.fontSizeSM,se=_.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_),g(ne!=null?ne:W)),(0,M.Z)(ee)),{controlHeight:se}),(0,m.Z)(Object.assign(Object.assign({},_),{controlHeight:se})))},w=e(26134),x=e(67782),z=e(66671);const U=(W,ne)=>new z.C(W).setAlpha(ne).toRgbString(),T=(W,ne)=>new z.C(W).lighten(ne).toHexString(),N=W=>{const ne=(0,w.generate)(W,{theme:"dark"});return{1:ne[0],2:ne[1],3:ne[2],4:ne[3],5:ne[6],6:ne[5],7:ne[4],8:ne[6],9:ne[5],10:ne[4]}},Z=(W,ne)=>{const _=W||"#000",ee=ne||"#fff";return{colorBgBase:_,colorTextBase:ee,colorText:U(ee,.85),colorTextSecondary:U(ee,.65),colorTextTertiary:U(ee,.45),colorTextQuaternary:U(ee,.25),colorFill:U(ee,.18),colorFillSecondary:U(ee,.12),colorFillTertiary:U(ee,.08),colorFillQuaternary:U(ee,.04),colorBgElevated:T(_,12),colorBgContainer:T(_,8),colorBgLayout:T(_,0),colorBgSpotlight:T(_,26),colorBorder:T(_,26),colorBorderSecondary:T(_,19)}};var L=(W,ne)=>{const _=Object.keys(o.M).map(se=>{const Q=(0,w.generate)(W[se],{theme:"dark"});return new Array(10).fill(1).reduce((C,X,O)=>(C[`${se}-${O+1}`]=Q[O],C[`${se}${O+1}`]=Q[O],C),{})}).reduce((se,Q)=>(se=Object.assign(Object.assign({},se),Q),se),{}),ee=ne!=null?ne:(0,t.Z)(W);return Object.assign(Object.assign(Object.assign({},ee),_),(0,x.Z)(W,{generateColorPalettes:N,generateNeutralColorPalettes:Z}))};function j(){const[W,ne,_]=(0,l.Z)();return{theme:W,token:ne,hashId:_}}var G={defaultConfig:c.u_,defaultSeed:c.u_.token,useToken:j,defaultAlgorithm:t.Z,darkAlgorithm:L,compactAlgorithm:S,getDesignToken:d}},34966:function(b,y,e){"use strict";e.d(y,{i:function(){return a}});const a=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},57738:function(b,y,e){"use strict";e.d(y,{Z:function(){return x}});var a=e(26134),t=e(38458);function o(z){const{sizeUnit:U,sizeStep:T}=z;return{sizeXXL:U*(T+8),sizeXL:U*(T+4),sizeLG:U*(T+2),sizeMD:U*(T+1),sizeMS:U*T,size:U*T,sizeSM:U*(T-1),sizeXS:U*(T-2),sizeXXS:U*(T-3)}}var s=e(28378),n=e(67782),l=z=>{let U=z,T=z,N=z,Z=z;return z<6&&z>=5?U=z+1:z<16&&z>=6?U=z+2:z>=16&&(U=16),z<7&&z>=5?T=4:z<8&&z>=7?T=5:z<14&&z>=8?T=6:z<16&&z>=14?T=7:z>=16&&(T=8),z<6&&z>=2?N=1:z>=6&&(N=2),z>4&&z<8?Z=4:z>=8&&(Z=6),{borderRadius:z>16?16:z,borderRadiusXS:N,borderRadiusSM:T,borderRadiusLG:U,borderRadiusOuter:Z}};function c(z){const{motionUnit:U,motionBase:T,borderRadius:N,lineWidth:Z}=z;return Object.assign({motionDurationFast:`${(T+U).toFixed(1)}s`,motionDurationMid:`${(T+U*2).toFixed(1)}s`,motionDurationSlow:`${(T+U*3).toFixed(1)}s`,lineWidthBold:Z+1},l(N))}var m=e(66671);const g=(z,U)=>new m.C(z).setAlpha(U).toRgbString(),M=(z,U)=>new m.C(z).darken(U).toHexString(),h=z=>{const U=(0,a.generate)(z);return{1:U[0],2:U[1],3:U[2],4:U[3],5:U[4],6:U[5],7:U[6],8:U[4],9:U[5],10:U[6]}},S=(z,U)=>{const T=z||"#fff",N=U||"#000";return{colorBgBase:T,colorTextBase:N,colorText:g(N,.88),colorTextSecondary:g(N,.65),colorTextTertiary:g(N,.45),colorTextQuaternary:g(N,.25),colorFill:g(N,.15),colorFillSecondary:g(N,.06),colorFillTertiary:g(N,.04),colorFillQuaternary:g(N,.02),colorBgLayout:M(T,4),colorBgContainer:M(T,0),colorBgElevated:M(T,0),colorBgSpotlight:g(N,.85),colorBorder:M(T,15),colorBorderSecondary:M(T,6)}};var w=e(4490);function x(z){const U=Object.keys(s.M).map(T=>{const N=(0,a.generate)(z[T]);return new Array(10).fill(1).reduce((Z,D,L)=>(Z[`${T}-${L+1}`]=N[L],Z[`${T}${L+1}`]=N[L],Z),{})}).reduce((T,N)=>(T=Object.assign(Object.assign({},T),N),T),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},z),U),(0,n.Z)(z,{generateColorPalettes:h,generateNeutralColorPalettes:S})),(0,w.Z)(z.fontSize)),o(z)),(0,t.Z)(z)),c(z))}},28378:function(b,y,e){"use strict";e.d(y,{M:function(){return a}});const a={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"},t=Object.assign(Object.assign({},a),{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});y.Z=t},67782:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(66671);function t(o,s){let{generateColorPalettes:n,generateNeutralColorPalettes:d}=s;const{colorSuccess:l,colorWarning:c,colorError:m,colorInfo:g,colorPrimary:M,colorBgBase:h,colorTextBase:S}=o,w=n(M),x=n(l),z=n(c),U=n(m),T=n(g),N=d(h,S),Z=o.colorLink||o.colorInfo,D=n(Z);return Object.assign(Object.assign({},N),{colorPrimaryBg:w[1],colorPrimaryBgHover:w[2],colorPrimaryBorder:w[3],colorPrimaryBorderHover:w[4],colorPrimaryHover:w[5],colorPrimary:w[6],colorPrimaryActive:w[7],colorPrimaryTextHover:w[8],colorPrimaryText:w[9],colorPrimaryTextActive:w[10],colorSuccessBg:x[1],colorSuccessBgHover:x[2],colorSuccessBorder:x[3],colorSuccessBorderHover:x[4],colorSuccessHover:x[4],colorSuccess:x[6],colorSuccessActive:x[7],colorSuccessTextHover:x[8],colorSuccessText:x[9],colorSuccessTextActive:x[10],colorErrorBg:U[1],colorErrorBgHover:U[2],colorErrorBorder:U[3],colorErrorBorderHover:U[4],colorErrorHover:U[5],colorError:U[6],colorErrorActive:U[7],colorErrorTextHover:U[8],colorErrorText:U[9],colorErrorTextActive:U[10],colorWarningBg:z[1],colorWarningBgHover:z[2],colorWarningBorder:z[3],colorWarningBorderHover:z[4],colorWarningHover:z[4],colorWarning:z[6],colorWarningActive:z[7],colorWarningTextHover:z[8],colorWarningText:z[9],colorWarningTextActive:z[10],colorInfoBg:T[1],colorInfoBgHover:T[2],colorInfoBorder:T[3],colorInfoBorderHover:T[4],colorInfoHover:T[4],colorInfo:T[6],colorInfoActive:T[7],colorInfoTextHover:T[8],colorInfoText:T[9],colorInfoTextActive:T[10],colorLinkHover:D[4],colorLink:D[6],colorLinkActive:D[7],colorBgMask:new a.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},38458:function(b,y){"use strict";const e=a=>{const{controlHeight:t}=a;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};y.Z=e},4490:function(b,y,e){"use strict";e.d(y,{Z:function(){return o}});function a(s){const n=new Array(10).fill(null).map((d,l)=>{const c=l-1,m=s*Math.pow(2.71828,c/5),g=l>1?Math.floor(m):Math.ceil(m);return Math.floor(g/2)*2});return n[1]=s,n.map(d=>{const l=d+8;return{size:d,lineHeight:l/d}})}var o=s=>{const n=a(s),d=n.map(c=>c.size),l=n.map(c=>c.lineHeight);return{fontSizeSM:d[0],fontSize:d[1],fontSizeLG:d[2],fontSizeXL:d[3],fontSizeHeading1:d[6],fontSizeHeading2:d[5],fontSizeHeading3:d[4],fontSizeHeading4:d[3],fontSizeHeading5:d[2],lineHeight:l[1],lineHeightLG:l[2],lineHeightSM:l[0],lineHeightHeading1:l[6],lineHeightHeading2:l[5],lineHeightHeading3:l[4],lineHeightHeading4:l[3],lineHeightHeading5:l[2]}}},51806:function(b,y,e){"use strict";e.d(y,{Z:function(){return m}});var a=e(57793),t=e(58757),o=e(93430),s=e(83631),n=e(28378),d=e(57634),l=function(g,M){var h={};for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&M.indexOf(S)<0&&(h[S]=g[S]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,S=Object.getOwnPropertySymbols(g);w{const S=h.getDerivativeToken(g),{override:w}=M,x=l(M,["override"]);let z=Object.assign(Object.assign({},S),{override:w});return z=(0,d.Z)(z),x&&Object.entries(x).forEach(U=>{let[T,N]=U;const{theme:Z}=N,D=l(N,["theme"]);let L=D;Z&&(L=c(Object.assign(Object.assign({},z),D),{override:D},Z)),z[T]=L}),z};function m(){const{token:g,hashed:M,theme:h,components:S}=t.useContext(s.Mj),w=`${o.Z}-${M||""}`,x=h||s.uH,[z,U]=(0,a.fp)(x,[n.Z,g],{salt:w,override:Object.assign({override:g},S),getComputedToken:c,formatToken:d.Z});return[x,z,M?U:""]}},57634:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(66671),t=e(28378);function o(c){return c>=0&&c<=255}function s(c,m){const{r:g,g:M,b:h,a:S}=new a.C(c).toRgb();if(S<1)return c;const{r:w,g:x,b:z}=new a.C(m).toRgb();for(let U=.01;U<=1;U+=.01){const T=Math.round((g-w*(1-U))/U),N=Math.round((M-x*(1-U))/U),Z=Math.round((h-z*(1-U))/U);if(o(T)&&o(N)&&o(Z))return new a.C({r:T,g:N,b:Z,a:Math.round(U*100)/100}).toRgbString()}return new a.C({r:g,g:M,b:h,a:1}).toRgbString()}var n=s,d=function(c,m){var g={};for(var M in c)Object.prototype.hasOwnProperty.call(c,M)&&m.indexOf(M)<0&&(g[M]=c[M]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,M=Object.getOwnPropertySymbols(c);h{delete M[Z]});const h=Object.assign(Object.assign({},g),M),S=480,w=576,x=768,z=992,U=1200,T=1600;if(h.motion===!1){const Z="0s";h.motionDurationFast=Z,h.motionDurationMid=Z,h.motionDurationSlow=Z}return Object.assign(Object.assign(Object.assign({},h),{colorFillContent:h.colorFillSecondary,colorFillContentHover:h.colorFill,colorFillAlter:h.colorFillQuaternary,colorBgContainerDisabled:h.colorFillTertiary,colorBorderBg:h.colorBgContainer,colorSplit:n(h.colorBorderSecondary,h.colorBgContainer),colorTextPlaceholder:h.colorTextQuaternary,colorTextDisabled:h.colorTextQuaternary,colorTextHeading:h.colorText,colorTextLabel:h.colorTextSecondary,colorTextDescription:h.colorTextTertiary,colorTextLightSolid:h.colorWhite,colorHighlight:h.colorError,colorBgTextHover:h.colorFillSecondary,colorBgTextActive:h.colorFill,colorIcon:h.colorTextTertiary,colorIconHover:h.colorText,colorErrorOutline:n(h.colorErrorBg,h.colorBgContainer),colorWarningOutline:n(h.colorWarningBg,h.colorBgContainer),fontSizeIcon:h.fontSizeSM,lineWidthFocus:h.lineWidth*4,lineWidth:h.lineWidth,controlOutlineWidth:h.lineWidth*2,controlInteractiveSize:h.controlHeight/2,controlItemBgHover:h.colorFillTertiary,controlItemBgActive:h.colorPrimaryBg,controlItemBgActiveHover:h.colorPrimaryBgHover,controlItemBgActiveDisabled:h.colorFill,controlTmpOutline:h.colorFillQuaternary,controlOutline:n(h.colorPrimaryBg,h.colorBgContainer),lineType:h.lineType,borderRadius:h.borderRadius,borderRadiusXS:h.borderRadiusXS,borderRadiusSM:h.borderRadiusSM,borderRadiusLG:h.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:h.sizeXXS,paddingXS:h.sizeXS,paddingSM:h.sizeSM,padding:h.size,paddingMD:h.sizeMD,paddingLG:h.sizeLG,paddingXL:h.sizeXL,paddingContentHorizontalLG:h.sizeLG,paddingContentVerticalLG:h.sizeMS,paddingContentHorizontal:h.sizeMS,paddingContentVertical:h.sizeSM,paddingContentHorizontalSM:h.size,paddingContentVerticalSM:h.sizeXS,marginXXS:h.sizeXXS,marginXS:h.sizeXS,marginSM:h.sizeSM,margin:h.size,marginMD:h.sizeMD,marginLG:h.sizeLG,marginXL:h.sizeXL,marginXXL:h.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) + `,boxShadowSecondary:` + 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) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:S,screenXSMin:S,screenXSMax:w-1,screenSM:w,screenSMMin:w,screenSMMax:x-1,screenMD:x,screenMDMin:x,screenMDMax:z-1,screenLG:z,screenLGMin:z,screenLGMax:U-1,screenXL:U,screenXLMin:U,screenXLMax:T-1,screenXXL:T,screenXXLMin:T,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` + 0 1px 2px -2px ${new a.C("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new a.C("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new a.C("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), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 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) + `,boxShadowDrawerDown:` + 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)"}),M)}},52628:function(b,y,e){"use strict";e.d(y,{Z:function(){return m}});var a=e(58757),t=e(57793),o=e(71219),s=e(61836),n=e(78330),d=e(51806),l=e(22151),c=e(60619);function m(g,M,h,S){const w=Array.isArray(g)?g:[g,g],[x]=w,z=w.join("-");return U=>{const[T,N,Z]=(0,d.Z)(),{getPrefixCls:D,iconPrefixCls:L,csp:j}=(0,a.useContext)(s.E_),G=D(),W={theme:T,token:N,hashId:Z,nonce:()=>j==null?void 0:j.nonce,clientOnly:S==null?void 0:S.clientOnly,order:-999};return(0,t.xy)(Object.assign(Object.assign({},W),{clientOnly:!1,path:["Shared",G]}),()=>[{"&":(0,n.Lx)(N)}]),(0,c.Z)(L),[(0,t.xy)(Object.assign(Object.assign({},W),{path:[z,U,L]}),()=>{const{token:ne,flush:_}=(0,l.ZP)(N),ee=Object.assign({},N[x]);if(S!=null&&S.deprecatedTokens){const{deprecatedTokens:H}=S;H.forEach(k=>{let[A,Y]=k;var de;(ee!=null&&ee[A]||ee!=null&&ee[Y])&&((de=ee[Y])!==null&&de!==void 0||(ee[Y]=ee==null?void 0:ee[A]))})}const se=typeof h=="function"?h((0,l.TS)(ne,ee!=null?ee:{})):h,Q=Object.assign(Object.assign({},se),ee),C=`.${U}`,X=(0,l.TS)(ne,{componentCls:C,prefixCls:U,iconCls:`.${L}`,antCls:`.${G}`},Q),O=M(X,{hashId:Z,prefixCls:U,rootPrefixCls:G,iconPrefixCls:L,overrideComponentToken:ee});return _(x,Q),[(S==null?void 0:S.resetStyle)===!1?null:(0,n.du)(N,U),O]}),Z]}}},98251:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(34966);function t(o,s){return a.i.reduce((n,d)=>{const l=o[`${d}1`],c=o[`${d}3`],m=o[`${d}6`],g=o[`${d}7`];return Object.assign(Object.assign({},n),s(d,{lightColor:l,lightBorderColor:c,darkColor:m,textColor:g}))},{})}},22151:function(b,y,e){"use strict";e.d(y,{TS:function(){return o},ZP:function(){return l}});const a=typeof CSSINJS_STATISTIC!="undefined";let t=!0;function o(){for(var c=arguments.length,m=new Array(c),g=0;g{Object.keys(h).forEach(w=>{Object.defineProperty(M,w,{configurable:!0,enumerable:!0,get:()=>h[w]})})}),t=!0,M}const s={},n={};function d(){}function l(c){let m,g=c,M=d;return a&&(m=new Set,g=new Proxy(c,{get(h,S){return t&&m.add(S),h[S]}}),M=(h,S)=>{var w;s[h]={global:Array.from(m),component:Object.assign(Object.assign({},(w=s[h])===null||w===void 0?void 0:w.component),S)}}),{token:g,keys:m,flush:M}}},60619:function(b,y,e){"use strict";var a=e(57793),t=e(78330),o=e(51806);const s=(n,d)=>{const[l,c]=(0,o.Z)();return(0,a.xy)({theme:l,token:c,hashId:"",path:["ant-design-icons",n],nonce:()=>d==null?void 0:d.nonce},()=>[{[`.${n}`]:Object.assign(Object.assign({},(0,t.Ro)()),{[`.${n} .${n}-icon`]:{display:"block"}})}])};y.Z=s},38107:function(b,y){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};y.Z=e},74820:function(b,y,e){"use strict";e.d(y,{Z:function(){return se}});var a=e(87608),t=e.n(a),o=e(33664),s=e(60409),n=e(58757),d=e(90881),l=e(95446),c=e(37047),m=e(61836),g=e(43528),M=e(22802),h=e(78330),S=e(28107),w=e(24542),x=e(98251),z=e(22151),U=e(52628);const T=Q=>{const{componentCls:C,tooltipMaxWidth:X,tooltipColor:O,tooltipBg:H,tooltipBorderRadius:k,zIndexPopup:A,controlHeight:Y,boxShadowSecondary:de,paddingSM:me,paddingXS:ve,tooltipRadiusOuter:be}=Q;return[{[C]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,h.Wf)(Q)),{position:"absolute",zIndex:A,display:"block",width:"max-content",maxWidth:X,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":H,[`${C}-inner`]:{minWidth:Y,minHeight:Y,padding:`${me/2}px ${ve}px`,color:O,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:H,borderRadius:k,boxShadow:de,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${C}-inner`]:{borderRadius:Math.min(k,w.qN)}},[`${C}-content`]:{position:"relative"}}),(0,x.Z)(Q,(Pe,Je)=>{let{darkColor:qe}=Je;return{[`&${C}-${Pe}`]:{[`${C}-inner`]:{backgroundColor:qe},[`${C}-arrow`]:{"--antd-arrow-background-color":qe}}}})),{"&-rtl":{direction:"rtl"}})},(0,w.ZP)((0,z.TS)(Q,{borderRadiusOuter:be}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:k,limitVerticalRadius:!0}),{[`${C}-pure`]:{position:"relative",maxWidth:"none",margin:Q.sizePopupArrow}}]};var N=(Q,C)=>(0,U.Z)("Tooltip",O=>{if(C===!1)return[];const{borderRadius:H,colorTextLightSolid:k,colorBgDefault:A,borderRadiusOuter:Y}=O,de=(0,z.TS)(O,{tooltipMaxWidth:250,tooltipColor:k,tooltipBorderRadius:H,tooltipBg:A,tooltipRadiusOuter:Y>4?4:Y});return[T(de),(0,S._y)(O,"zoom-big-fast")]},O=>{let{zIndexPopupBase:H,colorBgSpotlight:k}=O;return{zIndexPopup:H+70,colorBgDefault:k}},{resetStyle:!1})(Q),Z=e(1878);function D(Q,C){const X=(0,Z.o2)(C),O=t()({[`${Q}-${C}`]:C&&X}),H={},k={};return C&&!X&&(H.background=C,k["--antd-arrow-background-color"]=C),{className:O,overlayStyle:H,arrowStyle:k}}var j=Q=>{const{prefixCls:C,className:X,placement:O="top",title:H,color:k,overlayInnerStyle:A}=Q,{getPrefixCls:Y}=n.useContext(m.E_),de=Y("tooltip",C),[me,ve]=N(de,!0),be=D(de,k),Pe=be.arrowStyle,Je=Object.assign(Object.assign({},A),be.overlayStyle),qe=t()(ve,de,`${de}-pure`,`${de}-placement-${O}`,X,be.className);return me(n.createElement("div",{className:qe,style:Pe},n.createElement("div",{className:`${de}-arrow`}),n.createElement(o.G,Object.assign({},Q,{className:ve,prefixCls:de,overlayInnerStyle:Je}),H)))},G=function(Q,C){var X={};for(var O in Q)Object.prototype.hasOwnProperty.call(Q,O)&&C.indexOf(O)<0&&(X[O]=Q[O]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,O=Object.getOwnPropertySymbols(Q);H{const X={},O=Object.assign({},Q);return C.forEach(H=>{Q&&H in Q&&(X[H]=Q[H],delete O[H])}),{picked:X,omitted:O}};function _(Q,C){const X=Q.type;if((X.__ANT_BUTTON===!0||Q.type==="button")&&Q.props.disabled||X.__ANT_SWITCH===!0&&(Q.props.disabled||Q.props.loading)||X.__ANT_RADIO===!0&&Q.props.disabled){const{picked:O,omitted:H}=ne(Q.props.style,["position","left","right","top","bottom","float","display","zIndex"]),k=Object.assign(Object.assign({display:"inline-block"},O),{cursor:"not-allowed",width:Q.props.block?"100%":void 0}),A=Object.assign(Object.assign({},H),{pointerEvents:"none"}),Y=(0,c.Tm)(Q,{style:A,className:null});return n.createElement("span",{style:k,className:t()(Q.props.className,`${C}-disabled-compatible-wrapper`)},Y)}return Q}const ee=n.forwardRef((Q,C)=>{var X,O;const{prefixCls:H,openClassName:k,getTooltipContainer:A,overlayClassName:Y,color:de,overlayInnerStyle:me,children:ve,afterOpenChange:be,afterVisibleChange:Pe,destroyTooltipOnHide:Je,arrow:qe=!0,title:Xe,overlay:mt,builtinPlacements:Ct,arrowPointAtCenter:vt=!1,autoAdjustOverflow:Ht=!0}=Q,ke=!!qe,{token:Ve}=W(),{getPopupContainer:ot,getPrefixCls:Ke,direction:he}=n.useContext(m.E_),J=n.useRef(null),V=()=>{var Ot;(Ot=J.current)===null||Ot===void 0||Ot.forceAlign()};n.useImperativeHandle(C,()=>({forceAlign:V,forcePopupAlign:()=>{V()}}));const[R,P]=(0,s.Z)(!1,{value:(X=Q.open)!==null&&X!==void 0?X:Q.visible,defaultValue:(O=Q.defaultOpen)!==null&&O!==void 0?O:Q.defaultVisible}),B=!Xe&&!mt&&Xe!==0,ge=Ot=>{var $t,wt;P(B?!1:Ot),B||(($t=Q.onOpenChange)===null||$t===void 0||$t.call(Q,Ot),(wt=Q.onVisibleChange)===null||wt===void 0||wt.call(Q,Ot))},ie=n.useMemo(()=>{var Ot,$t;let wt=vt;return typeof qe=="object"&&(wt=($t=(Ot=qe.pointAtCenter)!==null&&Ot!==void 0?Ot:qe.arrowPointAtCenter)!==null&&$t!==void 0?$t:vt),Ct||(0,l.Z)({arrowPointAtCenter:wt,autoAdjustOverflow:Ht,arrowWidth:ke?Ve.sizePopupArrow:0,borderRadius:Ve.borderRadius,offset:Ve.marginXXS,visibleFirst:!0})},[vt,qe,Ct,Ve]),pe=n.useMemo(()=>Xe===0?Xe:mt||Xe||"",[mt,Xe]),Oe=n.createElement(g.BR,null,typeof pe=="function"?pe():pe),{getPopupContainer:xe,placement:Se="top",mouseEnterDelay:$e=.1,mouseLeaveDelay:re=.1,overlayStyle:oe,rootClassName:q}=Q,ue=G(Q,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Ee=Ke("tooltip",H),le=Ke(),Ne=Q["data-popover-inject"];let Ae=R;!("open"in Q)&&!("visible"in Q)&&B&&(Ae=!1);const we=_((0,c.l$)(ve)&&!(0,c.M2)(ve)?ve:n.createElement("span",null,ve),Ee),Re=we.props,st=!Re.className||typeof Re.className=="string"?t()(Re.className,k||`${Ee}-open`):Re.className,[nt,_e]=N(Ee,!Ne),We=D(Ee,de),Be=We.arrowStyle,it=Object.assign(Object.assign({},me),We.overlayStyle),Ge=t()(Y,{[`${Ee}-rtl`]:he==="rtl"},We.className,q,_e);return nt(n.createElement(o.Z,Object.assign({},ue,{showArrow:ke,placement:Se,mouseEnterDelay:$e,mouseLeaveDelay:re,prefixCls:Ee,overlayClassName:Ge,overlayStyle:Object.assign(Object.assign({},Be),oe),getTooltipContainer:xe||A||ot,ref:J,builtinPlacements:ie,overlay:Oe,visible:Ae,onVisibleChange:ge,afterVisibleChange:be!=null?be:Pe,overlayInnerStyle:it,arrowContent:n.createElement("span",{className:`${Ee}-arrow-content`}),motion:{motionName:(0,d.m)(le,"zoom-big-fast",Q.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Je}),Ae?(0,c.Tm)(we,{className:st}):we))});ee._InternalPanelDoNotUseOrYouWillBeFired=j;var se=ee},23241:function(b,y,e){"use strict";e.d(y,{Z:function(){return er}});var a=e(58757),t=e(29140),o=e(87608),s=e.n(o),n=e(60698),d=e(60412),l=e(14346),c=e(87498),m=e(73726),g=e(37734),M=e(47075),h=e(74632),S=e(38790),w=e(79290),x=e(33926);function z(Wt,en){var nn="cannot ".concat(Wt.method," ").concat(Wt.action," ").concat(en.status,"'"),fn=new Error(nn);return fn.status=en.status,fn.method=Wt.method,fn.url=Wt.action,fn}function U(Wt){var en=Wt.responseText||Wt.response;if(!en)return en;try{return JSON.parse(en)}catch(nn){return en}}function T(Wt){var en=new XMLHttpRequest;Wt.onProgress&&en.upload&&(en.upload.onprogress=function(on){on.total>0&&(on.percent=on.loaded/on.total*100),Wt.onProgress(on)});var nn=new FormData;Wt.data&&Object.keys(Wt.data).forEach(function(En){var on=Wt.data[En];if(Array.isArray(on)){on.forEach(function(pt){nn.append("".concat(En,"[]"),pt)});return}nn.append(En,on)}),Wt.file instanceof Blob?nn.append(Wt.filename,Wt.file,Wt.file.name):nn.append(Wt.filename,Wt.file),en.onerror=function(on){Wt.onError(on)},en.onload=function(){return en.status<200||en.status>=300?Wt.onError(z(Wt,en),U(en)):Wt.onSuccess(U(en),en)},en.open(Wt.method,Wt.action,!0),Wt.withCredentials&&"withCredentials"in en&&(en.withCredentials=!0);var fn=Wt.headers||{};return fn["X-Requested-With"]!==null&&en.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(fn).forEach(function(En){fn[En]!==null&&en.setRequestHeader(En,fn[En])}),en.send(nn),{abort:function(){en.abort()}}}var N=+new Date,Z=0;function D(){return"rc-upload-".concat(N,"-").concat(++Z)}var L=e(75556),j=function(Wt,en){if(Wt&&en){var nn=Array.isArray(en)?en:en.split(","),fn=Wt.name||"",En=Wt.type||"",on=En.replace(/\/.*$/,"");return nn.some(function(pt){var gt=pt.trim();if(/^\*(\/\*)?$/.test(pt))return!0;if(gt.charAt(0)==="."){var Xt=fn.toLowerCase(),rn=gt.toLowerCase(),Jt=[rn];return(rn===".jpg"||rn===".jpeg")&&(Jt=[".jpg",".jpeg"]),Jt.some(function(pn){return Xt.endsWith(pn)})}return/\/\*$/.test(gt)?on===gt.replace(/\/.*$/,""):En===gt?!0:/^\w+$/.test(gt)?((0,L.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(gt,"'.Skip for check.")),!0):!1})}return!0};function G(Wt,en){var nn=Wt.createReader(),fn=[];function En(){nn.readEntries(function(on){var pt=Array.prototype.slice.apply(on);fn=fn.concat(pt);var gt=!pt.length;gt?en(fn):En()})}En()}var W=function(en,nn,fn){var En=function on(pt,gt){pt.path=gt||"",pt.isFile?pt.file(function(Xt){fn(Xt)&&(pt.fullPath&&!Xt.webkitRelativePath&&(Object.defineProperties(Xt,{webkitRelativePath:{writable:!0}}),Xt.webkitRelativePath=pt.fullPath.replace(/^\//,""),Object.defineProperties(Xt,{webkitRelativePath:{writable:!1}})),nn([Xt]))}):pt.isDirectory&&G(pt,function(Xt){Xt.forEach(function(rn){on(rn,"".concat(gt).concat(pt.name,"/"))})})};en.forEach(function(on){En(on.webkitGetAsEntry())})},ne=W,_=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],ee=function(Wt){(0,c.Z)(nn,Wt);var en=(0,m.Z)(nn);function nn(){var fn;(0,d.Z)(this,nn);for(var En=arguments.length,on=new Array(En),pt=0;pt{let{uid:on}=En;return on===Wt.uid});return fn===-1?nn.push(Wt):nn[fn]=Wt,nn}function ie(Wt,en){const nn=Wt.uid!==void 0?"uid":"name";return en.filter(fn=>fn[nn]===Wt[nn])[0]}function pe(Wt,en){const nn=Wt.uid!==void 0?"uid":"name",fn=en.filter(En=>En[nn]!==Wt[nn]);return fn.length===en.length?null:fn}const Oe=function(){const en=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),fn=en[en.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(fn)||[""])[0]},xe=Wt=>Wt.indexOf("image/")===0,Se=Wt=>{if(Wt.type&&!Wt.thumbUrl)return xe(Wt.type);const en=Wt.thumbUrl||Wt.url||"",nn=Oe(en);return/^data:image\//.test(en)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(nn)?!0:!(/^data:/.test(en)||nn)},$e=200;function re(Wt){return new Promise(en=>{if(!Wt.type||!xe(Wt.type)){en("");return}const nn=document.createElement("canvas");nn.width=$e,nn.height=$e,nn.style.cssText=`position: fixed; left: 0; top: 0; width: ${$e}px; height: ${$e}px; z-index: 9999; display: none;`,document.body.appendChild(nn);const fn=nn.getContext("2d"),En=new Image;if(En.onload=()=>{const{width:on,height:pt}=En;let gt=$e,Xt=$e,rn=0,Jt=0;on>pt?(Xt=pt*($e/on),Jt=-(Xt-gt)/2):(gt=on*($e/pt),rn=-(gt-Xt)/2),fn.drawImage(En,rn,Jt,gt,Xt);const pn=nn.toDataURL();document.body.removeChild(nn),window.URL.revokeObjectURL(En.src),en(pn)},En.crossOrigin="anonymous",Wt.type.startsWith("image/svg+xml")){const on=new FileReader;on.onload=()=>{on.result&&(En.src=on.result)},on.readAsDataURL(Wt)}else if(Wt.type.startsWith("image/gif")){const on=new FileReader;on.onload=()=>{on.result&&en(on.result)},on.readAsDataURL(Wt)}else En.src=window.URL.createObjectURL(Wt)})}var oe=e(23605),q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ue=q,Ee=function(en,nn){return a.createElement(Pe.Z,(0,n.Z)({},en,{ref:nn,icon:ue}))},le=a.forwardRef(Ee),Ne=e(56019),Ae=e(95664),we=e(74820),st=a.forwardRef((Wt,en)=>{let{prefixCls:nn,className:fn,style:En,locale:on,listType:pt,file:gt,items:Xt,progress:rn,iconRender:Jt,actionIconRender:pn,itemRender:mn,isImgUrl:Zn,showPreviewIcon:tr,showRemoveIcon:ut,showDownloadIcon:ct,previewIcon:Dt,removeIcon:xt,downloadIcon:kt,onPreview:sn,onDownload:tn,onClose:xn}=Wt;var Nn,gr;const{status:nr}=gt,[Rn,kr]=a.useState(nr);a.useEffect(()=>{nr!=="removed"&&kr(nr)},[nr]);const[fr,ua]=a.useState(!1);a.useEffect(()=>{const xr=setTimeout(()=>{ua(!0)},300);return()=>{clearTimeout(xr)}},[]);const Pr=Jt(gt);let Bn=a.createElement("div",{className:`${nn}-icon`},Pr);if(pt==="picture"||pt==="picture-card"||pt==="picture-circle")if(Rn==="uploading"||!gt.thumbUrl&&!gt.url){const xr=s()(`${nn}-list-item-thumbnail`,{[`${nn}-list-item-file`]:Rn!=="uploading"});Bn=a.createElement("div",{className:xr},Pr)}else{const xr=Zn!=null&&Zn(gt)?a.createElement("img",{src:gt.thumbUrl||gt.url,alt:gt.name,className:`${nn}-list-item-image`,crossOrigin:gt.crossOrigin}):Pr,jt=s()(`${nn}-list-item-thumbnail`,{[`${nn}-list-item-file`]:Zn&&!Zn(gt)});Bn=a.createElement("a",{className:jt,onClick:an=>sn(gt,an),href:gt.url||gt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},xr)}const Cn=s()(`${nn}-list-item`,`${nn}-list-item-${Rn}`),wn=typeof gt.linkProps=="string"?JSON.parse(gt.linkProps):gt.linkProps,ar=ut?pn((typeof xt=="function"?xt(gt):xt)||a.createElement(oe.Z,null),()=>xn(gt),nn,on.removeFile):null,mr=ct&&Rn==="done"?pn((typeof kt=="function"?kt(gt):kt)||a.createElement(le,null),()=>tn(gt),nn,on.downloadFile):null,Qr=pt!=="picture-card"&&pt!=="picture-circle"&&a.createElement("span",{key:"download-delete",className:s()(`${nn}-list-item-actions`,{picture:pt==="picture"})},mr,ar),qr=s()(`${nn}-list-item-name`),ya=gt.url?[a.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:qr,title:gt.name},wn,{href:gt.url,onClick:xr=>sn(gt,xr)}),gt.name),Qr]:[a.createElement("span",{key:"view",className:qr,onClick:xr=>sn(gt,xr),title:gt.name},gt.name),Qr],dr={pointerEvents:"none",opacity:.5},Br=tr?a.createElement("a",{href:gt.url||gt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:gt.url||gt.thumbUrl?void 0:dr,onClick:xr=>sn(gt,xr),title:on.previewFile},typeof Dt=="function"?Dt(gt):Dt||a.createElement(Ne.Z,null)):null,Ea=(pt==="picture-card"||pt==="picture-circle")&&Rn!=="uploading"&&a.createElement("span",{className:`${nn}-list-item-actions`},Br,Rn==="done"&&mr,ar),{getPrefixCls:ca}=a.useContext(A.E_),Kn=ca(),zn=a.createElement("div",{className:Cn},Bn,ya,Ea,fr&&a.createElement(he.ZP,{motionName:`${Kn}-fade`,visible:Rn==="uploading",motionDeadline:2e3},xr=>{let{className:jt}=xr;const an="percent"in gt?a.createElement(Ae.Z,Object.assign({},rn,{type:"line",percent:gt.percent,"aria-label":gt["aria-label"],"aria-labelledby":gt["aria-labelledby"]})):null;return a.createElement("div",{className:s()(`${nn}-list-item-progress`,jt)},an)})),vr=gt.response&&typeof gt.response=="string"?gt.response:((Nn=gt.error)===null||Nn===void 0?void 0:Nn.statusText)||((gr=gt.error)===null||gr===void 0?void 0:gr.message)||on.uploadError,ra=Rn==="error"?a.createElement(we.Z,{title:vr,getPopupContainer:xr=>xr.parentNode},zn):zn;return a.createElement("div",{className:s()(`${nn}-list-item-container`,fn),style:En,ref:en},mn?mn(ra,gt,Xt,{download:tn.bind(null,gt),preview:sn.bind(null,gt),remove:xn.bind(null,gt)}):ra)});const nt=(Wt,en)=>{const{listType:nn="text",previewFile:fn=re,onPreview:En,onDownload:on,onRemove:pt,locale:gt,iconRender:Xt,isImageUrl:rn=Se,prefixCls:Jt,items:pn=[],showPreviewIcon:mn=!0,showRemoveIcon:Zn=!0,showDownloadIcon:tr=!1,removeIcon:ut,previewIcon:ct,downloadIcon:Dt,progress:xt={size:[-1,2],showInfo:!1},appendAction:kt,appendActionVisible:sn=!0,itemRender:tn,disabled:xn}=Wt,Nn=(0,J.Z)(),[gr,nr]=a.useState(!1);a.useEffect(()=>{nn!=="picture"&&nn!=="picture-card"&&nn!=="picture-circle"||(pn||[]).forEach(dr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(dr.originFileObj instanceof File||dr.originFileObj instanceof Blob)||dr.thumbUrl!==void 0||(dr.thumbUrl="",fn&&fn(dr.originFileObj).then(Br=>{dr.thumbUrl=Br||"",Nn()}))})},[nn,pn,fn]),a.useEffect(()=>{nr(!0)},[]);const Rn=(dr,Br)=>{if(En)return Br==null||Br.preventDefault(),En(dr)},kr=dr=>{typeof on=="function"?on(dr):dr.url&&window.open(dr.url)},fr=dr=>{pt==null||pt(dr)},ua=dr=>{if(Xt)return Xt(dr,nn);const Br=dr.status==="uploading",Ea=rn&&rn(dr)?a.createElement(Ke,null):a.createElement(qe,null);let ca=Br?a.createElement(Xe.Z,null):a.createElement(Ht,null);return nn==="picture"?ca=Br?a.createElement(Xe.Z,null):Ea:(nn==="picture-card"||nn==="picture-circle")&&(ca=Br?gt.uploading:Ea),ca},Pr=(dr,Br,Ea,ca)=>{const Kn={type:"text",size:"small",title:ca,onClick:zn=>{Br(),(0,R.l$)(dr)&&dr.props.onClick&&dr.props.onClick(zn)},className:`${Ea}-list-item-action`,disabled:xn};if((0,R.l$)(dr)){const zn=(0,R.Tm)(dr,Object.assign(Object.assign({},dr.props),{onClick:()=>{}}));return a.createElement(P.ZP,Object.assign({},Kn,{icon:zn}))}return a.createElement(P.ZP,Object.assign({},Kn),a.createElement("span",null,dr))};a.useImperativeHandle(en,()=>({handlePreview:Rn,handleDownload:kr}));const{getPrefixCls:Bn}=a.useContext(A.E_),Cn=Bn("upload",Jt),wn=Bn(),ar=s()(`${Cn}-list`,`${Cn}-list-${nn}`),mr=(0,t.Z)(pn.map(dr=>({key:dr.uid,file:dr})));let qr={motionDeadline:2e3,motionName:`${Cn}-${nn==="picture-card"||nn==="picture-circle"?"animate-inline":"animate"}`,keys:mr,motionAppear:gr};const ya=a.useMemo(()=>{const dr=Object.assign({},(0,V.Z)(wn));return delete dr.onAppearEnd,delete dr.onEnterEnd,delete dr.onLeaveEnd,dr},[wn]);return nn!=="picture-card"&&nn!=="picture-circle"&&(qr=Object.assign(Object.assign({},ya),qr)),a.createElement("div",{className:ar},a.createElement(he.V4,Object.assign({},qr,{component:!1}),dr=>{let{key:Br,file:Ea,className:ca,style:Kn}=dr;return a.createElement(st,{key:Br,locale:gt,prefixCls:Cn,className:ca,style:Kn,file:Ea,items:pn,progress:xt,listType:nn,isImgUrl:rn,showPreviewIcon:mn,showRemoveIcon:Zn,showDownloadIcon:tr,removeIcon:ut,previewIcon:ct,downloadIcon:Dt,iconRender:ua,actionIconRender:Pr,itemRender:tn,onPreview:Rn,onDownload:kr,onClose:fr})}),kt&&a.createElement(he.ZP,Object.assign({},qr,{visible:sn,forceRender:!0}),dr=>{let{className:Br,style:Ea}=dr;return(0,R.Tm)(kt,ca=>({className:s()(ca.className,Br),style:Object.assign(Object.assign(Object.assign({},Ea),{pointerEvents:Br?"none":void 0}),ca.style)}))}))};var We=a.forwardRef(nt),Be=e(78330),it=e(41086),Ge=e(52628),Ot=e(22151),wt=Wt=>{const{componentCls:en,iconCls:nn}=Wt;return{[`${en}-wrapper`]:{[`${en}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Wt.colorFillAlter,border:`${Wt.lineWidth}px dashed ${Wt.colorBorder}`,borderRadius:Wt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Wt.motionDurationSlow}`,[en]:{padding:`${Wt.padding}px 0`},[`${en}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${en}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${en}-disabled):hover`]:{borderColor:Wt.colorPrimaryHover},[`p${en}-drag-icon`]:{marginBottom:Wt.margin,[nn]:{color:Wt.colorPrimary,fontSize:Wt.uploadThumbnailSize}},[`p${en}-text`]:{margin:`0 0 ${Wt.marginXXS}px`,color:Wt.colorTextHeading,fontSize:Wt.fontSizeLG},[`p${en}-hint`]:{color:Wt.colorTextDescription,fontSize:Wt.fontSize},[`&${en}-disabled`]:{cursor:"not-allowed",[`p${en}-drag-icon ${nn}, + p${en}-text, + p${en}-hint + `]:{color:Wt.colorTextDisabled}}}}}},dt=Wt=>{const{componentCls:en,antCls:nn,iconCls:fn,fontSize:En,lineHeight:on}=Wt,pt=`${en}-list-item`,gt=`${pt}-actions`,Xt=`${pt}-action`,rn=Math.round(En*on);return{[`${en}-wrapper`]:{[`${en}-list`]:Object.assign(Object.assign({},(0,Be.dF)()),{lineHeight:Wt.lineHeight,[pt]:{position:"relative",height:Wt.lineHeight*En,marginTop:Wt.marginXS,fontSize:En,display:"flex",alignItems:"center",transition:`background-color ${Wt.motionDurationSlow}`,"&:hover":{backgroundColor:Wt.controlItemBgHover},[`${pt}-name`]:Object.assign(Object.assign({},Be.vS),{padding:`0 ${Wt.paddingXS}px`,lineHeight:on,flex:"auto",transition:`all ${Wt.motionDurationSlow}`}),[gt]:{[Xt]:{opacity:0},[`${Xt}${nn}-btn-sm`]:{height:rn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${Xt}:focus, + &.picture ${Xt} + `]:{opacity:1},[fn]:{color:Wt.actionsColor,transition:`all ${Wt.motionDurationSlow}`},[`&:hover ${fn}`]:{color:Wt.colorText}},[`${en}-icon ${fn}`]:{color:Wt.colorTextDescription,fontSize:En},[`${pt}-progress`]:{position:"absolute",bottom:-Wt.uploadProgressOffset,width:"100%",paddingInlineStart:En+Wt.paddingXS,fontSize:En,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${pt}:hover ${Xt}`]:{opacity:1,color:Wt.colorText},[`${pt}-error`]:{color:Wt.colorError,[`${pt}-name, ${en}-icon ${fn}`]:{color:Wt.colorError},[gt]:{[`${fn}, ${fn}:hover`]:{color:Wt.colorError},[Xt]:{opacity:1}}},[`${en}-list-item-container`]:{transition:`opacity ${Wt.motionDurationSlow}, height ${Wt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},je=e(57793),tt=e(7239);const lt=new je.E4("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),bt=new je.E4("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Kt=Wt=>{const{componentCls:en}=Wt,nn=`${en}-animate-inline`;return[{[`${en}-wrapper`]:{[`${nn}-appear, ${nn}-enter, ${nn}-leave`]:{animationDuration:Wt.motionDurationSlow,animationTimingFunction:Wt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${nn}-appear, ${nn}-enter`]:{animationName:lt},[`${nn}-leave`]:{animationName:bt}}},{[`${en}-wrapper`]:(0,tt.J$)(Wt)},lt,bt]},zt=e(26134),Mt=e(66671);const Le=Wt=>{const{componentCls:en,iconCls:nn,uploadThumbnailSize:fn,uploadProgressOffset:En}=Wt,on=`${en}-list`,pt=`${on}-item`;return{[`${en}-wrapper`]:{[` + ${on}${on}-picture, + ${on}${on}-picture-card, + ${on}${on}-picture-circle + `]:{[pt]:{position:"relative",height:fn+Wt.lineWidth*2+Wt.paddingXS*2,padding:Wt.paddingXS,border:`${Wt.lineWidth}px ${Wt.lineType} ${Wt.colorBorder}`,borderRadius:Wt.borderRadiusLG,"&:hover":{background:"transparent"},[`${pt}-thumbnail`]:Object.assign(Object.assign({},Be.vS),{width:fn,height:fn,lineHeight:`${fn+Wt.paddingSM}px`,textAlign:"center",flex:"none",[nn]:{fontSize:Wt.fontSizeHeading2,color:Wt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${pt}-progress`]:{bottom:En,width:`calc(100% - ${Wt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:fn+Wt.paddingXS}},[`${pt}-error`]:{borderColor:Wt.colorError,[`${pt}-thumbnail ${nn}`]:{[`svg path[fill='${zt.blue[0]}']`]:{fill:Wt.colorErrorBg},[`svg path[fill='${zt.blue.primary}']`]:{fill:Wt.colorError}}},[`${pt}-uploading`]:{borderStyle:"dashed",[`${pt}-name`]:{marginBottom:En}}},[`${on}${on}-picture-circle ${pt}`]:{[`&, &::before, ${pt}-thumbnail`]:{borderRadius:"50%"}}}}},Ce=Wt=>{const{componentCls:en,iconCls:nn,fontSizeLG:fn,colorTextLightSolid:En}=Wt,on=`${en}-list`,pt=`${on}-item`,gt=Wt.uploadPicCardSize;return{[` + ${en}-wrapper${en}-picture-card-wrapper, + ${en}-wrapper${en}-picture-circle-wrapper + `]:Object.assign(Object.assign({},(0,Be.dF)()),{display:"inline-block",width:"100%",[`${en}${en}-select`]:{width:gt,height:gt,marginInlineEnd:Wt.marginXS,marginBottom:Wt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Wt.colorFillAlter,border:`${Wt.lineWidth}px dashed ${Wt.colorBorder}`,borderRadius:Wt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Wt.motionDurationSlow}`,[`> ${en}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${en}-disabled):hover`]:{borderColor:Wt.colorPrimary}},[`${on}${on}-picture-card, ${on}${on}-picture-circle`]:{[`${on}-item-container`]:{display:"inline-block",width:gt,height:gt,marginBlock:`0 ${Wt.marginXS}px`,marginInline:`0 ${Wt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[pt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Wt.paddingXS*2}px)`,height:`calc(100% - ${Wt.paddingXS*2}px)`,backgroundColor:Wt.colorBgMask,opacity:0,transition:`all ${Wt.motionDurationSlow}`,content:'" "'}},[`${pt}:hover`]:{[`&::before, ${pt}-actions`]:{opacity:1}},[`${pt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Wt.motionDurationSlow}`,[`${nn}-eye, ${nn}-download, ${nn}-delete`]:{zIndex:10,width:fn,margin:`0 ${Wt.marginXXS}px`,fontSize:fn,cursor:"pointer",transition:`all ${Wt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${pt}-actions, ${pt}-actions:hover`]:{[`${nn}-eye, ${nn}-download, ${nn}-delete`]:{color:new Mt.C(En).setAlpha(.65).toRgbString(),"&:hover":{color:En}}},[`${pt}-thumbnail, ${pt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${pt}-name`]:{display:"none",textAlign:"center"},[`${pt}-file + ${pt}-name`]:{position:"absolute",bottom:Wt.margin,display:"block",width:`calc(100% - ${Wt.paddingXS*2}px)`},[`${pt}-uploading`]:{[`&${pt}`]:{backgroundColor:Wt.colorFillAlter},[`&::before, ${nn}-eye, ${nn}-download, ${nn}-delete`]:{display:"none"}},[`${pt}-progress`]:{bottom:Wt.marginXL,width:`calc(100% - ${Wt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${en}-wrapper${en}-picture-circle-wrapper`]:{[`${en}${en}-select`]:{borderRadius:"50%"}}}};var Tt=Wt=>{const{componentCls:en}=Wt;return{[`${en}-rtl`]:{direction:"rtl"}}};const Ye=Wt=>{const{componentCls:en,colorTextDisabled:nn}=Wt;return{[`${en}-wrapper`]:Object.assign(Object.assign({},(0,Be.Wf)(Wt)),{[en]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${en}-select`]:{display:"inline-block"},[`${en}-disabled`]:{color:nn,cursor:"not-allowed"}})}};var et=(0,Ge.Z)("Upload",Wt=>{const{fontSizeHeading3:en,fontSize:nn,lineHeight:fn,lineWidth:En,controlHeightLG:on}=Wt,pt=Math.round(nn*fn),gt=(0,Ot.TS)(Wt,{uploadThumbnailSize:en*2,uploadProgressOffset:pt/2+En,uploadPicCardSize:on*2.55});return[Ye(gt),wt(gt),Le(gt),Ce(gt),dt(gt),Kt(gt),Tt(gt),(0,it.Z)(gt)]},Wt=>({actionsColor:Wt.colorTextDescription})),_t=function(Wt,en,nn,fn){function En(on){return on instanceof nn?on:new nn(function(pt){pt(on)})}return new(nn||(nn=Promise))(function(on,pt){function gt(Jt){try{rn(fn.next(Jt))}catch(pn){pt(pn)}}function Xt(Jt){try{rn(fn.throw(Jt))}catch(pn){pt(pn)}}function rn(Jt){Jt.done?on(Jt.value):En(Jt.value).then(gt,Xt)}rn((fn=fn.apply(Wt,en||[])).next())})};const Ut=`__LIST_IGNORE_${Date.now()}__`,qt=(Wt,en)=>{const{fileList:nn,defaultFileList:fn,onRemove:En,showUploadList:on=!0,listType:pt="text",onPreview:gt,onDownload:Xt,onChange:rn,onDrop:Jt,previewFile:pn,disabled:mn,locale:Zn,iconRender:tr,isImageUrl:ut,progress:ct,prefixCls:Dt,className:xt,type:kt="select",children:sn,style:tn,itemRender:xn,maxCount:Nn,data:gr={},multiple:nr=!1,action:Rn="",accept:kr="",supportServerRender:fr=!0}=Wt,ua=a.useContext(Y.Z),Pr=mn!=null?mn:ua,[Bn,Cn]=(0,H.Z)(fn||[],{value:nn,postState:_n=>_n!=null?_n:[]}),[wn,ar]=a.useState("drop"),mr=a.useRef(null);a.useMemo(()=>{const _n=Date.now();(nn||[]).forEach((Tn,yr)=>{!Tn.uid&&!Object.isFrozen(Tn)&&(Tn.uid=`__AUTO__${_n}_${yr}__`)})},[nn]);const Qr=(_n,Tn,yr)=>{let Wr=(0,t.Z)(Tn),Da=!1;Nn===1?Wr=Wr.slice(-1):Nn&&(Da=Wr.length>Nn,Wr=Wr.slice(0,Nn)),(0,k.flushSync)(()=>{Cn(Wr)});const la={file:_n,fileList:Wr};yr&&(la.event=yr),(!Da||Wr.some(ea=>ea.uid===_n.uid))&&(0,k.flushSync)(()=>{rn==null||rn(la)})},qr=(_n,Tn)=>_t(void 0,void 0,void 0,function*(){const{beforeUpload:yr,transformFile:Wr}=Wt;let Da=_n;if(yr){const la=yield yr(_n,Tn);if(la===!1)return!1;if(delete _n[Ut],la===Ut)return Object.defineProperty(_n,Ut,{value:!0,configurable:!0}),!1;typeof la=="object"&&la&&(Da=la)}return Wr&&(Da=yield Wr(Da)),Da}),ya=_n=>{const Tn=_n.filter(Da=>!Da.file[Ut]);if(!Tn.length)return;const yr=Tn.map(Da=>B(Da.file));let Wr=(0,t.Z)(Bn);yr.forEach(Da=>{Wr=ge(Da,Wr)}),yr.forEach((Da,la)=>{let ea=Da;if(Tn[la].parsedFile)Da.status="uploading";else{const{originFileObj:oa}=Da;let Ir;try{Ir=new File([oa],oa.name,{type:oa.type})}catch($r){Ir=new Blob([oa],{type:oa.type}),Ir.name=oa.name,Ir.lastModifiedDate=new Date,Ir.lastModified=new Date().getTime()}Ir.uid=Da.uid,ea=Ir}Qr(ea,Wr)})},dr=(_n,Tn,yr)=>{try{typeof _n=="string"&&(_n=JSON.parse(_n))}catch(la){}if(!ie(Tn,Bn))return;const Wr=B(Tn);Wr.status="done",Wr.percent=100,Wr.response=_n,Wr.xhr=yr;const Da=ge(Wr,Bn);Qr(Wr,Da)},Br=(_n,Tn)=>{if(!ie(Tn,Bn))return;const yr=B(Tn);yr.status="uploading",yr.percent=_n.percent;const Wr=ge(yr,Bn);Qr(yr,Wr,_n)},Ea=(_n,Tn,yr)=>{if(!ie(yr,Bn))return;const Wr=B(yr);Wr.error=_n,Wr.response=Tn,Wr.status="error";const Da=ge(Wr,Bn);Qr(Wr,Da)},ca=_n=>{let Tn;Promise.resolve(typeof En=="function"?En(_n):En).then(yr=>{var Wr;if(yr===!1)return;const Da=pe(_n,Bn);Da&&(Tn=Object.assign(Object.assign({},_n),{status:"removed"}),Bn==null||Bn.forEach(la=>{const ea=Tn.uid!==void 0?"uid":"name";la[ea]===Tn[ea]&&!Object.isFrozen(la)&&(la.status="removed")}),(Wr=mr.current)===null||Wr===void 0||Wr.abort(Tn),Qr(Tn,Da))})},Kn=_n=>{ar(_n.type),_n.type==="drop"&&(Jt==null||Jt(_n))};a.useImperativeHandle(en,()=>({onBatchStart:ya,onSuccess:dr,onProgress:Br,onError:Ea,fileList:Bn,upload:mr.current}));const{getPrefixCls:zn,direction:vr,upload:ra}=a.useContext(A.E_),xr=zn("upload",Dt),jt=Object.assign(Object.assign({onBatchStart:ya,onError:Ea,onProgress:Br,onSuccess:dr},Wt),{data:gr,multiple:nr,action:Rn,accept:kr,supportServerRender:fr,prefixCls:xr,disabled:Pr,beforeUpload:qr,onChange:void 0});delete jt.className,delete jt.style,(!sn||Pr)&&delete jt.id;const[an,hn]=et(xr),[ao]=(0,de.Z)("Upload",me.Z.Upload),{showRemoveIcon:Mo,showPreviewIcon:Ua,showDownloadIcon:Ha,removeIcon:eo,previewIcon:jo,downloadIcon:Wo}=typeof on=="boolean"?{}:on,Eo=(_n,Tn)=>on?a.createElement(We,{prefixCls:xr,listType:pt,items:Bn,previewFile:pn,onPreview:gt,onDownload:Xt,onRemove:ca,showRemoveIcon:!Pr&&Mo,showPreviewIcon:Ua,showDownloadIcon:Ha,removeIcon:eo,previewIcon:jo,downloadIcon:Wo,iconRender:tr,locale:Object.assign(Object.assign({},ao),Zn),isImageUrl:ut,progress:ct,appendAction:_n,appendActionVisible:Tn,itemRender:xn,disabled:Pr}):_n,ft=s()(`${xr}-wrapper`,xt,hn,ra==null?void 0:ra.className,{[`${xr}-rtl`]:vr==="rtl",[`${xr}-picture-card-wrapper`]:pt==="picture-card",[`${xr}-picture-circle-wrapper`]:pt==="picture-circle"}),Nt=Object.assign(Object.assign({},ra==null?void 0:ra.style),tn);if(kt==="drag"){const _n=s()(hn,xr,`${xr}-drag`,{[`${xr}-drag-uploading`]:Bn.some(Tn=>Tn.status==="uploading"),[`${xr}-drag-hover`]:wn==="dragover",[`${xr}-disabled`]:Pr,[`${xr}-rtl`]:vr==="rtl"});return an(a.createElement("span",{className:ft},a.createElement("div",{className:_n,style:Nt,onDrop:Kn,onDragOver:Kn,onDragLeave:Kn},a.createElement(O,Object.assign({},jt,{ref:mr,className:`${xr}-btn`}),a.createElement("div",{className:`${xr}-drag-container`},sn))),Eo()))}const Ie=s()(xr,`${xr}-select`,{[`${xr}-disabled`]:Pr}),dn=(_n=>a.createElement("div",{className:Ie,style:_n},a.createElement(O,Object.assign({},jt,{ref:mr}))))(sn?void 0:{display:"none"});return an(pt==="picture-card"||pt==="picture-circle"?a.createElement("span",{className:ft},Eo(dn,!!sn)):a.createElement("span",{className:ft},dn,Eo()))};var Mn=a.forwardRef(qt),vn=function(Wt,en){var nn={};for(var fn in Wt)Object.prototype.hasOwnProperty.call(Wt,fn)&&en.indexOf(fn)<0&&(nn[fn]=Wt[fn]);if(Wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var En=0,fn=Object.getOwnPropertySymbols(Wt);En{var{style:nn,height:fn}=Wt,En=vn(Wt,["style","height"]);return a.createElement(Mn,Object.assign({ref:en},En,{type:"drag",style:Object.assign(Object.assign({},nn),{height:fn})}))});const or=Mn;or.Dragger=Vn,or.LIST_IGNORE=Ut;var er=or},93430:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a="5.8.5",t=a},78635:function(b,y,e){"use strict";e.d(y,{Z:function(){return V}});var a=e(73656);function t(){return t=Object.assign?Object.assign.bind():function(R){for(var P=1;P1?P-1:0),ge=1;ge=pe)return xe;switch(xe){case"%s":return String(B[ie++]);case"%d":return Number(B[ie++]);case"%j":try{return JSON.stringify(B[ie++])}catch(Se){return"[Circular]"}break;default:return xe}});return Oe}return R}function w(R){return R==="string"||R==="url"||R==="hex"||R==="email"||R==="date"||R==="pattern"}function x(R,P){return!!(R==null||P==="array"&&Array.isArray(R)&&!R.length||w(P)&&typeof R=="string"&&!R)}function z(R,P,B){var ge=[],ie=0,pe=R.length;function Oe(xe){ge.push.apply(ge,xe||[]),ie++,ie===pe&&B(ge)}R.forEach(function(xe){P(xe,Oe)})}function U(R,P,B){var ge=0,ie=R.length;function pe(Oe){if(Oe&&Oe.length){B(Oe);return}var xe=ge;ge=ge+1,xe()\[\]\\.,;:\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},Q={integer:function(P){return Q.number(P)&&parseInt(P,10)===P},float:function(P){return Q.number(P)&&!Q.integer(P)},array:function(P){return Array.isArray(P)},regexp:function(P){if(P instanceof RegExp)return!0;try{return!!new RegExp(P)}catch(B){return!1}},date:function(P){return typeof P.getTime=="function"&&typeof P.getMonth=="function"&&typeof P.getYear=="function"&&!isNaN(P.getTime())},number:function(P){return isNaN(P)?!1:typeof P=="number"},object:function(P){return typeof P=="object"&&!Q.array(P)},method:function(P){return typeof P=="function"},email:function(P){return typeof P=="string"&&P.length<=320&&!!P.match(se.email)},url:function(P){return typeof P=="string"&&P.length<=2048&&!!P.match(ee())},hex:function(P){return typeof P=="string"&&!!P.match(se.hex)}},C=function(P,B,ge,ie,pe){if(P.required&&B===void 0){W(P,B,ge,ie,pe);return}var Oe=["integer","float","array","regexp","object","method","email","number","date","url","hex"],xe=P.type;Oe.indexOf(xe)>-1?Q[xe](B)||ie.push(S(pe.messages.types[xe],P.fullField,P.type)):xe&&typeof B!==P.type&&ie.push(S(pe.messages.types[xe],P.fullField,P.type))},X=function(P,B,ge,ie,pe){var Oe=typeof P.len=="number",xe=typeof P.min=="number",Se=typeof P.max=="number",$e=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,re=B,oe=null,q=typeof B=="number",ue=typeof B=="string",Ee=Array.isArray(B);if(q?oe="number":ue?oe="string":Ee&&(oe="array"),!oe)return!1;Ee&&(re=B.length),ue&&(re=B.replace($e,"_").length),Oe?re!==P.len&&ie.push(S(pe.messages[oe].len,P.fullField,P.len)):xe&&!Se&&reP.max?ie.push(S(pe.messages[oe].max,P.fullField,P.max)):xe&&Se&&(reP.max)&&ie.push(S(pe.messages[oe].range,P.fullField,P.min,P.max))},O="enum",H=function(P,B,ge,ie,pe){P[O]=Array.isArray(P[O])?P[O]:[],P[O].indexOf(B)===-1&&ie.push(S(pe.messages[O],P.fullField,P[O].join(", ")))},k=function(P,B,ge,ie,pe){if(P.pattern){if(P.pattern instanceof RegExp)P.pattern.lastIndex=0,P.pattern.test(B)||ie.push(S(pe.messages.pattern.mismatch,P.fullField,B,P.pattern));else if(typeof P.pattern=="string"){var Oe=new RegExp(P.pattern);Oe.test(B)||ie.push(S(pe.messages.pattern.mismatch,P.fullField,B,P.pattern))}}},A={required:W,whitespace:ne,type:C,range:X,enum:H,pattern:k},Y=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(x(B,"string")&&!P.required)return ge();A.required(P,B,ie,Oe,pe,"string"),x(B,"string")||(A.type(P,B,ie,Oe,pe),A.range(P,B,ie,Oe,pe),A.pattern(P,B,ie,Oe,pe),P.whitespace===!0&&A.whitespace(P,B,ie,Oe,pe))}ge(Oe)},de=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(x(B)&&!P.required)return ge();A.required(P,B,ie,Oe,pe),B!==void 0&&A.type(P,B,ie,Oe,pe)}ge(Oe)},me=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(B===""&&(B=void 0),x(B)&&!P.required)return ge();A.required(P,B,ie,Oe,pe),B!==void 0&&(A.type(P,B,ie,Oe,pe),A.range(P,B,ie,Oe,pe))}ge(Oe)},ve=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(x(B)&&!P.required)return ge();A.required(P,B,ie,Oe,pe),B!==void 0&&A.type(P,B,ie,Oe,pe)}ge(Oe)},be=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(x(B)&&!P.required)return ge();A.required(P,B,ie,Oe,pe),x(B)||A.type(P,B,ie,Oe,pe)}ge(Oe)},Pe=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(x(B)&&!P.required)return ge();A.required(P,B,ie,Oe,pe),B!==void 0&&(A.type(P,B,ie,Oe,pe),A.range(P,B,ie,Oe,pe))}ge(Oe)},Je=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(x(B)&&!P.required)return ge();A.required(P,B,ie,Oe,pe),B!==void 0&&(A.type(P,B,ie,Oe,pe),A.range(P,B,ie,Oe,pe))}ge(Oe)},qe=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(B==null&&!P.required)return ge();A.required(P,B,ie,Oe,pe,"array"),B!=null&&(A.type(P,B,ie,Oe,pe),A.range(P,B,ie,Oe,pe))}ge(Oe)},Xe=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(x(B)&&!P.required)return ge();A.required(P,B,ie,Oe,pe),B!==void 0&&A.type(P,B,ie,Oe,pe)}ge(Oe)},mt="enum",Ct=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(x(B)&&!P.required)return ge();A.required(P,B,ie,Oe,pe),B!==void 0&&A[mt](P,B,ie,Oe,pe)}ge(Oe)},vt=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(x(B,"string")&&!P.required)return ge();A.required(P,B,ie,Oe,pe),x(B,"string")||A.pattern(P,B,ie,Oe,pe)}ge(Oe)},Ht=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(x(B,"date")&&!P.required)return ge();if(A.required(P,B,ie,Oe,pe),!x(B,"date")){var Se;B instanceof Date?Se=B:Se=new Date(B),A.type(P,Se,ie,Oe,pe),Se&&A.range(P,Se.getTime(),ie,Oe,pe)}}ge(Oe)},ke=function(P,B,ge,ie,pe){var Oe=[],xe=Array.isArray(B)?"array":typeof B;A.required(P,B,ie,Oe,pe,xe),ge(Oe)},Ve=function(P,B,ge,ie,pe){var Oe=P.type,xe=[],Se=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Se){if(x(B,Oe)&&!P.required)return ge();A.required(P,B,ie,xe,pe,Oe),x(B,Oe)||A.type(P,B,ie,xe,pe)}ge(xe)},ot=function(P,B,ge,ie,pe){var Oe=[],xe=P.required||!P.required&&ie.hasOwnProperty(P.field);if(xe){if(x(B)&&!P.required)return ge();A.required(P,B,ie,Oe,pe)}ge(Oe)},Ke={string:Y,method:de,number:me,boolean:ve,regexp:be,integer:Pe,float:Je,array:qe,object:Xe,enum:Ct,pattern:vt,date:Ht,url:Ve,hex:Ve,email:Ve,required:ke,any:ot};function he(){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 P=JSON.parse(JSON.stringify(this));return P.clone=this.clone,P}}}var J=he(),V=function(){function R(B){this.rules=null,this._messages=J,this.define(B)}var P=R.prototype;return P.define=function(ge){var ie=this;if(!ge)throw new Error("Cannot configure a schema with no rules");if(typeof ge!="object"||Array.isArray(ge))throw new Error("Rules must be an object");this.rules={},Object.keys(ge).forEach(function(pe){var Oe=ge[pe];ie.rules[pe]=Array.isArray(Oe)?Oe:[Oe]})},P.messages=function(ge){return ge&&(this._messages=G(he(),ge)),this._messages},P.validate=function(ge,ie,pe){var Oe=this;ie===void 0&&(ie={}),pe===void 0&&(pe=function(){});var xe=ge,Se=ie,$e=pe;if(typeof Se=="function"&&($e=Se,Se={}),!this.rules||Object.keys(this.rules).length===0)return $e&&$e(null,xe),Promise.resolve(xe);function re(le){var Ne=[],Ae={};function we(st){if(Array.isArray(st)){var nt;Ne=(nt=Ne).concat.apply(nt,st)}else Ne.push(st)}for(var Re=0;Re=200&&S<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};t.forEach(["delete","get","head"],function(S){M.headers[S]={}}),t.forEach(["post","put","patch"],function(S){M.headers[S]=t.merge(l)}),b.exports=M},30872:function(b){"use strict";b.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},93424:function(b){b.exports={version:"0.27.2"}},22154:function(b){"use strict";b.exports=function(e,a){return function(){for(var o=new Array(arguments.length),s=0;s=0)return;d==="set-cookie"?n[d]=(n[d]?n[d]:[]).concat([l]):n[d]=n[d]?n[d]+", "+l:l}}),n}},17437:function(b){"use strict";b.exports=function(e){var a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}},64476:function(b){"use strict";b.exports=function(e){return function(t){return e.apply(null,t)}}},90792:function(b,y,e){"use strict";var a=e(21468).lW,t=e(82774);function o(s,n){n=n||new FormData;var d=[];function l(m){return m===null?"":t.isDate(m)?m.toISOString():t.isArrayBuffer(m)||t.isTypedArray(m)?typeof Blob=="function"?new Blob([m]):a.from(m):m}function c(m,g){if(t.isPlainObject(m)||t.isArray(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+g);d.push(m),t.forEach(m,function(h,S){if(!t.isUndefined(h)){var w=g?g+"."+S:S,x;if(h&&!g&&typeof h=="object"){if(t.endsWith(S,"{}"))h=JSON.stringify(h);else if(t.endsWith(S,"[]")&&(x=t.toArray(h))){x.forEach(function(z){!t.isUndefined(z)&&n.append(w,l(z))});return}}c(h,w)}}),d.pop()}else n.append(g,l(m))}return c(s),n}b.exports=o},73215:function(b,y,e){"use strict";var a=e(93424).version,t=e(44936),o={};["object","boolean","number","function","string","symbol"].forEach(function(d,l){o[d]=function(m){return typeof m===d||"a"+(l<1?"n ":" ")+d}});var s={};o.transitional=function(l,c,m){function g(M,h){return"[Axios v"+a+"] Transitional option '"+M+"'"+h+(m?". "+m:"")}return function(M,h,S){if(l===!1)throw new t(g(h," has been removed"+(c?" in "+c:"")),t.ERR_DEPRECATED);return c&&!s[h]&&(s[h]=!0,console.warn(g(h," has been deprecated since v"+c+" and will be removed in the near future"))),l?l(M,h,S):!0}};function n(d,l,c){if(typeof d!="object")throw new t("options must be an object",t.ERR_BAD_OPTION_VALUE);for(var m=Object.keys(d),g=m.length;g-- >0;){var M=m[g],h=l[M];if(h){var S=d[M],w=S===void 0||h(S,M,d);if(w!==!0)throw new t("option "+M+" must be "+w,t.ERR_BAD_OPTION_VALUE);continue}if(c!==!0)throw new t("Unknown option "+M,t.ERR_BAD_OPTION)}}b.exports={assertOptions:n,validators:o}},82774:function(b,y,e){"use strict";var a=e(22154),t=Object.prototype.toString,o=function(O){return function(H){var k=t.call(H);return O[k]||(O[k]=k.slice(8,-1).toLowerCase())}}(Object.create(null));function s(O){return O=O.toLowerCase(),function(k){return o(k)===O}}function n(O){return Array.isArray(O)}function d(O){return typeof O=="undefined"}function l(O){return O!==null&&!d(O)&&O.constructor!==null&&!d(O.constructor)&&typeof O.constructor.isBuffer=="function"&&O.constructor.isBuffer(O)}var c=s("ArrayBuffer");function m(O){var H;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?H=ArrayBuffer.isView(O):H=O&&O.buffer&&c(O.buffer),H}function g(O){return typeof O=="string"}function M(O){return typeof O=="number"}function h(O){return O!==null&&typeof O=="object"}function S(O){if(o(O)!=="object")return!1;var H=Object.getPrototypeOf(O);return H===null||H===Object.prototype}var w=s("Date"),x=s("File"),z=s("Blob"),U=s("FileList");function T(O){return t.call(O)==="[object Function]"}function N(O){return h(O)&&T(O.pipe)}function Z(O){var H="[object FormData]";return O&&(typeof FormData=="function"&&O instanceof FormData||t.call(O)===H||T(O.toString)&&O.toString()===H)}var D=s("URLSearchParams");function L(O){return O.trim?O.trim():O.replace(/^\s+|\s+$/g,"")}function j(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function G(O,H){if(!(O===null||typeof O=="undefined"))if(typeof O!="object"&&(O=[O]),n(O))for(var k=0,A=O.length;k0;)de=A[Y],me[de]||(H[de]=O[de],me[de]=!0);O=Object.getPrototypeOf(O)}while(O&&(!k||k(O,H))&&O!==Object.prototype);return H}function Q(O,H,k){O=String(O),(k===void 0||k>O.length)&&(k=O.length),k-=H.length;var A=O.indexOf(H,k);return A!==-1&&A===k}function C(O){if(!O)return null;var H=O.length;if(d(H))return null;for(var k=new Array(H);H-- >0;)k[H]=O[H];return k}var X=function(O){return function(H){return O&&H instanceof O}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array));b.exports={isArray:n,isArrayBuffer:c,isBuffer:l,isFormData:Z,isArrayBufferView:m,isString:g,isNumber:M,isObject:h,isPlainObject:S,isUndefined:d,isDate:w,isFile:x,isBlob:z,isFunction:T,isStream:N,isURLSearchParams:D,isStandardBrowserEnv:j,forEach:G,merge:W,extend:ne,trim:L,stripBOM:_,inherits:ee,toFlatObject:se,kindOf:o,kindOfTest:s,endsWith:Q,toArray:C,isTypedArray:X,isFileList:U}},26446:function(b,y){"use strict";y.byteLength=l,y.toByteArray=m,y.fromByteArray=h;for(var e=[],a=[],t=typeof Uint8Array!="undefined"?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,n=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var x=S.indexOf("=");x===-1&&(x=w);var z=x===w?0:4-x%4;return[x,z]}function l(S){var w=d(S),x=w[0],z=w[1];return(x+z)*3/4-z}function c(S,w,x){return(w+x)*3/4-x}function m(S){var w,x=d(S),z=x[0],U=x[1],T=new t(c(S,z,U)),N=0,Z=U>0?z-4:z,D;for(D=0;D>16&255,T[N++]=w>>8&255,T[N++]=w&255;return U===2&&(w=a[S.charCodeAt(D)]<<2|a[S.charCodeAt(D+1)]>>4,T[N++]=w&255),U===1&&(w=a[S.charCodeAt(D)]<<10|a[S.charCodeAt(D+1)]<<4|a[S.charCodeAt(D+2)]>>2,T[N++]=w>>8&255,T[N++]=w&255),T}function g(S){return e[S>>18&63]+e[S>>12&63]+e[S>>6&63]+e[S&63]}function M(S,w,x){for(var z,U=[],T=w;TZ?Z:N+T));return z===1?(w=S[x-1],U.push(e[w>>2]+e[w<<4&63]+"==")):z===2&&(w=(S[x-2]<<8)+S[x-1],U.push(e[w>>10]+e[w>>4&63]+e[w<<2&63]+"=")),U.join("")}},21468:function(b,y,e){"use strict";var a;var t=e(26446),o=e(47164),s=e(23161);y.lW=c,a=T,y.h2=50,c.TYPED_ARRAY_SUPPORT=e.g.TYPED_ARRAY_SUPPORT!==void 0?e.g.TYPED_ARRAY_SUPPORT:n(),a=d();function n(){try{var J=new Uint8Array(1);return J.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},J.foo()===42&&typeof J.subarray=="function"&&J.subarray(1,1).byteLength===0}catch(V){return!1}}function d(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(J,V){if(d()=d())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d().toString(16)+" bytes");return J|0}function T(J){return+J!=J&&(J=0),c.alloc(+J)}c.isBuffer=function(V){return!!(V!=null&&V._isBuffer)},c.compare=function(V,R){if(!c.isBuffer(V)||!c.isBuffer(R))throw new TypeError("Arguments must be Buffers");if(V===R)return 0;for(var P=V.length,B=R.length,ge=0,ie=Math.min(P,B);ge>>1;case"base64":return ot(J).length;default:if(P)return Ht(J).length;V=(""+V).toLowerCase(),P=!0}}c.byteLength=N;function Z(J,V,R){var P=!1;if((V===void 0||V<0)&&(V=0),V>this.length||((R===void 0||R>this.length)&&(R=this.length),R<=0)||(R>>>=0,V>>>=0,R<=V))return"";for(J||(J="utf8");;)switch(J){case"hex":return A(this,V,R);case"utf8":case"utf-8":return C(this,V,R);case"ascii":return H(this,V,R);case"latin1":case"binary":return k(this,V,R);case"base64":return Q(this,V,R);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,V,R);default:if(P)throw new TypeError("Unknown encoding: "+J);J=(J+"").toLowerCase(),P=!0}}c.prototype._isBuffer=!0;function D(J,V,R){var P=J[V];J[V]=J[R],J[R]=P}c.prototype.swap16=function(){var V=this.length;if(V%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var R=0;R0&&(V=this.toString("hex",0,R).match(/.{2}/g).join(" "),this.length>R&&(V+=" ... ")),""},c.prototype.compare=function(V,R,P,B,ge){if(!c.isBuffer(V))throw new TypeError("Argument must be a Buffer");if(R===void 0&&(R=0),P===void 0&&(P=V?V.length:0),B===void 0&&(B=0),ge===void 0&&(ge=this.length),R<0||P>V.length||B<0||ge>this.length)throw new RangeError("out of range index");if(B>=ge&&R>=P)return 0;if(B>=ge)return-1;if(R>=P)return 1;if(R>>>=0,P>>>=0,B>>>=0,ge>>>=0,this===V)return 0;for(var ie=ge-B,pe=P-R,Oe=Math.min(ie,pe),xe=this.slice(B,ge),Se=V.slice(R,P),$e=0;$e2147483647?R=2147483647:R<-2147483648&&(R=-2147483648),R=+R,isNaN(R)&&(R=B?0:J.length-1),R<0&&(R=J.length+R),R>=J.length){if(B)return-1;R=J.length-1}else if(R<0)if(B)R=0;else return-1;if(typeof V=="string"&&(V=c.from(V,P)),c.isBuffer(V))return V.length===0?-1:j(J,V,R,P,B);if(typeof V=="number")return V=V&255,c.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?B?Uint8Array.prototype.indexOf.call(J,V,R):Uint8Array.prototype.lastIndexOf.call(J,V,R):j(J,[V],R,P,B);throw new TypeError("val must be string, number or Buffer")}function j(J,V,R,P,B){var ge=1,ie=J.length,pe=V.length;if(P!==void 0&&(P=String(P).toLowerCase(),P==="ucs2"||P==="ucs-2"||P==="utf16le"||P==="utf-16le")){if(J.length<2||V.length<2)return-1;ge=2,ie/=2,pe/=2,R/=2}function Oe(oe,q){return ge===1?oe[q]:oe.readUInt16BE(q*ge)}var xe;if(B){var Se=-1;for(xe=R;xeie&&(R=ie-pe),xe=R;xe>=0;xe--){for(var $e=!0,re=0;reB&&(P=B)):P=B;var ge=V.length;if(ge%2!==0)throw new TypeError("Invalid hex string");P>ge/2&&(P=ge/2);for(var ie=0;iege)&&(P=ge),V.length>0&&(P<0||R<0)||R>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var ie=!1;;)switch(B){case"hex":return G(this,V,R,P);case"utf8":case"utf-8":return W(this,V,R,P);case"ascii":return ne(this,V,R,P);case"latin1":case"binary":return _(this,V,R,P);case"base64":return ee(this,V,R,P);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se(this,V,R,P);default:if(ie)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),ie=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Q(J,V,R){return V===0&&R===J.length?t.fromByteArray(J):t.fromByteArray(J.slice(V,R))}function C(J,V,R){R=Math.min(J.length,R);for(var P=[],B=V;B239?4:ge>223?3:ge>191?2:1;if(B+pe<=R){var Oe,xe,Se,$e;switch(pe){case 1:ge<128&&(ie=ge);break;case 2:Oe=J[B+1],(Oe&192)===128&&($e=(ge&31)<<6|Oe&63,$e>127&&(ie=$e));break;case 3:Oe=J[B+1],xe=J[B+2],(Oe&192)===128&&(xe&192)===128&&($e=(ge&15)<<12|(Oe&63)<<6|xe&63,$e>2047&&($e<55296||$e>57343)&&(ie=$e));break;case 4:Oe=J[B+1],xe=J[B+2],Se=J[B+3],(Oe&192)===128&&(xe&192)===128&&(Se&192)===128&&($e=(ge&15)<<18|(Oe&63)<<12|(xe&63)<<6|Se&63,$e>65535&&$e<1114112&&(ie=$e))}}ie===null?(ie=65533,pe=1):ie>65535&&(ie-=65536,P.push(ie>>>10&1023|55296),ie=56320|ie&1023),P.push(ie),B+=pe}return O(P)}var X=4096;function O(J){var V=J.length;if(V<=X)return String.fromCharCode.apply(String,J);for(var R="",P=0;PP)&&(R=P);for(var B="",ge=V;geP&&(V=P),R<0?(R+=P,R<0&&(R=0)):R>P&&(R=P),RR)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUIntLE=function(V,R,P){V=V|0,R=R|0,P||de(V,R,this.length);for(var B=this[V],ge=1,ie=0;++ie0&&(ge*=256);)B+=this[V+--R]*ge;return B},c.prototype.readUInt8=function(V,R){return R||de(V,1,this.length),this[V]},c.prototype.readUInt16LE=function(V,R){return R||de(V,2,this.length),this[V]|this[V+1]<<8},c.prototype.readUInt16BE=function(V,R){return R||de(V,2,this.length),this[V]<<8|this[V+1]},c.prototype.readUInt32LE=function(V,R){return R||de(V,4,this.length),(this[V]|this[V+1]<<8|this[V+2]<<16)+this[V+3]*16777216},c.prototype.readUInt32BE=function(V,R){return R||de(V,4,this.length),this[V]*16777216+(this[V+1]<<16|this[V+2]<<8|this[V+3])},c.prototype.readIntLE=function(V,R,P){V=V|0,R=R|0,P||de(V,R,this.length);for(var B=this[V],ge=1,ie=0;++ie=ge&&(B-=Math.pow(2,8*R)),B},c.prototype.readIntBE=function(V,R,P){V=V|0,R=R|0,P||de(V,R,this.length);for(var B=R,ge=1,ie=this[V+--B];B>0&&(ge*=256);)ie+=this[V+--B]*ge;return ge*=128,ie>=ge&&(ie-=Math.pow(2,8*R)),ie},c.prototype.readInt8=function(V,R){return R||de(V,1,this.length),this[V]&128?(255-this[V]+1)*-1:this[V]},c.prototype.readInt16LE=function(V,R){R||de(V,2,this.length);var P=this[V]|this[V+1]<<8;return P&32768?P|4294901760:P},c.prototype.readInt16BE=function(V,R){R||de(V,2,this.length);var P=this[V+1]|this[V]<<8;return P&32768?P|4294901760:P},c.prototype.readInt32LE=function(V,R){return R||de(V,4,this.length),this[V]|this[V+1]<<8|this[V+2]<<16|this[V+3]<<24},c.prototype.readInt32BE=function(V,R){return R||de(V,4,this.length),this[V]<<24|this[V+1]<<16|this[V+2]<<8|this[V+3]},c.prototype.readFloatLE=function(V,R){return R||de(V,4,this.length),o.read(this,V,!0,23,4)},c.prototype.readFloatBE=function(V,R){return R||de(V,4,this.length),o.read(this,V,!1,23,4)},c.prototype.readDoubleLE=function(V,R){return R||de(V,8,this.length),o.read(this,V,!0,52,8)},c.prototype.readDoubleBE=function(V,R){return R||de(V,8,this.length),o.read(this,V,!1,52,8)};function me(J,V,R,P,B,ge){if(!c.isBuffer(J))throw new TypeError('"buffer" argument must be a Buffer instance');if(V>B||VJ.length)throw new RangeError("Index out of range")}c.prototype.writeUIntLE=function(V,R,P,B){if(V=+V,R=R|0,P=P|0,!B){var ge=Math.pow(2,8*P)-1;me(this,V,R,P,ge,0)}var ie=1,pe=0;for(this[R]=V&255;++pe=0&&(pe*=256);)this[R+ie]=V/pe&255;return R+P},c.prototype.writeUInt8=function(V,R,P){return V=+V,R=R|0,P||me(this,V,R,1,255,0),c.TYPED_ARRAY_SUPPORT||(V=Math.floor(V)),this[R]=V&255,R+1};function ve(J,V,R,P){V<0&&(V=65535+V+1);for(var B=0,ge=Math.min(J.length-R,2);B>>(P?B:1-B)*8}c.prototype.writeUInt16LE=function(V,R,P){return V=+V,R=R|0,P||me(this,V,R,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[R]=V&255,this[R+1]=V>>>8):ve(this,V,R,!0),R+2},c.prototype.writeUInt16BE=function(V,R,P){return V=+V,R=R|0,P||me(this,V,R,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[R]=V>>>8,this[R+1]=V&255):ve(this,V,R,!1),R+2};function be(J,V,R,P){V<0&&(V=4294967295+V+1);for(var B=0,ge=Math.min(J.length-R,4);B>>(P?B:3-B)*8&255}c.prototype.writeUInt32LE=function(V,R,P){return V=+V,R=R|0,P||me(this,V,R,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[R+3]=V>>>24,this[R+2]=V>>>16,this[R+1]=V>>>8,this[R]=V&255):be(this,V,R,!0),R+4},c.prototype.writeUInt32BE=function(V,R,P){return V=+V,R=R|0,P||me(this,V,R,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[R]=V>>>24,this[R+1]=V>>>16,this[R+2]=V>>>8,this[R+3]=V&255):be(this,V,R,!1),R+4},c.prototype.writeIntLE=function(V,R,P,B){if(V=+V,R=R|0,!B){var ge=Math.pow(2,8*P-1);me(this,V,R,P,ge-1,-ge)}var ie=0,pe=1,Oe=0;for(this[R]=V&255;++ie>0)-Oe&255;return R+P},c.prototype.writeIntBE=function(V,R,P,B){if(V=+V,R=R|0,!B){var ge=Math.pow(2,8*P-1);me(this,V,R,P,ge-1,-ge)}var ie=P-1,pe=1,Oe=0;for(this[R+ie]=V&255;--ie>=0&&(pe*=256);)V<0&&Oe===0&&this[R+ie+1]!==0&&(Oe=1),this[R+ie]=(V/pe>>0)-Oe&255;return R+P},c.prototype.writeInt8=function(V,R,P){return V=+V,R=R|0,P||me(this,V,R,1,127,-128),c.TYPED_ARRAY_SUPPORT||(V=Math.floor(V)),V<0&&(V=255+V+1),this[R]=V&255,R+1},c.prototype.writeInt16LE=function(V,R,P){return V=+V,R=R|0,P||me(this,V,R,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[R]=V&255,this[R+1]=V>>>8):ve(this,V,R,!0),R+2},c.prototype.writeInt16BE=function(V,R,P){return V=+V,R=R|0,P||me(this,V,R,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[R]=V>>>8,this[R+1]=V&255):ve(this,V,R,!1),R+2},c.prototype.writeInt32LE=function(V,R,P){return V=+V,R=R|0,P||me(this,V,R,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[R]=V&255,this[R+1]=V>>>8,this[R+2]=V>>>16,this[R+3]=V>>>24):be(this,V,R,!0),R+4},c.prototype.writeInt32BE=function(V,R,P){return V=+V,R=R|0,P||me(this,V,R,4,2147483647,-2147483648),V<0&&(V=4294967295+V+1),c.TYPED_ARRAY_SUPPORT?(this[R]=V>>>24,this[R+1]=V>>>16,this[R+2]=V>>>8,this[R+3]=V&255):be(this,V,R,!1),R+4};function Pe(J,V,R,P,B,ge){if(R+P>J.length)throw new RangeError("Index out of range");if(R<0)throw new RangeError("Index out of range")}function Je(J,V,R,P,B){return B||Pe(J,V,R,4,34028234663852886e22,-34028234663852886e22),o.write(J,V,R,P,23,4),R+4}c.prototype.writeFloatLE=function(V,R,P){return Je(this,V,R,!0,P)},c.prototype.writeFloatBE=function(V,R,P){return Je(this,V,R,!1,P)};function qe(J,V,R,P,B){return B||Pe(J,V,R,8,17976931348623157e292,-17976931348623157e292),o.write(J,V,R,P,52,8),R+8}c.prototype.writeDoubleLE=function(V,R,P){return qe(this,V,R,!0,P)},c.prototype.writeDoubleBE=function(V,R,P){return qe(this,V,R,!1,P)},c.prototype.copy=function(V,R,P,B){if(P||(P=0),!B&&B!==0&&(B=this.length),R>=V.length&&(R=V.length),R||(R=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),V.length-R=0;--ie)V[ie+R]=this[ie+P];else if(ge<1e3||!c.TYPED_ARRAY_SUPPORT)for(ie=0;ie>>0,P=P===void 0?this.length:P>>>0,V||(V=0);var ie;if(typeof V=="number")for(ie=R;ie55295&&R<57344){if(!B){if(R>56319){(V-=3)>-1&&ge.push(239,191,189);continue}else if(ie+1===P){(V-=3)>-1&&ge.push(239,191,189);continue}B=R;continue}if(R<56320){(V-=3)>-1&&ge.push(239,191,189),B=R;continue}R=(B-55296<<10|R-56320)+65536}else B&&(V-=3)>-1&&ge.push(239,191,189);if(B=null,R<128){if((V-=1)<0)break;ge.push(R)}else if(R<2048){if((V-=2)<0)break;ge.push(R>>6|192,R&63|128)}else if(R<65536){if((V-=3)<0)break;ge.push(R>>12|224,R>>6&63|128,R&63|128)}else if(R<1114112){if((V-=4)<0)break;ge.push(R>>18|240,R>>12&63|128,R>>6&63|128,R&63|128)}else throw new Error("Invalid code point")}return ge}function ke(J){for(var V=[],R=0;R>8,B=R%256,ge.push(B),ge.push(P);return ge}function ot(J){return t.toByteArray(mt(J))}function Ke(J,V,R,P){for(var B=0;B=V.length||B>=J.length);++B)V[B+R]=J[B];return B}function he(J){return J!==J}},87608:function(b,y){var e,a;(function(){"use strict";var t={}.hasOwnProperty,o="[native code]";function s(){for(var n=[],d=0;d1?arguments[1]:void 0,W=j>2?arguments[2]:void 0;return new(M("Promise"))(function(ne){var _=o(D);G!==void 0&&(G=a(G,W));var ee=m(_,x),se=ee?void 0:c(_)||T,Q=s(L)?new L:[],C=ee?n(_,ee):new S(l(d(_,se)));ne(w(C,G,Q))})}},50112:function(b,y,e){var a=e(89122);b.exports=function(t,o){for(var s=0,n=a(o),d=new t(n);n>s;)d[s]=o[s++];return d}},59765:function(b,y,e){"use strict";var a=e(34066),t=e(11700),o=e(42414),s=e(64441),n=e(89122),d=e(85623),l=d.Map,c=d.get,m=d.has,g=d.set,M=t([].push);b.exports=function(S){for(var w=s(this),x=o(w),z=a(S,arguments.length>1?arguments[1]:void 0),U=new l,T=n(x),N=0,Z,D;T>N;N++)D=x[N],Z=z(D,N,w),m(U,Z)?M(c(U,Z),D):g(U,Z,[D]);return U}},69093:function(b,y,e){var a=e(34066),t=e(11700),o=e(42414),s=e(64441),n=e(76846),d=e(89122),l=e(34552),c=e(50112),m=Array,g=t([].push);b.exports=function(M,h,S,w){for(var x=s(M),z=o(x),U=a(h,S),T=l(null),N=d(z),Z=0,D,L,j;N>Z;Z++)j=z[Z],L=n(U(j,Z,x)),L in T?g(T[L],j):T[L]=[j];if(w&&(D=w(x),D!==m))for(L in T)T[L]=c(D,T[L]);return T}},63795:function(b,y,e){var a=e(514),t=e(71410),o=e(89122),s=function(n){return function(d,l,c){var m=a(d),g=o(m),M=t(c,g),h;if(n&&l!=l){for(;g>M;)if(h=m[M++],h!=h)return!0}else for(;g>M;M++)if((n||M in m)&&m[M]===l)return n||M||0;return!n&&-1}};b.exports={includes:s(!0),indexOf:s(!1)}},17464:function(b,y,e){var a=e(34066),t=e(42414),o=e(64441),s=e(89122),n=function(d){var l=d==1;return function(c,m,g){for(var M=o(c),h=t(M),S=a(m,g),w=s(h),x,z;w-- >0;)if(x=h[w],z=S(x,w,M),z)switch(d){case 0:return x;case 1:return w}return l?-1:void 0}};b.exports={findLast:n(0),findLastIndex:n(1)}},44708:function(b,y,e){var a=e(34066),t=e(11700),o=e(42414),s=e(64441),n=e(89122),d=e(70850),l=t([].push),c=function(m){var g=m==1,M=m==2,h=m==3,S=m==4,w=m==6,x=m==7,z=m==5||w;return function(U,T,N,Z){for(var D=s(U),L=o(D),j=a(T,N),G=n(L),W=0,ne=Z||d,_=g?ne(U,G):M||x?ne(U,0):void 0,ee,se;G>W;W++)if((z||W in L)&&(ee=L[W],se=j(ee,W,D),m))if(g)_[W]=se;else if(se)switch(m){case 3:return!0;case 5:return ee;case 6:return W;case 2:l(_,ee)}else switch(m){case 4:return!1;case 7:l(_,ee)}return w?-1:h||S?S:_}};b.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},83242:function(b,y,e){"use strict";var a=e(77149);b.exports=function(t,o){var s=[][t];return!!s&&a(function(){s.call(null,o||function(){return 1},1)})}},82565:function(b,y,e){var a=e(31927),t=e(64441),o=e(42414),s=e(89122),n=TypeError,d=function(l){return function(c,m,g,M){a(m);var h=t(c),S=o(h),w=s(h),x=l?w-1:0,z=l?-1:1;if(g<2)for(;;){if(x in S){M=S[x],x+=z;break}if(x+=z,l?x<0:w<=x)throw n("Reduce of empty array with no initial value")}for(;l?x>=0:w>x;x+=z)x in S&&(M=m(M,S[x],x,h));return M}};b.exports={left:d(!1),right:d(!0)}},77060:function(b,y,e){"use strict";var a=e(57759),t=e(190),o=TypeError,s=Object.getOwnPropertyDescriptor,n=a&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(d){return d instanceof TypeError}}();b.exports=n?function(d,l){if(t(d)&&!s(d,"length").writable)throw o("Cannot set read only .length");return d.length=l}:function(d,l){return d.length=l}},81469:function(b,y,e){var a=e(71410),t=e(89122),o=e(46509),s=Array,n=Math.max;b.exports=function(d,l,c){for(var m=t(d),g=a(l,m),M=a(c===void 0?m:c,m),h=s(n(M-g,0)),S=0;g=c||g<0)throw o("Incorrect index");for(var M=new n(c),h=0;h1?arguments[1]:void 0,h,S,w,x;return s(this),h=M!==void 0,h&&o(M),n(m)?new this:(S=[],h?(w=0,x=a(M,g>2?arguments[2]:void 0),d(m,function(z){t(l,S,x(z,w++))})):d(m,l,{that:S}),new this(S))}},55042:function(b,y,e){"use strict";var a=e(66322);b.exports=function(){return new this(a(arguments))}},42710:function(b,y,e){"use strict";var a=e(34552),t=e(2265),o=e(3313),s=e(34066),n=e(92453),d=e(74883),l=e(95815),c=e(94636),m=e(76835),g=e(51309),M=e(57759),h=e(80787).fastKey,S=e(71584),w=S.set,x=S.getterFor;b.exports={getConstructor:function(z,U,T,N){var Z=z(function(W,ne){n(W,D),w(W,{type:U,index:a(null),first:void 0,last:void 0,size:0}),M||(W.size=0),d(ne)||l(ne,W[N],{that:W,AS_ENTRIES:T})}),D=Z.prototype,L=x(U),j=function(W,ne,_){var ee=L(W),se=G(W,ne),Q,C;return se?se.value=_:(ee.last=se={index:C=h(ne,!0),key:ne,value:_,previous:Q=ee.last,next:void 0,removed:!1},ee.first||(ee.first=se),Q&&(Q.next=se),M?ee.size++:W.size++,C!=="F"&&(ee.index[C]=se)),W},G=function(W,ne){var _=L(W),ee=h(ne),se;if(ee!=="F")return _.index[ee];for(se=_.first;se;se=se.next)if(se.key==ne)return se};return o(D,{clear:function(){for(var ne=this,_=L(ne),ee=_.index,se=_.first;se;)se.removed=!0,se.previous&&(se.previous=se.previous.next=void 0),delete ee[se.index],se=se.next;_.first=_.last=void 0,M?_.size=0:ne.size=0},delete:function(W){var ne=this,_=L(ne),ee=G(ne,W);if(ee){var se=ee.next,Q=ee.previous;delete _.index[ee.index],ee.removed=!0,Q&&(Q.next=se),se&&(se.previous=Q),_.first==ee&&(_.first=se),_.last==ee&&(_.last=Q),M?_.size--:ne.size--}return!!ee},forEach:function(ne){for(var _=L(this),ee=s(ne,arguments.length>1?arguments[1]:void 0),se;se=se?se.next:_.first;)for(ee(se.value,se.key,this);se&&se.removed;)se=se.previous},has:function(ne){return!!G(this,ne)}}),o(D,T?{get:function(ne){var _=G(this,ne);return _&&_.value},set:function(ne,_){return j(this,ne===0?0:ne,_)}}:{add:function(ne){return j(this,ne=ne===0?0:ne,ne)}}),M&&t(D,"size",{configurable:!0,get:function(){return L(this).size}}),Z},setStrong:function(z,U,T){var N=U+" Iterator",Z=x(U),D=x(N);c(z,U,function(L,j){w(this,{type:N,target:L,state:Z(L),kind:j,last:void 0})},function(){for(var L=D(this),j=L.kind,G=L.last;G&&G.removed;)G=G.previous;return!L.target||!(L.last=G=G?G.next:L.state.first)?(L.target=void 0,m(void 0,!0)):j=="keys"?m(G.key,!1):j=="values"?m(G.value,!1):m([G.key,G.value],!1)},T?"entries":"values",!T,!0),g(U)}}},90253:function(b,y,e){"use strict";var a=e(11700),t=e(3313),o=e(80787).getWeakData,s=e(92453),n=e(78958),d=e(74883),l=e(33225),c=e(95815),m=e(44708),g=e(26583),M=e(71584),h=M.set,S=M.getterFor,w=m.find,x=m.findIndex,z=a([].splice),U=0,T=function(D){return D.frozen||(D.frozen=new N)},N=function(){this.entries=[]},Z=function(D,L){return w(D.entries,function(j){return j[0]===L})};N.prototype={get:function(D){var L=Z(this,D);if(L)return L[1]},has:function(D){return!!Z(this,D)},set:function(D,L){var j=Z(this,D);j?j[1]=L:this.entries.push([D,L])},delete:function(D){var L=x(this.entries,function(j){return j[0]===D});return~L&&z(this.entries,L,1),!!~L}},b.exports={getConstructor:function(D,L,j,G){var W=D(function(se,Q){s(se,ne),h(se,{type:L,id:U++,frozen:void 0}),d(Q)||c(Q,se[G],{that:se,AS_ENTRIES:j})}),ne=W.prototype,_=S(L),ee=function(se,Q,C){var X=_(se),O=o(n(Q),!0);return O===!0?T(X).set(Q,C):O[X.id]=C,se};return t(ne,{delete:function(se){var Q=_(this);if(!l(se))return!1;var C=o(se);return C===!0?T(Q).delete(se):C&&g(C,Q.id)&&delete C[Q.id]},has:function(Q){var C=_(this);if(!l(Q))return!1;var X=o(Q);return X===!0?T(C).has(Q):X&&g(X,C.id)}}),t(ne,j?{get:function(Q){var C=_(this);if(l(Q)){var X=o(Q);return X===!0?T(C).get(Q):X?X[C.id]:void 0}},set:function(Q,C){return ee(this,Q,C)}}:{add:function(Q){return ee(this,Q,!0)}}),W}}},91821:function(b,y,e){"use strict";var a=e(13354),t=e(53065),o=e(11700),s=e(29206),n=e(28621),d=e(80787),l=e(95815),c=e(92453),m=e(6508),g=e(74883),M=e(33225),h=e(77149),S=e(44277),w=e(68156),x=e(95173);b.exports=function(z,U,T){var N=z.indexOf("Map")!==-1,Z=z.indexOf("Weak")!==-1,D=N?"set":"add",L=t[z],j=L&&L.prototype,G=L,W={},ne=function(O){var H=o(j[O]);n(j,O,O=="add"?function(A){return H(this,A===0?0:A),this}:O=="delete"?function(k){return Z&&!M(k)?!1:H(this,k===0?0:k)}:O=="get"?function(A){return Z&&!M(A)?void 0:H(this,A===0?0:A)}:O=="has"?function(A){return Z&&!M(A)?!1:H(this,A===0?0:A)}:function(A,Y){return H(this,A===0?0:A,Y),this})},_=s(z,!m(L)||!(Z||j.forEach&&!h(function(){new L().entries().next()})));if(_)G=T.getConstructor(U,z,N,D),d.enable();else if(s(z,!0)){var ee=new G,se=ee[D](Z?{}:-0,1)!=ee,Q=h(function(){ee.has(1)}),C=S(function(O){new L(O)}),X=!Z&&h(function(){for(var O=new L,H=5;H--;)O[D](H,H);return!O.has(-0)});C||(G=U(function(O,H){c(O,j);var k=x(new L,O,G);return g(H)||l(H,k[D],{that:k,AS_ENTRIES:N}),k}),G.prototype=j,j.constructor=G),(Q||X)&&(ne("delete"),ne("has"),N&&ne("get")),(X||se)&&ne(D),Z&&j.clear&&delete j.clear}return W[z]=G,a({global:!0,constructor:!0,forced:G!=L},W),w(G,z),Z||T.setStrong(G,z,N),G}},95249:function(b,y,e){e(72660),e(11995);var a=e(42725),t=e(34552),o=e(33225),s=Object,n=TypeError,d=a("Map"),l=a("WeakMap"),c=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=t(null)};c.prototype.get=function(g,M){return this[g]||(this[g]=M())},c.prototype.next=function(g,M,h){var S=h?this.objectsByIndex[g]||(this.objectsByIndex[g]=new l):this.primitives||(this.primitives=new d),w=S.get(M);return w||S.set(M,w=new c),w};var m=new c;b.exports=function(){var g=m,M=arguments.length,h,S;for(h=0;he)throw y("Maximum allowed index exceeded");return a}},73443:function(b){b.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},83051:function(b,y,e){var a=e(79132),t=e(79727);b.exports=!a&&!t&&typeof window=="object"&&typeof document=="object"},8266:function(b){b.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},79132:function(b){b.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},72833:function(b,y,e){var a=e(47048);b.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(a)},79727:function(b,y,e){var a=e(73656),t=e(88596);b.exports=typeof a!="undefined"&&t(a)=="process"},47048:function(b){b.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},8783:function(b,y,e){var a=e(53065),t=e(47048),o=a.process,s=a.Deno,n=o&&o.versions||s&&s.version,d=n&&n.v8,l,c;d&&(l=d.split("."),c=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!c&&t&&(l=t.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=t.match(/Chrome\/(\d+)/),l&&(c=+l[1]))),b.exports=c},70721:function(b,y,e){var a=e(53065);b.exports=function(t){return a[t].prototype}},68150:function(b){b.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},68488:function(b,y,e){var a=e(11700),t=Error,o=a("".replace),s=function(l){return String(t(l).stack)}("zxcasd"),n=/\n\s*at [^:]*:[^\n]*/,d=n.test(s);b.exports=function(l,c){if(d&&typeof l=="string"&&!t.prepareStackTrace)for(;c--;)l=o(l,n,"");return l}},96410:function(b,y,e){var a=e(5927),t=e(68488),o=e(39728),s=Error.captureStackTrace;b.exports=function(n,d,l,c){o&&(s?s(n,d):a(n,"stack",t(l,c)))}},39728:function(b,y,e){var a=e(77149),t=e(87971);b.exports=!a(function(){var o=Error("a");return"stack"in o?(Object.defineProperty(o,"stack",t(1,7)),o.stack!==7):!0})},13354:function(b,y,e){var a=e(53065),t=e(91042).f,o=e(5927),s=e(28621),n=e(40194),d=e(81732),l=e(29206);b.exports=function(c,m){var g=c.target,M=c.global,h=c.stat,S,w,x,z,U,T;if(M?w=a:h?w=a[g]||n(g,{}):w=(a[g]||{}).prototype,w)for(x in m){if(U=m[x],c.dontCallGetSet?(T=t(w,x),z=T&&T.value):z=w[x],S=l(M?x:g+(h?".":"#")+x,c.forced),!S&&z!==void 0){if(typeof U==typeof z)continue;d(U,z)}(c.sham||z&&z.sham)&&o(U,"sham",!0),s(w,x,U,c)}}},77149:function(b){b.exports=function(y){try{return!!y()}catch(e){return!0}}},81506:function(b,y,e){var a=e(77149);b.exports=!a(function(){return Object.isExtensible(Object.preventExtensions({}))})},59178:function(b,y,e){var a=e(34300),t=Function.prototype,o=t.apply,s=t.call;b.exports=typeof Reflect=="object"&&Reflect.apply||(a?s.bind(o):function(){return s.apply(o,arguments)})},34066:function(b,y,e){var a=e(39338),t=e(31927),o=e(34300),s=a(a.bind);b.exports=function(n,d){return t(n),d===void 0?n:o?s(n,d):function(){return n.apply(d,arguments)}}},34300:function(b,y,e){var a=e(77149);b.exports=!a(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")})},68029:function(b,y,e){var a=e(34300),t=Function.prototype.call;b.exports=a?t.bind(t):function(){return t.apply(t,arguments)}},44761:function(b,y,e){"use strict";var a=e(11700),t=e(31927);b.exports=function(){return a(t(this))}},27593:function(b,y,e){var a=e(57759),t=e(26583),o=Function.prototype,s=a&&Object.getOwnPropertyDescriptor,n=t(o,"name"),d=n&&function(){}.name==="something",l=n&&(!a||a&&s(o,"name").configurable);b.exports={EXISTS:n,PROPER:d,CONFIGURABLE:l}},12719:function(b,y,e){var a=e(11700),t=e(31927);b.exports=function(o,s,n){try{return a(t(Object.getOwnPropertyDescriptor(o,s)[n]))}catch(d){}}},39338:function(b,y,e){var a=e(88596),t=e(11700);b.exports=function(o){if(a(o)==="Function")return t(o)}},11700:function(b,y,e){var a=e(34300),t=Function.prototype,o=t.call,s=a&&t.bind.bind(o,o);b.exports=a?s:function(n){return function(){return o.apply(n,arguments)}}},83658:function(b,y,e){var a=e(68029),t=e(6508),o=e(78958),s=e(55086),n=e(56071),d=e(15931),l=e(77740),c=e(66219),m=l("asyncIterator");b.exports=function(M){var h=o(M),S=!0,w=d(h,m),x;return t(w)||(w=n(h),S=!1),t(w)?x=a(w,h):(x=h,S=!0),o(x),s(S?x:new c(s(x)))}},85231:function(b,y,e){var a=e(68029),t=e(66219),o=e(78958),s=e(64712),n=e(55086),d=e(15931),l=e(77740),c=l("asyncIterator");b.exports=function(m,g){var M=arguments.length<2?d(m,c):g;return M?o(a(M,m)):new t(n(s(m)))}},42725:function(b,y,e){var a=e(53065),t=e(6508),o=function(s){return t(s)?s:void 0};b.exports=function(s,n){return arguments.length<2?o(a[s]):a[s]&&a[s][n]}},55086:function(b,y,e){var a=e(31927),t=e(78958);b.exports=function(o){return{iterator:o,next:a(t(o).next)}}},69896:function(b,y,e){var a=e(68029),t=e(6508),o=e(78958),s=e(55086),n=e(56071);b.exports=function(d){var l=o(d),c=n(l);return s(o(t(c)?a(c,l):l))}},56071:function(b,y,e){var a=e(56834),t=e(15931),o=e(74883),s=e(43125),n=e(77740),d=n("iterator");b.exports=function(l){if(!o(l))return t(l,d)||t(l,"@@iterator")||s[a(l)]}},64712:function(b,y,e){var a=e(68029),t=e(31927),o=e(78958),s=e(30238),n=e(56071),d=TypeError;b.exports=function(l,c){var m=arguments.length<2?n(l):c;if(t(m))return o(a(m,l));throw d(s(l)+" is not iterable")}},75126:function(b,y,e){var a=e(11700),t=e(190),o=e(6508),s=e(88596),n=e(68424),d=a([].push);b.exports=function(l){if(o(l))return l;if(t(l)){for(var c=l.length,m=[],g=0;g]*>)/g,c=/\$([$&'`]|\d{1,2})/g;b.exports=function(m,g,M,h,S,w){var x=M+m.length,z=h.length,U=c;return S!==void 0&&(S=t(S),U=l),n(w,U,function(T,N){var Z;switch(s(N,0)){case"$":return"$";case"&":return m;case"`":return d(g,0,M);case"'":return d(g,x);case"<":Z=S[d(N,1,-1)];break;default:var D=+N;if(D===0)return T;if(D>z){var L=o(D/10);return L===0?T:L<=z?h[L-1]===void 0?s(N,1):h[L-1]+s(N,1):T}Z=h[D-1]}return Z===void 0?"":Z})}},53065:function(b,y,e){var a=function(t){return t&&t.Math==Math&&t};b.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof e.g=="object"&&e.g)||function(){return this}()||Function("return this")()},26583:function(b,y,e){var a=e(11700),t=e(64441),o=a({}.hasOwnProperty);b.exports=Object.hasOwn||function(n,d){return o(t(n),d)}},17859:function(b){b.exports={}},3234:function(b){b.exports=function(y,e){try{arguments.length==1?console.error(y):console.error(y,e)}catch(a){}}},8199:function(b,y,e){var a=e(42725);b.exports=a("document","documentElement")},96335:function(b,y,e){var a=e(57759),t=e(77149),o=e(75074);b.exports=!a&&!t(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!=7})},42414:function(b,y,e){var a=e(11700),t=e(77149),o=e(88596),s=Object,n=a("".split);b.exports=t(function(){return!s("z").propertyIsEnumerable(0)})?function(d){return o(d)=="String"?n(d,""):s(d)}:s},95173:function(b,y,e){var a=e(6508),t=e(33225),o=e(63332);b.exports=function(s,n,d){var l,c;return o&&a(l=n.constructor)&&l!==d&&t(c=l.prototype)&&c!==d.prototype&&o(s,c),s}},45274:function(b,y,e){var a=e(11700),t=e(6508),o=e(1396),s=a(Function.toString);t(o.inspectSource)||(o.inspectSource=function(n){return s(n)}),b.exports=o.inspectSource},13719:function(b,y,e){var a=e(33225),t=e(5927);b.exports=function(o,s){a(s)&&"cause"in s&&t(o,"cause",s.cause)}},80787:function(b,y,e){var a=e(13354),t=e(11700),o=e(17859),s=e(33225),n=e(26583),d=e(38248).f,l=e(94561),c=e(56647),m=e(50175),g=e(89669),M=e(81506),h=!1,S=g("meta"),w=0,x=function(D){d(D,S,{value:{objectID:"O"+w++,weakData:{}}})},z=function(D,L){if(!s(D))return typeof D=="symbol"?D:(typeof D=="string"?"S":"P")+D;if(!n(D,S)){if(!m(D))return"F";if(!L)return"E";x(D)}return D[S].objectID},U=function(D,L){if(!n(D,S)){if(!m(D))return!0;if(!L)return!1;x(D)}return D[S].weakData},T=function(D){return M&&h&&m(D)&&!n(D,S)&&x(D),D},N=function(){Z.enable=function(){},h=!0;var D=l.f,L=t([].splice),j={};j[S]=1,D(j).length&&(l.f=function(G){for(var W=D(G),ne=0,_=W.length;ne<_;ne++)if(W[ne]===S){L(W,ne,1);break}return W},a({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},Z=b.exports={enable:N,fastKey:z,getWeakData:U,onFreeze:T};o[S]=!0},71584:function(b,y,e){var a=e(94919),t=e(53065),o=e(33225),s=e(5927),n=e(26583),d=e(1396),l=e(39376),c=e(17859),m="Object already initialized",g=t.TypeError,M=t.WeakMap,h,S,w,x=function(N){return w(N)?S(N):h(N,{})},z=function(N){return function(Z){var D;if(!o(Z)||(D=S(Z)).type!==N)throw g("Incompatible receiver, "+N+" required");return D}};if(a||d.state){var U=d.state||(d.state=new M);U.get=U.get,U.has=U.has,U.set=U.set,h=function(N,Z){if(U.has(N))throw g(m);return Z.facade=N,U.set(N,Z),Z},S=function(N){return U.get(N)||{}},w=function(N){return U.has(N)}}else{var T=l("state");c[T]=!0,h=function(N,Z){if(n(N,T))throw g(m);return Z.facade=N,s(N,T,Z),Z},S=function(N){return n(N,T)?N[T]:{}},w=function(N){return n(N,T)}}b.exports={set:h,get:S,has:w,enforce:x,getterFor:z}},7890:function(b,y,e){var a=e(77740),t=e(43125),o=a("iterator"),s=Array.prototype;b.exports=function(n){return n!==void 0&&(t.Array===n||s[o]===n)}},190:function(b,y,e){var a=e(88596);b.exports=Array.isArray||function(o){return a(o)=="Array"}},30879:function(b,y,e){var a=e(56834);b.exports=function(t){var o=a(t);return o=="BigInt64Array"||o=="BigUint64Array"}},6508:function(b,y,e){var a=e(71299),t=a.all;b.exports=a.IS_HTMLDDA?function(o){return typeof o=="function"||o===t}:function(o){return typeof o=="function"}},13893:function(b,y,e){var a=e(11700),t=e(77149),o=e(6508),s=e(56834),n=e(42725),d=e(45274),l=function(){},c=[],m=n("Reflect","construct"),g=/^\s*(?:class|function)\b/,M=a(g.exec),h=!g.exec(l),S=function(z){if(!o(z))return!1;try{return m(l,c,z),!0}catch(U){return!1}},w=function(z){if(!o(z))return!1;switch(s(z)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!M(g,d(z))}catch(U){return!0}};w.sham=!0,b.exports=!m||t(function(){var x;return S(S.call)||!S(Object)||!S(function(){x=!0})||x})?w:S},29206:function(b,y,e){var a=e(77149),t=e(6508),o=/#|\.prototype\./,s=function(m,g){var M=d[n(m)];return M==c?!0:M==l?!1:t(g)?a(g):!!g},n=s.normalize=function(m){return String(m).replace(o,".").toLowerCase()},d=s.data={},l=s.NATIVE="N",c=s.POLYFILL="P";b.exports=s},94653:function(b,y,e){var a=e(56834),t=e(26583),o=e(74883),s=e(77740),n=e(43125),d=s("iterator"),l=Object;b.exports=function(c){if(o(c))return!1;var m=l(c);return m[d]!==void 0||"@@iterator"in m||t(n,a(m))}},74883:function(b){b.exports=function(y){return y==null}},33225:function(b,y,e){var a=e(6508),t=e(71299),o=t.all;b.exports=t.IS_HTMLDDA?function(s){return typeof s=="object"?s!==null:a(s)||s===o}:function(s){return typeof s=="object"?s!==null:a(s)}},77449:function(b){b.exports=!1},37099:function(b,y,e){var a=e(33225),t=e(71584).get;b.exports=function(s){if(!a(s))return!1;var n=t(s);return!!n&&n.type==="RawJSON"}},42854:function(b,y,e){var a=e(33225),t=e(88596),o=e(77740),s=o("match");b.exports=function(n){var d;return a(n)&&((d=n[s])!==void 0?!!d:t(n)=="RegExp")}},59549:function(b,y,e){var a=e(42725),t=e(6508),o=e(72901),s=e(61037),n=Object;b.exports=s?function(d){return typeof d=="symbol"}:function(d){var l=a("Symbol");return t(l)&&o(l.prototype,n(d))}},95060:function(b,y,e){var a=e(68029);b.exports=function(t,o,s){for(var n=s||t.next,d,l;!(d=a(n,t)).done;)if(l=o(d.value),l!==void 0)return l}},95815:function(b,y,e){var a=e(34066),t=e(68029),o=e(78958),s=e(30238),n=e(7890),d=e(89122),l=e(72901),c=e(64712),m=e(56071),g=e(40164),M=TypeError,h=function(w,x){this.stopped=w,this.result=x},S=h.prototype;b.exports=function(w,x,z){var U=z&&z.that,T=!!(z&&z.AS_ENTRIES),N=!!(z&&z.IS_RECORD),Z=!!(z&&z.IS_ITERATOR),D=!!(z&&z.INTERRUPTED),L=a(x,U),j,G,W,ne,_,ee,se,Q=function(X){return j&&g(j,"normal",X),new h(!0,X)},C=function(X){return T?(o(X),D?L(X[0],X[1],Q):L(X[0],X[1])):D?L(X,Q):L(X)};if(N)j=w.iterator;else if(Z)j=w;else{if(G=m(w),!G)throw M(s(w)+" is not iterable");if(n(G)){for(W=0,ne=d(w);ne>W;W++)if(_=C(w[W]),_&&l(S,_))return _;return new h(!1)}j=c(w,G)}for(ee=N?w.next:j.next;!(se=t(ee,j)).done;){try{_=C(se.value)}catch(X){g(j,"throw",X)}if(typeof _=="object"&&_&&l(S,_))return _}return new h(!1)}},40164:function(b,y,e){var a=e(68029),t=e(78958),o=e(15931);b.exports=function(s,n,d){var l,c;t(s);try{if(l=o(s,"return"),!l){if(n==="throw")throw d;return d}l=a(l,s)}catch(m){c=!0,l=m}if(n==="throw")throw d;if(c)throw l;return t(l),d}},87821:function(b,y,e){"use strict";var a=e(41019).IteratorPrototype,t=e(34552),o=e(87971),s=e(68156),n=e(43125),d=function(){return this};b.exports=function(l,c,m,g){var M=c+" Iterator";return l.prototype=t(a,{next:o(+!g,m)}),s(l,M,!1,!0),n[M]=d,l}},36911:function(b,y,e){"use strict";var a=e(68029),t=e(34552),o=e(5927),s=e(3313),n=e(77740),d=e(71584),l=e(15931),c=e(41019).IteratorPrototype,m=e(76835),g=e(40164),M=n("toStringTag"),h="IteratorHelper",S="WrapForValidIterator",w=d.set,x=function(T){var N=d.getterFor(T?S:h);return s(t(c),{next:function(){var D=N(this);if(T)return D.nextHandler();try{var L=D.done?void 0:D.nextHandler();return m(L,D.done)}catch(j){throw D.done=!0,j}},return:function(){var Z=N(this),D=Z.iterator;if(Z.done=!0,T){var L=l(D,"return");return L?a(L,D):m(void 0,!0)}if(Z.inner)try{g(Z.inner.iterator,"normal")}catch(j){return g(D,"throw",j)}return g(D,"normal"),m(void 0,!0)}})},z=x(!0),U=x(!1);o(U,M,"Iterator Helper"),b.exports=function(T,N){var Z=function(L,j){j?(j.iterator=L.iterator,j.next=L.next):j=L,j.type=N?S:h,j.nextHandler=T,j.counter=0,j.done=!1,w(this,j)};return Z.prototype=N?z:U,Z}},94636:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(77449),s=e(27593),n=e(6508),d=e(87821),l=e(77767),c=e(63332),m=e(68156),g=e(5927),M=e(28621),h=e(77740),S=e(43125),w=e(41019),x=s.PROPER,z=s.CONFIGURABLE,U=w.IteratorPrototype,T=w.BUGGY_SAFARI_ITERATORS,N=h("iterator"),Z="keys",D="values",L="entries",j=function(){return this};b.exports=function(G,W,ne,_,ee,se,Q){d(ne,W,_);var C=function(be){if(be===ee&&A)return A;if(!T&&be in H)return H[be];switch(be){case Z:return function(){return new ne(this,be)};case D:return function(){return new ne(this,be)};case L:return function(){return new ne(this,be)}}return function(){return new ne(this)}},X=W+" Iterator",O=!1,H=G.prototype,k=H[N]||H["@@iterator"]||ee&&H[ee],A=!T&&k||C(ee),Y=W=="Array"&&H.entries||k,de,me,ve;if(Y&&(de=l(Y.call(new G)),de!==Object.prototype&&de.next&&(!o&&l(de)!==U&&(c?c(de,U):n(de[N])||M(de,N,j)),m(de,X,!0,!0),o&&(S[X]=j))),x&&ee==D&&k&&k.name!==D&&(!o&&z?g(H,"name",D):(O=!0,A=function(){return t(k,this)})),ee)if(me={values:C(D),keys:se?A:C(Z),entries:C(L)},Q)for(ve in me)(T||O||!(ve in H))&&M(H,ve,me[ve]);else a({target:W,proto:!0,forced:T||O},me);return(!o||Q)&&H[N]!==A&&M(H,N,A,{name:ee}),S[W]=A,me}},45656:function(b,y,e){"use strict";var a=e(68029),t=e(87931),o=function(s,n){return[n,s]};b.exports=function(){return a(t,this,o)}},87931:function(b,y,e){"use strict";var a=e(68029),t=e(31927),o=e(78958),s=e(55086),n=e(36911),d=e(74031),l=n(function(){var c=this.iterator,m=o(a(this.next,c)),g=this.done=!!m.done;if(!g)return d(c,this.mapper,[m.value,this.counter++],!0)});b.exports=function(m){return new l(s(this),{mapper:t(m)})}},41019:function(b,y,e){"use strict";var a=e(77149),t=e(6508),o=e(33225),s=e(34552),n=e(77767),d=e(28621),l=e(77740),c=e(77449),m=l("iterator"),g=!1,M,h,S;[].keys&&(S=[].keys(),"next"in S?(h=n(n(S)),h!==Object.prototype&&(M=h)):g=!0);var w=!o(M)||a(function(){var x={};return M[m].call(x)!==x});w?M={}:c&&(M=s(M)),t(M[m])||d(M,m,function(){return this}),b.exports={IteratorPrototype:M,BUGGY_SAFARI_ITERATORS:g}},43125:function(b){b.exports={}},89122:function(b,y,e){var a=e(25010);b.exports=function(t){return a(t.length)}},70377:function(b,y,e){var a=e(11700),t=e(77149),o=e(6508),s=e(26583),n=e(57759),d=e(27593).CONFIGURABLE,l=e(45274),c=e(71584),m=c.enforce,g=c.get,M=String,h=Object.defineProperty,S=a("".slice),w=a("".replace),x=a([].join),z=n&&!t(function(){return h(function(){},"length",{value:8}).length!==8}),U=String(String).split("String"),T=b.exports=function(N,Z,D){S(M(Z),0,7)==="Symbol("&&(Z="["+w(M(Z),/^Symbol\(([^)]*)\)/,"$1")+"]"),D&&D.getter&&(Z="get "+Z),D&&D.setter&&(Z="set "+Z),(!s(N,"name")||d&&N.name!==Z)&&(n?h(N,"name",{value:Z,configurable:!0}):N.name=Z),z&&D&&s(D,"arity")&&N.length!==D.arity&&h(N,"length",{value:D.arity});try{D&&s(D,"constructor")&&D.constructor?n&&h(N,"prototype",{writable:!1}):N.prototype&&(N.prototype=void 0)}catch(j){}var L=m(N);return s(L,"source")||(L.source=x(U,typeof Z=="string"?Z:"")),N};Function.prototype.toString=T(function(){return o(this)&&g(this).source||l(this)},"toString")},85623:function(b,y,e){var a=e(11700),t=Map.prototype;b.exports={Map,set:a(t.set),get:a(t.get),has:a(t.has),remove:a(t.delete),proto:t}},46782:function(b,y,e){var a=e(11700),t=e(95060),o=e(85623),s=o.Map,n=o.proto,d=a(n.forEach),l=a(n.entries),c=l(new s).next;b.exports=function(m,g,M){return M?t(l(m),function(h){return g(h[1],h[0])},c):d(m,g)}},32171:function(b,y,e){"use strict";var a=e(68029),t=e(31927),o=e(6508),s=e(78958),n=TypeError;b.exports=function(l,c){var m=s(this),g=t(m.get),M=t(m.has),h=t(m.set),S=arguments.length>2?arguments[2]:void 0,w;if(!o(c)&&!o(S))throw n("At least one callback required");return a(M,m,l)?(w=a(g,m,l),o(c)&&(w=c(w),a(h,m,l,w))):o(S)&&(w=S(),a(h,m,l,w)),w}},18749:function(b,y,e){var a=e(75169),t=Math.abs,o=Math.pow,s=o(2,-52),n=o(2,-23),d=o(2,127)*(2-n),l=o(2,-126),c=function(m){return m+1/s-1/s};b.exports=Math.fround||function(g){var M=+g,h=t(M),S=a(M),w,x;return hd||x!=x?S*(1/0):S*x)}},15129:function(b){b.exports=Math.scale||function(e,a,t,o,s){var n=+e,d=+a,l=+t,c=+o,m=+s;return n!=n||d!=d||l!=l||c!=c||m!=m?NaN:n===1/0||n===-1/0?n:(n-d)*(m-c)/(l-d)+c}},75169:function(b){b.exports=Math.sign||function(e){var a=+e;return a==0||a!=a?a:a<0?-1:1}},18243:function(b){var y=Math.ceil,e=Math.floor;b.exports=Math.trunc||function(t){var o=+t;return(o>0?e:y)(o)}},66286:function(b,y,e){var a=e(77149);b.exports=!a(function(){var t="9007199254740993",o=JSON.rawJSON(t);return!JSON.isRawJSON(o)||JSON.stringify(o)!==t})},71440:function(b,y,e){"use strict";var a=e(31927),t=TypeError,o=function(s){var n,d;this.promise=new s(function(l,c){if(n!==void 0||d!==void 0)throw t("Bad Promise constructor");n=l,d=c}),this.resolve=a(n),this.reject=a(d)};b.exports.f=function(s){return new o(s)}},9280:function(b,y,e){var a=e(68424);b.exports=function(t,o){return t===void 0?arguments.length<2?"":o:a(t)}},29597:function(b){var y=RangeError;b.exports=function(e){if(e===e)return e;throw y("NaN is not allowed")}},54633:function(b,y,e){var a=e(53065),t=a.isFinite;b.exports=Number.isFinite||function(s){return typeof s=="number"&&t(s)}},35323:function(b,y,e){var a=e(53065),t=e(77149),o=e(11700),s=e(68424),n=e(53761).trim,d=e(91289),l=a.parseInt,c=a.Symbol,m=c&&c.iterator,g=/^[+-]?0x/i,M=o(g.exec),h=l(d+"08")!==8||l(d+"0x16")!==22||m&&!t(function(){l(Object(m))});b.exports=h?function(w,x){var z=n(s(w));return l(z,x>>>0||(M(g,z)?16:10))}:l},73126:function(b,y,e){"use strict";var a=e(71584),t=e(87821),o=e(76835),s=e(74883),n=e(33225),d=e(97867).f,l=e(57759),c="Incorrect Iterator.range arguments",m="NumericRangeIterator",g=a.set,M=a.getterFor(m),h=RangeError,S=TypeError,w=t(function(U,T,N,Z,D,L){if(typeof U!=Z||T!==1/0&&T!==-1/0&&typeof T!=Z)throw S(c);if(U===1/0||U===-1/0)throw h(c);var j=T>U,G=!1,W;if(N===void 0)W=void 0;else if(n(N))W=N.step,G=!!N.inclusive;else if(typeof N==Z)W=N;else throw S(c);if(s(W)&&(W=j?L:-L),typeof W!=Z)throw S(c);if(W===1/0||W===-1/0||W===D&&U!==T)throw h(c);var ne=U!=U||T!=T||W!=W||T>U!=W>D;g(this,{type:m,start:U,end:T,step:W,inclusiveEnd:G,hitsEnd:ne,currentCount:D,zero:D}),l||(this.start=U,this.end=T,this.step=W,this.inclusive=G)},m,function(){var U=M(this);if(U.hitsEnd)return o(void 0,!0);var T=U.start,N=U.end,Z=U.step,D=T+Z*U.currentCount++;D===N&&(U.hitsEnd=!0);var L=U.inclusiveEnd,j;return N>T?j=L?D>N:D>=N:j=L?N>D:N>=D,j?(U.hitsEnd=!0,o(void 0,!0)):o(D,!1)}),x=function(z){return{get:z,set:function(){},configurable:!0,enumerable:!1}};l&&d(w.prototype,{start:x(function(){return M(this).start}),end:x(function(){return M(this).end}),inclusive:x(function(){return M(this).inclusiveEnd}),step:x(function(){return M(this).step})}),b.exports=w},34552:function(b,y,e){var a=e(78958),t=e(97867),o=e(68150),s=e(17859),n=e(8199),d=e(75074),l=e(39376),c=">",m="<",g="prototype",M="script",h=l("IE_PROTO"),S=function(){},w=function(N){return m+M+c+N+m+"/"+M+c},x=function(N){N.write(w("")),N.close();var Z=N.parentWindow.Object;return N=null,Z},z=function(){var N=d("iframe"),Z="java"+M+":",D;return N.style.display="none",n.appendChild(N),N.src=String(Z),D=N.contentWindow.document,D.open(),D.write(w("document.F=Object")),D.close(),D.F},U,T=function(){try{U=new ActiveXObject("htmlfile")}catch(Z){}T=typeof document!="undefined"?document.domain&&U?x(U):z():x(U);for(var N=o.length;N--;)delete T[g][o[N]];return T()};s[h]=!0,b.exports=Object.create||function(Z,D){var L;return Z!==null?(S[g]=a(Z),L=new S,S[g]=null,L[h]=Z):L=T(),D===void 0?L:t.f(L,D)}},97867:function(b,y,e){var a=e(57759),t=e(63980),o=e(38248),s=e(78958),n=e(514),d=e(71691);y.f=a&&!t?Object.defineProperties:function(c,m){s(c);for(var g=n(m),M=d(m),h=M.length,S=0,w;h>S;)o.f(c,w=M[S++],g[w]);return c}},38248:function(b,y,e){var a=e(57759),t=e(96335),o=e(63980),s=e(78958),n=e(76846),d=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,m="enumerable",g="configurable",M="writable";y.f=a?o?function(S,w,x){if(s(S),w=n(w),s(x),typeof S=="function"&&w==="prototype"&&"value"in x&&M in x&&!x[M]){var z=c(S,w);z&&z[M]&&(S[w]=x.value,x={configurable:g in x?x[g]:z[g],enumerable:m in x?x[m]:z[m],writable:!1})}return l(S,w,x)}:l:function(S,w,x){if(s(S),w=n(w),s(x),t)try{return l(S,w,x)}catch(z){}if("get"in x||"set"in x)throw d("Accessors not supported");return"value"in x&&(S[w]=x.value),S}},91042:function(b,y,e){var a=e(57759),t=e(68029),o=e(83688),s=e(87971),n=e(514),d=e(76846),l=e(26583),c=e(96335),m=Object.getOwnPropertyDescriptor;y.f=a?m:function(M,h){if(M=n(M),h=d(h),c)try{return m(M,h)}catch(S){}if(l(M,h))return s(!t(o.f,M,h),M[h])}},56647:function(b,y,e){var a=e(88596),t=e(514),o=e(94561).f,s=e(81469),n=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(l){try{return o(l)}catch(c){return s(n)}};b.exports.f=function(c){return n&&a(c)=="Window"?d(c):o(t(c))}},94561:function(b,y,e){var a=e(4482),t=e(68150),o=t.concat("length","prototype");y.f=Object.getOwnPropertyNames||function(n){return a(n,o)}},10290:function(b,y){y.f=Object.getOwnPropertySymbols},77767:function(b,y,e){var a=e(26583),t=e(6508),o=e(64441),s=e(39376),n=e(80978),d=s("IE_PROTO"),l=Object,c=l.prototype;b.exports=n?l.getPrototypeOf:function(m){var g=o(m);if(a(g,d))return g[d];var M=g.constructor;return t(M)&&g instanceof M?M.prototype:g instanceof l?c:null}},50175:function(b,y,e){var a=e(77149),t=e(33225),o=e(88596),s=e(23932),n=Object.isExtensible,d=a(function(){n(1)});b.exports=d||s?function(c){return!t(c)||s&&o(c)=="ArrayBuffer"?!1:n?n(c):!0}:n},72901:function(b,y,e){var a=e(11700);b.exports=a({}.isPrototypeOf)},65556:function(b,y,e){"use strict";var a=e(71584),t=e(87821),o=e(76835),s=e(26583),n=e(71691),d=e(64441),l="Object Iterator",c=a.set,m=a.getterFor(l);b.exports=t(function(M,h){var S=d(M);c(this,{type:l,mode:h,object:S,keys:n(S),index:0})},"Object",function(){for(var M=m(this),h=M.keys;;){if(h===null||M.index>=h.length)return M.object=M.keys=null,o(void 0,!0);var S=h[M.index++],w=M.object;if(s(w,S)){switch(M.mode){case"keys":return o(S,!1);case"values":return o(w[S],!1)}return o([S,w[S]],!1)}}})},4482:function(b,y,e){var a=e(11700),t=e(26583),o=e(514),s=e(63795).indexOf,n=e(17859),d=a([].push);b.exports=function(l,c){var m=o(l),g=0,M=[],h;for(h in m)!t(n,h)&&t(m,h)&&d(M,h);for(;c.length>g;)t(m,h=c[g++])&&(~s(M,h)||d(M,h));return M}},71691:function(b,y,e){var a=e(4482),t=e(68150);b.exports=Object.keys||function(s){return a(s,t)}},83688:function(b,y){"use strict";var e={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,t=a&&!e.call({1:2},1);y.f=t?function(s){var n=a(this,s);return!!n&&n.enumerable}:e},63332:function(b,y,e){var a=e(12719),t=e(78958),o=e(66961);b.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,n={},d;try{d=a(Object.prototype,"__proto__","set"),d(n,[]),s=n instanceof Array}catch(l){}return function(c,m){return t(c),o(m),s?d(c,m):c.__proto__=m,c}}():void 0)},88818:function(b,y,e){var a=e(53065),t=e(6508),o=e(77740),s=o("observable"),n=a.Observable,d=n&&n.prototype;b.exports=!t(n)||!t(n.from)||!t(n.of)||!t(d.subscribe)||!t(d[s])},54026:function(b,y,e){var a=e(68029),t=e(6508),o=e(33225),s=TypeError;b.exports=function(n,d){var l,c;if(d==="string"&&t(l=n.toString)&&!o(c=a(l,n))||t(l=n.valueOf)&&!o(c=a(l,n))||d!=="string"&&t(l=n.toString)&&!o(c=a(l,n)))return c;throw s("Can't convert object to primitive value")}},60999:function(b,y,e){var a=e(42725),t=e(11700),o=e(94561),s=e(10290),n=e(78958),d=t([].concat);b.exports=a("Reflect","ownKeys")||function(c){var m=o.f(n(c)),g=s.f;return g?d(m,g(c)):m}},12539:function(b,y,e){var a=e(11700),t=e(26583),o=SyntaxError,s=parseInt,n=String.fromCharCode,d=a("".charAt),l=a("".slice),c=a(/./.exec),m={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":` +`,"\\r":"\r","\\t":" "},g=/^[\da-f]{4}$/i,M=/^[\u0000-\u001F]$/;b.exports=function(h,S){for(var w=!0,x="";Sh,z=o(S)?S:c(S),U=x?d(arguments,h):[],T=x?function(){t(z,this,U)}:z;return M?g(T,w):g(T)}:g}},38684:function(b,y,e){var a=e(23313),t=e(22731),o=a.Set,s=a.add;b.exports=function(n){var d=new o;return t(n,function(l){s(d,l)}),d}},53505:function(b,y,e){"use strict";var a=e(77318),t=e(23313),o=e(38684),s=e(17085),n=e(35710),d=e(22731),l=e(95060),c=t.has,m=t.remove;b.exports=function(M){var h=a(this),S=n(M),w=o(h);return s(h)<=S.size?d(h,function(x){S.includes(x)&&m(w,x)}):l(S.getIterator(),function(x){c(h,x)&&m(w,x)}),w}},23313:function(b,y,e){var a=e(11700),t=Set.prototype;b.exports={Set,add:a(t.add),has:a(t.has),remove:a(t.delete),proto:t,$has:t.has,$keys:t.keys}},51737:function(b,y,e){"use strict";var a=e(77318),t=e(23313),o=e(17085),s=e(35710),n=e(22731),d=e(95060),l=t.Set,c=t.add,m=t.has,g=t.$has,M=t.$keys,h=function(S){return S.has===g&&S.keys===M};b.exports=function(w){var x=a(this),z=s(w),U=new l;if(!h(z)&&o(x)>z.size){if(d(z.getIterator(),function(N){m(x,N)&&c(U,N)}),o(U)<2)return U;var T=U;U=new l,n(x,function(N){m(T,N)&&c(U,N)})}else n(x,function(N){z.includes(N)&&c(U,N)});return U}},46149:function(b,y,e){"use strict";var a=e(77318),t=e(23313).has,o=e(17085),s=e(35710),n=e(22731),d=e(95060),l=e(40164);b.exports=function(m){var g=a(this),M=s(m);if(o(g)<=M.size)return n(g,function(S){if(M.includes(S))return!1},!0)!==!1;var h=M.getIterator();return d(h,function(S){if(t(g,S))return l(h,"normal",!1)})!==!1}},99527:function(b,y,e){"use strict";var a=e(77318),t=e(17085),o=e(22731),s=e(35710);b.exports=function(d){var l=a(this),c=s(d);return t(l)>c.size?!1:o(l,function(m){if(!c.includes(m))return!1},!0)!==!1}},20698:function(b,y,e){"use strict";var a=e(77318),t=e(23313).has,o=e(17085),s=e(35710),n=e(95060),d=e(40164);b.exports=function(c){var m=a(this),g=s(c);if(o(m)=w?m?"":void 0:(x=d(h,S),x<55296||x>56319||S+1===w||(z=d(h,S+1))<56320||z>57343?m?n(h,S):x:m?l(h,S,S+2):(x-55296<<10)+(z-56320)+65536)}};b.exports={codeAt:c(!1),charAt:c(!0)}},81089:function(b,y,e){var a=e(42725),t=e(11700),o=String.fromCharCode,s=a("String","fromCodePoint"),n=t("".charAt),d=t("".charCodeAt),l=t("".indexOf),c=t("".slice),m=48,g=57,M=97,h=102,S=65,w=70,x=function(T,N){var Z=d(T,N);return Z>=m&&Z<=g},z=function(T,N,Z){if(Z>=T.length)return-1;for(var D=0;N=m&&T<=g?T-m:T>=M&&T<=h?T-M+10:T>=S&&T<=w?T-S+10:-1};b.exports=function(T){for(var N="",Z=0,D=0,L;(D=l(T,"\\",D))>-1;){if(N+=c(T,Z,D),++D===T.length)return;var j=n(T,D++);switch(j){case"b":N+="\b";break;case"t":N+=" ";break;case"n":N+=` +`;break;case"v":N+="\v";break;case"f":N+="\f";break;case"r":N+="\r";break;case"\r":D1114111)return;N+=s(L);break;default:if(x(j,0))return;N+=j}Z=D}return N+c(T,Z)}},53761:function(b,y,e){var a=e(11700),t=e(12105),o=e(68424),s=e(91289),n=a("".replace),d=RegExp("^["+s+"]+"),l=RegExp("(^|[^"+s+"])["+s+"]+$"),c=function(m){return function(g){var M=o(t(g));return m&1&&(M=n(M,d,"")),m&2&&(M=n(M,l,"$1")),M}};b.exports={start:c(1),end:c(2),trim:c(3)}},27698:function(b,y,e){var a=e(53065),t=e(77149),o=e(8783),s=e(83051),n=e(79132),d=e(79727),l=a.structuredClone;b.exports=!!l&&!t(function(){if(n&&o>92||d&&o>94||s&&o>97)return!1;var c=new ArrayBuffer(8),m=l(c,{transfer:[c]});return c.byteLength!=0||m.byteLength!=8})},18680:function(b,y,e){var a=e(8783),t=e(77149);b.exports=!!Object.getOwnPropertySymbols&&!t(function(){var o=Symbol();return!String(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&a&&a<41})},56912:function(b,y,e){var a=e(53065),t=e(59178),o=e(34066),s=e(6508),n=e(26583),d=e(77149),l=e(8199),c=e(66322),m=e(75074),g=e(87486),M=e(72833),h=e(79727),S=a.setImmediate,w=a.clearImmediate,x=a.process,z=a.Dispatch,U=a.Function,T=a.MessageChannel,N=a.String,Z=0,D={},L="onreadystatechange",j,G,W,ne;d(function(){j=a.location});var _=function(C){if(n(D,C)){var X=D[C];delete D[C],X()}},ee=function(C){return function(){_(C)}},se=function(C){_(C.data)},Q=function(C){a.postMessage(N(C),j.protocol+"//"+j.host)};(!S||!w)&&(S=function(X){g(arguments.length,1);var O=s(X)?X:U(X),H=c(arguments,1);return D[++Z]=function(){t(O,void 0,H)},G(Z),Z},w=function(X){delete D[X]},h?G=function(C){x.nextTick(ee(C))}:z&&z.now?G=function(C){z.now(ee(C))}:T&&!M?(W=new T,ne=W.port2,W.port1.onmessage=se,G=o(ne.postMessage,ne)):a.addEventListener&&s(a.postMessage)&&!a.importScripts&&j&&j.protocol!=="file:"&&!d(Q)?(G=Q,a.addEventListener("message",se,!1)):L in m("script")?G=function(C){l.appendChild(m("script"))[L]=function(){l.removeChild(this),_(C)}}:G=function(C){setTimeout(ee(C),0)}),b.exports={set:S,clear:w}},71410:function(b,y,e){var a=e(68345),t=Math.max,o=Math.min;b.exports=function(s,n){var d=a(s);return d<0?t(d+n,0):o(d,n)}},28046:function(b,y,e){var a=e(54845),t=TypeError;b.exports=function(o){var s=a(o,"number");if(typeof s=="number")throw t("Can't convert number to bigint");return BigInt(s)}},92503:function(b,y,e){var a=e(68345),t=e(25010),o=RangeError;b.exports=function(s){if(s===void 0)return 0;var n=a(s),d=t(n);if(n!==d)throw o("Wrong length or index");return d}},514:function(b,y,e){var a=e(42414),t=e(12105);b.exports=function(o){return a(t(o))}},68345:function(b,y,e){var a=e(18243);b.exports=function(t){var o=+t;return o!==o||o===0?0:a(o)}},25010:function(b,y,e){var a=e(68345),t=Math.min;b.exports=function(o){return o>0?t(a(o),9007199254740991):0}},64441:function(b,y,e){var a=e(12105),t=Object;b.exports=function(o){return t(a(o))}},5561:function(b,y,e){var a=e(82053),t=RangeError;b.exports=function(o,s){var n=a(o);if(n%s)throw t("Wrong offset");return n}},82053:function(b,y,e){var a=e(68345),t=RangeError;b.exports=function(o){var s=a(o);if(s<0)throw t("The argument can't be less than 0");return s}},54845:function(b,y,e){var a=e(68029),t=e(33225),o=e(59549),s=e(15931),n=e(54026),d=e(77740),l=TypeError,c=d("toPrimitive");b.exports=function(m,g){if(!t(m)||o(m))return m;var M=s(m,c),h;if(M){if(g===void 0&&(g="default"),h=a(M,m,g),!t(h)||o(h))return h;throw l("Can't convert object to primitive value")}return g===void 0&&(g="number"),n(m,g)}},76846:function(b,y,e){var a=e(54845),t=e(59549);b.exports=function(o){var s=a(o,"string");return t(s)?s:s+""}},74089:function(b,y,e){var a=e(42725),t=e(6508),o=e(94653),s=e(33225),n=a("Set"),d=function(l){return s(l)&&typeof l.size=="number"&&t(l.has)&&t(l.keys)};b.exports=function(l){if(d(l))return l;if(o(l))return new n(l)}},64726:function(b,y,e){var a=e(77740),t=a("toStringTag"),o={};o[t]="z",b.exports=String(o)==="[object z]"},68424:function(b,y,e){var a=e(56834),t=String;b.exports=function(o){if(a(o)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return t(o)}},30238:function(b){var y=String;b.exports=function(e){try{return y(e)}catch(a){return"Object"}}},64395:function(b,y,e){var a=e(50112),t=e(93947);b.exports=function(o,s){return a(t(o),s)}},93947:function(b,y,e){var a=e(94641),t=e(23473),o=a.aTypedArrayConstructor,s=a.getTypedArrayConstructor;b.exports=function(n){return o(t(n,s(n)))}},89669:function(b,y,e){var a=e(11700),t=0,o=Math.random(),s=a(1 .toString);b.exports=function(n){return"Symbol("+(n===void 0?"":n)+")_"+s(++t+o,36)}},61037:function(b,y,e){var a=e(18680);b.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},63980:function(b,y,e){var a=e(57759),t=e(77149);b.exports=a&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},87486:function(b){var y=TypeError;b.exports=function(e,a){if(eN&&g(se,arguments[N]),se});if(W.prototype=j,D!=="Error"?n?n(W,G):d(W,G,{name:!0}):h&&T in L&&(l(W,L,T),l(W,L,"prepareStackTrace")),d(W,L),!S)try{j.name!==D&&o(j,"name",D),j.constructor=W}catch(ne){}return W}}},74503:function(b,y,e){var a=e(13354),t=e(42725),o=e(59178),s=e(77149),n=e(69485),d="AggregateError",l=t(d),c=!s(function(){return l([1]).errors[0]!==1})&&s(function(){return l([1],d,{cause:7}).cause!==7});a({global:!0,constructor:!0,arity:2,forced:c},{AggregateError:n(d,function(m){return function(M,h){return o(m,this,arguments)}},c,!0)})},90570:function(b,y,e){"use strict";var a=e(13354),t=e(72901),o=e(77767),s=e(63332),n=e(81732),d=e(34552),l=e(5927),c=e(87971),m=e(13719),g=e(96410),M=e(95815),h=e(9280),S=e(77740),w=S("toStringTag"),x=Error,z=[].push,U=function(Z,D){var L=t(T,this),j;s?j=s(x(),L?o(this):T):(j=L?this:d(T),l(j,w,"Error")),D!==void 0&&l(j,"message",h(D)),g(j,U,j.stack,1),arguments.length>2&&m(j,arguments[2]);var G=[];return M(Z,z,{that:G}),l(j,"errors",G),j};s?s(U,x):n(U,x,{name:!0});var T=U.prototype=d(x.prototype,{constructor:c(1,U),message:c(1,""),name:c(1,"AggregateError")});a({global:!0,constructor:!0,arity:2},{AggregateError:U})},511:function(b,y,e){e(90570)},65591:function(b,y,e){"use strict";var a=e(13354),t=e(64441),o=e(89122),s=e(68345),n=e(22054);a({target:"Array",proto:!0},{at:function(l){var c=t(this),m=o(c),g=s(l),M=g>=0?g:m+g;return M<0||M>=m?void 0:c[M]}}),n("at")},33356:function(b,y,e){"use strict";var a=e(13354),t=e(17464).findLastIndex,o=e(22054);a({target:"Array",proto:!0},{findLastIndex:function(n){return t(this,n,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},56082:function(b,y,e){"use strict";var a=e(13354),t=e(17464).findLast,o=e(22054);a({target:"Array",proto:!0},{findLast:function(n){return t(this,n,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},73034:function(b,y,e){"use strict";var a=e(13354),t=e(64441),o=e(89122),s=e(77060),n=e(12262),d=e(77149),l=d(function(){return[].push.call({length:4294967296},1)!==4294967297}),c=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(g){return g instanceof TypeError}},m=l||!c();a({target:"Array",proto:!0,arity:1,forced:m},{push:function(M){var h=t(this),S=o(h),w=arguments.length;n(S+w);for(var x=0;x79&&s<83,l=d||!o("reduceRight");a({target:"Array",proto:!0,forced:l},{reduceRight:function(m){return t(this,m,arguments.length,arguments.length>1?arguments[1]:void 0)}})},62083:function(b,y,e){"use strict";var a=e(13354),t=e(82565).left,o=e(83242),s=e(8783),n=e(79727),d=!n&&s>79&&s<83,l=d||!o("reduce");a({target:"Array",proto:!0,forced:l},{reduce:function(m){var g=arguments.length;return t(this,m,g,g>1?arguments[1]:void 0)}})},36021:function(b,y,e){"use strict";var a=e(13354),t=e(2333),o=e(514),s=e(22054),n=Array;a({target:"Array",proto:!0},{toReversed:function(){return t(o(this),n)}}),s("toReversed")},38122:function(b,y,e){"use strict";var a=e(13354),t=e(11700),o=e(31927),s=e(514),n=e(50112),d=e(70721),l=e(22054),c=Array,m=t(d("Array").sort);a({target:"Array",proto:!0},{toSorted:function(M){M!==void 0&&o(M);var h=s(this),S=n(c,h);return m(S,M)}}),l("toSorted")},37116:function(b,y,e){"use strict";var a=e(13354),t=e(22054),o=e(12262),s=e(89122),n=e(71410),d=e(514),l=e(68345),c=Array,m=Math.max,g=Math.min;a({target:"Array",proto:!0},{toSpliced:function(h,S){var w=d(this),x=s(w),z=n(h,x),U=arguments.length,T=0,N,Z,D,L;for(U===0?N=Z=0:U===1?(N=0,Z=x-z):(N=U-2,Z=g(m(l(S),0),x-z)),D=o(x+N-Z),L=c(D);T=0?S:h+S;return w<0||w>=h?void 0:l(M,w)}})},97390:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(11700),s=e(12105),n=e(6508),d=e(74883),l=e(42854),c=e(68424),m=e(15931),g=e(50533),M=e(47947),h=e(77740),S=e(77449),w=h("replace"),x=TypeError,z=o("".indexOf),U=o("".replace),T=o("".slice),N=Math.max,Z=function(D,L,j){return j>D.length?-1:L===""?j:z(D,L,j)};a({target:"String",proto:!0},{replaceAll:function(L,j){var G=s(this),W,ne,_,ee,se,Q,C,X,O,H=0,k=0,A="";if(!d(L)){if(W=l(L),W&&(ne=c(s(g(L))),!~z(ne,"g")))throw x("`.replaceAll` does not allow non-global regexes");if(_=m(L,w),_)return t(_,L,G,j);if(S&&W)return U(c(G),L,j)}for(ee=c(G),se=c(L),Q=n(j),Q||(j=c(j)),C=se.length,X=N(1,C),H=Z(ee,se,0);H!==-1;)O=Q?c(j(se,H,ee)):M(se,ee,H,[],void 0,j),A+=T(ee,k,H)+O,k=H+C,H=Z(ee,se,H+X);return k=0?g:m+g;return M<0||M>=m?void 0:c[M]})},55759:function(b,y,e){"use strict";var a=e(94641),t=e(17464).findLastIndex,o=a.aTypedArray,s=a.exportTypedArrayMethod;s("findLastIndex",function(d){return t(o(this),d,arguments.length>1?arguments[1]:void 0)})},23239:function(b,y,e){"use strict";var a=e(94641),t=e(17464).findLast,o=a.aTypedArray,s=a.exportTypedArrayMethod;s("findLast",function(d){return t(o(this),d,arguments.length>1?arguments[1]:void 0)})},53289:function(b,y,e){"use strict";var a=e(53065),t=e(68029),o=e(94641),s=e(89122),n=e(5561),d=e(64441),l=e(77149),c=a.RangeError,m=a.Int8Array,g=m&&m.prototype,M=g&&g.set,h=o.aTypedArray,S=o.exportTypedArrayMethod,w=!l(function(){var z=new Uint8ClampedArray(2);return t(M,z,{length:1,0:3},1),z[1]!==3}),x=w&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var z=new m(2);return z.set(1),z.set("2",1),z[0]!==0||z[1]!==2});S("set",function(U){h(this);var T=n(arguments.length>1?arguments[1]:void 0,1),N=d(U);if(w)return t(M,this,N,T);var Z=this.length,D=s(N),L=0;if(D+T>Z)throw c("Wrong length");for(;L1?arguments[1]:void 0)}}),o("filterOut")},6719:function(b,y,e){"use strict";var a=e(13354),t=e(44708).filterReject,o=e(22054);a({target:"Array",proto:!0,forced:!0},{filterReject:function(n){return t(this,n,arguments.length>1?arguments[1]:void 0)}}),o("filterReject")},85590:function(b,y,e){var a=e(13354),t=e(44594);a({target:"Array",stat:!0},{fromAsync:t})},84602:function(b,y,e){var a=e(13354),t=e(83242),o=e(22054),s=e(59765),n=e(77449);a({target:"Array",proto:!0,name:"groupToMap",forced:n||!t("groupByToMap")},{groupByToMap:s}),o("groupByToMap")},56179:function(b,y,e){"use strict";var a=e(13354),t=e(69093),o=e(83242),s=e(22054);a({target:"Array",proto:!0,forced:!o("groupBy")},{groupBy:function(d){var l=arguments.length>1?arguments[1]:void 0;return t(this,d,l)}}),s("groupBy")},68765:function(b,y,e){var a=e(13354),t=e(22054),o=e(59765),s=e(77449);a({target:"Array",proto:!0,forced:s},{groupToMap:o}),t("groupToMap")},68090:function(b,y,e){"use strict";var a=e(13354),t=e(69093),o=e(22054);a({target:"Array",proto:!0},{group:function(n){var d=arguments.length>1?arguments[1]:void 0;return t(this,n,d)}}),o("group")},46377:function(b,y,e){var a=e(13354),t=e(190),o=Object.isFrozen,s=function(n,d){if(!o||!t(n)||!o(n))return!1;for(var l=0,c=n.length,m;l1?arguments[1]:void 0);return s(l,function(m,g){if(!c(m,g,l))return!1},!0)!==!1}})},82412:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(85623),n=e(46782),d=s.Map,l=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S,w){M(S,w,g)&&l(h,w,S)}),h}})},69205:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(46782);a({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(d){var l=o(this),c=t(d,arguments.length>1?arguments[1]:void 0),m=s(l,function(g,M){if(c(g,M,l))return{key:M}},!0);return m&&m.key}})},53677:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(46782);a({target:"Map",proto:!0,real:!0,forced:!0},{find:function(d){var l=o(this),c=t(d,arguments.length>1?arguments[1]:void 0),m=s(l,function(g,M){if(c(g,M,l))return{value:g}},!0);return m&&m.value}})},55994:function(b,y,e){var a=e(13354),t=e(67640);a({target:"Map",stat:!0,forced:!0},{from:t})},96103:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(11700),s=e(6508),n=e(31927),d=e(95815),l=e(85623).Map,c=o([].push);a({target:"Map",stat:!0,forced:!0},{groupBy:function(g,M){var h=s(this)?this:l,S=new h;n(M);var w=n(S.has),x=n(S.get),z=n(S.set);return d(g,function(U){var T=M(U);t(w,S,T)?c(t(x,S,T),U):t(z,S,T,[U])}),S}})},13153:function(b,y,e){"use strict";var a=e(13354),t=e(53496),o=e(7328),s=e(46782);a({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(d){return s(o(this),function(l){if(t(l,d))return!0},!0)===!0}})},51331:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(95815),s=e(6508),n=e(31927),d=e(85623).Map;a({target:"Map",stat:!0,forced:!0},{keyBy:function(c,m){var g=s(this)?this:d,M=new g;n(m);var h=n(M.set);return o(c,function(S){t(h,M,m(S),S)}),M}})},31471:function(b,y,e){"use strict";var a=e(13354),t=e(7328),o=e(46782);a({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(n){var d=o(t(this),function(l,c){if(l===n)return{key:c}},!0);return d&&d.key}})},48008:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(85623),n=e(46782),d=s.Map,l=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S,w){l(h,M(S,w,g),S)}),h}})},72877:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(85623),n=e(46782),d=s.Map,l=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S,w){l(h,w,M(S,w,g))}),h}})},55778:function(b,y,e){"use strict";var a=e(13354),t=e(7328),o=e(95815),s=e(85623).set;a({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(d){for(var l=t(this),c=arguments.length,m=0;m1?arguments[1]:void 0);return s(l,function(m,g){if(c(m,g,l))return!0},!0)===!0}})},74613:function(b,y,e){"use strict";var a=e(13354),t=e(32171);a({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:t})},22252:function(b,y,e){"use strict";var a=e(13354),t=e(31927),o=e(7328),s=e(85623),n=TypeError,d=s.get,l=s.has,c=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{update:function(g,M){var h=o(this),S=arguments.length;t(M);var w=l(h,g);if(!w&&S<3)throw n("Updating absent value");var x=w?d(h,g):t(S>2?arguments[2]:void 0)(g,h);return c(h,g,M(x,g,h)),h}})},85890:function(b,y,e){"use strict";var a=e(13354),t=e(32171);a({target:"Map",proto:!0,real:!0,forced:!0},{upsert:t})},49489:function(b,y,e){var a=e(13354),t=Math.min,o=Math.max;a({target:"Math",stat:!0,forced:!0},{clamp:function(n,d,l){return t(l,o(d,n))}})},63478:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},88126:function(b,y,e){var a=e(13354),t=180/Math.PI;a({target:"Math",stat:!0,forced:!0},{degrees:function(s){return s*t}})},24760:function(b,y,e){var a=e(13354),t=e(15129),o=e(18749);a({target:"Math",stat:!0,forced:!0},{fscale:function(n,d,l,c,m){return o(t(n,d,l,c,m))}})},37877:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{iaddh:function(o,s,n,d){var l=o>>>0,c=s>>>0,m=n>>>0;return c+(d>>>0)+((l&m|(l|m)&~(l+m>>>0))>>>31)|0}})},99461:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{imulh:function(o,s){var n=65535,d=+o,l=+s,c=d&n,m=l&n,g=d>>16,M=l>>16,h=(g*m>>>0)+(c*m>>>16);return g*M+(h>>16)+((c*M>>>0)+(h&n)>>16)}})},63746:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{isubh:function(o,s,n,d){var l=o>>>0,c=s>>>0,m=n>>>0;return c-(d>>>0)-((~l&m|~(l^m)&l-m>>>0)>>>31)|0}})},8443:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},75738:function(b,y,e){var a=e(13354),t=Math.PI/180;a({target:"Math",stat:!0,forced:!0},{radians:function(s){return s*t}})},13322:function(b,y,e){var a=e(13354),t=e(15129);a({target:"Math",stat:!0,forced:!0},{scale:t})},64748:function(b,y,e){var a=e(13354),t=e(78958),o=e(54633),s=e(87821),n=e(76835),d=e(71584),l="Seeded Random",c=l+" Generator",m='Math.seededPRNG() argument should have a "seed" field with a finite value.',g=d.set,M=d.getterFor(c),h=TypeError,S=s(function(x){g(this,{type:c,seed:x%2147483647})},l,function(){var x=M(this),z=x.seed=(x.seed*1103515245+12345)%2147483647;return n((z&1073741823)/1073741823,!1)});a({target:"Math",stat:!0,forced:!0},{seededPRNG:function(x){var z=t(x).seed;if(!o(z))throw h(m);return new S(z)}})},59048:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{signbit:function(o){var s=+o;return s==s&&s==0?1/s==-1/0:s<0}})},25215:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{umulh:function(o,s){var n=65535,d=+o,l=+s,c=d&n,m=l&n,g=d>>>16,M=l>>>16,h=(g*m>>>0)+(c*m>>>16);return g*M+(h>>>16)+((c*M>>>0)+(h&n)>>>16)}})},89495:function(b,y,e){"use strict";var a=e(13354),t=e(11700),o=e(68345),s=e(35323),n="Invalid number representation",d="Invalid radix",l=RangeError,c=SyntaxError,m=TypeError,g=/^[\da-z]+$/,M=t("".charAt),h=t(g.exec),S=t(1 .toString),w=t("".slice);a({target:"Number",stat:!0,forced:!0},{fromString:function(z,U){var T=1,N,Z;if(typeof z!="string")throw m(n);if(!z.length||M(z,0)=="-"&&(T=-1,z=w(z,1),!z.length))throw c(n);if(N=U===void 0?10:o(U),N<2||N>36)throw l(d);if(!h(g,z)||S(Z=s(z,N),N)!==z)throw c(n);return T*Z}})},78490:function(b,y,e){"use strict";var a=e(13354),t=e(73126);a({target:"Number",stat:!0,forced:!0},{range:function(s,n,d){return new t(s,n,d,"number",0,1)}})},11790:function(b,y,e){"use strict";var a=e(13354),t=e(65556);a({target:"Object",stat:!0,forced:!0},{iterateEntries:function(s){return new t(s,"entries")}})},52739:function(b,y,e){"use strict";var a=e(13354),t=e(65556);a({target:"Object",stat:!0,forced:!0},{iterateKeys:function(s){return new t(s,"keys")}})},96847:function(b,y,e){"use strict";var a=e(13354),t=e(65556);a({target:"Object",stat:!0,forced:!0},{iterateValues:function(s){return new t(s,"values")}})},8120:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(57759),s=e(51309),n=e(31927),d=e(78958),l=e(92453),c=e(6508),m=e(74883),g=e(33225),M=e(15931),h=e(28621),S=e(3313),w=e(2265),x=e(3234),z=e(77740),U=e(71584),T=e(88818),N=z("observable"),Z="Observable",D="Subscription",L="SubscriptionObserver",j=U.getterFor,G=U.set,W=j(Z),ne=j(D),_=j(L),ee=function(O){this.observer=d(O),this.cleanup=void 0,this.subscriptionObserver=void 0};ee.prototype={type:D,clean:function(){var O=this.cleanup;if(O){this.cleanup=void 0;try{O()}catch(H){x(H)}}},close:function(){if(!o){var O=this.facade,H=this.subscriptionObserver;O.closed=!0,H&&(H.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var se=function(O,H){var k=G(this,new ee(O)),A;o||(this.closed=!1);try{(A=M(O,"start"))&&t(A,O,this)}catch(ve){x(ve)}if(!k.isClosed()){var Y=k.subscriptionObserver=new Q(k);try{var de=H(Y),me=de;m(de)||(k.cleanup=c(de.unsubscribe)?function(){me.unsubscribe()}:n(de))}catch(ve){Y.error(ve);return}k.isClosed()&&k.clean()}};se.prototype=S({},{unsubscribe:function(){var H=ne(this);H.isClosed()||(H.close(),H.clean())}}),o&&w(se.prototype,"closed",{configurable:!0,get:function(){return ne(this).isClosed()}});var Q=function(O){G(this,{type:L,subscriptionState:O}),o||(this.closed=!1)};Q.prototype=S({},{next:function(H){var k=_(this).subscriptionState;if(!k.isClosed()){var A=k.observer;try{var Y=M(A,"next");Y&&t(Y,A,H)}catch(de){x(de)}}},error:function(H){var k=_(this).subscriptionState;if(!k.isClosed()){var A=k.observer;k.close();try{var Y=M(A,"error");Y?t(Y,A,H):x(H)}catch(de){x(de)}k.clean()}},complete:function(){var H=_(this).subscriptionState;if(!H.isClosed()){var k=H.observer;H.close();try{var A=M(k,"complete");A&&t(A,k)}catch(Y){x(Y)}H.clean()}}}),o&&w(Q.prototype,"closed",{configurable:!0,get:function(){return _(this).subscriptionState.isClosed()}});var C=function(H){l(this,X),G(this,{type:Z,subscriber:n(H)})},X=C.prototype;S(X,{subscribe:function(H){var k=arguments.length;return new se(c(H)?{next:H,error:k>1?arguments[1]:void 0,complete:k>2?arguments[2]:void 0}:g(H)?H:{},W(this).subscriber)}}),h(X,N,function(){return this}),a({global:!0,constructor:!0,forced:T},{Observable:C}),s(Z)},11341:function(b,y,e){"use strict";var a=e(13354),t=e(42725),o=e(68029),s=e(78958),n=e(13893),d=e(64712),l=e(15931),c=e(95815),m=e(77740),g=e(88818),M=m("observable");a({target:"Observable",stat:!0,forced:g},{from:function(S){var w=n(this)?this:t("Observable"),x=l(s(S),M);if(x){var z=s(o(x,S));return z.constructor===w?z:new w(function(T){return z.subscribe(T)})}var U=d(S);return new w(function(T){c(U,function(N,Z){if(T.next(N),T.closed)return Z()},{IS_ITERATOR:!0,INTERRUPTED:!0}),T.complete()})}})},57099:function(b,y,e){e(8120),e(11341),e(21720)},21720:function(b,y,e){"use strict";var a=e(13354),t=e(42725),o=e(13893),s=e(88818),n=t("Array");a({target:"Observable",stat:!0,forced:s},{of:function(){for(var l=o(this)?this:t("Observable"),c=arguments.length,m=n(c),g=0;g1?arguments[1]:void 0);return s(l,function(m){if(!c(m,m,l))return!1},!0)!==!1}})},17960:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(77318),s=e(23313),n=e(22731),d=s.Set,l=s.add;a({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S){M(S,S,g)&&l(h,S)}),h}})},25823:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(77318),s=e(22731);a({target:"Set",proto:!0,real:!0,forced:!0},{find:function(d){var l=o(this),c=t(d,arguments.length>1?arguments[1]:void 0),m=s(l,function(g){if(c(g,g,l))return{value:g}},!0);return m&&m.value}})},56133:function(b,y,e){var a=e(13354),t=e(67640);a({target:"Set",stat:!0,forced:!0},{from:t})},6762:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(51737);a({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(d){return t(s,this,o(d))}})},60682:function(b,y,e){var a=e(13354),t=e(51737),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("intersection")},{intersection:t})},36925:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(46149);a({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(d){return t(s,this,o(d))}})},65107:function(b,y,e){var a=e(13354),t=e(46149),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:t})},9882:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(99527);a({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(d){return t(s,this,o(d))}})},31772:function(b,y,e){var a=e(13354),t=e(99527),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:t})},95344:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(20698);a({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(d){return t(s,this,o(d))}})},19453:function(b,y,e){var a=e(13354),t=e(20698),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:t})},51301:function(b,y,e){"use strict";var a=e(13354),t=e(11700),o=e(77318),s=e(22731),n=e(68424),d=t([].join),l=t([].push);a({target:"Set",proto:!0,real:!0,forced:!0},{join:function(m){var g=o(this),M=m===void 0?",":n(m),h=[];return s(g,function(S){l(h,S)}),d(h,M)}})},71395:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(77318),s=e(23313),n=e(22731),d=s.Set,l=s.add;a({target:"Set",proto:!0,real:!0,forced:!0},{map:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S){l(h,M(S,S,g))}),h}})},38054:function(b,y,e){var a=e(13354),t=e(55042);a({target:"Set",stat:!0,forced:!0},{of:t})},92141:function(b,y,e){"use strict";var a=e(13354),t=e(31927),o=e(77318),s=e(22731),n=TypeError;a({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(l){var c=o(this),m=arguments.length<2,g=m?void 0:arguments[1];if(t(l),s(c,function(M){m?(m=!1,g=M):g=l(g,M,M,c)}),m)throw n("Reduce of empty set with no initial value");return g}})},95396:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(77318),s=e(22731);a({target:"Set",proto:!0,real:!0,forced:!0},{some:function(d){var l=o(this),c=t(d,arguments.length>1?arguments[1]:void 0);return s(l,function(m){if(c(m,m,l))return!0},!0)===!0}})},11859:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(52100);a({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(d){return t(s,this,o(d))}})},13409:function(b,y,e){var a=e(13354),t=e(52100),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:t})},4681:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(45953);a({target:"Set",proto:!0,real:!0,forced:!0},{union:function(d){return t(s,this,o(d))}})},51113:function(b,y,e){var a=e(13354),t=e(45953),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:t})},15307:function(b,y,e){"use strict";var a=e(13354),t=e(81673).charAt,o=e(12105),s=e(68345),n=e(68424);a({target:"String",proto:!0,forced:!0},{at:function(l){var c=n(o(this)),m=c.length,g=s(l),M=g>=0?g:m+g;return M<0||M>=m?void 0:t(c,M)}})},36879:function(b,y,e){"use strict";var a=e(13354),t=e(87821),o=e(76835),s=e(12105),n=e(68424),d=e(71584),l=e(81673),c=l.codeAt,m=l.charAt,g="String Iterator",M=d.set,h=d.getterFor(g),S=t(function(x){M(this,{type:g,string:x,index:0})},"String",function(){var x=h(this),z=x.string,U=x.index,T;return U>=z.length?o(void 0,!0):(T=m(z,U),x.index+=T.length,o({codePoint:c(T,0),position:U},!1))});a({target:"String",proto:!0,forced:!0},{codePoints:function(){return new S(n(s(this)))}})},27008:function(b,y,e){var a=e(13354),t=e(85650);a({target:"String",stat:!0,forced:!0},{cooked:t})},91345:function(b,y,e){"use strict";var a=e(81506),t=e(13354),o=e(71980),s=e(42725),n=e(70377),d=e(11700),l=e(59178),c=e(78958),m=e(64441),g=e(6508),M=e(89122),h=e(38248).f,S=e(81469),w=e(85650),x=e(81089),z=e(91289),U=s("WeakMap"),T=o("GlobalDedentRegistry",new U);T.has=T.has,T.get=T.get,T.set=T.set;var N=Array,Z=TypeError,D=Object.freeze||Object,L=Object.isFrozen,j=Math.min,G=d("".charAt),W=d("".slice),ne=d("".split),_=d(/./.exec),ee=/([\n\u2028\u2029]|\r\n?)/g,se=RegExp("^["+z+"]*"),Q=RegExp("[^"+z+"]"),C="Invalid tag",X="Invalid opening line",O="Invalid closing line",H=function(ve){var be=ve.raw;if(a&&!L(be))throw Z("Raw template should be frozen");if(T.has(be))return T.get(be);var Pe=k(be),Je=Y(Pe);return h(Je,"raw",{value:D(Pe)}),D(Je),T.set(be,Je),Je},k=function(ve){var be=m(ve),Pe=M(be),Je=N(Pe),qe=N(Pe),Xe=0,mt,Ct;if(!Pe)throw Z(C);for(;Xe0)throw Z(X);mt[1]=""}if(Ht){if(mt.length===1||_(Q,mt[mt.length-1]))throw Z(O);mt[mt.length-2]="",mt[mt.length-1]=""}for(var ke=2;ke=56320||++m>=c||(n(l,m)&64512)!=56320))return!1}return!0}})},5744:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(11700),s=e(12105),n=e(68424),d=e(77149),l=Array,c=o("".charAt),m=o("".charCodeAt),g=o([].join),M="".toWellFormed,h="\uFFFD",S=M&&d(function(){return t(M,1)!=="1"});a({target:"String",proto:!0,forced:S},{toWellFormed:function(){var x=n(s(this));if(S)return t(M,x);for(var z=x.length,U=l(z),T=0;T=56320||T+1>=z||(m(x,T+1)&64512)!=56320?U[T]=h:(U[T]=c(x,T),U[++T]=c(x,T))}return g(U,"")}})},2017:function(b,y,e){"use strict";var a=e(13354),t=e(72901),o=e(77767),s=e(63332),n=e(81732),d=e(34552),l=e(5927),c=e(87971),m=e(96410),g=e(9280),M=e(77740),h=M("toStringTag"),S=Error,w=function(U,T,N){var Z=t(x,this),D;return s?D=s(S(),Z?o(this):x):(D=Z?this:d(x),l(D,h,"Error")),N!==void 0&&l(D,"message",g(N)),m(D,w,D.stack,1),l(D,"error",U),l(D,"suppressed",T),D};s?s(w,S):n(w,S,{name:!0});var x=w.prototype=d(S.prototype,{constructor:c(1,w),message:c(1,""),name:c(1,"SuppressedError")});a({global:!0,constructor:!0,arity:3},{SuppressedError:w})},12447:function(b,y,e){var a=e(78186);a("asyncDispose")},50706:function(b,y,e){var a=e(78186);a("dispose")},80593:function(b,y,e){var a=e(13354),t=e(42725),o=e(11700),s=t("Symbol"),n=s.keyFor,d=o(s.prototype.valueOf);a({target:"Symbol",stat:!0},{isRegistered:function(c){try{return n(d(c))!==void 0}catch(m){return!1}}})},41693:function(b,y,e){for(var a=e(13354),t=e(71980),o=e(42725),s=e(11700),n=e(59549),d=e(77740),l=o("Symbol"),c=l.isWellKnown,m=o("Object","getOwnPropertyNames"),g=s(l.prototype.valueOf),M=t("wks"),h=0,S=m(l),w=S.length;h1?arguments[1]:void 0);return o(this,c)},!0)},73165:function(b,y,e){"use strict";var a=e(94641),t=e(44708).filterReject,o=e(64395),s=a.aTypedArray,n=a.exportTypedArrayMethod;n("filterReject",function(l){var c=t(s(this),l,arguments.length>1?arguments[1]:void 0);return o(this,c)},!0)},56390:function(b,y,e){"use strict";var a=e(42725),t=e(89764),o=e(44594),s=e(94641),n=e(50112),d=s.aTypedArrayConstructor,l=s.exportTypedArrayStaticMethod;l("fromAsync",function(m){var g=this,M=arguments.length,h=M>1?arguments[1]:void 0,S=M>2?arguments[2]:void 0;return new(a("Promise"))(function(w){t(g),w(o(m,h,S))}).then(function(w){return n(d(g),w)})},!0)},20233:function(b,y,e){"use strict";var a=e(94641),t=e(69093),o=e(93947),s=a.aTypedArray,n=a.exportTypedArrayMethod;n("groupBy",function(l){var c=arguments.length>1?arguments[1]:void 0;return t(s(this),l,c,o)},!0)},18444:function(b,y,e){"use strict";var a=e(94641),t=e(89122),o=e(30879),s=e(71410),n=e(28046),d=e(68345),l=e(77149),c=a.aTypedArray,m=a.getTypedArrayConstructor,g=a.exportTypedArrayMethod,M=Math.max,h=Math.min,S=!l(function(){var w=new Int8Array([1]),x=w.toSpliced(1,0,{valueOf:function(){return w[0]=2,3}});return x[0]!==2||x[1]!==3});g("toSpliced",function(x,z){var U=c(this),T=m(U),N=t(U),Z=s(x,N),D=arguments.length,L=0,j,G,W,ne,_,ee,se;if(D===0)j=G=0;else if(D===1)j=0,G=N-Z;else if(G=h(M(d(z),0),N-Z),j=D-2,j){ne=new T(j),W=o(ne);for(var Q=2;Q1&&!g(arguments[1])?w(arguments[1]):void 0,le=Ee?Ee.transfer:void 0,Ne;return le!==void 0&&(Ne=new Pe,oe(le,Ne)),re(ue,Ne)}})},81474:function(b,y,e){"use strict";var a=e(90894),t=e(8197),o=e(56265),s=e(20610),n=e(13),d=b.exports=function(l,c){var m,g,M,h,S;return arguments.length<2||typeof l!="string"?(h=c,c=l,l=null):h=arguments[2],a(l)?(m=n.call(l,"c"),g=n.call(l,"e"),M=n.call(l,"w")):(m=M=!0,g=!1),S={value:c,configurable:m,enumerable:g,writable:M},h?o(s(h),S):S};d.gs=function(l,c,m){var g,M,h,S;return typeof l!="string"?(h=m,m=c,c=l,l=null):h=arguments[3],a(c)?t(c)?a(m)?t(m)||(h=m,m=void 0):m=void 0:(h=c,c=m=void 0):c=void 0,a(l)?(g=n.call(l,"c"),M=n.call(l,"e")):(g=!0,M=!1),S={get:c,set:m,configurable:g,enumerable:M},h?o(s(h),S):S}},65140:function(b){"use strict";var y="%[a-f0-9]{2}",e=new RegExp("("+y+")|([^%]+?)","gi"),a=new RegExp("("+y+")+","gi");function t(n,d){try{return[decodeURIComponent(n.join(""))]}catch(m){}if(n.length===1)return n;d=d||1;var l=n.slice(0,d),c=n.slice(d);return Array.prototype.concat.call([],t(l),t(c))}function o(n){try{return decodeURIComponent(n)}catch(c){for(var d=n.match(e)||[],l=1;l1&&arguments[1]!==void 0?arguments[1]:s;if(t){var m={match:function(){l&&l(!0)},unmatch:function(){l&&l()}};return t.register(c,m),m}}function d(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s;t&&t.unregister(c,l)}a=t},20699:function(b,y,e){var a=e(66835),t=e(54802).each;function o(s,n){this.query=s,this.isUnconditional=n,this.handlers=[],this.mql=window.matchMedia(s);var d=this;this.listener=function(l){d.mql=l.currentTarget||l,d.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(s){var n=new a(s);this.handlers.push(n),this.matches()&&n.on()},removeHandler:function(s){var n=this.handlers;t(n,function(d,l){if(d.equals(s))return d.destroy(),!n.splice(l,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){t(this.handlers,function(s){s.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var s=this.matches()?"on":"off";t(this.handlers,function(n){n[s]()})}},b.exports=o},68323:function(b,y,e){var a=e(20699),t=e(54802),o=t.each,s=t.isFunction,n=t.isArray;function d(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}d.prototype={constructor:d,register:function(l,c,m){var g=this.queries,M=m&&this.browserIsIncapable;return g[l]||(g[l]=new a(l,M)),s(c)&&(c={match:c}),n(c)||(c=[c]),o(c,function(h){s(h)&&(h={match:h}),g[l].addHandler(h)}),this},unregister:function(l,c){var m=this.queries[l];return m&&(c?m.removeHandler(c):(m.clear(),delete this.queries[l])),this}},b.exports=d},66835:function(b){function y(e){this.options=e,!e.deferSetup&&this.setup()}y.prototype={constructor:y,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},b.exports=y},54802:function(b){function y(t,o){var s=0,n=t.length,d;for(s;s-1}},87308:function(b,y,e){"use strict";var a=e(81474),t=e(54550),o=Function.prototype.apply,s=Function.prototype.call,n=Object.create,d=Object.defineProperty,l=Object.defineProperties,c=Object.prototype.hasOwnProperty,m={configurable:!0,enumerable:!1,writable:!0},g,M,h,S,w,x,z;g=function(U,T){var N;return t(T),c.call(this,"__ee__")?N=this.__ee__:(N=m.value=n(null),d(this,"__ee__",m),m.value=null),N[U]?typeof N[U]=="object"?N[U].push(T):N[U]=[N[U],T]:N[U]=T,this},M=function(U,T){var N,Z;return t(T),Z=this,g.call(this,U,N=function(){h.call(Z,U,N),o.call(T,this,arguments)}),N.__eeOnceListener__=T,this},h=function(U,T){var N,Z,D,L;if(t(T),!c.call(this,"__ee__"))return this;if(N=this.__ee__,!N[U])return this;if(Z=N[U],typeof Z=="object")for(L=0;D=Z[L];++L)(D===T||D.__eeOnceListener__===T)&&(Z.length===2?N[U]=Z[L?0:1]:Z.splice(L,1));else(Z===T||Z.__eeOnceListener__===T)&&delete N[U];return this},S=function(U){var T,N,Z,D,L;if(c.call(this,"__ee__")&&(D=this.__ee__[U],!!D))if(typeof D=="object"){for(N=arguments.length,L=new Array(N-1),T=1;T=0&&(T.hash=U.substr(N),U=U.substr(0,N));var Z=U.indexOf("?");Z>=0&&(T.search=U.substr(Z),U=U.substr(0,Z)),U&&(T.pathname=U)}return T}},10063:function(b,y,e){"use strict";var a=e(99415),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[a.ForwardRef]=s,d[a.Memo]=n;function l(x){return a.isMemo(x)?n:d[x.$$typeof]||t}var c=Object.defineProperty,m=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,M=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,S=Object.prototype;function w(x,z,U){if(typeof z!="string"){if(S){var T=h(z);T&&T!==S&&w(x,T,U)}var N=m(z);g&&(N=N.concat(g(z)));for(var Z=l(x),D=l(z),L=0;L>1,g=-7,M=t?s-1:0,h=t?-1:1,S=e[a+M];for(M+=h,n=S&(1<<-g)-1,S>>=-g,g+=l;g>0;n=n*256+e[a+M],M+=h,g-=8);for(d=n&(1<<-g)-1,n>>=-g,g+=o;g>0;d=d*256+e[a+M],M+=h,g-=8);if(n===0)n=1-m;else{if(n===c)return d?NaN:(S?-1:1)*(1/0);d=d+Math.pow(2,o),n=n-m}return(S?-1:1)*d*Math.pow(2,n-o)},y.write=function(e,a,t,o,s,n){var d,l,c,m=n*8-s-1,g=(1<>1,h=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,S=o?0:n-1,w=o?1:-1,x=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(l=isNaN(a)?1:0,d=g):(d=Math.floor(Math.log(a)/Math.LN2),a*(c=Math.pow(2,-d))<1&&(d--,c*=2),d+M>=1?a+=h/c:a+=h*Math.pow(2,1-M),a*c>=2&&(d++,c/=2),d+M>=g?(l=0,d=g):d+M>=1?(l=(a*c-1)*Math.pow(2,s),d=d+M):(l=a*Math.pow(2,M-1)*Math.pow(2,s),d=0));s>=8;e[t+S]=l&255,S+=w,l/=256,s-=8);for(d=d<0;e[t+S]=d&255,S+=w,d/=256,m-=8);e[t+S-w]|=x*128}},21700:function(b){"use strict";var y=function(e,a,t,o,s,n,d,l){if(!e){var c;if(a===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[t,o,s,n,d,l],g=0;c=new Error(a.replace(/%s/g,function(){return m[g++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};b.exports=y},23161:function(b){var y={}.toString;b.exports=Array.isArray||function(e){return y.call(e)=="[object Array]"}},61012:function(b,y,e){var a=1/0,t="[object Symbol]",o=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,s=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,n="\\ud800-\\udfff",d="\\u0300-\\u036f\\ufe20-\\ufe23",l="\\u20d0-\\u20f0",c="\\u2700-\\u27bf",m="a-z\\xdf-\\xf6\\xf8-\\xff",g="\\xac\\xb1\\xd7\\xf7",M="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",h="\\u2000-\\u206f",S=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",w="A-Z\\xc0-\\xd6\\xd8-\\xde",x="\\ufe0e\\ufe0f",z=g+M+h+S,U="['\u2019]",T="["+n+"]",N="["+z+"]",Z="["+d+l+"]",D="\\d+",L="["+c+"]",j="["+m+"]",G="[^"+n+z+D+c+m+w+"]",W="\\ud83c[\\udffb-\\udfff]",ne="(?:"+Z+"|"+W+")",_="[^"+n+"]",ee="(?:\\ud83c[\\udde6-\\uddff]){2}",se="[\\ud800-\\udbff][\\udc00-\\udfff]",Q="["+w+"]",C="\\u200d",X="(?:"+j+"|"+G+")",O="(?:"+Q+"|"+G+")",H="(?:"+U+"(?:d|ll|m|re|s|t|ve))?",k="(?:"+U+"(?:D|LL|M|RE|S|T|VE))?",A=ne+"?",Y="["+x+"]?",de="(?:"+C+"(?:"+[_,ee,se].join("|")+")"+Y+A+")*",me=Y+A+de,ve="(?:"+[L,ee,se].join("|")+")"+me,be="(?:"+[_+Z+"?",Z,ee,se,T].join("|")+")",Pe=RegExp(U,"g"),Je=RegExp(Z,"g"),qe=RegExp(W+"(?="+W+")|"+be+me,"g"),Xe=RegExp([Q+"?"+j+"+"+H+"(?="+[N,Q,"$"].join("|")+")",O+"+"+k+"(?="+[N,Q+X,"$"].join("|")+")",Q+"?"+X+"+"+H,Q+"+"+k,D,ve].join("|"),"g"),mt=RegExp("["+C+n+d+l+x+"]"),Ct=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vt={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"ss"},Ht=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,ke=typeof self=="object"&&self&&self.Object===Object&&self,Ve=Ht||ke||Function("return this")();function ot(We,Be,it,Ge){var Ot=-1,$t=We?We.length:0;for(Ge&&$t&&(it=We[++Ot]);++Ot<$t;)it=Be(it,We[Ot],Ot,We);return it}function Ke(We){return We.split("")}function he(We){return We.match(o)||[]}function J(We){return function(Be){return We==null?void 0:We[Be]}}var V=J(vt);function R(We){return mt.test(We)}function P(We){return Ct.test(We)}function B(We){return R(We)?ge(We):Ke(We)}function ge(We){return We.match(qe)||[]}function ie(We){return We.match(Xe)||[]}var pe=Object.prototype,Oe=pe.toString,xe=Ve.Symbol,Se=xe?xe.prototype:void 0,$e=Se?Se.toString:void 0;function re(We,Be,it){var Ge=-1,Ot=We.length;Be<0&&(Be=-Be>Ot?0:Ot+Be),it=it>Ot?Ot:it,it<0&&(it+=Ot),Ot=Be>it?0:it-Be>>>0,Be>>>=0;for(var $t=Array(Ot);++Ge=Ge?We:re(We,Be,it)}function ue(We){return function(Be){Be=Ae(Be);var it=R(Be)?B(Be):void 0,Ge=it?it[0]:Be.charAt(0),Ot=it?q(it,1).join(""):Be.slice(1);return Ge[We]()+Ot}}function Ee(We){return function(Be){return ot(_e(st(Be).replace(Pe,"")),We,"")}}function le(We){return!!We&&typeof We=="object"}function Ne(We){return typeof We=="symbol"||le(We)&&Oe.call(We)==t}function Ae(We){return We==null?"":oe(We)}var we=Ee(function(We,Be,it){return Be=Be.toLowerCase(),We+(it?Re(Be):Be)});function Re(We){return nt(Ae(We).toLowerCase())}function st(We){return We=Ae(We),We&&We.replace(s,V).replace(Je,"")}var nt=ue("toUpperCase");function _e(We,Be,it){return We=Ae(We),Be=it?void 0:Be,Be===void 0?P(We)?ie(We):he(We):We.match(Be)||[]}b.exports=we},51899:function(b,y,e){var a="Expected a function",t=NaN,o="[object Symbol]",s=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,m=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,g=typeof self=="object"&&self&&self.Object===Object&&self,M=m||g||Function("return this")(),h=Object.prototype,S=h.toString,w=Math.max,x=Math.min,z=function(){return M.Date.now()};function U(L,j,G){var W,ne,_,ee,se,Q,C=0,X=!1,O=!1,H=!0;if(typeof L!="function")throw new TypeError(a);j=D(j)||0,T(G)&&(X=!!G.leading,O="maxWait"in G,_=O?w(D(G.maxWait)||0,j):_,H="trailing"in G?!!G.trailing:H);function k(qe){var Xe=W,mt=ne;return W=ne=void 0,C=qe,ee=L.apply(mt,Xe),ee}function A(qe){return C=qe,se=setTimeout(me,j),X?k(qe):ee}function Y(qe){var Xe=qe-Q,mt=qe-C,Ct=j-Xe;return O?x(Ct,_-mt):Ct}function de(qe){var Xe=qe-Q,mt=qe-C;return Q===void 0||Xe>=j||Xe<0||O&&mt>=_}function me(){var qe=z();if(de(qe))return ve(qe);se=setTimeout(me,Y(qe))}function ve(qe){return se=void 0,H&&W?k(qe):(W=ne=void 0,ee)}function be(){se!==void 0&&clearTimeout(se),C=0,W=Q=ne=se=void 0}function Pe(){return se===void 0?ee:ve(z())}function Je(){var qe=z(),Xe=de(qe);if(W=arguments,ne=this,Q=qe,Xe){if(se===void 0)return A(Q);if(O)return se=setTimeout(me,j),k(Q)}return se===void 0&&(se=setTimeout(me,j)),ee}return Je.cancel=be,Je.flush=Pe,Je}function T(L){var j=typeof L;return!!L&&(j=="object"||j=="function")}function N(L){return!!L&&typeof L=="object"}function Z(L){return typeof L=="symbol"||N(L)&&S.call(L)==o}function D(L){if(typeof L=="number")return L;if(Z(L))return t;if(T(L)){var j=typeof L.valueOf=="function"?L.valueOf():L;L=T(j)?j+"":j}if(typeof L!="string")return L===0?L:+L;L=L.replace(s,"");var G=d.test(L);return G||l.test(L)?c(L.slice(2),G?2:8):n.test(L)?t:+L}b.exports=U},14978:function(b,y,e){var a="Expected a function",t=NaN,o="[object Symbol]",s=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,m=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,g=typeof self=="object"&&self&&self.Object===Object&&self,M=m||g||Function("return this")(),h=Object.prototype,S=h.toString,w=Math.max,x=Math.min,z=function(){return M.Date.now()};function U(j,G,W){var ne,_,ee,se,Q,C,X=0,O=!1,H=!1,k=!0;if(typeof j!="function")throw new TypeError(a);G=L(G)||0,N(W)&&(O=!!W.leading,H="maxWait"in W,ee=H?w(L(W.maxWait)||0,G):ee,k="trailing"in W?!!W.trailing:k);function A(Xe){var mt=ne,Ct=_;return ne=_=void 0,X=Xe,se=j.apply(Ct,mt),se}function Y(Xe){return X=Xe,Q=setTimeout(ve,G),O?A(Xe):se}function de(Xe){var mt=Xe-C,Ct=Xe-X,vt=G-mt;return H?x(vt,ee-Ct):vt}function me(Xe){var mt=Xe-C,Ct=Xe-X;return C===void 0||mt>=G||mt<0||H&&Ct>=ee}function ve(){var Xe=z();if(me(Xe))return be(Xe);Q=setTimeout(ve,de(Xe))}function be(Xe){return Q=void 0,k&&ne?A(Xe):(ne=_=void 0,se)}function Pe(){Q!==void 0&&clearTimeout(Q),X=0,ne=C=_=Q=void 0}function Je(){return Q===void 0?se:be(z())}function qe(){var Xe=z(),mt=me(Xe);if(ne=arguments,_=this,C=Xe,mt){if(Q===void 0)return Y(C);if(H)return Q=setTimeout(ve,G),A(C)}return Q===void 0&&(Q=setTimeout(ve,G)),se}return qe.cancel=Pe,qe.flush=Je,qe}function T(j,G,W){var ne=!0,_=!0;if(typeof j!="function")throw new TypeError(a);return N(W)&&(ne="leading"in W?!!W.leading:ne,_="trailing"in W?!!W.trailing:_),U(j,G,{leading:ne,maxWait:G,trailing:_})}function N(j){var G=typeof j;return!!j&&(G=="object"||G=="function")}function Z(j){return!!j&&typeof j=="object"}function D(j){return typeof j=="symbol"||Z(j)&&S.call(j)==o}function L(j){if(typeof j=="number")return j;if(D(j))return t;if(N(j)){var G=typeof j.valueOf=="function"?j.valueOf():j;j=N(G)?G+"":G}if(typeof j!="string")return j===0?j:+j;j=j.replace(s,"");var W=d.test(j);return W||l.test(j)?c(j.slice(2),W?2:8):n.test(j)?t:+j}b.exports=T},94466:function(b,y,e){var a=e(65234),t=e(83250),o=a(t,"DataView");b.exports=o},85208:function(b,y,e){var a=e(34440),t=e(84108),o=e(61085),s=e(77706),n=e(8636);function d(l){var c=-1,m=l==null?0:l.length;for(this.clear();++cw))return!1;var z=h.get(l),U=h.get(c);if(z&&U)return z==c&&U==l;var T=-1,N=!0,Z=m&n?new a:void 0;for(h.set(l,c),h.set(c,l);++T-1&&t%1==0&&t-1}b.exports=t},67690:function(b,y,e){var a=e(18498);function t(o,s){var n=this.__data__,d=a(n,o);return d<0?(++this.size,n.push([o,s])):n[d][1]=s,this}b.exports=t},39016:function(b,y,e){var a=e(85208),t=e(81998),o=e(72887);function s(){this.size=0,this.__data__={hash:new a,map:new(o||t),string:new a}}b.exports=s},62363:function(b,y,e){var a=e(77570);function t(o){var s=a(this,o).delete(o);return this.size-=s?1:0,s}b.exports=t},64348:function(b,y,e){var a=e(77570);function t(o){return a(this,o).get(o)}b.exports=t},53062:function(b,y,e){var a=e(77570);function t(o){return a(this,o).has(o)}b.exports=t},30262:function(b,y,e){var a=e(77570);function t(o,s){var n=a(this,o),d=n.size;return n.set(o,s),this.size+=n.size==d?0:1,this}b.exports=t},81140:function(b){function y(e){var a=-1,t=Array(e.size);return e.forEach(function(o,s){t[++a]=[s,o]}),t}b.exports=y},24545:function(b,y,e){var a=e(65234),t=a(Object,"create");b.exports=t},82825:function(b,y,e){var a=e(33540),t=a(Object.keys,Object);b.exports=t},8690:function(b,y,e){b=e.nmd(b);var a=e(20302),t=y&&!y.nodeType&&y,o=t&&!0&&b&&!b.nodeType&&b,s=o&&o.exports===t,n=s&&a.process,d=function(){try{var l=o&&o.require&&o.require("util").types;return l||n&&n.binding&&n.binding("util")}catch(c){}}();b.exports=d},25151:function(b){var y=Object.prototype,e=y.toString;function a(t){return e.call(t)}b.exports=a},33540:function(b){function y(e,a){return function(t){return e(a(t))}}b.exports=y},83250:function(b,y,e){var a=e(20302),t=typeof self=="object"&&self&&self.Object===Object&&self,o=a||t||Function("return this")();b.exports=o},83937:function(b){var y="__lodash_hash_undefined__";function e(a){return this.__data__.set(a,y),this}b.exports=e},15009:function(b){function y(e){return this.__data__.has(e)}b.exports=y},77969:function(b){function y(e){var a=-1,t=Array(e.size);return e.forEach(function(o){t[++a]=o}),t}b.exports=y},93210:function(b,y,e){var a=e(81998);function t(){this.__data__=new a,this.size=0}b.exports=t},48603:function(b){function y(e){var a=this.__data__,t=a.delete(e);return this.size=a.size,t}b.exports=y},38947:function(b){function y(e){return this.__data__.get(e)}b.exports=y},70885:function(b){function y(e){return this.__data__.has(e)}b.exports=y},98938:function(b,y,e){var a=e(81998),t=e(72887),o=e(95678),s=200;function n(d,l){var c=this.__data__;if(c instanceof a){var m=c.__data__;if(!t||m.length=m||C<0||N&&X>=S}function W(){var Q=t();if(G(Q))return ne(Q);x=setTimeout(W,j(Q))}function ne(Q){return x=void 0,Z&&M?D(Q):(M=h=void 0,w)}function _(){x!==void 0&&clearTimeout(x),U=0,M=z=h=x=void 0}function ee(){return x===void 0?w:ne(t())}function se(){var Q=t(),C=G(Q);if(M=arguments,h=this,z=Q,C){if(x===void 0)return L(z);if(N)return clearTimeout(x),x=setTimeout(W,m),D(z)}return x===void 0&&(x=setTimeout(W,m)),w}return se.cancel=_,se.flush=ee,se}b.exports=l},58260:function(b){function y(e,a){return e===a||e!==e&&a!==a}b.exports=y},79312:function(b,y,e){var a=e(33016),t=e(50440),o=Object.prototype,s=o.hasOwnProperty,n=o.propertyIsEnumerable,d=a(function(){return arguments}())?a:function(l){return t(l)&&s.call(l,"callee")&&!n.call(l,"callee")};b.exports=d},55589:function(b){var y=Array.isArray;b.exports=y},30568:function(b,y,e){var a=e(45563),t=e(66052);function o(s){return s!=null&&t(s.length)&&!a(s)}b.exports=o},85778:function(b,y,e){b=e.nmd(b);var a=e(83250),t=e(37999),o=y&&!y.nodeType&&y,s=o&&!0&&b&&!b.nodeType&&b,n=s&&s.exports===o,d=n?a.Buffer:void 0,l=d?d.isBuffer:void 0,c=l||t;b.exports=c},85466:function(b,y,e){var a=e(34662);function t(o,s){return a(o,s)}b.exports=t},45563:function(b,y,e){var a=e(69823),t=e(93702),o="[object AsyncFunction]",s="[object Function]",n="[object GeneratorFunction]",d="[object Proxy]";function l(c){if(!t(c))return!1;var m=a(c);return m==s||m==n||m==o||m==d}b.exports=l},66052:function(b){var y=9007199254740991;function e(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=y}b.exports=e},93702:function(b){function y(e){var a=typeof e;return e!=null&&(a=="object"||a=="function")}b.exports=y},50440:function(b){function y(e){return e!=null&&typeof e=="object"}b.exports=y},52624:function(b,y,e){var a=e(69823),t=e(50440),o="[object Symbol]";function s(n){return typeof n=="symbol"||t(n)&&a(n)==o}b.exports=s},50922:function(b,y,e){var a=e(42448),t=e(31525),o=e(8690),s=o&&o.isTypedArray,n=s?t(s):a;b.exports=n},62096:function(b,y,e){var a=e(75825),t=e(41351),o=e(30568);function s(n){return o(n)?a(n):t(n)}b.exports=s},39378:function(b,y,e){b=e.nmd(b);var a;(function(){var t,o="4.17.21",s=200,n="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",d="Expected a function",l="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",m=500,g="__lodash_placeholder__",M=1,h=2,S=4,w=1,x=2,z=1,U=2,T=4,N=8,Z=16,D=32,L=64,j=128,G=256,W=512,ne=30,_="...",ee=800,se=16,Q=1,C=2,X=3,O=1/0,H=9007199254740991,k=17976931348623157e292,A=0/0,Y=4294967295,de=Y-1,me=Y>>>1,ve=[["ary",j],["bind",z],["bindKey",U],["curry",N],["curryRight",Z],["flip",W],["partial",D],["partialRight",L],["rearg",G]],be="[object Arguments]",Pe="[object Array]",Je="[object AsyncFunction]",qe="[object Boolean]",Xe="[object Date]",mt="[object DOMException]",Ct="[object Error]",vt="[object Function]",Ht="[object GeneratorFunction]",ke="[object Map]",Ve="[object Number]",ot="[object Null]",Ke="[object Object]",he="[object Promise]",J="[object Proxy]",V="[object RegExp]",R="[object Set]",P="[object String]",B="[object Symbol]",ge="[object Undefined]",ie="[object WeakMap]",pe="[object WeakSet]",Oe="[object ArrayBuffer]",xe="[object DataView]",Se="[object Float32Array]",$e="[object Float64Array]",re="[object Int8Array]",oe="[object Int16Array]",q="[object Int32Array]",ue="[object Uint8Array]",Ee="[object Uint8ClampedArray]",le="[object Uint16Array]",Ne="[object Uint32Array]",Ae=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,Re=/(__e\(.*?\)|\b__t\)) \+\n'';/g,st=/&(?:amp|lt|gt|quot|#39);/g,nt=/[&<>"']/g,_e=RegExp(st.source),We=RegExp(nt.source),Be=/<%-([\s\S]+?)%>/g,it=/<%([\s\S]+?)%>/g,Ge=/<%=([\s\S]+?)%>/g,Ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$t=/^\w*$/,wt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pt=/[\\^$.*+?()[\]{}|]/g,dt=RegExp(Pt.source),je=/^\s+/,tt=/\s/,lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,bt=/\{\n\/\* \[wrapped with (.+)\] \*/,It=/,? & /,Kt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,zt=/[()=,{}\[\]\/\s]/,Mt=/\\(\\)?/g,Le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ce=/\w*$/,Et=/^[-+]0x[0-9a-f]+$/i,Tt=/^0b[01]+$/i,Ye=/^\[object .+?Constructor\]$/,et=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,Ut=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,qt=/($^)/,un=/['\n\r\u2028\u2029\\]/g,Mn="\\ud800-\\udfff",vn="\\u0300-\\u036f",Xn="\\ufe20-\\ufe2f",Vn="\\u20d0-\\u20ff",or=vn+Xn+Vn,er="\\u2700-\\u27bf",Wt="a-z\\xdf-\\xf6\\xf8-\\xff",en="\\xac\\xb1\\xd7\\xf7",nn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fn="\\u2000-\\u206f",En=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",on="A-Z\\xc0-\\xd6\\xd8-\\xde",pt="\\ufe0e\\ufe0f",gt=en+nn+fn+En,Xt="['\u2019]",rn="["+Mn+"]",Jt="["+gt+"]",pn="["+or+"]",mn="\\d+",Zn="["+er+"]",tr="["+Wt+"]",ut="[^"+Mn+gt+mn+er+Wt+on+"]",ct="\\ud83c[\\udffb-\\udfff]",Dt="(?:"+pn+"|"+ct+")",xt="[^"+Mn+"]",kt="(?:\\ud83c[\\udde6-\\uddff]){2}",sn="[\\ud800-\\udbff][\\udc00-\\udfff]",tn="["+on+"]",xn="\\u200d",Nn="(?:"+tr+"|"+ut+")",gr="(?:"+tn+"|"+ut+")",nr="(?:"+Xt+"(?:d|ll|m|re|s|t|ve))?",Rn="(?:"+Xt+"(?:D|LL|M|RE|S|T|VE))?",kr=Dt+"?",fr="["+pt+"]?",ua="(?:"+xn+"(?:"+[xt,kt,sn].join("|")+")"+fr+kr+")*",Pr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Bn="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Cn=fr+kr+ua,wn="(?:"+[Zn,kt,sn].join("|")+")"+Cn,ar="(?:"+[xt+pn+"?",pn,kt,sn,rn].join("|")+")",mr=RegExp(Xt,"g"),Qr=RegExp(pn,"g"),qr=RegExp(ct+"(?="+ct+")|"+ar+Cn,"g"),ya=RegExp([tn+"?"+tr+"+"+nr+"(?="+[Jt,tn,"$"].join("|")+")",gr+"+"+Rn+"(?="+[Jt,tn+Nn,"$"].join("|")+")",tn+"?"+Nn+"+"+nr,tn+"+"+Rn,Bn,Pr,mn,wn].join("|"),"g"),dr=RegExp("["+xn+Mn+or+pt+"]"),Br=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ea=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ca=-1,Kn={};Kn[Se]=Kn[$e]=Kn[re]=Kn[oe]=Kn[q]=Kn[ue]=Kn[Ee]=Kn[le]=Kn[Ne]=!0,Kn[be]=Kn[Pe]=Kn[Oe]=Kn[qe]=Kn[xe]=Kn[Xe]=Kn[Ct]=Kn[vt]=Kn[ke]=Kn[Ve]=Kn[Ke]=Kn[V]=Kn[R]=Kn[P]=Kn[ie]=!1;var zn={};zn[be]=zn[Pe]=zn[Oe]=zn[xe]=zn[qe]=zn[Xe]=zn[Se]=zn[$e]=zn[re]=zn[oe]=zn[q]=zn[ke]=zn[Ve]=zn[Ke]=zn[V]=zn[R]=zn[P]=zn[B]=zn[ue]=zn[Ee]=zn[le]=zn[Ne]=!0,zn[Ct]=zn[vt]=zn[ie]=!1;var vr={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},ra={"&":"&","<":"<",">":">",'"':""","'":"'"},xr={"&":"&","<":"<",">":">",""":'"',"'":"'"},jt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},an=parseFloat,hn=parseInt,ao=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Mo=typeof self=="object"&&self&&self.Object===Object&&self,Ua=ao||Mo||Function("return this")(),Ha=y&&!y.nodeType&&y,eo=Ha&&!0&&b&&!b.nodeType&&b,jo=eo&&eo.exports===Ha,Wo=jo&&ao.process,Eo=function(){try{var kn=eo&&eo.require&&eo.require("util").types;return kn||Wo&&Wo.binding&&Wo.binding("util")}catch(_r){}}(),ft=Eo&&Eo.isArrayBuffer,Nt=Eo&&Eo.isDate,Ie=Eo&&Eo.isMap,cn=Eo&&Eo.isRegExp,dn=Eo&&Eo.isSet,_n=Eo&&Eo.isTypedArray;function Tn(kn,_r,Dr){switch(Dr.length){case 0:return kn.call(_r);case 1:return kn.call(_r,Dr[0]);case 2:return kn.call(_r,Dr[0],Dr[1]);case 3:return kn.call(_r,Dr[0],Dr[1],Dr[2])}return kn.apply(_r,Dr)}function yr(kn,_r,Dr,Zr){for(var sa=-1,ja=kn==null?0:kn.length;++sa-1}function Ir(kn,_r,Dr){for(var Zr=-1,sa=kn==null?0:kn.length;++Zr-1;);return Dr}function Yo(kn,_r){for(var Dr=kn.length;Dr--&&Hr(_r,kn[Dr],0)>-1;);return Dr}function ni(kn,_r){for(var Dr=kn.length,Zr=0;Dr--;)kn[Dr]===_r&&++Zr;return Zr}var co=Sr(vr),Mi=Sr(ra);function ai(kn){return"\\"+jt[kn]}function Po(kn,_r){return kn==null?t:kn[_r]}function li(kn){return dr.test(kn)}function Pi(kn){return Br.test(kn)}function hi(kn){for(var _r,Dr=[];!(_r=kn.next()).done;)Dr.push(_r.value);return Dr}function yi(kn){var _r=-1,Dr=Array(kn.size);return kn.forEach(function(Zr,sa){Dr[++_r]=[sa,Zr]}),Dr}function Zi(kn,_r){return function(Dr){return kn(_r(Dr))}}function ji(kn,_r){for(var Dr=-1,Zr=kn.length,sa=0,ja=[];++Dr-1}function wu(p,E){var ae=this.__data__,Fe=Hi(ae,p);return Fe<0?(++this.size,ae.push([p,E])):ae[Fe][1]=E,this}ho.prototype.clear=nl,ho.prototype.delete=yu,ho.prototype.get=Ni,ho.prototype.has=lu,ho.prototype.set=wu;function rl(p){var E=-1,ae=p==null?0:p.length;for(this.clear();++E=E?p:E)),p}function Es(p,E,ae,Fe,ht,Qt){var bn,Fn=E&M,ur=E&h,Ma=E&S;if(ae&&(bn=ht?ae(p,Fe,ht,Qt):ae(p)),bn!==t)return bn;if(!Bs(p))return p;var Sa=mi(p);if(Sa){if(bn=Qi(p),!Fn)return Yn(p,bn)}else{var Ta=mo(p),ro=Ta==vt||Ta==Ht;if(cd(p))return Pn(p,Fn);if(Ta==Ke||Ta==be||ro&&!ht){if(bn=ur||ro?{}:Ai(p),!Fn)return ur?ia(p,ql(bn,p)):Nr(p,uu(bn,p))}else{if(!zn[Ta])return ht?p:{};bn=$i(p,Ta,Fn)}}Qt||(Qt=new Vt);var Co=Qt.get(p);if(Co)return Co;Qt.set(p,bn),wf(p)?p.forEach(function(Jo){bn.add(Es(Jo,E,ae,Jo,p,Qt))}):Of(p)&&p.forEach(function(Jo,wi){bn.set(wi,Es(Jo,E,ae,wi,p,Qt))});var Xo=Ma?ur?Pa:ba:ur?Uu:Vl,bi=Sa?t:Xo(p);return Wr(bi||p,function(Jo,wi){bi&&(wi=Jo,Jo=p[wi]),To(bn,wi,Es(Jo,E,ae,wi,p,Qt))}),bn}function Lc(p){var E=Vl(p);return function(ae){return rc(ae,p,E)}}function rc(p,E,ae){var Fe=ae.length;if(p==null)return!Fe;for(p=Na(p);Fe--;){var ht=ae[Fe],Qt=E[ht],bn=p[ht];if(bn===t&&!(ht in p)||!Qt(bn))return!1}return!0}function Hs(p,E,ae){if(typeof p!="function")throw new Go(d);return Cu(function(){p.apply(t,ae)},E)}function jl(p,E,ae,Fe){var ht=-1,Qt=oa,bn=!0,Fn=p.length,ur=[],Ma=E.length;if(!Fn)return ur;ae&&(E=$r(E,io(ae))),Fe?(Qt=Ir,bn=!1):E.length>=s&&(Qt=_a,bn=!1,E=new Ws(E));e:for(;++htht?0:ht+ae),Fe=Fe===t||Fe>ht?ht:pi(Fe),Fe<0&&(Fe+=ht),Fe=ae>Fe?0:Pf(Fe);ae0&&ae(Fn)?E>1?ts(Fn,E-1,ae,Fe,ht):pa(ht,Fn):Fe||(ht[ht.length]=Fn)}return ht}var Lu=aa(),ws=aa(!0);function Vi(p,E){return p&&Lu(p,E,Vl)}function Ns(p,E){return p&&ws(p,E,Vl)}function pl(p,E){return ea(E,function(ae){return Vc(p[ae])})}function ei(p,E){E=ye(E,p);for(var ae=0,Fe=E.length;p!=null&&aeE}function _s(p,E){return p!=null&&qo.call(p,E)}function hl(p,E){return p!=null&&E in Na(p)}function Ys(p,E,ae){return p>=Si(E,ae)&&p=120&&Sa.length>=120)?new Ws(bn&&Sa):t}Sa=p[0];var Ta=-1,ro=Fn[0];e:for(;++Ta-1;)Fn!==p&&ks.call(Fn,ur,1),ks.call(p,ur,1);return p}function _u(p,E){for(var ae=p?E.length:0,Fe=ae-1;ae--;){var ht=E[ae];if(ae==Fe||ht!==Qt){var Qt=ht;Oa(ht)?ks.call(p,ht,1):Ic(p,ht)}}return p}function Yu(p,E){return p+fa(qa()*(E-p+1))}function Fu(p,E,ae,Fe){for(var ht=-1,Qt=wo(Ol((E-p)/(ae||1)),0),bn=Dr(Qt);Qt--;)bn[Fe?Qt:++ht]=p,p+=ae;return bn}function _i(p,E){var ae="";if(!p||E<1||E>H)return ae;do E%2&&(ae+=p),E=fa(E/2),E&&(p+=p);while(E);return ae}function So(p,E){return Hl(ds(p,E,ku),p+"")}function gs(p){return os(Nd(p))}function vc(p,E){var ae=Nd(p);return Fc(ae,eu(E,0,ae.length))}function du(p,E,ae,Fe){if(!Bs(p))return p;E=ye(E,p);for(var ht=-1,Qt=E.length,bn=Qt-1,Fn=p;Fn!=null&&++htht?0:ht+E),ae=ae>ht?ht:ae,ae<0&&(ae+=ht),ht=E>ae?0:ae-E>>>0,E>>>=0;for(var Qt=Dr(ht);++Fe>>1,bn=p[Qt];bn!==null&&!ec(bn)&&(ae?bn<=E:bn=s){var Ma=E?null:St(p);if(Ma)return oo(Ma);bn=!1,ht=_a,ur=new Ws}else ur=E?[]:Fn;e:for(;++Fe=Fe?p:il(p,E,ae)}var yt=Do||function(p){return Ua.clearTimeout(p)};function Pn(p,E){if(E)return p.slice();var ae=p.length,Fe=gu?gu(ae):new p.constructor(ae);return p.copy(Fe),Fe}function Sn(p){var E=new p.constructor(p.byteLength);return new fl(E).set(new fl(p)),E}function In(p,E){var ae=E?Sn(p.buffer):p.buffer;return new p.constructor(ae,p.byteOffset,p.byteLength)}function Un(p){var E=new p.constructor(p.source,Ce.exec(p));return E.lastIndex=p.lastIndex,E}function ir(p){return tl?Na(tl.call(p)):{}}function Mr(p,E){var ae=E?Sn(p.buffer):p.buffer;return new p.constructor(ae,p.byteOffset,p.length)}function pr(p,E){if(p!==E){var ae=p!==t,Fe=p===null,ht=p===p,Qt=ec(p),bn=E!==t,Fn=E===null,ur=E===E,Ma=ec(E);if(!Fn&&!Ma&&!Qt&&p>E||Qt&&bn&&ur&&!Fn&&!Ma||Fe&&bn&&ur||!ae&&ur||!ht)return 1;if(!Fe&&!Qt&&!Ma&&p=Fn)return ur;var Ma=ae[Fe];return ur*(Ma=="desc"?-1:1)}}return p.index-E.index}function da(p,E,ae,Fe){for(var ht=-1,Qt=p.length,bn=ae.length,Fn=-1,ur=E.length,Ma=wo(Qt-bn,0),Sa=Dr(ur+Ma),Ta=!Fe;++Fn1?ae[ht-1]:t,bn=ht>2?ae[2]:t;for(Qt=p.length>3&&typeof Qt=="function"?(ht--,Qt):t,bn&&ko(ae[0],ae[1],bn)&&(Qt=ht<3?t:Qt,ht=1),E=Na(E);++Fe-1?ht[Qt?E[bn]:bn]:t}}function Ur(p){return Or(function(E){var ae=E.length,Fe=ae,ht=Wi.prototype.thru;for(p&&E.reverse();Fe--;){var Qt=E[Fe];if(typeof Qt!="function")throw new Go(d);if(ht&&!bn&&to(Qt)=="wrapper")var bn=new Wi([],!0)}for(Fe=bn?Fe:ae;++Fe1&&Li.reverse(),Sa&&urFn))return!1;var Ma=Qt.get(p),Sa=Qt.get(E);if(Ma&&Sa)return Ma==E&&Sa==p;var Ta=-1,ro=!0,Co=ae&x?new Ws:t;for(Qt.set(p,E),Qt.set(E,p);++Ta1?"& ":"")+E[Fe],E=E.join(ae>2?", ":" "),p.replace(lt,`{ +/* [wrapped with `+E+`] */ +`)}function Ri(p){return mi(p)||hd(p)||!!(mu&&p&&p[mu])}function Oa(p,E){var ae=typeof p;return E=E==null?H:E,!!E&&(ae=="number"||ae!="symbol"&&_t.test(p))&&p>-1&&p%1==0&&p0){if(++E>=ee)return arguments[0]}else E=0;return p.apply(t,arguments)}}function Fc(p,E){var ae=-1,Fe=p.length,ht=Fe-1;for(E=E===t?Fe:E;++ae1?p[E-1]:t;return ae=typeof ae=="function"?(p.pop(),ae):t,Ji(p,ae)});function Id(p){var E=Zt(p);return E.__chain__=!0,E}function af(p,E){return E(p),p}function qu(p,E){return E(p)}var Ad=Or(function(p){var E=p.length,ae=E?p[0]:0,Fe=this.__wrapped__,ht=function(Qt){return Mu(Qt,p)};return E>1||this.__actions__.length||!(Fe instanceof Ko)||!Oa(ae)?this.thru(ht):(Fe=Fe.slice(ae,+ae+(E?1:0)),Fe.__actions__.push({func:qu,args:[ht],thisArg:t}),new Wi(Fe,this.__chain__).thru(function(Qt){return E&&!Qt.length&&Qt.push(t),Qt}))});function _c(){return Id(this)}function Od(){return new Wi(this.value(),this.__chain__)}function Bd(){this.__values__===t&&(this.__values__=jf(this.value()));var p=this.__index__>=this.__values__.length,E=p?t:this.__values__[this.__index__++];return{done:p,value:E}}function $d(){return this}function of(p){for(var E,ae=this;ae instanceof Jl;){var Fe=Bc(ae);Fe.__index__=0,Fe.__values__=t,E?ht.__wrapped__=Fe:E=Fe;var ht=Fe;ae=ae.__wrapped__}return ht.__wrapped__=p,E}function Zd(){var p=this.__wrapped__;if(p instanceof Ko){var E=p;return this.__actions__.length&&(E=new Ko(this)),E=E.reverse(),E.__actions__.push({func:qu,args:[od],thisArg:t}),new Wi(E,this.__chain__)}return this.thru(od)}function sf(){return Rc(this.__wrapped__,this.__actions__)}var Vd=Vr(function(p,E,ae){qo.call(p,ae)?++p[ae]:Ss(p,ae,1)});function Gd(p,E,ae){var Fe=mi(p)?la:Ec;return ae&&ko(p,E,ae)&&(E=t),Fe(p,Aa(E,3))}function Dd(p,E){var ae=mi(p)?ea:Su;return ae(p,Aa(E,3))}var wd=Cr(Zc),Kd=Cr(jc);function Ud(p,E){return ts(Yc(p,E),1)}function lf(p,E){return ts(Yc(p,E),O)}function Qd(p,E,ae){return ae=ae===t?1:pi(ae),ts(Yc(p,E),ae)}function jd(p,E){var ae=mi(p)?Wr:tu;return ae(p,Aa(E,3))}function md(p,E){var ae=mi(p)?Da:ju;return ae(p,Aa(E,3))}var kd=Vr(function(p,E,ae){qo.call(p,ae)?p[ae].push(E):Ss(p,ae,[E])});function Pd(p,E,ae,Fe){p=Zu(p)?p:Nd(p),ae=ae&&!Fe?pi(ae):0;var ht=p.length;return ae<0&&(ae=wo(ht+ae,0)),qd(p)?ae<=ht&&p.indexOf(E,ae)>-1:!!ht&&Hr(p,E,ae)>-1}var Xd=So(function(p,E,ae){var Fe=-1,ht=typeof E=="function",Qt=Zu(p)?Dr(p.length):[];return tu(p,function(bn){Qt[++Fe]=ht?Tn(E,bn,ae):Nu(bn,E,ae)}),Qt}),uf=Vr(function(p,E,ae){Ss(p,ae,E)});function Yc(p,E){var ae=mi(p)?$r:fo;return ae(p,Aa(E,3))}function cf(p,E,ae,Fe){return p==null?[]:(mi(E)||(E=E==null?[]:[E]),ae=Fe?t:ae,mi(ae)||(ae=ae==null?[]:[ae]),oc(p,E,ae))}var pd=Vr(function(p,E,ae){p[ae?0:1].push(E)},function(){return[[],[]]});function df(p,E,ae){var Fe=mi(p)?La:xa,ht=arguments.length<3;return Fe(p,Aa(E,4),ae,ht,tu)}function Td(p,E,ae){var Fe=mi(p)?lo:xa,ht=arguments.length<3;return Fe(p,Aa(E,4),ae,ht,ju)}function i(p,E){var ae=mi(p)?ea:Su;return ae(p,$a(Aa(E,3)))}function v(p){var E=mi(p)?os:gs;return E(p)}function I(p,E,ae){(ae?ko(p,E,ae):E===t)?E=1:E=pi(E);var Fe=mi(p)?ui:vc;return Fe(p,E)}function te(p){var E=mi(p)?fi:Rs;return E(p)}function De(p){if(p==null)return 0;if(Zu(p))return qd(p)?No(p):p.length;var E=mo(p);return E==ke||E==R?p.size:Rt(p).length}function He(p,E,ae){var Fe=mi(p)?Qa:xc;return ae&&ko(p,E,ae)&&(E=t),Fe(p,Aa(E,3))}var Bt=So(function(p,E){if(p==null)return[];var ae=E.length;return ae>1&&ko(p,E[0],E[1])?E=[]:ae>2&&ko(E[0],E[1],E[2])&&(E=[E[0]]),oc(p,ts(E,1),[])}),gn=Ls||function(){return Ua.Date.now()};function $n(p,E){if(typeof E!="function")throw new Go(d);return p=pi(p),function(){if(--p<1)return E.apply(this,arguments)}}function wr(p,E,ae){return E=ae?t:E,E=p&&E==null?p.length:E,Yt(p,j,t,t,t,t,E)}function Ia(p,E){var ae;if(typeof E!="function")throw new Go(d);return p=pi(p),function(){return--p>0&&(ae=E.apply(this,arguments)),p<=1&&(E=t),ae}}var Ka=So(function(p,E,ae){var Fe=z;if(ae.length){var ht=ji(ae,Ra(Ka));Fe|=D}return Yt(p,Fe,E,ae,ht)}),ma=So(function(p,E,ae){var Fe=z|U;if(ae.length){var ht=ji(ae,Ra(ma));Fe|=D}return Yt(E,Fe,p,ae,ht)});function so(p,E,ae){E=ae?t:E;var Fe=Yt(p,N,t,t,t,t,t,E);return Fe.placeholder=so.placeholder,Fe}function Ya(p,E,ae){E=ae?t:E;var Fe=Yt(p,Z,t,t,t,t,t,E);return Fe.placeholder=Ya.placeholder,Fe}function si(p,E,ae){var Fe,ht,Qt,bn,Fn,ur,Ma=0,Sa=!1,Ta=!1,ro=!0;if(typeof p!="function")throw new Go(d);E=cc(E)||0,Bs(ae)&&(Sa=!!ae.leading,Ta="maxWait"in ae,Qt=Ta?wo(cc(ae.maxWait)||0,E):Qt,ro="trailing"in ae?!!ae.trailing:ro);function Co(ul){var Mc=Fe,Kc=ht;return Fe=ht=t,Ma=ul,bn=p.apply(Kc,Mc),bn}function Xo(ul){return Ma=ul,Fn=Cu(wi,E),Sa?Co(ul):bn}function bi(ul){var Mc=ul-ur,Kc=ul-Ma,Wf=E-Mc;return Ta?Si(Wf,Qt-Kc):Wf}function Jo(ul){var Mc=ul-ur,Kc=ul-Ma;return ur===t||Mc>=E||Mc<0||Ta&&Kc>=Qt}function wi(){var ul=gn();if(Jo(ul))return Li(ul);Fn=Cu(wi,bi(ul))}function Li(ul){return Fn=t,ro&&Fe?Co(ul):(Fe=ht=t,bn)}function tc(){Fn!==t&&yt(Fn),Ma=0,Fe=ur=ht=Fn=t}function Iu(){return Fn===t?bn:Li(gn())}function nc(){var ul=gn(),Mc=Jo(ul);if(Fe=arguments,ht=this,ur=ul,Mc){if(Fn===t)return Xo(ur);if(Ta)return yt(Fn),Fn=Cu(wi,E),Co(ur)}return Fn===t&&(Fn=Cu(wi,E)),bn}return nc.cancel=tc,nc.flush=Iu,nc}var Fs=So(function(p,E){return Hs(p,1,E)}),hr=So(function(p,E,ae){return Hs(p,cc(E)||0,ae)});function Qn(p){return Yt(p,W)}function Ar(p,E){if(typeof p!="function"||E!=null&&typeof E!="function")throw new Go(d);var ae=function(){var Fe=arguments,ht=E?E.apply(this,Fe):Fe[0],Qt=ae.cache;if(Qt.has(ht))return Qt.get(ht);var bn=p.apply(this,Fe);return ae.cache=Qt.set(ht,bn)||Qt,bn};return ae.cache=new(Ar.Cache||rl),ae}Ar.Cache=rl;function $a(p){if(typeof p!="function")throw new Go(d);return function(){var E=arguments;switch(E.length){case 0:return!p.call(this);case 1:return!p.call(this,E[0]);case 2:return!p.call(this,E[0],E[1]);case 3:return!p.call(this,E[0],E[1],E[2])}return!p.apply(this,E)}}function yo(p){return Ia(2,p)}var Fo=Te(function(p,E){E=E.length==1&&mi(E[0])?$r(E[0],io(Aa())):$r(ts(E,1),io(Aa()));var ae=E.length;return So(function(Fe){for(var ht=-1,Qt=Si(Fe.length,ae);++ht=E}),hd=Wu(function(){return arguments}())?Wu:function(p){return Ks(p)&&qo.call(p,"callee")&&!Us.call(p,"callee")},mi=Dr.isArray,nv=ft?io(ft):yl;function Zu(p){return p!=null&&Jd(p.length)&&!Vc(p)}function ll(p){return Ks(p)&&Zu(p)}function rv(p){return p===!0||p===!1||Ks(p)&&cs(p)==qe}var cd=Bl||Cf,av=Nt?io(Nt):Eu;function ov(p){return Ks(p)&&p.nodeType===1&&!Wd(p)}function iv(p){if(p==null)return!0;if(Zu(p)&&(mi(p)||typeof p=="string"||typeof p.splice=="function"||cd(p)||Ld(p)||hd(p)))return!p.length;var E=mo(p);if(E==ke||E==R)return!p.size;if(Xi(p))return!Rt(p).length;for(var ae in p)if(qo.call(p,ae))return!1;return!0}function sv(p,E){return Ru(p,E)}function lv(p,E,ae){ae=typeof ae=="function"?ae:t;var Fe=ae?ae(p,E):t;return Fe===t?Ru(p,E,t,ae):!!Fe}function vf(p){if(!Ks(p))return!1;var E=cs(p);return E==Ct||E==mt||typeof p.message=="string"&&typeof p.name=="string"&&!Wd(p)}function uv(p){return typeof p=="number"&&qs(p)}function Vc(p){if(!Bs(p))return!1;var E=cs(p);return E==vt||E==Ht||E==Je||E==J}function Af(p){return typeof p=="number"&&p==pi(p)}function Jd(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=H}function Bs(p){var E=typeof p;return p!=null&&(E=="object"||E=="function")}function Ks(p){return p!=null&&typeof p=="object"}var Of=Ie?io(Ie):bl;function cv(p,E){return p===E||kl(p,E,Ba(E))}function dv(p,E,ae){return ae=typeof ae=="function"?ae:t,kl(p,E,Ba(E),ae)}function fv(p){return Df(p)&&p!=+p}function vv(p){if(Cl(p))throw new sa(n);return ii(p)}function gv(p){return p===null}function mv(p){return p==null}function Df(p){return typeof p=="number"||Ks(p)&&cs(p)==Ve}function Wd(p){if(!Ks(p)||cs(p)!=Ke)return!1;var E=vs(p);if(E===null)return!0;var ae=qo.call(E,"constructor")&&E.constructor;return typeof ae=="function"&&ae instanceof ae&&ss.call(ae)==vu}var gf=cn?io(cn):$;function pv(p){return Af(p)&&p>=-H&&p<=H}var wf=dn?io(dn):fe;function qd(p){return typeof p=="string"||!mi(p)&&Ks(p)&&cs(p)==P}function ec(p){return typeof p=="symbol"||Ks(p)&&cs(p)==B}var Ld=_n?io(_n):Ue;function hv(p){return p===t}function yv(p){return Ks(p)&&mo(p)==ie}function bv(p){return Ks(p)&&cs(p)==pe}var Mv=Me(Tr),Sv=Me(function(p,E){return p<=E});function jf(p){if(!p)return[];if(Zu(p))return qd(p)?zo(p):Yn(p);if(Kl&&p[Kl])return hi(p[Kl]());var E=mo(p),ae=E==ke?yi:E==R?oo:Nd;return ae(p)}function Gc(p){if(!p)return p===0?p:0;if(p=cc(p),p===O||p===-O){var E=p<0?-1:1;return E*k}return p===p?p:0}function pi(p){var E=Gc(p),ae=E%1;return E===E?ae?E-ae:E:0}function Pf(p){return p?eu(pi(p),0,Y):0}function cc(p){if(typeof p=="number")return p;if(ec(p))return A;if(Bs(p)){var E=typeof p.valueOf=="function"?p.valueOf():p;p=Bs(E)?E+"":E}if(typeof p!="string")return p===0?p:+p;p=xo(p);var ae=Tt.test(p);return ae||et.test(p)?hn(p.slice(2),ae?2:8):Et.test(p)?A:+p}function Tf(p){return lr(p,Uu(p))}function Ev(p){return p?eu(pi(p),-H,H):p===0?p:0}function qi(p){return p==null?"":sl(p)}var Cv=Lr(function(p,E){if(Xi(E)||Zu(E)){lr(E,Vl(E),p);return}for(var ae in E)qo.call(E,ae)&&To(p,ae,E[ae])}),Lf=Lr(function(p,E){lr(E,Uu(E),p)}),ef=Lr(function(p,E,ae,Fe){lr(E,Uu(E),p,Fe)}),xv=Lr(function(p,E,ae,Fe){lr(E,Vl(E),p,Fe)}),Iv=Or(Mu);function Av(p,E){var ae=Ii(p);return E==null?ae:uu(ae,E)}var Ov=So(function(p,E){p=Na(p);var ae=-1,Fe=E.length,ht=Fe>2?E[2]:t;for(ht&&ko(E[0],E[1],ht)&&(Fe=1);++ae1),Qt}),lr(p,Pa(p),ae),Fe&&(ae=Es(ae,M|h|S,Dn));for(var ht=E.length;ht--;)Ic(ae,E[ht]);return ae});function _v(p,E){return Rf(p,$a(Aa(E)))}var Yv=Or(function(p,E){return p==null?{}:Ki(p,E)});function Rf(p,E){if(p==null)return{};var ae=$r(Pa(p),function(Fe){return[Fe]});return E=Aa(E),zu(p,ae,function(Fe,ht){return E(Fe,ht[0])})}function Vv(p,E,ae){E=ye(E,p);var Fe=-1,ht=E.length;for(ht||(ht=1,p=t);++FeE){var Fe=p;p=E,E=Fe}if(ae||p%1||E%1){var ht=qa();return Si(p+ht*(E-p+an("1e-"+((ht+"").length-1))),E)}return Yu(p,E)}var a0=Fr(function(p,E,ae){return E=E.toLowerCase(),p+(ae?Bf(E):E)});function Bf(p){return hf(qi(p).toLowerCase())}function $f(p){return p=qi(p),p&&p.replace(Ut,co).replace(Qr,"")}function o0(p,E,ae){p=qi(p),E=sl(E);var Fe=p.length;ae=ae===t?Fe:eu(pi(ae),0,Fe);var ht=ae;return ae-=E.length,ae>=0&&p.slice(ae,ht)==E}function i0(p){return p=qi(p),p&&We.test(p)?p.replace(nt,Mi):p}function s0(p){return p=qi(p),p&&dt.test(p)?p.replace(Pt,"\\$&"):p}var l0=Fr(function(p,E,ae){return p+(ae?"-":"")+E.toLowerCase()}),u0=Fr(function(p,E,ae){return p+(ae?" ":"")+E.toLowerCase()}),c0=Jn("toLowerCase");function d0(p,E,ae){p=qi(p),E=pi(E);var Fe=E?No(p):0;if(!E||Fe>=E)return p;var ht=(E-Fe)/2;return K(fa(ht),ae)+p+K(Ol(ht),ae)}function f0(p,E,ae){p=qi(p),E=pi(E);var Fe=E?No(p):0;return E&&Fe>>0,ae?(p=qi(p),p&&(typeof E=="string"||E!=null&&!gf(E))&&(E=sl(E),!E&&li(p))?An(zo(p),0,ae):p.split(E,ae)):[]}var b0=Fr(function(p,E,ae){return p+(ae?" ":"")+hf(E)});function M0(p,E,ae){return p=qi(p),ae=ae==null?0:eu(pi(ae),0,p.length),E=sl(E),p.slice(ae,ae+E.length)==E}function S0(p,E,ae){var Fe=Zt.templateSettings;ae&&ko(p,E,ae)&&(E=t),p=qi(p),E=ef({},E,Fe,ln);var ht=ef({},E.imports,Fe.imports,ln),Qt=Vl(ht),bn=Ca(ht,Qt),Fn,ur,Ma=0,Sa=E.interpolate||qt,Ta="__p += '",ro=Bo((E.escape||qt).source+"|"+Sa.source+"|"+(Sa===Ge?Le:qt).source+"|"+(E.evaluate||qt).source+"|$","g"),Co="//# sourceURL="+(qo.call(E,"sourceURL")?(E.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ca+"]")+` +`;p.replace(ro,function(Jo,wi,Li,tc,Iu,nc){return Li||(Li=tc),Ta+=p.slice(Ma,nc).replace(un,ai),wi&&(Fn=!0,Ta+=`' + +__e(`+wi+`) + +'`),Iu&&(ur=!0,Ta+=`'; +`+Iu+`; +__p += '`),Li&&(Ta+=`' + +((__t = (`+Li+`)) == null ? '' : __t) + +'`),Ma=nc+Jo.length,Jo}),Ta+=`'; +`;var Xo=qo.call(E,"variable")&&E.variable;if(!Xo)Ta=`with (obj) { +`+Ta+` +} +`;else if(zt.test(Xo))throw new sa(l);Ta=(ur?Ta.replace(Ae,""):Ta).replace(we,"$1").replace(Re,"$1;"),Ta="function("+(Xo||"obj")+`) { +`+(Xo?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(Fn?", __e = _.escape":"")+(ur?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+Ta+`return __p +}`;var bi=Uf(function(){return ja(Qt,Co+"return "+Ta).apply(t,bn)});if(bi.source=Ta,vf(bi))throw bi;return bi}function E0(p){return qi(p).toLowerCase()}function C0(p){return qi(p).toUpperCase()}function x0(p,E,ae){if(p=qi(p),p&&(ae||E===t))return xo(p);if(!p||!(E=sl(E)))return p;var Fe=zo(p),ht=zo(E),Qt=Io(Fe,ht),bn=Yo(Fe,ht)+1;return An(Fe,Qt,bn).join("")}function I0(p,E,ae){if(p=qi(p),p&&(ae||E===t))return p.slice(0,xi(p)+1);if(!p||!(E=sl(E)))return p;var Fe=zo(p),ht=Yo(Fe,zo(E))+1;return An(Fe,0,ht).join("")}function A0(p,E,ae){if(p=qi(p),p&&(ae||E===t))return p.replace(je,"");if(!p||!(E=sl(E)))return p;var Fe=zo(p),ht=Io(Fe,zo(E));return An(Fe,ht).join("")}function O0(p,E){var ae=ne,Fe=_;if(Bs(E)){var ht="separator"in E?E.separator:ht;ae="length"in E?pi(E.length):ae,Fe="omission"in E?sl(E.omission):Fe}p=qi(p);var Qt=p.length;if(li(p)){var bn=zo(p);Qt=bn.length}if(ae>=Qt)return p;var Fn=ae-No(Fe);if(Fn<1)return Fe;var ur=bn?An(bn,0,Fn).join(""):p.slice(0,Fn);if(ht===t)return ur+Fe;if(bn&&(Fn+=ur.length-Fn),gf(ht)){if(p.slice(Fn).search(ht)){var Ma,Sa=ur;for(ht.global||(ht=Bo(ht.source,qi(Ce.exec(ht))+"g")),ht.lastIndex=0;Ma=ht.exec(Sa);)var Ta=Ma.index;ur=ur.slice(0,Ta===t?Fn:Ta)}}else if(p.indexOf(sl(ht),Fn)!=Fn){var ro=ur.lastIndexOf(ht);ro>-1&&(ur=ur.slice(0,ro))}return ur+Fe}function D0(p){return p=qi(p),p&&_e.test(p)?p.replace(st,Ui):p}var w0=Fr(function(p,E,ae){return p+(ae?" ":"")+E.toUpperCase()}),hf=Jn("toUpperCase");function Zf(p,E,ae){return p=qi(p),E=ae?t:E,E===t?Pi(p)?fs(p):jn(p):p.match(E)||[]}var Uf=So(function(p,E){try{return Tn(p,t,E)}catch(ae){return vf(ae)?ae:new sa(ae)}}),j0=Or(function(p,E){return Wr(E,function(ae){ae=xu(ae),Ss(p,ae,Ka(p[ae],p))}),p});function P0(p){var E=p==null?0:p.length,ae=Aa();return p=E?$r(p,function(Fe){if(typeof Fe[1]!="function")throw new Go(d);return[ae(Fe[0]),Fe[1]]}):[],So(function(Fe){for(var ht=-1;++htH)return[];var ae=Y,Fe=Si(p,Y);E=Aa(E),p-=Y;for(var ht=Oo(Fe,E);++ae0||E<0)?new Ko(ae):(p<0?ae=ae.takeRight(-p):p&&(ae=ae.drop(p)),E!==t&&(E=pi(E),ae=E<0?ae.dropRight(-E):ae.take(E-p)),ae)},Ko.prototype.takeRightWhile=function(p){return this.reverse().takeWhile(p).reverse()},Ko.prototype.toArray=function(){return this.take(Y)},Vi(Ko.prototype,function(p,E){var ae=/^(?:filter|find|map|reject)|While$/.test(E),Fe=/^(?:head|last)$/.test(E),ht=Zt[Fe?"take"+(E=="last"?"Right":""):E],Qt=Fe||/^find/.test(E);ht&&(Zt.prototype[E]=function(){var bn=this.__wrapped__,Fn=Fe?[1]:arguments,ur=bn instanceof Ko,Ma=Fn[0],Sa=ur||mi(bn),Ta=function(wi){var Li=ht.apply(Zt,pa([wi],Fn));return Fe&&ro?Li[0]:Li};Sa&&ae&&typeof Ma=="function"&&Ma.length!=1&&(ur=Sa=!1);var ro=this.__chain__,Co=!!this.__actions__.length,Xo=Qt&&!ro,bi=ur&&!Co;if(!Qt&&Sa){bn=bi?bn:new Ko(this);var Jo=p.apply(bn,Fn);return Jo.__actions__.push({func:qu,args:[Ta],thisArg:t}),new Wi(Jo,ro)}return Xo&&bi?p.apply(this,Fn):(Jo=this.thru(Ta),Xo?Fe?Jo.value()[0]:Jo.value():Jo)})}),Wr(["pop","push","shift","sort","splice","unshift"],function(p){var E=Bi[p],ae=/^(?:push|sort|unshift)$/.test(p)?"tap":"thru",Fe=/^(?:pop|shift)$/.test(p);Zt.prototype[p]=function(){var ht=arguments;if(Fe&&!this.__chain__){var Qt=this.value();return E.apply(mi(Qt)?Qt:[],ht)}return this[ae](function(bn){return E.apply(mi(bn)?bn:[],ht)})}}),Vi(Ko.prototype,function(p,E){var ae=Zt[E];if(ae){var Fe=ae.name+"";qo.call(Ul,Fe)||(Ul[Fe]=[]),Ul[Fe].push({name:E,func:ae})}}),Ul[Yr(t,U).name]=[{name:"wrapper",func:t}],Ko.prototype.clone=po,Ko.prototype.reverse=pu,Ko.prototype.value=hu,Zt.prototype.at=Ad,Zt.prototype.chain=_c,Zt.prototype.commit=Od,Zt.prototype.next=Bd,Zt.prototype.plant=of,Zt.prototype.reverse=Zd,Zt.prototype.toJSON=Zt.prototype.valueOf=Zt.prototype.value=sf,Zt.prototype.first=Zt.prototype.head,Kl&&(Zt.prototype[Kl]=$d),Zt},zl=Xs();Ua._=zl,a=function(){return zl}.call(y,e,y,b),a!==t&&(b.exports=a)}).call(this)},80231:function(b,y,e){var a=e(83250),t=function(){return a.Date.now()};b.exports=t},84506:function(b){function y(){return[]}b.exports=y},37999:function(b){function y(){return!1}b.exports=y},14633:function(b,y,e){var a=e(77837),t=e(93702),o="Expected a function";function s(n,d,l){var c=!0,m=!0;if(typeof n!="function")throw new TypeError(o);return t(l)&&(c="leading"in l?!!l.leading:c,m="trailing"in l?!!l.trailing:m),a(n,d,{leading:c,maxWait:d,trailing:m})}b.exports=s},29153:function(b,y,e){var a=e(21656),t=e(93702),o=e(52624),s=0/0,n=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;function m(g){if(typeof g=="number")return g;if(o(g))return s;if(t(g)){var M=typeof g.valueOf=="function"?g.valueOf():g;g=t(M)?M+"":M}if(typeof g!="string")return g===0?g:+g;g=a(g);var h=d.test(g);return h||l.test(g)?c(g.slice(2),h?2:8):n.test(g)?s:+g}b.exports=m},85417:function(b,y,e){(function(a,t){t(e(6901))})(this,function(a){"use strict";var t=a.defineLocale("zh-cn",{months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(o,s){return o===12&&(o=0),s==="\u51CC\u6668"||s==="\u65E9\u4E0A"||s==="\u4E0A\u5348"?o:s==="\u4E0B\u5348"||s==="\u665A\u4E0A"?o+12:o>=11?o:o+12},meridiem:function(o,s,n){var d=o*100+s;return d<600?"\u51CC\u6668":d<900?"\u65E9\u4E0A":d<1130?"\u4E0A\u5348":d<1230?"\u4E2D\u5348":d<1800?"\u4E0B\u5348":"\u665A\u4E0A"},calendar:{sameDay:"[\u4ECA\u5929]LT",nextDay:"[\u660E\u5929]LT",nextWeek:function(o){return o.week()!==this.week()?"[\u4E0B]dddLT":"[\u672C]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(o){return this.week()!==o.week()?"[\u4E0A]dddLT":"[\u672C]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(o,s){switch(s){case"d":case"D":case"DDD":return o+"\u65E5";case"M":return o+"\u6708";case"w":case"W":return o+"\u5468";default:return o}},relativeTime:{future:"%s\u540E",past:"%s\u524D",s:"\u51E0\u79D2",ss:"%d \u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},week:{dow:1,doy:4}});return t})},6901:function(b,y,e){b=e.nmd(b);(function(a,t){b.exports=t()})(this,function(){"use strict";var a;function t(){return a.apply(null,arguments)}function o($){a=$}function s($){return $ instanceof Array||Object.prototype.toString.call($)==="[object Array]"}function n($){return $!=null&&Object.prototype.toString.call($)==="[object Object]"}function d($,fe){return Object.prototype.hasOwnProperty.call($,fe)}function l($){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames($).length===0;var fe;for(fe in $)if(d($,fe))return!1;return!0}function c($){return $===void 0}function m($){return typeof $=="number"||Object.prototype.toString.call($)==="[object Number]"}function g($){return $ instanceof Date||Object.prototype.toString.call($)==="[object Date]"}function M($,fe){var Ue=[],at,Rt=$.length;for(at=0;at>>0,at;for(at=0;at0)for(Ue=0;Ue=0;return(On?Ue?"+":"":"-")+Math.pow(10,Math.max(0,Rt)).toString().substr(1)+at}var A=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Y=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,de={},me={};function ve($,fe,Ue,at){var Rt=at;typeof at=="string"&&(Rt=function(){return this[at]()}),$&&(me[$]=Rt),fe&&(me[fe[0]]=function(){return k(Rt.apply(this,arguments),fe[1],fe[2])}),Ue&&(me[Ue]=function(){return this.localeData().ordinal(Rt.apply(this,arguments),$)})}function be($){return $.match(/\[[\s\S]/)?$.replace(/^\[|\]$/g,""):$.replace(/\\/g,"")}function Pe($){var fe=$.match(A),Ue,at;for(Ue=0,at=fe.length;Ue=0&&Y.test($);)$=$.replace(Y,at),Y.lastIndex=0,Ue-=1;return $}var Xe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function mt($){var fe=this._longDateFormat[$],Ue=this._longDateFormat[$.toUpperCase()];return fe||!Ue?fe:(this._longDateFormat[$]=Ue.match(A).map(function(at){return at==="MMMM"||at==="MM"||at==="DD"||at==="dddd"?at.slice(1):at}).join(""),this._longDateFormat[$])}var Ct="Invalid date";function vt(){return this._invalidDate}var Ht="%d",ke=/\d{1,2}/;function Ve($){return this._ordinal.replace("%d",$)}var ot={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Ke($,fe,Ue,at){var Rt=this._relativeTime[Ue];return ee(Rt)?Rt($,fe,Ue,at):Rt.replace(/%d/i,$)}function he($,fe){var Ue=this._relativeTime[$>0?"future":"past"];return ee(Ue)?Ue(fe):Ue.replace(/%s/i,fe)}var J={};function V($,fe){var Ue=$.toLowerCase();J[Ue]=J[Ue+"s"]=J[fe]=$}function R($){return typeof $=="string"?J[$]||J[$.toLowerCase()]:void 0}function P($){var fe={},Ue,at;for(at in $)d($,at)&&(Ue=R(at),Ue&&(fe[Ue]=$[at]));return fe}var B={};function ge($,fe){B[$]=fe}function ie($){var fe=[],Ue;for(Ue in $)d($,Ue)&&fe.push({unit:Ue,priority:B[Ue]});return fe.sort(function(at,Rt){return at.priority-Rt.priority}),fe}function pe($){return $%4===0&&$%100!==0||$%400===0}function Oe($){return $<0?Math.ceil($)||0:Math.floor($)}function xe($){var fe=+$,Ue=0;return fe!==0&&isFinite(fe)&&(Ue=Oe(fe)),Ue}function Se($,fe){return function(Ue){return Ue!=null?(re(this,$,Ue),t.updateOffset(this,fe),this):$e(this,$)}}function $e($,fe){return $.isValid()?$._d["get"+($._isUTC?"UTC":"")+fe]():NaN}function re($,fe,Ue){$.isValid()&&!isNaN(Ue)&&(fe==="FullYear"&&pe($.year())&&$.month()===1&&$.date()===29?(Ue=xe(Ue),$._d["set"+($._isUTC?"UTC":"")+fe](Ue,$.month(),Mn(Ue,$.month()))):$._d["set"+($._isUTC?"UTC":"")+fe](Ue))}function oe($){return $=R($),ee(this[$])?this[$]():this}function q($,fe){if(typeof $=="object"){$=P($);var Ue=ie($),at,Rt=Ue.length;for(at=0;at68?1900:2e3)};var pn=Se("FullYear",!0);function mn(){return pe(this.year())}function Zn($,fe,Ue,at,Rt,On,Tr){var fo;return $<100&&$>=0?(fo=new Date($+400,fe,Ue,at,Rt,On,Tr),isFinite(fo.getFullYear())&&fo.setFullYear($)):fo=new Date($,fe,Ue,at,Rt,On,Tr),fo}function tr($){var fe,Ue;return $<100&&$>=0?(Ue=Array.prototype.slice.call(arguments),Ue[0]=$+400,fe=new Date(Date.UTC.apply(null,Ue)),isFinite(fe.getUTCFullYear())&&fe.setUTCFullYear($)):fe=new Date(Date.UTC.apply(null,arguments)),fe}function ut($,fe,Ue){var at=7+fe-Ue,Rt=(7+tr($,0,at).getUTCDay()-fe)%7;return-Rt+at-1}function ct($,fe,Ue,at,Rt){var On=(7+Ue-at)%7,Tr=ut($,at,Rt),fo=1+7*(fe-1)+On+Tr,Ro,gi;return fo<=0?(Ro=$-1,gi=Jt(Ro)+fo):fo>Jt($)?(Ro=$+1,gi=fo-Jt($)):(Ro=$,gi=fo),{year:Ro,dayOfYear:gi}}function Dt($,fe,Ue){var at=ut($.year(),fe,Ue),Rt=Math.floor(($.dayOfYear()-at-1)/7)+1,On,Tr;return Rt<1?(Tr=$.year()-1,On=Rt+xt(Tr,fe,Ue)):Rt>xt($.year(),fe,Ue)?(On=Rt-xt($.year(),fe,Ue),Tr=$.year()+1):(Tr=$.year(),On=Rt),{week:On,year:Tr}}function xt($,fe,Ue){var at=ut($,fe,Ue),Rt=ut($+1,fe,Ue);return(Jt($)-at+Rt)/7}ve("w",["ww",2],"wo","week"),ve("W",["WW",2],"Wo","isoWeek"),V("week","w"),V("isoWeek","W"),ge("week",5),ge("isoWeek",5),dt("w",we),dt("ww",we,Ee),dt("W",we),dt("WW",we,Ee),Kt(["w","ww","W","WW"],function($,fe,Ue,at){fe[at.substr(0,1)]=xe($)});function kt($){return Dt($,this._week.dow,this._week.doy).week}var sn={dow:0,doy:6};function tn(){return this._week.dow}function xn(){return this._week.doy}function Nn($){var fe=this.localeData().week(this);return $==null?fe:this.add(($-fe)*7,"d")}function gr($){var fe=Dt(this,1,4).week;return $==null?fe:this.add(($-fe)*7,"d")}ve("d",0,"do","day"),ve("dd",0,0,function($){return this.localeData().weekdaysMin(this,$)}),ve("ddd",0,0,function($){return this.localeData().weekdaysShort(this,$)}),ve("dddd",0,0,function($){return this.localeData().weekdays(this,$)}),ve("e",0,0,"weekday"),ve("E",0,0,"isoWeekday"),V("day","d"),V("weekday","e"),V("isoWeekday","E"),ge("day",11),ge("weekday",11),ge("isoWeekday",11),dt("d",we),dt("e",we),dt("E",we),dt("dd",function($,fe){return fe.weekdaysMinRegex($)}),dt("ddd",function($,fe){return fe.weekdaysShortRegex($)}),dt("dddd",function($,fe){return fe.weekdaysRegex($)}),Kt(["dd","ddd","dddd"],function($,fe,Ue,at){var Rt=Ue._locale.weekdaysParse($,at,Ue._strict);Rt!=null?fe.d=Rt:x(Ue).invalidWeekday=$}),Kt(["d","e","E"],function($,fe,Ue,at){fe[at]=xe($)});function nr($,fe){return typeof $!="string"?$:isNaN($)?($=fe.weekdaysParse($),typeof $=="number"?$:null):parseInt($,10)}function Rn($,fe){return typeof $=="string"?fe.weekdaysParse($)%7||7:isNaN($)?null:$}function kr($,fe){return $.slice(fe,7).concat($.slice(0,fe))}var fr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ua="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Pr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bn=wt,Cn=wt,wn=wt;function ar($,fe){var Ue=s(this._weekdays)?this._weekdays:this._weekdays[$&&$!==!0&&this._weekdays.isFormat.test(fe)?"format":"standalone"];return $===!0?kr(Ue,this._week.dow):$?Ue[$.day()]:Ue}function mr($){return $===!0?kr(this._weekdaysShort,this._week.dow):$?this._weekdaysShort[$.day()]:this._weekdaysShort}function Qr($){return $===!0?kr(this._weekdaysMin,this._week.dow):$?this._weekdaysMin[$.day()]:this._weekdaysMin}function qr($,fe,Ue){var at,Rt,On,Tr=$.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],at=0;at<7;++at)On=S([2e3,1]).day(at),this._minWeekdaysParse[at]=this.weekdaysMin(On,"").toLocaleLowerCase(),this._shortWeekdaysParse[at]=this.weekdaysShort(On,"").toLocaleLowerCase(),this._weekdaysParse[at]=this.weekdays(On,"").toLocaleLowerCase();return Ue?fe==="dddd"?(Rt=un.call(this._weekdaysParse,Tr),Rt!==-1?Rt:null):fe==="ddd"?(Rt=un.call(this._shortWeekdaysParse,Tr),Rt!==-1?Rt:null):(Rt=un.call(this._minWeekdaysParse,Tr),Rt!==-1?Rt:null):fe==="dddd"?(Rt=un.call(this._weekdaysParse,Tr),Rt!==-1||(Rt=un.call(this._shortWeekdaysParse,Tr),Rt!==-1)?Rt:(Rt=un.call(this._minWeekdaysParse,Tr),Rt!==-1?Rt:null)):fe==="ddd"?(Rt=un.call(this._shortWeekdaysParse,Tr),Rt!==-1||(Rt=un.call(this._weekdaysParse,Tr),Rt!==-1)?Rt:(Rt=un.call(this._minWeekdaysParse,Tr),Rt!==-1?Rt:null)):(Rt=un.call(this._minWeekdaysParse,Tr),Rt!==-1||(Rt=un.call(this._weekdaysParse,Tr),Rt!==-1)?Rt:(Rt=un.call(this._shortWeekdaysParse,Tr),Rt!==-1?Rt:null))}function ya($,fe,Ue){var at,Rt,On;if(this._weekdaysParseExact)return qr.call(this,$,fe,Ue);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),at=0;at<7;at++){if(Rt=S([2e3,1]).day(at),Ue&&!this._fullWeekdaysParse[at]&&(this._fullWeekdaysParse[at]=new RegExp("^"+this.weekdays(Rt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[at]=new RegExp("^"+this.weekdaysShort(Rt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[at]=new RegExp("^"+this.weekdaysMin(Rt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[at]||(On="^"+this.weekdays(Rt,"")+"|^"+this.weekdaysShort(Rt,"")+"|^"+this.weekdaysMin(Rt,""),this._weekdaysParse[at]=new RegExp(On.replace(".",""),"i")),Ue&&fe==="dddd"&&this._fullWeekdaysParse[at].test($))return at;if(Ue&&fe==="ddd"&&this._shortWeekdaysParse[at].test($))return at;if(Ue&&fe==="dd"&&this._minWeekdaysParse[at].test($))return at;if(!Ue&&this._weekdaysParse[at].test($))return at}}function dr($){if(!this.isValid())return $!=null?this:NaN;var fe=this._isUTC?this._d.getUTCDay():this._d.getDay();return $!=null?($=nr($,this.localeData()),this.add($-fe,"d")):fe}function Br($){if(!this.isValid())return $!=null?this:NaN;var fe=(this.day()+7-this.localeData()._week.dow)%7;return $==null?fe:this.add($-fe,"d")}function Ea($){if(!this.isValid())return $!=null?this:NaN;if($!=null){var fe=Rn($,this.localeData());return this.day(this.day()%7?fe:fe-7)}else return this.day()||7}function ca($){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||vr.call(this),$?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Bn),this._weekdaysStrictRegex&&$?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kn($){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||vr.call(this),$?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Cn),this._weekdaysShortStrictRegex&&$?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function zn($){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||vr.call(this),$?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=wn),this._weekdaysMinStrictRegex&&$?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function vr(){function $(Gi,ol){return ol.length-Gi.length}var fe=[],Ue=[],at=[],Rt=[],On,Tr,fo,Ro,gi;for(On=0;On<7;On++)Tr=S([2e3,1]).day(On),fo=lt(this.weekdaysMin(Tr,"")),Ro=lt(this.weekdaysShort(Tr,"")),gi=lt(this.weekdays(Tr,"")),fe.push(fo),Ue.push(Ro),at.push(gi),Rt.push(fo),Rt.push(Ro),Rt.push(gi);fe.sort($),Ue.sort($),at.sort($),Rt.sort($),this._weekdaysRegex=new RegExp("^("+Rt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+at.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Ue.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+fe.join("|")+")","i")}function ra(){return this.hours()%12||12}function xr(){return this.hours()||24}ve("H",["HH",2],0,"hour"),ve("h",["hh",2],0,ra),ve("k",["kk",2],0,xr),ve("hmm",0,0,function(){return""+ra.apply(this)+k(this.minutes(),2)}),ve("hmmss",0,0,function(){return""+ra.apply(this)+k(this.minutes(),2)+k(this.seconds(),2)}),ve("Hmm",0,0,function(){return""+this.hours()+k(this.minutes(),2)}),ve("Hmmss",0,0,function(){return""+this.hours()+k(this.minutes(),2)+k(this.seconds(),2)});function jt($,fe){ve($,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),fe)})}jt("a",!0),jt("A",!1),V("hour","h"),ge("hour",13);function an($,fe){return fe._meridiemParse}dt("a",an),dt("A",an),dt("H",we),dt("h",we),dt("k",we),dt("HH",we,Ee),dt("hh",we,Ee),dt("kk",we,Ee),dt("hmm",Re),dt("hmmss",st),dt("Hmm",Re),dt("Hmmss",st),It(["H","HH"],Et),It(["k","kk"],function($,fe,Ue){var at=xe($);fe[Et]=at===24?0:at}),It(["a","A"],function($,fe,Ue){Ue._isPm=Ue._locale.isPM($),Ue._meridiem=$}),It(["h","hh"],function($,fe,Ue){fe[Et]=xe($),x(Ue).bigHour=!0}),It("hmm",function($,fe,Ue){var at=$.length-2;fe[Et]=xe($.substr(0,at)),fe[Tt]=xe($.substr(at)),x(Ue).bigHour=!0}),It("hmmss",function($,fe,Ue){var at=$.length-4,Rt=$.length-2;fe[Et]=xe($.substr(0,at)),fe[Tt]=xe($.substr(at,2)),fe[Ye]=xe($.substr(Rt)),x(Ue).bigHour=!0}),It("Hmm",function($,fe,Ue){var at=$.length-2;fe[Et]=xe($.substr(0,at)),fe[Tt]=xe($.substr(at))}),It("Hmmss",function($,fe,Ue){var at=$.length-4,Rt=$.length-2;fe[Et]=xe($.substr(0,at)),fe[Tt]=xe($.substr(at,2)),fe[Ye]=xe($.substr(Rt))});function hn($){return($+"").toLowerCase().charAt(0)==="p"}var ao=/[ap]\.?m?\.?/i,Mo=Se("Hours",!0);function Ua($,fe,Ue){return $>11?Ue?"pm":"PM":Ue?"am":"AM"}var Ha={calendar:O,longDateFormat:Xe,invalidDate:Ct,ordinal:Ht,dayOfMonthOrdinalParse:ke,relativeTime:ot,months:vn,monthsShort:Xn,week:sn,weekdays:fr,weekdaysMin:Pr,weekdaysShort:ua,meridiemParse:ao},eo={},jo={},Wo;function Eo($,fe){var Ue,at=Math.min($.length,fe.length);for(Ue=0;Ue0;){if(Rt=cn(On.slice(0,Ue).join("-")),Rt)return Rt;if(at&&at.length>=Ue&&Eo(On,at)>=Ue-1)break;Ue--}fe++}return Wo}function Ie($){return $.match("^[^/\\\\]*$")!=null}function cn($){var fe=null,Ue;if(eo[$]===void 0&&b&&b.exports&&Ie($))try{fe=Wo._abbr,Ue=void 0,Object(function(){var Rt=new Error("Cannot find module 'undefined'");throw Rt.code="MODULE_NOT_FOUND",Rt}()),dn(fe)}catch(at){eo[$]=null}return eo[$]}function dn($,fe){var Ue;return $&&(c(fe)?Ue=yr($):Ue=_n($,fe),Ue?Wo=Ue:typeof console!="undefined"&&console.warn&&console.warn("Locale "+$+" not found. Did you forget to load it?")),Wo._abbr}function _n($,fe){if(fe!==null){var Ue,at=Ha;if(fe.abbr=$,eo[$]!=null)_("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),at=eo[$]._config;else if(fe.parentLocale!=null)if(eo[fe.parentLocale]!=null)at=eo[fe.parentLocale]._config;else if(Ue=cn(fe.parentLocale),Ue!=null)at=Ue._config;else return jo[fe.parentLocale]||(jo[fe.parentLocale]=[]),jo[fe.parentLocale].push({name:$,config:fe}),null;return eo[$]=new C(Q(at,fe)),jo[$]&&jo[$].forEach(function(Rt){_n(Rt.name,Rt.config)}),dn($),eo[$]}else return delete eo[$],null}function Tn($,fe){if(fe!=null){var Ue,at,Rt=Ha;eo[$]!=null&&eo[$].parentLocale!=null?eo[$].set(Q(eo[$]._config,fe)):(at=cn($),at!=null&&(Rt=at._config),fe=Q(Rt,fe),at==null&&(fe.abbr=$),Ue=new C(fe),Ue.parentLocale=eo[$],eo[$]=Ue),dn($)}else eo[$]!=null&&(eo[$].parentLocale!=null?(eo[$]=eo[$].parentLocale,$===dn()&&dn($)):eo[$]!=null&&delete eo[$]);return eo[$]}function yr($){var fe;if($&&$._locale&&$._locale._abbr&&($=$._locale._abbr),!$)return Wo;if(!s($)){if(fe=cn($),fe)return fe;$=[$]}return Nt($)}function Wr(){return X(eo)}function Da($){var fe,Ue=$._a;return Ue&&x($).overflow===-2&&(fe=Ue[Le]<0||Ue[Le]>11?Le:Ue[Ce]<1||Ue[Ce]>Mn(Ue[Mt],Ue[Le])?Ce:Ue[Et]<0||Ue[Et]>24||Ue[Et]===24&&(Ue[Tt]!==0||Ue[Ye]!==0||Ue[et]!==0)?Et:Ue[Tt]<0||Ue[Tt]>59?Tt:Ue[Ye]<0||Ue[Ye]>59?Ye:Ue[et]<0||Ue[et]>999?et:-1,x($)._overflowDayOfYear&&(feCe)&&(fe=Ce),x($)._overflowWeeks&&fe===-1&&(fe=_t),x($)._overflowWeekday&&fe===-1&&(fe=Ut),x($).overflow=fe),$}var la=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ea=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,oa=/Z|[+-]\d\d(?::?\d\d)?/,Ir=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],$r=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pa=/^\/?Date\((-?\d+)/i,La=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,lo={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Qa($){var fe,Ue,at=$._i,Rt=la.exec(at)||ea.exec(at),On,Tr,fo,Ro,gi=Ir.length,Gi=$r.length;if(Rt){for(x($).iso=!0,fe=0,Ue=gi;feJt(Tr)||$._dayOfYear===0)&&(x($)._overflowDayOfYear=!0),Ue=tr(Tr,0,$._dayOfYear),$._a[Le]=Ue.getUTCMonth(),$._a[Ce]=Ue.getUTCDate()),fe=0;fe<3&&$._a[fe]==null;++fe)$._a[fe]=at[fe]=Rt[fe];for(;fe<7;fe++)$._a[fe]=at[fe]=$._a[fe]==null?fe===2?1:0:$._a[fe];$._a[Et]===24&&$._a[Tt]===0&&$._a[Ye]===0&&$._a[et]===0&&($._nextDay=!0,$._a[Et]=0),$._d=($._useUTC?tr:Zn).apply(null,at),On=$._useUTC?$._d.getUTCDay():$._d.getDay(),$._tzm!=null&&$._d.setUTCMinutes($._d.getUTCMinutes()-$._tzm),$._nextDay&&($._a[Et]=24),$._w&&typeof $._w.d!="undefined"&&$._w.d!==On&&(x($).weekdayMismatch=!0)}}function Sr($){var fe,Ue,at,Rt,On,Tr,fo,Ro,gi;fe=$._w,fe.GG!=null||fe.W!=null||fe.E!=null?(On=1,Tr=4,Ue=sr(fe.GG,$._a[Mt],Dt(_a(),1,4).year),at=sr(fe.W,1),Rt=sr(fe.E,1),(Rt<1||Rt>7)&&(Ro=!0)):(On=$._locale._week.dow,Tr=$._locale._week.doy,gi=Dt(_a(),On,Tr),Ue=sr(fe.gg,$._a[Mt],gi.year),at=sr(fe.w,gi.week),fe.d!=null?(Rt=fe.d,(Rt<0||Rt>6)&&(Ro=!0)):fe.e!=null?(Rt=fe.e+On,(fe.e<0||fe.e>6)&&(Ro=!0)):Rt=On),at<1||at>xt(Ue,On,Tr)?x($)._overflowWeeks=!0:Ro!=null?x($)._overflowWeekday=!0:(fo=ct(Ue,at,Rt,On,Tr),$._a[Mt]=fo.year,$._dayOfYear=fo.dayOfYear)}t.ISO_8601=function(){},t.RFC_2822=function(){};function xa($){if($._f===t.ISO_8601){Qa($);return}if($._f===t.RFC_2822){Hr($);return}$._a=[],x($).empty=!0;var fe=""+$._i,Ue,at,Rt,On,Tr,fo=fe.length,Ro=0,gi,Gi;for(Rt=qe($._f,$._locale).match(A)||[],Gi=Rt.length,Ue=0;Ue0&&x($).unusedInput.push(Tr),fe=fe.slice(fe.indexOf(at)+at.length),Ro+=at.length),me[On]?(at?x($).empty=!1:x($).unusedTokens.push(On),zt(On,at,$)):$._strict&&!at&&x($).unusedTokens.push(On);x($).charsLeftOver=fo-Ro,fe.length>0&&x($).unusedInput.push(fe),$._a[Et]<=12&&x($).bigHour===!0&&$._a[Et]>0&&(x($).bigHour=void 0),x($).parsedDateParts=$._a.slice(0),x($).meridiem=$._meridiem,$._a[Et]=Xa($._locale,$._a[Et],$._meridiem),gi=x($).era,gi!==null&&($._a[Mt]=$._locale.erasConvertYear(gi,$._a[Mt])),va($),Da($)}function Xa($,fe,Ue){var at;return Ue==null?fe:$.meridiemHour!=null?$.meridiemHour(fe,Ue):($.isPM!=null&&(at=$.isPM(Ue),at&&fe<12&&(fe+=12),!at&&fe===12&&(fe=0)),fe)}function bo($){var fe,Ue,at,Rt,On,Tr,fo=!1,Ro=$._f.length;if(Ro===0){x($).invalidFormat=!0,$._d=new Date(NaN);return}for(Rt=0;Rtthis?this:$:T()});function ni($,fe){var Ue,at;if(fe.length===1&&s(fe[0])&&(fe=fe[0]),!fe.length)return _a();for(Ue=fe[0],at=1;atthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function kn(){if(!c(this._isDSTShifted))return this._isDSTShifted;var $={},fe;return D($,this),$=xo($),$._a?(fe=$._isUTC?S($._a):_a($._a),this._isDSTShifted=this.isValid()&&oo($._a,fe.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _r(){return this.isValid()?!this._isUTC:!1}function Dr(){return this.isValid()?this._isUTC:!1}function Zr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var sa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ja=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Fa($,fe){var Ue=$,at=null,Rt,On,Tr;return Zi($)?Ue={ms:$._milliseconds,d:$._days,M:$._months}:m($)||!isNaN(+$)?(Ue={},fe?Ue[fe]=+$:Ue.milliseconds=+$):(at=sa.exec($))?(Rt=at[1]==="-"?-1:1,Ue={y:0,d:xe(at[Ce])*Rt,h:xe(at[Et])*Rt,m:xe(at[Tt])*Rt,s:xe(at[Ye])*Rt,ms:xe(ji(at[et]*1e3))*Rt}):(at=ja.exec($))?(Rt=at[1]==="-"?-1:1,Ue={y:Na(at[2],Rt),M:Na(at[3],Rt),w:Na(at[4],Rt),d:Na(at[5],Rt),h:Na(at[6],Rt),m:Na(at[7],Rt),s:Na(at[8],Rt)}):Ue==null?Ue={}:typeof Ue=="object"&&("from"in Ue||"to"in Ue)&&(Tr=Vo(_a(Ue.from),_a(Ue.to)),Ue={},Ue.ms=Tr.milliseconds,Ue.M=Tr.months),On=new yi(Ue),Zi($)&&d($,"_locale")&&(On._locale=$._locale),Zi($)&&d($,"_isValid")&&(On._isValid=$._isValid),On}Fa.fn=yi.prototype,Fa.invalid=hi;function Na($,fe){var Ue=$&&parseFloat($.replace(",","."));return(isNaN(Ue)?0:Ue)*fe}function Bo($,fe){var Ue={};return Ue.months=fe.month()-$.month()+(fe.year()-$.year())*12,$.clone().add(Ue.months,"M").isAfter(fe)&&--Ue.months,Ue.milliseconds=+fe-+$.clone().add(Ue.months,"M"),Ue}function Vo($,fe){var Ue;return $.isValid()&&fe.isValid()?(fe=No(fe,$),$.isBefore(fe)?Ue=Bo($,fe):(Ue=Bo(fe,$),Ue.milliseconds=-Ue.milliseconds,Ue.months=-Ue.months),Ue):{milliseconds:0,months:0}}function Go($,fe){return function(Ue,at){var Rt,On;return at!==null&&!isNaN(+at)&&(_(fe,"moment()."+fe+"(period, number) is deprecated. Please use moment()."+fe+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),On=Ue,Ue=at,at=On),Rt=Fa(Ue,at),Bi(this,Rt,$),this}}function Bi($,fe,Ue,at){var Rt=fe._milliseconds,On=ji(fe._days),Tr=ji(fe._months);$.isValid()&&(at=at==null?!0:at,Tr&&En($,$e($,"Month")+Tr*Ue),On&&re($,"Date",$e($,"Date")+On*Ue),Rt&&$._d.setTime($._d.valueOf()+Rt*Ue),at&&t.updateOffset($,On||Tr))}var ps=Go(1,"add"),es=Go(-1,"subtract");function $s($){return typeof $=="string"||$ instanceof String}function ss($){return j($)||g($)||$s($)||m($)||Fl($)||qo($)||$===null||$===void 0}function qo($){var fe=n($)&&!l($),Ue=!1,at=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Rt,On,Tr=at.length;for(Rt=0;RtUe.valueOf():Ue.valueOf()9999?Je(Ue,fe?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ee(Date.prototype.toISOString)?fe?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Je(Ue,"Z")):Je(Ue,fe?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Kl(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var $="moment",fe="",Ue,at,Rt,On;return this.isLocal()||($=this.utcOffset()===0?"moment.utc":"moment.parseZone",fe="Z"),Ue="["+$+'("]',at=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",Rt="-MM-DD[T]HH:mm:ss.SSS",On=fe+'[")]',this.format(Ue+at+Rt+On)}function ys($){$||($=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var fe=Je(this,$);return this.localeData().postformat(fe)}function Ft($,fe){return this.isValid()&&(j($)&&$.isValid()||_a($).isValid())?Fa({to:this,from:$}).locale(this.locale()).humanize(!fe):this.localeData().invalidDate()}function Do($){return this.from(_a(),$)}function Ls($,fe){return this.isValid()&&(j($)&&$.isValid()||_a($).isValid())?Fa({from:this,to:$}).locale(this.locale()).humanize(!fe):this.localeData().invalidDate()}function Uo($){return this.to(_a(),$)}function Ol($){var fe;return $===void 0?this._locale._abbr:(fe=yr($),fe!=null&&(this._locale=fe),this)}var fa=W("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function($){return $===void 0?this.localeData():this.locale($)});function vl(){return this._locale}var Bl=1e3,qs=60*Bl,Ql=60*qs,$l=(365*400+97)*24*Ql;function wo($,fe){return($%fe+fe)%fe}function Si($,fe,Ue){return $<100&&$>=0?new Date($+400,fe,Ue)-$l:new Date($,fe,Ue).valueOf()}function Sc($,fe,Ue){return $<100&&$>=0?Date.UTC($+400,fe,Ue)-$l:Date.UTC($,fe,Ue)}function dc($){var fe,Ue;if($=R($),$===void 0||$==="millisecond"||!this.isValid())return this;switch(Ue=this._isUTC?Sc:Si,$){case"year":fe=Ue(this.year(),0,1);break;case"quarter":fe=Ue(this.year(),this.month()-this.month()%3,1);break;case"month":fe=Ue(this.year(),this.month(),1);break;case"week":fe=Ue(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":fe=Ue(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":fe=Ue(this.year(),this.month(),this.date());break;case"hour":fe=this._d.valueOf(),fe-=wo(fe+(this._isUTC?0:this.utcOffset()*qs),Ql);break;case"minute":fe=this._d.valueOf(),fe-=wo(fe,qs);break;case"second":fe=this._d.valueOf(),fe-=wo(fe,Bl);break}return this._d.setTime(fe),t.updateOffset(this,!0),this}function qa($){var fe,Ue;if($=R($),$===void 0||$==="millisecond"||!this.isValid())return this;switch(Ue=this._isUTC?Sc:Si,$){case"year":fe=Ue(this.year()+1,0,1)-1;break;case"quarter":fe=Ue(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":fe=Ue(this.year(),this.month()+1,1)-1;break;case"week":fe=Ue(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":fe=Ue(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":fe=Ue(this.year(),this.month(),this.date()+1)-1;break;case"hour":fe=this._d.valueOf(),fe+=Ql-wo(fe+(this._isUTC?0:this.utcOffset()*qs),Ql)-1;break;case"minute":fe=this._d.valueOf(),fe+=qs-wo(fe,qs)-1;break;case"second":fe=this._d.valueOf(),fe+=Bl-wo(fe,Bl)-1;break}return this._d.setTime(fe),t.updateOffset(this,!0),this}function as(){return this._d.valueOf()-(this._offset||0)*6e4}function el(){return Math.floor(this.valueOf()/1e3)}function za(){return new Date(this.valueOf())}function iu(){var $=this;return[$.year(),$.month(),$.date(),$.hour(),$.minute(),$.second(),$.millisecond()]}function Yi(){var $=this;return{years:$.year(),months:$.month(),date:$.date(),hours:$.hours(),minutes:$.minutes(),seconds:$.seconds(),milliseconds:$.milliseconds()}}function Zl(){return this.isValid()?this.toISOString():null}function Dl(){return U(this)}function Xl(){return h({},x(this))}function Ul(){return x(this).overflow}function fc(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ve("N",0,0,"eraAbbr"),ve("NN",0,0,"eraAbbr"),ve("NNN",0,0,"eraAbbr"),ve("NNNN",0,0,"eraName"),ve("NNNNN",0,0,"eraNarrow"),ve("y",["y",1],"yo","eraYear"),ve("y",["yy",2],0,"eraYear"),ve("y",["yyy",3],0,"eraYear"),ve("y",["yyyy",4],0,"eraYear"),dt("N",Wi),dt("NN",Wi),dt("NNN",Wi),dt("NNNN",Ko),dt("NNNNN",po),It(["N","NN","NNN","NNNN","NNNNN"],function($,fe,Ue,at){var Rt=Ue._locale.erasParse($,at,Ue._strict);Rt?x(Ue).era=Rt:x(Ue).invalidEra=$}),dt("y",Be),dt("yy",Be),dt("yyy",Be),dt("yyyy",Be),dt("yo",pu),It(["y","yy","yyy","yyyy"],Mt),It(["yo"],function($,fe,Ue,at){var Rt;Ue._locale._eraYearOrdinalRegex&&(Rt=$.match(Ue._locale._eraYearOrdinalRegex)),Ue._locale.eraYearOrdinalParse?fe[Mt]=Ue._locale.eraYearOrdinalParse($,Rt):fe[Mt]=parseInt($,10)});function Ou($,fe){var Ue,at,Rt,On=this._eras||yr("en")._eras;for(Ue=0,at=On.length;Ue=0)return On[at]}function Du($,fe){var Ue=$.since<=$.until?1:-1;return fe===void 0?t($.since).year():t($.since).year()+(fe-$.offset)*Ue}function su(){var $,fe,Ue,at=this.localeData().eras();for($=0,fe=at.length;$On&&(fe=On),yu.call(this,$,fe,Ue,at,Rt))}function yu($,fe,Ue,at,Rt){var On=ct($,fe,Ue,at,Rt),Tr=tr(On.year,0,On.dayOfYear);return this.year(Tr.getUTCFullYear()),this.month(Tr.getUTCMonth()),this.date(Tr.getUTCDate()),this}ve("Q",0,"Qo","quarter"),V("quarter","Q"),ge("quarter",7),dt("Q",ue),It("Q",function($,fe){fe[Le]=(xe($)-1)*3});function Ni($){return $==null?Math.ceil((this.month()+1)/3):this.month(($-1)*3+this.month()%3)}ve("D",["DD",2],"Do","date"),V("date","D"),ge("date",9),dt("D",we),dt("DD",we,Ee),dt("Do",function($,fe){return $?fe._dayOfMonthOrdinalParse||fe._ordinalParse:fe._dayOfMonthOrdinalParseLenient}),It(["D","DD"],Ce),It("Do",function($,fe){fe[Ce]=xe($.match(we)[0])});var lu=Se("Date",!0);ve("DDD",["DDDD",3],"DDDo","dayOfYear"),V("dayOfYear","DDD"),ge("dayOfYear",4),dt("DDD",nt),dt("DDDD",le),It(["DDD","DDDD"],function($,fe,Ue){Ue._dayOfYear=xe($)});function wu($){var fe=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return $==null?fe:this.add($-fe,"d")}ve("m",["mm",2],0,"minute"),V("minute","m"),ge("minute",14),dt("m",we),dt("mm",we,Ee),It(["m","mm"],Tt);var rl=Se("Minutes",!1);ve("s",["ss",2],0,"second"),V("second","s"),ge("second",15),dt("s",we),dt("ss",we,Ee),It(["s","ss"],Ye);var wl=Se("Seconds",!1);ve("S",0,0,function(){return~~(this.millisecond()/100)}),ve(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ve(0,["SSS",3],0,"millisecond"),ve(0,["SSSS",4],0,function(){return this.millisecond()*10}),ve(0,["SSSSS",5],0,function(){return this.millisecond()*100}),ve(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),ve(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),ve(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),ve(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),V("millisecond","ms"),ge("millisecond",16),dt("S",nt,ue),dt("SS",nt,Ee),dt("SSS",nt,le);var al,Os;for(al="SSSS";al.length<=9;al+="S")dt(al,Be);function Ds($,fe){fe[et]=xe(("0."+$)*1e3)}for(al="S";al.length<=9;al+="S")It(al,Ds);Os=Se("Milliseconds",!1),ve("z",0,0,"zoneAbbr"),ve("zz",0,0,"zoneName");function bu(){return this._isUTC?"UTC":""}function Ws(){return this._isUTC?"Coordinated Universal Time":""}var ha=L.prototype;ha.add=ps,ha.calendar=vu,ha.clone=cl,ha.diff=hs,ha.endOf=qa,ha.format=ys,ha.from=Ft,ha.fromNow=Do,ha.to=Ls,ha.toNow=Uo,ha.get=oe,ha.invalidAt=Ul,ha.isAfter=dl,ha.isBefore=Zs,ha.isBetween=Js,ha.isSame=fl,ha.isSameOrAfter=gu,ha.isSameOrBefore=vs,ha.isValid=Dl,ha.lang=fa,ha.locale=Ol,ha.localeData=vl,ha.max=Yo,ha.min=Io,ha.parsingFlags=Xl,ha.set=q,ha.startOf=dc,ha.subtract=es,ha.toArray=iu,ha.toObject=Yi,ha.toDate=za,ha.toISOString=mu,ha.inspect=Kl,typeof Symbol!="undefined"&&Symbol.for!=null&&(ha[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ha.toJSON=Zl,ha.toString=ks,ha.unix=el,ha.valueOf=as,ha.creationData=fc,ha.eraName=su,ha.eraNarrow=As,ha.eraAbbr=tl,ha.eraYear=gl,ha.year=pn,ha.isLeapYear=mn,ha.weekYear=ml,ha.isoWeekYear=Ei,ha.quarter=ha.quarters=Ni,ha.month=on,ha.daysInMonth=pt,ha.week=ha.weeks=Nn,ha.isoWeek=ha.isoWeeks=gr,ha.weeksInYear=us,ha.weeksInWeekYear=ho,ha.isoWeeksInYear=Di,ha.isoWeeksInISOWeekYear=ls,ha.date=lu,ha.day=ha.days=dr,ha.weekday=Br,ha.isoWeekday=Ea,ha.dayOfYear=wu,ha.hour=ha.hours=Mo,ha.minute=ha.minutes=rl,ha.second=ha.seconds=wl,ha.millisecond=ha.milliseconds=Os,ha.utcOffset=xi,ha.utc=ki,ha.local=Ts,ha.parseZone=fs,ha.hasAlignedHourOffset=Xs,ha.isDST=zl,ha.isLocal=_r,ha.isUtcOffset=Dr,ha.isUtc=Zr,ha.isUTC=Zr,ha.zoneAbbr=bu,ha.zoneName=Ws,ha.dates=W("dates accessor is deprecated. Use date instead.",lu),ha.months=W("months accessor is deprecated. Use month instead",on),ha.years=W("years accessor is deprecated. Use year instead",pn),ha.zone=W("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ui),ha.isDSTShifted=W("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",kn);function rt($){return _a($*1e3)}function Vt(){return _a.apply(null,arguments).parseZone()}function Wn($){return $}var cr=C.prototype;cr.calendar=H,cr.longDateFormat=mt,cr.invalidDate=vt,cr.ordinal=Ve,cr.preparse=Wn,cr.postformat=Wn,cr.relativeTime=Ke,cr.pastFuture=he,cr.set=se,cr.eras=Ou,cr.erasParse=$o,cr.erasConvertYear=Du,cr.erasAbbrRegex=Ii,cr.erasNameRegex=Zt,cr.erasNarrowRegex=Jl,cr.months=Wt,cr.monthsShort=en,cr.monthsParse=fn,cr.monthsRegex=Xt,cr.monthsShortRegex=gt,cr.week=kt,cr.firstDayOfYear=xn,cr.firstDayOfWeek=tn,cr.weekdays=ar,cr.weekdaysMin=Qr,cr.weekdaysShort=mr,cr.weekdaysParse=ya,cr.weekdaysRegex=ca,cr.weekdaysShortRegex=Kn,cr.weekdaysMinRegex=zn,cr.isPM=hn,cr.meridiem=Ua;function wa($,fe,Ue,at){var Rt=yr(),On=S().set(at,fe);return Rt[Ue](On,$)}function go($,fe,Ue){if(m($)&&(fe=$,$=void 0),$=$||"",fe!=null)return wa($,fe,Ue,"month");var at,Rt=[];for(at=0;at<12;at++)Rt[at]=wa($,at,Ue,"month");return Rt}function di($,fe,Ue,at){typeof $=="boolean"?(m(fe)&&(Ue=fe,fe=void 0),fe=fe||""):(fe=$,Ue=fe,$=!1,m(fe)&&(Ue=fe,fe=void 0),fe=fe||"");var Rt=yr(),On=$?Rt._week.dow:0,Tr,fo=[];if(Ue!=null)return wa(fe,(Ue+On)%7,at,"day");for(Tr=0;Tr<7;Tr++)fo[Tr]=wa(fe,(Tr+On)%7,at,"day");return fo}function Zo($,fe){return go($,fe,"months")}function os($,fe){return go($,fe,"monthsShort")}function ui($,fe,Ue){return di($,fe,Ue,"weekdays")}function fi($,fe,Ue){return di($,fe,Ue,"weekdaysShort")}function Ao($,fe,Ue){return di($,fe,Ue,"weekdaysMin")}dn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function($){var fe=$%10,Ue=xe($%100/10)===1?"th":fe===1?"st":fe===2?"nd":fe===3?"rd":"th";return $+Ue}}),t.lang=W("moment.lang is deprecated. Use moment.locale instead.",dn),t.langData=W("moment.langData is deprecated. Use moment.localeData instead.",yr);var To=Math.abs;function Hi(){var $=this._data;return this._milliseconds=To(this._milliseconds),this._days=To(this._days),this._months=To(this._months),$.milliseconds=To($.milliseconds),$.seconds=To($.seconds),$.minutes=To($.minutes),$.hours=To($.hours),$.months=To($.months),$.years=To($.years),this}function Ms($,fe,Ue,at){var Rt=Fa(fe,Ue);return $._milliseconds+=at*Rt._milliseconds,$._days+=at*Rt._days,$._months+=at*Rt._months,$._bubble()}function uu($,fe){return Ms(this,$,fe,1)}function ql($,fe){return Ms(this,$,fe,-1)}function Ss($){return $<0?Math.floor($):Math.ceil($)}function Mu(){var $=this._milliseconds,fe=this._days,Ue=this._months,at=this._data,Rt,On,Tr,fo,Ro;return $>=0&&fe>=0&&Ue>=0||$<=0&&fe<=0&&Ue<=0||($+=Ss(Es(Ue)+fe)*864e5,fe=0,Ue=0),at.milliseconds=$%1e3,Rt=Oe($/1e3),at.seconds=Rt%60,On=Oe(Rt/60),at.minutes=On%60,Tr=Oe(On/60),at.hours=Tr%24,fe+=Oe(Tr/24),Ro=Oe(eu(fe)),Ue+=Ro,fe-=Ss(Es(Ro)),fo=Oe(Ue/12),Ue%=12,at.days=fe,at.months=Ue,at.years=fo,this}function eu($){return $*4800/146097}function Es($){return $*146097/4800}function Lc($){if(!this.isValid())return NaN;var fe,Ue,at=this._milliseconds;if($=R($),$==="month"||$==="quarter"||$==="year")switch(fe=this._days+at/864e5,Ue=this._months+eu(fe),$){case"month":return Ue;case"quarter":return Ue/3;case"year":return Ue/12}else switch(fe=this._days+Math.round(Es(this._months)),$){case"week":return fe/7+at/6048e5;case"day":return fe+at/864e5;case"hour":return fe*24+at/36e5;case"minute":return fe*1440+at/6e4;case"second":return fe*86400+at/1e3;case"millisecond":return Math.floor(fe*864e5)+at;default:throw new Error("Unknown unit "+$)}}function rc(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+xe(this._months/12)*31536e6:NaN}function Hs($){return function(){return this.as($)}}var jl=Hs("ms"),tu=Hs("s"),ju=Hs("m"),Ec=Hs("h"),Pu=Hs("d"),Tu=Hs("w"),Su=Hs("M"),ts=Hs("Q"),Lu=Hs("y");function ws(){return Fa(this)}function Vi($){return $=R($),this.isValid()?this[$+"s"]():NaN}function Ns($){return function(){return this.isValid()?this._data[$]:NaN}}var pl=Ns("milliseconds"),ei=Ns("seconds"),cu=Ns("minutes"),cs=Ns("hours"),ac=Ns("days"),_s=Ns("months"),hl=Ns("years");function Ys(){return Oe(this.days()/7)}var vi=Math.round,js={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Nu($,fe,Ue,at,Rt){return Rt.relativeTime(fe||1,!!Ue,$,at)}function Wu($,fe,Ue,at){var Rt=Fa($).abs(),On=vi(Rt.as("s")),Tr=vi(Rt.as("m")),fo=vi(Rt.as("h")),Ro=vi(Rt.as("d")),gi=vi(Rt.as("M")),Gi=vi(Rt.as("w")),ol=vi(Rt.as("y")),Ml=On<=Ue.ss&&["s",On]||On0,Ml[4]=at,Nu.apply(null,Ml)}function yl($){return $===void 0?vi:typeof $=="function"?(vi=$,!0):!1}function Eu($,fe){return js[$]===void 0?!1:fe===void 0?js[$]:(js[$]=fe,$==="s"&&(js.ss=fe-1),!0)}function Ru($,fe){if(!this.isValid())return this.localeData().invalidDate();var Ue=!1,at=js,Rt,On;return typeof $=="object"&&(fe=$,$=!1),typeof $=="boolean"&&(Ue=$),typeof fe=="object"&&(at=Object.assign({},js,fe),fe.s!=null&&fe.ss==null&&(at.ss=fe.s-1)),Rt=this.localeData(),On=Wu(this,!Ue,at,Rt),Ue&&(On=Rt.pastFuture(+this,On)),Rt.postformat(On)}var nu=Math.abs;function bl($){return($>0)-($<0)||+$}function kl(){if(!this.isValid())return this.localeData().invalidDate();var $=nu(this._milliseconds)/1e3,fe=nu(this._days),Ue=nu(this._months),at,Rt,On,Tr,fo=this.asSeconds(),Ro,gi,Gi,ol;return fo?(at=Oe($/60),Rt=Oe(at/60),$%=60,at%=60,On=Oe(Ue/12),Ue%=12,Tr=$?$.toFixed(3).replace(/\.?0+$/,""):"",Ro=fo<0?"-":"",gi=bl(this._months)!==bl(fo)?"-":"",Gi=bl(this._days)!==bl(fo)?"-":"",ol=bl(this._milliseconds)!==bl(fo)?"-":"",Ro+"P"+(On?gi+On+"Y":"")+(Ue?gi+Ue+"M":"")+(fe?Gi+fe+"D":"")+(Rt||at||$?"T":"")+(Rt?ol+Rt+"H":"")+(at?ol+at+"M":"")+($?ol+Tr+"S":"")):"P0D"}var ii=yi.prototype;ii.isValid=Pi,ii.abs=Hi,ii.add=uu,ii.subtract=ql,ii.as=Lc,ii.asMilliseconds=jl,ii.asSeconds=tu,ii.asMinutes=ju,ii.asHours=Ec,ii.asDays=Pu,ii.asWeeks=Tu,ii.asMonths=Su,ii.asQuarters=ts,ii.asYears=Lu,ii.valueOf=rc,ii._bubble=Mu,ii.clone=ws,ii.get=Vi,ii.milliseconds=pl,ii.seconds=ei,ii.minutes=cu,ii.hours=cs,ii.days=ac,ii.weeks=Ys,ii.months=_s,ii.years=hl,ii.humanize=Ru,ii.toISOString=kl,ii.toString=kl,ii.toJSON=kl,ii.locale=Ol,ii.localeData=vl,ii.toIsoString=W("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",kl),ii.lang=fa,ve("X",0,0,"unix"),ve("x",0,0,"valueOf"),dt("x",it),dt("X",$t),It("X",function($,fe,Ue){Ue._d=new Date(parseFloat($)*1e3)}),It("x",function($,fe,Ue){Ue._d=new Date(xe($))});return t.version="2.29.4",o(_a),t.fn=ha,t.min=co,t.max=Mi,t.now=ai,t.utc=S,t.unix=rt,t.months=Zo,t.isDate=g,t.locale=dn,t.invalid=T,t.duration=Fa,t.isMoment=j,t.weekdays=ui,t.parseZone=Vt,t.localeData=yr,t.isDuration=Zi,t.monthsShort=os,t.weekdaysMin=Ao,t.defineLocale=_n,t.updateLocale=Tn,t.locales=Wr,t.weekdaysShort=fi,t.normalizeUnits=R,t.relativeTimeRounding=yl,t.relativeTimeThreshold=Eu,t.calendarFormat=Al,t.prototype=ha,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t})},73656:function(b){var y=b.exports={},e,a;function t(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=t}catch(w){e=t}try{typeof clearTimeout=="function"?a=clearTimeout:a=o}catch(w){a=o}})();function s(w){if(e===setTimeout)return setTimeout(w,0);if((e===t||!e)&&setTimeout)return e=setTimeout,setTimeout(w,0);try{return e(w,0)}catch(x){try{return e.call(null,w,0)}catch(z){return e.call(this,w,0)}}}function n(w){if(a===clearTimeout)return clearTimeout(w);if((a===o||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(w);try{return a(w)}catch(x){try{return a.call(null,w)}catch(z){return a.call(this,w)}}}var d=[],l=!1,c,m=-1;function g(){!l||!c||(l=!1,c.length?d=c.concat(d):m=-1,d.length&&M())}function M(){if(!l){var w=s(g);l=!0;for(var x=d.length;x;){for(c=d,d=[];++m1)for(var z=1;z=it||Be<0||Be>=it)return _e;var Ge=_e[We],Ot=We-Be;return Ot>0?[].concat((0,d.Z)(_e.slice(0,Be)),[Ge],(0,d.Z)(_e.slice(Be,We)),(0,d.Z)(_e.slice(We+1,it))):Ot<0?[].concat((0,d.Z)(_e.slice(0,We)),(0,d.Z)(_e.slice(We+1,Be+1)),[Ge],(0,d.Z)(_e.slice(Be+1,it))):_e}var vt=["name"],Ht=[];function ke(_e,We,Be,it,Ge,Ot){return typeof _e=="function"?_e(We,Be,"source"in Ot?{source:Ot.source}:{}):it!==Ge}var Ve=function(_e){(0,g.Z)(Be,_e);var We=(0,M.Z)(Be);function Be(it){var Ge;if((0,l.Z)(this,Be),Ge=We.call(this,it),Ge.state={resetCount:0},Ge.cancelRegisterFunc=null,Ge.mounted=!1,Ge.touched=!1,Ge.dirty=!1,Ge.validatePromise=void 0,Ge.prevValidating=void 0,Ge.errors=Ht,Ge.warnings=Ht,Ge.cancelRegister=function(){var Pt=Ge.props,dt=Pt.preserve,je=Pt.isListField,tt=Pt.name;Ge.cancelRegisterFunc&&Ge.cancelRegisterFunc(je,dt,be(tt)),Ge.cancelRegisterFunc=null},Ge.getNamePath=function(){var Pt=Ge.props,dt=Pt.name,je=Pt.fieldContext,tt=je.prefixName,lt=tt===void 0?[]:tt;return dt!==void 0?[].concat((0,d.Z)(lt),(0,d.Z)(dt)):[]},Ge.getRules=function(){var Pt=Ge.props,dt=Pt.rules,je=dt===void 0?[]:dt,tt=Pt.fieldContext;return je.map(function(lt){return typeof lt=="function"?lt(tt):lt})},Ge.refresh=function(){Ge.mounted&&Ge.setState(function(Pt){var dt=Pt.resetCount;return{resetCount:dt+1}})},Ge.metaCache=null,Ge.triggerMetaEvent=function(Pt){var dt=Ge.props.onMetaChange;if(dt){var je=(0,n.Z)((0,n.Z)({},Ge.getMeta()),{},{destroy:Pt});(0,w.Z)(Ge.metaCache,je)||dt(je),Ge.metaCache=je}else Ge.metaCache=null},Ge.onStoreChange=function(Pt,dt,je){var tt=Ge.props,lt=tt.shouldUpdate,bt=tt.dependencies,It=bt===void 0?[]:bt,Kt=tt.onReset,zt=je.store,Mt=Ge.getNamePath(),Le=Ge.getValue(Pt),Ce=Ge.getValue(zt),Et=dt&&Je(dt,Mt);switch(je.type==="valueUpdate"&&je.source==="external"&&Le!==Ce&&(Ge.touched=!0,Ge.dirty=!0,Ge.validatePromise=null,Ge.errors=Ht,Ge.warnings=Ht,Ge.triggerMetaEvent()),je.type){case"reset":if(!dt||Et){Ge.touched=!1,Ge.dirty=!1,Ge.validatePromise=void 0,Ge.errors=Ht,Ge.warnings=Ht,Ge.triggerMetaEvent(),Kt==null||Kt(),Ge.refresh();return}break;case"remove":{if(lt){Ge.reRender();return}break}case"setField":{if(Et){var Tt=je.data;"touched"in Tt&&(Ge.touched=Tt.touched),"validating"in Tt&&!("originRCField"in Tt)&&(Ge.validatePromise=Tt.validating?Promise.resolve([]):null),"errors"in Tt&&(Ge.errors=Tt.errors||Ht),"warnings"in Tt&&(Ge.warnings=Tt.warnings||Ht),Ge.dirty=!0,Ge.triggerMetaEvent(),Ge.reRender();return}if(lt&&!Mt.length&&ke(lt,Pt,zt,Le,Ce,je)){Ge.reRender();return}break}case"dependenciesUpdate":{var Ye=It.map(be);if(Ye.some(function(et){return Je(je.relatedFields,et)})){Ge.reRender();return}break}default:if(Et||(!It.length||Mt.length||lt)&&ke(lt,Pt,zt,Le,Ce,je)){Ge.reRender();return}break}lt===!0&&Ge.reRender()},Ge.validateRules=function(Pt){var dt=Ge.getNamePath(),je=Ge.getValue(),tt=Pt||{},lt=tt.triggerName,bt=tt.validateOnly,It=bt===void 0?!1:bt,Kt=Promise.resolve().then(function(){if(!Ge.mounted)return[];var zt=Ge.props,Mt=zt.validateFirst,Le=Mt===void 0?!1:Mt,Ce=zt.messageVariables,Et=Ge.getRules();lt&&(Et=Et.filter(function(Ye){return Ye}).filter(function(Ye){var et=Ye.validateTrigger;if(!et)return!0;var _t=D(et);return _t.includes(lt)}));var Tt=H(dt,je,Et,Pt,Le,Ce);return Tt.catch(function(Ye){return Ye}).then(function(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ht;if(Ge.validatePromise===Kt){var et;Ge.validatePromise=null;var _t=[],Ut=[];(et=Ye.forEach)===null||et===void 0||et.call(Ye,function(qt){var un=qt.rule.warningOnly,Mn=qt.errors,vn=Mn===void 0?Ht:Mn;un?Ut.push.apply(Ut,(0,d.Z)(vn)):_t.push.apply(_t,(0,d.Z)(vn))}),Ge.errors=_t,Ge.warnings=Ut,Ge.triggerMetaEvent(),Ge.reRender()}}),Tt});return It||(Ge.validatePromise=Kt,Ge.dirty=!0,Ge.errors=Ht,Ge.warnings=Ht,Ge.triggerMetaEvent(),Ge.reRender()),Kt},Ge.isFieldValidating=function(){return!!Ge.validatePromise},Ge.isFieldTouched=function(){return Ge.touched},Ge.isFieldDirty=function(){if(Ge.dirty||Ge.props.initialValue!==void 0)return!0;var Pt=Ge.props.fieldContext,dt=Pt.getInternalHooks(x),je=dt.getInitialValue;return je(Ge.getNamePath())!==void 0},Ge.getErrors=function(){return Ge.errors},Ge.getWarnings=function(){return Ge.warnings},Ge.isListField=function(){return Ge.props.isListField},Ge.isList=function(){return Ge.props.isList},Ge.isPreserve=function(){return Ge.props.preserve},Ge.getMeta=function(){Ge.prevValidating=Ge.isFieldValidating();var Pt={touched:Ge.isFieldTouched(),validating:Ge.prevValidating,errors:Ge.errors,warnings:Ge.warnings,name:Ge.getNamePath(),validated:Ge.validatePromise===null};return Pt},Ge.getOnlyChild=function(Pt){if(typeof Pt=="function"){var dt=Ge.getMeta();return(0,n.Z)((0,n.Z)({},Ge.getOnlyChild(Pt(Ge.getControlled(),dt,Ge.props.fieldContext))),{},{isFunction:!0})}var je=(0,h.Z)(Pt);return je.length!==1||!a.isValidElement(je[0])?{child:je,isFunction:!1}:{child:je[0],isFunction:!1}},Ge.getValue=function(Pt){var dt=Ge.props.fieldContext.getFieldsValue,je=Ge.getNamePath();return(0,ve.Z)(Pt||dt(!0),je)},Ge.getControlled=function(){var Pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},dt=Ge.props,je=dt.trigger,tt=dt.validateTrigger,lt=dt.getValueFromEvent,bt=dt.normalize,It=dt.valuePropName,Kt=dt.getValueProps,zt=dt.fieldContext,Mt=tt!==void 0?tt:zt.validateTrigger,Le=Ge.getNamePath(),Ce=zt.getInternalHooks,Et=zt.getFieldsValue,Tt=Ce(x),Ye=Tt.dispatch,et=Ge.getValue(),_t=Kt||function(Mn){return(0,s.Z)({},It,Mn)},Ut=Pt[je],qt=(0,n.Z)((0,n.Z)({},Pt),_t(et));qt[je]=function(){Ge.touched=!0,Ge.dirty=!0,Ge.triggerMetaEvent();for(var Mn,vn=arguments.length,Xn=new Array(vn),Vn=0;Vn=0&&qt<=un.length?(je.keys=[].concat((0,d.Z)(je.keys.slice(0,qt)),[je.id],(0,d.Z)(je.keys.slice(qt))),Ce([].concat((0,d.Z)(un.slice(0,qt)),[Ut],(0,d.Z)(un.slice(qt))))):(je.keys=[].concat((0,d.Z)(je.keys),[je.id]),Ce([].concat((0,d.Z)(un),[Ut]))),je.id+=1},remove:function(Ut){var qt=Tt(),un=new Set(Array.isArray(Ut)?Ut:[Ut]);un.size<=0||(je.keys=je.keys.filter(function(Mn,vn){return!un.has(vn)}),Ce(qt.filter(function(Mn,vn){return!un.has(vn)})))},move:function(Ut,qt){if(Ut!==qt){var un=Tt();Ut<0||Ut>=un.length||qt<0||qt>=un.length||(je.keys=Ct(je.keys,Ut,qt),Ce(Ct(un,Ut,qt)))}}},et=Le||[];return Array.isArray(et)||(et=[]),it(et.map(function(_t,Ut){var qt=je.keys[Ut];return qt===void 0&&(je.keys[Ut]=je.id,qt=je.keys[Ut],je.id+=1),{name:Ut,key:qt,isListField:!0}}),Ye,zt)})))}var J=he,V=e(28314);function R(_e){var We=!1,Be=_e.length,it=[];return _e.length?new Promise(function(Ge,Ot){_e.forEach(function($t,wt){$t.catch(function(Pt){return We=!0,Pt}).then(function(Pt){Be-=1,it[wt]=Pt,!(Be>0)&&(We&&Ot(it),Ge(it))})})}):Promise.resolve([])}var P="__@field_split__";function B(_e){return _e.map(function(We){return"".concat((0,me.Z)(We),":").concat(We)}).join(P)}var ge=function(){function _e(){(0,l.Z)(this,_e),this.kvs=new Map}return(0,c.Z)(_e,[{key:"set",value:function(Be,it){this.kvs.set(B(Be),it)}},{key:"get",value:function(Be){return this.kvs.get(B(Be))}},{key:"update",value:function(Be,it){var Ge=this.get(Be),Ot=it(Ge);Ot?this.set(Be,Ot):this.delete(Be)}},{key:"delete",value:function(Be){this.kvs.delete(B(Be))}},{key:"map",value:function(Be){return(0,d.Z)(this.kvs.entries()).map(function(it){var Ge=(0,V.Z)(it,2),Ot=Ge[0],$t=Ge[1],wt=Ot.split(P);return Be({key:wt.map(function(Pt){var dt=Pt.match(/^([^:]*):(.*)$/),je=(0,V.Z)(dt,3),tt=je[1],lt=je[2];return tt==="number"?Number(lt):lt}),value:$t})})}},{key:"toJSON",value:function(){var Be={};return this.map(function(it){var Ge=it.key,Ot=it.value;return Be[Ge.join(".")]=Ot,null}),Be}}]),_e}(),ie=ge,pe=["name"],Oe=(0,c.Z)(function _e(We){var Be=this;(0,l.Z)(this,_e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:Be.getFieldValue,getFieldsValue:Be.getFieldsValue,getFieldError:Be.getFieldError,getFieldWarning:Be.getFieldWarning,getFieldsError:Be.getFieldsError,isFieldsTouched:Be.isFieldsTouched,isFieldTouched:Be.isFieldTouched,isFieldValidating:Be.isFieldValidating,isFieldsValidating:Be.isFieldsValidating,resetFields:Be.resetFields,setFields:Be.setFields,setFieldValue:Be.setFieldValue,setFieldsValue:Be.setFieldsValue,validateFields:Be.validateFields,submit:Be.submit,_init:!0,getInternalHooks:Be.getInternalHooks}},this.getInternalHooks=function(it){return it===x?(Be.formHooked=!0,{dispatch:Be.dispatch,initEntityValue:Be.initEntityValue,registerField:Be.registerField,useSubscribe:Be.useSubscribe,setInitialValues:Be.setInitialValues,destroyForm:Be.destroyForm,setCallbacks:Be.setCallbacks,setValidateMessages:Be.setValidateMessages,getFields:Be.getFields,setPreserve:Be.setPreserve,getInitialValue:Be.getInitialValue,registerWatch:Be.registerWatch}):((0,S.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(it){Be.subscribable=it},this.prevWithoutPreserves=null,this.setInitialValues=function(it,Ge){if(Be.initialValues=it||{},Ge){var Ot,$t=(0,ee.T)(it,Be.store);(Ot=Be.prevWithoutPreserves)===null||Ot===void 0||Ot.map(function(wt){var Pt=wt.key;$t=(0,ee.Z)($t,Pt,(0,ve.Z)(it,Pt))}),Be.prevWithoutPreserves=null,Be.updateStore($t)}},this.destroyForm=function(){var it=new ie;Be.getFieldEntities(!0).forEach(function(Ge){Be.isMergedPreserve(Ge.isPreserve())||it.set(Ge.getNamePath(),!0)}),Be.prevWithoutPreserves=it},this.getInitialValue=function(it){var Ge=(0,ve.Z)(Be.initialValues,it);return it.length?(0,ee.T)(Ge):Ge},this.setCallbacks=function(it){Be.callbacks=it},this.setValidateMessages=function(it){Be.validateMessages=it},this.setPreserve=function(it){Be.preserve=it},this.watchList=[],this.registerWatch=function(it){return Be.watchList.push(it),function(){Be.watchList=Be.watchList.filter(function(Ge){return Ge!==it})}},this.notifyWatch=function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(Be.watchList.length){var Ge=Be.getFieldsValue(),Ot=Be.getFieldsValue(!0);Be.watchList.forEach(function($t){$t(Ge,Ot,it)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(it){Be.store=it},this.getFieldEntities=function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return it?Be.fieldEntities.filter(function(Ge){return Ge.getNamePath().length}):Be.fieldEntities},this.getFieldsMap=function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ge=new ie;return Be.getFieldEntities(it).forEach(function(Ot){var $t=Ot.getNamePath();Ge.set($t,Ot)}),Ge},this.getFieldEntitiesForNamePathList=function(it){if(!it)return Be.getFieldEntities(!0);var Ge=Be.getFieldsMap(!0);return it.map(function(Ot){var $t=be(Ot);return Ge.get($t)||{INVALIDATE_NAME_PATH:be(Ot)}})},this.getFieldsValue=function(it,Ge){Be.warningUnhooked();var Ot,$t,wt;if(it===!0||Array.isArray(it)?(Ot=it,$t=Ge):it&&(0,me.Z)(it)==="object"&&(wt=it.strict,$t=it.filter),Ot===!0&&!$t)return Be.store;var Pt=Be.getFieldEntitiesForNamePathList(Array.isArray(Ot)?Ot:null),dt=[];return Pt.forEach(function(je){var tt,lt="INVALIDATE_NAME_PATH"in je?je.INVALIDATE_NAME_PATH:je.getNamePath();if(wt){var bt;if(!((bt=je.isList)===null||bt===void 0)&&bt.call(je))return}else if(!Ot&&(!((tt=je.isListField)===null||tt===void 0)&&tt.call(je)))return;if(!$t)dt.push(lt);else{var It="getMeta"in je?je.getMeta():null;$t(It)&&dt.push(lt)}}),Pe(Be.store,dt.map(be))},this.getFieldValue=function(it){Be.warningUnhooked();var Ge=be(it);return(0,ve.Z)(Be.store,Ge)},this.getFieldsError=function(it){Be.warningUnhooked();var Ge=Be.getFieldEntitiesForNamePathList(it);return Ge.map(function(Ot,$t){return Ot&&!("INVALIDATE_NAME_PATH"in Ot)?{name:Ot.getNamePath(),errors:Ot.getErrors(),warnings:Ot.getWarnings()}:{name:be(it[$t]),errors:[],warnings:[]}})},this.getFieldError=function(it){Be.warningUnhooked();var Ge=be(it),Ot=Be.getFieldsError([Ge])[0];return Ot.errors},this.getFieldWarning=function(it){Be.warningUnhooked();var Ge=be(it),Ot=Be.getFieldsError([Ge])[0];return Ot.warnings},this.isFieldsTouched=function(){Be.warningUnhooked();for(var it=arguments.length,Ge=new Array(it),Ot=0;Ot0&&arguments[0]!==void 0?arguments[0]:{},Ge=new ie,Ot=Be.getFieldEntities(!0);Ot.forEach(function(Pt){var dt=Pt.props.initialValue,je=Pt.getNamePath();if(dt!==void 0){var tt=Ge.get(je)||new Set;tt.add({entity:Pt,value:dt}),Ge.set(je,tt)}});var $t=function(dt){dt.forEach(function(je){var tt=je.props.initialValue;if(tt!==void 0){var lt=je.getNamePath(),bt=Be.getInitialValue(lt);if(bt!==void 0)(0,S.ZP)(!1,"Form already set 'initialValues' with path '".concat(lt.join("."),"'. Field can not overwrite it."));else{var It=Ge.get(lt);if(It&&It.size>1)(0,S.ZP)(!1,"Multiple Field with path '".concat(lt.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(It){var Kt=Be.getFieldValue(lt);(!it.skipExist||Kt===void 0)&&Be.updateStore((0,ee.Z)(Be.store,lt,(0,d.Z)(It)[0].value))}}}})},wt;it.entities?wt=it.entities:it.namePathList?(wt=[],it.namePathList.forEach(function(Pt){var dt=Ge.get(Pt);if(dt){var je;(je=wt).push.apply(je,(0,d.Z)((0,d.Z)(dt).map(function(tt){return tt.entity})))}})):wt=Ot,$t(wt)},this.resetFields=function(it){Be.warningUnhooked();var Ge=Be.store;if(!it){Be.updateStore((0,ee.T)(Be.initialValues)),Be.resetWithFieldInitialValue(),Be.notifyObservers(Ge,null,{type:"reset"}),Be.notifyWatch();return}var Ot=it.map(be);Ot.forEach(function($t){var wt=Be.getInitialValue($t);Be.updateStore((0,ee.Z)(Be.store,$t,wt))}),Be.resetWithFieldInitialValue({namePathList:Ot}),Be.notifyObservers(Ge,Ot,{type:"reset"}),Be.notifyWatch(Ot)},this.setFields=function(it){Be.warningUnhooked();var Ge=Be.store,Ot=[];it.forEach(function($t){var wt=$t.name,Pt=(0,o.Z)($t,pe),dt=be(wt);Ot.push(dt),"value"in Pt&&Be.updateStore((0,ee.Z)(Be.store,dt,Pt.value)),Be.notifyObservers(Ge,[dt],{type:"setField",data:$t})}),Be.notifyWatch(Ot)},this.getFields=function(){var it=Be.getFieldEntities(!0),Ge=it.map(function(Ot){var $t=Ot.getNamePath(),wt=Ot.getMeta(),Pt=(0,n.Z)((0,n.Z)({},wt),{},{name:$t,value:Be.getFieldValue($t)});return Object.defineProperty(Pt,"originRCField",{value:!0}),Pt});return Ge},this.initEntityValue=function(it){var Ge=it.props.initialValue;if(Ge!==void 0){var Ot=it.getNamePath(),$t=(0,ve.Z)(Be.store,Ot);$t===void 0&&Be.updateStore((0,ee.Z)(Be.store,Ot,Ge))}},this.isMergedPreserve=function(it){var Ge=it!==void 0?it:Be.preserve;return Ge!=null?Ge:!0},this.registerField=function(it){Be.fieldEntities.push(it);var Ge=it.getNamePath();if(Be.notifyWatch([Ge]),it.props.initialValue!==void 0){var Ot=Be.store;Be.resetWithFieldInitialValue({entities:[it],skipExist:!0}),Be.notifyObservers(Ot,[it.getNamePath()],{type:"valueUpdate",source:"internal"})}return function($t,wt){var Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(Be.fieldEntities=Be.fieldEntities.filter(function(tt){return tt!==it}),!Be.isMergedPreserve(wt)&&(!$t||Pt.length>1)){var dt=$t?void 0:Be.getInitialValue(Ge);if(Ge.length&&Be.getFieldValue(Ge)!==dt&&Be.fieldEntities.every(function(tt){return!qe(tt.getNamePath(),Ge)})){var je=Be.store;Be.updateStore((0,ee.Z)(je,Ge,dt,!0)),Be.notifyObservers(je,[Ge],{type:"remove"}),Be.triggerDependenciesUpdate(je,Ge)}}Be.notifyWatch([Ge])}},this.dispatch=function(it){switch(it.type){case"updateValue":{var Ge=it.namePath,Ot=it.value;Be.updateValue(Ge,Ot);break}case"validateField":{var $t=it.namePath,wt=it.triggerName;Be.validateFields([$t],{triggerName:wt});break}default:}},this.notifyObservers=function(it,Ge,Ot){if(Be.subscribable){var $t=(0,n.Z)((0,n.Z)({},Ot),{},{store:Be.getFieldsValue(!0)});Be.getFieldEntities().forEach(function(wt){var Pt=wt.onStoreChange;Pt(it,Ge,$t)})}else Be.forceRootUpdate()},this.triggerDependenciesUpdate=function(it,Ge){var Ot=Be.getDependencyChildrenFields(Ge);return Ot.length&&Be.validateFields(Ot),Be.notifyObservers(it,Ot,{type:"dependenciesUpdate",relatedFields:[Ge].concat((0,d.Z)(Ot))}),Ot},this.updateValue=function(it,Ge){var Ot=be(it),$t=Be.store;Be.updateStore((0,ee.Z)(Be.store,Ot,Ge)),Be.notifyObservers($t,[Ot],{type:"valueUpdate",source:"internal"}),Be.notifyWatch([Ot]);var wt=Be.triggerDependenciesUpdate($t,Ot),Pt=Be.callbacks.onValuesChange;if(Pt){var dt=Pe(Be.store,[Ot]);Pt(dt,Be.getFieldsValue())}Be.triggerOnFieldsChange([Ot].concat((0,d.Z)(wt)))},this.setFieldsValue=function(it){Be.warningUnhooked();var Ge=Be.store;if(it){var Ot=(0,ee.T)(Be.store,it);Be.updateStore(Ot)}Be.notifyObservers(Ge,null,{type:"valueUpdate",source:"external"}),Be.notifyWatch()},this.setFieldValue=function(it,Ge){Be.setFields([{name:it,value:Ge}])},this.getDependencyChildrenFields=function(it){var Ge=new Set,Ot=[],$t=new ie;Be.getFieldEntities().forEach(function(Pt){var dt=Pt.props.dependencies;(dt||[]).forEach(function(je){var tt=be(je);$t.update(tt,function(){var lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return lt.add(Pt),lt})})});var wt=function Pt(dt){var je=$t.get(dt)||new Set;je.forEach(function(tt){if(!Ge.has(tt)){Ge.add(tt);var lt=tt.getNamePath();tt.isFieldDirty()&<.length&&(Ot.push(lt),Pt(lt))}})};return wt(it),Ot},this.triggerOnFieldsChange=function(it,Ge){var Ot=Be.callbacks.onFieldsChange;if(Ot){var $t=Be.getFields();if(Ge){var wt=new ie;Ge.forEach(function(dt){var je=dt.name,tt=dt.errors;wt.set(je,tt)}),$t.forEach(function(dt){dt.errors=wt.get(dt.name)||dt.errors})}var Pt=$t.filter(function(dt){var je=dt.name;return Je(it,je)});Pt.length&&Ot(Pt,$t)}},this.validateFields=function(it,Ge){Be.warningUnhooked();var Ot,$t;Array.isArray(it)||typeof it=="string"||typeof Ge=="string"?(Ot=it,$t=Ge):$t=it;var wt=!!Ot,Pt=wt?Ot.map(be):[],dt=[],je=String(Date.now()),tt=new Set;Be.getFieldEntities(!0).forEach(function(Kt){var zt;if(wt||Pt.push(Kt.getNamePath()),!((zt=$t)===null||zt===void 0)&&zt.recursive&&wt){var Mt=Kt.getNamePath();Mt.every(function(Et,Tt){return Ot[Tt]===Et||Ot[Tt]===void 0})&&Pt.push(Mt)}if(!(!Kt.props.rules||!Kt.props.rules.length)){var Le=Kt.getNamePath();if(tt.add(Le.join(je)),!wt||Je(Pt,Le)){var Ce=Kt.validateRules((0,n.Z)({validateMessages:(0,n.Z)((0,n.Z)({},_),Be.validateMessages)},$t));dt.push(Ce.then(function(){return{name:Le,errors:[],warnings:[]}}).catch(function(Et){var Tt,Ye=[],et=[];return(Tt=Et.forEach)===null||Tt===void 0||Tt.call(Et,function(_t){var Ut=_t.rule.warningOnly,qt=_t.errors;Ut?et.push.apply(et,(0,d.Z)(qt)):Ye.push.apply(Ye,(0,d.Z)(qt))}),Ye.length?Promise.reject({name:Le,errors:Ye,warnings:et}):{name:Le,errors:Ye,warnings:et}}))}}});var lt=R(dt);Be.lastValidatePromise=lt,lt.catch(function(Kt){return Kt}).then(function(Kt){var zt=Kt.map(function(Mt){var Le=Mt.name;return Le});Be.notifyObservers(Be.store,zt,{type:"validateFinish"}),Be.triggerOnFieldsChange(zt,Kt)});var bt=lt.then(function(){return Be.lastValidatePromise===lt?Promise.resolve(Be.getFieldsValue(Pt)):Promise.reject([])}).catch(function(Kt){var zt=Kt.filter(function(Mt){return Mt&&Mt.errors.length});return Promise.reject({values:Be.getFieldsValue(Pt),errorFields:zt,outOfDate:Be.lastValidatePromise!==lt})});bt.catch(function(Kt){return Kt});var It=Pt.filter(function(Kt){return tt.has(Kt.join(je))});return Be.triggerOnFieldsChange(It),bt},this.submit=function(){Be.warningUnhooked(),Be.validateFields().then(function(it){var Ge=Be.callbacks.onFinish;if(Ge)try{Ge(it)}catch(Ot){console.error(Ot)}}).catch(function(it){var Ge=Be.callbacks.onFinishFailed;Ge&&Ge(it)})},this.forceRootUpdate=We});function xe(_e){var We=a.useRef(),Be=a.useState({}),it=(0,V.Z)(Be,2),Ge=it[1];if(!We.current)if(_e)We.current=_e;else{var Ot=function(){Ge({})},$t=new Oe(Ot);We.current=$t.getForm()}return[We.current]}var Se=xe,$e=a.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),re=function(We){var Be=We.validateMessages,it=We.onFormChange,Ge=We.onFormFinish,Ot=We.children,$t=a.useContext($e),wt=a.useRef({});return a.createElement($e.Provider,{value:(0,n.Z)((0,n.Z)({},$t),{},{validateMessages:(0,n.Z)((0,n.Z)({},$t.validateMessages),Be),triggerFormChange:function(dt,je){it&&it(dt,{changedFields:je,forms:wt.current}),$t.triggerFormChange(dt,je)},triggerFormFinish:function(dt,je){Ge&&Ge(dt,{values:je,forms:wt.current}),$t.triggerFormFinish(dt,je)},registerForm:function(dt,je){dt&&(wt.current=(0,n.Z)((0,n.Z)({},wt.current),{},(0,s.Z)({},dt,je))),$t.registerForm(dt,je)},unregisterForm:function(dt){var je=(0,n.Z)({},wt.current);delete je[dt],wt.current=je,$t.unregisterForm(dt)}})},Ot)},oe=$e,q=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],ue=function(We,Be){var it=We.name,Ge=We.initialValues,Ot=We.fields,$t=We.form,wt=We.preserve,Pt=We.children,dt=We.component,je=dt===void 0?"form":dt,tt=We.validateMessages,lt=We.validateTrigger,bt=lt===void 0?"onChange":lt,It=We.onValuesChange,Kt=We.onFieldsChange,zt=We.onFinish,Mt=We.onFinishFailed,Le=(0,o.Z)(We,q),Ce=a.useContext(oe),Et=Se($t),Tt=(0,V.Z)(Et,1),Ye=Tt[0],et=Ye.getInternalHooks(x),_t=et.useSubscribe,Ut=et.setInitialValues,qt=et.setCallbacks,un=et.setValidateMessages,Mn=et.setPreserve,vn=et.destroyForm;a.useImperativeHandle(Be,function(){return Ye}),a.useEffect(function(){return Ce.registerForm(it,Ye),function(){Ce.unregisterForm(it)}},[Ce,Ye,it]),un((0,n.Z)((0,n.Z)({},Ce.validateMessages),tt)),qt({onValuesChange:It,onFieldsChange:function(En){if(Ce.triggerFormChange(it,En),Kt){for(var on=arguments.length,pt=new Array(on>1?on-1:0),gt=1;gt0;if(H||k){var ie=(0,c.D7)(qe),pe=(0,M.Z)(ie).length,Oe=(0,s.Z)(k)==="object"?k.formatter({value:ie,count:pe,maxLength:O}):"".concat(pe).concat(ge?" / ".concat(O):"");return l.createElement(l.Fragment,null,!!k&&l.createElement("span",{className:d()("".concat(se,"-show-count-suffix"),(0,o.Z)({},"".concat(se,"-show-count-has-suffix"),!!H),me==null?void 0:me.count),style:(0,t.Z)({},ve==null?void 0:ve.count)},Oe),H)}return null};return l.createElement(g,(0,a.Z)({},be,{prefixCls:se,className:X,inputElement:R(),handleReset:V,value:(0,c.D7)(qe),focused:vt,triggerFocus:Ve,suffix:P(),disabled:Q,classes:de,classNames:me,styles:ve}))}),T=U,N=T},33615:function(b,y,e){"use strict";e.d(y,{D7:function(){return n},He:function(){return a},X3:function(){return t},nH:function(){return s},rJ:function(){return o}});function a(d){return!!(d.addonBefore||d.addonAfter)}function t(d){return!!(d.prefix||d.suffix||d.allowClear)}function o(d,l,c,m){if(c){var g=l;if(l.type==="click"){var M=d.cloneNode(!0);g=Object.create(l,{target:{value:M},currentTarget:{value:M}}),M.value="",c(g);return}if(m!==void 0){g=Object.create(l,{target:{value:d},currentTarget:{value:d}}),d.value=m,c(g);return}c(g)}}function s(d,l){if(d){d.focus(l);var c=l||{},m=c.cursor;if(m){var g=d.value.length;switch(m){case"start":d.setSelectionRange(0,0);break;case"end":d.setSelectionRange(g,g);break;default:d.setSelectionRange(0,g)}}}}function n(d){return typeof d=="undefined"||d===null?"":String(d)}},87854:function(b,y,e){"use strict";e.d(y,{iz:function(){return Xn},ck:function(){return Ge},BW:function(){return vn},sN:function(){return Ge},Wd:function(){return _t},ZP:function(){return on},Xl:function(){return _}});var a=e(60698),t=e(37734),o=e(57370),s=e(29140),n=e(28314),d=e(47075),l=e(87608),c=e.n(l),m=e(9257),g=e(60409),M=e(75556),h=e(58757),S=e(26736),w=e(7637),x=h.createContext(null);function z(pt,gt){return pt===void 0?null:"".concat(pt,"-").concat(gt)}function U(pt){var gt=h.useContext(x);return z(gt,pt)}var T=e(27903),N=["children","locked"],Z=h.createContext(null);function D(pt,gt){var Xt=(0,o.Z)({},pt);return Object.keys(gt).forEach(function(rn){var Jt=gt[rn];Jt!==void 0&&(Xt[rn]=Jt)}),Xt}function L(pt){var gt=pt.children,Xt=pt.locked,rn=(0,d.Z)(pt,N),Jt=h.useContext(Z),pn=(0,T.Z)(function(){return D(Jt,rn)},[Jt,rn],function(mn,Zn){return!Xt&&(mn[0]!==Zn[0]||!(0,w.Z)(mn[1],Zn[1],!0))});return h.createElement(Z.Provider,{value:pn},gt)}var j=[],G=h.createContext(null);function W(){return h.useContext(G)}var ne=h.createContext(j);function _(pt){var gt=h.useContext(ne);return h.useMemo(function(){return pt!==void 0?[].concat((0,s.Z)(gt),[pt]):gt},[gt,pt])}var ee=h.createContext(null),se=h.createContext({}),Q=se,C=e(29639),X=e(61834),O=e(46499);function H(pt){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,O.Z)(pt)){var Xt=pt.nodeName.toLowerCase(),rn=["input","select","textarea","button"].includes(Xt)||pt.isContentEditable||Xt==="a"&&!!pt.getAttribute("href"),Jt=pt.getAttribute("tabindex"),pn=Number(Jt),mn=null;return Jt&&!Number.isNaN(pn)?mn=pn:rn&&mn===null&&(mn=0),rn&&pt.disabled&&(mn=null),mn!==null&&(mn>=0||gt&&mn<0)}return!1}function k(pt){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xt=(0,s.Z)(pt.querySelectorAll("*")).filter(function(rn){return H(rn,gt)});return H(pt,gt)&&Xt.unshift(pt),Xt}var A=null;function Y(){A=document.activeElement}function de(){A=null}function me(){if(A)try{A.focus()}catch(pt){}}function ve(pt,gt){if(gt.keyCode===9){var Xt=k(pt),rn=Xt[gt.shiftKey?0:Xt.length-1],Jt=rn===document.activeElement||pt===document.activeElement;if(Jt){var pn=Xt[gt.shiftKey?Xt.length-1:0];pn.focus(),gt.preventDefault()}}}var be=C.Z.LEFT,Pe=C.Z.RIGHT,Je=C.Z.UP,qe=C.Z.DOWN,Xe=C.Z.ENTER,mt=C.Z.ESC,Ct=C.Z.HOME,vt=C.Z.END,Ht=[Je,qe,be,Pe];function ke(pt,gt,Xt,rn){var Jt,pn,mn,Zn,tr="prev",ut="next",ct="children",Dt="parent";if(pt==="inline"&&rn===Xe)return{inlineTrigger:!0};var xt=(Jt={},(0,t.Z)(Jt,Je,tr),(0,t.Z)(Jt,qe,ut),Jt),kt=(pn={},(0,t.Z)(pn,be,Xt?ut:tr),(0,t.Z)(pn,Pe,Xt?tr:ut),(0,t.Z)(pn,qe,ct),(0,t.Z)(pn,Xe,ct),pn),sn=(mn={},(0,t.Z)(mn,Je,tr),(0,t.Z)(mn,qe,ut),(0,t.Z)(mn,Xe,ct),(0,t.Z)(mn,mt,Dt),(0,t.Z)(mn,be,Xt?ct:Dt),(0,t.Z)(mn,Pe,Xt?Dt:ct),mn),tn={inline:xt,horizontal:kt,vertical:sn,inlineSub:xt,horizontalSub:sn,verticalSub:sn},xn=(Zn=tn["".concat(pt).concat(gt?"":"Sub")])===null||Zn===void 0?void 0:Zn[rn];switch(xn){case tr:return{offset:-1,sibling:!0};case ut:return{offset:1,sibling:!0};case Dt:return{offset:-1,sibling:!1};case ct:return{offset:1,sibling:!1};default:return null}}function Ve(pt){for(var gt=pt;gt;){if(gt.getAttribute("data-menu-list"))return gt;gt=gt.parentElement}return null}function ot(pt,gt){for(var Xt=pt||document.activeElement;Xt;){if(gt.has(Xt))return Xt;Xt=Xt.parentElement}return null}function Ke(pt,gt){var Xt=k(pt,!0);return Xt.filter(function(rn){return gt.has(rn)})}function he(pt,gt,Xt){var rn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!pt)return null;var Jt=Ke(pt,gt),pn=Jt.length,mn=Jt.findIndex(function(Zn){return Xt===Zn});return rn<0?mn===-1?mn=pn-1:mn-=1:rn>0&&(mn+=1),mn=(mn+pn)%pn,Jt[mn]}function J(pt,gt,Xt,rn,Jt,pn,mn,Zn,tr,ut){var ct=h.useRef(),Dt=h.useRef();Dt.current=gt;var xt=function(){X.Z.cancel(ct.current)};return h.useEffect(function(){return function(){xt()}},[]),function(kt){var sn=kt.which;if([].concat(Ht,[Xe,mt,Ct,vt]).includes(sn)){var tn,xn,Nn,gr=function(){tn=new Set,xn=new Map,Nn=new Map;var qr=pn();return qr.forEach(function(ya){var dr=document.querySelector("[data-menu-id='".concat(z(rn,ya),"']"));dr&&(tn.add(dr),Nn.set(dr,ya),xn.set(ya,dr))}),tn};gr();var nr=xn.get(gt),Rn=ot(nr,tn),kr=Nn.get(Rn),fr=ke(pt,mn(kr,!0).length===1,Xt,sn);if(!fr&&sn!==Ct&&sn!==vt)return;(Ht.includes(sn)||[Ct,vt].includes(sn))&&kt.preventDefault();var ua=function(qr){if(qr){var ya=qr,dr=qr.querySelector("a");dr!=null&&dr.getAttribute("href")&&(ya=dr);var Br=Nn.get(qr);Zn(Br),xt(),ct.current=(0,X.Z)(function(){Dt.current===Br&&ya.focus()})}};if([Ct,vt].includes(sn)||fr.sibling||!Rn){var Pr;!Rn||pt==="inline"?Pr=Jt.current:Pr=Ve(Rn);var Bn,Cn=Ke(Pr,tn);sn===Ct?Bn=Cn[0]:sn===vt?Bn=Cn[Cn.length-1]:Bn=he(Pr,tn,Rn,fr.offset),ua(Bn)}else if(fr.inlineTrigger)tr(kr);else if(fr.offset>0)tr(kr,!0),xt(),ct.current=(0,X.Z)(function(){gr();var Qr=Rn.getAttribute("aria-controls"),qr=document.getElementById(Qr),ya=he(qr,tn);ua(ya)},5);else if(fr.offset<0){var wn=mn(kr,!0),ar=wn[wn.length-2],mr=xn.get(ar);tr(ar,!1),ua(mr)}}ut==null||ut(kt)}}function V(pt){Promise.resolve().then(pt)}var R="__RC_UTIL_PATH_SPLIT__",P=function(gt){return gt.join(R)},B=function(gt){return gt.split(R)},ge="rc-menu-more";function ie(){var pt=h.useState({}),gt=(0,n.Z)(pt,2),Xt=gt[1],rn=(0,h.useRef)(new Map),Jt=(0,h.useRef)(new Map),pn=h.useState([]),mn=(0,n.Z)(pn,2),Zn=mn[0],tr=mn[1],ut=(0,h.useRef)(0),ct=(0,h.useRef)(!1),Dt=function(){ct.current||Xt({})},xt=(0,h.useCallback)(function(nr,Rn){var kr=P(Rn);Jt.current.set(kr,nr),rn.current.set(nr,kr),ut.current+=1;var fr=ut.current;V(function(){fr===ut.current&&Dt()})},[]),kt=(0,h.useCallback)(function(nr,Rn){var kr=P(Rn);Jt.current.delete(kr),rn.current.delete(nr)},[]),sn=(0,h.useCallback)(function(nr){tr(nr)},[]),tn=(0,h.useCallback)(function(nr,Rn){var kr=rn.current.get(nr)||"",fr=B(kr);return Rn&&Zn.includes(fr[0])&&fr.unshift(ge),fr},[Zn]),xn=(0,h.useCallback)(function(nr,Rn){return nr.some(function(kr){var fr=tn(kr,!0);return fr.includes(Rn)})},[tn]),Nn=function(){var Rn=(0,s.Z)(rn.current.keys());return Zn.length&&Rn.push(ge),Rn},gr=(0,h.useCallback)(function(nr){var Rn="".concat(rn.current.get(nr)).concat(R),kr=new Set;return(0,s.Z)(Jt.current.keys()).forEach(function(fr){fr.startsWith(Rn)&&kr.add(Jt.current.get(fr))}),kr},[]);return h.useEffect(function(){return function(){ct.current=!0}},[]),{registerPath:xt,unregisterPath:kt,refreshOverflowKeys:sn,isSubPathKey:xn,getKeyPath:tn,getKeys:Nn,getSubPathKeys:gr}}function pe(pt){var gt=h.useRef(pt);gt.current=pt;var Xt=h.useCallback(function(){for(var rn,Jt=arguments.length,pn=new Array(Jt),mn=0;mn1&&(gr.motionAppear=!1);var nr=gr.onVisibleChanged;return gr.onVisibleChanged=function(Rn){return!xt.current&&!Rn&&xn(!0),nr==null?void 0:nr(Rn)},tn?null:h.createElement(L,{mode:pn,locked:!xt.current},h.createElement(Ce.ZP,(0,a.Z)({visible:Nn},gr,{forceRender:tr,removeOnLeave:!1,leavedClassName:"".concat(Zn,"-hidden")}),function(Rn){var kr=Rn.className,fr=Rn.style;return h.createElement(Pt,{id:gt,className:kr,style:fr},Jt)}))}var Tt=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Ye=["active"],et=function(gt){var Xt,rn=gt.style,Jt=gt.className,pn=gt.title,mn=gt.eventKey,Zn=gt.warnKey,tr=gt.disabled,ut=gt.internalPopupClose,ct=gt.children,Dt=gt.itemIcon,xt=gt.expandIcon,kt=gt.popupClassName,sn=gt.popupOffset,tn=gt.onClick,xn=gt.onMouseEnter,Nn=gt.onMouseLeave,gr=gt.onTitleClick,nr=gt.onTitleMouseEnter,Rn=gt.onTitleMouseLeave,kr=(0,d.Z)(gt,Tt),fr=U(mn),ua=h.useContext(Z),Pr=ua.prefixCls,Bn=ua.mode,Cn=ua.openKeys,wn=ua.disabled,ar=ua.overflowDisabled,mr=ua.activeKey,Qr=ua.selectedKeys,qr=ua.itemIcon,ya=ua.expandIcon,dr=ua.onItemClick,Br=ua.onOpenChange,Ea=ua.onActive,ca=h.useContext(Q),Kn=ca._internalRenderSubMenuItem,zn=h.useContext(ee),vr=zn.isSubPathKey,ra=_(),xr="".concat(Pr,"-submenu"),jt=wn||tr,an=h.useRef(),hn=h.useRef(),ao=Dt||qr,Mo=xt||ya,Ua=Cn.includes(mn),Ha=!ar&&Ua,eo=vr(Qr,mn),jo=le(mn,jt,nr,Rn),Wo=jo.active,Eo=(0,d.Z)(jo,Ye),ft=h.useState(!1),Nt=(0,n.Z)(ft,2),Ie=Nt[0],cn=Nt[1],dn=function(Gt){jt||cn(Gt)},_n=function(Gt){dn(!0),xn==null||xn({key:mn,domEvent:Gt})},Tn=function(Gt){dn(!1),Nn==null||Nn({key:mn,domEvent:Gt})},yr=h.useMemo(function(){return Wo||(Bn!=="inline"?Ie||vr([mr],mn):!1)},[Bn,Wo,mr,Ie,mn,vr]),Wr=Ne(ra.length),Da=function(Gt){jt||(gr==null||gr({key:mn,domEvent:Gt}),Bn==="inline"&&Br(mn,!Ua))},la=pe(function(Qa){tn==null||tn(Re(Qa)),dr(Qa)}),ea=function(Gt){Bn!=="inline"&&Br(mn,Gt)},oa=function(){Ea(mn)},Ir=fr&&"".concat(fr,"-popup"),$r=h.createElement("div",(0,a.Z)({role:"menuitem",style:Wr,className:"".concat(xr,"-title"),tabIndex:jt?null:-1,ref:an,title:typeof pn=="string"?pn:null,"data-menu-id":ar&&fr?null:fr,"aria-expanded":Ha,"aria-haspopup":!0,"aria-controls":Ir,"aria-disabled":jt,onClick:Da,onFocus:oa},Eo),pn,h.createElement(Ae,{icon:Bn!=="horizontal"?Mo:null,props:(0,o.Z)((0,o.Z)({},gt),{},{isOpen:Ha,isSubMenu:!0})},h.createElement("i",{className:"".concat(xr,"-arrow")}))),pa=h.useRef(Bn);if(Bn!=="inline"&&ra.length>1?pa.current="vertical":pa.current=Bn,!ar){var La=pa.current;$r=h.createElement(Le,{mode:La,prefixCls:xr,visible:!ut&&Ha&&Bn!=="inline",popupClassName:kt,popupOffset:sn,popup:h.createElement(L,{mode:La==="horizontal"?"vertical":La},h.createElement(Pt,{id:Ir,ref:hn},ct)),disabled:jt,onVisibleChange:ea},$r)}var lo=h.createElement(m.Z.Item,(0,a.Z)({role:"none"},kr,{component:"li",style:rn,className:c()(xr,"".concat(xr,"-").concat(Bn),Jt,(Xt={},(0,t.Z)(Xt,"".concat(xr,"-open"),Ha),(0,t.Z)(Xt,"".concat(xr,"-active"),yr),(0,t.Z)(Xt,"".concat(xr,"-selected"),eo),(0,t.Z)(Xt,"".concat(xr,"-disabled"),jt),Xt)),onMouseEnter:_n,onMouseLeave:Tn}),$r,!ar&&h.createElement(Et,{id:Ir,open:Ha,keyPath:ra},ct));return Kn&&(lo=Kn(lo,gt,{selected:eo,active:yr,open:Ha,disabled:jt})),h.createElement(L,{onItemClick:la,mode:Bn==="horizontal"?"vertical":Bn,itemIcon:ao,expandIcon:Mo},lo)};function _t(pt){var gt=pt.eventKey,Xt=pt.children,rn=_(gt),Jt=je(Xt,rn),pn=W();h.useEffect(function(){if(pn)return pn.registerPath(gt,rn),function(){pn.unregisterPath(gt,rn)}},[rn]);var mn;return pn?mn=Jt:mn=h.createElement(et,pt,Jt),h.createElement(ne.Provider,{value:rn},mn)}var Ut=e(38790),qt=["className","title","eventKey","children"],un=["children"],Mn=function(gt){var Xt=gt.className,rn=gt.title,Jt=gt.eventKey,pn=gt.children,mn=(0,d.Z)(gt,qt),Zn=h.useContext(Z),tr=Zn.prefixCls,ut="".concat(tr,"-item-group");return h.createElement("li",(0,a.Z)({role:"presentation"},mn,{onClick:function(Dt){return Dt.stopPropagation()},className:c()(ut,Xt)}),h.createElement("div",{role:"presentation",className:"".concat(ut,"-title"),title:typeof rn=="string"?rn:void 0},rn),h.createElement("ul",{role:"group",className:"".concat(ut,"-list")},pn))};function vn(pt){var gt=pt.children,Xt=(0,d.Z)(pt,un),rn=_(Xt.eventKey),Jt=je(gt,rn),pn=W();return pn?Jt:h.createElement(Mn,(0,ue.Z)(Xt,["warnKey"]),Jt)}function Xn(pt){var gt=pt.className,Xt=pt.style,rn=h.useContext(Z),Jt=rn.prefixCls,pn=W();return pn?null:h.createElement("li",{className:c()("".concat(Jt,"-item-divider"),gt),style:Xt})}var Vn=["label","children","key","type"];function or(pt){return(pt||[]).map(function(gt,Xt){if(gt&&(0,Ut.Z)(gt)==="object"){var rn=gt,Jt=rn.label,pn=rn.children,mn=rn.key,Zn=rn.type,tr=(0,d.Z)(rn,Vn),ut=mn!=null?mn:"tmp-".concat(Xt);return pn||Zn==="group"?Zn==="group"?h.createElement(vn,(0,a.Z)({key:ut},tr,{title:Jt}),or(pn)):h.createElement(_t,(0,a.Z)({key:ut},tr,{title:Jt}),or(pn)):Zn==="divider"?h.createElement(Xn,(0,a.Z)({key:ut},tr)):h.createElement(Ge,(0,a.Z)({key:ut},tr),Jt)}return null}).filter(function(gt){return gt})}function er(pt,gt,Xt){var rn=pt;return gt&&(rn=or(gt)),je(rn,Xt)}var Wt=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],en=[],nn=h.forwardRef(function(pt,gt){var Xt,rn,Jt=pt,pn=Jt.prefixCls,mn=pn===void 0?"rc-menu":pn,Zn=Jt.rootClassName,tr=Jt.style,ut=Jt.className,ct=Jt.tabIndex,Dt=ct===void 0?0:ct,xt=Jt.items,kt=Jt.children,sn=Jt.direction,tn=Jt.id,xn=Jt.mode,Nn=xn===void 0?"vertical":xn,gr=Jt.inlineCollapsed,nr=Jt.disabled,Rn=Jt.disabledOverflow,kr=Jt.subMenuOpenDelay,fr=kr===void 0?.1:kr,ua=Jt.subMenuCloseDelay,Pr=ua===void 0?.1:ua,Bn=Jt.forceSubMenuRender,Cn=Jt.defaultOpenKeys,wn=Jt.openKeys,ar=Jt.activeKey,mr=Jt.defaultActiveFirst,Qr=Jt.selectable,qr=Qr===void 0?!0:Qr,ya=Jt.multiple,dr=ya===void 0?!1:ya,Br=Jt.defaultSelectedKeys,Ea=Jt.selectedKeys,ca=Jt.onSelect,Kn=Jt.onDeselect,zn=Jt.inlineIndent,vr=zn===void 0?24:zn,ra=Jt.motion,xr=Jt.defaultMotions,jt=Jt.triggerSubMenuAction,an=jt===void 0?"hover":jt,hn=Jt.builtinPlacements,ao=Jt.itemIcon,Mo=Jt.expandIcon,Ua=Jt.overflowedIndicator,Ha=Ua===void 0?"...":Ua,eo=Jt.overflowedIndicatorPopupClassName,jo=Jt.getPopupContainer,Wo=Jt.onClick,Eo=Jt.onOpenChange,ft=Jt.onKeyDown,Nt=Jt.openAnimation,Ie=Jt.openTransitionName,cn=Jt._internalRenderMenuItem,dn=Jt._internalRenderSubMenuItem,_n=(0,d.Z)(Jt,Wt),Tn=h.useMemo(function(){return er(kt,xt,en)},[kt,xt]),yr=h.useState(!1),Wr=(0,n.Z)(yr,2),Da=Wr[0],la=Wr[1],ea=h.useRef(),oa=Se(tn),Ir=sn==="rtl",$r=(0,g.Z)(Cn,{value:wn,postState:function(Fa){return Fa||en}}),pa=(0,n.Z)($r,2),La=pa[0],lo=pa[1],Qa=function(Fa){var Na=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Bo(){lo(Fa),Eo==null||Eo(Fa)}Na?(0,S.flushSync)(Bo):Bo()},Gt=h.useState(La),yn=(0,n.Z)(Gt,2),jn=yn[0],Gn=yn[1],br=h.useRef(!1),Hr=h.useMemo(function(){return(Nn==="inline"||Nn==="vertical")&&gr?["vertical",gr]:[Nn,!1]},[Nn,gr]),ta=(0,n.Z)(Hr,2),sr=ta[0],zr=ta[1],va=sr==="inline",Sr=h.useState(sr),xa=(0,n.Z)(Sr,2),Xa=xa[0],bo=xa[1],Oo=h.useState(zr),Va=(0,n.Z)(Oo,2),xo=Va[0],io=Va[1];h.useEffect(function(){bo(sr),io(zr),br.current&&(va?lo(jn):Qa(en))},[sr,zr]);var Ca=h.useState(0),_a=(0,n.Z)(Ca,2),Io=_a[0],Yo=_a[1],ni=Io>=Tn.length-1||Xa!=="horizontal"||Rn;h.useEffect(function(){va&&Gn(La)},[La]),h.useEffect(function(){return br.current=!0,function(){br.current=!1}},[]);var co=ie(),Mi=co.registerPath,ai=co.unregisterPath,Po=co.refreshOverflowKeys,li=co.isSubPathKey,Pi=co.getKeyPath,hi=co.getKeys,yi=co.getSubPathKeys,Zi=h.useMemo(function(){return{registerPath:Mi,unregisterPath:ai}},[Mi,ai]),ji=h.useMemo(function(){return{isSubPathKey:li}},[li]);h.useEffect(function(){Po(ni?en:Tn.slice(Io+1).map(function(ja){return ja.key}))},[Io,ni]);var oo=(0,g.Z)(ar||mr&&((Xt=Tn[0])===null||Xt===void 0?void 0:Xt.key),{value:ar}),Ja=(0,n.Z)(oo,2),ri=Ja[0],oi=Ja[1],No=pe(function(ja){oi(ja)}),zo=pe(function(){oi(void 0)});(0,h.useImperativeHandle)(gt,function(){return{list:ea.current,focus:function(Fa){var Na,Bo=ri!=null?ri:(Na=Tn.find(function(ps){return!ps.props.disabled}))===null||Na===void 0?void 0:Na.key;if(Bo){var Vo,Go,Bi;(Vo=ea.current)===null||Vo===void 0||(Go=Vo.querySelector("li[data-menu-id='".concat(z(oa,Bo),"']")))===null||Go===void 0||(Bi=Go.focus)===null||Bi===void 0||Bi.call(Go,Fa)}}}});var xi=(0,g.Z)(Br||[],{value:Ea,postState:function(Fa){return Array.isArray(Fa)?Fa:Fa==null?en:[Fa]}}),Ui=(0,n.Z)(xi,2),ki=Ui[0],Ts=Ui[1],fs=function(Fa){if(qr){var Na=Fa.key,Bo=ki.includes(Na),Vo;dr?Bo?Vo=ki.filter(function(Bi){return Bi!==Na}):Vo=[].concat((0,s.Z)(ki),[Na]):Vo=[Na],Ts(Vo);var Go=(0,o.Z)((0,o.Z)({},Fa),{},{selectedKeys:Vo});Bo?Kn==null||Kn(Go):ca==null||ca(Go)}!dr&&La.length&&Xa!=="inline"&&Qa(en)},Xs=pe(function(ja){Wo==null||Wo(Re(ja)),fs(ja)}),zl=pe(function(ja,Fa){var Na=La.filter(function(Vo){return Vo!==ja});if(Fa)Na.push(ja);else if(Xa!=="inline"){var Bo=yi(ja);Na=Na.filter(function(Vo){return!Bo.has(Vo)})}(0,w.Z)(La,Na,!0)||Qa(Na,!0)}),kn=function(Fa,Na){var Bo=Na!=null?Na:!La.includes(Fa);zl(Fa,Bo)},_r=J(Xa,ri,Ir,oa,ea,hi,Pi,oi,kn,ft);h.useEffect(function(){la(!0)},[]);var Dr=h.useMemo(function(){return{_internalRenderMenuItem:cn,_internalRenderSubMenuItem:dn}},[cn,dn]),Zr=Xa!=="horizontal"||Rn?Tn:Tn.map(function(ja,Fa){return h.createElement(L,{key:ja.key,overflowDisabled:Fa>Io},ja)}),sa=h.createElement(m.Z,(0,a.Z)({id:tn,ref:ea,prefixCls:"".concat(mn,"-overflow"),component:"ul",itemComponent:Ge,className:c()(mn,"".concat(mn,"-root"),"".concat(mn,"-").concat(Xa),ut,(rn={},(0,t.Z)(rn,"".concat(mn,"-inline-collapsed"),xo),(0,t.Z)(rn,"".concat(mn,"-rtl"),Ir),rn),Zn),dir:sn,style:tr,role:"menu",tabIndex:Dt,data:Zr,renderRawItem:function(Fa){return Fa},renderRawRest:function(Fa){var Na=Fa.length,Bo=Na?Tn.slice(-Na):null;return h.createElement(_t,{eventKey:ge,title:Ha,disabled:ni,internalPopupClose:Na===0,popupClassName:eo},Bo)},maxCount:Xa!=="horizontal"||Rn?m.Z.INVALIDATE:m.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Fa){Yo(Fa)},onKeyDown:_r},_n));return h.createElement(Q.Provider,{value:Dr},h.createElement(x.Provider,{value:oa},h.createElement(L,{prefixCls:mn,rootClassName:Zn,mode:Xa,openKeys:La,rtl:Ir,disabled:nr,motion:Da?ra:null,defaultMotions:Da?xr:null,activeKey:ri,onActive:No,onInactive:zo,selectedKeys:ki,inlineIndent:vr,subMenuOpenDelay:fr,subMenuCloseDelay:Pr,forceSubMenuRender:Bn,builtinPlacements:hn,triggerSubMenuAction:an,getPopupContainer:jo,itemIcon:ao,expandIcon:Mo,onItemClick:Xs,onOpenChange:zl},h.createElement(ee.Provider,{value:ji},sa),h.createElement("div",{style:{display:"none"},"aria-hidden":!0},h.createElement(G.Provider,{value:Zi},Tn)))))}),fn=nn,En=fn;En.Item=Ge,En.SubMenu=_t,En.ItemGroup=vn,En.Divider=Xn;var on=En},17598:function(b,y,e){"use strict";e.d(y,{V4:function(){return le},zt:function(){return S},ZP:function(){return Ne}});var a=e(37734),t=e(57370),o=e(28314),s=e(38790),n=e(87608),d=e.n(n),l=e(69188),c=e(21319),m=e(58757),g=e(47075),M=["children"],h=m.createContext({});function S(Ae){var we=Ae.children,Re=(0,g.Z)(Ae,M);return m.createElement(h.Provider,{value:Re},we)}var w=e(60412),x=e(14346),z=e(87498),U=e(73726),T=function(Ae){(0,z.Z)(Re,Ae);var we=(0,U.Z)(Re);function Re(){return(0,w.Z)(this,Re),we.apply(this,arguments)}return(0,x.Z)(Re,[{key:"render",value:function(){return this.props.children}}]),Re}(m.Component),N=T,Z=e(13989),D="none",L="appear",j="enter",G="leave",W="none",ne="prepare",_="start",ee="active",se="end",Q="prepared",C=e(19075);function X(Ae,we){var Re={};return Re[Ae.toLowerCase()]=we.toLowerCase(),Re["Webkit".concat(Ae)]="webkit".concat(we),Re["Moz".concat(Ae)]="moz".concat(we),Re["ms".concat(Ae)]="MS".concat(we),Re["O".concat(Ae)]="o".concat(we.toLowerCase()),Re}function O(Ae,we){var Re={animationend:X("Animation","AnimationEnd"),transitionend:X("Transition","TransitionEnd")};return Ae&&("AnimationEvent"in we||delete Re.animationend.animation,"TransitionEvent"in we||delete Re.transitionend.transition),Re}var H=O((0,C.Z)(),typeof window!="undefined"?window:{}),k={};if((0,C.Z)()){var A=document.createElement("div");k=A.style}var Y={};function de(Ae){if(Y[Ae])return Y[Ae];var we=H[Ae];if(we)for(var Re=Object.keys(we),st=Re.length,nt=0;nt1&&arguments[1]!==void 0?arguments[1]:2;we();var _e=(0,vt.Z)(function(){nt<=1?st({isCanceled:function(){return _e!==Ae.current}}):Re(st,nt-1)});Ae.current=_e}return m.useEffect(function(){return function(){we()}},[]),[Re,we]},ke=[ne,_,ee,se],Ve=[ne,Q],ot=!1,Ke=!0;function he(Ae){return Ae===ee||Ae===se}var J=function(Ae,we,Re){var st=(0,Z.Z)(W),nt=(0,o.Z)(st,2),_e=nt[0],We=nt[1],Be=Ht(),it=(0,o.Z)(Be,2),Ge=it[0],Ot=it[1];function $t(){We(ne,!0)}var wt=we?Ve:ke;return Ct(function(){if(_e!==W&&_e!==se){var Pt=wt.indexOf(_e),dt=wt[Pt+1],je=Re(_e);je===ot?We(dt,!0):dt&&Ge(function(tt){function lt(){tt.isCanceled()||We(dt,!0)}je===!0?lt():Promise.resolve(je).then(lt)})}},[Ae,_e]),m.useEffect(function(){return function(){Ot()}},[]),[$t,_e]};function V(Ae,we,Re,st){var nt=st.motionEnter,_e=nt===void 0?!0:nt,We=st.motionAppear,Be=We===void 0?!0:We,it=st.motionLeave,Ge=it===void 0?!0:it,Ot=st.motionDeadline,$t=st.motionLeaveImmediately,wt=st.onAppearPrepare,Pt=st.onEnterPrepare,dt=st.onLeavePrepare,je=st.onAppearStart,tt=st.onEnterStart,lt=st.onLeaveStart,bt=st.onAppearActive,It=st.onEnterActive,Kt=st.onLeaveActive,zt=st.onAppearEnd,Mt=st.onEnterEnd,Le=st.onLeaveEnd,Ce=st.onVisibleChanged,Et=(0,Z.Z)(),Tt=(0,o.Z)(Et,2),Ye=Tt[0],et=Tt[1],_t=(0,Z.Z)(D),Ut=(0,o.Z)(_t,2),qt=Ut[0],un=Ut[1],Mn=(0,Z.Z)(null),vn=(0,o.Z)(Mn,2),Xn=vn[0],Vn=vn[1],or=(0,m.useRef)(!1),er=(0,m.useRef)(null);function Wt(){return Re()}var en=(0,m.useRef)(!1);function nn(){un(D,!0),Vn(null,!0)}function fn(ct){var Dt=Wt();if(!(ct&&!ct.deadline&&ct.target!==Dt)){var xt=en.current,kt;qt===L&&xt?kt=zt==null?void 0:zt(Dt,ct):qt===j&&xt?kt=Mt==null?void 0:Mt(Dt,ct):qt===G&&xt&&(kt=Le==null?void 0:Le(Dt,ct)),qt!==D&&xt&&kt!==!1&&nn()}}var En=Xe(fn),on=(0,o.Z)(En,1),pt=on[0],gt=function(Dt){var xt,kt,sn;switch(Dt){case L:return xt={},(0,a.Z)(xt,ne,wt),(0,a.Z)(xt,_,je),(0,a.Z)(xt,ee,bt),xt;case j:return kt={},(0,a.Z)(kt,ne,Pt),(0,a.Z)(kt,_,tt),(0,a.Z)(kt,ee,It),kt;case G:return sn={},(0,a.Z)(sn,ne,dt),(0,a.Z)(sn,_,lt),(0,a.Z)(sn,ee,Kt),sn;default:return{}}},Xt=m.useMemo(function(){return gt(qt)},[qt]),rn=J(qt,!Ae,function(ct){if(ct===ne){var Dt=Xt[ne];return Dt?Dt(Wt()):ot}if(mn in Xt){var xt;Vn(((xt=Xt[mn])===null||xt===void 0?void 0:xt.call(Xt,Wt(),null))||null)}return mn===ee&&(pt(Wt()),Ot>0&&(clearTimeout(er.current),er.current=setTimeout(function(){fn({deadline:!0})},Ot))),mn===Q&&nn(),Ke}),Jt=(0,o.Z)(rn,2),pn=Jt[0],mn=Jt[1],Zn=he(mn);en.current=Zn,Ct(function(){et(we);var ct=or.current;or.current=!0;var Dt;!ct&&we&&Be&&(Dt=L),ct&&we&&_e&&(Dt=j),(ct&&!we&&Ge||!ct&&$t&&!we&&Ge)&&(Dt=G);var xt=gt(Dt);Dt&&(Ae||xt[ne])?(un(Dt),pn()):un(D)},[we]),(0,m.useEffect)(function(){(qt===L&&!Be||qt===j&&!_e||qt===G&&!Ge)&&un(D)},[Be,_e,Ge]),(0,m.useEffect)(function(){return function(){or.current=!1,clearTimeout(er.current)}},[]);var tr=m.useRef(!1);(0,m.useEffect)(function(){Ye&&(tr.current=!0),Ye!==void 0&&qt===D&&((tr.current||Ye)&&(Ce==null||Ce(Ye)),tr.current=!0)},[Ye,qt]);var ut=Xn;return Xt[ne]&&mn===_&&(ut=(0,t.Z)({transition:"none"},ut)),[qt,mn,ut,Ye!=null?Ye:we]}function R(Ae){var we=Ae;(0,s.Z)(Ae)==="object"&&(we=Ae.transitionSupport);function Re(nt,_e){return!!(nt.motionName&&we&&_e!==!1)}var st=m.forwardRef(function(nt,_e){var We=nt.visible,Be=We===void 0?!0:We,it=nt.removeOnLeave,Ge=it===void 0?!0:it,Ot=nt.forceRender,$t=nt.children,wt=nt.motionName,Pt=nt.leavedClassName,dt=nt.eventProps,je=m.useContext(h),tt=je.motion,lt=Re(nt,tt),bt=(0,m.useRef)(),It=(0,m.useRef)();function Kt(){try{return bt.current instanceof HTMLElement?bt.current:(0,l.Z)(It.current)}catch(Vn){return null}}var zt=V(lt,Be,Kt,nt),Mt=(0,o.Z)(zt,4),Le=Mt[0],Ce=Mt[1],Et=Mt[2],Tt=Mt[3],Ye=m.useRef(Tt);Tt&&(Ye.current=!0);var et=m.useCallback(function(Vn){bt.current=Vn,(0,c.mH)(_e,Vn)},[_e]),_t,Ut=(0,t.Z)((0,t.Z)({},dt),{},{visible:Be});if(!$t)_t=null;else if(Le===D)Tt?_t=$t((0,t.Z)({},Ut),et):!Ge&&Ye.current&&Pt?_t=$t((0,t.Z)((0,t.Z)({},Ut),{},{className:Pt}),et):Ot||!Ge&&!Pt?_t=$t((0,t.Z)((0,t.Z)({},Ut),{},{style:{display:"none"}}),et):_t=null;else{var qt,un;Ce===ne?un="prepare":he(Ce)?un="active":Ce===_&&(un="start");var Mn=qe(wt,"".concat(Le,"-").concat(un));_t=$t((0,t.Z)((0,t.Z)({},Ut),{},{className:d()(qe(wt,Le),(qt={},(0,a.Z)(qt,Mn,Mn&&un),(0,a.Z)(qt,wt,typeof wt=="string"),qt)),style:Et}),et)}if(m.isValidElement(_t)&&(0,c.Yr)(_t)){var vn=_t,Xn=vn.ref;Xn||(_t=m.cloneElement(_t,{ref:et}))}return m.createElement(N,{ref:It},_t)});return st.displayName="CSSMotion",st}var P=R(be),B=e(60698),ge=e(86717),ie="add",pe="keep",Oe="remove",xe="removed";function Se(Ae){var we;return Ae&&(0,s.Z)(Ae)==="object"&&"key"in Ae?we=Ae:we={key:Ae},(0,t.Z)((0,t.Z)({},we),{},{key:String(we.key)})}function $e(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Ae.map(Se)}function re(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Re=[],st=0,nt=we.length,_e=$e(Ae),We=$e(we);_e.forEach(function(Ge){for(var Ot=!1,$t=st;$t1});return it.forEach(function(Ge){Re=Re.filter(function(Ot){var $t=Ot.key,wt=Ot.status;return $t!==Ge||wt!==Oe}),Re.forEach(function(Ot){Ot.key===Ge&&(Ot.status=pe)})}),Re}var oe=["component","children","onVisibleChanged","onAllRemoved"],q=["status"],ue=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Ee(Ae){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:P,Re=function(st){(0,z.Z)(_e,st);var nt=(0,U.Z)(_e);function _e(){var We;(0,w.Z)(this,_e);for(var Be=arguments.length,it=new Array(Be),Ge=0;Ge0){var Xe=setTimeout(function(){Pe()},ee*1e3);return function(){clearTimeout(Xe)}}},[ee,ve,Y]);var qe="".concat(G,"-notice");return s.createElement("div",(0,n.Z)({},H,{ref:j,className:g()(qe,ne,(0,M.Z)({},"".concat(qe,"-closable"),C)),style:W,onMouseEnter:function(){be(!0)},onMouseLeave:function(){be(!1)},onClick:k}),s.createElement("div",{className:"".concat(qe,"-content")},Q),C&&s.createElement("a",{tabIndex:0,className:"".concat(qe,"-close"),onKeyDown:Je,onClick:function(mt){mt.preventDefault(),mt.stopPropagation(),Pe()}},O))}),w=S,x=s.forwardRef(function(L,j){var G=L.prefixCls,W=G===void 0?"rc-notification":G,ne=L.container,_=L.motion,ee=L.maxCount,se=L.className,Q=L.style,C=L.onAllRemoved,X=s.useState([]),O=(0,t.Z)(X,2),H=O[0],k=O[1],A=function(Xe){var mt,Ct=H.find(function(vt){return vt.key===Xe});Ct==null||(mt=Ct.onClose)===null||mt===void 0||mt.call(Ct),k(function(vt){return vt.filter(function(Ht){return Ht.key!==Xe})})};s.useImperativeHandle(j,function(){return{open:function(Xe){k(function(mt){var Ct=(0,a.Z)(mt),vt=Ct.findIndex(function(Ve){return Ve.key===Xe.key}),Ht=(0,d.Z)({},Xe);if(vt>=0){var ke;Ht.times=(((ke=mt[vt])===null||ke===void 0?void 0:ke.times)||0)+1,Ct[vt]=Ht}else Ht.times=0,Ct.push(Ht);return ee>0&&Ct.length>ee&&(Ct=Ct.slice(-ee)),Ct})},close:function(Xe){A(Xe)},destroy:function(){k([])}}});var Y=s.useState({}),de=(0,t.Z)(Y,2),me=de[0],ve=de[1];s.useEffect(function(){var qe={};H.forEach(function(Xe){var mt=Xe.placement,Ct=mt===void 0?"topRight":mt;Ct&&(qe[Ct]=qe[Ct]||[],qe[Ct].push(Xe))}),Object.keys(me).forEach(function(Xe){qe[Xe]=qe[Xe]||[]}),ve(qe)},[H]);var be=function(Xe){ve(function(mt){var Ct=(0,d.Z)({},mt),vt=Ct[Xe]||[];return vt.length||delete Ct[Xe],Ct})},Pe=s.useRef(!1);if(s.useEffect(function(){Object.keys(me).length>0?Pe.current=!0:Pe.current&&(C==null||C(),Pe.current=!1)},[me]),!ne)return null;var Je=Object.keys(me);return(0,l.createPortal)(s.createElement(s.Fragment,null,Je.map(function(qe){var Xe=me[qe],mt=Xe.map(function(vt){return{config:vt,key:vt.key}}),Ct=typeof _=="function"?_(qe):_;return s.createElement(c.V4,(0,n.Z)({key:qe,className:g()(W,"".concat(W,"-").concat(qe),se==null?void 0:se(qe)),style:Q==null?void 0:Q(qe),keys:mt,motionAppear:!0},Ct,{onAllRemoved:function(){be(qe)}}),function(vt,Ht){var ke=vt.config,Ve=vt.className,ot=vt.style,Ke=ke.key,he=ke.times,J=ke.className,V=ke.style;return s.createElement(w,(0,n.Z)({},ke,{ref:Ht,prefixCls:W,className:g()(Ve,J),style:(0,d.Z)((0,d.Z)({},ot),V),times:he,key:Ke,eventKey:Ke,onNoticeClose:A}))})})),ne)}),z=x,U=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved"],T=function(){return document.body},N=0;function Z(){for(var L={},j=arguments.length,G=new Array(j),W=0;W0&&arguments[0]!==void 0?arguments[0]:{},j=L.getContainer,G=j===void 0?T:j,W=L.motion,ne=L.prefixCls,_=L.maxCount,ee=L.className,se=L.style,Q=L.onAllRemoved,C=(0,o.Z)(L,U),X=s.useState(),O=(0,t.Z)(X,2),H=O[0],k=O[1],A=s.useRef(),Y=s.createElement(z,{container:H,ref:A,prefixCls:ne,motion:W,maxCount:_,className:ee,style:se,onAllRemoved:Q}),de=s.useState([]),me=(0,t.Z)(de,2),ve=me[0],be=me[1],Pe=s.useMemo(function(){return{open:function(qe){var Xe=Z(C,qe);(Xe.key===null||Xe.key===void 0)&&(Xe.key="rc-notification-".concat(N),N+=1),be(function(mt){return[].concat((0,a.Z)(mt),[{type:"open",config:Xe}])})},close:function(qe){be(function(Xe){return[].concat((0,a.Z)(Xe),[{type:"close",key:qe}])})},destroy:function(){be(function(qe){return[].concat((0,a.Z)(qe),[{type:"destroy"}])})}}},[]);return s.useEffect(function(){k(G())}),s.useEffect(function(){A.current&&ve.length&&(ve.forEach(function(Je){switch(Je.type){case"open":A.current.open(Je.config);break;case"close":A.current.close(Je.key);break;case"destroy":A.current.destroy();break}}),be(function(Je){return Je.filter(function(qe){return!ve.includes(qe)})}))},[ve]),[Pe,Y]}},9257:function(b,y,e){"use strict";e.d(y,{Z:function(){return k}});var a=e(60698),t=e(57370),o=e(28314),s=e(47075),n=e(58757),d=e(87608),l=e.n(d),c=e(19425),m=e(81334),g=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],M=void 0;function h(A,Y){var de=A.prefixCls,me=A.invalidate,ve=A.item,be=A.renderItem,Pe=A.responsive,Je=A.responsiveDisabled,qe=A.registerSize,Xe=A.itemKey,mt=A.className,Ct=A.style,vt=A.children,Ht=A.display,ke=A.order,Ve=A.component,ot=Ve===void 0?"div":Ve,Ke=(0,s.Z)(A,g),he=Pe&&!Ht;function J(ge){qe(Xe,ge)}n.useEffect(function(){return function(){J(null)}},[]);var V=be&&ve!==M?be(ve):vt,R;me||(R={opacity:he?0:1,height:he?0:M,overflowY:he?"hidden":M,order:Pe?ke:M,pointerEvents:he?"none":M,position:he?"absolute":M});var P={};he&&(P["aria-hidden"]=!0);var B=n.createElement(ot,(0,a.Z)({className:l()(!me&&de,mt),style:(0,t.Z)((0,t.Z)({},R),Ct)},P,Ke,{ref:Y}),V);return Pe&&(B=n.createElement(c.Z,{onResize:function(ie){var pe=ie.offsetWidth;J(pe)},disabled:Je},B)),B}var S=n.forwardRef(h);S.displayName="Item";var w=S,x=e(51729),z=e(26736),U=e(61834);function T(A){if(typeof MessageChannel=="undefined")(0,U.Z)(A);else{var Y=new MessageChannel;Y.port1.onmessage=function(){return A()},Y.port2.postMessage(void 0)}}function N(){var A=n.useRef(null),Y=function(me){A.current||(A.current=[],T(function(){(0,z.unstable_batchedUpdates)(function(){A.current.forEach(function(ve){ve()}),A.current=null})})),A.current.push(me)};return Y}function Z(A,Y){var de=n.useState(Y),me=(0,o.Z)(de,2),ve=me[0],be=me[1],Pe=(0,x.Z)(function(Je){A(function(){be(Je)})});return[ve,Pe]}var D=n.createContext(null),L=["component"],j=["className"],G=["className"],W=function(Y,de){var me=n.useContext(D);if(!me){var ve=Y.component,be=ve===void 0?"div":ve,Pe=(0,s.Z)(Y,L);return n.createElement(be,(0,a.Z)({},Pe,{ref:de}))}var Je=me.className,qe=(0,s.Z)(me,j),Xe=Y.className,mt=(0,s.Z)(Y,G);return n.createElement(D.Provider,{value:null},n.createElement(w,(0,a.Z)({ref:de,className:l()(Je,Xe)},qe,mt)))},ne=n.forwardRef(W);ne.displayName="RawItem";var _=ne,ee=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],se="responsive",Q="invalidate";function C(A){return"+ ".concat(A.length," ...")}function X(A,Y){var de=A.prefixCls,me=de===void 0?"rc-overflow":de,ve=A.data,be=ve===void 0?[]:ve,Pe=A.renderItem,Je=A.renderRawItem,qe=A.itemKey,Xe=A.itemWidth,mt=Xe===void 0?10:Xe,Ct=A.ssr,vt=A.style,Ht=A.className,ke=A.maxCount,Ve=A.renderRest,ot=A.renderRawRest,Ke=A.suffix,he=A.component,J=he===void 0?"div":he,V=A.itemComponent,R=A.onVisibleChange,P=(0,s.Z)(A,ee),B=Ct==="full",ge=N(),ie=Z(ge,null),pe=(0,o.Z)(ie,2),Oe=pe[0],xe=pe[1],Se=Oe||0,$e=Z(ge,new Map),re=(0,o.Z)($e,2),oe=re[0],q=re[1],ue=Z(ge,0),Ee=(0,o.Z)(ue,2),le=Ee[0],Ne=Ee[1],Ae=Z(ge,0),we=(0,o.Z)(Ae,2),Re=we[0],st=we[1],nt=Z(ge,0),_e=(0,o.Z)(nt,2),We=_e[0],Be=_e[1],it=(0,n.useState)(null),Ge=(0,o.Z)(it,2),Ot=Ge[0],$t=Ge[1],wt=(0,n.useState)(null),Pt=(0,o.Z)(wt,2),dt=Pt[0],je=Pt[1],tt=n.useMemo(function(){return dt===null&&B?Number.MAX_SAFE_INTEGER:dt||0},[dt,Oe]),lt=(0,n.useState)(!1),bt=(0,o.Z)(lt,2),It=bt[0],Kt=bt[1],zt="".concat(me,"-item"),Mt=Math.max(le,Re),Le=ke===se,Ce=be.length&&Le,Et=ke===Q,Tt=Ce||typeof ke=="number"&&be.length>ke,Ye=(0,n.useMemo)(function(){var pt=be;return Ce?Oe===null&&B?pt=be:pt=be.slice(0,Math.min(be.length,Se/mt)):typeof ke=="number"&&(pt=be.slice(0,ke)),pt},[be,mt,Oe,ke,Ce]),et=(0,n.useMemo)(function(){return Ce?be.slice(tt+1):be.slice(Ye.length)},[be,Ye,Ce,tt]),_t=(0,n.useCallback)(function(pt,gt){var Xt;return typeof qe=="function"?qe(pt):(Xt=qe&&(pt==null?void 0:pt[qe]))!==null&&Xt!==void 0?Xt:gt},[qe]),Ut=(0,n.useCallback)(Pe||function(pt){return pt},[Pe]);function qt(pt,gt,Xt){dt===pt&&(gt===void 0||gt===Ot)||(je(pt),Xt||(Kt(ptSe){qt(rn-1,pt-Jt-We+Re);break}}Ke&&Vn(0)+We>Se&&$t(null)}},[Se,oe,Re,We,_t,Ye]);var or=It&&!!et.length,er={};Ot!==null&&Ce&&(er={position:"absolute",left:Ot,top:0});var Wt={prefixCls:zt,responsive:Ce,component:V,invalidate:Et},en=Je?function(pt,gt){var Xt=_t(pt,gt);return n.createElement(D.Provider,{key:Xt,value:(0,t.Z)((0,t.Z)({},Wt),{},{order:gt,item:pt,itemKey:Xt,registerSize:Mn,display:gt<=tt})},Je(pt,gt))}:function(pt,gt){var Xt=_t(pt,gt);return n.createElement(w,(0,a.Z)({},Wt,{order:gt,key:Xt,item:pt,renderItem:Ut,itemKey:Xt,registerSize:Mn,display:gt<=tt}))},nn,fn={order:or?tt:Number.MAX_SAFE_INTEGER,className:"".concat(zt,"-rest"),registerSize:vn,display:or};if(ot)ot&&(nn=n.createElement(D.Provider,{value:(0,t.Z)((0,t.Z)({},Wt),fn)},ot(et)));else{var En=Ve||C;nn=n.createElement(w,(0,a.Z)({},Wt,fn),typeof En=="function"?En(et):En)}var on=n.createElement(J,(0,a.Z)({className:l()(!Et&&me,Ht),style:vt,ref:Y},P),Ye.map(en),Tt?nn:null,Ke&&n.createElement(w,(0,a.Z)({},Wt,{responsive:Le,responsiveDisabled:!Ce,order:tt,className:"".concat(zt,"-suffix"),registerSize:Xn,display:!0,style:er}),Ke));return Le&&(on=n.createElement(c.Z,{onResize:un,disabled:!Ce},on)),on}var O=n.forwardRef(X);O.displayName="Overflow",O.Item=_,O.RESPONSIVE=se,O.INVALIDATE=Q;var H=O,k=H},57522:function(b,y){"use strict";y.Z={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"}},23737:function(b,y){"use strict";y.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},19425:function(b,y,e){"use strict";e.d(y,{Z:function(){return se}});var a=e(60698),t=e(58757),o=e(42156),s=e(75556),n=e(57370),d=e(21319),l=e(69188),c=e(20759),m=new Map;function g(Q){Q.forEach(function(C){var X,O=C.target;(X=m.get(O))===null||X===void 0||X.forEach(function(H){return H(O)})})}var M=new c.Z(g),h=null,S=null;function w(Q,C){m.has(Q)||(m.set(Q,new Set),M.observe(Q)),m.get(Q).add(C)}function x(Q,C){m.has(Q)&&(m.get(Q).delete(C),m.get(Q).size||(M.unobserve(Q),m.delete(Q)))}var z=e(60412),U=e(14346),T=e(87498),N=e(73726),Z=function(Q){(0,T.Z)(X,Q);var C=(0,N.Z)(X);function X(){return(0,z.Z)(this,X),C.apply(this,arguments)}return(0,U.Z)(X,[{key:"render",value:function(){return this.props.children}}]),X}(t.Component),D=t.createContext(null);function L(Q){var C=Q.children,X=Q.onBatchResize,O=t.useRef(0),H=t.useRef([]),k=t.useContext(D),A=t.useCallback(function(Y,de,me){O.current+=1;var ve=O.current;H.current.push({size:Y,element:de,data:me}),Promise.resolve().then(function(){ve===O.current&&(X==null||X(H.current),H.current=[])}),k==null||k(Y,de,me)},[X,k]);return t.createElement(D.Provider,{value:A},C)}function j(Q,C){var X=Q.children,O=Q.disabled,H=t.useRef(null),k=t.useRef(null),A=t.useContext(D),Y=typeof X=="function",de=Y?X(H):X,me=t.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ve=!Y&&t.isValidElement(de)&&(0,d.Yr)(de),be=ve?de.ref:null,Pe=t.useMemo(function(){return(0,d.sQ)(be,H)},[be,H]),Je=function(){return(0,l.Z)(H.current)||(0,l.Z)(k.current)};t.useImperativeHandle(C,function(){return Je()});var qe=t.useRef(Q);qe.current=Q;var Xe=t.useCallback(function(mt){var Ct=qe.current,vt=Ct.onResize,Ht=Ct.data,ke=mt.getBoundingClientRect(),Ve=ke.width,ot=ke.height,Ke=mt.offsetWidth,he=mt.offsetHeight,J=Math.floor(Ve),V=Math.floor(ot);if(me.current.width!==J||me.current.height!==V||me.current.offsetWidth!==Ke||me.current.offsetHeight!==he){var R={width:J,height:V,offsetWidth:Ke,offsetHeight:he};me.current=R;var P=Ke===Math.round(Ve)?Ve:Ke,B=he===Math.round(ot)?ot:he,ge=(0,n.Z)((0,n.Z)({},R),{},{offsetWidth:P,offsetHeight:B});A==null||A(ge,mt,Ht),vt&&Promise.resolve().then(function(){vt(ge,mt)})}},[]);return t.useEffect(function(){var mt=Je();return mt&&!O&&w(mt,Xe),function(){return x(mt,Xe)}},[H.current,O]),t.createElement(Z,{ref:k},ve?t.cloneElement(de,{ref:Pe}):de)}var G=t.forwardRef(j),W=G,ne="rc-observer-key";function _(Q,C){var X=Q.children,O=typeof X=="function"?[X]:(0,o.Z)(X);return O.map(function(H,k){var A=(H==null?void 0:H.key)||"".concat(ne,"-").concat(k);return t.createElement(W,(0,a.Z)({},Q,{key:A,ref:k===0?C:void 0}),H)})}var ee=t.forwardRef(_);ee.Collection=L;var se=ee},25092:function(b,y,e){"use strict";e.d(y,{ZP:function(){return l}});var a=e(28314),t=e(58757),o=e(19075),s=0,n=(0,o.Z)();function d(){var c;return n?(c=s,s+=1):c="TEST_OR_SSR",c}function l(c){var m=t.useState(),g=(0,a.Z)(m,2),M=g[0],h=g[1];return t.useEffect(function(){h("rc_select_".concat(d()))},[]),c||M}},18510:function(b,y,e){"use strict";e.d(y,{Ac:function(){return xe},Xo:function(){return st},Wx:function(){return _e},ZP:function(){return Tt},lk:function(){return T}});var a=e(60698),t=e(29140),o=e(37734),s=e(57370),n=e(28314),d=e(47075),l=e(38790),c=e(60409),m=e(75556),g=e(58757),M=e(87608),h=e.n(M),S=e(81334),w=e(21618),x=e(29639),z=e(21319),U=g.createContext(null);function T(){return g.useContext(U)}function N(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,et=g.useState(!1),_t=(0,n.Z)(et,2),Ut=_t[0],qt=_t[1],un=g.useRef(null),Mn=function(){window.clearTimeout(un.current)};g.useEffect(function(){return Mn},[]);var vn=function(Vn,or){Mn(),un.current=window.setTimeout(function(){qt(Vn),or&&or()},Ye)};return[Ut,vn,Mn]}function Z(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,et=g.useRef(null),_t=g.useRef(null);g.useEffect(function(){return function(){window.clearTimeout(_t.current)}},[]);function Ut(qt){(qt||et.current===null)&&(et.current=qt),window.clearTimeout(_t.current),_t.current=window.setTimeout(function(){et.current=null},Ye)}return[function(){return et.current},Ut]}function D(Ye,et,_t,Ut){var qt=g.useRef(null);qt.current={open:et,triggerOpen:_t,customizedTrigger:Ut},g.useEffect(function(){function un(Mn){var vn;if(!((vn=qt.current)!==null&&vn!==void 0&&vn.customizedTrigger)){var Xn=Mn.target;Xn.shadowRoot&&Mn.composed&&(Xn=Mn.composedPath()[0]||Xn),qt.current.open&&Ye().filter(function(Vn){return Vn}).every(function(Vn){return!Vn.contains(Xn)&&Vn!==Xn})&&qt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",un),function(){return window.removeEventListener("mousedown",un)}},[])}var L=e(33926),j=e(9257),G=function(et){var _t=et.className,Ut=et.customizeIcon,qt=et.customizeIconProps,un=et.onMouseDown,Mn=et.onClick,vn=et.children,Xn;return typeof Ut=="function"?Xn=Ut(qt):Xn=Ut,g.createElement("span",{className:_t,onMouseDown:function(or){or.preventDefault(),un&&un(or)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Mn,"aria-hidden":!0},Xn!==void 0?Xn:g.createElement("span",{className:h()(_t.split(/\s+/).map(function(Vn){return"".concat(Vn,"-icon")}))},vn))},W=G,ne=function(et,_t){var Ut,qt,un=et.prefixCls,Mn=et.id,vn=et.inputElement,Xn=et.disabled,Vn=et.tabIndex,or=et.autoFocus,er=et.autoComplete,Wt=et.editable,en=et.activeDescendantId,nn=et.value,fn=et.maxLength,En=et.onKeyDown,on=et.onMouseDown,pt=et.onChange,gt=et.onPaste,Xt=et.onCompositionStart,rn=et.onCompositionEnd,Jt=et.open,pn=et.attrs,mn=vn||g.createElement("input",null),Zn=mn,tr=Zn.ref,ut=Zn.props,ct=ut.onKeyDown,Dt=ut.onChange,xt=ut.onMouseDown,kt=ut.onCompositionStart,sn=ut.onCompositionEnd,tn=ut.style;return(0,m.Kp)(!("maxLength"in mn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),mn=g.cloneElement(mn,(0,s.Z)((0,s.Z)((0,s.Z)({type:"search"},ut),{},{id:Mn,ref:(0,z.sQ)(_t,tr),disabled:Xn,tabIndex:Vn,autoComplete:er||"off",autoFocus:or,className:h()("".concat(un,"-selection-search-input"),(Ut=mn)===null||Ut===void 0||(qt=Ut.props)===null||qt===void 0?void 0:qt.className),role:"combobox","aria-label":"Search","aria-expanded":Jt,"aria-haspopup":"listbox","aria-owns":"".concat(Mn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Mn,"_list"),"aria-activedescendant":Jt?en:void 0},pn),{},{value:Wt?nn:"",maxLength:fn,readOnly:!Wt,unselectable:Wt?null:"on",style:(0,s.Z)((0,s.Z)({},tn),{},{opacity:Wt?null:0}),onKeyDown:function(Nn){En(Nn),ct&&ct(Nn)},onMouseDown:function(Nn){on(Nn),xt&&xt(Nn)},onChange:function(Nn){pt(Nn),Dt&&Dt(Nn)},onCompositionStart:function(Nn){Xt(Nn),kt&&kt(Nn)},onCompositionEnd:function(Nn){rn(Nn),sn&&sn(Nn)},onPaste:gt})),mn},_=g.forwardRef(ne);_.displayName="Input";var ee=_;function se(Ye){return Array.isArray(Ye)?Ye:Ye!==void 0?[Ye]:[]}var Q=typeof window!="undefined"&&window.document&&window.document.documentElement,C=Q;function X(Ye){return Ye!=null}function O(Ye){return!Ye&&Ye!==0}function H(Ye){return["string","number"].includes((0,l.Z)(Ye))}function k(Ye){var et=void 0;return Ye&&(H(Ye.title)?et=Ye.title.toString():H(Ye.label)&&(et=Ye.label.toString())),et}function A(Ye,et){C?g.useLayoutEffect(Ye,et):g.useEffect(Ye,et)}function Y(Ye){var et;return(et=Ye.key)!==null&&et!==void 0?et:Ye.value}var de=function(et){et.preventDefault(),et.stopPropagation()},me=function(et){var _t=et.id,Ut=et.prefixCls,qt=et.values,un=et.open,Mn=et.searchValue,vn=et.autoClearSearchValue,Xn=et.inputRef,Vn=et.placeholder,or=et.disabled,er=et.mode,Wt=et.showSearch,en=et.autoFocus,nn=et.autoComplete,fn=et.activeDescendantId,En=et.tabIndex,on=et.removeIcon,pt=et.maxTagCount,gt=et.maxTagTextLength,Xt=et.maxTagPlaceholder,rn=Xt===void 0?function(qr){return"+ ".concat(qr.length," ...")}:Xt,Jt=et.tagRender,pn=et.onToggleOpen,mn=et.onRemove,Zn=et.onInputChange,tr=et.onInputPaste,ut=et.onInputKeyDown,ct=et.onInputMouseDown,Dt=et.onInputCompositionStart,xt=et.onInputCompositionEnd,kt=g.useRef(null),sn=(0,g.useState)(0),tn=(0,n.Z)(sn,2),xn=tn[0],Nn=tn[1],gr=(0,g.useState)(!1),nr=(0,n.Z)(gr,2),Rn=nr[0],kr=nr[1],fr="".concat(Ut,"-selection"),ua=un||er==="multiple"&&vn===!1||er==="tags"?Mn:"",Pr=er==="tags"||er==="multiple"&&vn===!1||Wt&&(un||Rn);A(function(){Nn(kt.current.scrollWidth)},[ua]);function Bn(qr,ya,dr,Br,Ea){return g.createElement("span",{className:h()("".concat(fr,"-item"),(0,o.Z)({},"".concat(fr,"-item-disabled"),dr)),title:k(qr)},g.createElement("span",{className:"".concat(fr,"-item-content")},ya),Br&&g.createElement(W,{className:"".concat(fr,"-item-remove"),onMouseDown:de,onClick:Ea,customizeIcon:on},"\xD7"))}function Cn(qr,ya,dr,Br,Ea){var ca=function(zn){de(zn),pn(!un)};return g.createElement("span",{onMouseDown:ca},Jt({label:ya,value:qr,disabled:dr,closable:Br,onClose:Ea}))}function wn(qr){var ya=qr.disabled,dr=qr.label,Br=qr.value,Ea=!or&&!ya,ca=dr;if(typeof gt=="number"&&(typeof dr=="string"||typeof dr=="number")){var Kn=String(ca);Kn.length>gt&&(ca="".concat(Kn.slice(0,gt),"..."))}var zn=function(ra){ra&&ra.stopPropagation(),mn(qr)};return typeof Jt=="function"?Cn(Br,ca,ya,Ea,zn):Bn(qr,ca,ya,Ea,zn)}function ar(qr){var ya=typeof rn=="function"?rn(qr):rn;return Bn({title:ya},ya,!1)}var mr=g.createElement("div",{className:"".concat(fr,"-search"),style:{width:xn},onFocus:function(){kr(!0)},onBlur:function(){kr(!1)}},g.createElement(ee,{ref:Xn,open:un,prefixCls:Ut,id:_t,inputElement:null,disabled:or,autoFocus:en,autoComplete:nn,editable:Pr,activeDescendantId:fn,value:ua,onKeyDown:ut,onMouseDown:ct,onChange:Zn,onPaste:tr,onCompositionStart:Dt,onCompositionEnd:xt,tabIndex:En,attrs:(0,L.Z)(et,!0)}),g.createElement("span",{ref:kt,className:"".concat(fr,"-search-mirror"),"aria-hidden":!0},ua,"\xA0")),Qr=g.createElement(j.Z,{prefixCls:"".concat(fr,"-overflow"),data:qt,renderItem:wn,renderRest:ar,suffix:mr,itemKey:Y,maxCount:pt});return g.createElement(g.Fragment,null,Qr,!qt.length&&!ua&&g.createElement("span",{className:"".concat(fr,"-placeholder")},Vn))},ve=me,be=function(et){var _t=et.inputElement,Ut=et.prefixCls,qt=et.id,un=et.inputRef,Mn=et.disabled,vn=et.autoFocus,Xn=et.autoComplete,Vn=et.activeDescendantId,or=et.mode,er=et.open,Wt=et.values,en=et.placeholder,nn=et.tabIndex,fn=et.showSearch,En=et.searchValue,on=et.activeValue,pt=et.maxLength,gt=et.onInputKeyDown,Xt=et.onInputMouseDown,rn=et.onInputChange,Jt=et.onInputPaste,pn=et.onInputCompositionStart,mn=et.onInputCompositionEnd,Zn=et.title,tr=g.useState(!1),ut=(0,n.Z)(tr,2),ct=ut[0],Dt=ut[1],xt=or==="combobox",kt=xt||fn,sn=Wt[0],tn=En||"";xt&&on&&!ct&&(tn=on),g.useEffect(function(){xt&&Dt(!1)},[xt,on]);var xn=or!=="combobox"&&!er&&!fn?!1:!!tn,Nn=Zn===void 0?k(sn):Zn,gr=function(){if(sn)return null;var Rn=xn?{visibility:"hidden"}:void 0;return g.createElement("span",{className:"".concat(Ut,"-selection-placeholder"),style:Rn},en)};return g.createElement(g.Fragment,null,g.createElement("span",{className:"".concat(Ut,"-selection-search")},g.createElement(ee,{ref:un,prefixCls:Ut,id:qt,open:er,inputElement:_t,disabled:Mn,autoFocus:vn,autoComplete:Xn,editable:kt,activeDescendantId:Vn,value:tn,onKeyDown:gt,onMouseDown:Xt,onChange:function(Rn){Dt(!0),rn(Rn)},onPaste:Jt,onCompositionStart:pn,onCompositionEnd:mn,tabIndex:nn,attrs:(0,L.Z)(et,!0),maxLength:xt?pt:void 0})),!xt&&sn?g.createElement("span",{className:"".concat(Ut,"-selection-item"),title:Nn,style:xn?{visibility:"hidden"}:void 0},sn.label):null,gr())},Pe=be;function Je(Ye){return![x.Z.ESC,x.Z.SHIFT,x.Z.BACKSPACE,x.Z.TAB,x.Z.WIN_KEY,x.Z.ALT,x.Z.META,x.Z.WIN_KEY_RIGHT,x.Z.CTRL,x.Z.SEMICOLON,x.Z.EQUALS,x.Z.CAPS_LOCK,x.Z.CONTEXT_MENU,x.Z.F1,x.Z.F2,x.Z.F3,x.Z.F4,x.Z.F5,x.Z.F6,x.Z.F7,x.Z.F8,x.Z.F9,x.Z.F10,x.Z.F11,x.Z.F12].includes(Ye)}var qe=function(et,_t){var Ut=(0,g.useRef)(null),qt=(0,g.useRef)(!1),un=et.prefixCls,Mn=et.open,vn=et.mode,Xn=et.showSearch,Vn=et.tokenWithEnter,or=et.autoClearSearchValue,er=et.onSearch,Wt=et.onSearchSubmit,en=et.onToggleOpen,nn=et.onInputKeyDown,fn=et.domRef;g.useImperativeHandle(_t,function(){return{focus:function(){Ut.current.focus()},blur:function(){Ut.current.blur()}}});var En=Z(0),on=(0,n.Z)(En,2),pt=on[0],gt=on[1],Xt=function(tn){var xn=tn.which;(xn===x.Z.UP||xn===x.Z.DOWN)&&tn.preventDefault(),nn&&nn(tn),xn===x.Z.ENTER&&vn==="tags"&&!qt.current&&!Mn&&(Wt==null||Wt(tn.target.value)),Je(xn)&&en(!0)},rn=function(){gt(!0)},Jt=(0,g.useRef)(null),pn=function(tn){er(tn,!0,qt.current)!==!1&&en(!0)},mn=function(){qt.current=!0},Zn=function(tn){qt.current=!1,vn!=="combobox"&&pn(tn.target.value)},tr=function(tn){var xn=tn.target.value;if(Vn&&Jt.current&&/[\r\n]/.test(Jt.current)){var Nn=Jt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");xn=xn.replace(Nn,Jt.current)}Jt.current=null,pn(xn)},ut=function(tn){var xn=tn.clipboardData,Nn=xn.getData("text");Jt.current=Nn},ct=function(tn){var xn=tn.target;if(xn!==Ut.current){var Nn=document.body.style.msTouchAction!==void 0;Nn?setTimeout(function(){Ut.current.focus()}):Ut.current.focus()}},Dt=function(tn){var xn=pt();tn.target!==Ut.current&&!xn&&vn!=="combobox"&&tn.preventDefault(),(vn!=="combobox"&&(!Xn||!xn)||!Mn)&&(Mn&&or!==!1&&er("",!0,!1),en())},xt={inputRef:Ut,onInputKeyDown:Xt,onInputMouseDown:rn,onInputChange:tr,onInputPaste:ut,onInputCompositionStart:mn,onInputCompositionEnd:Zn},kt=vn==="multiple"||vn==="tags"?g.createElement(ve,(0,a.Z)({},et,xt)):g.createElement(Pe,(0,a.Z)({},et,xt));return g.createElement("div",{ref:fn,className:"".concat(un,"-selector"),onClick:ct,onMouseDown:Dt},kt)},Xe=g.forwardRef(qe);Xe.displayName="Selector";var mt=Xe,Ct=e(99863),vt=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Ht=function(et){var _t=et===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:_t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:_t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:_t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:_t,adjustY:1},htmlRegion:"scroll"}}},ke=function(et,_t){var Ut=et.prefixCls,qt=et.disabled,un=et.visible,Mn=et.children,vn=et.popupElement,Xn=et.containerWidth,Vn=et.animation,or=et.transitionName,er=et.dropdownStyle,Wt=et.dropdownClassName,en=et.direction,nn=en===void 0?"ltr":en,fn=et.placement,En=et.builtinPlacements,on=et.dropdownMatchSelectWidth,pt=et.dropdownRender,gt=et.dropdownAlign,Xt=et.getPopupContainer,rn=et.empty,Jt=et.getTriggerDOMNode,pn=et.onPopupVisibleChange,mn=et.onPopupMouseEnter,Zn=(0,d.Z)(et,vt),tr="".concat(Ut,"-dropdown"),ut=vn;pt&&(ut=pt(vn));var ct=g.useMemo(function(){return En||Ht(on)},[En,on]),Dt=Vn?"".concat(tr,"-").concat(Vn):or,xt=g.useRef(null);g.useImperativeHandle(_t,function(){return{getPopupElement:function(){return xt.current}}});var kt=(0,s.Z)({minWidth:Xn},er);return typeof on=="number"?kt.width=on:on&&(kt.width=Xn),g.createElement(Ct.Z,(0,a.Z)({},Zn,{showAction:pn?["click"]:[],hideAction:pn?["click"]:[],popupPlacement:fn||(nn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ct,prefixCls:tr,popupTransitionName:Dt,popup:g.createElement("div",{ref:xt,onMouseEnter:mn},ut),popupAlign:gt,popupVisible:un,getPopupContainer:Xt,popupClassName:h()(Wt,(0,o.Z)({},"".concat(tr,"-empty"),rn)),popupStyle:kt,getTriggerDOMNode:Jt,onPopupVisibleChange:pn}),Mn)},Ve=g.forwardRef(ke);Ve.displayName="SelectTrigger";var ot=Ve,Ke=e(6747);function he(Ye,et){var _t=Ye.key,Ut;return"value"in Ye&&(Ut=Ye.value),_t!=null?_t:Ut!==void 0?Ut:"rc-index-key-".concat(et)}function J(Ye,et){var _t=Ye||{},Ut=_t.label,qt=_t.value,un=_t.options,Mn=_t.groupLabel,vn=Ut||(et?"children":"label");return{label:vn,value:qt||"value",options:un||"options",groupLabel:Mn||vn}}function V(Ye){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_t=et.fieldNames,Ut=et.childrenAsData,qt=[],un=J(_t,!1),Mn=un.label,vn=un.value,Xn=un.options,Vn=un.groupLabel;function or(er,Wt){er.forEach(function(en){if(Wt||!(Xn in en)){var nn=en[vn];qt.push({key:he(en,qt.length),groupOption:Wt,data:en,label:en[Mn],value:nn})}else{var fn=en[Vn];fn===void 0&&Ut&&(fn=en.label),qt.push({key:he(en,qt.length),group:!0,data:en,label:fn}),or(en[Xn],!0)}})}return or(Ye,!1),qt}function R(Ye){var et=(0,s.Z)({},Ye);return"props"in et||Object.defineProperty(et,"props",{get:function(){return(0,m.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),et}}),et}function P(Ye,et){if(!et||!et.length)return null;var _t=!1;function Ut(un,Mn){var vn=(0,Ke.Z)(Mn),Xn=vn[0],Vn=vn.slice(1);if(!Xn)return[un];var or=un.split(Xn);return _t=_t||or.length>1,or.reduce(function(er,Wt){return[].concat((0,t.Z)(er),(0,t.Z)(Ut(Wt,Vn)))},[]).filter(function(er){return er})}var qt=Ut(Ye,et);return _t?qt:null}function B(Ye,et,_t,Ut,qt){var un=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Mn=arguments.length>6?arguments[6]:void 0,vn=arguments.length>7?arguments[7]:void 0,Xn=g.useMemo(function(){if((0,l.Z)(Ut)==="object")return Ut.clearIcon;if(qt)return qt},[Ut,qt]),Vn=g.useMemo(function(){return!!(!un&&Ut&&(_t.length||Mn)&&!(vn==="combobox"&&Mn===""))},[Ut,un,_t.length,Mn,vn]);return{allowClear:Vn,clearIcon:g.createElement(W,{className:"".concat(Ye,"-clear"),onMouseDown:et,customizeIcon:Xn},"\xD7")}}var ge=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],ie=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function pe(Ye){return Ye==="tags"||Ye==="multiple"}var Oe=g.forwardRef(function(Ye,et){var _t,Ut,qt=Ye.id,un=Ye.prefixCls,Mn=Ye.className,vn=Ye.showSearch,Xn=Ye.tagRender,Vn=Ye.direction,or=Ye.omitDomProps,er=Ye.displayValues,Wt=Ye.onDisplayValuesChange,en=Ye.emptyOptions,nn=Ye.notFoundContent,fn=nn===void 0?"Not Found":nn,En=Ye.onClear,on=Ye.mode,pt=Ye.disabled,gt=Ye.loading,Xt=Ye.getInputElement,rn=Ye.getRawInputElement,Jt=Ye.open,pn=Ye.defaultOpen,mn=Ye.onDropdownVisibleChange,Zn=Ye.activeValue,tr=Ye.onActiveValueChange,ut=Ye.activeDescendantId,ct=Ye.searchValue,Dt=Ye.autoClearSearchValue,xt=Ye.onSearch,kt=Ye.onSearchSplit,sn=Ye.tokenSeparators,tn=Ye.allowClear,xn=Ye.suffixIcon,Nn=Ye.clearIcon,gr=Ye.OptionList,nr=Ye.animation,Rn=Ye.transitionName,kr=Ye.dropdownStyle,fr=Ye.dropdownClassName,ua=Ye.dropdownMatchSelectWidth,Pr=Ye.dropdownRender,Bn=Ye.dropdownAlign,Cn=Ye.placement,wn=Ye.builtinPlacements,ar=Ye.getPopupContainer,mr=Ye.showAction,Qr=mr===void 0?[]:mr,qr=Ye.onFocus,ya=Ye.onBlur,dr=Ye.onKeyUp,Br=Ye.onKeyDown,Ea=Ye.onMouseDown,ca=(0,d.Z)(Ye,ge),Kn=pe(on),zn=(vn!==void 0?vn:Kn)||on==="combobox",vr=(0,s.Z)({},ca);ie.forEach(function(oo){delete vr[oo]}),or==null||or.forEach(function(oo){delete vr[oo]});var ra=g.useState(!1),xr=(0,n.Z)(ra,2),jt=xr[0],an=xr[1];g.useEffect(function(){an((0,w.Z)())},[]);var hn=g.useRef(null),ao=g.useRef(null),Mo=g.useRef(null),Ua=g.useRef(null),Ha=g.useRef(null),eo=N(),jo=(0,n.Z)(eo,3),Wo=jo[0],Eo=jo[1],ft=jo[2];g.useImperativeHandle(et,function(){var oo,Ja;return{focus:(oo=Ua.current)===null||oo===void 0?void 0:oo.focus,blur:(Ja=Ua.current)===null||Ja===void 0?void 0:Ja.blur,scrollTo:function(oi){var No;return(No=Ha.current)===null||No===void 0?void 0:No.scrollTo(oi)}}});var Nt=g.useMemo(function(){var oo;if(on!=="combobox")return ct;var Ja=(oo=er[0])===null||oo===void 0?void 0:oo.value;return typeof Ja=="string"||typeof Ja=="number"?String(Ja):""},[ct,on,er]),Ie=on==="combobox"&&typeof Xt=="function"&&Xt()||null,cn=typeof rn=="function"&&rn(),dn=(0,z.x1)(ao,cn==null||(_t=cn.props)===null||_t===void 0?void 0:_t.ref),_n=g.useState(!1),Tn=(0,n.Z)(_n,2),yr=Tn[0],Wr=Tn[1];(0,S.Z)(function(){Wr(!0)},[]);var Da=(0,c.Z)(!1,{defaultValue:pn,value:Jt}),la=(0,n.Z)(Da,2),ea=la[0],oa=la[1],Ir=yr?ea:!1,$r=!fn&&en;(pt||$r&&Ir&&on==="combobox")&&(Ir=!1);var pa=$r?!1:Ir,La=g.useCallback(function(oo){var Ja=oo!==void 0?oo:!Ir;pt||(oa(Ja),Ir!==Ja&&(mn==null||mn(Ja)))},[pt,Ir,oa,mn]),lo=g.useMemo(function(){return(sn||[]).some(function(oo){return[` +`,`\r +`].includes(oo)})},[sn]),Qa=function(Ja,ri,oi){var No=!0,zo=Ja;tr==null||tr(null);var xi=oi?null:P(Ja,sn);return on!=="combobox"&&xi&&(zo="",kt==null||kt(xi),La(!1),No=!1),xt&&Nt!==zo&&xt(zo,{source:ri?"typing":"effect"}),No},Gt=function(Ja){!Ja||!Ja.trim()||xt(Ja,{source:"submit"})};g.useEffect(function(){!Ir&&!Kn&&on!=="combobox"&&Qa("",!1,!1)},[Ir]),g.useEffect(function(){ea&&pt&&oa(!1),pt&&Eo(!1)},[pt]);var yn=Z(),jn=(0,n.Z)(yn,2),Gn=jn[0],br=jn[1],Hr=function(Ja){var ri=Gn(),oi=Ja.which;if(oi===x.Z.ENTER&&(on!=="combobox"&&Ja.preventDefault(),Ir||La(!0)),br(!!Nt),oi===x.Z.BACKSPACE&&!ri&&Kn&&!Nt&&er.length){for(var No=(0,t.Z)(er),zo=null,xi=No.length-1;xi>=0;xi-=1){var Ui=No[xi];if(!Ui.disabled){No.splice(xi,1),zo=Ui;break}}zo&&Wt(No,{type:"remove",values:[zo]})}for(var ki=arguments.length,Ts=new Array(ki>1?ki-1:0),fs=1;fs1?ri-1:0),No=1;No1?xi-1:0),ki=1;ki1&&arguments[1]!==void 0?arguments[1]:!1;return(0,q.Z)(Ye).map(function(_t,Ut){if(!g.isValidElement(_t)||!_t.type)return null;var qt=_t,un=qt.type.isSelectOptGroup,Mn=qt.key,vn=qt.props,Xn=vn.children,Vn=(0,d.Z)(vn,Ee);return et||!un?le(_t):(0,s.Z)((0,s.Z)({key:"__RC_SELECT_GRP__".concat(Mn===null?Ut:Mn,"__"),label:Mn},Vn),{},{options:Ne(Xn)})}).filter(function(_t){return _t})}function Ae(Ye,et,_t,Ut,qt){return g.useMemo(function(){var un=Ye,Mn=!Ye;Mn&&(un=Ne(et));var vn=new Map,Xn=new Map,Vn=function(Wt,en,nn){nn&&typeof nn=="string"&&Wt.set(en[nn],en)};function or(er){for(var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,en=0;en1&&arguments[1]!==void 0?arguments[1]:1,ar=tr.length,mr=0;mr1&&arguments[1]!==void 0?arguments[1]:!1;xn(Cn);var ar={source:wn?"keyboard":"mouse"},mr=tr[Cn];if(!mr){fn(null,-1,ar);return}fn(mr.value,Cn,ar)};(0,g.useEffect)(function(){Nn(En!==!1?xt(0):-1)},[tr.length,Vn]);var gr=g.useCallback(function(Bn){return gt.has(Bn)&&Xn!=="combobox"},[Xn,(0,t.Z)(gt).toString(),gt.size]);(0,g.useEffect)(function(){var Bn=setTimeout(function(){if(!vn&&Mn&>.size===1){var wn=Array.from(gt)[0],ar=tr.findIndex(function(mr){var Qr=mr.data;return Qr.value===wn});ar!==-1&&(Nn(ar),Dt(ar))}});if(Mn){var Cn;(Cn=ut.current)===null||Cn===void 0||Cn.scrollTo(void 0)}return function(){return clearTimeout(Bn)}},[Mn,Vn,nn.length]);var nr=function(Cn){Cn!==void 0&&on(Cn,{selected:!gt.has(Cn)}),vn||or(!1)};if(g.useImperativeHandle(_t,function(){return{onKeyDown:function(Cn){var wn=Cn.which,ar=Cn.ctrlKey;switch(wn){case x.Z.N:case x.Z.P:case x.Z.UP:case x.Z.DOWN:{var mr=0;if(wn===x.Z.UP?mr=-1:wn===x.Z.DOWN?mr=1:$t()&&ar&&(wn===x.Z.N?mr=1:wn===x.Z.P&&(mr=-1)),mr!==0){var Qr=xt(tn+mr,mr);Dt(Qr),Nn(Qr,!0)}break}case x.Z.ENTER:{var qr=tr[tn];qr&&!qr.data.disabled?nr(qr.value):nr(void 0),Mn&&Cn.preventDefault();break}case x.Z.ESC:or(!1),Mn&&Cn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Cn){Dt(Cn)}}}),tr.length===0)return g.createElement("div",{role:"listbox",id:"".concat(un,"_list"),className:"".concat(Zn,"-empty"),onMouseDown:ct},er);var Rn=Object.keys(Xt).map(function(Bn){return Xt[Bn]}),kr=function(Cn){return Cn.label};function fr(Bn,Cn){var wn=Bn.group;return{role:wn?"presentation":"option",id:"".concat(un,"_list_").concat(Cn)}}var ua=function(Cn){var wn=tr[Cn];if(!wn)return null;var ar=wn.data||{},mr=ar.value,Qr=wn.group,qr=(0,L.Z)(ar,!0),ya=kr(wn);return wn?g.createElement("div",(0,a.Z)({"aria-label":typeof ya=="string"&&!Qr?ya:null},qr,{key:Cn},fr(wn,Cn),{"aria-selected":gr(mr)}),mr):null},Pr={role:"listbox",id:"".concat(un,"_list")};return g.createElement(g.Fragment,null,rn&&g.createElement("div",(0,a.Z)({},Pr,{style:{height:0,width:0,overflow:"hidden"}}),ua(tn-1),ua(tn),ua(tn+1)),g.createElement(it.Z,{itemKey:"key",ref:ut,data:tr,height:pn,itemHeight:mn,fullHeight:!1,onMouseDown:ct,onScroll:Wt,virtual:rn,direction:Jt,innerProps:rn?null:Pr},function(Bn,Cn){var wn,ar=Bn.group,mr=Bn.groupOption,Qr=Bn.data,qr=Bn.label,ya=Bn.value,dr=Qr.key;if(ar){var Br,Ea=(Br=Qr.title)!==null&&Br!==void 0?Br:Pt(qr)?qr.toString():void 0;return g.createElement("div",{className:h()(Zn,"".concat(Zn,"-group")),title:Ea},qr!==void 0?qr:dr)}var ca=Qr.disabled,Kn=Qr.title,zn=Qr.children,vr=Qr.style,ra=Qr.className,xr=(0,d.Z)(Qr,wt),jt=(0,Be.Z)(xr,Rn),an=gr(ya),hn="".concat(Zn,"-option"),ao=h()(Zn,hn,ra,(wn={},(0,o.Z)(wn,"".concat(hn,"-grouped"),mr),(0,o.Z)(wn,"".concat(hn,"-active"),tn===Cn&&!ca),(0,o.Z)(wn,"".concat(hn,"-disabled"),ca),(0,o.Z)(wn,"".concat(hn,"-selected"),an),wn)),Mo=kr(Bn),Ua=!pt||typeof pt=="function"||an,Ha=typeof Mo=="number"?Mo:Mo||ya,eo=Pt(Ha)?Ha.toString():void 0;return Kn!==void 0&&(eo=Kn),g.createElement("div",(0,a.Z)({},(0,L.Z)(jt),rn?{}:fr(Bn,Cn),{"aria-selected":an,className:ao,title:eo,onMouseMove:function(){tn===Cn||ca||Nn(Cn)},onClick:function(){ca||nr(ya)},style:vr}),g.createElement("div",{className:"".concat(hn,"-content")},Ha),g.isValidElement(pt)||an,Ua&&g.createElement(W,{className:"".concat(Zn,"-option-state"),customizeIcon:pt,customizeIconProps:{isSelected:an}},an?"\u2713":null))}))},je=g.forwardRef(dt);je.displayName="OptionList";var tt=je;function lt(Ye){var et=Ye.mode,_t=Ye.options,Ut=Ye.children,qt=Ye.backfill,un=Ye.allowClear,Mn=Ye.placeholder,vn=Ye.getInputElement,Xn=Ye.showSearch,Vn=Ye.onSearch,or=Ye.defaultOpen,er=Ye.autoFocus,Wt=Ye.labelInValue,en=Ye.value,nn=Ye.inputValue,fn=Ye.optionLabelProp,En=isMultiple(et),on=Xn!==void 0?Xn:En||et==="combobox",pt=_t||convertChildrenToData(Ut);if(warning(et!=="tags"||pt.every(function(Jt){return!Jt.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),et==="tags"||et==="combobox"){var gt=pt.some(function(Jt){return Jt.options?Jt.options.some(function(pn){return typeof("value"in pn?pn.value:pn.key)=="number"}):typeof("value"in Jt?Jt.value:Jt.key)=="number"});warning(!gt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(et!=="combobox"||!fn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(et==="combobox"||!qt,"`backfill` only works with `combobox` mode."),warning(et==="combobox"||!vn,"`getInputElement` only work with `combobox` mode."),noteOnce(et!=="combobox"||!vn||!un||!Mn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Vn&&!on&&et!=="combobox"&&et!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!or||er,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),en!=null){var Xt=toArray(en);warning(!Wt||Xt.every(function(Jt){return _typeof(Jt)==="object"&&("key"in Jt||"value"in Jt)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!En||Array.isArray(en),"`value` should be array when `mode` is `multiple` or `tags`")}if(Ut){var rn=null;toNodeArray(Ut).some(function(Jt){if(!React.isValidElement(Jt)||!Jt.type)return!1;var pn=Jt,mn=pn.type;if(mn.isSelectOption)return!1;if(mn.isSelectOptGroup){var Zn=toNodeArray(Jt.props.children).every(function(tr){return!React.isValidElement(tr)||!Jt.type||tr.type.isSelectOption?!0:(rn=tr.type,!1)});return!Zn}return rn=mn,!0}),rn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(rn.displayName||rn.name||rn,"`.")),warning(nn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function bt(Ye,et){if(Ye){var _t=function Ut(qt){for(var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Mn=0;Mn2&&arguments[2]!==void 0?arguments[2]:{},La=pa.source,lo=La===void 0?"keyboard":La;dn($r),Mn&&Ut==="combobox"&&Ir!==null&&lo==="keyboard"&&ft(String(Ir))},[Mn,Ut]),yr=function($r,pa,La){var lo=function(){var zr,va=ra($r);return[tn?{label:va==null?void 0:va[fr.label],value:$r,key:(zr=va==null?void 0:va.key)!==null&&zr!==void 0?zr:$r}:$r,R(va)]};if(pa&&en){var Qa=lo(),Gt=(0,n.Z)(Qa,2),yn=Gt[0],jn=Gt[1];en(yn,jn)}else if(!pa&&nn&&La!=="clear"){var Gn=lo(),br=(0,n.Z)(Gn,2),Hr=br[0],ta=br[1];nn(Hr,ta)}},Wr=we(function(Ir,$r){var pa,La=nr?$r.selected:!0;La?pa=nr?[].concat((0,t.Z)(vr),[Ir]):[Ir]:pa=vr.filter(function(lo){return lo.value!==Ir}),eo(pa),yr(Ir,La),Ut==="combobox"?ft(""):(!pe||Wt)&&(Cn(""),ft(""))}),Da=function($r,pa){eo($r);var La=pa.type,lo=pa.values;(La==="remove"||La==="clear")&&lo.forEach(function(Qa){yr(Qa.value,!1,La)})},la=function($r,pa){if(Cn($r),ft(null),pa.source==="submit"){var La=($r||"").trim();if(La){var lo=Array.from(new Set([].concat((0,t.Z)(jt),[La])));eo(lo),yr(La,!0),Cn("")}return}pa.source!=="blur"&&(Ut==="combobox"&&eo($r),or==null||or($r))},ea=function($r){var pa=$r;Ut!=="tags"&&(pa=$r.map(function(lo){var Qa=mr.get(lo);return Qa==null?void 0:Qa.value}).filter(function(lo){return lo!==void 0}));var La=Array.from(new Set([].concat((0,t.Z)(jt),(0,t.Z)(pa))));eo(La),La.forEach(function(lo){yr(lo,!0)})},oa=g.useMemo(function(){var Ir=Zn!==!1&&En!==!1;return(0,s.Z)((0,s.Z)({},wn),{},{flattenOptions:Ha,onActiveValue:Tn,defaultActiveFirstOption:_n,onSelect:Wr,menuItemSelectedIcon:mn,rawValues:jt,fieldNames:fr,virtual:Ir,direction:tr,listHeight:ct,listItemHeight:xt,childrenAsData:Rn})},[wn,Ha,Tn,_n,Wr,mn,jt,fr,Zn,En,ct,xt,Rn]);return g.createElement(Ot.Provider,{value:oa},g.createElement(xe,(0,a.Z)({},Nn,{id:gr,prefixCls:un,ref:et,omitDomProps:zt,mode:Ut,displayValues:xr,onDisplayValuesChange:Da,direction:tr,searchValue:Bn,onSearch:la,autoClearSearchValue:Wt,onSearchSplit:ea,dropdownMatchSelectWidth:En,OptionList:tt,emptyOptions:!Ha.length,activeValue:Eo,activeDescendantId:"".concat(gr,"_list_").concat(cn)})))}),Ce=Le;Ce.Option=_e,Ce.OptGroup=st;var Et=Ce,Tt=Et},9457:function(b,y,e){"use strict";e.d(y,{Z:function(){return H}});var a=e(60698),t=e(57370),o=e(37734),s=e(38790),n=e(28314),d=e(47075),l=e(29140),c=e(87608),m=e.n(c),g=e(19570),M=e(33615),h=e(60409),S=e(58757),w=e(19425),x=e(81334),z=e(61834),U=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,T=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],N={},Z;function D(k){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Y=k.getAttribute("id")||k.getAttribute("data-reactid")||k.getAttribute("name");if(A&&N[Y])return N[Y];var de=window.getComputedStyle(k),me=de.getPropertyValue("box-sizing")||de.getPropertyValue("-moz-box-sizing")||de.getPropertyValue("-webkit-box-sizing"),ve=parseFloat(de.getPropertyValue("padding-bottom"))+parseFloat(de.getPropertyValue("padding-top")),be=parseFloat(de.getPropertyValue("border-bottom-width"))+parseFloat(de.getPropertyValue("border-top-width")),Pe=T.map(function(qe){return"".concat(qe,":").concat(de.getPropertyValue(qe))}).join(";"),Je={sizingStyle:Pe,paddingSize:ve,borderSize:be,boxSizing:me};return A&&Y&&(N[Y]=Je),Je}function L(k){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,de=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Z||(Z=document.createElement("textarea"),Z.setAttribute("tab-index","-1"),Z.setAttribute("aria-hidden","true"),document.body.appendChild(Z)),k.getAttribute("wrap")?Z.setAttribute("wrap",k.getAttribute("wrap")):Z.removeAttribute("wrap");var me=D(k,A),ve=me.paddingSize,be=me.borderSize,Pe=me.boxSizing,Je=me.sizingStyle;Z.setAttribute("style","".concat(Je,";").concat(U)),Z.value=k.value||k.placeholder||"";var qe=void 0,Xe=void 0,mt,Ct=Z.scrollHeight;if(Pe==="border-box"?Ct+=be:Pe==="content-box"&&(Ct-=ve),Y!==null||de!==null){Z.value=" ";var vt=Z.scrollHeight-ve;Y!==null&&(qe=vt*Y,Pe==="border-box"&&(qe=qe+ve+be),Ct=Math.max(qe,Ct)),de!==null&&(Xe=vt*de,Pe==="border-box"&&(Xe=Xe+ve+be),mt=Ct>Xe?"":"hidden",Ct=Math.min(Xe,Ct))}var Ht={height:Ct,overflowY:mt,resize:"none"};return qe&&(Ht.minHeight=qe),Xe&&(Ht.maxHeight=Xe),Ht}var j=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],G=0,W=1,ne=2,_=S.forwardRef(function(k,A){var Y=k,de=Y.prefixCls,me=Y.onPressEnter,ve=Y.defaultValue,be=Y.value,Pe=Y.autoSize,Je=Y.onResize,qe=Y.className,Xe=Y.style,mt=Y.disabled,Ct=Y.onChange,vt=Y.onInternalAutoSize,Ht=(0,d.Z)(Y,j),ke=(0,h.Z)(ve,{value:be,postState:function(st){return st!=null?st:""}}),Ve=(0,n.Z)(ke,2),ot=Ve[0],Ke=Ve[1],he=function(st){Ke(st.target.value),Ct==null||Ct(st)},J=S.useRef();S.useImperativeHandle(A,function(){return{textArea:J.current}});var V=S.useMemo(function(){return Pe&&(0,s.Z)(Pe)==="object"?[Pe.minRows,Pe.maxRows]:[]},[Pe]),R=(0,n.Z)(V,2),P=R[0],B=R[1],ge=!!Pe,ie=function(){try{if(document.activeElement===J.current){var st=J.current,nt=st.selectionStart,_e=st.selectionEnd,We=st.scrollTop;J.current.setSelectionRange(nt,_e),J.current.scrollTop=We}}catch(Be){}},pe=S.useState(ne),Oe=(0,n.Z)(pe,2),xe=Oe[0],Se=Oe[1],$e=S.useState(),re=(0,n.Z)($e,2),oe=re[0],q=re[1],ue=function(){Se(G)};(0,x.Z)(function(){ge&&ue()},[be,P,B,ge]),(0,x.Z)(function(){if(xe===G)Se(W);else if(xe===W){var Re=L(J.current,!1,P,B);Se(ne),q(Re)}else ie()},[xe]);var Ee=S.useRef(),le=function(){z.Z.cancel(Ee.current)},Ne=function(st){xe===ne&&(Je==null||Je(st),Pe&&(le(),Ee.current=(0,z.Z)(function(){ue()})))};S.useEffect(function(){return le},[]);var Ae=ge?oe:null,we=(0,t.Z)((0,t.Z)({},Xe),Ae);return(xe===G||xe===W)&&(we.overflowY="hidden",we.overflowX="hidden"),S.createElement(w.Z,{onResize:Ne,disabled:!(Pe||Je)},S.createElement("textarea",(0,a.Z)({},Ht,{ref:J,style:we,className:m()(de,qe,(0,o.Z)({},"".concat(de,"-disabled"),mt)),disabled:mt,value:ot,onChange:he})))}),ee=_,se=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Q(k,A){return(0,l.Z)(k||"").slice(0,A).join("")}function C(k,A,Y,de){var me=Y;return k?me=Q(Y,de):(0,l.Z)(A||"").lengthde&&(me=A),me}var X=S.forwardRef(function(k,A){var Y,de=k.defaultValue,me=k.value,ve=k.onFocus,be=k.onBlur,Pe=k.onChange,Je=k.allowClear,qe=k.maxLength,Xe=k.onCompositionStart,mt=k.onCompositionEnd,Ct=k.suffix,vt=k.prefixCls,Ht=vt===void 0?"rc-textarea":vt,ke=k.classes,Ve=k.showCount,ot=k.className,Ke=k.style,he=k.disabled,J=k.hidden,V=k.classNames,R=k.styles,P=k.onResize,B=(0,d.Z)(k,se),ge=(0,h.Z)(de,{value:me,defaultValue:de}),ie=(0,n.Z)(ge,2),pe=ie[0],Oe=ie[1],xe=(0,S.useRef)(null),Se=S.useState(!1),$e=(0,n.Z)(Se,2),re=$e[0],oe=$e[1],q=S.useState(!1),ue=(0,n.Z)(q,2),Ee=ue[0],le=ue[1],Ne=S.useRef(),Ae=S.useRef(0),we=S.useState(null),Re=(0,n.Z)(we,2),st=Re[0],nt=Re[1],_e=function(){var Mt;(Mt=xe.current)===null||Mt===void 0||Mt.textArea.focus()};(0,S.useImperativeHandle)(A,function(){return{resizableTextArea:xe.current,focus:_e,blur:function(){var Mt;(Mt=xe.current)===null||Mt===void 0||Mt.textArea.blur()}}}),(0,S.useEffect)(function(){oe(function(zt){return!he&&zt})},[he]);var We=Number(qe)>0,Be=function(Mt){le(!0),Ne.current=pe,Ae.current=Mt.currentTarget.selectionStart,Xe==null||Xe(Mt)},it=function(Mt){le(!1);var Le=Mt.currentTarget.value;if(We){var Ce,Et=Ae.current>=qe+1||Ae.current===((Ce=Ne.current)===null||Ce===void 0?void 0:Ce.length);Le=C(Et,Ne.current,Le,qe)}Le!==pe&&(Oe(Le),(0,M.rJ)(Mt.currentTarget,Mt,Pe,Le)),mt==null||mt(Mt)},Ge=function(Mt){var Le=Mt.target.value;if(!Ee&&We){var Ce=Mt.target.selectionStart>=qe+1||Mt.target.selectionStart===Le.length||!Mt.target.selectionStart;Le=C(Ce,pe,Le,qe)}Oe(Le),(0,M.rJ)(Mt.currentTarget,Mt,Pe,Le)},Ot=function(Mt){var Le=B.onPressEnter,Ce=B.onKeyDown;Mt.key==="Enter"&&Le&&Le(Mt),Ce==null||Ce(Mt)},$t=function(Mt){oe(!0),ve==null||ve(Mt)},wt=function(Mt){oe(!1),be==null||be(Mt)},Pt=function(Mt){var Le;Oe(""),_e(),(0,M.rJ)((Le=xe.current)===null||Le===void 0?void 0:Le.textArea,Mt,Pe)},dt=(0,M.D7)(pe);!Ee&&We&&me==null&&(dt=Q(dt,qe));var je=Ct,tt;if(Ve){var lt=(0,l.Z)(dt).length;(0,s.Z)(Ve)==="object"?tt=Ve.formatter({value:dt,count:lt,maxLength:qe}):tt="".concat(lt).concat(We?" / ".concat(qe):""),je=S.createElement(S.Fragment,null,je,S.createElement("span",{className:m()("".concat(Ht,"-data-count"),V==null?void 0:V.count),style:R==null?void 0:R.count},tt))}var bt=function(Mt){var Le;P==null||P(Mt),(Le=xe.current)!==null&&Le!==void 0&&Le.textArea.style.height&&nt(!0)},It=!B.autoSize&&!Ve&&!Je,Kt=S.createElement(g.Q,{value:dt,allowClear:Je,handleReset:Pt,suffix:je,prefixCls:Ht,classes:{affixWrapper:m()(ke==null?void 0:ke.affixWrapper,(Y={},(0,o.Z)(Y,"".concat(Ht,"-show-count"),Ve),(0,o.Z)(Y,"".concat(Ht,"-textarea-allow-clear"),Je),Y))},disabled:he,focused:re,className:ot,style:(0,t.Z)((0,t.Z)({},Ke),st&&!It?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof tt=="string"?tt:void 0}},hidden:J,inputElement:S.createElement(ee,(0,a.Z)({},B,{onKeyDown:Ot,onChange:Ge,onFocus:$t,onBlur:wt,onCompositionStart:Be,onCompositionEnd:it,className:V==null?void 0:V.textarea,style:(0,t.Z)((0,t.Z)({},R==null?void 0:R.textarea),{},{resize:Ke==null?void 0:Ke.resize}),disabled:he,prefixCls:Ht,onResize:bt,ref:xe}))});return Kt}),O=X,H=O},33664:function(b,y,e){"use strict";e.d(y,{G:function(){return S},Z:function(){return U}});var a=e(60698),t=e(57370),o=e(47075),s=e(99863),n=e(58757),d={shiftX:64,adjustY:1},l={adjustX:1,shiftY:!0},c=[0,0],m={left:{points:["cr","cl"],overflow:l,offset:[-4,0],targetOffset:c},right:{points:["cl","cr"],overflow:l,offset:[4,0],targetOffset:c},top:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:c},bottom:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:c},topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:c},leftTop:{points:["tr","tl"],overflow:l,offset:[-4,0],targetOffset:c},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:c},rightTop:{points:["tl","tr"],overflow:l,offset:[4,0],targetOffset:c},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:c},rightBottom:{points:["bl","br"],overflow:l,offset:[4,0],targetOffset:c},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:c},leftBottom:{points:["br","bl"],overflow:l,offset:[-4,0],targetOffset:c}},g=null,M=e(87608),h=e.n(M);function S(T){var N=T.children,Z=T.prefixCls,D=T.id,L=T.overlayInnerStyle,j=T.className,G=T.style;return n.createElement("div",{className:h()("".concat(Z,"-content"),j),style:G},n.createElement("div",{className:"".concat(Z,"-inner"),id:D,role:"tooltip",style:L},typeof N=="function"?N():N))}var w=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],x=function(N,Z){var D=N.overlayClassName,L=N.trigger,j=L===void 0?["hover"]:L,G=N.mouseEnterDelay,W=G===void 0?0:G,ne=N.mouseLeaveDelay,_=ne===void 0?.1:ne,ee=N.overlayStyle,se=N.prefixCls,Q=se===void 0?"rc-tooltip":se,C=N.children,X=N.onVisibleChange,O=N.afterVisibleChange,H=N.transitionName,k=N.animation,A=N.motion,Y=N.placement,de=Y===void 0?"right":Y,me=N.align,ve=me===void 0?{}:me,be=N.destroyTooltipOnHide,Pe=be===void 0?!1:be,Je=N.defaultVisible,qe=N.getTooltipContainer,Xe=N.overlayInnerStyle,mt=N.arrowContent,Ct=N.overlay,vt=N.id,Ht=N.showArrow,ke=Ht===void 0?!0:Ht,Ve=(0,o.Z)(N,w),ot=(0,n.useRef)(null);(0,n.useImperativeHandle)(Z,function(){return ot.current});var Ke=(0,t.Z)({},Ve);"visible"in N&&(Ke.popupVisible=N.visible);var he=function(){return n.createElement(S,{key:"content",prefixCls:Q,id:vt,overlayInnerStyle:Xe},Ct)};return n.createElement(s.Z,(0,a.Z)({popupClassName:D,prefixCls:Q,popup:he,action:j,builtinPlacements:m,popupPlacement:de,ref:ot,popupAlign:ve,getPopupContainer:qe,onPopupVisibleChange:X,afterPopupVisibleChange:O,popupTransitionName:H,popupAnimation:k,popupMotion:A,defaultPopupVisible:Je,autoDestroy:Pe,mouseLeaveDelay:_,popupStyle:ee,mouseEnterDelay:W,arrow:ke},Ke),C)},z=(0,n.forwardRef)(x),U=z},42156:function(b,y,e){"use strict";e.d(y,{Z:function(){return o}});var a=e(58757),t=e(99415);function o(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=[];return a.Children.forEach(s,function(l){l==null&&!n.keepEmpty||(Array.isArray(l)?d=d.concat(o(l)):(0,t.isFragment)(l)&&l.props?d=d.concat(o(l.props.children,n)):d.push(l))}),d}},19075:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},70700:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(t,o){if(!t)return!1;if(t.contains)return t.contains(o);for(var s=o;s;){if(s===t)return!0;s=s.parentNode}return!1}},39678:function(b,y,e){"use strict";e.d(y,{hq:function(){return z},jL:function(){return S}});var a=e(19075),t=e(70700),o="data-rc-order",s="data-rc-priority",n="rc-util-key",d=new Map;function l(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=U.mark;return T?T.startsWith("data-")?T:"data-".concat(T):n}function c(U){if(U.attachTo)return U.attachTo;var T=document.querySelector("head");return T||document.body}function m(U){return U==="queue"?"prependQueue":U?"prepend":"append"}function g(U){return Array.from((d.get(U)||U).children).filter(function(T){return T.tagName==="STYLE"})}function M(U){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,a.Z)())return null;var N=T.csp,Z=T.prepend,D=T.priority,L=D===void 0?0:D,j=m(Z),G=j==="prependQueue",W=document.createElement("style");W.setAttribute(o,j),G&&L&&W.setAttribute(s,"".concat(L)),N!=null&&N.nonce&&(W.nonce=N==null?void 0:N.nonce),W.innerHTML=U;var ne=c(T),_=ne.firstChild;if(Z){if(G){var ee=g(ne).filter(function(se){if(!["prepend","prependQueue"].includes(se.getAttribute(o)))return!1;var Q=Number(se.getAttribute(s)||0);return L>=Q});if(ee.length)return ne.insertBefore(W,ee[ee.length-1].nextSibling),W}ne.insertBefore(W,_)}else ne.appendChild(W);return W}function h(U){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},N=c(T);return g(N).find(function(Z){return Z.getAttribute(l(T))===U})}function S(U){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},N=h(U,T);if(N){var Z=c(T);Z.removeChild(N)}}function w(U,T){var N=d.get(U);if(!N||!(0,t.Z)(document,N)){var Z=M("",T),D=Z.parentNode;d.set(U,D),U.removeChild(Z)}}function x(){d.clear()}function z(U,T){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Z=c(N);w(Z,N);var D=h(T,N);if(D){var L,j;if((L=N.csp)!==null&&L!==void 0&&L.nonce&&D.nonce!==((j=N.csp)===null||j===void 0?void 0:j.nonce)){var G;D.nonce=(G=N.csp)===null||G===void 0?void 0:G.nonce}return D.innerHTML!==U&&(D.innerHTML=U),D}var W=M(U,N);return W.setAttribute(l(N),T),W}},69188:function(b,y,e){"use strict";e.d(y,{S:function(){return o},Z:function(){return s}});var a=e(58757),t=e(26736);function o(n){return n instanceof HTMLElement||n instanceof SVGElement}function s(n){return o(n)?n:n instanceof a.Component?t.findDOMNode(n):null}},46499:function(b,y){"use strict";y.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var a=e.getBBox(),t=a.width,o=a.height;if(t||o)return!0}if(e.getBoundingClientRect){var s=e.getBoundingClientRect(),n=s.width,d=s.height;if(n||d)return!0}}return!1}},4171:function(b,y,e){"use strict";e.d(y,{A:function(){return o}});function a(s){var n;return s==null||(n=s.getRootNode)===null||n===void 0?void 0:n.call(s)}function t(s){return a(s)instanceof ShadowRoot}function o(s){return t(s)?a(s):null}},29639:function(b,y){"use strict";var e={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 o=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||o>=e.F1&&o<=e.F12)return!1;switch(o){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=e.ZERO&&t<=e.NINE||t>=e.NUM_ZERO&&t<=e.NUM_MULTIPLY||t>=e.A&&t<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};y.Z=e},52323:function(b,y,e){"use strict";var a;e.d(y,{s:function(){return T},v:function(){return j}});var t=e(74632),o=e(79290),s=e(38790),n=e(57370),d=e(26736),l=(0,n.Z)({},a||(a=e.t(d,2))),c=l.version,m=l.render,g=l.unmountComponentAtNode,M;try{var h=Number((c||"").split(".")[0]);h>=18&&(M=l.createRoot)}catch(W){}function S(W){var ne=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ne&&(0,s.Z)(ne)==="object"&&(ne.usingClientEntryPoint=W)}var w="__rc_react_root__";function x(W,ne){S(!0);var _=ne[w]||M(ne);S(!1),_.render(W),ne[w]=_}function z(W,ne){m(W,ne)}function U(W,ne){}function T(W,ne){if(M){x(W,ne);return}z(W,ne)}function N(W){return Z.apply(this,arguments)}function Z(){return Z=(0,o.Z)((0,t.Z)().mark(function W(ne){return(0,t.Z)().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.abrupt("return",Promise.resolve().then(function(){var se;(se=ne[w])===null||se===void 0||se.unmount(),delete ne[w]}));case 1:case"end":return ee.stop()}},W)})),Z.apply(this,arguments)}function D(W){g(W)}function L(W){}function j(W){return G.apply(this,arguments)}function G(){return G=(0,o.Z)((0,t.Z)().mark(function W(ne){return(0,t.Z)().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(M===void 0){ee.next=2;break}return ee.abrupt("return",N(ne));case 2:D(ne);case 3:case"end":return ee.stop()}},W)})),G.apply(this,arguments)}},17502:function(b,y,e){"use strict";e.d(y,{Z:function(){return t},o:function(){return s}});var a;function t(n){if(typeof document=="undefined")return 0;if(n||a===void 0){var d=document.createElement("div");d.style.width="100%",d.style.height="200px";var l=document.createElement("div"),c=l.style;c.position="absolute",c.top="0",c.left="0",c.pointerEvents="none",c.visibility="hidden",c.width="200px",c.height="150px",c.overflow="hidden",l.appendChild(d),document.body.appendChild(l);var m=d.offsetWidth;l.style.overflow="scroll";var g=d.offsetWidth;m===g&&(g=l.clientWidth),document.body.removeChild(l),a=m-g}return a}function o(n){var d=n.match(/^(.*)px$/),l=Number(d==null?void 0:d[1]);return Number.isNaN(l)?t():l}function s(n){if(typeof document=="undefined"||!n||!(n instanceof Element))return{width:0,height:0};var d=getComputedStyle(n,"::-webkit-scrollbar"),l=d.width,c=d.height;return{width:o(l),height:o(c)}}},51729:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(58757);function t(o){var s=a.useRef();s.current=o;var n=a.useCallback(function(){for(var d,l=arguments.length,c=new Array(l),m=0;m2&&arguments[2]!==void 0?arguments[2]:!1,l=new Set;function c(m,g){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,h=l.has(m);if((0,t.ZP)(!h,"Warning: There may be circular references"),h)return!1;if(m===g)return!0;if(d&&M>1)return!1;l.add(m);var S=M+1;if(Array.isArray(m)){if(!Array.isArray(g)||m.length!==g.length)return!1;for(var w=0;w