PageSourceSearch

https://community.theasianparent.com/static/js/2.46b5b386.chunk.js

js theasianparent.com collected 2026-09-24 08:25:14 UTC 43,418 bytes, 3 lines download raw bytes

1/*! For license information please see 2.46b5b386.chunk.js.LICENSE.txt */
2(this.webpackJsonpcommunity=this.webpackJsonpcommunity||[]).push([[2],{151:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(657),r=(n=i)&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default},159:function(e,t,o){var n=o(1),i=o(425),r=o(4),s=o(25),a=o(653),l=o(426),u=o(656),c=i({uid:3400,_isMounted:!1,_getStyles:{overrideStyle:{},overrideWidth:null,setOverrideStyle:function(e){this.overrideStyle=e},wrapper:function(){return this.overrideStyle?s({},u.Wrapper,this.overrideStyle.Wrapper):{}},container:function(e){var t=this.overrideStyle.Containers||{};return this.overrideStyle?(this.overrideWidth=u.Containers.DefaultStyle.width,t.DefaultStyle&&t.DefaultStyle.width&&(this.overrideWidth=t.DefaultStyle.width),t[e]&&t[e].width&&(this.overrideWidth=t[e].width),s({},u.Containers.DefaultStyle,u.Containers[e],t.DefaultStyle,t[e])):{}},elements:{notification:"NotificationItem",title:"Title",messageWrapper:"MessageWrapper",dismiss:"Dismiss",action:"Action",actionWrapper:"ActionWrapper"},byElement:function(e){var t=this;return function(o){var n=t.elements[e],i=t.overrideStyle[n]||{};return t.overrideStyle?s({},u[n].DefaultStyle,u[n][o],i.DefaultStyle,i[o]):{}}}},_didNotificationRemoved:function(e){var t,o=this.state.notifications.filter(function(o){return o.uid!==e||(t=o,!1)});this._isMounted&&this.setState({notifications:o}),t&&t.onRemove&&t.onRemove(t)},getInitialState:function(){return{notifications:[]}},propTypes:{style:r.oneOfType([r.bool,r.object]),noAnimation:r.bool,allowHTML:r.bool},getDefaultProps:function(){return{style:{},noAnimation:!1,allowHTML:!1}},addNotification:function(e){var t,o=s({},l.notification,e),n=this.state.notifications;if(!o.level)throw new Error("notification level is required.");if(-1===Object.keys(l.levels).indexOf(o.level))throw new Error("'"+o.level+"' is not a valid level.");if(isNaN(o.autoDismiss))throw new Error("'autoDismiss' must be a number.");if(-1===Object.keys(l.positions).indexOf(o.position))throw new Error("'"+o.position+"' is not a valid position.");for(o.position=o.position.toLowerCase(),o.level=o.level.toLowerCase(),o.autoDismiss=parseInt(o.autoDismiss,10),o.uid=o.uid||this.uid,o.ref="notification-"+o.uid,this.uid+=1,t=0;t<n.length;t+=1)if(n[t].uid===o.uid)return!1;return n.push(o),"function"===typeof o.onAdd&&e.onAdd(o),this.setState({notifications:n}),o},getNotificationRef:function(e){var t=this,o=null;return Object.keys(this.refs).forEach(function(n){n.indexOf("container")>-1&&Object.keys(t.refs[n].refs).forEach(function(i){i==="notification-"+(e.uid?e.uid:e)&&(o=t.refs[n].refs[i])})}),o},removeNotification:function(e){var t=this.getNotificationRef(e);return t&&t._hideNotification()},editNotification:function(e,t){var o=null,n=e.uid?e.uid:e,i=this.state.notifications.filter(function(e){return n!==e.uid||(o=e,!1)});o&&(i.push(s({},o,t)),this.setState({notifications:i}))},clearNotifications:function(){var e=this;Object.keys(this.refs).forEach(function(t){t.indexOf("container")>-1&&Object.keys(e.refs[t].refs).forEach(function(o){e.refs[t].refs[o]._hideNotification()})})},componentDidMount:function(){this._getStyles.setOverrideStyle(this.props.style),this._isMounted=!0},componentWillUnmount:function(){this._isMounted=!1},render:function(){var e=this,t=null,o=this.state.notifications;return o.length&&(t=Object.keys(l.positions).map(function(t){var i=o.filter(function(e){return t===e.position});return i.length?n.createElement(a,{ref:"container-"+t,key:t,position:t,notifications:i,getStyles:e._getStyles,onRemove:e._didNotificationRemoved,noAnimation:e.props.noAnimation,allowHTML:e.props.allowHTML}):null})),n.createElement("div",{className:"notifications-wrapper",style:this._getStyles.wrapper()},t)}});e.exports=c},233:function(e,t,o){var n;!function(){"use strict";var i=!("undefined"===typeof window||!window.document||!window.document.createElement),r={canUseDOM:i,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseVie
2wport:i&&!!window.screen};void 0===(n=function(){return r}.call(t,o,t,e))||(e.exports=n)}()},234:function(e,t,o){"use strict";function n(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function i(e){this.setState(function(t){var o=this.constructor.getDerivedStateFromProps(e,t);return null!==o&&void 0!==o?o:null}.bind(this))}function r(e,t){try{var o=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(o,n)}finally{this.props=o,this.state=n}}function s(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 o=null,s=null,a=null;if("function"===typeof t.componentWillMount?o="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(o="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?s="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(s="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?a="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(a="UNSAFE_componentWillUpdate"),null!==o||null!==s||null!==a){var l=e.displayName||e.name,u="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==o?"\n  "+o:"")+(null!==s?"\n  "+s:"")+(null!==a?"\n  "+a:"")+"\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=n,t.componentWillReceiveProps=i),"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=r;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,o){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:o;c.call(this,e,t,n)}}return e}o.r(t),o.d(t,"polyfill",function(){return s}),n.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0},350:function(e,t,o){"use strict";var n=function(){};e.exports=n},425:function(e,t,o){"use strict";var n=o(1),i=o(652);if("undefined"===typeof n)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var r=(new n.Component).updater;e.exports=i(n.Component,n.isValidElement,r)},426:function(e,t){e.exports={positions:{tl:"tl",tr:"tr",tc:"tc",bl:"bl",br:"br",bc:"bc"},levels:{success:"success",error:"error",warning:"warning",info:"info"},notification:{title:null,message:null,level:null,position:"tr",autoDismiss:5,dismissible:"both",action:null}}},427:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var n,i=o(233);var r=((n=i)&&n.__esModule?n:{default:n}).default,s=r.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=r.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=r.canUseDOM?window.NodeList:{},t.canUseDOM=r.canUseDOM;t.default=s},597:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var o=[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,o){return t.concat(o.shadowRoot?e(o.shadowRoot):[o])},[]);return o.filter(l)};var n="none",i="contents",r=/^(input|select|textarea|button|object|iframe)$/;function s(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var o=window.getComputedStyle(e),r=o.getPropertyValue("display");return t?r!==i&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,o):r===n}catch(s){return console.warn("Failed to inspect element style"),!1}}
2function a(e,t){var o=e.nodeName.toLowerCase();return(r.test(o)&&!e.disabled||"a"===o&&e.href||t)&&function(e){for(var t=e,o=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(o&&t===o&&(t=o.host.parentNode),s(t))return!1;t=t.parentNode}return!0}(e)}function l(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var o=isNaN(t);return(o||t>=0)&&a(e,!o)}e.exports=t.default},598:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a&&(a.removeAttribute?a.removeAttribute("aria-hidden"):null!=a.length?a.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(a).forEach(function(e){return e.removeAttribute("aria-hidden")}));a=null},t.log=function(){0},t.assertNodeList=l,t.setElement=function(e){var t=e;if("string"===typeof t&&s.canUseDOM){var o=document.querySelectorAll(t);l(o,t),t=o}return a=t||a},t.validateElement=u,t.hide=function(e){var t=!0,o=!1,n=void 0;try{for(var i,r=u(e)[Symbol.iterator]();!(t=(i=r.next()).done);t=!0){i.value.setAttribute("aria-hidden","true")}}catch(s){o=!0,n=s}finally{try{!t&&r.return&&r.return()}finally{if(o)throw n}}},t.show=function(e){var t=!0,o=!1,n=void 0;try{for(var i,r=u(e)[Symbol.iterator]();!(t=(i=r.next()).done);t=!0){i.value.removeAttribute("aria-hidden")}}catch(s){o=!0,n=s}finally{try{!t&&r.return&&r.return()}finally{if(o)throw n}}},t.documentNotReadyOrSSRTesting=function(){a=null};var n,i=o(350),r=(n=i)&&n.__esModule?n:{default:n},s=o(427);var a=null;function l(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function u(e){var t=e||a;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,r.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(" ")),[])}},599:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(i.openInstances.length),i.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},t.resetState=function(){i=new n};var n=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"))},this.deregister=function(e){var o=t.openInstances.indexOf(e);-1!==o&&(t.openInstances.splice(o,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(o){return o(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},i=new n;t.default=i},652:function(e,t,o){"use strict";var n=o(25),i={};function r(e,t,o,n,i,r,s,a){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[o,n,i,r,s,a],c=0;(l=new Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}var s="mixins";e.exports=function(e,t,o){var a=[],l={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},u={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var o=0;o<t.length;o++)p(e,t[o])},childContextTypes:function(e,t){e.childContextTypes=n({},e.childContextTypes,t)}
2,contextTypes:function(e,t){e.contextTypes=n({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=h(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=n({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var o in t){var n=t[o];if(t.hasOwnProperty(o)){if(r(!(o in c),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',o),o in e)return r("DEFINE_MANY_MERGED"===(u.hasOwnProperty(o)?u[o]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",o),void(e[o]=h(e[o],n));e[o]=n}}}(e,t)},autobind:function(){}};function f(e,t){var o=l.hasOwnProperty(t)?l[t]:null;g.hasOwnProperty(t)&&r("OVERRIDE_BASE"===o,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&r("DEFINE_MANY"===o||"DEFINE_MANY_MERGED"===o,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function p(e,o){if(o){r("function"!==typeof o,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),r(!t(o),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n=e.prototype,i=n.__reactAutoBindPairs;for(var a in o.hasOwnProperty(s)&&c.mixins(e,o.mixins),o)if(o.hasOwnProperty(a)&&a!==s){var u=o[a],p=n.hasOwnProperty(a);if(f(p,a),c.hasOwnProperty(a))c[a](e,u);else{var d=l.hasOwnProperty(a);if("function"===typeof u&&!d&&!p&&!1!==o.autobind)i.push(a,u),n[a]=u;else if(p){var y=l[a];r(d&&("DEFINE_MANY_MERGED"===y||"DEFINE_MANY"===y),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",y,a),"DEFINE_MANY_MERGED"===y?n[a]=h(n[a],u):"DEFINE_MANY"===y&&(n[a]=m(n[a],u))}else n[a]=u}}}else;}function d(e,t){for(var o in r(e&&t&&"object"===typeof e&&"object"===typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(o)&&(r(void 0===e[o],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",o),e[o]=t[o]);return e}function h(e,t){return function(){var o=e.apply(this,arguments),n=t.apply(this,arguments);if(null==o)return n;if(null==n)return o;var i={};return d(i,o),d(i,n),i}}function m(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function y(e,t){return t.bind(e)}var v={componentDidMount:function(){this.__isMounted=!0}},b={componentWillUnmount:function(){this.__isMounted=!1}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},_=function(){};return n(_.prototype,e.prototype,g),function(e){var t=function(e,n,s){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,o=0;o<t.length;o+=2){var n=t[o],i=t[o+1];e[n]=y(e,i)}}(this),this.props=e,this.context=n,this.refs=i,this.updater=s||o,this.state=null;var a=this.getInitialState?this.getInitialState():null;r("object"===typeof a&&!Array.isArray(a),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=a};for(var n in t.prototype=new _,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(p.bind(null,t)),p(t,v),p(t,e),p(t,b),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),r(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[n]||(t.prototype[n]=null);return t}}},653:function(e,t,o){var n=o(1),i=o(425),r=o(4),s=o(654),a=o(426),l=i({propTypes:{position:r.string.isRequired,notifications:r.array.isRequired,getStyles:r.object},_style:{},componentWillMount:function(){this._style=this.props.getStyles.container(this.props.position),!this.props.getStyles.overrideWidth||this.props.position!==a.positions.tc&&this.props.position!==a.positions.bc||(this._style.marginLeft=-this.props.getStyles.overrideWidth/2)},render:function(){var e,t=this;return[a.positions.bl,a.positions.br,a.positions.bc].indexOf(this.props.position)>-1&&this.props.notifications.reverse(),e=this.props.notifications.map(function(e){return n.createElement(s,{ref:"notification-"+e.uid,key:e.uid,notification:e,getStyles:t.props.getStyles,onRemove:t.props.onRemove,noAnimation:t.props.noAnimation,allowHTML:t.props.allowHTML,children:t.props.children})}),n.createElement("div",{className:"notifications-"+this.props.position,style:this._style},e)}});e.exports=l},654:function(e,t,o){var n=o(1),i=o(425),r=o(4),s=o(38),a=o(426),l=o(655),u=o(25),c=function(){var e,t=document.createElement("fakeelement"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};
2return Object.keys(o).forEach(function(n){void 0!==t.style[n]&&(e=o[n])}),e},f=i({propTypes:{notification:r.object,getStyles:r.object,onRemove:r.func,allowHTML:r.bool,noAnimation:r.bool,children:r.oneOfType([r.string,r.element])},getDefaultProps:function(){return{noAnimation:!1,onRemove:function(){},allowHTML:!1}},getInitialState:function(){return{visible:void 0,removed:!1}},componentWillMount:function(){var e=this.props.getStyles,t=this.props.notification.level,o=this.props.notification.dismissible;this._noAnimation=this.props.noAnimation,this._styles={notification:e.byElement("notification")(t),title:e.byElement("title")(t),dismiss:e.byElement("dismiss")(t),messageWrapper:e.byElement("messageWrapper")(t),actionWrapper:e.byElement("actionWrapper")(t),action:e.byElement("action")(t)},o&&"none"!==o&&"button"!==o||(this._styles.notification.cursor="default")},_styles:{},_notificationTimer:null,_height:0,_noAnimation:null,_isMounted:!1,_removeCount:0,_getCssPropertyByPosition:function(){var e={};switch(this.props.notification.position){case a.positions.tl:case a.positions.bl:e={property:"left",value:-200};break;case a.positions.tr:case a.positions.br:e={property:"right",value:-200};break;case a.positions.tc:e={property:"top",value:-100};break;case a.positions.bc:e={property:"bottom",value:-100}}return e},_defaultAction:function(e){var t=this.props.notification;e.preventDefault(),this._hideNotification(),"function"===typeof t.action.callback&&t.action.callback()},_hideNotification:function(){this._notificationTimer&&this._notificationTimer.clear(),this._isMounted&&this.setState({visible:!1,removed:!0}),this._noAnimation&&this._removeNotification()},_removeNotification:function(){this.props.onRemove(this.props.notification.uid)},_dismiss:function(){this.props.notification.dismissible&&this._hideNotification()},_showNotification:function(){var e=this;setTimeout(function(){e._isMounted&&e.setState({visible:!0})},50)},_onTransitionEnd:function(){this._removeCount>0||this.state.removed&&(this._removeCount+=1,this._removeNotification())},componentDidMount:function(){var e=this,t=c(),o=this.props.notification,n=s.findDOMNode(this);this._height=n.offsetHeight,this._isMounted=!0,this._noAnimation||(t?n.addEventListener(t,this._onTransitionEnd):this._noAnimation=!0),o.autoDismiss&&(this._notificationTimer=new l.Timer(function(){e._hideNotification()},1e3*o.autoDismiss)),this._showNotification()},_handleMouseEnter:function(){this.props.notification.autoDismiss&&this._notificationTimer.pause()},_handleMouseLeave:function(){this.props.notification.autoDismiss&&this._notificationTimer.resume()},_handleNotificationClick:function(){var e=this.props.notification.dismissible;"both"!==e&&"click"!==e&&!0!==e||this._dismiss()},componentWillUnmount:function(){var e=s.findDOMNode(this),t=c();e.removeEventListener(t,this._onTransitionEnd),this._isMounted=!1},_allowHTML:function(e){return{__html:e}},render:function(){var e=this.props.notification,t="notification notification-"+e.level,o=u({},this._styles.notification),i=this._getCssPropertyByPosition(),r=null,s=null,a=null,l=null;return this.state.visible?t+=" notification-visible":!1===this.state.visible&&(t+=" notification-hidden"),"none"===e.dismissible&&(t+=" notification-not-dismissible"),this.props.getStyles.overrideStyle&&(this.state.visible||this.state.removed||(o[i.property]=i.value),this.state.visible&&!this.state.removed&&(o.height=this._height,o[i.property]=0),this.state.removed&&(o.overlay="hidden",o.height=0,o.marginTop=0,o.paddingTop=0,o.paddingBottom=0),o.opacity=this.state.visible?this._styles.notification.isVisible.opacity:this._styles.notification.isHidden.opacity),e.title&&(a=n.createElement("h4",{className:"notification-title",style:this._styles.title},e.title)),e.message&&(l=this.props.allowHTML?n.createElement("div",{className:"notification-message",style:this._styles.messageWrapper,dangerouslySetInnerHTML:this._allowHTML(e.message)}):n.createElement("div",{className:"notification-message",style:this._styles.messageWrapper},e.message)),"both"!==e.dismissible&&"button"!==e.dismissible&&!0!==e.dismissible||(r=n.createElement("span",{className:"notification-dismiss",onClick:this._dismiss,style:this._styles.dismiss},"\xd7")),e.action&&(s=n.createElement("div",{className:"notification-action-wrapper",style:this._styles.actionWrapper},n.createElement("button",{className:"notification-action-button",onClick:this._defaultAction,style:this._styles.action},e.action.label))),e.children&&(s=e.children),n.createElement("div",{className:t,onClick:this._handleNotificationClick,onMouseEnter:this._handleMouseEnter,onMouseLeave:this._handleMouseLeave,style:o},a,l,r,s)}});e.exports=f},655:function(e,t){var o={Timer:function(e,t){var o,n,i=t;this.pause=function(){clearTimeout(o),i-=new Date-n},this.resume=function(){n=new Date,clearTimeout(o),o=setTimeout(e,i
2)},this.clear=function(){clearTimeout(o)},this.resume()}};e.exports=o},656:function(e,t){var o={rgb:"94, 164, 0",hex:"#5ea400"},n={rgb:"236, 61, 61",hex:"#ec3d3d"},i={rgb:"235, 173, 23",hex:"#ebad1a"},r={rgb:"54, 156, 199",hex:"#369cc7"},s="0.9",a={Wrapper:{},Containers:{DefaultStyle:{fontFamily:"inherit",position:"fixed",width:320,padding:"0 10px 10px 10px",zIndex:9998,WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",height:"auto"},tl:{top:"0px",bottom:"auto",left:"0px",right:"auto"},tr:{top:"0px",bottom:"auto",left:"auto",right:"0px"},tc:{top:"0px",bottom:"auto",margin:"0 auto",left:"50%",marginLeft:-160},bl:{top:"auto",bottom:"0px",left:"0px",right:"auto"},br:{top:"auto",bottom:"0px",left:"auto",right:"0px"},bc:{top:"auto",bottom:"0px",margin:"0 auto",left:"50%",marginLeft:-160}},NotificationItem:{DefaultStyle:{position:"relative",width:"100%",cursor:"pointer",borderRadius:"2px",fontSize:"13px",margin:"10px 0 0",padding:"10px",display:"block",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",opacity:0,transition:"0.3s ease-in-out",WebkitTransform:"translate3d(0, 0, 0)",transform:"translate3d(0, 0, 0)",willChange:"transform, opacity",isHidden:{opacity:0},isVisible:{opacity:1}},success:{borderTop:"2px solid "+o.hex,backgroundColor:"#f0f5ea",color:"#4b583a",WebkitBoxShadow:"0 0 1px rgba("+o.rgb+","+s+")",MozBoxShadow:"0 0 1px rgba("+o.rgb+","+s+")",boxShadow:"0 0 1px rgba("+o.rgb+","+s+")"},error:{borderTop:"2px solid "+n.hex,backgroundColor:"#f4e9e9",color:"#412f2f",WebkitBoxShadow:"0 0 1px rgba("+n.rgb+","+s+")",MozBoxShadow:"0 0 1px rgba("+n.rgb+","+s+")",boxShadow:"0 0 1px rgba("+n.rgb+","+s+")"},warning:{borderTop:"2px solid "+i.hex,backgroundColor:"#f9f6f0",color:"#5a5343",WebkitBoxShadow:"0 0 1px rgba("+i.rgb+","+s+")",MozBoxShadow:"0 0 1px rgba("+i.rgb+","+s+")",boxShadow:"0 0 1px rgba("+i.rgb+","+s+")"},info:{borderTop:"2px solid "+r.hex,backgroundColor:"#e8f0f4",color:"#41555d",WebkitBoxShadow:"0 0 1px rgba("+r.rgb+","+s+")",MozBoxShadow:"0 0 1px rgba("+r.rgb+","+s+")",boxShadow:"0 0 1px rgba("+r.rgb+","+s+")"}},Title:{DefaultStyle:{fontSize:"14px",margin:"0 0 5px 0",padding:0,fontWeight:"bold"},success:{color:o.hex},error:{color:n.hex},warning:{color:i.hex},info:{color:r.hex}},MessageWrapper:{DefaultStyle:{margin:0,padding:0}},Dismiss:{DefaultStyle:{cursor:"pointer",fontFamily:"Arial",fontSize:"17px",position:"absolute",top:"4px",right:"5px",lineHeight:"15px",backgroundColor:"#dededf",color:"#ffffff",borderRadius:"50%",width:"14px",height:"14px",fontWeight:"bold",textAlign:"center"},success:{color:"#f0f5ea",backgroundColor:"#b0ca92"},error:{color:"#f4e9e9",backgroundColor:"#e4bebe"},warning:{color:"#f9f6f0",backgroundColor:"#e1cfac"},info:{color:"#e8f0f4",backgroundColor:"#a4becb"}},Action:{DefaultStyle:{background:"#ffffff",borderRadius:"2px",padding:"6px 20px",fontWeight:"bold",margin:"10px 0 0 0",border:0},success:{backgroundColor:o.hex,color:"#ffffff"},error:{backgroundColor:n.hex,color:"#ffffff"},warning:{backgroundColor:i.hex,color:"#ffffff"},info:{backgroundColor:r.hex,color:"#ffffff"}},ActionWrapper:{DefaultStyle:{margin:0,padding:0}}};e.exports=a},657:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),r=o(1),s=h(r),a=h(o(38)),l=h(o(4)),u=h(o(658)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}(o(598)),f=o(427),p=h(f),d=o(234);function h(e){return e&&e.__esModule?e:{default:e}}function m(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 y=t.portalClassName="ReactModalPortal",v=t.bodyOpenClassName="ReactModal__Body--open",b=f.canUseDOM&&void 0!==a.default.createPortal,g=function(e){return document.createElement(e)},_=function(){return b?a.default.createPortal:a.default.unstable_renderSubtreeIntoContainer};function E(e){return e()}var w=function(e){function t(){var e,o,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,l=Array(r),c=0;c<r;c++)l[c]=arguments[c];return o=i=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),i.removePortal=function(){!b&&a.default.unmountComponentAtNode(i.node);var e=E(i.props.parentSelector);e&&e.contains(i.node)?e.removeChild(i.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.')},i.portalRef=function(e){i.portal=e},i.renderPortal=function(e){var o=_()(i,s.default.createElement(u.default,n({defaultStyles:t.defaultStyles},e)),i.node);i.portalRef(o)},m(i,o)}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)}
vendor: 15,240 bytes, lines 2-3
2(t,e),i(t,[{key:"componentDidMount",value:function(){f.canUseDOM&&(b||(this.node=g("div")),this.node.className=this.props.portalClassName,E(this.props.parentSelector).appendChild(this.node),!b&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:E(e.parentSelector),nextParent:E(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,o){if(f.canUseDOM){var n=this.props,i=n.isOpen,r=n.portalClassName;e.portalClassName!==r&&(this.node.className=r);var s=o.prevParent,a=o.nextParent;a!==s&&(s.removeChild(this.node),a.appendChild(this.node)),(e.isOpen||i)&&!b&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(f.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),o=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);o?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,o-t)):this.removePortal()}}},{key:"render",value:function(){return f.canUseDOM&&b?(!this.node&&b&&(this.node=g("div")),_()(s.default.createElement(u.default,n({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){c.setElement(e)}}]),t}(r.Component);w.propTypes={isOpen:l.default.bool.isRequired,style:l.default.shape({content:l.default.object,overlay:l.default.object}),portalClassName:l.default.string,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,className:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),overlayClassName:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),appElement:l.default.oneOfType([l.default.instanceOf(p.default),l.default.instanceOf(f.SafeHTMLCollection),l.default.instanceOf(f.SafeNodeList),l.default.arrayOf(l.default.instanceOf(p.default))]),onAfterOpen:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,ariaHideApp:l.default.bool,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,parentSelector:l.default.func,aria:l.default.object,data:l.default.object,role:l.default.string,contentLabel:l.default.string,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func},w.defaultProps={isOpen:!1,portalClassName:y,bodyOpenClassName:v,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 s.default.createElement("div",e,t)},contentElement:function(e,t){return s.default.createElement("div",e,t)}},w.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)(w),t.default=w},658:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i="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},r=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),s=o(1),a=y(o(4)),l=m(o(659)),u=y(o(660)),c=m(o(598)),f=m(o(661)),p=o(427),d=y(p),h=y(o(599));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}function y(e){return e&&e.__esModule?e:{default:e}}o(662);var v={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},b=0,g=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 o=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 o.setOverlayRef=function(e){o.overlay=e,o.props.overlayRef&&o.props.overlayRef(e)},o.setContentRef=function(e){o.content=e,o.props.contentRef&&o.props.contentRef(e)},o.afterClose=function(){var e=o.props,t=e.appElement,n=e.ariaHideApp,i=e.htmlOpenClassName,r=e.bodyOpenClassName,s=e.parentSelector,a=s&&s().ownerDocument||document;r&&f.remove(a.body,r),i&&f.remove(a.getElementsByTagName("html")[0],i),n&&b>0&&0===(b-=1)&&c.show(t),o.props.shouldFocusAfterRender&&(o.props.shouldReturnFocusAfterClose?(l.returnFocus(o.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),o.props.onAfterClose&&o.props.onAfterClose(),h.default.deregister(o)},o.open=function(){o.beforeOpen(),o.state.afterOpen&&o.state.beforeClose?(clearTimeout(o.closeTimer),o.setState({beforeClose:!1})):(o.props.shouldFocusAfterRender&&(l.setupScopedFocus(o.node),l.markForFocusLater()),o.setState({isOpen:!0},function(){o.openAnimationFrame=requestAnimationFrame(function(){o.setState({afterOpen:!0}),o.props.isOpen&&o.props.onAfterOpen&&o.props.onAfterOpen({overlayEl:o.overlay,contentEl:o.content})})}))},o.close=function(){o.props.closeTimeoutMS>0?o.closeWithTimeout():o.closeWithoutTimeout()},o.focusContent=function(){return o.content&&!o.contentHasFocus()&&o.content.focus({preventScroll:!0})},o.closeWithTimeout=function(){var e=Date.now()+o.props.closeTimeoutMS;o.setState({beforeClose:!0,closesAt:e},function(){o.closeTimer=setTimeout(o.closeWithoutTimeout,o.state.closesAt-Date.now())})},o.closeWithoutTimeout=function(){o.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},o.afterClose)},o.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,u.default)(o.content,e),o.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),o.requestClose(e))},o.handleOverlayOnClick=function(e){null===o.shouldClose&&(o.shouldClose=!0),o.shouldClose&&o.props.shouldCloseOnOverlayClick&&(o.ownerHandlesClose()?o.requestClose(e):o.focusContent()),o.shouldClose=null},o.handleContentOnMouseUp=function(){o.shouldClose=!1},o.handleOverlayOnMouseDown=function(e){o.props.shouldCloseOnOverlayClick||e.target!=o.overlay||e.preventDefault()},o.handleContentOnClick=function(){o.shouldClose=!1},o.handleContentOnMouseDown=function(){o.shouldClose=!1},o.requestClose=function(e){return o.ownerHandlesClose()&&o.props.onRequestClose(e)},o.ownerHandlesClose=function(){return o.props.onRequestClose},o.shouldBeClosed=function(){return!o.state.isOpen&&!o.state.beforeClose},o.contentHasFocus=function(){return document.activeElement===o.content||o.content.contains(document.activeElement)},o.buildClassName=function(e,t){var n="object"===("undefined"===typeof t?"undefined":i(t))?t:{base:v[e],afterOpen:v[e]+"--after-open",beforeClose:v[e]+"--before-close"},r=n.base;return o.state.afterOpen&&(r=r+" "+n.afterOpen),o.state.beforeClose&&(r=r+" "+n.beforeClose),"string"===typeof t&&t?r+" "+t:r},o.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(o,n){return o[e+"-"+n]=t[n],o},{})},o.state={afterOpen:!1,beforeClose:!1},o.shouldClose=null,o.moveFromContentToOverlay=null,o}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),r(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){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,o=e.ariaHideApp,n=e.htmlOpenClassName,i=e.bodyOpenClassName,r=e.parentSelector,s=r&&r().ownerDocument||document;i&&f.add(s.body,i),n&&f.add(s.getElementsByTagName("html")[0],n),o&&(b+=1,c.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.className,i=e.overlayClassName,r=e.defaultStyles,s=e.children,a=o?{}:r.content,l=i?{}:r.overlay;if(this.shouldBeClosed())return null;var u={ref:this.setOverlayRef,className:this.buildClassName("overlay",i),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=n({id:t,ref:this.setContentRef,style:n({},a,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}),f=this.props.contentElement(c,s);return this.props.overlayElement(u,f)}}]),t}(s.Component);g.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},g.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(d.default),a.default.instanceOf(p.SafeHTMLCollection),a.default.instanceOf(p.SafeNodeList),a.default.arrayOf(a.default.instanceOf(d.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},t.default=g,e.exports=t.default},659:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){s=[]},t.log=function(){0},t.handleBlur=u,t.handleFocus=c,t.markForFocusLater=function(){s.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==s.length&&(t=s.pop()).focus({preventScroll:e}))}catch(o){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){s.length>0&&s.pop()},t.setupScopedFocus=function(e){a=e,window.addEventListener?(window.addEventListener("blur",u,!1),document.addEventListener("focus",c,!0)):(window.attachEvent("onBlur",u),document.attachEvent("onFocus",c))},t.teardownScopedFocus=function(){a=null,window.addEventListener?(window.removeEventListener("blur",u),document.removeEventListener("focus",c)):(window.detachEvent("onBlur",u),document.detachEvent("onFocus",c))};var n,i=o(597),r=(n=i)&&n.__esModule?n:{default:n};var s=[],a=null,l=!1;function u(){l=!0}function c(){if(l){if(l=!1,!a)return;setTimeout(function(){a.contains(document.activeElement)||((0,r.default)(a)[0]||a).focus()},0)}}},660:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var o=(0,r.default)(e);if(!o.length)return void t.preventDefault();var n=void 0,i=t.shiftKey,a=o[0],l=o[o.length-1],u=s();if(e===u){if(!i)return;n=l}l!==u||i||(n=a);a===u&&i&&(n=l);if(n)return t.preventDefault(),void n.focus();var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==c||"Chrome"==c[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var f=o.indexOf(u);f>-1&&(f+=i?-1:1);if("undefined"===typeof(n=o[f]))return t.preventDefault(),void(n=i?l:a).focus();t.preventDefault(),n.focus()};var n,i=o(597),r=(n=i)&&n.__esModule?n:{default:n};function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?s(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},661:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)r(e,n[t]);var o=document.body;for(var s in i)r(o,i[s]);n={},i={}},t.log=function(){0};var n={},i={};function r(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,r="html"==e.nodeName.toLowerCase()?n:i,void t.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(r,e),o.add(e)});var o,r},t.remove=function(e,t){return o=e.classList,r="html"==e.nodeName.toLowerCase()?n:i,void t.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(r,e),0===r[e]&&o.remove(e)});var o,r}},662:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[s,a],t=0;t<e.length;t++){var o=e[t];o&&(o.parentNode&&o.parentNode.removeChild(o))}s=a=null,l=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(l.length);for(var e=[s,a],t=0;t<e.length;t++){var o=e[t]||{};console.log(o.nodeName,o.className,o.id)}console.log("edn bodyTrap ----------")};var n,i=o(599),r=(n=i)&&n.__esModule?n:{default:n};var s=void 0,a=void 0,l=[];function u(){0!==l.length&&l[l.length-1].focusContent()}r.default.subscribe(function(e,t){s||a||((s=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),s.style.position="absolute",s.style.opacity="0",s.setAttribute("tabindex","0"),s.addEventListener("focus",u),(a=s.cloneNode()).addEventListener("focus",u)),(l=t).length>0?(document.body.firstChild!==s&&document.body.insertBefore(s,document.body.firstChild),document.body.lastChild!==a&&document.body.appendChild(a)):(s.parentElement&&s.parentElement.removeChild(s),a.parentElement&&a.parentElement.removeChild(a))})}}]);
3//# sourceMappingURL=2.46b5b386.chunk.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.