UNPKG

harperdb

Version:

HarperDB is a distributed database, caching service, streaming broker, and application development platform focused on performance and ease of use.

1 lines 23.2 kB
"use strict";(self.webpackChunkharperdb_studio=self.webpackChunkharperdb_studio||[]).push([[851],{5488:(e,t,n)=>{n.d(t,{A:()=>v});var o=n(9950),r=n(1942),i=n.n(r),s=n(8738),a=n.n(s),c=n(1497);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},l(e)}var u=["className","cssModule","type","bsSize","valid","invalid","tag","addon","plaintext","innerRef"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},p.apply(this,arguments)}function f(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function b(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=m(e);if(t){var r=m(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}(this,n)}}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var g={children:i().node,type:i().string,size:i().oneOfType([i().number,i().string]),bsSize:i().string,valid:i().bool,invalid:i().bool,tag:c.Wx,innerRef:i().oneOfType([i().object,i().func,i().string]),plaintext:i().bool,addon:i().bool,className:i().string,cssModule:i().object},O=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(s,e);var t,n,r,i=b(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).getRef=t.getRef.bind(y(t)),t.focus=t.focus.bind(y(t)),t}return t=s,(n=[{key:"getRef",value:function(e){this.props.innerRef&&this.props.innerRef(e),this.ref=e}},{key:"focus",value:function(){this.ref&&this.ref.focus()}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.cssModule,r=e.type,i=void 0===r?"text":r,s=e.bsSize,l=e.valid,d=e.invalid,h=e.tag,b=e.addon,y=e.plaintext,m=e.innerRef,g=f(e,u),O=["switch","radio","checkbox"].indexOf(i)>-1,v="select"===i,j="range"===i,w=h||(v||"textarea"===i?i:"input"),k="form-control";y?(k="".concat(k,"-plaintext"),w=h||"input"):j?k="form-range":v?k="form-select":O&&(k=b?null:"form-check-input"),g.size&&/\D/g.test(g.size)&&((0,c.mc)('Please use the prop "bsSize" instead of the "size" to bootstrap\'s input sizing.'),s=g.size,delete g.size);var C=(0,c.qO)(a()(t,d&&"is-invalid",l&&"is-valid",!!s&&(v?"form-select-".concat(s):"form-control-".concat(s)),k),n);return("input"===w||h&&"function"===typeof h)&&(g.type="switch"===i?"checkbox":i),g.children&&!y&&"select"!==i&&"string"===typeof w&&"select"!==w&&((0,c.mc)('Input with a type of "'.concat(i,'" cannot have children. Please use "value"/"defaultValue" instead.')),delete g.children),o.createElement(w,p({},g,{ref:m,className:C,"aria-invalid":d}))}}])&&d(t.prototype,n),r&&d(t,r),Object.defineProperty(t,"prototype",{writable:!1}),s}(o.Component);O.propTypes=g;const v=O},6685:(e,t,n)=>{n.d(t,{A:()=>Q});var o=n(9950),r=n(1942),i=n.n(r),s=n(8738),a=n.n(s),c=n(7119),l=n(1497);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},u(e)}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function d(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=h(e);if(t){var r=h(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var b={children:i().node.isRequired,node:i().any},y=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(i,e);var t,n,o,r=d(i);function i(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.apply(this,arguments)}return t=i,(n=[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return l.Sw?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),c.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}])&&p(t.prototype,n),o&&p(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(o.Component);y.propTypes=b;const m=y;var g=n(2448),O=["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"];function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},v.apply(this,arguments)}function j(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=k(k({},g.Ay.propTypes),{},{children:i().oneOfType([i().arrayOf(i().node),i().node]),tag:l.Wx,baseClass:i().string,baseClassActive:i().string,className:i().string,cssModule:i().object,innerRef:i().oneOfType([i().object,i().string,i().func])}),_=k(k({},g.Ay.defaultProps),{},{timeout:l.Q6.Fade,appear:!0,enter:!0,exit:!0,in:!0});function E(e){var t=(0,o.useRef)(null),n=(0,l.Jc)(_,e),r=n.tag,i=void 0===r?"div":r,s=n.baseClass,c=void 0===s?"fade":s,u=n.baseClassActive,p=void 0===u?"show":u,f=n.className,d=n.cssModule,h=n.children,b=n.innerRef,y=void 0===b?t:b,m=j(n,O),w=(0,l.Up)(k({defaultProps:_},m),l.PS),C=(0,l.cJ)(m,l.PS);return o.createElement(g.Ay,v({nodeRef:y},w),(function(e){var t="entered"===e,n=(0,l.qO)(a()(f,c,t&&p),d);return o.createElement(i,v({className:n},C,{ref:y}),h)}))}E.propTypes=P;const T=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},S(e)}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},A.apply(this,arguments)}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function F(e,t){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},F(e,t)}function M(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=z(e);if(t){var r=z(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===S(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return D(e)}(this,n)}}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z(e){return z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},z(e)}function I(){}var q=i().shape(T.propTypes),W={autoFocus:i().bool,backdrop:i().oneOfType([i().bool,i().oneOf(["static"])]),backdropClassName:i().string,backdropTransition:q,centered:i().bool,children:i().node,contentClassName:i().string,className:i().string,container:l.xQ,cssModule:i().object,external:i().node,fade:i().bool,fullscreen:i().oneOfType([i().bool,i().oneOf(["sm","md","lg","xl"])]),innerRef:i().oneOfType([i().object,i().string,i().func]),isOpen:i().bool,keyboard:i().bool,labelledBy:i().string,modalClassName:i().string,modalTransition:q,onClosed:i().func,onEnter:i().func,onExit:i().func,onOpened:i().func,returnFocusAfterClose:i().bool,role:i().string,scrollable:i().bool,size:i().string,toggle:i().func,trapFocus:i().bool,unmountOnClose:i().bool,wrapClassName:i().string,zIndex:i().oneOfType([i().number,i().string])},L=Object.keys(W),U={isOpen:!1,autoFocus:!0,centered:!1,scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:I,onClosed:I,modalTransition:{timeout:l.Q6.Modal},backdropTransition:{mountOnEnter:!0,timeout:l.Q6.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1},K=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&F(e,t)}(s,e);var t,n,r,i=M(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e))._element=null,t._originalBodyPadding=null,t.getFocusableChildren=t.getFocusableChildren.bind(D(t)),t.handleBackdropClick=t.handleBackdropClick.bind(D(t)),t.handleBackdropMouseDown=t.handleBackdropMouseDown.bind(D(t)),t.handleEscape=t.handleEscape.bind(D(t)),t.handleStaticBackdropAnimation=t.handleStaticBackdropAnimation.bind(D(t)),t.handleTab=t.handleTab.bind(D(t)),t.onOpened=t.onOpened.bind(D(t)),t.onClosed=t.onClosed.bind(D(t)),t.manageFocusAfterClose=t.manageFocusAfterClose.bind(D(t)),t.clearBackdropAnimationTimeout=t.clearBackdropAnimationTimeout.bind(D(t)),t.trapFocus=t.trapFocus.bind(D(t)),t.state={isOpen:!1,showStaticBackdropAnimation:!1},t}return t=s,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isOpen,n=e.autoFocus,o=e.onEnter;t&&(this.init(),this.setState({isOpen:!0}),n&&this.setFocus()),o&&o(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){if(this.props.isOpen&&!e.isOpen)return this.init(),void this.setState({isOpen:!0});this.props.autoFocus&&this.state.isOpen&&!t.isOpen&&this.setFocus(),this._element&&e.zIndex!==this.props.zIndex&&(this._element.style.zIndex=this.props.zIndex)}},{key:"componentWillUnmount",value:function(){this.clearBackdropAnimationTimeout(),this.props.onExit&&this.props.onExit(),this._element&&(this.destroy(),(this.props.isOpen||this.state.isOpen)&&this.close()),document.removeEventListener("focus",this.trapFocus,!0),this._isMounted=!1}},{key:"handleBackdropClick",value:function(e){if(e.target===this._mouseDownElement){e.stopPropagation();var t=this._dialog?this._dialog.parentNode:null;if(t&&e.target===t&&"static"===this.props.backdrop&&this.handleStaticBackdropAnimation(),!this.props.isOpen||!0!==this.props.backdrop)return;t&&e.target===t&&this.props.toggle&&this.props.toggle(e)}}},{key:"handleTab",value:function(e){if(9===e.which&&!(this.modalIndex<s.openCount-1)){var t=this.getFocusableChildren(),n=t.length;if(0!==n){for(var o=this.getFocusedChild(),r=0,i=0;i<n;i+=1)if(t[i]===o){r=i;break}e.shiftKey&&0===r?(e.preventDefault(),t[n-1].focus()):e.shiftKey||r!==n-1||(e.preventDefault(),t[0].focus())}}}},{key:"handleBackdropMouseDown",value:function(e){this._mouseDownElement=e.target}},{key:"handleEscape",value:function(e){this.props.isOpen&&e.keyCode===l.uP.esc&&this.props.toggle&&(this.props.keyboard?(e.preventDefault(),e.stopPropagation(),this.props.toggle(e)):"static"===this.props.backdrop&&(e.preventDefault(),e.stopPropagation(),this.handleStaticBackdropAnimation()))}},{key:"handleStaticBackdropAnimation",value:function(){var e=this;this.clearBackdropAnimationTimeout(),this.setState({showStaticBackdropAnimation:!0}),this._backdropAnimationTimeout=setTimeout((function(){e.setState({showStaticBackdropAnimation:!1})}),100)}},{key:"onOpened",value:function(e,t){this.props.onOpened(),(this.props.modalTransition.onEntered||I)(e,t)}},{key:"onClosed",value:function(e){var t=this.props.unmountOnClose;this.props.onClosed(),(this.props.modalTransition.onExited||I)(e),t&&this.destroy(),this.close(),this._isMounted&&this.setState({isOpen:!1})}},{key:"setFocus",value:function(){this._dialog&&this._dialog.parentNode&&"function"===typeof this._dialog.parentNode.focus&&this._dialog.parentNode.focus()}},{key:"getFocusableChildren",value:function(){return this._element.querySelectorAll(l.mr.join(", "))}},{key:"getFocusedChild",value:function(){var e,t=this.getFocusableChildren();try{e=document.activeElement}catch(n){e=t[0]}return e}},{key:"trapFocus",value:function(e){if(this.props.trapFocus&&this._element&&(!this._dialog||this._dialog.parentNode!==e.target)&&!(this.modalIndex<s.openCount-1)){for(var t=this.getFocusableChildren(),n=0;n<t.length;n+=1)if(t[n]===e.target)return;t.length>0&&(e.preventDefault(),e.stopPropagation(),t[0].focus())}}},{key:"init",value:function(){try{this._triggeringElement=document.activeElement}catch(e){this._triggeringElement=null}this._element||(this._element=document.createElement("div"),this._element.setAttribute("tabindex","-1"),this._element.style.position="relative",this._element.style.zIndex=this.props.zIndex,this._mountContainer=(0,l.EW)(this.props.container),this._mountContainer.appendChild(this._element)),this._originalBodyPadding=(0,l.FS)(),s.openCount<1&&(s.originalBodyOverflow=window.getComputedStyle(document.body).overflow),(0,l.Xt)(),0===s.openCount&&(document.body.className=a()(document.body.className,(0,l.qO)("modal-open",this.props.cssModule)),document.body.style.overflow="hidden"),this.modalIndex=s.openCount,s.openCount+=1}},{key:"destroy",value:function(){this._element&&(this._mountContainer.removeChild(this._element),this._element=null),this.manageFocusAfterClose()}},{key:"manageFocusAfterClose",value:function(){if(this._triggeringElement){var e=this.props.returnFocusAfterClose;this._triggeringElement.focus&&e&&this._triggeringElement.focus(),this._triggeringElement=null}}},{key:"close",value:function(){if(s.openCount<=1){var e=(0,l.qO)("modal-open",this.props.cssModule),t=new RegExp("(^| )".concat(e,"( |$)"));document.body.className=document.body.className.replace(t," ").trim(),document.body.style.overflow=s.originalBodyOverflow}this.manageFocusAfterClose(),s.openCount=Math.max(0,s.openCount-1),(0,l.Ll)(this._originalBodyPadding)}},{key:"clearBackdropAnimationTimeout",value:function(){this._backdropAnimationTimeout&&(clearTimeout(this._backdropAnimationTimeout),this._backdropAnimationTimeout=void 0)}},{key:"renderModalDialog",value:function(){var e,t=this,n=(0,l.cJ)(this.props,L),r="modal-dialog";return o.createElement("div",A({},n,{className:(0,l.qO)(a()(r,this.props.className,(e={},B(e,"modal-".concat(this.props.size),this.props.size),B(e,"".concat(r,"-centered"),this.props.centered),B(e,"".concat(r,"-scrollable"),this.props.scrollable),B(e,"modal-fullscreen",!0===this.props.fullscreen),B(e,"modal-fullscreen-".concat(this.props.fullscreen,"-down"),"string"===typeof this.props.fullscreen),e)),this.props.cssModule),role:"document",ref:function(e){t._dialog=e}}),o.createElement("div",{className:(0,l.qO)(a()("modal-content",this.props.contentClassName),this.props.cssModule)},this.props.children))}},{key:"render",value:function(){var e=this.props.unmountOnClose;if(this._element&&(this.state.isOpen||!e)){var t=!!this._element&&!this.state.isOpen&&!e;this._element.style.display=t?"none":"block";var n=this.props,r=n.wrapClassName,i=n.modalClassName,s=n.backdropClassName,c=n.cssModule,u=n.isOpen,p=n.backdrop,f=n.role,d=n.labelledBy,h=n.external,b=n.innerRef,y={onClick:this.handleBackdropClick,onMouseDown:this.handleBackdropMouseDown,onKeyUp:this.handleEscape,onKeyDown:this.handleTab,style:{display:"block"},"aria-labelledby":d,"aria-modal":!0,role:f,tabIndex:"-1"},g=this.props.fade,O=N(N(N({},T.defaultProps),this.props.modalTransition),{},{baseClass:g?this.props.modalTransition.baseClass:"",timeout:g?this.props.modalTransition.timeout:0}),v=N(N(N({},T.defaultProps),this.props.backdropTransition),{},{baseClass:g?this.props.backdropTransition.baseClass:"",timeout:g?this.props.backdropTransition.timeout:0}),j=p&&(g?o.createElement(T,A({},v,{in:u&&!!p,cssModule:c,className:(0,l.qO)(a()("modal-backdrop",s),c)})):o.createElement("div",{className:(0,l.qO)(a()("modal-backdrop","show",s),c)}));return o.createElement(m,{node:this._element},o.createElement("div",{className:(0,l.qO)(r)},o.createElement(T,A({},y,O,{in:u,onEntered:this.onOpened,onExited:this.onClosed,cssModule:c,className:(0,l.qO)(a()("modal",i,this.state.showStaticBackdropAnimation&&"modal-static"),c),innerRef:b}),h,this.renderModalDialog()),j))}return null}}])&&R(t.prototype,n),r&&R(t,r),Object.defineProperty(t,"prototype",{writable:!1}),s}(o.Component);K.propTypes=W,K.defaultProps=U,K.openCount=0,K.originalBodyOverflow=null;const Q=K},877:(e,t,n)=>{n.d(t,{A:()=>h});var o=n(9950),r=n(1942),i=n.n(r),s=n(8738),a=n.n(s),c=n(1497),l=["className","cssModule","tag"];function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var f={className:i().string,cssModule:i().object,tag:c.Wx};function d(e){var t=e.className,n=e.cssModule,r=e.tag,i=void 0===r?"div":r,s=p(e,l),f=(0,c.qO)(a()(t,"modal-body"),n);return o.createElement(i,u({},s,{className:f}))}d.propTypes=f;const h=d},1340:(e,t,n)=>{n.d(t,{A:()=>h});var o=n(9950),r=n(1942),i=n.n(r),s=n(8738),a=n.n(s),c=n(1497),l=["className","cssModule","children","toggle","tag","wrapTag","closeAriaLabel","close"];function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var f={children:i().node,className:i().string,close:i().object,closeAriaLabel:i().string,cssModule:i().object,tag:c.Wx,toggle:i().func,wrapTag:c.Wx};function d(e){var t,n=e.className,r=e.cssModule,i=e.children,s=e.toggle,f=e.tag,d=void 0===f?"h5":f,h=e.wrapTag,b=void 0===h?"div":h,y=e.closeAriaLabel,m=void 0===y?"Close":y,g=e.close,O=p(e,l),v=(0,c.qO)(a()(n,"modal-header"),r);return!g&&s&&(t=o.createElement("button",{type:"button",onClick:s,className:(0,c.qO)("btn-close",r),"aria-label":m})),o.createElement(b,u({},O,{className:v}),o.createElement(d,{className:(0,c.qO)("modal-title",r)},i),g||t)}d.propTypes=f;const h=d}}]);