{"version":3,"sources":["../node_modules/reactstrap/es/NavItem.js","../node_modules/reactstrap/es/NavLink.js","../node_modules/reactstrap/es/Badge.js","../node_modules/reactstrap/es/Nav.js","routes.js","_components/ErrorHandler.jsx","_nav.js","_navAdmin.js","_navOrganizer.js","_navCoordinator.js","containers/DefaultLayout/DefaultLayout.js","_components/ButtonRedirect.js","_components/SelectField.js","_components/Timer.js","_components/FieldValidation.js","_components/ImageUploader.js","_components/PdfUploader.js","_components/SearchTableField.js","_components/ToolbarTable.js","_components/DebouncedEditor.js","_components/SelectFieldCreatable.js","_components/Loader.js","_components/ConfirmDialog.js","_components/ModalError.js","_components/DebouncedField.js","_components/bigTable/Header.js","_components/bigTable/Row.js","_components/bigTable/Cell.js","_components/bigTable/TotalCounter.js","_components/bigTable/TableContext.js","_components/bigTable/Table.js","_components/CalmButton.js","_components/InputWithIcon.js","_components/YandexKassa.js","scss/_variables.scss","../node_modules/react-device-detect/main.js","../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../node_modules/react-popper/lib/esm/Manager.js","../node_modules/warning/warning.js","../node_modules/@babel/runtime/helpers/defineProperty.js","../node_modules/reactstrap/es/DropdownContext.js","../node_modules/gud/index.js","../node_modules/@babel/runtime/helpers/inheritsLoose.js","../node_modules/@babel/runtime/helpers/assertThisInitialized.js","../node_modules/webpack/buildin/amd-options.js","../node_modules/ua-parser-js/dist/ua-parser.min.js","../node_modules/@babel/runtime/helpers/setPrototypeOf.js","../node_modules/@hypnosphi/create-react-context/lib/index.js","../node_modules/@hypnosphi/create-react-context/lib/implementation.js","../node_modules/@coreui/react/es/Shared/classes.js","../node_modules/@coreui/react/es/Shared/toggle-classes.js","../node_modules/@coreui/react/es/Aside.js","../node_modules/@coreui/react/es/AsideToggler.js","../node_modules/reactstrap/es/BreadcrumbItem.js","../node_modules/reactstrap/es/Breadcrumb.js","../node_modules/@coreui/react/es/Breadcrumb.js","../node_modules/@coreui/react/es/Breadcrumb2.js","../node_modules/@coreui/react/es/Footer.js","../node_modules/@coreui/react/es/Header.js","../node_modules/@coreui/react/es/HeaderDropdown.js","../node_modules/@coreui/react/es/NavbarBrand.js","../node_modules/@coreui/react/es/Shared/layout/layout.js","../node_modules/@coreui/react/es/Sidebar.js","../node_modules/@coreui/react/es/SidebarFooter.js","../node_modules/@coreui/react/es/SidebarForm.js","../node_modules/@coreui/react/es/SidebarHeader.js","../node_modules/@coreui/react/es/SidebarMinimizer.js","../node_modules/@coreui/react/es/SidebarNav.js","../node_modules/@coreui/react/es/SidebarNav2.js","../node_modules/@coreui/react/es/SidebarToggler.js","../node_modules/@coreui/react/es/Switch.js","../node_modules/reactstrap/es/Dropdown.js","../node_modules/react-perfect-scrollbar/lib/index.js","../node_modules/react-onclickout/index.js","../node_modules/@coreui/react/es/Shared/element-closest.js","../node_modules/react-perfect-scrollbar/lib/scrollbar.js","../../src/lib/css.js","../../src/lib/dom.js","../../src/lib/class-names.js","../../src/lib/event-manager.js","../../src/process-scroll-diff.js","../../src/lib/util.js","../../src/update-geometry.js","../../src/handlers/drag-thumb.js","../../src/index.js","../../src/handlers/click-rail.js","../../src/handlers/keyboard.js","../../src/handlers/mouse-wheel.js","../../src/handlers/touch.js","../node_modules/reactstrap/es/Container.js"],"names":["_excluded","propTypes","tag","tagPropType","active","PropTypes","bool","className","string","cssModule","object","NavItem","props","Tag","attributes","_objectWithoutPropertiesLoose","classes","mapToCssModules","classNames","React","createElement","_extends","defaultProps","innerRef","oneOfType","func","disabled","onClick","href","any","NavLink","_React$Component","_this","call","this","bind","_assertThisInitialized","_inheritsLoose","_proto","prototype","e","preventDefault","render","_this$props","ref","Component","color","pill","children","node","Badge","tabs","pills","vertical","horizontal","justified","fill","navbar","card","Nav","getVerticalClass","Dashboard","lazy","Profile","TinkoffKassa","YandexKassa","PublicVariantPreview","YandexKassaPublic","UserNotifications","SuccessPaymentPublic","CoordinatorCategories","CoordinatorContests","CoordinatorGroupRequestCreate","CoordinatorGroupRequest","CoordinatorResults","CoordinatorSolution","CoordinatorReportCategories","CoordinatorReportCategoryCreate","CoordinatorDashboard","CoordinatorPaymentCreate","PaymentsCatalog","RequestPayments","RequestsCatalog","StatementsCatalog","CoordinatorAddRequestsForm","CoordinatorAddStatementForm","SchoolPayments","PaymentCategories","TeacherCategories","TeacherContests","TeacherGroupRequestCreate","TeacherGroupRequest","TeacherMyContests","TeacherGroupRequests","TeacherIndividualRequests","TeacherResults","TeacherMyResults","TeacherSolution","TeacherOnlinePayments","TeacherRequestOnlinePayments","TeacherVariantsCatalog","TeacherVariant","TeacherVariantPreview","TeacherArchive","ReportParams","TeacherTaskEditor","Contests","GroupRequest","MyContests","Results","StudentResults","StudentMyResults","StudentCategories","Series","StudentOnlinePayments","SearchInArchive","StudentArchive","AdminGroupRequests","AdminGroupRequest","AdminGroupResults","AdminIndividualRequests","AdminIndividualRequest","AdminRegisterRequests","AdminRegisterRequest","TaskEditor","TaskCatalog","SchoolCatalog","SchoolCreate","RegionCatalog","Region","District","City","Notifications","Notification","PromoCatalog","PromoCreate","UsersCatalog","SchoolAdminRegisterRequest","CreateOrganizer","VariantCatalog","VariantEdit","VariantPreview","VariantTeacherCatalog","AdditionalMaterials","ContestCatalog","ContestCreate","ContestCreateArchive","ContestCategoryCatalog","ContestCategoryCreate","AdminResults","TagsCatalog","TagCreate","CoordinatorPage","PaymentCatalog","PaymentCreate","MobileNotificationCatalog","MobileNotificationCreate","SendingNotificationCatalog","CoordinatorRequestCatalog","AdminAddRequests","CoordinatorStatementCatalog","AdminAddStatements","DataBaseCreate","DataBaseCatalog","HistoryCatalog","Player","paymentType","window","routes","path","exact","name","component","ErrorHandler","state","errorOccurred","setState","error","Fetch","method","credentials","headers","body","location","pathname","prevProps","onRouteChanged","info","logError","to","withRouter","items","url","icon","class","title","target","rel","DefaultAside","DefaultFooter","DefaultHeader","DefaultLayout","lastRenderedCompKey","lastRenderedCompUKey","loading","loadingR1","callbackAlert","alert","Array","isArray","messages","filter","x","undefined","every","id","push","forEach","__proto__","Object","view","value","setData","user","userId","isAdmin","isSchoolAdmin","isSchoolOrganizer","isCoordinator","needFillData","role","showWarningTeacherRequestRequired","logicError","getNextKey","constKey","console","log","Date","now","closeError","prepareNav","nav","roleSelected","isAuth","auth","history","logout","processApiCall","userService","getCurrentUser","currentUser","subscribe","localStorage","setItem","navAdmin","navigationAdmin","navCoordinator","navigationCoordinator","navOrganizer","navigationOrganizer","navigation","fixed","fallback","onLogout","signOut","onSignIn","signIn","display","navConfig","Container","fluid","isMobile","length","map","message","Alert","key","type","dangerouslySetInnerHTML","__html","previewText","header","context","onClose","route","idx","match","params","from","Fragment","asideType","contextType","GlobalContext","groupStyles","alignItems","justifyContent","fontSize","LoadingIndicator","formatGroupLabel","data","isDisabled","style","label","colorStyles","control","styles","isSelected","isFocused","backgroundColor","variables","white","border","lightOrange","grey","borderColor","boxShadow","orange","borderBottomRightRadius","borderTopRightRadius","container","flex","option","black","fontFamily","cursor","paddingLeft","menu","marginTop","zIndex","menuPortal","input","placeholder","singleValue","groupHeading","paddingTop","paddingBottom","multiValue","multiValueLabel","lightGrey","multiValueRemove","SelectContainer","selectProps","SelectField","handleChange","onChange","isMulti","withLoader","isLoading","handleBlur","onBlur","options","filterOption","toLowerCase","includes","toString","groupOptions","group","groupOption","find","opt","touched","isClearable","errors","backspaceRemovesValue","menuIsOpen","openMenuOnClick","isOptionDisabled","components","noOptionsMessage","menuPortalTarget","document","Timer","sendData","timerCallback","dateTo","moment","unix","uniqueId","date","timer","showPopover","remainingMilliseconds","isOpen","setInterval","updateTime","newValue","Math","max","diff","clearInterval","milliseconds","hideSeconds","cleanTime","utc","format","disableTooltip","formatDate","Tooltip","trigger","toggle","autohide","getClasses","fieldName","getIn","FieldValidation","defaultValue","autocomplete","ImageUploader","setImageCallback","elementId","image","toast","innerHtml","el","getElementById","innerHTML","setTimeout","replace","getUploadParams","file","getAccessToken","token","FormData","append","handleChangeStatus","status","meta","remove","xhr","JSON","parse","response","URL","protocol","host","inputStyles","background","height","width","onChangeStatus","maxFiles","multiple","canCancel","accept","inputContent","dropzone","dropzoneActive","inputLabel","PdfUploader","pdfLink","isCertificate","contestId","innerWidth","getRootProps","getInputProps","isMobileOnly","scale","src","frameborder","scrolling","helpersTypeData","SearchTableField","addNewTag","newTag","tags","searchTagsContainsValues","updateTags","additionalTags","removedTags","searchTasks","searchText","text","searchModel","split","join","tagsContains","tagsNotContains","searchTagsNotContainsValues","tagsAllNotContains","tagsAllContains","helpersType","stringify","searchCallback","isFirstLoad","pageItem","toggleText","showDropdownText","toggleTagsContains","showTagsContains","toggleTagsNotContains","showTagsNotContains","checkAll","clearFilters","searchInputText","tagsContainsText","tagsNotContainsText","removeItem","clearCallback","createNewTag","model","tagService","createTag","updateTagList","newOption","taskService","getAllTags","fromVariant","searchData","getItem","withHelper","t","addTag","clearActiveTags","ReactDOM","findDOMNode","isBlockCreate","Col","CalmButton","checkCallback","Label","checkedTasksCount","showLoader","md","lg","xs","createOption","showFilters","DebouncedField","setStateCallback","changeTagsCallback","InputGroup","updateOptions","InputGroupAddon","addonType","ButtonDropdown","DropdownToggle","caret","DropdownMenu","DropdownItem","ToolbarTable","searchPanel","DebouncedEditor","setFieldValue","modules","timeout","useState","setValue","debounced","useDebouncedCallback","taskText","callback","SelectCreatable","handleCreate","event","keyCode","labelValue","handleClickCreate","labelCreate","shouldKeyDownEventCreateNewOption","onCreateOption","formatCreateLabel","DropdownIndicator","IndicatorSeparator","Loader","Modal","loader","ConfirmDialog","confirm","cancel","isDelete","isTest","submitting","setSubmitting","confirmAlert","customUI","closeOnEscape","closeOnClickOutside","ModalError","readonly","errorModal","ModalBody","ModalFooter","returnUrl","action","hideModalError","withValidate","setFormikFieldValue","fieldValue","setShowLoader","autoComplete","currentTarget","Input","Header","minWidth","c","i","data-is-only-head","maxWidth","textAlign","Row","currentRow","rowData","rowChanged","isFirst","cellIndex","getRowCallback","prevState","isRegionGroupItem","updateRowTotalCallback","school","index","updateTotalCallback","removeSchoolCallback","totalRow","updateRows","row","isSchool","colspan","participants","globalRow","p","codeRegion","codeSchool","rowIndex","cellIndexTable","isInput","updateRow","isTotal","isPaid","setInputFocus","thisEl","isEdit","isLast","hasAttribute","removeAttribute","scrollIntoView","block","behavior","focus","setAttribute","onKeyUp","elements","getElementsByClassName","maxGrade","apply","values","nextEl","elem","rowindex","cellindex","nEl","focusIndex","k","y","cellindexTable","foundedEl","onKeyDown","val","n","isNaN","parseInt","substr","InputFormatter","valueChanged","setValueChanged","min","schoolId","TotalFormatter","reduce","acc","PaidFormatter","totalPaid","SchoolFormatter","dataConfirmedStated","dataConfirmedStatement","isRequests","dropdowns","setDropdowns","totalRowChanged","setTotalRowChanged","totalRowDefault","setTotalRowDefault","useContext","schholId","idRegion","useEffect","participantsTotal","nameRegion","transform","code","toggleActions","showCoordinatorEditSchool","defaultSchool","Cell","isActive","padding","TotalCounter","createContext","activeCell","cell","setActiveCell","clearActiveCell","updateTotal","BigTable","handleScroll","scrollLeft","getRowModel","getRequestsModel","requests","schoolIds","r","totalRef","current","totalParticipants","newSchoolIds","sc","concat","calcParticipants","participantsArray","updateRowTotal","rowId","withNew","isRemove","tempTotal","schoolState","participantsTotalStart","newParticipants","np","renderView","onScroll","rowKey","schoolValue","dataUpdated","click","initialData","startTotalParticipants","createRef","bigData","d","getModelCallback","addEventListener","schoolsData","res","isRegion","initialNewSchoolIds","removeEventListener","nextProps","nextState","hasChangedEl","some","isUpdated","contents","setExecution","newExState","_isMounted","executing","onRealClick","show","onClickCapture","hideLoader","executingText","otherProps","InputFeedback","InputWithIcon","iconName","iconText","autoFocus","onFocus","classnames","codesCountries","withLabel","country","localization","ru","onlyCountries","enableAreaCodeStretch","areaCodes","kz","enableAreaCodes","phone","dialCode","isValid","inputNumber","startsWith","successRedirect","payment_token","globalError","search","URLSearchParams","requestId","isExternal","get","hash","paymentService","getAccessSeriesKassa","getAccessPaymentKassa","getAccessKassa","checkout","YooMoneyCheckoutWidget","confirmation_token","return_url","error_callback","err","_widget","_iframe","clientWidth","substring","fromKassa","payment_confirmation_url","module","exports","defineProperty","ex","require","React__default","UA","browser","getBrowser","device","getCPU","getDevice","engine","getEngine","os","getOS","ua","getUA","setDefaults","arguments","getNavigatorInstance","navigator","isIOS13Check","platform","indexOf","maxTouchPoints","MSStream","_typeof","obj","Symbol","iterator","constructor","_defineProperties","descriptor","enumerable","configurable","writable","_defineProperty","assign","source","hasOwnProperty","ownKeys","enumerableOnly","keys","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","_getPrototypeOf","o","setPrototypeOf","getPrototypeOf","_setPrototypeOf","_objectWithoutProperties","excluded","sourceKeys","sourceSymbolKeys","propertyIsEnumerable","self","ReferenceError","DeviceTypes","BrowserTypes","Chrome","Firefox","Opera","Yandex","Safari","InternetExplorer","Edge","Chromium","Ie","MobileSafari","EdgeChromium","MIUI","SamsungBrowser","OsTypes","IOS","Android","WindowsPhone","Windows","MAC_OS","isTablet","isBrowser","isSmartTV","isConsole","isWearable","mobilePayload","getOwnPropertyDescriptors","defineProperties","_objectSpread2","vendor","osVersion","version","checkType","isEdgeChromiumType","isBrowserType","isEdgeType","getIPad13","isMobileSafari","isChromium","isMobileAndTabletType","isDesktop","isAndroid","isWinPhone","isIOS","isChrome","isFirefox","isSafari","isOpera","isIE","osName","fullBrowserVersion","browserVersion","major","browserName","mobileVendor","mobileModel","engineName","engineVersion","isEdge","isYandex","deviceType","isIOS13","test","getIOS13","isIPad13","isIPhone13","isIPod13","isElectron","userAgent","isElectronType","isEdgeChromium","isLegacyEdge","isWindows","isMacOs","isMIUI","isSamsungBrowser","AndroidView","_ref","renderWithFragment","viewClassName","BrowserView","_ref2","ConsoleView","_ref10","CustomView","_ref12","condition","IEView","_ref3","IOSView","_ref4","MobileOnlyView","_ref8","MobileView","_ref5","SmartTVView","_ref9","TabletView","_ref6","WearableView","_ref11","WinPhoneView","_ref7","deviceDetect","browserMajorVersion","browserFullVersion","broPayload","stvPayload","consolePayload","wearPayload","withOrientationChange","WrappedComponent","_class","instance","Constructor","TypeError","_classCallCheck","isEventListenerAdded","handleOrientationChange","onOrientationChange","onPageLoad","isLandscape","isPortrait","protoProps","staticProps","subClass","superClass","create","_inherits","orientation","innerHeight","ManagerReferenceNodeContext","ManagerReferenceNodeSetterContext","Manager","_len","args","_key","newReferenceNode","referenceNode","forceUpdate","componentWillUnmount","Provider","setReferenceNode","warning","__esModule","DropdownContext","global","__webpack_amd_options__","MODEL","NAME","TYPE","VENDOR","VERSION","MOBILE","TABLET","SMARTTV","enumerize","arr","enums","toUpperCase","has","str1","str2","lowerize","str","trim","len","rgxMapper","arrays","j","q","matches","regex","exec","strMapper","windowsVersionMap","ME","XP","Vista","7","8","8.1","10","RT","regexes","OPERA","FIREFOX","CHROME","1.2","1.3","cpu","APPLE","EDGE","UAParser","extensions","getResult","_ua","_rgxmap","mergedRegexes","extend","_browser","_cpu","_device","_engine","_os","setUA","BROWSER","CPU","DEVICE","ENGINE","OS","define","$","jQuery","Zepto","parser","set","result","prop","_react2","_interopRequireDefault","_implementation2","default","_react","_propTypes2","_gud2","_possibleConstructorReturn","createEventEmitter","handlers","on","handler","off","h","changedBits","calculateChangedBits","_Provider$childContex","_Consumer$contextType","contextProp","_Component","_temp","emitter","getChildContext","componentWillReceiveProps","oldValue","childContextTypes","isRequired","Consumer","_Component2","_temp2","_this2","_len2","_key2","getValue","onUpdate","observedBits","componentDidMount","contextTypes","sidebarCssClasses","asideMenuCssClasses","validBreakpoints","checkBreakpoint","breakpoint","list","toggleClasses","toggleClass","classList","force","level","slice","add","contains","AppAside","isFixed","isOffCanvas","displayBreakpoint","offCanvas","AppAsideToggler","asideToggle","defaultOpen","mobile","cssClass","BreadcrumbItem","listTag","listClassName","Breadcrumb","ListTag","listClasses","BreadcrumbsItem","routeName","aroute","matchPath","findRouteName","isExact","Link","Breadcrumbs","paths","prev","curr","currPath","getPaths","Route","AppBreadcrumb","appRoutes","router","BreadcrumbsItem2","findRouteName2","Breadcrumbs2","AppBreadcrumb2","AppFooter","AppHeader","AppHeaderDropdown","dropdownOpen","Dropdown","direction","AppNavbarBrand","imgSrc","brand","imgWidth","imgHeight","imgAlt","alt","navbarBrandImg","classBrand","img","full","_props","minimized","_props2","LayoutHelper","sidebarToggle","minimize","elClassList","sidebarMinimize","brandMinimize","sidebarPSToggle","isOnMobile","ps","rail","thumb","isRtl","getComputedStyle","documentElement","sidebar","querySelector","left","right","onMobile","minimizerElement","getPropertyValue","sidebarElement","ignore","warn","AppSidebar","isCompact","isMinimized","hideMobile","compact","cssTemplate","onClickOut","closest","staticContext","ClickOutHandler","AppSidebarFooter","AppSidebarForm","AppSidebarHeader","AppSidebarMinimizer","handleClick","AppSidebarNav","activeRoute","parentElement","navList","item","navType","navTitle","divider","navDivider","navLabel","navDropdown","navItem","navWrapper","wrapper","element","link","variant","navLink","classIcon","navBadge","badge","itemIcon","itemBadge","RsNavLink","activeClassName","navClasses","PerfectScrollbar","suppressScrollX","AppSidebarNav2","changes","sidebarMinimized","isActiveRoute","getAttribs","_this3","navIcon","itemAttr","liClasses","iconObject","iconClass","iconClassName","innerText","iconAttr","iconImg","iconInner","_this4","linkType","observeDomMutations","_this5","MutationObserver","mutations","isSidebarMinimized","observe","attributeFilter","onResize","disconnect","_this6","suppressScrollY","_scrollBarRef","AppSidebarToggler","outline","size","checked","defaultChecked","required","dataOn","dataOff","AppSwitch","handleKeyDown","handleKeyUp","uncontrolled","selected","toggleState","check","componentDidUpdate","tabindex","tabIndex","inputClasses","sliderClasses","a11y","oneOf","inNavbar","setActiveFromChild","menuRole","preventDefaultKeys","keyCodes","space","enter","up","down","end","home","addEvents","handleDocumentClick","removeEvents","handleMenuRef","containerRef","menuRef","getContextValue","dropup","onMenuRef","handleProps","getContainer","getMenu","getMenuCtrl","_$menuCtrl","getItemType","getMenuItems","menuContainer","querySelectorAll","which","tab","clickIsInContainer","clickIsInMenu","isTargetMenuItem","getAttribute","isTargetMenuCtrl","isTab","tagName","esc","ctrlKey","$menuitems","_$menuitems","_$menuitems3","charPressed","String","fromCharCode","textContent","_classNames","_omit","omit","attrs","subItemIsActive","Children","dropdownItem","dropdown","_scrollbar","_scrollbar2","_createClass","ClickOutComponent","elTouchIsClick","documentTouchIsClick","__documentTouchStarted","__elementClicked","__documentClicked","__documentTouchMoved","__documentTouchEnded","__clickedElements","clickOutHandler","__elementTouchMoved","__elementTouchEnded","__unmounted","toggleListeners","listenerMethod","only","ElementProto","Element","msMatchesSelector","mozMatchesSelector","webkitMatchesSelector","selector","ownerDocument","Boolean","nodeType","parentNode","_propTypes","_perfectScrollbar2","handlerNameByEvent","freeze","ScrollBar","handleRef","_handlerByEvent","_ps","_container","_updateEventHook","_updateClassName","updateScroll","destroy","prevCallback","prevHandler","psClassNames","onSync","onScrollY","onScrollX","onScrollUp","onScrollDown","onScrollLeft","onScrollRight","onYReachStart","onYReachEnd","onXReachStart","onXReachEnd","remainProps","Comp","update","const","let","div","elMatches","query","Error","removeChild","queryChildren","child","cls","consuming","clicking","scrollingClassTimeout","addScrollingClass","clearTimeout","removeScrollingClass","isAlive","settings","scrollingThreshold","EventElement","eventName","unbind","unbindAll","prototypeAccessors","isEmpty","EventManager","eventElements","createEvent","CustomEvent","evt","initCustomEvent","processScrollDiff","axis","useScrollingClass","forceFireReachEvent","fields","reach","scrollTop","contentHeight","containerHeight","dispatchEvent","setScrollingClassInstantly","toInt","eventElement","ee","splice","once","onceHandler","env","isWebKit","supportsTouch","DocumentTouch","supportsIePointer","msMaxTouchPoints","roundedScrollTop","floor","rect","getBoundingClientRect","containerWidth","round","contentWidth","scrollWidth","scrollHeight","scrollbarXRail","DOM.queryChildren","DOM.remove","appendChild","scrollbarYRail","scrollXMarginOffset","scrollbarXActive","railXWidth","railXMarginWidth","railXRatio","scrollbarXWidth","getThumbSize","scrollbarXLeft","negativeScrollAdjustment","scrollYMarginOffset","scrollbarYActive","railYHeight","railYMarginHeight","railYRatio","scrollbarYHeight","scrollbarYTop","xRailOffset","isScrollbarXUsingBottom","bottom","scrollbarXBottom","top","scrollbarXTop","CSS.set","yRailOffset","isScrollbarYUsingRight","scrollbarYRight","scrollbarYOuterWidth","scrollbarYLeft","scrollbarX","railBorderXWidth","scrollbarY","railBorderYWidth","updateCss","thumbSize","minScrollbarLength","maxScrollbarLength","bindMouseScrollHandler","startingScrollTop","startingMousePageY","scrollBy","mouseMoveHandler","touches","pageY","updateGeometry","stopPropagation","changedTouches","mouseUpHandler","bindMoves","touchMode","pageYOffset","pageX","pageXOffset","isDefaultPrevented","defaultPrevented","DOM.matches","activeElement","contentDocument","shadowRoot","deltaX","deltaY","metaKey","altKey","shiftKey","wheelPropagation","shouldPreventDefault","mousewheelHandler","wheelDeltaX","wheelDeltaY","deltaMode","wheelDelta","getDeltaFromEvent","CSS.get","overflowY","maxScrollTop","clientHeight","overflowX","maxScrollLeft","shouldBeConsumedByChild","shouldPrevent","useBothWheelAxes","wheelSpeed","isTop","isBottom","offsetHeight","isLeft","isRight","offsetWidth","abs","onwheel","onmousewheel","startOffset","startTime","speed","easingLoop","touchStart","touchMove","touchEnd","PointerEvent","MSPointerEvent","applyTouchMove","differenceX","differenceY","getTouch","targetTouches","shouldHandle","pointerType","buttons","MSPOINTER_TYPE_MOUSE","touch","getTime","currentOffset","currentTime","timeGap","magnitudeX","magnitudeY","scrollY","swipeEasing","isInitialized","userSettings","nodeName","blur","isNegativeScroll","originalScrollLeft","DOM.div","railXStyle","borderLeftWidth","borderRightWidth","marginLeft","marginRight","railYStyle","paddingRight","outerWidth","borderTopWidth","borderBottomWidth","marginBottom","handlerName","lastScrollTop","lastScrollLeft","removePsClasses","containerClass"],"mappings":";iJAAA,gFAEIA,EAAY,CAAC,YAAa,YAAa,SAAU,OAKjDC,EAAY,CACdC,IAAKC,IACLC,OAAQC,IAAUC,KAClBC,UAAWF,IAAUG,OACrBC,UAAWJ,IAAUK,QAMnBC,EAAU,SAAiBC,GAC7B,IAAIL,EAAYK,EAAML,UAClBE,EAAYG,EAAMH,UAClBL,EAASQ,EAAMR,OACfS,EAAMD,EAAMV,IAC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ER,CACEE,OAAO,EACPxB,KAAM,2EACNuB,MAAO,IAET,CACEvB,KAAM,qGACNqB,IAAK,gCACLC,KAAM,QAER,CACEE,OAAO,EACPxB,KAAM,2EACNuB,MAAO,IAET,CACEvB,KAAM,uCACNqB,IAAK,8BACLC,KAAM,QAER,CACEtB,KAAM,2BACNqB,IAAK,gCACLC,KAAM,QAER,CACEE,OAAO,EACPxB,KAAM,sEACNuB,MAAO,IAGT,CACEvB,KAAM,8FACNqB,IAAK,uBACLC,KAAM,QAER,CACEtB,KAAM,+FACNqB,IAAK,4BACLC,KAAM,QAER,CACEtB,KAAM,+DACNqB,IAAK,iBACLC,KAAM,QAER,CACEtB,KAAM,mIACNqB,IAAK,0BACLC,KAAM,QAER,CACEtB,KAAM,6CACNqB,IAAK,kBACLC,KAAM,QAER,CACEtB,KAAM,oGACNqB,IAAK,iBACLC,KAAM,QAGR,CACEE,OAAO,EACPxB,KAAM,qEACNuB,MAAO,IAET,CACEvB,KAAM,gEACNqB,IAAK,aACLC,KAAM,QAER,CACEtB,KAAM,8FACNqB,IAAK,kBACLC,KAAM,QAER,CACEtB,KAAM,yIACNqB,IAAK,0BACLC,KAAM,QAER,CACEtB,KAAM,6CACNqB,IAAK,eACLC,KAAM,QAER,CACEtB,KAAM,+IACNqB,IAAK,oBACLC,KAAM,QAER,CACEtB,KAAM,wNACNqB,IAAK,0BACLC,KAAM,QAER,CACEtB,KAAM,mDACNqB,IAAK,kBACLC,KAAM,QAER,CACEtB,KAAM,wDACNqB,IAAK,8BACLC,KAAM,QAER,CACEtB,KAAM,2EACNqB,IAAK,eACLC,KAAM,QAER,CACEtB,KAAM,yDACNqB,IAAK,gBACLC,KAAM,QAER,CACEtB,KAAM,sJACNqB,IAAK,uBACLC,KAAM,QAER,CACEtB,KAAM,6CACNqB,IAAK,iBACLC,KAAM,QAER,CACEtB,KAAM,2BACNqB,IAAK,cACLC,KAAM,QAER,CACEtB,KAAM,iCACNqB,IAAK,iBACLC,KAAM,UCxKG,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AAmBjQ,GACjC,IAAIL,EAAYK,EAAML,UAClBE,EAAYG,EAAMH,UAClBqQ,EAAQlQ,EAAMkQ,MACdjQ,EAAMD,EAAMV,IACZY,EAAaC,YAA8BH,EAAOZ,GAElDsmD,EAAiB,aAEP,IAAVx1C,EACFw1C,EAAiB,kBACRx1C,IACTw1C,EAAiB,aAAex1C,GAGlC,IAAI9P,EAAUC,YAAgBC,IAAWX,EAAW+lD,GAAiB7lD,GACrE,OAAoBU,IAAMC,cAAcP,EAAKQ,YAAS,GAAIP,EAAY,CACpEP,UAAWS,MAIf6P,EAAU5Q,UAAYA,EACtB4Q,EAAUvP,aA1BS,CACjBpB,IAAK,OA0BQ2Q","file":"static/js/52.46608056.chunk.js","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"active\", \"tag\"];\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n active: PropTypes.bool,\n className: PropTypes.string,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n tag: 'li'\n};\n\nvar NavItem = function NavItem(props) {\n var className = props.className,\n cssModule = props.cssModule,\n active = props.active,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n\n var classes = mapToCssModules(classNames(className, 'nav-item', active ? 'active' : false), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nNavItem.propTypes = propTypes;\nNavItem.defaultProps = defaultProps;\nexport default NavItem;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"active\", \"tag\", \"innerRef\"];\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.func, PropTypes.string]),\n disabled: PropTypes.bool,\n active: PropTypes.bool,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n onClick: PropTypes.func,\n href: PropTypes.any\n};\nvar defaultProps = {\n tag: 'a'\n};\n\nvar NavLink = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(NavLink, _React$Component);\n\n function NavLink(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n _this.onClick = _this.onClick.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = NavLink.prototype;\n\n _proto.onClick = function onClick(e) {\n if (this.props.disabled) {\n e.preventDefault();\n return;\n }\n\n if (this.props.href === '#') {\n e.preventDefault();\n }\n\n if (this.props.onClick) {\n this.props.onClick(e);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n className = _this$props.className,\n cssModule = _this$props.cssModule,\n active = _this$props.active,\n Tag = _this$props.tag,\n innerRef = _this$props.innerRef,\n attributes = _objectWithoutPropertiesLoose(_this$props, _excluded);\n\n var classes = mapToCssModules(classNames(className, 'nav-link', {\n disabled: attributes.disabled,\n active: active\n }), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n ref: innerRef,\n onClick: this.onClick,\n className: classes\n }));\n };\n\n return NavLink;\n}(React.Component);\n\nNavLink.propTypes = propTypes;\nNavLink.defaultProps = defaultProps;\nexport default NavLink;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"color\", \"innerRef\", \"pill\", \"tag\"];\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n color: PropTypes.string,\n pill: PropTypes.bool,\n tag: tagPropType,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.func, PropTypes.string]),\n children: PropTypes.node,\n className: PropTypes.string,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n color: 'secondary',\n pill: false,\n tag: 'span'\n};\n\nvar Badge = function Badge(props) {\n var className = props.className,\n cssModule = props.cssModule,\n color = props.color,\n innerRef = props.innerRef,\n pill = props.pill,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n\n var classes = mapToCssModules(classNames(className, 'badge', 'badge-' + color, pill ? 'badge-pill' : false), cssModule);\n\n if (attributes.href && Tag === 'span') {\n Tag = 'a';\n }\n\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\n\nBadge.propTypes = propTypes;\nBadge.defaultProps = defaultProps;\nexport default Badge;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"tabs\", \"pills\", \"vertical\", \"horizontal\", \"justified\", \"fill\", \"navbar\", \"card\", \"tag\"];\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tabs: PropTypes.bool,\n pills: PropTypes.bool,\n vertical: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\n horizontal: PropTypes.string,\n justified: PropTypes.bool,\n fill: PropTypes.bool,\n navbar: PropTypes.bool,\n card: PropTypes.bool,\n tag: tagPropType,\n className: PropTypes.string,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n tag: 'ul',\n vertical: false\n};\n\nvar getVerticalClass = function getVerticalClass(vertical) {\n if (vertical === false) {\n return false;\n } else if (vertical === true || vertical === 'xs') {\n return 'flex-column';\n }\n\n return \"flex-\" + vertical + \"-column\";\n};\n\nvar Nav = function Nav(props) {\n var className = props.className,\n cssModule = props.cssModule,\n tabs = props.tabs,\n pills = props.pills,\n vertical = props.vertical,\n horizontal = props.horizontal,\n justified = props.justified,\n fill = props.fill,\n navbar = props.navbar,\n card = props.card,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n\n var classes = mapToCssModules(classNames(className, navbar ? 'navbar-nav' : 'nav', horizontal ? \"justify-content-\" + horizontal : false, getVerticalClass(vertical), {\n 'nav-tabs': tabs,\n 'card-header-tabs': card && tabs,\n 'nav-pills': pills,\n 'card-header-pills': card && pills,\n 'nav-justified': justified,\n 'nav-fill': fill\n }), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nNav.propTypes = propTypes;\nNav.defaultProps = defaultProps;\nexport default Nav;","import React from 'react';\r\n\r\nconst Dashboard = React.lazy(() => import('./views/Dashboard/Dashboard'));\r\nconst Profile = React.lazy(() => import(\"./views/Account/Profile/Profile\"));\r\nconst MyContestsAdmin = React.lazy(() => import(\"./views/Contests/MyContestsAdmin\"));\r\nconst TinkoffKassa = React.lazy(() => import(\"./_components/TinkoffKassa\"));\r\nconst YandexKassa = React.lazy(() => import(\"./_components/YandexKassa\"));\r\nconst PublicVariantPreview = React.lazy(() => import(\"./views/Pages/Preview/PreviewTasks\"));\r\nconst YandexKassaPublic = React.lazy(() => import(\"./_components/YandexKassaPublic\"));\r\nconst UserNotifications = React.lazy(() => import(\"./views/Notifications/Notifications\"));\r\nconst SuccessPaymentPublic = React.lazy(() => import(\"./views/Pages/ExternalParticipation/SuccessPaymentPublic\"));\r\n\r\n/***** Coordinator *****/\r\nconst CoordinatorMyContests = React.lazy(() => import(\"./views/Coordinator/MyContests\"));\r\nconst CoordinatorCategories = React.lazy(() => import(\"./views/Coordinator/Categories\"));\r\nconst CoordinatorContests = React.lazy(() => import(\"./views/Coordinator/Contests\"));\r\nconst CoordinatorGroupRequestCreate = React.lazy(() => import(\"./views/Coordinator/GroupRequest/Create\"));\r\nconst CoordinatorGroupRequest = React.lazy(() => import(\"./views/Coordinator/GroupRequest/GroupRequest\"));\r\nconst CoordinatorResults = React.lazy(() => import(\"./views/Coordinator/Results/Results\"));\r\nconst CoordinatorSolution = React.lazy(() => import(\"./views/Coordinator/Results/Parts/Solution\"));\r\nconst CoordinatorReportCategories = React.lazy(() => import(\"./views/Coordinator/ReportCategories/Catalog\"));\r\nconst CoordinatorReportCategoryCreate = React.lazy(() => import(\"./views/Coordinator/ReportCategories/Create\"));\r\nconst CoordinatorDashboard = React.lazy(() => import(\"./views/Coordinator/Dashboard\"));\r\nconst CoordinatorPaymentCreate = React.lazy(() => import(\"./views/Coordinator/Payment/Payment\"));\r\nconst PaymentsCatalog = React.lazy(() => import(\"./views/Coordinator/Payment/Catalog\"));\r\nconst RequestPayments = React.lazy(() => import(\"./views/Coordinator/Contests/Components/RequestPayments\"));\r\nconst RequestsCatalog = React.lazy(() => import(\"./views/Coordinator/Requests/Catalog\"));\r\nconst StatementsCatalog = React.lazy(() => import(\"./views/Coordinator/Statements/Catalog\"));\r\nconst CoordinatorAddRequestsForm = React.lazy(() => import(\"./views/Coordinator/Requests/AddRequests\"));\r\nconst CoordinatorAddStatementForm = React.lazy(() => import(\"./views/Coordinator/Requests/AddStatement\"));\r\nconst SchoolPayments = React.lazy(() => import(\"./views/Coordinator/Payment/SchoolPayments\"));\r\nconst PaymentCategories = React.lazy(() => import(\"./views/Coordinator/Payment/PaymentCategories\"));\r\n\r\n/***** Teacher ******/\r\nconst TeacherCategories = React.lazy(() => import(\"./views/Teacher/Categories\"));\r\nconst TeacherContests = React.lazy(() => import(\"./views/Teacher/Contests\"));\r\nconst TeacherGroupRequestCreate = React.lazy(() => import(\"./views/Teacher/GroupRequest/Create\"));\r\nconst TeacherGroupRequest = React.lazy(() => import(\"./views/Teacher/GroupRequest/GroupRequest\"));\r\nconst TeacherMyContests = React.lazy(() => import(\"./views/Teacher/MyContests\"));\r\nconst TeacherGroupRequests = React.lazy(() => import(\"./views/Teacher/Contests/Parts/GroupApplications\"));\r\nconst TeacherIndividualRequests = React.lazy(() => import(\"./views/Teacher/Contests/Parts/IndividualApplications\"));\r\nconst TeacherResults = React.lazy(() => import(\"./views/Teacher/Results/Results\"));\r\nconst TeacherMyResults = React.lazy(() => import(\"./views/Teacher/MyResults\"));\r\nconst TeacherSolution = React.lazy(() => import(\"./views/Teacher/Results/Parts/Solution\"));\r\nconst TeacherOnlinePayments = React.lazy(() => import(\"./views/Teacher/OnlinePayments/Catalog\"));\r\nconst TeacherRequestOnlinePayments = React.lazy(() => import(\"./views/Teacher/GroupRequest/Payments\"));\r\nconst TeacherVariantsCatalog = React.lazy(() => import(\"./views/Teacher/Variants/Catalog\"));\r\nconst TeacherVariant = React.lazy(() => import(\"./views/Teacher/Variants/Variant\"));\r\nconst TeacherVariantPreview = React.lazy(() => import(\"./views/Teacher/Variants/Parts/PreviewTasks\"));\r\nconst TeacherArchive = React.lazy(() => import(\"./views/Teacher/Archive/MyContests\"));\r\nconst ReportParams = React.lazy(() => import(\"./views/Teacher/Results/Parts/ReportParams\"));\r\nconst TeacherTaskEditor = React.lazy(() => import(\"./views/Teacher/Tasks/TaskEditor\"));\r\nconst TeacherTaskCatalog = React.lazy(() => import(\"./views/Teacher/Tasks/TaskCatalog\"));\r\n\r\n/***** Student ******/\r\nconst Contests = React.lazy(() => import(\"./views/Student/Contests\"));\r\nconst GroupRequestCreate = React.lazy(() => import(\"./views/Student/GroupRequest/Create\"));\r\nconst GroupRequest = React.lazy(() => import(\"./views/Student/GroupRequest/GroupRequest\"));\r\nconst MyContests = React.lazy(() => import(\"./views/Student/MyContests\"));\r\nconst Results = React.lazy(() => import(\"./views/Contests/Results\"));\r\nconst StudentResults = React.lazy(() => import(\"./views/Student/Results/Results\"));\r\nconst StudentMyResults = React.lazy(() => import(\"./views/Student/MyResults\"));\r\nconst StudentCategories = React.lazy(() => import(\"./views/Student/Categories\"));\r\nconst Series = React.lazy(() => import(\"./views/Student/Series/Series\"));\r\nconst StudentOnlinePayments = React.lazy(() => import(\"./views/Student/OnlinePayments/Catalog\"));\r\nconst SearchInArchive = React.lazy(() => import(\"./views/Student/SearchInArchive/SearchInArchive\"));\r\nconst StudentArchive = React.lazy(() => import(\"./views/Student/Archive/MyContests\"));\r\n\r\n/***** Admin ******/\r\nconst AdminGroupRequests = React.lazy(() => import(\"./views/Admin/GroupRequests/GroupRequests\"));\r\nconst AdminGroupRequest = React.lazy(() => import(\"./views/Teacher/GroupRequest/GroupRequest\"));\r\nconst AdminGroupResults = React.lazy(() => import(\"./views/Teacher/Results/Results\"));\r\nconst AdminIndividualRequests = React.lazy(() => import(\"./views/Admin/IndividualRequests/IndividualRequests\"));\r\nconst AdminIndividualRequest = React.lazy(() => import(\"./views/Admin/IndividualRequests/IndividualRequest\"));\r\nconst AdminRegisterRequests = React.lazy(() => import(\"./views/Admin/RegisterRequests/RegisterRequests\"));\r\nconst AdminRegisterRequest = React.lazy(() => import(\"./views/Admin/RegisterRequests/RegisterRequest\"));\r\nconst TaskEditor = React.lazy(() => import(\"./views/Admin/Tasks/TaskEditor\"));\r\nconst TaskCatalog = React.lazy(() => import(\"./views/Admin/Tasks/TaskCatalog\"));\r\nconst SchoolCatalog = React.lazy(() => import(\"./views/Admin/Schools/SchoolCatalog\"));\r\nconst SchoolCreate = React.lazy(() => import(\"./views/Admin/Schools/SchoolCreate\"));\r\nconst RegionCatalog = React.lazy(() => import(\"./views/Admin/Location/RegionCatalog\"));\r\nconst Region = React.lazy(() => import(\"./views/Admin/Location/Region\"));\r\nconst District = React.lazy(() => import(\"./views/Admin/Location/District\"));\r\nconst City = React.lazy(() => import(\"./views/Admin/Location/City\"));\r\nconst Notifications = React.lazy(() => import(\"./views/Admin/Notifications/NotificationCatalog\"));\r\nconst Notification = React.lazy(() => import(\"./views/Admin/Notifications/NotificationCreate\"));\r\nconst PromoCatalog = React.lazy(() => import(\"./views/Admin/Promo/Catalog\"));\r\nconst PromoCreate = React.lazy(() => import(\"./views/Admin/Promo/Create\"));\r\nconst UsersCatalog = React.lazy(() => import(\"./views/Admin/Users/Catalog\"));\r\nconst SchoolAdminRegisterRequest = React.lazy(() => import(\"./views/SchoolAdmin/RegisterRequests/RegisterRequests\"));\r\nconst CreateOrganizer = React.lazy(() => import(\"./views/SchoolAdmin/RegisterRequests/Create\"));\r\nconst VariantCatalog = React.lazy(() => import(\"./views/Admin/Variants/VariantCatalog\"));\r\nconst VariantEdit = React.lazy(() => import(\"./views/Admin/Variants/Variant\"));\r\nconst VariantPreview = React.lazy(() => import(\"./views/Admin/Variants/Parts/PreviewTasks\"));\r\nconst VariantTeacherCatalog = React.lazy(() => import(\"./views/Admin/TeacherVariants/VariantCatalog\"));\r\nconst AdditionalMaterials = React.lazy(() => import(\"./views/Pages/AdditionalMaterials\"));\r\nconst ContestCatalog = React.lazy(() => import(\"./views/Admin/Contests/ContestCatalog\"));\r\nconst ContestCreate = React.lazy(() => import(\"./views/Admin/Contests/ContestCreate\"));\r\nconst ContestCreateArchive = React.lazy(() => import(\"./views/Admin/ContestsArchive/ContestCreate\"));\r\nconst ContestCategoryCatalog = React.lazy(() => import(\"./views/Admin/ContestCategories/ContestCategoryCatalog\"));\r\nconst ContestCategoryCreate = React.lazy(() => import(\"./views/Admin/ContestCategories/ContestCategoryCreate\"));\r\nconst AdminResults = React.lazy(() => import(\"./views/Admin/Results/Results\"));\r\nconst TagsCatalog = React.lazy(() => import(\"./views/Admin/Tags/TagsCatalog\"));\r\nconst TagCreate = React.lazy(() => import(\"./views/Admin/Tags/Create\"));\r\nconst CoordinatorPage = React.lazy(() => import(\"./views/Admin/Users/Parts/Coordinator\"));\r\nconst PaymentCatalog = React.lazy(() => import(\"./views/Admin/Payments/Catalog\"));\r\nconst PaymentCreate = React.lazy(() => import(\"./views/Admin/Payments/Create\"));\r\nconst MobileNotificationCatalog = React.lazy(() => import(\"./views/Admin/MobileNotifications/Catalog\"));\r\nconst MobileNotificationCreate = React.lazy(() => import(\"./views/Admin/MobileNotifications/Create\"));\r\nconst SendingNotificationCatalog = React.lazy(() => import(\"./views/Admin/MobileNotifications/SendingCatalog\"));\r\nconst CoordinatorRequestCatalog = React.lazy(() => import(\"./views/Admin/Coordinators/Requests/Catalog\"));\r\nconst AdminAddRequests = React.lazy(() => import(\"./views/Admin/Coordinators/Requests/AddRequests\"));\r\nconst CoordinatorStatementCatalog = React.lazy(() => import(\"./views/Admin/Coordinators/Statements/Catalog\"));\r\nconst AdminAddStatements = React.lazy(() => import(\"./views/Admin/Coordinators/Statements/AddStatement\"));\r\nconst DataBaseCreate = React.lazy(() => import(\"./views/Admin/DataBase/Create\"));\r\nconst DataBaseCatalog = React.lazy(() => import(\"./views/Admin/DataBase/Catalog\"));\r\nconst HistoryCatalog = React.lazy(() => import(\"./views/Admin/History/Catalog\"));\r\n\r\n/***** Player *******/\r\nconst Player = React.lazy(() => import(\"./views/Player/Player\"));\r\nconst paymentType = window['runConfig']?.paymentType || 2;\r\n\r\n// https://github.com/ReactTraining/react-router/tree/master/packages/react-router-config\r\nconst routes = [\r\n { path: '/', exact: true, name: 'Конкурсы' },\r\n { path: '/dashboard/:id?', name: 'Главная', component: Dashboard },\r\n { path: '/profile', exact: true, name: 'Profile', component: Profile },\r\n { path: '/student/request/group/:id/payment', exact: true, name: 'Индивидуальная оплата', component: paymentType == 2 ? TinkoffKassa : YandexKassa },\r\n { path: '/teacher/request/group/:id/payment', exact: true, name: 'Групповая оплата', component: paymentType == 2 ? TinkoffKassa : YandexKassa },\r\n { path: '/student/series/:id/payment', exact: true, name: 'Оплата серии', component: paymentType == 2 ? TinkoffKassa : YandexKassa },\r\n { path: '/teacher/series/:id/payment', exact: true, name: 'Оплата серии', component: paymentType == 2 ? TinkoffKassa : YandexKassa },\r\n { path: '/payment/:id/external', exact: true, name: 'Оплата серии', component: paymentType == 2 ? TinkoffKassa : YandexKassaPublic },\r\n //{ path: '/public/payment/:id', exact: true, name: 'Групповая оплата', component: YandexKassaPublic },\r\n { path: '/variants/preview/:id', exact: true, name: 'Панель редактирования варианта заданий', component: PublicVariantPreview },\r\n { path: '/successPayment/public', exact: true, name: 'Проверка платежа', component: SuccessPaymentPublic },\r\n\r\n /*coordinator*/\r\n //{ path: '/coordinator/request', exact: true, name: 'Конкурсы', component: CoordinatorMyContests },\r\n { path: '/coordinator/request/select/:categoryId', exact: true, name: 'Выбор конкурса', component: CoordinatorContests },\r\n { path: '/coordinator/requests/select/:categoryId', exact: true, name: 'Выбор конкурса', component: CoordinatorContests },\r\n { path: '/coordinator/request/categories/select', exact: true, name: 'Выбор конкурса', component: CoordinatorCategories },\r\n { path: '/coordinator/requests/categories/select', exact: true, name: 'Выбор конкурса', component: CoordinatorCategories },\r\n { path: '/coordinator/request/group/create/:contestId', exact: true, name: 'Создание групповой заявки', component: CoordinatorGroupRequestCreate },\r\n { path: '/coordinator/requests/group/create/:contestId', exact: true, name: 'Создание групповой заявки', component: CoordinatorGroupRequestCreate },\r\n { path: '/coordinator/request/group/update/:requestId', exact: true, name: 'Создание групповой заявки', component: CoordinatorGroupRequestCreate },\r\n { path: '/coordinator/requests/group/update/:requestId', exact: true, name: 'Создание групповой заявки', component: CoordinatorGroupRequestCreate },\r\n { path: '/coordinator/request/group/:id', exact: true, name: 'Групповая заявка', component: CoordinatorGroupRequest },\r\n { path: '/coordinator/request/group/:id/results', exact: true, name: 'Групповая заявка', component: CoordinatorResults },\r\n { path: '/coordinator/request/group/:id/results/solution', exact: true, name: 'Разбор заданий групповой заявки', component: CoordinatorSolution },\r\n { path: '/coordinator/categories', exact: true, name: 'Категории отчетности', component: CoordinatorReportCategories },\r\n { path: '/coordinator/categories/create', exact: true, name: 'Категории отчетности', component: CoordinatorReportCategoryCreate },\r\n { path: '/coordinator/categories/update/:id', exact: true, name: 'Категории отчетности', component: CoordinatorReportCategoryCreate },\r\n { path: '/coordinator/request', exact: true, name: 'Категории отчетности', component: CoordinatorDashboard },\r\n { path: '/coordinator/payment/create', exact: true, name: 'Формирование платежа', component: CoordinatorPaymentCreate },\r\n { path: '/coordinator/payment/update/:id', exact: true, name: 'Формирование платежа', component: CoordinatorPaymentCreate },\r\n { path: '/coordinator/payments', exact: true, name: 'Формирование платежа', component: PaymentCategories/*PaymentsCatalog*/ },\r\n { path: '/coordinator/request/group/:id/payments', exact: true, name: 'Формирование платежа', component: RequestPayments },\r\n { path: '/coordinator/requests/add', exact: true, name: 'Добавление заявок', component: CoordinatorAddRequestsForm },\r\n { path: '/coordinator/statements/add', exact: true, name: 'Добавление ведомостей', component: CoordinatorAddStatementForm },\r\n { path: '/coordinator/requests', exact: true, name: 'Заявки координатора', component: RequestsCatalog },\r\n { path: '/coordinator/statements', exact: true, name: 'Факт координатора', component: StatementsCatalog },\r\n { path: '/coordinator/notifications', exact: true, name: 'Заявки координатора', component: UserNotifications },\r\n { path: '/coordinator/payments/school/:id', exact: true, name: 'Платежи по школе', component: SchoolPayments },\r\n \r\n\r\n /*teacher*/\r\n { path: '/teacher/request', exact: true, name: 'Конкурсы', component: TeacherMyContests },\r\n { path: '/teacher/request/select/:categoryId', exact: true, name: 'Выбор конкурса', component: TeacherContests },\r\n { path: '/teacher/request/categories/select', exact: true, name: 'Выбор конкурса', component: TeacherCategories },\r\n { path: '/teacher/request/group/create/:contestId', exact: true, name: 'Создание групповой заявки', component: TeacherGroupRequestCreate },\r\n { path: '/teacher/request/group/:id', exact: true, name: 'Групповая заявка', component: TeacherGroupRequest },\r\n { path: '/teacher/request/group/:id/student', exact: true, name: 'Групповая заявка', component: GroupRequest },\r\n { path: '/teacher/request/group', exact: true, name: 'Групповые заявки', component: TeacherGroupRequests },\r\n { path: '/teacher/request/individual', exact: true, name: 'Индивидуальные заявки', component: TeacherIndividualRequests },\r\n { path: '/teacher/results/request/group/:id', exact: true, name: 'Результаты групповой заявки', component: TeacherResults },\r\n { path: '/teacher/results/request/group/:id/student', exact: true, name: 'Результаты групповой заявки', component: StudentResults },\r\n { path: '/teacher/request/group/:id/results', exact: true, name: 'Результаты групповой заявки', component: TeacherResults },\r\n { path: '/teacher/request/group/:id/results/student', exact: true, name: 'Результаты групповой заявки', component: StudentResults },\r\n { path: '/teacher/request/group/:id/results/solution', exact: true, name: 'Разбор заданий групповой заявки', component: TeacherSolution },\r\n { path: '/teacher/results', exact: true, name: 'Результаты', component: TeacherMyResults },\r\n { path: '/teacher/payments', exact: true, name: 'Формирование платежа', component: TeacherOnlinePayments },\r\n { path: '/teacher/request/group/:id/payments', exact: true, name: 'Платежи по заявке', component: TeacherRequestOnlinePayments },\r\n { path: '/teacher/notifications', exact: true, name: 'Заявки координатора', component: UserNotifications },\r\n { path: '/teacher/taskVariants', exact: true, name: 'Варианты', component: TeacherVariantsCatalog },\r\n { path: '/teacher/taskVariants/create', exact: true, name: 'Создание варианта', component: TeacherVariant },\r\n { path: '/teacher/taskVariants/:id', exact: true, name: 'Редактирование варианта', component: TeacherVariant },\r\n { path: '/teacher/taskVariants/preview/:id', exact: true, name: 'Предпросмотр варианта', component: TeacherVariantPreview },\r\n { path: '/teacher/request/group/:id/reportParams', exact: true, name: 'Групповая заявка', component: ReportParams },\r\n\r\n { path: '/teacher/request/series/:id', exact: true, name: 'Серия конкурсов', component: Series },\r\n { path: '/teacher/results/request/series/:id', exact: true, name: 'Серия конкурсов', component: Series },\r\n { path: '/teacher/request/group/:id/:seriesId/results', exact: true, name: 'Результаты участия', component: TeacherResults },\r\n { path: '/teacher/results/request/group/:id/:seriesId', exact: true, name: 'Результаты участия', component: TeacherResults },\r\n { path: '/teacher/request/group/:id/:seriesId', exact: true, name: 'Групповая заявка', component: TeacherGroupRequest },\r\n { path: '/teacher/archive', exact: true, name: 'Архив результатов', component: TeacherArchive },\r\n { path: '/teacher/archive/request/group/:id', exact: true, name: 'Групповая заявка', component: TeacherGroupRequest },\r\n { path: '/teacher/archive/results/request/group/:id', exact: true, name: 'Результаты групповой заявки', component: TeacherResults },\r\n\r\n { path: '/teacher/tasks/create', exact: true, name: 'Создание задания', component: TeacherTaskEditor },\r\n { path: '/teacher/tasks/edit/:id', exact: true, name: 'Редактирование задания', component: TeacherTaskEditor },\r\n\r\n /*student*/\r\n\r\n { path: '/student/request', exact: true, name: 'Конкурсы', component: MyContests },\r\n { path: '/student/archive/search', exact: true, name: 'Поиск в архиве', component: SearchInArchive },\r\n { path: '/student/request/select/:id', exact: true, name: 'Выбор конкурса', component: Contests },\r\n //{ path: '/request/group/create/:contestId', exact: true, name: 'Создание групповой заявки', component: GroupRequestCreate },\r\n { path: '/student/request/group/:id', exact: true, name: 'Групповая заявка', component: GroupRequest },\r\n { path: '/student/request/group/:id/:seriesId', exact: true, name: 'Групповая заявка', component: GroupRequest },\r\n { path: '/student/request/group', exact: true, name: 'Групповая заявка', component: GroupRequest },\r\n { path: '/student/results', exact: true, name: 'Групповая заявка', component: StudentMyResults },\r\n { path: '/results', exact: true, name: 'Результаты', component: Results },\r\n { path: '/student/results/request/group/:id', exact: true, name: 'Результаты участия', component: StudentResults },\r\n { path: '/student/results/request/group/:id/:seriesId', exact: true, name: 'Результаты участия', component: StudentResults },\r\n { path: '/student/request/group/:id/results', exact: true, name: 'Результаты участия', component: StudentResults },\r\n { path: '/student/request/group/:id/:seriesId/results', exact: true, name: 'Результаты участия', component: StudentResults },\r\n { path: '/student/request/categories/select', exact: true, name: 'Выбор конкурса', component: StudentCategories },\r\n { path: '/student/request/series/:id', exact: true, name: 'Серия конкурсов', component: Series },\r\n { path: '/student/results/request/series/:id', exact: true, name: 'Серия конкурсов', component: Series },\r\n { path: '/student/payments', exact: true, name: 'Формирование платежа', component: StudentOnlinePayments },\r\n { path: '/student/notifications', exact: true, name: 'Заявки координатора', component: UserNotifications },\r\n { path: '/student/archive', exact: true, name: 'Архив результатов', component: StudentArchive },\r\n { path: '/student/archive/request/group/:id', exact: true, name: 'Групповая заявка', component: GroupRequest },\r\n { path: '/student/archive/results/request/group/:id', exact: true, name: 'Результаты групповой заявки', component: StudentResults },\r\n\r\n /*admin*/\r\n\r\n { path: '/admin/groupRequests', exact: true, name: 'Групповые заявки', component: AdminGroupRequests },\r\n { path: '/admin/groupRequests', exact: true, name: 'Групповые заявки', component: AdminGroupRequests },\r\n { path: '/admin/request/group/:id', exact: true, name: 'Групповая заявка', component: AdminGroupRequest },\r\n { path: '/admin/request/group/:id/results', exact: true, name: 'Групповая заявка', component: AdminGroupResults },\r\n { path: '/admin/individualRequests', exact: true, name: 'Групповые заявки', component: AdminIndividualRequests },\r\n { path: '/admin/individualRequests/:id', exact: true, name: 'Групповые заявки', component: AdminIndividualRequest },\r\n { path: '/admin/registerRequests', exact: true, name: 'Заявки на регистрацию', component: AdminRegisterRequests },\r\n { path: '/admin/registerRequests/:id', exact: true, name: 'Заявка на регистрацию', component: AdminRegisterRequest },\r\n { path: '/admin/tasks/create', exact: true, name: 'Создание задания', component: TaskEditor },\r\n { path: '/admin/tasks/edit/:id', exact: true, name: 'Редактирование задания', component: TaskEditor },\r\n { path: '/admin/tasks', exact: true, name: 'Каталог заданий', component: TaskCatalog },\r\n { path: '/admin/schools', exact: true, name: 'Справочник школ', component: SchoolCatalog },\r\n { path: '/admin/users', exact: true, name: 'Справочник пользователей', component: UsersCatalog },\r\n { path: '/admin/schools/create', exact: true, name: 'Добавление новой школы', component: SchoolCreate },\r\n { path: '/admin/schools/edit/:id', exact: true, name: 'Редактирование школы', component: SchoolCreate },\r\n { path: '/admin/regions', exact: true, name: 'Справочник регионов', component: RegionCatalog },\r\n { path: '/admin/regions/edit/:id', exact: true, name: 'Регион', component: Region },\r\n { path: '/admin/regions/create', exact: true, name: 'Регион', component: Region },\r\n { path: '/admin/regions/districts/edit/:id', exact: true, name: 'Район', component: District },\r\n { path: '/admin/regions/districts/create', exact: true, name: 'Район', component: District },\r\n { path: '/admin/regions/cities/edit/:id', exact: true, name: 'Город', component: City },\r\n { path: '/admin/regions/cities/create', exact: true, name: 'Город', component: City },\r\n { path: '/admin/variants/', exact: true, name: 'Варианты заданий', component: VariantCatalog },\r\n { path: '/admin/variants/edit/:id', exact: true, name: 'Панель редактирования варианта заданий', component: VariantEdit },\r\n { path: '/admin/variants/create', exact: true, name: 'Панель редактирования варианта заданий', component: VariantEdit },\r\n { path: '/admin/variants/preview/:id', exact: true, name: 'Панель редактирования варианта заданий', component: VariantPreview },\r\n { path: '/admin/teacher/variants', exact: true, name: 'Варианты заданий', component: VariantTeacherCatalog },\r\n { path: '/admin/teacher/variants/edit/:id', exact: true, name: 'Панель редактирования варианта заданий', component: VariantEdit },\r\n { path: '/admin/teacher/variants/preview/:id', exact: true, name: 'Панель редактирования варианта заданий', component: VariantPreview },\r\n \r\n { path: '/admin/contests', exact: true, name: 'Конкурсы', component: ContestCatalog },\r\n { path: '/admin/categories/create', exact: true, name: 'Создание категории', component: ContestCategoryCreate },\r\n { path: '/admin/categories/update/:id', exact: true, name: 'Редактирование конкурса', component: ContestCategoryCreate },\r\n { path: '/admin/categories', exact: true, name: 'Категории', component: ContestCategoryCatalog },\r\n { path: '/admin/contests/create', exact: true, name: 'Создание конкурса', component: ContestCreate },\r\n { path: '/admin/contests/createArchive', exact: true, name: 'Создание конкурса', component: ContestCreateArchive },\r\n { path: '/admin/contests/update/:id', exact: true, name: 'Редактирование конкурса', component: ContestCreate },\r\n { path: '/admin/contests/update/:id/archive', exact: true, name: 'Редактирование конкурса', component: ContestCreateArchive },\r\n { path: '/admin/results', exact: true, name: 'Результаты конкурсов', component: AdminResults },\r\n { path: '/admin/notifications', exact: true, name: 'Справочник уведомлений', component: Notifications },\r\n { path: '/admin/notifications/create', exact: true, name: 'Создание уведомления', component: Notification },\r\n { path: '/admin/notifications/:id', exact: true, name: 'Редактирование уведомления', component: Notification },\r\n { path: '/admin/tags', exact: true, name: 'Справочник тегов', component: TagsCatalog },\r\n { path: '/admin/tags/create', exact: true, name: 'Добавление тега', component: TagCreate },\r\n { path: '/admin/tags/:id', exact: true, name: 'Редактирование тега', component: TagCreate },\r\n { path: '/admin/users/coordinator/:id', exact: true, name: 'Страница координатора', component: CoordinatorPage },\r\n { path: '/admin/payments', exact: true, name: 'Страница координатора', component: PaymentCatalog },\r\n { path: '/admin/payments/create', exact: true, name: 'Создание платежа', component: PaymentCreate },\r\n { path: '/admin/payments/update/:id', exact: true, name: 'Создание платежа', component: PaymentCreate },\r\n { path: '/admin/mobileNotifications/create', exact: true, name: 'Создание уведомления', component: MobileNotificationCreate },\r\n { path: '/admin/mobileNotifications/:id', exact: true, name: 'Справочник уведомлений', component: MobileNotificationCatalog },\r\n { path: '/admin/sendingNotifications', exact: true, name: 'Мобильные рассылки', component: SendingNotificationCatalog },\r\n { path: '/admin/user/notifications', exact: true, name: 'Справочник уведомлений', component: UserNotifications },\r\n\r\n { path: '/admin/promos', exact: true, name: 'Справочник промо', component: PromoCatalog },\r\n { path: '/admin/promos/create', exact: true, name: 'Создание промо', component: PromoCreate },\r\n { path: '/admin/promos/:id', exact: true, name: 'Редактирование промо', component: PromoCreate },\r\n\r\n { path: '/admin/dbs', exact: true, name: 'Справочник БД', component: DataBaseCatalog },\r\n { path: '/admin/dbs/create', exact: true, name: 'Создание БД', component: DataBaseCreate },\r\n { path: '/admin/dbs/:id', exact: true, name: 'Редактирование БД', component: DataBaseCreate },\r\n\r\n { path: '/admin/coordinator/requests', exact: true, name: 'Заявки координатора', component: CoordinatorRequestCatalog },\r\n { path: '/admin/coordinator/requests/add', exact: true, name: 'Заявки координатора', component: AdminAddRequests },\r\n { path: '/admin/coordinator/statements', exact: true, name: 'Факты координатора', component: CoordinatorStatementCatalog },\r\n { path: '/admin/coordinator/statements/add', exact: true, name: 'Факты координатора', component: AdminAddStatements },\r\n { path: '/admin/history', exact: true, name: 'История изменений', component: HistoryCatalog },\r\n\r\n /*schoolAdmin*/\r\n { path: '/schoolAdmin/registerRequests', exact: true, name: 'Заявки на регистрацию', component: SchoolAdminRegisterRequest },\r\n { path: '/schoolAdmin/registerRequests/organizer/create', exact: true, name: 'Добавление организатора', component: CreateOrganizer },\r\n { path: '/schoolAdmin/payments', exact: true, name: 'Формирование платежа', component: PaymentsCatalog },\r\n { path: '/additionalMaterials', exact: true, name: 'Дополнительные материалы', component: AdditionalMaterials },\r\n { path: '/schoolAdmin/notifications', exact: true, name: 'Заявки координатора', component: UserNotifications },\r\n\r\n /*player*/\r\n { path: '/player', exact: true, name: 'Плеер заданий', component: Player },\r\n];\r\n\r\nexport default routes;\r\n","import React, { Component } from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport { withRouter } from \"react-router\";\r\nimport { Fetch } from \"../_helpers\";\r\n\r\nclass ErrorHandler extends Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = { errorOccurred: false };\r\n }\r\n\r\n onRouteChanged() {\r\n this.setState ({ errorOccurred: false });\r\n }\r\n\r\n async logError(error) {\r\n await Fetch(`api/utility/log`,\r\n {\r\n method: 'POST',\r\n credentials: 'omit',\r\n headers: { 'Content-Type': 'text/plain' },\r\n body: this.props.location.pathname + '\\n' + error\r\n },\r\n true,\r\n true);\r\n }\r\n\r\n componentDidUpdate(prevProps) {\r\n if (this.props.location !== prevProps.location) {\r\n this.onRouteChanged();\r\n }\r\n }\r\n\r\n componentDidCatch(error, info) {\r\n this.setState({ errorOccurred: true });\r\n this.logError(error);\r\n }\r\n\r\n render() {\r\n return this.state.errorOccurred\r\n ?
\r\n
OOPS..
\r\n { this.setState({ errorOccurred: false }) }} className=\"btn btn-info ml-2\">Go to dashboard\r\n
\r\n : this.props.children;\r\n }\r\n}\r\n\r\nexport default withRouter(ErrorHandler);","export default { \r\n items: [\r\n {\r\n name: \"Мероприятия\",\r\n url: '/student/request',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Результаты\",\r\n url: '/student/results',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Архив результатов\",\r\n url: '/student/archive',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Платежи\",\r\n url: '/student/payments',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Сообщения\",\r\n url: '/student/notifications',\r\n icon: 'icon-speedometer'\r\n },\r\n //{\r\n // name: \"Справка\",\r\n // url: 'https://mathkang.ru/lk-faq',\r\n // icon: 'icon-speedometer',\r\n // class: 'out'\r\n //}\r\n ]\r\n};\r\n","export default { \r\n items: [\r\n {\r\n name: \"Мероприятия\",\r\n url: '/teacher/request',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Результаты\",\r\n url: '/teacher/results',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Профиль\",\r\n url: '/profile',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Дополнительные материалы\",\r\n url: '/additionalMaterials',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Справка\",\r\n url: 'https://mathkang.ru/lk-faq',\r\n icon: 'icon-speedometer',\r\n class: 'out'\r\n },\r\n {\r\n name: \"Сообщения\",\r\n url: '/admin/user/notifications',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n title: true,\r\n name: 'Организаторы',\r\n class: ''\r\n },\r\n {\r\n name: \"Заявки от учителей\",\r\n url: '/schoolAdmin/registerRequests',\r\n icon: 'none'\r\n },\r\n {\r\n title: true,\r\n name: 'Координаторы',\r\n class: ''\r\n },\r\n {\r\n name: \"Заявки\",\r\n url: '/admin/coordinator/requests',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Факт\",\r\n url: '/admin/coordinator/statements',\r\n icon: 'none'\r\n },\r\n {\r\n title: true,\r\n name: 'Админ панель',/***Админка**/\r\n class: ''\r\n },\r\n \r\n {\r\n name: \"Групповые заявки\",\r\n url: '/admin/groupRequests',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Заявки на участие\",\r\n url: '/admin/individualRequests',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Результаты\",\r\n url: '/admin/results',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Заявки от организаторов\",\r\n url: '/admin/registerRequests',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Платежи\",\r\n url: '/admin/payments',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"История изменений\",\r\n url: '/admin/history',\r\n icon: 'none'\r\n },\r\n\r\n {\r\n title: true,\r\n name: 'Справочники',/****Справочники***/\r\n class: ''\r\n },\r\n {\r\n name: \"Базы данных\",\r\n url: '/admin/dbs',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Варианты заданий\",\r\n url: '/admin/variants',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Варианты заданий учителя\",\r\n url: '/admin/teacher/variants',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Задания\",\r\n url: '/admin/tasks',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Категории/серии конкурсов\",\r\n url: '/admin/categories',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Категории для отображения координатору\",\r\n url: '/coordinator/categories',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Конкурсы\",\r\n url: '/admin/contests',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Push-рассылки\",\r\n url: '/admin/sendingNotifications',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Пользователи\",\r\n url: '/admin/users',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Промокоды\",\r\n url: '/admin/promos',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Сообщения в личном кабинете\",\r\n url: '/admin/notifications',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Регионы\",\r\n url: '/admin/regions',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Теги\",\r\n url: '/admin/tags',\r\n icon: 'none'\r\n },\r\n {\r\n name: \"Школы\",\r\n url: '/admin/schools',\r\n icon: 'none'\r\n },\r\n ]\r\n};\r\n","export default { \r\n items: [\r\n {\r\n name: \"Мероприятия\",\r\n url: '/teacher/request',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Результаты\",\r\n url: '/teacher/results',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Архив результатов\",\r\n url: '/teacher/archive',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Профиль\",\r\n url: '/profile',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Дополнительные материалы\",\r\n url: '/additionalMaterials',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Платежи\",\r\n url: '/teacher/payments',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Сообщения\",\r\n url: '/teacher/notifications',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Варианты заданий\",\r\n url: '/teacher/taskVariants',\r\n icon: 'icon-speedometer'\r\n }\r\n ]\r\n};\r\n","export default { \r\n items: [\r\n {\r\n name: \"Мероприятия\",\r\n url: '/coordinator/request',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Заявки\",\r\n url: '/coordinator/requests',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Факт\",\r\n url: '/coordinator/statements',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Платежи\",\r\n url: '/coordinator/payments',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Профиль\",\r\n url: '/profile',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Дополнительные материалы\",\r\n url: '/additionalMaterials',\r\n icon: 'icon-speedometer'\r\n },\r\n {\r\n name: \"Справка\",\r\n url: 'https://mathkang.ru/lk-faq',\r\n icon: 'icon-speedometer',\r\n class: 'out',\r\n attributes: { target: '_blank', rel: \"noopener noreferer\" }\r\n },\r\n {\r\n name: \"Сообщения\",\r\n url: '/coordinator/notifications',\r\n icon: 'icon-speedometer'\r\n }\r\n ]\r\n};\r\n","import React, { Component, Suspense } from 'react';\r\nimport { Redirect, Route, Switch } from 'react-router-dom';\r\nimport { Container, Alert } from 'reactstrap';\r\nimport { isMobile } from \"react-device-detect\";\r\nimport { processApiCall } from \"../../_methods/download\";\r\nimport { notificationsService } from \"../../_services\";\r\n\r\nimport {\r\n AppAside,\r\n AppFooter,\r\n AppHeader,\r\n AppSidebar,\r\n AppSidebarFooter,\r\n AppSidebarForm,\r\n AppSidebarHeader,\r\n AppSidebarMinimizer,\r\n AppSidebarNav,\r\n} from '@coreui/react';\r\n// sidebar nav config\r\nimport navigation from '../../_nav';\r\nimport navigationAdmin from '../../_navAdmin';\r\nimport navigationSchoolAdmin from '../../_navSchoolAdmin';\r\nimport navigationOrganizer from '../../_navOrganizer';\r\nimport navigationCoordinator from '../../_navCoordinator';\r\n// routes config\r\nimport routes from '../../routes';\r\nimport { auth, userService } from \"../../_services\"\r\nimport ErrorHandler from '../../_components/ErrorHandler';\r\nimport { Loader } from '../../_components';\r\nimport { GlobalContext } from \"../../_services/context\";\r\n\r\nconst DefaultAside = React.lazy(() => import('./DefaultAside'));\r\nconst DefaultFooter = React.lazy(() => import('./DefaultFooter'));\r\nconst DefaultHeader = React.lazy(() => import('./DefaultHeader'));\r\n//const navigation = React.lazy(() => import('../../_nav'));\r\n\r\nclass DefaultLayout extends Component {\r\n static contextType = GlobalContext;\r\n constructor(props) {\r\n super(props);\r\n this.isAuth = auth.isAuth();\r\n this.state = {\r\n messages: [],\r\n user: null,\r\n loading: true\r\n };\r\n\r\n this.lastRenderedCompKey = null;\r\n this.lastRenderedCompUKey = null;\r\n }\r\n\r\n lastRenderedCompKey = null;\r\n lastRenderedCompUKey = null;\r\n\r\n loading = () =>
;\r\n loadingR1 = () =>
;\r\n signIn(e) {\r\n e.preventDefault();\r\n this.props.history.push('/register');\r\n }\r\n\r\n signOut(e) {\r\n e.preventDefault();\r\n auth.logout();\r\n this.props.history.push('/login');\r\n }\r\n\r\n callbackAlert = async (alert) => {\r\n if (alert) {\r\n if (Array.isArray(alert)) {\r\n await this.setState({ messages: [alert[0]] });\r\n } else {\r\n let messages = this.state.messages.filter(x => x != undefined);\r\n if (messages.every(x => x.id !== alert.id))\r\n messages.push(alert);\r\n //todo: remove\r\n Array.forEach(messages, x => {\r\n if (x.__proto__ === Object.prototype)\r\n x.view = { value: 2 };\r\n });\r\n await this.setState({ messages });\r\n }\r\n } else {\r\n await this.setState({ messages: [] });\r\n }\r\n }\r\n\r\n async componentDidMount() {\r\n //this.context.clearError();\r\n await processApiCall(userService.getCurrentUser(), this.setData, this.logicError, this.logicError);\r\n userService.currentUser.subscribe(user => {\r\n if (user) {\r\n this.setState({\r\n user,\r\n isAdmin: user.isAdmin,\r\n isSchoolAdmin: user.isSchoolAdmin,\r\n isSchoolOrganizer: user.isSchoolOrganizer,\r\n needFillData: user.needFillData,\r\n isCoordinator: user.isCoordinator,\r\n roleSelected: user.roleSelected\r\n });\r\n localStorage.setItem(\"user\", user.id);\r\n }\r\n });\r\n this.setState({ loading: false });\r\n }\r\n\r\n setData = async(user) => {\r\n if (user)\r\n await this.setState({\r\n user: user,\r\n userId: user.id,\r\n isAdmin: user.isAdmin,\r\n isSchoolAdmin: user.isSchoolAdmin,\r\n isSchoolOrganizer: user.isSchoolOrganizer,\r\n isCoordinator: user.isCoordinator,\r\n needFillData: user.needFillData,\r\n role: user.isAdmin ? 1 : user.isCoordinator ? 2 : user.isSchoolAdmin ? 3 : user.isSchoolOrganizer ? 4 : 5,\r\n showWarningTeacherRequestRequired: user.showWarningTeacherRequestRequired\r\n });\r\n }\r\n\r\n logicError = (error) => {\r\n let messages = this.state.messages;\r\n messages.push(error);\r\n this.setState({ messages: messages });\r\n }\r\n\r\n getNextKey = function(constKey) {\r\n console.log(constKey + \" \" + this.lastRenderedCompKey);\r\n if (this.lastRenderedCompKey == null || constKey !== this.lastRenderedCompKey) {\r\n this.lastRenderedCompKey = constKey;\r\n this.lastRenderedCompUKey = constKey + Date.now();\r\n }\r\n console.log(this.lastRenderedCompUKey);\r\n return this.lastRenderedCompUKey;\r\n };\r\n\r\n closeError = async() => {\r\n //await this.context.clearError();\r\n }\r\n\r\n prepareNav = (nav) => {\r\n Array.forEach(nav.items, x => {\r\n x.attributes = { disabled: !this.state.roleSelected || this.state.needFillData };\r\n });\r\n return nav;\r\n }\r\n\r\n render() {\r\n let { user } = this.state;\r\n let navAdmin = this.prepareNav(navigationAdmin);\r\n let navCoordinator = this.prepareNav(navigationCoordinator);\r\n let navOrganizer = this.prepareNav(navigationOrganizer);\r\n let nav = this.prepareNav(navigation);\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n this.signOut(e)} onSignIn={e => this.signIn(e)} alert={this.callbackAlert}/>\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n {/**/}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n {this.state.messages && this.state.messages.length > 0 && this.state.messages.filter(x => x != undefined).map(message =>\r\n \r\n {message.type && message.type.value !== 10 &&
}\r\n
\r\n
\r\n
{message && message.header && user &&\r\n \r\n Подробнее\r\n \r\n }
\r\n
\r\n \r\n \r\n )}\r\n \r\n {this.context.error && await this.closeError()}>{this.context.error}}\r\n {this.state.needFillData && await this.closeError()}>Пожалуйста, заполните данные вашего профиля по ссылке.\r\n {user.showWarningTeacherRequestRequired && Необходимо отправить заявку на статус Учителя}}\r\n \r\n {routes.map((route, idx) => {\r\n return route.component ? (\r\n (\r\n \r\n \r\n \r\n )} />\r\n )\r\n : '/';\r\n })}\r\n {!this.state.loading && this.state.user\r\n ? (this.state.isSchoolAdmin || this.state.isAdmin || this.state.isSchoolOrganizer)\r\n ? \r\n //: this.state.isCoordinator ? \r\n : this.state.isCoordinator ? \r\n : \r\n : }\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n );\r\n }\r\n}\r\n\r\nexport default DefaultLayout;\r\n","// ReSharper disable once InconsistentNaming\r\nimport React, { Component } from \"react\";\r\nimport { Button } from \"reactstrap\";\r\nimport { Redirect } from \"react-router-dom\";\r\n\r\nexport class ButtonRedirect extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n redirect: false\r\n };\r\n }\r\n \r\n render() {\r\n const { to, children, returnUrl, ...other } = this.props;\r\n return this.state.redirect\r\n ? ()\r\n : ();\r\n }\r\n}\r\nexport default ButtonRedirect;","import React, { Component } from \"react\";\r\nimport { UncontrolledTooltip } from \"reactstrap\";\r\nimport Select, { createFilter } from \"react-select\";\r\n//import 'react-select/dist/react-select.min.css';\r\nimport { ErrorMessage } from 'formik';\r\nimport variables from \"../scss/_variables.scss\";\r\n\r\nconst groupStyles = {\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'space-between',\r\n color: 'grey',\r\n fontSize: '16px'\r\n};\r\n\r\nconst LoadingIndicator = props => {\r\n return (
);\r\n};\r\n\r\nconst formatGroupLabel = (data, isDisabled) => (\r\n
\r\n {data.label}\r\n
\r\n);\r\n\r\nconst colorStyles = {\r\n control: (styles, { isDisabled, isFocused, isSelected }) => ({\r\n ...styles,\r\n backgroundColor: isDisabled ? variables.disabled : variables.white,\r\n border: `solid ${isSelected ? 2 : 1}px ${isSelected ? variables.lightOrange : variables.grey}`,\r\n borderColor: isDisabled\r\n ? null\r\n : isSelected\r\n ? variables.lightOrange\r\n \r\n : variables.grey,\r\n //flex: 1,\r\n boxShadow: /*isSelected || isFocused ?*/ `0 0 0 0.125rem rgba(${variables.orange}, 0.35)`,// : \"none\",\r\n '&:hover': {\r\n borderColor: variables.grey,\r\n },\r\n borderBottomRightRadius: 0,\r\n borderTopRightRadius: 0\r\n }),\r\n container: styles => ({\r\n ...styles,\r\n flex: 1,\r\n \r\n }),\r\n option: (styles, { data, isDisabled, isFocused, isSelected }) => {\r\n const color = data.color;\r\n return {\r\n ...styles,\r\n backgroundColor: isDisabled\r\n ? null\r\n : isSelected\r\n ? variables.orange\r\n : isFocused\r\n ? variables.lightOrange\r\n : null,\r\n color: isDisabled\r\n ? variables.grey\r\n : isSelected\r\n ? variables.white\r\n : variables.black,\r\n fontFamily: \"Geometria\",\r\n cursor: isDisabled ? 'not-allowed' : 'default',\r\n paddingLeft: \"1.5rem\",\r\n ':active': {\r\n ...styles[':active'],\r\n backgroundColor: !isDisabled && (isSelected ? data.color : color),\r\n },\r\n };\r\n },\r\n menu: styles => ({ ...styles, marginTop: 0, zIndex: 10000 }),\r\n //menuList: styles => ({ ...styles, zIndex: 10000 }),\r\n menuPortal: styles => ({ ...styles, zIndex: 10000 }),\r\n input: styles => ({ ...styles }),\r\n placeholder: styles => ({ ...styles }),\r\n singleValue: (styles) => ({ ...styles }),\r\n groupHeading: styles => ({\r\n ...styles,\r\n backgroundColor: variables.grey,\r\n paddingTop: \"0.25rem\",\r\n paddingBottom: \"0.25rem\"\r\n }),\r\n multiValue: styles => ({\r\n ...styles, backgroundColor: variables.orange\r\n }),\r\n multiValueLabel: (styles, { isDisabled }) => ({\r\n ...styles, color: isDisabled ? variables.lightGrey : variables.white, backgroundColor: isDisabled ? variables.disabled : variables.orange\r\n }),\r\n multiValueRemove: (styles, { isDisabled }) => ({\r\n ...styles, display: isDisabled ? \"none\" : \"\", color: variables.white, borderColor: variables.white\r\n })\r\n};\r\n\r\nconst SelectContainer = ({children,...props}) => {\r\n return (\r\n
\r\n {children}\r\n
\r\n );\r\n};\r\n\r\nexport class SelectField extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n isLoading: false\r\n }\r\n }\r\n\r\n \r\n\r\n handleChange = async (value, ...props) => {\r\n const { onChange, name, isMulti, withLoader } = this.props;\r\n if (withLoader)\r\n await this.setState({isLoading: true});\r\n if (isMulti) {\r\n await onChange(name, value);\r\n } else {\r\n await onChange(name, value ? value.value : null);\r\n }\r\n if (withLoader)\r\n await this.setState({ isLoading: false });\r\n };\r\n\r\n handleBlur = async() => {\r\n const { onBlur, name } = this.props;\r\n if (onBlur)\r\n await onBlur(name, true);\r\n };\r\n\r\n formatGroupLabel = (data) => {\r\n return
\r\n {data.label}\r\n {data.options.length}\r\n
;\r\n };\r\n\r\n //filterOption = (option, inputValue, string) => {\r\n // return option.data.label != null ? option.data.label.toLowerCase().includes(inputValue.toLowerCase()) : true;\r\n //};\r\n\r\n filterOption = ({ label, value }, string) => {\r\n if (label && label.toLowerCase().includes(string.toLowerCase()) || (typeof (value) == \"string\") && value.toString().toLowerCase().includes(string.toLowerCase())) return true;\r\n\r\n const groupOptions = this.props.options.filter(group =>\r\n group.label && string && group.label.toLowerCase().includes(string.toLowerCase())\r\n );\r\n\r\n if (groupOptions) {\r\n for (const groupOption of groupOptions) {\r\n if (groupOption.options) {\r\n const option = groupOption.options.find(opt => opt.value === value);\r\n if (option)\r\n return true;\r\n }\r\n }\r\n }\r\n return false;\r\n };\r\n\r\n render() {\r\n const {\r\n id,\r\n name,\r\n placeholder,\r\n options,\r\n value,\r\n isMulti,\r\n isDisabled,\r\n touched,\r\n error,\r\n title,\r\n isClearable,\r\n className,\r\n errors,\r\n backspaceRemovesValue,\r\n menuIsOpen,\r\n openMenuOnClick,\r\n isOptionDisabled,\r\n withLoader,\n components\r\n } = this.props;\r\n\r\n return (\r\n \"Ничего не найдено\"}\r\n menuPortalTarget={document.body}\r\n styles={colorStyles}\r\n isLoading={withLoader ? this.state.isLoading : false}\r\n isOptionDisabled={isOptionDisabled}\r\n filterOption={this.filterOption}\r\n title={title}\r\n //components={{ SelectContainer }}\r\n />\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default SelectField ;\r\n","import React, { Component } from 'react';\r\nimport moment from 'moment'\r\nimport { GetTimeByTimeZoneOrDefault } from \"../_helpers/timeZone\";\r\nimport { Tooltip } from 'reactstrap';\r\n\r\nexport class Timer extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.dateTo = moment.unix(props.dateTo);\r\n this.uniqueId = this.props.id || `timer${props.date}`;\r\n this.timer = '';\r\n this.showPopover = this.showPopover.bind(this);\r\n this.state = {\r\n remainingMilliseconds: '',\r\n isOpen: false\r\n };\r\n }\r\n\r\n componentDidMount() {\r\n this.timer = setInterval(this.updateTime.bind(this), 1000);\r\n }\r\n updateTime() {\r\n this.dateTo = moment.unix(this.props.dateTo);\r\n var newValue = Math.max(this.dateTo.diff(moment()), 0);\r\n\r\n if (newValue === 0) {\r\n this.sendData();\r\n clearInterval(this.state.timer);\r\n }\r\n\r\n this.setState({ remainingMilliseconds: newValue });\r\n }\r\n componentWillUnmount() {\r\n clearInterval(this.timer);\r\n }\r\n formatDate(milliseconds) {\r\n return milliseconds === \"\"\r\n ? !this.props.hideSeconds ? \"00ч 00м 00с\" : \"00м 00с\"\r\n : this.props.cleanTime\r\n ? moment.utc(milliseconds).format(\"HH:mm:ss\")\r\n : !this.props.hideSeconds ? moment.utc(milliseconds).format(\"HH[ч] mm[м] ss[с]\")\r\n : moment.utc(milliseconds).format(\"HH[ч] mm[м]\");\r\n }\r\n sendData = () => {\r\n if (this.props.timerCallback)\r\n this.props.timerCallback();\r\n }\r\n showPopover() {\r\n this.setState({ isOpen: !this.state.isOpen && (this.props.disableTooltip === undefined || this.props.disableTooltip === false)});\r\n }\r\n render() {\r\n return (\r\n \r\n {this.formatDate(this.state.remainingMilliseconds)}\r\n \r\n {this.formatDate(this.state.remainingMilliseconds)}\r\n \r\n \r\n );\r\n }\r\n}\r\nexport class TimeTooltip extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n isOpen: false,\r\n title : props.title\r\n };\r\n this.date = moment.unix(props.date);\r\n this.uniqueId = `start${props.date}`;\r\n this.showPopover = this.showPopover.bind(this);\r\n }\r\n showPopover() {\r\n this.setState({ isOpen: !this.state.isOpen });\r\n }\r\n componentDidUpdate(prevProps) {\r\n if (this.props.title !== prevProps.title) {\r\n this.setState({ title: this.props.title });\r\n }\r\n }\r\n render() {\r\n return (\r\n
\r\n

{this.state.title}

\r\n \r\n {GetTimeByTimeZoneOrDefault(this.date).format('L LT')}\r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default Timer;\r\n","import React from 'react';\r\nimport { Field, ErrorMessage, getIn } from 'formik';\r\n\r\nfunction getClasses(errors, fieldName, classes) {\r\n return `${classes} ${getIn(errors, fieldName) ? \"error-field\" : \"\"}`;\r\n}\r\n\r\nexport function FieldValidation({ id, name, type, placeholder, className, errors, disabled, component, defaultValue, onBlur, onChange, autocomplete, title }) {\r\n \r\n return \r\n {onChange ? :\r\n }\r\n \r\n ;\r\n}\r\n\r\nexport default FieldValidation;\r\n","import React from 'react';\r\nimport 'react-dropzone-uploader/dist/styles.css';\r\nimport Dropzone from 'react-dropzone-uploader';\r\nimport { auth } from \"../_services\";\r\n\r\nexport function ImageUploader({setImageCallback, elementId, image, disabled, errors}) {\r\n let toast = (innerHtml) => {\r\n let el = document.getElementById(elementId);\r\n el.innerHTML = innerHtml;\r\n el.className = 'show';\r\n setTimeout(() => { el.className = el.className.replace('show', '') }, 3000);\r\n }\r\n\r\n const getUploadParams = async ({ file }) => {\r\n\r\n const token = await auth.getAccessToken();\r\n \r\n const body = new FormData();\r\n body.append('image', file);\r\n body.append('type', 'normal');\r\n const headers = { \"Authorization\": `Bearer ${token}`}\r\n return await { url: '/api/tasks/uploadImage', headers, body };\r\n }\r\n\r\n const handleChangeStatus = async ({ meta, remove, xhr }, status) => {\r\n if (status === 'done') {\r\n let response = await JSON.parse(xhr.response);\r\n toast(`Для выбора другого изображения кликните по картинке`);\r\n await setImageCallback(new URL(response.data.url, window.location.protocol + \"//\" + window.location.host /*\"http://mathkangtest.aplusteam.biz/\" todo: for local tests*/).href);\r\n remove();\r\n } else if (status === 'headers_received') {\r\n toast(`Идет загрузка...`);\r\n remove();\r\n } else if (status === 'aborted') {\r\n toast(`${meta.name}, загрузка завершилась с ошибкой...`);\r\n }\r\n }\r\n\r\n const inputStyles = image ? {\r\n background: `url(${image}) center center / contain no-repeat`,\r\n height: \"100%\",\r\n width: \"-webkit-fill-available\"\r\n } : null;\r\n\r\n return (\r\n \r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default ImageUploader;\r\n","import React, {useRef} from 'react';\r\nimport 'react-dropzone-uploader/dist/styles.css';\r\nimport Dropzone from 'react-dropzone-uploader';\r\nimport { auth } from \"../_services\";\r\nimport { PDFReader, MobilePDFReader } from 'reactjs-pdf-reader';\r\nimport { isMobileOnly } from \"react-device-detect\";\r\n\r\nexport function PdfUploader({ setImageCallback, elementId, pdfLink, disabled, isCertificate, contestId }) {\r\n let toast = (innerHtml) => {\r\n let el = document.getElementById(elementId);\r\n el.innerHTML = innerHtml;\r\n el.className = 'show';\r\n setTimeout(() => { el.className = el.className.replace('show', '') }, 3000);\r\n }\r\n const getUploadParams = async ({ file }) => {\r\n const token = await auth.getAccessToken();\r\n const body = new FormData();\r\n body.append('file', file);\r\n body.append('type', 'normal');\r\n const headers = { \"Authorization\": `Bearer ${token}`}\r\n return await { url: isCertificate ? `/api/contests/${contestId}/uploadCertificateTemplate` : `/api/contests/${contestId}/uploadDiplomaTemplate`, headers, body };\r\n }\r\n\r\n const handleChangeStatus = async ({ meta, remove, xhr }, status) => {\r\n if (status === 'done') {\r\n let response = await JSON.parse(xhr.response);\r\n //toast(`Для выбора другого документа кликните по картинке`);\r\n await setImageCallback(new URL(response.data.url, window.location.protocol + \"//\" + window.location.host).href);\r\n remove();\r\n } else if (status === 'headers_received') {\r\n //toast(`Идет загрузка...`);\r\n remove();\r\n } else if (status === 'aborted') {\r\n //toast(`${meta.name}, загрузка завершилась с ошибкой...`);\r\n }\r\n }\r\n\r\n const inputStyles = pdfLink ? {\r\n height: \"100%\",\r\n width: \"-webkit-fill-available\"\r\n } : null;\r\n\r\n const pdfWidth = window.innerWidth * 0.85;\r\n\r\n return (\r\n \r\n \r\n \r\n {({ getRootProps, getInputProps }) => (\r\n \r\n
\r\n \r\n
\r\n
\r\n )}\r\n \r\n \r\n {isMobileOnly ? pdfLink &&
:\n }\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default PdfUploader;\r\n","import React, { Component } from \"react\";\r\nimport ReactDOM from 'react-dom';\r\nimport { Row, Col, ButtonDropdown, DropdownItem, Label, DropdownMenu, DropdownToggle, InputGroupAddon, InputGroup, FormGroup } from 'reactstrap';\r\nimport { SelectCreatable, CalmButton, DebouncedField, SelectField } from \"../_components\";\r\nimport { taskService, tagService } from \"../_services\";\r\n\r\nconst helpersTypeData = [\r\n {label: \"Все\", value: 1},\r\n {label: \"C подсказками\", value: 2},\r\n {label: \"Без подсказок\", value: 3},\r\n];\r\n\r\nexport class SearchTableField extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n showDropdownText: false,\r\n showTagsContains: false,\r\n showTagsNotContains: false,\r\n tagsContainsText: \"Все\",\r\n tagsNotContainsText: \"Все\",\r\n tagsAllNotContains: true,\r\n tagsAllContains: true,\r\n searchText: '',\r\n searchTagsContainsValues: [],\r\n searchTagsNotContainsValues: [],\r\n tags: [],\r\n additionalTags: [],\r\n removedTags: [],\r\n helpersType: helpersTypeData[0]\r\n }\r\n\r\n this.searchTasks = this.searchTasks.bind(this);\r\n }\r\n\r\n async componentDidMount() {\r\n let tags = await taskService.getAllTags();\r\n if (!this.props.fromVariant) {\r\n let searchData = localStorage.getItem('searchData');\r\n if (searchData) {\r\n searchData = JSON.parse(searchData);\r\n await this.setState({\r\n //searchText: searchData.text,\r\n searchTagsContainsValues: searchData.tagsContains,\r\n searchTagsNotContainsValues: searchData.tagsNotContains,\r\n tagsContainsText: searchData.tagsAllContains ? \"Все\" : \"Любой из\",\r\n tagsNotContainsText: searchData.tagsAllNotContains ? \"Все\" : \"Любой из\",\r\n tagsAllContains: searchData.tagsAllContains,\r\n tagsAllNotContains: searchData.tagsAllNotContains,\r\n helpersType: helpersTypeData.find(x => x.value == searchData.withHelper)\r\n });\r\n }\r\n \r\n if (tags && tags.data)\r\n this.setState({\r\n tags: tags.data,\r\n searchTagsNotContainsValues: tags.data.filter(t => this.state.searchTagsNotContainsValues &&\r\n this.state.searchTagsNotContainsValues.includes(t.value)),\r\n searchTagsContainsValues: tags.data.filter(t => this.state.searchTagsContainsValues &&\r\n this.state.searchTagsContainsValues.includes(t.value))\r\n });\r\n this.props.addTag(this.addNewTag);\r\n this.props.clearActiveTags(() => this.clearFilters(true));\r\n this.searchTasks();\r\n } else {\r\n if (tags && tags.data)\r\n this.setState({tags: tags.data});\r\n }\r\n }\r\n\r\n addNewTag = async(newTag) => {\r\n const tags = this.state.searchTagsContainsValues;\r\n if (tags.length === 0 || tags.find(x => x.value === newTag.value)) {\r\n tags.push(newTag);\r\n await this.setState({ searchTagsContainsValues: tags });\r\n }\r\n }\r\n\r\n updateTags = async() => {\r\n await this.setState({ additionalTags: [], removedTags: [] });\r\n }\r\n\r\n getValue(id) {\r\n return ReactDOM.findDOMNode(id).value;\r\n }\r\n\r\n setValue(id, value) {\r\n ReactDOM.findDOMNode(id).value = value;\r\n }\r\n\r\n searchTasks = async (searchText) => {\r\n const text = document.getElementById(\"searchText\");\r\n const searchModel = {\r\n text: searchText ? searchText : text && text.value ? text.value.split(' ').join('%') : null,\r\n tagsContains: this.state.searchTagsContainsValues\r\n ? this.state.searchTagsContainsValues.filter(x => x != null).map(x => x.value ? x.value : x)\r\n : [],\r\n tagsNotContains: this.state.searchTagsNotContainsValues\r\n ? this.state.searchTagsNotContainsValues.filter(x => x != null).map(x => x.value ? x.value : x)\r\n : [],\r\n tagsAllNotContains: this.state.tagsAllNotContains,\r\n tagsAllContains: this.state.tagsAllContains,\r\n helpersType: this.state.helpersType && this.state.helpersType.value\r\n ? this.state.helpersType.value\r\n : this.state.helpersType\r\n };\r\n\r\n localStorage.setItem('searchData', JSON.stringify(searchModel));\r\n return await this.props.searchCallback(searchModel, this.props.isFirstLoad ? this.props.pageItem : 1, 10);\r\n }\r\n\r\n toggleText = () => {\r\n this.setState({\r\n showDropdownText: !this.state.showDropdownText\r\n });\r\n }\r\n\r\n toggleTagsContains = () => {\r\n this.setState({\r\n showTagsContains: !this.state.showTagsContains\r\n });\r\n }\r\n\r\n toggleTagsNotContains = () => {\r\n this.setState({\r\n showTagsNotContains: !this.state.showTagsNotContains\r\n });\r\n }\r\n\r\n checkAll = (e) => {\r\n\r\n }\r\n\r\n clearFilters = async (fullClear = false) => {\r\n if (fullClear) {\r\n let searchInputText = document.getElementById(\"searchText\");\r\n if (searchInputText)\r\n searchInputText.value = null;\r\n await this.setState({\r\n showDropdownText: false,\r\n showTagsContains: false,\r\n showTagsNotContains: false,\r\n tagsContainsText: \"Все\",\r\n tagsNotContainsText: \"Все\",\r\n tagsAllNotContains: true,\r\n tagsAllContains: true,\r\n searchText: '',\r\n searchTagsContainsValues: [],\r\n searchTagsNotContainsValues: [],\r\n additionalTags: [],\r\n removedTags: [],\r\n helpersType: helpersTypeData[0],\r\n tagsContains: [],\r\n tagsNotContains: []\r\n });\r\n localStorage.removeItem(\"searchData\");\r\n await this.props.clearCallback(false, true);\r\n } else\r\n await this.props.clearCallback(true);\r\n }\r\n\r\n createNewTag = async (label) => {\r\n const model = {label}\r\n let newTag = await tagService.createTag(JSON.stringify(model));\r\n if (newTag.error) {\r\n //todo: \r\n } else {\r\n return newTag;\r\n }\r\n }\r\n\r\n updateTagList = (newOption) => {\r\n this.setState({ searchTagsContainsValues: newOption });\r\n }\r\n\r\n updateTagList = (tags) => {\r\n this.setState({ tags });\r\n }\r\n\r\n\r\n render() {\r\n const { isBlockCreate } = this.props;\r\n \r\n return (\r\n \r\n \r\n \r\n \r\n { this.props.checkCallback() }}>Выбрать все{isBlockCreate && }\r\n {/* { await this.searchTasks() }}>Применить фильтры*/}\r\n await this.clearFilters(true)}>Очистить фильтры\r\n \r\n {!isBlockCreate && window.location.href = \"/#/admin/tasks/create\"}>Добавить задание}\r\n \r\n \r\n \r\n \r\n {\r\n await this.setState({ helpersType: helpersTypeData.find(x => x.value === value) });\r\n await this.searchTasks();\r\n }}\r\n isClearable={false}\r\n backspaceRemovesValue={false}\r\n createOption={this.createNewTag}\r\n withLoader={true}\r\n />\r\n\r\n \r\n {(this.props.showFilters || !this.props.showFilters && isBlockCreate) ? \r\n {\r\n await this.searchTasks(text);\r\n await this.setState({ searchText: text });\r\n }}/>\r\n : !isBlockCreate && \r\n {\r\n await this.props.changeTagsCallback(this.state.additionalTags, this.state.removedTags);\r\n await this.props.clearCallback(false);\r\n await this.updateTags();\r\n }}>Применить теги\r\n \r\n }\r\n \r\n \r\n {(this.props.showFilters || !this.props.showFilters && isBlockCreate) ? \r\n \r\n \r\n {\r\n await this.clearFilters();\r\n await this.setState({ searchTagsContainsValues: value });\r\n await this.searchTasks();\r\n }}\r\n onBlur={() => { }}\r\n isClearable={true}\r\n backspaceRemovesValue={false}\r\n createOption={this.createNewTag}\r\n withLoader={true}\r\n updateOptions={this.updateTagList}\r\n />\r\n\r\n \r\n { this.toggleTagsContains() }}>\r\n \r\n {this.state.tagsContainsText}\r\n \r\n \r\n {\r\n await this.setState({ tagsContainsText: \"Все\", tagsAllContains: true });\r\n //this.searchTasks(\"searchTagsContains\", 2);\r\n await this.searchTasks();\r\n }}>Все\r\n {\r\n await this.setState({ tagsContainsText: \"Любой из\", tagsAllContains: false });\r\n await this.searchTasks();\r\n }}>Любой из\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n await this.clearFilters();\r\n await this.setState({ searchTagsNotContainsValues: value });\r\n await this.searchTasks();\r\n }}\r\n onBlur={() => { }}\r\n isClearable={true}\r\n backspaceRemovesValue={false}\r\n createOption={this.createNewTag}\r\n withLoader={true}\r\n updateOptions={this.updateTagList}\r\n />\r\n \r\n { this.toggleTagsNotContains() }}>\r\n \r\n {this.state.tagsNotContainsText}\r\n \r\n \r\n {\r\n await this.setState({ tagsNotContainsText: \"Все\", tagsAllNotContains: true });\r\n await this.searchTasks();\r\n }}>Все теги\r\n {\r\n await this.setState({ tagsNotContainsText: \"Любой из\", tagsAllNotContains: false });\r\n await this.searchTasks();\r\n }}>Любой из\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n : !isBlockCreate && \r\n \r\n {\r\n await this.setState({ additionalTags: value });\r\n }}\r\n onBlur={() => { }}\r\n isClearable={true}\r\n backspaceRemovesValue={false}\r\n createOption={this.createNewTag}\r\n withLoader={true}\r\n updateOptions={this.updateTagList}\r\n />\r\n \r\n \r\n {\r\n await this.setState({ removedTags: value });\r\n }}\r\n onBlur={() => { }}\r\n isClearable={true}\r\n backspaceRemovesValue={false}\r\n //createOption={this.createNewTag}\r\n withLoader={true}\r\n //updateOptions={this.updateTagList}\r\n />\r\n \r\n \r\n }\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default SearchTableField;\r\n","import React from \"react\";\r\nimport { Col } from 'reactstrap';\r\n\r\n\r\nexport function ToolbarTable ({props}) {\r\n return (\r\n \r\n \r\n { props.components.searchPanel }\r\n \r\n \r\n );\r\n}\r\n\r\nexport default ToolbarTable;\r\n","import React, { useState } from 'react';\r\nimport ReactQuill from 'react-quill';\r\nimport 'quill/dist/quill.snow.css';\r\nimport { useDebouncedCallback } from 'use-debounce';\r\n\r\nexport function DebouncedEditor({ defaultValue, setFieldValue, modules, setStateCallback, name, timeout = 1000}) {\r\n const [taskText, setValue] = useState(defaultValue);\r\n const debounced = useDebouncedCallback(\r\n async (taskText) => {\r\n await setValue(taskText);\r\n await setStateCallback(taskText);\r\n },\r\n timeout\r\n );\r\n return ( \r\n {\r\n await debounced.callback(text);\r\n await setFieldValue(`${name}`, text);\r\n }} modules={modules} />\r\n
Редактор поддерживает Latex формулы, укажите в тексте $$ текст формулы $$
\r\n
Для вставки неформатированного текста используйте Ctrl+Shift+V
\r\n
\r\n );\r\n}\r\n\r\nexport default DebouncedEditor;\r\n","import React, { Component } from \"react\";\r\nimport Creatable from 'react-select/creatable';\r\n//import 'react-select/dist/react-select.min.css';\r\nimport { ErrorMessage } from 'formik';\r\n//import Creatable from 'react-select';\r\nimport variables from \"../scss/_variables.scss\";\r\n\r\nconst LoadingIndicator = props => {\r\n return (\r\n
\r\n );\r\n};\r\n\r\nconst colorStyles = {\r\n control: (styles, { isDisabled, isFocused, isSelected }) => ({\r\n ...styles,\r\n backgroundColor: variables.white,\r\n border: `solid ${isSelected ? 2 : 1}px ${isSelected ? variables.lightOrange : variables.grey}`,\r\n borderColor: isDisabled\r\n ? null\r\n : isSelected\r\n ? variables.lightOrange\r\n : variables.grey,\r\n flex: 1,\r\n boxShadow: /*isSelected || isFocused ?*/ `0 0 0 0.125rem rgba(${variables.orange}, 0.35)`,// : \"none\",\r\n '&:hover': {\r\n borderColor: variables.grey,\r\n },\r\n borderBottomRightRadius: 0,\r\n borderTopRightRadius: 0,\r\n }),\r\n option: (styles, { data, isDisabled, isFocused, isSelected}) => {\r\n const color = data.color;\r\n return {\r\n ...styles,\r\n backgroundColor: isDisabled\r\n ? null\r\n : isSelected\r\n ? variables.orange\r\n : isFocused\r\n ? variables.lightOrange\r\n : null,\r\n color: isDisabled\r\n ? variables.grey\r\n : isSelected\r\n ? variables.white\r\n : variables.black,\r\n fontFamily: \"Geometria\",\r\n cursor: isDisabled ? 'not-allowed' : 'default',\r\n\r\n ':active': {\r\n ...styles[':active'],\r\n backgroundColor: !isDisabled && (isSelected ? data.color : color),\r\n },\r\n };\r\n },\r\n menu: styles => ({ ...styles, marginTop: 0 }),\r\n input: styles => ({ ...styles }),\r\n placeholder: styles => ({ ...styles }),\r\n singleValue: (styles) => ({ ...styles }),\r\n container: styles => ({ ...styles, flex: 1 }),\r\n multiValue: styles => ({\r\n ...styles, backgroundColor: variables.orange\r\n }),\r\n multiValueLabel: styles => ({\r\n ...styles, color: variables.white\r\n }),\r\n multiValueRemove: styles => ({\r\n ...styles, backgroundColor: variables.orange, color: variables.white, borderColor: variables.white\r\n })\r\n};\r\n\r\nexport class SelectCreatable extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n isLoading: false\r\n }\r\n }\r\n\r\n handleChange = async (value, ...props) => {\r\n const { onChange, name, isMulti, withLoader } = this.props;\r\n \r\n if (withLoader)\r\n await this.setState({ isLoading: true });\r\n if (isMulti) {\r\n await onChange(name, value);\r\n } else {\r\n await onChange(name, value ? value.value : null);\r\n }\r\n if (withLoader)\r\n await this.setState({ isLoading: false });\r\n };\r\n\r\n createOption = async(inputLabel) => {\r\n let newOption = await this.props.createOption(inputLabel);\r\n if (newOption.data)\r\n return { label: newOption.data.label, value: newOption.data.value};\r\n }\r\n\r\n handleCreate = async(event) => {\r\n let { value, isMulti } = this.props;\r\n if (event.keyCode === 13) {\r\n this.setState({ isLoading: true });\r\n let labelValue = event.target.defaultValue;\r\n const newOption = await this.createOption(labelValue);\r\n setTimeout(async() => {\r\n const { options } = this.props;\r\n //const newOption = await this.createOption(labelValue);\r\n if (isMulti)\r\n value.push(newOption);\r\n else\r\n value = newOption;\r\n await this.handleChange(value);\r\n await this.setState({\r\n isLoading: false,\r\n options: [...options, newOption],\r\n value: newOption,\r\n });\r\n this.props.updateOptions(this.state.options);\r\n },\r\n 1000);\r\n }\r\n };\r\n\r\n handleClickCreate = async(event) => {\r\n let { value, isMulti } = this.props;\r\n this.setState({ isLoading: true });\r\n const newOption = await this.createOption(event);\r\n setTimeout(async() => {\r\n const { options } = this.props;\r\n //const newOption = await this.createOption(event);\r\n if (isMulti)\r\n value.push(newOption);\r\n else\r\n value = newOption;\r\n await this.handleChange(value); \r\n await this.setState({\r\n isLoading: false,\r\n options: [...options, newOption],\r\n value: newOption,\r\n });\r\n this.props.updateOptions(this.state.options);\r\n },\r\n 1000);\r\n };\r\n\r\n handleBlur = () => {\r\n const { onBlur, name } = this.props;\r\n onBlur(name, true);\r\n };\r\n\r\n labelCreate = (label) => {\r\n return `Добавить \"${label}\"`;\r\n }\r\n\r\n render() {\r\n const {\r\n id,\r\n name,\r\n placeholder,\r\n options,\r\n value,\r\n isMulti,\r\n isDisabled,\r\n touched,\r\n error,\r\n isClearable,\r\n backspaceRemovesValue,\r\n menuIsOpen,\r\n openMenuOnClick\r\n } = this.props;\r\n\r\n const { isLoading } = this.state;\r\n return (\r\n null, IndicatorSeparator: () => null, LoadingIndicator }}\r\n styles={colorStyles}\r />\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default SelectCreatable;\n","import React, { Component } from 'react';\r\nimport { Modal } from 'reactstrap';\r\nimport { GlobalContext } from \"../_services/context\";\r\n\r\nexport class Loader extends Component {\r\n static contextType = GlobalContext;\r\n\r\n constructor(props) {\r\n super(props);\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default Loader;\r\n","import React, { useState } from 'react';\r\nimport { CalmButton, Loader } from \"./\"\r\nimport { confirmAlert } from 'react-confirm-alert'; // Import\r\nimport 'react-confirm-alert/src/react-confirm-alert.css'; // Import css\r\n\r\nexport function ConfirmDialog({ confirm, cancel, title, name, isDelete, isTest }) {\r\n const [submitting, setSubmitting] = useState(false);\r\n return {confirmAlert({\r\n customUI: ({ onClose }) => {\r\n return (\r\n
\r\n

{title}

\r\n
\r\n

Вы действительно хотите {isTest ? \"подтвердить\" : isDelete ? \"удалить\" : \"принять\"} {name}?

\r\n \r\n {\r\n setSubmitting(true);\r\n await confirm();\r\n await onClose();\r\n await cancel();\r\n setSubmitting(false);\r\n }}\r\n >Подтвердить\r\n {\r\n await onClose();\r\n await cancel();\r\n }}>Нет\r\n \r\n
\r\n );\r\n },\r\n closeOnEscape: false,\r\n closeOnClickOutside: false\r\n //onClickOutside: async () => { await cancel(); },\r\n //onKeypressEscape: async() => { await cancel() }\r\n })}
;\r\n\r\n}\r\n\r\nexport default ConfirmDialog;\r\n","import React, { Component } from 'react';\r\nimport { Modal, ModalBody, ModalFooter } from 'reactstrap';\r\nimport { GlobalContext } from \"../_services\";\r\nimport { CalmButton } from \"./CalmButton\";\r\n\r\nexport class ModalError extends Component {\r\n static contextType = GlobalContext;\r\n\r\n constructor(props) {\r\n super(props);\r\n\r\n this.state = {\r\n readonly: false,\r\n };\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n \r\n
\r\n \r\n \r\n {\r\n let returnUrl = this.context.errorModal.returnUrl;\r\n this.props.action();\r\n this.context.hideModalError();\r\n if (returnUrl)\r\n window.location.href = returnUrl;\r\n }}>OK\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default ModalError;\r\n","import React, { useState, useRef, useEffect } from 'react';\r\nimport { Input, InputGroup, InputGroupAddon } from \"reactstrap\";\r\nimport { Field, ErrorMessage } from \"formik\";\r\nimport { useDebouncedCallback } from 'use-debounce';\r\n\r\nexport function DebouncedField({ defaultValue, setStateCallback, name, placeholder, withValidate, type, setFormikFieldValue, classes}) {\r\n const [fieldName, setValue] = useState(name);\r\n const [fieldValue, setFieldValue] = useState(defaultValue);\r\n const [showLoader, setShowLoader] = useState(false);\r\n const debounced = useDebouncedCallback(\r\n async (text) => {\r\n await setValue(fieldName, text);\r\n await setShowLoader(true);\r\n await setStateCallback(text);\r\n await setFieldValue(fieldValue, text);\r\n await setShowLoader(false);\r\n },\r\n 1000\r\n );\r\n return (\r\n \r\n {withValidate ? {\r\n debounced.callback(text.currentTarget.value);\r\n if (setFormikFieldValue)\r\n setFormikFieldValue(name, text.currentTarget.value);\r\n }} placeholder={placeholder} className={`${showLoader ? \"search-focused\" : \"\"} form-control ${classes}`} />\r\n : {\r\n debounced.callback(text.currentTarget.value);\r\n setValue(name, text.currentTarget.value);\r\n }} placeholder={placeholder} className={`${showLoader ? \"search-focused\" : \"\"} form-control ${classes}`} />\r\n }\r\n \r\n {showLoader &&
}\r\n \r\n \r\n {withValidate && }\r\n \r\n );\r\n}\r\n\r\nexport default DebouncedField;\r\n","import React from 'react';\r\n\r\nexport const Header = (props) => {\r\n return (\r\n
\r\n \r\n \r\n \r\n {props.props.classes.map((c, i) => )}\r\n \r\n {}\r\n \r\n \r\n \r\n \r\n {props.props.classes.map(c => )}\r\n \r\n {}\r\n \r\n \r\n
Школа/Класс{c}ИтогоОплачено за
\r\n
\r\n );\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Cell } from \"./\";\r\n\r\nexport class Row extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n currentRow: this.props.rowData,\r\n rowChanged: false,\r\n isFirst: true\r\n }\r\n this.cellIndex = 0;\r\n }\r\n\r\n componentDidMount() {\r\n this.props.getRowCallback(this.state.currentRow);\r\n }\r\n\r\n async componentDidUpdate(prevProps, prevState) {\r\n if (this.props.rowData && (this.props.rowData != prevProps.rowData || this.state.isFirst) || prevState.rowChanged != this.state.rowChanged /*|| this.props.filtersIsClean != prevProps.filtersIsClean && this.props.filtersIsClean*/) {\r\n if (!this.props.rowData.isRegionGroupItem) {\r\n this.props.updateRowTotalCallback(this.props.rowData.school.id);\r\n }\r\n await this.setState({ currentRow: this.props.rowData, isFirst: false });\r\n }\r\n }\r\n\r\n shouldComponentUpdate(prevProps, prevState) {\r\n return this.props.rowData != prevProps.rowData || this.state.isFirst || this.props.rowData && this.props.rowData.isRegionGroupItem || prevState.rowChanged != this.state.rowChanged;\r\n }\r\n\r\n render() {\r\n let { rowData, props, index, updateTotalCallback, updateRowTotalCallback, removeSchoolCallback, disabled, totalRow, updateRows } = this.props;\r\n let { currentRow } = this.state;\r\n return (\r\n currentRow\r\n ? !currentRow.isRegionGroupItem\r\n ? \r\n \r\n {[...Array(currentRow.participants.length)].map((p, i) => {\r\n if (props.classes.includes(i + 1)) {\r\n return {\r\n await this.setState({ rowChanged: !this.state.rowChanged });\r\n await updateRowTotalCallback(rowData.school.id);\r\n await updateTotalCallback();\r\n //await updateRows();\r\n }}\r\n props={props}\r\n disabled={disabled}\r\n />;\r\n } else return ;\r\n })}\r\n \r\n \r\n \r\n : \r\n \r\n \r\n : Нет данных\r\n );\r\n }\r\n}\r\n\r\n","import React, { useState, useContext, useEffect } from 'react';\r\nimport { Input, ButtonDropdown, DropdownToggle, DropdownItem, DropdownMenu } from 'reactstrap';\r\nimport { GlobalContext } from \"../../_services\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { faAngleUp, faAngleDown } from '@fortawesome/free-solid-svg-icons'\r\n\r\nconst setInputFocus = (el, thisEl, isEdit = false, isLast = false, codeSchool) => {\r\n if (thisEl && el) {\r\n if (el.hasAttribute(\"readonly\"))\r\n el.removeAttribute(\"readonly\");\r\n if (isLast) {\r\n let node = document.getElementById(`request-total_${codeSchool}`);\r\n node && node.scrollIntoView({ block: \"end\", behavior: 'smooth' });\r\n }\r\n el.focus();\r\n thisEl = null;\r\n } else {\r\n if (thisEl && !isEdit)\r\n thisEl.setAttribute(\"readonly\", \"readonly\");\r\n }\r\n}\r\n\r\nconst onKeyUp = async (e, cellIndex, index, row, cellIndexTable, props, updateRow, setValue) => {\r\n let elements = document.getElementsByClassName(\"request-class-input\");\r\n let maxGrade = Math.max.apply(null, props.classes);\r\n elements = Object.values(elements);\r\n if (elements.length > 0) {\r\n let thisEl = null;\r\n let nextEl = null;\r\n switch (e.keyCode) {\r\n case 39: //\"ArrowRight\"\r\n {\r\n let el = elements.find(elem => elem.attributes.rowindex.value == index && (elem.attributes.cellindex.value == cellIndex));\r\n thisEl = el ? el : thisEl;\r\n let nEl = elements.find(elem => elem.attributes.rowindex.value == index && (elem.attributes.cellindex.value == cellIndex + 1));\r\n nextEl = nEl ? nEl : nextEl;\r\n if (nextEl) {\r\n setInputFocus(nextEl, thisEl, false, (cellIndexTable + 1) === maxGrade, row.codeSchool);\r\n }\r\n break;\r\n }\r\n case 37: //\"ArrowLeft\" \r\n {\r\n let el = elements.find(elem => elem.attributes.rowindex.value == index && (elem.attributes.cellindex.value == cellIndex));\r\n thisEl = el ? el : thisEl;\r\n let nEl = elements.find(elem => elem.attributes.rowindex.value == index && (elem.attributes.cellindex.value == cellIndex - 1));\r\n nextEl = nEl ? nEl : nextEl;\r\n if (nextEl)\r\n setInputFocus(nextEl, thisEl, false, (cellIndexTable + 1) === maxGrade, row.codeSchool);\r\n break;\r\n }\r\n case 40: //\"ArrowDown\"\r\n {\r\n let el = elements.find(elem => elem.attributes.rowindex.value == index && (elem.attributes.cellindex.value == cellIndex));\r\n thisEl = el ? el : thisEl;\r\n let nEl = elements.find(elem => (elem.attributes.rowindex.value == index + 1) && elem.attributes.cellindex.value == cellIndex);\r\n nextEl = nEl ? nEl : nextEl;\r\n if (!nextEl) {\r\n nEl = elements.find(elem => (elem.attributes.rowindex.value == index + 2) && elem.attributes.cellindex.value == cellIndex);\r\n nextEl = nEl ? nEl : nextEl;\r\n }\r\n if (nextEl)\r\n setInputFocus(nextEl, thisEl, false, (cellIndexTable + 1) === maxGrade, row.codeSchool);\r\n break;\r\n }\r\n case 38: //\"ArrowUp\"\r\n {\r\n let el = elements.find(elem => elem.attributes.rowindex.value == index && (elem.attributes.cellindex.value == cellIndex));\r\n thisEl = el ? el : thisEl;\r\n let nEl = elements.find(elem => (elem.attributes.rowindex.value == index - 1) && elem.attributes.cellindex.value == cellIndex);\r\n nextEl = nEl ? nEl : nextEl;\r\n if (!nextEl) {\r\n nEl = elements.find(elem => (elem.attributes.rowindex.value == index - 2) && elem.attributes.cellindex.value == cellIndex);\r\n nextEl = nEl ? nEl : nextEl;\r\n }\r\n if (nextEl)\r\n setInputFocus(nextEl, thisEl, false, (cellIndexTable + 1) === maxGrade, row.codeSchool);\r\n break;\r\n }\r\n case 13: //\"Enter\"\r\n {\r\n let isEdit = false;\r\n let el = elements.find(elem => (elem.attributes.rowindex.value == index && elem.attributes.cellindex.value == cellIndex));\r\n thisEl = el ? el : thisEl;\r\n let nEl = elements.find(elem => elem.attributes.rowindex.value == index && (elem.attributes.cellindex.value == cellIndex + 1) && !elem.disabled);\r\n nextEl = nEl ? nEl : nextEl;\r\n if (thisEl && thisEl.hasAttribute(\"readonly\")) {\r\n thisEl.removeAttribute(\"readonly\");\r\n isEdit = true;\r\n }\r\n if (nextEl)\r\n setInputFocus(nextEl, thisEl, isEdit, (cellIndexTable + 1) === maxGrade, row.codeSchool);\r\n else {\r\n let focusIndex = 0;\r\n for (let k = 0; k <= 2; k++) {\r\n for (let y = k == 0 ? 1 : 0; y < 11; y++) {\r\n nEl = elements.find(elem => (elem.attributes.rowindex.value == index + k) && elem.attributes.cellindexTable.value == ((k != 0 ? 0 : cellIndexTable) + y) && !elem.disabled);\r\n if (nEl) {\r\n focusIndex = y;\r\n break;\r\n }\r\n }\r\n if (nEl)\r\n break;\r\n }\r\n nextEl = nEl ? nEl : nextEl;\r\n setInputFocus(nextEl, thisEl, isEdit, (cellIndexTable + focusIndex) === maxGrade, row.codeSchool);\r\n }\r\n break;\r\n }\r\n case 9: //\"Tab\"\r\n {\r\n let el = elements.find(elem => elem.attributes.rowindex.value == index && (elem.attributes.cellindex.value == cellIndex));\r\n thisEl = el ? el : thisEl;\r\n let nEl = elements.find(elem => elem.attributes.rowindex.value == index && (elem.attributes.cellindex.value == (cellIndex + 1)) && !elem.disabled);\r\n nextEl = nEl ? nEl : nextEl;\r\n if (nextEl)\r\n setInputFocus(nextEl, thisEl, false, (cellIndexTable + 1) === maxGrade, row.codeSchool);\r\n else {\r\n let focusIndex = 0;\r\n for (let k = 0; k <= 2; k++) {\r\n for (let y = k == 0 ? 1 : 0; y < 11; y++) {\r\n nEl = elements.find(elem => {\r\n if (elem.attributes.rowindex.value == (index + k) && elem.attributes.cellindexTable.value == ((k != 0 ? 0 : cellIndexTable) + y) && !elem.disabled) {\r\n return elem;\r\n }\r\n });\r\n if (nEl) {\r\n focusIndex = y;\r\n break;\r\n }\r\n }\r\n if (nEl)\r\n break;\r\n }\r\n nextEl = nEl ? nEl : nextEl;\r\n setInputFocus(nextEl, thisEl, false, (cellIndexTable + focusIndex) === maxGrade, row.codeSchool);\r\n }\r\n break;\r\n }\r\n default:\r\n {\r\n let foundedEl = elements.find(elem => elem.attributes.rowindex.value == index && (elem.attributes.cellindexTable.value == cellIndex));\r\n if (foundedEl) {\r\n if (foundedEl.hasAttribute(\"readonly\")) {\r\n foundedEl.removeAttribute(\"readonly\");\r\n onChange(e.key, row, cellIndex, null, updateRow, setValue);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\nconst onKeyDown = async (e) => {\r\n let navKeyCodes = [9 /*Tab*/, 39 /*ArrowRight*/, 37 /*ArrowLeft*/, 40 /*ArrowDown*/, 38 /*ArrowUp*/, 13 /*Enter*/];\r\n if (navKeyCodes.includes(e.keyCode)) {\r\n e.preventDefault();\r\n }\r\n}\r\n\r\nconst onChange = async (e, row, cellIndex, value = null, updateRow, setValue) => {\r\n let val = e.currentTarget ? e.currentTarget.value : null;\r\n if (row.participants[cellIndex/* - 1*/].n == null || row.participants[cellIndex/* - 1*/].n == 0) {\r\n val = val ? val.replace('0', '') : 0;\r\n }\r\n let fieldValue = !isNaN(parseInt(value ? value : val)) ? parseInt(parseInt(value ? value : val)) : null;\r\n if (parseInt(fieldValue) >= 9999)\r\n fieldValue = parseInt(fieldValue.toString().substr(0, 4));\r\n row.participants[cellIndex/* - 1*/].n = fieldValue ? fieldValue : 0;\r\n await setValue(fieldValue);\r\n await updateRow(row);\r\n}\r\n\r\nconst InputFormatter = ({ row, rowIndex, cellIndex, cellIndexTable, value, ref, valueChanged, setValue, onKeyUp, onKeyDown, setValueChanged, updateRow, props, disabled }) => {\r\n if (row.isRegionGroupItem)\r\n return null;\r\n return onChange(e, row, cellIndexTable, null, updateRow, setValue)}\r\n onKeyUp={(e) => { onKeyUp(e, cellIndex, rowIndex, row, cellIndexTable, props, updateRow, setValue) }}\r\n onKeyDown={(e) => {\r\n onKeyDown(e, setValueChanged, valueChanged);\r\n }}\r\n rowIndex={rowIndex} cellIndex={cellIndex} cellIndexTable={cellIndexTable} schoolId={row.school.id}\r\n disabled={disabled}\r\n autoComplete=\"new-password\"\r\n />\r\n}\r\n\r\nconst TotalFormatter = ({ row }) => {\r\n if (row.isRegionGroupItem) {\r\n return null;\r\n }\r\n\r\n return
{row.participants.map(x => x?.n).reduce((acc, val) => {\r\n if (!isNaN(parseInt(val)) && val != null && val != 'dummy') {\r\n if (!isNaN(parseInt(acc)))\r\n return parseInt(acc) + parseInt(val);\r\n else return parseInt(val);\r\n } else {\r\n if (acc == null || acc == \"\" || acc == \"dummy\") {\r\n acc = 0;\r\n }\r\n return acc;\r\n }\r\n })}
;\r\n}\r\n\r\nconst PaidFormatter = ({ row }) => {\r\n return
{row.totalPaid ? row.totalPaid : 0}
;\r\n}\r\n\r\nconst SchoolFormatter = ({ row, dataConfirmedStated, dataConfirmedStatement, removeSchoolCallback, globalRow, isRequests, totalRow, props }) => {\r\n const [dropdowns, setDropdowns] = useState({});\r\n const [showLoader, setShowLoader] = useState(false);\r\n const [totalRowChanged, setTotalRowChanged] = useState(false);\r\n const [totalRowDefault, setTotalRowDefault] = useState(totalRow);\r\n let context = useContext(GlobalContext);\r\n\r\n const toggleActions = ({ target: { name, value } }) => {\r\n setDropdowns({\r\n ...dropdowns,\r\n [name]: value\r\n });\r\n }\r\n\r\n let schholId = row.school.idRegion ? row.school.idRegion : row.school.id;\r\n useEffect(() => {\r\n const updateRows = () => props.updateRows(schholId, null, true);\r\n if (showLoader) {\r\n updateRows();\r\n setShowLoader(false);\r\n }\r\n if (totalRow != totalRowDefault) {\r\n setTotalRowChanged(true);\r\n setTotalRowDefault(totalRow);\r\n }\r\n }, [showLoader, totalRow]);\r\n\r\n let school = !row.isRegionGroupItem ? globalRow.school : row.school;\r\n if (row.isRegionGroupItem) {\r\n return school && \r\n {\r\n row.isOpen = !row.isOpen;\r\n if (props) {\r\n setShowLoader(true);\r\n setTotalRowDefault(row.participantsTotal);\r\n }\r\n }}>\r\n {school.nameRegion ? school.nameRegion : school.name} , итого: {totalRowChanged ? totalRow : totalRow && !row.participantsTotal ? totalRow || 0 : row.participantsTotal || 0} \r\n {row.isOpen\r\n ? \r\n : }\r\n {showLoader && }\r\n \r\n ;\r\n }\r\n\r\n return school &&
\r\n
\r\n
{school.name}
\r\n
{school.code}
\r\n
\r\n\r\n {!(isRequests ? dataConfirmedStated : dataConfirmedStatement) && !row.isRegionGroupItem &&\r\n { toggleActions({ target: { name: \"dropdownActions\" + row.school.id, value: !dropdowns[\"dropdownActions\" + row.school.id] } }) }}>\r\n \r\n \r\n { context.showCoordinatorEditSchool(school.id); }}>Изменить код или название\r\n {row.defaultSchool \r\n && { removeSchoolCallback(school.id) }}>Удалить \r\n /*: Школу удалить нельзя*/}\r\n \r\n }\r\n
;\r\n}\r\n\r\nexport const Cell = ({ row, rowIndex, cellIndex, cellIndexTable, isInput, colspan, isSchool, isTotal, isPaid, updateRow, props, removeSchoolCallback, disabled, globalRow, totalRow }) => {\r\n let defaultValue = row.participants[cellIndexTable]?.n ? row.participants[cellIndexTable].n.toString().replace(/\\b0+/g, \"\") : \"0\";\r\n if (parseInt(defaultValue) >= 9999)\r\n defaultValue = defaultValue.substr(0, 4);\r\n const [value, setValue] = useState(defaultValue);\r\n const [valueChanged, setValueChanged] = useState(false);\r\n\r\n let newValue = row.participants[cellIndexTable]?.n ? row.participants[cellIndexTable].n.toString().replace(/\\b0+/g, \"\") : \"0\";\r\n let isActive = row.participants[cellIndexTable]?.e;\r\n if (parseInt(newValue) >= 9999)\r\n newValue = newValue.substr(0, 4);\r\n\r\n return (\r\n \r\n {isInput && \r\n onChange(e, row, cellIndexTable, null, updateRow, setValue)}\r\n updateRow={updateRow}\r\n props={props}\r\n disabled={disabled || !isActive}\r\n />\r\n \r\n }\r\n {isSchool && \r\n \r\n }\r\n {isTotal && \r\n \r\n }\r\n {isPaid && \r\n }\r\n \r\n );\r\n}\r\n\r\n","import React, { Component } from 'react';\r\n\r\nexport class TotalCounter extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n error: null,\r\n loading: true,\r\n value: this.props.defaultValue\r\n };\r\n }\r\n\r\n updateTotal = (newValue) => {\r\n this.setState({ value: newValue });\r\n }\r\n \r\n render() {\r\n return (\r\n
\r\n Итого: {this.state.value}\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default TotalCounter;\r\n\r\n","import React from 'react';\r\n\r\nexport const TableContext = React.createContext(\r\n {\r\n activeCell: { row: null, cell: null },\r\n\r\n setActiveCell: () => { },\r\n clearActiveCell: () => { }\r\n }\r\n);\r\n","import React, { Component } from 'react';\r\nimport { Row, Header, TotalCounter } from \"./\"\r\n\r\nexport class BigTable extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n error: null,\r\n loading: true,\r\n dataUpdated: false,\r\n isFirstLoad: true,\r\n newSchoolIds: [],\r\n initialData: [],\r\n startTotalParticipants: 0\r\n };\r\n this.getRequestsModel = this.getRequestsModel.bind(this);\r\n this.updateTotal = this.updateTotal.bind(this);\r\n this.getRowModel = this.getRowModel.bind(this);\r\n this.totalRef = React.createRef();\r\n }\r\n\r\n async componentDidMount() {\r\n let bigData = this.props.data;//.slice(1, 10);\r\n let totalParticipants = 0;\r\n if (bigData.length > 0) {\r\n await Array.forEach(bigData, async (d, i) => {\r\n await this.setState({\r\n [`row_${d.isRegionGroupItem ? \"r_\" : \"\"}${d.isRegionGroupItem ? d.school.idRegion ? d.school.idRegion : d.school.id : d.school.id}`]: d\r\n })\r\n });\r\n this.props.getModelCallback(this.getRequestsModel);\r\n totalParticipants = bigData.filter(x => x.isRegionGroupItem).map(x => x.participantsTotal).reduce((acc, el) => {\r\n if (isNaN(acc) || acc == null)\r\n acc = 0;\r\n if (el != null && el != 'dummy')\r\n return acc += el;\r\n return acc;\r\n });\r\n window.addEventListener('scroll', this.handleScroll, true);\r\n }\r\n let schoolsData = this.props.data.map((d, i) => {\r\n let value = d.isRegionGroupItem ? d.school.idRegion ? d.school.idRegion : d.school.id : d.school.id;\r\n let res = { key: i, value, isRegion: d.isRegionGroupItem, schoolIds: d.schoolIds, totalParticipants: d.totalParticipants, defaultSchool: d.defaultSchool };\r\n if (d.isRegionGroupItem) {\r\n res.schoolIds = d.schoolIds;\r\n let groupId = d.school.idRegion ? d.school.idRegion : d.school.id;\r\n }\r\n return res;\r\n });\r\n await this.setState({\r\n loading: false, totalParticipants, initialData: this.props.data, startTotalParticipants: totalParticipants,\r\n newSchoolIds: schoolsData,\r\n initialNewSchoolIds: schoolsData,\r\n }, () => this.updateTotal());\r\n }\r\n\r\n componentWillUnmount() {\r\n window.removeEventListener('scroll', this.handleScroll);\r\n }\r\n\r\n async componentDidUpdate(nextProps, nextState) {\r\n if (this.props.data != nextProps.data) {\r\n //this.state = { loading: false, error: null };\r\n this.setState({ loading: false, error: null });\r\n await this.setState({\r\n dataUpdated: true,\r\n newSchoolIds: this.props.data.map((d, i) => {\r\n let value = d.isRegionGroupItem ? d.school.idRegion ? d.school.idRegion : d.school.id : d.school.id;\r\n let schoolIds = d.isRegionGroupItem ? d.school.schoolIds ? d.school.schoolIds : d.schoolIds : [];\r\n return { key: i, value, schoolIds, totalParticipants: d.participantsTotal, id: value, defaultSchool: d.defaultSchool }\r\n })\r\n });\r\n\r\n await Array.forEach(this.props.data, async (d, i) => {\r\n let hasChangedEl = nextProps.data.some(x => x.id == d.id && (x.school.name != d.school.name || d.school.code != x.school.code));\r\n if (!this.state[`row_${d.isRegionGroupItem ? \"r_\" : \"\"}${d.isRegionGroupItem ? d.school.idRegion ? d.school.idRegion : d.school.id : d.school.id}`] || hasChangedEl) {\r\n await this.setState({\r\n [`row_${d.isRegionGroupItem ? \"r_\" : \"\"}${d.isRegionGroupItem ? d.school.idRegion ? d.school.idRegion : d.school.id : d.school.id}`]: d\r\n });\r\n }\r\n });\r\n this.updateTotal();\r\n }\r\n\r\n if (nextState.totalParticipants != this.state.totalParticipants && !this.state.isFirstLoad) {\r\n this.props.isUpdated(true);\r\n }\r\n\r\n // if (this.props.filtersIsClean != nextProps.filtersIsClean && this.props.filtersIsClean) {\r\n // let bigData = this.state.initialData;//.slice(1, 10);\r\n // let totalParticipants = 0;\r\n // totalParticipants = bigData.filter(x => x.isRegionGroupItem).map(x => x.participantsTotal).reduce((acc, el) => {\r\n // if (isNaN(acc) || acc == null)\r\n // acc = 0;\r\n // if (el != null && el != 'dummy')\r\n // return acc += el;\r\n // return acc;\r\n // });\r\n // window.addEventListener('scroll', this.handleScroll, true);\r\n // this.setState({ totalParticipants });\r\n // }\r\n\r\n if (this.state.isFirstLoad) {\r\n let elements = document.getElementsByClassName(\"request-class-input\");\r\n if (elements.length > 0) {\r\n elements[0].removeAttribute(\"readonly\");\r\n elements[0].focus();\r\n }\r\n if (elements.length > 0)\r\n await this.setState({ isFirstLoad: false });\r\n }\r\n }\r\n\r\n //shouldComponentUpdate(nextProps, nextState) {\r\n // let val = this.props.data != nextProps.data ||\r\n // nextState.totalParticipants != this.state.totalParticipants && !this.state.isFirstLoad ||\r\n // this.state.isFirstLoad;\r\n // return val;\r\n //}\r\n\r\n handleScroll = (event) => {\r\n if (event.target.className == \"react-bs-container-body\") {\r\n let header = document.getElementById(\"table-header\");\r\n if (header)\r\n header.scrollLeft = event.target.scrollLeft;\r\n }\r\n }\r\n\r\n getRowModel = (row) => {\r\n return row;\r\n }\r\n\r\n getRequestsModel = () => {\r\n let requests = [];\r\n Array.forEach(this.props.schoolIds, (x, i) =>\r\n requests.push(this.state[`row_${x}`])\r\n );\r\n return requests.filter(r => r);\r\n }\r\n\r\n setActiveCell = (row, cell) => {\r\n this.setState({ activeCell: { row, cell } });\r\n }\r\n\r\n clearActiveCell = (row, cell) => {\r\n this.setState({ activeCell: { row: null, cell: null } });\r\n }\r\n\r\n updateTotal = () => {\r\n if (this.totalRef.current) {\r\n let participants = [];\r\n let totalParticipants = 0;\r\n // if (this.props.filtersIsClean && this.state.startTotalParticipants) {\r\n // totalParticipants = this.state.startTotalParticipants;\r\n // } else\r\n\r\n if (this.state.newSchoolIds) {\r\n let newSchoolIds = this.state.newSchoolIds.map(x => x.value);\r\n Array.forEach(newSchoolIds, (x, i) => {\r\n if (x == null) {\r\n let row = this.state[`row_r_${x}`];\r\n if (row)\r\n Array.forEach(row.schoolIds, (sc, i) => {\r\n if (this.state[`row_${sc}`]) {\r\n participants = participants.concat(this.state[`row_${sc}`].participants)\r\n }\r\n })\r\n } else if (this.state[`row_total_${x}`]) {\r\n participants = participants.concat([{ n: this.state[`row_total_${x}`], e: false }]);\r\n }\r\n else if (this.state[`row_r_${x}`]) {\r\n participants = participants.concat([{ n: this.state[`row_r_${x}`].participantsTotal, e: false }])\r\n }\r\n });\r\n totalParticipants = participants.length > 0 ? this.calcParticipants(participants.map(x => x?.n)) : 0;\r\n }\r\n \r\n this.totalRef.current.updateTotal(totalParticipants);\r\n this.setState({ totalParticipants });\r\n }\r\n }\r\n\r\n calcParticipants = (participantsArray) => {\r\n return participantsArray.length > 0 ? participantsArray.reduce((acc, el) => {\r\n if (isNaN(acc) || acc == null)\r\n acc = 0;\r\n if (el != null && el != 'dummy')\r\n return acc += el;\r\n return acc;\r\n }) : 0;\r\n }\r\n\r\n updateRowTotal = async (rowId, withNew = false, isRemove = false) => {\r\n let participants = [];\r\n let { newSchoolIds } = this.state;\r\n if (newSchoolIds) {\r\n let school = newSchoolIds.find(x => /*x.isRegion && x.value == rowId &&*/ x.schoolIds && x.schoolIds.includes(rowId));\r\n if (school) {\r\n let tempTotal = 0;\r\n Array.forEach(school.schoolIds, (x, i) => {\r\n if (this.state[`row_${x}`] && !isRemove) {\r\n participants = participants.concat(this.state[`row_${x}`].participants)\r\n }\r\n if (isRemove && x == rowId) {\r\n tempTotal = this.state[`row_${x}`] ? this.calcParticipants(this.state[`row_${x}`].participants.map(x => x.n)) : 0;\r\n }\r\n });\r\n let schoolState = this.state[`row_r_${school.value}`];\r\n let participantsTotal = schoolState && schoolState.isOpen ? this.calcParticipants(participants.map(x => x?.n)) : schoolState.participantsTotal;\r\n let row = this.state[`row_${school.schoolIds && school.schoolIds.length > 0 ? \"r_\" : \"\"}${school.value}`];\r\n let totalParticipants = (participants.length > 0 || isRemove)\r\n ? withNew\r\n ? (school.totalParticipants + participantsTotal)\r\n : isRemove ? (school.totalParticipants - tempTotal)\r\n : (participantsTotal /*|| this.props.filtersIsClean && school.participantsTotalStart*/)\r\n : /*this.props.filtersIsClean ? school.participantsTotalStart :*/ 0;\r\n\r\n school.participantsTotal = totalParticipants;\r\n school.totalParticipants = totalParticipants;\r\n if (!school.participantsTotalStart)\r\n school.participantsTotalStart = row?.participantsTotal;\r\n //let updatedSchool = this.state[`row_${school.schoolIds && school.schoolIds.length > 0 ? \"r_\" : \"\"}${school.value}`];\r\n\r\n if (row) {\r\n row.participantsTotal = totalParticipants;\r\n row.totalParticipants = totalParticipants;\r\n if (!row.participantsTotalStart)\r\n row.participantsTotalStart = school.participantsTotalStart\r\n }\r\n if (this.state[`row_${rowId}`] && isRemove) {\r\n let newParticipants = this.state[`row_${rowId}`].participants;\r\n Array.forEach(newParticipants, np => np.n = 0);\r\n this.state[`row_${rowId}`].participants = newParticipants;\r\n }\r\n await this.setState({\r\n [`row_total_${school.value}`]: totalParticipants,\r\n [`row_${school.schoolIds && school.schoolIds.length > 0 ? \"r_\" : \"\"}${school.value}`]: row\r\n });\r\n }\r\n }\r\n\r\n\r\n\r\n // else if (this.props.schoolIds)\r\n // this.props.schoolIds.forEach((x, i) =>\r\n // participants = participants.concat(this.state[`row_${x}`].participants)\r\n // );\r\n\r\n // this.totalRef.current.updateTotal(totalParticipants);\r\n // this.setState({ totalParticipants });\r\n }\r\n\r\n renderView = () => {\r\n return (\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {this.props.classes.map((c, i) => )}\r\n \r\n {}\r\n \r\n \r\n {this.state.newSchoolIds.length > 0 ? this.state.newSchoolIds.map((x, i) => {\r\n let rowKey = i;\r\n let row = this.state[`row_${x.schoolIds && x.schoolIds.length > 0 ? \"r_\" : \"\"}${x.value}`];\r\n let schoolValue = row ? row.isRegionGroupItem\r\n ? row.school.idRegion\r\n ? row.school.idRegion\r\n : row.school.id\r\n : row.school.id : null;\r\n rowKey = row ? `${schoolValue}_${i}` : `${x.value}_${i}`;\r\n return this.updateTotal(value)}\r\n updateRowTotalCallback={(value) => this.updateRowTotal(value)}\r\n totalRow={this.state[`row_total_${x.value}`] || 0}\r\n updateRows={this.props.updateRows}\r\n //filtersIsClean={this.props.filtersIsClean}\r\n removeSchoolCallback={async (schoolId) => {\r\n await this.props.removeSchoolCallback(schoolId);\r\n }} disabled={this.props.disabled} dataUpdated={this.state.dataUpdated}\r\n getRowCallback={click => this.getRowModel = click} /*exData={}*/ />;\r\n }\r\n ) : this.getRowModel = click} props={this.props} totalRow={this.state[`row_total_null`]} />}\r\n \r\n
\r\n
\r\n
\r\n {this.state.dataUpdated && }\r\n
\r\n
\r\n );\r\n }\r\n\r\n render() {\r\n let contents = this.state.loading\r\n ?
\r\n : this.renderView();\r\n return (\r\n
{contents}
\r\n );\r\n }\r\n}\r\n\r\nexport default BigTable;\r\n","// ReSharper disable once InconsistentNaming\r\nimport React, { Component } from \"react\";\r\nimport { Button } from \"reactstrap\";\r\nimport { GlobalContext } from \"../_services/context\";\r\n\r\nexport class CalmButton extends Component {\r\n static contextType = GlobalContext;\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n executing: false,\r\n showLoader:false\r\n };\r\n this._isMounted = false;\r\n //this.onRealClick = this.onRealClick.bind(this);\r\n //this.setExecution = this.setExecution.bind(this);\r\n }\r\n\r\n componentDidMount() {\r\n this._isMounted = true;\r\n }\r\n\r\n componentWillUnmount () {\r\n this._isMounted = false;\r\n }\r\n\r\n setExecution = async (newExState) => {\r\n if (this._isMounted)\r\n await this.setState({\r\n executing: newExState,\r\n showLoader: this.props.showLoader ? newExState : false\r\n });\r\n }\r\n\r\n onRealClick = async (event) => {\r\n if (this._isMounted) {\r\n await this.setExecution(true);\r\n var show = this.state.showLoader;\r\n try {\r\n if (show)\r\n this.context.showLoader();\r\n if (this.props.onClick) {\r\n await this.props.onClick(event);\r\n }\r\n if (this.props.onClickCapture) {\r\n await this.props.onClickCapture(event);\r\n }\r\n } finally {\r\n this.setExecution(false);\r\n this.context.hideLoader();\r\n }\r\n }\r\n };\r\n\r\n render() {\r\n const {\r\n disabled,\r\n onClick,\r\n showLoader,\r\n children,\r\n executingText,\r\n color,\r\n value,\r\n ...otherProps\r\n } = this.props;\r\n\r\n if (this.props.type === \"submit\") {\r\n return (\r\n \r\n );\r\n }\r\n\r\n return (\r\n \r\n );\r\n }\r\n\r\n}\r\n\r\nexport default CalmButton;\r\n\r\n","import React from 'react';\r\nimport { Input, InputGroup, InputGroupAddon, InputGroupText, FormText } from \"reactstrap\";\r\nimport classnames from 'classnames'; \r\nimport { Field } from \"formik\";\r\nimport PhoneInput from 'react-phone-input-2';\r\nimport 'react-phone-input-2/lib/style.css';\r\nimport ru from 'react-phone-input-2/lang/ru.json';\r\nimport { startsWith } from \"lodash\";\r\n\r\nconst InputFeedback = ({ error }) => error ?
{error}
: null;\r\n\r\nexport const InputWithIcon = ({ iconName, iconText, type, id, label, error, value, onChange, onBlur, autoComplete, autoFocus, className, setFieldValue, disabled, onFocus, ...props }) => {\r\n const classes = classnames(\r\n {\r\n 'animated shake error': !!error,\r\n },\r\n className\r\n );\r\n\r\n if (type === \"phone\") {\r\n const codesCountries = window['runConfig'] != null ? window['runConfig'].codesCountries : ['ru'];\r\n return (\r\n
\r\n \r\n {\r\n setFieldValue(id, phone);\r\n setFieldValue(\"codeCountry\", country.dialCode);\r\n }}\r\n onBlur={onBlur}\r\n isValid={(inputNumber, country, onlyCountries) => {\r\n return onlyCountries.some((country) => {\r\n return startsWith(inputNumber, country.dialCode) || startsWith(country.dialCode, inputNumber);\r\n });\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n } else if (type === \"checkbox\") {\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n {label}{props.children}\r\n\r\n \r\n
\r\n );\r\n } else if (iconName) {\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n } else {\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n {iconText}\r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n};\r\n","import React, { Component } from 'react';\r\nimport { Alert } from 'reactstrap';\r\nimport { paymentService, GlobalContext } from \"../_services\";\r\nimport { processApiCall } from \"../_methods/download\";\r\nimport { CalmButton } from \"./\";\r\nimport { withRouter } from 'react-router-dom';\r\n\r\nexport class YandexKassa extends Component {\r\n static contextType = GlobalContext;\r\n constructor(props) {\r\n super(props);\r\n let search = props.location.search;\r\n let params = new URLSearchParams(search);\r\n this.state = {\r\n error: null,\r\n token: null,\r\n requestId: this.props.match.params.id,\r\n isExternal: params.get(\"external\"),\r\n };\r\n }\r\n\r\n async componentDidMount() {\r\n if (window.location.hash.includes(\"series\"))\r\n await processApiCall(paymentService.getAccessSeriesKassa(this.state.requestId),\r\n this.setData, this.logicError, this.globalError);\r\n else if (window.location.hash.includes(\"#/payment\"))\r\n await processApiCall(paymentService.getAccessPaymentKassa(this.state.requestId),\r\n (data) => this.setData(data, true), this.logicError, this.globalError); \r\n else\r\n await processApiCall(paymentService.getAccessKassa(this.state.requestId), this.setData, this.logicError, this.globalError);\r\n let url =\r\n window.location.hash.includes(\"#/payment\")\r\n ? (this.state.successRedirect ? this.props.userId ? `#/successPayment` : `#/external/success` : `#/payment/external`)\r\n : window.location.hash.includes(\"external\")\r\n ? `#/payment/external`\r\n : window.location.hash.includes(\"coordinator\")\r\n ? this.state.isExternal ? `#/student/request/external/${this.state.requestId}` : `#/coordinator/request/group/${this.state.requestId}`\r\n : window.location.hash.includes(\"student\")\r\n ? window.location.hash.includes(\"request\")\r\n ? `#/student/request/group/${this.state.requestId}`\r\n : `#/student/request/series/${this.state.requestId}`\r\n : window.location.hash.includes(\"series\") ? `#/teacher/request/series/${this.state.requestId}` : `#/teacher/request/group/${this.state.requestId}`;\r\n let context = this;\r\n this.setState({ returnUrl: \"/\" + url});\r\n const checkout = new window.YooMoneyCheckoutWidget({\r\n confirmation_token: this.state.token, //Токен, который перед проведением оплаты нужно получить от Яндекс.Кассы\r\n return_url: window.location.href.replace(window.location.hash, \"\") + url, //Ссылка на страницу завершения оплаты\r\n error_callback(error) {\r\n let err = error && error.error ? error.error : error;\r\n if (err === \"token_expired\")\r\n err = \"Истек токен оплаты, обратитесь к администрации сайта\";\r\n context.setState({ error: err });\r\n }\r\n });\r\n await checkout.render('payment-form');\r\n let width = checkout._widget && checkout._widget._iframe ? checkout._widget._iframe.clientWidth : \"auto\";\r\n await this.setState({ width });\r\n }\r\n\r\n setData = async(data, successRedirect = false) => {\r\n await this.setState({ token: data.payment_token, successRedirect });\r\n }\r\n\r\n logicError = (error) => {\r\n this.setState({ error });\r\n }\r\n\r\n globalError = (error) => {\r\n this.props.alert(error);\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n {this.state.error && {this.state.error}}\r\n \r\n {\r\n this.props.history.push({\r\n pathname: this.state.returnUrl && this.state.returnUrl.substring(2),\r\n fromKassa: true\r\n });\r\n }}>Вернуться назад \r\n \r\n
\r\n \r\n Если у вас возникли проблемы с оплатой через встроенную форму, попробуйте альтернативный вариант\r\n
\r\n {\r\n if (window.location.hash.includes(\"series\"))\r\n await processApiCall(paymentService.getAccessSeriesKassa(this.state.requestId, true, this.state.returnUrl),\r\n (data) => { window.location.href = data.payment_confirmation_url }, this.logicError, this.globalError);\r\n else if (window.location.hash.includes(\"#/payment\"))\r\n await processApiCall(paymentService.getAccessPaymentKassa(this.state.requestId, true, this.state.returnUrl),\r\n (data) => this.setData(data, true), this.logicError, this.globalError);\r\n else\r\n await processApiCall(paymentService.getAccessKassa(this.state.requestId, true, this.state.returnUrl),\r\n (data) => { window.location.href = data.payment_confirmation_url }, this.logicError, this.globalError);\r\n }}>Оплатить по ссылке\r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default withRouter(YandexKassa);\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"white\":\"#fff\",\"black\":\"#232427\",\"dark\":\"#eaf0f5\",\"orange\":\"#ed7328\",\"darkBlue\":\"#2b4455\",\"green\":\"#addcd3\",\"grey\":\"#c8ced3\",\"lightGrey\":\"#708393\",\"yellow\":\"#ffd737\",\"darkYellow\":\"#ccab27\",\"lightOrange\":\"#fff3cd\",\"disabled\":\"#eaf0f5\",\"lightBlack\":\"#2b4455\",\"red\":\"#f86c6b\",\"lightGreen\":\"#d4edda\",\"lightDarkGreen\":\"#c3e6cb\",\"green-active\":\"#3fb39d\"};","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar React = require('react');\nvar React__default = _interopDefault(React);\n\nvar UAParser = require('ua-parser-js/dist/ua-parser.min');\n\nvar UA = new UAParser();\nvar browser = UA.getBrowser();\nvar cpu = UA.getCPU();\nvar device = UA.getDevice();\nvar engine = UA.getEngine();\nvar os = UA.getOS();\nvar ua = UA.getUA();\n\nvar setDefaults = function setDefaults(p) {\n var d = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'none';\n return p ? p : d;\n};\nvar getNavigatorInstance = function getNavigatorInstance() {\n if (typeof window !== 'undefined') {\n if (window.navigator || navigator) {\n return window.navigator || navigator;\n }\n }\n\n return false;\n};\nvar isIOS13Check = function isIOS13Check(type) {\n var nav = getNavigatorInstance();\n return nav && nav.platform && (nav.platform.indexOf(type) !== -1 || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream);\n};\n\nfunction _typeof(obj) {\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(source, true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(source).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return _assertThisInitialized(self);\n}\n\nvar DeviceTypes = {\n Mobile: 'mobile',\n Tablet: 'tablet',\n SmartTv: 'smarttv',\n Console: 'console',\n Wearable: 'wearable',\n Browser: undefined\n};\nvar BrowserTypes = {\n Chrome: 'Chrome',\n Firefox: \"Firefox\",\n Opera: \"Opera\",\n Yandex: \"Yandex\",\n Safari: \"Safari\",\n InternetExplorer: \"Internet Explorer\",\n Edge: \"Edge\",\n Chromium: \"Chromium\",\n Ie: 'IE',\n MobileSafari: \"Mobile Safari\",\n EdgeChromium: \"Edge Chromium\",\n MIUI: \"MIUI Browser\",\n SamsungBrowser: 'Samsung Browser'\n};\nvar OsTypes = {\n IOS: 'iOS',\n Android: \"Android\",\n WindowsPhone: \"Windows Phone\",\n Windows: 'Windows',\n MAC_OS: 'Mac OS'\n};\nvar initialData = {\n isMobile: false,\n isTablet: false,\n isBrowser: false,\n isSmartTV: false,\n isConsole: false,\n isWearable: false\n};\nvar checkType = function checkType(type) {\n switch (type) {\n case DeviceTypes.Mobile:\n return {\n isMobile: true\n };\n\n case DeviceTypes.Tablet:\n return {\n isTablet: true\n };\n\n case DeviceTypes.SmartTv:\n return {\n isSmartTV: true\n };\n\n case DeviceTypes.Console:\n return {\n isConsole: true\n };\n\n case DeviceTypes.Wearable:\n return {\n isWearable: true\n };\n\n case DeviceTypes.Browser:\n return {\n isBrowser: true\n };\n\n default:\n return initialData;\n }\n};\nvar broPayload = function broPayload(isBrowser, browser, engine, os, ua) {\n return {\n isBrowser: isBrowser,\n browserMajorVersion: setDefaults(browser.major),\n browserFullVersion: setDefaults(browser.version),\n browserName: setDefaults(browser.name),\n engineName: setDefaults(engine.name),\n engineVersion: setDefaults(engine.version),\n osName: setDefaults(os.name),\n osVersion: setDefaults(os.version),\n userAgent: setDefaults(ua)\n };\n};\nvar mobilePayload = function mobilePayload(type, device, os, ua) {\n return _objectSpread2({}, type, {\n vendor: setDefaults(device.vendor),\n model: setDefaults(device.model),\n os: setDefaults(os.name),\n osVersion: setDefaults(os.version),\n ua: setDefaults(ua)\n });\n};\nvar stvPayload = function stvPayload(isSmartTV, engine, os, ua) {\n return {\n isSmartTV: isSmartTV,\n engineName: setDefaults(engine.name),\n engineVersion: setDefaults(engine.version),\n osName: setDefaults(os.name),\n osVersion: setDefaults(os.version),\n userAgent: setDefaults(ua)\n };\n};\nvar consolePayload = function consolePayload(isConsole, engine, os, ua) {\n return {\n isConsole: isConsole,\n engineName: setDefaults(engine.name),\n engineVersion: setDefaults(engine.version),\n osName: setDefaults(os.name),\n osVersion: setDefaults(os.version),\n userAgent: setDefaults(ua)\n };\n};\nvar wearPayload = function wearPayload(isWearable, engine, os, ua) {\n return {\n isWearable: isWearable,\n engineName: setDefaults(engine.name),\n engineVersion: setDefaults(engine.version),\n osName: setDefaults(os.name),\n osVersion: setDefaults(os.version),\n userAgent: setDefaults(ua)\n };\n};\n\nvar type = checkType(device.type);\n\nfunction deviceDetect() {\n var isBrowser = type.isBrowser,\n isMobile = type.isMobile,\n isTablet = type.isTablet,\n isSmartTV = type.isSmartTV,\n isConsole = type.isConsole,\n isWearable = type.isWearable;\n\n if (isBrowser) {\n return broPayload(isBrowser, browser, engine, os, ua);\n }\n\n if (isSmartTV) {\n return stvPayload(isSmartTV, engine, os, ua);\n }\n\n if (isConsole) {\n return consolePayload(isConsole, engine, os, ua);\n }\n\n if (isMobile) {\n return mobilePayload(type, device, os, ua);\n }\n\n if (isTablet) {\n return mobilePayload(type, device, os, ua);\n }\n\n if (isWearable) {\n return wearPayload(isWearable, engine, os, ua);\n }\n}\n\nvar isMobileType = function isMobileType() {\n return device.type === DeviceTypes.Mobile;\n};\n\nvar isTabletType = function isTabletType() {\n return device.type === DeviceTypes.Tablet;\n};\n\nvar isMobileAndTabletType = function isMobileAndTabletType() {\n switch (device.type) {\n case DeviceTypes.Mobile:\n case DeviceTypes.Tablet:\n return true;\n\n default:\n return false;\n }\n};\n\nvar isEdgeChromiumType = function isEdgeChromiumType() {\n return typeof ua === 'string' && ua.indexOf('Edg/') !== -1;\n};\n\nvar isSmartTVType = function isSmartTVType() {\n return device.type === DeviceTypes.SmartTv;\n};\n\nvar isBrowserType = function isBrowserType() {\n return device.type === DeviceTypes.Browser;\n};\n\nvar isWearableType = function isWearableType() {\n return device.type === DeviceTypes.Wearable;\n};\n\nvar isConsoleType = function isConsoleType() {\n return device.type === DeviceTypes.Console;\n};\n\nvar isAndroidType = function isAndroidType() {\n return os.name === OsTypes.Android;\n};\n\nvar isWindowsType = function isWindowsType() {\n return os.name === OsTypes.Windows;\n};\n\nvar isMacOsType = function isMacOsType() {\n return os.name === OsTypes.MAC_OS;\n};\n\nvar isWinPhoneType = function isWinPhoneType() {\n return os.name === OsTypes.WindowsPhone;\n};\n\nvar isIOSType = function isIOSType() {\n return os.name === OsTypes.IOS;\n};\n\nvar isChromeType = function isChromeType() {\n return browser.name === BrowserTypes.Chrome;\n};\n\nvar isFirefoxType = function isFirefoxType() {\n return browser.name === BrowserTypes.Firefox;\n};\n\nvar isChromiumType = function isChromiumType() {\n return browser.name === BrowserTypes.Chromium;\n};\n\nvar isEdgeType = function isEdgeType() {\n return browser.name === BrowserTypes.Edge;\n};\n\nvar isYandexType = function isYandexType() {\n return browser.name === BrowserTypes.Yandex;\n};\n\nvar isSafariType = function isSafariType() {\n return browser.name === BrowserTypes.Safari || browser.name === BrowserTypes.MobileSafari;\n};\n\nvar isMobileSafariType = function isMobileSafariType() {\n return browser.name === BrowserTypes.MobileSafari;\n};\n\nvar isOperaType = function isOperaType() {\n return browser.name === BrowserTypes.Opera;\n};\n\nvar isIEType = function isIEType() {\n return browser.name === BrowserTypes.InternetExplorer || browser.name === BrowserTypes.Ie;\n};\n\nvar isMIUIType = function isMIUIType() {\n return browser.name === BrowserTypes.MIUI;\n};\n\nvar isSamsungBrowserType = function isSamsungBrowserType() {\n return browser.name === BrowserTypes.SamsungBrowser;\n};\n\nvar isElectronType = function isElectronType() {\n var nav = getNavigatorInstance();\n var ua = nav && nav.userAgent && nav.userAgent.toLowerCase();\n return typeof ua === 'string' ? /electron/.test(ua) : false;\n};\n\nvar getIOS13 = function getIOS13() {\n var nav = getNavigatorInstance();\n return nav && (/iPad|iPhone|iPod/.test(nav.platform) || nav.platform === 'MacIntel' && nav.maxTouchPoints > 1) && !window.MSStream;\n};\n\nvar getIPad13 = function getIPad13() {\n return isIOS13Check('iPad');\n};\n\nvar getIphone13 = function getIphone13() {\n return isIOS13Check('iPhone');\n};\n\nvar getIPod13 = function getIPod13() {\n return isIOS13Check('iPod');\n};\n\nvar getBrowserFullVersion = function getBrowserFullVersion() {\n return setDefaults(browser.version);\n};\n\nvar getBrowserVersion = function getBrowserVersion() {\n return setDefaults(browser.major);\n};\n\nvar getOsVersion = function getOsVersion() {\n return setDefaults(os.version);\n};\n\nvar getOsName = function getOsName() {\n return setDefaults(os.name);\n};\n\nvar getBrowserName = function getBrowserName() {\n return setDefaults(browser.name);\n};\n\nvar getMobileVendor = function getMobileVendor() {\n return setDefaults(device.vendor);\n};\n\nvar getMobileModel = function getMobileModel() {\n return setDefaults(device.model);\n};\n\nvar getEngineName = function getEngineName() {\n return setDefaults(engine.name);\n};\n\nvar getEngineVersion = function getEngineVersion() {\n return setDefaults(engine.version);\n};\n\nvar getUseragent = function getUseragent() {\n return setDefaults(ua);\n};\n\nvar getDeviceType = function getDeviceType() {\n return setDefaults(device.type, 'browser');\n};\n\nvar isSmartTV = isSmartTVType();\nvar isConsole = isConsoleType();\nvar isWearable = isWearableType();\nvar isMobileSafari = isMobileSafariType() || getIPad13();\nvar isChromium = isChromiumType();\nvar isMobile = isMobileAndTabletType() || getIPad13();\nvar isMobileOnly = isMobileType();\nvar isTablet = isTabletType() || getIPad13();\nvar isBrowser = isBrowserType();\nvar isDesktop = isBrowserType();\nvar isAndroid = isAndroidType();\nvar isWinPhone = isWinPhoneType();\nvar isIOS = isIOSType() || getIPad13();\nvar isChrome = isChromeType();\nvar isFirefox = isFirefoxType();\nvar isSafari = isSafariType();\nvar isOpera = isOperaType();\nvar isIE = isIEType();\nvar osVersion = getOsVersion();\nvar osName = getOsName();\nvar fullBrowserVersion = getBrowserFullVersion();\nvar browserVersion = getBrowserVersion();\nvar browserName = getBrowserName();\nvar mobileVendor = getMobileVendor();\nvar mobileModel = getMobileModel();\nvar engineName = getEngineName();\nvar engineVersion = getEngineVersion();\nvar getUA = getUseragent();\nvar isEdge = isEdgeType() || isEdgeChromiumType();\nvar isYandex = isYandexType();\nvar deviceType = getDeviceType();\nvar isIOS13 = getIOS13();\nvar isIPad13 = getIPad13();\nvar isIPhone13 = getIphone13();\nvar isIPod13 = getIPod13();\nvar isElectron = isElectronType();\nvar isEdgeChromium = isEdgeChromiumType();\nvar isLegacyEdge = isEdgeType() && !isEdgeChromiumType();\nvar isWindows = isWindowsType();\nvar isMacOs = isMacOsType();\nvar isMIUI = isMIUIType();\nvar isSamsungBrowser = isSamsungBrowserType();\n\nvar AndroidView = function AndroidView(_ref) {\n var renderWithFragment = _ref.renderWithFragment,\n children = _ref.children,\n viewClassName = _ref.viewClassName,\n style = _ref.style,\n props = _objectWithoutProperties(_ref, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\"]);\n\n return isAndroid ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", _extends({\n className: viewClassName,\n style: style\n }, props), children) : null;\n};\nvar BrowserView = function BrowserView(_ref2) {\n var renderWithFragment = _ref2.renderWithFragment,\n children = _ref2.children,\n viewClassName = _ref2.viewClassName,\n style = _ref2.style,\n props = _objectWithoutProperties(_ref2, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\"]);\n\n return isBrowser ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", _extends({\n className: viewClassName,\n style: style\n }, props), children) : null;\n};\nvar IEView = function IEView(_ref3) {\n var renderWithFragment = _ref3.renderWithFragment,\n children = _ref3.children,\n viewClassName = _ref3.viewClassName,\n style = _ref3.style,\n props = _objectWithoutProperties(_ref3, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\"]);\n\n return isIE ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", _extends({\n className: viewClassName,\n style: style\n }, props), children) : null;\n};\nvar IOSView = function IOSView(_ref4) {\n var renderWithFragment = _ref4.renderWithFragment,\n children = _ref4.children,\n viewClassName = _ref4.viewClassName,\n style = _ref4.style,\n props = _objectWithoutProperties(_ref4, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\"]);\n\n return isIOS ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", _extends({\n className: viewClassName,\n style: style\n }, props), children) : null;\n};\nvar MobileView = function MobileView(_ref5) {\n var renderWithFragment = _ref5.renderWithFragment,\n children = _ref5.children,\n viewClassName = _ref5.viewClassName,\n style = _ref5.style,\n props = _objectWithoutProperties(_ref5, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\"]);\n\n return isMobile ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", _extends({\n className: viewClassName,\n style: style\n }, props), children) : null;\n};\nvar TabletView = function TabletView(_ref6) {\n var renderWithFragment = _ref6.renderWithFragment,\n children = _ref6.children,\n viewClassName = _ref6.viewClassName,\n style = _ref6.style,\n props = _objectWithoutProperties(_ref6, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\"]);\n\n return isTablet ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", _extends({\n className: viewClassName,\n style: style\n }, props), children) : null;\n};\nvar WinPhoneView = function WinPhoneView(_ref7) {\n var renderWithFragment = _ref7.renderWithFragment,\n children = _ref7.children,\n viewClassName = _ref7.viewClassName,\n style = _ref7.style,\n props = _objectWithoutProperties(_ref7, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\"]);\n\n return isWinPhone ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", _extends({\n className: viewClassName,\n style: style\n }, props), children) : null;\n};\nvar MobileOnlyView = function MobileOnlyView(_ref8) {\n var renderWithFragment = _ref8.renderWithFragment,\n children = _ref8.children,\n viewClassName = _ref8.viewClassName,\n style = _ref8.style,\n props = _objectWithoutProperties(_ref8, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\"]);\n\n return isMobileOnly ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", _extends({\n className: viewClassName,\n style: style\n }, props), children) : null;\n};\nvar SmartTVView = function SmartTVView(_ref9) {\n var renderWithFragment = _ref9.renderWithFragment,\n children = _ref9.children,\n viewClassName = _ref9.viewClassName,\n style = _ref9.style,\n props = _objectWithoutProperties(_ref9, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\"]);\n\n return isSmartTV ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", _extends({\n className: viewClassName,\n style: style\n }, props), children) : null;\n};\nvar ConsoleView = function ConsoleView(_ref10) {\n var renderWithFragment = _ref10.renderWithFragment,\n children = _ref10.children,\n viewClassName = _ref10.viewClassName,\n style = _ref10.style,\n props = _objectWithoutProperties(_ref10, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\"]);\n\n return isConsole ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", _extends({\n className: viewClassName,\n style: style\n }, props), children) : null;\n};\nvar WearableView = function WearableView(_ref11) {\n var renderWithFragment = _ref11.renderWithFragment,\n children = _ref11.children,\n viewClassName = _ref11.viewClassName,\n style = _ref11.style,\n props = _objectWithoutProperties(_ref11, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\"]);\n\n return isWearable ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", _extends({\n className: viewClassName,\n style: style\n }, props), children) : null;\n};\nvar CustomView = function CustomView(_ref12) {\n var renderWithFragment = _ref12.renderWithFragment,\n children = _ref12.children,\n viewClassName = _ref12.viewClassName,\n style = _ref12.style,\n condition = _ref12.condition,\n props = _objectWithoutProperties(_ref12, [\"renderWithFragment\", \"children\", \"viewClassName\", \"style\", \"condition\"]);\n\n return condition ? renderWithFragment ? React__default.createElement(React.Fragment, null, children) : React__default.createElement(\"div\", _extends({\n className: viewClassName,\n style: style\n }, props), children) : null;\n};\n\nfunction withOrientationChange(WrappedComponent) {\n return (\n /*#__PURE__*/\n function (_React$Component) {\n _inherits(_class, _React$Component);\n\n function _class(props) {\n var _this;\n\n _classCallCheck(this, _class);\n\n _this = _possibleConstructorReturn(this, _getPrototypeOf(_class).call(this, props));\n _this.isEventListenerAdded = false;\n _this.handleOrientationChange = _this.handleOrientationChange.bind(_assertThisInitialized(_this));\n _this.onOrientationChange = _this.onOrientationChange.bind(_assertThisInitialized(_this));\n _this.onPageLoad = _this.onPageLoad.bind(_assertThisInitialized(_this));\n _this.state = {\n isLandscape: false,\n isPortrait: false\n };\n return _this;\n }\n\n _createClass(_class, [{\n key: \"handleOrientationChange\",\n value: function handleOrientationChange() {\n if (!this.isEventListenerAdded) {\n this.isEventListenerAdded = true;\n }\n\n var orientation = window.innerWidth > window.innerHeight ? 90 : 0;\n this.setState({\n isPortrait: orientation === 0,\n isLandscape: orientation === 90\n });\n }\n }, {\n key: \"onOrientationChange\",\n value: function onOrientationChange() {\n this.handleOrientationChange();\n }\n }, {\n key: \"onPageLoad\",\n value: function onPageLoad() {\n this.handleOrientationChange();\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n if ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) !== undefined && isMobile) {\n if (!this.isEventListenerAdded) {\n this.handleOrientationChange();\n window.addEventListener(\"load\", this.onPageLoad, false);\n } else {\n window.removeEventListener(\"load\", this.onPageLoad, false);\n }\n\n window.addEventListener(\"resize\", this.onOrientationChange, false);\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n window.removeEventListener(\"resize\", this.onOrientationChange, false);\n }\n }, {\n key: \"render\",\n value: function render() {\n return React__default.createElement(WrappedComponent, _extends({}, this.props, {\n isLandscape: this.state.isLandscape,\n isPortrait: this.state.isPortrait\n }));\n }\n }]);\n\n return _class;\n }(React__default.Component)\n );\n}\n\nexports.AndroidView = AndroidView;\nexports.BrowserTypes = BrowserTypes;\nexports.BrowserView = BrowserView;\nexports.ConsoleView = ConsoleView;\nexports.CustomView = CustomView;\nexports.IEView = IEView;\nexports.IOSView = IOSView;\nexports.MobileOnlyView = MobileOnlyView;\nexports.MobileView = MobileView;\nexports.OsTypes = OsTypes;\nexports.SmartTVView = SmartTVView;\nexports.TabletView = TabletView;\nexports.WearableView = WearableView;\nexports.WinPhoneView = WinPhoneView;\nexports.browserName = browserName;\nexports.browserVersion = browserVersion;\nexports.deviceDetect = deviceDetect;\nexports.deviceType = deviceType;\nexports.engineName = engineName;\nexports.engineVersion = engineVersion;\nexports.fullBrowserVersion = fullBrowserVersion;\nexports.getUA = getUA;\nexports.isAndroid = isAndroid;\nexports.isBrowser = isBrowser;\nexports.isChrome = isChrome;\nexports.isChromium = isChromium;\nexports.isConsole = isConsole;\nexports.isDesktop = isDesktop;\nexports.isEdge = isEdge;\nexports.isEdgeChromium = isEdgeChromium;\nexports.isElectron = isElectron;\nexports.isFirefox = isFirefox;\nexports.isIE = isIE;\nexports.isIOS = isIOS;\nexports.isIOS13 = isIOS13;\nexports.isIPad13 = isIPad13;\nexports.isIPhone13 = isIPhone13;\nexports.isIPod13 = isIPod13;\nexports.isLegacyEdge = isLegacyEdge;\nexports.isMIUI = isMIUI;\nexports.isMacOs = isMacOs;\nexports.isMobile = isMobile;\nexports.isMobileOnly = isMobileOnly;\nexports.isMobileSafari = isMobileSafari;\nexports.isOpera = isOpera;\nexports.isSafari = isSafari;\nexports.isSamsungBrowser = isSamsungBrowser;\nexports.isSmartTV = isSmartTV;\nexports.isTablet = isTablet;\nexports.isWearable = isWearable;\nexports.isWinPhone = isWinPhone;\nexports.isWindows = isWindows;\nexports.isYandex = isYandex;\nexports.mobileModel = mobileModel;\nexports.mobileVendor = mobileVendor;\nexports.osName = osName;\nexports.osVersion = osVersion;\nexports.withOrientationChange = withOrientationChange;\n","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","import _inheritsLoose from \"@babel/runtime/helpers/inheritsLoose\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport * as React from 'react';\nimport createContext from '@hypnosphi/create-react-context';\nexport var ManagerReferenceNodeContext = createContext();\nexport var ManagerReferenceNodeSetterContext = createContext();\n\nvar Manager =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Manager, _React$Component);\n\n function Manager() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"referenceNode\", void 0);\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"setReferenceNode\", function (newReferenceNode) {\n if (newReferenceNode && _this.referenceNode !== newReferenceNode) {\n _this.referenceNode = newReferenceNode;\n\n _this.forceUpdate();\n }\n });\n\n return _this;\n }\n\n var _proto = Manager.prototype;\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.referenceNode = null;\n };\n\n _proto.render = function render() {\n return React.createElement(ManagerReferenceNodeContext.Provider, {\n value: this.referenceNode\n }, React.createElement(ManagerReferenceNodeSetterContext.Provider, {\n value: this.setReferenceNode\n }, this.props.children));\n };\n\n return Manager;\n}(React.Component);\n\nexport { Manager as default };","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar __DEV__ = process.env.NODE_ENV !== 'production';\n\nvar warning = function() {};\n\nif (__DEV__) {\n var printWarning = function printWarning(format, args) {\n var len = arguments.length;\n args = new Array(len > 1 ? len - 1 : 0);\n for (var key = 1; key < len; key++) {\n args[key - 1] = arguments[key];\n }\n var argIndex = 0;\n var message = 'Warning: ' +\n format.replace(/%s/g, function() {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n }\n\n warning = function(condition, format, args) {\n var len = arguments.length;\n args = new Array(len > 2 ? len - 2 : 0);\n for (var key = 2; key < len; key++) {\n args[key - 2] = arguments[key];\n }\n if (format === undefined) {\n throw new Error(\n '`warning(condition, format, ...args)` requires a warning ' +\n 'message argument'\n );\n }\n if (!condition) {\n printWarning.apply(null, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","import React from 'react';\n/**\n * DropdownContext\n * {\n * toggle: PropTypes.func.isRequired,\n * isOpen: PropTypes.bool.isRequired,\n * direction: PropTypes.oneOf(['up', 'down', 'left', 'right']).isRequired,\n * inNavbar: PropTypes.bool.isRequired,\n * disabled: PropTypes.bool\n * }\n */\n\nexport var DropdownContext = /*#__PURE__*/React.createContext({});","// @flow\n'use strict';\n\nvar key = '__global_unique_id__';\n\nmodule.exports = function() {\n return global[key] = (global[key] || 0) + 1;\n};\n","var setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}\n\nmodule.exports = _inheritsLoose, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nmodule.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/* globals __webpack_amd_options__ */\nmodule.exports = __webpack_amd_options__;\n","/* UAParser.js v0.7.31\n Copyright © 2012-2021 Faisal Salman \n MIT License */\n(function(window,undefined){\"use strict\";var LIBVERSION=\"0.7.31\",EMPTY=\"\",UNKNOWN=\"?\",FUNC_TYPE=\"function\",UNDEF_TYPE=\"undefined\",OBJ_TYPE=\"object\",STR_TYPE=\"string\",MAJOR=\"major\",MODEL=\"model\",NAME=\"name\",TYPE=\"type\",VENDOR=\"vendor\",VERSION=\"version\",ARCHITECTURE=\"architecture\",CONSOLE=\"console\",MOBILE=\"mobile\",TABLET=\"tablet\",SMARTTV=\"smarttv\",WEARABLE=\"wearable\",EMBEDDED=\"embedded\",UA_MAX_LENGTH=255;var AMAZON=\"Amazon\",APPLE=\"Apple\",ASUS=\"ASUS\",BLACKBERRY=\"BlackBerry\",BROWSER=\"Browser\",CHROME=\"Chrome\",EDGE=\"Edge\",FIREFOX=\"Firefox\",GOOGLE=\"Google\",HUAWEI=\"Huawei\",LG=\"LG\",MICROSOFT=\"Microsoft\",MOTOROLA=\"Motorola\",OPERA=\"Opera\",SAMSUNG=\"Samsung\",SONY=\"Sony\",XIAOMI=\"Xiaomi\",ZEBRA=\"Zebra\",FACEBOOK=\"Facebook\";var extend=function(regexes,extensions){var mergedRegexes={};for(var i in regexes){if(extensions[i]&&extensions[i].length%2===0){mergedRegexes[i]=extensions[i].concat(regexes[i])}else{mergedRegexes[i]=regexes[i]}}return mergedRegexes},enumerize=function(arr){var enums={};for(var i=0;i0){if(q.length===2){if(typeof q[1]==FUNC_TYPE){this[q[0]]=q[1].call(this,match)}else{this[q[0]]=q[1]}}else if(q.length===3){if(typeof q[1]===FUNC_TYPE&&!(q[1].exec&&q[1].test)){this[q[0]]=match?q[1].call(this,match,q[2]):undefined}else{this[q[0]]=match?match.replace(q[1],q[2]):undefined}}else if(q.length===4){this[q[0]]=match?q[3].call(this,match.replace(q[1],q[2])):undefined}}else{this[q]=match?match:undefined}}}}i+=2}},strMapper=function(str,map){for(var i in map){if(typeof map[i]===OBJ_TYPE&&map[i].length>0){for(var j=0;jUA_MAX_LENGTH?trim(ua,UA_MAX_LENGTH):ua;return this};this.setUA(_ua);return this};UAParser.VERSION=LIBVERSION;UAParser.BROWSER=enumerize([NAME,VERSION,MAJOR]);UAParser.CPU=enumerize([ARCHITECTURE]);UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,CONSOLE,MOBILE,SMARTTV,TABLET,WEARABLE,EMBEDDED]);UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]);if(typeof exports!==UNDEF_TYPE){if(typeof module!==UNDEF_TYPE&&module.exports){exports=module.exports=UAParser}exports.UAParser=UAParser}else{if(typeof define===FUNC_TYPE&&define.amd){define(function(){return UAParser})}else if(typeof window!==UNDEF_TYPE){window.UAParser=UAParser}}var $=typeof window!==UNDEF_TYPE&&(window.jQuery||window.Zepto);if($&&!$.ua){var parser=new UAParser;$.ua=parser.getResult();$.ua.get=function(){return parser.getUA()};$.ua.set=function(ua){parser.setUA(ua);var result=parser.getResult();for(var prop in result){$.ua[prop]=result[prop]}}}})(typeof window===\"object\"?window:this);","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","'use strict';\n\nexports.__esModule = true;\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _implementation = require('./implementation');\n\nvar _implementation2 = _interopRequireDefault(_implementation);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _react2.default.createContext || _implementation2.default;\nmodule.exports = exports['default'];","'use strict';\n\nexports.__esModule = true;\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _gud = require('gud');\n\nvar _gud2 = _interopRequireDefault(_gud);\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar MAX_SIGNED_31_BIT_INT = 1073741823;\n\n// Inlined Object.is polyfill.\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\nfunction objectIs(x, y) {\n if (x === y) {\n return x !== 0 || 1 / x === 1 / y;\n } else {\n return x !== x && y !== y;\n }\n}\n\nfunction createEventEmitter(value) {\n var handlers = [];\n return {\n on: function on(handler) {\n handlers.push(handler);\n },\n off: function off(handler) {\n handlers = handlers.filter(function (h) {\n return h !== handler;\n });\n },\n get: function get() {\n return value;\n },\n set: function set(newValue, changedBits) {\n value = newValue;\n handlers.forEach(function (handler) {\n return handler(value, changedBits);\n });\n }\n };\n}\n\nfunction onlyChild(children) {\n return Array.isArray(children) ? children[0] : children;\n}\n\nfunction createReactContext(defaultValue, calculateChangedBits) {\n var _Provider$childContex, _Consumer$contextType;\n\n var contextProp = '__create-react-context-' + (0, _gud2.default)() + '__';\n\n var Provider = function (_Component) {\n _inherits(Provider, _Component);\n\n function Provider() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, Provider);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.emitter = createEventEmitter(_this.props.value), _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n Provider.prototype.getChildContext = function getChildContext() {\n var _ref;\n\n return _ref = {}, _ref[contextProp] = this.emitter, _ref;\n };\n\n Provider.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n if (this.props.value !== nextProps.value) {\n var oldValue = this.props.value;\n var newValue = nextProps.value;\n var changedBits = void 0;\n\n if (objectIs(oldValue, newValue)) {\n changedBits = 0; // No change\n } else {\n changedBits = typeof calculateChangedBits === 'function' ? calculateChangedBits(oldValue, newValue) : MAX_SIGNED_31_BIT_INT;\n if (process.env.NODE_ENV !== 'production') {\n (0, _warning2.default)((changedBits & MAX_SIGNED_31_BIT_INT) === changedBits, 'calculateChangedBits: Expected the return value to be a ' + '31-bit integer. Instead received: %s', changedBits);\n }\n\n changedBits |= 0;\n\n if (changedBits !== 0) {\n this.emitter.set(nextProps.value, changedBits);\n }\n }\n }\n };\n\n Provider.prototype.render = function render() {\n return this.props.children;\n };\n\n return Provider;\n }(_react.Component);\n\n Provider.childContextTypes = (_Provider$childContex = {}, _Provider$childContex[contextProp] = _propTypes2.default.object.isRequired, _Provider$childContex);\n\n var Consumer = function (_Component2) {\n _inherits(Consumer, _Component2);\n\n function Consumer() {\n var _temp2, _this2, _ret2;\n\n _classCallCheck(this, Consumer);\n\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return _ret2 = (_temp2 = (_this2 = _possibleConstructorReturn(this, _Component2.call.apply(_Component2, [this].concat(args))), _this2), _this2.state = {\n value: _this2.getValue()\n }, _this2.onUpdate = function (newValue, changedBits) {\n var observedBits = _this2.observedBits | 0;\n if ((observedBits & changedBits) !== 0) {\n _this2.setState({ value: _this2.getValue() });\n }\n }, _temp2), _possibleConstructorReturn(_this2, _ret2);\n }\n\n Consumer.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n var observedBits = nextProps.observedBits;\n\n this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default\n : observedBits;\n };\n\n Consumer.prototype.componentDidMount = function componentDidMount() {\n if (this.context[contextProp]) {\n this.context[contextProp].on(this.onUpdate);\n }\n var observedBits = this.props.observedBits;\n\n this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default\n : observedBits;\n };\n\n Consumer.prototype.componentWillUnmount = function componentWillUnmount() {\n if (this.context[contextProp]) {\n this.context[contextProp].off(this.onUpdate);\n }\n };\n\n Consumer.prototype.getValue = function getValue() {\n if (this.context[contextProp]) {\n return this.context[contextProp].get();\n } else {\n return defaultValue;\n }\n };\n\n Consumer.prototype.render = function render() {\n return onlyChild(this.props.children)(this.state.value);\n };\n\n return Consumer;\n }(_react.Component);\n\n Consumer.contextTypes = (_Consumer$contextType = {}, _Consumer$contextType[contextProp] = _propTypes2.default.object, _Consumer$contextType);\n\n\n return {\n Provider: Provider,\n Consumer: Consumer\n };\n}\n\nexports.default = createReactContext;\nmodule.exports = exports['default'];","export var sidebarCssClasses = ['sidebar-show', 'sidebar-sm-show', 'sidebar-md-show', 'sidebar-lg-show', 'sidebar-xl-show'];\nexport var asideMenuCssClasses = ['aside-menu-show', 'aside-menu-sm-show', 'aside-menu-md-show', 'aside-menu-lg-show', 'aside-menu-xl-show'];\nexport var validBreakpoints = ['sm', 'md', 'lg', 'xl'];\nexport function checkBreakpoint(breakpoint, list) {\n return list.indexOf(breakpoint) > -1;\n}","export default function toggleClasses(toggleClass, classList, force) {\n var level = classList.indexOf(toggleClass);\n var removeClassList = classList.slice(0, level);\n removeClassList.map(function (className) {\n return document.body.classList.remove(className);\n });\n\n if (force === true) {\n document.body.classList.add(toggleClass);\n } else if (force === false) {\n document.body.classList.remove(toggleClass);\n } else {\n document.body.classList.toggle(toggleClass);\n }\n\n return document.body.classList.contains(toggleClass);\n}","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { asideMenuCssClasses, checkBreakpoint, validBreakpoints } from './Shared';\nimport toggleClasses from './Shared/toggle-classes';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n display: PropTypes.string,\n fixed: PropTypes.bool,\n isOpen: PropTypes.bool,\n offCanvas: PropTypes.bool,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string])\n} : {};\nvar defaultProps = {\n tag: 'aside',\n display: '',\n fixed: false,\n isOpen: false,\n offCanvas: true\n};\n\nvar AppAside = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppAside, _Component);\n\n function AppAside(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.isFixed = _this.isFixed.bind(_assertThisInitialized(_this));\n _this.isOffCanvas = _this.isOffCanvas.bind(_assertThisInitialized(_this));\n _this.displayBreakpoint = _this.displayBreakpoint.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = AppAside.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.isFixed(this.props.fixed);\n this.isOffCanvas(this.props.offCanvas);\n this.displayBreakpoint(this.props.display);\n };\n\n _proto.isFixed = function isFixed(fixed) {\n if (fixed) {\n document.body.classList.add('aside-menu-fixed');\n }\n };\n\n _proto.isOffCanvas = function isOffCanvas(offCanvas) {\n if (offCanvas) {\n document.body.classList.add('aside-menu-off-canvas');\n }\n };\n\n _proto.displayBreakpoint = function displayBreakpoint(display) {\n if (display && checkBreakpoint(display, validBreakpoints)) {\n var cssClass = \"aside-menu-\" + display + \"-show\";\n toggleClasses(cssClass, asideMenuCssClasses, true);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n Tag = _this$props.tag,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"tag\"]);\n\n delete attributes.display;\n delete attributes.fixed;\n delete attributes.offCanvas;\n delete attributes.isOpen;\n var classes = classNames(className, 'aside-menu');\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }), children);\n };\n\n return AppAside;\n}(Component);\n\nAppAside.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppAside.defaultProps = defaultProps;\nexport default AppAside;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { asideMenuCssClasses, validBreakpoints, checkBreakpoint } from './Shared/index';\nimport toggleClasses from './Shared/toggle-classes';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n defaultOpen: PropTypes.bool,\n display: PropTypes.any,\n mobile: PropTypes.bool,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n type: PropTypes.string\n} : {};\nvar defaultProps = {\n defaultOpen: false,\n display: 'lg',\n mobile: false,\n tag: 'button',\n type: 'button'\n};\n\nvar AppAsideToggler = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppAsideToggler, _Component);\n\n function AppAsideToggler(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.asideToggle = _this.asideToggle.bind(_assertThisInitialized(_this));\n _this.state = {};\n return _this;\n }\n\n var _proto = AppAsideToggler.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.toggle(this.props.defaultOpen);\n };\n\n _proto.toggle = function toggle(force) {\n var _ref = [this.props.display, this.props.mobile],\n display = _ref[0],\n mobile = _ref[1];\n var cssClass = asideMenuCssClasses[0];\n\n if (!mobile && display && checkBreakpoint(display, validBreakpoints)) {\n cssClass = \"aside-menu-\" + display + \"-show\";\n }\n\n toggleClasses(cssClass, asideMenuCssClasses, force);\n };\n\n _proto.asideToggle = function asideToggle(e) {\n e.preventDefault();\n this.toggle();\n };\n\n _proto.render = function render() {\n var _this2 = this;\n\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n type = _this$props.type,\n Tag = _this$props.tag,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"type\", \"tag\"]);\n\n delete attributes.defaultOpen;\n delete attributes.display;\n delete attributes.mobile;\n var classes = classNames(className, 'navbar-toggler');\n return /*#__PURE__*/React.createElement(Tag, _extends({\n type: type,\n className: classes\n }, attributes, {\n onClick: function onClick(event) {\n return _this2.asideToggle(event);\n }\n }), children || /*#__PURE__*/React.createElement(\"span\", {\n className: \"navbar-toggler-icon\"\n }));\n };\n\n return AppAsideToggler;\n}(Component);\n\nAppAsideToggler.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppAsideToggler.defaultProps = defaultProps;\nexport default AppAsideToggler;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"active\", \"tag\"];\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n active: PropTypes.bool,\n className: PropTypes.string,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n tag: 'li'\n};\n\nvar BreadcrumbItem = function BreadcrumbItem(props) {\n var className = props.className,\n cssModule = props.cssModule,\n active = props.active,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n\n var classes = mapToCssModules(classNames(className, active ? 'active' : false, 'breadcrumb-item'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n \"aria-current\": active ? 'page' : undefined\n }));\n};\n\nBreadcrumbItem.propTypes = propTypes;\nBreadcrumbItem.defaultProps = defaultProps;\nexport default BreadcrumbItem;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"listClassName\", \"cssModule\", \"children\", \"tag\", \"listTag\", \"aria-label\"];\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n listTag: tagPropType,\n className: PropTypes.string,\n listClassName: PropTypes.string,\n cssModule: PropTypes.object,\n children: PropTypes.node,\n 'aria-label': PropTypes.string\n};\nvar defaultProps = {\n tag: 'nav',\n listTag: 'ol',\n 'aria-label': 'breadcrumb'\n};\n\nvar Breadcrumb = function Breadcrumb(props) {\n var className = props.className,\n listClassName = props.listClassName,\n cssModule = props.cssModule,\n children = props.children,\n Tag = props.tag,\n ListTag = props.listTag,\n label = props['aria-label'],\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n\n var classes = mapToCssModules(classNames(className), cssModule);\n var listClasses = mapToCssModules(classNames('breadcrumb', listClassName), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n \"aria-label\": label\n }), /*#__PURE__*/React.createElement(ListTag, {\n className: listClasses\n }, children));\n};\n\nBreadcrumb.propTypes = propTypes;\nBreadcrumb.defaultProps = defaultProps;\nexport default Breadcrumb;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport { Route, Link, matchPath } from 'react-router-dom';\nimport { Breadcrumb, BreadcrumbItem } from 'reactstrap';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nvar routes;\n\nvar getPaths = function getPaths(pathname) {\n var paths = ['/'];\n if (pathname === '/') return paths;\n pathname.split('/').reduce(function (prev, curr) {\n var currPath = prev + \"/\" + curr;\n paths.push(currPath);\n return currPath;\n });\n return paths;\n};\n\nvar findRouteName = function findRouteName(url) {\n var aroute = routes.find(function (route) {\n return matchPath(url, {\n path: route.path,\n exact: route.exact\n });\n });\n return aroute && aroute.name ? aroute.name : null;\n};\n\nvar BreadcrumbsItem = function BreadcrumbsItem(_ref) {\n var match = _ref.match;\n var routeName = findRouteName(match.url);\n\n if (routeName) {\n return (// eslint-disable-next-line react/prop-types\n match.isExact ? /*#__PURE__*/React.createElement(BreadcrumbItem, {\n active: true\n }, routeName) : /*#__PURE__*/React.createElement(BreadcrumbItem, null, /*#__PURE__*/React.createElement(Link, {\n to: match.url || ''\n }, routeName))\n );\n }\n\n return null;\n};\n\nBreadcrumbsItem.propTypes = process.env.NODE_ENV !== \"production\" ? {\n match: PropTypes.shape({\n url: PropTypes.string\n })\n} : {};\n\nvar Breadcrumbs = function Breadcrumbs(args) {\n var paths = getPaths(args.location.pathname);\n var items = paths.map(function (path, i) {\n return /*#__PURE__*/React.createElement(Route, {\n key: i.toString(),\n path: path,\n component: BreadcrumbsItem\n });\n });\n return /*#__PURE__*/React.createElement(Breadcrumb, null, items);\n};\n\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n appRoutes: PropTypes.any,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string])\n} : {};\nvar defaultProps = {\n tag: 'div',\n className: '',\n appRoutes: [{\n path: '/',\n exact: true,\n name: 'Home',\n component: null\n }]\n};\n\nvar AppBreadcrumb = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppBreadcrumb, _Component);\n\n function AppBreadcrumb(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.state = {\n routes: props.appRoutes\n };\n routes = _this.state.routes;\n return _this;\n }\n\n var _proto = AppBreadcrumb.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n className = _this$props.className,\n Tag = _this$props.tag,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"tag\"]);\n\n delete attributes.children;\n delete attributes.appRoutes;\n var classes = classNames(className);\n return /*#__PURE__*/React.createElement(Tag, {\n className: classes\n }, /*#__PURE__*/React.createElement(Route, _extends({\n path: \"/:path\",\n component: Breadcrumbs\n }, attributes)));\n };\n\n return AppBreadcrumb;\n}(Component);\n\nAppBreadcrumb.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppBreadcrumb.defaultProps = defaultProps;\nexport default AppBreadcrumb;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport { Breadcrumb, BreadcrumbItem } from 'reactstrap';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nvar routes;\nvar router;\n\nvar getPaths = function getPaths(pathname) {\n var paths = ['/'];\n if (pathname === '/') return paths;\n pathname.split('/').reduce(function (prev, curr) {\n var currPath = prev + \"/\" + curr;\n paths.push(currPath);\n return currPath;\n });\n return paths;\n};\n\nvar findRouteName2 = function findRouteName2(url) {\n var matchPath = router.matchPath;\n var aroute = routes.find(function (route) {\n return matchPath(url, {\n path: route.path,\n exact: route.exact\n });\n });\n return aroute && aroute.name ? aroute.name : null;\n};\n\nvar BreadcrumbsItem2 = function BreadcrumbsItem2(_ref) {\n var match = _ref.match;\n var routeName = findRouteName2(match.url);\n var Link = router.Link;\n\n if (routeName) {\n return (// eslint-disable-next-line react/prop-types\n match.isExact ? /*#__PURE__*/React.createElement(BreadcrumbItem, {\n active: true\n }, routeName) : /*#__PURE__*/React.createElement(BreadcrumbItem, null, /*#__PURE__*/React.createElement(Link, {\n to: match.url || ''\n }, routeName))\n );\n }\n\n return null;\n};\n\nBreadcrumbsItem2.propTypes = process.env.NODE_ENV !== \"production\" ? {\n match: PropTypes.shape({\n url: PropTypes.string\n })\n} : {};\n\nvar Breadcrumbs2 = function Breadcrumbs2(args) {\n var Route = router.Route;\n var paths = getPaths(args.location.pathname);\n var items = paths.map(function (path, i) {\n return /*#__PURE__*/React.createElement(Route, {\n key: i.toString(),\n path: path,\n component: BreadcrumbsItem2\n });\n });\n return /*#__PURE__*/React.createElement(Breadcrumb, null, items);\n};\n\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n appRoutes: PropTypes.any,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n router: PropTypes.any\n} : {};\nvar defaultProps = {\n tag: 'div',\n className: '',\n appRoutes: [{\n path: '/',\n exact: true,\n name: 'Home',\n component: null\n }]\n};\n\nvar AppBreadcrumb2 = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppBreadcrumb2, _Component);\n\n function AppBreadcrumb2(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.state = {\n routes: props.appRoutes\n };\n routes = _this.state.routes;\n router = props.router;\n return _this;\n }\n\n var _proto = AppBreadcrumb2.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n className = _this$props.className,\n Tag = _this$props.tag,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"tag\"]);\n\n delete attributes.children;\n delete attributes.appRoutes;\n delete attributes.router;\n var classes = classNames(className);\n var Route = router.Route;\n return /*#__PURE__*/React.createElement(Tag, {\n className: classes\n }, /*#__PURE__*/React.createElement(Route, _extends({\n path: \"/:path\",\n component: Breadcrumbs2\n }, attributes)));\n };\n\n return AppBreadcrumb2;\n}(Component);\n\nAppBreadcrumb2.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppBreadcrumb2.defaultProps = defaultProps;\nexport default AppBreadcrumb2;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n fixed: PropTypes.bool,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string])\n} : {};\nvar defaultProps = {\n tag: 'footer',\n fixed: false\n};\n\nvar AppFooter = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppFooter, _Component);\n\n function AppFooter(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.isFixed = _this.isFixed.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = AppFooter.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.isFixed(this.props.fixed);\n };\n\n _proto.isFixed = function isFixed(fixed) {\n if (fixed) {\n document.body.classList.add('footer-fixed');\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n Tag = _this$props.tag,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"tag\"]);\n\n delete attributes.fixed;\n var classes = classNames(className, 'app-footer');\n return /*#__PURE__*/React.createElement(Tag, _extends({\n className: classes\n }, attributes), children);\n };\n\n return AppFooter;\n}(Component);\n\nAppFooter.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppFooter.defaultProps = defaultProps;\nexport default AppFooter;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n fixed: PropTypes.bool,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string])\n} : {};\nvar defaultProps = {\n tag: 'header',\n fixed: false\n};\n\nvar AppHeader = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppHeader, _Component);\n\n function AppHeader() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = AppHeader.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.isFixed(this.props.fixed);\n };\n\n _proto.isFixed = function isFixed(fixed) {\n if (fixed) {\n document.body.classList.add('header-fixed');\n }\n } // breakpoint(breakpoint) {\n // return breakpoint || '';\n // }\n ;\n\n _proto.render = function render() {\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n Tag = _this$props.tag,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"tag\"]);\n\n delete attributes.fixed;\n var classes = classNames(className, 'app-header', 'navbar');\n return /*#__PURE__*/React.createElement(Tag, _extends({\n className: classes\n }, attributes), children);\n };\n\n return AppHeader;\n}(Component);\n\nAppHeader.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppHeader.defaultProps = defaultProps;\nexport default AppHeader;","function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport React, { Component } from 'react';\nimport { Dropdown } from 'reactstrap';\nimport PropTypes from 'prop-types';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? _extends({\n children: PropTypes.node,\n direction: PropTypes.string\n}, Dropdown.propTypes) : {};\nvar defaultProps = {\n direction: 'down'\n};\n\nvar AppHeaderDropdown = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppHeaderDropdown, _Component);\n\n function AppHeaderDropdown(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.toggle = _this.toggle.bind(_assertThisInitialized(_this));\n _this.state = {\n dropdownOpen: false\n };\n return _this;\n }\n\n var _proto = AppHeaderDropdown.prototype;\n\n _proto.toggle = function toggle() {\n this.setState({\n dropdownOpen: !this.state.dropdownOpen\n });\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"children\"]);\n\n return /*#__PURE__*/React.createElement(Dropdown, _extends({\n nav: true,\n isOpen: this.state.dropdownOpen,\n toggle: this.toggle\n }, attributes), children);\n };\n\n return AppHeaderDropdown;\n}(Component);\n\nAppHeaderDropdown.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppHeaderDropdown.defaultProps = defaultProps;\nexport default AppHeaderDropdown;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n children: PropTypes.node,\n className: PropTypes.string,\n brand: PropTypes.any,\n full: PropTypes.any,\n minimized: PropTypes.any\n} : {};\nvar defaultProps = {\n tag: 'a'\n};\n\nvar AppNavbarBrand = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppNavbarBrand, _Component);\n\n function AppNavbarBrand() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = AppNavbarBrand.prototype;\n\n _proto.imgSrc = function imgSrc(brand) {\n return brand.src ? brand.src : '';\n };\n\n _proto.imgWidth = function imgWidth(brand) {\n return brand.width ? brand.width : 'auto';\n };\n\n _proto.imgHeight = function imgHeight(brand) {\n return brand.height ? brand.height : 'auto';\n };\n\n _proto.imgAlt = function imgAlt(brand) {\n return brand.alt ? brand.alt : '';\n };\n\n _proto.navbarBrandImg = function navbarBrandImg(props, classBrand, key) {\n return /*#__PURE__*/React.createElement(\"img\", {\n src: this.imgSrc(props),\n width: this.imgWidth(props),\n height: this.imgHeight(props),\n alt: this.imgAlt(props),\n className: classBrand,\n key: key.toString()\n });\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n Tag = _this$props.tag,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"tag\"]);\n\n var classes = classNames(className, 'navbar-brand');\n var img = [];\n\n if (this.props.brand) {\n var props = this.props.brand;\n var classBrand = 'navbar-brand';\n img.push(this.navbarBrandImg(props, classBrand, img.length + 1));\n }\n\n if (this.props.full) {\n var _props = this.props.full;\n var _classBrand = 'navbar-brand-full';\n img.push(this.navbarBrandImg(_props, _classBrand, img.length + 1));\n }\n\n if (this.props.minimized) {\n var _props2 = this.props.minimized;\n var _classBrand2 = 'navbar-brand-minimized';\n img.push(this.navbarBrandImg(_props2, _classBrand2, img.length + 1));\n }\n\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }), children || img);\n };\n\n return AppNavbarBrand;\n}(Component);\n\nAppNavbarBrand.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppNavbarBrand.defaultProps = defaultProps;\nexport default AppNavbarBrand;","function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar LayoutHelper = /*#__PURE__*/function () {\n function LayoutHelper() {}\n\n LayoutHelper.sidebarToggle = function sidebarToggle(toggle) {\n var minimize = arguments.length ? toggle : !this.elClassList.contains('sidebar-minimized');\n this.sidebarMinimize(minimize);\n this.brandMinimize(minimize);\n this.sidebarPSToggle(!minimize);\n /*remove PS on sidebar minimized*/\n };\n\n LayoutHelper.sidebarMinimize = function sidebarMinimize(force) {\n return this.toggleClass('sidebar-minimized', force);\n };\n\n LayoutHelper.brandMinimize = function brandMinimize(force) {\n this.toggleClass('brand-minimized', force);\n } // sidebar perfect scrollbar ugly hack\n ;\n\n LayoutHelper.sidebarPSToggle = function sidebarPSToggle(toggle) {\n if (this.isOnMobile()) {\n toggle = true;\n } else {\n var isSidebarMinimized = document.body.classList.contains('sidebar-minimized') || false;\n toggle = !isSidebarMinimized;\n }\n\n var ps = {\n y: {\n rail: {},\n thumb: {}\n }\n };\n var isRtl = getComputedStyle(document.documentElement).direction === 'rtl';\n var sidebar = document.querySelector('.sidebar-nav');\n ps.y.rail.on = document.querySelector('.sidebar-nav .ps__rail-y');\n ps.y.rail.off = document.querySelector('.sidebar-nav .ps__rail-y-off');\n ps.y.thumb.on = document.querySelector('.sidebar-nav .ps__thumb-y');\n ps.y.thumb.off = document.querySelector('.sidebar-nav .ps__thumb-y-off');\n\n if (sidebar) {\n if (toggle) {\n sidebar.classList.add('ps');\n sidebar.classList.add('ps-container');\n sidebar.classList.add('ps--active-y');\n\n if (ps.y.rail.off) {\n ps.y.rail.off.classList.add('ps__rail-y');\n ps.y.rail.off.removeAttribute('style');\n ps.y.rail.off.style.left = isRtl ? '0px' : 'unset';\n ps.y.rail.off.style.right = isRtl ? 'unset' : '0px';\n ps.y.rail.off.classList.remove('ps__rail-y-off');\n }\n\n if (ps.y.thumb.off) {\n ps.y.thumb.off.removeAttribute('style');\n ps.y.thumb.off.classList.add('ps__thumb-y');\n ps.y.thumb.off.classList.remove('ps__thumb-y-off');\n }\n } else {\n if (ps.y.rail.on) {\n ps.y.rail.on.classList.add('ps__rail-y-off');\n ps.y.rail.on.removeAttribute('style');\n ps.y.rail.on.classList.remove('ps__rail-y');\n }\n\n if (ps.y.thumb.on) {\n ps.y.thumb.on.classList.add('ps__thumb-y-off');\n ps.y.thumb.on.removeAttribute('style');\n ps.y.thumb.on.classList.remove('ps__thumb-y');\n }\n\n sidebar.classList.remove('ps');\n sidebar.classList.remove('ps-container');\n sidebar.classList.remove('ps--active-y');\n }\n }\n };\n\n LayoutHelper.toggleClass = function toggleClass(className, force) {\n if (force === true) {\n this.elClassList.add(className);\n } else if (force === false) {\n this.elClassList.remove(className);\n } else {\n this.elClassList.toggle(className);\n }\n\n return this.elClassList.contains(className);\n };\n\n LayoutHelper.isOnMobile = function isOnMobile() {\n var onMobile = false;\n\n try {\n var minimizerElement = document.querySelector('.sidebar-minimizer');\n\n if (minimizerElement) {\n onMobile = getComputedStyle(minimizerElement).getPropertyValue('display') === 'none';\n } else {\n var sidebarElement = document.querySelector('.sidebar .sidebar-nav');\n sidebarElement && (onMobile = getComputedStyle(sidebarElement).getPropertyValue('overflow-y') === 'auto');\n }\n } catch (ignore) {\n // eslint-disable-next-line\n console.warn('CoreUI isOnMobile failed to getComputedStyle', ignore);\n }\n\n return onMobile;\n };\n\n return LayoutHelper;\n}();\n\n_defineProperty(LayoutHelper, \"elClassList\", document.body.classList);\n\nexport default LayoutHelper;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\nimport { sidebarCssClasses } from './Shared';\nimport ClickOutHandler from 'react-onclickout';\nimport './Shared/element-closest';\nimport LayoutHelper from './Shared/layout/layout';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n compact: PropTypes.bool,\n display: PropTypes.string,\n fixed: PropTypes.bool,\n minimized: PropTypes.bool,\n isOpen: PropTypes.bool,\n offCanvas: PropTypes.bool,\n staticContext: PropTypes.any,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string])\n} : {};\nvar defaultProps = {\n tag: 'div',\n compact: false,\n display: '',\n fixed: false,\n minimized: false,\n isOpen: false,\n offCanvas: false\n};\n\nvar AppSidebar = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppSidebar, _Component);\n\n function AppSidebar(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.isCompact = _this.isCompact.bind(_assertThisInitialized(_this));\n _this.isFixed = _this.isFixed.bind(_assertThisInitialized(_this));\n _this.isMinimized = _this.isMinimized.bind(_assertThisInitialized(_this));\n _this.isOffCanvas = _this.isOffCanvas.bind(_assertThisInitialized(_this));\n _this.displayBreakpoint = _this.displayBreakpoint.bind(_assertThisInitialized(_this));\n _this.hideMobile = _this.hideMobile.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = AppSidebar.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.displayBreakpoint(this.props.display);\n this.isCompact(this.props.compact);\n this.isFixed(this.props.fixed);\n this.isMinimized(this.props.minimized);\n this.isOffCanvas(this.props.offCanvas);\n };\n\n _proto.isCompact = function isCompact(compact) {\n if (compact) {\n document.body.classList.add('sidebar-compact');\n }\n };\n\n _proto.isFixed = function isFixed(fixed) {\n if (fixed) {\n document.body.classList.add('sidebar-fixed');\n }\n };\n\n _proto.isMinimized = function isMinimized(minimized) {\n LayoutHelper.sidebarToggle(minimized);\n };\n\n _proto.isOffCanvas = function isOffCanvas(offCanvas) {\n if (offCanvas) {\n document.body.classList.add('sidebar-off-canvas');\n }\n };\n\n _proto.displayBreakpoint = function displayBreakpoint(display) {\n var cssTemplate = \"sidebar-\" + display + \"-show\";\n var _sidebarCssClasses$ = sidebarCssClasses[0],\n cssClass = _sidebarCssClasses$[0];\n\n if (display && sidebarCssClasses.indexOf(cssTemplate) > -1) {\n cssClass = cssTemplate;\n }\n\n document.body.classList.add(cssClass);\n };\n\n _proto.hideMobile = function hideMobile() {\n if (document.body.classList.contains('sidebar-show')) {\n document.body.classList.remove('sidebar-show');\n }\n };\n\n _proto.onClickOut = function onClickOut(e) {\n if (typeof window !== 'undefined' && document.body.classList.contains('sidebar-show')) {\n if (!e.target.closest('[data-sidebar-toggler]')) {\n this.hideMobile();\n }\n }\n };\n\n _proto.render = function render() {\n var _this2 = this;\n\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n Tag = _this$props.tag,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"tag\"]);\n\n delete attributes.compact;\n delete attributes.display;\n delete attributes.fixed;\n delete attributes.minimized;\n delete attributes.offCanvas;\n delete attributes.isOpen;\n delete attributes.staticContext;\n var classes = classNames(className, 'sidebar'); // sidebar-nav root\n\n return /*#__PURE__*/React.createElement(ClickOutHandler, {\n onClickOut: function onClickOut(e) {\n _this2.onClickOut(e);\n }\n }, /*#__PURE__*/React.createElement(Tag, _extends({\n className: classes\n }, attributes), children));\n };\n\n return AppSidebar;\n}(Component);\n\nAppSidebar.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppSidebar.defaultProps = defaultProps;\nexport default AppSidebar;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string])\n} : {};\nvar defaultProps = {\n tag: 'div'\n};\n\nvar AppSidebarFooter = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppSidebarFooter, _Component);\n\n function AppSidebarFooter() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = AppSidebarFooter.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n Tag = _this$props.tag,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"tag\"]);\n\n var classes = classNames(className, 'sidebar-footer');\n var footer = children ? /*#__PURE__*/React.createElement(Tag, _extends({\n className: classes\n }, attributes), children) : null;\n return footer;\n };\n\n return AppSidebarFooter;\n}(Component);\n\nAppSidebarFooter.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppSidebarFooter.defaultProps = defaultProps;\nexport default AppSidebarFooter;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string])\n} : {};\nvar defaultProps = {\n tag: 'div'\n};\n\nvar AppSidebarForm = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppSidebarForm, _Component);\n\n function AppSidebarForm() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = AppSidebarForm.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n Tag = _this$props.tag,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"tag\"]);\n\n var classes = classNames(className, 'sidebar-form');\n var form = children ? /*#__PURE__*/React.createElement(Tag, _extends({\n className: classes\n }, attributes), children) : null;\n return form;\n };\n\n return AppSidebarForm;\n}(Component);\n\nAppSidebarForm.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppSidebarForm.defaultProps = defaultProps;\nexport default AppSidebarForm;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string])\n} : {};\nvar defaultProps = {\n tag: 'div'\n};\n\nvar AppSidebarHeader = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppSidebarHeader, _Component);\n\n function AppSidebarHeader() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = AppSidebarHeader.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n Tag = _this$props.tag,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"tag\"]);\n\n var classes = classNames(className, 'sidebar-header');\n var header = children ? /*#__PURE__*/React.createElement(Tag, _extends({\n className: classes\n }, attributes), children) : null;\n return header;\n };\n\n return AppSidebarHeader;\n}(Component);\n\nAppSidebarHeader.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppSidebarHeader.defaultProps = defaultProps;\nexport default AppSidebarHeader;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport LayoutHelper from './Shared/layout/layout';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n type: PropTypes.string\n} : {};\nvar defaultProps = {\n tag: 'button',\n type: 'button'\n};\n\nvar AppSidebarMinimizer = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppSidebarMinimizer, _Component);\n\n function AppSidebarMinimizer(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.handleClick = _this.handleClick.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = AppSidebarMinimizer.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n var isMinimized = document.body.classList.contains('sidebar-minimized');\n LayoutHelper.sidebarPSToggle(!isMinimized);\n };\n\n _proto.handleClick = function handleClick() {\n LayoutHelper.sidebarToggle();\n };\n\n _proto.render = function render() {\n var _this2 = this;\n\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n Tag = _this$props.tag,\n type = _this$props.type,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"tag\", \"type\"]);\n\n var classes = classNames(className, 'sidebar-minimizer', 'mt-auto');\n return /*#__PURE__*/React.createElement(Tag, _extends({\n className: classes,\n type: type\n }, attributes, {\n onClick: function onClick(event) {\n return _this2.handleClick(event);\n }\n }), children);\n };\n\n return AppSidebarMinimizer;\n}(Component);\n\nAppSidebarMinimizer.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppSidebarMinimizer.defaultProps = defaultProps;\nexport default AppSidebarMinimizer;","function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport { NavLink } from 'react-router-dom';\nimport { Badge, Nav, NavItem, NavLink as RsNavLink } from 'reactstrap';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\nimport PerfectScrollbar from 'react-perfect-scrollbar';\nimport 'react-perfect-scrollbar/dist/css/styles.css';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n navConfig: PropTypes.any,\n navFunc: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n isOpen: PropTypes.bool,\n staticContext: PropTypes.any,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string])\n} : {};\nvar defaultProps = {\n tag: 'nav',\n navConfig: {\n items: [{\n name: 'Dashboard',\n url: '/dashboard',\n icon: 'icon-speedometer',\n badge: {\n variant: 'info',\n text: 'NEW'\n }\n }]\n },\n isOpen: false\n};\n\nvar AppSidebarNav = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppSidebarNav, _Component);\n\n function AppSidebarNav(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.handleClick = _this.handleClick.bind(_assertThisInitialized(_this));\n _this.activeRoute = _this.activeRoute.bind(_assertThisInitialized(_this));\n _this.hideMobile = _this.hideMobile.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = AppSidebarNav.prototype;\n\n _proto.handleClick = function handleClick(e) {\n e.preventDefault();\n e.currentTarget.parentElement.classList.toggle('open');\n };\n\n _proto.activeRoute = function activeRoute(routeName, props) {\n return props.location.pathname.indexOf(routeName) > -1 ? 'nav-item nav-dropdown open' : 'nav-item nav-dropdown';\n };\n\n _proto.hideMobile = function hideMobile() {\n if (document.body.classList.contains('sidebar-show')) {\n document.body.classList.toggle('sidebar-show');\n }\n } // nav list\n ;\n\n _proto.navList = function navList(items) {\n var _this2 = this;\n\n return items.map(function (item, index) {\n return _this2.navType(item, index);\n });\n } // nav type\n ;\n\n _proto.navType = function navType(item, idx) {\n return item.title ? this.navTitle(item, idx) : item.divider ? this.navDivider(item, idx) : item.label ? this.navLabel(item, idx) : item.children ? this.navDropdown(item, idx) : this.navItem(item, idx);\n } // nav list section title\n ;\n\n _proto.navTitle = function navTitle(title, key) {\n var classes = classNames('nav-title', title[\"class\"]);\n return /*#__PURE__*/React.createElement(\"li\", {\n key: key,\n className: classes\n }, this.navWrapper(title), \" \");\n } // simple wrapper for nav-title item\n ;\n\n _proto.navWrapper = function navWrapper(item) {\n return item.wrapper && item.wrapper.element ? React.createElement(item.wrapper.element, item.wrapper.attributes, item.name) : item.name;\n } // nav list divider\n ;\n\n _proto.navDivider = function navDivider(divider, key) {\n var classes = classNames('divider', divider[\"class\"]);\n return /*#__PURE__*/React.createElement(\"li\", {\n key: key,\n className: classes\n });\n } // nav label with nav link\n ;\n\n _proto.navLabel = function navLabel(item, key) {\n var classes = {\n item: classNames('hidden-cn', item[\"class\"]),\n link: classNames('nav-label', item[\"class\"] ? item[\"class\"] : ''),\n icon: classNames('nav-icon', !item.icon ? 'fa fa-circle' : item.icon, item.label.variant ? \"text-\" + item.label.variant : '', item.label[\"class\"] ? item.label[\"class\"] : '')\n };\n return this.navLink(item, key, classes);\n } // nav dropdown\n ;\n\n _proto.navDropdown = function navDropdown(item, key) {\n var classIcon = classNames('nav-icon', item.icon);\n var attributes = JSON.parse(JSON.stringify(item.attributes || {}));\n var classes = classNames('nav-link', 'nav-dropdown-toggle', item[\"class\"], attributes[\"class\"]);\n delete attributes[\"class\"];\n return /*#__PURE__*/React.createElement(\"li\", {\n key: key,\n className: this.activeRoute(item.url, this.props)\n }, /*#__PURE__*/React.createElement(\"a\", _extends({\n className: classes,\n href: \"#\",\n onClick: this.handleClick\n }, attributes), /*#__PURE__*/React.createElement(\"i\", {\n className: classIcon\n }), item.name, this.navBadge(item.badge)), /*#__PURE__*/React.createElement(\"ul\", {\n className: \"nav-dropdown-items\"\n }, this.navList(item.children)));\n } // nav item with nav link\n ;\n\n _proto.navItem = function navItem(item, key) {\n var classes = {\n item: classNames(item[\"class\"]),\n link: classNames('nav-link', item.variant ? \"nav-link-\" + item.variant : ''),\n icon: classNames('nav-icon', item.icon)\n };\n return this.navLink(item, key, classes);\n } // nav link\n ;\n\n _proto.navLink = function navLink(item, key, classes) {\n var url = item.url || '';\n var itemIcon = /*#__PURE__*/React.createElement(\"i\", {\n className: classes.icon\n });\n var itemBadge = this.navBadge(item.badge);\n var attributes = item.attributes || {};\n return /*#__PURE__*/React.createElement(NavItem, {\n key: key,\n className: classes.item\n }, attributes.disabled ? /*#__PURE__*/React.createElement(RsNavLink, _extends({\n href: '',\n className: classes.link\n }, attributes), itemIcon, item.name, itemBadge) : this.isExternal(url) ? /*#__PURE__*/React.createElement(RsNavLink, _extends({\n href: url,\n className: classes.link,\n active: true\n }, attributes), itemIcon, item.name, itemBadge) : /*#__PURE__*/React.createElement(NavLink, _extends({\n to: url,\n className: classes.link,\n activeClassName: \"active\",\n onClick: this.hideMobile\n }, attributes), itemIcon, item.name, itemBadge));\n } // badge addon to NavItem\n ;\n\n _proto.navBadge = function navBadge(badge) {\n if (badge) {\n var classes = classNames(badge[\"class\"]);\n return /*#__PURE__*/React.createElement(Badge, {\n className: classes,\n color: badge.variant\n }, badge.text);\n }\n\n return null;\n };\n\n _proto.isExternal = function isExternal(url) {\n var link = url ? url.substring(0, 4) : '';\n return link === 'http';\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n navConfig = _this$props.navConfig,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"navConfig\"]);\n\n delete attributes.isOpen;\n delete attributes.staticContext;\n delete attributes.Tag;\n var navClasses = classNames(className, 'sidebar-nav'); // ToDo: find better rtl fix\n\n var isRtl = getComputedStyle(document.documentElement).direction === 'rtl'; // sidebar-nav root\n\n return /*#__PURE__*/React.createElement(PerfectScrollbar, _extends({\n className: navClasses\n }, attributes, {\n options: {\n suppressScrollX: !isRtl\n }\n }), /*#__PURE__*/React.createElement(Nav, null, children || this.navList(navConfig.items)));\n };\n\n return AppSidebarNav;\n}(Component);\n\nAppSidebarNav.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppSidebarNav.defaultProps = defaultProps;\nexport default AppSidebarNav;","function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport React, { Component } from 'react';\nimport { Badge, Nav, NavItem, NavLink as RsNavLink } from 'reactstrap';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\nimport PerfectScrollbar from 'react-perfect-scrollbar';\nimport 'react-perfect-scrollbar/dist/css/styles.css';\nimport '../css/scrollbar.css';\nimport LayoutHelper from './Shared/layout/layout';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n navConfig: PropTypes.any,\n navFunc: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n isOpen: PropTypes.bool,\n staticContext: PropTypes.any,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n router: PropTypes.any,\n props: PropTypes.any\n} : {};\nvar defaultProps = {\n tag: 'nav',\n navConfig: {\n items: [{\n name: 'Dashboard',\n url: '/dashboard',\n icon: 'icon-speedometer',\n badge: {\n variant: 'info',\n text: 'NEW'\n }\n }]\n },\n isOpen: false,\n router: {\n RsNavLink: RsNavLink\n }\n};\n\nvar AppSidebarNav2 = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppSidebarNav2, _Component);\n\n function AppSidebarNav2(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n\n _defineProperty(_assertThisInitialized(_this), \"_scrollBarRef\", null);\n\n _this.handleClick = _this.handleClick.bind(_assertThisInitialized(_this));\n _this.activeRoute = _this.activeRoute.bind(_assertThisInitialized(_this));\n _this.hideMobile = _this.hideMobile.bind(_assertThisInitialized(_this));\n _this.changes = null;\n _this.state = {\n sidebarMinimized: false\n };\n return _this;\n }\n\n var _proto = AppSidebarNav2.prototype;\n\n _proto.handleClick = function handleClick(e, item) {\n if (item.attributes && typeof item.attributes.onClick === 'function' && !this.isActiveRoute(item.url, this.props)) {\n item.attributes.onClick(e, item);\n } else {\n e.preventDefault();\n }\n\n e.currentTarget.parentElement.classList.toggle('open');\n };\n\n _proto.isActiveRoute = function isActiveRoute(routeName, props) {\n return props.location.pathname.indexOf(routeName) > -1;\n };\n\n _proto.activeRoute = function activeRoute(routeName, props) {\n return this.isActiveRoute(routeName, props) ? 'nav-item nav-dropdown open' : 'nav-item nav-dropdown';\n };\n\n _proto.hideMobile = function hideMobile() {\n if (document.body.classList.contains('sidebar-show')) {\n document.body.classList.toggle('sidebar-show');\n }\n };\n\n _proto.getAttribs = function getAttribs(attributes) {\n return _extends({}, attributes);\n } // nav list\n ;\n\n _proto.navList = function navList(items) {\n var _this2 = this;\n\n return items.map(function (item, index) {\n return _this2.navType(item, index);\n });\n } // nav type\n ;\n\n _proto.navType = function navType(item, idx) {\n return item.title ? this.navTitle(item, idx) : item.divider ? this.navDivider(item, idx) : item.label ? this.navLabel(item, idx) : item.children ? this.navDropdown(item, idx) : this.navItem(item, idx);\n } // nav list section title\n ;\n\n _proto.navTitle = function navTitle(title, key) {\n var classes = classNames('nav-title', title[\"class\"], title.className);\n return /*#__PURE__*/React.createElement(\"li\", {\n key: key,\n className: classes\n }, this.navWrapper(title), \" \");\n } // simple wrapper for nav-title item\n ;\n\n _proto.navWrapper = function navWrapper(item) {\n return item.wrapper && item.wrapper.element ? React.createElement(item.wrapper.element, item.wrapper.attributes, item.name) : item.name;\n } // nav list divider\n ;\n\n _proto.navDivider = function navDivider(divider, key) {\n var classes = classNames('divider', divider[\"class\"], divider.className);\n return /*#__PURE__*/React.createElement(\"li\", {\n key: key,\n className: classes\n });\n } // nav label with nav link\n ;\n\n _proto.navLabel = function navLabel(item, key) {\n var classes = {\n item: classNames('hidden-cn', item[\"class\"]),\n link: classNames('nav-label', item[\"class\"] ? item[\"class\"] : ''),\n icon: classNames('nav-icon', !item.icon ? 'fa fa-circle' : item.icon, item.label.variant ? \"text-\" + item.label.variant : '', item.label[\"class\"] ? item.label[\"class\"] : '')\n };\n return this.navLink(item, key, classes);\n } // nav dropdown\n ;\n\n _proto.navDropdown = function navDropdown(item, key) {\n var _this3 = this;\n\n var itemIcon = this.navIcon(item);\n var attributes = this.getAttribs(item.attributes);\n var classes = classNames('nav-link', 'nav-dropdown-toggle', item[\"class\"], attributes[\"class\"], attributes.className);\n delete attributes[\"class\"];\n delete attributes.className;\n var itemAttr = this.getAttribs(item.itemAttr);\n var liClasses = classNames('nav-item', 'nav-dropdown', itemAttr[\"class\"], itemAttr.className);\n delete itemAttr[\"class\"];\n delete itemAttr.className;\n var NavLink = this.props.router.NavLink || RsNavLink;\n return /*#__PURE__*/React.createElement(\"li\", _extends({\n key: key,\n className: classNames(liClasses, {\n 'open': this.isActiveRoute(item.url, this.props)\n })\n }, itemAttr), /*#__PURE__*/React.createElement(NavLink, _extends({\n activeClassName: \"open\",\n className: classes,\n to: item.url || ''\n }, attributes, {\n onClick: function onClick(e) {\n return _this3.handleClick(e, item);\n }\n }), itemIcon, item.name, this.navBadge(item.badge)), /*#__PURE__*/React.createElement(\"ul\", {\n className: \"nav-dropdown-items\"\n }, this.navList(item.children)));\n } // nav item with nav link\n ;\n\n _proto.navItem = function navItem(item, key) {\n var classes = {\n item: classNames(item[\"class\"]),\n link: classNames('nav-link', item.variant ? \"nav-link-\" + item.variant : ''),\n icon: classNames('nav-icon', item.icon)\n };\n return this.navLink(item, key, classes);\n };\n\n _proto.navIcon = function navIcon(item) {\n var icon = item.icon;\n var iconObject = typeof icon === 'object' && icon !== null ? _extends({\n iconClass: icon[\"class\"],\n iconClassName: icon.className\n }, icon) : {\n iconClass: icon\n };\n var iconClass = iconObject.iconClass,\n iconClassName = iconObject.iconClassName,\n innerText = iconObject.innerText,\n img = iconObject.img,\n attributes = iconObject.attributes;\n\n var iconAttr = _extends({}, attributes);\n\n delete iconAttr[\"class\"];\n delete iconAttr.className;\n delete iconAttr.img;\n var iconImg = img && img.src ? img : null;\n var iconInner = innerText || null;\n var classIcon = classNames('nav-icon', iconClass, iconClassName);\n var iconComponent = iconImg ? /*#__PURE__*/React.createElement(\"img\", _extends({}, iconAttr, {\n className: classIcon,\n src: iconImg.src\n })) : /*#__PURE__*/React.createElement(\"i\", _extends({}, iconAttr, {\n className: classIcon\n }), iconInner);\n return iconComponent;\n } // nav link\n ;\n\n _proto.navLink = function navLink(item, key, classes) {\n var _this4 = this;\n\n var ref = React.createRef();\n var url = item.url || '';\n var itemIcon = this.navIcon(item);\n var itemBadge = this.navBadge(item.badge);\n var attributes = this.getAttribs(item.attributes);\n classes.link = classNames(classes.link, attributes[\"class\"], attributes.className);\n delete attributes[\"class\"];\n delete attributes.className;\n var itemAttr = this.getAttribs(item.itemAttr);\n classes.item = classNames(classes.item, itemAttr[\"class\"], itemAttr.className);\n delete itemAttr[\"class\"];\n delete itemAttr.className;\n var NavLink = this.props.router.NavLink || RsNavLink;\n return /*#__PURE__*/React.createElement(NavItem, _extends({\n key: key,\n className: classes.item\n }, itemAttr), attributes.disabled ? /*#__PURE__*/React.createElement(RsNavLink, _extends({\n href: '',\n className: classes.link\n }, attributes), itemIcon, item.name, itemBadge) : this.isExternal(url, this.props) || NavLink === RsNavLink ? /*#__PURE__*/React.createElement(RsNavLink, _extends({\n href: url,\n className: classes.link,\n active: true\n }, attributes), itemIcon, item.name, itemBadge) : /*#__PURE__*/React.createElement(NavLink, _extends({\n to: url,\n className: classes.link,\n activeClassName: \"active\",\n onClick: function onClick() {\n return _this4.hideMobile(ref);\n },\n ref: ref\n }, attributes), itemIcon, item.name, itemBadge));\n } // badge addon to NavItem\n ;\n\n _proto.navBadge = function navBadge(badge) {\n if (badge) {\n var classes = classNames(badge[\"class\"], badge.className);\n return /*#__PURE__*/React.createElement(Badge, {\n className: classes,\n color: badge.variant\n }, badge.text);\n }\n\n return null;\n };\n\n _proto.isExternal = function isExternal(url, props) {\n var linkType = typeof url;\n var link = linkType === 'string' ? url : linkType === 'object' && url.pathname ? url.pathname : linkType === 'function' && typeof url(props.location) === 'string' ? url(props.location) : linkType === 'function' && typeof url(props.location) === 'object' ? url(props.location).pathname : '';\n return link.substring(0, 4) === 'http';\n };\n\n _proto.observeDomMutations = function observeDomMutations() {\n var _this5 = this;\n\n if (window.MutationObserver) {\n // eslint-disable-next-line\n this.changes = new MutationObserver(function (mutations) {\n var isSidebarMinimized = document.body.classList.contains('sidebar-minimized') || false;\n\n _this5.setState({\n sidebarMinimized: isSidebarMinimized\n });\n\n LayoutHelper.sidebarPSToggle(!isSidebarMinimized);\n });\n var element = document.body;\n this.changes.observe(element, {\n attributes: true,\n attributeFilter: ['class']\n });\n }\n\n window.addEventListener('resize', this.onResize);\n };\n\n _proto.onResize = function onResize() {\n LayoutHelper.sidebarPSToggle(true);\n };\n\n _proto.componentDidMount = function componentDidMount() {\n this.observeDomMutations();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n try {\n this.changes.disconnect();\n window.removeEventListener('resize', this.onResize);\n } catch (ignore) {\n // eslint-disable-next-line\n console.warn('CoreUI SidebarNav failed to disconnect from MutationObserver', ignore);\n }\n };\n\n _proto.render = function render() {\n var _this6 = this;\n\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n navConfig = _this$props.navConfig,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"navConfig\"]);\n\n delete attributes.isOpen;\n delete attributes.staticContext;\n delete attributes.Tag;\n delete attributes.router;\n var navClasses = classNames(className, 'sidebar-nav');\n var options = Object.assign({}, {\n suppressScrollX: true,\n suppressScrollY: this.state.sidebarMinimized\n }); // sidebar-nav root\n\n return /*#__PURE__*/React.createElement(PerfectScrollbar, _extends({\n className: navClasses\n }, attributes, {\n options: options,\n ref: function ref(_ref) {\n _this6._scrollBarRef = _ref;\n }\n }), /*#__PURE__*/React.createElement(Nav, null, children || this.navList(navConfig.items)));\n };\n\n return AppSidebarNav2;\n}(Component);\n\nAppSidebarNav2.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppSidebarNav2.defaultProps = defaultProps;\nexport default AppSidebarNav2;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { sidebarCssClasses, validBreakpoints, checkBreakpoint } from './Shared/index';\nimport toggleClasses from './Shared/toggle-classes';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n children: PropTypes.node,\n className: PropTypes.string,\n display: PropTypes.any,\n mobile: PropTypes.bool,\n tag: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n type: PropTypes.string\n} : {};\nvar defaultProps = {\n display: 'lg',\n mobile: false,\n tag: 'button',\n type: 'button'\n};\n\nvar AppSidebarToggler = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppSidebarToggler, _Component);\n\n function AppSidebarToggler(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.sidebarToggle = _this.sidebarToggle.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = AppSidebarToggler.prototype;\n\n _proto.sidebarToggle = function sidebarToggle(e) {\n e.preventDefault();\n this.toggle();\n };\n\n _proto.toggle = function toggle(force) {\n var _ref = [this.props.display, this.props.mobile],\n display = _ref[0],\n mobile = _ref[1];\n var cssClass = sidebarCssClasses[0];\n\n if (!mobile && display && checkBreakpoint(display, validBreakpoints)) {\n cssClass = \"sidebar-\" + display + \"-show\";\n }\n\n toggleClasses(cssClass, sidebarCssClasses, force);\n };\n\n _proto.render = function render() {\n var _this2 = this;\n\n var _this$props = this.props,\n className = _this$props.className,\n children = _this$props.children,\n Tag = _this$props.tag,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"children\", \"tag\"]);\n\n delete attributes.mobile;\n delete attributes.display;\n var classes = classNames(className, 'navbar-toggler');\n return /*#__PURE__*/React.createElement(Tag, _extends({\n type: \"button\",\n className: classes\n }, attributes, {\n onClick: function onClick(event) {\n return _this2.sidebarToggle(event);\n },\n \"data-sidebar-toggler\": true\n }), children || /*#__PURE__*/React.createElement(\"span\", {\n className: \"navbar-toggler-icon\"\n }));\n };\n\n return AppSidebarToggler;\n}(Component);\n\nAppSidebarToggler.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppSidebarToggler.defaultProps = defaultProps;\nexport default AppSidebarToggler;","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nvar propTypes = process.env.NODE_ENV !== \"production\" ? {\n color: PropTypes.string,\n label: PropTypes.bool,\n outline: PropTypes.oneOfType([PropTypes.bool, PropTypes.string, PropTypes.oneOf(['', 'alt'])]),\n size: PropTypes.oneOf(['', 'lg', 'sm']),\n checked: PropTypes.bool,\n defaultChecked: PropTypes.bool,\n defaultValue: PropTypes.any,\n value: PropTypes.string,\n disabled: PropTypes.bool,\n form: PropTypes.any,\n name: PropTypes.string,\n required: PropTypes.bool,\n onChange: PropTypes.func,\n type: PropTypes.oneOf(['checkbox', 'radio']),\n variant: PropTypes.oneOf(['', '3d', 'pill']),\n className: PropTypes.string,\n dataOn: PropTypes.string,\n dataOff: PropTypes.string\n} : {};\nvar defaultProps = {\n color: 'secondary',\n label: false,\n outline: false,\n size: '',\n checked: false,\n defaultChecked: undefined,\n disabled: undefined,\n required: undefined,\n type: 'checkbox',\n variant: '',\n dataOn: 'On',\n dataOff: 'Off'\n};\n\nvar AppSwitch = /*#__PURE__*/function (_Component) {\n _inheritsLoose(AppSwitch, _Component);\n\n function AppSwitch(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));\n _this.handleKeyDown = _this.handleKeyDown.bind(_assertThisInitialized(_this));\n _this.handleKeyUp = _this.handleKeyUp.bind(_assertThisInitialized(_this));\n _this.state = {\n uncontrolled: !!_this.props.defaultChecked,\n checked: _this.props.defaultChecked || _this.props.checked,\n selected: []\n };\n return _this;\n }\n\n var _proto = AppSwitch.prototype;\n\n _proto.toggleState = function toggleState(check) {\n this.setState({\n checked: check\n });\n };\n\n _proto.handleChange = function handleChange(event) {\n var target = event.target;\n this.toggleState(target.checked);\n\n if (this.props.onChange) {\n this.props.onChange(event);\n }\n };\n\n _proto.handleKeyDown = function handleKeyDown(event) {\n if (event.key === ' ') {\n event.preventDefault();\n }\n };\n\n _proto.handleKeyUp = function handleKeyUp(event) {\n if (event.key === 'Enter' || event.key === ' ') {\n this.toggleState(!this.state.checked);\n }\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {\n if (!this.state.uncontrolled && this.props.checked !== prevState.checked) {\n this.toggleState(this.props.checked);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n className = _this$props.className,\n disabled = _this$props.disabled,\n color = _this$props.color,\n name = _this$props.name,\n label = _this$props.label,\n outline = _this$props.outline,\n size = _this$props.size,\n required = _this$props.required,\n type = _this$props.type,\n value = _this$props.value,\n dataOn = _this$props.dataOn,\n dataOff = _this$props.dataOff,\n variant = _this$props.variant,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"disabled\", \"color\", \"name\", \"label\", \"outline\", \"size\", \"required\", \"type\", \"value\", \"dataOn\", \"dataOff\", \"variant\"]);\n\n var tabindex = attributes.tabIndex;\n delete attributes.tabIndex;\n delete attributes.checked;\n delete attributes.defaultChecked;\n delete attributes.onChange;\n var classes = classNames(className, 'switch', label ? 'switch-label' : false, size ? \"switch-\" + size : false, variant ? \"switch-\" + variant : false, \"switch\" + (outline ? '-outline' : '') + \"-\" + color + (outline === 'alt' ? '-alt' : ''), 'form-check-label');\n var inputClasses = classNames('switch-input', 'form-check-input');\n var sliderClasses = classNames('switch-slider');\n return /*#__PURE__*/React.createElement(\"label\", {\n className: classes,\n tabIndex: tabindex,\n onKeyUp: this.handleKeyUp,\n onKeyDown: this.handleKeyDown\n }, /*#__PURE__*/React.createElement(\"input\", _extends({\n type: type,\n className: inputClasses,\n onChange: this.handleChange,\n checked: this.state.checked,\n name: name,\n required: required,\n disabled: disabled,\n value: value,\n \"aria-checked\": this.state.checked,\n \"aria-disabled\": disabled,\n \"aria-readonly\": disabled\n }, attributes)), /*#__PURE__*/React.createElement(\"span\", {\n className: sliderClasses,\n \"data-checked\": dataOn,\n \"data-unchecked\": dataOff\n }));\n };\n\n return AppSwitch;\n}(Component);\n\nAppSwitch.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nAppSwitch.defaultProps = defaultProps;\nexport default AppSwitch;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"direction\", \"isOpen\", \"group\", \"size\", \"nav\", \"setActiveFromChild\", \"active\", \"addonType\", \"tag\", \"menuRole\"];\n\n/* eslint react/no-find-dom-node: 0 */\n// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-find-dom-node.md\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { Manager } from 'react-popper';\nimport classNames from 'classnames';\nimport { DropdownContext } from './DropdownContext';\nimport { mapToCssModules, omit, keyCodes, tagPropType } from './utils';\nvar propTypes = {\n a11y: PropTypes.bool,\n disabled: PropTypes.bool,\n direction: PropTypes.oneOf(['up', 'down', 'left', 'right']),\n group: PropTypes.bool,\n isOpen: PropTypes.bool,\n nav: PropTypes.bool,\n active: PropTypes.bool,\n addonType: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['prepend', 'append'])]),\n size: PropTypes.string,\n tag: tagPropType,\n toggle: PropTypes.func,\n children: PropTypes.node,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n inNavbar: PropTypes.bool,\n setActiveFromChild: PropTypes.bool,\n menuRole: PropTypes.oneOf(['listbox', 'menu'])\n};\nvar defaultProps = {\n a11y: true,\n isOpen: false,\n direction: 'down',\n nav: false,\n active: false,\n addonType: false,\n inNavbar: false,\n setActiveFromChild: false\n};\nvar preventDefaultKeys = [keyCodes.space, keyCodes.enter, keyCodes.up, keyCodes.down, keyCodes.end, keyCodes.home];\n\nvar Dropdown = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Dropdown, _React$Component);\n\n function Dropdown(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n _this.addEvents = _this.addEvents.bind(_assertThisInitialized(_this));\n _this.handleDocumentClick = _this.handleDocumentClick.bind(_assertThisInitialized(_this));\n _this.handleKeyDown = _this.handleKeyDown.bind(_assertThisInitialized(_this));\n _this.removeEvents = _this.removeEvents.bind(_assertThisInitialized(_this));\n _this.toggle = _this.toggle.bind(_assertThisInitialized(_this));\n _this.handleMenuRef = _this.handleMenuRef.bind(_assertThisInitialized(_this));\n _this.containerRef = /*#__PURE__*/React.createRef();\n _this.menuRef = /*#__PURE__*/React.createRef();\n return _this;\n }\n\n var _proto = Dropdown.prototype;\n\n _proto.handleMenuRef = function handleMenuRef(menuRef) {\n this.menuRef.current = menuRef;\n };\n\n _proto.getContextValue = function getContextValue() {\n return {\n toggle: this.toggle,\n isOpen: this.props.isOpen,\n direction: this.props.direction === 'down' && this.props.dropup ? 'up' : this.props.direction,\n inNavbar: this.props.inNavbar,\n disabled: this.props.disabled,\n // Callback that should be called by DropdownMenu to provide a ref to\n // a HTML tag that's used for the DropdownMenu\n onMenuRef: this.handleMenuRef,\n menuRole: this.props.menuRole\n };\n };\n\n _proto.componentDidMount = function componentDidMount() {\n this.handleProps();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n if (this.props.isOpen !== prevProps.isOpen) {\n this.handleProps();\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.removeEvents();\n };\n\n _proto.getContainer = function getContainer() {\n return this.containerRef.current;\n };\n\n _proto.getMenu = function getMenu() {\n return this.menuRef.current;\n };\n\n _proto.getMenuCtrl = function getMenuCtrl() {\n if (this._$menuCtrl) return this._$menuCtrl;\n this._$menuCtrl = this.getContainer().querySelector('[aria-expanded]');\n return this._$menuCtrl;\n };\n\n _proto.getItemType = function getItemType() {\n if (this.context.menuRole === 'listbox') {\n return 'option';\n }\n\n return 'menuitem';\n };\n\n _proto.getMenuItems = function getMenuItems() {\n // In a real menu with a child DropdownMenu, `this.getMenu()` should never\n // be null, but it is sometimes null in tests. To mitigate that, we just\n // use `this.getContainer()` as the fallback `menuContainer`.\n var menuContainer = this.getMenu() || this.getContainer();\n return [].slice.call(menuContainer.querySelectorAll(\"[role=\\\"\" + this.getItemType() + \"\\\"]\"));\n };\n\n _proto.addEvents = function addEvents() {\n var _this2 = this;\n\n ['click', 'touchstart', 'keyup'].forEach(function (event) {\n return document.addEventListener(event, _this2.handleDocumentClick, true);\n });\n };\n\n _proto.removeEvents = function removeEvents() {\n var _this3 = this;\n\n ['click', 'touchstart', 'keyup'].forEach(function (event) {\n return document.removeEventListener(event, _this3.handleDocumentClick, true);\n });\n };\n\n _proto.handleDocumentClick = function handleDocumentClick(e) {\n if (e && (e.which === 3 || e.type === 'keyup' && e.which !== keyCodes.tab)) return;\n var container = this.getContainer();\n var menu = this.getMenu();\n var clickIsInContainer = container.contains(e.target) && container !== e.target;\n var clickIsInMenu = menu && menu.contains(e.target) && menu !== e.target;\n\n if ((clickIsInContainer || clickIsInMenu) && (e.type !== 'keyup' || e.which === keyCodes.tab)) {\n return;\n }\n\n this.toggle(e);\n };\n\n _proto.handleKeyDown = function handleKeyDown(e) {\n var _this4 = this;\n\n var isTargetMenuItem = e.target.getAttribute('role') === 'menuitem' || e.target.getAttribute('role') === 'option';\n var isTargetMenuCtrl = this.getMenuCtrl() === e.target;\n var isTab = keyCodes.tab === e.which;\n\n if (/input|textarea/i.test(e.target.tagName) || isTab && !this.props.a11y || isTab && !(isTargetMenuItem || isTargetMenuCtrl)) {\n return;\n }\n\n if (preventDefaultKeys.indexOf(e.which) !== -1 || e.which >= 48 && e.which <= 90) {\n e.preventDefault();\n }\n\n if (this.props.disabled) return;\n\n if (isTargetMenuCtrl) {\n if ([keyCodes.space, keyCodes.enter, keyCodes.up, keyCodes.down].indexOf(e.which) > -1) {\n // Open the menu (if not open) and focus the first menu item\n if (!this.props.isOpen) {\n this.toggle(e);\n }\n\n setTimeout(function () {\n return _this4.getMenuItems()[0].focus();\n });\n } else if (this.props.isOpen && isTab) {\n // Focus the first menu item if tabbing from an open menu. We need this\n // for cases where the DropdownMenu sets a custom container, which may\n // not be the natural next item to tab to from the DropdownToggle.\n e.preventDefault();\n this.getMenuItems()[0].focus();\n } else if (this.props.isOpen && e.which === keyCodes.esc) {\n this.toggle(e);\n }\n }\n\n if (this.props.isOpen && isTargetMenuItem) {\n if ([keyCodes.tab, keyCodes.esc].indexOf(e.which) > -1) {\n this.toggle(e);\n this.getMenuCtrl().focus();\n } else if ([keyCodes.space, keyCodes.enter].indexOf(e.which) > -1) {\n e.target.click();\n this.getMenuCtrl().focus();\n } else if ([keyCodes.down, keyCodes.up].indexOf(e.which) > -1 || [keyCodes.n, keyCodes.p].indexOf(e.which) > -1 && e.ctrlKey) {\n var $menuitems = this.getMenuItems();\n var index = $menuitems.indexOf(e.target);\n\n if (keyCodes.up === e.which || keyCodes.p === e.which && e.ctrlKey) {\n index = index !== 0 ? index - 1 : $menuitems.length - 1;\n } else if (keyCodes.down === e.which || keyCodes.n === e.which && e.ctrlKey) {\n index = index === $menuitems.length - 1 ? 0 : index + 1;\n }\n\n $menuitems[index].focus();\n } else if (keyCodes.end === e.which) {\n var _$menuitems = this.getMenuItems();\n\n _$menuitems[_$menuitems.length - 1].focus();\n } else if (keyCodes.home === e.which) {\n var _$menuitems2 = this.getMenuItems();\n\n _$menuitems2[0].focus();\n } else if (e.which >= 48 && e.which <= 90) {\n var _$menuitems3 = this.getMenuItems();\n\n var charPressed = String.fromCharCode(e.which).toLowerCase();\n\n for (var i = 0; i < _$menuitems3.length; i += 1) {\n var firstLetter = _$menuitems3[i].textContent && _$menuitems3[i].textContent[0].toLowerCase();\n\n if (firstLetter === charPressed) {\n _$menuitems3[i].focus();\n\n break;\n }\n }\n }\n }\n };\n\n _proto.handleProps = function handleProps() {\n if (this.props.isOpen) {\n this.addEvents();\n } else {\n this.removeEvents();\n }\n };\n\n _proto.toggle = function toggle(e) {\n if (this.props.disabled) {\n return e && e.preventDefault();\n }\n\n return this.props.toggle(e);\n };\n\n _proto.render = function render() {\n var _classNames, _ref;\n\n var _omit = omit(this.props, ['toggle', 'disabled', 'inNavbar', 'a11y']),\n className = _omit.className,\n cssModule = _omit.cssModule,\n direction = _omit.direction,\n isOpen = _omit.isOpen,\n group = _omit.group,\n size = _omit.size,\n nav = _omit.nav,\n setActiveFromChild = _omit.setActiveFromChild,\n active = _omit.active,\n addonType = _omit.addonType,\n tag = _omit.tag,\n menuRole = _omit.menuRole,\n attrs = _objectWithoutPropertiesLoose(_omit, _excluded);\n\n var Tag = tag || (nav ? 'li' : 'div');\n var subItemIsActive = false;\n\n if (setActiveFromChild) {\n React.Children.map(this.props.children[1].props.children, function (dropdownItem) {\n if (dropdownItem && dropdownItem.props.active) subItemIsActive = true;\n });\n }\n\n var classes = mapToCssModules(classNames(className, direction !== 'down' && \"drop\" + direction, nav && active ? 'active' : false, setActiveFromChild && subItemIsActive ? 'active' : false, (_classNames = {}, _classNames[\"input-group-\" + addonType] = addonType, _classNames['btn-group'] = group, _classNames[\"btn-group-\" + size] = !!size, _classNames.dropdown = !group && !addonType, _classNames.show = isOpen, _classNames['nav-item'] = nav, _classNames)), cssModule);\n return /*#__PURE__*/React.createElement(DropdownContext.Provider, {\n value: this.getContextValue()\n }, /*#__PURE__*/React.createElement(Manager, null, /*#__PURE__*/React.createElement(Tag, _extends({}, attrs, (_ref = {}, _ref[typeof Tag === 'string' ? 'ref' : 'innerRef'] = this.containerRef, _ref), {\n onKeyDown: this.handleKeyDown,\n className: classes\n }))));\n };\n\n return Dropdown;\n}(React.Component);\n\nDropdown.propTypes = propTypes;\nDropdown.defaultProps = defaultProps;\nexport default Dropdown;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _scrollbar = require('./scrollbar');\n\nvar _scrollbar2 = _interopRequireDefault(_scrollbar);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _scrollbar2.default;\nmodule.exports = exports['default'];","'use strict';\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar React = require('react');\nvar ReactDOM = require('react-dom');\n\nvar ClickOutComponent = function (_React$Component) {\n _inherits(ClickOutComponent, _React$Component);\n\n function ClickOutComponent() {\n _classCallCheck(this, ClickOutComponent);\n\n return _possibleConstructorReturn(this, (ClickOutComponent.__proto__ || Object.getPrototypeOf(ClickOutComponent)).call(this));\n }\n\n _createClass(ClickOutComponent, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n var self = this;\n var elTouchIsClick = true;\n var documentTouchIsClick = true;\n var el = ReactDOM.findDOMNode(this);\n\n self.__documentTouchStarted = function (e) {\n el.removeEventListener('click', self.__elementClicked);\n document.removeEventListener('click', self.__documentClicked);\n };\n\n self.__documentTouchMoved = function (e) {\n documentTouchIsClick = false;\n };\n\n self.__documentTouchEnded = function (e) {\n if (documentTouchIsClick) self.__documentClicked(e);\n documentTouchIsClick = true;\n };\n\n self.__documentClicked = function (e) {\n if ((e.__clickedElements || []).indexOf(el) !== -1) return;\n\n var clickOutHandler = self.onClickOut || self.props.onClickOut;\n if (!clickOutHandler) {\n return console.warn('onClickOut is not defined.');\n }\n\n clickOutHandler.call(self, e);\n };\n\n self.__elementTouchMoved = function (e) {\n elTouchIsClick = false;\n };\n\n self.__elementTouchEnded = function (e) {\n if (elTouchIsClick) self.__elementClicked(e);\n elTouchIsClick = true;\n };\n\n self.__elementClicked = function (e) {\n e.__clickedElements = e.__clickedElements || [];\n e.__clickedElements.push(el);\n };\n\n setTimeout(function () {\n if (self.__unmounted) return;\n self.toggleListeners('addEventListener');\n }, 0);\n }\n }, {\n key: 'toggleListeners',\n value: function toggleListeners(listenerMethod) {\n var el = ReactDOM.findDOMNode(this);\n\n el[listenerMethod]('touchmove', this.__elementTouchMoved);\n el[listenerMethod]('touchend', this.__elementTouchEnded);\n el[listenerMethod]('click', this.__elementClicked);\n\n document[listenerMethod]('touchstart', this.__documentTouchStarted);\n document[listenerMethod]('touchmove', this.__documentTouchMoved);\n document[listenerMethod]('touchend', this.__documentTouchEnded);\n document[listenerMethod]('click', this.__documentClicked);\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.toggleListeners('removeEventListener');\n this.__unmounted = true;\n }\n }, {\n key: 'render',\n value: function render() {\n return Array.isArray(this.props.children) ? React.createElement(\n 'div',\n null,\n this.props.children\n ) : React.Children.only(this.props.children);\n }\n }]);\n\n return ClickOutComponent;\n}(React.Component);\n\nmodule.exports = ClickOutComponent;\n","(function (ElementProto) {\n if (!ElementProto) {\n return;\n }\n\n if (typeof ElementProto.matches !== 'function') {\n ElementProto.matches = ElementProto.msMatchesSelector || ElementProto.mozMatchesSelector || ElementProto.webkitMatchesSelector || function matches(selector) {\n var element = this;\n var elements = (element.document || element.ownerDocument).querySelectorAll(selector);\n var index = 0;\n\n while (elements[index] && elements[index] !== element) {\n ++index;\n }\n\n return Boolean(elements[index]);\n };\n }\n\n if (typeof ElementProto.closest !== 'function') {\n ElementProto.closest = function closest(selector) {\n var element = this;\n\n while (element && element.nodeType === 1) {\n if (element.matches(selector)) {\n return element;\n }\n\n element = element.parentNode;\n }\n\n return null;\n };\n }\n})(typeof window !== 'undefined' && window.Element.prototype);","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _perfectScrollbar = require('perfect-scrollbar');\n\nvar _perfectScrollbar2 = _interopRequireDefault(_perfectScrollbar);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar handlerNameByEvent = {\n 'ps-scroll-y': 'onScrollY',\n 'ps-scroll-x': 'onScrollX',\n 'ps-scroll-up': 'onScrollUp',\n 'ps-scroll-down': 'onScrollDown',\n 'ps-scroll-left': 'onScrollLeft',\n 'ps-scroll-right': 'onScrollRight',\n 'ps-y-reach-start': 'onYReachStart',\n 'ps-y-reach-end': 'onYReachEnd',\n 'ps-x-reach-start': 'onXReachStart',\n 'ps-x-reach-end': 'onXReachEnd'\n};\nObject.freeze(handlerNameByEvent);\n\nvar ScrollBar = function (_Component) {\n _inherits(ScrollBar, _Component);\n\n function ScrollBar(props) {\n _classCallCheck(this, ScrollBar);\n\n var _this = _possibleConstructorReturn(this, (ScrollBar.__proto__ || Object.getPrototypeOf(ScrollBar)).call(this, props));\n\n _this.handleRef = _this.handleRef.bind(_this);\n _this._handlerByEvent = {};\n return _this;\n }\n\n _createClass(ScrollBar, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (this.props.option) {\n console.warn('react-perfect-scrollbar: the \"option\" prop has been deprecated in favor of \"options\"');\n }\n\n this._ps = new _perfectScrollbar2.default(this._container, this.props.options || this.props.option);\n // hook up events\n this._updateEventHook();\n this._updateClassName();\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n this._updateEventHook(prevProps);\n\n this.updateScroll();\n\n if (prevProps.className !== this.props.className) {\n this._updateClassName();\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n var _this2 = this;\n\n // unhook up evens\n Object.keys(this._handlerByEvent).forEach(function (key) {\n var value = _this2._handlerByEvent[key];\n\n if (value) {\n _this2._container.removeEventListener(key, value, false);\n }\n });\n this._handlerByEvent = {};\n this._ps.destroy();\n this._ps = null;\n }\n }, {\n key: '_updateEventHook',\n value: function _updateEventHook() {\n var _this3 = this;\n\n var prevProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n // hook up events\n Object.keys(handlerNameByEvent).forEach(function (key) {\n var callback = _this3.props[handlerNameByEvent[key]];\n var prevCallback = prevProps[handlerNameByEvent[key]];\n if (callback !== prevCallback) {\n if (prevCallback) {\n var prevHandler = _this3._handlerByEvent[key];\n _this3._container.removeEventListener(key, prevHandler, false);\n _this3._handlerByEvent[key] = null;\n }\n if (callback) {\n var handler = function handler() {\n return callback(_this3._container);\n };\n _this3._container.addEventListener(key, handler, false);\n _this3._handlerByEvent[key] = handler;\n }\n }\n });\n }\n }, {\n key: '_updateClassName',\n value: function _updateClassName() {\n var className = this.props.className;\n\n\n var psClassNames = this._container.className.split(' ').filter(function (name) {\n return name.match(/^ps([-_].+|)$/);\n }).join(' ');\n\n if (this._container) {\n this._container.className = 'scrollbar-container' + (className ? ' ' + className : '') + (psClassNames ? ' ' + psClassNames : '');\n }\n }\n }, {\n key: 'updateScroll',\n value: function updateScroll() {\n this.props.onSync(this._ps);\n }\n }, {\n key: 'handleRef',\n value: function handleRef(ref) {\n this._container = ref;\n this.props.containerRef(ref);\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n className = _props.className,\n style = _props.style,\n option = _props.option,\n options = _props.options,\n containerRef = _props.containerRef,\n onScrollY = _props.onScrollY,\n onScrollX = _props.onScrollX,\n onScrollUp = _props.onScrollUp,\n onScrollDown = _props.onScrollDown,\n onScrollLeft = _props.onScrollLeft,\n onScrollRight = _props.onScrollRight,\n onYReachStart = _props.onYReachStart,\n onYReachEnd = _props.onYReachEnd,\n onXReachStart = _props.onXReachStart,\n onXReachEnd = _props.onXReachEnd,\n component = _props.component,\n onSync = _props.onSync,\n children = _props.children,\n remainProps = _objectWithoutProperties(_props, ['className', 'style', 'option', 'options', 'containerRef', 'onScrollY', 'onScrollX', 'onScrollUp', 'onScrollDown', 'onScrollLeft', 'onScrollRight', 'onYReachStart', 'onYReachEnd', 'onXReachStart', 'onXReachEnd', 'component', 'onSync', 'children']);\n\n var Comp = component;\n\n return _react2.default.createElement(\n Comp,\n _extends({ style: style, ref: this.handleRef }, remainProps),\n children\n );\n }\n }]);\n\n return ScrollBar;\n}(_react.Component);\n\nexports.default = ScrollBar;\n\n\nScrollBar.defaultProps = {\n className: '',\n style: undefined,\n option: undefined,\n options: undefined,\n containerRef: function containerRef() {},\n onScrollY: undefined,\n onScrollX: undefined,\n onScrollUp: undefined,\n onScrollDown: undefined,\n onScrollLeft: undefined,\n onScrollRight: undefined,\n onYReachStart: undefined,\n onYReachEnd: undefined,\n onXReachStart: undefined,\n onXReachEnd: undefined,\n onSync: function onSync(ps) {\n return ps.update();\n },\n component: 'div'\n};\n\nScrollBar.propTypes = {\n children: _propTypes.PropTypes.node.isRequired,\n className: _propTypes.PropTypes.string,\n style: _propTypes.PropTypes.object,\n option: _propTypes.PropTypes.object,\n options: _propTypes.PropTypes.object,\n containerRef: _propTypes.PropTypes.func,\n onScrollY: _propTypes.PropTypes.func,\n onScrollX: _propTypes.PropTypes.func,\n onScrollUp: _propTypes.PropTypes.func,\n onScrollDown: _propTypes.PropTypes.func,\n onScrollLeft: _propTypes.PropTypes.func,\n onScrollRight: _propTypes.PropTypes.func,\n onYReachStart: _propTypes.PropTypes.func,\n onYReachEnd: _propTypes.PropTypes.func,\n onXReachStart: _propTypes.PropTypes.func,\n onXReachEnd: _propTypes.PropTypes.func,\n onSync: _propTypes.PropTypes.func,\n component: _propTypes.PropTypes.string\n};\nmodule.exports = exports['default'];","export function get(element) {\n return getComputedStyle(element);\n}\n\nexport function set(element, obj) {\n for (const key in obj) {\n let val = obj[key];\n if (typeof val === 'number') {\n val = `${val}px`;\n }\n element.style[key] = val;\n }\n return element;\n}\n","export function div(className) {\n const div = document.createElement('div');\n div.className = className;\n return div;\n}\n\nconst elMatches =\n typeof Element !== 'undefined' &&\n (Element.prototype.matches ||\n Element.prototype.webkitMatchesSelector ||\n Element.prototype.mozMatchesSelector ||\n Element.prototype.msMatchesSelector);\n\nexport function matches(element, query) {\n if (!elMatches) {\n throw new Error('No element matching method supported');\n }\n\n return elMatches.call(element, query);\n}\n\nexport function remove(element) {\n if (element.remove) {\n element.remove();\n } else {\n if (element.parentNode) {\n element.parentNode.removeChild(element);\n }\n }\n}\n\nexport function queryChildren(element, selector) {\n return Array.prototype.filter.call(element.children, child =>\n matches(child, selector)\n );\n}\n","const cls = {\n main: 'ps',\n rtl: 'ps__rtl',\n element: {\n thumb: x => `ps__thumb-${x}`,\n rail: x => `ps__rail-${x}`,\n consuming: 'ps__child--consume',\n },\n state: {\n focus: 'ps--focus',\n clicking: 'ps--clicking',\n active: x => `ps--active-${x}`,\n scrolling: x => `ps--scrolling-${x}`,\n },\n};\n\nexport default cls;\n\n/*\n * Helper methods\n */\nconst scrollingClassTimeout = { x: null, y: null };\n\nexport function addScrollingClass(i, x) {\n const classList = i.element.classList;\n const className = cls.state.scrolling(x);\n\n if (classList.contains(className)) {\n clearTimeout(scrollingClassTimeout[x]);\n } else {\n classList.add(className);\n }\n}\n\nexport function removeScrollingClass(i, x) {\n scrollingClassTimeout[x] = setTimeout(\n () => i.isAlive && i.element.classList.remove(cls.state.scrolling(x)),\n i.settings.scrollingThreshold\n );\n}\n\nexport function setScrollingClassInstantly(i, x) {\n addScrollingClass(i, x);\n removeScrollingClass(i, x);\n}\n","class EventElement {\n constructor(element) {\n this.element = element;\n this.handlers = {};\n }\n\n bind(eventName, handler) {\n if (typeof this.handlers[eventName] === 'undefined') {\n this.handlers[eventName] = [];\n }\n this.handlers[eventName].push(handler);\n this.element.addEventListener(eventName, handler, false);\n }\n\n unbind(eventName, target) {\n this.handlers[eventName] = this.handlers[eventName].filter(handler => {\n if (target && handler !== target) {\n return true;\n }\n this.element.removeEventListener(eventName, handler, false);\n return false;\n });\n }\n\n unbindAll() {\n for (const name in this.handlers) {\n this.unbind(name);\n }\n }\n\n get isEmpty() {\n return Object.keys(this.handlers).every(\n key => this.handlers[key].length === 0\n );\n }\n}\n\nexport default class EventManager {\n constructor() {\n this.eventElements = [];\n }\n\n eventElement(element) {\n let ee = this.eventElements.filter(ee => ee.element === element)[0];\n if (!ee) {\n ee = new EventElement(element);\n this.eventElements.push(ee);\n }\n return ee;\n }\n\n bind(element, eventName, handler) {\n this.eventElement(element).bind(eventName, handler);\n }\n\n unbind(element, eventName, handler) {\n const ee = this.eventElement(element);\n ee.unbind(eventName, handler);\n\n if (ee.isEmpty) {\n // remove\n this.eventElements.splice(this.eventElements.indexOf(ee), 1);\n }\n }\n\n unbindAll() {\n this.eventElements.forEach(e => e.unbindAll());\n this.eventElements = [];\n }\n\n once(element, eventName, handler) {\n const ee = this.eventElement(element);\n const onceHandler = evt => {\n ee.unbind(eventName, onceHandler);\n handler(evt);\n };\n ee.bind(eventName, onceHandler);\n }\n}\n","import { setScrollingClassInstantly } from './lib/class-names';\n\nfunction createEvent(name) {\n if (typeof window.CustomEvent === 'function') {\n return new CustomEvent(name);\n } else {\n const evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(name, false, false, undefined);\n return evt;\n }\n}\n\nexport default function(\n i,\n axis,\n diff,\n useScrollingClass = true,\n forceFireReachEvent = false\n) {\n let fields;\n if (axis === 'top') {\n fields = [\n 'contentHeight',\n 'containerHeight',\n 'scrollTop',\n 'y',\n 'up',\n 'down',\n ];\n } else if (axis === 'left') {\n fields = [\n 'contentWidth',\n 'containerWidth',\n 'scrollLeft',\n 'x',\n 'left',\n 'right',\n ];\n } else {\n throw new Error('A proper axis should be provided');\n }\n\n processScrollDiff(i, diff, fields, useScrollingClass, forceFireReachEvent);\n}\n\nfunction processScrollDiff(\n i,\n diff,\n [contentHeight, containerHeight, scrollTop, y, up, down],\n useScrollingClass = true,\n forceFireReachEvent = false\n) {\n const element = i.element;\n\n // reset reach\n i.reach[y] = null;\n\n // 1 for subpixel rounding\n if (element[scrollTop] < 1) {\n i.reach[y] = 'start';\n }\n\n // 1 for subpixel rounding\n if (element[scrollTop] > i[contentHeight] - i[containerHeight] - 1) {\n i.reach[y] = 'end';\n }\n\n if (diff) {\n element.dispatchEvent(createEvent(`ps-scroll-${y}`));\n\n if (diff < 0) {\n element.dispatchEvent(createEvent(`ps-scroll-${up}`));\n } else if (diff > 0) {\n element.dispatchEvent(createEvent(`ps-scroll-${down}`));\n }\n\n if (useScrollingClass) {\n setScrollingClassInstantly(i, y);\n }\n }\n\n if (i.reach[y] && (diff || forceFireReachEvent)) {\n element.dispatchEvent(createEvent(`ps-${y}-reach-${i.reach[y]}`));\n }\n}\n","import * as CSS from './css';\nimport * as DOM from './dom';\n\nexport function toInt(x) {\n return parseInt(x, 10) || 0;\n}\n\nexport function isEditable(el) {\n return (\n DOM.matches(el, 'input,[contenteditable]') ||\n DOM.matches(el, 'select,[contenteditable]') ||\n DOM.matches(el, 'textarea,[contenteditable]') ||\n DOM.matches(el, 'button,[contenteditable]')\n );\n}\n\nexport function outerWidth(element) {\n const styles = CSS.get(element);\n return (\n toInt(styles.width) +\n toInt(styles.paddingLeft) +\n toInt(styles.paddingRight) +\n toInt(styles.borderLeftWidth) +\n toInt(styles.borderRightWidth)\n );\n}\n\nexport const env = {\n isWebKit:\n typeof document !== 'undefined' &&\n 'WebkitAppearance' in document.documentElement.style,\n supportsTouch:\n typeof window !== 'undefined' &&\n ('ontouchstart' in window ||\n ('maxTouchPoints' in window.navigator &&\n window.navigator.maxTouchPoints > 0) ||\n (window.DocumentTouch && document instanceof window.DocumentTouch)),\n supportsIePointer:\n typeof navigator !== 'undefined' && navigator.msMaxTouchPoints,\n isChrome:\n typeof navigator !== 'undefined' &&\n /Chrome/i.test(navigator && navigator.userAgent),\n};\n","import * as CSS from './lib/css';\nimport * as DOM from './lib/dom';\nimport cls from './lib/class-names';\nimport { toInt } from './lib/util';\n\nexport default function(i) {\n const element = i.element;\n const roundedScrollTop = Math.floor(element.scrollTop);\n const rect = element.getBoundingClientRect();\n\n i.containerWidth = Math.round(rect.width);\n i.containerHeight = Math.round(rect.height);\n\n i.contentWidth = element.scrollWidth;\n i.contentHeight = element.scrollHeight;\n\n if (!element.contains(i.scrollbarXRail)) {\n // clean up and append\n DOM.queryChildren(element, cls.element.rail('x')).forEach(el =>\n DOM.remove(el)\n );\n element.appendChild(i.scrollbarXRail);\n }\n if (!element.contains(i.scrollbarYRail)) {\n // clean up and append\n DOM.queryChildren(element, cls.element.rail('y')).forEach(el =>\n DOM.remove(el)\n );\n element.appendChild(i.scrollbarYRail);\n }\n\n if (\n !i.settings.suppressScrollX &&\n i.containerWidth + i.settings.scrollXMarginOffset < i.contentWidth\n ) {\n i.scrollbarXActive = true;\n i.railXWidth = i.containerWidth - i.railXMarginWidth;\n i.railXRatio = i.containerWidth / i.railXWidth;\n i.scrollbarXWidth = getThumbSize(\n i,\n toInt((i.railXWidth * i.containerWidth) / i.contentWidth)\n );\n i.scrollbarXLeft = toInt(\n ((i.negativeScrollAdjustment + element.scrollLeft) *\n (i.railXWidth - i.scrollbarXWidth)) /\n (i.contentWidth - i.containerWidth)\n );\n } else {\n i.scrollbarXActive = false;\n }\n\n if (\n !i.settings.suppressScrollY &&\n i.containerHeight + i.settings.scrollYMarginOffset < i.contentHeight\n ) {\n i.scrollbarYActive = true;\n i.railYHeight = i.containerHeight - i.railYMarginHeight;\n i.railYRatio = i.containerHeight / i.railYHeight;\n i.scrollbarYHeight = getThumbSize(\n i,\n toInt((i.railYHeight * i.containerHeight) / i.contentHeight)\n );\n i.scrollbarYTop = toInt(\n (roundedScrollTop * (i.railYHeight - i.scrollbarYHeight)) /\n (i.contentHeight - i.containerHeight)\n );\n } else {\n i.scrollbarYActive = false;\n }\n\n if (i.scrollbarXLeft >= i.railXWidth - i.scrollbarXWidth) {\n i.scrollbarXLeft = i.railXWidth - i.scrollbarXWidth;\n }\n if (i.scrollbarYTop >= i.railYHeight - i.scrollbarYHeight) {\n i.scrollbarYTop = i.railYHeight - i.scrollbarYHeight;\n }\n\n updateCss(element, i);\n\n if (i.scrollbarXActive) {\n element.classList.add(cls.state.active('x'));\n } else {\n element.classList.remove(cls.state.active('x'));\n i.scrollbarXWidth = 0;\n i.scrollbarXLeft = 0;\n element.scrollLeft = i.isRtl === true ? i.contentWidth : 0;\n }\n if (i.scrollbarYActive) {\n element.classList.add(cls.state.active('y'));\n } else {\n element.classList.remove(cls.state.active('y'));\n i.scrollbarYHeight = 0;\n i.scrollbarYTop = 0;\n element.scrollTop = 0;\n }\n}\n\nfunction getThumbSize(i, thumbSize) {\n if (i.settings.minScrollbarLength) {\n thumbSize = Math.max(thumbSize, i.settings.minScrollbarLength);\n }\n if (i.settings.maxScrollbarLength) {\n thumbSize = Math.min(thumbSize, i.settings.maxScrollbarLength);\n }\n return thumbSize;\n}\n\nfunction updateCss(element, i) {\n const xRailOffset = { width: i.railXWidth };\n const roundedScrollTop = Math.floor(element.scrollTop);\n\n if (i.isRtl) {\n xRailOffset.left =\n i.negativeScrollAdjustment +\n element.scrollLeft +\n i.containerWidth -\n i.contentWidth;\n } else {\n xRailOffset.left = element.scrollLeft;\n }\n if (i.isScrollbarXUsingBottom) {\n xRailOffset.bottom = i.scrollbarXBottom - roundedScrollTop;\n } else {\n xRailOffset.top = i.scrollbarXTop + roundedScrollTop;\n }\n CSS.set(i.scrollbarXRail, xRailOffset);\n\n const yRailOffset = { top: roundedScrollTop, height: i.railYHeight };\n if (i.isScrollbarYUsingRight) {\n if (i.isRtl) {\n yRailOffset.right =\n i.contentWidth -\n (i.negativeScrollAdjustment + element.scrollLeft) -\n i.scrollbarYRight -\n i.scrollbarYOuterWidth -\n 9;\n } else {\n yRailOffset.right = i.scrollbarYRight - element.scrollLeft;\n }\n } else {\n if (i.isRtl) {\n yRailOffset.left =\n i.negativeScrollAdjustment +\n element.scrollLeft +\n i.containerWidth * 2 -\n i.contentWidth -\n i.scrollbarYLeft -\n i.scrollbarYOuterWidth;\n } else {\n yRailOffset.left = i.scrollbarYLeft + element.scrollLeft;\n }\n }\n CSS.set(i.scrollbarYRail, yRailOffset);\n\n CSS.set(i.scrollbarX, {\n left: i.scrollbarXLeft,\n width: i.scrollbarXWidth - i.railBorderXWidth,\n });\n CSS.set(i.scrollbarY, {\n top: i.scrollbarYTop,\n height: i.scrollbarYHeight - i.railBorderYWidth,\n });\n}\n","import * as CSS from '../lib/css';\nimport * as DOM from '../lib/dom';\nimport cls, {\n addScrollingClass,\n removeScrollingClass,\n} from '../lib/class-names';\nimport updateGeometry from '../update-geometry';\nimport { toInt } from '../lib/util';\n\nexport default function(i) {\n bindMouseScrollHandler(i, [\n 'containerWidth',\n 'contentWidth',\n 'pageX',\n 'railXWidth',\n 'scrollbarX',\n 'scrollbarXWidth',\n 'scrollLeft',\n 'x',\n 'scrollbarXRail',\n ]);\n bindMouseScrollHandler(i, [\n 'containerHeight',\n 'contentHeight',\n 'pageY',\n 'railYHeight',\n 'scrollbarY',\n 'scrollbarYHeight',\n 'scrollTop',\n 'y',\n 'scrollbarYRail',\n ]);\n}\n\nfunction bindMouseScrollHandler(\n i,\n [\n containerHeight,\n contentHeight,\n pageY,\n railYHeight,\n scrollbarY,\n scrollbarYHeight,\n scrollTop,\n y,\n scrollbarYRail,\n ]\n) {\n const element = i.element;\n\n let startingScrollTop = null;\n let startingMousePageY = null;\n let scrollBy = null;\n\n function mouseMoveHandler(e) {\n if (e.touches && e.touches[0]) {\n e[pageY] = e.touches[0].pageY;\n }\n element[scrollTop] =\n startingScrollTop + scrollBy * (e[pageY] - startingMousePageY);\n addScrollingClass(i, y);\n updateGeometry(i);\n\n e.stopPropagation();\n if (e.type.startsWith('touch') && e.changedTouches.length > 1) {\n e.preventDefault();\n }\n }\n\n function mouseUpHandler() {\n removeScrollingClass(i, y);\n i[scrollbarYRail].classList.remove(cls.state.clicking);\n i.event.unbind(i.ownerDocument, 'mousemove', mouseMoveHandler);\n }\n\n function bindMoves(e, touchMode) {\n startingScrollTop = element[scrollTop];\n if (touchMode && e.touches) {\n e[pageY] = e.touches[0].pageY;\n }\n startingMousePageY = e[pageY];\n scrollBy =\n (i[contentHeight] - i[containerHeight]) /\n (i[railYHeight] - i[scrollbarYHeight]);\n if (!touchMode) {\n i.event.bind(i.ownerDocument, 'mousemove', mouseMoveHandler);\n i.event.once(i.ownerDocument, 'mouseup', mouseUpHandler);\n e.preventDefault();\n } else {\n i.event.bind(i.ownerDocument, 'touchmove', mouseMoveHandler);\n }\n\n i[scrollbarYRail].classList.add(cls.state.clicking);\n\n e.stopPropagation();\n }\n\n i.event.bind(i[scrollbarY], 'mousedown', e => {\n bindMoves(e);\n });\n i.event.bind(i[scrollbarY], 'touchstart', e => {\n bindMoves(e, true);\n });\n}\n","import * as CSS from './lib/css';\nimport * as DOM from './lib/dom';\nimport cls from './lib/class-names';\nimport EventManager from './lib/event-manager';\nimport processScrollDiff from './process-scroll-diff';\nimport updateGeometry from './update-geometry';\nimport { toInt, outerWidth } from './lib/util';\n\nimport clickRail from './handlers/click-rail';\nimport dragThumb from './handlers/drag-thumb';\nimport keyboard from './handlers/keyboard';\nimport wheel from './handlers/mouse-wheel';\nimport touch from './handlers/touch';\n\nconst defaultSettings = () => ({\n handlers: ['click-rail', 'drag-thumb', 'keyboard', 'wheel', 'touch'],\n maxScrollbarLength: null,\n minScrollbarLength: null,\n scrollingThreshold: 1000,\n scrollXMarginOffset: 0,\n scrollYMarginOffset: 0,\n suppressScrollX: false,\n suppressScrollY: false,\n swipeEasing: true,\n useBothWheelAxes: false,\n wheelPropagation: true,\n wheelSpeed: 1,\n});\n\nconst handlers = {\n 'click-rail': clickRail,\n 'drag-thumb': dragThumb,\n keyboard,\n wheel,\n touch,\n};\n\nexport default class PerfectScrollbar {\n constructor(element, userSettings = {}) {\n if (typeof element === 'string') {\n element = document.querySelector(element);\n }\n\n if (!element || !element.nodeName) {\n throw new Error('no element is specified to initialize PerfectScrollbar');\n }\n\n this.element = element;\n\n element.classList.add(cls.main);\n\n this.settings = defaultSettings();\n for (const key in userSettings) {\n this.settings[key] = userSettings[key];\n }\n\n this.containerWidth = null;\n this.containerHeight = null;\n this.contentWidth = null;\n this.contentHeight = null;\n\n const focus = () => element.classList.add(cls.state.focus);\n const blur = () => element.classList.remove(cls.state.focus);\n\n this.isRtl = CSS.get(element).direction === 'rtl';\n if (this.isRtl === true) {\n element.classList.add(cls.rtl);\n }\n this.isNegativeScroll = (() => {\n const originalScrollLeft = element.scrollLeft;\n let result = null;\n element.scrollLeft = -1;\n result = element.scrollLeft < 0;\n element.scrollLeft = originalScrollLeft;\n return result;\n })();\n this.negativeScrollAdjustment = this.isNegativeScroll\n ? element.scrollWidth - element.clientWidth\n : 0;\n this.event = new EventManager();\n this.ownerDocument = element.ownerDocument || document;\n\n this.scrollbarXRail = DOM.div(cls.element.rail('x'));\n element.appendChild(this.scrollbarXRail);\n this.scrollbarX = DOM.div(cls.element.thumb('x'));\n this.scrollbarXRail.appendChild(this.scrollbarX);\n this.scrollbarX.setAttribute('tabindex', 0);\n this.event.bind(this.scrollbarX, 'focus', focus);\n this.event.bind(this.scrollbarX, 'blur', blur);\n this.scrollbarXActive = null;\n this.scrollbarXWidth = null;\n this.scrollbarXLeft = null;\n const railXStyle = CSS.get(this.scrollbarXRail);\n this.scrollbarXBottom = parseInt(railXStyle.bottom, 10);\n if (isNaN(this.scrollbarXBottom)) {\n this.isScrollbarXUsingBottom = false;\n this.scrollbarXTop = toInt(railXStyle.top);\n } else {\n this.isScrollbarXUsingBottom = true;\n }\n this.railBorderXWidth =\n toInt(railXStyle.borderLeftWidth) + toInt(railXStyle.borderRightWidth);\n // Set rail to display:block to calculate margins\n CSS.set(this.scrollbarXRail, { display: 'block' });\n this.railXMarginWidth =\n toInt(railXStyle.marginLeft) + toInt(railXStyle.marginRight);\n CSS.set(this.scrollbarXRail, { display: '' });\n this.railXWidth = null;\n this.railXRatio = null;\n\n this.scrollbarYRail = DOM.div(cls.element.rail('y'));\n element.appendChild(this.scrollbarYRail);\n this.scrollbarY = DOM.div(cls.element.thumb('y'));\n this.scrollbarYRail.appendChild(this.scrollbarY);\n this.scrollbarY.setAttribute('tabindex', 0);\n this.event.bind(this.scrollbarY, 'focus', focus);\n this.event.bind(this.scrollbarY, 'blur', blur);\n this.scrollbarYActive = null;\n this.scrollbarYHeight = null;\n this.scrollbarYTop = null;\n const railYStyle = CSS.get(this.scrollbarYRail);\n this.scrollbarYRight = parseInt(railYStyle.right, 10);\n if (isNaN(this.scrollbarYRight)) {\n this.isScrollbarYUsingRight = false;\n this.scrollbarYLeft = toInt(railYStyle.left);\n } else {\n this.isScrollbarYUsingRight = true;\n }\n this.scrollbarYOuterWidth = this.isRtl ? outerWidth(this.scrollbarY) : null;\n this.railBorderYWidth =\n toInt(railYStyle.borderTopWidth) + toInt(railYStyle.borderBottomWidth);\n CSS.set(this.scrollbarYRail, { display: 'block' });\n this.railYMarginHeight =\n toInt(railYStyle.marginTop) + toInt(railYStyle.marginBottom);\n CSS.set(this.scrollbarYRail, { display: '' });\n this.railYHeight = null;\n this.railYRatio = null;\n\n this.reach = {\n x:\n element.scrollLeft <= 0\n ? 'start'\n : element.scrollLeft >= this.contentWidth - this.containerWidth\n ? 'end'\n : null,\n y:\n element.scrollTop <= 0\n ? 'start'\n : element.scrollTop >= this.contentHeight - this.containerHeight\n ? 'end'\n : null,\n };\n\n this.isAlive = true;\n\n this.settings.handlers.forEach(handlerName => handlers[handlerName](this));\n\n this.lastScrollTop = Math.floor(element.scrollTop); // for onScroll only\n this.lastScrollLeft = element.scrollLeft; // for onScroll only\n this.event.bind(this.element, 'scroll', e => this.onScroll(e));\n updateGeometry(this);\n }\n\n update() {\n if (!this.isAlive) {\n return;\n }\n\n // Recalcuate negative scrollLeft adjustment\n this.negativeScrollAdjustment = this.isNegativeScroll\n ? this.element.scrollWidth - this.element.clientWidth\n : 0;\n\n // Recalculate rail margins\n CSS.set(this.scrollbarXRail, { display: 'block' });\n CSS.set(this.scrollbarYRail, { display: 'block' });\n this.railXMarginWidth =\n toInt(CSS.get(this.scrollbarXRail).marginLeft) +\n toInt(CSS.get(this.scrollbarXRail).marginRight);\n this.railYMarginHeight =\n toInt(CSS.get(this.scrollbarYRail).marginTop) +\n toInt(CSS.get(this.scrollbarYRail).marginBottom);\n\n // Hide scrollbars not to affect scrollWidth and scrollHeight\n CSS.set(this.scrollbarXRail, { display: 'none' });\n CSS.set(this.scrollbarYRail, { display: 'none' });\n\n updateGeometry(this);\n\n processScrollDiff(this, 'top', 0, false, true);\n processScrollDiff(this, 'left', 0, false, true);\n\n CSS.set(this.scrollbarXRail, { display: '' });\n CSS.set(this.scrollbarYRail, { display: '' });\n }\n\n onScroll(e) {\n if (!this.isAlive) {\n return;\n }\n\n updateGeometry(this);\n processScrollDiff(this, 'top', this.element.scrollTop - this.lastScrollTop);\n processScrollDiff(\n this,\n 'left',\n this.element.scrollLeft - this.lastScrollLeft\n );\n\n this.lastScrollTop = Math.floor(this.element.scrollTop);\n this.lastScrollLeft = this.element.scrollLeft;\n }\n\n destroy() {\n if (!this.isAlive) {\n return;\n }\n\n this.event.unbindAll();\n DOM.remove(this.scrollbarX);\n DOM.remove(this.scrollbarY);\n DOM.remove(this.scrollbarXRail);\n DOM.remove(this.scrollbarYRail);\n this.removePsClasses();\n\n // unset elements\n this.element = null;\n this.scrollbarX = null;\n this.scrollbarY = null;\n this.scrollbarXRail = null;\n this.scrollbarYRail = null;\n\n this.isAlive = false;\n }\n\n removePsClasses() {\n this.element.className = this.element.className\n .split(' ')\n .filter(name => !name.match(/^ps([-_].+|)$/))\n .join(' ');\n }\n}\n","import updateGeometry from '../update-geometry';\n\nexport default function(i) {\n const element = i.element;\n\n i.event.bind(i.scrollbarY, 'mousedown', e => e.stopPropagation());\n i.event.bind(i.scrollbarYRail, 'mousedown', e => {\n const positionTop =\n e.pageY -\n window.pageYOffset -\n i.scrollbarYRail.getBoundingClientRect().top;\n const direction = positionTop > i.scrollbarYTop ? 1 : -1;\n\n i.element.scrollTop += direction * i.containerHeight;\n updateGeometry(i);\n\n e.stopPropagation();\n });\n\n i.event.bind(i.scrollbarX, 'mousedown', e => e.stopPropagation());\n i.event.bind(i.scrollbarXRail, 'mousedown', e => {\n const positionLeft =\n e.pageX -\n window.pageXOffset -\n i.scrollbarXRail.getBoundingClientRect().left;\n const direction = positionLeft > i.scrollbarXLeft ? 1 : -1;\n\n i.element.scrollLeft += direction * i.containerWidth;\n updateGeometry(i);\n\n e.stopPropagation();\n });\n}\n","import * as DOM from '../lib/dom';\nimport updateGeometry from '../update-geometry';\nimport { isEditable } from '../lib/util';\n\nexport default function(i) {\n const element = i.element;\n\n const elementHovered = () => DOM.matches(element, ':hover');\n const scrollbarFocused = () =>\n DOM.matches(i.scrollbarX, ':focus') || DOM.matches(i.scrollbarY, ':focus');\n\n function shouldPreventDefault(deltaX, deltaY) {\n const scrollTop = Math.floor(element.scrollTop);\n if (deltaX === 0) {\n if (!i.scrollbarYActive) {\n return false;\n }\n if (\n (scrollTop === 0 && deltaY > 0) ||\n (scrollTop >= i.contentHeight - i.containerHeight && deltaY < 0)\n ) {\n return !i.settings.wheelPropagation;\n }\n }\n\n const scrollLeft = element.scrollLeft;\n if (deltaY === 0) {\n if (!i.scrollbarXActive) {\n return false;\n }\n if (\n (scrollLeft === 0 && deltaX < 0) ||\n (scrollLeft >= i.contentWidth - i.containerWidth && deltaX > 0)\n ) {\n return !i.settings.wheelPropagation;\n }\n }\n return true;\n }\n\n i.event.bind(i.ownerDocument, 'keydown', e => {\n if (\n (e.isDefaultPrevented && e.isDefaultPrevented()) ||\n e.defaultPrevented\n ) {\n return;\n }\n\n if (!elementHovered() && !scrollbarFocused()) {\n return;\n }\n\n let activeElement = document.activeElement\n ? document.activeElement\n : i.ownerDocument.activeElement;\n if (activeElement) {\n if (activeElement.tagName === 'IFRAME') {\n activeElement = activeElement.contentDocument.activeElement;\n } else {\n // go deeper if element is a webcomponent\n while (activeElement.shadowRoot) {\n activeElement = activeElement.shadowRoot.activeElement;\n }\n }\n if (isEditable(activeElement)) {\n return;\n }\n }\n\n let deltaX = 0;\n let deltaY = 0;\n\n switch (e.which) {\n case 37: // left\n if (e.metaKey) {\n deltaX = -i.contentWidth;\n } else if (e.altKey) {\n deltaX = -i.containerWidth;\n } else {\n deltaX = -30;\n }\n break;\n case 38: // up\n if (e.metaKey) {\n deltaY = i.contentHeight;\n } else if (e.altKey) {\n deltaY = i.containerHeight;\n } else {\n deltaY = 30;\n }\n break;\n case 39: // right\n if (e.metaKey) {\n deltaX = i.contentWidth;\n } else if (e.altKey) {\n deltaX = i.containerWidth;\n } else {\n deltaX = 30;\n }\n break;\n case 40: // down\n if (e.metaKey) {\n deltaY = -i.contentHeight;\n } else if (e.altKey) {\n deltaY = -i.containerHeight;\n } else {\n deltaY = -30;\n }\n break;\n case 32: // space bar\n if (e.shiftKey) {\n deltaY = i.containerHeight;\n } else {\n deltaY = -i.containerHeight;\n }\n break;\n case 33: // page up\n deltaY = i.containerHeight;\n break;\n case 34: // page down\n deltaY = -i.containerHeight;\n break;\n case 36: // home\n deltaY = i.contentHeight;\n break;\n case 35: // end\n deltaY = -i.contentHeight;\n break;\n default:\n return;\n }\n\n if (i.settings.suppressScrollX && deltaX !== 0) {\n return;\n }\n if (i.settings.suppressScrollY && deltaY !== 0) {\n return;\n }\n\n element.scrollTop -= deltaY;\n element.scrollLeft += deltaX;\n updateGeometry(i);\n\n if (shouldPreventDefault(deltaX, deltaY)) {\n e.preventDefault();\n }\n });\n}\n","import * as CSS from '../lib/css';\nimport cls from '../lib/class-names';\nimport updateGeometry from '../update-geometry';\nimport { env } from '../lib/util';\n\nexport default function(i) {\n const element = i.element;\n\n let shouldPrevent = false;\n\n function shouldPreventDefault(deltaX, deltaY) {\n const roundedScrollTop = Math.floor(element.scrollTop);\n const isTop = element.scrollTop === 0;\n const isBottom =\n roundedScrollTop + element.offsetHeight === element.scrollHeight;\n const isLeft = element.scrollLeft === 0;\n const isRight =\n element.scrollLeft + element.offsetWidth === element.scrollWidth;\n\n let hitsBound;\n\n // pick axis with primary direction\n if (Math.abs(deltaY) > Math.abs(deltaX)) {\n hitsBound = isTop || isBottom;\n } else {\n hitsBound = isLeft || isRight;\n }\n\n return hitsBound ? !i.settings.wheelPropagation : true;\n }\n\n function getDeltaFromEvent(e) {\n let deltaX = e.deltaX;\n let deltaY = -1 * e.deltaY;\n\n if (typeof deltaX === 'undefined' || typeof deltaY === 'undefined') {\n // OS X Safari\n deltaX = (-1 * e.wheelDeltaX) / 6;\n deltaY = e.wheelDeltaY / 6;\n }\n\n if (e.deltaMode && e.deltaMode === 1) {\n // Firefox in deltaMode 1: Line scrolling\n deltaX *= 10;\n deltaY *= 10;\n }\n\n if (deltaX !== deltaX && deltaY !== deltaY /* NaN checks */) {\n // IE in some mouse drivers\n deltaX = 0;\n deltaY = e.wheelDelta;\n }\n\n if (e.shiftKey) {\n // reverse axis with shift key\n return [-deltaY, -deltaX];\n }\n return [deltaX, deltaY];\n }\n\n function shouldBeConsumedByChild(target, deltaX, deltaY) {\n // FIXME: this is a workaround for