feffery_antd_components 0.3.0-a0 → 0.3.0-a2

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.
Files changed (33) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +1 -0
  3. package/Project.toml +1 -1
  4. package/build/lib/feffery_antd_components/AntdDropdown.py +12 -3
  5. package/build/lib/feffery_antd_components/AntdQRCode.py +88 -0
  6. package/build/lib/feffery_antd_components/_imports_.py +2 -0
  7. package/build/lib/feffery_antd_components/async-antd_table.js +1 -1
  8. package/build/lib/feffery_antd_components/async-data_display.js +4 -4
  9. package/build/lib/feffery_antd_components/async-data_entry.js +25 -13
  10. package/build/lib/feffery_antd_components/async-upload.js +2 -2
  11. package/build/lib/feffery_antd_components/feffery_antd_components.min.js +34 -46
  12. package/build/lib/feffery_antd_components/metadata.json +292 -0
  13. package/build/lib/feffery_antd_components/package-info.json +1 -1
  14. package/feffery_antd_components/AntdDropdown.py +12 -3
  15. package/feffery_antd_components/AntdQRCode.py +88 -0
  16. package/feffery_antd_components/_imports_.py +2 -0
  17. package/feffery_antd_components/async-antd_table.js +1 -1
  18. package/feffery_antd_components/async-data_display.js +4 -4
  19. package/feffery_antd_components/async-data_entry.js +25 -13
  20. package/feffery_antd_components/async-upload.js +2 -2
  21. package/feffery_antd_components/feffery_antd_components.min.js +34 -46
  22. package/feffery_antd_components/metadata.json +292 -0
  23. package/feffery_antd_components/package-info.json +1 -1
  24. package/package.json +1 -1
  25. package/src/jl/'feffery'_antddropdown.jl +6 -1
  26. package/src/jl/'feffery'_antdqrcode.jl +49 -0
  27. package/src/lib/components/dataDisplay/AntdQRCode.react.js +148 -0
  28. package/src/lib/components/dataEntry/AntdColorPicker.react.js +10 -84
  29. package/src/lib/components/navigation/AntdDropdown.react.js +72 -55
  30. package/src/lib/fragments/dataDisplay/AntdQRCode.react.js +80 -0
  31. package/src/lib/fragments/dataEntry/AntdColorPicker.react.js +95 -0
  32. package/src/lib/index.js +3 -1
  33. package/usage.py +37 -14
@@ -1,4 +1,4 @@
1
- (window.webpackJsonpfeffery_antd_components=window.webpackJsonpfeffery_antd_components||[]).push([[1],{405:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.mode,i=e.text,l=e.src,c=e.srcSet,s=e.draggable,d=e.crossOrigin,u=e.icon,p=e.iconRenderer,b=e.alt,f=e.gap,m=e.size,g=e.shape,h=e.loading_state;return e.setProps,"image"===o?v.a.createElement(y.a,{id:t,className:Object(j.isString)(n)?n:n?Object(O.a)(n):void 0,style:a,key:r,src:l,srcSet:c,draggable:s,crossOrigin:d,alt:b,size:m,shape:g,"data-dash-is-loading":h&&h.is_loading||void 0}):"text"===o?v.a.createElement(y.a,{id:t,className:Object(j.isString)(n)?n:n?Object(O.a)(n):void 0,style:a,key:r,gap:f,size:m,shape:g,"data-dash-is-loading":h&&h.is_loading||void 0},i):v.a.createElement(y.a,{id:t,className:Object(j.isString)(n)?n:n?Object(O.a)(n):void 0,style:a,key:r,icon:u?"fontawesome"===p?v.a.createElement("i",{className:u}):v.a.createElement(S.a,{icon:u}):v.a.createElement(S.a,{icon:"antd-user"}),size:m,shape:g,"data-dash-is-loading":h&&h.is_loading||void 0})}var r=n(0),v=n.n(r),y=n(484),O=n(10),j=n(8),S=n(69),r=n(241);(t.default=a).defaultProps=r.b,a.propTypes=r.c},434:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.maxCount,l=e.maxPopoverPlacement,c=e.maxPopoverTrigger,s=e.maxStyle,d=e.size,u=e.loading_state;return e.setProps,p.a.createElement(b.a.Group,{id:t,className:Object(m.isString)(a)?a:a?Object(f.a)(a):void 0,style:r,key:o,maxCount:i,maxPopoverPlacement:l,maxPopoverTrigger:c,maxStyle:s,size:d,"data-dash-is-loading":u&&u.is_loading||void 0},n)}var r=n(0),p=n.n(r),b=n(484),f=n(10),m=n(8),r=n(242);(t.default=a).defaultProps=r.b,a.propTypes=r.c},435:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.styles,i=e.classNames,l=e.key,c=e.color,s=e.count,d=e.dot,u=e.offset,p=e.overflowCount,b=e.showZero,f=e.status,m=e.text,g=e.title,h=e.size,v=e.nClicks,y=e.loading_state,O=e.setProps;return j.a.createElement(S.a,{id:t,className:Object(w.isString)(a)?a:a?Object(k.a)(a):void 0,style:r,styles:o,classNames:i,key:l,color:c,count:s,dot:d,offset:u&&2===u.length?u:void 0,overflowCount:p,showZero:b,status:f,text:m,title:g,size:h,onClick:function(){O({nClicks:++v})},"data-dash-is-loading":y&&y.is_loading||void 0},n)}var r=n(0),j=n.n(r),S=n(327),w=n(8),k=n(10),r=n(243);(t.default=a).defaultProps=r.b,a.propTypes=r.c},436:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.color,l=e.placement,c=e.text,s=e.loading_state;return e.setProps,d.a.createElement(u.a.Ribbon,{id:t,className:Object(p.isString)(a)?a:a?Object(b.a)(a):void 0,style:r,key:o,color:i,placement:l,text:c,"data-dash-is-loading":s&&s.is_loading||void 0},n)}var r=n(0),d=n.n(r),u=n(327),p=n(8),b=n(10),r=n(244);(t.default=a).defaultProps=r.b,a.propTypes=r.c},437:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.hoverable,e=(e.setProps,e.loading_state),n=Object(u.b)(n);return l.a.createElement(c.a.Grid,{id:t,className:Object(s.isString)(a)?a:a?Object(d.a)(a):void 0,style:r,key:o,hoverable:i,"data-dash-is-loading":e&&e.is_loading||void 0},n)}var r=n(0),l=n.n(r),c=n(712),s=n(8),d=n(10),u=n(30),r=n(245);(t.default=a).defaultProps=r.b,a.propTypes=r.c},438:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.avatar,i=e.description,l=e.title,e=(e.setProps,e.loading_state);return c.a.createElement(u,{id:t,className:Object(s.isString)(n)?n:n?Object(d.a)(n):void 0,style:a,key:r,avatar:o,description:i,title:l,"data-dash-is-loading":e&&e.is_loading||void 0})}var r=n(0),c=n.n(r),r=n(712),s=n(8),d=n(10),n=n(246),u=r.a.Meta;(t.default=a).defaultProps=n.b,a.propTypes=n.c},439:function(e,t,n){"use strict";n.r(t);var a=n(0),g=n.n(a),h=n(712),v=n(8),y=n(10),O=n(30),a=n(247);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})(e)}function i(t,e){var n,a=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,n)),a}function j(a){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){var t,n;t=a,e=r[n=e],(n=function(){var e=function(e){if("object"!==o(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==o(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(n);return"symbol"===o(e)?e:String(e)}())in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(r,e))})}return a}function r(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.actions,l=e.extraLink,c=e.extra,s=e.coverImg,d=e.bodyStyle,u=e.headStyle,p=e.bordered,b=e.hoverable,f=e.size,m=e.title,e=(e.setProps,e.loading_state),n=Object(O.b)(n);return g.a.createElement(h.a,{id:t,className:Object(v.isString)(a)?a:a?Object(y.a)(a):void 0,style:r,key:o,bodyStyle:j({display:"flex",flexWrap:"wrap"},d),headStyle:u,actions:i,extra:c||g.a.createElement("a",{className:l&&l.className,style:l&&l.style,href:l&&l.href,target:l&&l.target||"_blank"},l&&l.content),cover:g.a.createElement("img",{alt:s&&s.alt,src:s&&s.src,style:s&&s.style,className:s&&s.className}),bordered:p,hoverable:b,size:f,title:m,"data-dash-is-loading":e&&e.is_loading||void 0},n)}(t.default=r).defaultProps=a.b,r.propTypes=a.c},440:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.label,l=e.span,c=e.labelStyle,s=e.contentStyle,e=(e.setProps,e.loading_state),n=Object(b.b)(n);return d.a.createElement("div",{id:t,className:Object(u.isString)(a)?a:a?Object(p.a)(a):void 0,style:r,key:o,label:i,span:l,labelStyle:c,contentStyle:s,"data-dash-is-loading":e&&e.is_loading||void 0},n)}var r=n(0),d=n.n(r),u=n(8),p=n(10),b=n(30),r=n(251);(t.default=a).defaultProps=r.b,a.propTypes=r.c},441:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.locale,l=e.description,c=e.image,s=e.imageStyle,e=(e.setProps,e.loading_state),d=Object(u.useContext)(v.a),i=d&&d.locale||i;return p.a.createElement(f.a,{locale:m.b.get(i)},p.a.createElement(b.a,{id:t,className:Object(g.isString)(a)?a:a?Object(h.a)(a):void 0,style:r,key:o,description:l,image:y.get(c)||c,imageStyle:s,"data-dash-is-loading":e&&e.is_loading||void 0},n))}var u=n(0),p=n.n(u),b=n(140),f=n(13),m=n(55),g=n(8),h=n(10),v=n(47),n=n(252),y=new Map([["default",b.a.PRESENTED_IMAGE_DEFAULT],["simple",b.a.PRESENTED_IMAGE_SIMPLE]]);(t.default=a).defaultProps=n.b,a.propTypes=n.c},442:function(e,t,n){"use strict";n.r(t);var f=n(0),m=n.n(f),g=n(10),h=n(8),v=n(13),y=n(706),O=n(55),j=n(47),n=n(253);function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function a(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.locale,i=e.width,l=e.height,c=e.src,s=e.fallback,d=e.multiImageMode,u=e.preview;e.setProps,e.loading_state;o=(e=Object(f.useContext)(j.a))&&e.locale||o;e=Object(f.useState)(!1),p=2;var p=(e=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=o.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(e,p)||function(e,t){var n;if(e)return"string"==typeof e?S(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}(e,p)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],b=e[1];return Array.isArray(c)?"fold"===d?m.a.createElement(v.a,{locale:O.b.get(o)},m.a.createElement(y.a,{id:t,style:a,className:Object(h.isString)(n)?n:n?Object(g.a)(n):void 0,key:r,preview:{visible:!1},width:i,height:l,src:c[0],fallback:s,onClick:function(){return b(!0)}}),m.a.createElement("div",{style:{display:"none"}},m.a.createElement(y.a.PreviewGroup,{preview:{visible:p,onVisibleChange:function(e){return b(e)}}},c.map(function(e){return m.a.createElement(y.a,{src:e,fallback:s})})))):m.a.createElement(v.a,{locale:O.b.get(o)},m.a.createElement(y.a.PreviewGroup,{id:t,style:a,className:Object(h.isString)(n)?n:n?Object(g.a)(n):void 0,key:r},c.map(function(e){return m.a.createElement(y.a,{src:e,fallback:s,width:i,height:l})}))):m.a.createElement(v.a,{locale:O.b.get(o)},m.a.createElement(y.a,{id:t,style:a,className:Object(h.isString)(n)?n:n?Object(g.a)(n):void 0,key:r,width:i,height:l,src:c,fallback:s,preview:u}))}(t.default=a).defaultProps=n.b,a.propTypes=n.c},443:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.title,l=e.content,c=e.placement,s=e.color,d=e.mouseEnterDelay,u=e.mouseLeaveDelay,p=e.overlayClassName,b=e.overlayStyle,f=e.overlayInnerStyle,m=e.trigger,g=e.zIndex,h=e.arrowPointAtCenter,v=e.open,y=e.permanent,O=e.popupContainer,j=e.setProps,e=e.loading_state,n=Object(x.b)(n);return S.a.createElement(w.a,{id:t,className:Object(C.isString)(a)?a:a?Object(E.a)(a):void 0,style:r,key:o,title:i&&i.content?S.a.createElement("div",null,S.a.createElement(k.a,{icon:i.prefixIcon}),S.a.createElement("span",{style:{marginLeft:"5px"}},i.content)):i,content:l,placement:c,color:s,mouseEnterDelay:d,mouseLeaveDelay:u,overlayClassName:Object(C.isString)(p)?p:p?Object(E.a)(p):void 0,overlayStyle:b,overlayInnerStyle:f,trigger:m,zIndex:g,arrowPointAtCenter:h,open:v,onOpenChange:y?void 0:function(e){return j({open:e})},getPopupContainer:"parent"===O?function(e){return e.parentNode}:void 0,"data-dash-is-loading":e&&e.is_loading||void 0},n)}var r=n(0),S=n.n(r),w=n(133),k=n(69),x=n(30),C=n(8),E=n(10),r=n(254);(t.default=a).defaultProps=r.b,a.propTypes=r.c},444:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.value,i=e.valueFormat,l=e.format,c=e.prefix,s=e.suffix,d=e.title,u=e.titleTooltip,p=e.valueStyle,e=(e.setProps,e.loading_state);return b.a.createElement(h,{id:t,className:Object(m.isString)(n)?n:n?Object(g.a)(n):void 0,style:a,key:r,value:f()(o,i),format:l,prefix:c,suffix:s,title:u?b.a.createElement(Space,{size:5},d,b.a.createElement(AntdTooltip,{title:u},b.a.createElement(QuestionCircleOutlined,null))):d,valueStyle:p,"data-dash-is-loading":e&&e.is_loading||void 0})}var r=n(0),b=n.n(r),r=n(481),o=n(189),f=n.n(o),m=n(8),g=n(10),o=n(256),h=r.a.Countdown;(t.default=a).defaultProps=o.b,a.propTypes=o.c},446:function(e,t,n){"use strict";n.r(t);var E=n(0),P=n.n(E),N=n(687),T=n(402),I=n(133),z=n(473),$=n(714),L=n(69),M=n(8),R=n(10),_=n(30),n=n(258),H=["id","className","style","tab","key","disabled","closable","titleSideInfoPopover","loading_state"];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})(e)}function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,a=arguments[t];for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function i(t,e){var n,a=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,n)),a}function D(a){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){var t,n;t=a,e=r[n=e],(n=function(){var e=function(e){if("object"!==o(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==o(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(n);return"symbol"===o(e)?e:String(e)}())in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(r,e))})}return a}function a(e){function t(e){w({activeKey:e})}function n(e,t){w({latestDeletePane:e,tabCloseCounts:S+1})}var a=e.id,r=e.children,o=e.className,i=e.style,l=e.key,c=e.items,s=e.disabledTabKeys,d=e.tabBarLeftExtraContent,u=e.tabBarRightExtraContent,p=e.defaultActiveKey,b=e.activeKey,f=e.size,m=e.tabPosition,g=e.type,h=e.centered,v=e.tabBarGutter,y=e.inkBarAnimated,O=e.tabPaneAnimated,j=e.destroyInactiveTabPane,S=e.tabCloseCounts,w=e.setProps,k=e.persistence,x=e.persisted_props,C=e.persistence_type,e=e.loading_state;return Object(E.useEffect)(function(){p&&!b&&w({activeKey:p})},[]),Object(E.useEffect)(function(){w({tabCount:(c||[]).length})},[c]),Object(E.useEffect)(function(){w({itemKeys:(c||[]).map(function(e){return e.key})})},[c]),c?(s&&(c=c.map(function(e){return e=s.includes(e.key)?D(D({},e),{},{disabled:!0}):e})),P.a.createElement(N.a,{id:a,className:Object(M.isString)(o)?o:o?Object(R.a)(o):void 0,style:i,key:l,items:c.map(function(t){return t.contextMenu&&(t.label=P.a.createElement(T.a,{menu:{items:t.contextMenu.map(function(e){return D(D({},e),{},{icon:e.icon&&("fontawesome"===e.iconRenderer?P.a.createElement("i",{className:e.icon}):P.a.createElement(L.a,{icon:e.icon}))})}),onClick:function(e){e.domEvent.stopPropagation(),w({clickedContextMenu:{tabKey:t.key,menuKey:e.key,timestamp:Date.now()}})}},trigger:["contextMenu"]},P.a.createElement("div",null,t.label))),t}),defaultActiveKey:p,activeKey:b,size:f,tabPosition:m,type:g,centered:h,tabBarGutter:v,tabBarExtraContent:{left:d,right:u},animated:{inkBar:y,tabPane:O},destroyInactiveTabPane:j,hideAdd:!0,onChange:t,onEdit:n,persistence:k,persisted_props:x,persistence_type:C,"data-dash-is-loading":e&&e.is_loading||void 0})):(j=(r=Object(_.b)(r)).map(function(e){var t=Object(_.c)(e),n=t.id,a=t.className,r=t.style,o=t.tab,i=t.key,l=t.disabled,c=t.closable,s=t.titleSideInfoPopover,d=t.loading_state,t=function(e,t){if(null==e)return{};var n,a=function(e,t){if(null==e)return{};for(var n,a={},r=Object.keys(e),o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(e),o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n]);return a}(t,H);return P.a.createElement(B,A({id:n,className:a,style:r,tab:s&&s.content?P.a.createElement(P.a.Fragment,null,P.a.createElement("span",null,o),P.a.createElement(I.a,{title:s.title,content:P.a.createElement("div",{style:{maxWidth:"250px",wordWrap:"break-word",whiteSpace:"normal",wordBreak:"break-all"}},s.content),overlayStyle:{maxWidth:"250px"},placement:"right",getPopupContainer:function(e){return e.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode}},P.a.createElement(z.a,{style:{color:"#8c8c8c",paddingLeft:"4px",cursor:"pointer"}}))):o,key:i,disabled:l,closable:c,loading_state:d},Object($.a)(["setProps","persistence","persistence_type","persisted_props"],t)),e)}),P.a.createElement(N.a,{id:a,className:Object(M.isString)(o)?o:o?Object(R.a)(o):void 0,style:i,key:l,defaultActiveKey:p,activeKey:b,size:f,tabPosition:m,type:g,centered:h,tabBarGutter:v,tabBarExtraContent:{left:d,right:u},animated:{inkBar:y,tabPane:O},hideAdd:!0,onChange:t,onEdit:n,persistence:k,persisted_props:x,persistence_type:C,"data-dash-is-loading":e&&e.is_loading||void 0},j))}var B=N.a.TabPane;(t.default=a).defaultProps=n.b,a.propTypes=n.c},447:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.title,l=e.placement,c=e.color,s=e.mouseEnterDelay,d=e.mouseLeaveDelay,u=e.overlayClassName,p=e.overlayStyle,b=e.overlayInnerStyle,f=e.trigger,m=e.zIndex,g=e.arrowPointAtCenter,h=e.open,v=e.permanent,y=e.popupContainer,O=e.setProps,e=e.loading_state;return j.a.createElement(S.a,{id:t,className:Object(w.isString)(a)?a:a?Object(k.a)(a):void 0,style:r,key:o,title:i,placement:l,color:c,mouseEnterDelay:s,mouseLeaveDelay:d,overlayClassName:Object(w.isString)(u)?u:u?Object(k.a)(u):void 0,overlayStyle:p,overlayInnerStyle:b,trigger:f,zIndex:m,arrowPointAtCenter:g,open:h,onOpenChange:v?void 0:function(e){return O({open:e})},getPopupContainer:"parent"===y?function(e){return e.parentNode}:void 0,"data-dash-is-loading":e&&e.is_loading||void 0},Object(x.b)(n))}var r=n(0),j=n.n(r),S=n(65),w=n(8),k=n(10),x=n(30),r=n(260);(t.default=a).defaultProps=r.b,a.propTypes=r.c},449:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.items,i=e.accordion,l=e.activeKey,c=e.defaultActiveKey,s=e.bordered,d=e.collapsible,u=e.expandIconPosition,p=e.ghost,b=e.loading_state,f=e.setProps;return Object(m.useEffect)(function(){c&&!l&&f({activeKey:c})},[]),g.a.createElement(h.a,{id:t,className:Object(v.isString)(n)?n:n?Object(y.a)(n):void 0,style:a,key:r,accordion:i,activeKey:l,defaultActiveKey:c,bordered:s,collapsible:d,expandIconPosition:u,ghost:p,onChange:function(e){return f({activeKey:e})},"data-dash-is-loading":b&&b.is_loading||void 0},o?o.map(function(e){return g.a.createElement(O,{className:Object(v.isString)(e.className)?e.className:e.className?Object(y.a)(e.className):void 0,style:e.style,key:e.key,collapsible:e.collapsible,header:e.title,extra:e.extra,showArrow:e.showArrow,forceRender:e.forceRender},e.children)}):null)}var m=n(0),g=n.n(m),h=n(326),v=n(8),y=n(10),n=n(263),O=h.a.Panel;(t.default=a).defaultProps=n.b,a.propTypes=n.c},452:function(R,e,t){"use strict";t.r(e);var k=t(0),g=t.n(k),u=t(2),j=t(6),r=t(31),n=t(32),o=t(17),a=t(57),i=t(56),l=t(5),_=t(14),H=t(12),A={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},D=t(286),c=t(4),x=t.n(c);function h(e,t,n){return Math.max(t,Math.min(e,n))}function S(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()}function B(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=e.startX-e.curX,e=e.startY-e.curY,e=Math.atan2(e,n);return(n=(n=Math.round(180*e/Math.PI))<0?360-Math.abs(n):n)<=45&&0<=n||n<=360&&315<=n?"left":135<=n&&n<=225?"right":!0===t?35<=n&&n<=135?"up":"down":"vertical"}function s(t,e){var n={};return e.forEach(function(e){return n[e]=t[e]}),n}function W(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,a=e.infinite?-1*e.slidesToShow:0,r=[];n<t;)r.push(n),n=a+e.slidesToScroll,a+=Math.min(e.slidesToScroll,e.slidesToShow);return r}(e),a=0;if(t>n[n.length-1])t=n[n.length-1];else for(var r in n){if(t<n[r]){t=a;break}a=n[r]}return t}function X(t){var n,e,a=t.centerMode?t.slideWidth*Math.floor(t.slidesToShow/2):0;return t.swipeToSlide?(e=(e=t.listRef).querySelectorAll&&e.querySelectorAll(".slick-slide")||[],Array.from(e).every(function(e){if(t.vertical){if(e.offsetTop+m(e)/2>-1*t.swipeLeft)return n=e,!1}else if(e.offsetLeft-a+f(e)/2>-1*t.swipeLeft)return n=e,!1;return!0}),n?(e=!0===t.rtl?t.slideCount-t.currentSlide:t.currentSlide,Math.abs(n.dataset.index-e)||1):0):t.slidesToScroll}function p(e){return e.unslick||!e.infinite?0:e.slideCount}function G(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function v(e){var t,n,a,r,o=(r=e.rtl?e.slideCount-1-e.index:e.index)<0||r>=e.slideCount;return e.centerMode?(a=Math.floor(e.slidesToShow/2),n=(r-e.currentSlide)%e.slideCount==0,r>e.currentSlide-a-1&&r<=e.currentSlide+a&&(t=!0)):t=e.currentSlide<=r&&r<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":o,"slick-current":r===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}}function y(e,t){return e.key+"-"+t}function Y(c){var s,d=[],u=[],p=[],b=g.a.Children.count(c.children),f=q(c),m=Q(c);return g.a.Children.forEach(c.children,function(e,t){var n,a={message:"children",index:t,slidesToScroll:c.slidesToScroll,currentSlide:c.currentSlide},r=!c.lazyLoad||c.lazyLoad&&0<=c.lazyLoadedList.indexOf(t)?e:g.a.createElement("div",null),o=(o=Object(j.a)(Object(j.a)({},c),{},{index:t}),i={},void 0!==o.variableWidth&&!1!==o.variableWidth||(i.width=o.slideWidth),o.fade&&(i.position="relative",o.vertical&&o.slideHeight?i.top=-o.index*parseInt(o.slideHeight):i.left=-o.index*parseInt(o.slideWidth),i.opacity=o.currentSlide===o.index?1:0,o.useCSS)&&(i.transition="opacity "+o.speed+"ms "+o.cssEase+", visibility "+o.speed+"ms "+o.cssEase),i),i=r.props.className||"",l=v(Object(j.a)(Object(j.a)({},c),{},{index:t}));d.push(g.a.cloneElement(r,{key:"original"+y(r,t),"data-index":t,className:x()(l,i),tabIndex:"-1","aria-hidden":!l["slick-active"],style:Object(j.a)(Object(j.a)({outline:"none"},r.props.style||{}),o),onClick:function(e){r.props&&r.props.onClick&&r.props.onClick(e),c.focusOnSelect&&c.focusOnSelect(a)}})),c.infinite&&!1===c.fade&&((n=b-t)<=N(c)&&b!==c.slidesToShow&&((s=-n)>=f&&(r=e),l=v(Object(j.a)(Object(j.a)({},c),{},{index:s})),u.push(g.a.cloneElement(r,{key:"precloned"+y(r,s),"data-index":s,tabIndex:"-1",className:x()(l,i),"aria-hidden":!l["slick-active"],style:Object(j.a)(Object(j.a)({},r.props.style||{}),o),onClick:function(e){r.props&&r.props.onClick&&r.props.onClick(e),c.focusOnSelect&&c.focusOnSelect(a)}}))),b!==c.slidesToShow)&&((s=b+t)<m&&(r=e),l=v(Object(j.a)(Object(j.a)({},c),{},{index:s})),p.push(g.a.cloneElement(r,{key:"postcloned"+y(r,s),"data-index":s,tabIndex:"-1",className:x()(l,i),"aria-hidden":!l["slick-active"],style:Object(j.a)(Object(j.a)({},r.props.style||{}),o),onClick:function(e){r.props&&r.props.onClick&&r.props.onClick(e),c.focusOnSelect&&c.focusOnSelect(a)}})))}),c.rtl?u.concat(d,p).reverse():u.concat(d,p)}var F,K,V,U,Z,d,O=function(e){for(var t=[],n=q(e),a=Q(e),r=n;r<a;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t},q=function(e){return e.currentSlide-J(e)},Q=function(e){return e.currentSlide+ee(e)},J=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(0<parseInt(e.centerPadding)?1:0):0},ee=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(0<parseInt(e.centerPadding)?1:0):e.slidesToShow},f=function(e){return e&&e.offsetWidth||0},m=function(e){return e&&e.offsetHeight||0},w=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},C=function(n,e){return e.reduce(function(e,t){return e&&n.hasOwnProperty(t)},!0)?null:console.error("Keys Missing:",n)},E=function(e){C(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,n,a,r,o,i=e.slideCount+2*e.slidesToShow,i=(e.vertical?n=i*e.slideHeight:t=ne(e)*e.slideWidth,{opacity:1,transition:"",WebkitTransition:""});return e.useTransform?(a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",r=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",o=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)",i=Object(j.a)(Object(j.a)({},i),{},{WebkitTransform:a,transform:r,msTransform:o})):e.vertical?i.top=e.left:i.left=e.left,e.fade&&(i={opacity:1}),t&&(i.width=t),n&&(i.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i},te=function(e){C(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=E(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},P=function(e){if(e.unslick)return 0;C(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,a=e.infinite,r=e.centerMode,o=e.slideCount,i=e.slidesToShow,l=e.slidesToScroll,c=e.slideWidth,s=e.listWidth,d=e.variableWidth,u=e.slideHeight,p=e.fade,b=e.vertical;if(p||1===e.slideCount)return 0;p=0;if(a?(p=-N(e),o%l!=0&&o<t+l&&(p=-(o<t?i-(t-o):o%l)),r&&(p+=parseInt(i/2))):(o%l!=0&&o<t+l&&(p=i-o%l),r&&(p=parseInt(i/2))),g=b?t*u*-1+p*u:t*c*-1+p*c,!0===d){var f=n&&n.node;if(m=t+N(e),g=(o=f&&f.childNodes[m])?-1*o.offsetLeft:0,!0===r){for(var m=a?t+N(e):t,o=f&&f.children[m],g=0,h=0;h<m;h++)g-=f&&f.children[h]&&f.children[h].offsetWidth;g=(g-=parseInt(e.centerPadding))+(o&&(s-o.offsetWidth)/2)}}return g},N=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},ne=function(e){return 1===e.slideCount?1:N(e)+e.slideCount+p(e)},ae=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+function(e){var t=e.slidesToShow,n=e.centerMode,a=e.rtl,r=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(r)>0&&(o+=1),a&&t%2==0&&(o+=1),o}return a?0:t-1}(e)?"left":"right":e.targetSlide<e.currentSlide-function(e){var t=e.slidesToShow,n=e.centerMode,a=e.rtl,r=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(r)>0&&(o+=1),a||t%2!=0||(o+=1),o}return a?t-1:0}(e)?"right":"left"},re=(c=g.a.PureComponent,Object(a.a)(M,c),d=Object(i.a)(M),Object(n.a)(M,[{key:"render",value:function(){var e=Y(this.props),t=this.props,t={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return g.a.createElement("div",Object(u.a)({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},t),e)}}]),M),oe=(c=g.a.PureComponent,Object(a.a)(L,c),Z=Object(i.a)(L),Object(n.a)(L,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=this.props,t=e.onMouseEnter,n=e.onMouseOver,a=e.onMouseLeave,r=e.infinite,o=e.slidesToScroll,i=e.slidesToShow,l=e.slideCount,c=e.currentSlide,s=(e={slideCount:l,slidesToScroll:o,slidesToShow:i,infinite:r}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,i={onMouseEnter:t,onMouseOver:n,onMouseLeave:a},d=[],u=0;u<s;u++)var p=(u+1)*o-1,p=r?p:h(p,0,l-1),b=p-(o-1),b=r?b:h(b,0,l-1),p=x()({"slick-active":r?b<=c&&c<=p:c===b}),b=this.clickHandler.bind(this,{message:"dots",index:u,slidesToScroll:o,currentSlide:c}),d=d.concat(g.a.createElement("li",{key:u,className:p},g.a.cloneElement(this.props.customPaging(u),{onClick:b})));return g.a.cloneElement(this.props.appendDots(d),Object(j.a)({className:this.props.dotsClass},i))}}]),L),ie=(c=g.a.PureComponent,Object(a.a)($,c),U=Object(i.a)($),Object(n.a)($,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"}),e=(!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null),{key:"0","data-role":"none",className:x()(e),style:{display:"block"},onClick:t}),t={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?g.a.cloneElement(this.props.prevArrow,Object(j.a)(Object(j.a)({},e),t)):g.a.createElement("button",Object(u.a)({key:"0",type:"button"},e)," ","Previous")}}]),$),le=(c=g.a.PureComponent,Object(a.a)(z,c),V=Object(i.a)(z),Object(n.a)(z,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"}),e=(w(this.props)||(e["slick-disabled"]=!0,t=null),{key:"1","data-role":"none",className:x()(e),style:{display:"block"},onClick:t}),t={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?g.a.cloneElement(this.props.nextArrow,Object(j.a)(Object(j.a)({},e),t)):g.a.createElement("button",Object(u.a)({key:"1",type:"button"},e)," ","Next")}}]),z),ce=t(208),se=["animating"],de=(c=g.a.Component,Object(a.a)(I,c),K=Object(i.a)(I),Object(n.a)(I,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,a=Object.keys(this.props);n<a.length;n++){var r=a[n];if(!e.hasOwnProperty(r)){t=!0;break}if("object"!==Object(_.a)(e[r])&&"function"!=typeof e[r]&&e[r]!==this.props[r]){t=!0;break}}return t||g.a.Children.count(this.props.children)!==g.a.Children.count(e.children)}}]),I),c=t(667),b=t.n(c),ue={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return g.a.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return g.a.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0},pe=(c=g.a.Component,Object(a.a)(T,c),F=Object(i.a)(T),Object(n.a)(T,[{key:"media",value:function(e,t){function n(e){e.matches&&t()}var a=window.matchMedia(e);a.addListener(n),n(a),this._responsiveMediaHandlers.push({mql:a,query:e,listener:n})}},{key:"componentDidMount",value:function(){var n,e,a=this;this.props.responsive&&((n=this.props.responsive.map(function(e){return e.breakpoint})).sort(function(e,t){return e-t}),n.forEach(function(e,t){t=0===t?b()({minWidth:0,maxWidth:e}):b()({minWidth:n[t-1]+1,maxWidth:e});G()&&a.media(t,function(){a.setState({breakpoint:e})})}),e=b()({minWidth:n.slice(-1)[0]}),G())&&this.media(e,function(){a.setState({breakpoint:null})})}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})}},{key:"render",value:function(){var e,t=this;(e=this.state.breakpoint?"unslick"===(a=this.props.responsive.filter(function(e){return e.breakpoint===t.state.breakpoint}))[0].settings?"unslick":Object(j.a)(Object(j.a)(Object(j.a)({},ue),this.props),a[0].settings):Object(j.a)(Object(j.a)({},ue),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var n=(n=g.a.Children.toArray(this.props.children)).filter(function(e){return"string"==typeof e?!!e.trim():!!e});e.variableWidth&&(1<e.rows||1<e.slidesPerRow)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var a,r=[],o=null,i=0;i<n.length;i+=e.rows*e.slidesPerRow){for(var l=[],c=i;c<i+e.rows*e.slidesPerRow;c+=e.slidesPerRow){for(var s=[],d=c;d<c+e.slidesPerRow&&(e.variableWidth&&n[d].props.style&&(o=n[d].props.style.width),!(d>=n.length));d+=1)s.push(g.a.cloneElement(n[d],{key:100*i+10*c+d,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));l.push(g.a.createElement("div",{key:10*i+c},s))}e.variableWidth?r.push(g.a.createElement("div",{key:i,style:{width:o}},l)):r.push(g.a.createElement("div",{key:i},l))}return"unslick"===e?(a="regular slider "+(this.props.className||""),g.a.createElement("div",{className:a},n)):(r.length<=e.slidesToShow&&(e.unslick=!0),g.a.createElement(de,Object(u.a)({style:this.props.style,ref:this.innerSliderRefHandler},e),r))}}]),T),be=t(43),fe=t(11),a=t(149),me=t(80);function T(e){var t;return Object(r.a)(this,T),t=F.call(this,e),Object(l.a)(Object(o.a)(t),"innerSliderRefHandler",function(e){return t.innerSlider=e}),Object(l.a)(Object(o.a)(t),"slickPrev",function(){return t.innerSlider.slickPrev()}),Object(l.a)(Object(o.a)(t),"slickNext",function(){return t.innerSlider.slickNext()}),Object(l.a)(Object(o.a)(t),"slickGoTo",function(e){return t.innerSlider.slickGoTo(e,1<arguments.length&&void 0!==arguments[1]&&arguments[1])}),Object(l.a)(Object(o.a)(t),"slickPause",function(){return t.innerSlider.pause("paused")}),Object(l.a)(Object(o.a)(t),"slickPlay",function(){return t.innerSlider.autoPlay("play")}),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}function I(e){Object(r.a)(this,I),b=K.call(this,e),Object(l.a)(Object(o.a)(b),"listRefHandler",function(e){return b.list=e}),Object(l.a)(Object(o.a)(b),"trackRefHandler",function(e){return b.track=e}),Object(l.a)(Object(o.a)(b),"adaptHeight",function(){var e;b.props.adaptiveHeight&&b.list&&(e=b.list.querySelector('[data-index="'.concat(b.state.currentSlide,'"]')),b.list.style.height=m(e)+"px")}),Object(l.a)(Object(o.a)(b),"componentDidMount",function(){b.props.onInit&&b.props.onInit(),b.props.lazyLoad&&0<(t=O(Object(j.a)(Object(j.a)({},b.props),b.state))).length&&(b.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),b.props.onLazyLoad)&&b.props.onLazyLoad(t);var t,e=Object(j.a)({listRef:b.list,trackRef:b.track},b.props);b.updateState(e,!0,function(){b.adaptHeight(),b.props.autoplay&&b.autoPlay("playing")}),"progressive"===b.props.lazyLoad&&(b.lazyLoadTimer=setInterval(b.progressiveLazyLoad,1e3)),b.ro=new ce.a(function(){b.state.animating?(b.onWindowResized(!1),b.callbackTimers.push(setTimeout(function(){return b.onWindowResized()},b.props.speed))):b.onWindowResized()}),b.ro.observe(b.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=b.props.pauseOnFocus?b.onSlideFocus:null,e.onblur=b.props.pauseOnFocus?b.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",b.onWindowResized):window.attachEvent("onresize",b.onWindowResized)}),Object(l.a)(Object(o.a)(b),"componentWillUnmount",function(){b.animationEndCallback&&clearTimeout(b.animationEndCallback),b.lazyLoadTimer&&clearInterval(b.lazyLoadTimer),b.callbackTimers.length&&(b.callbackTimers.forEach(function(e){return clearTimeout(e)}),b.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",b.onWindowResized):window.detachEvent("onresize",b.onWindowResized),b.autoplayTimer&&clearInterval(b.autoplayTimer),b.ro.disconnect()}),Object(l.a)(Object(o.a)(b),"componentDidUpdate",function(e){b.checkImagesLoad(),b.props.onReInit&&b.props.onReInit(),b.props.lazyLoad&&0<(t=O(Object(j.a)(Object(j.a)({},b.props),b.state))).length&&(b.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),b.props.onLazyLoad)&&b.props.onLazyLoad(t),b.adaptHeight();var t,n=Object(j.a)(Object(j.a)({listRef:b.list,trackRef:b.track},b.props),b.state),a=b.didPropsChange(e);a&&b.updateState(n,a,function(){b.state.currentSlide>=g.a.Children.count(b.props.children)&&b.changeSlide({message:"index",index:g.a.Children.count(b.props.children)-b.props.slidesToShow,currentSlide:b.state.currentSlide}),e.autoplay===b.props.autoplay&&e.autoplaySpeed===b.props.autoplaySpeed||(!e.autoplay&&b.props.autoplay?b.autoPlay("playing"):b.props.autoplay?b.autoPlay("update"):b.pause("paused"))})}),Object(l.a)(Object(o.a)(b),"onWindowResized",function(e){b.debouncedResize&&b.debouncedResize.cancel(),b.debouncedResize=Object(D.a)(50,function(){return b.resizeWindow(e)}),b.debouncedResize()}),Object(l.a)(Object(o.a)(b),"resizeWindow",function(){var e,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];Boolean(b.track&&b.track.node)&&(e=Object(j.a)(Object(j.a)({listRef:b.list,trackRef:b.track},b.props),b.state),b.updateState(e,t,function(){b.props.autoplay?b.autoPlay("update"):b.pause("paused")}),b.setState({animating:!1}),clearTimeout(b.animationEndCallback),delete b.animationEndCallback)}),Object(l.a)(Object(o.a)(b),"updateState",function(e,t,n){a=e,r=g.a.Children.count(a.children),o=a.listRef,u=Math.ceil(f(o)),p=a.trackRef&&a.trackRef.node,p=Math.ceil(f(p)),d=a.vertical?u:(d=a.centerMode&&2*parseInt(a.centerPadding),"string"==typeof a.centerPadding&&"%"===a.centerPadding.slice(-1)&&(d*=u/100),Math.ceil((u-d)/a.slidesToShow)),o=o&&m(o.querySelector('[data-index="0"]')),i=o*a.slidesToShow,l=void 0===a.currentSlide?a.initialSlide:a.currentSlide,a.rtl&&void 0===a.currentSlide&&(l=r-1-a.initialSlide),c=a.lazyLoadedList||[],s=O(Object(j.a)(Object(j.a)({},a),{},{currentSlide:l,lazyLoadedList:c})),r={slideCount:r,slideWidth:d,listWidth:u,trackWidth:p,currentSlide:l,slideHeight:o,listHeight:i,lazyLoadedList:c=c.concat(s)},null===a.autoplaying&&a.autoplay&&(r.autoplaying="playing");var a,r,o,i,l,c,s,d=r,u=(e=Object(j.a)(Object(j.a)(Object(j.a)({},e),d),{},{slideIndex:d.currentSlide}),P(e)),p=(e=Object(j.a)(Object(j.a)({},e),{},{left:u}),E(e));!t&&g.a.Children.count(b.props.children)===g.a.Children.count(e.children)||(d.trackStyle=p),b.setState(d,n)}),Object(l.a)(Object(o.a)(b),"ssrInit",function(){if(b.props.variableWidth){var t=0,e=0,n=[],a=N(Object(j.a)(Object(j.a)(Object(j.a)({},b.props),b.state),{},{slideCount:b.props.children.length})),r=p(Object(j.a)(Object(j.a)(Object(j.a)({},b.props),b.state),{},{slideCount:b.props.children.length}));b.props.children.forEach(function(e){n.push(e.props.style.width),t+=e.props.style.width});for(var o=0;o<a;o++)e+=n[n.length-1-o],t+=n[n.length-1-o];for(var i=0;i<r;i++)t+=n[i];for(var l=0;l<b.state.currentSlide;l++)e+=n[l];var c={width:t+"px",left:-e+"px"};return b.props.centerMode&&(s="".concat(n[b.state.currentSlide],"px"),c.left="calc(".concat(c.left," + (100% - ").concat(s,") / 2 ) ")),{trackStyle:c}}var s=g.a.Children.count(b.props.children),c=Object(j.a)(Object(j.a)(Object(j.a)({},b.props),b.state),{},{slideCount:s}),s=N(c)+p(c)+s,d=100/b.props.slidesToShow*s,s=100/s,c=-s*(N(c)+b.state.currentSlide)*d/100;return b.props.centerMode&&(c+=(100-s*d/100)/2),{slideWidth:s+"%",trackStyle:{width:d+"%",left:c+"%"}}}),Object(l.a)(Object(o.a)(b),"checkImagesLoad",function(){var e=b.list&&b.list.querySelectorAll&&b.list.querySelectorAll(".slick-slide img")||[],a=e.length,r=0;Array.prototype.forEach.call(e,function(t){function e(){return++r&&a<=r&&b.onWindowResized()}var n;t.onclick?(n=t.onclick,t.onclick=function(e){n(e),t.parentNode.focus()}):t.onclick=function(){return t.parentNode.focus()},t.onload||(b.props.lazyLoad?t.onload=function(){b.adaptHeight(),b.callbackTimers.push(setTimeout(b.onWindowResized,b.props.speed))}:(t.onload=e,t.onerror=function(){e(),b.props.onLazyLoadError&&b.props.onLazyLoadError()}))})}),Object(l.a)(Object(o.a)(b),"progressiveLazyLoad",function(){for(var t=[],e=Object(j.a)(Object(j.a)({},b.props),b.state),n=b.state.currentSlide;n<b.state.slideCount+p(e);n++)if(b.state.lazyLoadedList.indexOf(n)<0){t.push(n);break}for(var a=b.state.currentSlide-1;a>=-N(e);a--)if(b.state.lazyLoadedList.indexOf(a)<0){t.push(a);break}0<t.length?(b.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),b.props.onLazyLoad&&b.props.onLazyLoad(t)):b.lazyLoadTimer&&(clearInterval(b.lazyLoadTimer),delete b.lazyLoadTimer)}),Object(l.a)(Object(o.a)(b),"slideHandler",function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=b.props,a=n.asNavFor,r=n.beforeChange,o=n.onLazyLoad,i=n.speed,l=n.afterChange,n=b.state.currentSlide,t=function(e){var t=e.waitForAnimate,n=e.animating,a=e.fade,r=e.infinite,o=e.index,i=e.slideCount,l=e.lazyLoad,c=e.currentSlide,s=e.centerMode,d=e.slidesToScroll,u=e.slidesToShow,p=e.useCSS,b=e.lazyLoadedList;if(t&&n)return{};var t=o,n={},f={},m=r?o:h(o,0,i-1);if(a){if(!r&&(o<0||i<=o))return{};o<0?t=o+i:i<=o&&(t=o-i),f={animating:!(n={animating:!0,currentSlide:t,lazyLoadedList:b=l&&b.indexOf(t)<0?b.concat(t):b,targetSlide:t}),targetSlide:t}}else(a=t)<0?(a=t+i,r?i%d!=0&&(a=i-i%d):a=0):!w(e)&&c<t?t=a=c:s&&i<=t?(t=r?i:i-1,a=r?0:i-1):i<=t&&(a=t-i,r?i%d!=0&&(a=0):a=i-u),!r&&i<=t+u&&(a=i-u),o=P(Object(j.a)(Object(j.a)({},e),{},{slideIndex:t})),c=P(Object(j.a)(Object(j.a)({},e),{},{slideIndex:a})),r||(o===c&&(t=a),o=c),l&&(b=b.concat(O(Object(j.a)(Object(j.a)({},e),{},{currentSlide:t})))),p?f={animating:!(n={animating:!0,currentSlide:a,trackStyle:te(Object(j.a)(Object(j.a)({},e),{},{left:o})),lazyLoadedList:b,targetSlide:m}),currentSlide:a,trackStyle:E(Object(j.a)(Object(j.a)({},e),{},{left:c})),swipeLeft:null,targetSlide:m}:n={currentSlide:a,trackStyle:E(Object(j.a)(Object(j.a)({},e),{},{left:c})),lazyLoadedList:b,targetSlide:m};return{state:n,nextState:f}}(Object(j.a)(Object(j.a)(Object(j.a)({index:e},b.props),b.state),{},{trackRef:b.track,useCSS:b.props.useCSS&&!t})),c=t.state,s=t.nextState;c&&(r&&r(n,c.currentSlide),t=c.lazyLoadedList.filter(function(e){return b.state.lazyLoadedList.indexOf(e)<0}),o&&0<t.length&&o(t),!b.props.waitForAnimate&&b.animationEndCallback&&(clearTimeout(b.animationEndCallback),l&&l(n),delete b.animationEndCallback),b.setState(c,function(){a&&b.asNavForIndex!==e&&(b.asNavForIndex=e,a.innerSlider.slideHandler(e)),s&&(b.animationEndCallback=setTimeout(function(){var e=s.animating,t=Object(H.a)(s,se);b.setState(t,function(){b.callbackTimers.push(setTimeout(function(){return b.setState({animating:e})},10)),l&&l(c.currentSlide),delete b.animationEndCallback})},i))}))}),Object(l.a)(Object(o.a)(b),"changeSlide",function(e){var t,n,a,r,o,i,l,c,s,d=1<arguments.length&&void 0!==arguments[1]&&arguments[1],u=Object(j.a)(Object(j.a)({},b.props),b.state),p=(e=e,n=(u=u).slidesToScroll,a=u.slidesToShow,r=u.slideCount,o=u.currentSlide,i=u.targetSlide,s=u.lazyLoad,l=u.infinite,c=r%n!=0?0:(r-o)%n,"previous"===e.message?(t=o-(p=0==c?n:a-c),s&&!l&&(t=-1==(a=o-p)?r-1:a),l||(t=i-n)):"next"===e.message?(t=o+(p=0==c?n:c),s&&!l&&(t=(o+n)%r+c),l||(t=i+n)):"dots"===e.message?t=e.index*e.slidesToScroll:"children"===e.message?(t=e.index,l&&(a=ae(Object(j.a)(Object(j.a)({},u),{},{targetSlide:t})),t>e.currentSlide&&"left"===a?t-=r:t<e.currentSlide&&"right"===a&&(t+=r))):"index"===e.message&&(t=Number(e.index)),t);(0===p||p)&&(!0===d?b.slideHandler(p,d):b.slideHandler(p),b.props.autoplay&&b.autoPlay("update"),b.props.focusOnSelect)&&(s=b.list.querySelectorAll(".slick-current"))[0]&&s[0].focus()}),Object(l.a)(Object(o.a)(b),"clickHandler",function(e){!1===b.clickable&&(e.stopPropagation(),e.preventDefault()),b.clickable=!0}),Object(l.a)(Object(o.a)(b),"keyHandler",function(e){e=e,n=b.props.accessibility,t=b.props.rtl;var t,n=e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!n?"":37===e.keyCode?t?"next":"previous":39===e.keyCode?t?"previous":"next":"";n&&b.changeSlide({message:n})}),Object(l.a)(Object(o.a)(b),"selectHandler",function(e){b.changeSlide(e)}),Object(l.a)(Object(o.a)(b),"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),Object(l.a)(Object(o.a)(b),"enableBodyScroll",function(){window.ontouchmove=null}),Object(l.a)(Object(o.a)(b),"swipeStart",function(e){b.props.verticalSwiping&&b.disableBodyScroll();e=e,n=b.props.swipe,t=b.props.draggable,"IMG"===e.target.tagName&&S(e);var t,n=!n||!t&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}};""!==n&&b.setState(n)}),Object(l.a)(Object(o.a)(b),"swipeMove",function(e){e=function(e,t){var n=t.scrolling,a=t.animating,r=t.vertical,o=t.swipeToSlide,i=t.verticalSwiping,l=t.rtl,c=t.currentSlide,s=t.edgeFriction,d=t.edgeDragged,u=t.onEdge,p=t.swiped,b=t.swiping,f=t.slideCount,m=t.slidesToScroll,g=t.infinite,h=t.touchObject,v=t.swipeEvent,y=t.listHeight,O=t.listWidth;if(!n){if(a)return S(e);r&&o&&i&&S(e);n={},a=P(t),o=(h.curX=e.touches?e.touches[0].pageX:e.clientX,h.curY=e.touches?e.touches[0].pageY:e.clientY,h.swipeLength=Math.round(Math.sqrt(Math.pow(h.curX-h.startX,2))),Math.round(Math.sqrt(Math.pow(h.curY-h.startY,2))));if(!i&&!b&&10<o)return{scrolling:!0};i&&(h.swipeLength=o);b=(l?-1:1)*(h.curX>h.startX?1:-1),o=(i&&(b=h.curY>h.startY?1:-1),Math.ceil(f/m)),f=B(t.touchObject,i),m=h.swipeLength;return g||(0===c&&("right"===f||"down"===f)||o<=c+1&&("left"===f||"up"===f)||!w(t)&&("left"===f||"up"===f))&&(m=h.swipeLength*s,!1===d)&&u&&(u(f),n.edgeDragged=!0),!p&&v&&(v(f),n.swiped=!0),g=i?a+m*b:r?a+m*(y/O)*b:l?a-m*b:a+m*b,n=Object(j.a)(Object(j.a)({},n),{},{touchObject:h,swipeLeft:g,trackStyle:E(Object(j.a)(Object(j.a)({},t),{},{left:g}))}),Math.abs(h.curX-h.startX)<.8*Math.abs(h.curY-h.startY)||10<h.swipeLength&&(n.swiping=!0,S(e)),n}}(e,Object(j.a)(Object(j.a)(Object(j.a)({},b.props),b.state),{},{trackRef:b.track,listRef:b.list,slideIndex:b.state.currentSlide}));e&&(e.swiping&&(b.clickable=!1),b.setState(e))}),Object(l.a)(Object(o.a)(b),"swipeEnd",function(e){var t,e=function(e,t){var n=t.dragging,a=t.swipe,r=t.touchObject,o=t.listWidth,i=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,s=t.swipeToSlide,d=t.scrolling,u=t.onSwipe,p=t.targetSlide,b=t.currentSlide,f=t.infinite;if(!n)return a&&S(e),{};var n=l?c/i:o/i,a=B(r,l),m={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(!d&&r.swipeLength)if(r.swipeLength>n){S(e),u&&u(a);var g,h,v=f?b:p;switch(a){case"left":case"up":h=v+X(t),g=s?W(t,h):h,m.currentDirection=0;break;case"right":case"down":h=v-X(t),g=s?W(t,h):h,m.currentDirection=1;break;default:g=v}m.triggerSlideHandler=g}else{c=P(t);m.trackStyle=te(Object(j.a)(Object(j.a)({},t),{},{left:c}))}return m}(e,Object(j.a)(Object(j.a)(Object(j.a)({},b.props),b.state),{},{trackRef:b.track,listRef:b.list,slideIndex:b.state.currentSlide}));e&&(t=e.triggerSlideHandler,delete e.triggerSlideHandler,b.setState(e),void 0!==t)&&(b.slideHandler(t),b.props.verticalSwiping)&&b.enableBodyScroll()}),Object(l.a)(Object(o.a)(b),"touchEnd",function(e){b.swipeEnd(e),b.clickable=!0}),Object(l.a)(Object(o.a)(b),"slickPrev",function(){b.callbackTimers.push(setTimeout(function(){return b.changeSlide({message:"previous"})},0))}),Object(l.a)(Object(o.a)(b),"slickNext",function(){b.callbackTimers.push(setTimeout(function(){return b.changeSlide({message:"next"})},0))}),Object(l.a)(Object(o.a)(b),"slickGoTo",function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";b.callbackTimers.push(setTimeout(function(){return b.changeSlide({message:"index",index:e,currentSlide:b.state.currentSlide},t)},0))}),Object(l.a)(Object(o.a)(b),"play",function(){var e;if(b.props.rtl)e=b.state.currentSlide-b.props.slidesToScroll;else{if(!w(Object(j.a)(Object(j.a)({},b.props),b.state)))return!1;e=b.state.currentSlide+b.props.slidesToScroll}b.slideHandler(e)}),Object(l.a)(Object(o.a)(b),"autoPlay",function(e){b.autoplayTimer&&clearInterval(b.autoplayTimer);var t=b.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;b.autoplayTimer=setInterval(b.play,b.props.autoplaySpeed+50),b.setState({autoplaying:"playing"})}),Object(l.a)(Object(o.a)(b),"pause",function(e){b.autoplayTimer&&(clearInterval(b.autoplayTimer),b.autoplayTimer=null);var t=b.state.autoplaying;"paused"===e?b.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||b.setState({autoplaying:"focused"}):"playing"===t&&b.setState({autoplaying:"hovered"})}),Object(l.a)(Object(o.a)(b),"onDotsOver",function(){return b.props.autoplay&&b.pause("hovered")}),Object(l.a)(Object(o.a)(b),"onDotsLeave",function(){return b.props.autoplay&&"hovered"===b.state.autoplaying&&b.autoPlay("leave")}),Object(l.a)(Object(o.a)(b),"onTrackOver",function(){return b.props.autoplay&&b.pause("hovered")}),Object(l.a)(Object(o.a)(b),"onTrackLeave",function(){return b.props.autoplay&&"hovered"===b.state.autoplaying&&b.autoPlay("leave")}),Object(l.a)(Object(o.a)(b),"onSlideFocus",function(){return b.props.autoplay&&b.pause("focused")}),Object(l.a)(Object(o.a)(b),"onSlideBlur",function(){return b.props.autoplay&&"focused"===b.state.autoplaying&&b.autoPlay("blur")}),Object(l.a)(Object(o.a)(b),"render",function(){var e,t,n,a=x()("slick-slider",b.props.className,{"slick-vertical":b.props.vertical,"slick-initialized":!0}),r=Object(j.a)(Object(j.a)({},b.props),b.state),o=s(r,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),i=b.props.pauseOnHover,o=Object(j.a)(Object(j.a)({},o),{},{onMouseEnter:i?b.onTrackOver:null,onMouseLeave:i?b.onTrackLeave:null,onMouseOver:i?b.onTrackOver:null,focusOnSelect:b.props.focusOnSelect&&b.clickable?b.selectHandler:null}),i=(!0===b.props.dots&&b.state.slideCount>=b.props.slidesToShow&&(i=s(r,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),n=b.props.pauseOnDotsHover,i=Object(j.a)(Object(j.a)({},i),{},{clickHandler:b.changeSlide,onMouseEnter:n?b.onDotsLeave:null,onMouseOver:n?b.onDotsOver:null,onMouseLeave:n?b.onDotsLeave:null}),n=g.a.createElement(oe,i)),s(r,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"])),r=(i.clickHandler=b.changeSlide,b.props.arrows&&(e=g.a.createElement(ie,i),t=g.a.createElement(le,i)),null),i=(b.props.vertical&&(r={height:b.state.listHeight}),null),r=(!1===b.props.vertical?!0===b.props.centerMode&&(i={padding:"0px "+b.props.centerPadding}):!0===b.props.centerMode&&(i={padding:b.props.centerPadding+" 0px"}),Object(j.a)(Object(j.a)({},r),i)),i=b.props.touchMove,r={className:"slick-list",style:r,onClick:b.clickHandler,onMouseDown:i?b.swipeStart:null,onMouseMove:b.state.dragging&&i?b.swipeMove:null,onMouseUp:i?b.swipeEnd:null,onMouseLeave:b.state.dragging&&i?b.swipeEnd:null,onTouchStart:i?b.swipeStart:null,onTouchMove:b.state.dragging&&i?b.swipeMove:null,onTouchEnd:i?b.touchEnd:null,onTouchCancel:b.state.dragging&&i?b.swipeEnd:null,onKeyDown:b.props.accessibility?b.keyHandler:null},i={className:a,dir:"ltr",style:b.props.style};return b.props.unslick&&(r={className:"slick-list"},i={className:a,style:b.props.style}),g.a.createElement("div",i,b.props.unslick?"":e,g.a.createElement("div",Object(u.a)({ref:b.listRefHandler},r),g.a.createElement(re,Object(u.a)({ref:b.trackRefHandler},o),b.props.children)),b.props.unslick?"":t,b.props.unslick?"":n)}),b.list=null,b.track=null,b.state=Object(j.a)(Object(j.a)({},A),{},{currentSlide:b.props.initialSlide,slideCount:g.a.Children.count(b.props.children)}),b.callbackTimers=[],b.clickable=!0,b.debouncedResize=null;var b,e=b.ssrInit();return b.state=Object(j.a)(Object(j.a)({},b.state),e),b}function z(){return Object(r.a)(this,z),V.apply(this,arguments)}function $(){return Object(r.a)(this,$),U.apply(this,arguments)}function L(){return Object(r.a)(this,L),Z.apply(this,arguments)}function M(){var t;Object(r.a)(this,M);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t=d.call.apply(d,[this].concat(n)),Object(l.a)(Object(o.a)(t),"node",null),Object(l.a)(Object(o.a)(t),"handleRef",function(e){t.node=e}),t}function ge(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.autoplay,l=e.dotPosition,c=e.easing,s=e.effect,d=e.autoplaySpeed,u=e.speed,p=e.pauseOnHover,b=e.loading_state;return e.setProps,g.a.createElement(ve,{id:t,className:Object(Oe.isString)(a)?a:a?Object(ye.a)(a):void 0,style:r,key:o,autoplay:i,dotPosition:l,easing:c,effect:s,autoplaySpeed:d,speed:u,pauseOnHover:p,"data-dash-is-loading":b&&b.is_loading||void 0},n)}var he=Object(a.a)("Carousel",e=>{var{controlHeightLG:t,controlHeightSM:n}=e,e=Object(me.b)(e,{carouselArrowSize:t/2,carouselDotOffset:n/2});return[(e=>{var{componentCls:t,antCls:n,carouselArrowSize:a,carouselDotOffset:r,marginXXS:o}=e,i=1.25*-a;return{[t]:Object.assign(Object.assign({},Object(fe.f)(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:a,height:a,marginTop:-a/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:i,"&::before":{content:'"←"'}},".slick-next":{insetInlineEnd:i,"&::before":{content:'"→"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:r},"&-top":{top:r,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:e.dotWidth,height:e.dotHeight,marginInline:o,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:"all "+e.motionDurationSlow,button:{position:"relative",display:"block",width:"100%",height:e.dotHeight,padding:0,color:"transparent",fontSize:0,background:e.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:"all "+e.motionDurationSlow,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-o,content:'""'}},"&.slick-active":{width:e.dotActiveWidth,"& button":{background:e.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}})(e),(e=>{var{componentCls:t,carouselDotOffset:n,marginXXS:a}=e,r={width:e.dotHeight,height:e.dotWidth};return{[t+"-vertical"]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:Object.assign(Object.assign({},r),{margin:a+"px 0",verticalAlign:"baseline",button:r,"&.slick-active":Object.assign(Object.assign({},r),{button:r})})}}}})(e),(e=>{e=e.componentCls;return[{[e+"-rtl"]:{direction:"rtl",".slick-dots":{[e+"-rtl&"]:{flexDirection:"row-reverse"}}}},{[e+"-vertical"]:{".slick-dots":{[e+"-rtl&"]:{flexDirection:"column"}}}}]})(e)]},()=>({dotWidth:16,dotHeight:3,dotWidthActive:24,dotActiveWidth:24}),{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]}),ve=k.forwardRef((e,t)=>{function n(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];h.current.slickGoTo(e,t)}const{dots:a=!0,arrows:r=!1,draggable:o=!1,waitForAnimate:i=!1,dotPosition:l="bottom",vertical:c="left"===l||"right"===l,rootClassName:s,className:d,style:u,id:p}=e,b=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["dots","arrows","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:f,direction:m,carousel:g}=k.useContext(be.a),h=k.useRef(),v=(k.useImperativeHandle(t,()=>({goTo:n,autoPlay:h.current.innerSlider.autoPlay,innerSlider:h.current.innerSlider,prev:h.current.slickPrev,next:h.current.slickNext}),[h.current]),k.useRef(k.Children.count(e.children)));k.useEffect(()=>{v.current!==k.Children.count(e.children)&&(n(e.initialSlide||0,!1),v.current=k.Children.count(e.children))},[e.children]);var t=Object.assign({vertical:c,className:x()(d,null==g?void 0:g.className),style:Object.assign(Object.assign({},null==g?void 0:g.style),u)},b),y=("fade"===t.effect&&(t.fade=!0),f("carousel",t.prefixCls)),O=!!a,j=x()("slick-dots","slick-dots-"+l,"boolean"!=typeof a&&(null==a?void 0:a.className)),[S,w]=he(y),y=x()(y,{[y+"-rtl"]:"rtl"===m,[y+"-vertical"]:t.vertical},w,s);return S(k.createElement("div",{className:y,id:p},k.createElement(pe,Object.assign({ref:h},t,{dots:O,dotsClass:j,arrows:r,draggable:o,verticalSwiping:c,waitForAnimate:i}))))}),ye=t(10),Oe=t(8),c=t(248);(e.default=ge).defaultProps=c.b,ge.propTypes=c.c},453:function(e,t,n){"use strict";n.r(t);var N=n(0),m=n.n(N),a=n(4),T=n.n(a),I=n(90),z=n(43),$=n(40),L=n(122),M={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},R=m.a.createContext({}),_=n(35),H=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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};function d(e,t,n){let a=e,r=!1;return(void 0===n||t<n)&&(a=Object.assign(Object.assign({},e),{span:t}),r=void 0!==n),[a,r]}var A=(e,t)=>{var[n,,]=Object(N.useMemo)(()=>{{var l=t,c=e;const s=[];let r=[],o=c,i=!1;return l.filter(e=>e).forEach((e,t)=>{var n=null==e?void 0:e.span,a=n||1;if(t===l.length-1){const[l,c]=d(e,o,n);i=i||c,r.push(l),void s.push(r)}else if(a<o)o-=a,r.push(e);else{const[l,t]=d(e,o,a);i=i||t,r.push(l),s.push(r),o=c,r=[]}}),[s,i]}},[t,e]);return n};function u(e){return null!=e}var y=e=>{var{itemPrefixCls:e,component:t,span:n,className:a,style:r,labelStyle:o,contentStyle:i,bordered:l,label:c,content:s,colon:d}=e;return l?N.createElement(t,{className:T()({[e+"-item-label"]:u(c),[e+"-item-content"]:u(s)},a),style:r,colSpan:n},u(c)&&N.createElement("span",{style:o},c),u(s)&&N.createElement("span",{style:i},s)):N.createElement(t,{className:T()(e+"-item",a),style:r,colSpan:n},N.createElement("div",{className:e+"-item-container"},(c||0===c)&&N.createElement("span",{className:T()(e+"-item-label",{[e+"-item-no-colon"]:!d}),style:o},c),(s||0===s)&&N.createElement("span",{className:T()(e+"-item-content"),style:i},s)))};function l(e,t,n){let{colon:d,prefixCls:u,bordered:p}=t,{component:b,type:f,showLabel:m,showContent:g,labelStyle:h,contentStyle:v}=n;return e.map((e,t)=>{var{label:e,children:n,prefixCls:a=u,className:r,style:o,labelStyle:i,contentStyle:l,span:c=1,key:s}=e;return"string"==typeof b?N.createElement(y,{key:f+"-"+(s||t),className:r,style:o,labelStyle:Object.assign(Object.assign({},h),i),contentStyle:Object.assign(Object.assign({},v),l),span:c,colon:d,component:b,itemPrefixCls:a,bordered:p,label:m?e:null,content:g?n:null}):[N.createElement(y,{key:"label-"+(s||t),className:r,style:Object.assign(Object.assign(Object.assign({},h),o),i),span:1,colon:d,component:b[0],itemPrefixCls:a,bordered:p,label:e}),N.createElement(y,{key:"content-"+(s||t),className:r,style:Object.assign(Object.assign(Object.assign({},v),o),l),span:2*c-1,component:b[1],itemPrefixCls:a,bordered:p,content:n})]})}var D=e=>{var t=N.useContext(R),{prefixCls:n,vertical:a,row:r,index:o,bordered:i}=e;return a?N.createElement(N.Fragment,null,N.createElement("tr",{key:"label-"+o,className:n+"-row"},l(r,e,Object.assign({component:"th",type:"label",showLabel:!0},t))),N.createElement("tr",{key:"content-"+o,className:n+"-row"},l(r,e,Object.assign({component:"td",type:"content",showContent:!0},t)))):N.createElement("tr",{key:o,className:n+"-row"},l(r,e,Object.assign({component:i?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},t)))},c=n(11),a=n(149),r=n(80);var B=Object(a.a)("Descriptions",e=>{return[(e=>{var{componentCls:t,extraColor:n,itemPaddingBottom:a,colonMarginRight:r,colonMarginLeft:o,titleMarginBottom:i}=e;return{[t]:Object.assign(Object.assign(Object.assign({},Object(c.f)(e)),(e=>{var{componentCls:t,labelBg:n}=e;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${e.lineWidth}px ${e.lineType} `+e.colorSplit,"> table":{tableLayout:"auto",borderCollapse:"collapse"},[t+"-row"]:{borderBottom:`${e.lineWidth}px ${e.lineType} `+e.colorSplit,"&:last-child":{borderBottom:"none"},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${e.padding}px ${e.paddingLG}px`,borderInlineEnd:`${e.lineWidth}px ${e.lineType} `+e.colorSplit,"&:last-child":{borderInlineEnd:"none"}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:n,"&::after":{display:"none"}}}},[`&${t}-middle`]:{[t+"-row"]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${e.paddingSM}px ${e.paddingLG}px`}}},[`&${t}-small`]:{[t+"-row"]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${e.paddingXS}px ${e.padding}px`}}}}}})(e)),{"&-rtl":{direction:"rtl"},[t+"-header"]:{display:"flex",alignItems:"center",marginBottom:i},[t+"-title"]:Object.assign(Object.assign({},c.h),{flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[t+"-extra"]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},[t+"-view"]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[t+"-row"]:{"> th, > td":{paddingBottom:a},"&:last-child":{borderBottom:"none"}},[t+"-item-label"]:{color:e.colorTextTertiary,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:o+`px ${r}px`},[`&${t}-item-no-colon::after`]:{content:'""'}},[t+"-item-no-label"]:{"&::after":{margin:0,content:'""'}},[t+"-item-content"]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[t+"-item"]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[t+"-item-label"]:{display:"inline-flex",alignItems:"baseline"},[t+"-item-content"]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[t+"-row"]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[t+"-row"]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}})(Object(r.b)(e,{}))]},e=>({labelBg:e.colorFillAlter,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText})),a=e=>{const{prefixCls:t,title:n,extra:a,column:r,colon:o=!0,bordered:i,layout:l,children:c,className:s,rootClassName:d,style:u,size:p,labelStyle:b,contentStyle:f,items:m}=e,g=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:h,direction:v,descriptions:y}=N.useContext(z.a),O=h("descriptions",t),j=Object(L.a)(),S=N.useMemo(()=>{var e;return"number"==typeof r?r:null!=(e=Object(I.b)(j,Object.assign(Object.assign({},M),r)))?e:3},[j,r]),w=function(n,t,a){const e=N.useMemo(()=>{return t||(e=a,Object(_.a)(e).map(e=>Object.assign(Object.assign({},null==e?void 0:e.props),{key:e.key})));var e},[t,a]);return N.useMemo(()=>e.map(e=>{var t=e["span"],e=H(e,["span"]);return Object.assign(Object.assign({},e),{span:"number"==typeof t?t:Object(I.b)(n,t)})}),[e,n])}(j,m,c),k=Object($.a)(p),x=A(S,w),[C,E]=B(O),P=N.useMemo(()=>({labelStyle:b,contentStyle:f}),[b,f]);return C(N.createElement(R.Provider,{value:P},N.createElement("div",Object.assign({className:T()(O,null==y?void 0:y.className,{[O+"-"+k]:k&&"default"!==k,[O+"-bordered"]:!!i,[O+"-rtl"]:"rtl"===v},s,d,E),style:Object.assign(Object.assign({},null==y?void 0:y.style),u)},g),(n||a)&&N.createElement("div",{className:O+"-header"},n&&N.createElement("div",{className:O+"-title"},n),a&&N.createElement("div",{className:O+"-extra"},a)),N.createElement("div",{className:O+"-view"},N.createElement("table",null,N.createElement("tbody",null,x.map((e,t)=>N.createElement(D,{key:t,index:t,colon:o,prefixCls:O,vertical:"vertical"===l,bordered:i,row:e}))))))))},g=(a.Item=e=>{e=e.children;return e},a),h=n(714),v=n(30),O=n(8),j=n(10),a=n(250),S=["id","className","style","label","span","labelStyle","contentStyle","loading_state"];function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,a=arguments[t];for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function o(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.items,l=e.title,c=e.column,s=e.bordered,d=e.size,u=e.layout,p=e.labelStyle,b=e.contentStyle,e=(e.setProps,e.loading_state),f=new Map([["small","small"],["default","middle"],["large","default"]]);return i?m.a.createElement(g,{id:t,className:Object(O.isString)(a)?a:a?Object(j.a)(a):void 0,style:r,key:o,title:l,column:c,bordered:s,size:f.get(d),layout:u,labelStyle:p,contentStyle:b,"data-dash-is-loading":e&&e.is_loading||void 0},i.map(function(e,t){return m.a.createElement(g.Item,w({key:t},e))})):(i=(n=Object(v.b)(n)).map(function(e){var t=Object(v.c)(e),n=t.id,a=t.className,r=t.style,o=t.label,i=t.span,l=t.labelStyle,c=t.contentStyle,s=t.loading_state,t=function(e,t){if(null==e)return{};var n,a=function(e,t){if(null==e)return{};for(var n,a={},r=Object.keys(e),o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(e),o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n]);return a}(t,S);return m.a.createElement(g.Item,w({id:n,className:a,style:r,label:o,span:i,labelStyle:l,contentStyle:c,loading_state:s},Object(h.a)(["setProps","persistence","persistence_type","persisted_props"],t)),e)}),m.a.createElement(g,{id:t,className:Object(O.isString)(a)?a:a?Object(j.a)(a):void 0,style:r,key:o,title:l,column:c,bordered:s,size:f.get(d),layout:u,labelStyle:p,contentStyle:b,"data-dash-is-loading":e&&e.is_loading||void 0},i))}(t.default=o).defaultProps=a.b,o.propTypes=a.c},454:function(e,t,n){"use strict";n.r(t);var j=n(0),S=n.n(j),a=n(480),w=n(21),k=n(208),s=n(120),x=function(e){var t=Object(j.useRef)(0),e=Object(w.e)(Object(j.useState)(e),2),n=e[0],a=e[1],e=Object(j.useCallback)(function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){a(e)})},[]);return Object(s.a)(function(){cancelAnimationFrame(t.current)}),[n,e]},r=n(104),o=n(102);function C(e,t){if(o.a)return e?Object(r.a)(e)?e():"current"in e?e.current:e:t}function i(e){return function(n,a,r){var o=Object(j.useRef)(!1),i=Object(j.useRef)([]),l=Object(j.useRef)([]),c=Object(j.useRef)();e(function(){var e,t=(Array.isArray(r)?r:[r]).map(function(e){return C(e)});o.current?t.length===i.current.length&&Object(d.a)(t,i.current)&&Object(d.a)(a,l.current)||(null!=(e=c.current)&&e.call(c),i.current=t,l.current=a,c.current=n()):(o.current=!0,i.current=t,l.current=a,c.current=n())}),Object(s.a)(function(){var e;null!=(e=c.current)&&e.call(c),o.current=!1})}}var d=n(270),l=i(j.useEffect),c=i(j.useLayoutEffect),E=o.a?c:l,P=n(55),N=n(8),T=n(10),c=n(262);function u(e){return(u="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})(e)}function p(t,e){var n,a=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,n)),a}function I(a){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach(function(e){var t,n;t=a,e=r[n=e],(n=function(){var e=function(e){if("object"!==u(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==u(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(n);return"symbol"===u(e)?e:String(e)}())in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(r,e))})}return a}function b(e){var n,t,a,r=e.id,o=e.children,i=e.className,l=e.style,c=e.key,s=e.locale,d=e.contentClassName,u=e.contentStyle,p=e.hideLabel,b=e.showLabel,f=e.labelPosition,m=e.open,g=e.maxHeight,h=e.transitionDuration,v=e.loading_state,y=e.setProps,e=Object(j.useRef)(null),O=(n=e,O=Object(w.e)(x(function(){var e=C(n);return e?{width:e.clientWidth,height:e.clientHeight}:void 0}),2),t=O[0],a=O[1],E(function(){var e,t=C(n);if(t)return(e=new k.a(function(e){e.forEach(function(e){var e=e.target,t=e.clientWidth,e=e.clientHeight;a({width:t,height:e})})})).observe(t),function(){e.disconnect()}},[],n),t);return S.a.createElement("div",{id:r,key:c,className:Object(N.isString)(i)?i:i?Object(T.a)(i):void 0,style:l,"data-dash-is-loading":v&&v.is_loading||void 0},S.a.createElement("div",{className:Object(N.isString)(d)?d:d?Object(T.a)(d):void 0,style:I(I({transitionTimingFunction:"ease"},u),{},{maxHeight:m?O&&O.height:g,transitionDuration:"".concat(h,"s"),transitionProperty:"max-height",overflow:"hidden"})},S.a.createElement("div",{ref:e},o)),S.a.createElement("div",{style:{textAlign:f}},S.a.createElement(z,{onClick:function(){y({open:!m})}},m?p||P.a.AntdSpoiler[s].hideLabel:b||P.a.AntdSpoiler[s].showLabel)))}var z=a.a.Link;(t.default=b).defaultProps=c.b,b.propTypes=c.c},455:function(u,e,t){"use strict";t.r(e);var E=t(0),P=t.n(E),n=t(189),N=t.n(n),n=t(669),n=t.n(n),T=t(55),I=t(65),z=t(485),$=t(13),a=t(4),m=t.n(a),g=t(15),h=t(95),v=t(11);function r(e){return(r="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})(e)}function o(t,e){var n,a=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,n)),a}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){O(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function O(e,t,n){return a=function(e){if("object"!==r(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==r(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"===r(a)?a:String(a))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var a}var j=function(e){var t=e.componentCls,n=e.colorBgContainer,a=e.fontSize,r=e.fontSizeSM,o=e.padding,i=e.paddingXS,l=e.marginSM,c=e.marginXXS,s=e.controlHeight,d=e.lineHeightSM,u=e.colorText,p=e.colorTextSecondary,b=e.colorTextTertiary,f=e.motionDurationSlow;return O({},t,y(y({},Object(v.f)(e)),{},(O(e={position:"relative",backgroundColor:n},"".concat(t,"-inner"),{display:"flex",paddingBlock:o}),O(e,"".concat(t,"-avatar"),{position:"relative",flexShrink:0,marginInlineEnd:l,cursor:"pointer",img:{width:s,height:s,borderRadius:"50%"}}),O(e,"".concat(t,"-content"),{position:"relative",flex:"auto",minWidth:0,wordWrap:"break-word","&-author":{display:"flex",flexWrap:"wrap",justifyContent:"flex-start",marginBottom:c,"& > a, & > span":{paddingInlineEnd:i,fontSize:r,lineHeight:d},"&-name":{color:p,fontSize:a,transition:"color ".concat(f),"> *":{color:p,"&:hover":{color:p}}},"&-time":{color:b,whiteSpace:"nowrap",cursor:"auto"}},"&-detail p":{whiteSpace:"pre-wrap",marginBlock:0}}),O(e,"".concat(t,"-actions"),{marginTop:l,marginBottom:0,paddingInlineStart:0,"> li":{display:"inline-block",color:p,"> span":{marginInlineEnd:l,color:p,fontSize:r,cursor:"pointer",transition:"color ".concat(f),userSelect:"none","&:hover":{color:u}}}}),O(e,"".concat(t,"-nested"),{marginInlineStart:44}),e)))};function S(e){return(S="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})(e)}var w=["actions","author","avatar","children","className","content","prefixCls","datetime"];function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,a=arguments[t];for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function L(e){var t,n,a=e.actions,r=e.author,o=e.avatar,i=e.children,l=e.className,c=e.content,s=e.prefixCls,d=e.datetime,e=function(e,t){if(null==e)return{};var n,a=function(e,t){if(null==e)return{};for(var n,a={},r=Object.keys(e),o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(e),o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n]);return a}(e,w),u=(p=E.useContext(C)).getPrefixCls,p=p.direction,u=u("comment",s);t=u,s=h.a.useToken(),b=s.theme,n=s.token,s=s.hashId,f=E.useContext($.a.ConfigContext).iconPrefixCls,b=[Object(g.e)({theme:b,token:n,hashId:s,path:["compatible","Comment",t,f]},function(){var e=y({componentCls:".".concat(t)},n);return[j(e)]}),s],f=2;var b=(s=function(e){if(Array.isArray(e))return e}(b)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=o.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(b,f)||function(e,t){var n;if(e)return"string"==typeof e?x(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x(e,t):void 0}(b,f)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],f=s[1],s=o?E.createElement("div",{className:"".concat(u,"-avatar")},"string"==typeof o?E.createElement("img",{src:o,alt:"comment-avatar"}):o):null,o=a&&a.length?E.createElement("ul",{className:"".concat(u,"-actions")},a.map(function(e,t){return E.createElement("li",{key:"action-".concat(t)},e)})):null,a=(r||d)&&E.createElement("div",{className:"".concat(u,"-content-author")},r&&E.createElement("span",{className:"".concat(u,"-content-author-name")},r),d&&E.createElement("span",{className:"".concat(u,"-content-author-time")},d)),r=E.createElement("div",{className:"".concat(u,"-content")},a,E.createElement("div",{className:"".concat(u,"-content-detail")},c),o),p=m()(u,(d={},a="".concat(u,"-rtl"),c="rtl"===p,o=function(e){if("object"!==S(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==S(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(a),(a="symbol"===S(o)?o:String(o))in d?Object.defineProperty(d,a,{value:c,enumerable:!0,configurable:!0,writable:!0}):d[a]=c,d),l,f);return b(E.createElement("div",k({},e,{className:p}),E.createElement("div",{className:"".concat(u,"-inner")},s,r),i?(o=u,a=i,E.createElement("div",{className:m()("".concat(o,"-nested"))},a)):null))}var C=$.a.ConfigContext,M=t(405),i=t(2),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311h-.3v428h472.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32z"}}]},name:"like",theme:"filled"},c=t(3),R=E.forwardRef(function(e,t){return E.createElement(c.a,Object(i.a)({},e,{ref:t,icon:l}))}),_=t(486),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273v428h.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32z"}}]},name:"dislike",theme:"filled"},H=E.forwardRef(function(e,t){return E.createElement(c.a,Object(i.a)({},e,{ref:t,icon:s}))}),D=t(487),B=t(30),W=t(8),X=t(10),G=t(47),a=t(249);function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}N.a.extend(n.a);function d(r){var e=r.id,t=r.children,n=r.className,a=r.style,o=(r.key,r.locale),i=r.commentId,l=r.showLikeDislike,c=r.showReply,s=r.showDelete,d=r.replyClicks,u=r.deleteClicks,p=r.authorName,b=r.authorNameHref,f=r.publishTime,m=r.fromNow,g=r.commentContent,h=r.likesCount,v=r.dislikesCount,y=r.action,O=r.defaultAction,j=r.avatarProps,S=r.popupContainer,w=r.setProps,k=r.loading_state,x=r.batchPropsNames,C=(Object(E.useEffect)(function(){if(x&&0!==x.length){var e,t={},n=function(e,t){var n,a,r,o,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return r=!(a=!0),{s:function(){i=i.call(e)},n:function(){var e=i.next();return a=e.done,e},e:function(e){r=!0,n=e},f:function(){try{a||null==i.return||i.return()}finally{if(r)throw n}}};if(Array.isArray(e)||(i=function(e){var t;if(e)return"string"==typeof e?A(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?A(e,void 0):void 0}(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(x);try{for(n.s();!(e=n.n()).done;){var a=e.value;t[a]=r[a]}}catch(e){n.e(e)}finally{n.f()}w({batchPropsValues:t})}}),Object(E.useContext)(G.a)),C=("zh-cn"===(o=C&&C.locale||o)?N.a.locale("zh-cn"):"en-us"===o&&N.a.locale("en"),t=Object(B.b)(t),Object(E.useEffect)(function(){!y&&O&&w({action:O})},[]),[l?P.a.createElement(I.a,{key:"comment-basic-like",title:"zh-cn"===o?"支持":"like"},P.a.createElement("span",{onClick:function(){w({likesCount:"liked"===y?h-1:h+1,action:"liked"===y?"default":"liked",dislikesCount:"disliked"===y?v-1:v})}},"liked"===y?P.a.createElement(R,{style:{color:"rgb(236, 65, 65)"}}):P.a.createElement(_.a,null),P.a.createElement("span",{className:"comment-action"},h))):void 0,l?P.a.createElement(I.a,{key:"comment-basic-dislike",title:"zh-cn"===o?"反对":"dislike"},P.a.createElement("span",{onClick:function(){w({dislikesCount:"disliked"===y?v-1:v+1,action:"disliked"===y?"default":"disliked",likesCount:"liked"===y?h-1:h})}},P.a.createElement("disliked"===y?H:D.a),P.a.createElement("span",{className:"comment-action"},v))):void 0,c?P.a.createElement("span",{key:"comment-basic-reply-to",onClick:function(){w({replyClicks:d+1})}},"zh-cn"===o?"添加回复":"Add a reply"):void 0,s?P.a.createElement(z.a,{title:"zh-cn"===o?"确认删除":"Confirm deletion",onConfirm:function(){return w({deleteClicks:u+1})},okText:"zh-cn"===o?"确认":"Yes",cancelText:"zh-cn"===o?"取消":"No",getPopupContainer:"parent"===S?function(e){return e.parentNode}:void 0},P.a.createElement("span",{key:"comment-basic-delete"},"zh-cn"===o?"删除":"Delete")):void 0]);return P.a.createElement($.a,{locale:T.b.get(o)},P.a.createElement(L,{id:e,className:Object(W.isString)(n)?n:n?Object(X.a)(n):void 0,style:a,key:i,actions:C,author:P.a.createElement("a",{href:b,target:"_blank"},p),avatar:P.a.createElement(M.default,j),content:P.a.createElement("p",null,g),datetime:P.a.createElement(I.a,{title:N()().format(f.value),placement:"right"},P.a.createElement("span",null,m?N()(f.value,f.format||"YYYY-MM-DD HH:mm:ss").fromNow():f.value)),"data-dash-is-loading":k&&k.is_loading||void 0},t))}(e.default=d).defaultProps=a.b,d.propTypes=a.c},456:function(e,t,n){"use strict";n.r(t);var v=n(0),d=n.n(v),a=n(4),y=n.n(a),u=n(43),r=n(11),a=n(149),o=n(80);function i(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.items,i=e.mode,l=e.pending,c=e.pendingDot,s=e.reverse,e=(e.setProps,e.loading_state);return d.a.createElement(m,{id:t,className:Object(g.isString)(n)?n:n?Object(h.a)(n):void 0,style:a,key:r,mode:i,pending:l,pendingDot:c,reverse:s,"data-dash-is-loading":e&&e.is_loading||void 0},o.map(function(e){return d.a.createElement(m.Item,{color:e.color,dot:e.icon,label:e.label},e.content)}))}var p=Object(a.a)("Timeline",e=>{var t,e=Object(o.b)(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[{[t=(e=e).componentCls]:Object.assign(Object.assign({},Object(r.f)(e)),{margin:0,padding:0,listStyle:"none",[t+"-item"]:{position:"relative",margin:0,paddingBottom:e.itemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.itemHeadSize,insetInlineStart:(e.itemHeadSize-e.tailWidth)/2,height:`calc(100% - ${e.itemHeadSize}px)`,borderInlineStart:`${e.tailWidth}px ${e.lineType} `+e.tailColor},"&-pending":{[t+"-item-head"]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[t+"-item-tail"]:{display:"none"}},"&-head":{position:"absolute",width:e.itemHeadSize,height:e.itemHeadSize,backgroundColor:e.dotBg,border:`${e.dotBorderWidth}px ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:e.itemHeadSize/2,insetInlineStart:e.itemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.lineWidth,marginInlineStart:e.margin+e.itemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${t}-item-tail`]:{display:"none"},[`> ${t}-item-content`]:{minHeight:1.2*e.controlHeightLG}}},[`&${t}-alternate,
1
+ (window.webpackJsonpfeffery_antd_components=window.webpackJsonpfeffery_antd_components||[]).push([[1],{401:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.mode,i=e.text,l=e.src,c=e.srcSet,s=e.draggable,d=e.crossOrigin,u=e.icon,p=e.iconRenderer,b=e.alt,f=e.gap,m=e.size,g=e.shape,h=e.loading_state;return e.setProps,"image"===o?v.a.createElement(y.a,{id:t,className:Object(S.isString)(n)?n:n?Object(O.a)(n):void 0,style:a,key:r,src:l,srcSet:c,draggable:s,crossOrigin:d,alt:b,size:m,shape:g,"data-dash-is-loading":h&&h.is_loading||void 0}):"text"===o?v.a.createElement(y.a,{id:t,className:Object(S.isString)(n)?n:n?Object(O.a)(n):void 0,style:a,key:r,gap:f,size:m,shape:g,"data-dash-is-loading":h&&h.is_loading||void 0},i):v.a.createElement(y.a,{id:t,className:Object(S.isString)(n)?n:n?Object(O.a)(n):void 0,style:a,key:r,icon:u?"fontawesome"===p?v.a.createElement("i",{className:u}):v.a.createElement(j.a,{icon:u}):v.a.createElement(j.a,{icon:"antd-user"}),size:m,shape:g,"data-dash-is-loading":h&&h.is_loading||void 0})}var r=n(1),v=n.n(r),y=n(486),O=n(10),S=n(9),j=n(64),r=n(237);(t.default=a).defaultProps=r.b,a.propTypes=r.c},430:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.maxCount,l=e.maxPopoverPlacement,c=e.maxPopoverTrigger,s=e.maxStyle,d=e.size,u=e.loading_state;return e.setProps,p.a.createElement(b.a.Group,{id:t,className:Object(m.isString)(a)?a:a?Object(f.a)(a):void 0,style:r,key:o,maxCount:i,maxPopoverPlacement:l,maxPopoverTrigger:c,maxStyle:s,size:d,"data-dash-is-loading":u&&u.is_loading||void 0},n)}var r=n(1),p=n.n(r),b=n(486),f=n(10),m=n(9),r=n(238);(t.default=a).defaultProps=r.b,a.propTypes=r.c},431:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.styles,i=e.classNames,l=e.key,c=e.color,s=e.count,d=e.dot,u=e.offset,p=e.overflowCount,b=e.showZero,f=e.status,m=e.text,g=e.title,h=e.size,v=e.nClicks,y=e.loading_state,O=e.setProps;return S.a.createElement(j.a,{id:t,className:Object(w.isString)(a)?a:a?Object(k.a)(a):void 0,style:r,styles:o,classNames:i,key:l,color:c,count:s,dot:d,offset:u&&2===u.length?u:void 0,overflowCount:p,showZero:b,status:f,text:m,title:g,size:h,onClick:function(){O({nClicks:++v})},"data-dash-is-loading":y&&y.is_loading||void 0},n)}var r=n(1),S=n.n(r),j=n(324),w=n(9),k=n(10),r=n(239);(t.default=a).defaultProps=r.b,a.propTypes=r.c},432:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.color,l=e.placement,c=e.text,s=e.loading_state;return e.setProps,d.a.createElement(u.a.Ribbon,{id:t,className:Object(p.isString)(a)?a:a?Object(b.a)(a):void 0,style:r,key:o,color:i,placement:l,text:c,"data-dash-is-loading":s&&s.is_loading||void 0},n)}var r=n(1),d=n.n(r),u=n(324),p=n(9),b=n(10),r=n(240);(t.default=a).defaultProps=r.b,a.propTypes=r.c},433:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.hoverable,e=(e.setProps,e.loading_state),n=Object(u.b)(n);return l.a.createElement(c.a.Grid,{id:t,className:Object(s.isString)(a)?a:a?Object(d.a)(a):void 0,style:r,key:o,hoverable:i,"data-dash-is-loading":e&&e.is_loading||void 0},n)}var r=n(1),l=n.n(r),c=n(716),s=n(9),d=n(10),u=n(29),r=n(241);(t.default=a).defaultProps=r.b,a.propTypes=r.c},434:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.avatar,i=e.description,l=e.title,e=(e.setProps,e.loading_state);return c.a.createElement(u,{id:t,className:Object(s.isString)(n)?n:n?Object(d.a)(n):void 0,style:a,key:r,avatar:o,description:i,title:l,"data-dash-is-loading":e&&e.is_loading||void 0})}var r=n(1),c=n.n(r),r=n(716),s=n(9),d=n(10),n=n(242),u=r.a.Meta;(t.default=a).defaultProps=n.b,a.propTypes=n.c},435:function(e,t,n){"use strict";n.r(t);var a=n(1),g=n.n(a),h=n(716),v=n(9),y=n(10),O=n(29),a=n(243);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})(e)}function i(t,e){var n,a=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,n)),a}function S(a){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){var t,n;t=a,e=r[n=e],(n=function(){var e=function(e){if("object"!==o(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==o(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(n);return"symbol"===o(e)?e:String(e)}())in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(r,e))})}return a}function r(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.actions,l=e.extraLink,c=e.extra,s=e.coverImg,d=e.bodyStyle,u=e.headStyle,p=e.bordered,b=e.hoverable,f=e.size,m=e.title,e=(e.setProps,e.loading_state),n=Object(O.b)(n);return g.a.createElement(h.a,{id:t,className:Object(v.isString)(a)?a:a?Object(y.a)(a):void 0,style:r,key:o,bodyStyle:S({display:"flex",flexWrap:"wrap"},d),headStyle:u,actions:i,extra:c||g.a.createElement("a",{className:l&&l.className,style:l&&l.style,href:l&&l.href,target:l&&l.target||"_blank"},l&&l.content),cover:g.a.createElement("img",{alt:s&&s.alt,src:s&&s.src,style:s&&s.style,className:s&&s.className}),bordered:p,hoverable:b,size:f,title:m,"data-dash-is-loading":e&&e.is_loading||void 0},n)}(t.default=r).defaultProps=a.b,r.propTypes=a.c},436:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.label,l=e.span,c=e.labelStyle,s=e.contentStyle,e=(e.setProps,e.loading_state),n=Object(b.b)(n);return d.a.createElement("div",{id:t,className:Object(u.isString)(a)?a:a?Object(p.a)(a):void 0,style:r,key:o,label:i,span:l,labelStyle:c,contentStyle:s,"data-dash-is-loading":e&&e.is_loading||void 0},n)}var r=n(1),d=n.n(r),u=n(9),p=n(10),b=n(29),r=n(247);(t.default=a).defaultProps=r.b,a.propTypes=r.c},437:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.locale,l=e.description,c=e.image,s=e.imageStyle,e=(e.setProps,e.loading_state),d=Object(u.useContext)(v.a),i=d&&d.locale||i;return p.a.createElement(f.a,{locale:m.b.get(i)},p.a.createElement(b.a,{id:t,className:Object(g.isString)(a)?a:a?Object(h.a)(a):void 0,style:r,key:o,description:l,image:y.get(c)||c,imageStyle:s,"data-dash-is-loading":e&&e.is_loading||void 0},n))}var u=n(1),p=n.n(u),b=n(134),f=n(12),m=n(50),g=n(9),h=n(10),v=n(43),n=n(248),y=new Map([["default",b.a.PRESENTED_IMAGE_DEFAULT],["simple",b.a.PRESENTED_IMAGE_SIMPLE]]);(t.default=a).defaultProps=n.b,a.propTypes=n.c},438:function(e,t,n){"use strict";n.r(t);var f=n(1),m=n.n(f),g=n(10),h=n(9),v=n(12),y=n(710),O=n(50),S=n(43),n=n(205);function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function a(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.locale,i=e.width,l=e.height,c=e.src,s=e.fallback,d=e.multiImageMode,u=e.preview;e.setProps,e.loading_state;o=(e=Object(f.useContext)(S.a))&&e.locale||o;e=Object(f.useState)(!1),p=2;var p=(e=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=o.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(e,p)||function(e,t){var n;if(e)return"string"==typeof e?j(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(e,t):void 0}(e,p)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],b=e[1];return Array.isArray(c)?"fold"===d?m.a.createElement(v.a,{locale:O.b.get(o)},m.a.createElement(y.a,{id:t,style:a,className:Object(h.isString)(n)?n:n?Object(g.a)(n):void 0,key:r,preview:{visible:!1},width:i,height:l,src:c[0],fallback:s,onClick:function(){return b(!0)}}),m.a.createElement("div",{style:{display:"none"}},m.a.createElement(y.a.PreviewGroup,{preview:{visible:p,onVisibleChange:function(e){return b(e)}}},c.map(function(e){return m.a.createElement(y.a,{src:e,fallback:s})})))):m.a.createElement(v.a,{locale:O.b.get(o)},m.a.createElement(y.a.PreviewGroup,{id:t,style:a,className:Object(h.isString)(n)?n:n?Object(g.a)(n):void 0,key:r},c.map(function(e){return m.a.createElement(y.a,{src:e,fallback:s,width:i,height:l})}))):m.a.createElement(v.a,{locale:O.b.get(o)},m.a.createElement(y.a,{id:t,style:a,className:Object(h.isString)(n)?n:n?Object(g.a)(n):void 0,key:r,width:i,height:l,src:c,fallback:s,preview:u}))}(t.default=a).defaultProps=n.b,a.propTypes=n.c},439:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.title,l=e.content,c=e.placement,s=e.color,d=e.mouseEnterDelay,u=e.mouseLeaveDelay,p=e.overlayClassName,b=e.overlayStyle,f=e.overlayInnerStyle,m=e.trigger,g=e.zIndex,h=e.arrowPointAtCenter,v=e.open,y=e.permanent,O=e.popupContainer,S=e.setProps,e=e.loading_state,n=Object(x.b)(n);return j.a.createElement(w.a,{id:t,className:Object(C.isString)(a)?a:a?Object(E.a)(a):void 0,style:r,key:o,title:i&&i.content?j.a.createElement("div",null,j.a.createElement(k.a,{icon:i.prefixIcon}),j.a.createElement("span",{style:{marginLeft:"5px"}},i.content)):i,content:l,placement:c,color:s,mouseEnterDelay:d,mouseLeaveDelay:u,overlayClassName:Object(C.isString)(p)?p:p?Object(E.a)(p):void 0,overlayStyle:b,overlayInnerStyle:f,trigger:m,zIndex:g,arrowPointAtCenter:h,open:v,onOpenChange:y?void 0:function(e){return S({open:e})},getPopupContainer:"parent"===O?function(e){return e.parentNode}:void 0,"data-dash-is-loading":e&&e.is_loading||void 0},n)}var r=n(1),j=n.n(r),w=n(159),k=n(64),x=n(29),C=n(9),E=n(10),r=n(249);(t.default=a).defaultProps=r.b,a.propTypes=r.c},440:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.value,i=e.valueFormat,l=e.format,c=e.prefix,s=e.suffix,d=e.title,u=e.titleTooltip,p=e.valueStyle,e=(e.setProps,e.loading_state);return b.a.createElement(h,{id:t,className:Object(m.isString)(n)?n:n?Object(g.a)(n):void 0,style:a,key:r,value:f()(o,i),format:l,prefix:c,suffix:s,title:u?b.a.createElement(Space,{size:5},d,b.a.createElement(AntdTooltip,{title:u},b.a.createElement(QuestionCircleOutlined,null))):d,valueStyle:p,"data-dash-is-loading":e&&e.is_loading||void 0})}var r=n(1),b=n.n(r),r=n(483),o=n(185),f=n.n(o),m=n(9),g=n(10),o=n(251),h=r.a.Countdown;(t.default=a).defaultProps=o.b,a.propTypes=o.c},442:function(e,t,n){"use strict";n.r(t);var E=n(1),P=n.n(E),N=n(690),M=n(397),T=n(159),I=n(475),R=n(719),z=n(64),L=n(9),$=n(10),A=n(29),n=n(253),_=["id","className","style","tab","key","disabled","closable","titleSideInfoPopover","loading_state"];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})(e)}function H(){return(H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,a=arguments[t];for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function i(t,e){var n,a=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,n)),a}function D(a){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){var t,n;t=a,e=r[n=e],(n=function(){var e=function(e){if("object"!==o(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==o(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(n);return"symbol"===o(e)?e:String(e)}())in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(r,e))})}return a}function a(e){function t(e){w({activeKey:e})}function n(e,t){w({latestDeletePane:e,tabCloseCounts:j+1})}var a=e.id,r=e.children,o=e.className,i=e.style,l=e.key,c=e.items,s=e.disabledTabKeys,d=e.tabBarLeftExtraContent,u=e.tabBarRightExtraContent,p=e.defaultActiveKey,b=e.activeKey,f=e.size,m=e.tabPosition,g=e.type,h=e.centered,v=e.tabBarGutter,y=e.inkBarAnimated,O=e.tabPaneAnimated,S=e.destroyInactiveTabPane,j=e.tabCloseCounts,w=e.setProps,k=e.persistence,x=e.persisted_props,C=e.persistence_type,e=e.loading_state;return Object(E.useEffect)(function(){p&&!b&&w({activeKey:p})},[]),Object(E.useEffect)(function(){w({tabCount:(c||[]).length})},[c]),Object(E.useEffect)(function(){w({itemKeys:(c||[]).map(function(e){return e.key})})},[c]),c?(s&&(c=c.map(function(e){return e=s.includes(e.key)?D(D({},e),{},{disabled:!0}):e})),P.a.createElement(N.a,{id:a,className:Object(L.isString)(o)?o:o?Object($.a)(o):void 0,style:i,key:l,items:c.map(function(t){return t.contextMenu&&(t.label=P.a.createElement(M.a,{menu:{items:t.contextMenu.map(function(e){return D(D({},e),{},{icon:e.icon&&("fontawesome"===e.iconRenderer?P.a.createElement("i",{className:e.icon}):P.a.createElement(z.a,{icon:e.icon}))})}),onClick:function(e){e.domEvent.stopPropagation(),w({clickedContextMenu:{tabKey:t.key,menuKey:e.key,timestamp:Date.now()}})}},trigger:["contextMenu"]},P.a.createElement("div",null,t.label))),t}),defaultActiveKey:p,activeKey:b,size:f,tabPosition:m,type:g,centered:h,tabBarGutter:v,tabBarExtraContent:{left:d,right:u},animated:{inkBar:y,tabPane:O},destroyInactiveTabPane:S,hideAdd:!0,onChange:t,onEdit:n,persistence:k,persisted_props:x,persistence_type:C,"data-dash-is-loading":e&&e.is_loading||void 0})):(S=(r=Object(A.b)(r)).map(function(e){var t=Object(A.c)(e),n=t.id,a=t.className,r=t.style,o=t.tab,i=t.key,l=t.disabled,c=t.closable,s=t.titleSideInfoPopover,d=t.loading_state,t=function(e,t){if(null==e)return{};var n,a=function(e,t){if(null==e)return{};for(var n,a={},r=Object.keys(e),o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(e),o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n]);return a}(t,_);return P.a.createElement(B,H({id:n,className:a,style:r,tab:s&&s.content?P.a.createElement(P.a.Fragment,null,P.a.createElement("span",null,o),P.a.createElement(T.a,{title:s.title,content:P.a.createElement("div",{style:{maxWidth:"250px",wordWrap:"break-word",whiteSpace:"normal",wordBreak:"break-all"}},s.content),overlayStyle:{maxWidth:"250px"},placement:"right",getPopupContainer:function(e){return e.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode}},P.a.createElement(I.a,{style:{color:"#8c8c8c",paddingLeft:"4px",cursor:"pointer"}}))):o,key:i,disabled:l,closable:c,loading_state:d},Object(R.a)(["setProps","persistence","persistence_type","persisted_props"],t)),e)}),P.a.createElement(N.a,{id:a,className:Object(L.isString)(o)?o:o?Object($.a)(o):void 0,style:i,key:l,defaultActiveKey:p,activeKey:b,size:f,tabPosition:m,type:g,centered:h,tabBarGutter:v,tabBarExtraContent:{left:d,right:u},animated:{inkBar:y,tabPane:O},hideAdd:!0,onChange:t,onEdit:n,persistence:k,persisted_props:x,persistence_type:C,"data-dash-is-loading":e&&e.is_loading||void 0},S))}var B=N.a.TabPane;(t.default=a).defaultProps=n.b,a.propTypes=n.c},443:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.title,l=e.placement,c=e.color,s=e.mouseEnterDelay,d=e.mouseLeaveDelay,u=e.overlayClassName,p=e.overlayStyle,b=e.overlayInnerStyle,f=e.trigger,m=e.zIndex,g=e.arrowPointAtCenter,h=e.open,v=e.permanent,y=e.popupContainer,O=e.setProps,e=e.loading_state;return S.a.createElement(j.a,{id:t,className:Object(w.isString)(a)?a:a?Object(k.a)(a):void 0,style:r,key:o,title:i,placement:l,color:c,mouseEnterDelay:s,mouseLeaveDelay:d,overlayClassName:Object(w.isString)(u)?u:u?Object(k.a)(u):void 0,overlayStyle:p,overlayInnerStyle:b,trigger:f,zIndex:m,arrowPointAtCenter:g,open:h,onOpenChange:v?void 0:function(e){return O({open:e})},getPopupContainer:"parent"===y?function(e){return e.parentNode}:void 0,"data-dash-is-loading":e&&e.is_loading||void 0},Object(x.b)(n))}var r=n(1),S=n.n(r),j=n(59),w=n(9),k=n(10),x=n(29),r=n(255);(t.default=a).defaultProps=r.b,a.propTypes=r.c},445:function(e,t,n){"use strict";n.r(t);function a(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.items,i=e.accordion,l=e.activeKey,c=e.defaultActiveKey,s=e.bordered,d=e.collapsible,u=e.expandIconPosition,p=e.ghost,b=e.loading_state,f=e.setProps;return Object(m.useEffect)(function(){c&&!l&&f({activeKey:c})},[]),g.a.createElement(h.a,{id:t,className:Object(v.isString)(n)?n:n?Object(y.a)(n):void 0,style:a,key:r,accordion:i,activeKey:l,defaultActiveKey:c,bordered:s,collapsible:d,expandIconPosition:u,ghost:p,onChange:function(e){return f({activeKey:e})},"data-dash-is-loading":b&&b.is_loading||void 0},o?o.map(function(e){return g.a.createElement(O,{className:Object(v.isString)(e.className)?e.className:e.className?Object(y.a)(e.className):void 0,style:e.style,key:e.key,collapsible:e.collapsible,header:e.title,extra:e.extra,showArrow:e.showArrow,forceRender:e.forceRender},e.children)}):null)}var m=n(1),g=n.n(m),h=n(451),v=n(9),y=n(10),n=n(262),O=h.a.Panel;(t.default=a).defaultProps=n.b,a.propTypes=n.c},449:function($,e,t){"use strict";t.r(e);var k=t(1),g=t.n(k),u=t(2),S=t(5),r=t(35),n=t(36),o=t(17),a=t(57),i=t(56),l=t(6),A=t(15),_=t(13),H={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},D=t(285),c=t(4),x=t.n(c);function h(e,t,n){return Math.max(t,Math.min(e,n))}function j(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()}function B(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=e.startX-e.curX,e=e.startY-e.curY,e=Math.atan2(e,n);return(n=(n=Math.round(180*e/Math.PI))<0?360-Math.abs(n):n)<=45&&0<=n||n<=360&&315<=n?"left":135<=n&&n<=225?"right":!0===t?35<=n&&n<=135?"up":"down":"vertical"}function s(t,e){var n={};return e.forEach(function(e){return n[e]=t[e]}),n}function W(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,a=e.infinite?-1*e.slidesToShow:0,r=[];n<t;)r.push(n),n=a+e.slidesToScroll,a+=Math.min(e.slidesToScroll,e.slidesToShow);return r}(e),a=0;if(t>n[n.length-1])t=n[n.length-1];else for(var r in n){if(t<n[r]){t=a;break}a=n[r]}return t}function X(t){var n,e,a=t.centerMode?t.slideWidth*Math.floor(t.slidesToShow/2):0;return t.swipeToSlide?(e=(e=t.listRef).querySelectorAll&&e.querySelectorAll(".slick-slide")||[],Array.from(e).every(function(e){if(t.vertical){if(e.offsetTop+m(e)/2>-1*t.swipeLeft)return n=e,!1}else if(e.offsetLeft-a+f(e)/2>-1*t.swipeLeft)return n=e,!1;return!0}),n?(e=!0===t.rtl?t.slideCount-t.currentSlide:t.currentSlide,Math.abs(n.dataset.index-e)||1):0):t.slidesToScroll}function p(e){return e.unslick||!e.infinite?0:e.slideCount}function G(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function v(e){var t,n,a,r,o=(r=e.rtl?e.slideCount-1-e.index:e.index)<0||r>=e.slideCount;return e.centerMode?(a=Math.floor(e.slidesToShow/2),n=(r-e.currentSlide)%e.slideCount==0,r>e.currentSlide-a-1&&r<=e.currentSlide+a&&(t=!0)):t=e.currentSlide<=r&&r<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":o,"slick-current":r===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}}function y(e,t){return e.key+"-"+t}function F(c){var s,d=[],u=[],p=[],b=g.a.Children.count(c.children),f=Z(c),m=q(c);return g.a.Children.forEach(c.children,function(e,t){var n,a={message:"children",index:t,slidesToScroll:c.slidesToScroll,currentSlide:c.currentSlide},r=!c.lazyLoad||c.lazyLoad&&0<=c.lazyLoadedList.indexOf(t)?e:g.a.createElement("div",null),o=(o=Object(S.a)(Object(S.a)({},c),{},{index:t}),i={},void 0!==o.variableWidth&&!1!==o.variableWidth||(i.width=o.slideWidth),o.fade&&(i.position="relative",o.vertical&&o.slideHeight?i.top=-o.index*parseInt(o.slideHeight):i.left=-o.index*parseInt(o.slideWidth),i.opacity=o.currentSlide===o.index?1:0,o.useCSS)&&(i.transition="opacity "+o.speed+"ms "+o.cssEase+", visibility "+o.speed+"ms "+o.cssEase),i),i=r.props.className||"",l=v(Object(S.a)(Object(S.a)({},c),{},{index:t}));d.push(g.a.cloneElement(r,{key:"original"+y(r,t),"data-index":t,className:x()(l,i),tabIndex:"-1","aria-hidden":!l["slick-active"],style:Object(S.a)(Object(S.a)({outline:"none"},r.props.style||{}),o),onClick:function(e){r.props&&r.props.onClick&&r.props.onClick(e),c.focusOnSelect&&c.focusOnSelect(a)}})),c.infinite&&!1===c.fade&&((n=b-t)<=N(c)&&b!==c.slidesToShow&&((s=-n)>=f&&(r=e),l=v(Object(S.a)(Object(S.a)({},c),{},{index:s})),u.push(g.a.cloneElement(r,{key:"precloned"+y(r,s),"data-index":s,tabIndex:"-1",className:x()(l,i),"aria-hidden":!l["slick-active"],style:Object(S.a)(Object(S.a)({},r.props.style||{}),o),onClick:function(e){r.props&&r.props.onClick&&r.props.onClick(e),c.focusOnSelect&&c.focusOnSelect(a)}}))),b!==c.slidesToShow)&&((s=b+t)<m&&(r=e),l=v(Object(S.a)(Object(S.a)({},c),{},{index:s})),p.push(g.a.cloneElement(r,{key:"postcloned"+y(r,s),"data-index":s,tabIndex:"-1",className:x()(l,i),"aria-hidden":!l["slick-active"],style:Object(S.a)(Object(S.a)({},r.props.style||{}),o),onClick:function(e){r.props&&r.props.onClick&&r.props.onClick(e),c.focusOnSelect&&c.focusOnSelect(a)}})))}),c.rtl?u.concat(d,p).reverse():u.concat(d,p)}var Y,V,K,U,Q,d,O=function(e){for(var t=[],n=Z(e),a=q(e),r=n;r<a;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t},Z=function(e){return e.currentSlide-J(e)},q=function(e){return e.currentSlide+ee(e)},J=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(0<parseInt(e.centerPadding)?1:0):0},ee=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(0<parseInt(e.centerPadding)?1:0):e.slidesToShow},f=function(e){return e&&e.offsetWidth||0},m=function(e){return e&&e.offsetHeight||0},w=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},C=function(n,e){return e.reduce(function(e,t){return e&&n.hasOwnProperty(t)},!0)?null:console.error("Keys Missing:",n)},E=function(e){C(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,n,a,r,o,i=e.slideCount+2*e.slidesToShow,i=(e.vertical?n=i*e.slideHeight:t=ne(e)*e.slideWidth,{opacity:1,transition:"",WebkitTransition:""});return e.useTransform?(a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",r=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",o=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)",i=Object(S.a)(Object(S.a)({},i),{},{WebkitTransform:a,transform:r,msTransform:o})):e.vertical?i.top=e.left:i.left=e.left,e.fade&&(i={opacity:1}),t&&(i.width=t),n&&(i.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i},te=function(e){C(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=E(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},P=function(e){if(e.unslick)return 0;C(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,a=e.infinite,r=e.centerMode,o=e.slideCount,i=e.slidesToShow,l=e.slidesToScroll,c=e.slideWidth,s=e.listWidth,d=e.variableWidth,u=e.slideHeight,p=e.fade,b=e.vertical;if(p||1===e.slideCount)return 0;p=0;if(a?(p=-N(e),o%l!=0&&o<t+l&&(p=-(o<t?i-(t-o):o%l)),r&&(p+=parseInt(i/2))):(o%l!=0&&o<t+l&&(p=i-o%l),r&&(p=parseInt(i/2))),g=b?t*u*-1+p*u:t*c*-1+p*c,!0===d){var f=n&&n.node;if(m=t+N(e),g=(o=f&&f.childNodes[m])?-1*o.offsetLeft:0,!0===r){for(var m=a?t+N(e):t,o=f&&f.children[m],g=0,h=0;h<m;h++)g-=f&&f.children[h]&&f.children[h].offsetWidth;g=(g-=parseInt(e.centerPadding))+(o&&(s-o.offsetWidth)/2)}}return g},N=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},ne=function(e){return 1===e.slideCount?1:N(e)+e.slideCount+p(e)},ae=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+function(e){var t=e.slidesToShow,n=e.centerMode,a=e.rtl,r=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(r)>0&&(o+=1),a&&t%2==0&&(o+=1),o}return a?0:t-1}(e)?"left":"right":e.targetSlide<e.currentSlide-function(e){var t=e.slidesToShow,n=e.centerMode,a=e.rtl,r=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(r)>0&&(o+=1),a||t%2!=0||(o+=1),o}return a?t-1:0}(e)?"right":"left"},re=(c=g.a.PureComponent,Object(a.a)(L,c),d=Object(i.a)(L),Object(n.a)(L,[{key:"render",value:function(){var e=F(this.props),t=this.props,t={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return g.a.createElement("div",Object(u.a)({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},t),e)}}]),L),oe=(c=g.a.PureComponent,Object(a.a)(z,c),Q=Object(i.a)(z),Object(n.a)(z,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=this.props,t=e.onMouseEnter,n=e.onMouseOver,a=e.onMouseLeave,r=e.infinite,o=e.slidesToScroll,i=e.slidesToShow,l=e.slideCount,c=e.currentSlide,s=(e={slideCount:l,slidesToScroll:o,slidesToShow:i,infinite:r}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,i={onMouseEnter:t,onMouseOver:n,onMouseLeave:a},d=[],u=0;u<s;u++)var p=(u+1)*o-1,p=r?p:h(p,0,l-1),b=p-(o-1),b=r?b:h(b,0,l-1),p=x()({"slick-active":r?b<=c&&c<=p:c===b}),b=this.clickHandler.bind(this,{message:"dots",index:u,slidesToScroll:o,currentSlide:c}),d=d.concat(g.a.createElement("li",{key:u,className:p},g.a.cloneElement(this.props.customPaging(u),{onClick:b})));return g.a.cloneElement(this.props.appendDots(d),Object(S.a)({className:this.props.dotsClass},i))}}]),z),ie=(c=g.a.PureComponent,Object(a.a)(R,c),U=Object(i.a)(R),Object(n.a)(R,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"}),e=(!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null),{key:"0","data-role":"none",className:x()(e),style:{display:"block"},onClick:t}),t={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?g.a.cloneElement(this.props.prevArrow,Object(S.a)(Object(S.a)({},e),t)):g.a.createElement("button",Object(u.a)({key:"0",type:"button"},e)," ","Previous")}}]),R),le=(c=g.a.PureComponent,Object(a.a)(I,c),K=Object(i.a)(I),Object(n.a)(I,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"}),e=(w(this.props)||(e["slick-disabled"]=!0,t=null),{key:"1","data-role":"none",className:x()(e),style:{display:"block"},onClick:t}),t={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?g.a.cloneElement(this.props.nextArrow,Object(S.a)(Object(S.a)({},e),t)):g.a.createElement("button",Object(u.a)({key:"1",type:"button"},e)," ","Next")}}]),I),ce=t(204),se=["animating"],de=(c=g.a.Component,Object(a.a)(T,c),V=Object(i.a)(T),Object(n.a)(T,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,a=Object.keys(this.props);n<a.length;n++){var r=a[n];if(!e.hasOwnProperty(r)){t=!0;break}if("object"!==Object(A.a)(e[r])&&"function"!=typeof e[r]&&e[r]!==this.props[r]){t=!0;break}}return t||g.a.Children.count(this.props.children)!==g.a.Children.count(e.children)}}]),T),c=t(670),b=t.n(c),ue={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return g.a.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return g.a.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0},pe=(c=g.a.Component,Object(a.a)(M,c),Y=Object(i.a)(M),Object(n.a)(M,[{key:"media",value:function(e,t){function n(e){e.matches&&t()}var a=window.matchMedia(e);a.addListener(n),n(a),this._responsiveMediaHandlers.push({mql:a,query:e,listener:n})}},{key:"componentDidMount",value:function(){var n,e,a=this;this.props.responsive&&((n=this.props.responsive.map(function(e){return e.breakpoint})).sort(function(e,t){return e-t}),n.forEach(function(e,t){t=0===t?b()({minWidth:0,maxWidth:e}):b()({minWidth:n[t-1]+1,maxWidth:e});G()&&a.media(t,function(){a.setState({breakpoint:e})})}),e=b()({minWidth:n.slice(-1)[0]}),G())&&this.media(e,function(){a.setState({breakpoint:null})})}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})}},{key:"render",value:function(){var e,t=this;(e=this.state.breakpoint?"unslick"===(a=this.props.responsive.filter(function(e){return e.breakpoint===t.state.breakpoint}))[0].settings?"unslick":Object(S.a)(Object(S.a)(Object(S.a)({},ue),this.props),a[0].settings):Object(S.a)(Object(S.a)({},ue),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var n=(n=g.a.Children.toArray(this.props.children)).filter(function(e){return"string"==typeof e?!!e.trim():!!e});e.variableWidth&&(1<e.rows||1<e.slidesPerRow)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var a,r=[],o=null,i=0;i<n.length;i+=e.rows*e.slidesPerRow){for(var l=[],c=i;c<i+e.rows*e.slidesPerRow;c+=e.slidesPerRow){for(var s=[],d=c;d<c+e.slidesPerRow&&(e.variableWidth&&n[d].props.style&&(o=n[d].props.style.width),!(d>=n.length));d+=1)s.push(g.a.cloneElement(n[d],{key:100*i+10*c+d,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));l.push(g.a.createElement("div",{key:10*i+c},s))}e.variableWidth?r.push(g.a.createElement("div",{key:i,style:{width:o}},l)):r.push(g.a.createElement("div",{key:i},l))}return"unslick"===e?(a="regular slider "+(this.props.className||""),g.a.createElement("div",{className:a},n)):(r.length<=e.slidesToShow&&(e.unslick=!0),g.a.createElement(de,Object(u.a)({style:this.props.style,ref:this.innerSliderRefHandler},e),r))}}]),M),be=t(42),fe=t(11),a=t(144),me=t(79);function M(e){var t;return Object(r.a)(this,M),t=Y.call(this,e),Object(l.a)(Object(o.a)(t),"innerSliderRefHandler",function(e){return t.innerSlider=e}),Object(l.a)(Object(o.a)(t),"slickPrev",function(){return t.innerSlider.slickPrev()}),Object(l.a)(Object(o.a)(t),"slickNext",function(){return t.innerSlider.slickNext()}),Object(l.a)(Object(o.a)(t),"slickGoTo",function(e){return t.innerSlider.slickGoTo(e,1<arguments.length&&void 0!==arguments[1]&&arguments[1])}),Object(l.a)(Object(o.a)(t),"slickPause",function(){return t.innerSlider.pause("paused")}),Object(l.a)(Object(o.a)(t),"slickPlay",function(){return t.innerSlider.autoPlay("play")}),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}function T(e){Object(r.a)(this,T),b=V.call(this,e),Object(l.a)(Object(o.a)(b),"listRefHandler",function(e){return b.list=e}),Object(l.a)(Object(o.a)(b),"trackRefHandler",function(e){return b.track=e}),Object(l.a)(Object(o.a)(b),"adaptHeight",function(){var e;b.props.adaptiveHeight&&b.list&&(e=b.list.querySelector('[data-index="'.concat(b.state.currentSlide,'"]')),b.list.style.height=m(e)+"px")}),Object(l.a)(Object(o.a)(b),"componentDidMount",function(){b.props.onInit&&b.props.onInit(),b.props.lazyLoad&&0<(t=O(Object(S.a)(Object(S.a)({},b.props),b.state))).length&&(b.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),b.props.onLazyLoad)&&b.props.onLazyLoad(t);var t,e=Object(S.a)({listRef:b.list,trackRef:b.track},b.props);b.updateState(e,!0,function(){b.adaptHeight(),b.props.autoplay&&b.autoPlay("playing")}),"progressive"===b.props.lazyLoad&&(b.lazyLoadTimer=setInterval(b.progressiveLazyLoad,1e3)),b.ro=new ce.a(function(){b.state.animating?(b.onWindowResized(!1),b.callbackTimers.push(setTimeout(function(){return b.onWindowResized()},b.props.speed))):b.onWindowResized()}),b.ro.observe(b.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=b.props.pauseOnFocus?b.onSlideFocus:null,e.onblur=b.props.pauseOnFocus?b.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",b.onWindowResized):window.attachEvent("onresize",b.onWindowResized)}),Object(l.a)(Object(o.a)(b),"componentWillUnmount",function(){b.animationEndCallback&&clearTimeout(b.animationEndCallback),b.lazyLoadTimer&&clearInterval(b.lazyLoadTimer),b.callbackTimers.length&&(b.callbackTimers.forEach(function(e){return clearTimeout(e)}),b.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",b.onWindowResized):window.detachEvent("onresize",b.onWindowResized),b.autoplayTimer&&clearInterval(b.autoplayTimer),b.ro.disconnect()}),Object(l.a)(Object(o.a)(b),"componentDidUpdate",function(e){b.checkImagesLoad(),b.props.onReInit&&b.props.onReInit(),b.props.lazyLoad&&0<(t=O(Object(S.a)(Object(S.a)({},b.props),b.state))).length&&(b.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),b.props.onLazyLoad)&&b.props.onLazyLoad(t),b.adaptHeight();var t,n=Object(S.a)(Object(S.a)({listRef:b.list,trackRef:b.track},b.props),b.state),a=b.didPropsChange(e);a&&b.updateState(n,a,function(){b.state.currentSlide>=g.a.Children.count(b.props.children)&&b.changeSlide({message:"index",index:g.a.Children.count(b.props.children)-b.props.slidesToShow,currentSlide:b.state.currentSlide}),e.autoplay===b.props.autoplay&&e.autoplaySpeed===b.props.autoplaySpeed||(!e.autoplay&&b.props.autoplay?b.autoPlay("playing"):b.props.autoplay?b.autoPlay("update"):b.pause("paused"))})}),Object(l.a)(Object(o.a)(b),"onWindowResized",function(e){b.debouncedResize&&b.debouncedResize.cancel(),b.debouncedResize=Object(D.a)(50,function(){return b.resizeWindow(e)}),b.debouncedResize()}),Object(l.a)(Object(o.a)(b),"resizeWindow",function(){var e,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];Boolean(b.track&&b.track.node)&&(e=Object(S.a)(Object(S.a)({listRef:b.list,trackRef:b.track},b.props),b.state),b.updateState(e,t,function(){b.props.autoplay?b.autoPlay("update"):b.pause("paused")}),b.setState({animating:!1}),clearTimeout(b.animationEndCallback),delete b.animationEndCallback)}),Object(l.a)(Object(o.a)(b),"updateState",function(e,t,n){a=e,r=g.a.Children.count(a.children),o=a.listRef,u=Math.ceil(f(o)),p=a.trackRef&&a.trackRef.node,p=Math.ceil(f(p)),d=a.vertical?u:(d=a.centerMode&&2*parseInt(a.centerPadding),"string"==typeof a.centerPadding&&"%"===a.centerPadding.slice(-1)&&(d*=u/100),Math.ceil((u-d)/a.slidesToShow)),o=o&&m(o.querySelector('[data-index="0"]')),i=o*a.slidesToShow,l=void 0===a.currentSlide?a.initialSlide:a.currentSlide,a.rtl&&void 0===a.currentSlide&&(l=r-1-a.initialSlide),c=a.lazyLoadedList||[],s=O(Object(S.a)(Object(S.a)({},a),{},{currentSlide:l,lazyLoadedList:c})),r={slideCount:r,slideWidth:d,listWidth:u,trackWidth:p,currentSlide:l,slideHeight:o,listHeight:i,lazyLoadedList:c=c.concat(s)},null===a.autoplaying&&a.autoplay&&(r.autoplaying="playing");var a,r,o,i,l,c,s,d=r,u=(e=Object(S.a)(Object(S.a)(Object(S.a)({},e),d),{},{slideIndex:d.currentSlide}),P(e)),p=(e=Object(S.a)(Object(S.a)({},e),{},{left:u}),E(e));!t&&g.a.Children.count(b.props.children)===g.a.Children.count(e.children)||(d.trackStyle=p),b.setState(d,n)}),Object(l.a)(Object(o.a)(b),"ssrInit",function(){if(b.props.variableWidth){var t=0,e=0,n=[],a=N(Object(S.a)(Object(S.a)(Object(S.a)({},b.props),b.state),{},{slideCount:b.props.children.length})),r=p(Object(S.a)(Object(S.a)(Object(S.a)({},b.props),b.state),{},{slideCount:b.props.children.length}));b.props.children.forEach(function(e){n.push(e.props.style.width),t+=e.props.style.width});for(var o=0;o<a;o++)e+=n[n.length-1-o],t+=n[n.length-1-o];for(var i=0;i<r;i++)t+=n[i];for(var l=0;l<b.state.currentSlide;l++)e+=n[l];var c={width:t+"px",left:-e+"px"};return b.props.centerMode&&(s="".concat(n[b.state.currentSlide],"px"),c.left="calc(".concat(c.left," + (100% - ").concat(s,") / 2 ) ")),{trackStyle:c}}var s=g.a.Children.count(b.props.children),c=Object(S.a)(Object(S.a)(Object(S.a)({},b.props),b.state),{},{slideCount:s}),s=N(c)+p(c)+s,d=100/b.props.slidesToShow*s,s=100/s,c=-s*(N(c)+b.state.currentSlide)*d/100;return b.props.centerMode&&(c+=(100-s*d/100)/2),{slideWidth:s+"%",trackStyle:{width:d+"%",left:c+"%"}}}),Object(l.a)(Object(o.a)(b),"checkImagesLoad",function(){var e=b.list&&b.list.querySelectorAll&&b.list.querySelectorAll(".slick-slide img")||[],a=e.length,r=0;Array.prototype.forEach.call(e,function(t){function e(){return++r&&a<=r&&b.onWindowResized()}var n;t.onclick?(n=t.onclick,t.onclick=function(e){n(e),t.parentNode.focus()}):t.onclick=function(){return t.parentNode.focus()},t.onload||(b.props.lazyLoad?t.onload=function(){b.adaptHeight(),b.callbackTimers.push(setTimeout(b.onWindowResized,b.props.speed))}:(t.onload=e,t.onerror=function(){e(),b.props.onLazyLoadError&&b.props.onLazyLoadError()}))})}),Object(l.a)(Object(o.a)(b),"progressiveLazyLoad",function(){for(var t=[],e=Object(S.a)(Object(S.a)({},b.props),b.state),n=b.state.currentSlide;n<b.state.slideCount+p(e);n++)if(b.state.lazyLoadedList.indexOf(n)<0){t.push(n);break}for(var a=b.state.currentSlide-1;a>=-N(e);a--)if(b.state.lazyLoadedList.indexOf(a)<0){t.push(a);break}0<t.length?(b.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),b.props.onLazyLoad&&b.props.onLazyLoad(t)):b.lazyLoadTimer&&(clearInterval(b.lazyLoadTimer),delete b.lazyLoadTimer)}),Object(l.a)(Object(o.a)(b),"slideHandler",function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=b.props,a=n.asNavFor,r=n.beforeChange,o=n.onLazyLoad,i=n.speed,l=n.afterChange,n=b.state.currentSlide,t=function(e){var t=e.waitForAnimate,n=e.animating,a=e.fade,r=e.infinite,o=e.index,i=e.slideCount,l=e.lazyLoad,c=e.currentSlide,s=e.centerMode,d=e.slidesToScroll,u=e.slidesToShow,p=e.useCSS,b=e.lazyLoadedList;if(t&&n)return{};var t=o,n={},f={},m=r?o:h(o,0,i-1);if(a){if(!r&&(o<0||i<=o))return{};o<0?t=o+i:i<=o&&(t=o-i),f={animating:!(n={animating:!0,currentSlide:t,lazyLoadedList:b=l&&b.indexOf(t)<0?b.concat(t):b,targetSlide:t}),targetSlide:t}}else(a=t)<0?(a=t+i,r?i%d!=0&&(a=i-i%d):a=0):!w(e)&&c<t?t=a=c:s&&i<=t?(t=r?i:i-1,a=r?0:i-1):i<=t&&(a=t-i,r?i%d!=0&&(a=0):a=i-u),!r&&i<=t+u&&(a=i-u),o=P(Object(S.a)(Object(S.a)({},e),{},{slideIndex:t})),c=P(Object(S.a)(Object(S.a)({},e),{},{slideIndex:a})),r||(o===c&&(t=a),o=c),l&&(b=b.concat(O(Object(S.a)(Object(S.a)({},e),{},{currentSlide:t})))),p?f={animating:!(n={animating:!0,currentSlide:a,trackStyle:te(Object(S.a)(Object(S.a)({},e),{},{left:o})),lazyLoadedList:b,targetSlide:m}),currentSlide:a,trackStyle:E(Object(S.a)(Object(S.a)({},e),{},{left:c})),swipeLeft:null,targetSlide:m}:n={currentSlide:a,trackStyle:E(Object(S.a)(Object(S.a)({},e),{},{left:c})),lazyLoadedList:b,targetSlide:m};return{state:n,nextState:f}}(Object(S.a)(Object(S.a)(Object(S.a)({index:e},b.props),b.state),{},{trackRef:b.track,useCSS:b.props.useCSS&&!t})),c=t.state,s=t.nextState;c&&(r&&r(n,c.currentSlide),t=c.lazyLoadedList.filter(function(e){return b.state.lazyLoadedList.indexOf(e)<0}),o&&0<t.length&&o(t),!b.props.waitForAnimate&&b.animationEndCallback&&(clearTimeout(b.animationEndCallback),l&&l(n),delete b.animationEndCallback),b.setState(c,function(){a&&b.asNavForIndex!==e&&(b.asNavForIndex=e,a.innerSlider.slideHandler(e)),s&&(b.animationEndCallback=setTimeout(function(){var e=s.animating,t=Object(_.a)(s,se);b.setState(t,function(){b.callbackTimers.push(setTimeout(function(){return b.setState({animating:e})},10)),l&&l(c.currentSlide),delete b.animationEndCallback})},i))}))}),Object(l.a)(Object(o.a)(b),"changeSlide",function(e){var t,n,a,r,o,i,l,c,s,d=1<arguments.length&&void 0!==arguments[1]&&arguments[1],u=Object(S.a)(Object(S.a)({},b.props),b.state),p=(e=e,n=(u=u).slidesToScroll,a=u.slidesToShow,r=u.slideCount,o=u.currentSlide,i=u.targetSlide,s=u.lazyLoad,l=u.infinite,c=r%n!=0?0:(r-o)%n,"previous"===e.message?(t=o-(p=0==c?n:a-c),s&&!l&&(t=-1==(a=o-p)?r-1:a),l||(t=i-n)):"next"===e.message?(t=o+(p=0==c?n:c),s&&!l&&(t=(o+n)%r+c),l||(t=i+n)):"dots"===e.message?t=e.index*e.slidesToScroll:"children"===e.message?(t=e.index,l&&(a=ae(Object(S.a)(Object(S.a)({},u),{},{targetSlide:t})),t>e.currentSlide&&"left"===a?t-=r:t<e.currentSlide&&"right"===a&&(t+=r))):"index"===e.message&&(t=Number(e.index)),t);(0===p||p)&&(!0===d?b.slideHandler(p,d):b.slideHandler(p),b.props.autoplay&&b.autoPlay("update"),b.props.focusOnSelect)&&(s=b.list.querySelectorAll(".slick-current"))[0]&&s[0].focus()}),Object(l.a)(Object(o.a)(b),"clickHandler",function(e){!1===b.clickable&&(e.stopPropagation(),e.preventDefault()),b.clickable=!0}),Object(l.a)(Object(o.a)(b),"keyHandler",function(e){e=e,n=b.props.accessibility,t=b.props.rtl;var t,n=e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!n?"":37===e.keyCode?t?"next":"previous":39===e.keyCode?t?"previous":"next":"";n&&b.changeSlide({message:n})}),Object(l.a)(Object(o.a)(b),"selectHandler",function(e){b.changeSlide(e)}),Object(l.a)(Object(o.a)(b),"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),Object(l.a)(Object(o.a)(b),"enableBodyScroll",function(){window.ontouchmove=null}),Object(l.a)(Object(o.a)(b),"swipeStart",function(e){b.props.verticalSwiping&&b.disableBodyScroll();e=e,n=b.props.swipe,t=b.props.draggable,"IMG"===e.target.tagName&&j(e);var t,n=!n||!t&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}};""!==n&&b.setState(n)}),Object(l.a)(Object(o.a)(b),"swipeMove",function(e){e=function(e,t){var n=t.scrolling,a=t.animating,r=t.vertical,o=t.swipeToSlide,i=t.verticalSwiping,l=t.rtl,c=t.currentSlide,s=t.edgeFriction,d=t.edgeDragged,u=t.onEdge,p=t.swiped,b=t.swiping,f=t.slideCount,m=t.slidesToScroll,g=t.infinite,h=t.touchObject,v=t.swipeEvent,y=t.listHeight,O=t.listWidth;if(!n){if(a)return j(e);r&&o&&i&&j(e);n={},a=P(t),o=(h.curX=e.touches?e.touches[0].pageX:e.clientX,h.curY=e.touches?e.touches[0].pageY:e.clientY,h.swipeLength=Math.round(Math.sqrt(Math.pow(h.curX-h.startX,2))),Math.round(Math.sqrt(Math.pow(h.curY-h.startY,2))));if(!i&&!b&&10<o)return{scrolling:!0};i&&(h.swipeLength=o);b=(l?-1:1)*(h.curX>h.startX?1:-1),o=(i&&(b=h.curY>h.startY?1:-1),Math.ceil(f/m)),f=B(t.touchObject,i),m=h.swipeLength;return g||(0===c&&("right"===f||"down"===f)||o<=c+1&&("left"===f||"up"===f)||!w(t)&&("left"===f||"up"===f))&&(m=h.swipeLength*s,!1===d)&&u&&(u(f),n.edgeDragged=!0),!p&&v&&(v(f),n.swiped=!0),g=i?a+m*b:r?a+m*(y/O)*b:l?a-m*b:a+m*b,n=Object(S.a)(Object(S.a)({},n),{},{touchObject:h,swipeLeft:g,trackStyle:E(Object(S.a)(Object(S.a)({},t),{},{left:g}))}),Math.abs(h.curX-h.startX)<.8*Math.abs(h.curY-h.startY)||10<h.swipeLength&&(n.swiping=!0,j(e)),n}}(e,Object(S.a)(Object(S.a)(Object(S.a)({},b.props),b.state),{},{trackRef:b.track,listRef:b.list,slideIndex:b.state.currentSlide}));e&&(e.swiping&&(b.clickable=!1),b.setState(e))}),Object(l.a)(Object(o.a)(b),"swipeEnd",function(e){var t,e=function(e,t){var n=t.dragging,a=t.swipe,r=t.touchObject,o=t.listWidth,i=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,s=t.swipeToSlide,d=t.scrolling,u=t.onSwipe,p=t.targetSlide,b=t.currentSlide,f=t.infinite;if(!n)return a&&j(e),{};var n=l?c/i:o/i,a=B(r,l),m={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(!d&&r.swipeLength)if(r.swipeLength>n){j(e),u&&u(a);var g,h,v=f?b:p;switch(a){case"left":case"up":h=v+X(t),g=s?W(t,h):h,m.currentDirection=0;break;case"right":case"down":h=v-X(t),g=s?W(t,h):h,m.currentDirection=1;break;default:g=v}m.triggerSlideHandler=g}else{c=P(t);m.trackStyle=te(Object(S.a)(Object(S.a)({},t),{},{left:c}))}return m}(e,Object(S.a)(Object(S.a)(Object(S.a)({},b.props),b.state),{},{trackRef:b.track,listRef:b.list,slideIndex:b.state.currentSlide}));e&&(t=e.triggerSlideHandler,delete e.triggerSlideHandler,b.setState(e),void 0!==t)&&(b.slideHandler(t),b.props.verticalSwiping)&&b.enableBodyScroll()}),Object(l.a)(Object(o.a)(b),"touchEnd",function(e){b.swipeEnd(e),b.clickable=!0}),Object(l.a)(Object(o.a)(b),"slickPrev",function(){b.callbackTimers.push(setTimeout(function(){return b.changeSlide({message:"previous"})},0))}),Object(l.a)(Object(o.a)(b),"slickNext",function(){b.callbackTimers.push(setTimeout(function(){return b.changeSlide({message:"next"})},0))}),Object(l.a)(Object(o.a)(b),"slickGoTo",function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";b.callbackTimers.push(setTimeout(function(){return b.changeSlide({message:"index",index:e,currentSlide:b.state.currentSlide},t)},0))}),Object(l.a)(Object(o.a)(b),"play",function(){var e;if(b.props.rtl)e=b.state.currentSlide-b.props.slidesToScroll;else{if(!w(Object(S.a)(Object(S.a)({},b.props),b.state)))return!1;e=b.state.currentSlide+b.props.slidesToScroll}b.slideHandler(e)}),Object(l.a)(Object(o.a)(b),"autoPlay",function(e){b.autoplayTimer&&clearInterval(b.autoplayTimer);var t=b.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;b.autoplayTimer=setInterval(b.play,b.props.autoplaySpeed+50),b.setState({autoplaying:"playing"})}),Object(l.a)(Object(o.a)(b),"pause",function(e){b.autoplayTimer&&(clearInterval(b.autoplayTimer),b.autoplayTimer=null);var t=b.state.autoplaying;"paused"===e?b.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||b.setState({autoplaying:"focused"}):"playing"===t&&b.setState({autoplaying:"hovered"})}),Object(l.a)(Object(o.a)(b),"onDotsOver",function(){return b.props.autoplay&&b.pause("hovered")}),Object(l.a)(Object(o.a)(b),"onDotsLeave",function(){return b.props.autoplay&&"hovered"===b.state.autoplaying&&b.autoPlay("leave")}),Object(l.a)(Object(o.a)(b),"onTrackOver",function(){return b.props.autoplay&&b.pause("hovered")}),Object(l.a)(Object(o.a)(b),"onTrackLeave",function(){return b.props.autoplay&&"hovered"===b.state.autoplaying&&b.autoPlay("leave")}),Object(l.a)(Object(o.a)(b),"onSlideFocus",function(){return b.props.autoplay&&b.pause("focused")}),Object(l.a)(Object(o.a)(b),"onSlideBlur",function(){return b.props.autoplay&&"focused"===b.state.autoplaying&&b.autoPlay("blur")}),Object(l.a)(Object(o.a)(b),"render",function(){var e,t,n,a=x()("slick-slider",b.props.className,{"slick-vertical":b.props.vertical,"slick-initialized":!0}),r=Object(S.a)(Object(S.a)({},b.props),b.state),o=s(r,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),i=b.props.pauseOnHover,o=Object(S.a)(Object(S.a)({},o),{},{onMouseEnter:i?b.onTrackOver:null,onMouseLeave:i?b.onTrackLeave:null,onMouseOver:i?b.onTrackOver:null,focusOnSelect:b.props.focusOnSelect&&b.clickable?b.selectHandler:null}),i=(!0===b.props.dots&&b.state.slideCount>=b.props.slidesToShow&&(i=s(r,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),n=b.props.pauseOnDotsHover,i=Object(S.a)(Object(S.a)({},i),{},{clickHandler:b.changeSlide,onMouseEnter:n?b.onDotsLeave:null,onMouseOver:n?b.onDotsOver:null,onMouseLeave:n?b.onDotsLeave:null}),n=g.a.createElement(oe,i)),s(r,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"])),r=(i.clickHandler=b.changeSlide,b.props.arrows&&(e=g.a.createElement(ie,i),t=g.a.createElement(le,i)),null),i=(b.props.vertical&&(r={height:b.state.listHeight}),null),r=(!1===b.props.vertical?!0===b.props.centerMode&&(i={padding:"0px "+b.props.centerPadding}):!0===b.props.centerMode&&(i={padding:b.props.centerPadding+" 0px"}),Object(S.a)(Object(S.a)({},r),i)),i=b.props.touchMove,r={className:"slick-list",style:r,onClick:b.clickHandler,onMouseDown:i?b.swipeStart:null,onMouseMove:b.state.dragging&&i?b.swipeMove:null,onMouseUp:i?b.swipeEnd:null,onMouseLeave:b.state.dragging&&i?b.swipeEnd:null,onTouchStart:i?b.swipeStart:null,onTouchMove:b.state.dragging&&i?b.swipeMove:null,onTouchEnd:i?b.touchEnd:null,onTouchCancel:b.state.dragging&&i?b.swipeEnd:null,onKeyDown:b.props.accessibility?b.keyHandler:null},i={className:a,dir:"ltr",style:b.props.style};return b.props.unslick&&(r={className:"slick-list"},i={className:a,style:b.props.style}),g.a.createElement("div",i,b.props.unslick?"":e,g.a.createElement("div",Object(u.a)({ref:b.listRefHandler},r),g.a.createElement(re,Object(u.a)({ref:b.trackRefHandler},o),b.props.children)),b.props.unslick?"":t,b.props.unslick?"":n)}),b.list=null,b.track=null,b.state=Object(S.a)(Object(S.a)({},H),{},{currentSlide:b.props.initialSlide,slideCount:g.a.Children.count(b.props.children)}),b.callbackTimers=[],b.clickable=!0,b.debouncedResize=null;var b,e=b.ssrInit();return b.state=Object(S.a)(Object(S.a)({},b.state),e),b}function I(){return Object(r.a)(this,I),K.apply(this,arguments)}function R(){return Object(r.a)(this,R),U.apply(this,arguments)}function z(){return Object(r.a)(this,z),Q.apply(this,arguments)}function L(){var t;Object(r.a)(this,L);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t=d.call.apply(d,[this].concat(n)),Object(l.a)(Object(o.a)(t),"node",null),Object(l.a)(Object(o.a)(t),"handleRef",function(e){t.node=e}),t}function ge(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.autoplay,l=e.dotPosition,c=e.easing,s=e.effect,d=e.autoplaySpeed,u=e.speed,p=e.pauseOnHover,b=e.loading_state;return e.setProps,g.a.createElement(ve,{id:t,className:Object(Oe.isString)(a)?a:a?Object(ye.a)(a):void 0,style:r,key:o,autoplay:i,dotPosition:l,easing:c,effect:s,autoplaySpeed:d,speed:u,pauseOnHover:p,"data-dash-is-loading":b&&b.is_loading||void 0},n)}var he=Object(a.a)("Carousel",e=>{var{controlHeightLG:t,controlHeightSM:n}=e,e=Object(me.b)(e,{carouselArrowSize:t/2,carouselDotOffset:n/2});return[(e=>{var{componentCls:t,antCls:n,carouselArrowSize:a,carouselDotOffset:r,marginXXS:o}=e,i=1.25*-a;return{[t]:Object.assign(Object.assign({},Object(fe.f)(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:a,height:a,marginTop:-a/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:i,"&::before":{content:'"←"'}},".slick-next":{insetInlineEnd:i,"&::before":{content:'"→"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:r},"&-top":{top:r,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:e.dotWidth,height:e.dotHeight,marginInline:o,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:"all "+e.motionDurationSlow,button:{position:"relative",display:"block",width:"100%",height:e.dotHeight,padding:0,color:"transparent",fontSize:0,background:e.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:"all "+e.motionDurationSlow,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-o,content:'""'}},"&.slick-active":{width:e.dotActiveWidth,"& button":{background:e.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}})(e),(e=>{var{componentCls:t,carouselDotOffset:n,marginXXS:a}=e,r={width:e.dotHeight,height:e.dotWidth};return{[t+"-vertical"]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:Object.assign(Object.assign({},r),{margin:a+"px 0",verticalAlign:"baseline",button:r,"&.slick-active":Object.assign(Object.assign({},r),{button:r})})}}}})(e),(e=>{e=e.componentCls;return[{[e+"-rtl"]:{direction:"rtl",".slick-dots":{[e+"-rtl&"]:{flexDirection:"row-reverse"}}}},{[e+"-vertical"]:{".slick-dots":{[e+"-rtl&"]:{flexDirection:"column"}}}}]})(e)]},()=>({dotWidth:16,dotHeight:3,dotWidthActive:24,dotActiveWidth:24}),{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]}),ve=k.forwardRef((e,t)=>{function n(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];h.current.slickGoTo(e,t)}const{dots:a=!0,arrows:r=!1,draggable:o=!1,waitForAnimate:i=!1,dotPosition:l="bottom",vertical:c="left"===l||"right"===l,rootClassName:s,className:d,style:u,id:p}=e,b=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["dots","arrows","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:f,direction:m,carousel:g}=k.useContext(be.a),h=k.useRef(),v=(k.useImperativeHandle(t,()=>({goTo:n,autoPlay:h.current.innerSlider.autoPlay,innerSlider:h.current.innerSlider,prev:h.current.slickPrev,next:h.current.slickNext}),[h.current]),k.useRef(k.Children.count(e.children)));k.useEffect(()=>{v.current!==k.Children.count(e.children)&&(n(e.initialSlide||0,!1),v.current=k.Children.count(e.children))},[e.children]);var t=Object.assign({vertical:c,className:x()(d,null==g?void 0:g.className),style:Object.assign(Object.assign({},null==g?void 0:g.style),u)},b),y=("fade"===t.effect&&(t.fade=!0),f("carousel",t.prefixCls)),O=!!a,S=x()("slick-dots","slick-dots-"+l,"boolean"!=typeof a&&(null==a?void 0:a.className)),[j,w]=he(y),y=x()(y,{[y+"-rtl"]:"rtl"===m,[y+"-vertical"]:t.vertical},w,s);return j(k.createElement("div",{className:y,id:p},k.createElement(pe,Object.assign({ref:h},t,{dots:O,dotsClass:S,arrows:r,draggable:o,verticalSwiping:c,waitForAnimate:i}))))}),ye=t(10),Oe=t(9),c=t(244);(e.default=ge).defaultProps=c.b,ge.propTypes=c.c},450:function(e,t,n){"use strict";n.r(t);var N=n(1),m=n.n(N),a=n(4),M=n.n(a),T=n(87),I=n(42),R=n(51),z=n(119),L={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},$=m.a.createContext({}),A=n(33),_=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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};function d(e,t,n){let a=e,r=!1;return(void 0===n||t<n)&&(a=Object.assign(Object.assign({},e),{span:t}),r=void 0!==n),[a,r]}var H=(e,t)=>{var[n,,]=Object(N.useMemo)(()=>{{var l=t,c=e;const s=[];let r=[],o=c,i=!1;return l.filter(e=>e).forEach((e,t)=>{var n=null==e?void 0:e.span,a=n||1;if(t===l.length-1){const[l,c]=d(e,o,n);i=i||c,r.push(l),void s.push(r)}else if(a<o)o-=a,r.push(e);else{const[l,t]=d(e,o,a);i=i||t,r.push(l),s.push(r),o=c,r=[]}}),[s,i]}},[t,e]);return n};function u(e){return null!=e}var y=e=>{var{itemPrefixCls:e,component:t,span:n,className:a,style:r,labelStyle:o,contentStyle:i,bordered:l,label:c,content:s,colon:d}=e;return l?N.createElement(t,{className:M()({[e+"-item-label"]:u(c),[e+"-item-content"]:u(s)},a),style:r,colSpan:n},u(c)&&N.createElement("span",{style:o},c),u(s)&&N.createElement("span",{style:i},s)):N.createElement(t,{className:M()(e+"-item",a),style:r,colSpan:n},N.createElement("div",{className:e+"-item-container"},(c||0===c)&&N.createElement("span",{className:M()(e+"-item-label",{[e+"-item-no-colon"]:!d}),style:o},c),(s||0===s)&&N.createElement("span",{className:M()(e+"-item-content"),style:i},s)))};function l(e,t,n){let{colon:d,prefixCls:u,bordered:p}=t,{component:b,type:f,showLabel:m,showContent:g,labelStyle:h,contentStyle:v}=n;return e.map((e,t)=>{var{label:e,children:n,prefixCls:a=u,className:r,style:o,labelStyle:i,contentStyle:l,span:c=1,key:s}=e;return"string"==typeof b?N.createElement(y,{key:f+"-"+(s||t),className:r,style:o,labelStyle:Object.assign(Object.assign({},h),i),contentStyle:Object.assign(Object.assign({},v),l),span:c,colon:d,component:b,itemPrefixCls:a,bordered:p,label:m?e:null,content:g?n:null}):[N.createElement(y,{key:"label-"+(s||t),className:r,style:Object.assign(Object.assign(Object.assign({},h),o),i),span:1,colon:d,component:b[0],itemPrefixCls:a,bordered:p,label:e}),N.createElement(y,{key:"content-"+(s||t),className:r,style:Object.assign(Object.assign(Object.assign({},v),o),l),span:2*c-1,component:b[1],itemPrefixCls:a,bordered:p,content:n})]})}var D=e=>{var t=N.useContext($),{prefixCls:n,vertical:a,row:r,index:o,bordered:i}=e;return a?N.createElement(N.Fragment,null,N.createElement("tr",{key:"label-"+o,className:n+"-row"},l(r,e,Object.assign({component:"th",type:"label",showLabel:!0},t))),N.createElement("tr",{key:"content-"+o,className:n+"-row"},l(r,e,Object.assign({component:"td",type:"content",showContent:!0},t)))):N.createElement("tr",{key:o,className:n+"-row"},l(r,e,Object.assign({component:i?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},t)))},c=n(11),a=n(144),r=n(79);var B=Object(a.a)("Descriptions",e=>{return[(e=>{var{componentCls:t,extraColor:n,itemPaddingBottom:a,colonMarginRight:r,colonMarginLeft:o,titleMarginBottom:i}=e;return{[t]:Object.assign(Object.assign(Object.assign({},Object(c.f)(e)),(e=>{var{componentCls:t,labelBg:n}=e;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${e.lineWidth}px ${e.lineType} `+e.colorSplit,"> table":{tableLayout:"auto",borderCollapse:"collapse"},[t+"-row"]:{borderBottom:`${e.lineWidth}px ${e.lineType} `+e.colorSplit,"&:last-child":{borderBottom:"none"},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${e.padding}px ${e.paddingLG}px`,borderInlineEnd:`${e.lineWidth}px ${e.lineType} `+e.colorSplit,"&:last-child":{borderInlineEnd:"none"}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:n,"&::after":{display:"none"}}}},[`&${t}-middle`]:{[t+"-row"]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${e.paddingSM}px ${e.paddingLG}px`}}},[`&${t}-small`]:{[t+"-row"]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${e.paddingXS}px ${e.padding}px`}}}}}})(e)),{"&-rtl":{direction:"rtl"},[t+"-header"]:{display:"flex",alignItems:"center",marginBottom:i},[t+"-title"]:Object.assign(Object.assign({},c.h),{flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[t+"-extra"]:{marginInlineStart:"auto",color:n,fontSize:e.fontSize},[t+"-view"]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed"}},[t+"-row"]:{"> th, > td":{paddingBottom:a},"&:last-child":{borderBottom:"none"}},[t+"-item-label"]:{color:e.colorTextTertiary,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:o+`px ${r}px`},[`&${t}-item-no-colon::after`]:{content:'""'}},[t+"-item-no-label"]:{"&::after":{margin:0,content:'""'}},[t+"-item-content"]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[t+"-item"]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[t+"-item-label"]:{display:"inline-flex",alignItems:"baseline"},[t+"-item-content"]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[t+"-row"]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[t+"-row"]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}})(Object(r.b)(e,{}))]},e=>({labelBg:e.colorFillAlter,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText})),a=e=>{const{prefixCls:t,title:n,extra:a,column:r,colon:o=!0,bordered:i,layout:l,children:c,className:s,rootClassName:d,style:u,size:p,labelStyle:b,contentStyle:f,items:m}=e,g=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:h,direction:v,descriptions:y}=N.useContext(I.a),O=h("descriptions",t),S=Object(z.a)(),j=N.useMemo(()=>{var e;return"number"==typeof r?r:null!=(e=Object(T.b)(S,Object.assign(Object.assign({},L),r)))?e:3},[S,r]),w=function(n,t,a){const e=N.useMemo(()=>{return t||(e=a,Object(A.a)(e).map(e=>Object.assign(Object.assign({},null==e?void 0:e.props),{key:e.key})));var e},[t,a]);return N.useMemo(()=>e.map(e=>{var t=e["span"],e=_(e,["span"]);return Object.assign(Object.assign({},e),{span:"number"==typeof t?t:Object(T.b)(n,t)})}),[e,n])}(S,m,c),k=Object(R.a)(p),x=H(j,w),[C,E]=B(O),P=N.useMemo(()=>({labelStyle:b,contentStyle:f}),[b,f]);return C(N.createElement($.Provider,{value:P},N.createElement("div",Object.assign({className:M()(O,null==y?void 0:y.className,{[O+"-"+k]:k&&"default"!==k,[O+"-bordered"]:!!i,[O+"-rtl"]:"rtl"===v},s,d,E),style:Object.assign(Object.assign({},null==y?void 0:y.style),u)},g),(n||a)&&N.createElement("div",{className:O+"-header"},n&&N.createElement("div",{className:O+"-title"},n),a&&N.createElement("div",{className:O+"-extra"},a)),N.createElement("div",{className:O+"-view"},N.createElement("table",null,N.createElement("tbody",null,x.map((e,t)=>N.createElement(D,{key:t,index:t,colon:o,prefixCls:O,vertical:"vertical"===l,bordered:i,row:e}))))))))},g=(a.Item=e=>{e=e.children;return e},a),h=n(719),v=n(29),O=n(9),S=n(10),a=n(246),j=["id","className","style","label","span","labelStyle","contentStyle","loading_state"];function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,a=arguments[t];for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function o(e){var t=e.id,n=e.children,a=e.className,r=e.style,o=e.key,i=e.items,l=e.title,c=e.column,s=e.bordered,d=e.size,u=e.layout,p=e.labelStyle,b=e.contentStyle,e=(e.setProps,e.loading_state),f=new Map([["small","small"],["default","middle"],["large","default"]]);return i?m.a.createElement(g,{id:t,className:Object(O.isString)(a)?a:a?Object(S.a)(a):void 0,style:r,key:o,title:l,column:c,bordered:s,size:f.get(d),layout:u,labelStyle:p,contentStyle:b,"data-dash-is-loading":e&&e.is_loading||void 0},i.map(function(e,t){return m.a.createElement(g.Item,w({key:t},e))})):(i=(n=Object(v.b)(n)).map(function(e){var t=Object(v.c)(e),n=t.id,a=t.className,r=t.style,o=t.label,i=t.span,l=t.labelStyle,c=t.contentStyle,s=t.loading_state,t=function(e,t){if(null==e)return{};var n,a=function(e,t){if(null==e)return{};for(var n,a={},r=Object.keys(e),o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(e),o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n]);return a}(t,j);return m.a.createElement(g.Item,w({id:n,className:a,style:r,label:o,span:i,labelStyle:l,contentStyle:c,loading_state:s},Object(h.a)(["setProps","persistence","persistence_type","persisted_props"],t)),e)}),m.a.createElement(g,{id:t,className:Object(O.isString)(a)?a:a?Object(S.a)(a):void 0,style:r,key:o,title:l,column:c,bordered:s,size:f.get(d),layout:u,labelStyle:p,contentStyle:b,"data-dash-is-loading":e&&e.is_loading||void 0},i))}(t.default=o).defaultProps=a.b,o.propTypes=a.c},452:function(e,t,n){"use strict";n.r(t);var S=n(1),j=n.n(S),a=n(482),w=n(21),k=n(204),s=n(118),x=function(e){var t=Object(S.useRef)(0),e=Object(w.e)(Object(S.useState)(e),2),n=e[0],a=e[1],e=Object(S.useCallback)(function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){a(e)})},[]);return Object(s.a)(function(){cancelAnimationFrame(t.current)}),[n,e]},r=n(103),o=n(102);function C(e,t){if(o.a)return e?Object(r.a)(e)?e():"current"in e?e.current:e:t}function i(e){return function(n,a,r){var o=Object(S.useRef)(!1),i=Object(S.useRef)([]),l=Object(S.useRef)([]),c=Object(S.useRef)();e(function(){var e,t=(Array.isArray(r)?r:[r]).map(function(e){return C(e)});o.current?t.length===i.current.length&&Object(d.a)(t,i.current)&&Object(d.a)(a,l.current)||(null!=(e=c.current)&&e.call(c),i.current=t,l.current=a,c.current=n()):(o.current=!0,i.current=t,l.current=a,c.current=n())}),Object(s.a)(function(){var e;null!=(e=c.current)&&e.call(c),o.current=!1})}}var d=n(267),l=i(S.useEffect),c=i(S.useLayoutEffect),E=o.a?c:l,P=n(50),N=n(9),M=n(10),c=n(257);function u(e){return(u="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})(e)}function p(t,e){var n,a=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,n)),a}function T(a){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach(function(e){var t,n;t=a,e=r[n=e],(n=function(){var e=function(e){if("object"!==u(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==u(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(n);return"symbol"===u(e)?e:String(e)}())in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(r,e))})}return a}function b(e){var n,t,a,r=e.id,o=e.children,i=e.className,l=e.style,c=e.key,s=e.locale,d=e.contentClassName,u=e.contentStyle,p=e.hideLabel,b=e.showLabel,f=e.labelPosition,m=e.open,g=e.maxHeight,h=e.transitionDuration,v=e.loading_state,y=e.setProps,e=Object(S.useRef)(null),O=(n=e,O=Object(w.e)(x(function(){var e=C(n);return e?{width:e.clientWidth,height:e.clientHeight}:void 0}),2),t=O[0],a=O[1],E(function(){var e,t=C(n);if(t)return(e=new k.a(function(e){e.forEach(function(e){var e=e.target,t=e.clientWidth,e=e.clientHeight;a({width:t,height:e})})})).observe(t),function(){e.disconnect()}},[],n),t);return j.a.createElement("div",{id:r,key:c,className:Object(N.isString)(i)?i:i?Object(M.a)(i):void 0,style:l,"data-dash-is-loading":v&&v.is_loading||void 0},j.a.createElement("div",{className:Object(N.isString)(d)?d:d?Object(M.a)(d):void 0,style:T(T({transitionTimingFunction:"ease"},u),{},{maxHeight:m?O&&O.height:g,transitionDuration:"".concat(h,"s"),transitionProperty:"max-height",overflow:"hidden"})},j.a.createElement("div",{ref:e},o)),j.a.createElement("div",{style:{textAlign:f}},j.a.createElement(I,{onClick:function(){y({open:!m})}},m?p||P.a.AntdSpoiler[s].hideLabel:b||P.a.AntdSpoiler[s].showLabel)))}var I=a.a.Link;(t.default=b).defaultProps=c.b,b.propTypes=c.c},453:function(u,e,t){"use strict";t.r(e);var E=t(1),P=t.n(E),n=t(185),N=t.n(n),n=t(672),n=t.n(n),M=t(50),T=t(59),I=t(487),R=t(12),a=t(4),m=t.n(a),g=t(14),h=t(92),v=t(11);function r(e){return(r="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})(e)}function o(t,e){var n,a=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,n)),a}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){O(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function O(e,t,n){return a=function(e){if("object"!==r(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==r(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"===r(a)?a:String(a))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var a}var S=function(e){var t=e.componentCls,n=e.colorBgContainer,a=e.fontSize,r=e.fontSizeSM,o=e.padding,i=e.paddingXS,l=e.marginSM,c=e.marginXXS,s=e.controlHeight,d=e.lineHeightSM,u=e.colorText,p=e.colorTextSecondary,b=e.colorTextTertiary,f=e.motionDurationSlow;return O({},t,y(y({},Object(v.f)(e)),{},(O(e={position:"relative",backgroundColor:n},"".concat(t,"-inner"),{display:"flex",paddingBlock:o}),O(e,"".concat(t,"-avatar"),{position:"relative",flexShrink:0,marginInlineEnd:l,cursor:"pointer",img:{width:s,height:s,borderRadius:"50%"}}),O(e,"".concat(t,"-content"),{position:"relative",flex:"auto",minWidth:0,wordWrap:"break-word","&-author":{display:"flex",flexWrap:"wrap",justifyContent:"flex-start",marginBottom:c,"& > a, & > span":{paddingInlineEnd:i,fontSize:r,lineHeight:d},"&-name":{color:p,fontSize:a,transition:"color ".concat(f),"> *":{color:p,"&:hover":{color:p}}},"&-time":{color:b,whiteSpace:"nowrap",cursor:"auto"}},"&-detail p":{whiteSpace:"pre-wrap",marginBlock:0}}),O(e,"".concat(t,"-actions"),{marginTop:l,marginBottom:0,paddingInlineStart:0,"> li":{display:"inline-block",color:p,"> span":{marginInlineEnd:l,color:p,fontSize:r,cursor:"pointer",transition:"color ".concat(f),userSelect:"none","&:hover":{color:u}}}}),O(e,"".concat(t,"-nested"),{marginInlineStart:44}),e)))};function j(e){return(j="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})(e)}var w=["actions","author","avatar","children","className","content","prefixCls","datetime"];function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,a=arguments[t];for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function z(e){var t,n,a=e.actions,r=e.author,o=e.avatar,i=e.children,l=e.className,c=e.content,s=e.prefixCls,d=e.datetime,e=function(e,t){if(null==e)return{};var n,a=function(e,t){if(null==e)return{};for(var n,a={},r=Object.keys(e),o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(e),o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n]);return a}(e,w),u=(p=E.useContext(C)).getPrefixCls,p=p.direction,u=u("comment",s);t=u,s=h.a.useToken(),b=s.theme,n=s.token,s=s.hashId,f=E.useContext(R.a.ConfigContext).iconPrefixCls,b=[Object(g.e)({theme:b,token:n,hashId:s,path:["compatible","Comment",t,f]},function(){var e=y({componentCls:".".concat(t)},n);return[S(e)]}),s],f=2;var b=(s=function(e){if(Array.isArray(e))return e}(b)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=o.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(b,f)||function(e,t){var n;if(e)return"string"==typeof e?x(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x(e,t):void 0}(b,f)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],f=s[1],s=o?E.createElement("div",{className:"".concat(u,"-avatar")},"string"==typeof o?E.createElement("img",{src:o,alt:"comment-avatar"}):o):null,o=a&&a.length?E.createElement("ul",{className:"".concat(u,"-actions")},a.map(function(e,t){return E.createElement("li",{key:"action-".concat(t)},e)})):null,a=(r||d)&&E.createElement("div",{className:"".concat(u,"-content-author")},r&&E.createElement("span",{className:"".concat(u,"-content-author-name")},r),d&&E.createElement("span",{className:"".concat(u,"-content-author-time")},d)),r=E.createElement("div",{className:"".concat(u,"-content")},a,E.createElement("div",{className:"".concat(u,"-content-detail")},c),o),p=m()(u,(d={},a="".concat(u,"-rtl"),c="rtl"===p,o=function(e){if("object"!==j(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==j(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(a),(a="symbol"===j(o)?o:String(o))in d?Object.defineProperty(d,a,{value:c,enumerable:!0,configurable:!0,writable:!0}):d[a]=c,d),l,f);return b(E.createElement("div",k({},e,{className:p}),E.createElement("div",{className:"".concat(u,"-inner")},s,r),i?(o=u,a=i,E.createElement("div",{className:m()("".concat(o,"-nested"))},a)):null))}var C=R.a.ConfigContext,L=t(401),i=t(2),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311h-.3v428h472.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32z"}}]},name:"like",theme:"filled"},c=t(3),$=E.forwardRef(function(e,t){return E.createElement(c.a,Object(i.a)({},e,{ref:t,icon:l}))}),A=t(488),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273v428h.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32z"}}]},name:"dislike",theme:"filled"},_=E.forwardRef(function(e,t){return E.createElement(c.a,Object(i.a)({},e,{ref:t,icon:s}))}),D=t(489),B=t(29),W=t(9),X=t(10),G=t(43),a=t(245);function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}N.a.extend(n.a);function d(r){var e=r.id,t=r.children,n=r.className,a=r.style,o=(r.key,r.locale),i=r.commentId,l=r.showLikeDislike,c=r.showReply,s=r.showDelete,d=r.replyClicks,u=r.deleteClicks,p=r.authorName,b=r.authorNameHref,f=r.publishTime,m=r.fromNow,g=r.commentContent,h=r.likesCount,v=r.dislikesCount,y=r.action,O=r.defaultAction,S=r.avatarProps,j=r.popupContainer,w=r.setProps,k=r.loading_state,x=r.batchPropsNames,C=(Object(E.useEffect)(function(){if(x&&0!==x.length){var e,t={},n=function(e,t){var n,a,r,o,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return r=!(a=!0),{s:function(){i=i.call(e)},n:function(){var e=i.next();return a=e.done,e},e:function(e){r=!0,n=e},f:function(){try{a||null==i.return||i.return()}finally{if(r)throw n}}};if(Array.isArray(e)||(i=function(e){var t;if(e)return"string"==typeof e?H(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?H(e,void 0):void 0}(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(x);try{for(n.s();!(e=n.n()).done;){var a=e.value;t[a]=r[a]}}catch(e){n.e(e)}finally{n.f()}w({batchPropsValues:t})}}),Object(E.useContext)(G.a)),C=("zh-cn"===(o=C&&C.locale||o)?N.a.locale("zh-cn"):"en-us"===o&&N.a.locale("en"),t=Object(B.b)(t),Object(E.useEffect)(function(){!y&&O&&w({action:O})},[]),[l?P.a.createElement(T.a,{key:"comment-basic-like",title:"zh-cn"===o?"支持":"like"},P.a.createElement("span",{onClick:function(){w({likesCount:"liked"===y?h-1:h+1,action:"liked"===y?"default":"liked",dislikesCount:"disliked"===y?v-1:v})}},"liked"===y?P.a.createElement($,{style:{color:"rgb(236, 65, 65)"}}):P.a.createElement(A.a,null),P.a.createElement("span",{className:"comment-action"},h))):void 0,l?P.a.createElement(T.a,{key:"comment-basic-dislike",title:"zh-cn"===o?"反对":"dislike"},P.a.createElement("span",{onClick:function(){w({dislikesCount:"disliked"===y?v-1:v+1,action:"disliked"===y?"default":"disliked",likesCount:"liked"===y?h-1:h})}},P.a.createElement("disliked"===y?_:D.a),P.a.createElement("span",{className:"comment-action"},v))):void 0,c?P.a.createElement("span",{key:"comment-basic-reply-to",onClick:function(){w({replyClicks:d+1})}},"zh-cn"===o?"添加回复":"Add a reply"):void 0,s?P.a.createElement(I.a,{title:"zh-cn"===o?"确认删除":"Confirm deletion",onConfirm:function(){return w({deleteClicks:u+1})},okText:"zh-cn"===o?"确认":"Yes",cancelText:"zh-cn"===o?"取消":"No",getPopupContainer:"parent"===j?function(e){return e.parentNode}:void 0},P.a.createElement("span",{key:"comment-basic-delete"},"zh-cn"===o?"删除":"Delete")):void 0]);return P.a.createElement(R.a,{locale:M.b.get(o)},P.a.createElement(z,{id:e,className:Object(W.isString)(n)?n:n?Object(X.a)(n):void 0,style:a,key:i,actions:C,author:P.a.createElement("a",{href:b,target:"_blank"},p),avatar:P.a.createElement(L.default,S),content:P.a.createElement("p",null,g),datetime:P.a.createElement(T.a,{title:N()().format(f.value),placement:"right"},P.a.createElement("span",null,m?N()(f.value,f.format||"YYYY-MM-DD HH:mm:ss").fromNow():f.value)),"data-dash-is-loading":k&&k.is_loading||void 0},t))}(e.default=d).defaultProps=a.b,d.propTypes=a.c},454:function(e,t,n){"use strict";n.r(t);var v=n(1),d=n.n(v),a=n(4),y=n.n(a),u=n(42),r=n(11),a=n(144),o=n(79);function i(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.items,i=e.mode,l=e.pending,c=e.pendingDot,s=e.reverse,e=(e.setProps,e.loading_state);return d.a.createElement(m,{id:t,className:Object(g.isString)(n)?n:n?Object(h.a)(n):void 0,style:a,key:r,mode:i,pending:l,pendingDot:c,reverse:s,"data-dash-is-loading":e&&e.is_loading||void 0},o.map(function(e){return d.a.createElement(m.Item,{color:e.color,dot:e.icon,label:e.label},e.content)}))}var p=Object(a.a)("Timeline",e=>{var t,e=Object(o.b)(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[{[t=(e=e).componentCls]:Object.assign(Object.assign({},Object(r.f)(e)),{margin:0,padding:0,listStyle:"none",[t+"-item"]:{position:"relative",margin:0,paddingBottom:e.itemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.itemHeadSize,insetInlineStart:(e.itemHeadSize-e.tailWidth)/2,height:`calc(100% - ${e.itemHeadSize}px)`,borderInlineStart:`${e.tailWidth}px ${e.lineType} `+e.tailColor},"&-pending":{[t+"-item-head"]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[t+"-item-tail"]:{display:"none"}},"&-head":{position:"absolute",width:e.itemHeadSize,height:e.itemHeadSize,backgroundColor:e.dotBg,border:`${e.dotBorderWidth}px ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:e.itemHeadSize/2,insetInlineStart:e.itemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.lineWidth,marginInlineStart:e.margin+e.itemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${t}-item-tail`]:{display:"none"},[`> ${t}-item-content`]:{minHeight:1.2*e.controlHeightLG}}},[`&${t}-alternate,
2
2
  &${t}-right,
3
3
  &${t}-label`]:{[t+"-item"]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:`-${e.marginXXS}px`,"&-custom":{marginInlineStart:e.tailWidth/2}},"&-left":{[t+"-item-content"]:{insetInlineStart:`calc(50% - ${e.marginXXS}px)`,width:`calc(50% - ${e.marginSM}px)`,textAlign:"start"}},"&-right":{[t+"-item-content"]:{width:`calc(50% - ${e.marginSM}px)`,margin:0,textAlign:"end"}}}},[`&${t}-right`]:{[t+"-item-right"]:{[t+`-item-tail,
4
4
  ${t}-item-head,
@@ -6,9 +6,9 @@
6
6
  ${t}-item-last
7
7
  ${t}-item-tail`]:{display:"block",height:`calc(100% - ${e.margin}px)`,borderInlineStart:e.tailWidth+"px dotted "+e.tailColor},[`&${t}-reverse
8
8
  ${t}-item-last
9
- ${t}-item-tail`]:{display:"none"},[`&${t}-reverse ${t}-item-pending`]:{[t+"-item-tail"]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${e.margin}px)`,borderInlineStart:e.tailWidth+"px dotted "+e.tailColor},[t+"-item-content"]:{minHeight:1.2*e.controlHeightLG}},[`&${t}-label`]:{[t+"-item-label"]:{position:"absolute",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.tailWidth,width:`calc(50% - ${e.marginSM}px)`,textAlign:"end"},[t+"-item-right"]:{[t+"-item-label"]:{insetInlineStart:`calc(50% + ${e.marginSM}px)`,width:`calc(50% - ${e.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[t+"-item-head-custom"]:{transform:"translate(50%, -50%)"}}})}]},e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.wireframe?e.lineWidthBold:3*e.lineWidth,dotBg:e.colorBgContainer,itemPaddingBottom:1.25*e.padding})),O=e=>{var{prefixCls:t,className:n,color:a="blue",dot:r,pending:o=!1,label:i,children:l}=e,e=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["prefixCls","className","color","dot","pending","position","label","children"]),c=v.useContext(u.a)["getPrefixCls"],c=c("timeline",t),t=y()(c+"-item",{[c+"-item-pending"]:o},n),o=/blue|red|green|gray/.test(a||"")?void 0:a,n=y()(c+"-item-head",{[c+"-item-head-custom"]:!!r,[c+"-item-head-"+a]:!o});return v.createElement("li",Object.assign({},e,{className:t}),i&&v.createElement("div",{className:c+"-item-label"},i),v.createElement("div",{className:c+"-item-tail"}),v.createElement("div",{className:n,style:{borderColor:o,color:o}},r),v.createElement("div",{className:c+"-item-content"},l))},j=n(9),S=n(101),w=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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},b=e=>{var{prefixCls:i,className:t,pending:l=!1,items:n,rootClassName:a,reverse:c=!1,direction:r,hashId:o,pendingDot:s,mode:d=""}=e,e=w(e,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const u=Object(j.a)(n||[]),p="boolean"==typeof l?null:l,b=(l&&u.push({pending:!!l,dot:s||v.createElement(S.a,null),children:p}),c&&u.reverse(),u.length),f=i+"-item-last",m=u.filter(e=>!!e).map((e,t)=>{var n=t===b-2?f:"",a=t===b-1?f:"",r=e["className"],o=w(e,["className"]);return v.createElement(O,Object.assign({},o,{className:y()([r,!c&&l?n:a,(r=null!=(o=null==e?void 0:e.position)?o:"",n=t,"alternate"===d?"right"!==r&&("left"===r||n%2==0)?i+"-item-left":i+"-item-right":"left"===d?i+"-item-left":"right"===d||"right"===r?i+"-item-right":"")]),key:(null==e?void 0:e.key)||t}))}),g=u.some(e=>!(null==e||!e.label)),h=y()(i,{[i+"-pending"]:!!l,[i+"-reverse"]:!!c,[i+"-"+d]:!!d&&!g,[i+"-label"]:g,[i+"-rtl"]:"rtl"===r},t,a,o);return v.createElement("ul",Object.assign({},e,{className:h}),m)},f=n(35),a=e=>{var{getPrefixCls:t,direction:n,timeline:a}=v.useContext(u.a),{prefixCls:r,children:o,items:i,className:l,style:c}=e,e=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["prefixCls","children","items","className","style"]),t=t("timeline",r),[r,s]=p(t),i=(o=o,(i=i)&&Array.isArray(i)?i:Object(f.a)(o).map(e=>{var t;return Object.assign({children:null!=(t=null==(t=null==e?void 0:e.props)?void 0:t.children)?t:""},e.props)}));return r(v.createElement(b,Object.assign({},e,{className:y()(null==a?void 0:a.className,l),style:Object.assign(Object.assign({},null==a?void 0:a.style),c),prefixCls:t,direction:n,items:i,hashId:s})))},m=(a.Item=O,a),g=n(8),h=n(10),a=n(259);(t.default=i).defaultProps=a.b,i.propTypes=a.c},459:function(d,e,t){"use strict";t.r(e);function y(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null}function O(e){return void 0!==e?"".concat(e,"px"):void 0}var j=t(0),v=t.n(j),n=t(4),S=t.n(n),w=t(2),k=t(7),x=t(12),C=t(5),E=t(6),a=t(14),P=t(28),N=t(25),T=t(23),I=t(34),z=t(19);function $(e){function r(e){var e=i(e),t=null==(t=n.current)?void 0:t.querySelectorAll(".".concat(a,"-item"))[e];return(null==t?void 0:t.offsetParent)&&t}var a=e.prefixCls,n=e.containerRef,o=e.value,i=e.getValueIndex,t=e.motionName,l=e.onMotionStart,c=e.onMotionEnd,s=e.direction,d=j.useRef(null),e=j.useState(o),e=Object(k.a)(e,2),u=e[0],p=e[1],e=j.useState(null),e=Object(k.a)(e,2),b=e[0],f=e[1],e=j.useState(null),e=Object(k.a)(e,2),m=e[0],g=e[1],h=(Object(z.a)(function(){var e,t,n,a;u!==o&&(e=r(u),t=r(o),n=y(e),a=y(t),p(o),f(n),g(a),(e&&t?l:c)())},[o]),j.useMemo(function(){return O("rtl"===s?-(null==b?void 0:b.right):null==b?void 0:b.left)},[s,b])),v=j.useMemo(function(){return O("rtl"===s?-(null==m?void 0:m.right):null==m?void 0:m.left)},[s,m]);return b&&m?j.createElement(I.c,{visible:!0,motionName:t,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){f(null),g(null),c()}},function(e,t){var n=e.className,e=e.style,e=Object(E.a)(Object(E.a)({},e),{},{"--thumb-start-left":h,"--thumb-start-width":O(null==b?void 0:b.width),"--thumb-active-left":v,"--thumb-active-width":O(null==m?void 0:m.width)}),t={ref:Object(N.a)(d,t),style:e,className:S()("".concat(a,"-thumb"),n)};return j.createElement("div",t)}):null}var L=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"];function M(e){return e.map(function(e){var t;return"object"===Object(a.a)(e)&&null!==e?(t=void 0!==(t=e).title?t.title:"object"===Object(a.a)(t.label)||null==(t=t.label)?void 0:t.toString(),Object(E.a)(Object(E.a)({},e),{},{title:t})):{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})}function R(e){var t=e.prefixCls,n=e.className,a=e.disabled,r=e.checked,o=e.label,i=e.title,l=e.value,c=e.onChange;return j.createElement("label",{className:S()(n,Object(C.a)({},"".concat(t,"-item-disabled"),a))},j.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:a,checked:r,onChange:function(e){a||c(e,l)}}),j.createElement("div",{className:"".concat(t,"-item-label"),title:i},o))}var n=j.forwardRef(function(e,t){function n(e,t){i||(h(t),null==s)||s(t)}var a=e.prefixCls,r=void 0===a?"rc-segmented":a,a=e.direction,o=e.options,i=e.disabled,l=e.defaultValue,c=e.value,s=e.onChange,d=e.className,d=void 0===d?"":d,u=e.motionName,u=void 0===u?"thumb-motion":u,e=Object(x.a)(e,L),p=j.useRef(null),b=j.useMemo(function(){return Object(N.a)(p,t)},[p,t]),f=j.useMemo(function(){return M(o)},[o]),m=Object(P.a)(null==(m=f[0])?void 0:m.value,{value:c,defaultValue:l}),c=Object(k.a)(m,2),g=c[0],h=c[1],l=j.useState(!1),m=Object(k.a)(l,2),v=m[0],y=m[1],c=Object(T.a)(e,["children"]);return j.createElement("div",Object(w.a)({},c,{className:S()(r,(l={},Object(C.a)(l,"".concat(r,"-rtl"),"rtl"===a),Object(C.a)(l,"".concat(r,"-disabled"),i),l),d),ref:b}),j.createElement("div",{className:"".concat(r,"-group")},j.createElement($,{prefixCls:r,value:g,containerRef:p,motionName:"".concat(r,"-").concat(u),direction:a,getValueIndex:function(t){return f.findIndex(function(e){return e.value===t})},onMotionStart:function(){y(!0)},onMotionEnd:function(){y(!1)}}),f.map(function(e){return j.createElement(R,Object(w.a)({},e,{key:e.value,prefixCls:r,className:S()(e.className,"".concat(r,"-item"),Object(C.a)({},"".concat(r,"-item-selected"),e.value===g&&!v)),checked:e.value===g,onChange:n,disabled:!!i||!!e.disabled}))})))}),_=(n.displayName="Segmented",n.defaultProps={options:[]},n),H=t(43),A=t(40),r=t(11),n=t(149),u=t(80);function o(e,t){return{[e+`, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function i(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}const p=Object.assign({overflow:"hidden"},r.h);function D(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}var G=Object(n.a)("Segmented",e=>{var{lineWidth:t,lineWidthBold:n,colorBgLayout:a}=e,n=Object(u.b)(e,{segmentedPadding:n,segmentedBgColor:a,segmentedPaddingHorizontal:e.controlPaddingHorizontal-t,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-t});return[{[e=(a=n).componentCls]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Object(r.f)(a)),{display:"inline-block",padding:a.segmentedPadding,color:a.itemColor,backgroundColor:a.segmentedBgColor,borderRadius:a.borderRadius,transition:`all ${a.motionDurationMid} `+a.motionEaseInOut,[e+"-group"]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${e}-rtl`]:{direction:"rtl"},[`&${e}-block`]:{display:"flex"},[`&${e}-block ${e}-item`]:{flex:1,minWidth:0},[e+"-item"]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${a.motionDurationMid} `+a.motionEaseInOut,borderRadius:a.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},i(a)),{color:a.itemSelectedColor}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:"background-color "+a.motionDurationMid,pointerEvents:"none"},[`&:hover:not(${e}-item-selected):not(${e}-item-disabled)`]:{color:a.itemHoverColor,"&::after":{backgroundColor:a.itemHoverBg}},[`&:active:not(${e}-item-selected):not(${e}-item-disabled)`]:{color:a.itemHoverColor,"&::after":{backgroundColor:a.itemActiveBg}},"&-label":Object.assign({minHeight:a.controlHeight-2*a.segmentedPadding,lineHeight:a.controlHeight-2*a.segmentedPadding+"px",padding:`0 ${a.segmentedPaddingHorizontal}px`},p),"&-icon + *":{marginInlineStart:a.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[e+"-thumb"]:Object.assign(Object.assign({},i(a)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:a.paddingXXS+"px 0",borderRadius:a.borderRadiusSM,[`& ~ ${e}-item:not(${e}-item-selected):not(${e}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${e}-lg`]:{borderRadius:a.borderRadiusLG,[e+"-item-label"]:{minHeight:a.controlHeightLG-2*a.segmentedPadding,lineHeight:a.controlHeightLG-2*a.segmentedPadding+"px",padding:`0 ${a.segmentedPaddingHorizontal}px`,fontSize:a.fontSizeLG},[e+`-item, ${e}-thumb`]:{borderRadius:a.borderRadius}},[`&${e}-sm`]:{borderRadius:a.borderRadiusSM,[e+"-item-label"]:{minHeight:a.controlHeightSM-2*a.segmentedPadding,lineHeight:a.controlHeightSM-2*a.segmentedPadding+"px",padding:`0 ${a.segmentedPaddingHorizontalSM}px`},[e+`-item, ${e}-thumb`]:{borderRadius:a.borderRadiusXS}}}),o(`&-disabled ${e}-item`,a)),o(e+"-item-disabled",a)),{[e+"-thumb-motion-appear-active"]:{transition:`transform ${a.motionDurationSlow} ${a.motionEaseInOut}, width ${a.motionDurationSlow} `+a.motionEaseInOut,willChange:"transform, width"}})}]},e=>{var{colorTextLabel:e,colorText:t,colorFillSecondary:n,colorBgElevated:a,colorFill:r}=e;return{itemColor:e,itemHoverColor:t,itemHoverBg:n,itemSelectedBg:a,itemActiveBg:r,itemSelectedColor:t}}),Y=j.forwardRef((e,t)=>{const{prefixCls:n,className:a,rootClassName:r,block:o,options:i=[],size:l="middle",style:c}=e,s=D(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:d,direction:u,segmented:p}=j.useContext(H.a),b=d("segmented",n),[f,m]=G(b),g=Object(A.a)(l),h=j.useMemo(()=>i.map(e=>{var t,n,a;return"object"==typeof e&&null!=e&&e.icon?({icon:t,label:n}=e,a=D(e,["icon","label"]),Object.assign(Object.assign({},a),{label:j.createElement(j.Fragment,null,j.createElement("span",{className:b+"-item-icon"},t),n&&j.createElement("span",null,n))})):e}),[i,b]),v=S()(a,r,null==p?void 0:p.className,{[b+"-block"]:o,[b+"-sm"]:"small"===g,[b+"-lg"]:"large"===g},m),y=Object.assign(Object.assign({},null==p?void 0:p.style),c);return f(j.createElement(_,Object.assign({},s,{className:v,style:y,options:h,ref:t,prefixCls:b,direction:u})))}),F=t(69),B=t(8),K=t(10),V=t(47),n=t(255);function l(e){return(l="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})(e)}function c(t,e){var n,a=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,n)),a}function W(a){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){var t,n;t=a,e=r[n=e],(n=function(){var e=function(e){if("object"!==l(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==l(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(n);return"symbol"===l(e)?e:String(e)}())in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(r,e))})}return a}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function s(r){var e=r.id,t=r.style,n=r.className,a=r.key,o=r.options,i=r.defaultValue,l=r.value,c=r.block,s=r.disabled,d=r.size,u=r.setProps,p=r.persistence,b=r.persisted_props,f=r.persistence_type,m=r.loading_state,g=r.batchPropsNames,h=(Object(j.useEffect)(function(){if(g&&0!==g.length){var e,t={},n=function(e,t){var n,a,r,o,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return r=!(a=!0),{s:function(){i=i.call(e)},n:function(){var e=i.next();return a=e.done,e},e:function(e){r=!0,n=e},f:function(){try{a||null==i.return||i.return()}finally{if(r)throw n}}};if(Array.isArray(e)||(i=function(e){var t;if(e)return"string"==typeof e?X(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?X(e,void 0):void 0}(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(g);try{for(n.s();!(e=n.n()).done;){var a=e.value;t[a]=r[a]}}catch(e){n.e(e)}finally{n.f()}u({batchPropsValues:t})}}),Object(j.useContext)(V.a)),o=o||[];return Object(j.useEffect)(function(){i&&!l&&u({value:i})},[]),v.a.createElement(Y,{id:e,className:Object(B.isString)(n)?n:n?Object(K.a)(n):void 0,style:t,key:a,options:o.map(function(e){return W(W({},e),{},{icon:e.icon&&("fontawesome"===e.iconRenderer?v.a.createElement("i",{className:e.icon}):v.a.createElement(F.a,{icon:e.icon}))})}),defaultValue:i,value:l,block:c,disabled:h&&!Object(B.isUndefined)(h.componentDisabled)?h.componentDisabled:s,size:h&&!Object(B.isUndefined)(h.componentSize)?h.componentSize:d,persistence:p,persisted_props:b,persistence_type:f,onChange:function(e){u({value:e})},"data-dash-is-loading":m&&m.is_loading||void 0})}(e.default=s).defaultProps=n.b,s.propTypes=n.c},533:function(e,t,n){"use strict";function a(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function r(e){var e=e.getBoundingClientRect(),t=document.documentElement;return{left:e.left+(window.pageXOffset||t.scrollLeft)-(t.clientLeft||document.body.clientLeft||0),top:e.top+(window.pageYOffset||t.scrollTop)-(t.clientTop||document.body.clientTop||0)}}n.d(t,"a",function(){return a}),n.d(t,"b",function(){return r})},667:function(e,t,n){function r(a){var r="",o=Object.keys(a);return o.forEach(function(e,t){var n=a[e];/[height|width]$/.test(e=i(e))&&"number"==typeof n&&(n+="px"),r+=!0===n?e:!1===n?"not "+e:"("+e+": "+n+")",t<o.length-1&&(r+=" and ")}),r}var i=n(668);e.exports=function(n){var a="";return"string"==typeof n?n:n instanceof Array?(n.forEach(function(e,t){a+=r(e),t<n.length-1&&(a+=", ")}),a):r(n)}},668:function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},669:function(e,t,n){e.exports=function(){"use strict";return function(g,e,h){g=g||{};var r=e.prototype,v={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function n(e,t,n,a){return r.fromToBase(e,t,n,a)}h.en.relativeTime=v,r.fromToBase=function(e,t,n,a,r){for(var o,i,l,c=n.$locale().relativeTime||v,s=g.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],d=s.length,u=0;u<d;u+=1){var p=s[u],b=(p.d&&(o=a?h(e).diff(n,p.d,!0):n.diff(e,p.d,!0)),(g.rounding||Math.round)(Math.abs(o))),f=0<o;if(b<=p.r||!p.r){var m=c[(p=b<=1&&0<u?s[u-1]:p).l];r&&(b=r(""+b)),i="string"==typeof m?m.replace("%d",b):m(b,t,p.l,f);break}}return t?i:"function"==typeof(l=f?c.future:c.past)?l(i):l.replace("%s",i)},r.to=function(e,t){return n(e,t,this,!0)},r.from=function(e,t){return n(e,t,this)};function t(e){return e.$u?h.utc():h()}r.toNow=function(e){return this.to(t(this),e)},r.fromNow=function(e){return this.from(t(this),e)}}}()},687:function(o,e,t){"use strict";var $e=t(0),T=t(41),I=t(163),z=t(468),n=t(4),Le=t.n(n),Me=t(2),Re=t(5),_e=t(6),He=t(7),M=t(14),R=t(12),A=t(121),_=t(28),m=t(34),Ae=Object($e.createContext)(null),f=$e.forwardRef(function(e,t){var n=e.prefixCls,a=e.className,r=e.style,o=e.id,i=e.active,l=e.tabKey,e=e.children;return $e.createElement("div",{id:o&&"".concat(o,"-panel-").concat(l),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(l),"aria-hidden":!i,style:r,className:Le()(n,i&&"".concat(n,"-active"),a),ref:t},e)}),g=["key","forceRender","style","className","destroyInactiveTabPane"];function D(e){var c=e.id,s=e.activeKey,d=e.animated,t=e.tabPosition,u=e.destroyInactiveTabPane,e=$e.useContext(Ae),n=e.prefixCls,e=e.tabs,p=d.tabPane,b="".concat(n,"-tabpane");return $e.createElement("div",{className:Le()("".concat(n,"-content-holder"))},$e.createElement("div",{className:Le()("".concat(n,"-content"),"".concat(n,"-content-").concat(t),Object(Re.a)({},"".concat(n,"-content-animated"),p))},e.map(function(e){var a=e.key,t=e.forceRender,r=e.style,o=e.className,n=e.destroyInactiveTabPane,i=Object(R.a)(e,g),l=a===s;return $e.createElement(m.c,Object(Me.a)({key:a,visible:l,forceRender:t,removeOnLeave:!(!u&&!n),leavedClassName:"".concat(b,"-hidden")},d.tabPaneMotion),function(e,t){var n=e.style,e=e.className;return $e.createElement(f,Object(Me.a)({},i,{prefixCls:b,id:c,tabKey:a,animated:p,active:l,style:Object(_e.a)(Object(_e.a)({},r),n),className:Le()(o,e),ref:t}))})})))}function Je(e){function t(e){return"function"==typeof o?o(e):"number"==typeof o?o:e}var n=e.activeTabOffset,a=e.horizontal,r=e.rtl,o=e.indicatorSize,e=Object($e.useState)(),i=(e=Object(He.a)(e,2))[0],l=e[1],c=Object($e.useRef)();function s(){d.a.cancel(c.current)}return Object($e.useEffect)(function(){var e={};return n&&(a?(r?(e.right=n.right+n.width/2,e.transform="translateX(50%)"):(e.left=n.left+n.width/2,e.transform="translateX(-50%)"),e.width=t(n.width)):(e.top=n.top+n.height/2,e.transform="translateY(-50%)",e.height=t(n.height))),s(),c.current=Object(d.a)(function(){l(e)}),s},[n,a,r,o]),{style:i}}var De=t(9),Be=t(42),et=t(48),tt=t(25),d=t(24),We={width:0,height:0,left:0,top:0};function Xe(e,t){var n=$e.useRef(e),e=$e.useState({}),a=Object(He.a)(e,2)[1];return[n.current,function(e){e="function"==typeof e?e(n.current):e;e!==n.current&&t(e,n.current),n.current=e,a({})}]}var Ge=Math.pow(.995,20),i=t(19);function Ye(e){var t=Object($e.useState)(0),t=Object(He.a)(t,2),n=t[0],a=t[1],r=Object($e.useRef)(0),o=Object($e.useRef)();return o.current=e,Object(i.b)(function(){var e;null!=(e=o.current)&&e.call(o)},[n]),function(){r.current===n&&(r.current+=1,a(r.current))}}var Fe={width:0,height:0,left:0,top:0,right:0};function Ke(e){var n;return e instanceof Map?(n={},e.forEach(function(e,t){n[t]=e})):n=e,JSON.stringify(n)}function Ve(e){return String(e).replace(/"/g,"TABS_DQ")}function C(e,t,n,a){return!(!n||a||!1===e||void 0===e&&(!1===t||null===t))}var Ue=$e.forwardRef(function(e,t){var n=e.prefixCls,a=e.editable,r=e.locale,e=e.style;return a&&!1!==a.showAdd?$e.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:e,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){a.onEdit("add",{event:e})}},a.addIcon||"+"):null}),Ze=$e.forwardRef(function(e,t){var n,a,r=e.position,o=e.prefixCls,e=e.extra;return e&&(a={},"object"!==Object(M.a)(e)||$e.isValidElement(e)?a.right=e:a=e,"right"===r&&(n=a.right),n="left"===r?a.left:n)?$e.createElement("div",{className:"".concat(o,"-extra-content"),ref:t},n):null}),N=t(301),E=t(72),P=t(16);function nt(e){var t=e.prefixCls,n=e.id,a=e.active,r=(l=e.tab).key,o=l.label,i=l.disabled,l=l.closeIcon,c=e.closable,s=e.renderWrapper,d=e.removeAriaLabel,u=e.editable,p=e.onClick,b=e.onFocus,e=e.style,t="".concat(t,"-tab"),c=C(c,l,u,i);function f(e){i||p(e)}var m=$e.createElement("div",{key:r,"data-node-key":Ve(r),className:Le()(t,(m={},Object(Re.a)(m,"".concat(t,"-with-remove"),c),Object(Re.a)(m,"".concat(t,"-active"),a),Object(Re.a)(m,"".concat(t,"-disabled"),i),m)),style:e,onClick:f},$e.createElement("div",{role:"tab","aria-selected":a,id:n&&"".concat(n,"-tab-").concat(r),className:"".concat(t,"-btn"),"aria-controls":n&&"".concat(n,"-panel-").concat(r),"aria-disabled":i,tabIndex:i?null:0,onClick:function(e){e.stopPropagation(),f(e)},onKeyDown:function(e){[P.a.SPACE,P.a.ENTER].includes(e.which)&&(e.preventDefault(),f(e))},onFocus:b},o),c&&$e.createElement("button",{type:"button","aria-label":d||"remove",tabIndex:0,className:"".concat(t,"-remove"),onClick:function(e){e.stopPropagation(),(e=e).preventDefault(),e.stopPropagation(),u.onEdit("remove",{key:r,event:e})}},l||u.removeIcon||"×"));return s?s(m):m}function qe(e){var t=e.current||{},n=void 0===(n=t.offsetWidth)?0:n,t=void 0===(t=t.offsetHeight)?0:t;if(e.current){var e=e.current.getBoundingClientRect(),a=e.width,e=e.height;if(Math.abs(a-n)<1)return[a,e]}return[n,t]}function Qe(e,t){return e[t?0:1]}var at=$e.memo($e.forwardRef(function(e,t){var n=e.prefixCls,o=e.id,i=e.tabs,a=e.locale,r=e.mobile,l=void 0===(l=e.moreIcon)?"More":l,c=e.moreTransitionName,s=e.style,d=e.className,u=e.editable,p=e.tabBarGutter,b=e.rtl,f=e.removeAriaLabel,m=e.onTabClick,g=e.getPopupContainer,e=e.popupClassName,h=Object($e.useState)(!1),v=(h=Object(He.a)(h,2))[0],y=h[1],h=Object($e.useState)(null),O=(h=Object(He.a)(h,2))[0],j=h[1],S="".concat(o,"-more-popup"),w="".concat(n,"-dropdown"),k=null!==O?"".concat(S,"-").concat(O):null,h=null==a?void 0:a.dropdownAriaLabel,h=$e.createElement(E.f,{onClick:function(e){var t=e.key,e=e.domEvent;m(t,e),y(!1)},prefixCls:"".concat(w,"-menu"),id:S,tabIndex:-1,role:"listbox","aria-activedescendant":k,selectedKeys:[O],"aria-label":void 0!==h?h:"expanded dropdown"},i.map(function(e){var t=e.closable,n=e.disabled,a=e.closeIcon,r=e.key,e=e.label,t=C(t,a,u,n);return $e.createElement(E.d,{key:r,id:"".concat(S,"-").concat(r),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(r),disabled:n},$e.createElement("span",null,e),t&&$e.createElement("button",{type:"button","aria-label":f||"remove",tabIndex:0,className:"".concat(w,"-menu-item-remove"),onClick:function(e){var t;e.stopPropagation(),t=r,(e=e).preventDefault(),e.stopPropagation(),u.onEdit("remove",{key:t,event:e})}},a||u.removeIcon||"×"))}));function x(e){for(var t=i.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===O})||0,a=t.length,r=0;r<a;r+=1){var o=t[n=(n+e+a)%a];if(!o.disabled)return j(o.key)}}return Object($e.useEffect)(function(){var e=document.getElementById(k);e&&e.scrollIntoView&&e.scrollIntoView(!1)},[O]),Object($e.useEffect)(function(){v||j(null)},[v]),p=Object(Re.a)({},b?"marginRight":"marginLeft",p),i.length||(p.visibility="hidden",p.order=1),b=Le()(Object(Re.a)({},"".concat(w,"-rtl"),b)),r=r?null:$e.createElement(N.a,{prefixCls:w,overlay:h,trigger:["hover"],visible:!!i.length&&v,transitionName:c,onVisibleChange:y,overlayClassName:Le()(b,e),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:g},$e.createElement("button",{type:"button",className:"".concat(n,"-nav-more"),style:p,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":S,id:"".concat(o,"-more"),"aria-expanded":v,onKeyDown:function(e){var t=e.which;if(v)switch(t){case P.a.UP:x(-1),e.preventDefault();break;case P.a.DOWN:x(1),e.preventDefault();break;case P.a.ESC:y(!1);break;case P.a.SPACE:case P.a.ENTER:null!==O&&m(O,e)}else[P.a.DOWN,P.a.SPACE,P.a.ENTER].includes(t)&&(y(!0),e.preventDefault())}},l)),$e.createElement("div",{className:Le()("".concat(n,"-nav-operations"),d),style:s,ref:t},r,$e.createElement(Ue,{prefixCls:n,locale:a,editable:u}))}),function(e,t){return t.tabMoving});var a=$e.forwardRef(function(e,R){var l,c,n,_,a,H,r=(A=$e.useContext(Ae)).prefixCls,t=A.tabs,A=e.className,D=e.style,B=e.id,W=e.animated,o=e.activeKey,i=e.rtl,X=e.extra,G=e.editable,s=e.locale,d=e.tabPosition,Y=e.tabBarGutter,F=e.children,K=e.onTabClick,u=e.onTabScroll,V=e.indicatorSize,U=Object($e.useRef)(),Z=Object($e.useRef)(),q=Object($e.useRef)(),p=Object($e.useRef)(),b=Object($e.useRef)(),Q=Object($e.useRef)(),J=Object($e.useRef)(),f="top"===d||"bottom"===d,m=Xe(0,function(e,t){f&&u&&u({direction:t<e?"left":"right"})}),g=(m=Object(He.a)(m,2))[0],ee=m[1],m=Xe(0,function(e,t){!f&&u&&u({direction:t<e?"top":"bottom"})}),h=(m=Object(He.a)(m,2))[0],te=m[1],m=Object($e.useState)([0,0]),v=(m=Object(He.a)(m,2))[0],ne=m[1],m=Object($e.useState)([0,0]),y=(m=Object(He.a)(m,2))[0],ae=m[1],m=Object($e.useState)([0,0]),re=(m=Object(He.a)(m,2))[0],oe=m[1],m=Object($e.useState)([0,0]),O=(m=Object(He.a)(m,2))[0],ie=m[1],j=(m=new Map,n=Object($e.useRef)([]),j=Object($e.useState)({}),_=Object(He.a)(j,2)[1],a=Object($e.useRef)("function"==typeof m?m():m),H=Ye(function(){var t=a.current;n.current.forEach(function(e){t=e(t)}),n.current=[],a.current=t,_({})}),[a.current,function(e){n.current.push(e),H()}]),j=(m=Object(He.a)(j,2))[0],le=m[1],S=(l=t,c=j,m=y[0],Object($e.useMemo)(function(){for(var e=new Map,t=c.get(null==(t=l[0])?void 0:t.key)||We,n=t.left+t.width,a=0;a<l.length;a+=1){var r=l[a].key,o=(o=c.get(r))||c.get(null==(i=l[a-1])?void 0:i.key)||We,i=e.get(r)||Object(_e.a)({},o);i.right=n-i.left-i.width,e.set(r,i)}return e},[l.map(function(e){return e.key}).join("_"),c,m])),j=Qe(v,f),m=Qe(y,f),v=Qe(re,f),y=Qe(O,f),ce=j<m+v,w=ce?j-y:j-v,re="".concat(r,"-nav-operations-hidden"),k=0,x=0;function se(e){return e<k?k:x<e?x:e}var de,C,E,P,ue,pe,be,fe,N,me,T,I,z,x=f&&i?(k=0,Math.max(0,m-w)):(k=Math.min(0,w-m),0),ge=Object($e.useRef)(),O=Object($e.useState)(),$=(j=Object(He.a)(O,2))[0],he=j[1];function ve(){he(Date.now())}function ye(){window.clearTimeout(ge.current)}function Oe(){le(function(){var e,d=new Map,u=null==(e=b.current)?void 0:e.getBoundingClientRect();return t.forEach(function(e){var t,n,a,r,o,i,l,c,e=e.key,s=null==(s=b.current)?void 0:s.querySelector('[data-node-key="'.concat(Ve(e),'"]'));s&&(t=u,n=(s=s).offsetWidth,a=s.offsetHeight,r=s.offsetTop,o=s.offsetLeft,s=s.getBoundingClientRect(),i=s.width,l=s.height,c=s.x,s=s.y,i=Math.abs(i-n)<1?[i,l,c-t.x,s-t.y]:[n,a,o,r],c=(l=Object(He.a)(i,4))[0],s=l[1],t=l[2],n=l[3],d.set(e,{width:c,height:s,left:t,top:n}))}),d})}de=p,C=function(e,t){function n(e,t){e(function(e){return se(e+t)})}return ce&&(f?n(ee,e):n(te,t),ye(),ve(),1)},O=Object($e.useState)(),O=Object(He.a)(O,2),E=O[0],P=O[1],O=Object($e.useState)(0),O=Object(He.a)(O,2),ue=O[0],pe=O[1],O=Object($e.useState)(0),O=Object(He.a)(O,2),be=O[0],fe=O[1],O=Object($e.useState)(),O=Object(He.a)(O,2),N=O[0],me=O[1],T=Object($e.useRef)(),I=Object($e.useRef)(),(z=Object($e.useRef)(null)).current={onTouchStart:function(e){var e=e.touches[0],t=e.screenX,e=e.screenY;P({x:t,y:e}),window.clearInterval(T.current)},onTouchMove:function(e){var t,n;E&&(e.preventDefault(),t=(e=e.touches[0]).screenX,e=e.screenY,P({x:t,y:e}),t=t-E.x,e=e-E.y,C(t,e),n=Date.now(),pe(n),fe(n-ue),me({x:t,y:e}))},onTouchEnd:function(){var e,t,n,a,r,o;E&&(P(null),me(null),N)&&(e=N.x/be,t=N.y/be,n=Math.abs(e),a=Math.abs(t),Math.max(n,a)<.1||(r=e,o=t,T.current=window.setInterval(function(){Math.abs(r)<.01&&Math.abs(o)<.01?window.clearInterval(T.current):C(20*(r*=Ge),20*(o*=Ge))},20)))},onWheel:function(e){var t=e.deltaX,n=e.deltaY,a=0,r=Math.abs(t),o=Math.abs(n);r===o?a="x"===I.current?t:n:o<r?(a=t,I.current="x"):(a=n,I.current="y"),C(-a,-a)&&e.preventDefault()}},$e.useEffect(function(){function e(e){z.current.onTouchMove(e)}function t(e){z.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!1}),de.current.addEventListener("touchstart",function(e){z.current.onTouchStart(e)},{passive:!1}),de.current.addEventListener("wheel",function(e){z.current.onWheel(e)}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),Object($e.useEffect)(function(){return ye(),$&&(ge.current=window.setTimeout(function(){he(0)},100)),ye},[$]),je=S,Se=w,j=f?g:h,O=m,m=v,v=y,y=Object(_e.a)(Object(_e.a)({},e),{},{tabs:t}),L=y.tabs,M=y.tabPosition,y=y.rtl,xe=["top","bottom"].includes(M)?(we="width",ke=y?"right":"left",Math.abs(j)):(we="height",ke="top",-j);var je,Se,we,ke,L,xe,j=Object($e.useMemo)(function(){if(!L.length)return[0,0];for(var e=L.length,t=e,n=0;n<e;n+=1){var a=je.get(L[n].key)||Fe;if(a[ke]+a[we]>xe+Se){t=n-1;break}}for(var r=0,o=e-1;0<=o;--o)if((je.get(L[o].key)||Fe)[ke]<xe){r=o+1;break}return t<=r?[0,0]:[r,t]},[je,Se,O,m,v,xe,M,L.map(function(e){return e.key}).join("_"),y]),m=(O=Object(He.a)(j,2))[0],v=O[1],Ce=Object(et.a)(function(){var e,t=S.get(0<arguments.length&&void 0!==arguments[0]?arguments[0]:o)||{width:0,height:0,left:0,right:0,top:0};f?(e=g,i?t.right<g?e=t.right:t.right+t.width>g+w&&(e=t.right+t.width-w):t.left<-g?e=-t.left:t.left+t.width>w-g&&(e=-(t.left+t.width-w)),te(0),ee(se(e))):(t.top<-(e=h)?e=-t.top:t.top+t.height>w-h&&(e=-(t.top+t.height-w)),ee(0),te(se(e)))}),Ee={},M=("top"===d||"bottom"===d?Ee[i?"marginRight":"marginLeft"]=Y:Ee.marginTop=Y,t.map(function(e,t){var n=e.key;return $e.createElement(nt,{id:B,prefixCls:r,key:n,tab:e,style:0===t?void 0:Ee,closable:e.closable,editable:G,active:n===o,renderWrapper:F,removeAriaLabel:null==s?void 0:s.removeAriaLabel,onClick:function(e){K(n,e)},onFocus:function(){Ce(n),ve(),p.current&&(i||(p.current.scrollLeft=0),p.current.scrollTop=0)}})})),Pe=(Object($e.useEffect)(function(){Oe()},[t.map(function(e){return e.key}).join("_")]),Ye(function(){var e=qe(U),t=qe(Z),n=qe(q),e=(ne([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]),qe(J)),t=(oe(e),qe(Q)),n=(ie(t),qe(b));ae([n[0]-e[0],n[1]-e[1]]),Oe()})),y=t.slice(0,m),j=t.slice(v+1),O=[].concat(Object(De.a)(y),Object(De.a)(j)),d=S.get(o),Y=Je({activeTabOffset:d,horizontal:f,rtl:i,indicatorSize:V}).style;Object($e.useEffect)(function(){Ce()},[o,k,x,Ke(d),Ke(S),f]),Object($e.useEffect)(function(){Pe()},[i]);var Ne,Te,Ie,ze,m=!!O.length,v="".concat(r,"-nav-wrap");return f?i?(Te=0<g,Ne=g!==x):(Ne=g<0,Te=g!==k):(Ie=h<0,ze=h!==k),$e.createElement(Be.a,{onResize:Pe},$e.createElement("div",{ref:Object(tt.e)(R,U),role:"tablist",className:Le()("".concat(r,"-nav"),A),style:D,onKeyDown:function(){ve()}},$e.createElement(Ze,{ref:Z,position:"left",extra:X,prefixCls:r}),$e.createElement(Be.a,{onResize:Pe},$e.createElement("div",{className:Le()(v,(y={},Object(Re.a)(y,"".concat(v,"-ping-left"),Ne),Object(Re.a)(y,"".concat(v,"-ping-right"),Te),Object(Re.a)(y,"".concat(v,"-ping-top"),Ie),Object(Re.a)(y,"".concat(v,"-ping-bottom"),ze),y)),ref:p},$e.createElement(Be.a,{onResize:Pe},$e.createElement("div",{ref:b,className:"".concat(r,"-nav-list"),style:{transform:"translate(".concat(g,"px, ").concat(h,"px)"),transition:$?"none":void 0}},M,$e.createElement(Ue,{ref:J,prefixCls:r,locale:s,editable:G,style:Object(_e.a)(Object(_e.a)({},0===M.length?void 0:Ee),{},{visibility:m?"hidden":null})}),$e.createElement("div",{className:Le()("".concat(r,"-ink-bar"),Object(Re.a)({},"".concat(r,"-ink-bar-animated"),W.inkBar)),style:Y}))))),$e.createElement(at,Object(Me.a)({},e,{removeAriaLabel:null==s?void 0:s.removeAriaLabel,ref:Q,prefixCls:r,tabs:O,className:!m&&re,tabMoving:!!$})),$e.createElement(Ze,{ref:q,position:"right",extra:X,prefixCls:r})))}),l=["renderTabBar"],c=["label","key"];function B(e){var t=e.renderTabBar,e=Object(R.a)(e,l),n=$e.useContext(Ae).tabs;return t?t(Object(_e.a)(Object(_e.a)({},e),{},{panes:n.map(function(e){var t=e.label,n=e.key,e=Object(R.a)(e,c);return $e.createElement(f,Object(Me.a)({tab:t,key:n,tabKey:n},e))})}),a):$e.createElement(a,e)}t(18);var W=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],H=0;var $=$e.forwardRef(function(e,t){var n=e.id,a=void 0===(a=e.prefixCls)?"rc-tabs":a,r=e.className,o=e.items,i=e.direction,l=e.activeKey,c=e.defaultActiveKey,s=e.editable,d=e.animated,u=void 0===(u=e.tabPosition)?"top":u,p=e.tabBarGutter,b=e.tabBarStyle,f=e.tabBarExtraContent,m=e.locale,g=e.moreIcon,h=e.moreTransitionName,v=e.destroyInactiveTabPane,y=e.renderTabBar,O=e.onChange,j=e.onTabClick,S=e.onTabScroll,w=e.getPopupContainer,k=e.popupClassName,x=e.indicatorSize,e=Object(R.a)(e,W),C=$e.useMemo(function(){return(o||[]).filter(function(e){return e&&"object"===Object(M.a)(e)&&"key"in e})},[o]),i="rtl"===i,d=function(e){var e=0<arguments.length&&void 0!==e?e:{inkBar:!0,tabPane:!1};return(e=!1===e?{inkBar:!1,tabPane:!1}:!0===e?{inkBar:!0,tabPane:!1}:Object(_e.a)({inkBar:!0},"object"===Object(M.a)(e)?e:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(d),E=Object($e.useState)(!1),P=(E=Object(He.a)(E,2))[0],N=E[1],E=(Object($e.useEffect)(function(){N(Object(A.a)())},[]),Object(_.a)(function(){var e;return null==(e=C[0])?void 0:e.key},{value:l,defaultValue:c})),T=(l=Object(He.a)(E,2))[0],I=l[1],c=Object($e.useState)(function(){return C.findIndex(function(e){return e.key===T})}),z=(E=Object(He.a)(c,2))[0],$=E[1],l=(Object($e.useEffect)(function(){var e,t=C.findIndex(function(e){return e.key===T});-1===t&&(t=Math.max(0,Math.min(z,C.length-1)),I(null==(e=C[t])?void 0:e.key)),$(t)},[C.map(function(e){return e.key}).join("_"),T,z]),Object(_.a)(null,{value:n})),E=(c=Object(He.a)(l,2))[0],L=c[1],l=(Object($e.useEffect)(function(){n||(L("rc-tabs-".concat(H)),H+=1)},[]),{id:E,activeKey:T,animated:d,tabPosition:u,rtl:i,mobile:P}),c=Object(_e.a)(Object(_e.a)({},l),{},{editable:s,locale:m,moreIcon:g,moreTransitionName:h,tabBarGutter:p,onTabClick:function(e,t){null!=j&&j(e,t);t=e!==T;I(e),t&&null!=O&&O(e)},onTabScroll:S,extra:f,style:b,panes:null,getPopupContainer:w,popupClassName:k,indicatorSize:x});return $e.createElement(Ae.Provider,{value:{tabs:C,prefixCls:a}},$e.createElement("div",Object(Me.a)({ref:t,id:n,className:Le()(a,"".concat(a,"-").concat(u),(E={},Object(Re.a)(E,"".concat(a,"-mobile"),P),Object(Re.a)(E,"".concat(a,"-editable"),s),Object(Re.a)(E,"".concat(a,"-rtl"),i),E),r)},e),$e.createElement(B,Object(Me.a)({},c,{renderTabBar:y})),$e.createElement(D,Object(Me.a)({destroyInactiveTabPane:v},l,{animated:d}))))}),L=t(43),X=t(40),G=t(51);const Y={motionAppear:!1,motionEnter:!0,motionLeave:!0};function F(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}var K=t(35),u=t(11),n=t(149),s=t(80),r=t(475);const p=e=>{var{componentCls:t,tabsCardPadding:n,cardHeight:a,cardGutter:r,itemHoverColor:o,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Object(u.f)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[t+"-nav-wrap"]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:"opacity "+e.motionDurationSlow,content:"''",pointerEvents:"none"}},[t+"-nav-list"]:{position:"relative",display:"flex",transition:"opacity "+e.motionDurationSlow},[t+"-nav-operations"]:{display:"flex",alignSelf:"stretch"},[t+"-nav-operations-hidden"]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[t+"-nav-more"]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[t+"-nav-add"]:Object.assign({minWidth:a,marginLeft:{_skip_check_:!0,value:r},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} `+l,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} `+e.motionEaseInOut,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:i}},Object(u.d)(e))},[t+"-extra-content"]:{flex:"none"},[t+"-ink-bar"]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),(e=>{var{componentCls:t,itemActiveColor:n,itemHoverColor:a,iconCls:r,tabsHorizontalItemMargin:o,horizontalItemPadding:i,itemSelectedColor:l,itemColor:c}=e,s=t+"-tab";return{[s]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},Object(u.d)(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:"all "+e.motionDurationSlow,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:a},[`&${s}-active ${s}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${s}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${s}-disabled ${s}-btn, &${s}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${s}-remove `+r]:{margin:0},[r]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[s+" + "+s]:{margin:{_skip_check_:!0,value:o}}}})(e)),{[t+"-content"]:{position:"relative",width:"100%"},[t+"-content-holder"]:{flex:"auto",minWidth:0,minHeight:0},[t+"-tabpane"]:{outline:"none","&-hidden":{display:"none"}}}),[t+"-centered"]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-nav-wrap"]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var V=Object(n.a)("Tabs",e=>{e=Object(s.b)(e,{tabsCardPadding:e.cardPadding||`${(e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${e.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${e.horizontalItemGutter}px`});return[(e=>{var{componentCls:t,cardPaddingSM:n,cardPaddingLG:a,horizontalItemPaddingSM:r,horizontalItemPaddingLG:o}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[t+"-tab"]:{padding:r,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[t+"-tab"]:{padding:o,fontSize:e.titleFontSizeLG}}}},[t+"-card"]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[t+"-tab"]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[t+"-tab"]:{padding:a}}}}}})(e),(e=>{var{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:a,cardGutter:r}=e;return{[t+"-rtl"]:{direction:"rtl",[t+"-nav"]:{[t+"-tab"]:{margin:{_skip_check_:!0,value:n},[t+"-tab:last-of-type"]:{marginLeft:{_skip_check_:!0,value:0}},[a]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:e.marginSM+"px"}},[t+"-tab-remove"]:{marginRight:{_skip_check_:!0,value:e.marginXS+"px"},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[a]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+`-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:r},marginLeft:{_skip_check_:!0,value:0}}}}},[t+"-dropdown-rtl"]:{direction:"rtl"},[t+"-menu-item"]:{[t+"-dropdown-rtl"]:{textAlign:{_skip_check_:!0,value:"right"}}}}})(e),(e=>{var{componentCls:t,margin:n,colorBorderSecondary:a,horizontalMargin:r,verticalItemPadding:o,verticalItemMargin:i}=e;return{[t+`-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} `+a,content:"''"},[t+"-ink-bar"]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},
9
+ ${t}-item-tail`]:{display:"none"},[`&${t}-reverse ${t}-item-pending`]:{[t+"-item-tail"]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${e.margin}px)`,borderInlineStart:e.tailWidth+"px dotted "+e.tailColor},[t+"-item-content"]:{minHeight:1.2*e.controlHeightLG}},[`&${t}-label`]:{[t+"-item-label"]:{position:"absolute",insetBlockStart:-(e.fontSize*e.lineHeight-e.fontSize)+e.tailWidth,width:`calc(50% - ${e.marginSM}px)`,textAlign:"end"},[t+"-item-right"]:{[t+"-item-label"]:{insetInlineStart:`calc(50% + ${e.marginSM}px)`,width:`calc(50% - ${e.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[t+"-item-head-custom"]:{transform:"translate(50%, -50%)"}}})}]},e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.wireframe?e.lineWidthBold:3*e.lineWidth,dotBg:e.colorBgContainer,itemPaddingBottom:1.25*e.padding})),O=e=>{var{prefixCls:t,className:n,color:a="blue",dot:r,pending:o=!1,label:i,children:l}=e,e=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["prefixCls","className","color","dot","pending","position","label","children"]),c=v.useContext(u.a)["getPrefixCls"],c=c("timeline",t),t=y()(c+"-item",{[c+"-item-pending"]:o},n),o=/blue|red|green|gray/.test(a||"")?void 0:a,n=y()(c+"-item-head",{[c+"-item-head-custom"]:!!r,[c+"-item-head-"+a]:!o});return v.createElement("li",Object.assign({},e,{className:t}),i&&v.createElement("div",{className:c+"-item-label"},i),v.createElement("div",{className:c+"-item-tail"}),v.createElement("div",{className:n,style:{borderColor:o,color:o}},r),v.createElement("div",{className:c+"-item-content"},l))},S=n(8),j=n(100),w=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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},b=e=>{var{prefixCls:i,className:t,pending:l=!1,items:n,rootClassName:a,reverse:c=!1,direction:r,hashId:o,pendingDot:s,mode:d=""}=e,e=w(e,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const u=Object(S.a)(n||[]),p="boolean"==typeof l?null:l,b=(l&&u.push({pending:!!l,dot:s||v.createElement(j.a,null),children:p}),c&&u.reverse(),u.length),f=i+"-item-last",m=u.filter(e=>!!e).map((e,t)=>{var n=t===b-2?f:"",a=t===b-1?f:"",r=e["className"],o=w(e,["className"]);return v.createElement(O,Object.assign({},o,{className:y()([r,!c&&l?n:a,(r=null!=(o=null==e?void 0:e.position)?o:"",n=t,"alternate"===d?"right"!==r&&("left"===r||n%2==0)?i+"-item-left":i+"-item-right":"left"===d?i+"-item-left":"right"===d||"right"===r?i+"-item-right":"")]),key:(null==e?void 0:e.key)||t}))}),g=u.some(e=>!(null==e||!e.label)),h=y()(i,{[i+"-pending"]:!!l,[i+"-reverse"]:!!c,[i+"-"+d]:!!d&&!g,[i+"-label"]:g,[i+"-rtl"]:"rtl"===r},t,a,o);return v.createElement("ul",Object.assign({},e,{className:h}),m)},f=n(33),a=e=>{var{getPrefixCls:t,direction:n,timeline:a}=v.useContext(u.a),{prefixCls:r,children:o,items:i,className:l,style:c}=e,e=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["prefixCls","children","items","className","style"]),t=t("timeline",r),[r,s]=p(t),i=(o=o,(i=i)&&Array.isArray(i)?i:Object(f.a)(o).map(e=>{var t;return Object.assign({children:null!=(t=null==(t=null==e?void 0:e.props)?void 0:t.children)?t:""},e.props)}));return r(v.createElement(b,Object.assign({},e,{className:y()(null==a?void 0:a.className,l),style:Object.assign(Object.assign({},null==a?void 0:a.style),c),prefixCls:t,direction:n,items:i,hashId:s})))},m=(a.Item=O,a),g=n(9),h=n(10),a=n(254);(t.default=i).defaultProps=a.b,i.propTypes=a.c},457:function(d,e,t){"use strict";t.r(e);function y(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null}function O(e){return void 0!==e?"".concat(e,"px"):void 0}var S=t(1),v=t.n(S),n=t(4),j=t.n(n),w=t(2),k=t(7),x=t(13),C=t(6),E=t(5),a=t(15),P=t(31),N=t(27),M=t(23),T=t(32),I=t(20);function R(e){function r(e){var e=i(e),t=null==(t=n.current)?void 0:t.querySelectorAll(".".concat(a,"-item"))[e];return(null==t?void 0:t.offsetParent)&&t}var a=e.prefixCls,n=e.containerRef,o=e.value,i=e.getValueIndex,t=e.motionName,l=e.onMotionStart,c=e.onMotionEnd,s=e.direction,d=S.useRef(null),e=S.useState(o),e=Object(k.a)(e,2),u=e[0],p=e[1],e=S.useState(null),e=Object(k.a)(e,2),b=e[0],f=e[1],e=S.useState(null),e=Object(k.a)(e,2),m=e[0],g=e[1],h=(Object(I.a)(function(){var e,t,n,a;u!==o&&(e=r(u),t=r(o),n=y(e),a=y(t),p(o),f(n),g(a),(e&&t?l:c)())},[o]),S.useMemo(function(){return O("rtl"===s?-(null==b?void 0:b.right):null==b?void 0:b.left)},[s,b])),v=S.useMemo(function(){return O("rtl"===s?-(null==m?void 0:m.right):null==m?void 0:m.left)},[s,m]);return b&&m?S.createElement(T.c,{visible:!0,motionName:t,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){f(null),g(null),c()}},function(e,t){var n=e.className,e=e.style,e=Object(E.a)(Object(E.a)({},e),{},{"--thumb-start-left":h,"--thumb-start-width":O(null==b?void 0:b.width),"--thumb-active-left":v,"--thumb-active-width":O(null==m?void 0:m.width)}),t={ref:Object(N.a)(d,t),style:e,className:j()("".concat(a,"-thumb"),n)};return S.createElement("div",t)}):null}var z=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"];function L(e){return e.map(function(e){var t;return"object"===Object(a.a)(e)&&null!==e?(t=void 0!==(t=e).title?t.title:"object"===Object(a.a)(t.label)||null==(t=t.label)?void 0:t.toString(),Object(E.a)(Object(E.a)({},e),{},{title:t})):{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}})}function $(e){var t=e.prefixCls,n=e.className,a=e.disabled,r=e.checked,o=e.label,i=e.title,l=e.value,c=e.onChange;return S.createElement("label",{className:j()(n,Object(C.a)({},"".concat(t,"-item-disabled"),a))},S.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:a,checked:r,onChange:function(e){a||c(e,l)}}),S.createElement("div",{className:"".concat(t,"-item-label"),title:i},o))}var n=S.forwardRef(function(e,t){function n(e,t){i||(h(t),null==s)||s(t)}var a=e.prefixCls,r=void 0===a?"rc-segmented":a,a=e.direction,o=e.options,i=e.disabled,l=e.defaultValue,c=e.value,s=e.onChange,d=e.className,d=void 0===d?"":d,u=e.motionName,u=void 0===u?"thumb-motion":u,e=Object(x.a)(e,z),p=S.useRef(null),b=S.useMemo(function(){return Object(N.a)(p,t)},[p,t]),f=S.useMemo(function(){return L(o)},[o]),m=Object(P.a)(null==(m=f[0])?void 0:m.value,{value:c,defaultValue:l}),c=Object(k.a)(m,2),g=c[0],h=c[1],l=S.useState(!1),m=Object(k.a)(l,2),v=m[0],y=m[1],c=Object(M.a)(e,["children"]);return S.createElement("div",Object(w.a)({},c,{className:j()(r,(l={},Object(C.a)(l,"".concat(r,"-rtl"),"rtl"===a),Object(C.a)(l,"".concat(r,"-disabled"),i),l),d),ref:b}),S.createElement("div",{className:"".concat(r,"-group")},S.createElement(R,{prefixCls:r,value:g,containerRef:p,motionName:"".concat(r,"-").concat(u),direction:a,getValueIndex:function(t){return f.findIndex(function(e){return e.value===t})},onMotionStart:function(){y(!0)},onMotionEnd:function(){y(!1)}}),f.map(function(e){return S.createElement($,Object(w.a)({},e,{key:e.value,prefixCls:r,className:j()(e.className,"".concat(r,"-item"),Object(C.a)({},"".concat(r,"-item-selected"),e.value===g&&!v)),checked:e.value===g,onChange:n,disabled:!!i||!!e.disabled}))})))}),A=(n.displayName="Segmented",n.defaultProps={options:[]},n),_=t(42),H=t(51),r=t(11),n=t(144),u=t(79);function o(e,t){return{[e+`, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function i(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}const p=Object.assign({overflow:"hidden"},r.h);function D(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}var G=Object(n.a)("Segmented",e=>{var{lineWidth:t,lineWidthBold:n,colorBgLayout:a}=e,n=Object(u.b)(e,{segmentedPadding:n,segmentedBgColor:a,segmentedPaddingHorizontal:e.controlPaddingHorizontal-t,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-t});return[{[e=(a=n).componentCls]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Object(r.f)(a)),{display:"inline-block",padding:a.segmentedPadding,color:a.itemColor,backgroundColor:a.segmentedBgColor,borderRadius:a.borderRadius,transition:`all ${a.motionDurationMid} `+a.motionEaseInOut,[e+"-group"]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${e}-rtl`]:{direction:"rtl"},[`&${e}-block`]:{display:"flex"},[`&${e}-block ${e}-item`]:{flex:1,minWidth:0},[e+"-item"]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${a.motionDurationMid} `+a.motionEaseInOut,borderRadius:a.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},i(a)),{color:a.itemSelectedColor}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:"background-color "+a.motionDurationMid,pointerEvents:"none"},[`&:hover:not(${e}-item-selected):not(${e}-item-disabled)`]:{color:a.itemHoverColor,"&::after":{backgroundColor:a.itemHoverBg}},[`&:active:not(${e}-item-selected):not(${e}-item-disabled)`]:{color:a.itemHoverColor,"&::after":{backgroundColor:a.itemActiveBg}},"&-label":Object.assign({minHeight:a.controlHeight-2*a.segmentedPadding,lineHeight:a.controlHeight-2*a.segmentedPadding+"px",padding:`0 ${a.segmentedPaddingHorizontal}px`},p),"&-icon + *":{marginInlineStart:a.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[e+"-thumb"]:Object.assign(Object.assign({},i(a)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:a.paddingXXS+"px 0",borderRadius:a.borderRadiusSM,[`& ~ ${e}-item:not(${e}-item-selected):not(${e}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${e}-lg`]:{borderRadius:a.borderRadiusLG,[e+"-item-label"]:{minHeight:a.controlHeightLG-2*a.segmentedPadding,lineHeight:a.controlHeightLG-2*a.segmentedPadding+"px",padding:`0 ${a.segmentedPaddingHorizontal}px`,fontSize:a.fontSizeLG},[e+`-item, ${e}-thumb`]:{borderRadius:a.borderRadius}},[`&${e}-sm`]:{borderRadius:a.borderRadiusSM,[e+"-item-label"]:{minHeight:a.controlHeightSM-2*a.segmentedPadding,lineHeight:a.controlHeightSM-2*a.segmentedPadding+"px",padding:`0 ${a.segmentedPaddingHorizontalSM}px`},[e+`-item, ${e}-thumb`]:{borderRadius:a.borderRadiusXS}}}),o(`&-disabled ${e}-item`,a)),o(e+"-item-disabled",a)),{[e+"-thumb-motion-appear-active"]:{transition:`transform ${a.motionDurationSlow} ${a.motionEaseInOut}, width ${a.motionDurationSlow} `+a.motionEaseInOut,willChange:"transform, width"}})}]},e=>{var{colorTextLabel:e,colorText:t,colorFillSecondary:n,colorBgElevated:a,colorFill:r}=e;return{itemColor:e,itemHoverColor:t,itemHoverBg:n,itemSelectedBg:a,itemActiveBg:r,itemSelectedColor:t}}),F=S.forwardRef((e,t)=>{const{prefixCls:n,className:a,rootClassName:r,block:o,options:i=[],size:l="middle",style:c}=e,s=D(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:d,direction:u,segmented:p}=S.useContext(_.a),b=d("segmented",n),[f,m]=G(b),g=Object(H.a)(l),h=S.useMemo(()=>i.map(e=>{var t,n,a;return"object"==typeof e&&null!=e&&e.icon?({icon:t,label:n}=e,a=D(e,["icon","label"]),Object.assign(Object.assign({},a),{label:S.createElement(S.Fragment,null,S.createElement("span",{className:b+"-item-icon"},t),n&&S.createElement("span",null,n))})):e}),[i,b]),v=j()(a,r,null==p?void 0:p.className,{[b+"-block"]:o,[b+"-sm"]:"small"===g,[b+"-lg"]:"large"===g},m),y=Object.assign(Object.assign({},null==p?void 0:p.style),c);return f(S.createElement(A,Object.assign({},s,{className:v,style:y,options:h,ref:t,prefixCls:b,direction:u})))}),Y=t(64),B=t(9),V=t(10),K=t(43),n=t(250);function l(e){return(l="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})(e)}function c(t,e){var n,a=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,n)),a}function W(a){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){var t,n;t=a,e=r[n=e],(n=function(){var e=function(e){if("object"!==l(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0===t)return String(e);t=t.call(e,"string");if("object"!==l(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}(n);return"symbol"===l(e)?e:String(e)}())in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(r,e))})}return a}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function s(r){var e=r.id,t=r.style,n=r.className,a=r.key,o=r.options,i=r.defaultValue,l=r.value,c=r.block,s=r.disabled,d=r.size,u=r.setProps,p=r.persistence,b=r.persisted_props,f=r.persistence_type,m=r.loading_state,g=r.batchPropsNames,h=(Object(S.useEffect)(function(){if(g&&0!==g.length){var e,t={},n=function(e,t){var n,a,r,o,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return r=!(a=!0),{s:function(){i=i.call(e)},n:function(){var e=i.next();return a=e.done,e},e:function(e){r=!0,n=e},f:function(){try{a||null==i.return||i.return()}finally{if(r)throw n}}};if(Array.isArray(e)||(i=function(e){var t;if(e)return"string"==typeof e?X(e,void 0):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?X(e,void 0):void 0}(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(g);try{for(n.s();!(e=n.n()).done;){var a=e.value;t[a]=r[a]}}catch(e){n.e(e)}finally{n.f()}u({batchPropsValues:t})}}),Object(S.useContext)(K.a)),o=o||[];return Object(S.useEffect)(function(){i&&!l&&u({value:i})},[]),v.a.createElement(F,{id:e,className:Object(B.isString)(n)?n:n?Object(V.a)(n):void 0,style:t,key:a,options:o.map(function(e){return W(W({},e),{},{icon:e.icon&&("fontawesome"===e.iconRenderer?v.a.createElement("i",{className:e.icon}):v.a.createElement(Y.a,{icon:e.icon}))})}),defaultValue:i,value:l,block:c,disabled:h&&!Object(B.isUndefined)(h.componentDisabled)?h.componentDisabled:s,size:h&&!Object(B.isUndefined)(h.componentSize)?h.componentSize:d,persistence:p,persisted_props:b,persistence_type:f,onChange:function(e){u({value:e})},"data-dash-is-loading":m&&m.is_loading||void 0})}(e.default=s).defaultProps=n.b,s.propTypes=n.c},535:function(e,t,n){"use strict";function a(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function r(e){var e=e.getBoundingClientRect(),t=document.documentElement;return{left:e.left+(window.pageXOffset||t.scrollLeft)-(t.clientLeft||document.body.clientLeft||0),top:e.top+(window.pageYOffset||t.scrollTop)-(t.clientTop||document.body.clientTop||0)}}n.d(t,"a",function(){return a}),n.d(t,"b",function(){return r})},670:function(e,t,n){function r(a){var r="",o=Object.keys(a);return o.forEach(function(e,t){var n=a[e];/[height|width]$/.test(e=i(e))&&"number"==typeof n&&(n+="px"),r+=!0===n?e:!1===n?"not "+e:"("+e+": "+n+")",t<o.length-1&&(r+=" and ")}),r}var i=n(671);e.exports=function(n){var a="";return"string"==typeof n?n:n instanceof Array?(n.forEach(function(e,t){a+=r(e),t<n.length-1&&(a+=", ")}),a):r(n)}},671:function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},672:function(e,t,n){e.exports=function(){"use strict";return function(g,e,h){g=g||{};var r=e.prototype,v={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function n(e,t,n,a){return r.fromToBase(e,t,n,a)}h.en.relativeTime=v,r.fromToBase=function(e,t,n,a,r){for(var o,i,l,c=n.$locale().relativeTime||v,s=g.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],d=s.length,u=0;u<d;u+=1){var p=s[u],b=(p.d&&(o=a?h(e).diff(n,p.d,!0):n.diff(e,p.d,!0)),(g.rounding||Math.round)(Math.abs(o))),f=0<o;if(b<=p.r||!p.r){var m=c[(p=b<=1&&0<u?s[u-1]:p).l];r&&(b=r(""+b)),i="string"==typeof m?m.replace("%d",b):m(b,t,p.l,f);break}}return t?i:"function"==typeof(l=f?c.future:c.past)?l(i):l.replace("%s",i)},r.to=function(e,t){return n(e,t,this,!0)},r.from=function(e,t){return n(e,t,this)};function t(e){return e.$u?h.utc():h()}r.toNow=function(e){return this.to(t(this),e)},r.fromNow=function(e){return this.from(t(this),e)}}}()},690:function(o,e,t){"use strict";var Re=t(1),M=t(39),T=t(161),I=t(469),n=t(4),ze=t.n(n),Le=t(2),$e=t(6),Ae=t(5),_e=t(7),L=t(15),$=t(13),H=t(147),A=t(31),m=t(32),He=Object(Re.createContext)(null),f=Re.forwardRef(function(e,t){var n=e.prefixCls,a=e.className,r=e.style,o=e.id,i=e.active,l=e.tabKey,e=e.children;return Re.createElement("div",{id:o&&"".concat(o,"-panel-").concat(l),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(l),"aria-hidden":!i,style:r,className:ze()(n,i&&"".concat(n,"-active"),a),ref:t},e)}),g=["key","forceRender","style","className","destroyInactiveTabPane"];function D(e){var c=e.id,s=e.activeKey,d=e.animated,t=e.tabPosition,u=e.destroyInactiveTabPane,e=Re.useContext(He),n=e.prefixCls,e=e.tabs,p=d.tabPane,b="".concat(n,"-tabpane");return Re.createElement("div",{className:ze()("".concat(n,"-content-holder"))},Re.createElement("div",{className:ze()("".concat(n,"-content"),"".concat(n,"-content-").concat(t),Object($e.a)({},"".concat(n,"-content-animated"),p))},e.map(function(e){var a=e.key,t=e.forceRender,r=e.style,o=e.className,n=e.destroyInactiveTabPane,i=Object($.a)(e,g),l=a===s;return Re.createElement(m.c,Object(Le.a)({key:a,visible:l,forceRender:t,removeOnLeave:!(!u&&!n),leavedClassName:"".concat(b,"-hidden")},d.tabPaneMotion),function(e,t){var n=e.style,e=e.className;return Re.createElement(f,Object(Le.a)({},i,{prefixCls:b,id:c,tabKey:a,animated:p,active:l,style:Object(Ae.a)(Object(Ae.a)({},r),n),className:ze()(o,e),ref:t}))})})))}function Je(e){function t(e){return"function"==typeof o?o(e):"number"==typeof o?o:e}var n=e.activeTabOffset,a=e.horizontal,r=e.rtl,o=e.indicatorSize,e=Object(Re.useState)(),i=(e=Object(_e.a)(e,2))[0],l=e[1],c=Object(Re.useRef)();function s(){d.a.cancel(c.current)}return Object(Re.useEffect)(function(){var e={};return n&&(a?(r?(e.right=n.right+n.width/2,e.transform="translateX(50%)"):(e.left=n.left+n.width/2,e.transform="translateX(-50%)"),e.width=t(n.width)):(e.top=n.top+n.height/2,e.transform="translateY(-50%)",e.height=t(n.height))),s(),c.current=Object(d.a)(function(){l(e)}),s},[n,a,r,o]),{style:i}}var De=t(8),Be=t(40),et=t(45),tt=t(27),d=t(24),We={width:0,height:0,left:0,top:0};function Xe(e,t){var n=Re.useRef(e),e=Re.useState({}),a=Object(_e.a)(e,2)[1];return[n.current,function(e){e="function"==typeof e?e(n.current):e;e!==n.current&&t(e,n.current),n.current=e,a({})}]}var Ge=Math.pow(.995,20),i=t(20);function Fe(e){var t=Object(Re.useState)(0),t=Object(_e.a)(t,2),n=t[0],a=t[1],r=Object(Re.useRef)(0),o=Object(Re.useRef)();return o.current=e,Object(i.b)(function(){var e;null!=(e=o.current)&&e.call(o)},[n]),function(){r.current===n&&(r.current+=1,a(r.current))}}var Ye={width:0,height:0,left:0,top:0,right:0};function Ve(e){var n;return e instanceof Map?(n={},e.forEach(function(e,t){n[t]=e})):n=e,JSON.stringify(n)}function Ke(e){return String(e).replace(/"/g,"TABS_DQ")}function C(e,t,n,a){return!(!n||a||!1===e||void 0===e&&(!1===t||null===t))}var Ue=Re.forwardRef(function(e,t){var n=e.prefixCls,a=e.editable,r=e.locale,e=e.style;return a&&!1!==a.showAdd?Re.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:e,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){a.onEdit("add",{event:e})}},a.addIcon||"+"):null}),Qe=Re.forwardRef(function(e,t){var n,a,r=e.position,o=e.prefixCls,e=e.extra;return e&&(a={},"object"!==Object(L.a)(e)||Re.isValidElement(e)?a.right=e:a=e,"right"===r&&(n=a.right),n="left"===r?a.left:n)?Re.createElement("div",{className:"".concat(o,"-extra-content"),ref:t},n):null}),N=t(300),E=t(69),P=t(16);function nt(e){var t=e.prefixCls,n=e.id,a=e.active,r=(l=e.tab).key,o=l.label,i=l.disabled,l=l.closeIcon,c=e.closable,s=e.renderWrapper,d=e.removeAriaLabel,u=e.editable,p=e.onClick,b=e.onFocus,e=e.style,t="".concat(t,"-tab"),c=C(c,l,u,i);function f(e){i||p(e)}var m=Re.createElement("div",{key:r,"data-node-key":Ke(r),className:ze()(t,(m={},Object($e.a)(m,"".concat(t,"-with-remove"),c),Object($e.a)(m,"".concat(t,"-active"),a),Object($e.a)(m,"".concat(t,"-disabled"),i),m)),style:e,onClick:f},Re.createElement("div",{role:"tab","aria-selected":a,id:n&&"".concat(n,"-tab-").concat(r),className:"".concat(t,"-btn"),"aria-controls":n&&"".concat(n,"-panel-").concat(r),"aria-disabled":i,tabIndex:i?null:0,onClick:function(e){e.stopPropagation(),f(e)},onKeyDown:function(e){[P.a.SPACE,P.a.ENTER].includes(e.which)&&(e.preventDefault(),f(e))},onFocus:b},o),c&&Re.createElement("button",{type:"button","aria-label":d||"remove",tabIndex:0,className:"".concat(t,"-remove"),onClick:function(e){e.stopPropagation(),(e=e).preventDefault(),e.stopPropagation(),u.onEdit("remove",{key:r,event:e})}},l||u.removeIcon||"×"));return s?s(m):m}function Ze(e){var t=e.current||{},n=void 0===(n=t.offsetWidth)?0:n,t=void 0===(t=t.offsetHeight)?0:t;if(e.current){var e=e.current.getBoundingClientRect(),a=e.width,e=e.height;if(Math.abs(a-n)<1)return[a,e]}return[n,t]}function qe(e,t){return e[t?0:1]}var at=Re.memo(Re.forwardRef(function(e,t){var n=e.prefixCls,o=e.id,i=e.tabs,a=e.locale,r=e.mobile,l=void 0===(l=e.moreIcon)?"More":l,c=e.moreTransitionName,s=e.style,d=e.className,u=e.editable,p=e.tabBarGutter,b=e.rtl,f=e.removeAriaLabel,m=e.onTabClick,g=e.getPopupContainer,e=e.popupClassName,h=Object(Re.useState)(!1),v=(h=Object(_e.a)(h,2))[0],y=h[1],h=Object(Re.useState)(null),O=(h=Object(_e.a)(h,2))[0],S=h[1],j="".concat(o,"-more-popup"),w="".concat(n,"-dropdown"),k=null!==O?"".concat(j,"-").concat(O):null,h=null==a?void 0:a.dropdownAriaLabel,h=Re.createElement(E.f,{onClick:function(e){var t=e.key,e=e.domEvent;m(t,e),y(!1)},prefixCls:"".concat(w,"-menu"),id:j,tabIndex:-1,role:"listbox","aria-activedescendant":k,selectedKeys:[O],"aria-label":void 0!==h?h:"expanded dropdown"},i.map(function(e){var t=e.closable,n=e.disabled,a=e.closeIcon,r=e.key,e=e.label,t=C(t,a,u,n);return Re.createElement(E.d,{key:r,id:"".concat(j,"-").concat(r),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(r),disabled:n},Re.createElement("span",null,e),t&&Re.createElement("button",{type:"button","aria-label":f||"remove",tabIndex:0,className:"".concat(w,"-menu-item-remove"),onClick:function(e){var t;e.stopPropagation(),t=r,(e=e).preventDefault(),e.stopPropagation(),u.onEdit("remove",{key:t,event:e})}},a||u.removeIcon||"×"))}));function x(e){for(var t=i.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===O})||0,a=t.length,r=0;r<a;r+=1){var o=t[n=(n+e+a)%a];if(!o.disabled)return S(o.key)}}return Object(Re.useEffect)(function(){var e=document.getElementById(k);e&&e.scrollIntoView&&e.scrollIntoView(!1)},[O]),Object(Re.useEffect)(function(){v||S(null)},[v]),p=Object($e.a)({},b?"marginRight":"marginLeft",p),i.length||(p.visibility="hidden",p.order=1),b=ze()(Object($e.a)({},"".concat(w,"-rtl"),b)),r=r?null:Re.createElement(N.a,{prefixCls:w,overlay:h,trigger:["hover"],visible:!!i.length&&v,transitionName:c,onVisibleChange:y,overlayClassName:ze()(b,e),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:g},Re.createElement("button",{type:"button",className:"".concat(n,"-nav-more"),style:p,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":j,id:"".concat(o,"-more"),"aria-expanded":v,onKeyDown:function(e){var t=e.which;if(v)switch(t){case P.a.UP:x(-1),e.preventDefault();break;case P.a.DOWN:x(1),e.preventDefault();break;case P.a.ESC:y(!1);break;case P.a.SPACE:case P.a.ENTER:null!==O&&m(O,e)}else[P.a.DOWN,P.a.SPACE,P.a.ENTER].includes(t)&&(y(!0),e.preventDefault())}},l)),Re.createElement("div",{className:ze()("".concat(n,"-nav-operations"),d),style:s,ref:t},r,Re.createElement(Ue,{prefixCls:n,locale:a,editable:u}))}),function(e,t){return t.tabMoving});var a=Re.forwardRef(function(e,$){var l,c,n,A,a,_,r=(H=Re.useContext(He)).prefixCls,t=H.tabs,H=e.className,D=e.style,B=e.id,W=e.animated,o=e.activeKey,i=e.rtl,X=e.extra,G=e.editable,s=e.locale,d=e.tabPosition,F=e.tabBarGutter,Y=e.children,V=e.onTabClick,u=e.onTabScroll,K=e.indicatorSize,U=Object(Re.useRef)(),Q=Object(Re.useRef)(),Z=Object(Re.useRef)(),p=Object(Re.useRef)(),b=Object(Re.useRef)(),q=Object(Re.useRef)(),J=Object(Re.useRef)(),f="top"===d||"bottom"===d,m=Xe(0,function(e,t){f&&u&&u({direction:t<e?"left":"right"})}),g=(m=Object(_e.a)(m,2))[0],ee=m[1],m=Xe(0,function(e,t){!f&&u&&u({direction:t<e?"top":"bottom"})}),h=(m=Object(_e.a)(m,2))[0],te=m[1],m=Object(Re.useState)([0,0]),v=(m=Object(_e.a)(m,2))[0],ne=m[1],m=Object(Re.useState)([0,0]),y=(m=Object(_e.a)(m,2))[0],ae=m[1],m=Object(Re.useState)([0,0]),re=(m=Object(_e.a)(m,2))[0],oe=m[1],m=Object(Re.useState)([0,0]),O=(m=Object(_e.a)(m,2))[0],ie=m[1],S=(m=new Map,n=Object(Re.useRef)([]),S=Object(Re.useState)({}),A=Object(_e.a)(S,2)[1],a=Object(Re.useRef)("function"==typeof m?m():m),_=Fe(function(){var t=a.current;n.current.forEach(function(e){t=e(t)}),n.current=[],a.current=t,A({})}),[a.current,function(e){n.current.push(e),_()}]),S=(m=Object(_e.a)(S,2))[0],le=m[1],j=(l=t,c=S,m=y[0],Object(Re.useMemo)(function(){for(var e=new Map,t=c.get(null==(t=l[0])?void 0:t.key)||We,n=t.left+t.width,a=0;a<l.length;a+=1){var r=l[a].key,o=(o=c.get(r))||c.get(null==(i=l[a-1])?void 0:i.key)||We,i=e.get(r)||Object(Ae.a)({},o);i.right=n-i.left-i.width,e.set(r,i)}return e},[l.map(function(e){return e.key}).join("_"),c,m])),S=qe(v,f),m=qe(y,f),v=qe(re,f),y=qe(O,f),ce=S<m+v,w=ce?S-y:S-v,re="".concat(r,"-nav-operations-hidden"),k=0,x=0;function se(e){return e<k?k:x<e?x:e}var de,C,E,P,ue,pe,be,fe,N,me,M,T,I,x=f&&i?(k=0,Math.max(0,m-w)):(k=Math.min(0,w-m),0),ge=Object(Re.useRef)(),O=Object(Re.useState)(),R=(S=Object(_e.a)(O,2))[0],he=S[1];function ve(){he(Date.now())}function ye(){window.clearTimeout(ge.current)}function Oe(){le(function(){var e,d=new Map,u=null==(e=b.current)?void 0:e.getBoundingClientRect();return t.forEach(function(e){var t,n,a,r,o,i,l,c,e=e.key,s=null==(s=b.current)?void 0:s.querySelector('[data-node-key="'.concat(Ke(e),'"]'));s&&(t=u,n=(s=s).offsetWidth,a=s.offsetHeight,r=s.offsetTop,o=s.offsetLeft,s=s.getBoundingClientRect(),i=s.width,l=s.height,c=s.x,s=s.y,i=Math.abs(i-n)<1?[i,l,c-t.x,s-t.y]:[n,a,o,r],c=(l=Object(_e.a)(i,4))[0],s=l[1],t=l[2],n=l[3],d.set(e,{width:c,height:s,left:t,top:n}))}),d})}de=p,C=function(e,t){function n(e,t){e(function(e){return se(e+t)})}return ce&&(f?n(ee,e):n(te,t),ye(),ve(),1)},O=Object(Re.useState)(),O=Object(_e.a)(O,2),E=O[0],P=O[1],O=Object(Re.useState)(0),O=Object(_e.a)(O,2),ue=O[0],pe=O[1],O=Object(Re.useState)(0),O=Object(_e.a)(O,2),be=O[0],fe=O[1],O=Object(Re.useState)(),O=Object(_e.a)(O,2),N=O[0],me=O[1],M=Object(Re.useRef)(),T=Object(Re.useRef)(),(I=Object(Re.useRef)(null)).current={onTouchStart:function(e){var e=e.touches[0],t=e.screenX,e=e.screenY;P({x:t,y:e}),window.clearInterval(M.current)},onTouchMove:function(e){var t,n;E&&(e.preventDefault(),t=(e=e.touches[0]).screenX,e=e.screenY,P({x:t,y:e}),t=t-E.x,e=e-E.y,C(t,e),n=Date.now(),pe(n),fe(n-ue),me({x:t,y:e}))},onTouchEnd:function(){var e,t,n,a,r,o;E&&(P(null),me(null),N)&&(e=N.x/be,t=N.y/be,n=Math.abs(e),a=Math.abs(t),Math.max(n,a)<.1||(r=e,o=t,M.current=window.setInterval(function(){Math.abs(r)<.01&&Math.abs(o)<.01?window.clearInterval(M.current):C(20*(r*=Ge),20*(o*=Ge))},20)))},onWheel:function(e){var t=e.deltaX,n=e.deltaY,a=0,r=Math.abs(t),o=Math.abs(n);r===o?a="x"===T.current?t:n:o<r?(a=t,T.current="x"):(a=n,T.current="y"),C(-a,-a)&&e.preventDefault()}},Re.useEffect(function(){function e(e){I.current.onTouchMove(e)}function t(e){I.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!1}),de.current.addEventListener("touchstart",function(e){I.current.onTouchStart(e)},{passive:!1}),de.current.addEventListener("wheel",function(e){I.current.onWheel(e)}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),Object(Re.useEffect)(function(){return ye(),R&&(ge.current=window.setTimeout(function(){he(0)},100)),ye},[R]),Se=j,je=w,S=f?g:h,O=m,m=v,v=y,y=Object(Ae.a)(Object(Ae.a)({},e),{},{tabs:t}),z=y.tabs,L=y.tabPosition,y=y.rtl,xe=["top","bottom"].includes(L)?(we="width",ke=y?"right":"left",Math.abs(S)):(we="height",ke="top",-S);var Se,je,we,ke,z,xe,S=Object(Re.useMemo)(function(){if(!z.length)return[0,0];for(var e=z.length,t=e,n=0;n<e;n+=1){var a=Se.get(z[n].key)||Ye;if(a[ke]+a[we]>xe+je){t=n-1;break}}for(var r=0,o=e-1;0<=o;--o)if((Se.get(z[o].key)||Ye)[ke]<xe){r=o+1;break}return t<=r?[0,0]:[r,t]},[Se,je,O,m,v,xe,L,z.map(function(e){return e.key}).join("_"),y]),m=(O=Object(_e.a)(S,2))[0],v=O[1],Ce=Object(et.a)(function(){var e,t=j.get(0<arguments.length&&void 0!==arguments[0]?arguments[0]:o)||{width:0,height:0,left:0,right:0,top:0};f?(e=g,i?t.right<g?e=t.right:t.right+t.width>g+w&&(e=t.right+t.width-w):t.left<-g?e=-t.left:t.left+t.width>w-g&&(e=-(t.left+t.width-w)),te(0),ee(se(e))):(t.top<-(e=h)?e=-t.top:t.top+t.height>w-h&&(e=-(t.top+t.height-w)),ee(0),te(se(e)))}),Ee={},L=("top"===d||"bottom"===d?Ee[i?"marginRight":"marginLeft"]=F:Ee.marginTop=F,t.map(function(e,t){var n=e.key;return Re.createElement(nt,{id:B,prefixCls:r,key:n,tab:e,style:0===t?void 0:Ee,closable:e.closable,editable:G,active:n===o,renderWrapper:Y,removeAriaLabel:null==s?void 0:s.removeAriaLabel,onClick:function(e){V(n,e)},onFocus:function(){Ce(n),ve(),p.current&&(i||(p.current.scrollLeft=0),p.current.scrollTop=0)}})})),Pe=(Object(Re.useEffect)(function(){Oe()},[t.map(function(e){return e.key}).join("_")]),Fe(function(){var e=Ze(U),t=Ze(Q),n=Ze(Z),e=(ne([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]),Ze(J)),t=(oe(e),Ze(q)),n=(ie(t),Ze(b));ae([n[0]-e[0],n[1]-e[1]]),Oe()})),y=t.slice(0,m),S=t.slice(v+1),O=[].concat(Object(De.a)(y),Object(De.a)(S)),d=j.get(o),F=Je({activeTabOffset:d,horizontal:f,rtl:i,indicatorSize:K}).style;Object(Re.useEffect)(function(){Ce()},[o,k,x,Ve(d),Ve(j),f]),Object(Re.useEffect)(function(){Pe()},[i]);var Ne,Me,Te,Ie,m=!!O.length,v="".concat(r,"-nav-wrap");return f?i?(Me=0<g,Ne=g!==x):(Ne=g<0,Me=g!==k):(Te=h<0,Ie=h!==k),Re.createElement(Be.a,{onResize:Pe},Re.createElement("div",{ref:Object(tt.e)($,U),role:"tablist",className:ze()("".concat(r,"-nav"),H),style:D,onKeyDown:function(){ve()}},Re.createElement(Qe,{ref:Q,position:"left",extra:X,prefixCls:r}),Re.createElement(Be.a,{onResize:Pe},Re.createElement("div",{className:ze()(v,(y={},Object($e.a)(y,"".concat(v,"-ping-left"),Ne),Object($e.a)(y,"".concat(v,"-ping-right"),Me),Object($e.a)(y,"".concat(v,"-ping-top"),Te),Object($e.a)(y,"".concat(v,"-ping-bottom"),Ie),y)),ref:p},Re.createElement(Be.a,{onResize:Pe},Re.createElement("div",{ref:b,className:"".concat(r,"-nav-list"),style:{transform:"translate(".concat(g,"px, ").concat(h,"px)"),transition:R?"none":void 0}},L,Re.createElement(Ue,{ref:J,prefixCls:r,locale:s,editable:G,style:Object(Ae.a)(Object(Ae.a)({},0===L.length?void 0:Ee),{},{visibility:m?"hidden":null})}),Re.createElement("div",{className:ze()("".concat(r,"-ink-bar"),Object($e.a)({},"".concat(r,"-ink-bar-animated"),W.inkBar)),style:F}))))),Re.createElement(at,Object(Le.a)({},e,{removeAriaLabel:null==s?void 0:s.removeAriaLabel,ref:q,prefixCls:r,tabs:O,className:!m&&re,tabMoving:!!R})),Re.createElement(Qe,{ref:Z,position:"right",extra:X,prefixCls:r})))}),l=["renderTabBar"],c=["label","key"];function B(e){var t=e.renderTabBar,e=Object($.a)(e,l),n=Re.useContext(He).tabs;return t?t(Object(Ae.a)(Object(Ae.a)({},e),{},{panes:n.map(function(e){var t=e.label,n=e.key,e=Object($.a)(e,c);return Re.createElement(f,Object(Le.a)({tab:t,key:n,tabKey:n},e))})}),a):Re.createElement(a,e)}t(18);var W=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],_=0;var R=Re.forwardRef(function(e,t){var n=e.id,a=void 0===(a=e.prefixCls)?"rc-tabs":a,r=e.className,o=e.items,i=e.direction,l=e.activeKey,c=e.defaultActiveKey,s=e.editable,d=e.animated,u=void 0===(u=e.tabPosition)?"top":u,p=e.tabBarGutter,b=e.tabBarStyle,f=e.tabBarExtraContent,m=e.locale,g=e.moreIcon,h=e.moreTransitionName,v=e.destroyInactiveTabPane,y=e.renderTabBar,O=e.onChange,S=e.onTabClick,j=e.onTabScroll,w=e.getPopupContainer,k=e.popupClassName,x=e.indicatorSize,e=Object($.a)(e,W),C=Re.useMemo(function(){return(o||[]).filter(function(e){return e&&"object"===Object(L.a)(e)&&"key"in e})},[o]),i="rtl"===i,d=function(e){var e=0<arguments.length&&void 0!==e?e:{inkBar:!0,tabPane:!1};return(e=!1===e?{inkBar:!1,tabPane:!1}:!0===e?{inkBar:!0,tabPane:!1}:Object(Ae.a)({inkBar:!0},"object"===Object(L.a)(e)?e:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(d),E=Object(Re.useState)(!1),P=(E=Object(_e.a)(E,2))[0],N=E[1],E=(Object(Re.useEffect)(function(){N(Object(H.a)())},[]),Object(A.a)(function(){var e;return null==(e=C[0])?void 0:e.key},{value:l,defaultValue:c})),M=(l=Object(_e.a)(E,2))[0],T=l[1],c=Object(Re.useState)(function(){return C.findIndex(function(e){return e.key===M})}),I=(E=Object(_e.a)(c,2))[0],R=E[1],l=(Object(Re.useEffect)(function(){var e,t=C.findIndex(function(e){return e.key===M});-1===t&&(t=Math.max(0,Math.min(I,C.length-1)),T(null==(e=C[t])?void 0:e.key)),R(t)},[C.map(function(e){return e.key}).join("_"),M,I]),Object(A.a)(null,{value:n})),E=(c=Object(_e.a)(l,2))[0],z=c[1],l=(Object(Re.useEffect)(function(){n||(z("rc-tabs-".concat(_)),_+=1)},[]),{id:E,activeKey:M,animated:d,tabPosition:u,rtl:i,mobile:P}),c=Object(Ae.a)(Object(Ae.a)({},l),{},{editable:s,locale:m,moreIcon:g,moreTransitionName:h,tabBarGutter:p,onTabClick:function(e,t){null!=S&&S(e,t);t=e!==M;T(e),t&&null!=O&&O(e)},onTabScroll:j,extra:f,style:b,panes:null,getPopupContainer:w,popupClassName:k,indicatorSize:x});return Re.createElement(He.Provider,{value:{tabs:C,prefixCls:a}},Re.createElement("div",Object(Le.a)({ref:t,id:n,className:ze()(a,"".concat(a,"-").concat(u),(E={},Object($e.a)(E,"".concat(a,"-mobile"),P),Object($e.a)(E,"".concat(a,"-editable"),s),Object($e.a)(E,"".concat(a,"-rtl"),i),E),r)},e),Re.createElement(B,Object(Le.a)({},c,{renderTabBar:y})),Re.createElement(D,Object(Le.a)({destroyInactiveTabPane:v},l,{animated:d}))))}),z=t(42),X=t(51),G=t(48);const F={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Y(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}var V=t(33),u=t(11),n=t(144),s=t(79),r=t(479);const p=e=>{var{componentCls:t,tabsCardPadding:n,cardHeight:a,cardGutter:r,itemHoverColor:o,itemActiveColor:i,colorBorderSecondary:l}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Object(u.f)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[t+"-nav-wrap"]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:"opacity "+e.motionDurationSlow,content:"''",pointerEvents:"none"}},[t+"-nav-list"]:{position:"relative",display:"flex",transition:"opacity "+e.motionDurationSlow},[t+"-nav-operations"]:{display:"flex",alignSelf:"stretch"},[t+"-nav-operations-hidden"]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[t+"-nav-more"]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[t+"-nav-add"]:Object.assign({minWidth:a,marginLeft:{_skip_check_:!0,value:r},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} `+l,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} `+e.motionEaseInOut,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:i}},Object(u.d)(e))},[t+"-extra-content"]:{flex:"none"},[t+"-ink-bar"]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),(e=>{var{componentCls:t,itemActiveColor:n,itemHoverColor:a,iconCls:r,tabsHorizontalItemMargin:o,horizontalItemPadding:i,itemSelectedColor:l,itemColor:c}=e,s=t+"-tab";return{[s]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},Object(u.d)(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:"all "+e.motionDurationSlow,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:a},[`&${s}-active ${s}-btn`]:{color:l,textShadow:e.tabsActiveTextShadow},[`&${s}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${s}-disabled ${s}-btn, &${s}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${s}-remove `+r]:{margin:0},[r]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[s+" + "+s]:{margin:{_skip_check_:!0,value:o}}}})(e)),{[t+"-content"]:{position:"relative",width:"100%"},[t+"-content-holder"]:{flex:"auto",minWidth:0,minHeight:0},[t+"-tabpane"]:{outline:"none","&-hidden":{display:"none"}}}),[t+"-centered"]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-nav-wrap"]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var K=Object(n.a)("Tabs",e=>{e=Object(s.b)(e,{tabsCardPadding:e.cardPadding||`${(e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${e.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${e.horizontalItemGutter}px`});return[(e=>{var{componentCls:t,cardPaddingSM:n,cardPaddingLG:a,horizontalItemPaddingSM:r,horizontalItemPaddingLG:o}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[t+"-tab"]:{padding:r,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[t+"-tab"]:{padding:o,fontSize:e.titleFontSizeLG}}}},[t+"-card"]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[t+"-tab"]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[t+"-tab"]:{padding:a}}}}}})(e),(e=>{var{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:a,cardGutter:r}=e;return{[t+"-rtl"]:{direction:"rtl",[t+"-nav"]:{[t+"-tab"]:{margin:{_skip_check_:!0,value:n},[t+"-tab:last-of-type"]:{marginLeft:{_skip_check_:!0,value:0}},[a]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:e.marginSM+"px"}},[t+"-tab-remove"]:{marginRight:{_skip_check_:!0,value:e.marginXS+"px"},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[a]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+`-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:r},marginLeft:{_skip_check_:!0,value:0}}}}},[t+"-dropdown-rtl"]:{direction:"rtl"},[t+"-menu-item"]:{[t+"-dropdown-rtl"]:{textAlign:{_skip_check_:!0,value:"right"}}}}})(e),(e=>{var{componentCls:t,margin:n,colorBorderSecondary:a,horizontalMargin:r,verticalItemPadding:o,verticalItemMargin:i}=e;return{[t+`-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} `+a,content:"''"},[t+"-ink-bar"]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},
10
10
  right `+e.motionDurationSlow}},[t+"-nav-wrap"]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[t+"-top"]:{[`> ${t}-nav,
11
- > div > ${t}-nav`]:{"&::before":{bottom:0},[t+"-ink-bar"]:{bottom:0}}},[t+"-bottom"]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n+"px",marginBottom:0,"&::before":{top:0},[t+"-ink-bar"]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[t+`-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:1.25*e.controlHeight,[t+"-tab"]:{padding:o,textAlign:"center"},[t+`-tab + ${t}-tab`]:{margin:i},[t+"-nav-wrap"]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[t+"-ink-bar"]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top `+e.motionDurationSlow}},[t+`-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[t+"-left"]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-ink-bar"]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} `+e.colorBorder},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[t+"-right"]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[t+"-ink-bar"]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} `+e.colorBorder},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}})(e),(e=>{var{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:a}=e;return{[t+"-dropdown"]:Object.assign(Object.assign({},Object(u.f)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[t+"-dropdown-menu"]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:a+"px 0",overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},u.h),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:"all "+e.motionDurationSlow,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}})(e),(e=>{var{componentCls:t,tabsCardPadding:n,cardBg:a,cardGutter:r,colorBorderSecondary:o,itemSelectedColor:i}=e;return{[t+"-card"]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-tab"]:{margin:0,padding:n,background:a,border:`${e.lineWidth}px ${e.lineType} `+o,transition:`all ${e.motionDurationSlow} `+e.motionEaseInOut},[t+"-tab-active"]:{color:i,background:e.colorBgContainer},[t+"-ink-bar"]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+`-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:r+"px"}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-tab"]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[t+"-tab-active"]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-tab"]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[t+"-tab-active"]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+`-tab + ${t}-tab`]:{marginTop:r+"px"}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-tab"]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[t+"-tab-active"]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-tab"]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[t+"-tab-active"]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}})(e),p(e),(e=>{var{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[t+"-switch"]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:"opacity "+n}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:"opacity "+n}}}}},[Object(r.a)(e,"slide-up"),Object(r.a)(e,"slide-down")]]})(e)]},e=>{var t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:"",cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:e.paddingSM+"px 0",horizontalItemPaddingSM:e.paddingXS+"px 0",horizontalItemPaddingLG:e.padding+"px 0",verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:e.margin+"px 0 0 0",itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),t=e=>{const{type:t,className:n,rootClassName:a,size:r,onEdit:o,hideAdd:i,centered:l,addIcon:c,popupClassName:s,children:d,items:u,animated:p,style:b,indicatorSize:f}=e,m=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:g,moreIcon:h=$e.createElement(I.a,null)}=m,{direction:v,tabs:y,getPrefixCls:O,getPopupContainer:j}=$e.useContext(L.a),S=O("tabs",g),[w,k]=V(S);let x;"editable-card"===t&&(x={onEdit:(e,t)=>{var{key:t,event:n}=t;null!=o&&o("add"===e?n:t,e)},removeIcon:$e.createElement(T.a,null),addIcon:c||$e.createElement(z.a,null),showAdd:!0!==i});var e=O(),C=(C=d,u||Object(K.a)(C).map(e=>{if($e.isValidElement(e)){const{key:t,props:n}=e,$e=n||{},{tab:a}=$e,r=F($e,["tab"]);return Object.assign(Object.assign({key:String(t)},r),{label:a})}return null}).filter(e=>e)),E=function(e,t){t=1<arguments.length&&void 0!==t?t:{inkBar:!0,tabPane:!1},t=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof t?t:{});return t.tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},Y),{motionName:Object(G.b)(e,"switch")})),t}(S,p),P=Object(X.a)(r),N=Object.assign(Object.assign({},null==y?void 0:y.style),b);return w($e.createElement($,Object.assign({direction:v,getPopupContainer:j,moreTransitionName:e+"-slide-up"},m,{items:C,className:Le()({[S+"-"+P]:P,[S+"-card"]:["card","editable-card"].includes(t),[S+"-editable-card"]:"editable-card"===t,[S+"-centered"]:l},null==y?void 0:y.className,n,a,k),popupClassName:Le()(s,k),style:N,editable:x,moreIcon:h,prefixCls:S,animated:E,indicatorSize:null!=f?f:null==y?void 0:y.indicatorSize})))};t.TabPane=()=>null,e.a=t},706:function(c,e,t){"use strict";var ae=t(0),re=t.n(ae),O=t(267),n=t(4),oe=t.n(n),ie=t(2),le=t(6),ce=t(5),se=t(7),Y=t(14),de=t(12),ue=t(533),F=t(28),K=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],pe=ae.createContext(null),Z=0;function V(e){function t(){i("normal")}var a=e.src,n=e.isCustomPlaceholder,e=e.fallback,r=Object(ae.useState)(n?"loading":"normal"),r=Object(se.a)(r,2),o=r[0],i=r[1],l=Object(ae.useRef)(!1),c="error"===o;Object(ae.useEffect)(function(){var n,t=!0;return n=a,new Promise(function(e){var t=document.createElement("img");t.onerror=function(){return e(!1)},t.onload=function(){return e(!0)},t.src=n}).then(function(e){!e&&t&&i("error")}),function(){t=!1}},[a]),Object(ae.useEffect)(function(){n&&!l.current?i("loading"):c&&i("normal")},[a]);return[function(e){l.current=!1,"loading"===o&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(l.current=!0,t())},c&&e?{src:e}:{onLoad:t,src:a},o]}var he=t(162),be=t(532),fe=t(16),ve=t(18);function me(e,t,n,a){var r=t+n,o=(n-a)/2;if(a<n){if(0<t)return Object(ce.a)({},e,o);if(t<0&&r<a)return Object(ce.a)({},e,-o)}else if(t<0||a<r)return Object(ce.a)({},e,t<0?o:-o);return{}}function U(e){var R,p,b,a,r,o,f,t,n=e.prefixCls,_=e.src,H=e.alt,A=e.fallback,i=void 0===(l=e.movable)||l,l=e.onClose,c=e.visible,s=void 0===(s=e.icons)?{}:s,D=e.rootClassName,B=e.closeIcon,W=e.getContainer,d=void 0===(m=e.current)?0:m,u=void 0===(m=e.count)?1:m,m=e.countRender,g=void 0===(h=e.scaleStep)?.5:h,h=void 0===(h=e.minScale)?1:h,v=void 0===(v=e.maxScale)?50:v,y=void 0===(y=e.transitionName)?"zoom":y,O=void 0===(O=e.maskTransitionName)?"fade":O,X=e.imageRender,j=e.imgCommonProps,G=e.toolbarRender,S=e.onTransform,w=e.onChange,Y=Object(de.a)(e,Se),k=Object(ae.useRef)(),x=Object(ae.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),C=Object(ae.useState)(!1),E=(C=Object(se.a)(C,2))[0],F=C[1],P=(C=Object(ae.useContext)(pe))&&1<u,K=C&&1<=u;R=k,p=h,b=v,a=S,r=Object(ae.useRef)(null),o=Object(ae.useRef)([]),S=Object(ae.useState)(ge),S=Object(se.a)(S,2),f=S[0],t=S[1];var N=(S={transform:f,resetTransform:function(e){t(ge),a&&!Object(ye.a)(ge,f)&&a({transform:ge,action:e})},updateTransform:q,dispatchZoomChange:function(e,t,n,a){var r=R.current,o=r.width,i=r.height,l=r.offsetWidth,c=r.offsetHeight,s=r.offsetLeft,r=r.offsetTop,d=e,u=f.scale*e,n=(b<u?(d=b/f.scale,u=b):u<p&&(d=p/f.scale,u=p),null!=n?n:innerWidth/2),a=null!=a?a:innerHeight/2,d=d-1,n=d*(n-f.x-s),s=d*(a-f.y-r),a=f.x-(n-d*o*.5),r=f.y-(s-d*i*.5);e<1&&1===u&&(n=l*u,o=c*u,d=(s=Object(ue.a)()).width,i=s.height,n<=d)&&o<=i&&(r=a=0),q({x:a,y:r,scale:u},t)}}).transform,T=S.resetTransform,I=S.updateTransform,z=S.dispatchZoomChange,S=Object(ae.useState)(!0),$=(S=Object(se.a)(S,2))[0],V=S[1],L=N.rotate,M=N.scale,U=N.x,Z=N.y,S=oe()(Object(ce.a)({},"".concat(n,"-moving"),E));function q(e,n){null===r.current&&(o.current=[],r.current=Object(Oe.a)(function(){t(function(e){var t=e;return o.current.forEach(function(e){t=Object(le.a)(Object(le.a)({},t),e)}),(r.current=null)!=a&&a({transform:t,action:n}),t})})),o.current.push(Object(le.a)(Object(le.a)({},f),e))}function Q(e){null!=e&&e.preventDefault(),null!=e&&e.stopPropagation(),0<d&&(V(!1),T("prev"),null!=w)&&w(d-1,d)}function J(e){null!=e&&e.preventDefault(),null!=e&&e.stopPropagation(),d<u-1&&(V(!1),T("next"),null!=w)&&w(d+1,d)}function ee(){var e,t,n,a,r,o,i;c&&E&&(F(!1),n=(a=x.current).transformX,a=a.transformY,U!==n)&&Z!==a&&(n=k.current.offsetWidth*M,a=k.current.offsetHeight*M,r=(o=k.current.getBoundingClientRect()).left,o=o.top,e=(t=L%180!=0)?a:n,t=t?n:a,n=r,a=o,r=Object(ue.a)(),o=r.width,r=r.height,i=null,e<=o&&t<=r?i={x:0,y:0}:(o<e||r<t)&&(i=Object(le.a)(Object(le.a)({},me("x",n,e,o)),me("y",a,t,r))),n=i)&&I(Object(le.a)({},n),"dragRebound")}function te(e){c&&E&&I({x:e.pageX-x.current.deltaX,y:e.pageY-x.current.deltaY},"move")}function ne(e){c&&P&&(e.keyCode===fe.a.LEFT?Q():e.keyCode===fe.a.RIGHT&&J())}return Object(ae.useEffect)(function(){$||V(!0)},[$]),Object(ae.useEffect)(function(){var t,n,a,r;if(i){a=Object(be.a)(window,"mouseup",ee,!1),r=Object(be.a)(window,"mousemove",te,!1);try{window.top!==window.self&&(t=Object(be.a)(window.top,"mouseup",ee,!1),n=Object(be.a)(window.top,"mousemove",te,!1))}catch(t){Object(ve.d)(!1,"[rc-image] ".concat(t))}}return function(){var e;null!=(e=a)&&e.remove(),null!=(e=r)&&e.remove(),null!=(e=t)&&e.remove(),null!=(e=n)&&e.remove()}},[c,E,U,Z,L,i]),Object(ae.useEffect)(function(){var e=Object(be.a)(window,"keydown",ne,!1);return function(){e.remove()}},[c,P,d]),j=re.a.createElement(we,Object(ie.a)({},j,{width:e.width,height:e.height,imgRef:k,className:"".concat(n,"-img"),alt:H,style:{transform:"translate3d(".concat(N.x,"px, ").concat(N.y,"px, 0) scale3d(").concat(N.flipX?"-":"").concat(M,", ").concat(N.flipY?"-":"").concat(M,", 1) rotate(").concat(L,"deg)"),transitionDuration:!$&&"0s"},fallback:A,src:_,onWheel:function(e){var t;c&&0!=e.deltaY&&(t=Math.abs(e.deltaY/100),t=1+Math.min(t,1)*g,0<e.deltaY&&(t=1/t),z(t,"wheel",e.clientX,e.clientY))},onMouseDown:function(e){i&&0===e.button&&(e.preventDefault(),e.stopPropagation(),x.current={deltaX:e.pageX-N.x,deltaY:e.pageY-N.y,transformX:N.x,transformY:N.y},F(!0))},onDoubleClick:function(e){c&&(1!==M?I({x:0,y:0,scale:1},"doubleClick"):z(1+g,"doubleClick",e.clientX,e.clientY))}})),re.a.createElement(re.a.Fragment,null,re.a.createElement(he.b,Object(ie.a)({transitionName:y,maskTransitionName:O,closable:!1,keyboard:!0,prefixCls:n,onClose:l,visible:c,classNames:{wrapper:S},rootClassName:D,getContainer:W},Y,{afterClose:function(){T("close")}}),re.a.createElement("div",{className:"".concat(n,"-img-wrapper")},X?X(j,Object(le.a)({transform:N},C?{current:d}:{})):j)),re.a.createElement(je,{visible:c,transform:N,maskTransitionName:O,closeIcon:B,getContainer:W,prefixCls:n,rootClassName:D,icons:s,countRender:m,showSwitch:P,showProgress:K,current:d,count:u,scale:M,minScale:h,maxScale:v,toolbarRender:G,onSwitchLeft:Q,onSwitchRight:J,onZoomIn:function(){z(1+g,"zoomIn")},onZoomOut:function(){z(1/(1+g),"zoomOut")},onRotateRight:function(){I({rotate:L+90},"rotateRight")},onRotateLeft:function(){I({rotate:L-90},"rotateLeft")},onFlipX:function(){I({flipX:!N.flipX},"flipX")},onFlipY:function(){I({flipY:!N.flipY},"flipY")},onClose:l}))}function a(n){var e,t,a,r,o,i=n.src,l=n.alt,c=n.onPreviewClose,s=void 0===(s=n.prefixCls)?"rc-image":s,d=void 0===(d=n.previewPrefixCls)?"".concat(s,"-preview"):d,u=n.placeholder,p=n.fallback,b=n.width,f=n.height,m=n.style,g=void 0===(g=n.preview)||g,h=n.className,v=n.onClick,y=n.onError,O=n.wrapperClassName,j=n.wrapperStyle,S=n.rootClassName,w=Object(de.a)(n,q),k=u&&!0!==u,x=(T="object"===Object(Y.a)(g)?g:{}).src,C=void 0===(C=T.visible)?void 0:C,c=void 0===(E=T.onVisibleChange)?c:E,E=void 0===(E=T.getContainer)?void 0:E,P=T.mask,N=T.maskClassName,R=T.movable,_=T.icons,H=T.scaleStep,A=T.minScale,D=T.maxScale,B=T.imageRender,W=T.toolbarRender,T=Object(de.a)(T,Q),I=null!=x?x:i,x=Object(F.a)(!!C,{value:C,onChange:c}),c=(C=Object(se.a)(x,2))[0],z=C[1],x=V({src:i,isCustomPlaceholder:k,fallback:p}),i=(C=Object(se.a)(x,3))[0],k=C[1],x=C[2],C=Object(ae.useState)(null),X=(C=Object(se.a)(C,2))[0],$=C[1],L=Object(ae.useContext)(pe),C=!!g,g=oe()(s,O,S,Object(ce.a)({},"".concat(s,"-error"),"error"===x)),M=Object(ae.useMemo)(function(){var t={};return K.forEach(function(e){void 0!==n[e]&&(t[e]=n[e])}),t},K.map(function(e){return n[e]})),G=(O=C,e=Object(ae.useMemo)(function(){return Object(le.a)(Object(le.a)({},M),{},{src:I})},[I,M]),t=ae.useState(function(){return String(Z+=1)}),a=Object(se.a)(t,1)[0],r=ae.useContext(pe),o={data:e,canPreview:O},ae.useEffect(function(){if(r)return r.register(a,o)},[]),ae.useEffect(function(){r&&r.register(a,o)},[O,e]),a);return ae.createElement(ae.Fragment,null,ae.createElement("div",Object(ie.a)({},w,{className:g,onClick:C?function(e){var t=Object(ue.b)(e.target),n=t.left,t=t.top;L?L.onPreview(G,n,t):($({x:n,y:t}),z(!0)),null!=v&&v(e)}:v,style:Object(le.a)({width:b,height:f},j)}),ae.createElement("img",Object(ie.a)({},M,{className:oe()("".concat(s,"-img"),Object(ce.a)({},"".concat(s,"-img-placeholder"),!0===u),h),style:Object(le.a)({height:f},m),ref:i},k,{width:b,height:f,onError:y})),"loading"===x&&ae.createElement("div",{"aria-hidden":"true",className:"".concat(s,"-placeholder")},u),P&&C&&ae.createElement("div",{className:oe()("".concat(s,"-mask"),N),style:{display:"none"===(null==m?void 0:m.display)?"none":void 0}},P)),!L&&C&&ae.createElement(U,Object(ie.a)({"aria-hidden":!c,visible:c,prefixCls:d,onClose:function(){z(!1),$(null)},mousePosition:X,src:I,alt:l,fallback:p,getContainer:E,icons:_,movable:R,scaleStep:H,minScale:A,maxScale:D,rootClassName:S,imageRender:B,imgCommonProps:M,toolbarRender:W},T)))}var ye=t(81),Oe=t(24),ge={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},H=t(83),A=t(34),je=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,o=e.prefixCls,r=e.rootClassName,i=e.icons,l=e.countRender,c=e.showSwitch,s=e.showProgress,d=e.current,u=e.transform,p=e.count,b=e.scale,f=e.minScale,m=e.maxScale,g=e.closeIcon,h=e.onSwitchLeft,v=e.onSwitchRight,y=e.onClose,O=e.onZoomIn,j=e.onZoomOut,S=e.onRotateRight,w=e.onRotateLeft,k=e.onFlipX,x=e.onFlipY,C=e.toolbarRender,E=Object(ae.useContext)(pe),e=i.rotateLeft,P=i.rotateRight,N=i.zoomIn,T=i.zoomOut,I=i.close,z=i.left,$=i.right,R=i.flipX,i=i.flipY,_="".concat(o,"-operations-operation"),L=(ae.useEffect(function(){function e(e){e.keyCode===fe.a.ESC&&y()}return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]),[{icon:i,onClick:x,type:"flipY"},{icon:R,onClick:k,type:"flipX"},{icon:e,onClick:w,type:"rotateLeft"},{icon:P,onClick:S,type:"rotateRight"},{icon:T,onClick:j,type:"zoomOut",disabled:b===f},{icon:N,onClick:O,type:"zoomIn",disabled:b===m}].map(function(e){var t,n=e.icon,a=e.onClick,r=e.type,e=e.disabled;return ae.createElement("div",{className:oe()(_,(t={},Object(ce.a)(t,"".concat(o,"-operations-operation-").concat(r),!0),Object(ce.a)(t,"".concat(o,"-operations-operation-disabled"),!!e),t)),onClick:a,key:r},n)})),M=ae.createElement("div",{className:"".concat(o,"-operations")},L);return ae.createElement(A.c,{visible:t,motionName:n},function(e){var t=e.className,e=e.style;return ae.createElement(H.a,{open:!0,getContainer:null!=a?a:document.body},ae.createElement("div",{className:oe()("".concat(o,"-operations-wrapper"),t,r),style:e},null===g?null:ae.createElement("button",{className:"".concat(o,"-close"),onClick:y},g||I),c&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:oe()("".concat(o,"-switch-left"),Object(ce.a)({},"".concat(o,"-switch-left-disabled"),0===d)),onClick:h},z),ae.createElement("div",{className:oe()("".concat(o,"-switch-right"),Object(ce.a)({},"".concat(o,"-switch-right-disabled"),d===p-1)),onClick:v},$)),ae.createElement("div",{className:"".concat(o,"-footer")},s&&ae.createElement("div",{className:"".concat(o,"-progress")},l?l(d+1,p):"".concat(d+1," / ").concat(p)),C?C(M,Object(le.a)({icons:{flipYIcon:L[0],flipXIcon:L[1],rotateLeftIcon:L[2],rotateRightIcon:L[3],zoomOutIcon:L[4],zoomInIcon:L[5]},actions:{onFlipY:x,onFlipX:k,onRotateLeft:w,onRotateRight:S,onZoomOut:j,onZoomIn:O},transform:u},E?{current:d,total:p}:{})):M)))})},s=["fallback","src","imgRef"],Se=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],we=function(e){var t=e.fallback,n=e.src,a=e.imgRef,e=Object(de.a)(e,s),n=V({src:n,fallback:t}),t=Object(se.a)(n,2),r=t[0],n=t[1];return re.a.createElement("img",Object(ie.a)({ref:function(e){a.current=e,r(e)}},e,n))},$=t(9),L=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],M=["src"],q=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Q=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],j=(a.PreviewGroup=function(e){var t,r,a,n=e.previewPrefixCls,n=void 0===n?"rc-image-preview":n,o=e.children,i=e.icons,i=void 0===i?{}:i,l=e.items,c=e.preview,e=e.fallback,c="object"===Object(Y.a)(c)?c:{},s=c.visible,d=c.onVisibleChange,u=c.getContainer,p=c.current,b=c.movable,f=c.minScale,m=c.maxScale,g=c.countRender,h=c.closeIcon,v=c.onChange,y=c.onTransform,O=c.toolbarRender,j=c.imageRender,c=Object(de.a)(c,L),l=(t=l,l=ae.useState({}),l=Object(se.a)(l,2),r=l[0],a=l[1],l=ae.useCallback(function(t,n){return a(function(e){return Object(le.a)(Object(le.a)({},e),{},Object(ce.a)({},t,n))}),function(){a(function(e){e=Object(le.a)({},e);return delete e[t],e})}},[]),[ae.useMemo(function(){return t?t.map(function(t){var n;return"string"==typeof t?{data:{src:t}}:(n={},Object.keys(t).forEach(function(e){["src"].concat(Object($.a)(K)).includes(e)&&(n[e]=t[e])}),{data:n})}):Object.keys(r).reduce(function(e,t){var n=r[t],a=n.canPreview,n=n.data;return a&&e.push({data:n,id:t}),e},[])},[t,r]),l]),l=Object(se.a)(l,2),S=l[0],w=l[1],l=Object(F.a)(0,{value:p}),p=Object(se.a)(l,2),k=p[0],x=p[1],l=Object(ae.useState)(!1),p=Object(se.a)(l,2),C=p[0],E=p[1],p=(null==(l=S[k])?void 0:l.data)||{},l=p.src,p=Object(de.a)(p,M),s=Object(F.a)(!!s,{value:s,onChange:function(e,t){null!=d&&d(e,t,k)}}),s=Object(se.a)(s,2),P=s[0],N=s[1],s=Object(ae.useState)(null),s=Object(se.a)(s,2),T=s[0],I=s[1],z=ae.useCallback(function(t,e,n){var a=S.findIndex(function(e){return e.id===t});N(!0),I({x:e,y:n}),x(a<0?0:a),E(!0)},[S]),s=(ae.useEffect(function(){P?C||x(0):E(!1)},[P]),ae.useMemo(function(){return{register:w,onPreview:z}},[w,z]));return ae.createElement(pe.Provider,{value:s},o,ae.createElement(U,Object(ie.a)({"aria-hidden":!P,movable:b,visible:P,prefixCls:n,closeIcon:h,onClose:function(){N(!1),I(null)},mousePosition:T,imgCommonProps:p,src:l,fallback:e,icons:i,minScale:f,maxScale:m,getContainer:u,current:k,count:S.length,countRender:g,onTransform:y,toolbarRender:O,imageRender:j,onChange:function(e,t){x(e),null!=v&&v(e,t)}},c)))},a.displayName="Image",a),S=t(51),w=t(43),k=t(64),n=t(41),d=t(124),u=t(87),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},r=t(3),f=ae.forwardRef(function(e,t){return ae.createElement(r.a,Object(ie.a)({},e,{ref:t,icon:p}))}),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},g=ae.forwardRef(function(e,t){return ae.createElement(r.a,Object(ie.a)({},e,{ref:t,icon:m}))}),o=t(464),h=t(466),v=t(467),b=t(204),y=t(114),P=t(11),N=t(338),T=t(201),I=t(149),i=t(80);const l=e=>({position:e||"absolute",inset:0}),z=e=>{var{motionEaseOut:t,previewCls:n,motionDurationSlow:a,componentCls:r}=e;return[{[r+"-preview-root"]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[n+"-body"]:Object.assign(Object.assign({},l()),{overflow:"hidden"}),[n+"-img"]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${a} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},l()),{transition:`transform ${a} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[n+"-moving"]:{[n+"-preview-img"]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[r+"-preview-root"]:{[n+"-wrap"]:{zIndex:e.zIndexPopup}}},{[r+"-preview-operations-wrapper"]:{position:"fixed",zIndex:e.zIndexPopup+1},"&":[(e=>{var{previewCls:t,modalMaskBg:n,paddingSM:a,marginXL:r,margin:o,paddingLG:i,previewOperationColorDisabled:l,previewOperationHoverColor:c,motionDurationSlow:s,iconCls:d,colorTextLightSolid:u}=e,n=new b.a(n).setAlpha(.1),p=n.clone().setAlpha(.2);return{[t+"-footer"]:{position:"fixed",bottom:r,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor},[t+"-progress"]:{marginBottom:o},[t+"-close"]:{position:"fixed",top:r,right:{_skip_check_:!0,value:r},display:"flex",color:u,backgroundColor:n.toRgbString(),borderRadius:"50%",padding:a,outline:0,border:0,cursor:"pointer",transition:"all "+s,"&:hover":{backgroundColor:p.toRgbString()},["& > "+d]:{fontSize:e.previewOperationSize}},[t+"-operations"]:{display:"flex",alignItems:"center",padding:`0 ${i}px`,backgroundColor:n.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:a,padding:a,cursor:"pointer",transition:"all "+s,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > `+d]:{color:c},"&-disabled":{color:l,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},["& > "+d]:{fontSize:e.previewOperationSize}}}}})(e),(e=>{var{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:a,previewCls:r,zIndexPopup:o,motionDurationSlow:i}=e,t=new b.a(t).setAlpha(.1),l=t.clone().setAlpha(.2);return{[r+`-switch-left, ${r}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:o+1,display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:-e.imagePreviewSwitchSize/2,color:e.previewOperationColor,background:t.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:"all "+i,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:a,background:"transparent",cursor:"not-allowed",["> "+n]:{cursor:"not-allowed"}}},["> "+n]:{fontSize:e.previewOperationSize}},[r+"-switch-left"]:{insetInlineStart:e.marginSM},[r+"-switch-right"]:{insetInlineEnd:e.marginSM}}})(e)]}]},R=e=>{var t=e["componentCls"];return{[t]:{position:"relative",display:"inline-block",[t+"-img"]:{width:"100%",height:"auto",verticalAlign:"middle"},[t+"-img-placeholder"]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[t+"-mask"]:Object.assign({},(e=>{var{iconCls:e,motionDurationSlow:t,paddingXXS:n,marginXXS:a,prefixCls:r,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new b.a("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:"opacity "+t,[`.${r}-mask-info`]:Object.assign(Object.assign({},P.h),{padding:`0 ${n}px`,[e]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}})(e)),[t+"-mask:hover"]:{opacity:1},[t+"-placeholder"]:Object.assign({},l())}}};var x=Object(I.a)("Image",e=>{var t=e.componentCls+"-preview",e=Object(i.b)(e,{previewCls:t,modalMaskBg:new b.a("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[R(e),z(e),Object(y.b)(Object(i.b)(e,{componentCls:t})),{[(t=e).previewCls+"-root"]:Object(N.a)(t,"zoom"),"&":Object(T.a)(t,!0)}]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new b.a(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new b.a(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new b.a(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon}));const C={rotateLeft:ae.createElement(f,null),rotateRight:ae.createElement(g,null),zoomIn:ae.createElement(h.a,null),zoomOut:ae.createElement(v.a,null),close:ae.createElement(n.a,null),left:ae.createElement(d.a,null),right:ae.createElement(u.a,null),flipX:ae.createElement(o.a,null),flipY:ae.createElement(o.a,{rotate:90})};function E(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}t=e=>{const{prefixCls:t,preview:a,className:n,rootClassName:r,style:o}=e,i=E(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:l,locale:c=k.a,getPopupContainer:s,image:d}=ae.useContext(w.a),u=l("image",t),p=l(),b=c.Image||k.a.Image,[f,m]=x(u),g=oe()(r,m),h=oe()(n,m,null==d?void 0:d.className),v=ae.useMemo(()=>{var e,t,n;return!1===a?a:(t=(e="object"==typeof a?a:{})["getContainer"],n=E(e,["getContainer"]),Object.assign(Object.assign({mask:ae.createElement("div",{className:u+"-mask-info"},ae.createElement(O.a,null),null==b?void 0:b.preview),icons:C},n),{getContainer:t||s,transitionName:Object(S.b)(p,"zoom",e.transitionName),maskTransitionName:Object(S.b)(p,"fade",e.maskTransitionName)}))},[a,b]),y=Object.assign(Object.assign({},null==d?void 0:d.style),o);return f(ae.createElement(j,Object.assign({prefixCls:u,preview:v,rootClassName:g,className:h,style:y},i)))};t.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,e=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["previewPrefixCls","preview"]);const a=ae.useContext(w.a)["getPrefixCls"],r=a("image",t),o=r+"-preview",i=a(),[l,c]=x(r),s=ae.useMemo(()=>{var e,t;return!1===n?n:(e="object"==typeof n?n:{},t=oe()(c,null!=(t=e.rootClassName)?t:""),Object.assign(Object.assign({},e),{transitionName:Object(S.b)(i,"zoom",e.transitionName),maskTransitionName:Object(S.b)(i,"fade",e.maskTransitionName),rootClassName:t}))},[n]);return l(ae.createElement(j.PreviewGroup,Object.assign({preview:s,previewPrefixCls:o,icons:C},e)))},e.a=t},712:function(e,t,n){"use strict";var a=n(4),W=n.n(a),X=n(23),G=n(0),Y=n(43),F=n(40),K=n(300),V=n(687),U=e=>{var{prefixCls:t,className:n,hoverable:a=!0}=e,e=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["prefixCls","className","hoverable"]),r=G.useContext(Y.a)["getPrefixCls"],r=r("card",t),t=W()(r+"-grid",n,{[r+"-grid-hoverable"]:a});return G.createElement("div",Object.assign({},e,{className:t}))},s=n(11),a=n(149),r=n(80);const o=e=>{var{antCls:t,componentCls:n,cardShadow:a,cardHeadPadding:r,colorBorderSecondary:o,boxShadowTertiary:i,cardPaddingBase:l,extraColor:c}=e;return{[n]:Object.assign(Object.assign({},Object(s.f)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:i},[n+"-head"]:(e=>{var{antCls:t,componentCls:n,headerHeight:a,cardPaddingBase:r,tabsMarginBottom:o}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:a,marginBottom:-1,padding:`0 ${r}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${e.lineWidth}px ${e.lineType} `+e.colorBorderSecondary,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},Object(s.a)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},s.h),{[`
11
+ > div > ${t}-nav`]:{"&::before":{bottom:0},[t+"-ink-bar"]:{bottom:0}}},[t+"-bottom"]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n+"px",marginBottom:0,"&::before":{top:0},[t+"-ink-bar"]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[t+`-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:1.25*e.controlHeight,[t+"-tab"]:{padding:o,textAlign:"center"},[t+`-tab + ${t}-tab`]:{margin:i},[t+"-nav-wrap"]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[t+"-ink-bar"]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top `+e.motionDurationSlow}},[t+`-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[t+"-left"]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-ink-bar"]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} `+e.colorBorder},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[t+"-right"]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[t+"-ink-bar"]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} `+e.colorBorder},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}})(e),(e=>{var{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:a}=e;return{[t+"-dropdown"]:Object.assign(Object.assign({},Object(u.f)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[t+"-dropdown-menu"]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:a+"px 0",overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},u.h),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:"all "+e.motionDurationSlow,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}})(e),(e=>{var{componentCls:t,tabsCardPadding:n,cardBg:a,cardGutter:r,colorBorderSecondary:o,itemSelectedColor:i}=e;return{[t+"-card"]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-tab"]:{margin:0,padding:n,background:a,border:`${e.lineWidth}px ${e.lineType} `+o,transition:`all ${e.motionDurationSlow} `+e.motionEaseInOut},[t+"-tab-active"]:{color:i,background:e.colorBgContainer},[t+"-ink-bar"]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+`-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:r+"px"}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-tab"]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[t+"-tab-active"]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-tab"]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[t+"-tab-active"]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+`-tab + ${t}-tab`]:{marginTop:r+"px"}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-tab"]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[t+"-tab-active"]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[t+"-tab"]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[t+"-tab-active"]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}})(e),p(e),(e=>{var{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[t+"-switch"]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:"opacity "+n}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:"opacity "+n}}}}},[Object(r.a)(e,"slide-up"),Object(r.a)(e,"slide-down")]]})(e)]},e=>{var t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:"",cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:e.paddingSM+"px 0",horizontalItemPaddingSM:e.paddingXS+"px 0",horizontalItemPaddingLG:e.padding+"px 0",verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:e.margin+"px 0 0 0",itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),t=e=>{const{type:t,className:n,rootClassName:a,size:r,onEdit:o,hideAdd:i,centered:l,addIcon:c,popupClassName:s,children:d,items:u,animated:p,style:b,indicatorSize:f}=e,m=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:g,moreIcon:h=Re.createElement(T.a,null)}=m,{direction:v,tabs:y,getPrefixCls:O,getPopupContainer:S}=Re.useContext(z.a),j=O("tabs",g),[w,k]=K(j);let x;"editable-card"===t&&(x={onEdit:(e,t)=>{var{key:t,event:n}=t;null!=o&&o("add"===e?n:t,e)},removeIcon:Re.createElement(M.a,null),addIcon:c||Re.createElement(I.a,null),showAdd:!0!==i});var e=O(),C=(C=d,u||Object(V.a)(C).map(e=>{if(Re.isValidElement(e)){const{key:t,props:n}=e,Re=n||{},{tab:a}=Re,r=Y(Re,["tab"]);return Object.assign(Object.assign({key:String(t)},r),{label:a})}return null}).filter(e=>e)),E=function(e,t){t=1<arguments.length&&void 0!==t?t:{inkBar:!0,tabPane:!1},t=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof t?t:{});return t.tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},F),{motionName:Object(G.b)(e,"switch")})),t}(j,p),P=Object(X.a)(r),N=Object.assign(Object.assign({},null==y?void 0:y.style),b);return w(Re.createElement(R,Object.assign({direction:v,getPopupContainer:S,moreTransitionName:e+"-slide-up"},m,{items:C,className:ze()({[j+"-"+P]:P,[j+"-card"]:["card","editable-card"].includes(t),[j+"-editable-card"]:"editable-card"===t,[j+"-centered"]:l},null==y?void 0:y.className,n,a,k),popupClassName:ze()(s,k),style:N,editable:x,moreIcon:h,prefixCls:j,animated:E,indicatorSize:null!=f?f:null==y?void 0:y.indicatorSize})))};t.TabPane=()=>null,e.a=t},710:function(c,e,t){"use strict";var ae=t(1),re=t.n(ae),O=t(398),n=t(4),oe=t.n(n),ie=t(2),le=t(5),ce=t(6),se=t(7),F=t(15),de=t(13),ue=t(535),Y=t(31),V=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],pe=ae.createContext(null),Q=0;function K(e){function t(){i("normal")}var a=e.src,n=e.isCustomPlaceholder,e=e.fallback,r=Object(ae.useState)(n?"loading":"normal"),r=Object(se.a)(r,2),o=r[0],i=r[1],l=Object(ae.useRef)(!1),c="error"===o;Object(ae.useEffect)(function(){var n,t=!0;return n=a,new Promise(function(e){var t=document.createElement("img");t.onerror=function(){return e(!1)},t.onload=function(){return e(!0)},t.src=n}).then(function(e){!e&&t&&i("error")}),function(){t=!1}},[a]),Object(ae.useEffect)(function(){n&&!l.current?i("loading"):c&&i("normal")},[a]);return[function(e){l.current=!1,"loading"===o&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(l.current=!0,t())},c&&e?{src:e}:{onLoad:t,src:a},o]}var he=t(160),be=t(534),fe=t(16),ve=t(18);function me(e,t,n,a){var r=t+n,o=(n-a)/2;if(a<n){if(0<t)return Object(ce.a)({},e,o);if(t<0&&r<a)return Object(ce.a)({},e,-o)}else if(t<0||a<r)return Object(ce.a)({},e,t<0?o:-o);return{}}function U(e){var $,p,b,a,r,o,f,t,n=e.prefixCls,A=e.src,_=e.alt,H=e.fallback,i=void 0===(l=e.movable)||l,l=e.onClose,c=e.visible,s=void 0===(s=e.icons)?{}:s,D=e.rootClassName,B=e.closeIcon,W=e.getContainer,d=void 0===(m=e.current)?0:m,u=void 0===(m=e.count)?1:m,m=e.countRender,g=void 0===(h=e.scaleStep)?.5:h,h=void 0===(h=e.minScale)?1:h,v=void 0===(v=e.maxScale)?50:v,y=void 0===(y=e.transitionName)?"zoom":y,O=void 0===(O=e.maskTransitionName)?"fade":O,X=e.imageRender,S=e.imgCommonProps,G=e.toolbarRender,j=e.onTransform,w=e.onChange,F=Object(de.a)(e,je),k=Object(ae.useRef)(),x=Object(ae.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),C=Object(ae.useState)(!1),E=(C=Object(se.a)(C,2))[0],Y=C[1],P=(C=Object(ae.useContext)(pe))&&1<u,V=C&&1<=u;$=k,p=h,b=v,a=j,r=Object(ae.useRef)(null),o=Object(ae.useRef)([]),j=Object(ae.useState)(ge),j=Object(se.a)(j,2),f=j[0],t=j[1];var N=(j={transform:f,resetTransform:function(e){t(ge),a&&!Object(ye.a)(ge,f)&&a({transform:ge,action:e})},updateTransform:Z,dispatchZoomChange:function(e,t,n,a){var r=$.current,o=r.width,i=r.height,l=r.offsetWidth,c=r.offsetHeight,s=r.offsetLeft,r=r.offsetTop,d=e,u=f.scale*e,n=(b<u?(d=b/f.scale,u=b):u<p&&(d=p/f.scale,u=p),null!=n?n:innerWidth/2),a=null!=a?a:innerHeight/2,d=d-1,n=d*(n-f.x-s),s=d*(a-f.y-r),a=f.x-(n-d*o*.5),r=f.y-(s-d*i*.5);e<1&&1===u&&(n=l*u,o=c*u,d=(s=Object(ue.a)()).width,i=s.height,n<=d)&&o<=i&&(r=a=0),Z({x:a,y:r,scale:u},t)}}).transform,M=j.resetTransform,T=j.updateTransform,I=j.dispatchZoomChange,j=Object(ae.useState)(!0),R=(j=Object(se.a)(j,2))[0],K=j[1],z=N.rotate,L=N.scale,U=N.x,Q=N.y,j=oe()(Object(ce.a)({},"".concat(n,"-moving"),E));function Z(e,n){null===r.current&&(o.current=[],r.current=Object(Oe.a)(function(){t(function(e){var t=e;return o.current.forEach(function(e){t=Object(le.a)(Object(le.a)({},t),e)}),(r.current=null)!=a&&a({transform:t,action:n}),t})})),o.current.push(Object(le.a)(Object(le.a)({},f),e))}function q(e){null!=e&&e.preventDefault(),null!=e&&e.stopPropagation(),0<d&&(K(!1),M("prev"),null!=w)&&w(d-1,d)}function J(e){null!=e&&e.preventDefault(),null!=e&&e.stopPropagation(),d<u-1&&(K(!1),M("next"),null!=w)&&w(d+1,d)}function ee(){var e,t,n,a,r,o,i;c&&E&&(Y(!1),n=(a=x.current).transformX,a=a.transformY,U!==n)&&Q!==a&&(n=k.current.offsetWidth*L,a=k.current.offsetHeight*L,r=(o=k.current.getBoundingClientRect()).left,o=o.top,e=(t=z%180!=0)?a:n,t=t?n:a,n=r,a=o,r=Object(ue.a)(),o=r.width,r=r.height,i=null,e<=o&&t<=r?i={x:0,y:0}:(o<e||r<t)&&(i=Object(le.a)(Object(le.a)({},me("x",n,e,o)),me("y",a,t,r))),n=i)&&T(Object(le.a)({},n),"dragRebound")}function te(e){c&&E&&T({x:e.pageX-x.current.deltaX,y:e.pageY-x.current.deltaY},"move")}function ne(e){c&&P&&(e.keyCode===fe.a.LEFT?q():e.keyCode===fe.a.RIGHT&&J())}return Object(ae.useEffect)(function(){R||K(!0)},[R]),Object(ae.useEffect)(function(){var t,n,a,r;if(i){a=Object(be.a)(window,"mouseup",ee,!1),r=Object(be.a)(window,"mousemove",te,!1);try{window.top!==window.self&&(t=Object(be.a)(window.top,"mouseup",ee,!1),n=Object(be.a)(window.top,"mousemove",te,!1))}catch(t){Object(ve.d)(!1,"[rc-image] ".concat(t))}}return function(){var e;null!=(e=a)&&e.remove(),null!=(e=r)&&e.remove(),null!=(e=t)&&e.remove(),null!=(e=n)&&e.remove()}},[c,E,U,Q,z,i]),Object(ae.useEffect)(function(){var e=Object(be.a)(window,"keydown",ne,!1);return function(){e.remove()}},[c,P,d]),S=re.a.createElement(we,Object(ie.a)({},S,{width:e.width,height:e.height,imgRef:k,className:"".concat(n,"-img"),alt:_,style:{transform:"translate3d(".concat(N.x,"px, ").concat(N.y,"px, 0) scale3d(").concat(N.flipX?"-":"").concat(L,", ").concat(N.flipY?"-":"").concat(L,", 1) rotate(").concat(z,"deg)"),transitionDuration:!R&&"0s"},fallback:H,src:A,onWheel:function(e){var t;c&&0!=e.deltaY&&(t=Math.abs(e.deltaY/100),t=1+Math.min(t,1)*g,0<e.deltaY&&(t=1/t),I(t,"wheel",e.clientX,e.clientY))},onMouseDown:function(e){i&&0===e.button&&(e.preventDefault(),e.stopPropagation(),x.current={deltaX:e.pageX-N.x,deltaY:e.pageY-N.y,transformX:N.x,transformY:N.y},Y(!0))},onDoubleClick:function(e){c&&(1!==L?T({x:0,y:0,scale:1},"doubleClick"):I(1+g,"doubleClick",e.clientX,e.clientY))}})),re.a.createElement(re.a.Fragment,null,re.a.createElement(he.b,Object(ie.a)({transitionName:y,maskTransitionName:O,closable:!1,keyboard:!0,prefixCls:n,onClose:l,visible:c,classNames:{wrapper:j},rootClassName:D,getContainer:W},F,{afterClose:function(){M("close")}}),re.a.createElement("div",{className:"".concat(n,"-img-wrapper")},X?X(S,Object(le.a)({transform:N},C?{current:d}:{})):S)),re.a.createElement(Se,{visible:c,transform:N,maskTransitionName:O,closeIcon:B,getContainer:W,prefixCls:n,rootClassName:D,icons:s,countRender:m,showSwitch:P,showProgress:V,current:d,count:u,scale:L,minScale:h,maxScale:v,toolbarRender:G,onSwitchLeft:q,onSwitchRight:J,onZoomIn:function(){I(1+g,"zoomIn")},onZoomOut:function(){I(1/(1+g),"zoomOut")},onRotateRight:function(){T({rotate:z+90},"rotateRight")},onRotateLeft:function(){T({rotate:z-90},"rotateLeft")},onFlipX:function(){T({flipX:!N.flipX},"flipX")},onFlipY:function(){T({flipY:!N.flipY},"flipY")},onClose:l}))}function a(n){var e,t,a,r,o,i=n.src,l=n.alt,c=n.onPreviewClose,s=void 0===(s=n.prefixCls)?"rc-image":s,d=void 0===(d=n.previewPrefixCls)?"".concat(s,"-preview"):d,u=n.placeholder,p=n.fallback,b=n.width,f=n.height,m=n.style,g=void 0===(g=n.preview)||g,h=n.className,v=n.onClick,y=n.onError,O=n.wrapperClassName,S=n.wrapperStyle,j=n.rootClassName,w=Object(de.a)(n,Z),k=u&&!0!==u,x=(M="object"===Object(F.a)(g)?g:{}).src,C=void 0===(C=M.visible)?void 0:C,c=void 0===(E=M.onVisibleChange)?c:E,E=void 0===(E=M.getContainer)?void 0:E,P=M.mask,N=M.maskClassName,$=M.movable,A=M.icons,_=M.scaleStep,H=M.minScale,D=M.maxScale,B=M.imageRender,W=M.toolbarRender,M=Object(de.a)(M,q),T=null!=x?x:i,x=Object(Y.a)(!!C,{value:C,onChange:c}),c=(C=Object(se.a)(x,2))[0],I=C[1],x=K({src:i,isCustomPlaceholder:k,fallback:p}),i=(C=Object(se.a)(x,3))[0],k=C[1],x=C[2],C=Object(ae.useState)(null),X=(C=Object(se.a)(C,2))[0],R=C[1],z=Object(ae.useContext)(pe),C=!!g,g=oe()(s,O,j,Object(ce.a)({},"".concat(s,"-error"),"error"===x)),L=Object(ae.useMemo)(function(){var t={};return V.forEach(function(e){void 0!==n[e]&&(t[e]=n[e])}),t},V.map(function(e){return n[e]})),G=(O=C,e=Object(ae.useMemo)(function(){return Object(le.a)(Object(le.a)({},L),{},{src:T})},[T,L]),t=ae.useState(function(){return String(Q+=1)}),a=Object(se.a)(t,1)[0],r=ae.useContext(pe),o={data:e,canPreview:O},ae.useEffect(function(){if(r)return r.register(a,o)},[]),ae.useEffect(function(){r&&r.register(a,o)},[O,e]),a);return ae.createElement(ae.Fragment,null,ae.createElement("div",Object(ie.a)({},w,{className:g,onClick:C?function(e){var t=Object(ue.b)(e.target),n=t.left,t=t.top;z?z.onPreview(G,n,t):(R({x:n,y:t}),I(!0)),null!=v&&v(e)}:v,style:Object(le.a)({width:b,height:f},S)}),ae.createElement("img",Object(ie.a)({},L,{className:oe()("".concat(s,"-img"),Object(ce.a)({},"".concat(s,"-img-placeholder"),!0===u),h),style:Object(le.a)({height:f},m),ref:i},k,{width:b,height:f,onError:y})),"loading"===x&&ae.createElement("div",{"aria-hidden":"true",className:"".concat(s,"-placeholder")},u),P&&C&&ae.createElement("div",{className:oe()("".concat(s,"-mask"),N),style:{display:"none"===(null==m?void 0:m.display)?"none":void 0}},P)),!z&&C&&ae.createElement(U,Object(ie.a)({"aria-hidden":!c,visible:c,prefixCls:d,onClose:function(){I(!1),R(null)},mousePosition:X,src:T,alt:l,fallback:p,getContainer:E,icons:A,movable:$,scaleStep:_,minScale:H,maxScale:D,rootClassName:j,imageRender:B,imgCommonProps:L,toolbarRender:W},M)))}var ye=t(80),Oe=t(24),ge={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=t(82),H=t(32),Se=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,o=e.prefixCls,r=e.rootClassName,i=e.icons,l=e.countRender,c=e.showSwitch,s=e.showProgress,d=e.current,u=e.transform,p=e.count,b=e.scale,f=e.minScale,m=e.maxScale,g=e.closeIcon,h=e.onSwitchLeft,v=e.onSwitchRight,y=e.onClose,O=e.onZoomIn,S=e.onZoomOut,j=e.onRotateRight,w=e.onRotateLeft,k=e.onFlipX,x=e.onFlipY,C=e.toolbarRender,E=Object(ae.useContext)(pe),e=i.rotateLeft,P=i.rotateRight,N=i.zoomIn,M=i.zoomOut,T=i.close,I=i.left,R=i.right,$=i.flipX,i=i.flipY,A="".concat(o,"-operations-operation"),z=(ae.useEffect(function(){function e(e){e.keyCode===fe.a.ESC&&y()}return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]),[{icon:i,onClick:x,type:"flipY"},{icon:$,onClick:k,type:"flipX"},{icon:e,onClick:w,type:"rotateLeft"},{icon:P,onClick:j,type:"rotateRight"},{icon:M,onClick:S,type:"zoomOut",disabled:b===f},{icon:N,onClick:O,type:"zoomIn",disabled:b===m}].map(function(e){var t,n=e.icon,a=e.onClick,r=e.type,e=e.disabled;return ae.createElement("div",{className:oe()(A,(t={},Object(ce.a)(t,"".concat(o,"-operations-operation-").concat(r),!0),Object(ce.a)(t,"".concat(o,"-operations-operation-disabled"),!!e),t)),onClick:a,key:r},n)})),L=ae.createElement("div",{className:"".concat(o,"-operations")},z);return ae.createElement(H.c,{visible:t,motionName:n},function(e){var t=e.className,e=e.style;return ae.createElement(_.a,{open:!0,getContainer:null!=a?a:document.body},ae.createElement("div",{className:oe()("".concat(o,"-operations-wrapper"),t,r),style:e},null===g?null:ae.createElement("button",{className:"".concat(o,"-close"),onClick:y},g||T),c&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:oe()("".concat(o,"-switch-left"),Object(ce.a)({},"".concat(o,"-switch-left-disabled"),0===d)),onClick:h},I),ae.createElement("div",{className:oe()("".concat(o,"-switch-right"),Object(ce.a)({},"".concat(o,"-switch-right-disabled"),d===p-1)),onClick:v},R)),ae.createElement("div",{className:"".concat(o,"-footer")},s&&ae.createElement("div",{className:"".concat(o,"-progress")},l?l(d+1,p):"".concat(d+1," / ").concat(p)),C?C(L,Object(le.a)({icons:{flipYIcon:z[0],flipXIcon:z[1],rotateLeftIcon:z[2],rotateRightIcon:z[3],zoomOutIcon:z[4],zoomInIcon:z[5]},actions:{onFlipY:x,onFlipX:k,onRotateLeft:w,onRotateRight:j,onZoomOut:S,onZoomIn:O},transform:u},E?{current:d,total:p}:{})):L)))})},s=["fallback","src","imgRef"],je=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],we=function(e){var t=e.fallback,n=e.src,a=e.imgRef,e=Object(de.a)(e,s),n=K({src:n,fallback:t}),t=Object(se.a)(n,2),r=t[0],n=t[1];return re.a.createElement("img",Object(ie.a)({ref:function(e){a.current=e,r(e)}},e,n))},R=t(8),z=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],L=["src"],Z=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],q=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],S=(a.PreviewGroup=function(e){var t,r,a,n=e.previewPrefixCls,n=void 0===n?"rc-image-preview":n,o=e.children,i=e.icons,i=void 0===i?{}:i,l=e.items,c=e.preview,e=e.fallback,c="object"===Object(F.a)(c)?c:{},s=c.visible,d=c.onVisibleChange,u=c.getContainer,p=c.current,b=c.movable,f=c.minScale,m=c.maxScale,g=c.countRender,h=c.closeIcon,v=c.onChange,y=c.onTransform,O=c.toolbarRender,S=c.imageRender,c=Object(de.a)(c,z),l=(t=l,l=ae.useState({}),l=Object(se.a)(l,2),r=l[0],a=l[1],l=ae.useCallback(function(t,n){return a(function(e){return Object(le.a)(Object(le.a)({},e),{},Object(ce.a)({},t,n))}),function(){a(function(e){e=Object(le.a)({},e);return delete e[t],e})}},[]),[ae.useMemo(function(){return t?t.map(function(t){var n;return"string"==typeof t?{data:{src:t}}:(n={},Object.keys(t).forEach(function(e){["src"].concat(Object(R.a)(V)).includes(e)&&(n[e]=t[e])}),{data:n})}):Object.keys(r).reduce(function(e,t){var n=r[t],a=n.canPreview,n=n.data;return a&&e.push({data:n,id:t}),e},[])},[t,r]),l]),l=Object(se.a)(l,2),j=l[0],w=l[1],l=Object(Y.a)(0,{value:p}),p=Object(se.a)(l,2),k=p[0],x=p[1],l=Object(ae.useState)(!1),p=Object(se.a)(l,2),C=p[0],E=p[1],p=(null==(l=j[k])?void 0:l.data)||{},l=p.src,p=Object(de.a)(p,L),s=Object(Y.a)(!!s,{value:s,onChange:function(e,t){null!=d&&d(e,t,k)}}),s=Object(se.a)(s,2),P=s[0],N=s[1],s=Object(ae.useState)(null),s=Object(se.a)(s,2),M=s[0],T=s[1],I=ae.useCallback(function(t,e,n){var a=j.findIndex(function(e){return e.id===t});N(!0),T({x:e,y:n}),x(a<0?0:a),E(!0)},[j]),s=(ae.useEffect(function(){P?C||x(0):E(!1)},[P]),ae.useMemo(function(){return{register:w,onPreview:I}},[w,I]));return ae.createElement(pe.Provider,{value:s},o,ae.createElement(U,Object(ie.a)({"aria-hidden":!P,movable:b,visible:P,prefixCls:n,closeIcon:h,onClose:function(){N(!1),T(null)},mousePosition:M,imgCommonProps:p,src:l,fallback:e,icons:i,minScale:f,maxScale:m,getContainer:u,current:k,count:j.length,countRender:g,onTransform:y,toolbarRender:O,imageRender:S,onChange:function(e,t){x(e),null!=v&&v(e,t)}},c)))},a.displayName="Image",a),j=t(48),w=t(42),k=t(58),n=t(39),d=t(120),u=t(84),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},r=t(3),f=ae.forwardRef(function(e,t){return ae.createElement(r.a,Object(ie.a)({},e,{ref:t,icon:p}))}),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},g=ae.forwardRef(function(e,t){return ae.createElement(r.a,Object(ie.a)({},e,{ref:t,icon:m}))}),o=t(465),h=t(467),v=t(468),b=t(200),y=t(112),P=t(11),N=t(333),M=t(197),T=t(144),i=t(79);const l=e=>({position:e||"absolute",inset:0}),I=e=>{var{motionEaseOut:t,previewCls:n,motionDurationSlow:a,componentCls:r}=e;return[{[r+"-preview-root"]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[n+"-body"]:Object.assign(Object.assign({},l()),{overflow:"hidden"}),[n+"-img"]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${a} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},l()),{transition:`transform ${a} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[n+"-moving"]:{[n+"-preview-img"]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[r+"-preview-root"]:{[n+"-wrap"]:{zIndex:e.zIndexPopup}}},{[r+"-preview-operations-wrapper"]:{position:"fixed",zIndex:e.zIndexPopup+1},"&":[(e=>{var{previewCls:t,modalMaskBg:n,paddingSM:a,marginXL:r,margin:o,paddingLG:i,previewOperationColorDisabled:l,previewOperationHoverColor:c,motionDurationSlow:s,iconCls:d,colorTextLightSolid:u}=e,n=new b.a(n).setAlpha(.1),p=n.clone().setAlpha(.2);return{[t+"-footer"]:{position:"fixed",bottom:r,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor},[t+"-progress"]:{marginBottom:o},[t+"-close"]:{position:"fixed",top:r,right:{_skip_check_:!0,value:r},display:"flex",color:u,backgroundColor:n.toRgbString(),borderRadius:"50%",padding:a,outline:0,border:0,cursor:"pointer",transition:"all "+s,"&:hover":{backgroundColor:p.toRgbString()},["& > "+d]:{fontSize:e.previewOperationSize}},[t+"-operations"]:{display:"flex",alignItems:"center",padding:`0 ${i}px`,backgroundColor:n.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:a,padding:a,cursor:"pointer",transition:"all "+s,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > `+d]:{color:c},"&-disabled":{color:l,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},["& > "+d]:{fontSize:e.previewOperationSize}}}}})(e),(e=>{var{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:a,previewCls:r,zIndexPopup:o,motionDurationSlow:i}=e,t=new b.a(t).setAlpha(.1),l=t.clone().setAlpha(.2);return{[r+`-switch-left, ${r}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:o+1,display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:-e.imagePreviewSwitchSize/2,color:e.previewOperationColor,background:t.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:"all "+i,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:a,background:"transparent",cursor:"not-allowed",["> "+n]:{cursor:"not-allowed"}}},["> "+n]:{fontSize:e.previewOperationSize}},[r+"-switch-left"]:{insetInlineStart:e.marginSM},[r+"-switch-right"]:{insetInlineEnd:e.marginSM}}})(e)]}]},$=e=>{var t=e["componentCls"];return{[t]:{position:"relative",display:"inline-block",[t+"-img"]:{width:"100%",height:"auto",verticalAlign:"middle"},[t+"-img-placeholder"]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[t+"-mask"]:Object.assign({},(e=>{var{iconCls:e,motionDurationSlow:t,paddingXXS:n,marginXXS:a,prefixCls:r,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new b.a("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:"opacity "+t,[`.${r}-mask-info`]:Object.assign(Object.assign({},P.h),{padding:`0 ${n}px`,[e]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}})(e)),[t+"-mask:hover"]:{opacity:1},[t+"-placeholder"]:Object.assign({},l())}}};var x=Object(T.a)("Image",e=>{var t=e.componentCls+"-preview",e=Object(i.b)(e,{previewCls:t,modalMaskBg:new b.a("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[$(e),I(e),Object(y.b)(Object(i.b)(e,{componentCls:t})),{[(t=e).previewCls+"-root"]:Object(N.a)(t,"zoom"),"&":Object(M.a)(t,!0)}]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new b.a(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new b.a(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new b.a(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon}));const C={rotateLeft:ae.createElement(f,null),rotateRight:ae.createElement(g,null),zoomIn:ae.createElement(h.a,null),zoomOut:ae.createElement(v.a,null),close:ae.createElement(n.a,null),left:ae.createElement(d.a,null),right:ae.createElement(u.a,null),flipX:ae.createElement(o.a,null),flipY:ae.createElement(o.a,{rotate:90})};function E(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}t=e=>{const{prefixCls:t,preview:a,className:n,rootClassName:r,style:o}=e,i=E(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:l,locale:c=k.a,getPopupContainer:s,image:d}=ae.useContext(w.a),u=l("image",t),p=l(),b=c.Image||k.a.Image,[f,m]=x(u),g=oe()(r,m),h=oe()(n,m,null==d?void 0:d.className),v=ae.useMemo(()=>{var e,t,n;return!1===a?a:(t=(e="object"==typeof a?a:{})["getContainer"],n=E(e,["getContainer"]),Object.assign(Object.assign({mask:ae.createElement("div",{className:u+"-mask-info"},ae.createElement(O.a,null),null==b?void 0:b.preview),icons:C},n),{getContainer:t||s,transitionName:Object(j.b)(p,"zoom",e.transitionName),maskTransitionName:Object(j.b)(p,"fade",e.maskTransitionName)}))},[a,b]),y=Object.assign(Object.assign({},null==d?void 0:d.style),o);return f(ae.createElement(S,Object.assign({prefixCls:u,preview:v,rootClassName:g,className:h,style:y},i)))};t.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,e=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["previewPrefixCls","preview"]);const a=ae.useContext(w.a)["getPrefixCls"],r=a("image",t),o=r+"-preview",i=a(),[l,c]=x(r),s=ae.useMemo(()=>{var e,t;return!1===n?n:(e="object"==typeof n?n:{},t=oe()(c,null!=(t=e.rootClassName)?t:""),Object.assign(Object.assign({},e),{transitionName:Object(j.b)(i,"zoom",e.transitionName),maskTransitionName:Object(j.b)(i,"fade",e.maskTransitionName),rootClassName:t}))},[n]);return l(ae.createElement(S.PreviewGroup,Object.assign({preview:s,previewPrefixCls:o,icons:C},e)))},e.a=t},716:function(e,t,n){"use strict";var a=n(4),W=n.n(a),X=n(23),G=n(1),F=n(42),Y=n(51),V=n(299),K=n(690),U=e=>{var{prefixCls:t,className:n,hoverable:a=!0}=e,e=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["prefixCls","className","hoverable"]),r=G.useContext(F.a)["getPrefixCls"],r=r("card",t),t=W()(r+"-grid",n,{[r+"-grid-hoverable"]:a});return G.createElement("div",Object.assign({},e,{className:t}))},s=n(11),a=n(144),r=n(79);const o=e=>{var{antCls:t,componentCls:n,cardShadow:a,cardHeadPadding:r,colorBorderSecondary:o,boxShadowTertiary:i,cardPaddingBase:l,extraColor:c}=e;return{[n]:Object.assign(Object.assign({},Object(s.f)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:i},[n+"-head"]:(e=>{var{antCls:t,componentCls:n,headerHeight:a,cardPaddingBase:r,tabsMarginBottom:o}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:a,marginBottom:-1,padding:`0 ${r}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${e.lineWidth}px ${e.lineType} `+e.colorBorderSecondary,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},Object(s.a)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},s.h),{[`
12
12
  > ${n}-typography,
13
13
  > ${n}-typography-edit-content
14
14
  `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[t+"-tabs-top"]:{clear:"both",marginBottom:o,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} `+e.colorBorderSecondary}}})})(e),[n+"-extra"]:{marginInlineStart:"auto",color:c,fontWeight:"normal",fontSize:e.fontSize},[n+"-body"]:Object.assign({padding:l,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},Object(s.a)()),[n+"-grid"]:(e=>{var{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:a,lineWidth:r}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
@@ -17,4 +17,4 @@
17
17
  ${r}px ${r}px 0 0 ${n},
18
18
  ${r}px 0 0 0 ${n} inset,
19
19
  0 ${r}px 0 0 ${n} inset;
20
- `,transition:"all "+e.motionDurationMid,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:a}}})(e),[n+"-cover"]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[n+"-actions"]:(e=>{var{componentCls:t,iconCls:n,actionsLiMargin:a,cardActionsIconSize:r,colorBorderSecondary:o,actionsBg:i}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:i,borderTop:`${e.lineWidth}px ${e.lineType} `+o,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},Object(s.a)()),{"& > li":{margin:a,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:2*e.cardActionsIconSize,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:"color "+e.motionDurationMid},[`a:not(${t}-btn), > `+n]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:e.fontSize*e.lineHeight+"px",transition:"color "+e.motionDurationMid,"&:hover":{color:e.colorPrimary}},["> "+n]:{fontSize:r,lineHeight:r*e.lineHeight+"px"}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} `+o}}})})(e),[n+"-meta"]:(i=e,Object.assign(Object.assign({margin:`-${i.marginXXS}px 0`,display:"flex"},Object(s.a)()),{"&-avatar":{paddingInlineEnd:i.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:i.marginXS}},"&-title":Object.assign({color:i.colorTextHeading,fontWeight:i.fontWeightStrong,fontSize:i.fontSizeLG},s.h),"&-description":{color:i.colorTextDescription}}))}),[n+"-bordered"]:{border:`${e.lineWidth}px ${e.lineType} `+o,[n+"-cover"]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[n+"-hoverable"]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color `+e.motionDurationMid,"&:hover":{borderColor:"transparent",boxShadow:a}},[n+"-contain-grid"]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0 `,[n+"-body"]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[n+"-contain-tabs"]:{[`> ${n}-head`]:{minHeight:0,[n+`-head-title, ${n}-extra`]:{paddingTop:r}}},[n+"-type-inner"]:(e=>{var{componentCls:t,cardPaddingBase:n,colorFillAlter:a}=e;return{[t+"-head"]:{padding:`0 ${n}px`,background:a,"&-title":{fontSize:e.fontSize}},[t+"-body"]:{padding:e.padding+`px ${n}px`}}})(e),[n+"-loading"]:(e=>{e=e.componentCls;return{overflow:"hidden",[e+"-body"]:{userSelect:"none"}}})(e),[n+"-rtl"]:{direction:"rtl"}}};function Z(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}var q=Object(a.a)("Card",e=>{e=Object(r.b)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[o(e),(e=>{var{componentCls:t,cardPaddingSM:n,headerHeightSM:a,headerFontSizeSM:r}=e;return{[t+"-small"]:{[`> ${t}-head`]:{minHeight:a,padding:`0 ${n}px`,fontSize:r,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[t+`-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[t+`-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}})(e)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:e.paddingSM+"px 0",tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),n=G.forwardRef((n,e)=>{const{prefixCls:t,className:a,rootClassName:r,style:o,extra:i,headStyle:l={},bodyStyle:c={},title:s,loading:d,bordered:u=!0,size:p,type:b,cover:f,actions:m,tabList:g,children:h,activeTabKey:v,defaultActiveTabKey:y,tabBarExtraContent:O,hoverable:j,tabProps:S={}}=n,w=Z(n,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:k,direction:x,card:C}=G.useContext(Y.a),E=G.useMemo(()=>{let t=!1;return G.Children.forEach(h,e=>{e&&e.type&&e.type===U&&(t=!0)}),t},[h]),P=k("card",t),[N,T]=q(P),R=G.createElement(K.a,{loading:!0,active:!0,paragraph:{rows:4},title:!1},h),I=void 0!==v,_=Object.assign(Object.assign({},S),{[I?"activeKey":"defaultActiveKey"]:I?v:y,tabBarExtraContent:O});let z;var $,L=Object(F.a)(p),M=g?G.createElement(V.a,Object.assign({size:L&&"default"!==L?L:"large"},_,{className:P+"-head-tabs",onChange:e=>{var t;null!=(t=n.onTabChange)&&t.call(n,e)},items:g.map(e=>{var t=e["tab"],e=Z(e,["tab"]);return Object.assign({label:t},e)})})):null,M=((s||i||M)&&(z=G.createElement("div",{className:P+"-head",style:l},G.createElement("div",{className:P+"-head-wrapper"},s&&G.createElement("div",{className:P+"-head-title"},s),i&&G.createElement("div",{className:P+"-extra"},i)),M)),f?G.createElement("div",{className:P+"-cover"},f):null),H=G.createElement("div",{className:P+"-body",style:c},d?R:h),A=m&&m.length?G.createElement("ul",{className:P+"-actions"},($=m).map((e,t)=>G.createElement("li",{style:{width:100/$.length+"%"},key:"action-"+t},G.createElement("span",null,e)))):null,D=Object(X.a)(w,["onTabChange"]),L=W()(P,null==C?void 0:C.className,{[P+"-loading"]:d,[P+"-bordered"]:u,[P+"-hoverable"]:j,[P+"-contain-grid"]:E,[P+"-contain-tabs"]:g&&g.length,[P+"-"+L]:L,[P+"-type-"+b]:!!b,[P+"-rtl"]:"rtl"===x},a,r,T),B=Object.assign(Object.assign({},null==C?void 0:C.style),o);return N(G.createElement("div",Object.assign({ref:e},D,{className:L,style:B}),z,M,H,A))});n.Grid=U,n.Meta=e=>{var{prefixCls:t,className:n,avatar:a,title:r,description:o}=e,e=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["prefixCls","className","avatar","title","description"]),i=G.useContext(Y.a)["getPrefixCls"],i=i("card",t),t=W()(i+"-meta",n),n=a?G.createElement("div",{className:i+"-meta-avatar"},a):null,a=r?G.createElement("div",{className:i+"-meta-title"},r):null,r=o?G.createElement("div",{className:i+"-meta-description"},o):null,o=a||r?G.createElement("div",{className:i+"-meta-detail"},a,r):null;return G.createElement("div",Object.assign({},e,{className:t}),n,o)},t.a=n},714:function(e,t,n){"use strict";var a=n(282),r=n(283);function o(t,n){switch(arguments.length){case 0:return o;case 1:return Object(r.a)(t)?o:Object(a.a)(function(e){return i(t,e)});default:return Object(r.a)(t)&&Object(r.a)(n)?o:Object(r.a)(t)?Object(a.a)(function(e){return i(e,n)}):Object(r.a)(n)?Object(a.a)(function(e){return i(t,e)}):i(t,n)}}var i;i=function(e,t){for(var n,a={},r={},o=0,i=e.length;o<i;)o+=r[e[o]]=1;for(n in t)r.hasOwnProperty(n)||(a[n]=t[n]);return a};t.a=o}}]);
20
+ `,transition:"all "+e.motionDurationMid,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:a}}})(e),[n+"-cover"]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[n+"-actions"]:(e=>{var{componentCls:t,iconCls:n,actionsLiMargin:a,cardActionsIconSize:r,colorBorderSecondary:o,actionsBg:i}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:i,borderTop:`${e.lineWidth}px ${e.lineType} `+o,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},Object(s.a)()),{"& > li":{margin:a,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:2*e.cardActionsIconSize,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:"color "+e.motionDurationMid},[`a:not(${t}-btn), > `+n]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:e.fontSize*e.lineHeight+"px",transition:"color "+e.motionDurationMid,"&:hover":{color:e.colorPrimary}},["> "+n]:{fontSize:r,lineHeight:r*e.lineHeight+"px"}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} `+o}}})})(e),[n+"-meta"]:(i=e,Object.assign(Object.assign({margin:`-${i.marginXXS}px 0`,display:"flex"},Object(s.a)()),{"&-avatar":{paddingInlineEnd:i.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:i.marginXS}},"&-title":Object.assign({color:i.colorTextHeading,fontWeight:i.fontWeightStrong,fontSize:i.fontSizeLG},s.h),"&-description":{color:i.colorTextDescription}}))}),[n+"-bordered"]:{border:`${e.lineWidth}px ${e.lineType} `+o,[n+"-cover"]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[n+"-hoverable"]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color `+e.motionDurationMid,"&:hover":{borderColor:"transparent",boxShadow:a}},[n+"-contain-grid"]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0 `,[n+"-body"]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[n+"-contain-tabs"]:{[`> ${n}-head`]:{minHeight:0,[n+`-head-title, ${n}-extra`]:{paddingTop:r}}},[n+"-type-inner"]:(e=>{var{componentCls:t,cardPaddingBase:n,colorFillAlter:a}=e;return{[t+"-head"]:{padding:`0 ${n}px`,background:a,"&-title":{fontSize:e.fontSize}},[t+"-body"]:{padding:e.padding+`px ${n}px`}}})(e),[n+"-loading"]:(e=>{e=e.componentCls;return{overflow:"hidden",[e+"-body"]:{userSelect:"none"}}})(e),[n+"-rtl"]:{direction:"rtl"}}};function Q(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}var Z=Object(a.a)("Card",e=>{e=Object(r.b)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[o(e),(e=>{var{componentCls:t,cardPaddingSM:n,headerHeightSM:a,headerFontSizeSM:r}=e;return{[t+"-small"]:{[`> ${t}-head`]:{minHeight:a,padding:`0 ${n}px`,fontSize:r,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[t+`-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[t+`-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}})(e)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:e.paddingSM+"px 0",tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),n=G.forwardRef((n,e)=>{const{prefixCls:t,className:a,rootClassName:r,style:o,extra:i,headStyle:l={},bodyStyle:c={},title:s,loading:d,bordered:u=!0,size:p,type:b,cover:f,actions:m,tabList:g,children:h,activeTabKey:v,defaultActiveTabKey:y,tabBarExtraContent:O,hoverable:S,tabProps:j={}}=n,w=Q(n,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:k,direction:x,card:C}=G.useContext(F.a),E=G.useMemo(()=>{let t=!1;return G.Children.forEach(h,e=>{e&&e.type&&e.type===U&&(t=!0)}),t},[h]),P=k("card",t),[N,M]=Z(P),$=G.createElement(V.a,{loading:!0,active:!0,paragraph:{rows:4},title:!1},h),T=void 0!==v,A=Object.assign(Object.assign({},j),{[T?"activeKey":"defaultActiveKey"]:T?v:y,tabBarExtraContent:O});let I;var R,z=Object(Y.a)(p),L=g?G.createElement(K.a,Object.assign({size:z&&"default"!==z?z:"large"},A,{className:P+"-head-tabs",onChange:e=>{var t;null!=(t=n.onTabChange)&&t.call(n,e)},items:g.map(e=>{var t=e["tab"],e=Q(e,["tab"]);return Object.assign({label:t},e)})})):null,L=((s||i||L)&&(I=G.createElement("div",{className:P+"-head",style:l},G.createElement("div",{className:P+"-head-wrapper"},s&&G.createElement("div",{className:P+"-head-title"},s),i&&G.createElement("div",{className:P+"-extra"},i)),L)),f?G.createElement("div",{className:P+"-cover"},f):null),_=G.createElement("div",{className:P+"-body",style:c},d?$:h),H=m&&m.length?G.createElement("ul",{className:P+"-actions"},(R=m).map((e,t)=>G.createElement("li",{style:{width:100/R.length+"%"},key:"action-"+t},G.createElement("span",null,e)))):null,D=Object(X.a)(w,["onTabChange"]),z=W()(P,null==C?void 0:C.className,{[P+"-loading"]:d,[P+"-bordered"]:u,[P+"-hoverable"]:S,[P+"-contain-grid"]:E,[P+"-contain-tabs"]:g&&g.length,[P+"-"+z]:z,[P+"-type-"+b]:!!b,[P+"-rtl"]:"rtl"===x},a,r,M),B=Object.assign(Object.assign({},null==C?void 0:C.style),o);return N(G.createElement("div",Object.assign({ref:e},D,{className:z,style:B}),I,L,_,H))});n.Grid=U,n.Meta=e=>{var{prefixCls:t,className:n,avatar:a,title:r,description:o}=e,e=function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,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}(e,["prefixCls","className","avatar","title","description"]),i=G.useContext(F.a)["getPrefixCls"],i=i("card",t),t=W()(i+"-meta",n),n=a?G.createElement("div",{className:i+"-meta-avatar"},a):null,a=r?G.createElement("div",{className:i+"-meta-title"},r):null,r=o?G.createElement("div",{className:i+"-meta-description"},o):null,o=a||r?G.createElement("div",{className:i+"-meta-detail"},a,r):null;return G.createElement("div",Object.assign({},e,{className:t}),n,o)},t.a=n},717:function($,e,t){"use strict";t.r(e);var n,a,O=t(1),S=t.n(O),j=t(12),v=t(460),r=t(4),y=t.n(r),o=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,s=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t=t||{})l.call(t,n)&&s(e,n,t[n]);if(i)for(var n of i(t))c.call(t,n)&&s(e,n,t[n]);return e},k=(e,t)=>{var n={};for(a in e)l.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&i)for(var a of i(e))t.indexOf(a)<0&&c.call(e,a)&&(n[a]=e[a]);return n};{var d=n=n||{},r;const g=class{constructor(e,n,t,a){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<g.MIN_VERSION||e>g.MAX_VERSION)throw new RangeError("Version value out of range");if(a<-1||7<a)throw new RangeError("Mask value out of range");this.size=4*e+17;var r=[];for(let e=0;e<this.size;e++)r.push(!1);for(let e=0;e<this.size;e++)this.modules.push(r.slice()),this.isFunction.push(r.slice());this.drawFunctionPatterns();n=this.addEccAndInterleave(t);if(this.drawCodewords(n),-1==a){let t=1e9;for(let e=0;e<8;e++){this.applyMask(e),this.drawFormatBits(e);const n=this.getPenaltyScore();n<t&&(a=e,t=n),this.applyMask(e)}}f(0<=a&&a<=7),this.mask=a,this.applyMask(a),this.drawFormatBits(a),this.isFunction=[]}static encodeText(e,t){e=d.QrSegment.makeSegments(e);return g.encodeSegments(e,t)}static encodeBinary(e,t){e=d.QrSegment.makeBytes(e);return g.encodeSegments([e],t)}static encodeSegments(e,t,n=1,a=40,r=-1,o=!0){if(!(g.MIN_VERSION<=n&&n<=a&&a<=g.MAX_VERSION)||r<-1||7<r)throw new RangeError("Invalid value");let i,l;for(i=n;;i++){const p=8*g.getNumDataCodewords(i,t),n=u.getTotalBits(e,i);if(n<=p){l=n;break}if(i>=a)throw new RangeError("Data too long")}for(const e of[g.Ecc.MEDIUM,g.Ecc.QUARTILE,g.Ecc.HIGH])o&&l<=8*g.getNumDataCodewords(i,e)&&(t=e);var c=[];for(const g of e){p(g.mode.modeBits,4,c),p(g.numChars,g.mode.numCharCountBits(i),c);for(const e of g.getData())c.push(e)}f(c.length==l);var s=8*g.getNumDataCodewords(i,t);f(c.length<=s),p(0,Math.min(4,s-c.length),c),p(0,(8-c.length%8)%8,c),f(c.length%8==0);for(let e=236;c.length<s;e^=253)p(e,8,c);let d=[];for(;8*d.length<c.length;)d.push(0);return c.forEach((e,t)=>d[t>>>3]|=e<<7-(7&t)),new g(i,t,d,r)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);var n=this.getAlignmentPatternPositions(),a=n.length;for(let t=0;t<a;t++)for(let e=0;e<a;e++)0==t&&0==e||0==t&&e==a-1||t==a-1&&0==e||this.drawAlignmentPattern(n[t],n[e]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){e=this.errorCorrectionLevel.formatBits<<3|e;let t=e;for(let e=0;e<10;e++)t=t<<1^1335*(t>>>9);var n=21522^(e<<10|t);f(n>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,b(n,e));this.setFunctionModule(8,7,b(n,6)),this.setFunctionModule(8,8,b(n,7)),this.setFunctionModule(7,8,b(n,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,b(n,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,b(n,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,b(n,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(!(this.version<7)){let t=this.version;for(let e=0;e<12;e++)t=t<<1^7973*(t>>>11);var n=this.version<<12|t;f(n>>>18==0);for(let e=0;e<18;e++){const a=b(n,e),r=this.size-11+e%3,f=Math.floor(e/3);this.setFunctionModule(r,f,a),this.setFunctionModule(f,r,a)}}}drawFinderPattern(n,a){for(let t=-4;t<=4;t++)for(let e=-4;e<=4;e++){var r=Math.max(Math.abs(e),Math.abs(t)),o=n+e,i=a+t;0<=o&&o<this.size&&0<=i&&i<this.size&&this.setFunctionModule(o,i,2!=r&&4!=r)}}drawAlignmentPattern(n,a){for(let t=-2;t<=2;t++)for(let e=-2;e<=2;e++)this.setFunctionModule(n+e,a+t,1!=Math.max(Math.abs(e),Math.abs(t)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(n){var e=this.version,t=this.errorCorrectionLevel;if(n.length!=g.getNumDataCodewords(e,t))throw new RangeError("Invalid argument");const a=g.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][e],r=g.ECC_CODEWORDS_PER_BLOCK[t.ordinal][e],o=Math.floor(g.getNumRawDataModules(e)/8),i=a-o%a,l=Math.floor(o/a);var c=[],s=g.reedSolomonComputeDivisor(r);for(let e=0,t=0;e<a;e++){var d=n.slice(t,t+l-r+(e<i?0:1));t+=d.length;const f=g.reedSolomonComputeRemainder(d,s);e<i&&d.push(0),c.push(d.concat(f))}let u=[];for(let n=0;n<c[0].length;n++)c.forEach((e,t)=>{(n!=l-r||t>=i)&&u.push(e[n])});return f(u.length==o),u}drawCodewords(a){if(a.length!=Math.floor(g.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let r=0;for(let n=this.size-1;1<=n;n-=2){6==n&&(n=5);for(let t=0;t<this.size;t++)for(let e=0;e<2;e++){var o=n-e,i=0==(n+1&2)?this.size-1-t:t;!this.isFunction[i][o]&&r<8*a.length&&(this.modules[i][o]=b(a[r>>>3],7-(7&r)),r++)}}f(r==8*a.length)}applyMask(a){if(a<0||7<a)throw new RangeError("Mask value out of range");for(let n=0;n<this.size;n++)for(let t=0;t<this.size;t++){let e;switch(a){case 0:e=(t+n)%2==0;break;case 1:e=n%2==0;break;case 2:e=t%3==0;break;case 3:e=(t+n)%3==0;break;case 4:e=(Math.floor(t/3)+Math.floor(n/2))%2==0;break;case 5:e=t*n%2+t*n%3==0;break;case 6:e=(t*n%2+t*n%3)%2==0;break;case 7:e=((t+n)%2+t*n%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[n][t]&&e&&(this.modules[n][t]=!this.modules[n][t])}}getPenaltyScore(){let o=0;for(let r=0;r<this.size;r++){let t=!1,n=0,a=[0,0,0,0,0,0,0];for(let e=0;e<this.size;e++)this.modules[r][e]==t?5==++n?o+=g.PENALTY_N1:5<n&&o++:(this.finderPenaltyAddHistory(n,a),t||(o+=this.finderPenaltyCountPatterns(a)*g.PENALTY_N3),t=this.modules[r][e],n=1);o+=this.finderPenaltyTerminateAndCount(t,n,a)*g.PENALTY_N3}for(let r=0;r<this.size;r++){let t=!1,n=0,a=[0,0,0,0,0,0,0];for(let e=0;e<this.size;e++)this.modules[e][r]==t?5==++n?o+=g.PENALTY_N1:5<n&&o++:(this.finderPenaltyAddHistory(n,a),t||(o+=this.finderPenaltyCountPatterns(a)*g.PENALTY_N3),t=this.modules[e][r],n=1);o+=this.finderPenaltyTerminateAndCount(t,n,a)*g.PENALTY_N3}for(let t=0;t<this.size-1;t++)for(let e=0;e<this.size-1;e++){const n=this.modules[t][e];n==this.modules[t][e+1]&&n==this.modules[t+1][e]&&n==this.modules[t+1][e+1]&&(o+=g.PENALTY_N2)}let e=0;for(const o of this.modules)e=o.reduce((e,t)=>e+(t?1:0),e);const t=this.size*this.size,n=Math.ceil(Math.abs(20*e-10*t)/t)-1;return f(0<=n&&n<=9),f(0<=(o+=n*g.PENALTY_N4)&&o<=2568888),o}getAlignmentPatternPositions(){if(1==this.version)return[];var t=Math.floor(this.version/7)+2,n=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*t-2)),a=[6];for(let e=this.size-7;a.length<t;e-=n)a.splice(1,0,e);return a}static getNumRawDataModules(e){if(e<g.MIN_VERSION||e>g.MAX_VERSION)throw new RangeError("Version number out of range");let t=(16*e+128)*e+64;if(2<=e){const g=Math.floor(e/7)+2;t-=(25*g-10)*g-55,7<=e&&(t-=36)}return f(208<=t&&t<=29648),t}static getNumDataCodewords(e,t){return Math.floor(g.getNumRawDataModules(e)/8)-g.ECC_CODEWORDS_PER_BLOCK[t.ordinal][e]*g.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][e]}static reedSolomonComputeDivisor(t){if(t<1||255<t)throw new RangeError("Degree out of range");var n=[];for(let e=0;e<t-1;e++)n.push(0);n.push(1);let a=1;for(let e=0;e<t;e++){for(let e=0;e<n.length;e++)n[e]=g.reedSolomonMultiply(n[e],a),e+1<n.length&&(n[e]^=n[e+1]);a=g.reedSolomonMultiply(a,2)}return n}static reedSolomonComputeRemainder(n,e){let a=e.map(e=>0);for(const t of n){const n=t^a.shift();a.push(0),e.forEach((e,t)=>a[t]^=g.reedSolomonMultiply(e,n))}return a}static reedSolomonMultiply(t,n){if(t>>>8!=0||n>>>8!=0)throw new RangeError("Byte out of range");let a=0;for(let e=7;0<=e;e--)a=a<<1^285*(a>>>7),a^=(n>>>e&1)*t;return f(a>>>8==0),a}finderPenaltyCountPatterns(e){var t=e[1],n=(f(t<=3*this.size),0<t&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t);return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};function p(t,n,a){if(n<0||31<n||t>>>n!=0)throw new RangeError("Value out of range");for(let e=n-1;0<=e;e--)a.push(t>>>e&1)}function b(e,t){return 0!=(e>>>t&1)}function f(e){if(!e)throw new Error("Assertion error")}(r=g).MIN_VERSION=1,r.MAX_VERSION=40,r.PENALTY_N1=3,r.PENALTY_N2=3,r.PENALTY_N3=40,r.PENALTY_N4=10,r.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],r.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],d.QrCode=r;const h=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(e){var t=[];for(const n of e)p(n,8,t);return new h(h.Mode.BYTE,e.length,t)}static makeNumeric(t){if(!h.isNumeric(t))throw new RangeError("String contains non-numeric characters");var n=[];for(let e=0;e<t.length;){var a=Math.min(t.length-e,3);p(parseInt(t.substr(e,a),10),3*a+1,n),e+=a}return new h(h.Mode.NUMERIC,t.length,n)}static makeAlphanumeric(e){if(!h.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,n=[];for(t=0;t+2<=e.length;t+=2){var a=45*h.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));p(a+=h.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),11,n)}return t<e.length&&p(h.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,n),new h(h.Mode.ALPHANUMERIC,e.length,n)}static makeSegments(e){return""==e?[]:h.isNumeric(e)?[h.makeNumeric(e)]:h.isAlphanumeric(e)?[h.makeAlphanumeric(e)]:[h.makeBytes(h.toUtf8ByteArray(e))]}static makeEci(e){var t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)p(e,8,t);else if(e<16384)p(2,2,t),p(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");p(6,3,t),p(e,21,t)}return new h(h.Mode.ECI,0,t)}static isNumeric(e){return h.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return h.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const a of e){const e=a.mode.numCharCountBits(t);if(a.numChars>=1<<e)return 1/0;n+=4+e+a.bitData.length}return n}static toUtf8ByteArray(t){t=encodeURI(t);var n=[];for(let e=0;e<t.length;e++)"%"!=t.charAt(e)?n.push(t.charCodeAt(e)):(n.push(parseInt(t.substr(e+1,2),16)),e+=2);return n}};let u=h;u.NUMERIC_REGEX=/^[0-9]*$/,u.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,u.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",d.QrSegment=u}r=(r=n=n||{}).QrCode||(r.QrCode={}),(a=m=class{constructor(e,t){this.ordinal=e,this.formatBits=t}}).LOW=new m(0,1),a.MEDIUM=new m(1,0),a.QUARTILE=new m(2,3),a.HIGH=new m(3,2),r.Ecc=a,m=(m=n=n||{}).QrSegment||(m.QrSegment={}),(a=r=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}).NUMERIC=new r(1,[10,12,14]),a.ALPHANUMERIC=new r(2,[9,11,13]),a.BYTE=new r(4,[8,16,16]),a.KANJI=new r(8,[8,10,12]),a.ECI=new r(7,[0,0,0]),m.Mode=a;var x=n,C={L:x.QrCode.Ecc.LOW,M:x.QrCode.Ecc.MEDIUM,Q:x.QrCode.Ecc.QUARTILE,H:x.QrCode.Ecc.HIGH},E=128,P="L",N="#FFFFFF",M="#000000",T=!1;function I(e,o=0){const i=[];return e.forEach(function(n,a){let r=null;n.forEach(function(e,t){e||null===r?t!==n.length-1?e&&null===r&&(r=t):e&&(null===r?i.push(`M${t+o},${a+o} h1v1H${t+o}z`):i.push(`M${r+o},${a+o} h${t+1-r}v1H${r+o}z`)):(i.push(`M${r+o} ${a+o}h${t-r}v1H${r+o}z`),r=null)})}),i.join("")}function R(e,n){return e.slice().map((e,t)=>t<n.y||t>=n.y+n.h?e:e.map((e,t)=>(t<n.x||t>=n.x+n.w)&&e))}function z(e,t,n,a){if(null==a)return null;var n=e.length+2*(n?4:0),r=Math.floor(.1*t),n=n/t,t=(a.width||r)*n,r=(a.height||r)*n,o=null==a.x?e.length/2-t/2:a.x*n,e=null==a.y?e.length/2-r/2:a.y*n;let i=null;return a.excavate&&(n=Math.floor(o),a=Math.floor(e),i={x:n,y:a,w:Math.ceil(t+o-n),h:Math.ceil(r+e-a)}),{x:o,y:e,h:r,w:t,excavation:i}}var L=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();function A(e){const t=e,{value:s,size:d=E,level:u=P,bgColor:p=N,fgColor:b=M,includeMargin:f=T,style:n,imageSettings:m}=t,a=k(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),r=null==m?void 0:m.src,g=Object(O.useRef)(null),h=Object(O.useRef)(null),[,o]=Object(O.useState)(!1);Object(O.useEffect)(()=>{if(null!=g.current){const n=g.current,a=n.getContext("2d");if(a){let e=x.QrCode.encodeText(s,C[u]).getModules();const r=f?4:0,o=e.length+2*r,i=z(e,d,f,m),l=h.current,c=null!=i&&null!==l&&l.complete&&0!==l.naturalHeight&&0!==l.naturalWidth;c&&null!=i.excavation&&(e=R(e,i.excavation));var t=window.devicePixelRatio||1,t=(n.height=n.width=d*t,d/o*t);a.scale(t,t),a.fillStyle=p,a.fillRect(0,0,o,o),a.fillStyle=b,L?a.fill(new Path2D(I(e,r))):e.forEach(function(e,n){e.forEach(function(e,t){e&&a.fillRect(t+r,n+r,1,1)})}),c&&a.drawImage(l,i.x+r,i.y+r,i.w,i.h)}}}),Object(O.useEffect)(()=>{o(!1)},[r]);e=w({height:d,width:d},n);let i=null;return null!=r&&(i=S.a.createElement("img",{src:r,key:r,style:{display:"none"},onLoad:()=>{o(!0)},ref:h})),S.a.createElement(S.a.Fragment,null,S.a.createElement("canvas",w({style:e,height:d,width:d,ref:g},a)),i)}function _(e){var{value:t,size:n=E,level:a=P,bgColor:r=N,fgColor:o=M,includeMargin:i=T,imageSettings:l}=e,e=k(e,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let c=x.QrCode.encodeText(t,C[a]).getModules();t=i?4:0,a=c.length+2*t,i=z(c,n,i,l);let s=null;null!=l&&null!=i&&(null!=i.excavation&&(c=R(c,i.excavation)),s=S.a.createElement("image",{xlinkHref:l.src,height:i.h,width:i.w,x:i.x+t,y:i.y+t,preserveAspectRatio:"none"}));l=I(c,t);return S.a.createElement("svg",w({height:n,width:n,viewBox:`0 0 ${a} `+a},e),S.a.createElement("path",{fill:r,d:`M0,0 h${a}v${a}H0z`,shapeRendering:"crispEdges"}),S.a.createElement("path",{fill:o,d:l,shapeRendering:"crispEdges"}),s)}function u(e){var t=e.id,n=e.className,a=e.style,r=e.key,o=e.locale,i=e.value,l=e.type,c=e.icon,s=e.size,d=e.iconSize,u=e.color,p=e.bgColor,b=e.bordered,f=e.errorLevel,m=e.status,g=e.expires,h=e.autoSpin,v=e.refreshClicks,y=e.setProps,e=e.loading_state;return Object(O.useEffect)(function(){i&&g&&setTimeout(function(){y({status:"expired"})},1e3*g)},[i]),S.a.createElement(j.a,{locale:Q.b.get(o)},S.a.createElement(V,{id:t,className:Object(U.isString)(n)?n:n?Object(K.a)(n):void 0,style:a,key:r,value:i,type:l,icon:c,size:s,iconSize:d,color:u,bgColor:p,bordered:b,errorLevel:f,status:h&&null!=e&&null!=(o=e.prop_name)&&o.startsWith("value")?"loading":m,onRefresh:function(){return y({refreshClicks:v+1})},"data-dash-is-loading":e&&e.is_loading||void 0}))}var H=t(65),D=t(42),B=t(121),W=t(339),X=t(89),G=t(11),r=t(144),F=t(79),Y=Object(r.a)("QRCode",e=>{return e=Object(F.b)(e,{QRCodeExpiredTextColor:"rgba(0, 0, 0, 0.88)",QRCodeMaskBackgroundColor:"rgba(255, 255, 255, 0.96)"}),{[t=e.componentCls]:Object.assign(Object.assign({},Object(G.f)(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${e.lineWidth}px ${e.lineType} `+e.colorSplit,position:"relative",width:"100%",height:"100%",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired`]:{color:e.QRCodeExpiredTextColor}},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[t+"-borderless"]:{borderColor:"transparent"}};var t}),V=e=>{var[,t]=Object(X.a)(),{value:e,type:n="canvas",icon:a="",size:r=160,iconSize:o=40,color:i=t.colorText,errorLevel:l="M",status:c="active",bordered:s=!0,onRefresh:d,style:u,className:p,rootClassName:b,prefixCls:f,bgColor:m="transparent"}=e,g=Object(O.useContext)(D.a)["getPrefixCls"],g=g("qrcode",f),[f,h]=Y(g),t={value:e,size:r-2*(t.paddingSM+t.lineWidth),level:l,bgColor:m,fgColor:i,imageSettings:a?{src:a,x:void 0,y:void 0,height:o,width:o,excavate:!0}:void 0},[l]=Object(B.a)("QRCode");return e?(i=y()(g,p,b,h,{[g+"-borderless"]:!s}),f(S.a.createElement("div",{style:Object.assign(Object.assign({},u),{width:r,height:r,backgroundColor:m}),className:i},"active"!==c&&S.a.createElement("div",{className:g+"-mask"},"loading"===c&&S.a.createElement(W.a,null),"expired"===c&&S.a.createElement(S.a.Fragment,null,S.a.createElement("p",{className:g+"-expired"},null==l?void 0:l.expired),d&&S.a.createElement(H.a,{type:"link",icon:S.a.createElement(v.a,null),onClick:d},null==l?void 0:l.refresh))),"canvas"===n?S.a.createElement(A,Object.assign({},t)):S.a.createElement(_,Object.assign({},t))))):null},K=t(10),U=t(9),Q=t(50),m=t(205);(e.default=u).defaultProps=m.b,u.propTypes=m.c},719:function(e,t,n){"use strict";var a=n(279),r=n(280);function o(t,n){switch(arguments.length){case 0:return o;case 1:return Object(r.a)(t)?o:Object(a.a)(function(e){return i(t,e)});default:return Object(r.a)(t)&&Object(r.a)(n)?o:Object(r.a)(t)?Object(a.a)(function(e){return i(e,n)}):Object(r.a)(n)?Object(a.a)(function(e){return i(t,e)}):i(t,n)}}var i;i=function(e,t){for(var n,a={},r={},o=0,i=e.length;o<i;)o+=r[e[o]]=1;for(n in t)r.hasOwnProperty(n)||(a[n]=t[n]);return a};t.a=o}}]);