@windstream/react-shared-components 0.0.57 → 0.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contentful/index.d.ts +15 -2
- package/dist/contentful/index.esm.js +1 -1
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +1 -1
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/accordion/index.tsx +61 -49
- package/src/components/accordion/types.ts +1 -0
- package/src/components/material-icon/constants.ts +1 -1
- package/src/contentful/blocks/accordion/index.tsx +1 -0
- package/src/contentful/blocks/cards/testimonial-card/index.tsx +86 -0
- package/src/contentful/blocks/cards/testimonial-card/types.tsx +10 -0
- package/src/contentful/index.ts +54 -51
- package/src/styles/globals.css +17 -17
package/dist/core.d.ts
CHANGED
|
@@ -57,15 +57,15 @@ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
|
57
57
|
|
|
58
58
|
declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
|
|
59
59
|
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
60
|
-
state?: "default" | "
|
|
61
|
-
size?: "
|
|
60
|
+
state?: "default" | "focus" | "active" | "hover" | "filled" | "error" | undefined;
|
|
61
|
+
size?: "slim" | "medium" | "large" | undefined;
|
|
62
62
|
label?: string | undefined;
|
|
63
63
|
errorText?: string | undefined;
|
|
64
64
|
prefixIconName?: "search" | "location_on" | undefined;
|
|
65
65
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
66
66
|
prefixIconFill?: boolean | undefined;
|
|
67
67
|
suffixIconFill?: boolean | undefined;
|
|
68
|
-
suffixIconName?: "visibility" | "
|
|
68
|
+
suffixIconName?: "visibility" | "visibility_off" | "lock" | undefined;
|
|
69
69
|
suffixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
70
70
|
containerClassName?: string | undefined;
|
|
71
71
|
prefixIconClassName?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
|
|
|
61
61
|
size?: "slim" | "medium" | "large" | undefined;
|
|
62
62
|
label?: string | undefined;
|
|
63
63
|
errorText?: string | undefined;
|
|
64
|
-
prefixIconName?: "
|
|
64
|
+
prefixIconName?: "location_on" | "search" | undefined;
|
|
65
65
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
66
66
|
prefixIconFill?: boolean | undefined;
|
|
67
67
|
suffixIconFill?: boolean | undefined;
|
|
@@ -331,7 +331,7 @@ type ButtonCustomProps = {
|
|
|
331
331
|
};
|
|
332
332
|
type ButtonProps = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className">;
|
|
333
333
|
|
|
334
|
-
declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "
|
|
334
|
+
declare const BrandButton: React$1.ForwardRefExoticComponent<_shared_components_brand_button_types.ButtonCustomProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "children"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
335
335
|
|
|
336
336
|
declare const Checklist: React__default.FC<ChecklistProps>;
|
|
337
337
|
|
package/dist/index.esm.js
CHANGED
|
@@ -25,7 +25,7 @@ object-assign
|
|
|
25
25
|
*
|
|
26
26
|
* http://api.jqueryui.com/category/ui-core/
|
|
27
27
|
*/
|
|
28
|
-
var n="none",o="contents",r=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var r=window.getComputedStyle(e),i=r.getPropertyValue("display");return t?i!==o&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,r):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default}(Rt,Rt.exports)),Rt.exports}function Bt(){if(Gt)return Ot;Gt=1,Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.resetState=function(){o=[]},Ot.log=function(){"production"!==process.env.NODE_ENV&&(console.log("focusManager ----------"),o.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))},Ot.handleBlur=a,Ot.handleFocus=s,Ot.markForFocusLater=function(){o.push(document.activeElement)},Ot.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},Ot.popWithoutFocus=function(){o.length>0&&o.pop()},Ot.setupScopedFocus=function(e){r=e,window.addEventListener?(window.addEventListener("blur",a,!1),document.addEventListener("focus",s,!0)):(window.attachEvent("onBlur",a),document.attachEvent("onFocus",s))},Ot.teardownScopedFocus=function(){r=null,window.addEventListener?(window.removeEventListener("blur",a),document.removeEventListener("focus",s)):(window.detachEvent("onBlur",a),document.detachEvent("onFocus",s))};var e,t=Vt(),n=(e=t)&&e.__esModule?e:{default:e};var o=[],r=null,i=!1;function a(){i=!0}function s(){if(i){if(i=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||((0,n.default)(r)[0]||r).focus()},0)}}return Ot}var kt,St={exports:{}};function Xt(){return kt||(kt=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(!n.length)return void t.preventDefault();var o=void 0,a=t.shiftKey,s=n[0],l=n[n.length-1],c=i();if(e===c){if(!a)return;o=l}l!==c||a||(o=s);s===c&&a&&(o=l);if(o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=a?-1:1);if(o=n[d],void 0===o)return t.preventDefault(),void(o=a?l:s).focus();t.preventDefault(),o.focus()};var n,o=Vt(),r=(n=o)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(St,St.exports)),St.exports}var Wt,Et,Mt={};function Pt(){if(Et)return Wt;Et=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var o=1;o<n;o++)t[o-1]=arguments[o];var r=0,i="Warning: "+e.replace(/%s/g,function(){return t[r++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,o){var r=arguments.length;o=new Array(r>2?r-2:0);for(var i=2;i<r;i++)o[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(o))}}return Wt=e}var Tt,Zt,Ht,Ft={},zt={exports:{}};function Jt(){if(Zt)return Ft;Zt=1,Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.canUseDOM=Ft.SafeNodeList=Ft.SafeHTMLCollection=void 0;var e,t,n=(Tt||(Tt=1,e=zt,function(){var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()),zt.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return Ft.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},Ft.SafeNodeList=o.canUseDOM?window.NodeList:{},Ft.canUseDOM=o.canUseDOM,Ft.default=r,Ft}function Lt(){if(Ht)return Mt;Ht=1,Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.resetState=function(){r&&(r.removeAttribute?r.removeAttribute("aria-hidden"):null!=r.length?r.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(r).forEach(function(e){return e.removeAttribute("aria-hidden")}));r=null},Mt.log=function(){if("production"!==process.env.NODE_ENV){var e=r||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}},Mt.assertNodeList=i,Mt.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return r=t||r},Mt.validateElement=a,Mt.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Mt.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.removeAttribute("aria-hidden")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Mt.documentNotReadyOrSSRTesting=function(){r=null};var e,t=Pt(),n=(e=t)&&e.__esModule?e:{default:e},o=Jt();var r=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function a(e){var t=e||r;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}return Mt}var jt,Yt={};function Dt(){if(jt)return Yt;jt=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.resetState=function(){var o=document.getElementsByTagName("html")[0];for(var r in e)n(o,e[r]);var i=document.body;for(var a in t)n(i,t[a]);e={},t={}},Yt.log=function(){if("production"!==process.env.NODE_ENV){var n=document.getElementsByTagName("html")[0].className,o="Show tracked classes:\n\n";for(var r in o+="<html /> ("+n+"):\n ",e)o+=" "+r+" "+e[r]+"\n ";for(var i in o+="\n\ndoc.body ("+(n=document.body.className)+"):\n ",t)o+=" "+i+" "+t[i]+"\n ";o+="\n",console.log(o)}};var e={},t={};function n(e,t){e.classList.remove(t)}return Yt.add=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)});var r,i},Yt.remove=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)});var r,i},Yt}var Ut,Qt={};function _t(){if(Ut)return Qt;Ut=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},Qt.resetState=function(){t=new e};var e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit("register")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Cannot register modal instance that's already open")},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit("deregister")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Unable to deregister "+e+" as it was never registered")},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},t=new e;return Qt.default=t,Qt}var $t,Kt,qt={};function en(){return Kt||(Kt=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||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},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},i=function(){function e(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)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=r,s=g(wt()),l=m(Bt()),c=g(Xt()),u=m(Lt()),d=m(Dt()),p=Jt(),f=g(p),b=g(_t());function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}!function(){if($t)return qt;$t=1,Object.defineProperty(qt,"__esModule",{value:!0}),qt.resetState=function(){for(var e=[o,r],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=r=null,i=[]},qt.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,r],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var e,t=_t(),n=(e=t)&&e.__esModule?e:{default:e},o=void 0,r=void 0,i=[];function a(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){o||r||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",a),(r=o.cloneNode()).addEventListener("focus",a)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==r&&document.body.appendChild(r)):(o.parentElement&&o.parentElement.removeChild(o),r.parentElement&&r.parentElement.removeChild(r))})}();var h={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,o=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&d.remove(s.body,i),r&&d.remove(s.getElementsByTagName("html")[0],r),o&&v>0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),b.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:h[e],afterOpen:h[e]+"--after-open",beforeClose:h[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,o){return n[e+"-"+o]=t[o],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){"production"!==process.env.NODE_ENV&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;r&&d.add(a.body,r),o&&d.add(a.getElementsByTagName("html")[0],o),n&&(v+=1,u.hide(t)),b.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.className,r=e.overlayClassName,i=e.defaultStyles,a=e.children,s=o?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=n({id:t,ref:this.setContentRef,style:n({},s,this.props.style.content),className:this.buildClassName("content",o),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=y,e.exports=t.default}(Nt,Nt.exports)),Nt.exports}function tn(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function nn(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function on(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}tn.__suppressDeprecationWarning=!0,nn.__suppressDeprecationWarning=!0,on.__suppressDeprecationWarning=!0;var rn,an,sn=Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,r=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==r){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==r?"\n "+r:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=tn,t.componentWillReceiveProps=nn),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=on;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,o)}}return e}}),ln=De(sn);function cn(){if(rn)return _e;rn=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.bodyOpenClassName=_e.portalClassName=void 0;var e=Object.assign||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},t=function(){function e(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)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),n=r,o=p(n),i=p(h),a=p(wt()),s=p(en()),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(Lt()),c=Jt(),u=p(c),d=ln;function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b=_e.portalClassName="ReactModalPortal",m=_e.bodyOpenClassName="ReactModal__Body--open",g=c.canUseDOM&&void 0!==i.default.createPortal,v=function(e){return document.createElement(e)},y=function(){return g?i.default.createPortal:i.default.unstable_renderSubtreeIntoContainer};function I(e){return e()}var C=function(n){function r(){var t,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var l=arguments.length,c=Array(l),u=0;u<l;u++)c[u]=arguments[u];return n=a=f(this,(t=r.__proto__||Object.getPrototypeOf(r)).call.apply(t,[this].concat(c))),a.removePortal=function(){!g&&i.default.unmountComponentAtNode(a.node);var e=I(a.props.parentSelector);e&&e.contains(a.node)?e.removeChild(a.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},a.portalRef=function(e){a.portal=e},a.renderPortal=function(t){var n=y()(a,o.default.createElement(s.default,e({defaultStyles:r.defaultStyles},t)),a.node);a.portalRef(n)},f(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),t(r,[{key:"componentDidMount",value:function(){c.canUseDOM&&(g||(this.node=v("div")),this.node.className=this.props.portalClassName,I(this.props.parentSelector).appendChild(this.node),!g&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:I(e.parentSelector),nextParent:I(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(c.canUseDOM){var o=this.props,r=o.isOpen,i=o.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||r)&&!g&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(c.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return c.canUseDOM&&g?(!this.node&&g&&(this.node=v("div")),y()(o.default.createElement(s.default,e({ref:this.portalRef,defaultStyles:r.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){l.setElement(e)}}]),r}(n.Component);return C.propTypes={isOpen:a.default.bool.isRequired,style:a.default.shape({content:a.default.object,overlay:a.default.object}),portalClassName:a.default.string,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,className:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),overlayClassName:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),appElement:a.default.oneOfType([a.default.instanceOf(u.default),a.default.instanceOf(c.SafeHTMLCollection),a.default.instanceOf(c.SafeNodeList),a.default.arrayOf(a.default.instanceOf(u.default))]),onAfterOpen:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,ariaHideApp:a.default.bool,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,parentSelector:a.default.func,aria:a.default.object,data:a.default.object,role:a.default.string,contentLabel:a.default.string,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func},C.defaultProps={isOpen:!1,portalClassName:b,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},C.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,d.polyfill)(C),"production"!==process.env.NODE_ENV&&(C.setCreateHTMLElement=function(e){return v=e}),_e.default=C,_e}var un=Ye((an||(an=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=cn(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(Qe,Qe.exports)),Qe.exports));function dn(){return dn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},dn.apply(null,arguments)}function pn(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}function fn(e,t){return fn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fn(e,t)}var bn=Ye(wt()),mn=!1,gn="production"!==process.env.NODE_ENV?bn.oneOfType([bn.number,bn.shape({enter:bn.number,exit:bn.number,appear:bn.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&bn.oneOfType([bn.string,bn.shape({enter:bn.string,exit:bn.string,active:bn.string}),bn.shape({enter:bn.string,enterDone:bn.string,enterActive:bn.string,exit:bn.string,exitDone:bn.string,exitActive:bn.string})]);var hn=r.createContext(null),vn="unmounted",yn="exited",In="entering",Cn="entered",xn="exiting",wn=function(e){var t,n;function o(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=yn,o.appearStatus=In):r=Cn:r=t.unmountOnExit||t.mountOnEnter?vn:yn,o.state={status:r},o.nextCallback=null,o}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,fn(t,n),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===vn?{status:yn}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==In&&n!==Cn&&(t=In):n!==In&&n!==Cn||(t=xn)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===In){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:h.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===yn&&this.setState({status:vn})},i.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[h.findDOMNode(this),o],i=r[0],a=r[1],s=this.getTimeouts(),l=o?s.appear:s.enter;!e&&!n||mn?this.safeSetState({status:Cn},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:In},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:Cn},function(){t.props.onEntered(i,a)})})}))},i.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:h.findDOMNode(this);t&&!mn?(this.props.onExit(o),this.safeSetState({status:xn},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:yn},function(){e.props.onExited(o)})})})):this.safeSetState({status:yn},function(){e.props.onExited(o)})},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:h.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===vn)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var o=pn(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return r.createElement(hn.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},o}(r.Component);function An(){}wn.contextType=hn,wn.propTypes="production"!==process.env.NODE_ENV?{nodeRef:bn.shape({current:"undefined"==typeof Element?bn.any:function(e,t,n,o,r,i){var a=e[t];return bn.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:bn.oneOfType([bn.func.isRequired,bn.element.isRequired]).isRequired,in:bn.bool,mountOnEnter:bn.bool,unmountOnExit:bn.bool,appear:bn.bool,enter:bn.bool,exit:bn.bool,timeout:function(e){var t=gn;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:bn.func,onEnter:bn.func,onEntering:bn.func,onEntered:bn.func,onExit:bn.func,onExiting:bn.func,onExited:bn.func}:{},wn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:An,onEntering:An,onEntered:An,onExit:An,onExiting:An,onExited:An},wn.UNMOUNTED=vn,wn.EXITED=yn,wn.ENTERING=In,wn.ENTERED=Cn,wn.EXITING=xn;const Gn=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:s,isOpen:u,children:d,bodyStyle:p,className:f,bodyClassName:b,portalClassName:m,overlayClassName:g,closeButtonClassName:h,closeWrapperClassName:v,onRequestClose:y,parentSelector:I,hideScrollOnIsOpenFalse:C=!0,hideCloseButton:x=!1,...w})=>{je(u,C);const[A,G]=a(!1);l(()=>{G(u)},[u]);const N=c(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return I&&(e=document.querySelector(I)||document.body),e},[I]);if(!N)return null;if(!u)return null;const O=e=>({xl:"inset-[5%] min-h-fit",lg:"inset-[10%] min-h-fit",md:"inset-[15%] min-h-fit",sm:"top-[18%] w-[640px]",xs:"w-[calc(100%-30px)]"}[e]),R=(e,t)=>{if("popper"===e){const e="transition-transform duration-300";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-[-18px] duration-[180ms]`:`${e} opacity-0 translate-y-[-18px]`}if("bottomSheet"===e){const e="transition-transform duration-200 ease-in-out";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-full duration-[180ms]`:`${e} opacity-0 translate-y-full`}return""};return e(wn,{enter:!0,exit:!0,in:A,timeout:0,children:a=>t(un,{ariaHideApp:!1,isOpen:u,onRequestClose:y,closeTimeoutMS:0,parentSelector:()=>N,className:Se("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",O(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",R(r,a),f),portalClassName:Se("z-80",m),overlayClassName:Se("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",g),...w,children:[!x&&e("div",{className:Se(v),children:e(Xe,{className:Se("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",h),onClick:y,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e(We,{name:"close",size:24})})}),s?e("div",{className:Se("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:s}):null,e("div",{className:Se("p-5",b),style:p,"data-testid":w["data-testid"],"data-cy":w["data-cy"],children:d})]})})};Gn.displayName="Modal";const Nn=t=>{const{open:n,children:o}=t,r=u(null),[i,s]=a(0);return l(()=>{const e=r.current;if(!e)return;const t=()=>{s(n?e.scrollHeight:0)};let o;return t(),n&&(o=new ResizeObserver(()=>t()),o.observe(e)),()=>{o&&o.disconnect()}},[n,o]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:i,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:r,children:o})})};Nn.displayName="Collapse";const On=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:s,titleClassName:l,className:c,buttonClassName:u}=n,[d,p]=a(Boolean(r));return t("div",{className:Se("rounded-lg border",s),children:[t(Xe,{type:"button",className:Se("flex w-full items-center justify-between gap-4 rounded-t-lg px-4 py-3 text-left",u),onClick:()=>p(e=>!e),children:[e("span",{className:Se("label5",l),children:o}),e(We,{name:d?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(Nn,{open:d,children:e("div",{className:Se("px-4 py-4",c),children:i})})]})};On.displayName="Accordion";const Rn=({state:n,checked:o=!1,onChange:r,className:i,label:a,labelClassName:l,containerClassName:c,name:u,value:d,id:p,disabled:f=!1,required:b=!1,error:m=!1,"data-cy":g,renderInfoIcon:h,...v})=>{const y=f||"disabled"===n,I=p||u,C=Se("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),x=s(e=>{y||r&&(1===r.length?r(e.target.checked):r())},[y,r]);return t("div",{className:Se("flex items-center gap-3",c),children:[t("div",{className:"relative",children:[e("input",{type:"checkbox",id:I,name:u,value:d,checked:o,onChange:x,disabled:y,required:b,className:"peer sr-only","data-cy":g,...v}),e("label",{htmlFor:I,className:Se("peer-focus:outline",C),style:{pointerEvents:y?"none":"auto"},children:t("svg",o?{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{width:"24",height:"24",rx:"4",className:Se(y?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:Se(y?"fill-checkbox-bg-surface-disabled":"fill-white")}),e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),a&&e("label",{htmlFor:I,className:Se("cursor-pointer",m&&"text-text-critical",l),children:a}),h&&e(Xe,{type:"button",onClick:h.onClick,"data-testid":h.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};function Vn(e){return Vn="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},Vn(e)}function Bn(e){var t=function(e,t){if("object"!=Vn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Vn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Vn(t)?t:t+""}function kn(e,t,n){return(t=Bn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sn(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 Xn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sn(Object(n),!0).forEach(function(t){kn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function En(e,t){if(e){if("string"==typeof e)return Wn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wn(e,t):void 0}}function Mn(e,t){return 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 o,r,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||En(e,t)||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.")}()}function Pn(e,t){if(null==e)return{};var n,o,r=pn(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}Rn.displayName="Checkbox";var Tn=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Zn(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,Bn(o.key),o)}}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hn(e)}function Fn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fn=function(){return!!e})()}function zn(e,t){if(t&&("object"==Vn(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)}function Jn(e){return function(e){if(Array.isArray(e))return Wn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||En(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Ln=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),jn="-ms-",Yn="-moz-",Dn="-webkit-",Un="comm",Qn="rule",_n="decl",$n="@keyframes",Kn=Math.abs,qn=String.fromCharCode,eo=Object.assign;function to(e){return e.trim()}function no(e,t,n){return e.replace(t,n)}function oo(e,t){return e.indexOf(t)}function ro(e,t){return 0|e.charCodeAt(t)}function io(e,t,n){return e.slice(t,n)}function ao(e){return e.length}function so(e){return e.length}function lo(e,t){return t.push(e),e}var co=1,uo=1,po=0,fo=0,bo=0,mo="";function go(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:co,column:uo,length:a,return:""}}function ho(e,t){return eo(go("",null,null,"",null,null,0),e,{length:-e.length},t)}function vo(){return bo=fo>0?ro(mo,--fo):0,uo--,10===bo&&(uo=1,co--),bo}function yo(){return bo=fo<po?ro(mo,fo++):0,uo++,10===bo&&(uo=1,co++),bo}function Io(){return ro(mo,fo)}function Co(){return fo}function xo(e,t){return io(mo,e,t)}function wo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ao(e){return co=uo=1,po=ao(mo=e),fo=0,[]}function Go(e){return mo="",e}function No(e){return to(xo(fo-1,Vo(91===e?e+2:40===e?e+1:e)))}function Oo(e){for(;(bo=Io())&&bo<33;)yo();return wo(e)>2||wo(bo)>3?"":" "}function Ro(e,t){for(;--t&&yo()&&!(bo<48||bo>102||bo>57&&bo<65||bo>70&&bo<97););return xo(e,Co()+(t<6&&32==Io()&&32==yo()))}function Vo(e){for(;yo();)switch(bo){case e:return fo;case 34:case 39:34!==e&&39!==e&&Vo(bo);break;case 40:41===e&&Vo(e);break;case 92:yo()}return fo}function Bo(e,t){for(;yo()&&e+bo!==57&&(e+bo!==84||47!==Io()););return"/*"+xo(t,fo-1)+"*"+qn(47===e?e:yo())}function ko(e){for(;!wo(Io());)yo();return xo(e,fo)}function So(e){return Go(Xo("",null,null,null,[""],e=Ao(e),0,[0],e))}function Xo(e,t,n,o,r,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,b=0,m=1,g=1,h=1,v=0,y="",I=r,C=i,x=o,w=y;g;)switch(b=v,v=yo()){case 40:if(108!=b&&58==ro(w,d-1)){-1!=oo(w+=no(No(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:w+=No(v);break;case 9:case 10:case 13:case 32:w+=Oo(b);break;case 92:w+=Ro(Co()-1,7);continue;case 47:switch(Io()){case 42:case 47:lo(Eo(Bo(yo(),Co()),t,n),l);break;default:w+="/"}break;case 123*m:s[c++]=ao(w)*h;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==h&&(w=no(w,/\f/g,"")),f>0&&ao(w)-d&&lo(f>32?Mo(w+";",o,n,d-1):Mo(no(w," ","")+";",o,n,d-2),l);break;case 59:w+=";";default:if(lo(x=Wo(w,t,n,c,u,r,s,y,I=[],C=[],d),i),123===v)if(0===u)Xo(w,t,x,x,I,i,d,s,C);else switch(99===p&&110===ro(w,3)?100:p){case 100:case 108:case 109:case 115:Xo(e,x,x,o&&lo(Wo(e,x,x,0,0,r,s,y,r,I=[],d),C),r,C,d,s,o?I:C);break;default:Xo(w,x,x,x,[""],C,0,s,C)}}c=u=f=0,m=h=1,y=w="",d=a;break;case 58:d=1+ao(w),f=b;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==vo())continue;switch(w+=qn(v),v*m){case 38:h=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(ao(w)-1)*h,h=1;break;case 64:45===Io()&&(w+=No(yo())),p=Io(),u=d=ao(y=w+=ko(Co())),v++;break;case 45:45===b&&2==ao(w)&&(m=0)}}return i}function Wo(e,t,n,o,r,i,a,s,l,c,u){for(var d=r-1,p=0===r?i:[""],f=so(p),b=0,m=0,g=0;b<o;++b)for(var h=0,v=io(e,d+1,d=Kn(m=a[b])),y=e;h<f;++h)(y=to(m>0?p[h]+" "+v:no(v,/&\f/g,p[h])))&&(l[g++]=y);return go(e,t,n,0===r?Qn:s,l,c,u)}function Eo(e,t,n){return go(e,t,n,Un,qn(bo),io(e,2,-2),0)}function Mo(e,t,n,o){return go(e,t,n,_n,io(e,0,o),io(e,o+1,-1),o)}function Po(e,t){for(var n="",o=so(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function To(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case _n:return e.return=e.return||e.value;case Un:return"";case $n:return e.return=e.value+"{"+Po(e.children,o)+"}";case Qn:e.value=e.props.join(",")}return ao(n=Po(e.children,o))?e.return=e.value+"{"+n+"}":""}function Zo(e){var t=so(e);return function(n,o,r,i){for(var a="",s=0;s<t;s++)a+=e[s](n,o,r,i)||"";return a}}function Ho(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Fo="undefined"!=typeof document,zo=function(e,t,n){for(var o=0,r=0;o=r,r=Io(),38===o&&12===r&&(t[n]=1),!wo(r);)yo();return xo(e,fo)},Jo=function(e,t){return Go(function(e,t){var n=-1,o=44;do{switch(wo(o)){case 0:38===o&&12===Io()&&(t[n]=1),e[n]+=zo(fo-1,t,n);break;case 2:e[n]+=No(o);break;case 4:if(44===o){e[++n]=58===Io()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=qn(o)}}while(o=yo());return e}(Ao(e),t))},Lo=new WeakMap,jo=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Lo.get(n))&&!o){Lo.set(e,!0);for(var r=[],i=Jo(t,r),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Yo=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Do(e,t){switch(function(e,t){return 45^ro(e,0)?(((t<<2^ro(e,0))<<2^ro(e,1))<<2^ro(e,2))<<2^ro(e,3):0}(e,t)){case 5103:return Dn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Dn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Dn+e+Yn+e+jn+e+e;case 6828:case 4268:return Dn+e+jn+e+e;case 6165:return Dn+e+jn+"flex-"+e+e;case 5187:return Dn+e+no(e,/(\w+).+(:[^]+)/,Dn+"box-$1$2"+jn+"flex-$1$2")+e;case 5443:return Dn+e+jn+"flex-item-"+no(e,/flex-|-self/,"")+e;case 4675:return Dn+e+jn+"flex-line-pack"+no(e,/align-content|flex-|-self/,"")+e;case 5548:return Dn+e+jn+no(e,"shrink","negative")+e;case 5292:return Dn+e+jn+no(e,"basis","preferred-size")+e;case 6060:return Dn+"box-"+no(e,"-grow","")+Dn+e+jn+no(e,"grow","positive")+e;case 4554:return Dn+no(e,/([^-])(transform)/g,"$1"+Dn+"$2")+e;case 6187:return no(no(no(e,/(zoom-|grab)/,Dn+"$1"),/(image-set)/,Dn+"$1"),e,"")+e;case 5495:case 3959:return no(e,/(image-set\([^]*)/,Dn+"$1$`$1");case 4968:return no(no(e,/(.+:)(flex-)?(.*)/,Dn+"box-pack:$3"+jn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Dn+e+e;case 4095:case 3583:case 4068:case 2532:return no(e,/(.+)-inline(.+)/,Dn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ao(e)-1-t>6)switch(ro(e,t+1)){case 109:if(45!==ro(e,t+4))break;case 102:return no(e,/(.+:)(.+)-([^]+)/,"$1"+Dn+"$2-$3$1"+Yn+(108==ro(e,t+3)?"$3":"$2-$3"))+e;case 115:return~oo(e,"stretch")?Do(no(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ro(e,t+1))break;case 6444:switch(ro(e,ao(e)-3-(~oo(e,"!important")&&10))){case 107:return no(e,":",":"+Dn)+e;case 101:return no(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Dn+(45===ro(e,14)?"inline-":"")+"box$3$1"+Dn+"$2$3$1"+jn+"$2box$3")+e}break;case 5936:switch(ro(e,t+11)){case 114:return Dn+e+jn+no(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Dn+e+jn+no(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Dn+e+jn+no(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Dn+e+jn+e+e}return e}var Uo,Qo,_o,$o=Fo?void 0:(Uo=function(){return Ho(function(){return{}})},Qo=new WeakMap,function(e){if(Qo.has(e))return Qo.get(e);var t=Uo(e);return Qo.set(e,t),t}),Ko=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case _n:e.return=Do(e.value,e.length);break;case $n:return Po([ho(e,{value:no(e.value,"@","@"+Dn)})],o);case Qn:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Po([ho(e,{props:[no(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Po([ho(e,{props:[no(t,/:(plac\w+)/,":"+Dn+"input-$1")]}),ho(e,{props:[no(t,/:(plac\w+)/,":-moz-$1")]}),ho(e,{props:[no(t,/:(plac\w+)/,jn+"input-$1")]})],o)}return""})}}],qo=function(e){var t=e.key;if(Fo&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,r,i=e.stylisPlugins||Ko,a={},s=[];Fo&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[jo,Yo];if($o){var u=[To],d=Zo(c.concat(i,u)),p=$o(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Po(So(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};r=function(e,t,n,o){var r=t.name,i=f(e,t);return void 0===h.compat?(o&&(h.inserted[r]=!0),i):o?void(h.inserted[r]=i):i}}else{var b,m=[To,(l=function(e){b.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Zo(c.concat(i,m));r=function(e,t,n,o){b=n,Po(So(e?e+"{"+t.styles+"}":t.styles),g),o&&(h.inserted[t.name]=!0)}}var h={key:t,sheet:new Ln({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return h.sheet.hydrate(s),h},er={exports:{}},tr={};var nr,or,rr,ir,ar={};
|
|
28
|
+
var n="none",o="contents",r=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var r=window.getComputedStyle(e),i=r.getPropertyValue("display");return t?i!==o&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,r):i===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default}(Rt,Rt.exports)),Rt.exports}function Bt(){if(Gt)return Ot;Gt=1,Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.resetState=function(){o=[]},Ot.log=function(){"production"!==process.env.NODE_ENV&&(console.log("focusManager ----------"),o.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))},Ot.handleBlur=a,Ot.handleFocus=s,Ot.markForFocusLater=function(){o.push(document.activeElement)},Ot.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},Ot.popWithoutFocus=function(){o.length>0&&o.pop()},Ot.setupScopedFocus=function(e){r=e,window.addEventListener?(window.addEventListener("blur",a,!1),document.addEventListener("focus",s,!0)):(window.attachEvent("onBlur",a),document.attachEvent("onFocus",s))},Ot.teardownScopedFocus=function(){r=null,window.addEventListener?(window.removeEventListener("blur",a),document.removeEventListener("focus",s)):(window.detachEvent("onBlur",a),document.detachEvent("onFocus",s))};var e,t=Vt(),n=(e=t)&&e.__esModule?e:{default:e};var o=[],r=null,i=!1;function a(){i=!0}function s(){if(i){if(i=!1,!r)return;setTimeout(function(){r.contains(document.activeElement)||((0,n.default)(r)[0]||r).focus()},0)}}return Ot}var kt,St={exports:{}};function Xt(){return kt||(kt=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(!n.length)return void t.preventDefault();var o=void 0,a=t.shiftKey,s=n[0],l=n[n.length-1],c=i();if(e===c){if(!a)return;o=l}l!==c||a||(o=s);s===c&&a&&(o=l);if(o)return t.preventDefault(),void o.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(c);d>-1&&(d+=a?-1:1);if(o=n[d],void 0===o)return t.preventDefault(),void(o=a?l:s).focus();t.preventDefault(),o.focus()};var n,o=Vt(),r=(n=o)&&n.__esModule?n:{default:n};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?i(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(St,St.exports)),St.exports}var Wt,Et,Mt={};function Pt(){if(Et)return Wt;Et=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var o=1;o<n;o++)t[o-1]=arguments[o];var r=0,i="Warning: "+e.replace(/%s/g,function(){return t[r++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};e=function(e,n,o){var r=arguments.length;o=new Array(r>2?r-2:0);for(var i=2;i<r;i++)o[i-2]=arguments[i];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||t.apply(null,[n].concat(o))}}return Wt=e}var Tt,Zt,Ht,Ft={},zt={exports:{}};function Jt(){if(Zt)return Ft;Zt=1,Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.canUseDOM=Ft.SafeNodeList=Ft.SafeHTMLCollection=void 0;var e,t,n=(Tt||(Tt=1,e=zt,function(){var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()),zt.exports);var o=((t=n)&&t.__esModule?t:{default:t}).default,r=o.canUseDOM?window.HTMLElement:{};return Ft.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},Ft.SafeNodeList=o.canUseDOM?window.NodeList:{},Ft.canUseDOM=o.canUseDOM,Ft.default=r,Ft}function Lt(){if(Ht)return Mt;Ht=1,Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.resetState=function(){r&&(r.removeAttribute?r.removeAttribute("aria-hidden"):null!=r.length?r.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(r).forEach(function(e){return e.removeAttribute("aria-hidden")}));r=null},Mt.log=function(){if("production"!==process.env.NODE_ENV){var e=r||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}},Mt.assertNodeList=i,Mt.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return r=t||r},Mt.validateElement=a,Mt.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Mt.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,i=a(e)[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){r.value.removeAttribute("aria-hidden")}}catch(e){n=!0,o=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw o}}},Mt.documentNotReadyOrSSRTesting=function(){r=null};var e,t=Pt(),n=(e=t)&&e.__esModule?e:{default:e},o=Jt();var r=null;function i(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function a(e){var t=e||r;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}return Mt}var jt,Yt={};function Dt(){if(jt)return Yt;jt=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.resetState=function(){var o=document.getElementsByTagName("html")[0];for(var r in e)n(o,e[r]);var i=document.body;for(var a in t)n(i,t[a]);e={},t={}},Yt.log=function(){if("production"!==process.env.NODE_ENV){var n=document.getElementsByTagName("html")[0].className,o="Show tracked classes:\n\n";for(var r in o+="<html /> ("+n+"):\n ",e)o+=" "+r+" "+e[r]+"\n ";for(var i in o+="\n\ndoc.body ("+(n=document.body.className)+"):\n ",t)o+=" "+i+" "+t[i]+"\n ";o+="\n",console.log(o)}};var e={},t={};function n(e,t){e.classList.remove(t)}return Yt.add=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)});var r,i},Yt.remove=function(n,o){return r=n.classList,i="html"==n.nodeName.toLowerCase()?e:t,void o.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)});var r,i},Yt}var Ut,Qt={};function _t(){if(Ut)return Qt;Ut=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.log=function(){console.log("portalOpenInstances ----------"),console.log(t.openInstances.length),t.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},Qt.resetState=function(){t=new e};var e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit("register")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Cannot register modal instance that's already open")},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit("deregister")):"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Unable to deregister "+e+" as it was never registered")},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},t=new e;return Qt.default=t,Qt}var $t,Kt,qt={};function en(){return Kt||(Kt=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||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},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},i=function(){function e(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)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=r,s=g(wt()),l=m(Bt()),c=g(Xt()),u=m(Lt()),d=m(Dt()),p=Jt(),f=g(p),b=g(_t());function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}!function(){if($t)return qt;$t=1,Object.defineProperty(qt,"__esModule",{value:!0}),qt.resetState=function(){for(var e=[o,r],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}o=r=null,i=[]},qt.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[o,r],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var e,t=_t(),n=(e=t)&&e.__esModule?e:{default:e},o=void 0,r=void 0,i=[];function a(){0!==i.length?i[i.length-1].focusContent():"production"!==process.env.NODE_ENV&&console.warn("React-Modal: Open instances > 0 expected")}n.default.subscribe(function(e,t){o||r||((o=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),o.style.position="absolute",o.style.opacity="0",o.setAttribute("tabindex","0"),o.addEventListener("focus",a),(r=o.cloneNode()).addEventListener("focus",a)),(i=t).length>0?(document.body.firstChild!==o&&document.body.insertBefore(o,document.body.firstChild),document.body.lastChild!==r&&document.body.appendChild(r)):(o.parentElement&&o.parentElement.removeChild(o),r.parentElement&&r.parentElement.removeChild(r))})}();var h={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,o=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&d.remove(s.body,i),r&&d.remove(s.getElementsByTagName("html")[0],r),o&&v>0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),b.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:h[e],afterOpen:h[e]+"--after-open",beforeClose:h[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,o){return n[e+"-"+o]=t[o],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){"production"!==process.env.NODE_ENV&&(e.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),e.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;r&&d.add(a.body,r),o&&d.add(a.getElementsByTagName("html")[0],o),n&&(v+=1,u.hide(t)),b.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.className,r=e.overlayClassName,i=e.defaultStyles,a=e.children,s=o?{}:i.content,l=r?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=n({id:t,ref:this.setContentRef,style:n({},s,this.props.style.content),className:this.buildClassName("content",o),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(c,d)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=y,e.exports=t.default}(Nt,Nt.exports)),Nt.exports}function tn(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function nn(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function on(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}tn.__suppressDeprecationWarning=!0,nn.__suppressDeprecationWarning=!0,on.__suppressDeprecationWarning=!0;var rn,an,sn=Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,r=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?r="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(r="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==r){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==r?"\n "+r:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=tn,t.componentWillReceiveProps=nn),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=on;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,o)}}return e}}),ln=De(sn);function cn(){if(rn)return _e;rn=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.bodyOpenClassName=_e.portalClassName=void 0;var e=Object.assign||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},t=function(){function e(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)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),n=r,o=p(n),i=p(h),a=p(wt()),s=p(en()),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(Lt()),c=Jt(),u=p(c),d=ln;function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b=_e.portalClassName="ReactModalPortal",m=_e.bodyOpenClassName="ReactModal__Body--open",g=c.canUseDOM&&void 0!==i.default.createPortal,v=function(e){return document.createElement(e)},y=function(){return g?i.default.createPortal:i.default.unstable_renderSubtreeIntoContainer};function I(e){return e()}var C=function(n){function r(){var t,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var l=arguments.length,c=Array(l),u=0;u<l;u++)c[u]=arguments[u];return n=a=f(this,(t=r.__proto__||Object.getPrototypeOf(r)).call.apply(t,[this].concat(c))),a.removePortal=function(){!g&&i.default.unmountComponentAtNode(a.node);var e=I(a.props.parentSelector);e&&e.contains(a.node)?e.removeChild(a.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},a.portalRef=function(e){a.portal=e},a.renderPortal=function(t){var n=y()(a,o.default.createElement(s.default,e({defaultStyles:r.defaultStyles},t)),a.node);a.portalRef(n)},f(a,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),t(r,[{key:"componentDidMount",value:function(){c.canUseDOM&&(g||(this.node=v("div")),this.node.className=this.props.portalClassName,I(this.props.parentSelector).appendChild(this.node),!g&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:I(e.parentSelector),nextParent:I(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(c.canUseDOM){var o=this.props,r=o.isOpen,i=o.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||r)&&!g&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(c.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return c.canUseDOM&&g?(!this.node&&g&&(this.node=v("div")),y()(o.default.createElement(s.default,e({ref:this.portalRef,defaultStyles:r.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){l.setElement(e)}}]),r}(n.Component);return C.propTypes={isOpen:a.default.bool.isRequired,style:a.default.shape({content:a.default.object,overlay:a.default.object}),portalClassName:a.default.string,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,className:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),overlayClassName:a.default.oneOfType([a.default.string,a.default.shape({base:a.default.string.isRequired,afterOpen:a.default.string.isRequired,beforeClose:a.default.string.isRequired})]),appElement:a.default.oneOfType([a.default.instanceOf(u.default),a.default.instanceOf(c.SafeHTMLCollection),a.default.instanceOf(c.SafeNodeList),a.default.arrayOf(a.default.instanceOf(u.default))]),onAfterOpen:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,ariaHideApp:a.default.bool,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,parentSelector:a.default.func,aria:a.default.object,data:a.default.object,role:a.default.string,contentLabel:a.default.string,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func},C.defaultProps={isOpen:!1,portalClassName:b,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},C.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,d.polyfill)(C),"production"!==process.env.NODE_ENV&&(C.setCreateHTMLElement=function(e){return v=e}),_e.default=C,_e}var un=Ye((an||(an=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o=cn(),r=(n=o)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default}(Qe,Qe.exports)),Qe.exports));function dn(){return dn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},dn.apply(null,arguments)}function pn(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}function fn(e,t){return fn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fn(e,t)}var bn=Ye(wt()),mn=!1,gn="production"!==process.env.NODE_ENV?bn.oneOfType([bn.number,bn.shape({enter:bn.number,exit:bn.number,appear:bn.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&bn.oneOfType([bn.string,bn.shape({enter:bn.string,exit:bn.string,active:bn.string}),bn.shape({enter:bn.string,enterDone:bn.string,enterActive:bn.string,exit:bn.string,exitDone:bn.string,exitActive:bn.string})]);var hn=r.createContext(null),vn="unmounted",yn="exited",In="entering",Cn="entered",xn="exiting",wn=function(e){var t,n;function o(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=yn,o.appearStatus=In):r=Cn:r=t.unmountOnExit||t.mountOnEnter?vn:yn,o.state={status:r},o.nextCallback=null,o}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,fn(t,n),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===vn?{status:yn}:null};var i=o.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==In&&n!==Cn&&(t=In):n!==In&&n!==Cn||(t=xn)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===In){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:h.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===yn&&this.setState({status:vn})},i.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[h.findDOMNode(this),o],i=r[0],a=r[1],s=this.getTimeouts(),l=o?s.appear:s.enter;!e&&!n||mn?this.safeSetState({status:Cn},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:In},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:Cn},function(){t.props.onEntered(i,a)})})}))},i.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:h.findDOMNode(this);t&&!mn?(this.props.onExit(o),this.safeSetState({status:xn},function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:yn},function(){e.props.onExited(o)})})})):this.safeSetState({status:yn},function(){e.props.onExited(o)})},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:h.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===vn)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var o=pn(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return r.createElement(hn.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},o}(r.Component);function An(){}wn.contextType=hn,wn.propTypes="production"!==process.env.NODE_ENV?{nodeRef:bn.shape({current:"undefined"==typeof Element?bn.any:function(e,t,n,o,r,i){var a=e[t];return bn.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:bn.oneOfType([bn.func.isRequired,bn.element.isRequired]).isRequired,in:bn.bool,mountOnEnter:bn.bool,unmountOnExit:bn.bool,appear:bn.bool,enter:bn.bool,exit:bn.bool,timeout:function(e){var t=gn;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:bn.func,onEnter:bn.func,onEntering:bn.func,onEntered:bn.func,onExit:bn.func,onExiting:bn.func,onExited:bn.func}:{},wn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:An,onEntering:An,onEntered:An,onExit:An,onExiting:An,onExited:An},wn.UNMOUNTED=vn,wn.EXITED=yn,wn.ENTERING=In,wn.ENTERED=Cn,wn.EXITING=xn;const Gn=({size:n="md",shape:o="default",animation:r="popper",centered:i,title:s,isOpen:u,children:d,bodyStyle:p,className:f,bodyClassName:b,portalClassName:m,overlayClassName:g,closeButtonClassName:h,closeWrapperClassName:v,onRequestClose:y,parentSelector:I,hideScrollOnIsOpenFalse:C=!0,hideCloseButton:x=!1,...w})=>{je(u,C);const[A,G]=a(!1);l(()=>{G(u)},[u]);const N=c(()=>{if("undefined"==typeof document)return null;let e=document.querySelector("main")||document.body;return I&&(e=document.querySelector(I)||document.body),e},[I]);if(!N)return null;if(!u)return null;const O=e=>({xl:"inset-[5%] min-h-fit",lg:"inset-[10%] min-h-fit",md:"inset-[15%] min-h-fit",sm:"top-[18%] w-[640px]",xs:"w-[calc(100%-30px)]"}[e]),R=(e,t)=>{if("popper"===e){const e="transition-transform duration-300";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-[-18px] duration-[180ms]`:`${e} opacity-0 translate-y-[-18px]`}if("bottomSheet"===e){const e="transition-transform duration-200 ease-in-out";return"entering"===t||"entered"===t?`${e} opacity-100 ${"entered"===t?"translate-y-0 pointer-events-auto":""}`:"exiting"===t||"exited"===t?`${e} opacity-0 translate-y-full duration-[180ms]`:`${e} opacity-0 translate-y-full`}return""};return e(wn,{enter:!0,exit:!0,in:A,timeout:0,children:a=>t(un,{ariaHideApp:!1,isOpen:u,onRequestClose:y,closeTimeoutMS:0,parentSelector:()=>N,className:Se("absolute min-w-[150px] max-w-[calc(100vw-30px)] overflow-auto rounded-lg bg-white outline-none",O(n),"rounded"===o&&"rounded-3xl",i&&"top-0 translate-y-[calc(50vh-50%)]",R(r,a),f),portalClassName:Se("z-80",m),overlayClassName:Se("z-80 fixed inset-0 bg-black/50 flex items-center justify-center pb-[300px]",g),...w,children:[!x&&e("div",{className:Se(v),children:e(Xe,{className:Se("absolute right-0 top-0 float-right h-6 cursor-pointer p-5 text-text",h),onClick:y,"data-testid":"close-button","data-track-element-name":"modal_close_button","data-track-click-text":"Close Modal","data-track-element-clicked":"modal",children:e(We,{name:"close",size:24})})}),s?e("div",{className:Se("border-b border-border-secondary-on-bg-fill px-[7px] py-[7px] text-text"),children:s}):null,e("div",{className:Se("p-5",b),style:p,"data-testid":w["data-testid"],"data-cy":w["data-cy"],children:d})]})})};Gn.displayName="Modal";const Nn=t=>{const{open:n,children:o}=t,r=u(null),[i,s]=a(0);return l(()=>{const e=r.current;if(!e)return;const t=()=>{s(n?e.scrollHeight:0)};let o;return t(),n&&(o=new ResizeObserver(()=>t()),o.observe(e)),()=>{o&&o.disconnect()}},[n,o]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:i,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:r,children:o})})};Nn.displayName="Collapse";const On=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:s,titleClassName:c,className:u,buttonClassName:d,openOnlyOnDesktop:p}=n,[f,b]=a(Boolean(!1));return l(()=>{if(p){const e=window.innerWidth>=1024;b(e)}else b(Boolean(r))},[p,r]),t("div",{className:Se("rounded-lg border",s),children:[t(Xe,{type:"button",className:Se("flex w-full items-center justify-between gap-4 rounded-t-lg px-4 py-3 text-left",d),onClick:()=>b(e=>!e),children:[e("span",{className:Se("label5",c),children:o}),e(We,{name:f?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e(Nn,{open:f,children:e("div",{className:Se("px-4 py-4",u),children:i})})]})};On.displayName="Accordion";const Rn=({state:n,checked:o=!1,onChange:r,className:i,label:a,labelClassName:l,containerClassName:c,name:u,value:d,id:p,disabled:f=!1,required:b=!1,error:m=!1,"data-cy":g,renderInfoIcon:h,...v})=>{const y=f||"disabled"===n,I=p||u,C=Se("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",i),x=s(e=>{y||r&&(1===r.length?r(e.target.checked):r())},[y,r]);return t("div",{className:Se("flex items-center gap-3",c),children:[t("div",{className:"relative",children:[e("input",{type:"checkbox",id:I,name:u,value:d,checked:o,onChange:x,disabled:y,required:b,className:"peer sr-only","data-cy":g,...v}),e("label",{htmlFor:I,className:Se("peer-focus:outline",C),style:{pointerEvents:y?"none":"auto"},children:t("svg",o?{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{width:"24",height:"24",rx:"4",className:Se(y?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:Se(y?"fill-checkbox-bg-surface-disabled":"fill-white")}),e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),a&&e("label",{htmlFor:I,className:Se("cursor-pointer",m&&"text-text-critical",l),children:a}),h&&e(Xe,{type:"button",onClick:h.onClick,"data-testid":h.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};function Vn(e){return Vn="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},Vn(e)}function Bn(e){var t=function(e,t){if("object"!=Vn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Vn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Vn(t)?t:t+""}function kn(e,t,n){return(t=Bn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sn(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 Xn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sn(Object(n),!0).forEach(function(t){kn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function En(e,t){if(e){if("string"==typeof e)return Wn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wn(e,t):void 0}}function Mn(e,t){return 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 o,r,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||En(e,t)||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.")}()}function Pn(e,t){if(null==e)return{};var n,o,r=pn(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}Rn.displayName="Checkbox";var Tn=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Zn(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,Bn(o.key),o)}}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hn(e)}function Fn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fn=function(){return!!e})()}function zn(e,t){if(t&&("object"==Vn(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)}function Jn(e){return function(e){if(Array.isArray(e))return Wn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||En(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Ln=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),jn="-ms-",Yn="-moz-",Dn="-webkit-",Un="comm",Qn="rule",_n="decl",$n="@keyframes",Kn=Math.abs,qn=String.fromCharCode,eo=Object.assign;function to(e){return e.trim()}function no(e,t,n){return e.replace(t,n)}function oo(e,t){return e.indexOf(t)}function ro(e,t){return 0|e.charCodeAt(t)}function io(e,t,n){return e.slice(t,n)}function ao(e){return e.length}function so(e){return e.length}function lo(e,t){return t.push(e),e}var co=1,uo=1,po=0,fo=0,bo=0,mo="";function go(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:co,column:uo,length:a,return:""}}function ho(e,t){return eo(go("",null,null,"",null,null,0),e,{length:-e.length},t)}function vo(){return bo=fo>0?ro(mo,--fo):0,uo--,10===bo&&(uo=1,co--),bo}function yo(){return bo=fo<po?ro(mo,fo++):0,uo++,10===bo&&(uo=1,co++),bo}function Io(){return ro(mo,fo)}function Co(){return fo}function xo(e,t){return io(mo,e,t)}function wo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ao(e){return co=uo=1,po=ao(mo=e),fo=0,[]}function Go(e){return mo="",e}function No(e){return to(xo(fo-1,Vo(91===e?e+2:40===e?e+1:e)))}function Oo(e){for(;(bo=Io())&&bo<33;)yo();return wo(e)>2||wo(bo)>3?"":" "}function Ro(e,t){for(;--t&&yo()&&!(bo<48||bo>102||bo>57&&bo<65||bo>70&&bo<97););return xo(e,Co()+(t<6&&32==Io()&&32==yo()))}function Vo(e){for(;yo();)switch(bo){case e:return fo;case 34:case 39:34!==e&&39!==e&&Vo(bo);break;case 40:41===e&&Vo(e);break;case 92:yo()}return fo}function Bo(e,t){for(;yo()&&e+bo!==57&&(e+bo!==84||47!==Io()););return"/*"+xo(t,fo-1)+"*"+qn(47===e?e:yo())}function ko(e){for(;!wo(Io());)yo();return xo(e,fo)}function So(e){return Go(Xo("",null,null,null,[""],e=Ao(e),0,[0],e))}function Xo(e,t,n,o,r,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,b=0,m=1,g=1,h=1,v=0,y="",I=r,C=i,x=o,w=y;g;)switch(b=v,v=yo()){case 40:if(108!=b&&58==ro(w,d-1)){-1!=oo(w+=no(No(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:w+=No(v);break;case 9:case 10:case 13:case 32:w+=Oo(b);break;case 92:w+=Ro(Co()-1,7);continue;case 47:switch(Io()){case 42:case 47:lo(Eo(Bo(yo(),Co()),t,n),l);break;default:w+="/"}break;case 123*m:s[c++]=ao(w)*h;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==h&&(w=no(w,/\f/g,"")),f>0&&ao(w)-d&&lo(f>32?Mo(w+";",o,n,d-1):Mo(no(w," ","")+";",o,n,d-2),l);break;case 59:w+=";";default:if(lo(x=Wo(w,t,n,c,u,r,s,y,I=[],C=[],d),i),123===v)if(0===u)Xo(w,t,x,x,I,i,d,s,C);else switch(99===p&&110===ro(w,3)?100:p){case 100:case 108:case 109:case 115:Xo(e,x,x,o&&lo(Wo(e,x,x,0,0,r,s,y,r,I=[],d),C),r,C,d,s,o?I:C);break;default:Xo(w,x,x,x,[""],C,0,s,C)}}c=u=f=0,m=h=1,y=w="",d=a;break;case 58:d=1+ao(w),f=b;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==vo())continue;switch(w+=qn(v),v*m){case 38:h=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(ao(w)-1)*h,h=1;break;case 64:45===Io()&&(w+=No(yo())),p=Io(),u=d=ao(y=w+=ko(Co())),v++;break;case 45:45===b&&2==ao(w)&&(m=0)}}return i}function Wo(e,t,n,o,r,i,a,s,l,c,u){for(var d=r-1,p=0===r?i:[""],f=so(p),b=0,m=0,g=0;b<o;++b)for(var h=0,v=io(e,d+1,d=Kn(m=a[b])),y=e;h<f;++h)(y=to(m>0?p[h]+" "+v:no(v,/&\f/g,p[h])))&&(l[g++]=y);return go(e,t,n,0===r?Qn:s,l,c,u)}function Eo(e,t,n){return go(e,t,n,Un,qn(bo),io(e,2,-2),0)}function Mo(e,t,n,o){return go(e,t,n,_n,io(e,0,o),io(e,o+1,-1),o)}function Po(e,t){for(var n="",o=so(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function To(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case _n:return e.return=e.return||e.value;case Un:return"";case $n:return e.return=e.value+"{"+Po(e.children,o)+"}";case Qn:e.value=e.props.join(",")}return ao(n=Po(e.children,o))?e.return=e.value+"{"+n+"}":""}function Zo(e){var t=so(e);return function(n,o,r,i){for(var a="",s=0;s<t;s++)a+=e[s](n,o,r,i)||"";return a}}function Ho(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Fo="undefined"!=typeof document,zo=function(e,t,n){for(var o=0,r=0;o=r,r=Io(),38===o&&12===r&&(t[n]=1),!wo(r);)yo();return xo(e,fo)},Jo=function(e,t){return Go(function(e,t){var n=-1,o=44;do{switch(wo(o)){case 0:38===o&&12===Io()&&(t[n]=1),e[n]+=zo(fo-1,t,n);break;case 2:e[n]+=No(o);break;case 4:if(44===o){e[++n]=58===Io()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=qn(o)}}while(o=yo());return e}(Ao(e),t))},Lo=new WeakMap,jo=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Lo.get(n))&&!o){Lo.set(e,!0);for(var r=[],i=Jo(t,r),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Yo=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Do(e,t){switch(function(e,t){return 45^ro(e,0)?(((t<<2^ro(e,0))<<2^ro(e,1))<<2^ro(e,2))<<2^ro(e,3):0}(e,t)){case 5103:return Dn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Dn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Dn+e+Yn+e+jn+e+e;case 6828:case 4268:return Dn+e+jn+e+e;case 6165:return Dn+e+jn+"flex-"+e+e;case 5187:return Dn+e+no(e,/(\w+).+(:[^]+)/,Dn+"box-$1$2"+jn+"flex-$1$2")+e;case 5443:return Dn+e+jn+"flex-item-"+no(e,/flex-|-self/,"")+e;case 4675:return Dn+e+jn+"flex-line-pack"+no(e,/align-content|flex-|-self/,"")+e;case 5548:return Dn+e+jn+no(e,"shrink","negative")+e;case 5292:return Dn+e+jn+no(e,"basis","preferred-size")+e;case 6060:return Dn+"box-"+no(e,"-grow","")+Dn+e+jn+no(e,"grow","positive")+e;case 4554:return Dn+no(e,/([^-])(transform)/g,"$1"+Dn+"$2")+e;case 6187:return no(no(no(e,/(zoom-|grab)/,Dn+"$1"),/(image-set)/,Dn+"$1"),e,"")+e;case 5495:case 3959:return no(e,/(image-set\([^]*)/,Dn+"$1$`$1");case 4968:return no(no(e,/(.+:)(flex-)?(.*)/,Dn+"box-pack:$3"+jn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Dn+e+e;case 4095:case 3583:case 4068:case 2532:return no(e,/(.+)-inline(.+)/,Dn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ao(e)-1-t>6)switch(ro(e,t+1)){case 109:if(45!==ro(e,t+4))break;case 102:return no(e,/(.+:)(.+)-([^]+)/,"$1"+Dn+"$2-$3$1"+Yn+(108==ro(e,t+3)?"$3":"$2-$3"))+e;case 115:return~oo(e,"stretch")?Do(no(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ro(e,t+1))break;case 6444:switch(ro(e,ao(e)-3-(~oo(e,"!important")&&10))){case 107:return no(e,":",":"+Dn)+e;case 101:return no(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Dn+(45===ro(e,14)?"inline-":"")+"box$3$1"+Dn+"$2$3$1"+jn+"$2box$3")+e}break;case 5936:switch(ro(e,t+11)){case 114:return Dn+e+jn+no(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Dn+e+jn+no(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Dn+e+jn+no(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Dn+e+jn+e+e}return e}var Uo,Qo,_o,$o=Fo?void 0:(Uo=function(){return Ho(function(){return{}})},Qo=new WeakMap,function(e){if(Qo.has(e))return Qo.get(e);var t=Uo(e);return Qo.set(e,t),t}),Ko=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case _n:e.return=Do(e.value,e.length);break;case $n:return Po([ho(e,{value:no(e.value,"@","@"+Dn)})],o);case Qn:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Po([ho(e,{props:[no(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Po([ho(e,{props:[no(t,/:(plac\w+)/,":"+Dn+"input-$1")]}),ho(e,{props:[no(t,/:(plac\w+)/,":-moz-$1")]}),ho(e,{props:[no(t,/:(plac\w+)/,jn+"input-$1")]})],o)}return""})}}],qo=function(e){var t=e.key;if(Fo&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,r,i=e.stylisPlugins||Ko,a={},s=[];Fo&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[jo,Yo];if($o){var u=[To],d=Zo(c.concat(i,u)),p=$o(i)(t),f=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Po(So(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};r=function(e,t,n,o){var r=t.name,i=f(e,t);return void 0===h.compat?(o&&(h.inserted[r]=!0),i):o?void(h.inserted[r]=i):i}}else{var b,m=[To,(l=function(e){b.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Zo(c.concat(i,m));r=function(e,t,n,o){b=n,Po(So(e?e+"{"+t.styles+"}":t.styles),g),o&&(h.inserted[t.name]=!0)}}var h={key:t,sheet:new Ln({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return h.sheet.hydrate(s),h},er={exports:{}},tr={};var nr,or,rr,ir,ar={};
|
|
29
29
|
/** @license React v16.13.1
|
|
30
30
|
* react-is.development.js
|
|
31
31
|
*
|