1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[553],{79553:function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=n(2784),s=n(28316),l=n(13980),f=n(60156).createFocusTrap,p=n(65712).isFocusable,d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}(d,e);var t,n,l,f=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=c(d);if(t){var a=c(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return i(e)}(this,e)});function d(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,d),t=i(a=f.call(this,e)),n="getNodeForOption",o=function(e){var t,n,o=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof o){for(var a=arguments.length,r=Array(a>1?a-1:0),i=1;i<a;i++)r[i-1]=arguments[i];o=o.apply(void 0,r)}if(!0===o&&(o=void 0),!o){if(void 0===o||!1===o)return o;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var c=o;if("string"==typeof o&&!(c=null===(n=this.getDocument())||void 0===n?void 0:n.querySelector(o)))throw Error("`".concat(e,"` as selector refers to no known node"));return c},n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,a.handleDeactivate=a.handleDeactivate.bind(i(a)),a.handlePostDeactivate=a.handlePostDeactivate.bind(i(a)),a.handleClickOutsideDeactivates=a.handleClickOutsideDeactivates.bind(i(a)),a.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:a.handleDeactivate,onPostDeactivate:a.handlePostDeactivate,clickOutsideDeactivates:a.handleClickOutsideDeactivates},a.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var t,n,o,a,r=e.focusTrapOptions;for(var c in r)if(Object.prototype.hasOwnProperty.call(r,c)){if("returnFocusOnDeactivate"===c||"onDeactivate"===c||"onPostDeactivate"===c||"checkCanReturnFocus"===c||"clickOutsideDeactivates"===c){a.originalOptions[c]=r[c];continue}a.internalOptions[c]=r[c]}return a.outsideClick=null,a.focusTrapElements=e.containerElements||[],a.updatePreviousElement(),a}return n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!!(e.originalOptions.returnFocusOnDeactivate&&null!=t&&t.focus&&(!e.outsideClick||e.outsideClick.allowDeactivation&&!p(e.outsideClick.target,e.internalOptions.tabbableOptions))),o=e.internalOptions.preventScroll;
1n&&t.focus({preventScroll:void 0!==o&&o}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){if(!this.focusTrap){var e=this.focusTrapElements.map(s.findDOMNode);e.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(e,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,o=!e.paused&&this.props.paused,a=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n){this.deactivateTrap();return}o&&this.focusTrap.pause(),a&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?u.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===u.Fragment)throw Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return u.cloneElement(t,{ref:function(n){var o=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=o||[n]}})}return null}}],a(d.prototype,n),l&&a(d,l),Object.defineProperty(d,"prototype",{writable:!1}),d}(u.Component),v="undefined"==typeof Element?Function:Element;d.propTypes={active:l.bool,paused:l.bool,focusTrapOptions:l.shape({document:l.object,onActivate:l.func,onPostActivate:l.func,checkCanFocusTrap:l.func,onDeactivate:l.func,onPostDeactivate:l.func,checkCanReturnFocus:l.func,initialFocus:l.oneOfType([l.instanceOf(v),l.string,l.bool,l.func]),fallbackFocus:l.oneOfType([l.instanceOf(v),l.string,l.func]),escapeDeactivates:l.oneOfType([l.bool,l.func]),clickOutsideDeactivates:l.oneOfType([l.bool,l.func]),returnFocusOnDeactivate:l.bool,setReturnFocus:l.oneOfType([l.instanceOf(v),l.string,l.bool,l.func]),allowOutsideClick:l.oneOfType([l.bool,l.func]),preventScroll:l.bool,tabbableOptions:l.shape({displayCheck:l.oneOf(["full","non-zero-area","none"]),getShadowRoot:l.oneOfType([l.bool,l.func])})}),containerElements:l.arrayOf(l.instanceOf(v)),children:l.oneOfType([l.element,l.instanceOf(v)])},d.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:f},e.exports=d},60156:function(e,t,n){n.r(t),n.d(t,{createFocusTrap:function(){return p}});var o,a=n(65712);/*! 2* focus-trap 6.9.4 3* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE 4*/function r(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){var o;o=n[t],t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var c=(o=[],{activateTrap:function(e){if(o.length>0){var t=o[o.length-1];t!==e&&t.pause()}var n=o.indexOf(e);-1===n||o.splice(n,1),o.push(e)},deactivateTrap:function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),o.length>0&&o[o.length-1].unpause()}}),u=function(e){return setTimeout(e,0)},s=function(e,t){var n=-1;return e.every(function(e,o){return!t(e)||(n=o,!1)}),n},l=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return"function"==typeof e?e.apply(void 0,n):e},f=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},p=function(e,t){var n,o=(null==t?void 0:t.document)||document,r=i({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),p={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},d=function(e,t,n){return e&&void 0!==e[t]?e[t]:r[n||t]},v=function(e){return p.containerGroups.findIndex(function(t){var n=t.container,o=t.tabbableNodes;return n.contains(e)||o.find(function(t){return t===e})})},b=function(e){var t=r[e];if("function"==typeof t){for(var n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];t=t.apply(void 0,a)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var c=t;if("string"==typeof t&&!(c=o.querySelector(t)))throw Error("`".concat(e,"` as selector refers to no known node"));return c},h=function(){var e=b("initialFocus");if(!1===e)return!1;if(void 0===e){if(v(o.activeElement)>=0)e=o.activeElement;else{var t=p.tabbableGroups[0];e=t&&t.firstTabbableNode||b("fallbackFocus")}}if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},y=function(){if(p.containerGroups=p.containers.map(function(e){var t=(0,a.tabbable)(e,r.tabbableOptions),n=(0,a.focusable)(e,r.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:n,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],o=n.findIndex(function(t){return t===e});return o<0?void 0:t?n.slice(o+1).find(function(e){return(0,a.isTabbable)(e,r.tabbableOptions)}):n.slice(0,o).reverse().find(function(e){return(0,a.isTabbable)(e,r.tabbableOptions)})}}}),p.tabbableGroups=p.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),p.tabbableGroups.length<=0&&!b("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},m=function e(t){if(!1!==t&&t!==o.activeElement){if(!t||!t.focus){e(h());return}t.focus({preventScroll:!!r.preventScroll}),p.mostRecentlyFocusedNode=t,t.tagName&&"input"===t.tagName.toLowerCase()&&"function"==typeof t.select&&t.select()}},O=function(e){var t=b("setReturnFocus",e);return t||!1!==t&&e},g=function(e){var t=f(e);
4if(!(v(t)>=0)){if(l(r.clickOutsideDeactivates,e)){n.deactivate({returnFocus:r.returnFocusOnDeactivate&&!(0,a.isFocusable)(t,r.tabbableOptions)});return}l(r.allowOutsideClick,e)||e.preventDefault()}},T=function(e){var t=f(e),n=v(t)>=0;n||t instanceof Document?n&&(p.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),m(p.mostRecentlyFocusedNode||h()))},E=function(e){var t=f(e);y();var n=null;if(p.tabbableGroups.length>0){var o=v(t),i=o>=0?p.containerGroups[o]:void 0;if(o<0)n=e.shiftKey?p.tabbableGroups[p.tabbableGroups.length-1].lastTabbableNode:p.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var c=s(p.tabbableGroups,function(e){return t===e.firstTabbableNode});if(c<0&&(i.container===t||(0,a.isFocusable)(t,r.tabbableOptions)&&!(0,a.isTabbable)(t,r.tabbableOptions)&&!i.nextTabbableNode(t,!1))&&(c=o),c>=0){var u=0===c?p.tabbableGroups.length-1:c-1;n=p.tabbableGroups[u].lastTabbableNode}}else{var l=s(p.tabbableGroups,function(e){return t===e.lastTabbableNode});if(l<0&&(i.container===t||(0,a.isFocusable)(t,r.tabbableOptions)&&!(0,a.isTabbable)(t,r.tabbableOptions)&&!i.nextTabbableNode(t))&&(l=o),l>=0){var d=l===p.tabbableGroups.length-1?0:l+1;n=p.tabbableGroups[d].firstTabbableNode}}}else n=b("fallbackFocus");n&&(e.preventDefault(),m(n))},D=function(e){if(("Escape"===e.key||"Esc"===e.key||27===e.keyCode)&&!1!==l(r.escapeDeactivates,e)){e.preventDefault(),n.deactivate();return}if("Tab"===e.key||9===e.keyCode){E(e);return}},w=function(e){v(f(e))>=0||l(r.clickOutsideDeactivates,e)||l(r.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},k=function(){if(p.active)return c.activateTrap(n),p.delayInitialFocusTimer=r.delayInitialFocus?u(function(){m(h())}):m(h()),o.addEventListener("focusin",T,!0),o.addEventListener("mousedown",g,{capture:!0,passive:!1}),o.addEventListener("touchstart",g,{capture:!0,passive:!1}),o.addEventListener("click",w,{capture:!0,passive:!1}),o.addEventListener("keydown",D,{capture:!0,passive:!1}),n},F=function(){if(p.active)return o.removeEventListener("focusin",T,!0),o.removeEventListener("mousedown",g,!0),o.removeEventListener("touchstart",g,!0),o.removeEventListener("click",w,!0),o.removeEventListener("keydown",D,!0),n};return(n={get active(){return p.active},get paused(){return p.paused},activate:function(e){if(p.active)return this;var t=d(e,"onActivate"),n=d(e,"onPostActivate"),a=d(e,"checkCanFocusTrap");a||y(),p.active=!0,p.paused=!1,p.nodeFocusedBeforeActivation=o.activeElement,t&&t();var r=function(){a&&y(),k(),n&&n()};return a?a(p.containers.concat()).then(r,r):r(),this},deactivate:function(e){if(!p.active)return this;var t=i({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},e);clearTimeout(p.delayInitialFocusTimer),p.delayInitialFocusTimer=void 0,F(),p.active=!1,p.paused=!1,c.deactivateTrap(n);var o=d(t,"onDeactivate"),a=d(t,"onPostDeactivate"),s=d(t,"checkCanReturnFocus"),l=d(t,"returnFocus","returnFocusOnDeactivate");o&&o();var f=function(){u(function(){l&&m(O(p.nodeFocusedBeforeActivation)),a&&a()})};return l&&s?s(O(p.nodeFocusedBeforeActivation)).then(f,f):f(),this},pause:function(){return p.paused||!p.active||(p.paused=!0,F()),this},unpause:function(){return p.paused&&p.active&&(p.paused=!1,y(),k()),this}
vendor: 1,237 bytes, lines 4-7
4,updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return p.containers=t.map(function(e){return"string"==typeof e?o.querySelector(e):e}),p.active&&y(),this}}).updateContainerElements(e),n}},65712:function(e,t,n){n.r(t),n.d(t,{focusable:function(){return D},isFocusable:function(){return F},isTabbable:function(){return w},tabbable:function(){return E}});/*! 5* tabbable 5.3.3 6* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 7*/var o=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],a=o.join(","),r="undefined"==typeof Element,i=r?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,c=!r&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},u=function(e,t,n){var o=Array.prototype.slice.apply(e.querySelectorAll(a));return t&&i.call(e,a)&&o.unshift(e),o=o.filter(n)},s=function e(t,n,o){for(var r=[],c=Array.from(t);c.length;){var u=c.shift();if("SLOT"===u.tagName){var s=u.assignedElements(),l=e(s.length?s:u.children,!0,o);
7o.flatten?r.push.apply(r,l):r.push({scope:u,candidates:l})}else{i.call(u,a)&&o.filter(u)&&(n||!t.includes(u))&&r.push(u);var f=u.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(u),p=!o.shadowRootFilter||o.shadowRootFilter(u);if(f&&p){var d=e(!0===f?u.children:f.children,!0,o);o.flatten?r.push.apply(r,d):r.push({scope:u,candidates:d})}else c.unshift.apply(c,u.children)}}return r},l=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},f=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},p=function(e){return"INPUT"===e.tagName},d=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},v=function(e){if(!e.name)return!0;var t,n=e.form||c(e),o=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var a=d(t,e.form);return!a||a===e},b=function(e){var t=e.getBoundingClientRect(),n=t.width,o=t.height;return 0===n&&0===o},h=function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var a=i.call(e,"details>summary:first-of-type")?e.parentElement:e;if(i.call(a,"details:not([open]) *"))return!0;var r=c(e).host,u=(null==r?void 0:r.ownerDocument.contains(r))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return b(e)}else{if("function"==typeof o){for(var s=e;e;){var l=e.parentElement,f=c(e);if(l&&!l.shadowRoot&&!0===o(l))return b(e);e=e.assignedSlot?e.assignedSlot:l||f===e.ownerDocument?l:f.host}e=s}if(u)return!e.getClientRects().length}return!1},y=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var o=t.children.item(n);if("LEGEND"===o.tagName)return!!i.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1},m=function(e,t){return!(t.disabled||p(t)&&"hidden"===t.type||h(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||y(t))},O=function(e,t){var n;return!(p(n=t)&&"radio"===n.type&&!v(n)||0>l(t))&&!!m(e,t)},g=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||t>=0},T=function e(t){var n=[],o=[];return t.forEach(function(t,a){var r=!!t.scope,i=r?t.scope:t,c=l(i,r),u=r?e(t.candidates):i;0===c?r?n.push.apply(n,u):n.push(i):o.push({documentOrder:a,tabIndex:c,item:t,isScope:r,content:u})}),o.sort(f).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},E=function(e,t){return T((t=t||{}).getShadowRoot?s([e],t.includeContainer,{filter:O.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:g}):u(e,t.includeContainer,O.bind(null,t)))},D=function(e,t){return(t=t||{}).getShadowRoot?s([e],t.includeContainer,{filter:m.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):u(e,t.includeContainer,m.bind(null,t))},w=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==i.call(e,a)&&O(t,e)},k=o.concat("iframe").join(","),F=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==i.call(e,k)&&m(t,e)}}}]); 8//# sourceMappingURL=553-5ed13ced2fcf3c89.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.