1(window.webpackJsonpStreamline=window.webpackJsonpStreamline||[]).push([[15],{241:function(e,t,n){"use strict";var a=n(2);Object.defineProperty(t,"__esModule",{value:!0}),t.createFocusTrap=void 0;var o=a(n(18));n(0),n(3),n(12),n(1),n(13),n(4),n(5),n(6),n(23),n(11),n(8),n(16),n(14),n(21),n(20),n(43),n(44),n(28),n(15),n(7),n(33),n(35),n(164),n(47),n(58),n(52),n(9),n(19);var r=n(1228); 2/*! 3* focus-trap 7.6.6 4* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE 5*/function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=(0,o.default)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t);if("object"!=(0,o.default)(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,o.default)(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(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)?i(e,t):void 0}}(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 d=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n._setPausedState(!0)}var a=e.indexOf(t);-1===a||e.splice(a,1),e.push(t)},b=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)},f=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},v=function(e){return f(e)&&!e.shiftKey},p=function(e){return f(e)&&e.shiftKey},m=function(e){return setTimeout(e,0)},y=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return"function"==typeof e?e.apply(void 0,n):e},h=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},w=[];t.createFocusTrap=function(e,t){var n,a=(null==t?void 0:t.document)||document,o=(null==t?void 0:t.trapStack)||w,i=c({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:v,isKeyBackward:p},t),u={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},s=function(e,t,n){return e&&void 0!==e[t]?e[t]:i[n||t]},g=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return u.containerGroups.findIndex((function(t){var a=t.container,o=t.tabbableNodes;return a.contains(e)||(null==n?void 0:n.includes(a))||o.find((function(t){return t===e}))}))},F=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hasFallback,o=void 0!==n&&n,r=t.params,u=void 0===r?[]:r,s=i[e];if("function"==typeof s&&(s=s.apply(void 0,l(u))),!0===s&&(s=void 0),!s){if(void 0===s||!1===s)return s;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var c=s;if("string"==typeof s){try{c=a.querySelector(s)}catch(t){throw new Error("`".concat(e,'` appears to be an invali
5d selector; error="').concat(t.message,'"'))}if(!c&&!o)throw new Error("`".concat(e,"` as selector refers to no known node"))}return c},N=function(){var e=F("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,r.isFocusable)(e,i.tabbableOptions))if(g(a.activeElement)>=0)e=a.activeElement;else{var t=u.tabbableGroups[0];e=t&&t.firstTabbableNode||F("fallbackFocus")}else null===e&&(e=F("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},T=function(){if(u.containerGroups=u.containers.map((function(e){var t=(0,r.tabbable)(e,i.tabbableOptions),n=(0,r.focusable)(e,i.tabbableOptions),a=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,u=n.find((function(e){return(0,r.isTabbable)(e)})),s=n.slice().reverse().find((function(e){return(0,r.isTabbable)(e)})),c=!!t.find((function(e){return(0,r.getTabIndex)(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:c,firstTabbableNode:a,lastTabbableNode:o,firstDomTabbableNode:u,lastDomTabbableNode:s,nextTabbableNode:function(e){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e);return o<0?a?n.slice(n.indexOf(e)+1).find((function(e){return(0,r.isTabbable)(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return(0,r.isTabbable)(e)})):t[o+(a?1:-1)]}}})),u.tabbableGroups=u.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),u.tabbableGroups.length<=0&&!F("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(u.containerGroups.find((function(e){return e.posTabIndexesFound}))&&u.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},O=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?O(t.shadowRoot):t},P=function(e){!1!==e&&e!==O(document)&&(e&&e.focus?(e.focus({preventScroll:!!i.preventScroll}),u.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):P(N()))},k=function(e){var t=F("setReturnFocus",{params:[e]});return t||!1!==t&&e},E=function(e){var t=e.target,n=e.event,a=e.isBackward,o=void 0!==a&&a;t=t||h(n),T();var s=null;if(u.tabbableGroups.length>0){var c=g(t,n),l=c>=0?u.containerGroups[c]:void 0;if(c<0)s=o?u.tabbableGroups[u.tabbableGroups.length-1].lastTabbableNode:u.tabbableGroups[0].firstTabbableNode;else if(o){var d=u.tabbableGroups.findIndex((function(e){var n=e.firstTabbableNode;return t===n}));if(d<0&&(l.container===t||(0,r.isFocusable)(t,i.tabbableOptions)&&!(0,r.isTabbable)(t,i.tabbableOptions)&&!l.nextTabbableNode(t,!1))&&(d=c),d>=0){var b=0===d?u.tabbableGroups.length-1:d-1,v=u.tabbableGroups[b];s=(0,r.getTabIndex)(t)>=0?v.lastTabbableNode:v.lastDomTabbableNode}else f(n)||(s=l.nextTabbableNode(t,!1))}else{var p=u.tabbableGroups.findIndex((function(e){var n=e.lastTabbableNode;return t===n}));if(p<0&&(l.container===t||(0,r.isFocusable)(t,i.tabbableOptions)&&!(0,r.isTabbable)(t,i.tabbableOptions)&&!l.nextTabbableNode(t))&&(p=c),p>=0){var m=p===u.tabbableGroups.length-1?0:p+1,y=u.tabbableGroups[m];s=(0,r.getTabIndex)(t)>=0?y.firstTabbableNode:y.firstDomTabbableNode}else f(n)||(s=l.nextTabbableNode(t))}}else s=F("fallbackFocus");return s},D=function(e){var t=h(e);g(t,e)>=0||(y(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate}):y(i.allowOutsideClick,e)||e.preventDefault())},x=function(e){var t=h(e),n=g(t,e)>=0;if(n||t instanceof Document)n&&(u.mostRecentlyFocusedNode=t);else{var a;e.stopImmediatePropagation();var o=!0;if(u.mostRecentlyFocusedNode)if((0,r.getTabIndex)(u.mostRecentlyFocusedNode)>0){var s=g(u.mostRecentlyFocusedNode),c=u.containerGroups[s].tabbableNodes;if(c.length>0){var l=c.findIndex((function(e){return e===u.mostRecentlyFocusedNode}));l>=0&&(i.isKeyForward(u.recentNavEvent)?l+1<c.length&&(a=c[l+1],o=!1):l-1>=0&&(a=c[l-1],o=!1))}}else u.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return(0,r.getTabIndex)(e)>0}))}))||(o=!1);else o=!1;o&&(a=E({target:u.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(u.recentNavEvent)})),P(a||(u.mostRecentlyFocusedNode||N()))}u.recentNavEvent=void 0},G=function(e){(i.isKeyForward(e)||i.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];u.recentNavEvent=e;var n=E({event:e,isBackward:t});n&&(f(e)&&e.preventDefault(),P(n))}(e,i.isKeyBackward(e))},I=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===y(i.escapeDeactivates,e)||(e.preventDefault(),n.deactivate())},S=function(e){var t=h(e);g(t,e)>=0||y(i.clickOutsideDeactivates,e)||y(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},j=function(){if(u.active)return d(o,n),u.delayInitialFocusTimer=i.delayInitialFocus?m((function(){P(N())})):P(N()),a.addEventListener("focusin",x,!0),a.addEventListener("mousedown",D,{capture:!0,passive:!1}),a.addEventListener("touchstart",D,{capture:!0,passive:!1}),a.addEventListener("click",S,{capture:!0,passive:!1}),a.addEventListener("keydown",G,{capture:!0,passive:!1}),a.addEventListener("keydown",I),n},R=function(){if(u.active)return a.removeEventListener("focusin",x,!0),a.removeEventListener("mousedown",D,!0),a.removeEventListener("touchstart",D,!0),a.removeEventListener("click",S,!0),a.removeEventListener("keydown",G,!0),a.removeEventListener("keydown",I),n},A="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes
5).some((function(e){return e===u.mostRecentlyFocusedNode}))}))&&P(N())})):void 0,L=function(){A&&(A.disconnect(),u.active&&!u.paused&&u.containers.map((function(e){A.observe(e,{subtree:!0,childList:!0})})))};return n={get active(){return u.active},get paused(){return u.paused},activate:function(e){if(u.active)return this;var t=s(e,"onActivate"),n=s(e,"onPostActivate"),o=s(e,"checkCanFocusTrap");o||T(),u.active=!0,u.paused=!1,u.nodeFocusedBeforeActivation=O(a),null==t||t();var r=function(){o&&T(),j(),L(),null==n||n()};return o?(o(u.containers.concat()).then(r,r),this):(r(),this)},deactivate:function(e){if(!u.active)return this;var t=c({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(u.delayInitialFocusTimer),u.delayInitialFocusTimer=void 0,R(),u.active=!1,u.paused=!1,L(),b(o,n);var a=s(t,"onDeactivate"),r=s(t,"onPostDeactivate"),l=s(t,"checkCanReturnFocus"),d=s(t,"returnFocus","returnFocusOnDeactivate");null==a||a();var f=function(){m((function(){d&&P(k(u.nodeFocusedBeforeActivation)),null==r||r()}))};return d&&l?(l(k(u.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(e){return u.active?(u.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return u.active?(u.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,e)):this}
5,updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return u.containers=t.map((function(e){return"string"==typeof e?a.querySelector(e):e})),u.active&&T(),L(),this}},Object.defineProperties(n,{_isManuallyPaused:{value:function(){return u.manuallyPaused}},_setPausedState:{value:function(e,t){if(u.paused===e)return this;if(u.paused=e,e){var n=s(t,"onPause"),a=s(t,"onPostPause");null==n||n(),R(),L(),null==a||a()}else{var o=s(t,"onUnpause"),r=s(t,"onPostUnpause");null==o||o(),T(),j(),L(),null==r||r()}return this}}}),n.updateContainerElements(e),n}}}]); 6//# sourceMappingURL=fb0179b18923e867d586.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.