PageSourceSearch

https://td32.ru/_next/static/chunks/6ea216a74c3f94e9e94d32ee33ad9bd4f790c108.9ec890c42387083f9ade.js

js td32.ru collected 2026-10-01 14:11:14 UTC 25,583 bytes, 1 lines download raw bytes

1(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[12],{"6zra":function(t,e,n){"use strict";var o=n("wx14"),i=n("MX0m"),r=n.n(i),a=n("q1tI"),c=n.n(a),s=n("TSYQ"),u=n.n(s),l=c.a.createElement,f=function(t){var e=t.width,n=void 0===e?24:e,i=t.height,r=void 0===i?24:i;return l("svg",Object(o.a)({width:n,height:r},{viewBox:"0 0 24 24"}),l("path",{fill:"currentColor",d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}))},p=c.a.createElement,d=function(t){var e=t.width,n=void 0===e?24:e,i=t.height,r=void 0===i?24:i;return p("svg",Object(o.a)({width:n,height:r},{viewBox:"0 0 24 24"}),p("path",{fill:"currentColor",d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}))},h=c.a.createElement;e.a=function(t){var e=t.input,n=t.meta,i=t.name,s=t.placeHolder,l=t.size,p=t.htmlId,m=void 0===p?void 0:p,y=t.disabled,v=t.maxLength,b=Object(a.useState)(e.type),g=b[0],w=b[1],x=Object(a.useRef)();return h(c.a.Fragment,null,h("div",{className:"jsx-3002342449 box"},h("input",Object(o.a)({placeholder:s,maxLength:v,disabled:y,name:i,id:m,ref:x},e,{type:g,className:"jsx-3002342449 "+(e&&null!=e.className&&e.className||u()({err:n&&n.error&&n.touched},{short:l&&"short"===l},{long:l&&"long"===l})||"")})),"password"===e.type&&h("button",{onClick:function(){return w((function(t){return"text"===t?"password":"text"}))},className:"jsx-3002342449 hidden"},h("password"===g?f:d,null))),h("div",{className:"jsx-3002342449"},n.touched&&(n.error||n.submitError)&&h("span",{className:"jsx-3002342449 error"},n.error?n.error:n.submitError)),h(r.a,{id:"3002342449"},["input.jsx-3002342449{font-family:Montserrat;font-style:normal;font-weight:normal;font-size:14px;line-height:17px;color:#121212;font-weight:normal;font-size:14px;padding:9px 0px 8px 15px;border:1px solid #dcdcdc;border-radius:5px;outline-offset:-2px;width:100%;box-sizing:border-box;}","input.jsx-3002342449:focus{outline:none;box-shadow:0px 0px 0px 1px #707070;}","input.jsx-3002342449::-webkit-input-placeholder{color:#525252;}","input.jsx-3002342449::-moz-placeholder{color:#525252;}","input.jsx-3002342449:-ms-input-placeholder{color:#525252;}","input.jsx-3002342449::placeholder{color:#525252;}",".box.jsx-3002342449{display:block;position:relative;}",".hidden.jsx-3002342449{background-color:transparent;position:absolute;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#878787;border:none;right:0;top:0;bottom:0;}",".short.jsx-3002342449{width:260px;}",".long.jsx-3002342449{width:405px;}",".err.jsx-3002342449{border:2px solid #f31919;}",".error.jsx-3002342449{padding:0;font-size:12px;color:#f31919;}","@media only screen and (max-width:520px){.short.jsx-3002342449{width:100%;}}"]))}},G0Bz:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return f}));var o=n("o0o1"),i=n.n(o),r=n("HaE+"),a=n("q1tI"),c=n.n(a),s=c.a.createElement,u=Object(a.createContext)(),l=function(t){var e=t.reCaptchaKeyV3,n=t.reCaptchaKey,o=t.children,l=Object(a.useRef)(),f=Object(a.useRef)(),p=Object(a.useCallback)((function(t){return f.current(t)}),[f]);Object(a.useEffect)((function(){var t=document.getElementsByTagName("head")[0],o=document.createElement("script");return o.async=!0,o.defer=!0,o.src="https://www.google.com/recaptcha/api.js?render=".concat(e),t.appendChild(o),o.onload=function(){return window.grecaptcha.ready((function(){return window.grecaptcha.render(l.current,{sitekey:n,size:"invisible",callback:p})}))},function(){o.remove()}}),[n,e,p,l]);var d=Object(a.useCallback)((function(){return new Promise((function(t,e){var n=setTimeout(Object(r.a)(i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,window.grecaptcha.reset();
1case 2:e(new Error("timeout"));case 3:case"end":return t.stop()}}),t)}))),6e4);return f.current=function(){var e=Object(r.a)(i.a.mark((function e(o){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return clearTimeout(n),e.next=3,window.grecaptcha.reset();case 3:t(o);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),window.grecaptcha.execute()}))}),[f]),h=Object(a.useCallback)((function(){return window.grecaptcha.execute(e)}),[e]);return s(c.a.Fragment,null,s("div",{ref:l}),s(u.Provider,{value:{executeRecaptcha:d,executeRecaptchaV3:h}},o))},f=function(){var t=Object(a.useContext)(u);return{executeRecaptcha:t.executeRecaptcha,executeRecaptchaV3:t.executeRecaptchaV3}}},GlpG:function(t,e,n){"use strict";t.exports=n("f3bW")},Iawr:function(t,e,n){"use strict";var o=n("GlpG");e.a=function(t){var e=t.title,n=t.message,i=t.type;if("string"===typeof n){var r=n.replace(/(<([^>]+)>)/gi,"");return o.store.addNotification({title:e,message:r,type:i,insert:"top",container:"top-right",animationIn:["animate__animated","animate__fadeIn"],animationOut:["animate__animated","animate__fadeOut"],dismiss:{duration:5e3,onScreen:!0}})}}},f3bW:function(t,e,n){t.exports=function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=5)}([function(t,e){t.exports=n("q1tI")},function(t,e,n){t.exports=n(2)()},function(t,e,n){"use strict";var o=n(3);function i(){}function r(){}r.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,r,a){if(a!==o){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:r,resetWarningCache:i}
1;return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){},function(t,e,n){"use strict";n.r(e),n.d(e,"store",(function(){return j}));var o="notification-item",i="bottom-left",r="bottom-right",a="bottom-center",c="top-left",s="top-right",u="top-center",l="center",f="success",p="danger",d="info",h="default",m="warning",y="timeout",v=function(t){return null==t};function b(t){return t===i||t===r||t===a}function g(t){return t===c||t===s||t===u}function w(t){var e=t.type,n=t.content,i=t.userDefinedTypes,r=[o];if(n)return r;if(v(i))return function(t){switch(t){case h:return[o,"notification-default"];case f:return[o,"notification-success"];case p:return[o,"notification-danger"];case m:return[o,"notification-warning"];case d:return[o,"notification-info"];default:return[o]}}(e);var a=i.find((function(t){return t.name===e}));return r.concat(a.htmlClasses)}function x(t,e){var n=t.duration,o=t.timingFunction,i=t.delay;return"".concat(n,"ms ").concat(e," ").concat(o," ").concat(i,"ms")}function E(t,e){var n=e.duration,o=e.timingFunction,i=e.delay,r=t||{};return v(r.duration)&&(r.duration=n),v(r.timingFunction)&&(r.timingFunction=o),v(r.delay)&&(r.delay=i),r}var S=n(0),O=n.n(S),j=new function(){var t=this;return this.types=null,this.counter=0,this.add=function(){},this.addNotification=function(e){var n=t.types;return t.counter+=1,t.add(function(t,e){var n=t,o=n.id,i=n.type,r=n.insert,a=n.content,c=n.container,s=n.animationIn,u=n.animationOut,l=n.slidingEnter,y=n.slidingExit,b=n.touchRevert,g=n.touchSlidingExit,w=n.dismiss,x=n.width,S=n.onRemoval;n.id=o||j.counter,n.type=a?null:i.toLowerCase(),e&&!a&&(n.userDefinedTypes=function(t,e){var n=t.content,o=t.type;if(!n&&o!==f&&o!==p&&o!==d&&o!==h&&o!==m&&e)return e}(n,e)),v(x)||(n.width=x),n.container=c.toLowerCase(),n.insert=(r||"top").toLowerCase(),n.dismiss=function(t){var e=t,n={duration:0,click:!0,touch:!0,onScreen:!1,waitForAnimation:!1,showIcon:!1};return e?(Object.keys(n).forEach((function(t){v(e[t])&&(e[t]=n[t])})),e):n}(w),n.animationIn=s||[],n.animationOut=u||[],n.onRemoval=S||function(){};var O=function(t,e,n){return{duration:t,timingFunction:e,delay:n}};n.slidingEnter=E(l,O(600,"linear",0)),n.slidingExit=E(y,O(600,"linear",0)),n.touchRevert=E(b,O(600,"linear",0));var k=g||{},N=k.swipe,R=k.fade;return n.touchSlidingExit=k,n.touchSlidingExit.swipe=E(N||{},O(600,"linear",0)),n.touchSlidingExit.fade=E(R||{},O(300,"linear",0)),n}(e,n))},this.removeNotification=function(){},this.register=function(e){var n=e.addNotification,o=e.removeNotification,i=e.types;t.add=n,t.removeNotification=o,t.types=i},this},k=n(1),N=n.n(k),R=function(t,e){var n,o,i=e;this.pause=function(){clearTimeout(n),i-=Date.now()-o},this.resume=function(){o=Date.now(),clearTimeout(n),n=setTimeout(t,i)},this.clear=function(){clearTimeout(n)},this.resume()};function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function C(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],o=!0,i=!1,r=void 0;try{for(var a,c=t[Symbol.iterator]();!(o=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);o=!0);}catch(t){i=!0,r=t}finally{try{o||null==c.return||c.return()}finally{if(i)throw r}}return n}}(t,e)||I(t,e)||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 M(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?M(Object(n),!0).forEach((function(e){P(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEac
1h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||I(t)||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.")}()}function I(t,e){if(t){if("string"==typeof t)return A(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?A(t,e):void 0}}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function z(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function D(t,e){return(D=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function F(t,e){return!e||"object"!==T(e)&&"function"!=typeof e?W(t):e}function W(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q(t){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var U=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e)}(i,t);var e,n,o=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=q(t);if(e){var i=q(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return F(this,n)}}(i);function i(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(e=o.call(this,t)).rootElementRef=O.a.createRef(),e.onClick=e.onClick.bind(W(e)),e.onTouchStart=e.onTouchStart.bind(W(e)),e.onTouchMove=e.onTouchMove.bind(W(e)),e.onTouchEnd=e.onTouchEnd.bind(W(e)),e.onMouseEnter=e.onMouseEnter.bind(W(e)),e.onMouseLeave=e.onMouseLeave.bind(W(e));var n=t.notification.width;return e.state={parentStyle:{height:0,overflow:"hidden",width:n?"".concat(n,"px"):"100%"},htmlClassList:w(t.notification),animationPlayState:"running",touchEnabled:!0},e}return e=i,(n=[{key:"componentWillUnmount",value:function(){this.timer&&this.timer.clear()}},{key:"componentDidMount",value:function(){var t=this,e=this.props,n=e.notification,o=e.count,i=n.dismiss,r=i.duration,a=i.onScreen,c=this.rootElementRef.current.scrollHeight,s=function(t,e){return!(e<=1)&&e>1&&("top"===t.insert&&g(t.container)||"bottom"===t.insert&&b(t.container)||t.container===l)}(n,o),u=function(){r&&!a&&(t.timer=new R((function(){return t.removeNotification(y)}),r))};this.setState((function(t){return{parentStyle:{width:t.parentStyle.width,height:"".concat(c,"px"),transition:s?x(n.slidingEnter,"height"):"10ms height"},onTransitionEnd:u}}),(function(){requestAnimationFrame((function(){t.setState((function(t){return{htmlClassList:[].concat(L(n.animationIn),L(t.htmlClassList))}}))}))}))}},{key:"componentDidUpdate",value:function(t){var e=t.removed;this.props.removed&&!e&&this.removeNotification("manual")}},{key:"removeNotification",value:function(t){var e=this,n=this.props,o=n.notification,i=n.toggleRemoval,r=o.id,a=o.onRemoval,c=o.dismiss.waitForAnimation,s=[].concat(L(o.animationOut),L(w(o))),u=function(){return i(r,(function(){return a(r,t)}))},l={height:0,transition:x(o.slidingExit,"height")};return c?this.setState((function(t){var n=t.parentStyle.width;return{htmlClassList:s,onAnimationEnd:function(){e.setState({parentStyle:_({width:n},l),onTransitionEnd:u})}}})):this.setState((function(t){return{parentStyle:_({width:t.parentStyle.width},l),onTransitionEnd:u,htmlClassList:s}}))}},{key:"onClick",value:function(){var t=this.props.notification.dismiss;(t.click||t.showIcon)&&this.removeNotification("click")}},{key:"onTouchStart",value:function(t){var e=C(t.touches,1)[0].pageX;this.setState((function(t){var n=t.parentStyle;return{startX:e,currentX:e,parentStyle:_(_({},n),{},{position:"relative"})}}))}},{key:"onTouchMove",value:function(t){var e=this,n=t.touches,o=this.state.startX,i=this.props,r=i.toggleRemoval,a=i.notification,c=a.id,s=a.onRemoval,u=a.slidingExit,l=a.touchSlidingExit,f=l.swipe,p=l.fade,d=C(n,1)[0].pageX,h=d-o,m=this.rootElementRef.current.offsetWidth,y=window.innerWidth+m,v="".concat(d-o>=0?y:-y,"px");if(function(t,e){return Math.abs(t)>=.4*e}(h,m)){var b=x(f,"left"),g=x(p,"opacity"),w=function(){r(c,(function(){return s(c,"touch")}))};return this.setState((function(t){return{touchEnabled:!1,parentStyle:_(_({},t.parentStyle),{},{left:v,opacity:0,transition:"".concat(b,", ").concat(g)}),onTransitionEnd:function(){e.setState((function(t){return{parentStyle:_(_({},t.parentStyle),{},{height:0,transition:x(u,"height")}),onTransitionEnd:w}}))}}}))}return this.setState((function(t){var e=t.parentStyle;return{currentX:d,parentStyle:_(_({},e),{},{left:"".concat(0+h,"px")})}}))}},{key:"onTouchEnd",value:function(){var t=this.props.notification.touchRevert;this.setState((function(e){return{parentStyle:_(_({},e.parentStyle),{},{left:0,transition:x(t,"left")})}}))}},{key:"onMouseEnter",value:function(){this.timer?this.timer.pause():this.setState({animationPlayState:"paused"})}},{key:"onMouseLeave",value:function(){this.timer?this.timer.resume():this.setState({animationPlayState:"running"})}},{key:"renderTimer",value:function(){var t=this,e=this.props.notification.dismiss,n=e.duration,o=e.onScreen,i=this.state.animationPlayState;if(n&&o){var r={animationName:"timer",animationDuration:"".concat(n,"ms"),animationTimingFunction:"linear",animationFillMode:"forwards",animationDelay:0,animationPlayState:i};return O.a.createElement("div",{className:"timer"},O.a.createElement("div",{className:"timer-filler",onAnimationEnd:function(){return t.removeNotification(y)},style:r}))}}},{key:"renderCustomContent",value:function(){var t=this.state.htmlClassList,e=this.props.notification,n=e.id,o=e.content,i=e.dismiss,r=i.duration,a=i.pauseOnHover,c=r>0&&a;return O.a.createElement("div",{className:"".concat([].concat(L(t),["n-child"]).join(" ")),onMouseEnter:c?this.onMouseEnter:null,onMouseLeave:c?this.onMouseLeave:null},O.a.isValidElement(o)?o:O.a.createElement(o,{id:n}))}},{key:"renderNotification",value:function(){var t=this.props.notification,e=t.title,n=t.message,o=t.dismiss,i=o.showIcon,r=o.duration,a=o.pauseOnHover,c=this.state.htmlClassList,
1s=r>0&&a;return O.a.createElement("div",{className:"".concat([].concat(L(c),["n-child"]).join(" ")),onMouseEnter:s?this.onMouseEnter:null,onMouseLeave:s?this.onMouseLeave:null},O.a.createElement("div",{className:"notification-content"},i&&O.a.createElement("div",{className:"notification-close",onClick:this.onClick}),e&&O.a.createElement("div",{className:"notification-title"},e),O.a.createElement("div",{className:"notification-message"},n),this.renderTimer()))}},{key:"render",value:function(){var t=this.props.notification,e=t.content,n=t.dismiss.click,o=this.state,i=o.parentStyle,r=o.onAnimationEnd,a=o.onTransitionEnd,c=o.touchEnabled;return O.a.createElement("div",{ref:this.rootElementRef,onClick:n?this.onClick:null,className:"notification-parent",style:i,onAnimationEnd:r,onTransitionEnd:a,onTouchStart:c?this.onTouchStart:null,onTouchMove:c?this.onTouchMove:null,onTouchEnd:c?this.onTouchEnd:null},e?this.renderCustomContent():this.renderNotification())}}])&&z(e.prototype,n),i}(O.a.Component);U.propTypes={toggleRemoval:N.a.func.isRequired,count:N.a.number.isRequired,removed:N.a.bool};var X=U;function H(t){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function V(t){return function(t){if(Array.isArray(t))return B(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return B(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(t,e):void 0}}(t)||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.")}()}function B(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function G(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function J(t,e){return(J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function K(t,e){return!e||"object"!==H(e)&&"function"!=typeof e?Y(t):e}function Y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $(t){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n(4);var Q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J(t,e)}(f,t);var e,n,o=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=$(t);if(e){var i=$(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return K(this,n)}}(f);function f(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),(e=o.call(this,t)).state={isMobile:t.isMobile,breakpoint:t.breakpoint,notifications:[]},e.add=e.add.bind(Y(e)),e.remove=e.remove.bind(Y(e)),e.toggleRemoval=e.toggleRemoval.bind(Y(e)),e.handleResize=e.handleResize.bind(Y(e)),e}return e=f,(n=[{key:"componentDidMount",value:function(){var t=this.props.types;j.register({addNotification:this.add,removeNotification:this.remove,types:t}),this.setState({width:window.innerWidth}),window.addEventListener("resize",this.handleResize)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize)}},{key:"handleResize",value:function(){this.setState({width:window.innerWidth})}},{key:"add",value:function(t){return this.setState((function(e){var n=e.notifications;return{notifications:"top"===t.insert?[t].concat(V(n)):[].concat(V(n),[t])}})),t.id}},{key:"remove",value:function(t){this.setState((function(e){return{notifications:e.notifications.map((function(e){return e.id===t&&(e.removed=!0),e}))}}))}},{key:"toggleRemoval",value:function(t,e){this.setState((function(e){return{notifications:e.notifications.filter((function(e){return e.id!==t}))}}),e)}},{key:"renderNotifications",value:function(t){var e=this;return t.map((function(n){return O.a.createElement(X,{id:n.id,key:n.id,notification:n,toggleRemoval:e.toggleRemoval,count:t.length,removed:n.removed})}))}},{key:"renderMobileNotifications",value:function(t){var e=t.className,n=t.id,o=function(t){var e=[],n=[];return t.forEach((function(t){var o=t.container;g(o)||"center"===o?e.push(t):b(o)&&n.push(t)})),{top:e,bottom:n}}(this.state.notifications),i=this.renderNotifications(o.top),r=this.renderNotifications(o.bottom);return O.a.createElement("div",{id:n,key:"mobile",className:"react-notification-root ".concat(e||"")},O.a.createElement("div",{className:"notification-container-mobile-top"},i),O.a.createElement("div",{className:"notification-container-mobile-bottom"},r))}},{key:"renderScreenNotifications",value:function(t){var e=t.className,n=t.id,o=function(t){var e=[],n=[],o=[],f=[],p=[],d=[],h=[];return t.forEach((function(t){var m=t.container;m===c?e.push(t):m===s?n.push(t):m===u?o.push(t):m===i?f.push(t):m===r?p.push(t):m===a?d.push(t):m===l&&h.push(t)})),{topLeft:e,topRight:n,topCenter:o,bottomLeft:f,bottomRight:p,bottomCenter:d,center:h}}(this.state.notifications),f=this.renderNotifications(o.topLeft),p=this.renderNotifications(o.topRight),d=this.renderNotifications(o.topCenter),h=this.renderNotifications(o.bottomLeft),m=this.renderNotifications(o.bottomRight),y=this.renderNotifications(o.bottomCenter),v=this.renderNotifications(o.center);return O.a.createElement("div",{id:n,key:"screen",className:"react-notification-root ".concat(e||"")},O.a.createElement("div",{className:"notification-container-top-left"}
1,f),O.a.createElement("div",{className:"notification-container-top-right"},p),O.a.createElement("div",{className:"notification-container-bottom-left"},h),O.a.createElement("div",{className:"notification-container-bottom-right"},m),O.a.createElement("div",{className:"notification-container-top-center"},d),O.a.createElement("div",{className:"notification-container-center"},O.a.createElement("div",{className:"center-inner"},v)),O.a.createElement("div",{className:"notification-container-bottom-center"},y))}},{key:"render",value:function(){var t=this.props.isMobile,e=this.state,n=e.width,o=e.breakpoint;return t&&n<=o?this.renderMobileNotifications(this.props):this.renderScreenNotifications(this.props)}}])&&G(e.prototype,n),f}(O.a.Component);Q.propTypes={isMobile:N.a.bool,breakpoint:N.a.number,types:N.a.array},Q.defaultProps={isMobile:!0,breakpoint:768};var Z=Q;e.default=Z}])}}]);

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.