UNPKG

@overviewai/label-studio

Version:

Data Labeling Tool that is backend agnostic and can be embedded into your applications

2 lines 2.49 MB
/*! For license information please see main.js.LICENSE.txt */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.LabelStudio=t():e.LabelStudio=t()}("undefined"!=typeof self?self:this,(function(){return function(){var e,t,n,r,a,o,i,l={7757:function(e,t,n){e.exports=n(5666)},6259:function(e){function t(e){return!0}e.exports=function(e,n){var r=[];n=n||t;do{r.push(e),e=e.parentNode}while(e&&e.tagName&&n(e));return r.slice(1)}},454:function(e){"use strict";function t(e,t,n){e.splice(n<0?e.length+n:n,0,e.splice(t,1)[0])}e.exports=function(e,n,r){return t(e=e.slice(),n,r),e},e.exports.mut=t},2903:function(e,t){"use strict";t.Z={onDeleteAnnotation:function(){},onEntityCreate:function(){},onEntityDelete:function(){},onGroundTruth:function(){},onLabelStudioLoad:function(){},onSkipTask:function(){},onCancelSkippingTask:function(){},onSubmitAnnotation:function(){},onSubmitDraft:function(e){},onTaskLoad:function(){},onUpdateAnnotation:function(){},onSelectAnnotation:function(e,t){},onAcceptAnnotation:function(e,t){},onRejectAnnotation:function(e,t){},onStorageInitialized:function(e){},onNextTask:function(e){},onPrevTask:function(e){}}},1808:function(e,t,n){"use strict";n.r(t);var r=n(2903),a=n(4588);t.default={getData:function(e){return e&&e.data?{...e,data:JSON.stringify(e.data)}:e},getState:function(e){return{annotations:null==e?void 0:e.annotations,completions:null==e?void 0:e.completions,predictions:null==e?void 0:e.predictions}},rootElement:function(e){let t;return t="string"==typeof e?document.getElementById(e):e,t.innerHTML="",t},configureApplication:function(e){var t,n;const o=e.submitAnnotation||e.onSubmitAnnotation,i=e.updateAnnotation||e.onUpdateAnnotation,l=e.deleteAnnotation||e.onDeleteAnnotation;return{settings:e.settings||{},alert:e=>console.log(e),messages:{...a.Z,...e.messages},onSubmitAnnotation:e.onSubmitAnnotation?o:r.Z.onSubmitAnnotation,onUpdateAnnotation:e.onUpdateAnnotation?i:r.Z.onUpdateAnnotation,onDeleteAnnotation:e.onDeleteAnnotation?l:r.Z.onDeleteAnnotation,onSkipTask:e.onSkipTask?e.onSkipTask:r.Z.onSkipTask,onCancelSkippingTask:e.onCancelSkippingTask?e.onCancelSkippingTask:r.Z.onCancelSkippingTask,onSubmitDraft:e.onSubmitDraft,onTaskLoad:e.onTaskLoad||r.Z.onTaskLoad,onLabelStudioLoad:e.onLabelStudioLoad||r.Z.onLabelStudioLoad,onEntityCreate:e.onEntityCreate||r.Z.onEntityCreate,onEntityDelete:e.onEntityDelete||r.Z.onEntityDelete,onGroundTruth:e.onGroundTruth||r.Z.onGroundTruth,onSelectAnnotation:e.onSelectAnnotation||r.Z.onSelectAnnotation,onAcceptAnnotation:e.onAcceptAnnotation||r.Z.onAcceptAnnotation,onRejectAnnotation:e.onRejectAnnotation||r.Z.onRejectAnnotation,onStorageInitialized:e.onStorageInitialized||r.Z.onStorageInitialized,onNextTask:e.onNextTask||r.Z.onNextTask,onPrevTask:e.onPrevTask||r.Z.onPrevTask,forceAutoAnnotation:null!==(t=e.forceAutoAnnotation)&&void 0!==t&&t,forceAutoAcceptSuggestions:null!==(n=e.forceAutoAcceptSuggestions)&&void 0!==n&&n}}}},7789:function(e,t,n){"use strict";n.d(t,{default:function(){return rue}});var r={};n.r(r),n.d(r,{atobUnicode:function(){return Ks},camelizeKeys:function(){return rc},chunks:function(){return tc},clamp:function(){return ec},delay:function(){return Zs},escapeHtml:function(){return Ys},findClosestParent:function(){return Js},flatten:function(){return qs},getUrl:function(){return Hs},hashCode:function(){return Gs},isArraysEqual:function(){return Xs},isDefined:function(){return Qs},isMacOS:function(){return oc},isString:function(){return Fs},isStringEmpty:function(){return Bs},isStringJSON:function(){return Vs},isValidObjectURL:function(){return Us},minMax:function(){return ac},toTimeString:function(){return Ws},triggerResizeEvent:function(){return ic},userDisplayName:function(){return nc},wrapArray:function(){return $s}});var a={};n.r(a),n.d(a,{colorToRGBA:function(){return IB},colorToRGBAArray:function(){return WB},contrastColor:function(){return UB},convertToRGBA:function(){return zB},getScaleGradient:function(){return VB},hexToRGBA:function(){return DB},over:function(){return KB},removeAlpha:function(){return HB},rgbArrayToHex:function(){return qB},rgbaArrayToRGBA:function(){return GB},rgbaChangeAlpha:function(){return BB},stringToColor:function(){return FB}});var o={};n.r(o),n.d(o,{calcBorder:function(){return $B},getImageData:function(){return XB}});var i={};n.r(i),n.d(i,{canvasToBinaryMatrix:function(){return rW},createDragBoundFunc:function(){return lW},fixRectToFit:function(){return iW},getBoundingBoxAfterChanges:function(){return oW},getBoundingBoxAfterTransform:function(){return aW},reverseCoordinates:function(){return nW}});var l={};n.r(l),n.d(l,{currentISODate:function(){return uW},msToHMS:function(){return sW},prettyDate:function(){return cW}});var s={};n.r(s),n.d(s,{applyHighlightStylesToDoc:function(){return BW},createClass:function(){return _W},findByXpath:function(){return HW},findIdxContainer:function(){return IW},findNodeAt:function(){return WW},highlightRange:function(){return NW},htmlEscape:function(){return UW},labelWithCSS:function(){return SW},mainOffsets:function(){return DW},matchesSelector:function(){return VW},moveStylesBetweenHeadTags:function(){return FW},normalizeBoundaries:function(){return TW},removeSpans:function(){return zW},splitBoundaries:function(){return jW},toGlobalOffset:function(){return LW},toggleLabelsAndScores:function(){return EW}});var c={};n.r(c),n.d(c,{applySpanStyles:function(){return aq},captureSelection:function(){return ZW},charsToCodePoints:function(){return uq},codePointsToChars:function(){return cq},findNodesBetween:function(){return oq},findOnPosition:function(){return fq},findRange:function(){return lq},findRangeNative:function(){return sq},fixCodePointsInRange:function(){return dq},highlightRange:function(){return tq},highlightRangePart:function(){return nq},isSelectionContainsSpan:function(){return mq},rangeToGlobalOffset:function(){return hq},removeRange:function(){return iq},wrapWithSpan:function(){return rq}});var u={};n.r(u),n.d(u,{FramesControl:function(){return $Y},VolumeControl:function(){return rX}});var d={};n.r(d),n.d(d,{appendChild:function(){return TZ},appendChildToContainer:function(){return NZ},appendInitialChild:function(){return fZ},cancelTimeout:function(){return _Z},clearContainer:function(){return qZ},commitMount:function(){return FZ},commitTextUpdate:function(){return zZ},commitUpdate:function(){return BZ},createInstance:function(){return hZ},createTextInstance:function(){return pZ},finalizeInitialChildren:function(){return mZ},getChildHostContext:function(){return EZ},getPublicInstance:function(){return gZ},getRootHostContext:function(){return CZ},hideInstance:function(){return VZ},hideTextInstance:function(){return HZ},idlePriority:function(){return cZ.unstable_IdlePriority},insertBefore:function(){return jZ},insertInContainerBefore:function(){return LZ},isPrimaryRenderer:function(){return AZ},noTimeout:function(){return RZ},now:function(){return cZ.unstable_now},prepareForCommit:function(){return vZ},preparePortalMount:function(){return yZ},prepareUpdate:function(){return bZ},removeChild:function(){return DZ},removeChildFromContainer:function(){return IZ},resetAfterCommit:function(){return wZ},resetTextContent:function(){return xZ},run:function(){return cZ.unstable_runWithPriority},scheduleTimeout:function(){return SZ},shouldDeprioritizeSubtree:function(){return kZ},shouldSetTextContent:function(){return OZ},supportsMutation:function(){return PZ},unhideInstance:function(){return UZ},unhideTextInstance:function(){return WZ},warnsIfNotActing:function(){return MZ}});var f={};n.r(f),n.d(f,{Brightness:function(){return U$},Brush:function(){return k$},Contrast:function(){return G$},Ellipse:function(){return j$},Erase:function(){return _$},FloodFill:function(){return AQ},KeyPoint:function(){return O$},Polygon:function(){return M$},Rect:function(){return T$},Rotate:function(){return B$},Selection:function(){return PQ},Zoom:function(){return I$}});n(1868);var h=n(3935),p=n(7294);function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=n(4184),v=n.n(g);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};function x(e){if(Array.isArray(e))return e}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function C(e,t){if(e){if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(e,t):void 0}}function E(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(e,t){return x(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}}(e,t)||C(e,t)||E()}function _(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var R=(0,p.createContext)({});function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function A(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function M(e){return Math.min(1,Math.max(0,e))}function P(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function T(e){return e<=1?100*Number(e)+"%":e}function N(e){return 1===e.length?"0"+e:String(e)}function j(e,t,n){e=A(e,255),t=A(t,255),n=A(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),o=0,i=0,l=(r+a)/2;if(r===a)i=0,o=0;else{var s=r-a;switch(i=l>.5?s/(2-r-a):s/(r+a),r){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4}o/=6}return{h:o,s:i,l:l}}function L(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function D(e,t,n){e=A(e,255),t=A(t,255),n=A(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),o=0,i=r,l=r-a,s=0===r?0:l/r;if(r===a)o=0;else{switch(r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4}o/=6}return{h:o,s:s,v:i}}function I(e,t,n,r){var a=[N(Math.round(e).toString(16)),N(Math.round(t).toString(16)),N(Math.round(n).toString(16))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function z(e){return Math.round(255*parseFloat(e)).toString(16)}function F(e){return B(e)/255}function B(e){return parseInt(e,16)}var V={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function H(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,o=null,i=!1,l=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(V[e])e=V[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=G.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=G.rgba.exec(e))return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=G.hsl.exec(e))return{h:n[1],s:n[2],l:n[3]};if(n=G.hsla.exec(e))return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=G.hsv.exec(e))return{h:n[1],s:n[2],v:n[3]};if(n=G.hsva.exec(e))return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=G.hex8.exec(e))return{r:B(n[1]),g:B(n[2]),b:B(n[3]),a:F(n[4]),format:t?"name":"hex8"};if(n=G.hex6.exec(e))return{r:B(n[1]),g:B(n[2]),b:B(n[3]),format:t?"name":"hex"};if(n=G.hex4.exec(e))return{r:B(n[1]+n[1]),g:B(n[2]+n[2]),b:B(n[3]+n[3]),a:F(n[4]+n[4]),format:t?"name":"hex8"};if(n=G.hex3.exec(e))return{r:B(n[1]+n[1]),g:B(n[2]+n[2]),b:B(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(K(e.r)&&K(e.g)&&K(e.b)?(t=function(e,t,n){return{r:255*A(e,255),g:255*A(t,255),b:255*A(n,255)}}(e.r,e.g,e.b),i=!0,l="%"===String(e.r).substr(-1)?"prgb":"rgb"):K(e.h)&&K(e.s)&&K(e.v)?(r=T(e.s),a=T(e.v),t=function(e,t,n){e=6*A(e,360),t=A(t,100),n=A(n,100);var r=Math.floor(e),a=e-r,o=n*(1-t),i=n*(1-a*t),l=n*(1-(1-a)*t),s=r%6;return{r:255*[n,i,o,o,l,n][s],g:255*[l,n,n,i,o,o][s],b:255*[o,o,l,n,n,i][s]}}(e.h,r,a),i=!0,l="hsv"):K(e.h)&&K(e.s)&&K(e.l)&&(r=T(e.s),o=T(e.l),t=function(e,t,n){var r,a,o;if(e=A(e,360),t=A(t,100),n=A(n,100),0===t)a=n,o=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=L(l,i,e+1/3),a=L(l,i,e),o=L(l,i,e-1/3)}return{r:255*r,g:255*a,b:255*o}}(e.h,r,o),i=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=P(n),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var U="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",W="[\\s|\\(]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",q="[\\s|\\(]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",G={CSS_UNIT:new RegExp(U),rgb:new RegExp("rgb"+W),rgba:new RegExp("rgba"+q),hsl:new RegExp("hsl"+W),hsla:new RegExp("hsla"+q),hsv:new RegExp("hsv"+W),hsva:new RegExp("hsva"+q),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function K(e){return Boolean(G.CSS_UNIT.exec(String(e)))}var Y=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function X(e){var t=D(e.r,e.g,e.b);return{h:360*t.h,s:t.s,v:t.v}}function $(e){var t=e.r,n=e.g,r=e.b;return"#".concat(I(t,n,r,!1))}function Z(e,t,n){var r=n/100;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}function Q(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function J(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function ee(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function te(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=H(e),a=5;a>0;a-=1){var o=X(r),i=$(H({h:Q(o,a,!0),s:J(o,a,!0),v:ee(o,a,!0)}));n.push(i)}n.push($(r));for(var l=1;l<=4;l+=1){var s=X(r),c=$(H({h:Q(s,l),s:J(s,l),v:ee(s,l)}));n.push(c)}return"dark"===t.theme?Y.map((function(e){var r=e.index,a=e.opacity;return $(Z(H(t.backgroundColor||"#141414"),H(n[r]),100*a))})):n}var ne={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},re={},ae={};Object.keys(ne).forEach((function(e){re[e]=te(ne[e]),re[e].primary=re[e][5],ae[e]=te(ne[e],{theme:"dark",backgroundColor:"#141414"}),ae[e].primary=ae[e][5]}));re.red,re.volcano,re.gold,re.orange,re.yellow,re.lime;var oe=re.green,ie=(re.cyan,re.blue,re.geekblue,re.purple,re.magenta,re.grey,{});function le(e,t){0}function se(e,t){0}function ce(e,t,n){t||ie[n]||(e(!1,n),ie[n]=!0)}function ue(e,t){ce(se,e,t)}var de=function(e,t){ce(le,e,t)};function fe(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var he="rc-util-key";function pe(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function me(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!fe())return null;var r,a=document.createElement("style");(null===(t=n.csp)||void 0===t?void 0:t.nonce)&&(a.nonce=null===(r=n.csp)||void 0===r?void 0:r.nonce);a.innerHTML=e;var o=pe(n),i=o.firstChild;return n.prepend&&o.prepend?o.prepend(a):n.prepend&&i?o.insertBefore(a,i):o.appendChild(a),a}var ge=new Map;function ve(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=pe(n);if(!ge.has(r)){var a=me("",n),o=a.parentNode;ge.set(r,o),o.removeChild(a)}var i=Array.from(ge.get(r).children).find((function(e){return"STYLE"===e.tagName&&e[he]===t}));if(i){var l,s,c;if((null===(l=n.csp)||void 0===l?void 0:l.nonce)&&i.nonce!==(null===(s=n.csp)||void 0===s?void 0:s.nonce))i.nonce=null===(c=n.csp)||void 0===c?void 0:c.nonce;return i.innerHTML!==e&&(i.innerHTML=e),i}var u=me(e,n);return u[he]=t,u}function ye(e){return"object"===O(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===O(e.icon)||"function"==typeof e.icon)}function be(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];if("class"===n)t.className=r,delete t.class;else t[n]=r;return t}),{})}function we(e,t,n){return n?p.createElement(e.tag,b(b({key:t},be(e.attrs)),n),(e.children||[]).map((function(n,r){return we(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):p.createElement(e.tag,b({key:t},be(e.attrs)),(e.children||[]).map((function(n,r){return we(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function xe(e){return te(e)[0]}function ke(e){return e?Array.isArray(e)?e:[e]:[]}var Ce="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",Ee=["icon","className","onClick","style","primaryColor","secondaryColor"],Se={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var _e=function(e){var t=e.icon,n=e.className,r=e.onClick,a=e.style,o=e.primaryColor,i=e.secondaryColor,l=_(e,Ee),s=Se;if(o&&(s={primaryColor:o,secondaryColor:i||xe(o)}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ce,t=(0,p.useContext)(R).csp;(0,p.useEffect)((function(){ve(e,"@ant-design-icons",{prepend:!0,csp:t})}),[])}(),function(e,t){de(e,"[@ant-design/icons] ".concat(t))}(ye(t),"icon should be icon definiton, but got ".concat(t)),!ye(t))return null;var c=t;return c&&"function"==typeof c.icon&&(c=b(b({},c),{},{icon:c.icon(s.primaryColor,s.secondaryColor)})),we(c.icon,"svg-".concat(c.name),b({className:n,onClick:r,style:a,"data-icon":c.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l))};_e.displayName="IconReact",_e.getTwoToneColors=function(){return b({},Se)},_e.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;Se.primaryColor=t,Se.secondaryColor=n||xe(t),Se.calculated=!!n};var Re=_e;function Oe(e){var t=S(ke(e),2),n=t[0],r=t[1];return Re.setTwoToneColors({primaryColor:n,secondaryColor:r})}var Ae=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Oe("#1890ff");var Me=p.forwardRef((function(e,t){var n,r=e.className,a=e.icon,o=e.spin,i=e.rotate,l=e.tabIndex,s=e.onClick,c=e.twoToneColor,u=_(e,Ae),d=p.useContext(R).prefixCls,f=void 0===d?"anticon":d,h=v()(f,(m(n={},"".concat(f,"-").concat(a.name),!!a.name),m(n,"".concat(f,"-spin"),!!o||"loading"===a.name),n),r),g=l;void 0===g&&s&&(g=-1);var y=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,w=S(ke(c),2),x=w[0],k=w[1];return p.createElement("span",b(b({role:"img","aria-label":a.name},u),{},{ref:t,tabIndex:g,onClick:s,className:h}),p.createElement(Re,{icon:a,primaryColor:x,secondaryColor:k,style:y}))}));Me.displayName="AntdIcon",Me.getTwoToneColor=function(){var e=Re.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},Me.setTwoToneColor=Oe;var Pe=Me,Te=function(e,t){return p.createElement(Pe,b(b({},e),{},{ref:t,icon:w}))};Te.displayName="CheckCircleFilled";var Ne=p.forwardRef(Te),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},Le=function(e,t){return p.createElement(Pe,b(b({},e),{},{ref:t,icon:je}))};Le.displayName="CloseCircleFilled";var De=p.forwardRef(Le),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},ze=function(e,t){return p.createElement(Pe,b(b({},e),{},{ref:t,icon:Ie}))};ze.displayName="ExclamationCircleFilled";var Fe=p.forwardRef(ze),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},Ve=function(e,t){return p.createElement(Pe,b(b({},e),{},{ref:t,icon:Be}))};Ve.displayName="WarningFilled";var He=p.forwardRef(Ve);function Ue(){return Ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ue.apply(this,arguments)}function We(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ge(e,t,n){return t&&qe(e.prototype,t),n&&qe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ke(e,t){return Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ke(e,t)}function Ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(e,"prototype",{value:Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),writable:!1}),t&&Ke(e,t)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xe(e)}function $e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ze(e,t){if(t&&("object"===O(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $e(e)}function Qe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Xe(e);if(t){var a=Xe(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Ze(this,n)}}var Je={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},et={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},tt={lang:Ue({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Ue({},et)},nt="${label} is not a valid ${type}",rt={locale:"en",Pagination:Je,DatePicker:tt,TimePicker:et,Calendar:tt,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:nt,method:nt,array:nt,object:nt,number:nt,date:nt,boolean:nt,integer:nt,float:nt,regexp:nt,email:nt,url:nt,hex:nt},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}},at=rt,ot=(0,p.createContext)(void 0),it=function(e){Ye(n,e);var t=Qe(n);function n(){return We(this,n),t.apply(this,arguments)}return Ge(n,[{key:"getLocale",value:function(){var e=this.props,t=e.componentName,n=e.defaultLocale||at[null!=t?t:"global"],r=this.context,a=t&&r?r[t]:{};return Ue(Ue({},n instanceof Function?n():n),a||{})}},{key:"getLocaleCode",value:function(){var e=this.context,t=e&&e.locale;return e&&e.exist&&!t?at.locale:t}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),n}(p.Component);it.defaultProps={componentName:"global"},it.contextType=ot;var lt=function(){var e=(0,p.useContext(mt).getPrefixCls)("empty-img-default");return p.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("g",{transform:"translate(24 31.67)"},p.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),p.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),p.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),p.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),p.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),p.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),p.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},p.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),p.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},st=function(){var e=(0,p.useContext(mt).getPrefixCls)("empty-img-simple");return p.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},p.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},p.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),p.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},p.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),p.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},ct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},ut=p.createElement(lt,null),dt=p.createElement(st,null),ft=function(e){var t=e.className,n=e.prefixCls,r=e.image,a=void 0===r?ut:r,o=e.description,i=e.children,l=e.imageStyle,s=ct(e,["className","prefixCls","image","description","children","imageStyle"]),c=p.useContext(mt),u=c.getPrefixCls,d=c.direction;return p.createElement(it,{componentName:"Empty"},(function(e){var r,c=u("empty",n),f=void 0!==o?o:e.description,h="string"==typeof f?f:"empty",g=null;return g="string"==typeof a?p.createElement("img",{alt:h,src:a}):a,p.createElement("div",Ue({className:v()(c,(r={},m(r,"".concat(c,"-normal"),a===dt),m(r,"".concat(c,"-rtl"),"rtl"===d),r),t)},s),p.createElement("div",{className:"".concat(c,"-image"),style:l},g),f&&p.createElement("div",{className:"".concat(c,"-description")},f),i&&p.createElement("div",{className:"".concat(c,"-footer")},i))}))};ft.PRESENTED_IMAGE_DEFAULT=ut,ft.PRESENTED_IMAGE_SIMPLE=dt;var ht=ft,pt=function(e){return p.createElement(gt,null,(function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return p.createElement(ht,{image:ht.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return p.createElement(ht,{image:ht.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return p.createElement(ht,null)}}))},mt=p.createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")},renderEmpty:pt}),gt=mt.Consumer;var vt=function(e,t,n){de(e,"[antd: ".concat(t,"] ").concat(n))},yt={success:Ne,error:De,info:Fe,warning:He},bt={404:function(){return p.createElement("svg",{width:"252",height:"294"},p.createElement("defs",null,p.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("g",{transform:"translate(0 .012)"},p.createElement("mask",{fill:"#fff"}),p.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),p.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),p.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),p.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),p.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),p.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),p.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),p.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"}),p.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),p.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),p.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),p.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),p.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),p.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),p.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),p.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),p.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),p.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),p.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),p.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),p.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),p.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),p.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),p.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),p.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),p.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),p.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),p.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),p.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),p.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),p.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),p.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),p.createElement(