geneeantd 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/genee-antd.es.js +8 -1
- package/dist/genee-antd.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/genee-antd.es.js
CHANGED
|
@@ -58925,7 +58925,14 @@ const A$ = gr((e, t) => {
|
|
|
58925
58925
|
return o && !(h.size / 1024 < o) ? (yd.error(`文件大小不能超过${o}KB!`), ai.LIST_IGNORE) : a;
|
|
58926
58926
|
};
|
|
58927
58927
|
return /* @__PURE__ */ G.jsxs("div", { className: gu.avatarUpload, children: [
|
|
58928
|
-
s ? /* @__PURE__ */ G.jsx(
|
|
58928
|
+
s ? /* @__PURE__ */ G.jsx(
|
|
58929
|
+
"img",
|
|
58930
|
+
{
|
|
58931
|
+
src: s,
|
|
58932
|
+
className: gu.avatar,
|
|
58933
|
+
onError: () => u(void 0)
|
|
58934
|
+
}
|
|
58935
|
+
) : /* @__PURE__ */ G.jsx(Nc, { className: gu.avatarPlaceholder }),
|
|
58929
58936
|
/* @__PURE__ */ G.jsx(A$, { beforeCrop: g, ...i, children: /* @__PURE__ */ G.jsx(
|
|
58930
58937
|
ai,
|
|
58931
58938
|
{
|
package/dist/genee-antd.umd.js
CHANGED
|
@@ -564,7 +564,7 @@ ${o}
|
|
|
564
564
|
border-left: 0;
|
|
565
565
|
border-right: 0;
|
|
566
566
|
}
|
|
567
|
-
`,NQ=1,MQ=3,TQ=1,DQ=(function(e){sQ(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.cropperRef=c.createRef(),n.imageRef=c.createRef(),n.videoRef=c.createRef(),n.containerPosition={x:0,y:0},n.containerRef=null,n.styleRef=null,n.containerRect=null,n.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},n.dragStartPosition={x:0,y:0},n.dragStartCrop={x:0,y:0},n.gestureZoomStart=0,n.gestureRotationStart=0,n.isTouching=!1,n.lastPinchDistance=0,n.lastPinchRotation=0,n.rafDragTimeout=null,n.rafPinchTimeout=null,n.wheelTimer=null,n.currentDoc=typeof document<"u"?document:null,n.currentWindow=typeof window<"u"?window:null,n.resizeObserver=null,n.previousCropSize=null,n.isInitialized=!1,n.state={cropSize:null,hasWheelJustStarted:!1,mediaObjectFit:void 0},n.initResizeObserver=function(){if(!(typeof window.ResizeObserver>"u"||!n.containerRef)){var r=!0;n.resizeObserver=new window.ResizeObserver(function(o){if(r){r=!1;return}n.computeSizes()}),n.resizeObserver.observe(n.containerRef)}},n.preventZoomSafari=function(r){return r.preventDefault()},n.cleanEvents=function(){n.currentDoc&&(n.currentDoc.removeEventListener("mousemove",n.onMouseMove),n.currentDoc.removeEventListener("mouseup",n.onDragStopped),n.currentDoc.removeEventListener("touchmove",n.onTouchMove),n.currentDoc.removeEventListener("touchend",n.onDragStopped),n.currentDoc.removeEventListener("gesturechange",n.onGestureChange),n.currentDoc.removeEventListener("gestureend",n.onGestureEnd),n.currentDoc.removeEventListener("scroll",n.onScroll))},n.clearScrollEvent=function(){n.containerRef&&n.containerRef.removeEventListener("wheel",n.onWheel),n.wheelTimer&&clearTimeout(n.wheelTimer)},n.onMediaLoad=function(){var r=n.computeSizes();r&&(n.previousCropSize=r,n.emitCropData(),n.setInitialCrop(r),n.isInitialized=!0),n.props.onMediaLoaded&&n.props.onMediaLoaded(n.mediaSize)},n.setInitialCrop=function(r){if(n.props.initialCroppedAreaPercentages){var o=SQ(n.props.initialCroppedAreaPercentages,n.mediaSize,n.props.rotation,r,n.props.minZoom,n.props.maxZoom),a=o.crop,i=o.zoom;n.props.onCropChange(a),n.props.onZoomChange&&n.props.onZoomChange(i)}else if(n.props.initialCroppedAreaPixels){var l=OQ(n.props.initialCroppedAreaPixels,n.mediaSize,n.props.rotation,r,n.props.minZoom,n.props.maxZoom),a=l.crop,i=l.zoom;n.props.onCropChange(a),n.props.onZoomChange&&n.props.onZoomChange(i)}},n.computeSizes=function(){var r,o,a,i,l,s,u=n.imageRef.current||n.videoRef.current;if(u&&n.containerRef){n.containerRect=n.containerRef.getBoundingClientRect(),n.saveContainerPosition();var d=n.containerRect.width/n.containerRect.height,f=((r=n.imageRef.current)===null||r===void 0?void 0:r.naturalWidth)||((o=n.videoRef.current)===null||o===void 0?void 0:o.videoWidth)||0,m=((a=n.imageRef.current)===null||a===void 0?void 0:a.naturalHeight)||((i=n.videoRef.current)===null||i===void 0?void 0:i.videoHeight)||0,p=u.offsetWidth<f||u.offsetHeight<m,g=f/m,h=void 0;if(p)switch(n.state.mediaObjectFit){default:case"contain":h=d>g?{width:n.containerRect.height*g,height:n.containerRect.height}:{width:n.containerRect.width,height:n.containerRect.width/g};break;case"horizontal-cover":h={width:n.containerRect.width,height:n.containerRect.width/g};break;case"vertical-cover":h={width:n.containerRect.height*g,height:n.containerRect.height};break}else h={width:u.offsetWidth,height:u.offsetHeight};n.mediaSize=lr(lr({},h),{naturalWidth:f,naturalHeight:m}),n.props.setMediaSize&&n.props.setMediaSize(n.mediaSize);var v=n.props.cropSize?n.props.cropSize:hQ(n.mediaSize.width,n.mediaSize.height,n.containerRect.width,n.containerRect.height,n.props.aspect,n.props.rotation);return(((l=n.state.cropSize)===null||l===void 0?void 0:l.height)!==v.height||((s=n.state.cropSize)===null||s===void 0?void 0:s.width)!==v.width)&&n.props.onCropSizeChange&&n.props.onCropSizeChange(v),n.setState({cropSize:v},n.recomputeCropPosition),n.props.setCropSize&&n.props.setCropSize(v),v}},n.saveContainerPosition=function(){if(n.containerRef){var r=n.containerRef.getBoundingClientRect();n.containerPosition={x:r.left,y:r.top}}},n.onMouseDown=function(r){n.currentDoc&&(r.preventDefault(),n.currentDoc.addEventListener("mousemove",n.onMouseMove),n.currentDoc.addEventListener("mouseup",n.onDragStopped),n.saveContainerPosition(),n.onDragStart(t.getMousePoint(r)))},n.onMouseMove=function(r){return n.onDrag(t.getMousePoint(r))},n.onScroll=function(r){n.currentDoc&&(r.preventDefault(),n.saveContainerPosition())},n.onTouchStart=function(r){n.currentDoc&&(n.isTouching=!0,!(n.props.onTouchRequest&&!n.props.onTouchRequest(r))&&(n.currentDoc.addEventListener("touchmove",n.onTouchMove,{passive:!1}),n.currentDoc.addEventListener("touchend",n.onDragStopped),n.saveContainerPosition(),r.touches.length===2?n.onPinchStart(r):r.touches.length===1&&n.onDragStart(t.getTouchPoint(r.touches[0]))))},n.onTouchMove=function(r){r.preventDefault(),r.touches.length===2?n.onPinchMove(r):r.touches.length===1&&n.onDrag(t.getTouchPoint(r.touches[0]))},n.onGestureStart=function(r){n.currentDoc&&(r.preventDefault(),n.currentDoc.addEventListener("gesturechange",n.onGestureChange),n.currentDoc.addEventListener("gestureend",n.onGestureEnd),n.gestureZoomStart=n.props.zoom,n.gestureRotationStart=n.props.rotation)},n.onGestureChange=function(r){if(r.preventDefault(),!n.isTouching){var o=t.getMousePoint(r),a=n.gestureZoomStart-1+r.scale;if(n.setNewZoom(a,o,{shouldUpdatePosition:!0}),n.props.onRotationChange){var i=n.gestureRotationStart+r.rotation;n.props.onRotationChange(i)}}},n.onGestureEnd=function(r){n.cleanEvents()},n.onDragStart=function(r){var o,a,i=r.x,l=r.y;n.dragStartPosition={x:i,y:l},n.dragStartCrop=lr({},n.props.crop),(a=(o=n.props).onInteractionStart)===null||a===void 0||a.call(o)},n.onDrag=function(r){var o=r.x,a=r.y;n.currentWindow&&(n.rafDragTimeout&&n.currentWindow.cancelAnimationFrame(n.rafDragTimeout),n.rafDragTimeout=n.currentWindow.requestAnimationFrame(function(){if(n.state.cropSize&&!(o===void 0||a===void 0)){var i=o-n.dragStartPosition.x,l=a-n.dragStartPosition.y,s={x:n.dragStartCrop.x+i,y:n.dragStartCrop.y+l},u=n.props.restrictPosition?dc(s,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):s;n.props.onCropChange(u)}}))},n.onDragStopped=function(){var r,o;n.isTouching=!1,n.cleanEvents(),n.emitCropData(),(o=(r=n.props).onInteractionEnd)===null||o===void 0||o.call(r)},n.onWheel=function(r){if(n.currentWindow&&!(n.props.onWheelRequest&&!n.props.onWheelRequest(r))){r.preventDefault();var o=t.getMousePoint(r),a=gQ(r).pixelY,i=n.props.zoom-a*n.props.zoomSpeed/200;n.setNewZoom(i,o,{shouldUpdatePosition:!0}),n.state.hasWheelJustStarted||n.setState({hasWheelJustStarted:!0},function(){var l,s;return(s=(l=n.props).onInteractionStart)===null||s===void 0?void 0:s.call(l)}),n.wheelTimer&&clearTimeout(n.wheelTimer),n.wheelTimer=n.currentWindow.setTimeout(function(){return n.setState({hasWheelJustStarted:!1},function(){var l,s;return(s=(l=n.props).onInteractionEnd)===null||s===void 0?void 0:s.call(l)})},250)}},n.getPointOnContainer=function(r,o){var a=r.x,i=r.y;if(!n.containerRect)throw new Error("The Cropper is not mounted");return{x:n.containerRect.width/2-(a-o.x),y:n.containerRect.height/2-(i-o.y)}},n.getPointOnMedia=function(r){var o=r.x,a=r.y,i=n.props,l=i.crop,s=i.zoom;return{x:(o+l.x)/s,y:(a+l.y)/s}},n.setNewZoom=function(r,o,a){var i=a===void 0?{}:a,l=i.shouldUpdatePosition,s=l===void 0?!0:l;if(!(!n.state.cropSize||!n.props.onZoomChange)){var u=bf(r,n.props.minZoom,n.props.maxZoom);if(s){var d=n.getPointOnContainer(o,n.containerPosition),f=n.getPointOnMedia(d),m={x:f.x*u-d.x,y:f.y*u-d.y},p=n.props.restrictPosition?dc(m,n.mediaSize,n.state.cropSize,u,n.props.rotation):m;n.props.onCropChange(p)}n.props.onZoomChange(u)}},n.getCropData=function(){if(!n.state.cropSize)return null;var r=n.props.restrictPosition?dc(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop;return yQ(r,n.mediaSize,n.state.cropSize,n.getAspect(),n.props.zoom,n.props.rotation,n.props.restrictPosition)},n.emitCropData=function(){var r=n.getCropData();if(r){var o=r.croppedAreaPercentages,a=r.croppedAreaPixels;n.props.onCropComplete&&n.props.onCropComplete(o,a),n.props.onCropAreaChange&&n.props.onCropAreaChange(o,a)}},n.emitCropAreaChange=function(){var r=n.getCropData();if(r){var o=r.croppedAreaPercentages,a=r.croppedAreaPixels;n.props.onCropAreaChange&&n.props.onCropAreaChange(o,a)}},n.recomputeCropPosition=function(){var r,o;if(n.state.cropSize){var a=n.props.crop;if(n.isInitialized&&(!((r=n.previousCropSize)===null||r===void 0)&&r.width)&&(!((o=n.previousCropSize)===null||o===void 0)&&o.height)){var i=Math.abs(n.previousCropSize.width-n.state.cropSize.width)>1e-6||Math.abs(n.previousCropSize.height-n.state.cropSize.height)>1e-6;if(i){var l=n.state.cropSize.width/n.previousCropSize.width,s=n.state.cropSize.height/n.previousCropSize.height;a={x:n.props.crop.x*l,y:n.props.crop.y*s}}}var u=n.props.restrictPosition?dc(a,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):a;n.previousCropSize=n.state.cropSize,n.props.onCropChange(u),n.emitCropData()}},n.onKeyDown=function(r){var o,a,i=n.props,l=i.crop,s=i.onCropChange,u=i.keyboardStep,d=i.zoom,f=i.rotation,m=u;if(n.state.cropSize){r.shiftKey&&(m*=.2);var p=lr({},l);switch(r.key){case"ArrowUp":p.y-=m,r.preventDefault();break;case"ArrowDown":p.y+=m,r.preventDefault();break;case"ArrowLeft":p.x-=m,r.preventDefault();break;case"ArrowRight":p.x+=m,r.preventDefault();break;default:return}n.props.restrictPosition&&(p=dc(p,n.mediaSize,n.state.cropSize,d,f)),r.repeat||(a=(o=n.props).onInteractionStart)===null||a===void 0||a.call(o),s(p)}},n.onKeyUp=function(r){var o,a;switch(r.key){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":r.preventDefault();break;default:return}n.emitCropData(),(a=(o=n.props).onInteractionEnd)===null||a===void 0||a.call(o)},n}return t.prototype.componentDidMount=function(){!this.currentDoc||!this.currentWindow||(this.containerRef&&(this.containerRef.ownerDocument&&(this.currentDoc=this.containerRef.ownerDocument),this.currentDoc.defaultView&&(this.currentWindow=this.currentDoc.defaultView),this.initResizeObserver(),typeof window.ResizeObserver>"u"&&this.currentWindow.addEventListener("resize",this.computeSizes),this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.onGestureStart)),this.currentDoc.addEventListener("scroll",this.onScroll),this.props.disableAutomaticStylesInjection||(this.styleRef=this.currentDoc.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.props.nonce&&this.styleRef.setAttribute("nonce",this.props.nonce),this.styleRef.innerHTML=PQ,this.currentDoc.head.appendChild(this.styleRef)),this.imageRef.current&&this.imageRef.current.complete&&this.onMediaLoad(),this.props.setImageRef&&this.props.setImageRef(this.imageRef),this.props.setVideoRef&&this.props.setVideoRef(this.videoRef),this.props.setCropperRef&&this.props.setCropperRef(this.cropperRef))},t.prototype.componentWillUnmount=function(){var n,r;!this.currentDoc||!this.currentWindow||(typeof window.ResizeObserver>"u"&&this.currentWindow.removeEventListener("resize",this.computeSizes),(n=this.resizeObserver)===null||n===void 0||n.disconnect(),this.containerRef&&this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.styleRef&&((r=this.styleRef.parentNode)===null||r===void 0||r.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent())},t.prototype.componentDidUpdate=function(n){var r,o,a,i,l,s,u,d,f;n.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):n.aspect!==this.props.aspect?this.computeSizes():n.objectFit!==this.props.objectFit?this.computeSizes():n.zoom!==this.props.zoom?this.recomputeCropPosition():((r=n.cropSize)===null||r===void 0?void 0:r.height)!==((o=this.props.cropSize)===null||o===void 0?void 0:o.height)||((a=n.cropSize)===null||a===void 0?void 0:a.width)!==((i=this.props.cropSize)===null||i===void 0?void 0:i.width)?this.computeSizes():(((l=n.crop)===null||l===void 0?void 0:l.x)!==((s=this.props.crop)===null||s===void 0?void 0:s.x)||((u=n.crop)===null||u===void 0?void 0:u.y)!==((d=this.props.crop)===null||d===void 0?void 0:d.y))&&this.emitCropAreaChange(),n.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),n.video!==this.props.video&&((f=this.videoRef.current)===null||f===void 0||f.load());var m=this.getObjectFit();m!==this.state.mediaObjectFit&&this.setState({mediaObjectFit:m},this.computeSizes)},t.prototype.getAspect=function(){var n=this.props,r=n.cropSize,o=n.aspect;return r?r.width/r.height:o},t.prototype.getObjectFit=function(){var n,r,o,a;if(this.props.objectFit==="cover"){var i=this.imageRef.current||this.videoRef.current;if(i&&this.containerRef){this.containerRect=this.containerRef.getBoundingClientRect();var l=this.containerRect.width/this.containerRect.height,s=((n=this.imageRef.current)===null||n===void 0?void 0:n.naturalWidth)||((r=this.videoRef.current)===null||r===void 0?void 0:r.videoWidth)||0,u=((o=this.imageRef.current)===null||o===void 0?void 0:o.naturalHeight)||((a=this.videoRef.current)===null||a===void 0?void 0:a.videoHeight)||0,d=s/u;return d<l?"horizontal-cover":"vertical-cover"}return"horizontal-cover"}return this.props.objectFit},t.prototype.onPinchStart=function(n){var r=t.getTouchPoint(n.touches[0]),o=t.getTouchPoint(n.touches[1]);this.lastPinchDistance=UT(r,o),this.lastPinchRotation=YT(r,o),this.onDragStart(ZT(r,o))},t.prototype.onPinchMove=function(n){var r=this;if(!(!this.currentDoc||!this.currentWindow)){var o=t.getTouchPoint(n.touches[0]),a=t.getTouchPoint(n.touches[1]),i=ZT(o,a);this.onDrag(i),this.rafPinchTimeout&&this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var l=UT(o,a),s=r.props.zoom*(l/r.lastPinchDistance);r.setNewZoom(s,i,{shouldUpdatePosition:!1}),r.lastPinchDistance=l;var u=YT(o,a),d=r.props.rotation+(u-r.lastPinchRotation);r.props.onRotationChange&&r.props.onRotationChange(d),r.lastPinchRotation=u})}},t.prototype.render=function(){var n=this,r,o=this.props,a=o.image,i=o.video,l=o.mediaProps,s=o.cropperProps,u=o.transform,d=o.crop,f=d.x,m=d.y,p=o.rotation,g=o.zoom,h=o.cropShape,v=o.showGrid,b=o.roundCropAreaPixels,y=o.style,C=y.containerStyle,x=y.cropAreaStyle,S=y.mediaStyle,O=o.classes,E=O.containerClassName,M=O.cropAreaClassName,w=O.mediaClassName,N=(r=this.state.mediaObjectFit)!==null&&r!==void 0?r:this.getObjectFit();return c.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(z){return n.containerRef=z},"data-testid":"container",style:C,className:yf("reactEasyCrop_Container",E)},a?c.createElement("img",lr({alt:"",className:yf("reactEasyCrop_Image",N==="contain"&&"reactEasyCrop_Contain",N==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",N==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",w)},l,{src:a,ref:this.imageRef,style:lr(lr({},S),{transform:u||"translate(".concat(f,"px, ").concat(m,"px) rotate(").concat(p,"deg) scale(").concat(g,")")}),onLoad:this.onMediaLoad})):i&&c.createElement("video",lr({autoPlay:!0,playsInline:!0,loop:!0,muted:!0,className:yf("reactEasyCrop_Video",N==="contain"&&"reactEasyCrop_Contain",N==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",N==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",w)},l,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:lr(lr({},S),{transform:u||"translate(".concat(f,"px, ").concat(m,"px) rotate(").concat(p,"deg) scale(").concat(g,")")}),controls:!1}),(Array.isArray(i)?i:[{src:i}]).map(function(T){return c.createElement("source",lr({key:T.src},T))})),this.state.cropSize&&c.createElement("div",lr({ref:this.cropperRef,style:lr(lr({},x),{width:b?Math.round(this.state.cropSize.width):this.state.cropSize.width,height:b?Math.round(this.state.cropSize.height):this.state.cropSize.height}),tabIndex:0,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,"data-testid":"cropper",className:yf("reactEasyCrop_CropArea",h==="round"&&"reactEasyCrop_CropAreaRound",v&&"reactEasyCrop_CropAreaGrid",M)},s)))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:MQ,minZoom:NQ,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},cropperProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0,keyboardStep:TQ},t.getMousePoint=function(n){return{x:Number(n.clientX),y:Number(n.clientY)}},t.getTouchPoint=function(n){return{x:Number(n.clientX),y:Number(n.clientY)}},t})(c.Component);const Fo="img-crop",E0=1,fc=.1,Cf=0,JT=-180,qT=180,P0=1,mc=.01,zQ=P.forwardRef((e,t)=>{const{cropperRef:n,zoomSlider:r,rotationSlider:o,aspectSlider:a,showReset:i,resetBtnText:l,modalImage:s,aspect:u,minZoom:d,maxZoom:f,minAspect:m,maxAspect:p,cropShape:g,showGrid:h,cropperProps:v}=e,[b,y]=P.useState({x:0,y:0}),[C,x]=P.useState(E0),[S,O]=P.useState(Cf),[E,M]=P.useState(u),w=P.useRef({width:0,height:0,x:0,y:0}),N=P.useCallback((j,L)=>{w.current=L},[]),T=P.useRef(u);T.current!==u&&(T.current=u,M(u));const z=C!==E0||S!==Cf||E!==u,k=()=>{x(E0),O(Cf),M(u)};P.useImperativeHandle(t,()=>({rotation:S,cropPixelsRef:w,onReset:k}));const D="[display:flex] [align-items:center] [width:60%] [margin-inline:auto]",I="[display:flex] [align-items:center] [justify-content:center] [height:32px] [width:32px] [background:transparent] [border:0] [font-family:inherit] [font-size:18px] [cursor:pointer] disabled:[opacity:20%] disabled:[cursor:default]",R="[flex:1]";return Q.jsxs(Q.Fragment,{children:[Q.jsx(DQ,Object.assign({},v,{ref:n,image:s,crop:b,zoom:C,rotation:S,aspect:E,minZoom:d,maxZoom:f,zoomWithScroll:r,cropShape:g,showGrid:h,onCropChange:y,onZoomChange:x,onRotationChange:O,onCropComplete:N,classes:{containerClassName:`${Fo}-container ![position:relative] [width:100%] [height:40vh] [&~section:first-of-type]:[margin-top:16px] [&~section:last-of-type]:[margin-bottom:16px]`,mediaClassName:`${Fo}-media`}})),r&&Q.jsxs("section",{className:`${Fo}-control ${Fo}-control-zoom ${D}`,children:[Q.jsx("button",{className:I,onClick:()=>x(+(C-fc).toFixed(1)),disabled:C-fc<d,children:"-"}),Q.jsx(Rd,{className:R,min:d,max:f,step:fc,value:C,onChange:x}),Q.jsx("button",{className:I,onClick:()=>x(+(C+fc).toFixed(1)),disabled:C+fc>f,children:"+"})]}),o&&Q.jsxs("section",{className:`${Fo}-control ${Fo}-control-rotation ${D}`,children:[Q.jsx("button",{className:`${I} [font-size:16px]`,onClick:()=>O(S-P0),disabled:S===JT,children:"↺"}),Q.jsx(Rd,{className:R,min:JT,max:qT,step:P0,value:S,onChange:O}),Q.jsx("button",{className:`${I} [font-size:16px]`,onClick:()=>O(S+P0),disabled:S===qT,children:"↻"})]}),a&&Q.jsxs("section",{className:`${Fo}-control ${Fo}-control-aspect ${D}`,children:[Q.jsx("button",{className:I,onClick:()=>M(+(E-mc).toFixed(2)),disabled:E-mc<m,children:"↕"}),Q.jsx(Rd,{className:R,min:m,max:p,step:mc,value:E,onChange:M}),Q.jsx("button",{className:I,onClick:()=>M(+(E+mc).toFixed(2)),disabled:E+mc>p,children:"↔"})]}),i&&(r||o||a)&&Q.jsx(vn,{className:"[position:absolute] [bottom:20px]",style:z?{}:{opacity:.3,pointerEvents:"none"},onClick:k,children:l})]})});var IQ=P.memo(zQ),RQ="/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */.visible{visibility:visible}.\\!\\[position\\:relative\\]{position:relative!important}.\\[position\\:absolute\\]{position:absolute}.\\[bottom\\:20px\\]{bottom:20px}.container{width:100%}.\\[margin-inline\\:auto\\]{margin-inline:auto}.\\[display\\:flex\\]{display:flex}.grid{display:grid}.\\[height\\:32px\\]{height:32px}.\\[height\\:40vh\\]{height:40vh}.\\[width\\:32px\\]{width:32px}.\\[width\\:60\\%\\]{width:60%}.\\[width\\:100\\%\\]{width:100%}.\\[flex\\:1\\]{flex:1}.\\[cursor\\:pointer\\]{cursor:pointer}.\\[align-items\\:center\\]{align-items:center}.\\[justify-content\\:center\\]{justify-content:center}.\\[font-family\\:inherit\\]{font-family:inherit}.\\[font-size\\:16px\\]{font-size:16px}.\\[font-size\\:18px\\]{font-size:18px}.\\[background\\:transparent\\]{background:transparent}.\\[border\\:0\\]{border:0}.disabled\\:\\[cursor\\:default\\]{&:disabled{cursor:default}}.disabled\\:\\[opacity\\:20\\%\\]{&:disabled{opacity:20%}}.\\[\\&\\~section\\:first-of-type\\]\\:\\[margin-top\\:16px\\]{&~section:first-of-type{margin-top:16px}}.\\[\\&\\~section\\:last-of-type\\]\\:\\[margin-bottom\\:16px\\]{&~section:last-of-type{margin-bottom:16px}}";(function(){if(typeof document>"u")return;const e=document.createElement("style"),t=document.querySelector('meta[name="csp-nonce"]');t&&t.content&&e.setAttribute("nonce",t.content),e.textContent=RQ,document.head.appendChild(e)})();const kQ=P.forwardRef((e,t)=>{const{quality:n=.4,fillColor:r="white",zoomSlider:o=!0,rotationSlider:a=!1,aspectSlider:i=!1,showReset:l=!1,resetText:s,aspect:u=1,minZoom:d=1,maxZoom:f=3,minAspect:m=.5,maxAspect:p=2,cropShape:g="rect",showGrid:h=!1,cropperProps:v,modalClassName:b,modalTitle:y,modalWidth:C,modalOk:x,modalCancel:S,onModalOk:O,onModalCancel:E,modalProps:M,beforeCrop:w,children:N}=e,T=P.useRef({});T.current.onModalOk=O,T.current.onModalCancel=E,T.current.beforeCrop=w;const z=P.useRef(null),k=P.useCallback($=>{var _;const te=document.createElement("canvas"),G=te.getContext("2d"),J=(((_=$?.getRootNode)===null||_===void 0?void 0:_.call($))||document).querySelector(`.${Fo}-media`),{width:ne,height:K,x:ue,y:ce}=z.current.cropPixelsRef.current;if(a&&z.current.rotation!==Cf){const{naturalWidth:me,naturalHeight:fe}=J,se=z.current.rotation*(Math.PI/180),ge=Math.abs(Math.sin(se)),pe=Math.abs(Math.cos(se)),de=me*pe+fe*ge,xe=fe*pe+me*ge;te.width=de,te.height=xe,G.fillStyle=r,G.fillRect(0,0,de,xe);const Ne=de/2,je=xe/2;G.translate(Ne,je),G.rotate(se),G.translate(-Ne,-je);const Re=(de-me)/2,ke=(xe-fe)/2;G.drawImage(J,0,0,me,fe,Re,ke,me,fe);const Fe=G.getImageData(0,0,de,xe);te.width=ne,te.height=K,G.putImageData(Fe,-ue,-ce)}else te.width=ne,te.height=K,G.fillStyle=r,G.fillRect(0,0,ne,K),G.drawImage(J,ue,ce,ne,K,0,0,ne,K);return te},[r,a]),[D,I]=P.useState(!1),[R,j]=P.useState(""),L=P.useRef(void 0),A=P.useRef(void 0),H=P.useCallback($=>hf(void 0,[$],void 0,function*({beforeUpload:_,file:te,resolve:G,reject:ie}){const J=te;if(typeof _!="function"){G(J);return}try{const ne=yield _(te,[te]);G(ne===!1?!1:ne!==!0&&ne||J)}catch(ne){ie(ne)}}),[]),W=P.useCallback($=>((_,te)=>new Promise((G,ie)=>hf(void 0,void 0,void 0,function*(){let J=_;if(typeof T.current.beforeCrop=="function")try{const K=yield T.current.beforeCrop(_,te);if(K===!1)return H({beforeUpload:$,file:_,resolve:G,reject:ie});K!==!0&&(J=K||_)}catch{return H({beforeUpload:$,file:_,resolve:G,reject:ie})}const ne=new FileReader;ne.addEventListener("load",()=>{typeof ne.result=="string"&&(I(!0),setTimeout(()=>{j(ne.result)},10))}),ne.readAsDataURL(J),L.current=()=>{var K,ue;I(!1),j(""),z.current.onReset();let ce=!1;(ue=(K=T.current).onModalCancel)===null||ue===void 0||ue.call(K,me=>{G(me),ce=!0}),ce||G(gi.LIST_IGNORE)},A.current=K=>hf(void 0,void 0,void 0,function*(){I(!1),j(""),z.current.onReset();const ue=k(K.target),{type:ce,name:me,uid:fe}=J;ue.toBlob(se=>hf(void 0,void 0,void 0,function*(){const ge=new File([se],me,{type:ce});Object.assign(ge,{uid:fe}),H({beforeUpload:$,file:ge,resolve:pe=>{var de,xe;G(pe),(xe=(de=T.current).onModalOk)===null||xe===void 0||xe.call(de,pe)},reject:pe=>{var de,xe;ie(pe),(xe=(de=T.current).onModalOk)===null||xe===void 0||xe.call(de,pe)}})}),ce,n)})}))),[k,n,H]),X=P.useCallback($=>{const _=Array.isArray($)?$[0]:$,te=_.props,{beforeUpload:G,accept:ie}=te,J=cQ(te,["beforeUpload","accept"]);return Object.assign(Object.assign({},_),{props:Object.assign(Object.assign({},J),{accept:ie||"image/*",beforeUpload:W(G)})})},[W]),F=P.useMemo(()=>{const $={};return C!==void 0&&($.width=C),x!==void 0&&($.okText=x),S!==void 0&&($.cancelText=S),$},[S,x,C]),V=`${Fo}-modal${b?` ${b}`:""}`,Z=(typeof window>"u"?"":window.navigator.language)==="zh-CN",oe=y||(Z?"编辑图片":"Edit image"),q=s||(Z?"重置":"Reset");return Q.jsxs(Q.Fragment,{children:[X(N),Q.jsx(Zr,Object.assign({},M,F,{open:D,title:oe,onCancel:L.current,onOk:A.current,wrapClassName:V,maskClosable:!1,destroyOnHidden:!0,children:Q.jsx(IQ,{ref:z,cropperRef:t,zoomSlider:o,rotationSlider:a,aspectSlider:i,showReset:l,resetBtnText:q,modalImage:R,aspect:u,minZoom:d,maxZoom:f,minAspect:m,maxAspect:p,cropShape:g,showGrid:h,cropperProps:v})}))]})}),xf={avatarUpload:"_avatarUpload_vcunw_1",avatar:"_avatar_vcunw_1",avatarPlaceholder:"_avatarPlaceholder_vcunw_12",uploadTip:"_uploadTip_vcunw_17"},jQ=e=>{const{avatarImg:t,uploadTip:n,avatarTypes:r,avatarMaxSize:o,showCrop:a=!0,imgCropProps:i,onFileChange:l}=e,[s,u]=P.useState(t),[d,f]=P.useState(!1);P.useEffect(()=>{u(t)},[t]);const m=h=>new Promise((v,b)=>{const y=new FileReader;y.readAsDataURL(h),y.onload=()=>{typeof y.result=="string"?v(y.result):b(new Error("文件转换Base64失败"))},y.onerror=C=>b(C)}),p=async h=>{try{f(!0);const v=await m(h);u(v),l&&l(v,h)}catch{}finally{f(!1)}return gi.LIST_IGNORE},g=async h=>{if(r?.length){const v=h.name.split(".").pop()?.toLowerCase()||"";if(!r.includes(v))return Bd.error(`仅支持${r.join("、")}格式文件`),gi.LIST_IGNORE}return o&&!(h.size/1024<o)?(Bd.error(`文件大小不能超过${o}KB!`),gi.LIST_IGNORE):a};return Q.jsxs("div",{className:xf.avatarUpload,children:[s?Q.jsx("img",{src:s,className:xf.avatar}):Q.jsx(ec,{className:xf.avatarPlaceholder}),Q.jsx(kQ,{beforeCrop:g,...i,children:Q.jsx(gi,{showUploadList:!1,maxCount:1,beforeUpload:p,children:Q.jsx(vn,{type:"primary",icon:Q.jsx(qh,{}),loading:d,children:"上传头像"})})}),!!n&&Q.jsx("div",{className:xf.uploadTip,children:n})]})},{Sider:LQ}=ra,AQ=({collapsed:e=!1,selectedKeys:t=["home"],onSelect:n,menuItems:r})=>{const[o,a]=P.useState(t),l=r||[{key:"home",icon:Q.jsx(w2,{}),label:"首页"}],s=d=>{const{keyPath:f}=d;a(f),n&&n(d)},u=d=>d.map(f=>({key:f.key,icon:f.icon,label:f.label,children:f.children?u(f.children):void 0}));return Q.jsxs(LQ,{width:256,theme:"light",style:{position:"fixed",height:"100vh",left:0,top:0,zIndex:100,backgroundColor:"var(--primary-color)"},children:[Q.jsx("div",{style:{display:"flex",alignItems:"center",height:64,padding:"0 20px",fontSize:"16px",fontWeight:"bold",color:"#fff"},children:!e&&"UNO管理平台"}),Q.jsx(Na,{mode:"inline",selectedKeys:o,onSelect:s,items:u(l),style:{height:"calc(100vh - 64px)",borderRight:0,backgroundColor:"var(--primary-color)"}})]})},vc={wrapper:"_wrapper_1whys_1",search:"_search_1whys_10",centerTabs:"_centerTabs_1whys_21",centerTab:"_centerTab_1whys_21",active:"_active_1whys_41"},vo={appStoreWrapper:"_appStoreWrapper_ugs1z_1",iconWrapper:"_iconWrapper_ugs1z_4",icon:"_icon_ugs1z_4",active:"_active_ugs1z_23",popoverContent:"_popoverContent_ugs1z_31",noText:"_noText_ugs1z_46",item:"_item_ugs1z_50",txt:"_txt_ugs1z_58",fadeIn:"_fadeIn_ugs1z_67",fadeOut:"_fadeOut_ugs1z_70"},FQ=({style:e,items:t,onMouseEnter:n,onMouseLeave:r,animationClass:o})=>Q.jsx("div",{className:`${vo.popoverContent} ${o}`,style:e,onMouseEnter:n,onMouseLeave:r,children:t&&t.length>0?Q.jsx(Q.Fragment,{children:t.map(a=>Q.jsxs("div",{className:vo.item,onClick:()=>{a.onClick?.()},children:[a.image&&Q.jsx("span",{className:vo.image,children:a.image}),Q.jsx("span",{className:vo.txt,children:a.txt})]},a.txt))}):Q.jsx("span",{className:vo.noText,children:"暂无配置"})}),HQ=e=>{const[t,n]=P.useState(!1),[r,o]=P.useState({}),a=P.useRef(null),i=P.useRef(null),l=P.useRef(!1),s=P.useRef(!1),u=()=>{i.current&&(clearTimeout(i.current),i.current=null)},d=()=>{if(u(),!t&&a.current){const b=a.current.getBoundingClientRect();o({top:b.bottom+8,left:b.left})}n(!0)},f=()=>{i.current=setTimeout(()=>{!s.current&&!l.current&&n(!1)},100)},m=()=>{s.current=!0,d()},p=()=>{s.current=!1,f()},g=()=>{l.current=!0,u()},h=()=>{l.current=!1,f()};P.useEffect(()=>()=>{u()},[]);const v=()=>Q.jsx("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"13946",width:"32",height:"32",children:Q.jsx("path",{d:"M128 170.666667a42.666667 42.666667 0 0 1 42.666667-42.666667h85.333333a42.666667 42.666667 0 0 1 42.666667 42.666667v85.333333a42.666667 42.666667 0 0 1-42.666667 42.666667H170.666667a42.666667 42.666667 0 0 1-42.666667-42.666667V170.666667z m0 298.666666a42.666667 42.666667 0 0 1 42.666667-42.666666h85.333333a42.666667 42.666667 0 0 1 42.666667 42.666666v85.333334a42.666667 42.666667 0 0 1-42.666667 42.666666H170.666667a42.666667 42.666667 0 0 1-42.666667-42.666666v-85.333334z m42.666667 256a42.666667 42.666667 0 0 0-42.666667 42.666667v85.333333a42.666667 42.666667 0 0 0 42.666667 42.666667h85.333333a42.666667 42.666667 0 0 0 42.666667-42.666667v-85.333333a42.666667 42.666667 0 0 0-42.666667-42.666667H170.666667z m256-554.666666a42.666667 42.666667 0 0 1 42.666666-42.666667h85.333334a42.666667 42.666667 0 0 1 42.666666 42.666667v85.333333a42.666667 42.666667 0 0 1-42.666666 42.666667h-85.333334a42.666667 42.666667 0 0 1-42.666666-42.666667V170.666667z m42.666666 256a42.666667 42.666667 0 0 0-42.666666 42.666666v85.333334a42.666667 42.666667 0 0 0 42.666666 42.666666h85.333334a42.666667 42.666667 0 0 0 42.666666-42.666666v-85.333334a42.666667 42.666667 0 0 0-42.666666-42.666666h-85.333334z m-42.666666 341.333333a42.666667 42.666667 0 0 1 42.666666-42.666667h85.333334a42.666667 42.666667 0 0 1 42.666666 42.666667v85.333333a42.666667 42.666667 0 0 1-42.666666 42.666667h-85.333334a42.666667 42.666667 0 0 1-42.666666-42.666667v-85.333333z m341.333333-640a42.666667 42.666667 0 0 0-42.666667 42.666667v85.333333a42.666667 42.666667 0 0 0 42.666667 42.666667h85.333333a42.666667 42.666667 0 0 0 42.666667-42.666667V170.666667a42.666667 42.666667 0 0 0-42.666667-42.666667h-85.333333z m-42.666667 341.333333a42.666667 42.666667 0 0 1 42.666667-42.666666h85.333333a42.666667 42.666667 0 0 1 42.666667 42.666666v85.333334a42.666667 42.666667 0 0 1-42.666667 42.666666h-85.333333a42.666667 42.666667 0 0 1-42.666667-42.666666v-85.333334z m42.666667 256a42.666667 42.666667 0 0 0-42.666667 42.666667v85.333333a42.666667 42.666667 0 0 0 42.666667 42.666667h85.333333a42.666667 42.666667 0 0 0 42.666667-42.666667v-85.333333a42.666667 42.666667 0 0 0-42.666667-42.666667h-85.333333z",fill:"#000000","p-id":"13947"})});return Q.jsxs("div",{ref:a,className:vo.appStoreWrapper,onMouseEnter:m,onMouseLeave:p,children:[Q.jsx("div",{className:`${vo.iconWrapper} ${t?vo.active:""}`,children:Q.jsx(rf,{component:v,className:vo.icon})}),t&&Rn.createPortal(Q.jsx(FQ,{items:e.appStoreList?.items||[],style:r,animationClass:t?vo.fadeIn:vo.fadeOut,onMouseEnter:g,onMouseLeave:h}),document.body)]})},Cn={userActions:"_userActions_1920l_1",icon:"_icon_1920l_11",kefu:"_kefu_1920l_11",bell:"_bell_1920l_14",setting:"_setting_1920l_17",translation:"_translation_1920l_18",userActionsContent:"_userActionsContent_1920l_31",Tabs:"_Tabs_1920l_34",tabItem:"_tabItem_1920l_40",active:"_active_1920l_51",noticeItem:"_noticeItem_1920l_58",title:"_title_1920l_77",content:"_content_1920l_82",time:"_time_1920l_87",seeAll:"_seeAll_1920l_91"};var GT;function Et(){return GT.apply(null,arguments)}function VQ(e){GT=e}function po(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function bi(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function sn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function N0(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(sn(e,t))return!1;return!0}function Pr(e){return e===void 0}function aa(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function pc(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function QT(e,t){var n=[],r,o=e.length;for(r=0;r<o;++r)n.push(t(e[r],r));return n}function Aa(e,t){for(var n in t)sn(t,n)&&(e[n]=t[n]);return sn(t,"toString")&&(e.toString=t.toString),sn(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Ho(e,t,n,r){return O6(e,t,n,r,!0).utc()}function BQ(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function Gt(e){return e._pf==null&&(e._pf=BQ()),e._pf}var M0;Array.prototype.some?M0=Array.prototype.some:M0=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function T0(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=Gt(e),n=M0.call(t.parsedDateParts,function(o){return o!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function Sf(e){var t=Ho(NaN);return e!=null?Aa(Gt(t),e):Gt(t).userInvalidated=!0,t}var $T=Et.momentProperties=[],D0=!1;function z0(e,t){var n,r,o,a=$T.length;if(Pr(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),Pr(t._i)||(e._i=t._i),Pr(t._f)||(e._f=t._f),Pr(t._l)||(e._l=t._l),Pr(t._strict)||(e._strict=t._strict),Pr(t._tzm)||(e._tzm=t._tzm),Pr(t._isUTC)||(e._isUTC=t._isUTC),Pr(t._offset)||(e._offset=t._offset),Pr(t._pf)||(e._pf=Gt(t)),Pr(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)r=$T[n],o=t[r],Pr(o)||(e[r]=o);return e}function gc(e){z0(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),D0===!1&&(D0=!0,Et.updateOffset(this),D0=!1)}function go(e){return e instanceof gc||e!=null&&e._isAMomentObject!=null}function _T(e){Et.suppressDeprecationWarnings===!1&&typeof console<"u"}function qr(e,t){var n=!0;return Aa(function(){if(Et.deprecationHandler!=null&&Et.deprecationHandler(null,e),n){var r=[],o,a,i,l=arguments.length;for(a=0;a<l;a++){if(o="",typeof arguments[a]=="object"){o+=`
|
|
567
|
+
`,NQ=1,MQ=3,TQ=1,DQ=(function(e){sQ(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.cropperRef=c.createRef(),n.imageRef=c.createRef(),n.videoRef=c.createRef(),n.containerPosition={x:0,y:0},n.containerRef=null,n.styleRef=null,n.containerRect=null,n.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},n.dragStartPosition={x:0,y:0},n.dragStartCrop={x:0,y:0},n.gestureZoomStart=0,n.gestureRotationStart=0,n.isTouching=!1,n.lastPinchDistance=0,n.lastPinchRotation=0,n.rafDragTimeout=null,n.rafPinchTimeout=null,n.wheelTimer=null,n.currentDoc=typeof document<"u"?document:null,n.currentWindow=typeof window<"u"?window:null,n.resizeObserver=null,n.previousCropSize=null,n.isInitialized=!1,n.state={cropSize:null,hasWheelJustStarted:!1,mediaObjectFit:void 0},n.initResizeObserver=function(){if(!(typeof window.ResizeObserver>"u"||!n.containerRef)){var r=!0;n.resizeObserver=new window.ResizeObserver(function(o){if(r){r=!1;return}n.computeSizes()}),n.resizeObserver.observe(n.containerRef)}},n.preventZoomSafari=function(r){return r.preventDefault()},n.cleanEvents=function(){n.currentDoc&&(n.currentDoc.removeEventListener("mousemove",n.onMouseMove),n.currentDoc.removeEventListener("mouseup",n.onDragStopped),n.currentDoc.removeEventListener("touchmove",n.onTouchMove),n.currentDoc.removeEventListener("touchend",n.onDragStopped),n.currentDoc.removeEventListener("gesturechange",n.onGestureChange),n.currentDoc.removeEventListener("gestureend",n.onGestureEnd),n.currentDoc.removeEventListener("scroll",n.onScroll))},n.clearScrollEvent=function(){n.containerRef&&n.containerRef.removeEventListener("wheel",n.onWheel),n.wheelTimer&&clearTimeout(n.wheelTimer)},n.onMediaLoad=function(){var r=n.computeSizes();r&&(n.previousCropSize=r,n.emitCropData(),n.setInitialCrop(r),n.isInitialized=!0),n.props.onMediaLoaded&&n.props.onMediaLoaded(n.mediaSize)},n.setInitialCrop=function(r){if(n.props.initialCroppedAreaPercentages){var o=SQ(n.props.initialCroppedAreaPercentages,n.mediaSize,n.props.rotation,r,n.props.minZoom,n.props.maxZoom),a=o.crop,i=o.zoom;n.props.onCropChange(a),n.props.onZoomChange&&n.props.onZoomChange(i)}else if(n.props.initialCroppedAreaPixels){var l=OQ(n.props.initialCroppedAreaPixels,n.mediaSize,n.props.rotation,r,n.props.minZoom,n.props.maxZoom),a=l.crop,i=l.zoom;n.props.onCropChange(a),n.props.onZoomChange&&n.props.onZoomChange(i)}},n.computeSizes=function(){var r,o,a,i,l,s,u=n.imageRef.current||n.videoRef.current;if(u&&n.containerRef){n.containerRect=n.containerRef.getBoundingClientRect(),n.saveContainerPosition();var d=n.containerRect.width/n.containerRect.height,f=((r=n.imageRef.current)===null||r===void 0?void 0:r.naturalWidth)||((o=n.videoRef.current)===null||o===void 0?void 0:o.videoWidth)||0,m=((a=n.imageRef.current)===null||a===void 0?void 0:a.naturalHeight)||((i=n.videoRef.current)===null||i===void 0?void 0:i.videoHeight)||0,p=u.offsetWidth<f||u.offsetHeight<m,g=f/m,h=void 0;if(p)switch(n.state.mediaObjectFit){default:case"contain":h=d>g?{width:n.containerRect.height*g,height:n.containerRect.height}:{width:n.containerRect.width,height:n.containerRect.width/g};break;case"horizontal-cover":h={width:n.containerRect.width,height:n.containerRect.width/g};break;case"vertical-cover":h={width:n.containerRect.height*g,height:n.containerRect.height};break}else h={width:u.offsetWidth,height:u.offsetHeight};n.mediaSize=lr(lr({},h),{naturalWidth:f,naturalHeight:m}),n.props.setMediaSize&&n.props.setMediaSize(n.mediaSize);var v=n.props.cropSize?n.props.cropSize:hQ(n.mediaSize.width,n.mediaSize.height,n.containerRect.width,n.containerRect.height,n.props.aspect,n.props.rotation);return(((l=n.state.cropSize)===null||l===void 0?void 0:l.height)!==v.height||((s=n.state.cropSize)===null||s===void 0?void 0:s.width)!==v.width)&&n.props.onCropSizeChange&&n.props.onCropSizeChange(v),n.setState({cropSize:v},n.recomputeCropPosition),n.props.setCropSize&&n.props.setCropSize(v),v}},n.saveContainerPosition=function(){if(n.containerRef){var r=n.containerRef.getBoundingClientRect();n.containerPosition={x:r.left,y:r.top}}},n.onMouseDown=function(r){n.currentDoc&&(r.preventDefault(),n.currentDoc.addEventListener("mousemove",n.onMouseMove),n.currentDoc.addEventListener("mouseup",n.onDragStopped),n.saveContainerPosition(),n.onDragStart(t.getMousePoint(r)))},n.onMouseMove=function(r){return n.onDrag(t.getMousePoint(r))},n.onScroll=function(r){n.currentDoc&&(r.preventDefault(),n.saveContainerPosition())},n.onTouchStart=function(r){n.currentDoc&&(n.isTouching=!0,!(n.props.onTouchRequest&&!n.props.onTouchRequest(r))&&(n.currentDoc.addEventListener("touchmove",n.onTouchMove,{passive:!1}),n.currentDoc.addEventListener("touchend",n.onDragStopped),n.saveContainerPosition(),r.touches.length===2?n.onPinchStart(r):r.touches.length===1&&n.onDragStart(t.getTouchPoint(r.touches[0]))))},n.onTouchMove=function(r){r.preventDefault(),r.touches.length===2?n.onPinchMove(r):r.touches.length===1&&n.onDrag(t.getTouchPoint(r.touches[0]))},n.onGestureStart=function(r){n.currentDoc&&(r.preventDefault(),n.currentDoc.addEventListener("gesturechange",n.onGestureChange),n.currentDoc.addEventListener("gestureend",n.onGestureEnd),n.gestureZoomStart=n.props.zoom,n.gestureRotationStart=n.props.rotation)},n.onGestureChange=function(r){if(r.preventDefault(),!n.isTouching){var o=t.getMousePoint(r),a=n.gestureZoomStart-1+r.scale;if(n.setNewZoom(a,o,{shouldUpdatePosition:!0}),n.props.onRotationChange){var i=n.gestureRotationStart+r.rotation;n.props.onRotationChange(i)}}},n.onGestureEnd=function(r){n.cleanEvents()},n.onDragStart=function(r){var o,a,i=r.x,l=r.y;n.dragStartPosition={x:i,y:l},n.dragStartCrop=lr({},n.props.crop),(a=(o=n.props).onInteractionStart)===null||a===void 0||a.call(o)},n.onDrag=function(r){var o=r.x,a=r.y;n.currentWindow&&(n.rafDragTimeout&&n.currentWindow.cancelAnimationFrame(n.rafDragTimeout),n.rafDragTimeout=n.currentWindow.requestAnimationFrame(function(){if(n.state.cropSize&&!(o===void 0||a===void 0)){var i=o-n.dragStartPosition.x,l=a-n.dragStartPosition.y,s={x:n.dragStartCrop.x+i,y:n.dragStartCrop.y+l},u=n.props.restrictPosition?dc(s,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):s;n.props.onCropChange(u)}}))},n.onDragStopped=function(){var r,o;n.isTouching=!1,n.cleanEvents(),n.emitCropData(),(o=(r=n.props).onInteractionEnd)===null||o===void 0||o.call(r)},n.onWheel=function(r){if(n.currentWindow&&!(n.props.onWheelRequest&&!n.props.onWheelRequest(r))){r.preventDefault();var o=t.getMousePoint(r),a=gQ(r).pixelY,i=n.props.zoom-a*n.props.zoomSpeed/200;n.setNewZoom(i,o,{shouldUpdatePosition:!0}),n.state.hasWheelJustStarted||n.setState({hasWheelJustStarted:!0},function(){var l,s;return(s=(l=n.props).onInteractionStart)===null||s===void 0?void 0:s.call(l)}),n.wheelTimer&&clearTimeout(n.wheelTimer),n.wheelTimer=n.currentWindow.setTimeout(function(){return n.setState({hasWheelJustStarted:!1},function(){var l,s;return(s=(l=n.props).onInteractionEnd)===null||s===void 0?void 0:s.call(l)})},250)}},n.getPointOnContainer=function(r,o){var a=r.x,i=r.y;if(!n.containerRect)throw new Error("The Cropper is not mounted");return{x:n.containerRect.width/2-(a-o.x),y:n.containerRect.height/2-(i-o.y)}},n.getPointOnMedia=function(r){var o=r.x,a=r.y,i=n.props,l=i.crop,s=i.zoom;return{x:(o+l.x)/s,y:(a+l.y)/s}},n.setNewZoom=function(r,o,a){var i=a===void 0?{}:a,l=i.shouldUpdatePosition,s=l===void 0?!0:l;if(!(!n.state.cropSize||!n.props.onZoomChange)){var u=bf(r,n.props.minZoom,n.props.maxZoom);if(s){var d=n.getPointOnContainer(o,n.containerPosition),f=n.getPointOnMedia(d),m={x:f.x*u-d.x,y:f.y*u-d.y},p=n.props.restrictPosition?dc(m,n.mediaSize,n.state.cropSize,u,n.props.rotation):m;n.props.onCropChange(p)}n.props.onZoomChange(u)}},n.getCropData=function(){if(!n.state.cropSize)return null;var r=n.props.restrictPosition?dc(n.props.crop,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):n.props.crop;return yQ(r,n.mediaSize,n.state.cropSize,n.getAspect(),n.props.zoom,n.props.rotation,n.props.restrictPosition)},n.emitCropData=function(){var r=n.getCropData();if(r){var o=r.croppedAreaPercentages,a=r.croppedAreaPixels;n.props.onCropComplete&&n.props.onCropComplete(o,a),n.props.onCropAreaChange&&n.props.onCropAreaChange(o,a)}},n.emitCropAreaChange=function(){var r=n.getCropData();if(r){var o=r.croppedAreaPercentages,a=r.croppedAreaPixels;n.props.onCropAreaChange&&n.props.onCropAreaChange(o,a)}},n.recomputeCropPosition=function(){var r,o;if(n.state.cropSize){var a=n.props.crop;if(n.isInitialized&&(!((r=n.previousCropSize)===null||r===void 0)&&r.width)&&(!((o=n.previousCropSize)===null||o===void 0)&&o.height)){var i=Math.abs(n.previousCropSize.width-n.state.cropSize.width)>1e-6||Math.abs(n.previousCropSize.height-n.state.cropSize.height)>1e-6;if(i){var l=n.state.cropSize.width/n.previousCropSize.width,s=n.state.cropSize.height/n.previousCropSize.height;a={x:n.props.crop.x*l,y:n.props.crop.y*s}}}var u=n.props.restrictPosition?dc(a,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):a;n.previousCropSize=n.state.cropSize,n.props.onCropChange(u),n.emitCropData()}},n.onKeyDown=function(r){var o,a,i=n.props,l=i.crop,s=i.onCropChange,u=i.keyboardStep,d=i.zoom,f=i.rotation,m=u;if(n.state.cropSize){r.shiftKey&&(m*=.2);var p=lr({},l);switch(r.key){case"ArrowUp":p.y-=m,r.preventDefault();break;case"ArrowDown":p.y+=m,r.preventDefault();break;case"ArrowLeft":p.x-=m,r.preventDefault();break;case"ArrowRight":p.x+=m,r.preventDefault();break;default:return}n.props.restrictPosition&&(p=dc(p,n.mediaSize,n.state.cropSize,d,f)),r.repeat||(a=(o=n.props).onInteractionStart)===null||a===void 0||a.call(o),s(p)}},n.onKeyUp=function(r){var o,a;switch(r.key){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":r.preventDefault();break;default:return}n.emitCropData(),(a=(o=n.props).onInteractionEnd)===null||a===void 0||a.call(o)},n}return t.prototype.componentDidMount=function(){!this.currentDoc||!this.currentWindow||(this.containerRef&&(this.containerRef.ownerDocument&&(this.currentDoc=this.containerRef.ownerDocument),this.currentDoc.defaultView&&(this.currentWindow=this.currentDoc.defaultView),this.initResizeObserver(),typeof window.ResizeObserver>"u"&&this.currentWindow.addEventListener("resize",this.computeSizes),this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.onGestureStart)),this.currentDoc.addEventListener("scroll",this.onScroll),this.props.disableAutomaticStylesInjection||(this.styleRef=this.currentDoc.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.props.nonce&&this.styleRef.setAttribute("nonce",this.props.nonce),this.styleRef.innerHTML=PQ,this.currentDoc.head.appendChild(this.styleRef)),this.imageRef.current&&this.imageRef.current.complete&&this.onMediaLoad(),this.props.setImageRef&&this.props.setImageRef(this.imageRef),this.props.setVideoRef&&this.props.setVideoRef(this.videoRef),this.props.setCropperRef&&this.props.setCropperRef(this.cropperRef))},t.prototype.componentWillUnmount=function(){var n,r;!this.currentDoc||!this.currentWindow||(typeof window.ResizeObserver>"u"&&this.currentWindow.removeEventListener("resize",this.computeSizes),(n=this.resizeObserver)===null||n===void 0||n.disconnect(),this.containerRef&&this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.styleRef&&((r=this.styleRef.parentNode)===null||r===void 0||r.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent())},t.prototype.componentDidUpdate=function(n){var r,o,a,i,l,s,u,d,f;n.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):n.aspect!==this.props.aspect?this.computeSizes():n.objectFit!==this.props.objectFit?this.computeSizes():n.zoom!==this.props.zoom?this.recomputeCropPosition():((r=n.cropSize)===null||r===void 0?void 0:r.height)!==((o=this.props.cropSize)===null||o===void 0?void 0:o.height)||((a=n.cropSize)===null||a===void 0?void 0:a.width)!==((i=this.props.cropSize)===null||i===void 0?void 0:i.width)?this.computeSizes():(((l=n.crop)===null||l===void 0?void 0:l.x)!==((s=this.props.crop)===null||s===void 0?void 0:s.x)||((u=n.crop)===null||u===void 0?void 0:u.y)!==((d=this.props.crop)===null||d===void 0?void 0:d.y))&&this.emitCropAreaChange(),n.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),n.video!==this.props.video&&((f=this.videoRef.current)===null||f===void 0||f.load());var m=this.getObjectFit();m!==this.state.mediaObjectFit&&this.setState({mediaObjectFit:m},this.computeSizes)},t.prototype.getAspect=function(){var n=this.props,r=n.cropSize,o=n.aspect;return r?r.width/r.height:o},t.prototype.getObjectFit=function(){var n,r,o,a;if(this.props.objectFit==="cover"){var i=this.imageRef.current||this.videoRef.current;if(i&&this.containerRef){this.containerRect=this.containerRef.getBoundingClientRect();var l=this.containerRect.width/this.containerRect.height,s=((n=this.imageRef.current)===null||n===void 0?void 0:n.naturalWidth)||((r=this.videoRef.current)===null||r===void 0?void 0:r.videoWidth)||0,u=((o=this.imageRef.current)===null||o===void 0?void 0:o.naturalHeight)||((a=this.videoRef.current)===null||a===void 0?void 0:a.videoHeight)||0,d=s/u;return d<l?"horizontal-cover":"vertical-cover"}return"horizontal-cover"}return this.props.objectFit},t.prototype.onPinchStart=function(n){var r=t.getTouchPoint(n.touches[0]),o=t.getTouchPoint(n.touches[1]);this.lastPinchDistance=UT(r,o),this.lastPinchRotation=YT(r,o),this.onDragStart(ZT(r,o))},t.prototype.onPinchMove=function(n){var r=this;if(!(!this.currentDoc||!this.currentWindow)){var o=t.getTouchPoint(n.touches[0]),a=t.getTouchPoint(n.touches[1]),i=ZT(o,a);this.onDrag(i),this.rafPinchTimeout&&this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var l=UT(o,a),s=r.props.zoom*(l/r.lastPinchDistance);r.setNewZoom(s,i,{shouldUpdatePosition:!1}),r.lastPinchDistance=l;var u=YT(o,a),d=r.props.rotation+(u-r.lastPinchRotation);r.props.onRotationChange&&r.props.onRotationChange(d),r.lastPinchRotation=u})}},t.prototype.render=function(){var n=this,r,o=this.props,a=o.image,i=o.video,l=o.mediaProps,s=o.cropperProps,u=o.transform,d=o.crop,f=d.x,m=d.y,p=o.rotation,g=o.zoom,h=o.cropShape,v=o.showGrid,b=o.roundCropAreaPixels,y=o.style,C=y.containerStyle,x=y.cropAreaStyle,S=y.mediaStyle,O=o.classes,E=O.containerClassName,M=O.cropAreaClassName,w=O.mediaClassName,N=(r=this.state.mediaObjectFit)!==null&&r!==void 0?r:this.getObjectFit();return c.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(z){return n.containerRef=z},"data-testid":"container",style:C,className:yf("reactEasyCrop_Container",E)},a?c.createElement("img",lr({alt:"",className:yf("reactEasyCrop_Image",N==="contain"&&"reactEasyCrop_Contain",N==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",N==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",w)},l,{src:a,ref:this.imageRef,style:lr(lr({},S),{transform:u||"translate(".concat(f,"px, ").concat(m,"px) rotate(").concat(p,"deg) scale(").concat(g,")")}),onLoad:this.onMediaLoad})):i&&c.createElement("video",lr({autoPlay:!0,playsInline:!0,loop:!0,muted:!0,className:yf("reactEasyCrop_Video",N==="contain"&&"reactEasyCrop_Contain",N==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",N==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",w)},l,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:lr(lr({},S),{transform:u||"translate(".concat(f,"px, ").concat(m,"px) rotate(").concat(p,"deg) scale(").concat(g,")")}),controls:!1}),(Array.isArray(i)?i:[{src:i}]).map(function(T){return c.createElement("source",lr({key:T.src},T))})),this.state.cropSize&&c.createElement("div",lr({ref:this.cropperRef,style:lr(lr({},x),{width:b?Math.round(this.state.cropSize.width):this.state.cropSize.width,height:b?Math.round(this.state.cropSize.height):this.state.cropSize.height}),tabIndex:0,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,"data-testid":"cropper",className:yf("reactEasyCrop_CropArea",h==="round"&&"reactEasyCrop_CropAreaRound",v&&"reactEasyCrop_CropAreaGrid",M)},s)))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:MQ,minZoom:NQ,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},cropperProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0,keyboardStep:TQ},t.getMousePoint=function(n){return{x:Number(n.clientX),y:Number(n.clientY)}},t.getTouchPoint=function(n){return{x:Number(n.clientX),y:Number(n.clientY)}},t})(c.Component);const Fo="img-crop",E0=1,fc=.1,Cf=0,JT=-180,qT=180,P0=1,mc=.01,zQ=P.forwardRef((e,t)=>{const{cropperRef:n,zoomSlider:r,rotationSlider:o,aspectSlider:a,showReset:i,resetBtnText:l,modalImage:s,aspect:u,minZoom:d,maxZoom:f,minAspect:m,maxAspect:p,cropShape:g,showGrid:h,cropperProps:v}=e,[b,y]=P.useState({x:0,y:0}),[C,x]=P.useState(E0),[S,O]=P.useState(Cf),[E,M]=P.useState(u),w=P.useRef({width:0,height:0,x:0,y:0}),N=P.useCallback((j,L)=>{w.current=L},[]),T=P.useRef(u);T.current!==u&&(T.current=u,M(u));const z=C!==E0||S!==Cf||E!==u,k=()=>{x(E0),O(Cf),M(u)};P.useImperativeHandle(t,()=>({rotation:S,cropPixelsRef:w,onReset:k}));const D="[display:flex] [align-items:center] [width:60%] [margin-inline:auto]",I="[display:flex] [align-items:center] [justify-content:center] [height:32px] [width:32px] [background:transparent] [border:0] [font-family:inherit] [font-size:18px] [cursor:pointer] disabled:[opacity:20%] disabled:[cursor:default]",R="[flex:1]";return Q.jsxs(Q.Fragment,{children:[Q.jsx(DQ,Object.assign({},v,{ref:n,image:s,crop:b,zoom:C,rotation:S,aspect:E,minZoom:d,maxZoom:f,zoomWithScroll:r,cropShape:g,showGrid:h,onCropChange:y,onZoomChange:x,onRotationChange:O,onCropComplete:N,classes:{containerClassName:`${Fo}-container ![position:relative] [width:100%] [height:40vh] [&~section:first-of-type]:[margin-top:16px] [&~section:last-of-type]:[margin-bottom:16px]`,mediaClassName:`${Fo}-media`}})),r&&Q.jsxs("section",{className:`${Fo}-control ${Fo}-control-zoom ${D}`,children:[Q.jsx("button",{className:I,onClick:()=>x(+(C-fc).toFixed(1)),disabled:C-fc<d,children:"-"}),Q.jsx(Rd,{className:R,min:d,max:f,step:fc,value:C,onChange:x}),Q.jsx("button",{className:I,onClick:()=>x(+(C+fc).toFixed(1)),disabled:C+fc>f,children:"+"})]}),o&&Q.jsxs("section",{className:`${Fo}-control ${Fo}-control-rotation ${D}`,children:[Q.jsx("button",{className:`${I} [font-size:16px]`,onClick:()=>O(S-P0),disabled:S===JT,children:"↺"}),Q.jsx(Rd,{className:R,min:JT,max:qT,step:P0,value:S,onChange:O}),Q.jsx("button",{className:`${I} [font-size:16px]`,onClick:()=>O(S+P0),disabled:S===qT,children:"↻"})]}),a&&Q.jsxs("section",{className:`${Fo}-control ${Fo}-control-aspect ${D}`,children:[Q.jsx("button",{className:I,onClick:()=>M(+(E-mc).toFixed(2)),disabled:E-mc<m,children:"↕"}),Q.jsx(Rd,{className:R,min:m,max:p,step:mc,value:E,onChange:M}),Q.jsx("button",{className:I,onClick:()=>M(+(E+mc).toFixed(2)),disabled:E+mc>p,children:"↔"})]}),i&&(r||o||a)&&Q.jsx(vn,{className:"[position:absolute] [bottom:20px]",style:z?{}:{opacity:.3,pointerEvents:"none"},onClick:k,children:l})]})});var IQ=P.memo(zQ),RQ="/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */.visible{visibility:visible}.\\!\\[position\\:relative\\]{position:relative!important}.\\[position\\:absolute\\]{position:absolute}.\\[bottom\\:20px\\]{bottom:20px}.container{width:100%}.\\[margin-inline\\:auto\\]{margin-inline:auto}.\\[display\\:flex\\]{display:flex}.grid{display:grid}.\\[height\\:32px\\]{height:32px}.\\[height\\:40vh\\]{height:40vh}.\\[width\\:32px\\]{width:32px}.\\[width\\:60\\%\\]{width:60%}.\\[width\\:100\\%\\]{width:100%}.\\[flex\\:1\\]{flex:1}.\\[cursor\\:pointer\\]{cursor:pointer}.\\[align-items\\:center\\]{align-items:center}.\\[justify-content\\:center\\]{justify-content:center}.\\[font-family\\:inherit\\]{font-family:inherit}.\\[font-size\\:16px\\]{font-size:16px}.\\[font-size\\:18px\\]{font-size:18px}.\\[background\\:transparent\\]{background:transparent}.\\[border\\:0\\]{border:0}.disabled\\:\\[cursor\\:default\\]{&:disabled{cursor:default}}.disabled\\:\\[opacity\\:20\\%\\]{&:disabled{opacity:20%}}.\\[\\&\\~section\\:first-of-type\\]\\:\\[margin-top\\:16px\\]{&~section:first-of-type{margin-top:16px}}.\\[\\&\\~section\\:last-of-type\\]\\:\\[margin-bottom\\:16px\\]{&~section:last-of-type{margin-bottom:16px}}";(function(){if(typeof document>"u")return;const e=document.createElement("style"),t=document.querySelector('meta[name="csp-nonce"]');t&&t.content&&e.setAttribute("nonce",t.content),e.textContent=RQ,document.head.appendChild(e)})();const kQ=P.forwardRef((e,t)=>{const{quality:n=.4,fillColor:r="white",zoomSlider:o=!0,rotationSlider:a=!1,aspectSlider:i=!1,showReset:l=!1,resetText:s,aspect:u=1,minZoom:d=1,maxZoom:f=3,minAspect:m=.5,maxAspect:p=2,cropShape:g="rect",showGrid:h=!1,cropperProps:v,modalClassName:b,modalTitle:y,modalWidth:C,modalOk:x,modalCancel:S,onModalOk:O,onModalCancel:E,modalProps:M,beforeCrop:w,children:N}=e,T=P.useRef({});T.current.onModalOk=O,T.current.onModalCancel=E,T.current.beforeCrop=w;const z=P.useRef(null),k=P.useCallback($=>{var _;const te=document.createElement("canvas"),G=te.getContext("2d"),J=(((_=$?.getRootNode)===null||_===void 0?void 0:_.call($))||document).querySelector(`.${Fo}-media`),{width:ne,height:K,x:ue,y:ce}=z.current.cropPixelsRef.current;if(a&&z.current.rotation!==Cf){const{naturalWidth:me,naturalHeight:fe}=J,se=z.current.rotation*(Math.PI/180),ge=Math.abs(Math.sin(se)),pe=Math.abs(Math.cos(se)),de=me*pe+fe*ge,xe=fe*pe+me*ge;te.width=de,te.height=xe,G.fillStyle=r,G.fillRect(0,0,de,xe);const Ne=de/2,je=xe/2;G.translate(Ne,je),G.rotate(se),G.translate(-Ne,-je);const Re=(de-me)/2,ke=(xe-fe)/2;G.drawImage(J,0,0,me,fe,Re,ke,me,fe);const Fe=G.getImageData(0,0,de,xe);te.width=ne,te.height=K,G.putImageData(Fe,-ue,-ce)}else te.width=ne,te.height=K,G.fillStyle=r,G.fillRect(0,0,ne,K),G.drawImage(J,ue,ce,ne,K,0,0,ne,K);return te},[r,a]),[D,I]=P.useState(!1),[R,j]=P.useState(""),L=P.useRef(void 0),A=P.useRef(void 0),H=P.useCallback($=>hf(void 0,[$],void 0,function*({beforeUpload:_,file:te,resolve:G,reject:ie}){const J=te;if(typeof _!="function"){G(J);return}try{const ne=yield _(te,[te]);G(ne===!1?!1:ne!==!0&&ne||J)}catch(ne){ie(ne)}}),[]),W=P.useCallback($=>((_,te)=>new Promise((G,ie)=>hf(void 0,void 0,void 0,function*(){let J=_;if(typeof T.current.beforeCrop=="function")try{const K=yield T.current.beforeCrop(_,te);if(K===!1)return H({beforeUpload:$,file:_,resolve:G,reject:ie});K!==!0&&(J=K||_)}catch{return H({beforeUpload:$,file:_,resolve:G,reject:ie})}const ne=new FileReader;ne.addEventListener("load",()=>{typeof ne.result=="string"&&(I(!0),setTimeout(()=>{j(ne.result)},10))}),ne.readAsDataURL(J),L.current=()=>{var K,ue;I(!1),j(""),z.current.onReset();let ce=!1;(ue=(K=T.current).onModalCancel)===null||ue===void 0||ue.call(K,me=>{G(me),ce=!0}),ce||G(gi.LIST_IGNORE)},A.current=K=>hf(void 0,void 0,void 0,function*(){I(!1),j(""),z.current.onReset();const ue=k(K.target),{type:ce,name:me,uid:fe}=J;ue.toBlob(se=>hf(void 0,void 0,void 0,function*(){const ge=new File([se],me,{type:ce});Object.assign(ge,{uid:fe}),H({beforeUpload:$,file:ge,resolve:pe=>{var de,xe;G(pe),(xe=(de=T.current).onModalOk)===null||xe===void 0||xe.call(de,pe)},reject:pe=>{var de,xe;ie(pe),(xe=(de=T.current).onModalOk)===null||xe===void 0||xe.call(de,pe)}})}),ce,n)})}))),[k,n,H]),X=P.useCallback($=>{const _=Array.isArray($)?$[0]:$,te=_.props,{beforeUpload:G,accept:ie}=te,J=cQ(te,["beforeUpload","accept"]);return Object.assign(Object.assign({},_),{props:Object.assign(Object.assign({},J),{accept:ie||"image/*",beforeUpload:W(G)})})},[W]),F=P.useMemo(()=>{const $={};return C!==void 0&&($.width=C),x!==void 0&&($.okText=x),S!==void 0&&($.cancelText=S),$},[S,x,C]),V=`${Fo}-modal${b?` ${b}`:""}`,Z=(typeof window>"u"?"":window.navigator.language)==="zh-CN",oe=y||(Z?"编辑图片":"Edit image"),q=s||(Z?"重置":"Reset");return Q.jsxs(Q.Fragment,{children:[X(N),Q.jsx(Zr,Object.assign({},M,F,{open:D,title:oe,onCancel:L.current,onOk:A.current,wrapClassName:V,maskClosable:!1,destroyOnHidden:!0,children:Q.jsx(IQ,{ref:z,cropperRef:t,zoomSlider:o,rotationSlider:a,aspectSlider:i,showReset:l,resetBtnText:q,modalImage:R,aspect:u,minZoom:d,maxZoom:f,minAspect:m,maxAspect:p,cropShape:g,showGrid:h,cropperProps:v})}))]})}),xf={avatarUpload:"_avatarUpload_vcunw_1",avatar:"_avatar_vcunw_1",avatarPlaceholder:"_avatarPlaceholder_vcunw_12",uploadTip:"_uploadTip_vcunw_17"},jQ=e=>{const{avatarImg:t,uploadTip:n,avatarTypes:r,avatarMaxSize:o,showCrop:a=!0,imgCropProps:i,onFileChange:l}=e,[s,u]=P.useState(t),[d,f]=P.useState(!1);P.useEffect(()=>{u(t)},[t]);const m=h=>new Promise((v,b)=>{const y=new FileReader;y.readAsDataURL(h),y.onload=()=>{typeof y.result=="string"?v(y.result):b(new Error("文件转换Base64失败"))},y.onerror=C=>b(C)}),p=async h=>{try{f(!0);const v=await m(h);u(v),l&&l(v,h)}catch{}finally{f(!1)}return gi.LIST_IGNORE},g=async h=>{if(r?.length){const v=h.name.split(".").pop()?.toLowerCase()||"";if(!r.includes(v))return Bd.error(`仅支持${r.join("、")}格式文件`),gi.LIST_IGNORE}return o&&!(h.size/1024<o)?(Bd.error(`文件大小不能超过${o}KB!`),gi.LIST_IGNORE):a};return Q.jsxs("div",{className:xf.avatarUpload,children:[s?Q.jsx("img",{src:s,className:xf.avatar,onError:()=>u(void 0)}):Q.jsx(ec,{className:xf.avatarPlaceholder}),Q.jsx(kQ,{beforeCrop:g,...i,children:Q.jsx(gi,{showUploadList:!1,maxCount:1,beforeUpload:p,children:Q.jsx(vn,{type:"primary",icon:Q.jsx(qh,{}),loading:d,children:"上传头像"})})}),!!n&&Q.jsx("div",{className:xf.uploadTip,children:n})]})},{Sider:LQ}=ra,AQ=({collapsed:e=!1,selectedKeys:t=["home"],onSelect:n,menuItems:r})=>{const[o,a]=P.useState(t),l=r||[{key:"home",icon:Q.jsx(w2,{}),label:"首页"}],s=d=>{const{keyPath:f}=d;a(f),n&&n(d)},u=d=>d.map(f=>({key:f.key,icon:f.icon,label:f.label,children:f.children?u(f.children):void 0}));return Q.jsxs(LQ,{width:256,theme:"light",style:{position:"fixed",height:"100vh",left:0,top:0,zIndex:100,backgroundColor:"var(--primary-color)"},children:[Q.jsx("div",{style:{display:"flex",alignItems:"center",height:64,padding:"0 20px",fontSize:"16px",fontWeight:"bold",color:"#fff"},children:!e&&"UNO管理平台"}),Q.jsx(Na,{mode:"inline",selectedKeys:o,onSelect:s,items:u(l),style:{height:"calc(100vh - 64px)",borderRight:0,backgroundColor:"var(--primary-color)"}})]})},vc={wrapper:"_wrapper_1whys_1",search:"_search_1whys_10",centerTabs:"_centerTabs_1whys_21",centerTab:"_centerTab_1whys_21",active:"_active_1whys_41"},vo={appStoreWrapper:"_appStoreWrapper_ugs1z_1",iconWrapper:"_iconWrapper_ugs1z_4",icon:"_icon_ugs1z_4",active:"_active_ugs1z_23",popoverContent:"_popoverContent_ugs1z_31",noText:"_noText_ugs1z_46",item:"_item_ugs1z_50",txt:"_txt_ugs1z_58",fadeIn:"_fadeIn_ugs1z_67",fadeOut:"_fadeOut_ugs1z_70"},FQ=({style:e,items:t,onMouseEnter:n,onMouseLeave:r,animationClass:o})=>Q.jsx("div",{className:`${vo.popoverContent} ${o}`,style:e,onMouseEnter:n,onMouseLeave:r,children:t&&t.length>0?Q.jsx(Q.Fragment,{children:t.map(a=>Q.jsxs("div",{className:vo.item,onClick:()=>{a.onClick?.()},children:[a.image&&Q.jsx("span",{className:vo.image,children:a.image}),Q.jsx("span",{className:vo.txt,children:a.txt})]},a.txt))}):Q.jsx("span",{className:vo.noText,children:"暂无配置"})}),HQ=e=>{const[t,n]=P.useState(!1),[r,o]=P.useState({}),a=P.useRef(null),i=P.useRef(null),l=P.useRef(!1),s=P.useRef(!1),u=()=>{i.current&&(clearTimeout(i.current),i.current=null)},d=()=>{if(u(),!t&&a.current){const b=a.current.getBoundingClientRect();o({top:b.bottom+8,left:b.left})}n(!0)},f=()=>{i.current=setTimeout(()=>{!s.current&&!l.current&&n(!1)},100)},m=()=>{s.current=!0,d()},p=()=>{s.current=!1,f()},g=()=>{l.current=!0,u()},h=()=>{l.current=!1,f()};P.useEffect(()=>()=>{u()},[]);const v=()=>Q.jsx("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"13946",width:"32",height:"32",children:Q.jsx("path",{d:"M128 170.666667a42.666667 42.666667 0 0 1 42.666667-42.666667h85.333333a42.666667 42.666667 0 0 1 42.666667 42.666667v85.333333a42.666667 42.666667 0 0 1-42.666667 42.666667H170.666667a42.666667 42.666667 0 0 1-42.666667-42.666667V170.666667z m0 298.666666a42.666667 42.666667 0 0 1 42.666667-42.666666h85.333333a42.666667 42.666667 0 0 1 42.666667 42.666666v85.333334a42.666667 42.666667 0 0 1-42.666667 42.666666H170.666667a42.666667 42.666667 0 0 1-42.666667-42.666666v-85.333334z m42.666667 256a42.666667 42.666667 0 0 0-42.666667 42.666667v85.333333a42.666667 42.666667 0 0 0 42.666667 42.666667h85.333333a42.666667 42.666667 0 0 0 42.666667-42.666667v-85.333333a42.666667 42.666667 0 0 0-42.666667-42.666667H170.666667z m256-554.666666a42.666667 42.666667 0 0 1 42.666666-42.666667h85.333334a42.666667 42.666667 0 0 1 42.666666 42.666667v85.333333a42.666667 42.666667 0 0 1-42.666666 42.666667h-85.333334a42.666667 42.666667 0 0 1-42.666666-42.666667V170.666667z m42.666666 256a42.666667 42.666667 0 0 0-42.666666 42.666666v85.333334a42.666667 42.666667 0 0 0 42.666666 42.666666h85.333334a42.666667 42.666667 0 0 0 42.666666-42.666666v-85.333334a42.666667 42.666667 0 0 0-42.666666-42.666666h-85.333334z m-42.666666 341.333333a42.666667 42.666667 0 0 1 42.666666-42.666667h85.333334a42.666667 42.666667 0 0 1 42.666666 42.666667v85.333333a42.666667 42.666667 0 0 1-42.666666 42.666667h-85.333334a42.666667 42.666667 0 0 1-42.666666-42.666667v-85.333333z m341.333333-640a42.666667 42.666667 0 0 0-42.666667 42.666667v85.333333a42.666667 42.666667 0 0 0 42.666667 42.666667h85.333333a42.666667 42.666667 0 0 0 42.666667-42.666667V170.666667a42.666667 42.666667 0 0 0-42.666667-42.666667h-85.333333z m-42.666667 341.333333a42.666667 42.666667 0 0 1 42.666667-42.666666h85.333333a42.666667 42.666667 0 0 1 42.666667 42.666666v85.333334a42.666667 42.666667 0 0 1-42.666667 42.666666h-85.333333a42.666667 42.666667 0 0 1-42.666667-42.666666v-85.333334z m42.666667 256a42.666667 42.666667 0 0 0-42.666667 42.666667v85.333333a42.666667 42.666667 0 0 0 42.666667 42.666667h85.333333a42.666667 42.666667 0 0 0 42.666667-42.666667v-85.333333a42.666667 42.666667 0 0 0-42.666667-42.666667h-85.333333z",fill:"#000000","p-id":"13947"})});return Q.jsxs("div",{ref:a,className:vo.appStoreWrapper,onMouseEnter:m,onMouseLeave:p,children:[Q.jsx("div",{className:`${vo.iconWrapper} ${t?vo.active:""}`,children:Q.jsx(rf,{component:v,className:vo.icon})}),t&&Rn.createPortal(Q.jsx(FQ,{items:e.appStoreList?.items||[],style:r,animationClass:t?vo.fadeIn:vo.fadeOut,onMouseEnter:g,onMouseLeave:h}),document.body)]})},Cn={userActions:"_userActions_1920l_1",icon:"_icon_1920l_11",kefu:"_kefu_1920l_11",bell:"_bell_1920l_14",setting:"_setting_1920l_17",translation:"_translation_1920l_18",userActionsContent:"_userActionsContent_1920l_31",Tabs:"_Tabs_1920l_34",tabItem:"_tabItem_1920l_40",active:"_active_1920l_51",noticeItem:"_noticeItem_1920l_58",title:"_title_1920l_77",content:"_content_1920l_82",time:"_time_1920l_87",seeAll:"_seeAll_1920l_91"};var GT;function Et(){return GT.apply(null,arguments)}function VQ(e){GT=e}function po(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function bi(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function sn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function N0(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(sn(e,t))return!1;return!0}function Pr(e){return e===void 0}function aa(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function pc(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function QT(e,t){var n=[],r,o=e.length;for(r=0;r<o;++r)n.push(t(e[r],r));return n}function Aa(e,t){for(var n in t)sn(t,n)&&(e[n]=t[n]);return sn(t,"toString")&&(e.toString=t.toString),sn(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Ho(e,t,n,r){return O6(e,t,n,r,!0).utc()}function BQ(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function Gt(e){return e._pf==null&&(e._pf=BQ()),e._pf}var M0;Array.prototype.some?M0=Array.prototype.some:M0=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function T0(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=Gt(e),n=M0.call(t.parsedDateParts,function(o){return o!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function Sf(e){var t=Ho(NaN);return e!=null?Aa(Gt(t),e):Gt(t).userInvalidated=!0,t}var $T=Et.momentProperties=[],D0=!1;function z0(e,t){var n,r,o,a=$T.length;if(Pr(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),Pr(t._i)||(e._i=t._i),Pr(t._f)||(e._f=t._f),Pr(t._l)||(e._l=t._l),Pr(t._strict)||(e._strict=t._strict),Pr(t._tzm)||(e._tzm=t._tzm),Pr(t._isUTC)||(e._isUTC=t._isUTC),Pr(t._offset)||(e._offset=t._offset),Pr(t._pf)||(e._pf=Gt(t)),Pr(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)r=$T[n],o=t[r],Pr(o)||(e[r]=o);return e}function gc(e){z0(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),D0===!1&&(D0=!0,Et.updateOffset(this),D0=!1)}function go(e){return e instanceof gc||e!=null&&e._isAMomentObject!=null}function _T(e){Et.suppressDeprecationWarnings===!1&&typeof console<"u"}function qr(e,t){var n=!0;return Aa(function(){if(Et.deprecationHandler!=null&&Et.deprecationHandler(null,e),n){var r=[],o,a,i,l=arguments.length;for(a=0;a<l;a++){if(o="",typeof arguments[a]=="object"){o+=`
|
|
568
568
|
[`+a+"] ";for(i in arguments[0])sn(arguments[0],i)&&(o+=i+": "+arguments[0][i]+", ");o=o.slice(0,-2)}else o=arguments[a];r.push(o)}_T(e+`
|
|
569
569
|
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
570
570
|
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var e6={};function t6(e,t){Et.deprecationHandler!=null&&Et.deprecationHandler(e,t),e6[e]||(_T(t),e6[e]=!0)}Et.suppressDeprecationWarnings=!1,Et.deprecationHandler=null;function Vo(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function WQ(e){var t,n;for(n in e)sn(e,n)&&(t=e[n],Vo(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function I0(e,t){var n=Aa({},e),r;for(r in t)sn(t,r)&&(bi(e[r])&&bi(t[r])?(n[r]={},Aa(n[r],e[r]),Aa(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)sn(e,r)&&!sn(t,r)&&bi(e[r])&&(n[r]=Aa({},n[r]));return n}function R0(e){e!=null&&this.set(e)}var k0;Object.keys?k0=Object.keys:k0=function(e){var t,n=[];for(t in e)sn(e,t)&&n.push(t);return n};var XQ={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function KQ(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Vo(r)?r.call(t,n):r}function Bo(e,t,n){var r=""+Math.abs(e),o=t-r.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var j0=/(\[[^\[]*\])|(\\)?([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,wf=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L0={},Il={};function kt(e,t,n,r){var o=r;typeof r=="string"&&(o=function(){return this[r]()}),e&&(Il[e]=o),t&&(Il[t[0]]=function(){return Bo(o.apply(this,arguments),t[1],t[2])}),n&&(Il[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function UQ(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function YQ(e){var t=e.match(j0),n,r;for(n=0,r=t.length;n<r;n++)Il[t[n]]?t[n]=Il[t[n]]:t[n]=UQ(t[n]);return function(o){var a="",i;for(i=0;i<r;i++)a+=Vo(t[i])?t[i].call(o,e):t[i];return a}}function Of(e,t){return e.isValid()?(t=n6(t,e.localeData()),L0[t]=L0[t]||YQ(t),L0[t](e)):e.localeData().invalidDate()}function n6(e,t){var n=5;function r(o){return t.longDateFormat(o)||o}for(wf.lastIndex=0;n>=0&&wf.test(e);)e=e.replace(wf,r),wf.lastIndex=0,n-=1;return e}var ZQ={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 JQ(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(j0).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var qQ="Invalid date";function GQ(){return this._invalidDate}var QQ="%d",$Q=/\d{1,2}/;function _Q(e){return this._ordinal.replace("%d",e)}var e$={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 t$(e,t,n,r){var o=this._relativeTime[n];return Vo(o)?o(e,t,n,r):o.replace(/%d/i,e)}function n$(e,t){var n=this._relativeTime[e>0?"future":"past"];return Vo(n)?n(t):n.replace(/%s/i,t)}var r6={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Gr(e){return typeof e=="string"?r6[e]||r6[e.toLowerCase()]:void 0}function A0(e){var t={},n,r;for(r in e)sn(e,r)&&(n=Gr(r),n&&(t[n]=e[r]));return t}var r$={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function o$(e){var t=[],n;for(n in e)sn(e,n)&&t.push({unit:n,priority:r$[n]});return t.sort(function(r,o){return r.priority-o.priority}),t}var o6=/\d/,kr=/\d\d/,a6=/\d{3}/,F0=/\d{4}/,Ef=/[+-]?\d{6}/,Pn=/\d\d?/,i6=/\d\d\d\d?/,l6=/\d\d\d\d\d\d?/,Pf=/\d{1,3}/,H0=/\d{1,4}/,Nf=/[+-]?\d{1,6}/,Rl=/\d+/,Mf=/[+-]?\d+/,a$=/Z|[+-]\d\d:?\d\d/gi,Tf=/Z|[+-]\d\d(?::?\d\d)?/gi,i$=/[+-]?\d+(\.\d{1,3})?/,hc=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,kl=/^[1-9]\d?/,V0=/^([1-9]\d|\d)/,Df;Df={};function Pt(e,t,n){Df[e]=Vo(t)?t:function(r,o){return r&&n?n:t}}function l$(e,t){return sn(Df,e)?Df[e](t._strict,t._locale):new RegExp(s$(e))}function s$(e){return ia(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,o,a){return n||r||o||a}))}function ia(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Qr(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function rn(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=Qr(t)),n}var B0={};function bn(e,t){var n,r=t,o;for(typeof e=="string"&&(e=[e]),aa(t)&&(r=function(a,i){i[t]=rn(a)}),o=e.length,n=0;n<o;n++)B0[e[n]]=r}function bc(e,t){bn(e,function(n,r,o,a){o._w=o._w||{},t(n,o._w,o,a)})}function c$(e,t,n){t!=null&&sn(B0,e)&&B0[e](t,n._a,n,e)}function zf(e){return e%4===0&&e%100!==0||e%400===0}var yr=0,la=1,Wo=2,Jn=3,ho=4,sa=5,yi=6,u$=7,d$=8;kt("Y",0,0,function(){var e=this.year();return e<=9999?Bo(e,4):"+"+e}),kt(0,["YY",2],0,function(){return this.year()%100}),kt(0,["YYYY",4],0,"year"),kt(0,["YYYYY",5],0,"year"),kt(0,["YYYYYY",6,!0],0,"year"),Pt("Y",Mf),Pt("YY",Pn,kr),Pt("YYYY",H0,F0),Pt("YYYYY",Nf,Ef),Pt("YYYYYY",Nf,Ef),bn(["YYYYY","YYYYYY"],yr),bn("YYYY",function(e,t){t[yr]=e.length===2?Et.parseTwoDigitYear(e):rn(e)}),bn("YY",function(e,t){t[yr]=Et.parseTwoDigitYear(e)}),bn("Y",function(e,t){t[yr]=parseInt(e,10)});function yc(e){return zf(e)?366:365}Et.parseTwoDigitYear=function(e){return rn(e)+(rn(e)>68?1900:2e3)};var s6=jl("FullYear",!0);function f$(){return zf(this.year())}function jl(e,t){return function(n){return n!=null?(c6(this,e,n),Et.updateOffset(this,t),this):Cc(this,e)}}function Cc(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function c6(e,t,n){var r,o,a,i,l;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(o?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(o?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(o?r.setUTCHours(n):r.setHours(n));case"Date":return void(o?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}a=n,i=e.month(),l=e.date(),l=l===29&&i===1&&!zf(a)?28:l,o?r.setUTCFullYear(a,i,l):r.setFullYear(a,i,l)}}function m$(e){return e=Gr(e),Vo(this[e])?this[e]():this}function v$(e,t){if(typeof e=="object"){e=A0(e);var n=o$(e),r,o=n.length;for(r=0;r<o;r++)this[n[r].unit](e[n[r].unit])}else if(e=Gr(e),Vo(this[e]))return this[e](t);return this}function p$(e,t){return(e%t+t)%t}var Ln;Array.prototype.indexOf?Ln=Array.prototype.indexOf:Ln=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function W0(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=p$(t,12);return e+=(t-n)/12,n===1?zf(e)?29:28:31-n%7%2}kt("M",["MM",2],"Mo",function(){return this.month()+1}),kt("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),kt("MMMM",0,0,function(e){return this.localeData().months(this,e)}),Pt("M",Pn,kl),Pt("MM",Pn,kr),Pt("MMM",function(e,t){return t.monthsShortRegex(e)}),Pt("MMMM",function(e,t){return t.monthsRegex(e)}),bn(["M","MM"],function(e,t){t[la]=rn(e)-1}),bn(["MMM","MMMM"],function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);o!=null?t[la]=o:Gt(n).invalidMonth=e});var g$="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),u6="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),d6=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,h$=hc,b$=hc;function y$(e,t){return e?po(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||d6).test(t)?"format":"standalone"][e.month()]:po(this._months)?this._months:this._months.standalone}function C$(e,t){return e?po(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[d6.test(t)?"format":"standalone"][e.month()]:po(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function x$(e,t,n){var r,o,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=Ho([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?t==="MMM"?(o=Ln.call(this._shortMonthsParse,i),o!==-1?o:null):(o=Ln.call(this._longMonthsParse,i),o!==-1?o:null):t==="MMM"?(o=Ln.call(this._shortMonthsParse,i),o!==-1?o:(o=Ln.call(this._longMonthsParse,i),o!==-1?o:null)):(o=Ln.call(this._longMonthsParse,i),o!==-1?o:(o=Ln.call(this._shortMonthsParse,i),o!==-1?o:null))}function S$(e,t,n){var r,o,a;if(this._monthsParseExact)return x$.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=Ho([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(a="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(n&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function f6(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=rn(t);else if(t=e.localeData().monthsParse(t),!aa(t))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,W0(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function m6(e){return e!=null?(f6(this,e),Et.updateOffset(this,!0),this):Cc(this,"Month")}function w$(){return W0(this.year(),this.month())}function O$(e){return this._monthsParseExact?(sn(this,"_monthsRegex")||v6.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(sn(this,"_monthsShortRegex")||(this._monthsShortRegex=h$),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function E$(e){return this._monthsParseExact?(sn(this,"_monthsRegex")||v6.call(this),e?this._monthsStrictRegex:this._monthsRegex):(sn(this,"_monthsRegex")||(this._monthsRegex=b$),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function v6(){function e(s,u){return u.length-s.length}var t=[],n=[],r=[],o,a,i,l;for(o=0;o<12;o++)a=Ho([2e3,o]),i=ia(this.monthsShort(a,"")),l=ia(this.months(a,"")),t.push(i),n.push(l),r.push(l),r.push(i);t.sort(e),n.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function P$(e,t,n,r,o,a,i){var l;return e<100&&e>=0?(l=new Date(e+400,t,n,r,o,a,i),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,o,a,i),l}function xc(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function If(e,t,n){var r=7+t-n,o=(7+xc(e,0,r).getUTCDay()-t)%7;return-o+r-1}function p6(e,t,n,r,o){var a=(7+n-r)%7,i=If(e,r,o),l=1+7*(t-1)+a+i,s,u;return l<=0?(s=e-1,u=yc(s)+l):l>yc(e)?(s=e+1,u=l-yc(e)):(s=e,u=l),{year:s,dayOfYear:u}}function Sc(e,t,n){var r=If(e.year(),t,n),o=Math.floor((e.dayOfYear()-r-1)/7)+1,a,i;return o<1?(i=e.year()-1,a=o+ca(i,t,n)):o>ca(e.year(),t,n)?(a=o-ca(e.year(),t,n),i=e.year()+1):(i=e.year(),a=o),{week:a,year:i}}function ca(e,t,n){var r=If(e,t,n),o=If(e+1,t,n);return(yc(e)-r+o)/7}kt("w",["ww",2],"wo","week"),kt("W",["WW",2],"Wo","isoWeek"),Pt("w",Pn,kl),Pt("ww",Pn,kr),Pt("W",Pn,kl),Pt("WW",Pn,kr),bc(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=rn(e)});function N$(e){return Sc(e,this._week.dow,this._week.doy).week}var M$={dow:0,doy:6};function T$(){return this._week.dow}function D$(){return this._week.doy}function z$(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function I$(e){var t=Sc(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}kt("d",0,"do","day"),kt("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),kt("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),kt("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),kt("e",0,0,"weekday"),kt("E",0,0,"isoWeekday"),Pt("d",Pn),Pt("e",Pn),Pt("E",Pn),Pt("dd",function(e,t){return t.weekdaysMinRegex(e)}),Pt("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Pt("dddd",function(e,t){return t.weekdaysRegex(e)}),bc(["dd","ddd","dddd"],function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);o!=null?t.d=o:Gt(n).invalidWeekday=e}),bc(["d","e","E"],function(e,t,n,r){t[r]=rn(e)});function R$(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function k$(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function X0(e,t){return e.slice(t,7).concat(e.slice(0,t))}var j$="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),g6="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),L$="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),A$=hc,F$=hc,H$=hc;function V$(e,t){var n=po(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?X0(n,this._week.dow):e?n[e.day()]:n}function B$(e){return e===!0?X0(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function W$(e){return e===!0?X0(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function X$(e,t,n){var r,o,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=Ho([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?t==="dddd"?(o=Ln.call(this._weekdaysParse,i),o!==-1?o:null):t==="ddd"?(o=Ln.call(this._shortWeekdaysParse,i),o!==-1?o:null):(o=Ln.call(this._minWeekdaysParse,i),o!==-1?o:null):t==="dddd"?(o=Ln.call(this._weekdaysParse,i),o!==-1||(o=Ln.call(this._shortWeekdaysParse,i),o!==-1)?o:(o=Ln.call(this._minWeekdaysParse,i),o!==-1?o:null)):t==="ddd"?(o=Ln.call(this._shortWeekdaysParse,i),o!==-1||(o=Ln.call(this._weekdaysParse,i),o!==-1)?o:(o=Ln.call(this._minWeekdaysParse,i),o!==-1?o:null)):(o=Ln.call(this._minWeekdaysParse,i),o!==-1||(o=Ln.call(this._weekdaysParse,i),o!==-1)?o:(o=Ln.call(this._shortWeekdaysParse,i),o!==-1?o:null))}function K$(e,t,n){var r,o,a;if(this._weekdaysParseExact)return X$.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=Ho([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function U$(e){if(!this.isValid())return e!=null?this:NaN;var t=Cc(this,"Day");return e!=null?(e=R$(e,this.localeData()),this.add(e-t,"d")):t}function Y$(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Z$(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=k$(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function J$(e){return this._weekdaysParseExact?(sn(this,"_weekdaysRegex")||K0.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(sn(this,"_weekdaysRegex")||(this._weekdaysRegex=A$),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function q$(e){return this._weekdaysParseExact?(sn(this,"_weekdaysRegex")||K0.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(sn(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=F$),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function G$(e){return this._weekdaysParseExact?(sn(this,"_weekdaysRegex")||K0.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(sn(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=H$),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function K0(){function e(d,f){return f.length-d.length}var t=[],n=[],r=[],o=[],a,i,l,s,u;for(a=0;a<7;a++)i=Ho([2e3,1]).day(a),l=ia(this.weekdaysMin(i,"")),s=ia(this.weekdaysShort(i,"")),u=ia(this.weekdays(i,"")),t.push(l),n.push(s),r.push(u),o.push(l),o.push(s),o.push(u);t.sort(e),n.sort(e),r.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function U0(){return this.hours()%12||12}function Q$(){return this.hours()||24}kt("H",["HH",2],0,"hour"),kt("h",["hh",2],0,U0),kt("k",["kk",2],0,Q$),kt("hmm",0,0,function(){return""+U0.apply(this)+Bo(this.minutes(),2)}),kt("hmmss",0,0,function(){return""+U0.apply(this)+Bo(this.minutes(),2)+Bo(this.seconds(),2)}),kt("Hmm",0,0,function(){return""+this.hours()+Bo(this.minutes(),2)}),kt("Hmmss",0,0,function(){return""+this.hours()+Bo(this.minutes(),2)+Bo(this.seconds(),2)});function h6(e,t){kt(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}h6("a",!0),h6("A",!1);function b6(e,t){return t._meridiemParse}Pt("a",b6),Pt("A",b6),Pt("H",Pn,V0),Pt("h",Pn,kl),Pt("k",Pn,kl),Pt("HH",Pn,kr),Pt("hh",Pn,kr),Pt("kk",Pn,kr),Pt("hmm",i6),Pt("hmmss",l6),Pt("Hmm",i6),Pt("Hmmss",l6),bn(["H","HH"],Jn),bn(["k","kk"],function(e,t,n){var r=rn(e);t[Jn]=r===24?0:r}),bn(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),bn(["h","hh"],function(e,t,n){t[Jn]=rn(e),Gt(n).bigHour=!0}),bn("hmm",function(e,t,n){var r=e.length-2;t[Jn]=rn(e.substr(0,r)),t[ho]=rn(e.substr(r)),Gt(n).bigHour=!0}),bn("hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[Jn]=rn(e.substr(0,r)),t[ho]=rn(e.substr(r,2)),t[sa]=rn(e.substr(o)),Gt(n).bigHour=!0}),bn("Hmm",function(e,t,n){var r=e.length-2;t[Jn]=rn(e.substr(0,r)),t[ho]=rn(e.substr(r))}),bn("Hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[Jn]=rn(e.substr(0,r)),t[ho]=rn(e.substr(r,2)),t[sa]=rn(e.substr(o))});function $$(e){return(e+"").toLowerCase().charAt(0)==="p"}var _$=/[ap]\.?m?\.?/i,e_=jl("Hours",!0);function t_(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var y6={calendar:XQ,longDateFormat:ZQ,invalidDate:qQ,ordinal:QQ,dayOfMonthOrdinalParse:$Q,relativeTime:e$,months:g$,monthsShort:u6,week:M$,weekdays:j$,weekdaysMin:L$,weekdaysShort:g6,meridiemParse:_$},Mn={},wc={},Oc;function n_(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function C6(e){return e&&e.toLowerCase().replace("_","-")}function r_(e){for(var t=0,n,r,o,a;t<e.length;){for(a=C6(e[t]).split("-"),n=a.length,r=C6(e[t+1]),r=r?r.split("-"):null;n>0;){if(o=Rf(a.slice(0,n).join("-")),o)return o;if(r&&r.length>=n&&n_(a,r)>=n-1)break;n--}t++}return Oc}function o_(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Rf(e){var t=null,n;if(Mn[e]===void 0&&typeof module<"u"&&module&&module.exports&&o_(e))try{t=Oc._abbr,n=require,n("./locale/"+e),Fa(t)}catch{Mn[e]=null}return Mn[e]}function Fa(e,t){var n;return e&&(Pr(t)?n=ua(e):n=Y0(e,t),n&&(Oc=n)),Oc._abbr}function Y0(e,t){if(t!==null){var n,r=y6;if(t.abbr=e,Mn[e]!=null)t6("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."),r=Mn[e]._config;else if(t.parentLocale!=null)if(Mn[t.parentLocale]!=null)r=Mn[t.parentLocale]._config;else if(n=Rf(t.parentLocale),n!=null)r=n._config;else return wc[t.parentLocale]||(wc[t.parentLocale]=[]),wc[t.parentLocale].push({name:e,config:t}),null;return Mn[e]=new R0(I0(r,t)),wc[e]&&wc[e].forEach(function(o){Y0(o.name,o.config)}),Fa(e),Mn[e]}else return delete Mn[e],null}function a_(e,t){if(t!=null){var n,r,o=y6;Mn[e]!=null&&Mn[e].parentLocale!=null?Mn[e].set(I0(Mn[e]._config,t)):(r=Rf(e),r!=null&&(o=r._config),t=I0(o,t),r==null&&(t.abbr=e),n=new R0(t),n.parentLocale=Mn[e],Mn[e]=n),Fa(e)}else Mn[e]!=null&&(Mn[e].parentLocale!=null?(Mn[e]=Mn[e].parentLocale,e===Fa()&&Fa(e)):Mn[e]!=null&&delete Mn[e]);return Mn[e]}function ua(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Oc;if(!po(e)){if(t=Rf(e),t)return t;e=[e]}return r_(e)}function i_(){return k0(Mn)}function Z0(e){var t,n=e._a;return n&&Gt(e).overflow===-2&&(t=n[la]<0||n[la]>11?la:n[Wo]<1||n[Wo]>W0(n[yr],n[la])?Wo:n[Jn]<0||n[Jn]>24||n[Jn]===24&&(n[ho]!==0||n[sa]!==0||n[yi]!==0)?Jn:n[ho]<0||n[ho]>59?ho:n[sa]<0||n[sa]>59?sa:n[yi]<0||n[yi]>999?yi:-1,Gt(e)._overflowDayOfYear&&(t<yr||t>Wo)&&(t=Wo),Gt(e)._overflowWeeks&&t===-1&&(t=u$),Gt(e)._overflowWeekday&&t===-1&&(t=d$),Gt(e).overflow=t),e}var l_=/^\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)?)?$/,s_=/^\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)?)?$/,c_=/Z|[+-]\d\d(?::?\d\d)?/,kf=[["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]],J0=[["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/]],u_=/^\/?Date\((-?\d+)/i,d_=/^(?:(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}))$/,f_={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function x6(e){var t,n,r=e._i,o=l_.exec(r)||s_.exec(r),a,i,l,s,u=kf.length,d=J0.length;if(o){for(Gt(e).iso=!0,t=0,n=u;t<n;t++)if(kf[t][1].exec(o[1])){i=kf[t][0],a=kf[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(o[3]){for(t=0,n=d;t<n;t++)if(J0[t][1].exec(o[3])){l=(o[2]||" ")+J0[t][0];break}if(l==null){e._isValid=!1;return}}if(!a&&l!=null){e._isValid=!1;return}if(o[4])if(c_.exec(o[4]))s="Z";else{e._isValid=!1;return}e._f=i+(l||"")+(s||""),G0(e)}else e._isValid=!1}function m_(e,t,n,r,o,a){var i=[v_(e),u6.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return a&&i.push(parseInt(a,10)),i}function v_(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function p_(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function g_(e,t,n){if(e){var r=g6.indexOf(e),o=new Date(t[0],t[1],t[2]).getDay();if(r!==o)return Gt(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function h_(e,t,n){if(e)return f_[e];if(t)return 0;var r=parseInt(n,10),o=r%100,a=(r-o)/100;return a*60+o}function S6(e){var t=d_.exec(p_(e._i)),n;if(t){if(n=m_(t[4],t[3],t[2],t[5],t[6],t[7]),!g_(t[1],n,e))return;e._a=n,e._tzm=h_(t[8],t[9],t[10]),e._d=xc.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Gt(e).rfc2822=!0}else e._isValid=!1}function b_(e){var t=u_.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(x6(e),e._isValid===!1)delete e._isValid;else return;if(S6(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:Et.createFromInputFallback(e)}Et.createFromInputFallback=qr("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Ll(e,t,n){return e??t??n}function y_(e){var t=new Date(Et.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function q0(e){var t,n,r=[],o,a,i;if(!e._d){for(o=y_(e),e._w&&e._a[Wo]==null&&e._a[la]==null&&C_(e),e._dayOfYear!=null&&(i=Ll(e._a[yr],o[yr]),(e._dayOfYear>yc(i)||e._dayOfYear===0)&&(Gt(e)._overflowDayOfYear=!0),n=xc(i,0,e._dayOfYear),e._a[la]=n.getUTCMonth(),e._a[Wo]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=o[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Jn]===24&&e._a[ho]===0&&e._a[sa]===0&&e._a[yi]===0&&(e._nextDay=!0,e._a[Jn]=0),e._d=(e._useUTC?xc:P$).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Jn]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(Gt(e).weekdayMismatch=!0)}}function C_(e){var t,n,r,o,a,i,l,s,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,n=Ll(t.GG,e._a[yr],Sc(Nn(),1,4).year),r=Ll(t.W,1),o=Ll(t.E,1),(o<1||o>7)&&(s=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,u=Sc(Nn(),a,i),n=Ll(t.gg,e._a[yr],u.year),r=Ll(t.w,u.week),t.d!=null?(o=t.d,(o<0||o>6)&&(s=!0)):t.e!=null?(o=t.e+a,(t.e<0||t.e>6)&&(s=!0)):o=a),r<1||r>ca(n,a,i)?Gt(e)._overflowWeeks=!0:s!=null?Gt(e)._overflowWeekday=!0:(l=p6(n,r,o,a,i),e._a[yr]=l.year,e._dayOfYear=l.dayOfYear)}Et.ISO_8601=function(){},Et.RFC_2822=function(){};function G0(e){if(e._f===Et.ISO_8601){x6(e);return}if(e._f===Et.RFC_2822){S6(e);return}e._a=[],Gt(e).empty=!0;var t=""+e._i,n,r,o,a,i,l=t.length,s=0,u,d;for(o=n6(e._f,e._locale).match(j0)||[],d=o.length,n=0;n<d;n++)a=o[n],r=(t.match(l$(a,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&Gt(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),s+=r.length),Il[a]?(r?Gt(e).empty=!1:Gt(e).unusedTokens.push(a),c$(a,r,e)):e._strict&&!r&&Gt(e).unusedTokens.push(a);Gt(e).charsLeftOver=l-s,t.length>0&&Gt(e).unusedInput.push(t),e._a[Jn]<=12&&Gt(e).bigHour===!0&&e._a[Jn]>0&&(Gt(e).bigHour=void 0),Gt(e).parsedDateParts=e._a.slice(0),Gt(e).meridiem=e._meridiem,e._a[Jn]=x_(e._locale,e._a[Jn],e._meridiem),u=Gt(e).era,u!==null&&(e._a[yr]=e._locale.erasConvertYear(u,e._a[yr])),q0(e),Z0(e)}function x_(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function S_(e){var t,n,r,o,a,i,l=!1,s=e._f.length;if(s===0){Gt(e).invalidFormat=!0,e._d=new Date(NaN);return}for(o=0;o<s;o++)a=0,i=!1,t=z0({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[o],G0(t),T0(t)&&(i=!0),a+=Gt(t).charsLeftOver,a+=Gt(t).unusedTokens.length*10,Gt(t).score=a,l?a<r&&(r=a,n=t):(r==null||a<r||i)&&(r=a,n=t,i&&(l=!0));Aa(e,n||t)}function w_(e){if(!e._d){var t=A0(e._i),n=t.day===void 0?t.date:t.day;e._a=QT([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),q0(e)}}function O_(e){var t=new gc(Z0(w6(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function w6(e){var t=e._i,n=e._f;return e._locale=e._locale||ua(e._l),t===null||n===void 0&&t===""?Sf({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),go(t)?new gc(Z0(t)):(pc(t)?e._d=t:po(n)?S_(e):n?G0(e):E_(e),T0(e)||(e._d=null),e))}function E_(e){var t=e._i;Pr(t)?e._d=new Date(Et.now()):pc(t)?e._d=new Date(t.valueOf()):typeof t=="string"?b_(e):po(t)?(e._a=QT(t.slice(0),function(n){return parseInt(n,10)}),q0(e)):bi(t)?w_(e):aa(t)?e._d=new Date(t):Et.createFromInputFallback(e)}function O6(e,t,n,r,o){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(bi(e)&&N0(e)||po(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=o,a._l=n,a._i=e,a._f=t,a._strict=r,O_(a)}function Nn(e,t,n,r){return O6(e,t,n,r,!1)}var P_=qr("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Nn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Sf()}),N_=qr("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Nn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Sf()});function E6(e,t){var n,r;if(t.length===1&&po(t[0])&&(t=t[0]),!t.length)return Nn();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function M_(){var e=[].slice.call(arguments,0);return E6("isBefore",e)}function T_(){var e=[].slice.call(arguments,0);return E6("isAfter",e)}var D_=function(){return Date.now?Date.now():+new Date},Ec=["year","quarter","month","week","day","hour","minute","second","millisecond"];function z_(e){var t,n=!1,r,o=Ec.length;for(t in e)if(sn(e,t)&&!(Ln.call(Ec,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<o;++r)if(e[Ec[r]]){if(n)return!1;parseFloat(e[Ec[r]])!==rn(e[Ec[r]])&&(n=!0)}return!0}function I_(){return this._isValid}function R_(){return bo(NaN)}function jf(e){var t=A0(e),n=t.year||0,r=t.quarter||0,o=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,l=t.hour||0,s=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=z_(t),this._milliseconds=+d+u*1e3+s*6e4+l*1e3*60*60,this._days=+i+a*7,this._months=+o+r*3+n*12,this._data={},this._locale=ua(),this._bubble()}function Lf(e){return e instanceof jf}function Q0(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function k_(e,t,n){var r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0,i;for(i=0;i<r;i++)rn(e[i])!==rn(t[i])&&a++;return a+o}function P6(e,t){kt(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+Bo(~~(n/60),2)+t+Bo(~~n%60,2)})}P6("Z",":"),P6("ZZ",""),Pt("Z",Tf),Pt("ZZ",Tf),bn(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=$0(Tf,e)});var j_=/([\+\-]|\d\d)/gi;function $0(e,t){var n=(t||"").match(e),r,o,a;return n===null?null:(r=n[n.length-1]||[],o=(r+"").match(j_)||["-",0,0],a=+(o[1]*60)+rn(o[2]),a===0?0:o[0]==="+"?a:-a)}function _0(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(go(e)||pc(e)?e.valueOf():Nn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),Et.updateOffset(n,!1),n):Nn(e).local()}function eb(e){return-Math.round(e._d.getTimezoneOffset())}Et.updateOffset=function(){};function L_(e,t,n){var r=this._offset||0,o;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=$0(Tf,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(o=eb(this)),this._offset=e,this._isUTC=!0,o!=null&&this.add(o,"m"),r!==e&&(!t||this._changeInProgress?D6(this,bo(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,Et.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:eb(this)}function A_(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function F_(e){return this.utcOffset(0,e)}function H_(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(eb(this),"m")),this}function V_(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=$0(a$,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function B_(e){return this.isValid()?(e=e?Nn(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function W_(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function X_(){if(!Pr(this._isDSTShifted))return this._isDSTShifted;var e={},t;return z0(e,this),e=w6(e),e._a?(t=e._isUTC?Ho(e._a):Nn(e._a),this._isDSTShifted=this.isValid()&&k_(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function K_(){return this.isValid()?!this._isUTC:!1}function U_(){return this.isValid()?this._isUTC:!1}function N6(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Y_=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Z_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function bo(e,t){var n=e,r=null,o,a,i;return Lf(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:aa(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Y_.exec(e))?(o=r[1]==="-"?-1:1,n={y:0,d:rn(r[Wo])*o,h:rn(r[Jn])*o,m:rn(r[ho])*o,s:rn(r[sa])*o,ms:rn(Q0(r[yi]*1e3))*o}):(r=Z_.exec(e))?(o=r[1]==="-"?-1:1,n={y:Ci(r[2],o),M:Ci(r[3],o),w:Ci(r[4],o),d:Ci(r[5],o),h:Ci(r[6],o),m:Ci(r[7],o),s:Ci(r[8],o)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(i=J_(Nn(n.from),Nn(n.to)),n={},n.ms=i.milliseconds,n.M=i.months),a=new jf(n),Lf(e)&&sn(e,"_locale")&&(a._locale=e._locale),Lf(e)&&sn(e,"_isValid")&&(a._isValid=e._isValid),a}bo.fn=jf.prototype,bo.invalid=R_;function Ci(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function M6(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function J_(e,t){var n;return e.isValid()&&t.isValid()?(t=_0(t,e),e.isBefore(t)?n=M6(e,t):(n=M6(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function T6(e,t){return function(n,r){var o,a;return r!==null&&!isNaN(+r)&&(t6(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),o=bo(n,r),D6(this,o,e),this}}function D6(e,t,n,r){var o=t._milliseconds,a=Q0(t._days),i=Q0(t._months);e.isValid()&&(r=r??!0,i&&f6(e,Cc(e,"Month")+i*n),a&&c6(e,"Date",Cc(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&Et.updateOffset(e,a||i))}var q_=T6(1,"add"),G_=T6(-1,"subtract");function z6(e){return typeof e=="string"||e instanceof String}function Q_(e){return go(e)||pc(e)||z6(e)||aa(e)||__(e)||$_(e)||e===null||e===void 0}function $_(e){var t=bi(e)&&!N0(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o,a,i=r.length;for(o=0;o<i;o+=1)a=r[o],n=n||sn(e,a);return t&&n}function __(e){var t=po(e),n=!1;return t&&(n=e.filter(function(r){return!aa(r)&&z6(e)}).length===0),t&&n}function eee(e){var t=bi(e)&&!N0(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],o,a;for(o=0;o<r.length;o+=1)a=r[o],n=n||sn(e,a);return t&&n}function tee(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function nee(e,t){arguments.length===1&&(arguments[0]?Q_(arguments[0])?(e=arguments[0],t=void 0):eee(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Nn(),r=_0(n,this).startOf("day"),o=Et.calendarFormat(this,r)||"sameElse",a=t&&(Vo(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Nn(n)))}function ree(){return new gc(this)}function oee(e,t){var n=go(e)?e:Nn(e);return this.isValid()&&n.isValid()?(t=Gr(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function aee(e,t){var n=go(e)?e:Nn(e);return this.isValid()&&n.isValid()?(t=Gr(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function iee(e,t,n,r){var o=go(e)?e:Nn(e),a=go(t)?t:Nn(t);return this.isValid()&&o.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(o,n):!this.isBefore(o,n))&&(r[1]===")"?this.isBefore(a,n):!this.isAfter(a,n))):!1}function lee(e,t){var n=go(e)?e:Nn(e),r;return this.isValid()&&n.isValid()?(t=Gr(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function see(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function cee(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function uee(e,t,n){var r,o,a;if(!this.isValid())return NaN;if(r=_0(e,this),!r.isValid())return NaN;switch(o=(r.utcOffset()-this.utcOffset())*6e4,t=Gr(t),t){case"year":a=Af(this,r)/12;break;case"month":a=Af(this,r);break;case"quarter":a=Af(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-o)/864e5;break;case"week":a=(this-r-o)/6048e5;break;default:a=this-r}return n?a:Qr(a)}function Af(e,t){if(e.date()<t.date())return-Af(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),o,a;return t-r<0?(o=e.clone().add(n-1,"months"),a=(t-r)/(r-o)):(o=e.clone().add(n+1,"months"),a=(t-r)/(o-r)),-(n+a)||0}Et.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",Et.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function dee(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function fee(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Of(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Vo(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Of(n,"Z")):Of(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function mee(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,o,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(n+r+o+a)}function vee(e){e||(e=this.isUtc()?Et.defaultFormatUtc:Et.defaultFormat);var t=Of(this,e);return this.localeData().postformat(t)}function pee(e,t){return this.isValid()&&(go(e)&&e.isValid()||Nn(e).isValid())?bo({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function gee(e){return this.from(Nn(),e)}function hee(e,t){return this.isValid()&&(go(e)&&e.isValid()||Nn(e).isValid())?bo({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bee(e){return this.to(Nn(),e)}function I6(e){var t;return e===void 0?this._locale._abbr:(t=ua(e),t!=null&&(this._locale=t),this)}var R6=qr("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function k6(){return this._locale}var Ff=1e3,Al=60*Ff,Hf=60*Al,j6=(365*400+97)*24*Hf;function Fl(e,t){return(e%t+t)%t}function L6(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-j6:new Date(e,t,n).valueOf()}function A6(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-j6:Date.UTC(e,t,n)}function yee(e){var t,n;if(e=Gr(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?A6:L6,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Fl(t+(this._isUTC?0:this.utcOffset()*Al),Hf);break;case"minute":t=this._d.valueOf(),t-=Fl(t,Al);break;case"second":t=this._d.valueOf(),t-=Fl(t,Ff);break}return this._d.setTime(t),Et.updateOffset(this,!0),this}function Cee(e){var t,n;if(e=Gr(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?A6:L6,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Hf-Fl(t+(this._isUTC?0:this.utcOffset()*Al),Hf)-1;break;case"minute":t=this._d.valueOf(),t+=Al-Fl(t,Al)-1;break;case"second":t=this._d.valueOf(),t+=Ff-Fl(t,Ff)-1;break}return this._d.setTime(t),Et.updateOffset(this,!0),this}function xee(){return this._d.valueOf()-(this._offset||0)*6e4}function See(){return Math.floor(this.valueOf()/1e3)}function wee(){return new Date(this.valueOf())}function Oee(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Eee(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Pee(){return this.isValid()?this.toISOString():null}function Nee(){return T0(this)}function Mee(){return Aa({},Gt(this))}function Tee(){return Gt(this).overflow}function Dee(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}kt("N",0,0,"eraAbbr"),kt("NN",0,0,"eraAbbr"),kt("NNN",0,0,"eraAbbr"),kt("NNNN",0,0,"eraName"),kt("NNNNN",0,0,"eraNarrow"),kt("y",["y",1],"yo","eraYear"),kt("y",["yy",2],0,"eraYear"),kt("y",["yyy",3],0,"eraYear"),kt("y",["yyyy",4],0,"eraYear"),Pt("N",tb),Pt("NN",tb),Pt("NNN",tb),Pt("NNNN",Bee),Pt("NNNNN",Wee),bn(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?Gt(n).era=o:Gt(n).invalidEra=e}),Pt("y",Rl),Pt("yy",Rl),Pt("yyy",Rl),Pt("yyyy",Rl),Pt("yo",Xee),bn(["y","yy","yyy","yyyy"],yr),bn(["yo"],function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[yr]=n._locale.eraYearOrdinalParse(e,o):t[yr]=parseInt(e,10)});function zee(e,t){var n,r,o,a=this._eras||ua("en")._eras;for(n=0,r=a.length;n<r;++n)switch(typeof a[n].since==="string"&&(o=Et(a[n].since).startOf("day"),a[n].since=o.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":o=Et(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf();break}return a}function Iee(e,t,n){var r,o,a=this.eras(),i,l,s;for(e=e.toUpperCase(),r=0,o=a.length;r<o;++r)if(i=a[r].name.toUpperCase(),l=a[r].abbr.toUpperCase(),s=a[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(l===e)return a[r];break;case"NNNN":if(i===e)return a[r];break;case"NNNNN":if(s===e)return a[r];break}else if([i,l,s].indexOf(e)>=0)return a[r]}function Ree(e,t){var n=e.since<=e.until?1:-1;return t===void 0?Et(e.since).year():Et(e.since).year()+(t-e.offset)*n}function kee(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function jee(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function Lee(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function Aee(){var e,t,n,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-Et(o[e].since).year())*n+o[e].offset;return this.year()}function Fee(e){return sn(this,"_erasNameRegex")||nb.call(this),e?this._erasNameRegex:this._erasRegex}function Hee(e){return sn(this,"_erasAbbrRegex")||nb.call(this),e?this._erasAbbrRegex:this._erasRegex}function Vee(e){return sn(this,"_erasNarrowRegex")||nb.call(this),e?this._erasNarrowRegex:this._erasRegex}function tb(e,t){return t.erasAbbrRegex(e)}function Bee(e,t){return t.erasNameRegex(e)}function Wee(e,t){return t.erasNarrowRegex(e)}function Xee(e,t){return t._eraYearOrdinalRegex||Rl}function nb(){var e=[],t=[],n=[],r=[],o,a,i,l,s,u=this.eras();for(o=0,a=u.length;o<a;++o)i=ia(u[o].name),l=ia(u[o].abbr),s=ia(u[o].narrow),t.push(i),e.push(l),n.push(s),r.push(i),r.push(l),r.push(s);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}kt(0,["gg",2],0,function(){return this.weekYear()%100}),kt(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Vf(e,t){kt(0,[e,e.length],0,t)}Vf("gggg","weekYear"),Vf("ggggg","weekYear"),Vf("GGGG","isoWeekYear"),Vf("GGGGG","isoWeekYear"),Pt("G",Mf),Pt("g",Mf),Pt("GG",Pn,kr),Pt("gg",Pn,kr),Pt("GGGG",H0,F0),Pt("gggg",H0,F0),Pt("GGGGG",Nf,Ef),Pt("ggggg",Nf,Ef),bc(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=rn(e)}),bc(["gg","GG"],function(e,t,n,r){t[r]=Et.parseTwoDigitYear(e)});function Kee(e){return F6.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Uee(e){return F6.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Yee(){return ca(this.year(),1,4)}function Zee(){return ca(this.isoWeekYear(),1,4)}function Jee(){var e=this.localeData()._week;return ca(this.year(),e.dow,e.doy)}function qee(){var e=this.localeData()._week;return ca(this.weekYear(),e.dow,e.doy)}function F6(e,t,n,r,o){var a;return e==null?Sc(this,r,o).year:(a=ca(e,r,o),t>a&&(t=a),Gee.call(this,e,t,n,r,o))}function Gee(e,t,n,r,o){var a=p6(e,t,n,r,o),i=xc(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}kt("Q",0,"Qo","quarter"),Pt("Q",o6),bn("Q",function(e,t){t[la]=(rn(e)-1)*3});function Qee(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}kt("D",["DD",2],"Do","date"),Pt("D",Pn,kl),Pt("DD",Pn,kr),Pt("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),bn(["D","DD"],Wo),bn("Do",function(e,t){t[Wo]=rn(e.match(Pn)[0])});var H6=jl("Date",!0);kt("DDD",["DDDD",3],"DDDo","dayOfYear"),Pt("DDD",Pf),Pt("DDDD",a6),bn(["DDD","DDDD"],function(e,t,n){n._dayOfYear=rn(e)});function $ee(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}kt("m",["mm",2],0,"minute"),Pt("m",Pn,V0),Pt("mm",Pn,kr),bn(["m","mm"],ho);var _ee=jl("Minutes",!1);kt("s",["ss",2],0,"second"),Pt("s",Pn,V0),Pt("ss",Pn,kr),bn(["s","ss"],sa);var ete=jl("Seconds",!1);kt("S",0,0,function(){return~~(this.millisecond()/100)}),kt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),kt(0,["SSS",3],0,"millisecond"),kt(0,["SSSS",4],0,function(){return this.millisecond()*10}),kt(0,["SSSSS",5],0,function(){return this.millisecond()*100}),kt(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),kt(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),kt(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),kt(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Pt("S",Pf,o6),Pt("SS",Pf,kr),Pt("SSS",Pf,a6);var Ha,V6;for(Ha="SSSS";Ha.length<=9;Ha+="S")Pt(Ha,Rl);function tte(e,t){t[yi]=rn(("0."+e)*1e3)}for(Ha="S";Ha.length<=9;Ha+="S")bn(Ha,tte);V6=jl("Milliseconds",!1),kt("z",0,0,"zoneAbbr"),kt("zz",0,0,"zoneName");function nte(){return this._isUTC?"UTC":""}function rte(){return this._isUTC?"Coordinated Universal Time":""}var mt=gc.prototype;mt.add=q_,mt.calendar=nee,mt.clone=ree,mt.diff=uee,mt.endOf=Cee,mt.format=vee,mt.from=pee,mt.fromNow=gee,mt.to=hee,mt.toNow=bee,mt.get=m$,mt.invalidAt=Tee,mt.isAfter=oee,mt.isBefore=aee,mt.isBetween=iee,mt.isSame=lee,mt.isSameOrAfter=see,mt.isSameOrBefore=cee,mt.isValid=Nee,mt.lang=R6,mt.locale=I6,mt.localeData=k6,mt.max=N_,mt.min=P_,mt.parsingFlags=Mee,mt.set=v$,mt.startOf=yee,mt.subtract=G_,mt.toArray=Oee,mt.toObject=Eee,mt.toDate=wee,mt.toISOString=fee,mt.inspect=mee,typeof Symbol<"u"&&Symbol.for!=null&&(mt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),mt.toJSON=Pee,mt.toString=dee,mt.unix=See,mt.valueOf=xee,mt.creationData=Dee,mt.eraName=kee,mt.eraNarrow=jee,mt.eraAbbr=Lee,mt.eraYear=Aee,mt.year=s6,mt.isLeapYear=f$,mt.weekYear=Kee,mt.isoWeekYear=Uee,mt.quarter=mt.quarters=Qee,mt.month=m6,mt.daysInMonth=w$,mt.week=mt.weeks=z$,mt.isoWeek=mt.isoWeeks=I$,mt.weeksInYear=Jee,mt.weeksInWeekYear=qee,mt.isoWeeksInYear=Yee,mt.isoWeeksInISOWeekYear=Zee,mt.date=H6,mt.day=mt.days=U$,mt.weekday=Y$,mt.isoWeekday=Z$,mt.dayOfYear=$ee,mt.hour=mt.hours=e_,mt.minute=mt.minutes=_ee,mt.second=mt.seconds=ete,mt.millisecond=mt.milliseconds=V6,mt.utcOffset=L_,mt.utc=F_,mt.local=H_,mt.parseZone=V_,mt.hasAlignedHourOffset=B_,mt.isDST=W_,mt.isLocal=K_,mt.isUtcOffset=U_,mt.isUtc=N6,mt.isUTC=N6,mt.zoneAbbr=nte,mt.zoneName=rte,mt.dates=qr("dates accessor is deprecated. Use date instead.",H6),mt.months=qr("months accessor is deprecated. Use month instead",m6),mt.years=qr("years accessor is deprecated. Use year instead",s6),mt.zone=qr("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",A_),mt.isDSTShifted=qr("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",X_);function ote(e){return Nn(e*1e3)}function ate(){return Nn.apply(null,arguments).parseZone()}function B6(e){return e}var cn=R0.prototype;cn.calendar=KQ,cn.longDateFormat=JQ,cn.invalidDate=GQ,cn.ordinal=_Q,cn.preparse=B6,cn.postformat=B6,cn.relativeTime=t$,cn.pastFuture=n$,cn.set=WQ,cn.eras=zee,cn.erasParse=Iee,cn.erasConvertYear=Ree,cn.erasAbbrRegex=Hee,cn.erasNameRegex=Fee,cn.erasNarrowRegex=Vee,cn.months=y$,cn.monthsShort=C$,cn.monthsParse=S$,cn.monthsRegex=E$,cn.monthsShortRegex=O$,cn.week=N$,cn.firstDayOfYear=D$,cn.firstDayOfWeek=T$,cn.weekdays=V$,cn.weekdaysMin=W$,cn.weekdaysShort=B$,cn.weekdaysParse=K$,cn.weekdaysRegex=J$,cn.weekdaysShortRegex=q$,cn.weekdaysMinRegex=G$,cn.isPM=$$,cn.meridiem=t_;function Bf(e,t,n,r){var o=ua(),a=Ho().set(r,t);return o[n](a,e)}function W6(e,t,n){if(aa(e)&&(t=e,e=void 0),e=e||"",t!=null)return Bf(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=Bf(e,r,n,"month");return o}function rb(e,t,n,r){typeof e=="boolean"?(aa(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,aa(t)&&(n=t,t=void 0),t=t||"");var o=ua(),a=e?o._week.dow:0,i,l=[];if(n!=null)return Bf(t,(n+a)%7,r,"day");for(i=0;i<7;i++)l[i]=Bf(t,(i+a)%7,r,"day");return l}function ite(e,t){return W6(e,t,"months")}function lte(e,t){return W6(e,t,"monthsShort")}function ste(e,t,n){return rb(e,t,n,"weekdays")}function cte(e,t,n){return rb(e,t,n,"weekdaysShort")}function ute(e,t,n){return rb(e,t,n,"weekdaysMin")}Fa("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(e){var t=e%10,n=rn(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),Et.lang=qr("moment.lang is deprecated. Use moment.locale instead.",Fa),Et.langData=qr("moment.langData is deprecated. Use moment.localeData instead.",ua);var da=Math.abs;function dte(){var e=this._data;return this._milliseconds=da(this._milliseconds),this._days=da(this._days),this._months=da(this._months),e.milliseconds=da(e.milliseconds),e.seconds=da(e.seconds),e.minutes=da(e.minutes),e.hours=da(e.hours),e.months=da(e.months),e.years=da(e.years),this}function X6(e,t,n,r){var o=bo(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function fte(e,t){return X6(this,e,t,1)}function mte(e,t){return X6(this,e,t,-1)}function K6(e){return e<0?Math.floor(e):Math.ceil(e)}function vte(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,o,a,i,l,s;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=K6(ob(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,o=Qr(e/1e3),r.seconds=o%60,a=Qr(o/60),r.minutes=a%60,i=Qr(a/60),r.hours=i%24,t+=Qr(i/24),s=Qr(U6(t)),n+=s,t-=K6(ob(s)),l=Qr(n/12),n%=12,r.days=t,r.months=n,r.years=l,this}function U6(e){return e*4800/146097}function ob(e){return e*146097/4800}function pte(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=Gr(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+U6(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(ob(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function fa(e){return function(){return this.as(e)}}var Y6=fa("ms"),gte=fa("s"),hte=fa("m"),bte=fa("h"),yte=fa("d"),Cte=fa("w"),xte=fa("M"),Ste=fa("Q"),wte=fa("y"),Ote=Y6;function Ete(){return bo(this)}function Pte(e){return e=Gr(e),this.isValid()?this[e+"s"]():NaN}function xi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Nte=xi("milliseconds"),Mte=xi("seconds"),Tte=xi("minutes"),Dte=xi("hours"),zte=xi("days"),Ite=xi("months"),Rte=xi("years");function kte(){return Qr(this.days()/7)}var ma=Math.round,Hl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function jte(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function Lte(e,t,n,r){var o=bo(e).abs(),a=ma(o.as("s")),i=ma(o.as("m")),l=ma(o.as("h")),s=ma(o.as("d")),u=ma(o.as("M")),d=ma(o.as("w")),f=ma(o.as("y")),m=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||i<=1&&["m"]||i<n.m&&["mm",i]||l<=1&&["h"]||l<n.h&&["hh",l]||s<=1&&["d"]||s<n.d&&["dd",s];return n.w!=null&&(m=m||d<=1&&["w"]||d<n.w&&["ww",d]),m=m||u<=1&&["M"]||u<n.M&&["MM",u]||f<=1&&["y"]||["yy",f],m[2]=t,m[3]=+e>0,m[4]=r,jte.apply(null,m)}function Ate(e){return e===void 0?ma:typeof e=="function"?(ma=e,!0):!1}function Fte(e,t){return Hl[e]===void 0?!1:t===void 0?Hl[e]:(Hl[e]=t,e==="s"&&(Hl.ss=t-1),!0)}function Hte(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Hl,o,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},Hl,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),o=this.localeData(),a=Lte(this,!n,r,o),n&&(a=o.pastFuture(+this,a)),o.postformat(a)}var ab=Math.abs;function Vl(e){return(e>0)-(e<0)||+e}function Wf(){if(!this.isValid())return this.localeData().invalidDate();var e=ab(this._milliseconds)/1e3,t=ab(this._days),n=ab(this._months),r,o,a,i,l=this.asSeconds(),s,u,d,f;return l?(r=Qr(e/60),o=Qr(r/60),e%=60,r%=60,a=Qr(n/12),n%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",s=l<0?"-":"",u=Vl(this._months)!==Vl(l)?"-":"",d=Vl(this._days)!==Vl(l)?"-":"",f=Vl(this._milliseconds)!==Vl(l)?"-":"",s+"P"+(a?u+a+"Y":"")+(n?u+n+"M":"")+(t?d+t+"D":"")+(o||r||e?"T":"")+(o?f+o+"H":"")+(r?f+r+"M":"")+(e?f+i+"S":"")):"P0D"}var an=jf.prototype;an.isValid=I_,an.abs=dte,an.add=fte,an.subtract=mte,an.as=pte,an.asMilliseconds=Y6,an.asSeconds=gte,an.asMinutes=hte,an.asHours=bte,an.asDays=yte,an.asWeeks=Cte,an.asMonths=xte,an.asQuarters=Ste,an.asYears=wte,an.valueOf=Ote,an._bubble=vte,an.clone=Ete,an.get=Pte,an.milliseconds=Nte,an.seconds=Mte,an.minutes=Tte,an.hours=Dte,an.days=zte,an.weeks=kte,an.months=Ite,an.years=Rte,an.humanize=Hte,an.toISOString=Wf,an.toString=Wf,an.toJSON=Wf,an.locale=I6,an.localeData=k6,an.toIsoString=qr("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wf),an.lang=R6,kt("X",0,0,"unix"),kt("x",0,0,"valueOf"),Pt("x",Mf),Pt("X",i$),bn("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),bn("x",function(e,t,n){n._d=new Date(rn(e))});Et.version="2.30.1",VQ(Nn),Et.fn=mt,Et.min=M_,Et.max=T_,Et.now=D_,Et.utc=Ho,Et.unix=ote,Et.months=ite,Et.isDate=pc,Et.locale=Fa,Et.invalid=Sf,Et.duration=bo,Et.isMoment=go,Et.weekdays=ste,Et.parseZone=ate,Et.localeData=ua,Et.isDuration=Lf,Et.monthsShort=lte,Et.weekdaysMin=ute,Et.defineLocale=Y0,Et.updateLocale=a_,Et.locales=i_,Et.weekdaysShort=cte,Et.normalizeUnits=Gr,Et.relativeTimeRounding=Ate,Et.relativeTimeThreshold=Fte,Et.calendarFormat=tee,Et.prototype=mt,Et.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"};const $r={wrapper:"_wrapper_nf07s_1",avatar:"_avatar_nf07s_5",name:"_name_nf07s_10",userPop:"_userPop_nf07s_15",topinfo:"_topinfo_nf07s_18",userName:"_userName_nf07s_22",acount:"_acount_nf07s_27",userOption:"_userOption_nf07s_31",option:"_option_nf07s_34",optionLabel:"_optionLabel_nf07s_45",logout:"_logout_nf07s_49",signOut:"_signOut_nf07s_56"},Vte="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='down'%3e%3cpath%20id='Union'%20d='M8.20831%209.73971C8.10156%209.87315%207.8986%209.87315%207.79185%209.73971L5.68002%207.09992C5.54033%206.92531%205.66465%206.66667%205.88825%206.66667L10.1119%206.66667C10.3355%206.66667%2010.4598%206.92532%2010.3201%207.09992L8.20831%209.73971Z'%20fill='%23999999'/%3e%3c/g%3e%3c/svg%3e",Bte=e=>{const{userInfo:t}=e,n=Q.jsxs("div",{className:$r.userPop,children:[Q.jsxs("div",{className:$r.topinfo,children:[Q.jsx("div",{className:$r.userName,children:t?.name}),Q.jsx("div",{className:$r.acount,children:t?.acount})]}),Q.jsx("div",{className:$r.userOption,children:t?.userOptions?.map(r=>Q.jsxs("div",{className:$r.option,onClick:r.onClick,children:[r.icon,Q.jsx("div",{className:$r.optionLabel,children:r.label})]},r.label))}),Q.jsxs("div",{className:$r.logout,onClick:t?.logout,children:[Q.jsx(E2,{style:{color:"#F73D3D"}}),Q.jsx("div",{className:$r.signOut,children:"退出登录"})]})]});return Q.jsx(Os,{placement:"bottom",content:n,style:{padding:0},trigger:"click",children:Q.jsxs("div",{className:$r.wrapper,children:[Q.jsx("img",{className:$r.avatar,src:t?.avatar,alt:t?.name}),Q.jsx("div",{className:$r.name,children:t?.name}),Q.jsx("img",{src:Vte,alt:""})]})})},Wte=(e,t,n,r)=>{const o=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);Si(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),e?.services?.logger?.warn&&e.services.logger.warn(...o)},Z6={},J6=(e,t,n,r)=>{Si(n)&&Z6[n]||(Si(n)&&(Z6[n]=new Date),Wte(e,t,n,r))},q6=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},ib=(e,t,n)=>{e.loadNamespaces(t,q6(e,n))},G6=(e,t,n,r)=>{if(Si(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return ib(e,n,r);n.forEach(o=>{e.options.ns.indexOf(o)<0&&e.options.ns.push(o)}),e.loadLanguages(t,q6(e,r))},Xte=(e,t,n={})=>!t.languages||!t.languages.length?(J6(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,o)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!o(r.isLanguageChangingTo,e))return!1}}),Si=e=>typeof e=="string",Kte=e=>typeof e=="object"&&e!==null,Ute=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Yte={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Zte=e=>Yte[e];let Jte={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(Ute,Zte),transDefaultProps:void 0};const qte=()=>Jte;let Gte;const Qte=()=>Gte,$te=P.createContext();class _te{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var Xf={exports:{}},lb={};var Q6;function ene(){if(Q6)return lb;Q6=1;var e=P;function t(f,m){return f===m&&(f!==0||1/f===1/m)||f!==f&&m!==m}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,o=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function l(f,m){var p=m(),g=r({inst:{value:p,getSnapshot:m}}),h=g[0].inst,v=g[1];return a(function(){h.value=p,h.getSnapshot=m,s(h)&&v({inst:h})},[f,p,m]),o(function(){return s(h)&&v({inst:h}),f(function(){s(h)&&v({inst:h})})},[f]),i(p),p}function s(f){var m=f.getSnapshot;f=f.value;try{var p=m();return!n(f,p)}catch{return!0}}function u(f,m){return m()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:l;return lb.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,lb}var sb={};var $6;function tne(){return $6||($6=1,process.env.NODE_ENV!=="production"&&(function(){function e(p,g){return p===g&&(p!==0||1/p===1/g)||p!==p&&g!==g}function t(p,g){d||o.startTransition===void 0||(d=!0);var h=g();if(!f){var v=g();a(h,v)||(f=!0)}v=i({inst:{value:h,getSnapshot:g}});var b=v[0].inst,y=v[1];return s(function(){b.value=h,b.getSnapshot=g,n(b)&&y({inst:b})},[p,h,g]),l(function(){return n(b)&&y({inst:b}),p(function(){n(b)&&y({inst:b})})},[p]),u(h),h}function n(p){var g=p.getSnapshot;p=p.value;try{var h=g();return!a(p,h)}catch{return!0}}function r(p,g){return g()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=P,a=typeof Object.is=="function"?Object.is:e,i=o.useState,l=o.useEffect,s=o.useLayoutEffect,u=o.useDebugValue,d=!1,f=!1,m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:t;sb.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),sb}var _6;function nne(){return _6||(_6=1,process.env.NODE_ENV==="production"?Xf.exports=ene():Xf.exports=tne()),Xf.exports}var rne=nne();const one={t:(e,t)=>Si(t)?t:Kte(t)&&Si(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,ready:!1},ane=()=>()=>{},ine=(e,t={})=>{const{i18n:n}=t,{i18n:r,defaultNS:o}=P.useContext($te)||{},a=n||r||Qte();a&&!a.reportNamespaces&&(a.reportNamespaces=new _te),a||J6(a,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const i=P.useMemo(()=>({...qte(),...a?.options?.react,...t}),[a,t]),{useSuspense:l,keyPrefix:s}=i,u=o||a?.options?.defaultNS,d=Si(u)?[u]:u||["translation"],f=P.useMemo(()=>d,d);a?.reportNamespaces?.addUsedNamespaces?.(f);const m=P.useRef(0),p=P.useCallback(w=>{if(!a)return ane;const{bindI18n:N,bindI18nStore:T}=i,z=()=>{m.current+=1,w()};return N&&a.on(N,z),T&&a.store.on(T,z),()=>{N&&N.split(" ").forEach(k=>a.off(k,z)),T&&T.split(" ").forEach(k=>a.store.off(k,z))}},[a,i]),g=P.useRef(),h=P.useCallback(()=>{if(!a)return one;const w=!!(a.isInitialized||a.initializedStoreOnce)&&f.every(I=>Xte(I,a,i)),N=t.lng||a.language,T=m.current,z=g.current;if(z&&z.ready===w&&z.lng===N&&z.keyPrefix===s&&z.revision===T)return z;const D={t:a.getFixedT(N,i.nsMode==="fallback"?f:f[0],s),ready:w,lng:N,keyPrefix:s,revision:T};return g.current=D,D},[a,f,s,i,t.lng]),[v,b]=P.useState(0),{t:y,ready:C}=rne.useSyncExternalStore(p,h,h);P.useEffect(()=>{if(a&&!C&&!l){const w=()=>b(N=>N+1);t.lng?G6(a,t.lng,f,w):ib(a,f,w)}},[a,t.lng,f,C,l,v]);const x=a||{},S=P.useRef(null),O=P.useRef(),E=w=>{const N=Object.getOwnPropertyDescriptors(w);N.__original&&delete N.__original;const T=Object.create(Object.getPrototypeOf(w),N);if(!Object.prototype.hasOwnProperty.call(T,"__original"))try{Object.defineProperty(T,"__original",{value:w,writable:!1,enumerable:!1,configurable:!1})}catch{}return T},M=P.useMemo(()=>{const w=x,N=w?.language;let T=w;w&&(S.current&&S.current.__original===w?O.current!==N?(T=E(w),S.current=T,O.current=N):T=S.current:(T=E(w),S.current=T,O.current=N));const z=[y,T,C];return z.t=y,z.i18n=T,z.ready=C,z},[y,x,C,x.resolvedLanguage,x.language,x.languages]);if(a&&l&&!C)throw new Promise(w=>{const N=()=>w();t.lng?G6(a,t.lng,f,N):ib(a,f,N)});return M},lne=e=>{const{i18n:t}=ine(),[n,r]=P.useState("notice"),o=()=>{const s=t.language==="zh-CN"?"en-US":"zh-CN";t.changeLanguage(s)},a=Q.jsxs("div",{className:Cn.userActionsContent,children:[Q.jsxs("div",{className:Cn.Tabs,children:[Q.jsxs("div",{className:`${Cn.tabItem} ${n==="notice"?Cn.active:""}`,onClick:()=>r("notice"),children:["通知 "," ",Q.jsx("span",{children:e.noticeListProps?.noticeList.filter(s=>s.type==="notice").length||0})]}),Q.jsxs("div",{className:`${Cn.tabItem} ${n==="message"?Cn.active:""}`,onClick:()=>r("message"),children:["消息 "," ",Q.jsx("span",{children:e.noticeListProps?.noticeList.filter(s=>s.type==="message").length||0})]}),Q.jsxs("div",{className:`${Cn.tabItem} ${n==="todo"?Cn.active:""}`,onClick:()=>r("todo"),children:["待办 "," ",Q.jsx("span",{children:e.noticeListProps?.noticeList.filter(s=>s.type==="todo").length||0})]})]}),Q.jsxs("div",{className:Cn.noticeList,children:[e.noticeListProps?.noticeList.filter(s=>s.type===n).map(s=>Q.jsxs("div",{className:Cn.noticeItem,children:[n==="notice"&&Q.jsx("div",{className:Cn.icon,style:{backgroundColor:"#DBEAFE"},children:Q.jsx(g2,{style:{color:"#2563EB"}})}),n==="message"&&Q.jsx("div",{className:Cn.icon,style:{backgroundColor:"#FEF9C3"},children:Q.jsx(x2,{style:{color:"#EAB308"}})}),n==="todo"&&Q.jsx("div",{className:Cn.icon,style:{backgroundColor:"#DCFCE7"},children:Q.jsx(h2,{style:{color:"#34D399"}})}),Q.jsxs("div",{children:[Q.jsx("div",{className:Cn.title,children:s.title}),Q.jsx("div",{className:Cn.content,children:s.content}),Q.jsx("div",{className:Cn.time,children:Et(s.time).fromNow()})]})]},s.title+s.time)),Q.jsx("div",{className:Cn.seeAll,onClick:()=>e.noticeListProps?.seeAll(n),children:"查看全部"}),e.noticeListProps?.noticeList.filter(s=>s.type===n).length===0&&Q.jsx("div",{className:Cn.noNotice,children:"暂无数据"})]})]}),i=()=>Q.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("g",{id:"bell",children:Q.jsx("path",{id:"Union",d:"M6.67873 1.81957C6.76695 1.16869 7.32486 0.666992 7.99992 0.666992C8.68821 0.666992 9.25471 1.18855 9.32575 1.85802C11.2573 2.42931 12.6666 4.2169 12.6666 6.33366C12.6666 8.56813 13.1445 10.0488 13.5962 10.9522C13.8229 11.4055 14.0453 11.7183 14.2034 11.9115C14.2825 12.0082 14.3457 12.0751 14.3854 12.1149C14.4053 12.1347 14.4193 12.1478 14.4265 12.1543L14.4317 12.159C14.6436 12.3391 14.7216 12.6321 14.6268 12.8939C14.5312 13.1579 14.2806 13.3337 13.9999 13.3337H10.5826C10.2865 14.4838 9.24248 15.3337 7.99992 15.3337C6.75736 15.3337 5.71329 14.4838 5.41726 13.3337H1.99993C1.7362 13.3337 1.49726 13.1782 1.39042 12.9371C1.28386 12.6966 1.32869 12.416 1.50468 12.2207C1.52277 12.1996 1.54036 12.1782 1.55761 12.1564C1.59905 12.1042 1.66243 12.0205 1.74095 11.9051C1.898 11.6743 2.11549 11.3168 2.33927 10.8295C2.78531 9.85821 3.25934 8.36525 3.32544 6.32266C3.32776 5.10585 3.7148 3.93932 4.5171 3.06923C5.07163 2.46784 5.80061 2.03433 6.67873 1.81957ZM7.99992 14.0003C8.49344 14.0003 8.92433 13.7322 9.15487 13.3337H6.84496C7.0755 13.7322 7.5064 14.0003 7.99992 14.0003ZM12.6491 12.0003C12.5681 11.8629 12.4857 11.7125 12.4036 11.5485C11.8553 10.4518 11.3333 8.76585 11.3333 6.33366C11.3333 4.49272 9.84088 3.00033 7.99993 3.00033C6.84568 3.00033 6.02926 3.39619 5.49732 3.97308C4.95732 4.55871 4.65876 5.38777 4.65876 6.33366C4.65876 6.3407 4.65865 6.34773 4.65843 6.35476C4.58753 8.59333 4.0663 10.2637 3.55094 11.3859C3.44645 11.6134 3.34233 11.8182 3.24243 12.0003H12.6491Z",fill:"var(--primary-color)"})})}),l=()=>Q.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Q.jsx("g",{id:"button_icon",children:Q.jsxs("g",{id:"Union",children:[Q.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.2921 5.33294H14.0001C14.3537 5.33294 14.6928 5.47342 14.9429 5.72347C15.1929 5.97351 15.3334 6.31265 15.3334 6.66627V9.33294C15.3334 9.68656 15.1929 10.0257 14.9429 10.2758C14.6928 10.5258 14.3537 10.6663 14.0001 10.6663H13.2921C13.1296 11.9551 12.5023 13.1404 11.5279 13.9996C10.5536 14.8588 9.29916 15.3329 8.00008 15.3329C7.63189 15.3329 7.33342 15.0345 7.33342 14.6663C7.33342 14.2981 7.63189 13.9996 8.00008 13.9996L8.00251 13.9996C9.0625 13.999 10.0789 13.5776 10.8285 12.828C11.5787 12.0779 12.0001 11.0605 12.0001 9.99961V5.99961C12.0001 4.93874 11.5787 3.92133 10.8285 3.17118C10.0784 2.42104 9.06095 1.99961 8.00008 1.99961C6.93922 1.99961 5.9218 2.42104 5.17165 3.17118C4.42151 3.92133 4.00008 4.93874 4.00008 5.99961V9.99961C4.00008 10.3678 3.7016 10.6663 3.33341 10.6663H2.00008C1.64646 10.6663 1.30732 10.5258 1.05727 10.2758C0.807224 10.0257 0.666748 9.68656 0.666748 9.33294V6.66627C0.666748 6.31265 0.807224 5.97351 1.05727 5.72347C1.30732 5.47342 1.64646 5.33294 2.00008 5.33294H2.70808C2.87077 4.0442 3.49813 2.85912 4.47246 2.00006C5.44679 1.14099 6.70112 0.666992 8.00008 0.666992C9.29905 0.666992 10.5534 1.14099 11.5277 2.00006C12.502 2.85912 13.1294 4.0442 13.2921 5.33294ZM2.00008 6.66627V9.33294H2.66675V6.66627H2.00008ZM13.3334 6.66627V9.33294H14.0001V6.66627H13.3334Z",fill:"#999999"}),Q.jsx("path",{d:"M6.33578 9.66865C5.99588 9.52712 5.60561 9.68793 5.46407 10.0278C5.32254 10.3677 5.48335 10.758 5.82326 10.8995C6.49436 11.179 7.23011 11.3329 8.00013 11.3329C8.77015 11.3329 9.50591 11.179 10.177 10.8995C10.5169 10.758 10.6777 10.3677 10.5362 10.0278C10.3947 9.68793 10.0044 9.52712 9.66448 9.66865C9.15292 9.88166 8.59114 9.99961 8.00013 9.99961C7.40912 9.99961 6.84735 9.88166 6.33578 9.66865Z",fill:"#999999"})]})})});return Q.jsxs("div",{className:Cn.userActions,children:[Q.jsx("div",{className:Cn.icon,children:Q.jsx(rf,{component:l,className:Cn.kefu})}),Q.jsx("div",{className:Cn.icon,children:Q.jsx(Uh,{className:Cn.setting})}),Q.jsx(Os,{placement:"bottom",content:a,style:{padding:0},trigger:"click",children:Q.jsx("div",{className:Cn.icon,children:Q.jsx(rf,{component:i,className:Cn.bell})})}),Q.jsx("div",{className:Cn.icon,onClick:o,children:Q.jsx(z2,{className:Cn.translation})}),Q.jsx(Bte,{userInfo:e.userInfo})]})},sne=e=>{const[t,n]=P.useState(""),{appStoreProps:r={}}=e;return Q.jsxs("div",{className:vc.wrapper,children:[Q.jsx(HQ,{...r}),Q.jsx("div",{className:vc.search,children:Q.jsx(fo,{style:{width:"100%"},placeholder:e.searchProps?.placeholder||"搜索",value:t,prefix:Q.jsx(D2,{style:{color:"#B6B8B7"}}),allowClear:!0,onKeyDown:({key:o})=>{o==="Enter"&&e.searchProps?.onSearch?.(t)},onChange:o=>{n(o.target.value),e.searchProps?.onChange?.(o.target.value)}})}),Q.jsx("div",{className:vc.centerTabs,children:e.centerTabsProps?.centerTabs?.map(o=>Q.jsx("div",{className:`${vc.centerTab} ${o.key===e.centerTabsProps?.currentTabKey?vc.active:""}`,onClick:()=>{e.centerTabsProps?.onChange?.(o.key)},children:o.label},o.key))}),Q.jsx(lne,{noticeListProps:e.noticeListProps,userInfo:e.userInfo})]})},cne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADNklEQVR4AcSXW1IaQRSGAS/lIzsIriDJDnQHugKdFy3LB2UFgRVoniyFKsgKYlYAO4hZgexAHimKS76/7e4ahumhhyQVqs/07fQ5/7nNNLXKf/5tDaDT6Rw9PT316O8eHh4a29qxFQApXCwWg+VyeU5/W6vVXlk72gZEaQC9Xq+OwrusMtZusmsx82gAWNjA5YPpdPqG4BMo204eHx9fCcmX7EbRPApAt9s9w8KfuHyTmxuEpCUgAlyk2O1tBICwk/l83udAHapUq9UhShLo8PLysiqazWafmbfZH0FqDQAPYkAUArACfLyl5OLi4vjq6qoPOWWV6+vrF+Yt9o8FUAigxs7OTo++sBUCwArF2pQYwttSUiSN/dHe3t4pIF7Ep5CRN+cah6gQAIdcZo8ODg7umW9sSZKMCdlpivEsNV4bBgGA/BPcxnosGkow86gmT+iMmOUFla7GeRQEgACTdDqEkF/qyxBnfjj+yWQiY9x0pQ8CILON9ZbbJ5ydb+zImbFjIhnTstyy6YMAzK59pIXZpb/WBQFQAUHUMdp3d3ejvBYEQAx9DlABpqxiFDsezvsQMA4aEwSABz5aYeMyFWDPVChFD4CE/uDWs30QAKhN5nK4tPVSolKkdyDKecC+A1wISpcgik1z4J0xZjHzyPUAB/xXj/EwcyZ6SvU48HW+K15mWkAuABjcK3jM1+6Z+VYN8P4s7wJ9V9bkrAHgQiGkJma40AtYOxmxQB7IeyYPAHOW90peAwCjv9GQyd8i9Gxi+WoZ6tymbu3YdysAiNM5AOQBc/GwFnjmbQb7+/v6ihovcP7GJjjD9+YBoFy3GG+9gHAbWv4pYbXukK6i6sj9ng6FB8CLR3VvYv+O7Z89G4AyXpYGD8Bme5vE6+cRzOmEHGd52HduZlh5zu67OaXZtroq+nkAmrDR4s6X5BF7uuW4D0wdgbp+NbmCNXGrlDs3j8SbJ0Nr5FVLuhytAHCLoR70idtj3MKVbyLW0tndZB7dSgEAvepaCmRxVskYUAnWp0OV5VmblwKg0yi4R5H+BySEweQL603K7RCA+v/ANL6VBiDRKBpBfcVUJFChT7b4i+g3AAAA///9KCJ6AAAABklEQVQDAFoxn1CqycwuAAAAAElFTkSuQmCC",une="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADRElEQVR4AeyXzVEbQRCFJUFxxhEYZQAZiAjAGWgvUBQHRARIEQgOFAUcVhkYIpAcgclAcgTGV/Sz/t4wPbVadvWzJcoXU9Oamd6e1296pnuXWuUf/61NII7j3YeHh+bj42OXPpb4cfPu7m5v3f2sTEDgOOu/vb39TpIkns1mrSRJmhI/jmu12hCbWLarElmJAKAXAsdZYxkwNk3ZEpWrZbZ6vpSAgAC9lrGkWq0O6C/Zdf309LQqmUwmB8wj9CPENeZtrXWTBT8LCQhAQH79K/3lycnJIU6vz87OgrPz8/MX5j30ddkgsq1o7f39fYt5YSskoHMUgF/5yi6dYz8v7CBxLVsMHAn6rrDoc1shga2trfQZdrTLXIQcpbft2COwYhtn+1wCYsy5N73xSLvy45U7rfH3pQJWQ+mbtziXAIbhtgMSdoJ+rYbjZ1swHo+PbZzu5whw6RqknNLoKGX0khqvNeQOPdkCyBwJWz5Mp94RUMi5rUMW9DHUeQW23PrSBMiMkCk4Oxa2fMiXHYkjQJiVKmuXUUDLtj0qqnxWjMCuIcEwgpCKjak21f8QtoHh46vGjoAGJoStR6h+2XxTPQ6Hws7ifSCQNfjs+X8CHyKgXOW83AXZcPj3hJ3FNAIhX7mAMRIqYXoBReQKkD7SRPbtGTntwMnv70jX9OlemIhqjKn/aOAI7Ozs6H0fSOiBl6BTsSKN2oA0EJH8ibNEQk4PpWONClhLhBgvaqPpdCqf73UgiqJXXh51HBwikQnEDgyFFBpxNKG0mj7bYzMAzxFPRwm7J4+r13pdeOjeCWggQTlAeiYA2TtdjyuU5W+AiKiK1Q3Oel5u0EcQ/oLNoTPmh12GY8Lu2ePOFTl3BNiu3AAZIT0ctZDIS0u6LGG+DcM3BWTmHJvDtQnYwmU94b/Axr1f2L2i6o4F3Vz7FAK3t7f7XMq2eWL3hd8UGyegnW9vb/dx7l5w3I0Ox5O7e2zmL6EUZURpRzq2cK7vCaVX2nmIRB526QioLuB0iCSqA4B3CXu6gF2y84XOWVM+AtxwpZi7ZAIy4cINCLv+aVEkTF3Yl44AhUtFqYND1YK5OsDOC888y6Q0AQFBor2oDshmmfwFAAD//+HHdl4AAAAGSURBVAMAtovbUGq8w2kAAAAASUVORK5CYII=",dne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAw0lEQVR4AexVSw6CMBS0nsCreQNc0aYLPYpuu9EjcYQepB/fEEm6gMB7xpiQRxg6nUJnmAUcD38+NIA2oA1oA9qANsBqIIRwJTxX0HH+b6wAtVZD6FZw+lmAvu/vZP5YMsAa7llan9NZDWADa+3NGDOAt4CGtVbbwtkBsGnO+UxjJExn/GjTfPMoCuCciyklhBiNwKGNE+ZFFAAe3vuhlHIBwKFJIA4AM3rrFwAuxVcBpKbtcxpAG9AGtIH9N9B+9eb4GwAA///6kCFrAAAABklEQVQDAPxEakGTiBVGAAAAAElFTkSuQmCC",fne=()=>{const e=[{label:"仪器管理",style:{fontSize:"14px",color:"#666"},type:"link"},{label:"公共平台",style:{fontSize:"14px"},ghost:!0,type:"primary"},{label:"安全管理",style:{fontSize:"14px",color:"#666"},type:"link"},{label:"危化品管理",style:{fontSize:"14px",color:"#666"},type:"link"}],[t,n]=P.useState(1);return Q.jsxs("div",{className:"page-header",children:[Q.jsxs("div",{className:"header-left",children:[Q.jsx("div",{className:"app-box",children:Q.jsx(v2,{})}),Q.jsx(fo,{type:"text",placeholder:"请输入搜索内容"}),Q.jsx("div",{className:"btn-group",children:e.map((r,o)=>Q.jsx("div",{className:t===o?"act":"",style:r.style,onClick:()=>n(o),children:r.label},r.label))})]}),Q.jsxs("div",{className:"header-right",children:[Q.jsx("img",{className:"img-icon",src:cne,alt:""}),Q.jsx("img",{style:{marginLeft:16},className:"img-icon",src:une,alt:""}),Q.jsxs("div",{style:{display:"flex",alignItems:"center",marginLeft:16,cursor:"pointer"},children:[Q.jsx("div",{style:{fontSize:"18px",color:"#999999"},children:Q.jsx(ec,{})}),Q.jsx("div",{style:{fontSize:"12px",color:"#333333",marginLeft:4},children:"genee"}),Q.jsx("div",{children:Q.jsx("img",{style:{marginLeft:4},className:"img-icon",src:dne,alt:""})})]})]})]})},yo={doubleColLayout:"_doubleColLayout_aebel_2",sider:"_sider_aebel_11",contentWrapper:"_contentWrapper_aebel_18",content:"_content_aebel_18",menuItem:"_menuItem_aebel_32",active:"_active_aebel_42",scrollActive:"_scrollActive_aebel_46",buttonGroup:"_buttonGroup_aebel_59",buttonItem:"_buttonItem_aebel_72",dragBar:"_dragBar_aebel_82"},{Sider:mne,Content:vne}=ra,pne=({leftMenu:e,menuActiveKey:t,menuItemClick:n,rightContent:r,activeMode:o="normal",leftWidth:a=250,siderStyle:i={},contentStyle:l={},layoutStyle:s={height:"100%"},onCollapse:u,topBarOptions:d,resizeConfig:f={enabled:!0,minWidth:180,maxWidth:550}})=>{const[m,p]=P.useState(a),[g,h]=P.useState(!1),v=P.useRef(null);P.useEffect(()=>{typeof a=="number"&&p(a)},[a]);const b=y=>{if(!f.enabled)return;y.preventDefault(),h(!0);let C=!0;const x=O=>{if(!C)return;const E=v.current?.parentElement;if(!E)return;const M=E.getBoundingClientRect();let w=O.clientX-M.left-10;f.minWidth&&(w=Math.max(w,f.minWidth)),f.maxWidth&&(w=Math.min(w,f.maxWidth)),p(w),f.onWidthChange&&f.onWidthChange(w)},S=()=>{C=!1,h(!1),document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",S)};return document.addEventListener("mousemove",x),document.addEventListener("mouseup",S),()=>{document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",S)}};return Q.jsxs(ra,{className:`${yo.doubleColLayout} ${g?"resizing":""}`,style:{...s},children:[Q.jsx(mne,{width:m,theme:"light",onCollapse:u,className:yo.sider,style:{...i,transition:g?"none":"width 0.3s ease"},children:e&&e.map(y=>Q.jsx("div",{className:`${yo.menuItem} ${y.key===t?o==="normal"?yo.active:yo.scrollActive:""}`,onClick:()=>n&&n(y),children:y.label},y.key))}),Q.jsx("div",{ref:v,className:yo.dragBar,onMouseDown:b,style:{opacity:g?.8:1}}),Q.jsx(ra,{className:yo.contentWrapper,style:{...l,transition:g?"none":"all 0.3s ease"},children:Q.jsxs(vne,{className:yo.content,style:{},children:[d?.barList&&Q.jsx("div",{className:yo.buttonGroup,children:d.barList.map(y=>Q.jsx("div",{className:`${yo.buttonItem} ${y.key===d.barActiveKey?yo.active:""}`,onClick:()=>d.barClick&&d.barClick(y),children:y.label},y.key))}),r]})})]})},va={detailView:"_detailView_yqf2w_1",detailViewTop:"_detailViewTop_yqf2w_4",detailViewTopBreadcrumb:"_detailViewTopBreadcrumb_yqf2w_10",detailViewContent:"_detailViewContent_yqf2w_14",detailViewContentItem:"_detailViewContentItem_yqf2w_19",detailViewTopLeft:"_detailViewTopLeft_yqf2w_25",detailViewTopRightItem:"_detailViewTopRightItem_yqf2w_28",detailViewTabs:"_detailViewTabs_yqf2w_34"},gne=e=>{const[t,n]=P.useState(e.tabs?.items[0].childrenContent),r=o=>{n(e.tabs?.items.find(a=>a.key===o)?.childrenContent),e.tabs?.onChange?.(o)};return Q.jsxs("div",{className:va.detailView,children:[Q.jsxs("div",{className:va.detailViewTop,children:[Q.jsxs("div",{className:va.detailViewTopLeft,children:[Q.jsxs("div",{className:va.detailViewTopBreadcrumb,children:[Q.jsx(vn,{style:{marginRight:10},icon:Q.jsx(Ol,{})}),Q.jsx("span",{style:{fontSize:20},children:e.title})]}),Q.jsx("div",{children:e.overview})]}),Q.jsx("div",{className:va.detailViewTopRight,children:Q.jsxs("div",{className:va.detailViewTopRightItem,children:[Q.jsx("div",{children:e.buttonBar}),Q.jsx("div",{style:{marginTop:16},children:e.statistic})]})})]}),Q.jsx("div",{className:va.detailViewTabs,children:Q.jsx(Ed,{defaultActiveKey:e.tabs?.defaultActiveKey,items:e.tabs?.items,onChange:r})}),Q.jsx("div",{className:va.detailViewContent,children:Q.jsx("div",{className:va.detailViewContentItem,children:t})})]})};var hne=Y(Y({},zy),{},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",week:"周",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});const e8={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]},cb={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},hne),timePickerLocale:Object.assign({},e8)};cb.lang.ok="确定";const jr="${label}不是一个有效的${type}",bne={locale:"zh-cn",Pagination:WP,DatePicker:cb,TimePicker:e8,Calendar:cb,global:{placeholder:"请选择",close:"关闭"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckAll:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:"暂无数据",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",deselectAll:"取消全选",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:jr,method:jr,array:jr,object:jr,number:jr,date:jr,boolean:jr,integer:jr,float:jr,regexp:jr,email:jr,url:jr,hex:jr},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}},t8={token:{colorPrimary:"#2BA07F",colorPrimaryHover:"#36C196",colorPrimaryActive:"#258D70",colorPrimaryText:"#2BA07F",colorPrimaryTextHover:"#36C196",colorPrimaryTextActive:"#258D70",colorSuccess:"#36C196"}},yne=({children:e,theme:t=t8,...n})=>Q.jsx(Dr,{locale:bne,theme:t,...n,children:Q.jsx(Y1,{children:e})});Dn.AvatarUpload=jQ,Dn.CustomProvider=yne,Dn.DetailView=gne,Dn.DoubleColLayout=pne,Dn.DynamicForm=g0,Dn.FilterForm=YG,Dn.FloatCard=bT,Dn.GlobalHeader=sne,Dn.Login=oQ,Dn.PageHeader=fne,Dn.RemoteSelect=lQ,Dn.SelectedFilterTags=yT,Dn.SidebarMenu=AQ,Dn.TablePlus=XG,Dn.defaultTheme=t8,Object.defineProperty(Dn,Symbol.toStringTag,{value:"Module"})}));
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.wrapper{width:100%;margin-bottom:16px}.login-container{display:flex;height:100vh;width:100%;overflow:hidden}.login-left{box-sizing:border-box;width:46%;background:linear-gradient(135deg,#0c8f5d,#0a7a50);color:#fff;padding:70px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-logo-img{position:absolute;width:40px;height:40px;top:70px;left:70px}.login-logo{font-size:44px;font-weight:700;margin-bottom:44px;letter-spacing:1px}.login-description{font-size:16px;max-width:500px;line-height:36px}.login-right{box-sizing:border-box;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;background-color:#fff;position:relative}.login-container-center{height:100vh;width:100%;overflow:hidden}.login-right-center{width:65%;margin:15% auto;height:80%;border-radius:16px;box-shadow:0 0 10px #0000001a;box-sizing:border-box;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;background-color:#fff;position:relative}.wrapper{width:100%;height:100%}.wrapper :global .ant-pagination .ant-pagination-next:hover .ant-pagination-item-link{background-color:transparent}.wrapper :global .ant-pagination .ant-pagination-prev:hover .ant-pagination-item-link{background-color:transparent}.wrapper :global .ant-pagination .ant-pagination-prev .ant-pagination-item-link:hover{background-color:#0000000f}.wrapper :global .ant-pagination .ant-pagination-next .ant-pagination-item-link:hover{background-color:#0000000f}.wrapper :global .ant-btn-variant-link{padding:6px!important}.wrapper .antdPageIcon{display:flex;align-items:center}.wrapper .antdPageIcon .goFirstBtn{padding:0 4px;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.wrapper .antdPageIcon .goFirstBtn:hover{background-color:#0000000f;border-radius:6px}.wrapper .antdPageIcon .goFinalBtn{padding:0 4px;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.wrapper .antdPageIcon .goFinalBtn:hover{background-color:#0000000f;border-radius:6px}.wrapper .tableHeader{height:32px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}.wrapper .tableHeader .title{font-weight:500;font-size:16px;color:#333}.wrapper .tableHeader .toolBar{display:flex;align-items:center}:root{--font-family: -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"}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)}@-ms-viewport{width:device-width}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]{-webkit-text-decoration:underline dotted;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}._wrapper_1iglk_1{width:100%;height:100%}._wrapper_1iglk_1 .ant-pagination .ant-pagination-next:hover .ant-pagination-item-link,._wrapper_1iglk_1 .ant-pagination .ant-pagination-prev:hover .ant-pagination-item-link{background-color:transparent}._wrapper_1iglk_1 .ant-pagination .ant-pagination-prev .ant-pagination-item-link:hover,._wrapper_1iglk_1 .ant-pagination .ant-pagination-next .ant-pagination-item-link:hover{background-color:#0000000f}._wrapper_1iglk_1 .ant-btn-variant-link{padding:6px!important}._wrapper_1iglk_1 ._antdPageIcon_1iglk_20{display:flex;align-items:center}._wrapper_1iglk_1 ._antdPageIcon_1iglk_20 ._goFirstBtn_1iglk_24{padding:0 4px;width:30px;height:30px;display:flex;align-items:center;justify-content:center}._wrapper_1iglk_1 ._antdPageIcon_1iglk_20 ._goFirstBtn_1iglk_24:hover{background-color:#0000000f;border-radius:6px}._wrapper_1iglk_1 ._antdPageIcon_1iglk_20 ._goFinalBtn_1iglk_36{padding:0 4px;width:30px;height:30px;display:flex;align-items:center;justify-content:center}._wrapper_1iglk_1 ._antdPageIcon_1iglk_20 ._goFinalBtn_1iglk_36:hover{background-color:#0000000f;border-radius:6px}._wrapper_1iglk_1 ._tableHeader_1iglk_48{height:32px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}._wrapper_1iglk_1 ._tableHeader_1iglk_48 ._title_1iglk_55{font-weight:500;font-size:16px;color:#333}._wrapper_1iglk_1 ._tableHeader_1iglk_48 ._toolBar_1iglk_60{display:flex;align-items:center}._wrapper_o3ny9_1{width:100%;height:100%}._settingHeader_o3ny9_5{display:flex;justify-content:space-between;align-items:center;width:100%}._columnList_o3ny9_11{max-height:300px;overflow-y:auto}._columnItem_o3ny9_15{padding:2px 0;display:flex;align-items:center}._dragHandle_o3ny9_20{color:#999;margin-right:4px;cursor:move}.float-card-container{width:100%;position:relative}.float-card-container .ant-card{border:none;border-radius:6px;transition:all 1.6s ease}.float-card-placeholder{width:100%}@media(max-width:768px){.float-card-container .ant-card{padding:12px 12px 0!important}}.ant-card .ant-card-body{padding:0}.selected-filter-tags-container{margin-top:8px;display:flex;flex-wrap:wrap;align-items:center}.selected-filter-tags-label{font-size:14px;color:#6b7280;margin-right:8px;white-space:nowrap}.selected-filter-tags-list{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.selected-filter-tag{margin-right:8px;margin-bottom:4px;cursor:default}.selected-filter-tag:hover{box-shadow:0 2px 8px #00000026}.selected-filter-tags-clear{cursor:pointer;color:#6b7280;font-size:14px;margin-left:8px;white-space:nowrap;padding:4px 8px;border-radius:4px;transition:all .2s ease}.selected-filter-tags-clear:hover{background-color:#f0f0f0;color:#333}.selected-filter-tags-empty{margin:0 0 8px;color:#999;font-size:14px;padding:8px 0}@media(max-width:768px){.selected-filter-tags-container{margin:8px 0}.selected-filter-tags-label{font-size:13px}.selected-filter-tag{font-size:12px;padding:2px 8px;margin-right:6px;margin-bottom:4px}.selected-filter-tags-clear{font-size:13px;margin-left:8px;margin-top:4px}}._wrapper_1dfpz_1{width:100%;margin-bottom:16px}._login-container_swiax_1{display:flex;height:100vh;width:100%;overflow:hidden}._login-left_swiax_8{box-sizing:border-box;width:46%;background:linear-gradient(135deg,#0c8f5d,#0a7a50);color:#fff;padding:70px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}._login-logo-img_swiax_21{position:absolute;width:40px;height:40px;top:70px;left:70px}._login-logo_swiax_21{font-size:44px;font-weight:700;margin-bottom:44px;letter-spacing:1px}._login-description_swiax_39{font-size:16px;max-width:500px;line-height:36px}._login-right_swiax_45{box-sizing:border-box;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;background-color:#fff;position:relative}._login-container-center_swiax_56{height:100vh;width:100%;overflow:hidden}._login-right-center_swiax_61{width:65%;margin:15% auto;height:80%;border-radius:16px;box-shadow:0 0 10px #0000001a;box-sizing:border-box;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;background-color:#fff;position:relative}.login-container{display:flex;height:100%;width:100%;overflow:hidden}.login-right{box-sizing:border-box;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#fff;position:relative}.login-header{margin-bottom:42px;max-width:63%;width:100%}.login-title{font-size:30px;font-weight:700;color:#333;margin-bottom:16px}.login-welcome{font-size:18px;color:#666;margin-bottom:0;margin-top:16px}.login-content{width:100%;max-width:63%}.qrcode-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 0}.qrcode-tip{margin-top:24px;font-size:16px;color:#666;text-align:center}.qrcode-placeholder{display:flex;align-items:center;justify-content:center;height:280px;background-color:#f5f5f5;border-radius:8px;color:#999;font-size:14px}.unified-login-btn{width:100%;height:128px;font-size:24px;background-color:#0c8f5d;border-color:#0c8f5d;border-radius:12px;display:flex;align-items:center;transition:all .3s ease;margin-bottom:82px;color:#fff;padding:0 10%;cursor:pointer;box-sizing:border-box}.unified-login-btn:hover{box-shadow:0 25px 50px 12px #2ba07f4d}.login-arrow{margin-left:8px;font-size:16px}.other-login{width:100%}.login-divider{text-align:center;color:#999;font-size:14px;margin-bottom:24px;position:relative}.login-divider:before,.login-divider:after{content:"";position:absolute;top:50%;width:30%;height:1px;background-color:#eee}.login-divider:before{left:0}.login-divider:after{right:0}.login-options{display:flex;justify-content:center;gap:12%}.login-option{height:48px;width:48px!important;border:none;transition:all .3s ease;background-color:#f5f5f5;margin-bottom:8px;font-size:18px}@media screen and (min-width:1440px){.login-option{height:54px;width:54px!important;font-size:16px}}@media screen and (max-width:1439px){.login-header,.login-content{max-width:72%}}.login-options>div{display:flex;align-items:center;flex-direction:column;justify-content:center}.login-options>div>div{font-size:12px;color:#666}.login-option:hover{border-color:#0c8f5d;color:#0c8f5d;transform:translateY(-1px);box-shadow:0 2px 8px #0c8f5d33}.login-footer{position:absolute;top:70px;right:80px;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.register-link{font-size:14px;color:#666}.forgot-password{font-size:14px}.forgot-password-text{color:#0c8f5d;cursor:pointer;transition:color .3s ease}.forgot-password-text:hover{color:#0a7a50;text-decoration:underline}.register-text{color:#0c8f5d;cursor:pointer;margin-left:4px;transition:color .3s ease}.register-text:hover{color:#0a7a50;text-decoration:underline}.register-type-item{height:118px;box-shadow:0 2px 14px 1px #0000000f;border-radius:6px;display:flex;align-items:center;padding:0 24px;margin-bottom:44px;cursor:pointer;border:1px solid transparent}.register-type-item-icon{width:64px;height:64px;font-size:26px;color:var(--primary-color);background-color:var(--primary-color-light);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:28px}.register-type-item-right{flex:1;display:flex;flex-direction:column;justify-content:center}.register-type-item-right-title{font-size:16px;font-weight:500;color:#333;margin-bottom:8px}.register-type-item-right-desc{font-size:14px;color:#666;max-width:318px}.register-type-item-right-arrow{font-size:16px;color:var(--primary-color);display:none}.register-type-item:hover .register-type-item-right-arrow{display:block}.register-type-item:hover{background-color:var(--primary-color-light);border-color:var(--primary-color)}.register-type-item:hover .register-type-item-icon{color:#fff;background-color:var(--primary-color)}.register-link-container{position:absolute;top:70px;width:100%;display:flex;justify-content:space-between;align-items:center;padding:0 20px;font-size:14px;color:#b8b8b8}.out-login{cursor:pointer;transition:all .3s ease;padding:10px 0}.out-login:hover{transform:translate(5px)}.out-login-button{width:100%;display:flex;align-items:center;justify-content:flex-start;color:#666;font-size:16px;padding:12px 24px;border-radius:8px;transition:all .3s ease}.out-login-button:hover{color:var(--primary-color);background-color:#2ba07f0d}.login-arrow{font-size:14px;transition:all .3s ease}.out-login-button:hover .login-arrow{transform:translate(3px)}.login-betwen{position:relative}.forgot-password{position:absolute;right:0;top:0;color:var(--primary-color);line-height:32px;cursor:pointer}._wrapper_p0tz9_1{width:100%;height:100%}._avatarUpload_vcunw_1{display:flex;flex-direction:column;align-items:center}._avatarUpload_vcunw_1 ._avatar_vcunw_1{width:98px;height:98px;border-radius:50%;margin-bottom:16px}._avatarUpload_vcunw_1 ._avatarPlaceholder_vcunw_12{font-size:48px;color:#999;margin-bottom:16px}._avatarUpload_vcunw_1 ._uploadTip_vcunw_17{font-size:12px;color:#999;margin-top:16px}.ant-menu-light .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-submenu-selected):hover,.ant-menu-light>.ant-menu .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-submenu-selected):hover,.ant-menu-light .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-submenu-selected)>.ant-menu-submenu-title:hover,.ant-menu-light>.ant-menu .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-submenu-selected)>.ant-menu-submenu-title:hover{color:#fff!important}.ant-menu-light .ant-menu-submenu-selected>.ant-menu-submenu-title{background-color:#00000026!important;border-radius:8px}.ant-menu-light .ant-menu-item-selected{border-radius:8px}._wrapper_1whys_1{width:100%;height:56px;display:flex;justify-content:space-between;border-bottom:1px solid #e8e8e8;padding:0 24px;align-items:center}._search_1whys_10{margin:0 8px;width:200px}.ant-input-outlined{border-color:#f0f0f0}._ant-input-outlined_1whys_14:focus,._ant-input-outlined_1whys_14:focus-within{box-shadow:none}._centerTabs_1whys_21{flex:1;display:flex;margin-left:8px}._centerTabs_1whys_21 ._centerTab_1whys_21{width:fit-content;height:32px;line-height:32px;padding:0 12px;border-radius:6px;color:#666;font-size:14px;cursor:pointer;margin-right:8px}._centerTabs_1whys_21 ._centerTab_1whys_21 :hover{background-color:#0000000f}._centerTabs_1whys_21 ._currentTab_1whys_40,._centerTabs_1whys_21 ._active_1whys_41{color:var(--primary-color);background-color:var(--primary-color-light)}._appStoreWrapper_ugs1z_1{position:relative}._appStoreWrapper_ugs1z_1 ._iconWrapper_ugs1z_4{width:32px;height:32px;border-radius:6px;border:1px solid #F0F0F0;display:flex;justify-content:center;align-items:center;cursor:pointer;transition:all .3s}._appStoreWrapper_ugs1z_1 ._iconWrapper_ugs1z_4 ._icon_ugs1z_4{width:20px;height:20px}._appStoreWrapper_ugs1z_1 ._iconWrapper_ugs1z_4 ._icon_ugs1z_4 path{fill:#d9d9d9;transition:all .3s}._appStoreWrapper_ugs1z_1 ._iconWrapper_ugs1z_4._active_ugs1z_23{background:#eaf6f2;border-radius:6px;border:1px solid var(--primary-color)}._appStoreWrapper_ugs1z_1 ._iconWrapper_ugs1z_4._active_ugs1z_23 ._icon_ugs1z_4 path{fill:var(--primary-color)}._popoverContent_ugs1z_31{width:510px;max-height:232px;background:#fff;box-shadow:0 0 8px -4px #10182808,0 0 24px -4px #10182814;border-radius:6px;border:1px solid #F0F0F0;overflow:auto;padding:24px;box-sizing:border-box;position:absolute;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}._popoverContent_ugs1z_31 ._noText_ugs1z_46{color:#999;font-size:14px}._popoverContent_ugs1z_31 ._item_ugs1z_50{display:flex;align-items:center;cursor:pointer}._popoverContent_ugs1z_31 ._item_ugs1z_50:hover,._popoverContent_ugs1z_31 ._item_ugs1z_50:hover ._txt_ugs1z_58{color:var(--primary-color)}._popoverContent_ugs1z_31 ._item_ugs1z_50 ._txt_ugs1z_58{padding-left:16px;font-weight:400;font-size:14px;color:#333}._popoverContent_ugs1z_31._fadeIn_ugs1z_67{animation:_fadeInSlideDown_ugs1z_1 .2s ease-out forwards}._popoverContent_ugs1z_31._fadeOut_ugs1z_70{animation:_fadeOutSlideUp_ugs1z_1 .2s ease-out forwards}@keyframes _fadeInSlideDown_ugs1z_1{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes _fadeOutSlideUp_ugs1z_1{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}._userActions_1920l_1{display:flex;align-items:center;gap:16px}._userActions_1920l_1 div{cursor:pointer;display:flex;align-items:center}._userActions_1920l_1 ._icon_1920l_11:hover ._kefu_1920l_11 path{fill:var(--primary-color)}._userActions_1920l_1 ._icon_1920l_11:hover ._bell_1920l_14 path{fill:var(--primary-color)}._userActions_1920l_1 ._icon_1920l_11:hover ._setting_1920l_17,._userActions_1920l_1 ._icon_1920l_11:hover ._translation_1920l_18{color:var(--primary-color)}._userActions_1920l_1 ._icon_1920l_11 ._setting_1920l_17,._userActions_1920l_1 ._icon_1920l_11 ._translation_1920l_18{color:#999}._userActions_1920l_1 ._icon_1920l_11 ._bell_1920l_14 path{fill:#999}.ant-popover .ant-popover-inner{padding:0!important}._userActionsContent_1920l_31{width:382px}._userActionsContent_1920l_31 ._Tabs_1920l_34{display:flex;justify-content:space-between;padding:0 16px;border-bottom:1px solid #e8e8e8}._userActionsContent_1920l_31 ._Tabs_1920l_34 ._tabItem_1920l_40{width:106px;font-size:14px;text-align:center;padding-bottom:12px;padding-top:13px;cursor:pointer}._userActionsContent_1920l_31 ._Tabs_1920l_34 ._tabItem_1920l_40 span{font-size:12px}._userActionsContent_1920l_31 ._Tabs_1920l_34 ._tabItem_1920l_40._active_1920l_51{border-bottom:2px solid var(--primary-color);color:var(--primary-color)}._userActionsContent_1920l_31 ._Tabs_1920l_34 ._tabItem_1920l_40._active_1920l_51 span{color:var(--primary-color)}._userActionsContent_1920l_31 ._noticeItem_1920l_58{padding:12px 16px;border-bottom:1px solid #e8e8e8;cursor:pointer;display:flex;gap:12px}._userActionsContent_1920l_31 ._noticeItem_1920l_58 ._icon_1920l_11{width:32px;height:32px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center}._userActionsContent_1920l_31 ._noticeItem_1920l_58:hover{background-color:#0000000f}._userActionsContent_1920l_31 ._noticeItem_1920l_58 ._title_1920l_77{font-size:14px;color:#333;margin-bottom:4px}._userActionsContent_1920l_31 ._noticeItem_1920l_58 ._content_1920l_82{font-size:14px;color:#666;margin-bottom:8px}._userActionsContent_1920l_31 ._noticeItem_1920l_58 ._time_1920l_87{color:#b8b8b8;font-size:12px}._seeAll_1920l_91{background-color:#f9fafb;cursor:pointer;text-align:center;color:var(--primary-color);height:48px;line-height:48px;font-size:14px}._wrapper_nf07s_1{display:flex;align-items:center}._avatar_nf07s_5{width:24px;height:24px;border-radius:50%}._name_nf07s_10{margin-left:4px;color:#333;font-size:12px}._userPop_nf07s_15{width:188px}._userPop_nf07s_15 ._topinfo_nf07s_18{padding:12px 16px;border-bottom:1px solid #F0F0F0}._userPop_nf07s_15 ._userName_nf07s_22{color:#333;font-size:14px;font-weight:700}._userPop_nf07s_15 ._acount_nf07s_27{color:#666;font-size:12px}._userPop_nf07s_15 ._userOption_nf07s_31{padding-top:8px}._userPop_nf07s_15 ._option_nf07s_34{display:flex;height:32px;align-items:center;padding:0 16px;line-height:32px;cursor:pointer}._userPop_nf07s_15 ._option_nf07s_34:hover{background-color:#f5f5f5}._userPop_nf07s_15 ._option_nf07s_34 ._optionLabel_nf07s_45{font-size:#333;margin-left:8px}._userPop_nf07s_15 ._logout_nf07s_49{padding:12px 16px;display:flex;align-items:center;cursor:pointer;border-top:1px solid #F0F0F0}._userPop_nf07s_15 ._logout_nf07s_49 ._signOut_nf07s_56{color:#f73d3d;font-size:14px;margin-left:8px}._userPop_nf07s_15 ._logout_nf07s_49:hover{background-color:#f5f5f5}.page-header{width:100%;height:56px;display:flex;justify-content:space-between;border-bottom:1px solid #e8e8e8;padding:0 24px}.header-left,.header-right{display:flex;align-items:center}.app-box{width:32px;height:32px;border-radius:8px;border:1px solid #F0F0F0;margin-right:6px;display:flex;justify-content:center;align-items:center;flex-shrink:0}.img-icon{width:16px;height:16px;margin-right:6px;display:flex;justify-content:center;align-items:center;flex-shrink:0}.btn-group{display:flex;align-items:center;justify-content:space-around;flex-shrink:0;margin-left:16px}.btn-group div{padding:5px 12px;color:#666;font-size:14px;border-radius:6px;cursor:pointer}.btn-group .act{background-color:#eaf6f2;color:var(--primary-color)}._doubleColLayout_aebel_2{display:flex;height:100%;width:100%;padding:24px;background:#fff;position:relative}._sider_aebel_11{padding-right:24px;overflow-y:auto;overflow-x:visible;flex-shrink:0}._contentWrapper_aebel_18{flex:1;display:flex;flex-direction:column;background-color:#fff;overflow-y:auto;overflow-x:hidden}._content_aebel_18{flex:1;padding-left:40px;background:#fff;box-sizing:border-box}._menuItem_aebel_32{cursor:pointer;height:40px;width:100%;padding-left:24px;border-radius:6px;line-height:40px;margin-bottom:4px;position:relative}._menuItem_aebel_32._active_aebel_42{background:var(--primary-color-light);color:var(--primary-color)}._menuItem_aebel_32._scrollActive_aebel_46{color:var(--primary-color)}._menuItem_aebel_32._scrollActive_aebel_46:after{content:"";position:absolute;right:-24px;top:0;width:3px;height:100%;background:var(--primary-color);z-index:10}._buttonGroup_aebel_59{display:flex;background:#f5f5f5;align-items:center;border-radius:6px;height:auto;min-height:32px;width:fit-content;box-sizing:border-box;padding:0 2px;overflow-x:auto;margin-bottom:24px}._buttonGroup_aebel_59 ._buttonItem_aebel_72{padding:4px 14px;border-radius:6px;box-sizing:border-box;flex-shrink:0;cursor:pointer}._buttonGroup_aebel_59 ._buttonItem_aebel_72._active_aebel_42{background-color:#fff}._dragBar_aebel_82{width:2px;height:auto;background:#e6e6e6;cursor:col-resize;transition:all .6s ease;flex-shrink:0}._dragBar_aebel_82:hover{background:var(--primary-color)}._doubleColLayout_aebel_2._resizing_aebel_93{cursor:col-resize}._doubleColLayout_aebel_2{user-select:none;-webkit-user-select:none}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}._detailView_yqf2w_1{height:100%}._detailView_yqf2w_1 ._detailViewTop_yqf2w_4{background-color:#fff;padding-top:24px;display:flex;justify-content:space-between}._detailView_yqf2w_1 ._detailViewTopBreadcrumb_yqf2w_10{display:flex;align-items:center}._detailView_yqf2w_1 ._detailViewContent_yqf2w_14{margin:0 -24px;padding:24px;background-color:#f7f7f7}._detailView_yqf2w_1 ._detailViewContent_yqf2w_14 ._detailViewContentItem_yqf2w_19{border-radius:6px;background-color:#fff;height:calc(100vh - 310px);overflow:auto}._detailView_yqf2w_1 ._detailViewTopLeft_yqf2w_25{margin-bottom:16px}._detailView_yqf2w_1 ._detailViewTopRightItem_yqf2w_28{display:flex;flex-direction:column;align-items:flex-end}._detailViewTabs_yqf2w_34 .ant-tabs-top>.ant-tabs-nav:before{display:none!important}._detailViewTabs_yqf2w_34 .ant-tabs-nav{margin-bottom:0!important}._detailViewTabs_yqf2w_34 .ant-tabs .ant-tabs-tab{padding:8px 0}.ant-descriptions.ant-descriptions-bordered>.ant-descriptions-view .ant-descriptions-row>.ant-descriptions-item-label{background-color:#f5fcfb;padding:9px 8px}.ant-descriptions.ant-descriptions-bordered>.ant-descriptions-view .ant-descriptions-row>.ant-descriptions-item-content{padding:9px 8px}
|
|
1
|
+
.wrapper{width:100%;margin-bottom:16px}.login-container{display:flex;height:100vh;width:100%;overflow:hidden}.login-left{box-sizing:border-box;width:46%;background:linear-gradient(135deg,#0c8f5d,#0a7a50);color:#fff;padding:70px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-logo-img{position:absolute;width:40px;height:40px;top:70px;left:70px}.login-logo{font-size:44px;font-weight:700;margin-bottom:44px;letter-spacing:1px}.login-description{font-size:16px;max-width:500px;line-height:36px}.login-right{box-sizing:border-box;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;background-color:#fff;position:relative}.login-container-center{height:100vh;width:100%;overflow:hidden}.login-right-center{width:65%;margin:15% auto;height:80%;border-radius:16px;box-shadow:0 0 10px #0000001a;box-sizing:border-box;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;background-color:#fff;position:relative}.wrapper{width:100%;height:100%}.wrapper :global .ant-pagination .ant-pagination-next:hover .ant-pagination-item-link{background-color:transparent}.wrapper :global .ant-pagination .ant-pagination-prev:hover .ant-pagination-item-link{background-color:transparent}.wrapper :global .ant-pagination .ant-pagination-prev .ant-pagination-item-link:hover{background-color:#0000000f}.wrapper :global .ant-pagination .ant-pagination-next .ant-pagination-item-link:hover{background-color:#0000000f}.wrapper :global .ant-btn-variant-link{padding:6px!important}.wrapper .antdPageIcon{display:flex;align-items:center}.wrapper .antdPageIcon .goFirstBtn{padding:0 4px;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.wrapper .antdPageIcon .goFirstBtn:hover{background-color:#0000000f;border-radius:6px}.wrapper .antdPageIcon .goFinalBtn{padding:0 4px;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.wrapper .antdPageIcon .goFinalBtn:hover{background-color:#0000000f;border-radius:6px}.wrapper .tableHeader{height:32px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}.wrapper .tableHeader .title{font-weight:500;font-size:16px;color:#333}.wrapper .tableHeader .toolBar{display:flex;align-items:center}:root{--font-family: -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"}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)}@-ms-viewport{width:device-width}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]{-webkit-text-decoration:underline dotted;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}._wrapper_1iglk_1{width:100%;height:100%}._wrapper_1iglk_1 .ant-pagination .ant-pagination-next:hover .ant-pagination-item-link,._wrapper_1iglk_1 .ant-pagination .ant-pagination-prev:hover .ant-pagination-item-link{background-color:transparent}._wrapper_1iglk_1 .ant-pagination .ant-pagination-prev .ant-pagination-item-link:hover,._wrapper_1iglk_1 .ant-pagination .ant-pagination-next .ant-pagination-item-link:hover{background-color:#0000000f}._wrapper_1iglk_1 .ant-btn-variant-link{padding:6px!important}._wrapper_1iglk_1 ._antdPageIcon_1iglk_20{display:flex;align-items:center}._wrapper_1iglk_1 ._antdPageIcon_1iglk_20 ._goFirstBtn_1iglk_24{padding:0 4px;width:30px;height:30px;display:flex;align-items:center;justify-content:center}._wrapper_1iglk_1 ._antdPageIcon_1iglk_20 ._goFirstBtn_1iglk_24:hover{background-color:#0000000f;border-radius:6px}._wrapper_1iglk_1 ._antdPageIcon_1iglk_20 ._goFinalBtn_1iglk_36{padding:0 4px;width:30px;height:30px;display:flex;align-items:center;justify-content:center}._wrapper_1iglk_1 ._antdPageIcon_1iglk_20 ._goFinalBtn_1iglk_36:hover{background-color:#0000000f;border-radius:6px}._wrapper_1iglk_1 ._tableHeader_1iglk_48{height:32px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}._wrapper_1iglk_1 ._tableHeader_1iglk_48 ._title_1iglk_55{font-weight:500;font-size:16px;color:#333}._wrapper_1iglk_1 ._tableHeader_1iglk_48 ._toolBar_1iglk_60{display:flex;align-items:center}._wrapper_o3ny9_1{width:100%;height:100%}._settingHeader_o3ny9_5{display:flex;justify-content:space-between;align-items:center;width:100%}._columnList_o3ny9_11{max-height:300px;overflow-y:auto}._columnItem_o3ny9_15{padding:2px 0;display:flex;align-items:center}._dragHandle_o3ny9_20{color:#999;margin-right:4px;cursor:move}.float-card-container{width:100%;position:relative}.float-card-container .ant-card{border:none;border-radius:6px;transition:all 1.6s ease}.float-card-placeholder{width:100%}@media(max-width:768px){.float-card-container .ant-card{padding:12px 12px 0!important}}.ant-card .ant-card-body{padding:0}.selected-filter-tags-container{margin-top:8px;display:flex;flex-wrap:wrap;align-items:center}.selected-filter-tags-label{font-size:14px;color:#6b7280;margin-right:8px;white-space:nowrap}.selected-filter-tags-list{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.selected-filter-tag{margin-right:8px;margin-bottom:4px;cursor:default}.selected-filter-tag:hover{box-shadow:0 2px 8px #00000026}.selected-filter-tags-clear{cursor:pointer;color:#6b7280;font-size:14px;margin-left:8px;white-space:nowrap;padding:4px 8px;border-radius:4px;transition:all .2s ease}.selected-filter-tags-clear:hover{background-color:#f0f0f0;color:#333}.selected-filter-tags-empty{margin:0 0 8px;color:#999;font-size:14px;padding:8px 0}@media(max-width:768px){.selected-filter-tags-container{margin:8px 0}.selected-filter-tags-label{font-size:13px}.selected-filter-tag{font-size:12px;padding:2px 8px;margin-right:6px;margin-bottom:4px}.selected-filter-tags-clear{font-size:13px;margin-left:8px;margin-top:4px}}._wrapper_1dfpz_1{width:100%;margin-bottom:16px}._login-container_swiax_1{display:flex;height:100vh;width:100%;overflow:hidden}._login-left_swiax_8{box-sizing:border-box;width:46%;background:linear-gradient(135deg,#0c8f5d,#0a7a50);color:#fff;padding:70px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}._login-logo-img_swiax_21{position:absolute;width:40px;height:40px;top:70px;left:70px}._login-logo_swiax_21{font-size:44px;font-weight:700;margin-bottom:44px;letter-spacing:1px}._login-description_swiax_39{font-size:16px;max-width:500px;line-height:36px}._login-right_swiax_45{box-sizing:border-box;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;background-color:#fff;position:relative}._login-container-center_swiax_56{height:100vh;width:100%;overflow:hidden}._login-right-center_swiax_61{width:65%;margin:15% auto;height:80%;border-radius:16px;box-shadow:0 0 10px #0000001a;box-sizing:border-box;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;background-color:#fff;position:relative}.login-container{display:flex;height:100%;width:100%;overflow:hidden}.login-right{box-sizing:border-box;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#fff;position:relative}.login-header{margin-bottom:42px;max-width:63%;width:100%}.login-title{font-size:30px;font-weight:700;color:#333;margin-bottom:16px}.login-welcome{font-size:18px;color:#666;margin-bottom:0;margin-top:16px}.login-content{width:100%;max-width:63%}.qrcode-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 0}.qrcode-tip{margin-top:24px;font-size:16px;color:#666;text-align:center}.qrcode-placeholder{display:flex;align-items:center;justify-content:center;height:280px;background-color:#f5f5f5;border-radius:8px;color:#999;font-size:14px}.unified-login-btn{width:100%;height:128px;font-size:24px;background-color:#0c8f5d;border-color:#0c8f5d;border-radius:12px;display:flex;align-items:center;transition:all .3s ease;margin-bottom:82px;color:#fff;padding:0 10%;cursor:pointer;box-sizing:border-box}.unified-login-btn:hover{box-shadow:0 25px 50px 12px #2ba07f4d}.login-arrow{margin-left:8px;font-size:16px}.other-login{width:100%}.login-divider{text-align:center;color:#999;font-size:14px;margin-bottom:24px;position:relative}.login-divider:before,.login-divider:after{content:"";position:absolute;top:50%;width:30%;height:1px;background-color:#eee}.login-divider:before{left:0}.login-divider:after{right:0}.login-options{display:flex;justify-content:center;gap:12%}.login-option{height:48px;width:48px!important;border:none;transition:all .3s ease;background-color:#f5f5f5;margin-bottom:8px;font-size:18px}@media screen and (min-width:1440px){.login-option{height:54px;width:54px!important;font-size:16px}}@media screen and (max-width:1439px){.login-header,.login-content{max-width:72%}}.login-options>div{display:flex;align-items:center;flex-direction:column;justify-content:center}.login-options>div>div{font-size:12px;color:#666}.login-option:hover{border-color:#0c8f5d;color:#0c8f5d;transform:translateY(-1px);box-shadow:0 2px 8px #0c8f5d33}.login-footer{position:absolute;top:70px;right:80px;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.register-link{font-size:14px;color:#666}.forgot-password{font-size:14px}.forgot-password-text{color:#0c8f5d;cursor:pointer;transition:color .3s ease}.forgot-password-text:hover{color:#0a7a50;text-decoration:underline}.register-text{color:#0c8f5d;cursor:pointer;margin-left:4px;transition:color .3s ease}.register-text:hover{color:#0a7a50;text-decoration:underline}.register-type-item{height:118px;box-shadow:0 2px 14px 1px #0000000f;border-radius:6px;display:flex;align-items:center;padding:0 24px;margin-bottom:44px;cursor:pointer;border:1px solid transparent}.register-type-item-icon{width:64px;height:64px;font-size:26px;color:var(--primary-color);background-color:var(--primary-color-light);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-right:28px}.register-type-item-right{flex:1;display:flex;flex-direction:column;justify-content:center}.register-type-item-right-title{font-size:16px;font-weight:500;color:#333;margin-bottom:8px}.register-type-item-right-desc{font-size:14px;color:#666;max-width:318px}.register-type-item-right-arrow{font-size:16px;color:var(--primary-color);display:none}.register-type-item:hover .register-type-item-right-arrow{display:block}.register-type-item:hover{background-color:var(--primary-color-light);border-color:var(--primary-color)}.register-type-item:hover .register-type-item-icon{color:#fff;background-color:var(--primary-color)}.register-link-container{position:absolute;top:70px;width:100%;display:flex;justify-content:space-between;align-items:center;padding:0 20px;font-size:14px;color:#b8b8b8}.out-login{cursor:pointer;transition:all .3s ease;padding:10px 0}.out-login:hover{transform:translate(5px)}.out-login-button{width:100%;display:flex;align-items:center;justify-content:flex-start;color:#666;font-size:16px;padding:12px 24px;border-radius:8px;transition:all .3s ease}.out-login-button:hover{color:var(--primary-color);background-color:#2ba07f0d}.login-arrow{font-size:14px;transition:all .3s ease}.out-login-button:hover .login-arrow{transform:translate(3px)}.login-betwen{position:relative}.forgot-password{position:absolute;right:0;top:0;color:var(--primary-color);line-height:32px;cursor:pointer}._wrapper_p0tz9_1{width:100%;height:100%}._avatarUpload_vcunw_1{display:flex;flex-direction:column;align-items:center}._avatarUpload_vcunw_1 ._avatar_vcunw_1{width:98px;height:98px;border-radius:50%;margin-bottom:16px}._avatarUpload_vcunw_1 ._avatarPlaceholder_vcunw_12{font-size:48px;color:#999;margin-bottom:16px}._avatarUpload_vcunw_1 ._uploadTip_vcunw_17{font-size:12px;color:#999;margin-top:16px}.ant-menu-light .ant-menu-item,.ant-menu-light .ant-menu-submenu-title{color:#fff}.ant-menu-light .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-submenu-selected):hover,.ant-menu-light>.ant-menu .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-submenu-selected):hover,.ant-menu-light .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-submenu-selected)>.ant-menu-submenu-title:hover,.ant-menu-light>.ant-menu .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-submenu-selected)>.ant-menu-submenu-title:hover{color:#fff!important}.ant-menu-light .ant-menu-submenu-selected>.ant-menu-submenu-title{background-color:#00000026!important;border-radius:8px}.ant-menu-light .ant-menu-item-selected{border-radius:8px;color:var(--primary-color)}._wrapper_1whys_1{width:100%;height:56px;display:flex;justify-content:space-between;border-bottom:1px solid #e8e8e8;padding:0 24px;align-items:center}._search_1whys_10{margin:0 8px;width:200px}.ant-input-outlined{border-color:#f0f0f0}._ant-input-outlined_1whys_14:focus,._ant-input-outlined_1whys_14:focus-within{box-shadow:none}._centerTabs_1whys_21{flex:1;display:flex;margin-left:8px}._centerTabs_1whys_21 ._centerTab_1whys_21{width:fit-content;height:32px;line-height:32px;padding:0 12px;border-radius:6px;color:#666;font-size:14px;cursor:pointer;margin-right:8px}._centerTabs_1whys_21 ._centerTab_1whys_21 :hover{background-color:#0000000f}._centerTabs_1whys_21 ._currentTab_1whys_40,._centerTabs_1whys_21 ._active_1whys_41{color:var(--primary-color);background-color:var(--primary-color-light)}._appStoreWrapper_ugs1z_1{position:relative}._appStoreWrapper_ugs1z_1 ._iconWrapper_ugs1z_4{width:32px;height:32px;border-radius:6px;border:1px solid #F0F0F0;display:flex;justify-content:center;align-items:center;cursor:pointer;transition:all .3s}._appStoreWrapper_ugs1z_1 ._iconWrapper_ugs1z_4 ._icon_ugs1z_4{width:20px;height:20px}._appStoreWrapper_ugs1z_1 ._iconWrapper_ugs1z_4 ._icon_ugs1z_4 path{fill:#d9d9d9;transition:all .3s}._appStoreWrapper_ugs1z_1 ._iconWrapper_ugs1z_4._active_ugs1z_23{background:#eaf6f2;border-radius:6px;border:1px solid var(--primary-color)}._appStoreWrapper_ugs1z_1 ._iconWrapper_ugs1z_4._active_ugs1z_23 ._icon_ugs1z_4 path{fill:var(--primary-color)}._popoverContent_ugs1z_31{width:510px;max-height:232px;background:#fff;box-shadow:0 0 8px -4px #10182808,0 0 24px -4px #10182814;border-radius:6px;border:1px solid #F0F0F0;overflow:auto;padding:24px;box-sizing:border-box;position:absolute;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}._popoverContent_ugs1z_31 ._noText_ugs1z_46{color:#999;font-size:14px}._popoverContent_ugs1z_31 ._item_ugs1z_50{display:flex;align-items:center;cursor:pointer}._popoverContent_ugs1z_31 ._item_ugs1z_50:hover,._popoverContent_ugs1z_31 ._item_ugs1z_50:hover ._txt_ugs1z_58{color:var(--primary-color)}._popoverContent_ugs1z_31 ._item_ugs1z_50 ._txt_ugs1z_58{padding-left:16px;font-weight:400;font-size:14px;color:#333}._popoverContent_ugs1z_31._fadeIn_ugs1z_67{animation:_fadeInSlideDown_ugs1z_1 .2s ease-out forwards}._popoverContent_ugs1z_31._fadeOut_ugs1z_70{animation:_fadeOutSlideUp_ugs1z_1 .2s ease-out forwards}@keyframes _fadeInSlideDown_ugs1z_1{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes _fadeOutSlideUp_ugs1z_1{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}._userActions_1920l_1{display:flex;align-items:center;gap:16px}._userActions_1920l_1 div{cursor:pointer;display:flex;align-items:center}._userActions_1920l_1 ._icon_1920l_11:hover ._kefu_1920l_11 path{fill:var(--primary-color)}._userActions_1920l_1 ._icon_1920l_11:hover ._bell_1920l_14 path{fill:var(--primary-color)}._userActions_1920l_1 ._icon_1920l_11:hover ._setting_1920l_17,._userActions_1920l_1 ._icon_1920l_11:hover ._translation_1920l_18{color:var(--primary-color)}._userActions_1920l_1 ._icon_1920l_11 ._setting_1920l_17,._userActions_1920l_1 ._icon_1920l_11 ._translation_1920l_18{color:#999}._userActions_1920l_1 ._icon_1920l_11 ._bell_1920l_14 path{fill:#999}.ant-popover .ant-popover-inner{padding:0!important}._userActionsContent_1920l_31{width:382px}._userActionsContent_1920l_31 ._Tabs_1920l_34{display:flex;justify-content:space-between;padding:0 16px;border-bottom:1px solid #e8e8e8}._userActionsContent_1920l_31 ._Tabs_1920l_34 ._tabItem_1920l_40{width:106px;font-size:14px;text-align:center;padding-bottom:12px;padding-top:13px;cursor:pointer}._userActionsContent_1920l_31 ._Tabs_1920l_34 ._tabItem_1920l_40 span{font-size:12px}._userActionsContent_1920l_31 ._Tabs_1920l_34 ._tabItem_1920l_40._active_1920l_51{border-bottom:2px solid var(--primary-color);color:var(--primary-color)}._userActionsContent_1920l_31 ._Tabs_1920l_34 ._tabItem_1920l_40._active_1920l_51 span{color:var(--primary-color)}._userActionsContent_1920l_31 ._noticeItem_1920l_58{padding:12px 16px;border-bottom:1px solid #e8e8e8;cursor:pointer;display:flex;gap:12px}._userActionsContent_1920l_31 ._noticeItem_1920l_58 ._icon_1920l_11{width:32px;height:32px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center}._userActionsContent_1920l_31 ._noticeItem_1920l_58:hover{background-color:#0000000f}._userActionsContent_1920l_31 ._noticeItem_1920l_58 ._title_1920l_77{font-size:14px;color:#333;margin-bottom:4px}._userActionsContent_1920l_31 ._noticeItem_1920l_58 ._content_1920l_82{font-size:14px;color:#666;margin-bottom:8px}._userActionsContent_1920l_31 ._noticeItem_1920l_58 ._time_1920l_87{color:#b8b8b8;font-size:12px}._seeAll_1920l_91{background-color:#f9fafb;cursor:pointer;text-align:center;color:var(--primary-color);height:48px;line-height:48px;font-size:14px}._wrapper_nf07s_1{display:flex;align-items:center}._avatar_nf07s_5{width:24px;height:24px;border-radius:50%}._name_nf07s_10{margin-left:4px;color:#333;font-size:12px}._userPop_nf07s_15{width:188px}._userPop_nf07s_15 ._topinfo_nf07s_18{padding:12px 16px;border-bottom:1px solid #F0F0F0}._userPop_nf07s_15 ._userName_nf07s_22{color:#333;font-size:14px;font-weight:700}._userPop_nf07s_15 ._acount_nf07s_27{color:#666;font-size:12px}._userPop_nf07s_15 ._userOption_nf07s_31{padding-top:8px}._userPop_nf07s_15 ._option_nf07s_34{display:flex;height:32px;align-items:center;padding:0 16px;line-height:32px;cursor:pointer}._userPop_nf07s_15 ._option_nf07s_34:hover{background-color:#f5f5f5}._userPop_nf07s_15 ._option_nf07s_34 ._optionLabel_nf07s_45{font-size:#333;margin-left:8px}._userPop_nf07s_15 ._logout_nf07s_49{padding:12px 16px;display:flex;align-items:center;cursor:pointer;border-top:1px solid #F0F0F0}._userPop_nf07s_15 ._logout_nf07s_49 ._signOut_nf07s_56{color:#f73d3d;font-size:14px;margin-left:8px}._userPop_nf07s_15 ._logout_nf07s_49:hover{background-color:#f5f5f5}.page-header{width:100%;height:56px;display:flex;justify-content:space-between;border-bottom:1px solid #e8e8e8;padding:0 24px}.header-left,.header-right{display:flex;align-items:center}.app-box{width:32px;height:32px;border-radius:8px;border:1px solid #F0F0F0;margin-right:6px;display:flex;justify-content:center;align-items:center;flex-shrink:0}.img-icon{width:16px;height:16px;margin-right:6px;display:flex;justify-content:center;align-items:center;flex-shrink:0}.btn-group{display:flex;align-items:center;justify-content:space-around;flex-shrink:0;margin-left:16px}.btn-group div{padding:5px 12px;color:#666;font-size:14px;border-radius:6px;cursor:pointer}.btn-group .act{background-color:#eaf6f2;color:var(--primary-color)}._doubleColLayout_aebel_2{display:flex;height:100%;width:100%;padding:24px;background:#fff;position:relative}._sider_aebel_11{padding-right:24px;overflow-y:auto;overflow-x:visible;flex-shrink:0}._contentWrapper_aebel_18{flex:1;display:flex;flex-direction:column;background-color:#fff;overflow-y:auto;overflow-x:hidden}._content_aebel_18{flex:1;padding-left:40px;background:#fff;box-sizing:border-box}._menuItem_aebel_32{cursor:pointer;height:40px;width:100%;padding-left:24px;border-radius:6px;line-height:40px;margin-bottom:4px;position:relative}._menuItem_aebel_32._active_aebel_42{background:var(--primary-color-light);color:var(--primary-color)}._menuItem_aebel_32._scrollActive_aebel_46{color:var(--primary-color)}._menuItem_aebel_32._scrollActive_aebel_46:after{content:"";position:absolute;right:-24px;top:0;width:3px;height:100%;background:var(--primary-color);z-index:10}._buttonGroup_aebel_59{display:flex;background:#f5f5f5;align-items:center;border-radius:6px;height:auto;min-height:32px;width:fit-content;box-sizing:border-box;padding:0 2px;overflow-x:auto;margin-bottom:24px}._buttonGroup_aebel_59 ._buttonItem_aebel_72{padding:4px 14px;border-radius:6px;box-sizing:border-box;flex-shrink:0;cursor:pointer}._buttonGroup_aebel_59 ._buttonItem_aebel_72._active_aebel_42{background-color:#fff}._dragBar_aebel_82{width:2px;height:auto;background:#e6e6e6;cursor:col-resize;transition:all .6s ease;flex-shrink:0}._dragBar_aebel_82:hover{background:var(--primary-color)}._doubleColLayout_aebel_2._resizing_aebel_93{cursor:col-resize}._doubleColLayout_aebel_2{user-select:none;-webkit-user-select:none}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}._detailView_yqf2w_1{height:100%}._detailView_yqf2w_1 ._detailViewTop_yqf2w_4{background-color:#fff;padding-top:24px;display:flex;justify-content:space-between}._detailView_yqf2w_1 ._detailViewTopBreadcrumb_yqf2w_10{display:flex;align-items:center}._detailView_yqf2w_1 ._detailViewContent_yqf2w_14{margin:0 -24px;padding:24px;background-color:#f7f7f7}._detailView_yqf2w_1 ._detailViewContent_yqf2w_14 ._detailViewContentItem_yqf2w_19{border-radius:6px;background-color:#fff;height:calc(100vh - 310px);overflow:auto}._detailView_yqf2w_1 ._detailViewTopLeft_yqf2w_25{margin-bottom:16px}._detailView_yqf2w_1 ._detailViewTopRightItem_yqf2w_28{display:flex;flex-direction:column;align-items:flex-end}._detailViewTabs_yqf2w_34 .ant-tabs-top>.ant-tabs-nav:before{display:none!important}._detailViewTabs_yqf2w_34 .ant-tabs-nav{margin-bottom:0!important}._detailViewTabs_yqf2w_34 .ant-tabs .ant-tabs-tab{padding:8px 0}.ant-descriptions.ant-descriptions-bordered>.ant-descriptions-view .ant-descriptions-row>.ant-descriptions-item-label{background-color:#f5fcfb;padding:9px 8px}.ant-descriptions.ant-descriptions-bordered>.ant-descriptions-view .ant-descriptions-row>.ant-descriptions-item-content{padding:9px 8px}
|