{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/react/index.js","webpack:///./node_modules/moment/moment.js","webpack:///./node_modules/axios/index.js","webpack:///./node_modules/dayjs/dayjs.min.js","webpack:///./node_modules/prop-types/index.js","webpack:///./node_modules/voximplant-websdk/voximplant.min.js","webpack:///./node_modules/@projectstorm/react-diagrams/dist/main.js","webpack:///./node_modules/axios/lib/utils.js","webpack:///./node_modules/pathfinding/src/core/DiagonalMovement.js","webpack:///./node_modules/classnames/index.js","webpack:///./node_modules/lodash/_root.js","webpack:///./node_modules/lodash/isArray.js","webpack:///(webpack)/buildin/module.js","webpack:///./node_modules/react-dom/index.js","webpack:///./node_modules/pathfinding/src/core/Util.js","webpack:///./node_modules/lodash/_getNative.js","webpack:///./node_modules/lodash/isEqual.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/pathfinding/src/core/Heuristic.js","webpack:///./node_modules/lodash/_baseGetTag.js","webpack:///./node_modules/lodash/isObjectLike.js","webpack:///./node_modules/lodash/lodash.js","webpack:///./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack:///./node_modules/chart.js/dist/Chart.js","webpack:///./node_modules/body-scroll-lock/lib/bodyScrollLock.min.js","webpack:///(webpack)/buildin/amd-options.js","webpack:///./node_modules/heap/index.js","webpack:///./node_modules/pathfinding/src/finders/JumpPointFinderBase.js","webpack:///./node_modules/lodash/_ListCache.js","webpack:///./node_modules/lodash/_assocIndexOf.js","webpack:///./node_modules/lodash/_Symbol.js","webpack:///./node_modules/lodash/_nativeCreate.js","webpack:///./node_modules/lodash/_getMapData.js","webpack:///./node_modules/lodash/_toKey.js","webpack:///./node_modules/react-is/index.js","webpack:///./node_modules/react-flatpickr/build/index.js","webpack:///./node_modules/flatpickr/dist/l10n/ru.js","webpack:///./node_modules/react-chartjs-2/es/index.js","webpack:///./node_modules/js-cookie/src/js.cookie.js","webpack:///./node_modules/pathfinding/src/core/Node.js","webpack:///./node_modules/pathfinding/src/finders/AStarFinder.js","webpack:///./node_modules/pathfinding/src/finders/BiAStarFinder.js","webpack:///./node_modules/lodash/_baseIsEqual.js","webpack:///./node_modules/lodash/_Map.js","webpack:///./node_modules/lodash/isObject.js","webpack:///./node_modules/lodash/_MapCache.js","webpack:///./node_modules/lodash/keys.js","webpack:///./node_modules/lodash/isLength.js","webpack:///./node_modules/lodash/_isKey.js","webpack:///./node_modules/lodash/isSymbol.js","webpack:///./node_modules/symbol-observable/es/index.js","webpack:///./node_modules/@babel/runtime/helpers/inheritsLoose.js","webpack:///./node_modules/react-router/node_modules/path-to-regexp/index.js","webpack:///./node_modules/no-scroll/index.js","webpack:///./node_modules/object-assign/index.js","webpack:///./node_modules/axios/lib/helpers/bind.js","webpack:///./node_modules/axios/lib/helpers/buildURL.js","webpack:///./node_modules/axios/lib/cancel/isCancel.js","webpack:///./node_modules/axios/lib/defaults.js","webpack:///./node_modules/process/browser.js","webpack:///./node_modules/axios/lib/adapters/xhr.js","webpack:///./node_modules/axios/lib/core/createError.js","webpack:///./node_modules/axios/lib/core/mergeConfig.js","webpack:///./node_modules/axios/lib/cancel/Cancel.js","webpack:///./node_modules/moment/locale/af.js","webpack:///./node_modules/moment/locale/ar.js","webpack:///./node_modules/moment/locale/ar-dz.js","webpack:///./node_modules/moment/locale/ar-kw.js","webpack:///./node_modules/moment/locale/ar-ly.js","webpack:///./node_modules/moment/locale/ar-ma.js","webpack:///./node_modules/moment/locale/ar-sa.js","webpack:///./node_modules/moment/locale/ar-tn.js","webpack:///./node_modules/moment/locale/az.js","webpack:///./node_modules/moment/locale/be.js","webpack:///./node_modules/moment/locale/bg.js","webpack:///./node_modules/moment/locale/bm.js","webpack:///./node_modules/moment/locale/bn.js","webpack:///./node_modules/moment/locale/bo.js","webpack:///./node_modules/moment/locale/br.js","webpack:///./node_modules/moment/locale/bs.js","webpack:///./node_modules/moment/locale/ca.js","webpack:///./node_modules/moment/locale/cs.js","webpack:///./node_modules/moment/locale/cv.js","webpack:///./node_modules/moment/locale/cy.js","webpack:///./node_modules/moment/locale/da.js","webpack:///./node_modules/moment/locale/de.js","webpack:///./node_modules/moment/locale/de-at.js","webpack:///./node_modules/moment/locale/de-ch.js","webpack:///./node_modules/moment/locale/dv.js","webpack:///./node_modules/moment/locale/el.js","webpack:///./node_modules/moment/locale/en-SG.js","webpack:///./node_modules/moment/locale/en-au.js","webpack:///./node_modules/moment/locale/en-ca.js","webpack:///./node_modules/moment/locale/en-gb.js","webpack:///./node_modules/moment/locale/en-ie.js","webpack:///./node_modules/moment/locale/en-il.js","webpack:///./node_modules/moment/locale/en-nz.js","webpack:///./node_modules/moment/locale/eo.js","webpack:///./node_modules/moment/locale/es.js","webpack:///./node_modules/moment/locale/es-do.js","webpack:///./node_modules/moment/locale/es-us.js","webpack:///./node_modules/moment/locale/et.js","webpack:///./node_modules/moment/locale/eu.js","webpack:///./node_modules/moment/locale/fa.js","webpack:///./node_modules/moment/locale/fi.js","webpack:///./node_modules/moment/locale/fo.js","webpack:///./node_modules/moment/locale/fr.js","webpack:///./node_modules/moment/locale/fr-ca.js","webpack:///./node_modules/moment/locale/fr-ch.js","webpack:///./node_modules/moment/locale/fy.js","webpack:///./node_modules/moment/locale/ga.js","webpack:///./node_modules/moment/locale/gd.js","webpack:///./node_modules/moment/locale/gl.js","webpack:///./node_modules/moment/locale/gom-latn.js","webpack:///./node_modules/moment/locale/gu.js","webpack:///./node_modules/moment/locale/he.js","webpack:///./node_modules/moment/locale/hi.js","webpack:///./node_modules/moment/locale/hr.js","webpack:///./node_modules/moment/locale/hu.js","webpack:///./node_modules/moment/locale/hy-am.js","webpack:///./node_modules/moment/locale/id.js","webpack:///./node_modules/moment/locale/is.js","webpack:///./node_modules/moment/locale/it.js","webpack:///./node_modules/moment/locale/it-ch.js","webpack:///./node_modules/moment/locale/ja.js","webpack:///./node_modules/moment/locale/jv.js","webpack:///./node_modules/moment/locale/ka.js","webpack:///./node_modules/moment/locale/kk.js","webpack:///./node_modules/moment/locale/km.js","webpack:///./node_modules/moment/locale/kn.js","webpack:///./node_modules/moment/locale/ko.js","webpack:///./node_modules/moment/locale/ku.js","webpack:///./node_modules/moment/locale/ky.js","webpack:///./node_modules/moment/locale/lb.js","webpack:///./node_modules/moment/locale/lo.js","webpack:///./node_modules/moment/locale/lt.js","webpack:///./node_modules/moment/locale/lv.js","webpack:///./node_modules/moment/locale/me.js","webpack:///./node_modules/moment/locale/mi.js","webpack:///./node_modules/moment/locale/mk.js","webpack:///./node_modules/moment/locale/ml.js","webpack:///./node_modules/moment/locale/mn.js","webpack:///./node_modules/moment/locale/mr.js","webpack:///./node_modules/moment/locale/ms.js","webpack:///./node_modules/moment/locale/ms-my.js","webpack:///./node_modules/moment/locale/mt.js","webpack:///./node_modules/moment/locale/my.js","webpack:///./node_modules/moment/locale/nb.js","webpack:///./node_modules/moment/locale/ne.js","webpack:///./node_modules/moment/locale/nl.js","webpack:///./node_modules/moment/locale/nl-be.js","webpack:///./node_modules/moment/locale/nn.js","webpack:///./node_modules/moment/locale/pa-in.js","webpack:///./node_modules/moment/locale/pl.js","webpack:///./node_modules/moment/locale/pt.js","webpack:///./node_modules/moment/locale/pt-br.js","webpack:///./node_modules/moment/locale/ro.js","webpack:///./node_modules/moment/locale/ru.js","webpack:///./node_modules/moment/locale/sd.js","webpack:///./node_modules/moment/locale/se.js","webpack:///./node_modules/moment/locale/si.js","webpack:///./node_modules/moment/locale/sk.js","webpack:///./node_modules/moment/locale/sl.js","webpack:///./node_modules/moment/locale/sq.js","webpack:///./node_modules/moment/locale/sr.js","webpack:///./node_modules/moment/locale/sr-cyrl.js","webpack:///./node_modules/moment/locale/ss.js","webpack:///./node_modules/moment/locale/sv.js","webpack:///./node_modules/moment/locale/sw.js","webpack:///./node_modules/moment/locale/ta.js","webpack:///./node_modules/moment/locale/te.js","webpack:///./node_modules/moment/locale/tet.js","webpack:///./node_modules/moment/locale/tg.js","webpack:///./node_modules/moment/locale/th.js","webpack:///./node_modules/moment/locale/tl-ph.js","webpack:///./node_modules/moment/locale/tlh.js","webpack:///./node_modules/moment/locale/tr.js","webpack:///./node_modules/moment/locale/tzl.js","webpack:///./node_modules/moment/locale/tzm.js","webpack:///./node_modules/moment/locale/tzm-latn.js","webpack:///./node_modules/moment/locale/ug-cn.js","webpack:///./node_modules/moment/locale/uk.js","webpack:///./node_modules/moment/locale/ur.js","webpack:///./node_modules/moment/locale/uz.js","webpack:///./node_modules/moment/locale/uz-latn.js","webpack:///./node_modules/moment/locale/vi.js","webpack:///./node_modules/moment/locale/x-pseudo.js","webpack:///./node_modules/moment/locale/yo.js","webpack:///./node_modules/moment/locale/zh-cn.js","webpack:///./node_modules/moment/locale/zh-hk.js","webpack:///./node_modules/moment/locale/zh-tw.js","webpack:///./node_modules/lodash/_Stack.js","webpack:///./node_modules/lodash/eq.js","webpack:///./node_modules/lodash/isFunction.js","webpack:///./node_modules/lodash/_freeGlobal.js","webpack:///./node_modules/lodash/_toSource.js","webpack:///./node_modules/lodash/_equalArrays.js","webpack:///./node_modules/lodash/isArguments.js","webpack:///./node_modules/lodash/isBuffer.js","webpack:///./node_modules/lodash/_isIndex.js","webpack:///./node_modules/lodash/isTypedArray.js","webpack:///./node_modules/lodash/isArrayLike.js","webpack:///./node_modules/lodash/_isStrictComparable.js","webpack:///./node_modules/lodash/_matchesStrictComparable.js","webpack:///./node_modules/lodash/_baseGet.js","webpack:///./node_modules/lodash/_castPath.js","webpack:///./node_modules/symbol-observable/es/ponyfill.js","webpack:///./node_modules/actioncable/lib/assets/compiled/action_cable.js","webpack:///./node_modules/gud/index.js","webpack:///./node_modules/focus-trap-react/dist/focus-trap-react.js","webpack:///./app/javascript/images/logo.svg","webpack:///./node_modules/react-loader-spinner/index.js","webpack:///./node_modules/react-tagsinput/react-tagsinput.js","webpack:///./node_modules/react-json-view/dist/main.js","webpack:///./node_modules/lodash/keyBy.js","webpack:///./app/javascript/images/call/out-successful.svg","webpack:///./app/javascript/images/call/out-failed.svg","webpack:///./app/javascript/images/call/in-successful.svg","webpack:///./app/javascript/images/call/in-failed.svg","webpack:///./node_modules/react/cjs/react.production.min.js","webpack:///./node_modules/react-dom/cjs/react-dom.production.min.js","webpack:///./node_modules/scheduler/index.js","webpack:///./node_modules/scheduler/cjs/scheduler.production.min.js","webpack:///./node_modules/react-is/cjs/react-is.production.min.js","webpack:///(webpack)/buildin/harmony-module.js","webpack:///./node_modules/dayjs/locale/ru.js","webpack:///./node_modules/redux-logger/dist/redux-logger.js","webpack:///./node_modules/axios/lib/axios.js","webpack:///./node_modules/axios/lib/core/Axios.js","webpack:///./node_modules/axios/lib/core/InterceptorManager.js","webpack:///./node_modules/axios/lib/core/dispatchRequest.js","webpack:///./node_modules/axios/lib/core/transformData.js","webpack:///./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack:///./node_modules/axios/lib/core/settle.js","webpack:///./node_modules/axios/lib/core/enhanceError.js","webpack:///./node_modules/axios/lib/core/buildFullPath.js","webpack:///./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack:///./node_modules/axios/lib/helpers/combineURLs.js","webpack:///./node_modules/axios/lib/helpers/parseHeaders.js","webpack:///./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack:///./node_modules/axios/lib/helpers/cookies.js","webpack:///./node_modules/axios/lib/cancel/CancelToken.js","webpack:///./node_modules/axios/lib/helpers/spread.js","webpack:///./node_modules/prop-types/factoryWithThrowingShims.js","webpack:///./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///./node_modules/react-router/node_modules/isarray/index.js","webpack:///./node_modules/focus-trap/index.js","webpack:///./node_modules/tabbable/index.js","webpack:///./node_modules/xtend/immutable.js","webpack:///./node_modules/react-loader-spinner/dist/index.js","webpack:///./node_modules/react-loader-spinner/dist/loader/index.js","webpack:///./node_modules/react-loader-spinner/dist/loader/Circles.js","webpack:///./node_modules/react-loader-spinner/dist/loader/Watch.js","webpack:///./node_modules/react-loader-spinner/dist/loader/Audio.js","webpack:///./node_modules/react-loader-spinner/dist/loader/BallTriangle.js","webpack:///./node_modules/react-loader-spinner/dist/loader/Bars.js","webpack:///./node_modules/react-loader-spinner/dist/loader/CradleLoader.js","webpack:///./node_modules/react-loader-spinner/dist/loader/Grid.js","webpack:///./node_modules/react-loader-spinner/dist/loader/Hearts.js","webpack:///./node_modules/react-loader-spinner/dist/loader/MutatingDots.js","webpack:///./node_modules/react-loader-spinner/dist/loader/Oval.js","webpack:///./node_modules/react-loader-spinner/dist/loader/Plane.js","webpack:///./node_modules/react-loader-spinner/dist/loader/Puff.js","webpack:///./node_modules/react-loader-spinner/dist/loader/RevolvingDot.js","webpack:///./node_modules/react-loader-spinner/dist/loader/Rings.js","webpack:///./node_modules/react-loader-spinner/dist/loader/TailSpin.js","webpack:///./node_modules/react-loader-spinner/dist/loader/ThreeDots.js","webpack:///./node_modules/react-loader-spinner/dist/loader/Triangle.js","webpack:///./node_modules/flatpickr/dist/flatpickr.js","webpack:///./node_modules/closest/index.js","webpack:///./node_modules/matches-selector/index.js","webpack:///./node_modules/pathfinding/index.js","webpack:///./node_modules/pathfinding/src/PathFinding.js","webpack:///./node_modules/heap/lib/heap.js","webpack:///./node_modules/pathfinding/src/core/Grid.js","webpack:///./node_modules/pathfinding/src/finders/BestFirstFinder.js","webpack:///./node_modules/pathfinding/src/finders/BreadthFirstFinder.js","webpack:///./node_modules/pathfinding/src/finders/DijkstraFinder.js","webpack:///./node_modules/pathfinding/src/finders/BiBestFirstFinder.js","webpack:///./node_modules/pathfinding/src/finders/BiBreadthFirstFinder.js","webpack:///./node_modules/pathfinding/src/finders/BiDijkstraFinder.js","webpack:///./node_modules/pathfinding/src/finders/IDAStarFinder.js","webpack:///./node_modules/pathfinding/src/finders/JumpPointFinder.js","webpack:///./node_modules/pathfinding/src/finders/JPFNeverMoveDiagonally.js","webpack:///./node_modules/pathfinding/src/finders/JPFAlwaysMoveDiagonally.js","webpack:///./node_modules/pathfinding/src/finders/JPFMoveDiagonallyIfNoObstacles.js","webpack:///./node_modules/pathfinding/src/finders/JPFMoveDiagonallyIfAtMostOneObstacle.js","webpack:///./node_modules/paths-js/path.js","webpack:///./node_modules/paths-js/geom.js","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./node_modules/lodash/_baseIsEqualDeep.js","webpack:///./node_modules/lodash/_listCacheClear.js","webpack:///./node_modules/lodash/_listCacheDelete.js","webpack:///./node_modules/lodash/_listCacheGet.js","webpack:///./node_modules/lodash/_listCacheHas.js","webpack:///./node_modules/lodash/_listCacheSet.js","webpack:///./node_modules/lodash/_stackClear.js","webpack:///./node_modules/lodash/_stackDelete.js","webpack:///./node_modules/lodash/_stackGet.js","webpack:///./node_modules/lodash/_stackHas.js","webpack:///./node_modules/lodash/_stackSet.js","webpack:///./node_modules/lodash/_baseIsNative.js","webpack:///./node_modules/lodash/_getRawTag.js","webpack:///./node_modules/lodash/_objectToString.js","webpack:///./node_modules/lodash/_isMasked.js","webpack:///./node_modules/lodash/_coreJsData.js","webpack:///./node_modules/lodash/_getValue.js","webpack:///./node_modules/lodash/_mapCacheClear.js","webpack:///./node_modules/lodash/_Hash.js","webpack:///./node_modules/lodash/_hashClear.js","webpack:///./node_modules/lodash/_hashDelete.js","webpack:///./node_modules/lodash/_hashGet.js","webpack:///./node_modules/lodash/_hashHas.js","webpack:///./node_modules/lodash/_hashSet.js","webpack:///./node_modules/lodash/_mapCacheDelete.js","webpack:///./node_modules/lodash/_isKeyable.js","webpack:///./node_modules/lodash/_mapCacheGet.js","webpack:///./node_modules/lodash/_mapCacheHas.js","webpack:///./node_modules/lodash/_mapCacheSet.js","webpack:///./node_modules/lodash/_SetCache.js","webpack:///./node_modules/lodash/_setCacheAdd.js","webpack:///./node_modules/lodash/_setCacheHas.js","webpack:///./node_modules/lodash/_arraySome.js","webpack:///./node_modules/lodash/_cacheHas.js","webpack:///./node_modules/lodash/_equalByTag.js","webpack:///./node_modules/lodash/_Uint8Array.js","webpack:///./node_modules/lodash/_mapToArray.js","webpack:///./node_modules/lodash/_setToArray.js","webpack:///./node_modules/lodash/_equalObjects.js","webpack:///./node_modules/lodash/_getAllKeys.js","webpack:///./node_modules/lodash/_baseGetAllKeys.js","webpack:///./node_modules/lodash/_arrayPush.js","webpack:///./node_modules/lodash/_getSymbols.js","webpack:///./node_modules/lodash/_arrayFilter.js","webpack:///./node_modules/lodash/stubArray.js","webpack:///./node_modules/lodash/_arrayLikeKeys.js","webpack:///./node_modules/lodash/_baseTimes.js","webpack:///./node_modules/lodash/_baseIsArguments.js","webpack:///./node_modules/lodash/stubFalse.js","webpack:///./node_modules/lodash/_baseIsTypedArray.js","webpack:///./node_modules/lodash/_baseUnary.js","webpack:///./node_modules/lodash/_nodeUtil.js","webpack:///./node_modules/lodash/_baseKeys.js","webpack:///./node_modules/lodash/_isPrototype.js","webpack:///./node_modules/lodash/_nativeKeys.js","webpack:///./node_modules/lodash/_overArg.js","webpack:///./node_modules/lodash/_getTag.js","webpack:///./node_modules/lodash/_DataView.js","webpack:///./node_modules/lodash/_Promise.js","webpack:///./node_modules/lodash/_Set.js","webpack:///./node_modules/lodash/_WeakMap.js","webpack:///./node_modules/lodash/_baseAssignValue.js","webpack:///./node_modules/lodash/_defineProperty.js","webpack:///./node_modules/lodash/_createAggregator.js","webpack:///./node_modules/lodash/_arrayAggregator.js","webpack:///./node_modules/lodash/_baseAggregator.js","webpack:///./node_modules/lodash/_baseEach.js","webpack:///./node_modules/lodash/_baseForOwn.js","webpack:///./node_modules/lodash/_baseFor.js","webpack:///./node_modules/lodash/_createBaseFor.js","webpack:///./node_modules/lodash/_createBaseEach.js","webpack:///./node_modules/lodash/_baseIteratee.js","webpack:///./node_modules/lodash/_baseMatches.js","webpack:///./node_modules/lodash/_baseIsMatch.js","webpack:///./node_modules/lodash/_getMatchData.js","webpack:///./node_modules/lodash/_baseMatchesProperty.js","webpack:///./node_modules/lodash/get.js","webpack:///./node_modules/lodash/_stringToPath.js","webpack:///./node_modules/lodash/_memoizeCapped.js","webpack:///./node_modules/lodash/memoize.js","webpack:///./node_modules/lodash/toString.js","webpack:///./node_modules/lodash/_baseToString.js","webpack:///./node_modules/lodash/_arrayMap.js","webpack:///./node_modules/lodash/hasIn.js","webpack:///./node_modules/lodash/_baseHasIn.js","webpack:///./node_modules/lodash/_hasPath.js","webpack:///./node_modules/lodash/identity.js","webpack:///./node_modules/lodash/property.js","webpack:///./node_modules/lodash/_baseProperty.js","webpack:///./node_modules/lodash/_basePropertyDeep.js","webpack:///./node_modules/react-redux/es/components/Context.js","webpack:///./node_modules/react-redux/es/utils/batch.js","webpack:///./node_modules/react-redux/es/utils/Subscription.js","webpack:///./node_modules/react-redux/es/components/Provider.js","webpack:///./node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack:///./node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js","webpack:///./node_modules/react-redux/es/components/connectAdvanced.js","webpack:///./node_modules/react-redux/es/utils/shallowEqual.js","webpack:///./node_modules/redux/es/redux.js","webpack:///./node_modules/react-redux/es/connect/wrapMapToProps.js","webpack:///./node_modules/react-redux/es/connect/mapDispatchToProps.js","webpack:///./node_modules/react-redux/es/connect/mapStateToProps.js","webpack:///./node_modules/react-redux/es/connect/mergeProps.js","webpack:///./node_modules/react-redux/es/connect/selectorFactory.js","webpack:///./node_modules/react-redux/es/connect/connect.js","webpack:///./node_modules/react-redux/es/hooks/useSelector.js","webpack:///./node_modules/react-redux/es/index.js","webpack:///./node_modules/redux-thunk/es/index.js","webpack:///./app/javascript/api/speechrobot.js","webpack:///./app/javascript/api/storage.js","webpack:///./app/javascript/store/auth.js","webpack:///./app/javascript/store/account.js","webpack:///./app/javascript/store/operator.js","webpack:///./app/javascript/store/operators.js","webpack:///./app/javascript/store/scenarios.js","webpack:///./app/javascript/store/scenario.js","webpack:///./app/javascript/store/call_lists.js","webpack:///./app/javascript/utils/TinyEvents.js","webpack:///./app/javascript/api/CableSubscription.js","webpack:///./app/javascript/store/call_list.js","webpack:///./app/javascript/store/tasks.js","webpack:///./app/javascript/store/task.js","webpack:///./app/javascript/store/phone_numbers.js","webpack:///./app/javascript/store/phone_number.js","webpack:///./app/javascript/store/calls.js","webpack:///./app/javascript/store/calls_chart.js","webpack:///./app/javascript/store/audios.js","webpack:///./app/javascript/store/audio.js","webpack:///./app/javascript/store/payments.js","webpack:///./app/javascript/store/templates.js","webpack:///./app/javascript/store/invoice.js","webpack:///./app/javascript/store/user.js","webpack:///./app/javascript/store/features.js","webpack:///./app/javascript/store/dashboard.js","webpack:///./app/javascript/store/contact_activities.js","webpack:///./app/javascript/store/contacts.js","webpack:///./app/javascript/store/acd_queues.js","webpack:///./app/javascript/store/index.js","webpack:///./app/javascript/configureStore.js","webpack:///./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack:///./node_modules/resolve-pathname/esm/resolve-pathname.js","webpack:///./node_modules/value-equal/esm/value-equal.js","webpack:///./node_modules/tiny-invariant/dist/tiny-invariant.esm.js","webpack:///./node_modules/history/esm/history.js","webpack:///./node_modules/mini-create-react-context/dist/esm/index.js","webpack:///./node_modules/react-router/esm/react-router.js","webpack:///./node_modules/react-router-dom/esm/react-router-dom.js","webpack:///./app/javascript/components/ScrollToTop.js","webpack:///./app/javascript/containers/AuthenticateContainer.jsx","webpack:///./app/javascript/containers/FeaturesLoaderContainer.jsx","webpack:///./app/javascript/components/ActionButton.js","webpack:///./node_modules/libphonenumber-js/es6/constants.js","webpack:///./node_modules/libphonenumber-js/es6/util.js","webpack:///./node_modules/libphonenumber-js/es6/ParseError.js","webpack:///./node_modules/libphonenumber-js/es6/tools/semver-compare.js","webpack:///./node_modules/libphonenumber-js/es6/metadata.js","webpack:///./node_modules/libphonenumber-js/es6/extension.js","webpack:///./node_modules/libphonenumber-js/es6/isViablePhoneNumber.js","webpack:///./node_modules/libphonenumber-js/es6/parseDigits.js","webpack:///./node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js","webpack:///./node_modules/libphonenumber-js/es6/getNumberType_.js","webpack:///./node_modules/libphonenumber-js/es6/isPossibleNumber_.js","webpack:///./node_modules/libphonenumber-js/es6/IDD.js","webpack:///./node_modules/libphonenumber-js/es6/RFC3966.js","webpack:///./node_modules/libphonenumber-js/es6/format_.js","webpack:///./node_modules/libphonenumber-js/es6/PhoneNumber.js","webpack:///./node_modules/libphonenumber-js/es6/validate_.js","webpack:///./node_modules/libphonenumber-js/es6/parse_.js","webpack:///./node_modules/libphonenumber-js/es6/parsePhoneNumber_.js","webpack:///./node_modules/libphonenumber-js/es6/parsePhoneNumber.js","webpack:///./node_modules/libphonenumber-js/es6/parsePhoneNumberFromString_.js","webpack:///./node_modules/libphonenumber-js/es6/parsePhoneNumberFromString.js","webpack:///./node_modules/libphonenumber-js/es6/getCountries.js","webpack:///./node_modules/input-format/modules/helpers.js","webpack:///./node_modules/input-format/modules/close braces.js","webpack:///./node_modules/input-format/modules/format.js","webpack:///./node_modules/input-format/modules/template formatter.js","webpack:///./node_modules/input-format/modules/dom.js","webpack:///./node_modules/input-format/modules/input control.js","webpack:///./node_modules/input-format/modules/parse.js","webpack:///./node_modules/input-format/modules/edit.js","webpack:///./node_modules/input-format/modules/react/Input.js","webpack:///./node_modules/libphonenumber-js/es6/AsYouType.js","webpack:///./node_modules/react-phone-number-input/modules/inputValuePrefix.js","webpack:///./node_modules/react-phone-number-input/modules/InputSmart.js","webpack:///./node_modules/react-phone-number-input/modules/InputBasic.js","webpack:///./node_modules/libphonenumber-js/es6/formatIncompletePhoneNumber.js","webpack:///./node_modules/react-phone-number-input/modules/Flag.js","webpack:///./node_modules/react-phone-number-input/modules/InternationalIcon.js","webpack:///./node_modules/react-phone-number-input/modules/countries.js","webpack:///./node_modules/react-phone-number-input/modules/CountryIcon.js","webpack:///./node_modules/react-phone-number-input/modules/phoneInputHelpers.js","webpack:///./node_modules/react-phone-number-input/modules/PhoneInputWithCountry.js","webpack:///./node_modules/country-flag-icons/modules/unicode.js","webpack:///./node_modules/react-phone-number-input/modules/CountrySelect.js","webpack:///./node_modules/react-phone-number-input/modules/PhoneInputWithCountryDefault.js","webpack:///./node_modules/react-phone-number-input/min/index.js","webpack:///./node_modules/country-flag-icons/modules/react/3x2/index.js","webpack:///./app/javascript/components/PhoneInput.js","webpack:///./app/javascript/components/registration/Registration.js","webpack:///./app/javascript/containers/RegistrationContainer.jsx","webpack:///./app/javascript/components/recharge/Recharge.js","webpack:///./app/javascript/containers/RechargeContainer.jsx","webpack:///./node_modules/dom-helpers/esm/removeClass.js","webpack:///./node_modules/react-transition-group/esm/config.js","webpack:///./node_modules/react-transition-group/esm/TransitionGroupContext.js","webpack:///./node_modules/react-transition-group/esm/Transition.js","webpack:///./node_modules/react-transition-group/esm/CSSTransition.js","webpack:///./node_modules/dom-helpers/esm/addClass.js","webpack:///./node_modules/dom-helpers/esm/hasClass.js","webpack:///./node_modules/react-responsive-modal/lib/index.es.js","webpack:///./app/javascript/components/Modal.js","webpack:///./app/javascript/components/profile_widget/Balance.js","webpack:///./app/javascript/components/profile_widget/ProfileWidget.js","webpack:///./app/javascript/containers/ProfileWidgetContainer.jsx","webpack:///./app/javascript/components/top_menu/TopMenu.js","webpack:///./app/javascript/containers/TopMenuContainer.jsx","webpack:///./app/javascript/components/login/Login.js","webpack:///./app/javascript/containers/LoginContainer.jsx","webpack:///./app/javascript/components/user_updater/UserUpdater.js","webpack:///./app/javascript/containers/UserUpdaterContainer.jsx","webpack:///./app/javascript/components/settings/Settings.js","webpack:///./app/javascript/containers/SettingsContainer.jsx","webpack:///./app/javascript/components/Spinner.js","webpack:///./app/javascript/components/RangePicker.js","webpack:///./app/javascript/components/payments/PaymentPreview.js","webpack:///./app/javascript/components/payments/Payments.js","webpack:///./app/javascript/containers/PaymentsContainer.jsx","webpack:///./app/javascript/components/profile/Profile.js","webpack:///./app/javascript/containers/ProfileContainer.jsx","webpack:///./app/javascript/components/Tip.js","webpack:///./app/javascript/components/scenarios/ScenarioPreview.js","webpack:///./app/javascript/components/scenarios/Templates.js","webpack:///./app/javascript/components/scenarios/Scenarios.js","webpack:///./app/javascript/containers/ScenariosContainer.jsx","webpack:///./app/javascript/components/Button.js","webpack:///./app/javascript/components/Paginator.js","webpack:///./app/javascript/components/call_lists/CallListPreview.js","webpack:///./app/javascript/components/call_lists/List.js","webpack:///./app/javascript/components/call_lists/CallLists.js","webpack:///./app/javascript/containers/CallListsContainer.jsx","webpack:///./app/javascript/components/scenario/controls/NameInput.js","webpack:///./app/javascript/components/scenario/controls/TestingIncoming.js","webpack:///./app/javascript/components/KeyValue.js","webpack:///./app/javascript/components/scenario/controls/TestingOutcoming.js","webpack:///./app/javascript/components/scenario/controls/TestingButton.js","webpack:///./app/javascript/components/scenario/controls/Controls.js","webpack:///./app/javascript/components/scenario/Panel.js","webpack:///./node_modules/uuid/dist/esm-browser/rng.js","webpack:///./app/javascript/components/scenario/diagram/BaseNodeModel.js","webpack:///./node_modules/uuid/dist/esm-browser/regex.js","webpack:///./node_modules/uuid/dist/esm-browser/stringify.js","webpack:///./node_modules/uuid/dist/esm-browser/validate.js","webpack:///./node_modules/uuid/dist/esm-browser/v4.js","webpack:///./app/javascript/components/scenario/diagram/BaseNodeWidget.js","webpack:///./app/javascript/components/scenario/diagram/BaseNodeFactory.js","webpack:///./app/javascript/components/scenario/diagram/BaseInPortModel.js","webpack:///./app/javascript/components/scenario/diagram/BaseInPortFactory.js","webpack:///./app/javascript/components/scenario/diagram/BaseOutPortModel.js","webpack:///./app/javascript/components/scenario/diagram/BaseOutPortFactory.js","webpack:///./app/javascript/components/scenario/diagram/nodeBuilder.js","webpack:///./app/javascript/components/scenario/Diagram.js","webpack:///./app/javascript/components/scenario/Map.js","webpack:///./app/javascript/components/scenario/configurators/BaseConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/StartConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/Ports.js","webpack:///./app/javascript/components/scenario/configurators/VariantsInput.js","webpack:///./app/javascript/components/scenario/configurators/GlobalcontextConfigurator.js","webpack:///./app/javascript/RecordAudio.js","webpack:///./app/javascript/components/add_audio/AddAudio.js","webpack:///./app/javascript/containers/AddAudioContainer.jsx","webpack:///./app/javascript/components/audio_picker/AudioPicker.js","webpack:///./app/javascript/containers/AudioPickerContainer.jsx","webpack:///./app/javascript/components/scenario/configurators/OutcomingcallConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/IncomingcallConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/FailedcallConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/DisconnectedcallConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/VoicePicker.js","webpack:///./app/javascript/components/scenario/configurators/SayOrPlay.js","webpack:///./app/javascript/components/scenario/configurators/SayorplayConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/SayConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/PlayConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/DelayConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/MicdetectorConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/KeyValue.js","webpack:///./app/javascript/components/scenario/configurators/VariableConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/SuccessConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/EndConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/IVRConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/MenuConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/HttpConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/SetvalueConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/GetvalueConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/SendemailConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/SendsmsConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/TransferConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/OperatorConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/ConditionConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/ValueswitchConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/CommentConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/RecordConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/StatusConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/ToneinputConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/WorkingtimeConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/SenddigitsConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/AbtestConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/DateinputConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/TimepickerConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/PonytrackConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/NumberinputConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/CalllistConfigurator.js","webpack:///./app/javascript/components/scenario/configurators/NluConfigurator.js","webpack:///./app/javascript/components/scenario/Configurator.js","webpack:///./app/javascript/components/OnUnload.js","webpack:///./app/javascript/components/scenario/Scenario.js","webpack:///./app/javascript/containers/ScenarioContainer.jsx","webpack:///./app/javascript/utils/formatInterval.js","webpack:///./app/javascript/components/add_task/AddTask.js","webpack:///./app/javascript/containers/AddTaskContainer.jsx","webpack:///./app/javascript/components/call_list/TaskPreview.js","webpack:///./app/javascript/components/call_list/Tasks.js","webpack:///./app/javascript/components/call_list/Chart.js","webpack:///./app/javascript/components/call_list/CallList.js","webpack:///./app/javascript/containers/CallListContainer.jsx","webpack:///./app/javascript/components/new_call_list/NewCallList.js","webpack:///./app/javascript/containers/NewCallListContainer.jsx","webpack:///./app/javascript/components/phone_number_verificator/PhoneNumberVerificator.js","webpack:///./app/javascript/containers/PhoneNumberVerificatorContainer.jsx","webpack:///./app/javascript/components/phone_numbers/PhoneNumbers.js","webpack:///./app/javascript/containers/PhoneNumbersContainer.jsx","webpack:///./app/javascript/components/calls_chart/CallsChart.js","webpack:///./app/javascript/containers/CallsChartContainer.jsx","webpack:///./app/javascript/components/calls/Actions.js","webpack:///./app/javascript/components/calls/CallPreview.js","webpack:///./app/javascript/components/calls/List.js","webpack:///./app/javascript/components/calls/Calls.js","webpack:///./app/javascript/containers/CallsContainer.jsx","webpack:///./app/javascript/components/operator/phone/ACDStatus.js","webpack:///./app/javascript/components/operator/phone/OfflinePhone.js","webpack:///./app/javascript/components/operator/phone/OnlinePhone.js","webpack:///./app/javascript/components/operator/phone/OutcomingPhone.js","webpack:///./app/javascript/components/operator/phone/IncomingPhone.js","webpack:///./app/javascript/components/operator/phone/Phone.js","webpack:///./app/javascript/components/contacts/Contacts.js","webpack:///./app/javascript/containers/ContactsContainer.jsx","webpack:///./app/javascript/components/contact_activities/Activity.js","webpack:///./app/javascript/components/contact_activities/ContactActivities.js","webpack:///./app/javascript/containers/ContactActivitiesContainer.jsx","webpack:///./app/javascript/components/operator/Operator.js","webpack:///./app/javascript/containers/OperatorContainer.jsx","webpack:///./app/javascript/components/dashboard/Dashboard.js","webpack:///./app/javascript/containers/DashboardContainer.jsx","webpack:///./app/javascript/components/integrations/Integrations.js","webpack:///./app/javascript/containers/IntegrationsContainer.jsx","webpack:///./app/javascript/components/operators/OperatorPreview.js","webpack:///./app/javascript/components/add_operator/AddOperator.js","webpack:///./app/javascript/containers/AddOperatorContainer.jsx","webpack:///./app/javascript/components/operators/Actions.js","webpack:///./app/javascript/components/operators/Operators.js","webpack:///./app/javascript/containers/OperatorsContainer.jsx","webpack:///./app/javascript/components/acd_queues/AcdQueuePreview.js","webpack:///./app/javascript/components/add_acd_queue/AddAcdQueue.js","webpack:///./app/javascript/containers/AddAcdQueueContainer.jsx","webpack:///./app/javascript/components/acd_queues/Actions.js","webpack:///./app/javascript/components/acd_queues/AcdQueues.js","webpack:///./app/javascript/containers/AcdQueuesContainer.jsx","webpack:///./app/javascript/App.js","webpack:///./app/javascript/packs/web_app.jsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","factory","_typeof","iterator","obj","constructor","hookCallback","some","hooks","apply","arguments","isArray","input","Array","toString","isObject","isUndefined","isNumber","isDate","Date","map","arr","fn","res","length","push","hasOwnProp","a","b","extend","valueOf","createUTC","format","locale","strict","createLocalOrUTC","utc","getParsingFlags","_pf","empty","unusedTokens","unusedInput","overflow","charsLeftOver","nullInput","invalidMonth","invalidFormat","userInvalidated","iso","parsedDateParts","meridiem","rfc2822","weekdayMismatch","isValid","_isValid","flags","parsedParts","isNowValid","isNaN","_d","getTime","invalidWeekday","_strict","undefined","bigHour","isFrozen","createInvalid","NaN","fun","this","len","momentProperties","copyConfig","to","from","prop","val","_isAMomentObject","_i","_f","_l","_tzm","_isUTC","_offset","_locale","updateInProgress","Moment","config","updateOffset","isMoment","absFloor","number","Math","ceil","floor","toInt","argumentForCoercion","coercedNumber","isFinite","compareArrays","array1","array2","dontConvert","min","lengthDiff","abs","diffs","warn","msg","suppressDeprecationWarnings","console","deprecate","firstTime","deprecationHandler","arg","args","slice","join","Error","stack","keys","deprecations","deprecateSimple","isFunction","Function","mergeConfigs","parentConfig","childConfig","Locale","set","aliases","addUnitAlias","unit","shorthand","lowerCase","toLowerCase","normalizeUnits","units","normalizeObjectUnits","inputObject","normalizedProp","normalizedInput","priorities","addUnitPriority","priority","zeroFill","targetLength","forceSign","absNumber","zerosToFill","pow","max","substr","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","token","padded","ordinal","callback","func","localeData","formatMoment","expandFormat","array","match","replace","mom","output","makeFormatFunction","invalidDate","replaceLongDateFormatTokens","longDateFormat","lastIndex","test","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchWord","regexes","addRegexToken","regex","strictRegex","isStrict","getParseRegexForToken","RegExp","regexEscape","matched","p1","p2","p3","p4","tokens","addParseToken","addWeekParseToken","_w","addTimeToArrayFromToken","_a","daysInYear","year","isLeapYear","y","parseTwoDigitYear","parseInt","indexOf","getSetYear","makeGetSet","keepTime","set$1","month","date","daysInMonth","x","modMonth","monthsShort","months","monthsShortRegex","monthsRegex","monthsParse","MONTHS_IN_FORMAT","defaultLocaleMonths","split","defaultLocaleMonthsShort","handleStrictParse","monthName","ii","llc","toLocaleLowerCase","_monthsParse","_longMonthsParse","_shortMonthsParse","setMonth","dayOfMonth","getSetMonth","defaultMonthsShortRegex","defaultMonthsRegex","computeMonthsParse","cmpLenRev","shortPieces","longPieces","mixedPieces","sort","_monthsRegex","_monthsShortRegex","_monthsStrictRegex","_monthsShortStrictRegex","createDate","h","M","ms","getFullYear","setFullYear","createUTCDate","UTC","getUTCFullYear","setUTCFullYear","firstWeekOffset","dow","doy","fwd","getUTCDay","dayOfYearFromWeeks","week","weekday","resYear","resDayOfYear","dayOfYear","weekOfYear","resWeek","weekOffset","weeksInYear","weekOffsetNext","shiftWeekdays","ws","concat","weekdaysMin","weekdaysShort","weekdays","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","weekdaysParse","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","handleStrictParse$1","weekdayName","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","day","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","computeWeekdaysParse","minp","shortp","longp","minPieces","_weekdaysRegex","_weekdaysShortRegex","_weekdaysMinRegex","_weekdaysStrictRegex","_weekdaysShortStrictRegex","_weekdaysMinStrictRegex","hFormat","hours","lowercase","minutes","matchMeridiem","_meridiemParse","seconds","kInput","_isPm","isPM","_meridiem","pos","pos1","pos2","globalLocale","getSetHour","baseConfig","calendar","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","LTS","LT","L","LL","LLL","LLLL","dayOfMonthOrdinalParse","relativeTime","future","past","ss","mm","hh","dd","MM","yy","meridiemParse","locales","localeFamilies","normalizeLocale","loadLocale","oldLocale","_abbr","getSetGlobalLocale","e","values","data","getLocale","defineLocale","abbr","_config","parentLocale","forEach","names","j","next","chooseLocale","checkOverflow","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","defaults","configFromArray","currentDate","expectedWeekday","yearToUse","nowValue","now","_useUTC","getUTCMonth","getUTCDate","getMonth","getDate","currentDateArray","w","weekYear","temp","weekdayOverflow","GG","W","E","createLocal","_week","curWeek","gg","_dayOfYear","dayOfYearFromWeekInfo","_nextDay","getDay","setUTCMinutes","getUTCMinutes","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","configFromISO","allowTime","dateFormat","timeFormat","tzFormat","string","exec","configFromStringAndFormat","untruncateYear","yearStr","obsOffsets","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","configFromRFC2822","monthStr","dayStr","hourStr","minuteStr","secondStr","result","parsedArray","weekdayStr","parsedInput","checkWeekday","obsOffset","militaryOffset","numOffset","hm","calculateOffset","ISO_8601","RFC_2822","skipped","stringLength","totalParsedInputLength","hour","isPm","meridiemHour","meridiemFixWrap","prepareConfig","preparse","tempConfig","bestMoment","scoreToBeat","currentScore","score","configFromStringAndArray","createFromInputFallback","configFromString","minute","second","millisecond","configFromObject","configFromInput","isUTC","getOwnPropertyNames","k","isObjectEmpty","add","prototypeMin","other","prototypeMax","pickBy","moments","ordering","Duration","duration","years","quarters","quarter","weeks","isoWeek","days","milliseconds","unitHasDecimal","parseFloat","isDurationValid","_milliseconds","_days","_months","_data","_bubble","isDuration","absRound","round","offset","separator","utcOffset","sign","offsetFromString","chunkOffset","matcher","matches","parts","cloneWithOffset","model","diff","clone","setTime","local","getDateOffset","getTimezoneOffset","isUtc","aspNetRegex","isoRegex","createDuration","ret","diffRes","base","parseIso","isBefore","positiveMomentsDifference","inp","isAfter","createAdder","direction","period","tmp","addSubtract","isAdding","invalid","subtract","monthDiff","wholeMonthDiff","anchor","newLocaleData","defaultFormat","defaultFormatUtc","lang","MS_PER_SECOND","MS_PER_MINUTE","MS_PER_HOUR","MS_PER_400_YEARS","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","addWeekYearFormatToken","getSetWeekYearHelper","weeksTarget","setWeekAll","dayOfYearData","isoWeekYear","_dayOfMonthOrdinalParse","_ordinalParse","_dayOfMonthOrdinalParseLenient","getSetDayOfMonth","getSetMinute","getSetSecond","parseMs","getSetMillisecond","proto","preParsePostFormat","time","formats","sod","startOf","calendarFormat","asFloat","that","zoneDelta","endOf","startOfDate","isoWeekday","inputString","postformat","withoutSuffix","humanize","fromNow","toNow","invalidAt","localInput","isBetween","inclusivity","localFrom","localTo","isSame","inputMs","isSameOrAfter","isSameOrBefore","parsingFlags","prioritized","unitsObj","u","getPrioritizedUnits","toArray","toObject","toDate","toISOString","keepOffset","inspect","zone","isLocal","prefix","suffix","toJSON","unix","creationData","isoWeeks","weekInfo","isoWeeksInYear","parseWeekday","parseIsoWeekday","keepLocalTime","keepMinutes","localAdjust","_changeInProgress","parseZone","tZone","hasAlignedHourOffset","isDST","isUtcOffset","zoneAbbr","zoneName","dates","isDSTShifted","_isDSTShifted","proto$1","get$1","index","field","setter","listMonthsImpl","out","listWeekdaysImpl","localeSorted","shift","_calendar","_longDateFormat","formatUpper","toUpperCase","_invalidDate","_ordinal","isFuture","_relativeTime","pastFuture","source","isFormat","_monthsShort","_monthsParseExact","firstDayOfYear","firstDayOfWeek","_weekdays","_weekdaysMin","_weekdaysShort","_weekdaysParseExact","_fullWeekdaysParse","charAt","isLower","langData","mathAbs","addSubtract$1","absCeil","daysToMonths","monthsToDays","makeAs","alias","as","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","makeGetter","thresholds","substituteTimeAgo","abs$1","toISOString$1","Y","D","toFixed","total","totalSign","ymSign","daysSign","hmsSign","proto$2","monthsFromDays","withSuffix","posNegDuration","relativeTime$1","toIsoString","version","updateLocale","tmpLocale","relativeTimeRounding","roundingFunction","relativeTimeThreshold","threshold","limit","myMoment","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","DATE","TIME","TIME_SECONDS","TIME_MS","WEEK","MONTH","f","String","z","Number","Q","$","v","g","pl","$L","$u","$offset","parse","$d","init","$y","$M","$D","$W","$H","getHours","$m","getMinutes","$s","getSeconds","$ms","getMilliseconds","$utils","$g","$locale","weekStart","$set","YY","YYYY","MMM","MMMM","DD","ddd","dddd","H","HH","A","SSS","Z","toUTCString","isDayjs","en","Ls","VoxImplant","configurable","default","writable","TypeError","NONE","ERROR","WARNING","INFO","TRACE","LogLevel","SIGNALING","RTC","USERMEDIA","CALL","CALLEXP2P","CALLEXSERVER","CALLMANAGER","CLIENT","AUTHENTICATOR","PCFACTORY","UTILS","ORTC","MESSAGING","REINVITEQ","HARDWARE","ENDPOINT","EVENTTARGET","LogCategory","DISCONNECTED","CONNECTING","CONNECTED","LOGGING_IN","LOGGED_IN","ClientState","category","label","provider","writeMessage","log","Logger","timeOriginGap","isFirstPrint","levels","showTrace","_shadowLogging","_shadowLog","_outerCallback","prettyPrint","traceTick","logTick","performance","JSON","stringify","debug","info","error","shadowLogging","formattedText","level","message","inst","_traceName","settings","id","LogManager","getOwnPropertyDescriptor","getPrototypeOf","Reflect","decorate","C","S","_","R","T","ReferenceError","__proto__","_connected","progressToneScript","US","RU","playingNow","serversList","micRequired","videoConstraints","progressToneCountry","progressTone","enableTrace","showDebugInfo","showWarnings","RTCsupported","_deviceEnumAPI","_h264first","_VP8first","depLastDevices","ai","ao","vi","_alreadyInitialized","instance","_promises","PCFactory","requireMedia","voxSignaling","VoxSignaling","voxCallManager","CallManager","setLogLevelAll","setRPCHandler","RemoteEvent","onPCStats","getPeerConnect","dispatchEvent","stats","logger","createLogger","_defaultSinkId","loginState","setPrototypeOf","playToneScript","stopPlayback","Events","IncomingCall","calls","headers","video","Promise","alreadyInitialized","serverIp","videoContainerId","remoteVideoContainerId","localVideoContainerId","videoSupport","H264first","VP8first","rtcStatsCollectionInterval","getInstance","experiments","rtcStatsInquiryInterval","protocolVersion","_callProtocolVersion","setProtocolVersion","callstatsIoParams","CallstatsIo","setPrettyPrint","CameraManager","legacyParamConverter","setDefaultVideoSettings","getInputDevices","then","AudioDeviceManager","getOutputDevices","window","location","hostname","protocol","warning","ignorewebrtc","webkitRTCPeerConnection","mozRTCPeerConnection","RTCPeerConnection","RTCIceGatherer","iceServers","href","voxAuth","Authenticator","setHandler","onLoginSuccessful","AuthResult","displayName","_resolvePromise","onLoginFailed","code","_rejectPromise","onSecondStageInitiated","onOneTimeKeyGenerated","onRefreshTokenFailed","RefreshTokenResult","onRefreshTokenSuccess","addHandler","setInterval","document","clearInterval","SDKReady","sipRegisterSuccessful","sipuri","onACDStatus","cleverACD","onStatusUpdated","ACDStatusUpdated","status","sipRegisterFailed","reason","Utils","checkCA","customData","extraHeaders","sendVideo","receiveVideo","isConference","callConference","connectTo","catch","setTimeout","getServers","connect","resolve","reject","host","checkConnection","disconnect","StreamManager","clear","removeRPCHandler","onCallRemoteFunctionError","handleError","setStatus","OperatorACDStatuses","includes","callRemoteFunction","RemoteFunction","setOperatorACDStatus","getStatus","getOperatorACDStatus","off","on","receiveCalls","login","mediaServer","basicLogin","assign","serverPresenceControl","loginStage2","accessToken","tokenLogin","tokenRefresh","loginkey","generateOneTimeKey","loginUsingOneTimeKey","showLocalVideo","hideLocalVideo","setVideoSettings","setBandwidthParams","setDesiredVideoBandwidth","PlaybackFinished","setAllCallsVolume","getDefaultAudioSettings","setDefaultAudioSettings","inputId","useAudioSource","getDefaultVideoSettings","cameraId","useVideoSource","getWSVendor","setActive","transferCall","setLogLevel","ConnectionEstablished","ConnectionClosed","stopProgressTone","event","removeCall","screenSharingSupported","ZingayaAPI","PushService","register","unregister","incomingPush","clearSilentLog","getSLog","setLoggerCallback","currentState","VoxSignalingState","WSCONNECTED","CLOSING","IDLE","EventTarget","d_trace","Client","ver","handlers","rpcHandlers","pingTimer","pongTimer","manualDisconnect","platform","referrer","extra","closing","writeLog","_opLog","connectionSuccessful","onConnectionSuccessfulRPC","connectionFailed","onConnectionFailedRPC","createConnection","onclose","close","onWSClosed","closeAll","clearTimeout","onSignalingConnected","onerror","onMediaConnectionFailed","WebSocket","onopen","onWSConnected","onWSError","onmessage","onWSData","ping","trace","params","send","service","onWSMessData","onWSVoipData","MsgSignaling","handleWsData","cleanup","onSignalingClosed","onSignalingConnectionFailed","doPing","PING_DELAY","pong","pongReceived","increaseGain","numCalls","PONG_DELAY","loginGenerateOneTimeKey","rejectCall","disconnectCall","sendDTMF","sendSIPInfo","hold","unhold","acceptCall","createCall","muteLocal","reInvite","acceptReInvite","rejectReInvite","confirmPC","addCandidate","refreshOauthToken","zPromptFinished","zStartPreFlightCheck","registerPushToken","unregisterPushToken","pushFeedback","refreshIceConfig","DevicesUpdated","MediaRendererAdded","MediaRendererRemoved","BeforeMediaRendererRemoved","HardwareEvents","VIDEO_QUALITY_HIGH","VIDEO_QUALITY_LOW","VIDEO_QUALITY_MEDIUM","VIDEO_SIZE_QQVGA","VIDEO_SIZE_QCIF","VIDEO_SIZE_QVGA","VIDEO_SIZE_CIF","VIDEO_SIZE_nHD","VIDEO_SIZE_VGA","VIDEO_SIZE_SVGA","VIDEO_SIZE_HD","VIDEO_SIZE_UXGA","VIDEO_SIZE_FHD","VIDEO_SIZE_UHD","VideoQuality","IOSCacheManager","Hardware","Connected","Disconnected","Failed","ProgressToneStart","ProgressToneStop","MessageReceived","InfoReceived","TransferComplete","TransferFailed","ICETimeout","RTCStatsReceived","CallStatsReceived","MediaElementCreated","MediaElementRemoved","ICECompleted","Updated","PendingUpdate","UpdateFailed","LocalVideoStreamAdded","EndpointAdded","StateUpdated","ActiveUpdated","QualityIssueCodecMismatch","QualityIssueHighMediaLatency","QualityIssueICEDisconnected","QualityIssueLocalVideoDegradation","QualityIssueLowBandwidth","QualityIssueNoAudioSignal","QualityIssuePacketLoss","CallEvents","_calls","callStats","CallStatsManager","handleIncomingConnection","onICEConfig","onICEResult","onICEConfigFailed","handleConnectionConnected","handleConnectionDisconnected","handleRingOut","stopRinging","handleConnectionFailed","handleSIPInfo","handleSipEvent","handleTransferStarted","handleTransferComplete","handleTransferFailed","handleReInvite","handleInReinvite","handleAcceptReinvite","handleReinvite","handleRejectReinvite","startEarlyMedia","wiredLocal","wiredRemote","forceActive","extraParams","mixObjectToLeft","addCustomDataToHeaders","generateUUID","getCallInstance","isModuleEnabled","Constants","CALLSTATSIOID_HEADER","rearangeCodecs","CodecSorterHelpers","H264Sorter","active","setActiveForce","DIRECT_CALL_HEADER","setupDirectPC","PeerConnectionMode","P2P","peerConnection","peerConnections","tracks","getTrackKind","sdp","H264ConfSorter","CONFERENCE","findCall","onFailed","hangup","stateValue","CallState","state","deleteCall","EndpointManager","setCallVolume","setCallVideoSettings","getCallVideoSettings","updateCallStream","setCallAudioSettings","getCallAudioSettings","SDPMuggle","detectDirections","type","onIncomingCall","isSDPHasVideo","incomeDirectPC","CallExMedia","CallExServer","addCall","registerCall","playProgressTone","onRingOut","canStartSendingCandidates","signalingConnected","onConnected","processRemoteAnswer","setConfiguration","getConfiguration","hasEarlyMedia","onDisconnected","onInfo","onStopRinging","onTransferComplete","onTransferFailed","setEndpointDescription","runIncomingReInvite","_numCalls","substring","CALL_DATA_HEADER","ideal","navigator","mediaDevices","getUserMedia","SignalingDTMFSender","audioEnabled","audioInputId","videoEnabled","videoSettings","videoInputId","peerIdentity","audio","mozGetUserMedia","Firefox","webkitGetUserMedia","Webkit","userAgent","Edge","Safari","getParser","peerConnectionFactory","WebRTCPC","getBrowserVersion","TransreceiverPC","isIphone","emulate_ios","isScreenSharingSupported","getDTMFSender","attachMedia","FF","attachStream","detachMedia","detachStream","getScreenMedia","getRTCStats","composeConstraints","iceConfig","_peerConnections","waitingPeerConnections","_requireMedia","hasTransceivers","createPC","rpcHandlerCreatePC","destroyPC","rpcHandlerDestroyPC","setHoldKey","getCallStream","fastAddCustomMedia","getLocalOffer","_setRemoteDescription","_bandwidthParams","addSetupAttribute","sdpOffersVideo","CLIENT_SERVER_V1","processRemoteOffer","checkCallMode","CallMode","SERVER","cleanHeaders","disableLog","disableWarnings","deprecated","extractVersion","detectBrowser","browser","shimCreateObjectURL","VIAMEDIA_CALL_HEADER","ZINGAYA_IM_MIME_TYPE","P2P_SPD_FRAG_MIME_TYPE","VI_HOLD_EMUL","VI_SPD_OFFER_MIME_TYPE","VI_SPD_ANSWER_MIME_TYPE","VI_CONF_PARTICIPANT_INFO_ADDED","VI_CONF_PARTICIPANT_INFO_REMOVED","VI_CONF_PARTICIPANT_INFO_UPDATED","IN_PROGRESS","AuthenticatorState","FAIL_CODE_SECOND_STAGE","FAIL_CODE_ONE_TIME_KEY","_displayName","_username","_authorized","signaling","loginFailed","loginSuccessful","onLoginSuccesful","refreshOauthTokenFailed","handler","refreshOauthTokenSuccessful","OAuth","setConnectionId","connectionId","userName","aliasName","refreshToken","deviceToken","ALERTING","PROGRESSING","UPDATING","ENDED","remoteMuteState","usedSinkId","incoming","audioDirections","sendAudio","videoDirections","_callManager","old","new","muteIncomingStreams","getEndpoints","mediaRenderers","stream","getTracks","enabled","_peerConnection","setVideoFlags","setVolume","muteMicrophone","element","style","display","sendInfo","getVideoTracks","_setState","checkState","startTime","stopSharingScreen","text","addRemoteCandidate","endpointInfoUpdated","body","mimeType","_setActive","hasLocalVideo","enableVideo","hdnFRS","sendMedia","hasLocalAudio","_getScreenSharing","_newScreenSharing","renderer","kind","videoStream","addCustomMedia","_clearScreenSharing","removeCustomMedia","remoteStreams","getAudioTracks","MediaStream","useAudioOutput","getDirections","_hdnFRS","_hdnFRSPrep","hdnFRSPrep","restoreMute","restoreVideoSending","_promise","Call","handlePreFlightCheckResult","handleVoicemail","ConnectionFailed","MicAccessResult","SourcesInfoUpdated","NetStatsReceived","SIPRegistrationSuccessful","SIPRegistrationFailed","ACDError","_ETonTo","_EToffTo","eventListeners","listener","options","_triggered","_namespace","capture","unshift","splice","filter","once","validLine","RTCSessionDescription","pop","xas","tias","multiplex","screen","unbundled","CallstatsIoFabricUsage","fabricHold","fabricResume","audioMute","audioUnmute","videoPause","videoResume","fabricTerminated","screenShareStart","screenShareStop","dominantSpeaker","activeDeviceList","CallstatsIoFabricEvent","createOffer","createAnswer","setLocalDescription","setRemoteDescription","addIceCandidate","iceConnectionFailure","signalingError","applicationLog","CallstatsioWrtcFuncNames","_params","inited","pendingFabric","callstats","io","moduleEnabled","initialize","AppID","AppSecret","addNewFabric","pc","remoteUser","fabricUsage","callID","packParams","disableBeforeUnloadHandler","applicationVersion","sendFabricEvent","reportError","query","updateQuery","sendRaw","payload","request_uuid","MsgEvent","dispatchMsgEvent","MsgService","Chat","isRead","typingMessage","subscribe","unsubscribe","addParticipants","editParticipants","manageNotification","getPublicConversations","retransmitEvents","capitalize","Messenger","Conversation","Message","UNKNOWN","createConversation","editConversation","removeConversation","joinConversation","leaveConversation","getConversation","getConversations","searchConversations","removeEmptyConversation","removeParticipants","getUser","getUsers","editUser","sendMessage","editMessage","removeMessage","getSubscriptionList","createBot","removeBot","MessengerAction","CreateConversation","EditConversation","RemoveConversation","GetConversation","GetPublicConversations","SendMessage","EditMessage","RemoveMessage","Typing","EditUser","GetUser","RetransmitEvents","Read","Subscribe","Unsubscribe","SetStatus","GetSubscriptionList","CreateBot","RemoveBot","MessengerEvents","Error_0","Error_1","Error_2","Error_3","Error_8","Error_10","Error_11","Error_12","Error_13","Error_15","Error_16","Error_18","Error_19","Error_21","Error_22","Error_23","Error_24","Error_25","Error_26","Error_28","Error_30","Error_32","Error_33","Error_34","Error_35","Error_36","Error_37","Error_38","Error_39","Error_40","Error_41","Error_42","Error_43","Error_500","MessengerError","Messaging","frequencies","sections","frequency","decibels","freqScript","cadences","cadScript","AudioContext","webkitAudioContext","getAudioContext","toneScript","sampleRate","sin","createBufferSource","loop","destination","createBuffer","getChannelData","buffer","start","stop","fetch","_gri","_ha","random","connected","authorized","_id","sendKey","REMOTEOFFER","LOCALOFFER","ESTABLISHING","ESTABLISHED","CLOSED","PeerConnectionState","onHold","muteMicState","SEND_CANDIDATE_DELAY","mediaRepository","candidateList","localCandidateTimer","pendingCandidates","reInviteQ","ReInviteQ","_canReInvite","_processRemoteAnswer","_getLocalOffer","_getLocalAnswer","_processRemoteOffer","_close","_addRemoteCandidate","_handleReinvite","canSendCandidates","startCandidateSendTimer","_sendDTMF","_hold","_getDirections","_call","_getTracksKind","fx","restoreRMute","_addCustomMedia","_removeCustomMedia","_updateCustomMedia","candidateSendTimer","_remoteStreams","PeerConnection","TransceiversEndpointManager","PlainEndpointManager","onError","onCreateConversation","onEditConversation","onRemoveConversation","onGetConversation","onGetPublicConversations","onGetUser","onEditUser","onSetStatus","onSendMessage","onEditMessage","onRemoveMessage","onTyping","onSubscribe","onUnsubscribe","onGetSubscriptionList","onCreateBot","onRemoveBot","onRetransmitEvents","MESSAGING_ERR_1","awaitPromiseList","cm","signalling","addEventListener","_dispatchEvent","initiator","currentUserId","description","messengerAction","on_incoming_event","timestamp","requestUuid","user","userId","user_id","user_name","display_name","conversationsList","conversations_list","notificationEvents","notification_events","msgEventToMessengerEvent","custom_data","privateCustomData","private_custom_data","online","users","subscriptions","removeEventListener","expire","rejectTimeout","createFromCache","sendWsMessage","MsgAction","uuid","_registerPromise","extractUserName","username","getMe","all","notifications","_text","every","_payload","_uuid","conversation","_conversation","sender","_sender","getPayload","Offline","Online","Ready","InService","AfterService","Timeout","DND","_callStreams","_localMediaRenderers","_sharingStreams","customMirrorMedia","_mirrorStream","onended","onMirrorEnded","onmute","getStream","getCallConstraints","customCallMedia","audioSettings","_composeConstraints","onCallEnded","addTrack","remCallStream","updateCustomMedia","fastRemoveCustomMedia","_remCallStream","removeTrack","_mirrorMediaRendererId","getMirrorStream","MediaRenderer","remMirrorStream","customScreenMedia","onBeforeDestroy","readyState","InfoUpdated","Removed","RemoteMediaAdded","RemoteMediaRemoved","EndpointEvents","WeakMap","preferredVideoCodec","codecMismatch","audioLevel","Statistic","QualityIssueLevel","None","videoLevel","sharingLevel","audioChecks","videoChecks","sharingChecks","highMediaLatency","latencies","lastJitterBuffers","prevLevel","ICEDisconnected","localVideoDegradation","noAudioSignal","packetLoss","lastLost","lastTotal","checks","has","delete","checkCodecMismatch","checkMediaLatency","checkLocalVideoDegradation","checkPacketLoss","Critical","find","TrackType","sharing","trackIdentifier","trackId","codecId","bytesSent","MAX_STATS_CHECKS","sendCodec","Major","selected","nominated","reduce","jitterBufferDelay","delay","jitterBufferEmittedCount","emittedCount","currentRoundTripTime","Minor","latency","log1p","frameHeight","frameWidth","targetWidth","targetHeight","actualWidth","actualHeight","framesPerSecond","fps","lost","packetsLost","packetsReceived","CallStatsAnalyzer","_pcStatus","_q","_currentReinvite","runNext","str","getNewGUIDString","_backup","_participants","participants","_title","title","_direct","direct","_publicJoin","publicJoin","_uberConversation","uberConversation","_customData","_createdAt","createdAt","_lastUpdate","lastUpdate","_lastSeq","lastSeq","_prepareParticipants","enable_public_join","uber_conversation","isOwner","canRemoveAll","canEditAll","canManageParticipants","canRemove","canEdit","canWrite","_getUserPermissions","last_read","lastRead","sendTo","_debounceLock","seq","fill","events","events_from","events_to","count","MsgPermissions","is_owner","reverse","created_at","last_update","getSupportedConstraints","_supportedConstraints","__defaultParams","_lastAudioInputDevices","_lastAudioOutputDevices","_callParams","audioContext","enumerateDevices","deviceId","group","groupId","outputId","noiseSuppression","echoCancellation","disableAudio","_getAudioConstraints","autoGainControl","advanced","_lastCameraDevices","_validateCameraParams","_getVideoConstraints","facingMode","height","width","frameRate","videoQuality","_videoQualityToSize","_lastResolutionTestResult","_testResolutions","exact","placeOnDom","isRemoving","checkStreamActive","getElementById","createElement","autoplay","muted","setAttribute","renderDefault","render","preventRendering","parentElement","removeChild","parentNode","appendChild","play","onDestroy","volume","setSinkId","_endpointList","_trackListMap","_trackKindMap","_endpointInfo","_mediaRendererList","getDefaultEndPoint","place","sipUri","sipURI","endpoint","isDefault","Endpoint","addEndPoint","getMediaTypeTrack","mediaRenderer","getEndpointByTrack","addStreamToEndpoint","onunmute","addStream","done","return","endpoints","deleteEndpoint","AbstractEndpointManager","addDefaultEventListener","originalSDP","originalCodecList","media","descr","attr","codec","resortSection","codecs","fmt","order","fmtCount","Boolean","matchRtx","CodecSorter","none","can_write","can_edit","can_remove","can_manage_participants","can_edit_all","can_remove_all","_connectionId","_checkBeforeRun","newUUID","_acdRequests","timer","_checkConnectionId","_getActorByUUID","actor","actorIdx","strFormat","_getConnectonIdFromUUID","localCName","generateIdentifier","splitLines","trim","splitSections","getDescription","getMediaSections","matchPrefix","parseCandidate","foundation","component","ip","port","relatedAddress","relatedPort","tcpType","ufrag","usernameFragment","writeCandidate","parseIceOptions","parseRtpMap","payloadType","clockRate","channels","numChannels","writeRtpMap","preferredPayloadType","parseExtmap","uri","writeExtmap","preferredId","parseFmtp","writeFmtp","parameters","parseRtcpFb","parameter","writeRtcpFb","rtcpFeedback","parseSsrcMedia","ssrc","attribute","getMid","parseFingerprint","algorithm","getDtlsParameters","role","fingerprints","writeDtlsParameters","getIceParameters","password","writeIceParameters","parseRtpParameters","headerExtensions","fecMechanisms","rtcp","writeRtpDescription","maxptime","parseRtpEncodingParameters","apt","codecPayloadType","rtx","fec","mechanism","maxBitrate","parseRtcpParameters","cname","reducedSize","compound","mux","parseMsid","track","generateSessionId","writeSessionBoilerplate","writeMediaSection","iceGatherer","getLocalParameters","dtlsTransport","mid","rtpSender","rtpReceiver","sendEncodingParameters","getDirection","getKind","isRejected","parseMLine","parseOLine","sessionId","sessionVersion","netType","addressType","address","MESSAGING_ERR_2","resolveEvent","conversations","resolveMessageEvent","_createFromBus","updateSeq","_getCreatePayload","_revertChanges","_getEditPayload","toCache","getMessenger","srcObject","mozSrcObject","load","src","mediaSource","getStats","raw","formatted","prepareRTCStats","isRemote","framerateMean","encoderBitrate","bitrateMean","getSenders","dtmf","HTMLVideoElement","pause","createDTMFSender","getLocalStreams","getDisplayMedia","origin","postMessage","sourceId","mandatory","chromeMediaSource","maxWidth","maxHeight","chromeMediaSourceId","optional","googTemporalLayeredScreencast","offer","answer","pranswer","rollback","controlling","controlled","iceTimer","needTransportRestart","ICE_TIMEOUT","RENEGOTIATION_TIMEOUT","canDeliverStats","impl","iceConnectionState","_needIceRestart","gatherPolicy","bundlePolicy","unifiedPlan","sdpSemantics","_createImpl","googHighStartBitrate","googHighBitrate","googSkipEncodingUnusedStreams","googScreencastMinBitrate","googVeryHighBitrate","googCpuOveruseDetection","googCpuOveruseEncodeUsage","googCpuUnderuseThreshold","googCpuOveruseThreshold","getTransceivers","ontrack","onAddTrack","onaddtrack","onaddstream","onAddStream","onicecandidate","onICECandidate","candidate","oniceconnectionstatechange","renegotiationInProgress","_runReinvite","rtpSenders","onnegotiationneeded","onRenegotiation","onsignalingstatechange","onSignalingStateChange","onConnectionChange","iceRole","banReinviteAnswer","rtcCollectingCycle","getPCStats","signalingState","sendStatistics","checkICEConnection","connectionState","localDescription","getReceiveOptions","addBandwidthParams","removeTransportCC","removeDoublePT","addXAS","codecRearrange","srcLocalSDP","offerToReceiveAudio","offerToReceiveVideo","getRemoteStreams","sendLocalCandidateToPeer","sdpMLineIndex","_pendingOffer","notifyICETimeout","pendingEvent","remoteDescription","srcRemoteSDP","removeTIAS","_getLocalOfferFF","_getLocalOfferRegular","fixVideoRecieve","fixFFMIDBug","updateHoldState","_fixTransreceiver","pendingOffer","renegotiationTimer","removeStream","_localStream","RTCIceCandidate","currentDirection","receiver","getUserCodecList","setUserCodecList","getSDP","dtmfSender","insertDTMF","remote","getMediaActivity","mutted","shareScreenMedia","replaceTrack","iceRestart","removeTelephoneEvents","_cachedChecksum","_lastCameraParams","_lastAudioParams","_localMedia","getChecksumm","_callRendererList","fastDiffObjects","getRtrackId","_getEndpointByTrackId","findTrackByMid","getRemoteDescription","_getMediaTypeTrack","_answerHeaders","_answerPromise","getLocalAnswer","_fixFFSoundBug","findIndex","nextDeliveryTimer","jitterBuffer","prevStats","getCallStats","analyzeCallStats","localCandidateId","mediaType","bytesReceived","loss","getLoss","jitterBufferMs","availableOutgoingBitrate","localCandidateType","candidateType","networkType","remoteCandidateType","remoteCandidateId","rtt","totalBytesReceived","sumByProp","totalBytesSent","totalLoss","totalPacketsLost","totalPacketsReceived","totalPacketsSent","audioBytesReceived","audioBytesSent","audioLoss","audioPacketsLost","audioPacketsReceived","audioPacketsSent","videoBytesReceived","videoBytesSent","videoLoss","videoPacketsLost","videoPacketsReceived","videoPacketsSent","localAudioStats","packetsSent","Map","localVideoStats","targetBitrate","endpointStats","remoteAudioStats","remoteVideoStats","Chrome","BrowserMode","ALREADY_IN_THIS_STATE","FUNCTIONALITY_IS_DISABLED","INCORRECT_OPERATION","INTERNAL_ERROR","MEDIA_IS_ON_HOLD","REJECTED","TIMEOUT","CallError","attrCount","bandwCount","mediaCount","dummyLines","addAttr","addrType","addr","conn","printConnectionInfo","printBandwidthInfo","bandw","printAttrInfo","portCount","transport","parseAttr","addMediaAttribute","addSessionAttribute","parseOrigin","parseGenericLine","parseConnectionInfo","parseTime","parseMedia","parseVersion","parseBandwidthInfo","scannerError","chopLine","modifier","SDP_EINSDP","mediaTrackId","getVersionPrecision","_r","getResult","_r2","_ua","parsedResult","describe","getUA","parseBrowser","getBrowser","os","parseOS","getOS","parsePlatform","getPlatform","engine","parseEngine","getEngine","isOS","satisfies","isPlatform","isBrowser","compareVersion","getBrowserName","compareVersions","getOSName","getPlatformType","getEngineName","is","_r3","getFirstMatch","getSecondMatch","_r4","versionName","getWindowsVersionName","getAndroidVersionName","_r5","tablet","mobile","desktop","tv","vendor","getOSVersion","_r6","removeDoubleOpus","client","currentCall","onConnectionFailed","onConnectionEstablished","onCheckComplete","onCallFailed","onCallConnected","onCallRinging","onCallMediaStarted","onVoicemail","onNetStatsReceived","runLegacyCallback","ziAuthorized","lagacyConnectTo","bindCurrentCall","unmuteMicrophone","unbindCurrentCall","eval","shimChrome","shimFirefox","shimEdge","shimSafari","browserDetails","shimPeerConnection","browserShim","shimGetUserMedia","shimMediaStream","shimSourceObject","shimOnTrack","shimAddTrackRemoveTrack","shimGetSendersWithDtmf","shimRTCIceCandidate","shimRemoveStream","shimReplaceTrack","shimRTCIceServerUrls","shimCallbacksAPI","shimLocalStreamsAPI","shimRemoteStreamsAPI","shimTrackEventTransceiver","shimCreateOfferLegacy","webkitMediaStream","_ontrack","_ontrackpoly","getReceivers","Event","transceiver","streams","_t","_dtmf","_pc","_senders","RTCRtpSender","URL","HTMLMediaElement","_srcObject","revokeObjectURL","createObjectURL","_reverseStreams","_streams","DOMException","urls","url","generateCertificate","iceTransportPolicy","iceTransports","localcandidate","remotecandidate","stat","PermissionDeniedError","InvalidStateError","DevicesNotFoundError","ConstraintNotSatisfiedError","TrackStartError","MediaDeviceFailedDueToShutdown","MediaDeviceKillSwitchOn","constraint","constraintName","MediaStreamTrack","getSources","RTCDtmfSender","setTrack","_initialTrackId","getRemoteCandidates","NotSupportedError","InvalidAccessError","OperationError","MediaStreamTrackEvent","createDocumentFragment","canTrickleIceCandidates","needNegotiation","localStreams","iceGatheringState","usingBundle","rtcpMuxPolicy","_iceGatherers","iceCandidatePoolSize","transceivers","_sdpSessionId","_sdpSessionVersion","_dtlsRole","_isClosed","onremovestream","onconnectionstatechange","onicegatheringstatechange","ondatachannel","_emitGatheringStateChange","_createTransceiver","iceTransport","localCapabilities","remoteCapabilities","recvEncodingParameters","associatedRemoteMediaStreams","wantReceive","_createIceAndDtlsTransports","_maybeFireNegotiationNeeded","_createIceGatherer","bufferedCandidateEvents","bufferCandidates","_gather","onlocalcandidate","sdpMid","RTCIceTransport","onicestatechange","_updateIceConnectionState","_updateConnectionState","RTCDtlsTransport","ondtlsstatechange","_disposeIceAndDtlsTransports","_transceive","encodings","rtcpParameters","receive","rejected","_updateSignalingState","I","P","O","N","setTransport","setRemoteCandidates","RTCRtpReceiver","getCapabilities","F","closed","checking","completed","disconnected","failed","connecting","getLocalCandidates","inboundrtp","outboundrtp","candidatepair","RTCTrackEvent","credential","mozRTCSessionDescription","mozRTCIceCandidate","InternalError","SecurityError","require","getSettings","applyConstraints","_localStreams","getStreamById","_onaddstream","_onaddstreampoly","RTCTransceiver","setDirection","addTransceiver","_eventMap","_get","target","_superPropBase","desc","_getPrototypeOf","_classCallCheck","Constructor","_defineProperties","props","descriptor","_createClass","protoProps","staticProps","_inherits","subClass","superClass","_setPrototypeOf","_createSuper","Derived","hasNativeReflectConstruct","construct","sham","Proxy","_isNativeReflectConstruct","Super","NewTarget","_possibleConstructorReturn","self","_assertThisInitialized","BaseWidget","_s$Component","_class","_super","_this","className","baseClass","extraProps","getClassName","Component","TESTING","TESTING_UID","closest","_o","moveto","ROUTING_SCALING_FACTOR","lineto","print","Toolkit","BaseModel","_s$BaseEntity","_class2","_super2","_this2","parent","isSelected","merge","iterateListeners","selectionChanged","entityRemoved","BaseEntity","PointModel","_s$BaseModel","_class3","_super3","_this3","isConnectedToPort","getPortForPoint","getParent","removePoint","isLocked","NodeModel","_s$BaseModel2","_class4","_super4","_this4","extras","ports","getLinks","getPointForPort","positionChanged","_this5","getPortFactory","getNewInstance","deSerialize","addPort","serialize","remove","setParent","_ref","AbstractFactory","_class5","JumpPointFinder","heuristic","Heuristic","manhattan","diagonalMovement","DiagonalMovement","Never","_class6","diagramEngine","getCanvasMatrix","Grid","findPath","translateRoutingX","translateRoutingY","end","pathToStart","pathToEnd","_this6","Util","compressPath","_class7","listeners","UID","locked","clearListeners","doClone","firing","entity","stopPropagation","lockChanged","PortModel","_s$BaseModel3","_class8","_super5","_this7","links","maximumLinks","getID","size","_ref2","BaseAction","_class9","mouseX","mouseY","LinkModel","_s$BaseModel4","_class10","_super6","_this8","points","sourcePort","targetPort","labels","_this9","getLabelFactory","addLabel","setTargetPort","getNode","getPortFromID","setSourcePort","setPoints","getPoints","removeLink","getPointIndex","getFirstPoint","getLastPoint","addLink","sourcePortChanged","targetPortChanged","addPoint","generatePoint","_this10","_n$PortModel","_super7","_this11","in","createLinkModel","DefaultLinkModel","DefaultPortModel","_s$LinkModel","_class11","_super8","_this12","color","curvyness","LabelModel","DefaultLabelModel","setLabel","widthChanged","colorChanged","_s$LabelModel","_class12","_super9","_this13","offsetY","_s$BaseModel5","_class13","_super10","_this14","offsetX","DiagramModel","_s$BaseEntity2","_class14","_super11","_this15","nodes","zoom","rendered","gridSize","gridUpdated","_this16","getNodeFactory","addNode","getLinkFactory","getSelectedItems","setSelected","_len","_key","flatMap","getSelectedEntities","uniq","zoomUpdated","offsetUpdated","_this17","_this18","_this19","_len2","_key2","_this20","addListener","linksUpdated","link","isCreated","_this21","removeNode","nodesUpdated","node","getLink","DefaultPortFactory","_n$AbstractPortFactor","_class15","_super12","AbstractPortFactory","_s$AbstractFactory","_class16","_super13","DefaultLabelFactory","_n$AbstractLabelFacto","_class17","_super14","DefaultLabelWidget","AbstractLabelFactory","_s$AbstractFactory2","_class18","_super15","_n$BaseWidget","_class19","_super16","getProps","DefaultNodeModel","_r$NodeModel","_class20","_super17","_this22","_l$BaseWidget","_super18","_this23","addPointToLink","shiftKey","isModelLocked","getMaxNumberPointsPerLink","getRelativeMousePoint","forceUpdate","pointAdded","findPathAndRelativePositionToRenderLabel","refPaths","getTotalLength","path","position","calculateLabelPosition","refLabels","_this23$findPathAndRe","offsetWidth","offsetHeight","getPointAtLength","isSmartRoutingEnabled","pathFinding","_this24","requestAnimationFrame","calculateAllLabelPosition","_this25","cx","cy","bem","onMouseLeave","setState","onMouseEnter","opacity","_this26","canvas","ref","getFactoryForLabel","generateReactWidget","_this27","cloneElement","getFactoryForLink","generateLinkSegment","strokeLinecap","strokeOpacity","strokeWidth","onContextMenu","preventDefault","_this$props","_this28","nodesRendered","isSmartRoutingApplicable","_s","calculateDirectPath","first","last","_n","getRoutingMatrix","_o2","calculateLinkStartEndCoords","_e","_s2","calculateDynamicPath","generateLink","generateDynamicPath","onMouseDown","generateCurvePath","_loop","_e2","generateLinePath","generateLabel","defaultProps","smooth","DefaultLinkWidget","AbstractLinkFactory","_s$AbstractFactory3","_class21","_super19","DefaultNodeWidget","_o$BaseWidget","_class22","_super20","_this29","DefaultPortLabel","background","getInPorts","generatePort","getOutPorts","_r$BaseWidget","_class23","_super21","PortWidget","_n$BaseWidget2","_class24","_super22","_this30","_this31","AbstractNodeFactory","_s$AbstractFactory4","_class25","_super23","MoveCanvasAction","_s$BaseAction","_class26","_super24","_this32","initialOffsetX","getOffsetX","initialOffsetY","getOffsetY","MoveItemsAction","_s$BaseAction2","_class27","_super25","_this33","moved","enableRepaintEntities","getDiagramModel","selectionModels","initialX","initialY","SelectingAction","_s$BaseAction3","_class28","_super26","_this34","mouseX2","mouseY2","left","top","right","bottom","getZoomLevel","getBoxDimensions","LinkLayerWidget","_o$BaseWidget2","_class29","_super27","_this35","_this36","transform","linksThatHaveInitiallyRendered","_t2","getPortCenter","updateLocation","_i2","getPortCoords","updateCoords","_t3","_i3","generateWidgetForLink","getType","LinkWidget","_s$BaseWidget","_class30","_super28","_this37","canEntityRepaint","children","NodeLayerWidget","_o$BaseWidget3","_class31","_super29","_this38","updateNodeDimensions","_e3","getNodes","updateDimensions","getNodeDimensions","_this39","NodeWidget","generateWidgetForNode","_n$BaseWidget3","_class32","_super30","_this40","DiagramEngine","_s$BaseEntity3","_class33","_super31","_this41","canvasMatrix","routingMatrix","hAdjustmentFactor","vAdjustmentFactor","calculateMatrixDimensions","diagramModel","minBy","maxBy","markNodes","_t4","_i4","markMatrixPoint","markPorts","_t5","_i5","nodeFactories","linkFactories","portFactories","labelFactories","paintableWidgets","diagram_instance","registerNodeFactory","DefaultNodeFactory","registerLinkFactory","DefaultLinkFactory","registerPortFactory","registerLabelFactory","repaintCanvas","_this42","getPorts","recalculatePortsVisually","labelFactoriesUpdated","portFactoriesUpdated","nodeFactoriesUpdated","linkFactoriesUpdated","getFactoryForNode","getRelativePoint","clientX","clientY","getBoundingClientRect","querySelector","getName","getNodePortElement","getNodeElement","maxNumberPointsPerLink","smartRouting","calculateCanvasMatrix","_this$calculateMatrix","range","calculateRoutingMatrix","cloneDeep","clientWidth","scrollWidth","clientHeight","scrollHeight","setZoomLevel","setOffset","_r$AbstractLinkFactor","_class34","_super32","stroke","_o$AbstractNodeFactor","_class35","_super33","_p$BaseWidget","_super34","_this43","onKeyUpPointer","onMouseMove","onMouseUp","action","wasMoved","renderedNodes","windowListener","diagramEngineListener","removeListener","setCanvas","_this44","_t6","_this45","onKeyUp","focus","getAttribute","getPort","getPointModel","actionStillFiring","actionStoppedFiring","actionStartedFiring","_this46","containsElement","fireAction","_s3","_o3","getGridPosition","allowCanvasTranslation","_this47","deleteKeys","keyCode","_this48","getMouseElement","_s4","getTargetPort","getSourcePort","_n2","removePointsBefore","removePointsAfter","allowLooseLinks","canLinkToPort","clearRepaintEntities","stopFiringAction","_this49","setMaxNumberPointsPerLink","setSmartRoutingStatus","onWheel","allowCanvasZoom","_s5","_n3","inverseZoom","deltaY","ctrlKey","_o4","currentTarget","_a2","_l2","_d2","_c","_h","_u","_g","_p","nativeEvent","which","startFiringAction","clearSelection","removeMiddlePoints","drawSelectionBox","DiagramWidget","isArrayBuffer","isBuffer","isFormData","FormData","isArrayBufferView","ArrayBuffer","isView","isString","isFile","isBlob","isStream","pipe","isURLSearchParams","URLSearchParams","isStandardBrowserEnv","product","assignValue","deepMerge","thisArg","Always","IfAtMostOneObstacle","OnlyWhenNoObstacles","hasOwn","classNames","classes","argType","inner","freeGlobal","freeSelf","root","webpackPolyfill","paths","checkDCE","__REACT_DEVTOOLS_GLOBAL_HOOK__","err","backtrace","interpolate","x0","y0","x1","y1","sx","sy","dx","dy","e2","line","biBacktrace","nodeA","nodeB","pathA","pathB","pathLength","sum","sqrt","expandPath","coord0","coord1","interpolated","interpolatedLen","expanded","smoothenPath","grid","newPath","coord","testCoord","blocked","isWalkableAt","lastValidCoord","lx","ly","ldx","ldy","sq","compressed","px","py","baseIsNative","getValue","baseIsEqual","euclidean","octile","SQRT2","chebyshev","_Symbol","getRawTag","objectToString","symToStringTag","FUNC_ERROR_TEXT","HASH_UNDEFINED","PLACEHOLDER","WRAP_CURRY_RIGHT_FLAG","WRAP_PARTIAL_FLAG","WRAP_PARTIAL_RIGHT_FLAG","WRAP_ARY_FLAG","WRAP_REARG_FLAG","INFINITY","MAX_SAFE_INTEGER","NAN","MAX_ARRAY_LENGTH","wrapFlags","argsTag","arrayTag","boolTag","dateTag","errorTag","funcTag","genTag","mapTag","numberTag","objectTag","promiseTag","regexpTag","setTag","stringTag","symbolTag","weakMapTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","reEmptyStringLeading","reEmptyStringMiddle","reEmptyStringTrailing","reEscapedHtml","reUnescapedHtml","reHasEscapedHtml","reHasUnescapedHtml","reEscape","reEvaluate","reInterpolate","reIsDeepProp","reIsPlainProp","rePropName","reRegExpChar","reHasRegExpChar","reTrim","reTrimStart","reTrimEnd","reWrapComment","reWrapDetails","reSplitDetails","reAsciiWord","reEscapeChar","reEsTemplate","reFlags","reIsBadHex","reIsBinary","reIsHostCtor","reIsOctal","reIsUint","reLatin","reNoMatch","reUnescapedString","rsComboRange","rsComboMarksRange","rsDingbatRange","rsLowerRange","rsUpperRange","rsVarRange","rsBreakRange","rsMathOpRange","rsApos","rsAstral","rsBreak","rsCombo","rsDigits","rsDingbat","rsLower","rsMisc","rsFitz","rsNonAstral","rsRegional","rsSurrPair","rsUpper","rsMiscLower","rsMiscUpper","rsOptContrLower","rsOptContrUpper","reOptMod","rsOptVar","rsSeq","rsEmoji","rsSymbol","reApos","reComboMark","reUnicode","reUnicodeWord","reHasUnicode","reHasUnicodeWord","contextProps","templateCounter","typedArrayTags","cloneableTags","stringEscapes","freeParseFloat","freeParseInt","global","freeExports","nodeType","freeModule","moduleExports","freeProcess","process","nodeUtil","types","binding","nodeIsArrayBuffer","nodeIsDate","nodeIsMap","isMap","nodeIsRegExp","isRegExp","nodeIsSet","isSet","nodeIsTypedArray","isTypedArray","arrayAggregator","iteratee","accumulator","arrayEach","arrayEachRight","arrayEvery","predicate","arrayFilter","resIndex","arrayIncludes","baseIndexOf","arrayIncludesWith","comparator","arrayMap","arrayPush","arrayReduce","initAccum","arrayReduceRight","arraySome","asciiSize","baseProperty","baseFindKey","collection","eachFunc","baseFindIndex","fromIndex","fromRight","strictIndexOf","baseIsNaN","baseIndexOfWith","baseMean","baseSum","basePropertyOf","baseReduce","current","baseTimes","baseUnary","baseValues","cacheHas","cache","charsStartIndex","strSymbols","chrSymbols","charsEndIndex","countHolders","placeholder","deburrLetter","escapeHtmlChar","escapeStringChar","chr","hasUnicode","mapToArray","overArg","replaceHolders","setToArray","setToPairs","stringSize","unicodeSize","stringToArray","unicodeToArray","asciiToArray","unescapeHtmlChar","runInContext","context","uid","pick","arrayProto","funcProto","objectProto","coreJsData","funcToString","idCounter","maskSrcKey","IE_PROTO","nativeObjectToString","objectCtorString","oldDash","reIsNative","Buffer","Uint8Array","allocUnsafe","getPrototype","objectCreate","propertyIsEnumerable","spreadableSymbol","isConcatSpreadable","symIterator","getNative","ctxClearTimeout","ctxNow","ctxSetTimeout","nativeCeil","nativeFloor","nativeGetSymbols","getOwnPropertySymbols","nativeIsBuffer","nativeIsFinite","nativeJoin","nativeKeys","nativeMax","nativeMin","nativeNow","nativeParseInt","nativeRandom","nativeReverse","DataView","Set","nativeCreate","metaMap","realNames","dataViewCtorString","toSource","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","symbolProto","symbolValueOf","symbolToString","lodash","isObjectLike","LazyWrapper","LodashWrapper","wrapperClone","baseCreate","baseLodash","chainAll","__wrapped__","__actions__","__chain__","__index__","__values__","__dir__","__filtered__","__iteratees__","__takeCount__","__views__","Hash","entries","entry","ListCache","MapCache","SetCache","__data__","Stack","arrayLikeKeys","inherited","isArr","isArg","isArguments","isBuff","isType","skipIndexes","isIndex","arraySample","baseRandom","arraySampleSize","shuffleSelf","copyArray","baseClamp","arrayShuffle","assignMergeValue","eq","baseAssignValue","objValue","assocIndexOf","baseAggregator","baseEach","baseAssign","copyObject","baseAt","skip","lower","upper","baseClone","bitmask","customizer","isDeep","isFlat","isFull","initCloneArray","tag","getTag","isFunc","cloneBuffer","initCloneObject","getSymbolsIn","copySymbolsIn","keysIn","baseAssignIn","getSymbols","copySymbols","Ctor","cloneArrayBuffer","dataView","byteOffset","byteLength","cloneDataView","cloneTypedArray","regexp","cloneRegExp","symbol","initCloneByTag","stacked","subValue","getAllKeysIn","getAllKeys","baseConformsTo","baseDelay","wait","baseDifference","isCommon","valuesLength","outer","computed","valuesIndex","templateSettings","getMapData","pairs","LARGE_ARRAY_SIZE","createBaseEach","baseForOwn","baseEachRight","baseForOwnRight","baseEvery","baseExtremum","isSymbol","baseFilter","baseFlatten","depth","isFlattenable","baseFor","createBaseFor","baseForRight","baseFunctions","baseGet","castPath","toKey","baseGetAllKeys","keysFunc","symbolsFunc","baseGetTag","isOwn","unmasked","baseGt","baseHas","baseHasIn","baseIntersection","arrays","othLength","othIndex","caches","maxLength","Infinity","seen","baseInvoke","baseIsArguments","equalFunc","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","equalArrays","convert","isPartial","equalByTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","objProps","objLength","skipCtor","othValue","compared","objCtor","othCtor","equalObjects","baseIsEqualDeep","baseIsMatch","matchData","noCustomizer","srcValue","COMPARE_PARTIAL_FLAG","baseIteratee","identity","baseMatchesProperty","baseMatches","baseKeys","isPrototype","baseKeysIn","nativeKeysIn","isProto","baseLt","baseMap","isArrayLike","getMatchData","matchesStrictComparable","isKey","isStrictComparable","hasIn","baseMerge","srcIndex","mergeFunc","safeGet","newValue","isTyped","isArrayLikeObject","isPlainObject","toPlainObject","baseMergeDeep","baseNth","baseOrderBy","iteratees","orders","getIteratee","criteria","comparer","baseSortBy","objCriteria","othCriteria","ordersLength","compareAscending","compareMultiple","basePickBy","baseSet","basePullAll","basePullAt","indexes","previous","baseUnset","baseRepeat","baseRest","setToString","overRest","baseSample","baseSampleSize","nested","baseSetData","baseSetToString","constant","baseShuffle","baseSlice","baseSome","baseSortedIndex","retHighest","low","high","baseSortedIndexBy","valIsNaN","valIsNull","valIsSymbol","valIsUndefined","othIsDefined","othIsNull","othIsReflexive","othIsSymbol","setLow","baseSortedUniq","baseToNumber","baseToString","baseUniq","createSet","seenIndex","baseUpdate","updater","baseWhile","isDrop","baseWrapperValue","actions","baseXor","baseZipObject","assignFunc","valsLength","castArrayLikeObject","castFunction","stringToPath","castRest","castSlice","copy","arrayBuffer","typedArray","valIsDefined","valIsReflexive","composeArgs","partials","holders","isCurried","argsIndex","argsLength","holdersLength","leftIndex","leftLength","rangeLength","isUncurried","composeArgsRight","holdersIndex","rightIndex","rightLength","isNew","createAggregator","initializer","createAssigner","assigner","sources","guard","isIterateeCall","iterable","createCaseFirst","methodName","trailing","createCompounder","words","deburr","createCtor","thisBinding","createFind","findIndexFunc","createFlow","flatRest","funcs","prereq","thru","wrapper","getFuncName","funcName","getData","isLaziable","plant","createHybrid","partialsRight","holdersRight","argPos","ary","arity","isAry","isBind","isBindKey","isFlip","getHolder","holdersCount","newHolders","createRecurry","reorder","createInverter","toIteratee","baseInverter","createMathOperation","operator","defaultValue","createOver","arrayFunc","createPadding","chars","charsLength","createRange","step","toFinite","baseRange","createRelationalOperation","toNumber","wrapFunc","isCurry","newData","setData","setWrapToString","createRound","precision","toInteger","pair","noop","createToPairs","baseToPairs","createWrap","srcBitmask","newBitmask","isCombo","mergeData","createCurry","createPartial","createBind","customDefaultsAssignIn","customDefaultsMerge","customOmitClone","arrLength","arrValue","flatten","otherFunc","stubArray","hasPath","hasFunc","isLength","ctorString","isMaskable","stubFalse","otherArgs","oldArray","shortOut","reference","details","insertWrapDetails","updateWrapDetails","getWrapDetails","lastCalled","stamp","remaining","rand","memoize","memoizeCapped","charCodeAt","quote","subString","difference","differenceBy","differenceWith","findLastIndex","head","intersection","mapped","intersectionBy","intersectionWith","pull","pullAll","pullAt","union","unionBy","unionWith","unzip","unzipWith","without","xor","xorBy","xorWith","zip","zipWith","chain","interceptor","wrapperAt","countBy","findLast","forEachRight","groupBy","invokeMap","keyBy","partition","sortBy","before","bindKey","WRAP_BIND_FLAG","debounce","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","invokeFunc","leadingEdge","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","cancel","flush","defer","resolver","memoized","Cache","negate","overArgs","transforms","funcsLength","partial","partialRight","rearg","gt","gte","isError","isInteger","lt","lte","iteratorToArray","remainder","toLength","isBinary","assignIn","assignInWith","assignWith","at","propsIndex","propsLength","defaultsDeep","mergeWith","invert","invertBy","invoke","omit","CLONE_DEEP_FLAG","basePick","toPairs","toPairsIn","camelCase","word","upperFirst","kebabCase","lowerFirst","snakeCase","startCase","upperCase","pattern","hasUnicodeWord","unicodeWords","asciiWords","attempt","bindAll","methodNames","flow","flowRight","method","methodOf","mixin","over","overEvery","overSome","basePropertyDeep","rangeRight","augend","addend","divide","multiply","multiplier","multiplicand","minuend","subtrahend","after","castArray","chunk","compact","cond","conforms","baseConforms","properties","curry","curryRight","drop","dropRight","dropRightWhile","dropWhile","baseFill","flatMapDeep","flatMapDepth","flattenDeep","flattenDepth","flip","fromPairs","functions","functionsIn","initial","mapKeys","mapValues","matchesProperty","nthArg","omitBy","orderBy","propertyOf","pullAllBy","pullAllWith","rest","sampleSize","setWith","shuffle","sortedUniq","sortedUniqBy","spread","tail","take","takeRight","takeRightWhile","takeWhile","tap","throttle","toPath","isArrLike","unary","uniqBy","uniqWith","unset","update","updateWith","valuesIn","wrap","zipObject","zipObjectDeep","entriesIn","extendWith","clamp","cloneDeepWith","cloneWith","conformsTo","defaultTo","endsWith","escape","escapeRegExp","findKey","findLastKey","forIn","forInRight","forOwn","forOwnRight","inRange","baseInRange","isBoolean","isElement","isEmpty","isEqual","isEqualWith","isMatch","isMatchWith","isNative","isNil","isNull","isSafeInteger","isWeakMap","isWeakSet","lastIndexOf","strictLastIndexOf","mean","meanBy","stubObject","stubString","stubTrue","nth","noConflict","pad","strLength","padEnd","padStart","radix","floating","reduceRight","repeat","sample","sortedIndex","sortedIndexBy","sortedIndexOf","sortedLastIndex","sortedLastIndexBy","sortedLastIndexOf","startsWith","sumBy","template","isEscaping","isEvaluating","imports","importsKeys","importsValues","reDelimiters","evaluate","sourceURL","escapeValue","interpolateValue","esTemplateValue","evaluateValue","variable","times","toLower","toSafeInteger","toUpper","trimEnd","trimStart","truncate","omission","search","newEnd","unescape","uniqueId","each","eachRight","VERSION","isFilter","takeName","dropName","checkIteratee","isTaker","lodashFunc","retUnwrapped","isLazy","useLazy","isHybrid","isUnwrapped","onlyLazy","chainName","dir","isRight","view","getView","iterLength","takeCount","iterIndex","commit","wrapped","reactIs","REACT_STATICS","childContextTypes","contextType","contextTypes","getDefaultProps","getDerivedStateFromError","getDerivedStateFromProps","mixins","propTypes","KNOWN_STATICS","caller","callee","MEMO_STATICS","compare","TYPE_STATICS","getStatics","isMemo","ForwardRef","Memo","objectPrototype","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","targetStatics","sourceStatics","moment","colorName","conversions","createCommonjsModule","reverseKeywords","rgb","hsl","hsv","hwb","cmyk","xyz","lab","lch","hex","keyword","ansi16","ansi256","hcg","apple","gray","delta","rdif","gdif","bdif","diffc","reversed","currentClosestKeyword","currentClosestDistance","distance","t1","t2","t3","smin","lmin","hi","q","sl","vmin","wh","bl","ratio","y2","x2","z2","atan2","PI","hr","cos","ansi","mult","rem","colorString","char","integer","hue","chroma","mg","pure","deriveBFS","fromModel","graph","models","buildGraph","queue","adjacents","adjacent","wrapConversion","toModel","cur","conversion","routes","route","wrappedFn","wrapRounded","wrapRaw","colorConvert","colorName$1","getRgba","getHsla","getRgb","rgba","getHsl","hsla","getHwb","getAlpha","vals","hexString","hexDouble","rgbString","alpha","rgbaString","percentString","percentaString","hslString","hslaString","hwbString","reverseNames","hexAlpha","scale","num","Color","valid","setValues","red","lightness","whiteness","cyan","setSpace","rgbArray","hslArray","hsvArray","hwbArray","cmykArray","rgbaArray","hslaArray","setChannel","green","blue","saturation","saturationv","blackness","magenta","yellow","black","rgbNumber","luminosity","lum","chan","contrast","color2","lum1","lum2","contrastRatio","dark","light","lighten","darken","saturate","desaturate","whiten","blacken","greyscale","clearer","opaquer","rotate","degrees","mix","mixinColor","weight","color1","w1","w2","spaces","maxes","getValues","space","capped","chans","sname","svalues","chartjsColor","helpers","isNullOrUndef","_isFinite","_x","valueOrDefault","valueAtIndexOrDefault","loopable","arrayEquals","a0","a1","ilen","v0","v1","klen","_merger","tval","sval","_mergerIf","mergeIf","merger","dst","inherits","extensions","me","ChartElement","Surrogate","__super__","_deprecated","scope","helpers_core","callCallback","item","getValueOrDefault","getValueAtIndexOrDefault","effects","linear","easeInQuad","easeOutQuad","easeInOutQuad","easeInCubic","easeOutCubic","easeInOutCubic","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","easeInSine","easeOutSine","easeInOutSine","easeInExpo","easeOutExpo","easeInOutExpo","easeInCirc","easeOutCirc","easeInOutCirc","easeInElastic","asin","easeOutElastic","easeInOutElastic","easeInBack","easeOutBack","easeInOutBack","easeInBounce","easeOutBounce","easeInOutBounce","helpers_easing","easingEffects","RAD_PER_DEG","DOUBLE_PI","HALF_PI","QUARTER_PI","TWO_THIRDS_PI","exports$1","chart","ctx","clearRect","roundedRect","radius","moveTo","arc","closePath","rect","drawPoint","rotation","xOffset","yOffset","cornerRadius","rad","save","translate","drawImage","restore","beginPath","lineTo","SQRT1_2","_isPointInArea","point","area","epsilon","clipArea","clip","unclipArea","stepped","steppedLine","midpoint","tension","bezierCurveTo","controlPointPreviousX","controlPointNextX","controlPointPreviousY","controlPointNextY","helpers_canvas","drawRoundedRectangle","_set","defaultColor","defaultFontColor","defaultFontFamily","defaultFontSize","defaultFontStyle","defaultLineHeight","showLines","core_defaults","helpers_options","toLineHeight","toPadding","_parseFont","globalDefaults","fontSize","font","family","fontFamily","lineHeight","fontStyle","toFontString","inputs","cacheable","exports$2","_factorize","log10","exponent","LOG10E","powerOf10","helpers_math","helpers_rtl","getRtlAdapter","rtl","rectX","_x2","setWidth","textAlign","align","xPlus","leftForLtr","itemWidth","_x3","_itemWidth","overrideTextDirection","original","getPropertyValue","getPropertyPriority","setProperty","prevTextDirection","restoreTextDirection","helpers$1","easing","math","Element","configuration","_type","hidden","pivot","_view","_model","_start","transition","ease","actual","c0","c1","tooltipPosition","hasValue","core_element","exports$3","currentStep","numSteps","onAnimationProgress","onAnimationComplete","core_animation","animation","onProgress","onComplete","core_animations","animations","request","addAnimation","lazy","animating","cancelAnimation","requestAnimFrame","startDigest","advance","nextStep","arrayEvents","unlistenArrayEvents","stub","_chartjs","DatasetController","datasetIndex","datasetElementType","dataElementType","_datasetElementOptions","_dataElementOptions","linkScales","addElements","getMeta","updateIndex","meta","scales","dataset","getDataset","scalesOpts","xAxisID","xAxes","yAxisID","yAxes","datasets","getDatasetMeta","getScaleForId","scaleID","_getValueScaleId","_getIndexScaleId","_getValueScale","_getIndexScale","reset","_update","destroy","createMetaDataset","_chart","_datasetIndex","createMetaData","_index","metaData","addElementAndReset","updateElement","buildOrUpdateElements","isExtensible","resyncElements","_configure","_cachedDataOpts","easingValue","elements","draw","getStyle","_resolveDatasetElementOptions","_resolveDataElementOptions","backgroundColor","borderColor","hover","readKey","datasetOpts","custom","elementOptions","cached","dataIndex","freeze","removeHoverStyle","$previousStyle","setHoverStyle","getHoverColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","_removeDatasetHoverStyle","_setDatasetHoverStyle","hoverOptions","prev","numMeta","numData","insertElements","onDataPush","onDataPop","onDataShift","onDataSplice","onDataUnshift","core_datasetController","TAU","clipArc","startAngle","endAngle","pixelMargin","angleMargin","outerRadius","innerRadius","drawBorder","vm","borderAlign","lineWidth","lineJoin","fullCircles","drawFullCircleBorders","element_arc","inLabelRange","hoverRadius","chartX","chartY","pointRelativePosition","getAngleFromPoint","angle","betweenAngles","withinRadius","getCenterPoint","halfAngle","halfRadius","getArea","centreAngle","rangeFromCentre","circumference","fillStyle","strokeStyle","valueOrDefault$1","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","capBezierPoints","element_line","currentVM","spanGaps","_children","globalOptionLineElements","lastDrawnIndex","previousItem","lineCap","setLineDash","lineDashOffset","valueOrDefault$2","defaultColor$1","xRange","hitRadius","pointStyle","element_point","inXRange","inYRange","padding","chartArea","defaultColor$2","isVertical","getBarBounds","half","swap","orig","v2","parseBorderWidth","maxW","maxH","edge","borderSkipped","horizontal","parseBorderSkipped","_inRange","skipX","skipY","bounds","rectangle","element_rectangle","rects","border","boundingRects","fillRect","Arc","Line","Point","Rectangle","valueOrDefault$3","computeFitCategoryTraits","ruler","thickness","barThickness","stackCount","curr","pixels","_length","getTicks","getPixelForTick","computeMinSampleSize","categoryPercentage","barPercentage","gridLines","offsetGridLines","bar","controller_bar","scaleOpts","minBarLength","maxBarThickness","_ruler","getRuler","_xScale","_yScale","datasetLabel","_updateElementGeometry","vscale","getBasePixel","isHorizontal","vpixels","calculateBarValuePixels","ipixels","calculateBarIndexPixels","center","_getStacks","metasets","_getMatchingVisibleMetas","stacks","getStackCount","getStackIndex","getPixelForValue","_startPixel","_endPixel","imeta","ivalue","stackLength","_parseValue","percent","computeFlexCategoryTraits","stackIndex","indexOpts","valueOpts","valueOrDefault$4","resolve$1","tooltips","callbacks","dataPoint","xLabel","yLabel","controller_bubble","xScale","yScale","dsIndex","getPixelForDecimal","_options","valueOrDefault$5","PI$1","DOUBLE_PI$1","HALF_PI$1","animateRotate","animateScale","legendCallback","listItem","list","createTextNode","outerHTML","legend","generateLabels","controller","onClick","legendItem","cutoutPercentage","tooltipItem","dataLabel","controller_doughnut","getRingIndex","ringIndex","isDatasetVisible","opts","ratioX","ratioY","arcs","cutout","chartWeight","_getRingWeight","startX","startY","endX","endY","contains0","contains90","contains270","minX","minY","maxX","maxY","getMaxBorderWidth","radiusLength","_getVisibleDatasetWeightTotal","calculateTotal","_getRingWeightOffset","animationOpts","centerX","centerY","calculateCircumference","hoverWidth","ringWeightOffset","dataSetIndex","axis","horizontalBar","controller_horizontalBar","valueOrDefault$6","resolve$2","isPointInArea","scaleClip","halfBorderWidth","tickOpts","ticks","defaultClip","toClip","controller_line","showLine","_showLine","lineTension","_scale","updateBezierControlPoints","lineModel","calculatePointY","lineOptions","ds","dsMeta","stackedRightValue","rightValue","sumPos","sumNeg","getRightValue","_getSortedVisibleDatasetMetas","controlPoints","capControlPoint","pt","cubicInterpolationMode","splineCurveMonotone","splineCurve","nextItem","resolve$3","angleLines","circular","pointLabels","beginAtZero","controller_polarArea","starts","_starts","angles","_angles","_updateRadius","countVisibleElements","_computeAngle","minSize","getVisibleDatasetCount","xCenter","yCenter","datasetStartAngle","getDistanceFromCenterForValue","resetRadius","doughnut","controller_pie","valueOrDefault$7","controller_radar","pointPosition","getPointPositionForValue","scatter","controllers","bubble","polarArea","pie","radar","getRelativePosition","native","parseVisibleItems","metadata","jlen","getIntersectItems","getNearestItems","intersect","distanceMetric","minDistance","POSITIVE_INFINITY","nearestItems","getDistanceMetricForAxis","useX","useY","pt1","pt2","deltaX","indexMode","items","core_interaction","modes","single","nearest","intersectsItem","filterByPosition","where","sortByWeight","getCombinedMax","maxPadding","updateDims","layout","newWidth","newHeight","box","getPadding","boxPadding","outerWidth","outerHeight","getMargins","marginForPositions","positions","margin","fitBoxes","boxes","refit","changed","refitBoxes","fullWidth","placeBoxes","userPadding","core_layouts","addBox","_layers","removeBox","layoutItem","configure","layoutOptions","availableWidth","availableHeight","layoutBoxes","wrapBoxes","leftAndTop","rightAndBottom","vertical","buildLayoutBoxes","verticalBoxes","horizontalBoxes","vBoxMaxWidth","hBoxMaxHeight","layouts","setLayoutDims","updatePos","change","handleMaxPadding","stylesheet","CSS_SIZE_MONITOR","CSS_PREFIX","CSS_RENDER_MONITOR","ANIMATION_START_EVENTS","EVENT_TYPES","touchstart","touchmove","touchend","pointerenter","pointerdown","pointermove","pointerup","pointerleave","pointerout","readUsedSize","supportsEventListenerOptions","supports","eventListenerOptions","passive","createEvent","createDiv","cls","el","addResizeListener","ticking","expando","resizer","maxSize","expand","shrink","_reset","scrollLeft","scrollTop","onScroll","createResizer","container","maintainAspectRatio","proxy","renderProxy","animationName","reflow","offsetParent","classList","watchForRender","insertBefore","firstChild","removeResizeListener","unwatchForRender","platform_dom$2","disableCSSInjection","_enabled","_ensureLoaded","getRootNode","rootNode","css","containsStyles","injectCSS","acquireContext","getContext","renderHeight","renderWidth","displayWidth","aspectRatio","displayHeight","initCanvas","releaseContext","removeAttribute","proxies","fromNativeEvent","addEvent","removeEvent","implementation","plugins","core_plugins","_plugins","_cacheId","plugin","idx","getAll","notify","hook","descriptors","$plugins","_invalidate","core_scaleService","constructors","registerScaleType","scaleConstructor","scaleDefaults","getScaleConstructor","getScaleDefaults","updateScaleDefaults","additions","addScalesToLayout","valueOrDefault$8","getRtlHelper","titleFontStyle","titleSpacing","titleMarginBottom","titleFontColor","titleAlign","bodySpacing","bodyFontColor","bodyAlign","footerFontStyle","footerSpacing","footerMarginTop","footerFontColor","footerAlign","yPadding","xPadding","caretPadding","caretSize","multiKeyBackground","displayColors","beforeTitle","tooltipItems","labelCount","afterTitle","beforeBody","beforeLabel","labelColor","labelTextColor","afterLabel","afterBody","beforeFooter","footer","afterFooter","positioners","average","eventPosition","nearestElement","distanceBetweenPoints","tp","pushOrConcat","toPush","splitNewlines","getBaseModel","tooltipOpts","xAlign","yAlign","textDirection","_bodyFontFamily","bodyFontFamily","_bodyFontStyle","bodyFontStyle","_bodyAlign","bodyFontSize","_titleFontFamily","titleFontFamily","_titleFontStyle","titleFontSize","_titleAlign","_footerFontFamily","footerFontFamily","_footerFontStyle","footerFontSize","_footerAlign","legendColorBackground","getAlignedX","getBeforeAfterBodyLines","exports$4","_lastActive","getTitle","lines","getBeforeBody","getBody","bodyItems","bodyItem","getAfterBody","getFooter","indexScale","valueScale","existingModel","_active","alignment","backgroundPoint","tooltipSize","caretX","caretY","labelColors","labelTextColors","_eventPosition","getLabelForIndex","itemSort","dataPoints","tooltip","combinedBodyLength","titleLineCount","footerLineCount","widthPadding","maxLineWidth","measureText","fontString","getTooltipSize","lf","rf","olf","orf","yf","midX","midY","determineAlignment","paddingAndSize","radiusAndPadding","getBackgroundPoint","drawCaret","tooltipPoint","caretPosition","getCaretPosition","x3","y3","ptX","ptY","drawTitle","rtlHelper","textBaseline","fillText","drawBody","textColor","drawColorBoxes","xLinePadding","colorX","fillLineOfText","bodyAlignForCalculation","rtlColorX","strokeRect","drawFooter","drawBackground","quadraticCurveTo","hasTooltipContent","globalAlpha","handleEvent","getElementsAtEventForMode","positioners_1","core_tooltip","valueOrDefault$9","mergeScaleConfig","slen","mergeConfig","updateConfig","newOptions","ensureScalesHaveIDs","buildOrUpdateScales","nextAvailableScaleId","axesOpts","hasId","positionIsHorizontal","compare2Level","l1","l2","onHover","animationDuration","responsive","responsiveAnimationDuration","Chart","initConfig","_bufferedRender","instances","retinaScale","devicePixelRatio","bindEvents","resize","initToolTip","silent","getMaximumWidth","getMaximumHeight","newSize","onResize","scalesOptions","scaleOptions","xAxisOptions","yAxisOptions","updated","dtype","dposition","scaleType","scaleClass","mergeTicksOptions","hasUpdated","buildOrUpdateControllers","newControllers","destroyDatasetMeta","ControllerClass","resetElements","updateLayout","updateDatasets","lastActive","_bufferedRequest","_idx","updateDataset","animationOptions","animationObject","easingFunction","stepDecimal","layers","drawDatasets","_drawTooltip","_getSortedDatasetMetas","filterVisible","drawDataset","getElementAtEvent","getElementsAtEvent","getElementsAtXAxis","getDatasetAtEvent","_meta","generateLegend","unbindEvents","toBase64Image","toDataURL","_chartInstance","_listeners","eventHandler","updateHoverStyle","bufferedRequest","core_controller","abstract","DateAdapter","Controller","configMerge","scaleMerge","_create","override","members","core_adapters","_date","core_ticks","formatters","tickValue","logDelta","tickString","numExponential","toExponential","numDecimal","logarithmic","remain","valueOrDefault$a","getPixelForGridLine","validIndex","lineValue","computeLabelSizes","tickFonts","tickFont","nestedLabel","widest","highest","widths","heights","offsets","major","minor","gc","valueAt","gcLen","garbageCollect","getTickMarkLength","drawTicks","tickMarkLength","getScaleLabelHeight","parseFontOptions","nestedOpts","fontColor","parseTickFontOptions","nonSkipped","ticksToFilter","filtered","spacing","majorStart","majorEnd","tick","drawOnChartArea","zeroLineWidth","zeroLineColor","zeroLineBorderDash","zeroLineBorderDashOffset","scaleLabel","labelString","minRotation","maxRotation","mirror","autoSkip","autoSkipPadding","labelOffset","Scale","zeroLineIndex","paddingLeft","paddingTop","paddingRight","paddingBottom","_ticks","_getLabels","xLabels","yLabels","beforeUpdate","margins","samplingEnabled","_labelSizes","_maxLabelLines","longestLabelWidth","longestTextCache","_gridLineItems","_labelItems","beforeSetDimensions","setDimensions","afterSetDimensions","beforeDataLimits","determineDataLimits","afterDataLimits","beforeBuildTicks","buildTicks","afterBuildTicks","_convertTicksToLabels","numItems","increment","beforeCalculateTickRotation","calculateTickRotation","afterCalculateTickRotation","beforeFit","fit","afterFit","_ticksToDraw","_autoSkip","afterUpdate","startPixel","endPixel","reversePixels","_reversePixels","beforeTickToLabelConversion","convertTicksToLabels","userCallback","afterTickToLabelConversion","labelSizes","maxLabelWidth","maxLabelHeight","tickWidth","maxLabelDiagonal","numTicks","labelRotation","_isVisible","_getLabelSizes","toDegrees","scaleLabelOpts","gridLineOpts","isBottom","firstLabelSize","lastLabelSize","widestLabelSize","highestLabelSize","lineSpace","tickPadding","isRotated","angleRadians","toRadians","cosRotation","sinRotation","labelHeight","offsetLeft","offsetRight","labelWidth","handleMargins","isFullWidth","rawValue","_getScaleLabel","getValueForPixel","decimal","getDecimalForPixel","pixel","getBaseValue","avgMajorSpacing","axisLength","ticksLimit","maxTicksLimit","_tickSize","majorIndices","getMajorIndices","numMajorIndices","skipMajors","factors","factor","evenMajorSpacing","getEvenSpacing","calculateSpacing","optionTicks","rot","_computeGridLineItems","borderValue","alignedLineValue","tx1","ty1","tx2","ty2","lineColor","ticksLength","tl","axisWidth","axisHalfWidth","alignPixel","_alignPixel","alignBorderValue","_computeLabelItems","lineCount","textOffset","isMirrored","fonts","_drawGrid","firstLineWidth","lastLineWidth","_drawLabels","_drawTitle","scaleLabelX","scaleLabelY","scaleLabelFontColor","scaleLabelFont","scaleLabelPadding","halfLineHeight","isLeft","tz","gz","_draw","core_scale","isNullOrUndef$1","scale_category","ticksOpts","minIndex","maxIndex","_startValue","_valueRange","valueCategory","_defaults","isNullOrUndef$2","scale_linearbase","handleTickRangeOptions","minSign","maxSign","setMin","suggestedMin","setMax","suggestedMax","getTickLimit","maxTicks","stepSize","_computeTickLimit","handleDirectionalChanges","numericGeneratorOptions","fixedStepSize","generationOptions","dataRange","niceMin","niceMax","numSpaces","maxNumSpaces","rmin","rmax","niceNum","_decimalPlaces","almostWhole","almostEquals","generateTicks","ticksAsNumbers","_endValue","defaultConfig$1","stackData","neg","getOrCreateStack","relativePoints","updateMinMax","scale_linear","hasStacks","NEGATIVE_INFINITY","stackValues","_defaults$1","valueOrDefault$b","defaultConfig$2","nonNegativeOrDefault","scale_logarithmic","IDMatches","minNotZero","valuesPerStack","valuesForType","minVal","maxVal","exp","significand","tickVal","endExp","endSignificand","lastTick","generateTicks$1","tickValues","_getFirstTickValue","_valueOffset","_defaults$2","valueOrDefault$c","valueAtIndexOrDefault$1","resolve$4","defaultConfig$3","animate","showLabelBackdrop","backdropColor","backdropPaddingY","backdropPaddingX","getTickBackdropHeight","determineLimits","getTextAlignForAngle","adjustPointPositionForLabelHeight","textSize","numberOrZero","param","scale_radialLinear","drawingArea","plFont","furthestLimits","furthestAngles","_pointLabelSizes","valueCount","getPointPosition","longestText","getIndexAngle","hLimits","vLimits","setReductions","fitWithPointLabels","setCenterPoint","largestPossibleRadius","radiusReductionLeft","radiusReductionRight","radiusReductionTop","radiusReductionBottom","leftMovement","rightMovement","topMovement","bottomMovement","maxRight","maxLeft","maxTop","maxBottom","scalingFactor","distanceFromCenter","thisAngle","getBasePosition","angleLineOpts","pointLabelOpts","tickBackdropHeight","outerDistance","pointLabelPosition","pointLabelFontColor","drawPointLabels","drawRadiusLine","tickFontColor","_defaults$3","deprecated$1","resolve$5","valueOrDefault$d","MIN_INTEGER","MIN_SAFE_INTEGER","MAX_INTEGER","INTERVALS","common","steps","UNITS","sorter","getMin","getMax","interpolate$1","table","skey","tkey","i0","i1","lo","lookup","span","toTimestamp","adapter","_adapter","parser","determineUnitForAutoTicks","minUnit","capacity","interval","ticksFromTimestamps","majorUnit","setMajorTicks","scale_time","adapters","displayFormats","labelsAdded","timestamps","dataLabels","hash","arrayUnique","_table","_timestamps","timeOpts","getLabelCapacity","distribution","unitStepSize","generate","_unit","determineUnitForFormatting","_majorUnit","determineMajorUnit","buildLookupTable","_offsets","computeOffsets","tooltipFormat","datetime","tickFormatFunction","minorFormat","majorFormat","nestedTickOpts","formatter","getPixelForOffset","_getLabelSize","tickLabelWidth","tickFontSize","getLabelWidth","exampleTime","exampleLabel","_defaults$4","displayFormat","radialLinear","FORMATS","_format","amount","filler","propagate","mappers","boundary","decodeFill","computeBoundary","computeCircularBoundary","scaleBottom","scaleTop","scaleZero","computeLinearBoundary","resolveTarget","visited","visible","createMapper","isDrawable","drawArea","curve0","curve1","len0","len1","doFill","mapper","p0","d0","d1","loopOffset","plugin_filler","afterDatasetsUpdate","$filler","beforeDatasetsDraw","getRtlHelper$1","noop$1","valueOrDefault$e","getBoxWidth","labelOpts","usePointStyle","boxWidth","ci","onLeave","lineDash","Legend","legendHitBoxes","_hoveredItem","doughnutMode","beforeBuildLabels","buildLabels","afterBuildLabels","legendItems","labelFont","hitboxes","lineWidths","totalHeight","vPadding","columnWidths","columnHeights","totalWidth","currentColWidth","currentColHeight","lineDefault","legendHeight","legendWidth","cursor","alignmentOffset","dimension","blockSize","itemHeight","textWidth","realX","drawLegendBox","halfFontSize","xLeft","yMiddle","_getLegendItemAt","hitBox","lh","hoveredItem","createNewLegendAndAttach","legendOpts","plugin_legend","_element","beforeInit","afterEvent","noop$2","Title","titleX","titleY","fontOpts","createNewTitleBlockAndAttach","titleOpts","titleBlock","parseMaxStyle","styleValue","parentProperty","valueInPixels","isConstrainedValue","getConstraintDimension","domNode","maxStyle","percentageProperty","defaultView","_getParentNode","constrainedNode","getComputedStyle","constrainedContainer","hasCNode","hasCContainer","infinity","filterCallback","findNextWhere","arrayToSearch","startIndex","currentItem","findPreviousWhere","rounded","radians","centrePoint","anglePoint","distanceFromXCenter","distanceFromYCenter","radialDistanceFromCenter","aliasPixel","pixelWidth","currentDevicePixelRatio","halfWidth","firstPoint","middlePoint","afterPoint","d01","d12","s01","s12","fa","fb","EPSILON","pointBefore","pointCurrent","pointAfter","alphaK","betaK","tauK","squaredMagnitude","pointsWithTangents","deltaK","mK","pointsLen","slopeDeltaX","fraction","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","evt","originalEvent","srcElement","boundingRect","touches","getConstraintWidth","getConstraintHeight","_calculatePadding","parentDimension","cw","ch","currentStyle","forceRatio","pixelRatio","pixelSize","arrayOfThings","thing","nestedThing","longest","numberOfLabelLines","numberOfLines","CanvasGradient","colorValue","CanvasPattern","core_helpers","_adapters","Animation","animationService","Interaction","scaleService","Ticks","Tooltip","pluginService","PluginBase","canvasHelpers","layoutService","LinearScaleBase","klass","cfg","allowTouchMove","maxTouchPoints","disableBodyScroll","targetElement","ontouchstart","targetTouches","ontouchmove","reserveScrollBarGap","innerWidth","documentElement","clearAllBodyScrollLocks","enableBodyScroll","__webpack_amd_options__","Heap","JumpPointFinderBase","opt","trackJumpRecursion","openList","startNode","getNodeAt","endNode","opened","_identifySuccessors","neighbors","neighbor","jumpPoint","jx","jy","ng","jumpNode","_findNeighbors","_jump","updateItem","listCacheClear","listCacheDelete","listCacheGet","listCacheHas","listCacheSet","isKeyable","_typeof2","_react","newObj","_interopRequireWildcard","_propTypes","_interopRequireDefault","_flatpickr","_extends","_objectWithoutProperties","excluded","sourceKeys","_objectWithoutPropertiesLoose","sourceSymbolKeys","_objectSpread","ownKeys","sym","_defineProperty","hookPropType","oneOfType","arrayOf","callbackPropTypes","DateTimePicker","_Component","_getPrototypeOf2","onClose","blur","flatpickr","setDate","onCreate","destroyFlatpickrInstance","createFlatpickrInstance","prevProps","prevOptions","optionsKeys","handleNodeChange","onChange","onOpen","onMonthChange","onYearChange","onReady","onValueUpdate","onDayCreate","_default","fp","l10ns","Russian","longhand","rangeSeparator","weekAbbreviation","scrollTitle","toggleTitle","amPM","yearAriaLabel","time_24hr","ru","NODE_ENV","env","ChartComponent","_React$Component","handleOnClick","chartInstance","onElementsClick","componentDidMount","renderChart","componentDidUpdate","redraw","destroyChart","updateChart","shouldComponentUpdate","nextProps","_props","nextData","transformDataProp","shadowDataProp","componentWillUnmount","memoizeDataProps","saveCurrentDatasets","checkDatasets","isDev","usingCustomKeyProvider","datasetKeyProvider","getLabelAsKey","multipleDatasets","shouldWarn","getCurrentDatasets","currentDatasets","nextDatasets","currentDatasetsIndexed","pid","otherProps","_props2","_props3","_React$Component2","Doughnut","_React$Component3","Pie","_React$Component4","_ref3","Bar","_React$Component5","_ref4","_React$Component6","HorizontalBar","_ref5","_React$Component7","Radar","_ref6","_React$Component8","Polar","_ref7","_React$Component9","Bubble","_ref8","_React$Component10","Scatter","_ref9","registeredInModuleLoader","OldCookies","Cookies","api","attributes","decode","decodeURIComponent","converter","expires","write","encodeURIComponent","stringifiedAttributes","attributeName","cookie","json","jar","cookies","read","getJSON","withConverter","walkable","AStarFinder","allowDiagonal","dontCrossCorners","getNeighbors","BiAStarFinder","cmp","startOpenList","endOpenList","mapCacheClear","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","isarray","pathToRegexp","compile","tokensToFunction","tokensToRegExp","PATH_REGEXP","defaultDelimiter","delimiter","escaped","asterisk","escapeGroup","escapeString","encodeURIComponentPretty","encodeURI","encode","pretty","segment","attachKeys","re","sensitive","endsWithDelimiter","groups","regexpToRegexp","arrayToRegexp","stringToRegexp","scrollbarSize","isOn","doc","pageYOffset","innerHeight","dummyScroller","getScrollbarSize","scroll","noScroll","toggle","propIsEnumerable","test1","test2","fromCharCode","test3","letter","shouldUseNative","symbols","utils","paramsSerializer","serializedParams","hashmarkIndex","__CANCEL__","normalizeHeaderName","DEFAULT_CONTENT_TYPE","setContentTypeIfUnset","XMLHttpRequest","transformRequest","transformResponse","timeout","xsrfCookieName","xsrfHeaderName","maxContentLength","validateStatus","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","currentQueue","draining","queueIndex","cleanUpNextTick","drainQueue","run","marker","runClearTimeout","Item","nextTick","argv","versions","removeAllListeners","emit","prependListener","prependOnceListener","cwd","chdir","umask","settle","buildURL","buildFullPath","parseHeaders","isURLSameOrigin","createError","requestData","requestHeaders","auth","Authorization","btoa","fullPath","baseURL","open","onreadystatechange","responseURL","responseHeaders","getAllResponseHeaders","response","responseType","responseText","statusText","onabort","ontimeout","timeoutErrorMessage","xsrfValue","withCredentials","setRequestHeader","onDownloadProgress","onUploadProgress","upload","cancelToken","promise","abort","enhanceError","config1","config2","valueFromConfig2Keys","mergeDeepPropertiesKeys","defaultToConfig2Keys","axiosKeys","otherKeys","Cancel","symbolMap","numberMap","pluralForm","plurals","pluralize","weekdaysParseExact","suffixes","relativeTimeWithPlural","forms","standalone","lastDigit","last2Digits","relativeTimeWithMutation","mutationTable","softMutation","mutation","lastNumber","monthsParseExact","ll","lll","llll","plural","monthsStrictRegex","monthsShortStrictRegex","longMonthsParse","shortMonthsParse","processRelativeTime","monthsNominativeEl","monthsGenitiveEl","momentToFormat","_monthsGenitiveEl","_monthsNominativeEl","calendarEl","_calendarEl","monthsShortDot","numbersPast","numbersFuture","verbalNumber","monthsShortWithDots","monthsShortWithoutDots","weekEndings","isUpper","eifelerRegelAppliesToNumber","translateSingular","special","relativeTimeWithSingular","translator","correctGrammaticalCase","wordKey","relativeTimeMr","monthsNominative","monthsSubjective","numbersNouns","numberNoun","hundred","ten","one","numberAsNoun","processHoursFunction","stackClear","stackDelete","stackGet","stackHas","stackSet","baseIsTypedArray","symbolObservablePonyfill","observable","ActionCable","INTERNAL","createConsumer","getConfig","default_mount_path","Consumer","createWebSocketURL","startDebugging","debugging","stopDebugging","messages","ConnectionMonitor","secondsSince","connection","visibilityDidChange","reconnectAttempts","pollInterval","staleThreshold","isRunning","startedAt","stoppedAt","startPolling","getPollInterval","stopPolling","recordPing","pingedAt","recordConnect","disconnectedAt","recordDisconnect","poll","pollTimeout","reconnectIfStale","connectionIsStale","disconnectedRecently","reopen","visibilityState","isOpen","message_types","protocols","supportedProtocols","Connection","consumer","monitor","reopenDelay","webSocket","isActive","getState","uninstallEventHandlers","installEventHandlers","ref1","allowReconnect","error1","getProtocol","isState","isProtocolSupported","states","eventName","identifier","welcome","reload","confirmation","rejection","notifyAll","willAttemptReconnect","Subscriptions","channelName","channel","subscription","Subscription","ensureActiveConnection","sendCommand","forget","findAll","results","callbackName","command","perform","defineProperties","React","createFocusTrap","checkedProps","FocusTrap","setNode","previouslyFocusedElement","activeElement","specifiedFocusTrapOptions","focusTrapOptions","tailoredFocusTrapOptions","returnFocusOnDeactivate","optionName","focusTrap","_createFocusTrap","activate","paused","returnFocus","deactivate","unpause","elementProps","_react2","getClipboardData","clipboardData","defaultRenderTag","disabled","onRemove","classNameRemove","getTagDisplayValue","defaultRenderInput","addTag","defaultRenderLayout","tagComponents","inputComponent","defaultPasteSplit","defaultInputProps","TagsInput","isFocused","tagDisplayProp","hasControlledInput","onChangeInput","inputValue","tags","validationRegex","onValidationReject","onlyUnique","maxTags","currentTag","_getTagDisplayValue","rejectedTags","tagDisplayValue","remainingLimit","_clearInput","added","preventSubmit","handleOnFocus","handleOnBlur","_tag","_makeTag","_addTags","addOnPaste","pasteSplit","defaultPrevented","removeKeys","addKeys","accept","_shouldPreventDefaultEventOnAdd","_removeTag","div","inputProps","onFocus","onBlur","addOnBlur","_props$inputProps","otherInputProps","currentValue","_props4","_props5","tagProps","renderLayout","renderTag","renderInput","focusedClassName","handleRemove","onPaste","handlePaste","onKeyDown","handleKeyDown","handleChange","handleClick","base00","ellipsisColor","base09","braceColor","base07","expandedIcon","base0D","collapsedIcon","base0E","keyColor","arrayKeyColor","base0C","objectSize","base04","copyToClipboard","base0F","copyToClipboardCheck","objectBorder","base02","dataTypes","boolean","float","base0B","function","nan","base08","null","base0A","base05","editVariable","editIcon","cancelIcon","removeIcon","addIcon","checkIcon","base01","addKeyModal","validationFailure","iconColor","globalFontFamily","globalCursor","ellipsis","ellipsisFontSize","ellipsisLineHeight","ellipsisCursor","brace","braceCursor","fontWeight","braceFontWeight","colon","keyMargin","verticalAlign","objectKeyVal","keyValPaddingTop","keyValPaddingRight","keyValPaddingBottom","borderLeft","keyValBorderLeft","keyValBorderHover","keyValPadding","marginLeft","pushedContentMarginLeft","variableValue","variableValuePaddingRight","letterSpacing","keyLetterSpacing","keyFontStyle","keyVerticalAlign","keyOpacity","keyOpacityHover","borderRadius","objectSizeBorderRadius","objectSizeFontStyle","objectSizeMargin","dataTypeFontSize","marginRight","dataTypeMarginRight","datatypeOpacity","dateValueMarginLeft","whiteSpace","nanFontSize","nanFontWeight","nanPadding","nanBorderRadius","nullFontSize","nullFontWeight","nullPadding","nullBorderRadius","undefinedFontSize","undefinedPadding","undefinedBorderRadius","clipboardCursor","iconFontSize","iconMarginRight","clipboardCheckMarginLeft","arrayGroupMetaPadding","metaDataPadding","iconContainerWidth","tooltipPadding","removeVarIcon","iconCursor","addVarIcon","editVarIcon","iconPaddingRight","minHeight","editInputHeight","minWidth","editInputMinWidth","editInputBorderRadius","editInputPadding","editInputMarginRight","editInputFontFamily","detectedRowPaddingTop","addKeyCoverPosition","addKeyCoverPositionPx","addKeyCoverBackground","addKeyModalWidth","addKeyModalMargin","addKeyModalPadding","addKeyModalRadius","marginTop","marginBottom","boxSizing","rjv_default","rjv_grey","createStyling","defaultBase16","__e","store","toType","isTheme","__g","rjvId","type_name","displayDataTypes","theme","PureComponent","objects","handleAction","updated_src","updateSrc","namespace","new_value","existing_value","variable_removed","deepCopy","EventEmitter","Dispatcher","CheckCircle","Edit","Add","AddCircle","RemoveCircle","Clippy","ArrowDown","ArrowRight","SquarePlus","SquareMinus","CirclePlus","CircleMinus","viewBox","preserveAspectRatio","G","B","virtual","U","iconStyle","parent_type","getObjectMetaData","ExpandedIcon","CollapsedIcon","toggleCollapsed","jsvRoot","object_type","indentWidth","getBraceStart","getObjectContent","getEllipsis","collapsed","shouldCollapse","renderObjectContents","index_offset","groupArraysAfterLength","sortKeys","JsonObject","singleIndent","polyfill","copyright","__reactInternalSnapshotFlag","__reactInternalSnapshot","getSnapshotBeforeUpdate","isReactComponent","componentWillMount","UNSAFE_componentWillMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","componentWillUpdate","UNSAFE_componentWillUpdate","__suppressDeprecationWarning","contentWindow","copiedTimer","handleCopy","clickCallback","innerHTML","clipboardValue","select","execCommand","copied","getClippyIcon","getObjectSize","displayObjectSize","getAddAttribute","key_name","dispatch","getRemoveObject","onDelete","onAdd","enableClipboard","getExpandedIcon","getListeners","resetState","addKeyRequest","onEdit","existing_src","editKeyRequest","validationMessage","prevSrc","prevName","prevTheme","validateState","collapseStringsAfterLength","onSelect","scheme","author","base03","base06","white","transparent","indentBlockWidth","keyBorderRadius","keyColonWeight","keyValPaddingHover","undefinedFontWeight","getBase16Theme","invertTheme","rgb2yuv","yuv2rgb","base16Themes","_k","Arguments","KEY","_A","V","QObject","findChild","K","J","X","ee","te","ne","for","keyFor","useSetter","useSimple","preventExtensions","NEED","fastKey","getWeak","onFreeze","isIterable","getIterator","getIteratorMethod","Me","xe","Pe","oe","ie","Se","he","Ce","Ae","je","De","fe","de","ce","ve","Re","ae","se","le","be","ye","pe","ge","Oe","Ee","we","ke","Fe","threezerotwofour","apathy","ashes","atelierDune","atelierForest","atelierHeath","atelierLakeside","atelierSeaside","bespin","brewer","bright","chalk","codeschool","colors","eighties","embers","flat","google","grayscale","greenscreen","harmonic","hopscotch","isotope","marrakesh","mocha","monokai","ocean","paraiso","railscasts","shapeshifter","solarized","summerfruit","tomorrow","tube","twilight","toLocaleTimeString","getFunctionDisplay","_events","_maxListeners","defaultMaxListeners","setMaxListeners","newListener","warned","listenerCount","_callbacks","_isDispatching","_isHandled","_isPending","_lastID","waitFor","_invokeCallback","_startDispatching","_stopDispatching","isDispatching","_pendingPayload","framesToPop","editMode","editValue","renameKey","metaKey","prepopInput","getEditIcon","getRemoveIcon","getEditInput","JsonString","JsonInteger","JsonFloat","JsonBoolean","JsonFunction","JsonNull","JsonNan","JsonUndefined","JsonDate","JsonRegexp","inputRef","submitEdit","showDetected","getDetectedInput","paddingSize","borderSize","sizingStyle","rowCount","visibility","cancelAnimationFrame","_resizeLock","_onRootDOMNode","_rootDOMNode","_onChange","_controlled","_resizeComponent","_uid","useCacheForDOMMeasurements","minRows","maxRows","onHeightChange","_resizeListener","_clearNextFrame","_onNextFrameActionId","bool","isRequired","any","instanceOf","objectOf","oneOf","shape","checkPropTypes","PropTypes","submit","closeModal","spellCheck","onKeyPress","locals","sourceRoot","refs","sourceMap","insertInto","insertAt","nextSibling","attrs","rel","singleton","Blob","styleSheet","cssText","childNodes","convertToAbsoluteUrls","atob","DEBUG","pathname","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","isPureReactComponent","__self","__source","$$typeof","_owner","keyPrefix","aa","ba","ReactCurrentDispatcher","ReactCurrentBatchConfig","suspense","ReactCurrentOwner","IsSomeRendererActing","Children","only","Fragment","Profiler","StrictMode","Suspense","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","createContext","_calculateChangedBits","_currentValue","_currentValue2","_threadCount","Provider","_context","createFactory","createRef","forwardRef","isValidElement","_ctor","_status","_result","memo","useCallback","useContext","useDebugValue","useEffect","useImperativeHandle","useLayoutEffect","useMemo","useReducer","useRef","useState","da","ea","ha","ia","ja","la","ma","na","oa","ka","pa","qa","ra","sa","extractEvents","eventTypes","ta","phasedRegistrationNames","ua","registrationName","va","wa","dependencies","xa","ya","za","Aa","Ba","Ca","stateNode","Da","Ea","Fa","Ga","Ha","Ia","Ja","Ka","La","Ma","Na","Oa","Pa","Qa","Ta","acceptsBooleans","Sa","attributeNamespace","mustUseProperty","propertyName","sanitizeURL","Ua","Va","xlinkHref","Wa","Xa","Ra","setAttributeNS","Ya","Za","$a","ab","bb","cb","db","eb","gb","hb","ib","jb","kb","lb","mb","nb","pb","qb","_debugOwner","_debugSource","fileName","lineNumber","rb","sb","nodeName","xb","_valueTracker","setValue","stopTracking","tb","yb","checked","zb","defaultChecked","_wrapperState","initialChecked","Ab","initialValue","Bb","Cb","Db","Eb","ownerDocument","Gb","Fb","Hb","defaultSelected","Ib","dangerouslySetInnerHTML","Jb","Kb","Lb","textContent","Mb","Nb","Ob","Pb","Qb","namespaceURI","MSApp","execUnsafeLocalFunction","Rb","lastChild","nodeValue","Sb","Tb","animationend","animationiteration","animationstart","transitionend","Ub","Vb","Wb","Xb","Yb","Zb","$b","ac","bc","cc","dc","alternate","effectTag","ec","memoizedState","dehydrated","fc","hc","child","sibling","ic","jc","kc","lc","_dispatchListeners","_dispatchInstances","isPropagationStopped","isPersistent","release","mc","nc","correspondingUseElement","oc","qc","topLevelType","targetInst","ancestors","rc","eventSystemFlags","sc","containerInfo","tc","uc","vc","wc","xc","yc","zc","Ac","Bc","Cc","Dc","Ec","Fc","Gc","Hc","Ic","Kc","blockedOn","Lc","pointerId","Mc","Nc","Pc","unstable_runWithPriority","hydrate","Qc","Rc","Sc","Tc","Uc","unstable_scheduleCallback","unstable_NormalPriority","Vc","Wc","Yc","Zc","$c","ad","bubbled","captured","eventPriority","bd","cd","unstable_UserBlockingPriority","ed","fd","gd","hd","Oc","jd","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","lineClamp","orphans","tabSize","widows","zIndex","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","kd","ld","md","nd","menuitem","br","col","embed","img","keygen","wbr","od","pd","qd","rd","sd","td","ud","vd","wd","contains","compareDocumentPosition","xd","HTMLIFrameElement","yd","contentEditable","Bd","Cd","Dd","Ed","Fd","autoFocus","Gd","__html","Hd","Id","Jd","Kd","previousSibling","Ld","Md","Nd","Od","Pd","Qd","Rd","Sd","Td","dispatchConfig","Ud","_targetInst","Vd","Wd","Xd","Yd","Zd","Interface","isDefaultPrevented","returnValue","eventPool","destructor","getPooled","cancelBubble","persist","eventPhase","bubbles","cancelable","timeStamp","isTrusted","documentMode","beforeInput","compositionEnd","compositionStart","compositionUpdate","qe","detail","altKey","ue","email","tel","ze","Be","Ge","detachEvent","He","Ie","attachEvent","Je","Ke","Le","_isInputEventSupported","Ne","Alt","Control","Meta","Shift","getModifierState","Qe","Te","Ue","Ve","screenX","screenY","pageX","pageY","button","buttons","relatedTarget","fromElement","toElement","movementX","movementY","We","pressure","tangentialPressure","tiltX","tiltY","twist","pointerType","isPrimary","Xe","mouseEnter","mouseLeave","pointerEnter","pointerLeave","Ye","parentWindow","$e","af","bf","cf","df","ef","ff","gf","hf","jf","selectionStart","selectionEnd","anchorNode","getSelection","anchorOffset","focusNode","focusOffset","kf","elapsedTime","pseudoElement","mf","nf","of","charCode","pf","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Menu","Apps","Scroll","MozPrintableKey","qf","sf","dataTransfer","tf","changedTouches","uf","vf","wheelDeltaX","wheelDeltaY","wheelDelta","deltaZ","deltaMode","wf","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin","zf","Af","Bf","Cf","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","Df","Ef","Ff","getChildContext","Gf","__reactInternalMemoizedMergedChildContext","Hf","If","Jf","Kf","unstable_cancelCallback","Lf","unstable_requestPaint","Mf","unstable_now","Nf","unstable_getCurrentPriorityLevel","Of","unstable_ImmediatePriority","Pf","Qf","Rf","unstable_LowPriority","Sf","unstable_IdlePriority","Tf","Uf","unstable_shouldYield","Vf","Wf","Xf","Yf","Zf","$f","ag","bg","cg","dg","eg","fg","hg","ig","jg","kg","lg","og","pg","childExpirationTime","qg","firstContext","expirationTime","rg","sg","observedBits","responders","tg","ug","updateQueue","baseState","baseQueue","shared","pending","vg","wg","suspenseConfig","xg","yg","zg","ca","Ag","Bg","Cg","Dg","Eg","Fg","Jg","_reactInternalFiber","Gg","Hg","Ig","Kg","Lg","Mg","Ng","Og","Pg","_stringRef","Qg","Rg","lastEffect","nextEffect","firstEffect","Sg","Tg","elementType","Ug","Vg","Wg","Xg","Yg","Zg","ah","bh","dh","tagName","eh","fh","gh","memoizedProps","revealOrder","ih","responder","jh","kh","mh","nh","oh","ph","qh","rh","sh","th","uh","vh","lastRenderedReducer","eagerReducer","eagerState","lastRenderedState","xh","yh","zh","Ah","deps","Bh","Ch","Dh","Eh","Fh","Gh","Hh","Ih","Jh","Kh","Lh","Mh","Nh","readContext","useResponder","useDeferredValue","useTransition","Oh","Ph","Qh","Rh","Sh","Th","pendingProps","Uh","Vh","Wh","Xh","Yh","Zh","$h","bi","di","ei","fi","gi","pendingContext","ni","pi","qi","retryTime","ji","fallback","unstable_avoidThisFallback","ki","li","isBackwards","rendering","renderingStartTime","tailExpiration","tailMode","mi","ri","si","wasMultiple","multiple","onclick","createElementNS","ti","ui","wi","xi","yi","zi","Ai","Bi","WeakSet","Ci","Fi","Ei","Gi","__reactInternalSnapshotBeforeUpdate","Hi","Ii","Ji","Ki","Li","Di","Mi","Ni","Oi","Pi","Qi","Ri","_reactRootContainer","Si","Ti","Ui","Vi","Wi","Xi","Yi","Zi","$i","componentDidCatch","aj","componentStack","Rj","bj","cj","dj","fj","gj","kj","lj","mj","nj","oj","qj","rj","sj","tj","uj","vj","wj","timeoutMs","xj","yj","zj","lastExpiredTime","Aj","firstPendingTime","lastPingedTime","nextKnownPendingLevel","callbackExpirationTime","callbackPriority","callbackNode","Bj","Cj","Dj","Ej","Fj","Gj","Hj","finishedWork","finishedExpirationTime","lastSuspendedTime","Ij","timeoutHandle","Jj","busyMinDurationMs","busyDelayMs","Kj","Mj","Nj","pingCache","Oj","ub","Pj","Xc","Qj","Sj","firstSuspendedTime","rangeCount","wb","activeElementDetached","focusedElem","selectionRange","Tj","setStart","removeAllRanges","addRange","setEnd","vb","Uj","Vj","Wj","ob","Xj","unstable_observedBits","Zj","pendingChildren","ak","bk","ck","dk","ek","fk","Jc","_internalRoot","gk","ik","hasAttribute","hk","jk","kk","unmount","querySelectorAll","form","Lj","lk","findFiberByHostInstance","isDisabled","supportsFiber","inject","onCommitFiberRoot","onCommitFiberUnmount","Yj","overrideHookState","overrideProps","setSuspenseHandler","scheduleUpdate","currentDispatcherRef","findHostInstanceByFiber","findHostInstancesForRefresh","scheduleRefresh","scheduleRoot","setRefreshHandler","getCurrentFiber","bundleType","rendererPackageName","createPortal","findDOMNode","flushSync","unmountComponentAtNode","unstable_batchedUpdates","unstable_createPortal","unstable_renderSubtreeIntoContainer","MessageChannel","unstable_forceFrameRate","port2","port1","sortIndex","priorityLevel","unstable_Profiling","unstable_continueExecution","unstable_getFirstCallbackNode","unstable_next","unstable_pauseExecution","unstable_wrapCallback","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Lazy","Portal","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isForwardRef","isFragment","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","originalModule","super_","prefilter","normalize","lhs","rhs","groupCollapsed","groupEnd","actionTransformer","titleFormatter","started","startedTime","prevState","took","nextState","stateTransformer","errorTransformer","logErrors","diffPredicate","DeepDiff","observableDiff","applyDiff","applyChange","revertChange","isConflict","transformer","Axios","createInstance","defaultConfig","axios","instanceConfig","CancelToken","isCancel","promises","InterceptorManager","dispatchRequest","interceptors","fulfilled","getUri","use","eject","transformData","throwIfCancellationRequested","throwIfRequested","fns","normalizedName","isAxiosError","columnNumber","isAbsoluteURL","combineURLs","requestedURL","relativeURL","ignoreDuplicateOf","parsed","originURL","msie","urlParsingNode","resolveURL","requestURL","domain","secure","toGMTString","executor","resolvePromise","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","componentName","propFullName","secret","getShim","ReactPropTypes","tabbable","xtend","listeningFocusTrap","userOptions","escapeDeactivates","firstTabbableNode","lastTabbableNode","nodeFocusedBeforeActivation","mostRecentlyFocusedNode","trap","activateOptions","updateTabbableNodes","onActivate","addListeners","removeListeners","deactivateOptions","onDeactivate","tryFocus","getInitialFocusNode","checkFocusIn","checkPointerDown","checkClick","checkKey","getNodeForOption","optionValue","clickOutsideDeactivates","isFocusable","Document","stopImmediatePropagation","isEscapeEvent","isTabEvent","checkTab","tabbableNodes","isSelectableInput","candidateSelectors","candidateSelector","msMatchesSelector","webkitMatchesSelector","candidateTabindex","regularTabbables","orderedTabbables","untouchabilityChecker","UntouchabilityChecker","candidates","includeContainer","isNodeMatchingSelectorTabbable","getTabindex","documentOrder","tabIndex","sortOrderedTabbables","isNodeMatchingSelectorFocusable","isInput","isRadio","getCheckedRadio","isTabbableRadio","isNonTabbableRadio","isHiddenInput","isUntouchable","isTabbable","focusableCandidateSelector","tabindexAttr","isContentEditable","elementDocument","hasDisplayNone","nodeComputedStyle","Node","ELEMENT_NODE","computedStyle","_loader","Loader","_propTypes2","_slicedToArray","sliceIterator","_arr","componentNames","Spinner","Audio","_useState","_useState2","setDisplay","_Circles","_Watch","_Audio","_BallTriangle","_Bars","_CradleLoader","_Grid","_Hearts","_MutatingDots","_Oval","_Plane","_Puff","_RevolvingDot","_Rings","_TailSpin","_ThreeDots","_Triangle","Circles","BallTriangle","Bars","CradleLoader","Hearts","MutatingDots","Oval","Plane","Puff","RevolvingDot","Rings","TailSpin","ThreeDots","Triangle","Watch","xmlns","dur","repeatCount","enableBackground","xmlSpace","rx","begin","calcMode","fillRule","stdDeviation","in2","attributeType","keyTimes","keySplines","secondaryColor","strokeLinejoin","stopColor","_assign","HOOKS","_disable","_enable","allowInput","altFormat","altInput","altInputClass","ariaDateFormat","clickOpens","closeOnSelect","conjunction","defaultHour","defaultMinute","defaultSeconds","disable","disableMobile","enable","enableSeconds","enableTime","errorHandler","getWeek","givenDate","setHours","week1","hourIncrement","ignoredFocusElements","inline","minuteIncrement","monthSelectorType","nextArrow","noCalendar","onParseConfig","onPreCalendarPosition","positionElement","prevArrow","shorthandCurrentMonth","showMonths","static","weekNumbers","english","hourAriaLabel","minuteAriaLabel","int","immediate","arrayify","toggleClass","elem","content","clearNode","findParent","condition","createNumberInput","inputClassName","numInput","arrowUp","arrowDown","doNothing","monthToStr","monthNumber","revFormat","dateObj","shortMonth","setSeconds","unixSeconds","weekNum","weekNumber","ISODate","setMinutes","unixMillSeconds","tokenRegex","createDateFormatter","_b","l10n","frmt","overrideLocale","formatDate","createDateParser","givenFormat","timeless","customLocale","parsedDate","dateOrig","datestr","parseDate","ops","matchIndex","regexStr","token_1","isBackSlash","compareDates","date1","date2","FlatpickrInstance","bindToInstance","setCalendarWidth","calendarContainer","daysContainer","daysWidth","weekWrapper","removeProperty","updateTime","selectedDates","setDefaultTime","isKeyDown","curValue","isHourElem","hourElement","isMinuteElem","minuteElement","incrementNumInput","timeWrapper","prevValue","_input","setHoursFromInputs","updateValue","_debouncedChange","secondElement","limitMinHours","minTime","minDate","minDateHasTime","latestSelectedDateObj","maxTime","maxDate","maxDateHasTime","setHoursFromDate","setDefaultHours","minHr","minMinutes","maxHr","maxMinutes","isMobile","onYearInput","changeYear","ev","_handlers","triggerChange","triggerEvent","jumpToDate","jumpDate","jumpTo","oldYear","currentYear","oldMonth","currentMonth","buildMonthSwitch","timeIncrement","inputElem","createDay","dayNumber","dateIsEnabled","isEnabled","dayElement","todayDateElem","isDateSelected","selectedDateElem","isDateInRange","insertAdjacentHTML","focusOnDayElem","targetNode","onMouseOver","getFirstAvailableDay","startMonth","endMonth","endIndex","focusOnDay","dayFocused","isInView","startElem","givenMonth","loopDelta","numMonthDays","changeMonth","getNextAvailableDay","buildMonthDays","firstOfMonth","prevMonthDays","getDaysInMonth","isMultiMonth","prevMonthDayClass","nextMonthDayClass","dayIndex","dayNum","dayContainer","buildDays","frag","shouldBuildMonth","monthsDropdownContainer","buildMonth","monthElement","monthNavFragment","selectedMonth","yearInput","tabindex","yearElement","getElementsByTagName","buildMonths","monthNav","prevMonthNav","yearElements","monthElements","nextMonthNav","buildWeekdays","weekdayContainer","updateWeekdays","isOffset","_hidePrevMonthArrow","_hideNextMonthArrow","updateNavigationCurrentMonth","isCalendarElem","appendTo","documentClick","eventTarget_1","composedPath","getEventTarget","isCalendarElement","lostFocus","isIgnored","timeContainer","newYear","newYearNum","isNewYear","dateToCheck","allowKeydown","allowInlineKeydown","isTimeObj","focusAndClose","selectDate","delta_1","currentYearElement","elems","pluginElements","hoverDate","firstElementChild","initialDate","rangeStartDate","rangeEndDate","containsDisabled","minRange","maxRange","_loop_1","ts","ts1","ts2","dayElem","outOfRange","positionCalendar","minMaxDateSetter","inverseDateObj","setupLocale","customPositionElement","_positionElement","calendarHeight","acc","calendarWidth","configPos","configPosVertical","configPosHorizontal","inputBounds","distanceFromBottom","showOnTop","pageXOffset","rightMost","centerMost","styleSheets","bodyWidth","centerLeft","centerIndex","cssRules","centerStyle","insertRule","centerBefore","msMaxTouchPoints","selectedDate","shouldChangeMonth","selectedIndex","showTimeInput","loadedPlugins","_bind","_setHoursFromDate","_positionCalendar","triggerChangeEvent","toInitial","mobileInput","_initialDate","_createElement","click","wasOpen","option","CALLBACKS","setSelectedDate","inputDate","parseDateRules","rule","initEvent","getDateStr","dObj","mobileFormatStr","onMonthNavClick","isPrevMonth","isNextMonth","boolOpts","userConfig","timeMode","defaultDateFormat","defaultAltFormat","_minDate","_maxDate","minMaxTimeSetter","_minTime","_maxTime","pluginConf","parseConfig","required","preloadedDate","defaultDate","_showTimeInput","setupDates","yr","fragment","__hidePrevMonthArrow","__hideNextMonthArrow","innerContainer","buildWeeks","rContainer","hourInput","minuteInput","military2ampm","secondInput","buildTime","customAppend","build","inputType","setupMobile","debouncedResize","selText","isSafari","nodeList","HTMLElement","args_1","HTMLCollection","NodeList","selector","localize","setDefaults","jQuery","fp_incr","checkYoSelf","matchesSelector","mozMatchesSelector","oMatchesSelector","defaultCmp","heapify","heappop","heappush","heappushpop","heapreplace","insort","nlargest","nsmallest","_siftdown","_siftup","lastelt","returnitem","_ref1","_results","_results1","_j","los","startpos","newitem","parentpos","childpos","endpos","rightpos","pushpop","peek","heap","insert","front","width_or_matrix","matrix","_buildNodes","isInside","setWalkableAt","s0","s1","s2","d2","s3","d3","thisNodes","newGrid","newNodes","BestFirstFinder","BreadthFirstFinder","DijkstraFinder","BiBestFirstFinder","BiBreadthFirstFinder","by","BiDijkstraFinder","IDAStarFinder","trackRecursion","timeLimit","cutoff","neighbour","neighbours","retainCount","tested","cutOff","JPFNeverMoveDiagonally","JPFAlwaysMoveDiagonally","JPFMoveDiagonallyIfNoObstacles","JPFMoveDiagonallyIfAtMostOneObstacle","neighborNodes","neighborNode","isNextWalkable","isTopWalkable","isBottomWalkable","isRightWalkable","isLeftWalkable","_geom","Path","_instructions","printInstrunction","digits","trimZeros","transformParams","instruction","pts","newPts","matrixTransform","transformEllipse","sweepFlag","isDegenerate","ry","ax","newParams","verbosify","plus","hlineto","vlineto","closepath","curveto","smoothcurveto","qcurveto","smoothqcurveto","xrot","largeArcFlag","newInstructions","_ret","_ret2","_ret3","shearX","_ret4","tan","shearY","_ret5","ps","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","instructions","b1","_ref32","a2","b2","distPointToPoint","ay","bx","distPointToParabol","circumCenter","parabolsCrossX","doHalflinesCross","approx","hp","vec","det","torad","JK","newAx","newRx","newRy","atan","webpackContext","req","webpackContextResolve","isMasked","hashClear","hashDelete","hashGet","hashHas","hashSet","setCacheAdd","setCacheHas","ReactReduxContext","nullListeners","createListenerCollection","batch","isSubscribed","parentSub","handleChangeWrapper","_proto","addNestedSub","trySubscribe","notifyNestedSubs","onStateChange","tryUnsubscribe","contextValue","previousState","Context","useIsomorphicLayoutEffect","EMPTY_ARRAY","NO_SUBSCRIPTION_ARRAY","storeStateUpdatesReducer","updateCount","useIsomorphicLayoutEffectWithArgs","effectFunc","effectArgs","captureWrapperProps","lastWrapperProps","lastChildProps","renderIsScheduled","wrapperProps","actualChildProps","childPropsFromStoreUpdate","subscribeUpdates","shouldHandleStateChanges","childPropsSelector","forceComponentUpdateDispatch","didUnsubscribe","lastThrownError","checkForUpdates","newChildProps","latestStoreState","initStateUpdates","connectAdvanced","selectorFactory","_ref2$getDisplayName","getDisplayName","_ref2$methodName","_ref2$renderCountProp","renderCountProp","_ref2$shouldHandleSta","_ref2$storeKey","storeKey","_ref2$forwardRef","withRef","_ref2$context","connectOptions","WrappedComponent","wrappedComponentName","selectorFactoryOptions","usePureOnlyMemo","ConnectFunction","_useMemo","forwardedRef","propsContext","ContextToUse","didStoreComeFromProps","createChildSelector","_useMemo2","overriddenContextValue","_useReducer","previousStateUpdateResult","renderedWrappedComponent","Connect","forwarded","shallowEqual","objA","objB","keysA","keysB","randomString","ActionTypes","INIT","REPLACE","PROBE_UNKNOWN_ACTION","createStore","reducer","preloadedState","enhancer","currentReducer","currentListeners","nextListeners","ensureCanMutateNextListeners","replaceReducer","nextReducer","outerSubscribe","observer","observeState","getUndefinedStateErrorMessage","actionType","bindActionCreator","actionCreator","enumerableOnly","_objectSpread2","getOwnPropertyDescriptors","compose","applyMiddleware","middlewares","_dispatch","middlewareAPI","middleware","wrapMapToPropsConstant","getConstant","constantSelector","dependsOnOwnProps","getDependsOnOwnProps","mapToProps","wrapMapToPropsFunc","stateOrDispatch","ownProps","mapDispatchToProps","actionCreators","boundActionCreators","bindActionCreators","mapStateToProps","defaultMergeProps","stateProps","dispatchProps","mergeProps","mergedProps","areMergedPropsEqual","hasRunOnce","nextMergedProps","wrapMergePropsFunc","impureFinalPropsSelectorFactory","pureFinalPropsSelectorFactory","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","hasRunAtLeastOnce","handleSubsequentCalls","nextOwnProps","nextStateProps","statePropsChanged","propsChanged","stateChanged","finalPropsSelectorFactory","initMapStateToProps","initMapDispatchToProps","initMergeProps","factories","strictEqual","createConnect","_temp","_ref$connectHOC","connectHOC","_ref$mapStateToPropsF","mapStateToPropsFactories","_ref$mapDispatchToPro","mapDispatchToPropsFactories","_ref$mergePropsFactor","mergePropsFactories","_ref$selectorFactory","_ref3$pure","_ref3$areStatesEqual","_ref3$areOwnPropsEqua","_ref3$areStatePropsEq","_ref3$areMergedPropsE","extraOptions","newBatch","createThunkMiddleware","extraArgument","thunk","withExtraArgument","testingCallScenario","post","loadCallListsShort","short","setUserToken","removeUserToken","SETUP_USER","AUTHENTICATE","AUTHENTICATE_SUCCESS","AUTHENTICATE_FAIL","LOGOUT","REGISTRATION","REGISTRATION_SUCCESS","REGISTRATION_FAIL","SEND_CODE","SEND_CODE_SUCCESS","SEND_CODE_FAIL","VERIFY_CODE","VERIFY_CODE_SUCCESS","VERIFY_CODE_FAIL","setup","authenticate","_getState","ApiAuthenticateUser","logout","getToken","ApiLogoutUser","createUser","phone","comment","ApiCreateUser","sendCode","ApiSendCodeAuth","verifyCode","ApiVerifyCodeAuth","INITIAL_STATE","moduleState","getError","isLoginProcess","LOAD_ACCOUNT","LOAD_ACCOUNT_SUCCESS","LOAD_ACCOUNT_FAIL","loadAccount","ApiLoadAccount","loading","account","getAccount","LOAD_OPERATOR","LOAD_OPERATOR_SUCCESS","LOAD_OPERATOR_FAIL","loadOperator","ApiLoadOperator","getOperator","getLoading","LOAD_OPERATORS","LOAD_OPERATORS_SUCCESS","LOAD_OPERATORS_FAIL","loadOperators","ApiLoadOperators","createOperator","ApiCreateOperator","deleteOperator","ApiDeleteOperator","operators","getOperators","LOAD_SCENARIOS","LOAD_SCENARIOS_SUCCESS","LOAD_SCENARIOS_FAIL","loadScenarios","ApiLoadScenarios","createScenario","scenario","ApiCreateScenario","deleteScenario","ApiDeleteScenario","duplicateScenario","ApiDuplicateScenario","scenarios","getScenarios","LOAD_SCENARIO","LOAD_SCENARIO_SUCCESS","LOAD_SCENARIO_FAIL","UPDATE_SCENARIO","UPDATE_SCENARIO_SUCCESS","UPDATE_SCENARIO_FAIL","loadScenario","ApiLoadScenario","updateScenario","put","ApiUpdateScenario","getScenario","LOAD_CALL_LISTS","LOAD_CALL_LISTS_SUCCESS","LOAD_CALL_LISTS_FAIL","loadCallLists","page","ApiLoadCallLists","deleteCallList","ApiDeleteCallList","importCallList","formData","append","file","scenarioId","phoneNumberId","maxAttempts","maxSimultaneous","startAt","ApiImportSpreadsheet","totalItems","maxPages","call_lists","getCallLists","getPage","getTotalCallLists","getMaxPages","TinyEvents","handlerWrap","actionCable","CableSubscription","subsription","received","LOAD_CALL_LIST","LOAD_CALL_LIST_SUCCESS","LOAD_CALL_LIST_FAIL","UPDATE_CALL_LIST","loadCallList","ApiLoadCallList","startCallList","callList","getCallList","ApiStartCallList","stopCallList","ApiStopCallList","resumeCallList","ApiResumeCallList","call_list","LOAD_TASKS","LOAD_TASKS_SUCCESS","LOAD_TASKS_FAIL","UPDATE_TASK","loadTasks","callListId","call_list_id","ApiLoadTasks","cancelTask","ApiCancelTask","tasks","getTasks","getTotalTasks","APPEND_TASK","APPEND_TASK_SUCCESS","APPEND_TASK_FAIL","RESET_TASK","appendTask","ApiAppendTaskCallList","task","getTask","LOAD_PHONE_NUMBERS","LOAD_PHONE_NUMBERS_SUCCESS","LOAD_PHONE_NUMBERS_FAIL","loadPhoneNumbers","ApiLoadPhoneNumbers","phone_numbers","getPhoneNumbers","REQUEST_VERIFY_CODE","REQUEST_VERIFY_CODE_SUCCESS","REQUEST_VERIFY_CODE_FAIL","ACTIVATE","ACTIVATE_SUCCESS","ACTIVATE_FAIL","RESET_ACTIVATION","requestPhoneNumberVerifyCode","phoneNumber","phone_number","ApiRequestPhoneNumberVerifyCode","activatePhoneNumber","ApiActivatePhoneNumber","LOAD_CALLS","LOAD_CALLS_SUCCESS","LOAD_CALLS_FAIL","loadCalls","startDate","endDate","scenario_id","operator_id","operatorId","session_id","callId","ApiLoadCalls","getCalls","getTotalCalls","LOAD_CALLS_CHART","LOAD_CALLS_CHART_SUCCESS","LOAD_CALLS_CHART_FAIL","loadCallsChart","measure","ApiLoadCallsChart","calls_chart","getCallsChart","LOAD_AUDIOS","LOAD_AUDIOS_SUCCESS","LOAD_AUDIOS_FAIL","loadAudios","ApiLoadAudios","audios","getAudios","UPLOAD_AUDIO","UPLOAD_AUDIO_SUCCESS","UPLOAD_AUDIO_FAIL","RESET_AUDIO","uploadAudio","ApiUploadAudio","getAudio","LOAD_PAYMENTS","LOAD_PAYMENTS_SUCCESS","LOAD_PAYMENTS_FAIL","loadPayments","ApiLoadPayments","payments","getPayments","scenario_type","serialized_model","getTemplates","templates","CREATE_INVOICE","CREATE_INVOICE_SUCCESS","CREATE_INVOICE_FAIL","createInvoice","ApiCreateInvoice","invoice","getInvoice","LOAD_USER","LOAD_USER_SUCCESS","LOAD_USER_FAIL","UPDATE_USER","UPDATE_USER_SUCCESS","UPDATE_USER_FAIL","loadUser","ApiLoadUser","updateUser","ApiUpdateUser","LOAD_FEATURES","LOAD_FEATURES_SUCCESS","LOAD_FEATURES_FAIL","UPDATE_FEATURES_SUCCESS","UPDATE_FEATURES_FAIL","loadFeatures","ApiLoadFeatures","updateFeatures","features","ApiUpdateFeatures","getFeatures","LOAD_DASHBOARD_CALLS","LOAD_DASHBOARD_CALLS_SUCCESS","LOAD_DASHBOARD_CALLS_FAIL","ApiLoadDashboardCalls","calls_loading","calls_error","dashboard","getCallsLoading","getCallsError","LOAD_CONTACT_ACTIVITIES","LOAD_CONTACT_ACTIVITIES_SUCCESS","LOAD_CONTACT_ACTIVITIES_FAIL","loadContactActivities","contactId","contact_id","ApiLoadContactActivities","contact_activities","getContactActivities","LOAD_CONTACTS","LOAD_CONTACTS_SUCCESS","LOAD_CONTACTS_FAIL","loadContacts","ApiLoadContacts","contacts","getContacts","LOAD_ACD_QUEUES","LOAD_ACD_QUEUES_SUCCESS","LOAD_ACD_QUEUES_FAIL","loadAcdQueues","ApiLoadAcdQueues","createAcdQueue","operatorsIds","acdQueue","ApiCreateAcdQueue","deleteAcdQueue","ApiDeleteAcdQueue","acd_queues","getAcdQueues","combineReducers","reducers","reducerKeys","finalReducers","shapeAssertionError","finalReducerKeys","assertReducerShape","hasChanged","previousStateForKey","nextStateForKey","errorMessage","total_items","max_pages","newItem","_inheritsLoose","isAbsolute","spliceOne","hasTrailingSlash","toParts","fromParts","isToAbs","isFromAbs","mustEndAbs","up","part","valueEqual","aValue","bValue","addLeadingSlash","stripLeadingSlash","stripBasename","hasBasename","stripTrailingSlash","createPath","createLocation","currentLocation","hashIndex","searchIndex","parsePath","decodeURI","URIError","createTransitionManager","prompt","setPrompt","nextPrompt","confirmTransitionTo","getUserConfirmation","appendListener","notifyListeners","canUseDOM","getConfirmation","confirm","PopStateEvent","HashChangeEvent","getHistoryState","history","createBrowserHistory","globalHistory","canUseHistory","needsHashChangeListener","_props$forceRefresh","forceRefresh","_props$getUserConfirm","_props$keyLength","keyLength","basename","getDOMLocation","historyState","_window$location","createKey","transitionManager","handlePopState","isExtraneousPopstateEvent","handlePop","handleHashChange","forceNextPop","ok","fromLocation","toLocation","toIndex","allKeys","go","revertPop","initialLocation","createHref","checkDOMListeners","isBlocked","pushState","prevIndex","nextKeys","replaceState","goBack","goForward","block","unblock","listen","unlisten","HashChangeEvent$1","HashPathCoders","hashbang","encodePath","decodePath","noslash","slash","stripHash","getHashPath","replaceHashPath","createHashHistory","_props$hashType","hashType","_HashPathCoders$hashT","ignorePath","encodedPath","prevLocation","allPaths","baseTag","pushHashPath","nextPaths","lowerBound","upperBound","createMemoryHistory","_props$initialEntries","initialEntries","_props$initialIndex","initialIndex","nextIndex","nextEntries","canGo","MAX_SIGNED_31_BIT_INT","createEventEmitter","changedBits","calculateChangedBits","_Provider$childContex","_Consumer$contextType","contextProp","emitter","oldValue","_Component2","onUpdate","_proto2","Router","_isMounted","_pendingLocation","staticContext","computeRootMatch","isExact","Lifecycle","onMount","onUnmount","Prompt","_ref$when","when","cacheCount","generatePath","generator","compilePath","Redirect","computedMatch","_ref$push","cache$1","cacheCount$1","matchPath","_options$exact","_options$strict","_options$sensitive","_compilePath","cacheKey","pathCache","compilePath$1","Route","context$1","createURL","staticHandler","Switch","withRouter","wrappedComponentRef","remainingProps","BrowserRouter","resolveToLocation","forwardRefShim","LinkAnchor","innerRef","navigate","_onClick","ex","isModifiedEvent","Link","_ref2$component","forwardRefShim$1","forwardRef$1","_ref$ariaCurrent","ariaCurrent","_ref$activeClassName","activeClassName","activeStyle","classNameProp","isActiveProp","locationProp","styleProp","escapedPath","classnames","joinClassnames","ScrollToTop","scrollTo","AuthenticateContainer","authenticated","unauthenticated","FeaturesLoaderContainer","ActionButton","renderContent","VALID_PUNCTUATION","matchesEntirely","regular_expression","ParseError","DEFAULT_EXT_PREFIX","Metadata","is_object","countries","type_of","validateMetadata","setVersion","countryCode","v3","nonGeographic","nonGeographical","country","getCountryMetadata","callingCode","getCountryCodesForCallingCode","countryCodes","countryCallingCodes","selectNumberingPlan","hasCountry","numberingPlan","NumberingPlan","hasCallingCode","getNumberingPlanMetadata","getCountryCodeForCallingCode","IDDPrefix","defaultIDDPrefix","nationalNumberPattern","possibleLengths","nationalPrefixForParsing","nationalPrefixTransformRule","leadingDigits","hasTypes","ext","country_phone_code_to_countries","country_calling_codes","globalMetadataObject","_getFormats","getDefaultCountryMetadataForRegion","Format","_getNationalPrefixFormattingRule","_nationalPrefixForParsing","nationalPrefix","_getNationalPrefixIsOptionalWhenFormatting","_type2","Type","nationalPrefixFormattingRule","nationalPrefixIsOptionalWhenFormattingInNationalFormat","usesNationalPrefix","FIRST_GROUP_ONLY_PREFIX_PATTERN","getCountryCallingCode","countryCallingCode","isSupportedCountry","v4","create_extension_pattern","purpose","single_extension_characters","RFC3966_EXTN_PREFIX","EXTN_PATTERNS_FOR_PARSING","EXTN_PATTERN","VALID_PHONE_NUMBER_PATTERN","isViablePhoneNumber","DIGITS","parseDigit","character","parseDigits","_isArray","digit","parseIncompletePhoneNumber","parsePhoneNumberCharacter","NON_FIXED_LINE_PHONE_TYPES","getNumberType","nationalNumber","is_of_type","_NON_FIXED_LINE_PHONE","checkNumberLengthForType","type_info","possible_lengths","mobile_type","merged","mergeArrays","actual_length","minimum_length","isPossibleNumber","isInternational","CAPTURING_DIGIT_PATTERN","SINGLE_IDD_PREFIX","stripIDDPrefix","countryMetadata","IDDPrefixPattern","matchedGroups","_arrayWithHoles","_iterableToArrayLimit","_nonIterableRest","DEFAULT_OPTIONS","formatExtension","formattedNumber","extension","formatNumber","chooseCountryByCountryCallingCode","addExtension","formatNationalNumber","formatRFC3966","fromCountry","getIDDPrefix","humanReadable","formattedForSameCountryCallingCode","toCountryCallingCode","toCountryMetadata","fromCountryMetadata","formatIDDSameCountryCallingCodeNumber","FIRST_GROUP_PATTERN","formatNationalNumberUsingFormat","useInternationalSeparator","useNationalPrefixFormattingRule","internationalFormat","applyInternationalSeparatorStyle","formatAs","availableFormats","nationalNnumber","leadingDigitsPatterns","lastLeadingDigitsPattern","chooseFormatForNumber","PhoneNumber","_metadata","isCountryCode","isNonGeographicCallingCode","PHONE_NUMBER_START_PATTERN","AFTER_PHONE_NUMBER_END_PATTERN","defaultCountry","_parseInput","_part$split2","parseRFC3966","throwOnError","startsAt","extractFormattedPhoneNumber","withExtensionStripped","number_without_extension","extractExtension","parseInput","formattedPhoneNumber","_parsePhoneNumber","defaultCallingCode","_extractCountryCallin","_stripNationalPrefixA","stripNationalPrefixAndCarrierCodeFromCompleteNumber","carrierCode","exactCountry","findCountryCode","parsePhoneNumber","hasSelectedNumberingPlan","extended","possible","stripNationalPrefixAndCarrierCode","prefixPattern","prefixMatch","capturedGroupsCount","nationalPhoneNumber","possibleCountries","_findCountryCode","_stripNationalPrefixA2","numberWithoutIDD","_extractCountryCallin2","extractCountryCallingCodeFromInternationalNumberWithoutPlusSign","shorterNumber","_countryCallingCode","possibleShorterNumber","possibleShorterNationalNumber","normalizeArguments","_Array$prototype$slic2","arg_1","arg_2","arg_3","arg_4","parsePhoneNumberFromString","_normalizeArguments","getCountries","count_occurences","close_braces","retained_template","empty_placeholder","cut_before","opening_braces","closing_braces","dangling_braces","caret","should_close_braces","characters_in_template","value_character_index","filled_in_template","template_formatter","found","possibly_last_input_character_index","Keys","setCaretPosition","caret_position","ANDROID_USER_AGENT_REG_EXP","isAndroid","setSelectionRange","_parse","on_change","operation","getOperation","selection","erase_selection","format_input_text","_parse2","parse_character","focused_input_character_index","operation_applied","edit","InputComponent","onCut","ownRef","_onPaste","_onCut","_onKeyDown","isEmptyValue","LONGEST_DUMMY_PHONE_NUMBER","DIGIT_PLACEHOLDER","DIGIT_PLACEHOLDER_MATCHER","NATIONAL_PREFIX_SEPARATORS_PATTERN","CREATE_CHARACTER_CLASS_PATTERN","CREATE_STANDALONE_DIGIT_PATTERN","ELIGIBLE_FORMAT_PATTERN","VALID_FORMATTED_PHONE_NUMBER_PART_PATTERN","AFTER_PHONE_NUMBER_DIGITS_END_PATTERN","AsYouType","optionsOrDefaultCountry","formattedOutput","international","internationalPrefix","nationalNumberDigits","setCountry","initializePhoneNumberFormatsForCountry","matchingFormats","resetFormat","chosenFormat","populatedNationalNumberTemplate","populatedNationalNumberTemplatePosition","formattedDigits","extractFormattedDigits","getFullNumber","inputDigits","getNonFormattedNationalNumber","extractedNumber","hasPlus","startInternationalNumber","nextDigits","isCountryCallingCodeAmbiguous","determineTheCountry","extractCountryCallingCode","previousNationalPrefix","extractNationalPrefix","matchFormats","formatNationalNumberWithNextDigits","attemptToFormatCompletePhoneNumber","previouslyChosenFormat","newlyChosenFormat","chooseFormat","formatNextNationalNumberDigits","reformatNationalNumber","createFormattingTemplate","leadingDigitsPatternIndex","nationalPrefixIsMandatoryWhenFormattingInNationalFormat","leadingDigitsPatternsCount","leadingDigitsPattern","_iterator2","_isArray2","formattedNationalNumber","formattedNationalNumberWithNationalPrefix","getSeparatorAfterNationalPrefix","getInternationalPrefix","getTemplateForNumberFormatPattern","strictPattern","nationalNumberDummyDigits","includesNationalPrefix","numberFormat","getFormatFormat","numberFormatWithNationalPrefix","_iterator3","_isArray3","cutAndStripNonPairedParens","getNonFormattedTemplate","cutBeforeIndex","cleared_string","_dangling_braces","stripNonPairedParens","getInputValuePrefix","removeInputValuePrefix","defaultMetadata","InputSmart","getTemplate","InputBasic","Input","formatIncompletePhoneNumber","countryName","flagUrl","alt","InternationalIcon1x1","InternationalIcon3x2","isCountrySupportedWithError","getSupportedCountries","createCountryIconComponent","FlagComponent","flagComponent","InternationalIcon","internationalIcon","_aspectRatio","getPreSelectedCountry","includeInternationalOption","getCountrySelectOptions","country_names","country_select_options","localeCompare","compare_strings","ZZ","migrateParsedInputForNewCountry","previous_country","new_country","preferNationalFormat","country_calling_prefix","_Object$keys","country_calling_code","strip_country_calling_code","e164","partial_national_significant_number","getNationalSignificantNumberDigits","trimNumber","nationalSignificantNumberPart","overflowDigitsCount","getMaxNumberLength","getCountryForPartialE164Number","partialE164Number","derived_country","get_country_from_possibly_incomplete_international_phone_number","could_number_belong_to_country","getNumber","getInitialParsedInput","_React$PureComponent","PhoneNumberInput_","newCountry","_this$state","newParsedInput","getInputRef","hasUserSelectedACountry","_this$props2","addInternationalOption","limitMaxLength","prevInput","_onFocus","_onBlur","countrySelectProps","_this$props3","_value","_addInternationalOption","_this$props4","countryOptionsOrder","_defaultCountry","CountryIcon","generateInitialParsedInput","_state$props","prevDefaultCountry","prevReset","newDefaultCountry","newReset","newState","parsedCountry","_countries","onCountryChange","selectedCountry","_this$props5","autoComplete","numberInputProps","smartCaret","CountrySelectComponent","countrySelectComponent","displayInitialValueAsLocalNumber","_this$state2","countrySelectOptions","optionsOnTop","optionsOnBottom","divider","sortCountryOptions","countryOptions","getSupportedCountryOptions","countrySelectOptionsMemoDependencies","areEqualArrays","countrySelectOptionsMemo","onCountryFocus","onCountryBlur","iconComponent","PhoneNumberInput","formatNational","generateNationalNumberDigits","getRegionalIndicatorSymbol","fromCodePoint","CountrySelect","onChange_","getSelectedOption","DIVIDER_STYLE","CountrySelectWithIcon","Icon","Arrow","getIconAspectRatio","arrowComponent","unicodeFlags","selectedOption","createPhoneInput","PhoneInputDefault","AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","_ref10","AR","_ref11","AS","_ref12","AT","_ref13","AU","_ref14","AW","_ref15","AX","_ref16","AZ","_ref17","BA","_ref18","BB","_ref19","BD","_ref20","BE","_ref21","BF","_ref22","BG","_ref23","BH","_ref24","BI","_ref25","BJ","_ref26","BL","_ref27","BM","_ref28","BN","_ref29","BO","_ref30","BQ","_ref31","BR","BS","_ref33","BT","_ref34","BV","_ref35","BW","_ref36","BY","_ref37","BZ","_ref38","CA","_ref39","CC","_ref40","CD","_ref41","CF","_ref42","CG","_ref43","CH","_ref44","CI","_ref45","CK","_ref46","CL","_ref47","CM","_ref48","CN","_ref49","CO","_ref50","CR","_ref51","CU","_ref52","CV","_ref53","CW","_ref54","CX","_ref55","CY","_ref56","CZ","_ref57","DE","_ref58","DJ","_ref59","DK","_ref60","DM","_ref61","DO","_ref62","DZ","_ref63","EC","_ref64","EE","_ref65","EG","_ref66","EH","_ref67","ER","_ref68","ES","_ref69","ET","_ref70","FI","_ref71","FJ","_ref72","FK","_ref73","FM","_ref74","FO","_ref75","FR","_ref76","GA","_ref77","GB","_ref78","GD","_ref79","GE","_ref80","GF","_ref81","_ref82","GH","_ref83","GI","_ref84","GL","_ref85","GM","_ref86","GN","_ref87","GP","_ref88","GQ","_ref89","GR","_ref90","GS","_ref91","GT","_ref92","GU","_ref93","GW","_ref94","GY","_ref95","HK","_ref96","HM","_ref97","HN","_ref98","HR","_ref99","HT","_ref100","HU","_ref101","ID","_ref102","IE","_ref103","IL","_ref104","IM","_ref105","IN","_ref106","IO","_ref107","IQ","_ref108","IR","_ref109","IS","_ref110","IT","_ref111","JE","_ref112","JM","_ref113","JO","_ref114","JP","_ref115","KE","_ref116","KG","_ref117","KH","_ref118","KI","_ref119","KM","_ref120","KN","_ref121","KP","_ref122","KR","_ref123","KW","_ref124","KY","_ref125","KZ","_ref126","LA","_ref127","LB","_ref128","LC","_ref129","LI","_ref130","LK","_ref131","LR","_ref132","LS","_ref133","_ref134","LU","_ref135","LV","_ref136","LY","_ref137","MA","_ref138","MC","_ref139","MD","_ref140","ME","_ref141","MF","_ref142","MG","_ref143","MH","_ref144","MK","_ref145","ML","_ref146","_ref147","MN","_ref148","MO","_ref149","MP","_ref150","MQ","_ref151","MR","_ref152","MS","_ref153","MT","_ref154","MU","_ref155","MV","_ref156","MW","_ref157","MX","_ref158","MY","_ref159","MZ","_ref160","NA","_ref161","NC","_ref162","NE","_ref163","NF","_ref164","NG","_ref165","NI","_ref166","NL","_ref167","NO","_ref168","NP","_ref169","NR","_ref170","NU","_ref171","NZ","_ref172","OM","_ref173","PA","_ref174","PE","_ref175","PF","_ref176","PG","_ref177","PH","_ref178","PK","_ref179","PL","_ref180","PM","_ref181","PN","_ref182","PR","_ref183","PS","_ref184","PT","_ref185","PW","_ref186","PY","_ref187","QA","_ref188","RE","_ref189","RO","_ref190","RS","_ref191","_ref192","RW","_ref193","SA","_ref194","SB","_ref195","SC","_ref196","SD","_ref197","SE","_ref198","SG","_ref199","SH","_ref200","SI","_ref201","SJ","_ref202","SK","_ref203","SL","_ref204","SM","_ref205","SN","_ref206","SO","_ref207","SR","_ref208","SS","_ref209","ST","_ref210","SV","_ref211","SX","_ref212","SY","_ref213","SZ","_ref214","TA","_ref215","TC","_ref216","TD","_ref217","TG","_ref218","TH","_ref219","TJ","_ref220","TK","_ref221","TL","_ref222","TM","_ref223","TN","_ref224","TO","_ref225","TR","_ref226","TT","_ref227","TV","_ref228","TW","_ref229","TZ","_ref230","UA","_ref231","UG","_ref232","_ref233","UY","_ref234","UZ","_ref235","VA","_ref236","VC","_ref237","VE","_ref238","VG","_ref239","VI","_ref240","VN","_ref241","VU","_ref242","WF","_ref243","WS","_ref244","XK","_ref245","YE","_ref246","YT","_ref247","ZA","_ref248","ZM","_ref249","ZW","_ref250","PhoneInput","Registration","onChangePhone","onChangeEmail","onChangeComment","onCodeChange","analytics","onSubmit","resendSMS","renderError","renderStepOne","renderStepTwo","renderSteps","RegistrationContainer","Recharge","redirectTo","onChangeAmount","renderForm","renderButtons","pay_url","RechargeContainer","replaceClassName","origClass","classToRemove","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","Transition","initialStatus","appear","isMounting","enter","appearStatus","unmountOnExit","mountOnEnter","nextCallback","updateStatus","nextStatus","cancelNextCallback","getTimeouts","exit","mounting","performEnter","performExit","appearing","timeouts","enterTimeout","safeSetState","onEntered","onEnter","onEntering","onTransitionEnd","onExit","onExiting","onExited","setNextCallback","doesNotHaveTimeoutOrListener","addEndListener","childProps","TransitionGroupContext","baseVal","CSSTransition","appliedClasses","removeClasses","addClass","getClassNames","isStringClassNames","baseClassName","doneClassName","phase","hasClass","_addClass","_this$appliedClasses$","styles","closeIconSize","closeIconSvgPath","onClickCloseIcon","closeButton","closeIcon","_modals","modalManager","modal","styleInject","Modal","blockScroll","handleKeydown","unblockScroll","shouldClose","onOverlayClick","closeOnOverlayClick","onEscKeyDown","closeOnEsc","showPortal","handleOpen","handleClose","showCloseIcon","focusTrapped","overlayId","modalId","closeIconId","ariaLabelledby","ariaDescribedby","handleClickCloseIcon","transitionEnter","appearActive","transitionEnterActive","enterActive","transitionExit","exitActive","transitionExitActive","handleEntered","handleExited","overlay","handleClickOverlay","modalCenter","handleModalEvent","Balance","zeroBalanceShowed","refresh","isZeroBalance","balance","renderZeroBalance","intervalID","ProfileWidget","showMenu","isOpenModal","wrapperRef","toggleShow","handleClickOutside","openModal","renderMenu","renderModal","ProfileWidgetContainer","TopMenu","targetRef","mobileLinks","supervisor","desktopLinks","FullLogo","TopMenuContainer","Login","onChangePassword","LoginContainer","UserUpdater","onClickSave","UserUpdaterContainer","Settings","renderUser","SettingsContainer","RangePicker","dayjs","PaymentPreview","payment","call_id","Payments","onChangeRange","renderActions","renderList","renderPayments","PaymentsContainer","Profile","ProfileContainer","Tip","renderBalloon","ScenarioPreview","onClickDuplicate","onClickDelete","Templates","renderTemplates","klientiks_crm","renderTemplate","Scenarios","onClickNew","renderScenarios","renderEmptyScenarios","ScenariosContainer","Button","Paginator","renderPage","isCurrent","renderSpace","renderLeft","renderRight","CallListPreview","renderDetail","recent","in_progress","processed","canceled","status_human","List","callLists","renderCallLists","renderEmptyCallList","renderHeader","renderPaginator","totalCalls","onChangePage","CallLists","totalCallLists","CallListsContainer","NameInput","onChangeName","filterTags","TestingIncoming","KeyValue","addRow","rows","onClickRemove","row","onChangeRow","newRows","newRow","renderRows","TestingOutcoming","onClickTest","prepareData","onChangeData","renderKeyValue","TestingButton","isModalOpen","renderModalContent","unsaved","Controls","updatedScenario","diagram","serializeDiagram","onChangeUnsaved","renderStatus","renderTestingButton","Panel","onDragStartWrap","blockType","renderItem","tip","draggable","onDragStart","renderIncoming","experimental","renderOutcoming","scenarioType","getRandomValues","BaseNodeModel","rnds8","rng","crypto","msCrypto","byteToHex","buf","rnds","BaseNodeWidget","duplicate","uuidv4","setPosition","BaseNodeFactory","BaseInPortModel","BaseInPortFactory","initialConfig","BaseOutPortModel","BaseOutPortFactory","nodeBuilder","simple","variants","voicemailDetector","backgroundMusic","maxDuration","outputType","lazyPlay","voice","question","retryCount","retryOutputType","retryText","retryVoice","retryUrl","tone","asrDelay","retryAsrDelay","silenceDuration","interrupting","silenceTimeout","asrFiller","storeAnswers","answerPrefix","intentBased","intentPrefix","intent","varName","intervals","avatarId","subject","isLog","isSip","callerId","sipRegistration","notificationText","var1","var2","daysOfWeek","fromTime","toTime","attemptIntervals","waitSilence","needSTT","urlVarName","textVarName","autoPunctuation","statusName","successful","lastPoint","curvy","xOrY","curvyX","curvyY","Diagram","serializedModel","deSerializeDiagram","setDiagramModel","focused","ZOOM_DELTA","addDiagramModelListener","onChangeListener","setCurrentNode","onDrop","dropNode","onClickZoomPlus","onClickZoomMinus","onDragOver","BaseConfigurator","onChangeConfig","StartConfigurator","renderDescription","Ports","onClickAddPort","newPort","onChangePorts","newPorts","nodePort","removePort","renderPorts","renderPortContainer","renderPort","VariantsInput","copyText","clipboard","writeText","GlobalcontextConfigurator","onChangePort","RecordAudio","_initStream","mediaRecorder","MediaRecorder","audioChunks","audioBlob","_stopStream","AddAudio","recording","onClickStart","recorder","record","onClickStop","onClickUpload","onChangeFile","files","renderRecording","renderFileInput","renderAudioPreview","controls","renderAudio","resetAudio","onFinish","renderName","AddAudioContainer","AudioPicker","onChangeFileUrl","onAddAudioFinish","file_url","renderAudios","renderAddAudio","AudioPickerContainer","OutcomingcallConfigurator","onChangeVoicemailDetector","onChangeMaxDuration","onChangePhoneNumber","onChangeBackgroundMusic","renderBackgroundMusic","IncomingcallConfigurator","FailedcallConfigurator","DisconnectedcallConfigurator","VoicePicker","getVoices","onChangeVoice","SayOrPlay","onChangeOutputType","renderOutputTypeSwitch","renderText","onChangeText","renderVoicePicker","renderPlay","onChangeUrl","renderSay","SayorplayConfigurator","onChangeLazyPlay","renderSayOrPlay","renderLazyPlay","SayConfigurator","PlayConfigurator","fileUrl","DelayConfigurator","onChangeSeconds","MicdetectorConfigurator","VariableConfigurator","onChangeValue","onChangeType","onChangeRows","renderTextInput","renderObjectInput","renderValueInput","SuccessConfigurator","EndConfigurator","IVRConfigurator","onChangeQuestion","onChangeRetryCount","onChangeRetryOutputType","onChangeRetryText","onChangeRetryVoice","onChangeRetryUrl","renderTonePicker","renderQuestion","renderRetry","MenuConfigurator","onChangeAsrDelay","onChangeSilenceDuration","onChangeSilenceTimeout","onChangeInterrupting","onChangeAsrFiller","onChangeRetryAsrDelay","onChangeStoreAnswers","onChangeAnswerPrefix","onChangeIntent","renderSilenceDuration","renderSilenceTimeout","renderInterrupting","renderAsrFiller","renderAnswerPrefix","renderIntentFlag","HttpConfigurator","onChangeMethod","onChangeHeaders","onChangeParams","onChangeBody","onChangeVarName","renderEndpoint","renderHeaders","renderParams","renderBody","renderVarName","SetvalueConfigurator","onChangeKey","GetvalueConfigurator","SendemailConfigurator","onChangeFrom","onChangeTo","onChangeSubject","SendsmsConfigurator","TransferConfigurator","onChangeCallerId","onChangeIsSip","onChangeSipRegistration","onChangeNotificationText","OperatorConfigurator","onChangeQueue","acdQueues","ConditionConfigurator","onChangeVar1","onChangeVar2","onChangeOperation","ValueswitchConfigurator","renderValue","CommentConfigurator","onChangeIsLog","RecordConfigurator","onChangeWaitSilence","onChangeUrlVarName","onChangeNeedSTT","onChangeTextVarName","onChangeAutoPunctuation","renderUrlVarName","renderTextVarName","StatusConfigurator","onChangeStatusName","onChangeSuccessful","onChangeInterval","renderInterval","ToneinputConfigurator","WorkingtimeConfigurator","onChangeDaysOfWeek","onChangeFromTime","onChangeToTime","renderDaysOfWeek","dayName","SenddigitsConfigurator","onChangeDigits","AbtestConfigurator","onChangeRatio","DateinputConfigurator","TimepickerConfigurator","onChangeIntervals","renderIntervals","PonytrackConfigurator","NumberinputConfigurator","CalllistConfigurator","onChangeAttemptIntervals","NluConfigurator","onChangeAvatarId","Configurator","configurators","globalcontext","outcomingcall","incomingcall","failedcall","disconnectedcall","sayorplay","say","micdetector","http","setvalue","getvalue","sendemail","sendsms","nlu","success","ivr","menu","transfer","senddigits","valueswitch","toneinput","workingtime","abtest","dateinput","timepicker","ponytrack","numberinput","calllist","renderNodeConfigurator","renderTips","OnUnload","handleLeavePage","Scenario","currentNode","saveScenario","ScenarioContainer","renderScenario","renderNoScenario","formatInterval","AddTask","onClickAdd","renderTask","resetTask","scenario_blocks_variables","AddTaskContainer","TaskPreview","showDetail","onShowDetail","onHideDetail","onClickCancel","renderCancelButton","canCancel","colSpan","renderRow","renderStatusCell","renderPhoneNumber","attempts","last_attempt_at","renderTimes","next_attempt_at","execution_from","execution_to","Tasks","totalTasks","renderStatusTip","renderTimeTip","pecision","dec","toPercent","chartData","groupsEntries","humanizeStatus","CallList","onFinishAddTask","onClickAddTask","scenario_name","phone_number_number","max_attempts","max_simultaneous","start_at","subscribeCallList","subscribeTasks","unsubscribeCallList","unsubscribeTasks","CallListContainer","NewCallList","onChangeMaxAttempts","onChangeMaxSimultaneous","onChangeScenario","onChangeStartAt","renderCallListTemplate","renderScenarioSelect","renderPhoneNumberSelect","phoneNumbers","renderMaxAttempts","renderStartAt","NewCallListContainer","outcomingScenarios","PhoneNumberVerificator","onChangeCode","onClickRequestVerify","onClickActivate","onClickReset","resetPhoneNumberActivation","renderFirstStep","renderSecondStep","isFirstStep","PhoneNumberVerificatorContainer","snapshot","PhoneNumbers","isOpenVerify","openVerify","closeVerify","renderPhoneNumbers","renderEmptyPhoneNumbers","renderPhoneNumberType","own","verified_until","PhoneNumbersContainer","CallsChart","onChangeMeasure","onChangeSelectors","onChangeProperty","callsChart","categories","series","renderCallsChart","renderMeasurePicker","renderPropertyPicker","renderSelectors","CallsChartContainer","filters","Actions","onChangeFilters","renderDateInput","renderCallListSelect","renderCallIdInput","renderReportButton","renderReportMBAButton","renderViewMode","viewMode","onChangeViewMode","CallPreview","renderResult","renderCallIcon","icon","call_incoming","call_successful","InSuccessful","InFailed","OutSuccessful","OutFailed","renderNumber","renderStartTime","start_time","call_record_url","call_duration","operator_username","call_list_name","renderLogs","logs","call_caller_number","call_callee_number","renderCalls","renderEmptyCalls","Calls","newFilters","CallsContainer","ACDStatus","clientEvents","voximplant","onVIStatusChange","OfflinePhone","OnlinePhone","onClickCall","startOutcomingCall","OutcomingPhone","callEvents","onFinished","onClickHangout","updateDuration","getCallDuration","renderDuration","renderCalling","renderConnected","renderFailed","connectedInterval","IncomingPhone","stopRingtone","playRingtone","ringtone","onClickAnswer","onClickDecline","decline","onClickHangup","renderCall","Phone","onOutcomingFinished","onChangeStatus","onChangeCall","onIncomingFinished","renderOffline","renderOnline","renderACDStatus","Contacts","onClickContact","contact","onChangeContact","renderContacts","renderEmptyContacts","renderAllContacts","renderContact","selectedContact","ContactsContainer","Activity","session","contactActivity","ContactActivities","callPhoneNumber","contactActivities","renderContactActivities","renderEmptyContactActivities","renderContactActivity","ContactActivitiesContainer","Operator","connectToSDK","vi_username","vi_password","onConnect","onDisconnect","renderPhone","renderFeed","OperatorContainer","renderOperator","renderNoOperator","Dashboard","renderRangePicker","DashboardContainer","Integrations","IntegrationsContainer","OperatorPreview","AddOperator","onChangeUsername","AddOperatorContainer","onFinishAddOperator","Operators","renderOperators","renderEmptyOperators","OperatorsContainer","AcdQueuePreview","AddAcdQueue","onChangeOperatorsIds","renderOperatorsSelect","isChecked","changeChecked","AddAcdQueueContainer","onFinishAddAcdQueue","AcdQueues","renderAcdQueues","renderEmptyAcdQueues","renderAcdQueue","AcdQueuesContainer","App","initialState","rootReducer","configureStore","ReactDOM"],"mappings":";aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,qBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoB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EAAC23B,KAAK,iBAAiBpyB,UAAW0kR,KAC9C,kBAAC,GAAD,CAAOjqR,OAAK,EAAC23B,KAAK,kBAAkBpyB,UAAWulR,KAC/C,kBAAC,GAAD,CAAO9qR,OAAK,EAAC23B,KAAK,iBAAiBpyB,UAAW+jR,KAC9C,kBAAC,GAAD,CAAOtpR,OAAK,EAAC23B,KAAK,oBAAoBpyB,UAAWikR,KAEjD,kBAAC,GAAD,CAAO7xP,KAAK,IAAIj3B,OAAQ,SAAA6mB,GAAK,OAC3B,kBAACm3M,GAAD,CAAUt1R,MAAI,EAACgD,GAAG,0BAM5Bw1R,gBACE,kBAAC,GAAD,KACE,kBAAC,GAAD,KACE,kBAAC,GAAD,KACE,kBAAC,GAAD,CAAO5hO,OAAK,EAAC23B,KAAK,aAAapyB,UAAW29P,KAC1C,kBAAC,GAAD,CAAOljQ,OAAK,EAAC23B,KAAK,oBAAoBpyB,UAAWw1P,KAEjD,kBAAC,GAAD,CAAOpjO,KAAK,IAAIj3B,OAAQ,SAAA6mB,GAAK,OAC3B,kBAACm3M,GAAD,CAAUt1R,MAAI,EAACgD,GAAG,wB,OC/DlCs3T,KAAM95T,OAAO,MAEb,IAAM+4M,GrOES,WAA8B,IAApBqoI,EAAmB,uDAAJ,GACtC,OAAO9tE,EAAY+tE,GAAaD,EAAczsE,EAAe,WAAf,EAAmBC,KqOHrD0sE,GAEdrnT,SAAS+tB,iBAAiB,oBAAoB,WAC5Cu5R,IAASzqR,OACP,kBAAC,EAAD,CAAUiiJ,MAAOA,IACf,kBAAC,GAAD,OAEF9+K,SAAS8b,KAAKohB,YAAYl9B,SAASw8B,cAAc","file":"js/web_app-c45978233ebd81a03dd7.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/packs/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 389);\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.moment = factory();\n})(this, function () {\n 'use strict';\n\n var hookCallback;\n\n function hooks() {\n return hookCallback.apply(null, arguments);\n } // This is done to register the method called with moment()\n // without creating circular dependencies.\n\n\n function setHookCallback(callback) {\n hookCallback = callback;\n }\n\n function isArray(input) {\n return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';\n }\n\n function isObject(input) {\n // IE8 will treat undefined and null as object if it wasn't for\n // input != null\n return input != null && Object.prototype.toString.call(input) === '[object Object]';\n }\n\n function isObjectEmpty(obj) {\n if (Object.getOwnPropertyNames) {\n return Object.getOwnPropertyNames(obj).length === 0;\n } else {\n var k;\n\n for (k in obj) {\n if (obj.hasOwnProperty(k)) {\n return false;\n }\n }\n\n return true;\n }\n }\n\n function isUndefined(input) {\n return input === void 0;\n }\n\n function isNumber(input) {\n return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]';\n }\n\n function isDate(input) {\n return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';\n }\n\n function map(arr, fn) {\n var res = [],\n i;\n\n for (i = 0; i < arr.length; ++i) {\n res.push(fn(arr[i], i));\n }\n\n return res;\n }\n\n function hasOwnProp(a, b) {\n return Object.prototype.hasOwnProperty.call(a, b);\n }\n\n function extend(a, b) {\n for (var i in b) {\n if (hasOwnProp(b, i)) {\n a[i] = b[i];\n }\n }\n\n if (hasOwnProp(b, 'toString')) {\n a.toString = b.toString;\n }\n\n if (hasOwnProp(b, 'valueOf')) {\n a.valueOf = b.valueOf;\n }\n\n return a;\n }\n\n function createUTC(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, true).utc();\n }\n\n function defaultParsingFlags() {\n // We need to deep clone this object.\n return {\n empty: false,\n unusedTokens: [],\n unusedInput: [],\n overflow: -2,\n charsLeftOver: 0,\n nullInput: false,\n invalidMonth: null,\n invalidFormat: false,\n userInvalidated: false,\n iso: false,\n parsedDateParts: [],\n meridiem: null,\n rfc2822: false,\n weekdayMismatch: false\n };\n }\n\n function getParsingFlags(m) {\n if (m._pf == null) {\n m._pf = defaultParsingFlags();\n }\n\n return m._pf;\n }\n\n var some;\n\n if (Array.prototype.some) {\n some = Array.prototype.some;\n } else {\n some = function some(fun) {\n var t = Object(this);\n var len = t.length >>> 0;\n\n for (var i = 0; i < len; i++) {\n if (i in t && fun.call(this, t[i], i, t)) {\n return true;\n }\n }\n\n return false;\n };\n }\n\n function isValid(m) {\n if (m._isValid == null) {\n var flags = getParsingFlags(m);\n var parsedParts = some.call(flags.parsedDateParts, function (i) {\n return i != null;\n });\n var isNowValid = !isNaN(m._d.getTime()) && flags.overflow < 0 && !flags.empty && !flags.invalidMonth && !flags.invalidWeekday && !flags.weekdayMismatch && !flags.nullInput && !flags.invalidFormat && !flags.userInvalidated && (!flags.meridiem || flags.meridiem && parsedParts);\n\n if (m._strict) {\n isNowValid = isNowValid && flags.charsLeftOver === 0 && flags.unusedTokens.length === 0 && flags.bigHour === undefined;\n }\n\n if (Object.isFrozen == null || !Object.isFrozen(m)) {\n m._isValid = isNowValid;\n } else {\n return isNowValid;\n }\n }\n\n return m._isValid;\n }\n\n function createInvalid(flags) {\n var m = createUTC(NaN);\n\n if (flags != null) {\n extend(getParsingFlags(m), flags);\n } else {\n getParsingFlags(m).userInvalidated = true;\n }\n\n return m;\n } // Plugins that add properties should also add the key here (null value),\n // so we can properly clone ourselves.\n\n\n var momentProperties = hooks.momentProperties = [];\n\n function copyConfig(to, from) {\n var i, prop, val;\n\n if (!isUndefined(from._isAMomentObject)) {\n to._isAMomentObject = from._isAMomentObject;\n }\n\n if (!isUndefined(from._i)) {\n to._i = from._i;\n }\n\n if (!isUndefined(from._f)) {\n to._f = from._f;\n }\n\n if (!isUndefined(from._l)) {\n to._l = from._l;\n }\n\n if (!isUndefined(from._strict)) {\n to._strict = from._strict;\n }\n\n if (!isUndefined(from._tzm)) {\n to._tzm = from._tzm;\n }\n\n if (!isUndefined(from._isUTC)) {\n to._isUTC = from._isUTC;\n }\n\n if (!isUndefined(from._offset)) {\n to._offset = from._offset;\n }\n\n if (!isUndefined(from._pf)) {\n to._pf = getParsingFlags(from);\n }\n\n if (!isUndefined(from._locale)) {\n to._locale = from._locale;\n }\n\n if (momentProperties.length > 0) {\n for (i = 0; i < momentProperties.length; i++) {\n prop = momentProperties[i];\n val = from[prop];\n\n if (!isUndefined(val)) {\n to[prop] = val;\n }\n }\n }\n\n return to;\n }\n\n var updateInProgress = false; // Moment prototype object\n\n function Moment(config) {\n copyConfig(this, config);\n this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n\n if (!this.isValid()) {\n this._d = new Date(NaN);\n } // Prevent infinite loop in case updateOffset creates new moment\n // objects.\n\n\n if (updateInProgress === false) {\n updateInProgress = true;\n hooks.updateOffset(this);\n updateInProgress = false;\n }\n }\n\n function isMoment(obj) {\n return obj instanceof Moment || obj != null && obj._isAMomentObject != null;\n }\n\n function absFloor(number) {\n if (number < 0) {\n // -0 -> 0\n return Math.ceil(number) || 0;\n } else {\n return Math.floor(number);\n }\n }\n\n function toInt(argumentForCoercion) {\n var coercedNumber = +argumentForCoercion,\n value = 0;\n\n if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n value = absFloor(coercedNumber);\n }\n\n return value;\n } // compare two arrays, return the number of differences\n\n\n function compareArrays(array1, array2, dontConvert) {\n var len = Math.min(array1.length, array2.length),\n lengthDiff = Math.abs(array1.length - array2.length),\n diffs = 0,\n i;\n\n for (i = 0; i < len; i++) {\n if (dontConvert && array1[i] !== array2[i] || !dontConvert && toInt(array1[i]) !== toInt(array2[i])) {\n diffs++;\n }\n }\n\n return diffs + lengthDiff;\n }\n\n function warn(msg) {\n if (hooks.suppressDeprecationWarnings === false && typeof console !== 'undefined' && console.warn) {\n console.warn('Deprecation warning: ' + msg);\n }\n }\n\n function deprecate(msg, fn) {\n var firstTime = true;\n return extend(function () {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(null, msg);\n }\n\n if (firstTime) {\n var args = [];\n var arg;\n\n for (var i = 0; i < arguments.length; i++) {\n arg = '';\n\n if (_typeof(arguments[i]) === 'object') {\n arg += '\\n[' + i + '] ';\n\n for (var key in arguments[0]) {\n arg += key + ': ' + arguments[0][key] + ', ';\n }\n\n arg = arg.slice(0, -2); // Remove trailing comma and space\n } else {\n arg = arguments[i];\n }\n\n args.push(arg);\n }\n\n warn(msg + '\\nArguments: ' + Array.prototype.slice.call(args).join('') + '\\n' + new Error().stack);\n firstTime = false;\n }\n\n return fn.apply(this, arguments);\n }, fn);\n }\n\n var deprecations = {};\n\n function deprecateSimple(name, msg) {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(name, msg);\n }\n\n if (!deprecations[name]) {\n warn(msg);\n deprecations[name] = true;\n }\n }\n\n hooks.suppressDeprecationWarnings = false;\n hooks.deprecationHandler = null;\n\n function isFunction(input) {\n return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';\n }\n\n function set(config) {\n var prop, i;\n\n for (i in config) {\n prop = config[i];\n\n if (isFunction(prop)) {\n this[i] = prop;\n } else {\n this['_' + i] = prop;\n }\n }\n\n this._config = config; // Lenient ordinal parsing accepts just a number in addition to\n // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n\n this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + '|' + /\\d{1,2}/.source);\n }\n\n function mergeConfigs(parentConfig, childConfig) {\n var res = extend({}, parentConfig),\n prop;\n\n for (prop in childConfig) {\n if (hasOwnProp(childConfig, prop)) {\n if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n res[prop] = {};\n extend(res[prop], parentConfig[prop]);\n extend(res[prop], childConfig[prop]);\n } else if (childConfig[prop] != null) {\n res[prop] = childConfig[prop];\n } else {\n delete res[prop];\n }\n }\n }\n\n for (prop in parentConfig) {\n if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject(parentConfig[prop])) {\n // make sure changes to properties don't modify parent config\n res[prop] = extend({}, res[prop]);\n }\n }\n\n return res;\n }\n\n function Locale(config) {\n if (config != null) {\n this.set(config);\n }\n }\n\n var keys;\n\n if (Object.keys) {\n keys = Object.keys;\n } else {\n keys = function keys(obj) {\n var i,\n res = [];\n\n for (i in obj) {\n if (hasOwnProp(obj, i)) {\n res.push(i);\n }\n }\n\n return res;\n };\n }\n\n var defaultCalendar = {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L'\n };\n\n function calendar(key, mom, now) {\n var output = this._calendar[key] || this._calendar['sameElse'];\n return isFunction(output) ? output.call(mom, now) : output;\n }\n\n var defaultLongDateFormat = {\n LTS: 'h:mm:ss A',\n LT: 'h:mm A',\n L: 'MM/DD/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY h:mm A',\n LLLL: 'dddd, MMMM D, YYYY h:mm A'\n };\n\n function longDateFormat(key) {\n var format = this._longDateFormat[key],\n formatUpper = this._longDateFormat[key.toUpperCase()];\n\n if (format || !formatUpper) {\n return format;\n }\n\n this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) {\n return val.slice(1);\n });\n return this._longDateFormat[key];\n }\n\n var defaultInvalidDate = 'Invalid date';\n\n function invalidDate() {\n return this._invalidDate;\n }\n\n var defaultOrdinal = '%d';\n var defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n\n function ordinal(number) {\n return this._ordinal.replace('%d', number);\n }\n\n var defaultRelativeTime = {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years'\n };\n\n function relativeTime(number, withoutSuffix, string, isFuture) {\n var output = this._relativeTime[string];\n return isFunction(output) ? output(number, withoutSuffix, string, isFuture) : output.replace(/%d/i, number);\n }\n\n function pastFuture(diff, output) {\n var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n }\n\n var aliases = {};\n\n function addUnitAlias(unit, shorthand) {\n var lowerCase = unit.toLowerCase();\n aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;\n }\n\n function normalizeUnits(units) {\n return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined;\n }\n\n function normalizeObjectUnits(inputObject) {\n var normalizedInput = {},\n normalizedProp,\n prop;\n\n for (prop in inputObject) {\n if (hasOwnProp(inputObject, prop)) {\n normalizedProp = normalizeUnits(prop);\n\n if (normalizedProp) {\n normalizedInput[normalizedProp] = inputObject[prop];\n }\n }\n }\n\n return normalizedInput;\n }\n\n var priorities = {};\n\n function addUnitPriority(unit, priority) {\n priorities[unit] = priority;\n }\n\n function getPrioritizedUnits(unitsObj) {\n var units = [];\n\n for (var u in unitsObj) {\n units.push({\n unit: u,\n priority: priorities[u]\n });\n }\n\n units.sort(function (a, b) {\n return a.priority - b.priority;\n });\n return units;\n }\n\n function zeroFill(number, targetLength, forceSign) {\n var absNumber = '' + Math.abs(number),\n zerosToFill = targetLength - absNumber.length,\n sign = number >= 0;\n return (sign ? forceSign ? '+' : '' : '-') + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;\n }\n\n var formattingTokens = /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;\n var localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g;\n var formatFunctions = {};\n var formatTokenFunctions = {}; // token: 'M'\n // padded: ['MM', 2]\n // ordinal: 'Mo'\n // callback: function () { this.month() + 1 }\n\n function addFormatToken(token, padded, ordinal, callback) {\n var func = callback;\n\n if (typeof callback === 'string') {\n func = function func() {\n return this[callback]();\n };\n }\n\n if (token) {\n formatTokenFunctions[token] = func;\n }\n\n if (padded) {\n formatTokenFunctions[padded[0]] = function () {\n return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n };\n }\n\n if (ordinal) {\n formatTokenFunctions[ordinal] = function () {\n return this.localeData().ordinal(func.apply(this, arguments), token);\n };\n }\n }\n\n function removeFormattingTokens(input) {\n if (input.match(/\\[[\\s\\S]/)) {\n return input.replace(/^\\[|\\]$/g, '');\n }\n\n return input.replace(/\\\\/g, '');\n }\n\n function makeFormatFunction(format) {\n var array = format.match(formattingTokens),\n i,\n length;\n\n for (i = 0, length = array.length; i < length; i++) {\n if (formatTokenFunctions[array[i]]) {\n array[i] = formatTokenFunctions[array[i]];\n } else {\n array[i] = removeFormattingTokens(array[i]);\n }\n }\n\n return function (mom) {\n var output = '',\n i;\n\n for (i = 0; i < length; i++) {\n output += isFunction(array[i]) ? array[i].call(mom, format) : array[i];\n }\n\n return output;\n };\n } // format date using native date object\n\n\n function formatMoment(m, format) {\n if (!m.isValid()) {\n return m.localeData().invalidDate();\n }\n\n format = expandFormat(format, m.localeData());\n formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format);\n return formatFunctions[format](m);\n }\n\n function expandFormat(format, locale) {\n var i = 5;\n\n function replaceLongDateFormatTokens(input) {\n return locale.longDateFormat(input) || input;\n }\n\n localFormattingTokens.lastIndex = 0;\n\n while (i >= 0 && localFormattingTokens.test(format)) {\n format = format.replace(localFormattingTokens, replaceLongDateFormatTokens);\n localFormattingTokens.lastIndex = 0;\n i -= 1;\n }\n\n return format;\n }\n\n var match1 = /\\d/; // 0 - 9\n\n var match2 = /\\d\\d/; // 00 - 99\n\n var match3 = /\\d{3}/; // 000 - 999\n\n var match4 = /\\d{4}/; // 0000 - 9999\n\n var match6 = /[+-]?\\d{6}/; // -999999 - 999999\n\n var match1to2 = /\\d\\d?/; // 0 - 99\n\n var match3to4 = /\\d\\d\\d\\d?/; // 999 - 9999\n\n var match5to6 = /\\d\\d\\d\\d\\d\\d?/; // 99999 - 999999\n\n var match1to3 = /\\d{1,3}/; // 0 - 999\n\n var match1to4 = /\\d{1,4}/; // 0 - 9999\n\n var match1to6 = /[+-]?\\d{1,6}/; // -999999 - 999999\n\n var matchUnsigned = /\\d+/; // 0 - inf\n\n var matchSigned = /[+-]?\\d+/; // -inf - inf\n\n var matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi; // +00:00 -00:00 +0000 -0000 or Z\n\n var matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi; // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n\n var matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/; // 123456789 123456789.123\n // any word (or two) characters or numbers including two/three word month in arabic.\n // includes scottish gaelic two word and hyphenated months\n\n var matchWord = /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i;\n var regexes = {};\n\n function addRegexToken(token, regex, strictRegex) {\n regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) {\n return isStrict && strictRegex ? strictRegex : regex;\n };\n }\n\n function getParseRegexForToken(token, config) {\n if (!hasOwnProp(regexes, token)) {\n return new RegExp(unescapeFormat(token));\n }\n\n return regexes[token](config._strict, config._locale);\n } // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n\n\n function unescapeFormat(s) {\n return regexEscape(s.replace('\\\\', '').replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g, function (matched, p1, p2, p3, p4) {\n return p1 || p2 || p3 || p4;\n }));\n }\n\n function regexEscape(s) {\n return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n }\n\n var tokens = {};\n\n function addParseToken(token, callback) {\n var i,\n func = callback;\n\n if (typeof token === 'string') {\n token = [token];\n }\n\n if (isNumber(callback)) {\n func = function func(input, array) {\n array[callback] = toInt(input);\n };\n }\n\n for (i = 0; i < token.length; i++) {\n tokens[token[i]] = func;\n }\n }\n\n function addWeekParseToken(token, callback) {\n addParseToken(token, function (input, array, config, token) {\n config._w = config._w || {};\n callback(input, config._w, config, token);\n });\n }\n\n function addTimeToArrayFromToken(token, input, config) {\n if (input != null && hasOwnProp(tokens, token)) {\n tokens[token](input, config._a, config, token);\n }\n }\n\n var YEAR = 0;\n var MONTH = 1;\n var DATE = 2;\n var HOUR = 3;\n var MINUTE = 4;\n var SECOND = 5;\n var MILLISECOND = 6;\n var WEEK = 7;\n var WEEKDAY = 8; // FORMATTING\n\n addFormatToken('Y', 0, 0, function () {\n var y = this.year();\n return y <= 9999 ? '' + y : '+' + y;\n });\n addFormatToken(0, ['YY', 2], 0, function () {\n return this.year() % 100;\n });\n addFormatToken(0, ['YYYY', 4], 0, 'year');\n addFormatToken(0, ['YYYYY', 5], 0, 'year');\n addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); // ALIASES\n\n addUnitAlias('year', 'y'); // PRIORITIES\n\n addUnitPriority('year', 1); // PARSING\n\n addRegexToken('Y', matchSigned);\n addRegexToken('YY', match1to2, match2);\n addRegexToken('YYYY', match1to4, match4);\n addRegexToken('YYYYY', match1to6, match6);\n addRegexToken('YYYYYY', match1to6, match6);\n addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n addParseToken('YYYY', function (input, array) {\n array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n });\n addParseToken('YY', function (input, array) {\n array[YEAR] = hooks.parseTwoDigitYear(input);\n });\n addParseToken('Y', function (input, array) {\n array[YEAR] = parseInt(input, 10);\n }); // HELPERS\n\n function daysInYear(year) {\n return isLeapYear(year) ? 366 : 365;\n }\n\n function isLeapYear(year) {\n return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;\n } // HOOKS\n\n\n hooks.parseTwoDigitYear = function (input) {\n return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n }; // MOMENTS\n\n\n var getSetYear = makeGetSet('FullYear', true);\n\n function getIsLeapYear() {\n return isLeapYear(this.year());\n }\n\n function makeGetSet(unit, keepTime) {\n return function (value) {\n if (value != null) {\n set$1(this, unit, value);\n hooks.updateOffset(this, keepTime);\n return this;\n } else {\n return get(this, unit);\n }\n };\n }\n\n function get(mom, unit) {\n return mom.isValid() ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN;\n }\n\n function set$1(mom, unit, value) {\n if (mom.isValid() && !isNaN(value)) {\n if (unit === 'FullYear' && isLeapYear(mom.year()) && mom.month() === 1 && mom.date() === 29) {\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value, mom.month(), daysInMonth(value, mom.month()));\n } else {\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);\n }\n }\n } // MOMENTS\n\n\n function stringGet(units) {\n units = normalizeUnits(units);\n\n if (isFunction(this[units])) {\n return this[units]();\n }\n\n return this;\n }\n\n function stringSet(units, value) {\n if (_typeof(units) === 'object') {\n units = normalizeObjectUnits(units);\n var prioritized = getPrioritizedUnits(units);\n\n for (var i = 0; i < prioritized.length; i++) {\n this[prioritized[i].unit](units[prioritized[i].unit]);\n }\n } else {\n units = normalizeUnits(units);\n\n if (isFunction(this[units])) {\n return this[units](value);\n }\n }\n\n return this;\n }\n\n function mod(n, x) {\n return (n % x + x) % x;\n }\n\n var indexOf;\n\n if (Array.prototype.indexOf) {\n indexOf = Array.prototype.indexOf;\n } else {\n indexOf = function indexOf(o) {\n // I know\n var i;\n\n for (i = 0; i < this.length; ++i) {\n if (this[i] === o) {\n return i;\n }\n }\n\n return -1;\n };\n }\n\n function daysInMonth(year, month) {\n if (isNaN(year) || isNaN(month)) {\n return NaN;\n }\n\n var modMonth = mod(month, 12);\n year += (month - modMonth) / 12;\n return modMonth === 1 ? isLeapYear(year) ? 29 : 28 : 31 - modMonth % 7 % 2;\n } // FORMATTING\n\n\n addFormatToken('M', ['MM', 2], 'Mo', function () {\n return this.month() + 1;\n });\n addFormatToken('MMM', 0, 0, function (format) {\n return this.localeData().monthsShort(this, format);\n });\n addFormatToken('MMMM', 0, 0, function (format) {\n return this.localeData().months(this, format);\n }); // ALIASES\n\n addUnitAlias('month', 'M'); // PRIORITY\n\n addUnitPriority('month', 8); // PARSING\n\n addRegexToken('M', match1to2);\n addRegexToken('MM', match1to2, match2);\n addRegexToken('MMM', function (isStrict, locale) {\n return locale.monthsShortRegex(isStrict);\n });\n addRegexToken('MMMM', function (isStrict, locale) {\n return locale.monthsRegex(isStrict);\n });\n addParseToken(['M', 'MM'], function (input, array) {\n array[MONTH] = toInt(input) - 1;\n });\n addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n var month = config._locale.monthsParse(input, token, config._strict); // if we didn't find a month name, mark the date as invalid.\n\n\n if (month != null) {\n array[MONTH] = month;\n } else {\n getParsingFlags(config).invalidMonth = input;\n }\n }); // LOCALES\n\n var MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/;\n var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_');\n\n function localeMonths(m, format) {\n if (!m) {\n return isArray(this._months) ? this._months : this._months['standalone'];\n }\n\n return isArray(this._months) ? this._months[m.month()] : this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()];\n }\n\n var defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_');\n\n function localeMonthsShort(m, format) {\n if (!m) {\n return isArray(this._monthsShort) ? this._monthsShort : this._monthsShort['standalone'];\n }\n\n return isArray(this._monthsShort) ? this._monthsShort[m.month()] : this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];\n }\n\n function handleStrictParse(monthName, format, strict) {\n var i,\n ii,\n mom,\n llc = monthName.toLocaleLowerCase();\n\n if (!this._monthsParse) {\n // this is not used\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n\n for (i = 0; i < 12; ++i) {\n mom = createUTC([2000, i]);\n this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase();\n this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n }\n }\n\n if (strict) {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n\n function localeMonthsParse(monthName, format, strict) {\n var i, mom, regex;\n\n if (this._monthsParseExact) {\n return handleStrictParse.call(this, monthName, format, strict);\n }\n\n if (!this._monthsParse) {\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n } // TODO: add sorting\n // Sorting makes sure if one month (or abbr) is a prefix of another\n // see sorting in computeMonthsParse\n\n\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n\n if (strict && !this._longMonthsParse[i]) {\n this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i');\n this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i');\n }\n\n if (!strict && !this._monthsParse[i]) {\n regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n } // test the regex\n\n\n if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) {\n return i;\n } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) {\n return i;\n } else if (!strict && this._monthsParse[i].test(monthName)) {\n return i;\n }\n }\n } // MOMENTS\n\n\n function setMonth(mom, value) {\n var dayOfMonth;\n\n if (!mom.isValid()) {\n // No op\n return mom;\n }\n\n if (typeof value === 'string') {\n if (/^\\d+$/.test(value)) {\n value = toInt(value);\n } else {\n value = mom.localeData().monthsParse(value); // TODO: Another silent failure?\n\n if (!isNumber(value)) {\n return mom;\n }\n }\n }\n\n dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));\n\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);\n\n return mom;\n }\n\n function getSetMonth(value) {\n if (value != null) {\n setMonth(this, value);\n hooks.updateOffset(this, true);\n return this;\n } else {\n return get(this, 'Month');\n }\n }\n\n function getDaysInMonth() {\n return daysInMonth(this.year(), this.month());\n }\n\n var defaultMonthsShortRegex = matchWord;\n\n function monthsShortRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n\n if (isStrict) {\n return this._monthsShortStrictRegex;\n } else {\n return this._monthsShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsShortRegex')) {\n this._monthsShortRegex = defaultMonthsShortRegex;\n }\n\n return this._monthsShortStrictRegex && isStrict ? this._monthsShortStrictRegex : this._monthsShortRegex;\n }\n }\n\n var defaultMonthsRegex = matchWord;\n\n function monthsRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n\n if (isStrict) {\n return this._monthsStrictRegex;\n } else {\n return this._monthsRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsRegex')) {\n this._monthsRegex = defaultMonthsRegex;\n }\n\n return this._monthsStrictRegex && isStrict ? this._monthsStrictRegex : this._monthsRegex;\n }\n }\n\n function computeMonthsParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n\n var shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom;\n\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n shortPieces.push(this.monthsShort(mom, ''));\n longPieces.push(this.months(mom, ''));\n mixedPieces.push(this.months(mom, ''));\n mixedPieces.push(this.monthsShort(mom, ''));\n } // Sorting makes sure if one month (or abbr) is a prefix of another it\n // will match the longer piece.\n\n\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n\n for (i = 0; i < 12; i++) {\n shortPieces[i] = regexEscape(shortPieces[i]);\n longPieces[i] = regexEscape(longPieces[i]);\n }\n\n for (i = 0; i < 24; i++) {\n mixedPieces[i] = regexEscape(mixedPieces[i]);\n }\n\n this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._monthsShortRegex = this._monthsRegex;\n this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');\n this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');\n }\n\n function createDate(y, m, d, h, M, s, ms) {\n // can't just apply() to create a date:\n // https://stackoverflow.com/q/181348\n var date; // the date constructor remaps years 0-99 to 1900-1999\n\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n date = new Date(y + 400, m, d, h, M, s, ms);\n\n if (isFinite(date.getFullYear())) {\n date.setFullYear(y);\n }\n } else {\n date = new Date(y, m, d, h, M, s, ms);\n }\n\n return date;\n }\n\n function createUTCDate(y) {\n var date; // the Date.UTC function remaps years 0-99 to 1900-1999\n\n if (y < 100 && y >= 0) {\n var args = Array.prototype.slice.call(arguments); // preserve leap years using a full 400 year cycle, then reset\n\n args[0] = y + 400;\n date = new Date(Date.UTC.apply(null, args));\n\n if (isFinite(date.getUTCFullYear())) {\n date.setUTCFullYear(y);\n }\n } else {\n date = new Date(Date.UTC.apply(null, arguments));\n }\n\n return date;\n } // start-of-first-week - start-of-year\n\n\n function firstWeekOffset(year, dow, doy) {\n var // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n fwd = 7 + dow - doy,\n // first-week day local weekday -- which local weekday is fwd\n fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n return -fwdlw + fwd - 1;\n } // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n\n\n function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n var localWeekday = (7 + weekday - dow) % 7,\n weekOffset = firstWeekOffset(year, dow, doy),\n dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n resYear,\n resDayOfYear;\n\n if (dayOfYear <= 0) {\n resYear = year - 1;\n resDayOfYear = daysInYear(resYear) + dayOfYear;\n } else if (dayOfYear > daysInYear(year)) {\n resYear = year + 1;\n resDayOfYear = dayOfYear - daysInYear(year);\n } else {\n resYear = year;\n resDayOfYear = dayOfYear;\n }\n\n return {\n year: resYear,\n dayOfYear: resDayOfYear\n };\n }\n\n function weekOfYear(mom, dow, doy) {\n var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n resWeek,\n resYear;\n\n if (week < 1) {\n resYear = mom.year() - 1;\n resWeek = week + weeksInYear(resYear, dow, doy);\n } else if (week > weeksInYear(mom.year(), dow, doy)) {\n resWeek = week - weeksInYear(mom.year(), dow, doy);\n resYear = mom.year() + 1;\n } else {\n resYear = mom.year();\n resWeek = week;\n }\n\n return {\n week: resWeek,\n year: resYear\n };\n }\n\n function weeksInYear(year, dow, doy) {\n var weekOffset = firstWeekOffset(year, dow, doy),\n weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n } // FORMATTING\n\n\n addFormatToken('w', ['ww', 2], 'wo', 'week');\n addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); // ALIASES\n\n addUnitAlias('week', 'w');\n addUnitAlias('isoWeek', 'W'); // PRIORITIES\n\n addUnitPriority('week', 5);\n addUnitPriority('isoWeek', 5); // PARSING\n\n addRegexToken('w', match1to2);\n addRegexToken('ww', match1to2, match2);\n addRegexToken('W', match1to2);\n addRegexToken('WW', match1to2, match2);\n addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) {\n week[token.substr(0, 1)] = toInt(input);\n }); // HELPERS\n // LOCALES\n\n function localeWeek(mom) {\n return weekOfYear(mom, this._week.dow, this._week.doy).week;\n }\n\n var defaultLocaleWeek = {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n };\n\n function localeFirstDayOfWeek() {\n return this._week.dow;\n }\n\n function localeFirstDayOfYear() {\n return this._week.doy;\n } // MOMENTS\n\n\n function getSetWeek(input) {\n var week = this.localeData().week(this);\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n\n function getSetISOWeek(input) {\n var week = weekOfYear(this, 1, 4).week;\n return input == null ? week : this.add((input - week) * 7, 'd');\n } // FORMATTING\n\n\n addFormatToken('d', 0, 'do', 'day');\n addFormatToken('dd', 0, 0, function (format) {\n return this.localeData().weekdaysMin(this, format);\n });\n addFormatToken('ddd', 0, 0, function (format) {\n return this.localeData().weekdaysShort(this, format);\n });\n addFormatToken('dddd', 0, 0, function (format) {\n return this.localeData().weekdays(this, format);\n });\n addFormatToken('e', 0, 0, 'weekday');\n addFormatToken('E', 0, 0, 'isoWeekday'); // ALIASES\n\n addUnitAlias('day', 'd');\n addUnitAlias('weekday', 'e');\n addUnitAlias('isoWeekday', 'E'); // PRIORITY\n\n addUnitPriority('day', 11);\n addUnitPriority('weekday', 11);\n addUnitPriority('isoWeekday', 11); // PARSING\n\n addRegexToken('d', match1to2);\n addRegexToken('e', match1to2);\n addRegexToken('E', match1to2);\n addRegexToken('dd', function (isStrict, locale) {\n return locale.weekdaysMinRegex(isStrict);\n });\n addRegexToken('ddd', function (isStrict, locale) {\n return locale.weekdaysShortRegex(isStrict);\n });\n addRegexToken('dddd', function (isStrict, locale) {\n return locale.weekdaysRegex(isStrict);\n });\n addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n var weekday = config._locale.weekdaysParse(input, token, config._strict); // if we didn't get a weekday name, mark the date as invalid\n\n\n if (weekday != null) {\n week.d = weekday;\n } else {\n getParsingFlags(config).invalidWeekday = input;\n }\n });\n addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n week[token] = toInt(input);\n }); // HELPERS\n\n function parseWeekday(input, locale) {\n if (typeof input !== 'string') {\n return input;\n }\n\n if (!isNaN(input)) {\n return parseInt(input, 10);\n }\n\n input = locale.weekdaysParse(input);\n\n if (typeof input === 'number') {\n return input;\n }\n\n return null;\n }\n\n function parseIsoWeekday(input, locale) {\n if (typeof input === 'string') {\n return locale.weekdaysParse(input) % 7 || 7;\n }\n\n return isNaN(input) ? null : input;\n } // LOCALES\n\n\n function shiftWeekdays(ws, n) {\n return ws.slice(n, 7).concat(ws.slice(0, n));\n }\n\n var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_');\n\n function localeWeekdays(m, format) {\n var weekdays = isArray(this._weekdays) ? this._weekdays : this._weekdays[m && m !== true && this._weekdays.isFormat.test(format) ? 'format' : 'standalone'];\n return m === true ? shiftWeekdays(weekdays, this._week.dow) : m ? weekdays[m.day()] : weekdays;\n }\n\n var defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_');\n\n function localeWeekdaysShort(m) {\n return m === true ? shiftWeekdays(this._weekdaysShort, this._week.dow) : m ? this._weekdaysShort[m.day()] : this._weekdaysShort;\n }\n\n var defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_');\n\n function localeWeekdaysMin(m) {\n return m === true ? shiftWeekdays(this._weekdaysMin, this._week.dow) : m ? this._weekdaysMin[m.day()] : this._weekdaysMin;\n }\n\n function handleStrictParse$1(weekdayName, format, strict) {\n var i,\n ii,\n mom,\n llc = weekdayName.toLocaleLowerCase();\n\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._minWeekdaysParse = [];\n\n for (i = 0; i < 7; ++i) {\n mom = createUTC([2000, 1]).day(i);\n this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase();\n this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase();\n this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n }\n }\n\n if (strict) {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._weekdaysParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._weekdaysParse, llc);\n\n if (ii !== -1) {\n return ii;\n }\n\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n\n function localeWeekdaysParse(weekdayName, format, strict) {\n var i, mom, regex;\n\n if (this._weekdaysParseExact) {\n return handleStrictParse$1.call(this, weekdayName, format, strict);\n }\n\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._minWeekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._fullWeekdaysParse = [];\n }\n\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, 1]).day(i);\n\n if (strict && !this._fullWeekdaysParse[i]) {\n this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$', 'i');\n this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$', 'i');\n this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$', 'i');\n }\n\n if (!this._weekdaysParse[i]) {\n regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, '');\n this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n } // test the regex\n\n\n if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n return i;\n }\n }\n } // MOMENTS\n\n\n function getSetDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();\n\n if (input != null) {\n input = parseWeekday(input, this.localeData());\n return this.add(input - day, 'd');\n } else {\n return day;\n }\n }\n\n function getSetLocaleDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n return input == null ? weekday : this.add(input - weekday, 'd');\n }\n\n function getSetISODayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n } // behaves the same as moment#day except\n // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n // as a setter, sunday should belong to the previous week.\n\n\n if (input != null) {\n var weekday = parseIsoWeekday(input, this.localeData());\n return this.day(this.day() % 7 ? weekday : weekday - 7);\n } else {\n return this.day() || 7;\n }\n }\n\n var defaultWeekdaysRegex = matchWord;\n\n function weekdaysRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n\n if (isStrict) {\n return this._weekdaysStrictRegex;\n } else {\n return this._weekdaysRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n this._weekdaysRegex = defaultWeekdaysRegex;\n }\n\n return this._weekdaysStrictRegex && isStrict ? this._weekdaysStrictRegex : this._weekdaysRegex;\n }\n }\n\n var defaultWeekdaysShortRegex = matchWord;\n\n function weekdaysShortRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n\n if (isStrict) {\n return this._weekdaysShortStrictRegex;\n } else {\n return this._weekdaysShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n }\n\n return this._weekdaysShortStrictRegex && isStrict ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex;\n }\n }\n\n var defaultWeekdaysMinRegex = matchWord;\n\n function weekdaysMinRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n\n if (isStrict) {\n return this._weekdaysMinStrictRegex;\n } else {\n return this._weekdaysMinRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n }\n\n return this._weekdaysMinStrictRegex && isStrict ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex;\n }\n }\n\n function computeWeekdaysParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n\n var minPieces = [],\n shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n minp,\n shortp,\n longp;\n\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, 1]).day(i);\n minp = this.weekdaysMin(mom, '');\n shortp = this.weekdaysShort(mom, '');\n longp = this.weekdays(mom, '');\n minPieces.push(minp);\n shortPieces.push(shortp);\n longPieces.push(longp);\n mixedPieces.push(minp);\n mixedPieces.push(shortp);\n mixedPieces.push(longp);\n } // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n // will match the longer piece.\n\n\n minPieces.sort(cmpLenRev);\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n\n for (i = 0; i < 7; i++) {\n shortPieces[i] = regexEscape(shortPieces[i]);\n longPieces[i] = regexEscape(longPieces[i]);\n mixedPieces[i] = regexEscape(mixedPieces[i]);\n }\n\n this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._weekdaysShortRegex = this._weekdaysRegex;\n this._weekdaysMinRegex = this._weekdaysRegex;\n this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');\n this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');\n this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i');\n } // FORMATTING\n\n\n function hFormat() {\n return this.hours() % 12 || 12;\n }\n\n function kFormat() {\n return this.hours() || 24;\n }\n\n addFormatToken('H', ['HH', 2], 0, 'hour');\n addFormatToken('h', ['hh', 2], 0, hFormat);\n addFormatToken('k', ['kk', 2], 0, kFormat);\n addFormatToken('hmm', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n });\n addFormatToken('hmmss', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);\n });\n addFormatToken('Hmm', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2);\n });\n addFormatToken('Hmmss', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);\n });\n\n function meridiem(token, lowercase) {\n addFormatToken(token, 0, 0, function () {\n return this.localeData().meridiem(this.hours(), this.minutes(), lowercase);\n });\n }\n\n meridiem('a', true);\n meridiem('A', false); // ALIASES\n\n addUnitAlias('hour', 'h'); // PRIORITY\n\n addUnitPriority('hour', 13); // PARSING\n\n function matchMeridiem(isStrict, locale) {\n return locale._meridiemParse;\n }\n\n addRegexToken('a', matchMeridiem);\n addRegexToken('A', matchMeridiem);\n addRegexToken('H', match1to2);\n addRegexToken('h', match1to2);\n addRegexToken('k', match1to2);\n addRegexToken('HH', match1to2, match2);\n addRegexToken('hh', match1to2, match2);\n addRegexToken('kk', match1to2, match2);\n addRegexToken('hmm', match3to4);\n addRegexToken('hmmss', match5to6);\n addRegexToken('Hmm', match3to4);\n addRegexToken('Hmmss', match5to6);\n addParseToken(['H', 'HH'], HOUR);\n addParseToken(['k', 'kk'], function (input, array, config) {\n var kInput = toInt(input);\n array[HOUR] = kInput === 24 ? 0 : kInput;\n });\n addParseToken(['a', 'A'], function (input, array, config) {\n config._isPm = config._locale.isPM(input);\n config._meridiem = input;\n });\n addParseToken(['h', 'hh'], function (input, array, config) {\n array[HOUR] = toInt(input);\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmmss', function (input, array, config) {\n var pos1 = input.length - 4;\n var pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('Hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n });\n addParseToken('Hmmss', function (input, array, config) {\n var pos1 = input.length - 4;\n var pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n }); // LOCALES\n\n function localeIsPM(input) {\n // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n // Using charAt should be more compatible.\n return (input + '').toLowerCase().charAt(0) === 'p';\n }\n\n var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i;\n\n function localeMeridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'pm' : 'PM';\n } else {\n return isLower ? 'am' : 'AM';\n }\n } // MOMENTS\n // Setting the hour should keep the time, because the user explicitly\n // specified which hour they want. So trying to maintain the same hour (in\n // a new timezone) makes sense. Adding/subtracting hours does not follow\n // this rule.\n\n\n var getSetHour = makeGetSet('Hours', true);\n var baseConfig = {\n calendar: defaultCalendar,\n longDateFormat: defaultLongDateFormat,\n invalidDate: defaultInvalidDate,\n ordinal: defaultOrdinal,\n dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n relativeTime: defaultRelativeTime,\n months: defaultLocaleMonths,\n monthsShort: defaultLocaleMonthsShort,\n week: defaultLocaleWeek,\n weekdays: defaultLocaleWeekdays,\n weekdaysMin: defaultLocaleWeekdaysMin,\n weekdaysShort: defaultLocaleWeekdaysShort,\n meridiemParse: defaultLocaleMeridiemParse\n }; // internal storage for locale config files\n\n var locales = {};\n var localeFamilies = {};\n var globalLocale;\n\n function normalizeLocale(key) {\n return key ? key.toLowerCase().replace('_', '-') : key;\n } // pick the locale from the array\n // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n\n\n function chooseLocale(names) {\n var i = 0,\n j,\n next,\n locale,\n split;\n\n while (i < names.length) {\n split = normalizeLocale(names[i]).split('-');\n j = split.length;\n next = normalizeLocale(names[i + 1]);\n next = next ? next.split('-') : null;\n\n while (j > 0) {\n locale = loadLocale(split.slice(0, j).join('-'));\n\n if (locale) {\n return locale;\n }\n\n if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) {\n //the next array item is better than a shallower substring of this one\n break;\n }\n\n j--;\n }\n\n i++;\n }\n\n return globalLocale;\n }\n\n function loadLocale(name) {\n var oldLocale = null; // TODO: Find a better way to register and load all the locales in Node\n\n if (!locales[name] && typeof module !== 'undefined' && module && module.exports) {\n try {\n oldLocale = globalLocale._abbr;\n var aliasedRequire = require;\n aliasedRequire('./locale/' + name);\n getSetGlobalLocale(oldLocale);\n } catch (e) {}\n }\n\n return locales[name];\n } // This function will load locale and then set the global locale. If\n // no arguments are passed in, it will simply return the current global\n // locale key.\n\n\n function getSetGlobalLocale(key, values) {\n var data;\n\n if (key) {\n if (isUndefined(values)) {\n data = getLocale(key);\n } else {\n data = defineLocale(key, values);\n }\n\n if (data) {\n // moment.duration._locale = moment._locale = data;\n globalLocale = data;\n } else {\n if (typeof console !== 'undefined' && console.warn) {\n //warn user if arguments are passed but the locale could not be set\n console.warn('Locale ' + key + ' not found. Did you forget to load it?');\n }\n }\n }\n\n return globalLocale._abbr;\n }\n\n function defineLocale(name, config) {\n if (config !== null) {\n var locale,\n parentConfig = baseConfig;\n config.abbr = name;\n\n if (locales[name] != null) {\n deprecateSimple('defineLocaleOverride', 'use moment.updateLocale(localeName, config) to change ' + 'an existing locale. moment.defineLocale(localeName, ' + 'config) should only be used for creating a new locale ' + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.');\n parentConfig = locales[name]._config;\n } else if (config.parentLocale != null) {\n if (locales[config.parentLocale] != null) {\n parentConfig = locales[config.parentLocale]._config;\n } else {\n locale = loadLocale(config.parentLocale);\n\n if (locale != null) {\n parentConfig = locale._config;\n } else {\n if (!localeFamilies[config.parentLocale]) {\n localeFamilies[config.parentLocale] = [];\n }\n\n localeFamilies[config.parentLocale].push({\n name: name,\n config: config\n });\n return null;\n }\n }\n }\n\n locales[name] = new Locale(mergeConfigs(parentConfig, config));\n\n if (localeFamilies[name]) {\n localeFamilies[name].forEach(function (x) {\n defineLocale(x.name, x.config);\n });\n } // backwards compat for now: also set the locale\n // make sure we set the locale AFTER all child locales have been\n // created, so we won't end up with the child locale set.\n\n\n getSetGlobalLocale(name);\n return locales[name];\n } else {\n // useful for testing\n delete locales[name];\n return null;\n }\n }\n\n function updateLocale(name, config) {\n if (config != null) {\n var locale,\n tmpLocale,\n parentConfig = baseConfig; // MERGE\n\n tmpLocale = loadLocale(name);\n\n if (tmpLocale != null) {\n parentConfig = tmpLocale._config;\n }\n\n config = mergeConfigs(parentConfig, config);\n locale = new Locale(config);\n locale.parentLocale = locales[name];\n locales[name] = locale; // backwards compat for now: also set the locale\n\n getSetGlobalLocale(name);\n } else {\n // pass null for config to unupdate, useful for tests\n if (locales[name] != null) {\n if (locales[name].parentLocale != null) {\n locales[name] = locales[name].parentLocale;\n } else if (locales[name] != null) {\n delete locales[name];\n }\n }\n }\n\n return locales[name];\n } // returns locale data\n\n\n function getLocale(key) {\n var locale;\n\n if (key && key._locale && key._locale._abbr) {\n key = key._locale._abbr;\n }\n\n if (!key) {\n return globalLocale;\n }\n\n if (!isArray(key)) {\n //short-circuit everything else\n locale = loadLocale(key);\n\n if (locale) {\n return locale;\n }\n\n key = [key];\n }\n\n return chooseLocale(key);\n }\n\n function listLocales() {\n return keys(locales);\n }\n\n function checkOverflow(m) {\n var overflow;\n var a = m._a;\n\n if (a && getParsingFlags(m).overflow === -2) {\n overflow = a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE : a[HOUR] < 0 || a[HOUR] > 24 || a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0) ? HOUR : a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE : a[SECOND] < 0 || a[SECOND] > 59 ? SECOND : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND : -1;\n\n if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {\n overflow = DATE;\n }\n\n if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n overflow = WEEK;\n }\n\n if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n overflow = WEEKDAY;\n }\n\n getParsingFlags(m).overflow = overflow;\n }\n\n return m;\n } // Pick the first defined of two or three arguments.\n\n\n function defaults(a, b, c) {\n if (a != null) {\n return a;\n }\n\n if (b != null) {\n return b;\n }\n\n return c;\n }\n\n function currentDateArray(config) {\n // hooks is actually the exported moment object\n var nowValue = new Date(hooks.now());\n\n if (config._useUTC) {\n return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()];\n }\n\n return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n } // convert an array to a date.\n // the array should mirror the parameters below\n // note: all values past the year are optional and will default to the lowest possible value.\n // [year, month, day , hour, minute, second, millisecond]\n\n\n function configFromArray(config) {\n var i,\n date,\n input = [],\n currentDate,\n expectedWeekday,\n yearToUse;\n\n if (config._d) {\n return;\n }\n\n currentDate = currentDateArray(config); //compute day of the year from weeks and weekdays\n\n if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n dayOfYearFromWeekInfo(config);\n } //if the day of the year is set, figure out what it is\n\n\n if (config._dayOfYear != null) {\n yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n\n if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) {\n getParsingFlags(config)._overflowDayOfYear = true;\n }\n\n date = createUTCDate(yearToUse, 0, config._dayOfYear);\n config._a[MONTH] = date.getUTCMonth();\n config._a[DATE] = date.getUTCDate();\n } // Default to current date.\n // * if no year, month, day of month are given, default to today\n // * if day of month is given, default month and year\n // * if month is given, default only year\n // * if year is given, don't default anything\n\n\n for (i = 0; i < 3 && config._a[i] == null; ++i) {\n config._a[i] = input[i] = currentDate[i];\n } // Zero out whatever was not defaulted, including time\n\n\n for (; i < 7; i++) {\n config._a[i] = input[i] = config._a[i] == null ? i === 2 ? 1 : 0 : config._a[i];\n } // Check for 24:00:00.000\n\n\n if (config._a[HOUR] === 24 && config._a[MINUTE] === 0 && config._a[SECOND] === 0 && config._a[MILLISECOND] === 0) {\n config._nextDay = true;\n config._a[HOUR] = 0;\n }\n\n config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input);\n expectedWeekday = config._useUTC ? config._d.getUTCDay() : config._d.getDay(); // Apply timezone offset from input. The actual utcOffset can be changed\n // with parseZone.\n\n if (config._tzm != null) {\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n }\n\n if (config._nextDay) {\n config._a[HOUR] = 24;\n } // check for mismatching day of week\n\n\n if (config._w && typeof config._w.d !== 'undefined' && config._w.d !== expectedWeekday) {\n getParsingFlags(config).weekdayMismatch = true;\n }\n }\n\n function dayOfYearFromWeekInfo(config) {\n var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow;\n w = config._w;\n\n if (w.GG != null || w.W != null || w.E != null) {\n dow = 1;\n doy = 4; // TODO: We need to take the current isoWeekYear, but that depends on\n // how we interpret now (local, utc, fixed offset). So create\n // a now version of current config (take local/utc/offset flags, and\n // create now).\n\n weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(createLocal(), 1, 4).year);\n week = defaults(w.W, 1);\n weekday = defaults(w.E, 1);\n\n if (weekday < 1 || weekday > 7) {\n weekdayOverflow = true;\n }\n } else {\n dow = config._locale._week.dow;\n doy = config._locale._week.doy;\n var curWeek = weekOfYear(createLocal(), dow, doy);\n weekYear = defaults(w.gg, config._a[YEAR], curWeek.year); // Default to current week.\n\n week = defaults(w.w, curWeek.week);\n\n if (w.d != null) {\n // weekday -- low day numbers are considered next week\n weekday = w.d;\n\n if (weekday < 0 || weekday > 6) {\n weekdayOverflow = true;\n }\n } else if (w.e != null) {\n // local weekday -- counting starts from beginning of week\n weekday = w.e + dow;\n\n if (w.e < 0 || w.e > 6) {\n weekdayOverflow = true;\n }\n } else {\n // default to beginning of week\n weekday = dow;\n }\n }\n\n if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n getParsingFlags(config)._overflowWeeks = true;\n } else if (weekdayOverflow != null) {\n getParsingFlags(config)._overflowWeekday = true;\n } else {\n temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n config._a[YEAR] = temp.year;\n config._dayOfYear = temp.dayOfYear;\n }\n } // iso 8601 regex\n // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n\n\n var extendedIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/;\n var basicIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/;\n var tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/;\n var isoDates = [['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/], ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/], ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/], ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false], ['YYYY-DDD', /\\d{4}-\\d{3}/], ['YYYY-MM', /\\d{4}-\\d\\d/, false], ['YYYYYYMMDD', /[+-]\\d{10}/], ['YYYYMMDD', /\\d{8}/], // YYYYMM is NOT allowed by the standard\n ['GGGG[W]WWE', /\\d{4}W\\d{3}/], ['GGGG[W]WW', /\\d{4}W\\d{2}/, false], ['YYYYDDD', /\\d{7}/]]; // iso time formats and regexes\n\n var isoTimes = [['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/], ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/], ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/], ['HH:mm', /\\d\\d:\\d\\d/], ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/], ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/], ['HHmmss', /\\d\\d\\d\\d\\d\\d/], ['HHmm', /\\d\\d\\d\\d/], ['HH', /\\d\\d/]];\n var aspNetJsonRegex = /^\\/?Date\\((\\-?\\d+)/i; // date from iso format\n\n function configFromISO(config) {\n var i,\n l,\n string = config._i,\n match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n allowTime,\n dateFormat,\n timeFormat,\n tzFormat;\n\n if (match) {\n getParsingFlags(config).iso = true;\n\n for (i = 0, l = isoDates.length; i < l; i++) {\n if (isoDates[i][1].exec(match[1])) {\n dateFormat = isoDates[i][0];\n allowTime = isoDates[i][2] !== false;\n break;\n }\n }\n\n if (dateFormat == null) {\n config._isValid = false;\n return;\n }\n\n if (match[3]) {\n for (i = 0, l = isoTimes.length; i < l; i++) {\n if (isoTimes[i][1].exec(match[3])) {\n // match[2] should be 'T' or space\n timeFormat = (match[2] || ' ') + isoTimes[i][0];\n break;\n }\n }\n\n if (timeFormat == null) {\n config._isValid = false;\n return;\n }\n }\n\n if (!allowTime && timeFormat != null) {\n config._isValid = false;\n return;\n }\n\n if (match[4]) {\n if (tzRegex.exec(match[4])) {\n tzFormat = 'Z';\n } else {\n config._isValid = false;\n return;\n }\n }\n\n config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n configFromStringAndFormat(config);\n } else {\n config._isValid = false;\n }\n } // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n\n\n var rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/;\n\n function extractFromRFC2822Strings(yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) {\n var result = [untruncateYear(yearStr), defaultLocaleMonthsShort.indexOf(monthStr), parseInt(dayStr, 10), parseInt(hourStr, 10), parseInt(minuteStr, 10)];\n\n if (secondStr) {\n result.push(parseInt(secondStr, 10));\n }\n\n return result;\n }\n\n function untruncateYear(yearStr) {\n var year = parseInt(yearStr, 10);\n\n if (year <= 49) {\n return 2000 + year;\n } else if (year <= 999) {\n return 1900 + year;\n }\n\n return year;\n }\n\n function preprocessRFC2822(s) {\n // Remove comments and folding whitespace and replace multiple-spaces with a single space\n return s.replace(/\\([^)]*\\)|[\\n\\t]/g, ' ').replace(/(\\s\\s+)/g, ' ').replace(/^\\s\\s*/, '').replace(/\\s\\s*$/, '');\n }\n\n function checkWeekday(weekdayStr, parsedInput, config) {\n if (weekdayStr) {\n // TODO: Replace the vanilla JS Date object with an indepentent day-of-week check.\n var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n weekdayActual = new Date(parsedInput[0], parsedInput[1], parsedInput[2]).getDay();\n\n if (weekdayProvided !== weekdayActual) {\n getParsingFlags(config).weekdayMismatch = true;\n config._isValid = false;\n return false;\n }\n }\n\n return true;\n }\n\n var obsOffsets = {\n UT: 0,\n GMT: 0,\n EDT: -4 * 60,\n EST: -5 * 60,\n CDT: -5 * 60,\n CST: -6 * 60,\n MDT: -6 * 60,\n MST: -7 * 60,\n PDT: -7 * 60,\n PST: -8 * 60\n };\n\n function calculateOffset(obsOffset, militaryOffset, numOffset) {\n if (obsOffset) {\n return obsOffsets[obsOffset];\n } else if (militaryOffset) {\n // the only allowed military tz is Z\n return 0;\n } else {\n var hm = parseInt(numOffset, 10);\n var m = hm % 100,\n h = (hm - m) / 100;\n return h * 60 + m;\n }\n } // date and time from ref 2822 format\n\n\n function configFromRFC2822(config) {\n var match = rfc2822.exec(preprocessRFC2822(config._i));\n\n if (match) {\n var parsedArray = extractFromRFC2822Strings(match[4], match[3], match[2], match[5], match[6], match[7]);\n\n if (!checkWeekday(match[1], parsedArray, config)) {\n return;\n }\n\n config._a = parsedArray;\n config._tzm = calculateOffset(match[8], match[9], match[10]);\n config._d = createUTCDate.apply(null, config._a);\n\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n\n getParsingFlags(config).rfc2822 = true;\n } else {\n config._isValid = false;\n }\n } // date from iso format or fallback\n\n\n function configFromString(config) {\n var matched = aspNetJsonRegex.exec(config._i);\n\n if (matched !== null) {\n config._d = new Date(+matched[1]);\n return;\n }\n\n configFromISO(config);\n\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n\n configFromRFC2822(config);\n\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n } // Final attempt, use Input Fallback\n\n\n hooks.createFromInputFallback(config);\n }\n\n hooks.createFromInputFallback = deprecate('value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + 'discouraged and will be removed in an upcoming major release. Please refer to ' + 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', function (config) {\n config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n }); // constant that refers to the ISO standard\n\n hooks.ISO_8601 = function () {}; // constant that refers to the RFC 2822 form\n\n\n hooks.RFC_2822 = function () {}; // date from string and format string\n\n\n function configFromStringAndFormat(config) {\n // TODO: Move this to another part of the creation flow to prevent circular deps\n if (config._f === hooks.ISO_8601) {\n configFromISO(config);\n return;\n }\n\n if (config._f === hooks.RFC_2822) {\n configFromRFC2822(config);\n return;\n }\n\n config._a = [];\n getParsingFlags(config).empty = true; // This array is used to make a Date, either with `new Date` or `Date.UTC`\n\n var string = '' + config._i,\n i,\n parsedInput,\n tokens,\n token,\n skipped,\n stringLength = string.length,\n totalParsedInputLength = 0;\n tokens = expandFormat(config._f, config._locale).match(formattingTokens) || [];\n\n for (i = 0; i < tokens.length; i++) {\n token = tokens[i];\n parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0]; // console.log('token', token, 'parsedInput', parsedInput,\n // 'regex', getParseRegexForToken(token, config));\n\n if (parsedInput) {\n skipped = string.substr(0, string.indexOf(parsedInput));\n\n if (skipped.length > 0) {\n getParsingFlags(config).unusedInput.push(skipped);\n }\n\n string = string.slice(string.indexOf(parsedInput) + parsedInput.length);\n totalParsedInputLength += parsedInput.length;\n } // don't parse if it's not a known token\n\n\n if (formatTokenFunctions[token]) {\n if (parsedInput) {\n getParsingFlags(config).empty = false;\n } else {\n getParsingFlags(config).unusedTokens.push(token);\n }\n\n addTimeToArrayFromToken(token, parsedInput, config);\n } else if (config._strict && !parsedInput) {\n getParsingFlags(config).unusedTokens.push(token);\n }\n } // add remaining unparsed input length to the string\n\n\n getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength;\n\n if (string.length > 0) {\n getParsingFlags(config).unusedInput.push(string);\n } // clear _12h flag if hour is <= 12\n\n\n if (config._a[HOUR] <= 12 && getParsingFlags(config).bigHour === true && config._a[HOUR] > 0) {\n getParsingFlags(config).bigHour = undefined;\n }\n\n getParsingFlags(config).parsedDateParts = config._a.slice(0);\n getParsingFlags(config).meridiem = config._meridiem; // handle meridiem\n\n config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem);\n configFromArray(config);\n checkOverflow(config);\n }\n\n function meridiemFixWrap(locale, hour, meridiem) {\n var isPm;\n\n if (meridiem == null) {\n // nothing to do\n return hour;\n }\n\n if (locale.meridiemHour != null) {\n return locale.meridiemHour(hour, meridiem);\n } else if (locale.isPM != null) {\n // Fallback\n isPm = locale.isPM(meridiem);\n\n if (isPm && hour < 12) {\n hour += 12;\n }\n\n if (!isPm && hour === 12) {\n hour = 0;\n }\n\n return hour;\n } else {\n // this is not supposed to happen\n return hour;\n }\n } // date from string and array of format strings\n\n\n function configFromStringAndArray(config) {\n var tempConfig, bestMoment, scoreToBeat, i, currentScore;\n\n if (config._f.length === 0) {\n getParsingFlags(config).invalidFormat = true;\n config._d = new Date(NaN);\n return;\n }\n\n for (i = 0; i < config._f.length; i++) {\n currentScore = 0;\n tempConfig = copyConfig({}, config);\n\n if (config._useUTC != null) {\n tempConfig._useUTC = config._useUTC;\n }\n\n tempConfig._f = config._f[i];\n configFromStringAndFormat(tempConfig);\n\n if (!isValid(tempConfig)) {\n continue;\n } // if there is any input that was not parsed add a penalty for that format\n\n\n currentScore += getParsingFlags(tempConfig).charsLeftOver; //or tokens\n\n currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n getParsingFlags(tempConfig).score = currentScore;\n\n if (scoreToBeat == null || currentScore < scoreToBeat) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n }\n }\n\n extend(config, bestMoment || tempConfig);\n }\n\n function configFromObject(config) {\n if (config._d) {\n return;\n }\n\n var i = normalizeObjectUnits(config._i);\n config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) {\n return obj && parseInt(obj, 10);\n });\n configFromArray(config);\n }\n\n function createFromConfig(config) {\n var res = new Moment(checkOverflow(prepareConfig(config)));\n\n if (res._nextDay) {\n // Adding is smart enough around DST\n res.add(1, 'd');\n res._nextDay = undefined;\n }\n\n return res;\n }\n\n function prepareConfig(config) {\n var input = config._i,\n format = config._f;\n config._locale = config._locale || getLocale(config._l);\n\n if (input === null || format === undefined && input === '') {\n return createInvalid({\n nullInput: true\n });\n }\n\n if (typeof input === 'string') {\n config._i = input = config._locale.preparse(input);\n }\n\n if (isMoment(input)) {\n return new Moment(checkOverflow(input));\n } else if (isDate(input)) {\n config._d = input;\n } else if (isArray(format)) {\n configFromStringAndArray(config);\n } else if (format) {\n configFromStringAndFormat(config);\n } else {\n configFromInput(config);\n }\n\n if (!isValid(config)) {\n config._d = null;\n }\n\n return config;\n }\n\n function configFromInput(config) {\n var input = config._i;\n\n if (isUndefined(input)) {\n config._d = new Date(hooks.now());\n } else if (isDate(input)) {\n config._d = new Date(input.valueOf());\n } else if (typeof input === 'string') {\n configFromString(config);\n } else if (isArray(input)) {\n config._a = map(input.slice(0), function (obj) {\n return parseInt(obj, 10);\n });\n configFromArray(config);\n } else if (isObject(input)) {\n configFromObject(config);\n } else if (isNumber(input)) {\n // from milliseconds\n config._d = new Date(input);\n } else {\n hooks.createFromInputFallback(config);\n }\n }\n\n function createLocalOrUTC(input, format, locale, strict, isUTC) {\n var c = {};\n\n if (locale === true || locale === false) {\n strict = locale;\n locale = undefined;\n }\n\n if (isObject(input) && isObjectEmpty(input) || isArray(input) && input.length === 0) {\n input = undefined;\n } // object construction must be done this way.\n // https://github.com/moment/moment/issues/1423\n\n\n c._isAMomentObject = true;\n c._useUTC = c._isUTC = isUTC;\n c._l = locale;\n c._i = input;\n c._f = format;\n c._strict = strict;\n return createFromConfig(c);\n }\n\n function createLocal(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, false);\n }\n\n var prototypeMin = deprecate('moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', function () {\n var other = createLocal.apply(null, arguments);\n\n if (this.isValid() && other.isValid()) {\n return other < this ? this : other;\n } else {\n return createInvalid();\n }\n });\n var prototypeMax = deprecate('moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', function () {\n var other = createLocal.apply(null, arguments);\n\n if (this.isValid() && other.isValid()) {\n return other > this ? this : other;\n } else {\n return createInvalid();\n }\n }); // Pick a moment m from moments so that m[fn](other) is true for all\n // other. This relies on the function fn to be transitive.\n //\n // moments should either be an array of moment objects or an array, whose\n // first element is an array of moment objects.\n\n function pickBy(fn, moments) {\n var res, i;\n\n if (moments.length === 1 && isArray(moments[0])) {\n moments = moments[0];\n }\n\n if (!moments.length) {\n return createLocal();\n }\n\n res = moments[0];\n\n for (i = 1; i < moments.length; ++i) {\n if (!moments[i].isValid() || moments[i][fn](res)) {\n res = moments[i];\n }\n }\n\n return res;\n } // TODO: Use [].sort instead?\n\n\n function min() {\n var args = [].slice.call(arguments, 0);\n return pickBy('isBefore', args);\n }\n\n function max() {\n var args = [].slice.call(arguments, 0);\n return pickBy('isAfter', args);\n }\n\n var now = function now() {\n return Date.now ? Date.now() : +new Date();\n };\n\n var ordering = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond'];\n\n function isDurationValid(m) {\n for (var key in m) {\n if (!(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) {\n return false;\n }\n }\n\n var unitHasDecimal = false;\n\n for (var i = 0; i < ordering.length; ++i) {\n if (m[ordering[i]]) {\n if (unitHasDecimal) {\n return false; // only allow non-integers for smallest unit\n }\n\n if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n unitHasDecimal = true;\n }\n }\n }\n\n return true;\n }\n\n function isValid$1() {\n return this._isValid;\n }\n\n function createInvalid$1() {\n return createDuration(NaN);\n }\n\n function Duration(duration) {\n var normalizedInput = normalizeObjectUnits(duration),\n years = normalizedInput.year || 0,\n quarters = normalizedInput.quarter || 0,\n months = normalizedInput.month || 0,\n weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n days = normalizedInput.day || 0,\n hours = normalizedInput.hour || 0,\n minutes = normalizedInput.minute || 0,\n seconds = normalizedInput.second || 0,\n milliseconds = normalizedInput.millisecond || 0;\n this._isValid = isDurationValid(normalizedInput); // representation for dateAddRemove\n\n this._milliseconds = +milliseconds + seconds * 1e3 + // 1000\n minutes * 6e4 + // 1000 * 60\n hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n // Because of dateAddRemove treats 24 hours as different from a\n // day when working around DST, we need to store them separately\n\n this._days = +days + weeks * 7; // It is impossible to translate months into days without knowing\n // which months you are are talking about, so we have to store\n // it separately.\n\n this._months = +months + quarters * 3 + years * 12;\n this._data = {};\n this._locale = getLocale();\n\n this._bubble();\n }\n\n function isDuration(obj) {\n return obj instanceof Duration;\n }\n\n function absRound(number) {\n if (number < 0) {\n return Math.round(-1 * number) * -1;\n } else {\n return Math.round(number);\n }\n } // FORMATTING\n\n\n function offset(token, separator) {\n addFormatToken(token, 0, 0, function () {\n var offset = this.utcOffset();\n var sign = '+';\n\n if (offset < 0) {\n offset = -offset;\n sign = '-';\n }\n\n return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~offset % 60, 2);\n });\n }\n\n offset('Z', ':');\n offset('ZZ', ''); // PARSING\n\n addRegexToken('Z', matchShortOffset);\n addRegexToken('ZZ', matchShortOffset);\n addParseToken(['Z', 'ZZ'], function (input, array, config) {\n config._useUTC = true;\n config._tzm = offsetFromString(matchShortOffset, input);\n }); // HELPERS\n // timezone chunker\n // '+10:00' > ['10', '00']\n // '-1530' > ['-15', '30']\n\n var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n\n function offsetFromString(matcher, string) {\n var matches = (string || '').match(matcher);\n\n if (matches === null) {\n return null;\n }\n\n var chunk = matches[matches.length - 1] || [];\n var parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n var minutes = +(parts[1] * 60) + toInt(parts[2]);\n return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n } // Return a moment from input, that is local/utc/zone equivalent to model.\n\n\n function cloneWithOffset(input, model) {\n var res, diff;\n\n if (model._isUTC) {\n res = model.clone();\n diff = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf(); // Use low-level api, because this fn is low-level api.\n\n res._d.setTime(res._d.valueOf() + diff);\n\n hooks.updateOffset(res, false);\n return res;\n } else {\n return createLocal(input).local();\n }\n }\n\n function getDateOffset(m) {\n // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n // https://github.com/moment/moment/pull/1871\n return -Math.round(m._d.getTimezoneOffset() / 15) * 15;\n } // HOOKS\n // This function will be called whenever a moment is mutated.\n // It is intended to keep the offset in sync with the timezone.\n\n\n hooks.updateOffset = function () {}; // MOMENTS\n // keepLocalTime = true means only change the timezone, without\n // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n // +0200, so we adjust the time as needed, to be valid.\n //\n // Keeping the time actually adds/subtracts (one hour)\n // from the actual represented time. That is why we call updateOffset\n // a second time. In case it wants us to change the offset again\n // _changeInProgress == true case, then we have to adjust, because\n // there is no such time in the given timezone.\n\n\n function getSetOffset(input, keepLocalTime, keepMinutes) {\n var offset = this._offset || 0,\n localAdjust;\n\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n if (input != null) {\n if (typeof input === 'string') {\n input = offsetFromString(matchShortOffset, input);\n\n if (input === null) {\n return this;\n }\n } else if (Math.abs(input) < 16 && !keepMinutes) {\n input = input * 60;\n }\n\n if (!this._isUTC && keepLocalTime) {\n localAdjust = getDateOffset(this);\n }\n\n this._offset = input;\n this._isUTC = true;\n\n if (localAdjust != null) {\n this.add(localAdjust, 'm');\n }\n\n if (offset !== input) {\n if (!keepLocalTime || this._changeInProgress) {\n addSubtract(this, createDuration(input - offset, 'm'), 1, false);\n } else if (!this._changeInProgress) {\n this._changeInProgress = true;\n hooks.updateOffset(this, true);\n this._changeInProgress = null;\n }\n }\n\n return this;\n } else {\n return this._isUTC ? offset : getDateOffset(this);\n }\n }\n\n function getSetZone(input, keepLocalTime) {\n if (input != null) {\n if (typeof input !== 'string') {\n input = -input;\n }\n\n this.utcOffset(input, keepLocalTime);\n return this;\n } else {\n return -this.utcOffset();\n }\n }\n\n function setOffsetToUTC(keepLocalTime) {\n return this.utcOffset(0, keepLocalTime);\n }\n\n function setOffsetToLocal(keepLocalTime) {\n if (this._isUTC) {\n this.utcOffset(0, keepLocalTime);\n this._isUTC = false;\n\n if (keepLocalTime) {\n this.subtract(getDateOffset(this), 'm');\n }\n }\n\n return this;\n }\n\n function setOffsetToParsedOffset() {\n if (this._tzm != null) {\n this.utcOffset(this._tzm, false, true);\n } else if (typeof this._i === 'string') {\n var tZone = offsetFromString(matchOffset, this._i);\n\n if (tZone != null) {\n this.utcOffset(tZone);\n } else {\n this.utcOffset(0, true);\n }\n }\n\n return this;\n }\n\n function hasAlignedHourOffset(input) {\n if (!this.isValid()) {\n return false;\n }\n\n input = input ? createLocal(input).utcOffset() : 0;\n return (this.utcOffset() - input) % 60 === 0;\n }\n\n function isDaylightSavingTime() {\n return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();\n }\n\n function isDaylightSavingTimeShifted() {\n if (!isUndefined(this._isDSTShifted)) {\n return this._isDSTShifted;\n }\n\n var c = {};\n copyConfig(c, this);\n c = prepareConfig(c);\n\n if (c._a) {\n var other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n this._isDSTShifted = this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n } else {\n this._isDSTShifted = false;\n }\n\n return this._isDSTShifted;\n }\n\n function isLocal() {\n return this.isValid() ? !this._isUTC : false;\n }\n\n function isUtcOffset() {\n return this.isValid() ? this._isUTC : false;\n }\n\n function isUtc() {\n return this.isValid() ? this._isUTC && this._offset === 0 : false;\n } // ASP.NET json date format regex\n\n\n var aspNetRegex = /^(\\-|\\+)?(?:(\\d*)[. ])?(\\d+)\\:(\\d+)(?:\\:(\\d+)(\\.\\d*)?)?$/; // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n // and further modified to allow for strings containing both week and day\n\n var isoRegex = /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n\n function createDuration(input, key) {\n var duration = input,\n // matching against regexp is expensive, do it on demand\n match = null,\n sign,\n ret,\n diffRes;\n\n if (isDuration(input)) {\n duration = {\n ms: input._milliseconds,\n d: input._days,\n M: input._months\n };\n } else if (isNumber(input)) {\n duration = {};\n\n if (key) {\n duration[key] = input;\n } else {\n duration.milliseconds = input;\n }\n } else if (!!(match = aspNetRegex.exec(input))) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: 0,\n d: toInt(match[DATE]) * sign,\n h: toInt(match[HOUR]) * sign,\n m: toInt(match[MINUTE]) * sign,\n s: toInt(match[SECOND]) * sign,\n ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match\n\n };\n } else if (!!(match = isoRegex.exec(input))) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: parseIso(match[2], sign),\n M: parseIso(match[3], sign),\n w: parseIso(match[4], sign),\n d: parseIso(match[5], sign),\n h: parseIso(match[6], sign),\n m: parseIso(match[7], sign),\n s: parseIso(match[8], sign)\n };\n } else if (duration == null) {\n // checks for null or undefined\n duration = {};\n } else if (_typeof(duration) === 'object' && ('from' in duration || 'to' in duration)) {\n diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to));\n duration = {};\n duration.ms = diffRes.milliseconds;\n duration.M = diffRes.months;\n }\n\n ret = new Duration(duration);\n\n if (isDuration(input) && hasOwnProp(input, '_locale')) {\n ret._locale = input._locale;\n }\n\n return ret;\n }\n\n createDuration.fn = Duration.prototype;\n createDuration.invalid = createInvalid$1;\n\n function parseIso(inp, sign) {\n // We'd normally use ~~inp for this, but unfortunately it also\n // converts floats to ints.\n // inp may be undefined, so careful calling replace on it.\n var res = inp && parseFloat(inp.replace(',', '.')); // apply sign while we're at it\n\n return (isNaN(res) ? 0 : res) * sign;\n }\n\n function positiveMomentsDifference(base, other) {\n var res = {};\n res.months = other.month() - base.month() + (other.year() - base.year()) * 12;\n\n if (base.clone().add(res.months, 'M').isAfter(other)) {\n --res.months;\n }\n\n res.milliseconds = +other - +base.clone().add(res.months, 'M');\n return res;\n }\n\n function momentsDifference(base, other) {\n var res;\n\n if (!(base.isValid() && other.isValid())) {\n return {\n milliseconds: 0,\n months: 0\n };\n }\n\n other = cloneWithOffset(other, base);\n\n if (base.isBefore(other)) {\n res = positiveMomentsDifference(base, other);\n } else {\n res = positiveMomentsDifference(other, base);\n res.milliseconds = -res.milliseconds;\n res.months = -res.months;\n }\n\n return res;\n } // TODO: remove 'name' arg after deprecation is removed\n\n\n function createAdder(direction, name) {\n return function (val, period) {\n var dur, tmp; //invert the arguments, but complain about it\n\n if (period !== null && !isNaN(+period)) {\n deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.');\n tmp = val;\n val = period;\n period = tmp;\n }\n\n val = typeof val === 'string' ? +val : val;\n dur = createDuration(val, period);\n addSubtract(this, dur, direction);\n return this;\n };\n }\n\n function addSubtract(mom, duration, isAdding, updateOffset) {\n var milliseconds = duration._milliseconds,\n days = absRound(duration._days),\n months = absRound(duration._months);\n\n if (!mom.isValid()) {\n // No op\n return;\n }\n\n updateOffset = updateOffset == null ? true : updateOffset;\n\n if (months) {\n setMonth(mom, get(mom, 'Month') + months * isAdding);\n }\n\n if (days) {\n set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n }\n\n if (milliseconds) {\n mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n }\n\n if (updateOffset) {\n hooks.updateOffset(mom, days || months);\n }\n }\n\n var add = createAdder(1, 'add');\n var subtract = createAdder(-1, 'subtract');\n\n function getCalendarFormat(myMoment, now) {\n var diff = myMoment.diff(now, 'days', true);\n return diff < -6 ? 'sameElse' : diff < -1 ? 'lastWeek' : diff < 0 ? 'lastDay' : diff < 1 ? 'sameDay' : diff < 2 ? 'nextDay' : diff < 7 ? 'nextWeek' : 'sameElse';\n }\n\n function calendar$1(time, formats) {\n // We want to compare the start of today, vs this.\n // Getting start-of-today depends on whether we're local/utc/offset or not.\n var now = time || createLocal(),\n sod = cloneWithOffset(now, this).startOf('day'),\n format = hooks.calendarFormat(this, sod) || 'sameElse';\n var output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]);\n return this.format(output || this.localeData().calendar(format, this, createLocal(now)));\n }\n\n function clone() {\n return new Moment(this);\n }\n\n function isAfter(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n\n units = normalizeUnits(units) || 'millisecond';\n\n if (units === 'millisecond') {\n return this.valueOf() > localInput.valueOf();\n } else {\n return localInput.valueOf() < this.clone().startOf(units).valueOf();\n }\n }\n\n function isBefore(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n\n units = normalizeUnits(units) || 'millisecond';\n\n if (units === 'millisecond') {\n return this.valueOf() < localInput.valueOf();\n } else {\n return this.clone().endOf(units).valueOf() < localInput.valueOf();\n }\n }\n\n function isBetween(from, to, units, inclusivity) {\n var localFrom = isMoment(from) ? from : createLocal(from),\n localTo = isMoment(to) ? to : createLocal(to);\n\n if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n return false;\n }\n\n inclusivity = inclusivity || '()';\n return (inclusivity[0] === '(' ? this.isAfter(localFrom, units) : !this.isBefore(localFrom, units)) && (inclusivity[1] === ')' ? this.isBefore(localTo, units) : !this.isAfter(localTo, units));\n }\n\n function isSame(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input),\n inputMs;\n\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n\n units = normalizeUnits(units) || 'millisecond';\n\n if (units === 'millisecond') {\n return this.valueOf() === localInput.valueOf();\n } else {\n inputMs = localInput.valueOf();\n return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf();\n }\n }\n\n function isSameOrAfter(input, units) {\n return this.isSame(input, units) || this.isAfter(input, units);\n }\n\n function isSameOrBefore(input, units) {\n return this.isSame(input, units) || this.isBefore(input, units);\n }\n\n function diff(input, units, asFloat) {\n var that, zoneDelta, output;\n\n if (!this.isValid()) {\n return NaN;\n }\n\n that = cloneWithOffset(input, this);\n\n if (!that.isValid()) {\n return NaN;\n }\n\n zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n units = normalizeUnits(units);\n\n switch (units) {\n case 'year':\n output = monthDiff(this, that) / 12;\n break;\n\n case 'month':\n output = monthDiff(this, that);\n break;\n\n case 'quarter':\n output = monthDiff(this, that) / 3;\n break;\n\n case 'second':\n output = (this - that) / 1e3;\n break;\n // 1000\n\n case 'minute':\n output = (this - that) / 6e4;\n break;\n // 1000 * 60\n\n case 'hour':\n output = (this - that) / 36e5;\n break;\n // 1000 * 60 * 60\n\n case 'day':\n output = (this - that - zoneDelta) / 864e5;\n break;\n // 1000 * 60 * 60 * 24, negate dst\n\n case 'week':\n output = (this - that - zoneDelta) / 6048e5;\n break;\n // 1000 * 60 * 60 * 24 * 7, negate dst\n\n default:\n output = this - that;\n }\n\n return asFloat ? output : absFloor(output);\n }\n\n function monthDiff(a, b) {\n // difference in months\n var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n // b is in (anchor - 1 month, anchor + 1 month)\n anchor = a.clone().add(wholeMonthDiff, 'months'),\n anchor2,\n adjust;\n\n if (b - anchor < 0) {\n anchor2 = a.clone().add(wholeMonthDiff - 1, 'months'); // linear across the month\n\n adjust = (b - anchor) / (anchor - anchor2);\n } else {\n anchor2 = a.clone().add(wholeMonthDiff + 1, 'months'); // linear across the month\n\n adjust = (b - anchor) / (anchor2 - anchor);\n } //check for negative zero, return zero if negative zero\n\n\n return -(wholeMonthDiff + adjust) || 0;\n }\n\n hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n\n function toString() {\n return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n }\n\n function toISOString(keepOffset) {\n if (!this.isValid()) {\n return null;\n }\n\n var utc = keepOffset !== true;\n var m = utc ? this.clone().utc() : this;\n\n if (m.year() < 0 || m.year() > 9999) {\n return formatMoment(m, utc ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ');\n }\n\n if (isFunction(Date.prototype.toISOString)) {\n // native implementation is ~50x faster, use it when we can\n if (utc) {\n return this.toDate().toISOString();\n } else {\n return new Date(this.valueOf() + this.utcOffset() * 60 * 1000).toISOString().replace('Z', formatMoment(m, 'Z'));\n }\n }\n\n return formatMoment(m, utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ');\n }\n /**\n * Return a human readable representation of a moment that can\n * also be evaluated to get a new moment which is the same\n *\n * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n */\n\n\n function inspect() {\n if (!this.isValid()) {\n return 'moment.invalid(/* ' + this._i + ' */)';\n }\n\n var func = 'moment';\n var zone = '';\n\n if (!this.isLocal()) {\n func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n zone = 'Z';\n }\n\n var prefix = '[' + func + '(\"]';\n var year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n var datetime = '-MM-DD[T]HH:mm:ss.SSS';\n var suffix = zone + '[\")]';\n return this.format(prefix + year + datetime + suffix);\n }\n\n function format(inputString) {\n if (!inputString) {\n inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat;\n }\n\n var output = formatMoment(this, inputString);\n return this.localeData().postformat(output);\n }\n\n function from(time, withoutSuffix) {\n if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {\n return createDuration({\n to: this,\n from: time\n }).locale(this.locale()).humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n\n function fromNow(withoutSuffix) {\n return this.from(createLocal(), withoutSuffix);\n }\n\n function to(time, withoutSuffix) {\n if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {\n return createDuration({\n from: this,\n to: time\n }).locale(this.locale()).humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n\n function toNow(withoutSuffix) {\n return this.to(createLocal(), withoutSuffix);\n } // If passed a locale key, it will set the locale for this\n // instance. Otherwise, it will return the locale configuration\n // variables for this instance.\n\n\n function locale(key) {\n var newLocaleData;\n\n if (key === undefined) {\n return this._locale._abbr;\n } else {\n newLocaleData = getLocale(key);\n\n if (newLocaleData != null) {\n this._locale = newLocaleData;\n }\n\n return this;\n }\n }\n\n var lang = deprecate('moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', function (key) {\n if (key === undefined) {\n return this.localeData();\n } else {\n return this.locale(key);\n }\n });\n\n function localeData() {\n return this._locale;\n }\n\n var MS_PER_SECOND = 1000;\n var MS_PER_MINUTE = 60 * MS_PER_SECOND;\n var MS_PER_HOUR = 60 * MS_PER_MINUTE;\n var MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR; // actual modulo - handles negative numbers (for dates before 1970):\n\n function mod$1(dividend, divisor) {\n return (dividend % divisor + divisor) % divisor;\n }\n\n function localStartOfDate(y, m, d) {\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return new Date(y, m, d).valueOf();\n }\n }\n\n function utcStartOfDate(y, m, d) {\n // Date.UTC remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return Date.UTC(y, m, d);\n }\n }\n\n function startOf(units) {\n var time;\n units = normalizeUnits(units);\n\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n\n var startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n switch (units) {\n case 'year':\n time = startOfDate(this.year(), 0, 1);\n break;\n\n case 'quarter':\n time = startOfDate(this.year(), this.month() - this.month() % 3, 1);\n break;\n\n case 'month':\n time = startOfDate(this.year(), this.month(), 1);\n break;\n\n case 'week':\n time = startOfDate(this.year(), this.month(), this.date() - this.weekday());\n break;\n\n case 'isoWeek':\n time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));\n break;\n\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date());\n break;\n\n case 'hour':\n time = this._d.valueOf();\n time -= mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR);\n break;\n\n case 'minute':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_MINUTE);\n break;\n\n case 'second':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_SECOND);\n break;\n }\n\n this._d.setTime(time);\n\n hooks.updateOffset(this, true);\n return this;\n }\n\n function endOf(units) {\n var time;\n units = normalizeUnits(units);\n\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n\n var startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n switch (units) {\n case 'year':\n time = startOfDate(this.year() + 1, 0, 1) - 1;\n break;\n\n case 'quarter':\n time = startOfDate(this.year(), this.month() - this.month() % 3 + 3, 1) - 1;\n break;\n\n case 'month':\n time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n break;\n\n case 'week':\n time = startOfDate(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;\n break;\n\n case 'isoWeek':\n time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1;\n break;\n\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n break;\n\n case 'hour':\n time = this._d.valueOf();\n time += MS_PER_HOUR - mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR) - 1;\n break;\n\n case 'minute':\n time = this._d.valueOf();\n time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n break;\n\n case 'second':\n time = this._d.valueOf();\n time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n break;\n }\n\n this._d.setTime(time);\n\n hooks.updateOffset(this, true);\n return this;\n }\n\n function valueOf() {\n return this._d.valueOf() - (this._offset || 0) * 60000;\n }\n\n function unix() {\n return Math.floor(this.valueOf() / 1000);\n }\n\n function toDate() {\n return new Date(this.valueOf());\n }\n\n function toArray() {\n var m = this;\n return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()];\n }\n\n function toObject() {\n var m = this;\n return {\n years: m.year(),\n months: m.month(),\n date: m.date(),\n hours: m.hours(),\n minutes: m.minutes(),\n seconds: m.seconds(),\n milliseconds: m.milliseconds()\n };\n }\n\n function toJSON() {\n // new Date(NaN).toJSON() === null\n return this.isValid() ? this.toISOString() : null;\n }\n\n function isValid$2() {\n return isValid(this);\n }\n\n function parsingFlags() {\n return extend({}, getParsingFlags(this));\n }\n\n function invalidAt() {\n return getParsingFlags(this).overflow;\n }\n\n function creationData() {\n return {\n input: this._i,\n format: this._f,\n locale: this._locale,\n isUTC: this._isUTC,\n strict: this._strict\n };\n } // FORMATTING\n\n\n addFormatToken(0, ['gg', 2], 0, function () {\n return this.weekYear() % 100;\n });\n addFormatToken(0, ['GG', 2], 0, function () {\n return this.isoWeekYear() % 100;\n });\n\n function addWeekYearFormatToken(token, getter) {\n addFormatToken(0, [token, token.length], 0, getter);\n }\n\n addWeekYearFormatToken('gggg', 'weekYear');\n addWeekYearFormatToken('ggggg', 'weekYear');\n addWeekYearFormatToken('GGGG', 'isoWeekYear');\n addWeekYearFormatToken('GGGGG', 'isoWeekYear'); // ALIASES\n\n addUnitAlias('weekYear', 'gg');\n addUnitAlias('isoWeekYear', 'GG'); // PRIORITY\n\n addUnitPriority('weekYear', 1);\n addUnitPriority('isoWeekYear', 1); // PARSING\n\n addRegexToken('G', matchSigned);\n addRegexToken('g', matchSigned);\n addRegexToken('GG', match1to2, match2);\n addRegexToken('gg', match1to2, match2);\n addRegexToken('GGGG', match1to4, match4);\n addRegexToken('gggg', match1to4, match4);\n addRegexToken('GGGGG', match1to6, match6);\n addRegexToken('ggggg', match1to6, match6);\n addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) {\n week[token.substr(0, 2)] = toInt(input);\n });\n addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n week[token] = hooks.parseTwoDigitYear(input);\n }); // MOMENTS\n\n function getSetWeekYear(input) {\n return getSetWeekYearHelper.call(this, input, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy);\n }\n\n function getSetISOWeekYear(input) {\n return getSetWeekYearHelper.call(this, input, this.isoWeek(), this.isoWeekday(), 1, 4);\n }\n\n function getISOWeeksInYear() {\n return weeksInYear(this.year(), 1, 4);\n }\n\n function getWeeksInYear() {\n var weekInfo = this.localeData()._week;\n\n return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n }\n\n function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n var weeksTarget;\n\n if (input == null) {\n return weekOfYear(this, dow, doy).year;\n } else {\n weeksTarget = weeksInYear(input, dow, doy);\n\n if (week > weeksTarget) {\n week = weeksTarget;\n }\n\n return setWeekAll.call(this, input, week, weekday, dow, doy);\n }\n }\n\n function setWeekAll(weekYear, week, weekday, dow, doy) {\n var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n this.year(date.getUTCFullYear());\n this.month(date.getUTCMonth());\n this.date(date.getUTCDate());\n return this;\n } // FORMATTING\n\n\n addFormatToken('Q', 0, 'Qo', 'quarter'); // ALIASES\n\n addUnitAlias('quarter', 'Q'); // PRIORITY\n\n addUnitPriority('quarter', 7); // PARSING\n\n addRegexToken('Q', match1);\n addParseToken('Q', function (input, array) {\n array[MONTH] = (toInt(input) - 1) * 3;\n }); // MOMENTS\n\n function getSetQuarter(input) {\n return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);\n } // FORMATTING\n\n\n addFormatToken('D', ['DD', 2], 'Do', 'date'); // ALIASES\n\n addUnitAlias('date', 'D'); // PRIORITY\n\n addUnitPriority('date', 9); // PARSING\n\n addRegexToken('D', match1to2);\n addRegexToken('DD', match1to2, match2);\n addRegexToken('Do', function (isStrict, locale) {\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n return isStrict ? locale._dayOfMonthOrdinalParse || locale._ordinalParse : locale._dayOfMonthOrdinalParseLenient;\n });\n addParseToken(['D', 'DD'], DATE);\n addParseToken('Do', function (input, array) {\n array[DATE] = toInt(input.match(match1to2)[0]);\n }); // MOMENTS\n\n var getSetDayOfMonth = makeGetSet('Date', true); // FORMATTING\n\n addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); // ALIASES\n\n addUnitAlias('dayOfYear', 'DDD'); // PRIORITY\n\n addUnitPriority('dayOfYear', 4); // PARSING\n\n addRegexToken('DDD', match1to3);\n addRegexToken('DDDD', match3);\n addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n config._dayOfYear = toInt(input);\n }); // HELPERS\n // MOMENTS\n\n function getSetDayOfYear(input) {\n var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1;\n return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n } // FORMATTING\n\n\n addFormatToken('m', ['mm', 2], 0, 'minute'); // ALIASES\n\n addUnitAlias('minute', 'm'); // PRIORITY\n\n addUnitPriority('minute', 14); // PARSING\n\n addRegexToken('m', match1to2);\n addRegexToken('mm', match1to2, match2);\n addParseToken(['m', 'mm'], MINUTE); // MOMENTS\n\n var getSetMinute = makeGetSet('Minutes', false); // FORMATTING\n\n addFormatToken('s', ['ss', 2], 0, 'second'); // ALIASES\n\n addUnitAlias('second', 's'); // PRIORITY\n\n addUnitPriority('second', 15); // PARSING\n\n addRegexToken('s', match1to2);\n addRegexToken('ss', match1to2, match2);\n addParseToken(['s', 'ss'], SECOND); // MOMENTS\n\n var getSetSecond = makeGetSet('Seconds', false); // FORMATTING\n\n addFormatToken('S', 0, 0, function () {\n return ~~(this.millisecond() / 100);\n });\n addFormatToken(0, ['SS', 2], 0, function () {\n return ~~(this.millisecond() / 10);\n });\n addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n addFormatToken(0, ['SSSS', 4], 0, function () {\n return this.millisecond() * 10;\n });\n addFormatToken(0, ['SSSSS', 5], 0, function () {\n return this.millisecond() * 100;\n });\n addFormatToken(0, ['SSSSSS', 6], 0, function () {\n return this.millisecond() * 1000;\n });\n addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n return this.millisecond() * 10000;\n });\n addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n return this.millisecond() * 100000;\n });\n addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n return this.millisecond() * 1000000;\n }); // ALIASES\n\n addUnitAlias('millisecond', 'ms'); // PRIORITY\n\n addUnitPriority('millisecond', 16); // PARSING\n\n addRegexToken('S', match1to3, match1);\n addRegexToken('SS', match1to3, match2);\n addRegexToken('SSS', match1to3, match3);\n var token;\n\n for (token = 'SSSS'; token.length <= 9; token += 'S') {\n addRegexToken(token, matchUnsigned);\n }\n\n function parseMs(input, array) {\n array[MILLISECOND] = toInt(('0.' + input) * 1000);\n }\n\n for (token = 'S'; token.length <= 9; token += 'S') {\n addParseToken(token, parseMs);\n } // MOMENTS\n\n\n var getSetMillisecond = makeGetSet('Milliseconds', false); // FORMATTING\n\n addFormatToken('z', 0, 0, 'zoneAbbr');\n addFormatToken('zz', 0, 0, 'zoneName'); // MOMENTS\n\n function getZoneAbbr() {\n return this._isUTC ? 'UTC' : '';\n }\n\n function getZoneName() {\n return this._isUTC ? 'Coordinated Universal Time' : '';\n }\n\n var proto = Moment.prototype;\n proto.add = add;\n proto.calendar = calendar$1;\n proto.clone = clone;\n proto.diff = diff;\n proto.endOf = endOf;\n proto.format = format;\n proto.from = from;\n proto.fromNow = fromNow;\n proto.to = to;\n proto.toNow = toNow;\n proto.get = stringGet;\n proto.invalidAt = invalidAt;\n proto.isAfter = isAfter;\n proto.isBefore = isBefore;\n proto.isBetween = isBetween;\n proto.isSame = isSame;\n proto.isSameOrAfter = isSameOrAfter;\n proto.isSameOrBefore = isSameOrBefore;\n proto.isValid = isValid$2;\n proto.lang = lang;\n proto.locale = locale;\n proto.localeData = localeData;\n proto.max = prototypeMax;\n proto.min = prototypeMin;\n proto.parsingFlags = parsingFlags;\n proto.set = stringSet;\n proto.startOf = startOf;\n proto.subtract = subtract;\n proto.toArray = toArray;\n proto.toObject = toObject;\n proto.toDate = toDate;\n proto.toISOString = toISOString;\n proto.inspect = inspect;\n proto.toJSON = toJSON;\n proto.toString = toString;\n proto.unix = unix;\n proto.valueOf = valueOf;\n proto.creationData = creationData;\n proto.year = getSetYear;\n proto.isLeapYear = getIsLeapYear;\n proto.weekYear = getSetWeekYear;\n proto.isoWeekYear = getSetISOWeekYear;\n proto.quarter = proto.quarters = getSetQuarter;\n proto.month = getSetMonth;\n proto.daysInMonth = getDaysInMonth;\n proto.week = proto.weeks = getSetWeek;\n proto.isoWeek = proto.isoWeeks = getSetISOWeek;\n proto.weeksInYear = getWeeksInYear;\n proto.isoWeeksInYear = getISOWeeksInYear;\n proto.date = getSetDayOfMonth;\n proto.day = proto.days = getSetDayOfWeek;\n proto.weekday = getSetLocaleDayOfWeek;\n proto.isoWeekday = getSetISODayOfWeek;\n proto.dayOfYear = getSetDayOfYear;\n proto.hour = proto.hours = getSetHour;\n proto.minute = proto.minutes = getSetMinute;\n proto.second = proto.seconds = getSetSecond;\n proto.millisecond = proto.milliseconds = getSetMillisecond;\n proto.utcOffset = getSetOffset;\n proto.utc = setOffsetToUTC;\n proto.local = setOffsetToLocal;\n proto.parseZone = setOffsetToParsedOffset;\n proto.hasAlignedHourOffset = hasAlignedHourOffset;\n proto.isDST = isDaylightSavingTime;\n proto.isLocal = isLocal;\n proto.isUtcOffset = isUtcOffset;\n proto.isUtc = isUtc;\n proto.isUTC = isUtc;\n proto.zoneAbbr = getZoneAbbr;\n proto.zoneName = getZoneName;\n proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth);\n proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth);\n proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear);\n proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone);\n proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted);\n\n function createUnix(input) {\n return createLocal(input * 1000);\n }\n\n function createInZone() {\n return createLocal.apply(null, arguments).parseZone();\n }\n\n function preParsePostFormat(string) {\n return string;\n }\n\n var proto$1 = Locale.prototype;\n proto$1.calendar = calendar;\n proto$1.longDateFormat = longDateFormat;\n proto$1.invalidDate = invalidDate;\n proto$1.ordinal = ordinal;\n proto$1.preparse = preParsePostFormat;\n proto$1.postformat = preParsePostFormat;\n proto$1.relativeTime = relativeTime;\n proto$1.pastFuture = pastFuture;\n proto$1.set = set;\n proto$1.months = localeMonths;\n proto$1.monthsShort = localeMonthsShort;\n proto$1.monthsParse = localeMonthsParse;\n proto$1.monthsRegex = monthsRegex;\n proto$1.monthsShortRegex = monthsShortRegex;\n proto$1.week = localeWeek;\n proto$1.firstDayOfYear = localeFirstDayOfYear;\n proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n proto$1.weekdays = localeWeekdays;\n proto$1.weekdaysMin = localeWeekdaysMin;\n proto$1.weekdaysShort = localeWeekdaysShort;\n proto$1.weekdaysParse = localeWeekdaysParse;\n proto$1.weekdaysRegex = weekdaysRegex;\n proto$1.weekdaysShortRegex = weekdaysShortRegex;\n proto$1.weekdaysMinRegex = weekdaysMinRegex;\n proto$1.isPM = localeIsPM;\n proto$1.meridiem = localeMeridiem;\n\n function get$1(format, index, field, setter) {\n var locale = getLocale();\n var utc = createUTC().set(setter, index);\n return locale[field](utc, format);\n }\n\n function listMonthsImpl(format, index, field) {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n\n if (index != null) {\n return get$1(format, index, field, 'month');\n }\n\n var i;\n var out = [];\n\n for (i = 0; i < 12; i++) {\n out[i] = get$1(format, i, field, 'month');\n }\n\n return out;\n } // ()\n // (5)\n // (fmt, 5)\n // (fmt)\n // (true)\n // (true, 5)\n // (true, fmt, 5)\n // (true, fmt)\n\n\n function listWeekdaysImpl(localeSorted, format, index, field) {\n if (typeof localeSorted === 'boolean') {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n } else {\n format = localeSorted;\n index = format;\n localeSorted = false;\n\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n }\n\n var locale = getLocale(),\n shift = localeSorted ? locale._week.dow : 0;\n\n if (index != null) {\n return get$1(format, (index + shift) % 7, field, 'day');\n }\n\n var i;\n var out = [];\n\n for (i = 0; i < 7; i++) {\n out[i] = get$1(format, (i + shift) % 7, field, 'day');\n }\n\n return out;\n }\n\n function listMonths(format, index) {\n return listMonthsImpl(format, index, 'months');\n }\n\n function listMonthsShort(format, index) {\n return listMonthsImpl(format, index, 'monthsShort');\n }\n\n function listWeekdays(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n }\n\n function listWeekdaysShort(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n }\n\n function listWeekdaysMin(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n }\n\n getSetGlobalLocale('en', {\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = toInt(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n }\n }); // Side effect imports\n\n hooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', getSetGlobalLocale);\n hooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', getLocale);\n var mathAbs = Math.abs;\n\n function abs() {\n var data = this._data;\n this._milliseconds = mathAbs(this._milliseconds);\n this._days = mathAbs(this._days);\n this._months = mathAbs(this._months);\n data.milliseconds = mathAbs(data.milliseconds);\n data.seconds = mathAbs(data.seconds);\n data.minutes = mathAbs(data.minutes);\n data.hours = mathAbs(data.hours);\n data.months = mathAbs(data.months);\n data.years = mathAbs(data.years);\n return this;\n }\n\n function addSubtract$1(duration, input, value, direction) {\n var other = createDuration(input, value);\n duration._milliseconds += direction * other._milliseconds;\n duration._days += direction * other._days;\n duration._months += direction * other._months;\n return duration._bubble();\n } // supports only 2.0-style add(1, 's') or add(duration)\n\n\n function add$1(input, value) {\n return addSubtract$1(this, input, value, 1);\n } // supports only 2.0-style subtract(1, 's') or subtract(duration)\n\n\n function subtract$1(input, value) {\n return addSubtract$1(this, input, value, -1);\n }\n\n function absCeil(number) {\n if (number < 0) {\n return Math.floor(number);\n } else {\n return Math.ceil(number);\n }\n }\n\n function bubble() {\n var milliseconds = this._milliseconds;\n var days = this._days;\n var months = this._months;\n var data = this._data;\n var seconds, minutes, hours, years, monthsFromDays; // if we have a mix of positive and negative values, bubble down first\n // check: https://github.com/moment/moment/issues/2166\n\n if (!(milliseconds >= 0 && days >= 0 && months >= 0 || milliseconds <= 0 && days <= 0 && months <= 0)) {\n milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n days = 0;\n months = 0;\n } // The following code bubbles up values, see the tests for\n // examples of what that means.\n\n\n data.milliseconds = milliseconds % 1000;\n seconds = absFloor(milliseconds / 1000);\n data.seconds = seconds % 60;\n minutes = absFloor(seconds / 60);\n data.minutes = minutes % 60;\n hours = absFloor(minutes / 60);\n data.hours = hours % 24;\n days += absFloor(hours / 24); // convert days to months\n\n monthsFromDays = absFloor(daysToMonths(days));\n months += monthsFromDays;\n days -= absCeil(monthsToDays(monthsFromDays)); // 12 months -> 1 year\n\n years = absFloor(months / 12);\n months %= 12;\n data.days = days;\n data.months = months;\n data.years = years;\n return this;\n }\n\n function daysToMonths(days) {\n // 400 years have 146097 days (taking into account leap year rules)\n // 400 years have 12 months === 4800\n return days * 4800 / 146097;\n }\n\n function monthsToDays(months) {\n // the reverse of daysToMonths\n return months * 146097 / 4800;\n }\n\n function as(units) {\n if (!this.isValid()) {\n return NaN;\n }\n\n var days;\n var months;\n var milliseconds = this._milliseconds;\n units = normalizeUnits(units);\n\n if (units === 'month' || units === 'quarter' || units === 'year') {\n days = this._days + milliseconds / 864e5;\n months = this._months + daysToMonths(days);\n\n switch (units) {\n case 'month':\n return months;\n\n case 'quarter':\n return months / 3;\n\n case 'year':\n return months / 12;\n }\n } else {\n // handle milliseconds separately because of floating point math errors (issue #1867)\n days = this._days + Math.round(monthsToDays(this._months));\n\n switch (units) {\n case 'week':\n return days / 7 + milliseconds / 6048e5;\n\n case 'day':\n return days + milliseconds / 864e5;\n\n case 'hour':\n return days * 24 + milliseconds / 36e5;\n\n case 'minute':\n return days * 1440 + milliseconds / 6e4;\n\n case 'second':\n return days * 86400 + milliseconds / 1000;\n // Math.floor prevents floating point math errors here\n\n case 'millisecond':\n return Math.floor(days * 864e5) + milliseconds;\n\n default:\n throw new Error('Unknown unit ' + units);\n }\n }\n } // TODO: Use this.as('ms')?\n\n\n function valueOf$1() {\n if (!this.isValid()) {\n return NaN;\n }\n\n return this._milliseconds + this._days * 864e5 + this._months % 12 * 2592e6 + toInt(this._months / 12) * 31536e6;\n }\n\n function makeAs(alias) {\n return function () {\n return this.as(alias);\n };\n }\n\n var asMilliseconds = makeAs('ms');\n var asSeconds = makeAs('s');\n var asMinutes = makeAs('m');\n var asHours = makeAs('h');\n var asDays = makeAs('d');\n var asWeeks = makeAs('w');\n var asMonths = makeAs('M');\n var asQuarters = makeAs('Q');\n var asYears = makeAs('y');\n\n function clone$1() {\n return createDuration(this);\n }\n\n function get$2(units) {\n units = normalizeUnits(units);\n return this.isValid() ? this[units + 's']() : NaN;\n }\n\n function makeGetter(name) {\n return function () {\n return this.isValid() ? this._data[name] : NaN;\n };\n }\n\n var milliseconds = makeGetter('milliseconds');\n var seconds = makeGetter('seconds');\n var minutes = makeGetter('minutes');\n var hours = makeGetter('hours');\n var days = makeGetter('days');\n var months = makeGetter('months');\n var years = makeGetter('years');\n\n function weeks() {\n return absFloor(this.days() / 7);\n }\n\n var round = Math.round;\n var thresholds = {\n ss: 44,\n // a few seconds to seconds\n s: 45,\n // seconds to minute\n m: 45,\n // minutes to hour\n h: 22,\n // hours to day\n d: 26,\n // days to month\n M: 11 // months to year\n\n }; // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n\n function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n }\n\n function relativeTime$1(posNegDuration, withoutSuffix, locale) {\n var duration = createDuration(posNegDuration).abs();\n var seconds = round(duration.as('s'));\n var minutes = round(duration.as('m'));\n var hours = round(duration.as('h'));\n var days = round(duration.as('d'));\n var months = round(duration.as('M'));\n var years = round(duration.as('y'));\n var a = seconds <= thresholds.ss && ['s', seconds] || seconds < thresholds.s && ['ss', seconds] || minutes <= 1 && ['m'] || minutes < thresholds.m && ['mm', minutes] || hours <= 1 && ['h'] || hours < thresholds.h && ['hh', hours] || days <= 1 && ['d'] || days < thresholds.d && ['dd', days] || months <= 1 && ['M'] || months < thresholds.M && ['MM', months] || years <= 1 && ['y'] || ['yy', years];\n a[2] = withoutSuffix;\n a[3] = +posNegDuration > 0;\n a[4] = locale;\n return substituteTimeAgo.apply(null, a);\n } // This function allows you to set the rounding function for relative time strings\n\n\n function getSetRelativeTimeRounding(roundingFunction) {\n if (roundingFunction === undefined) {\n return round;\n }\n\n if (typeof roundingFunction === 'function') {\n round = roundingFunction;\n return true;\n }\n\n return false;\n } // This function allows you to set a threshold for relative time strings\n\n\n function getSetRelativeTimeThreshold(threshold, limit) {\n if (thresholds[threshold] === undefined) {\n return false;\n }\n\n if (limit === undefined) {\n return thresholds[threshold];\n }\n\n thresholds[threshold] = limit;\n\n if (threshold === 's') {\n thresholds.ss = limit - 1;\n }\n\n return true;\n }\n\n function humanize(withSuffix) {\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n\n var locale = this.localeData();\n var output = relativeTime$1(this, !withSuffix, locale);\n\n if (withSuffix) {\n output = locale.pastFuture(+this, output);\n }\n\n return locale.postformat(output);\n }\n\n var abs$1 = Math.abs;\n\n function sign(x) {\n return (x > 0) - (x < 0) || +x;\n }\n\n function toISOString$1() {\n // for ISO strings we do not use the normal bubbling rules:\n // * milliseconds bubble up until they become hours\n // * days do not bubble at all\n // * months bubble up until they become years\n // This is because there is no context-free conversion between hours and days\n // (think of clock changes)\n // and also not between days and months (28-31 days per month)\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n\n var seconds = abs$1(this._milliseconds) / 1000;\n var days = abs$1(this._days);\n var months = abs$1(this._months);\n var minutes, hours, years; // 3600 seconds -> 60 minutes -> 1 hour\n\n minutes = absFloor(seconds / 60);\n hours = absFloor(minutes / 60);\n seconds %= 60;\n minutes %= 60; // 12 months -> 1 year\n\n years = absFloor(months / 12);\n months %= 12; // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n\n var Y = years;\n var M = months;\n var D = days;\n var h = hours;\n var m = minutes;\n var s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n var total = this.asSeconds();\n\n if (!total) {\n // this is the same as C#'s (Noda) and python (isodate)...\n // but not other JS (goog.date)\n return 'P0D';\n }\n\n var totalSign = total < 0 ? '-' : '';\n var ymSign = sign(this._months) !== sign(total) ? '-' : '';\n var daysSign = sign(this._days) !== sign(total) ? '-' : '';\n var hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n return totalSign + 'P' + (Y ? ymSign + Y + 'Y' : '') + (M ? ymSign + M + 'M' : '') + (D ? daysSign + D + 'D' : '') + (h || m || s ? 'T' : '') + (h ? hmsSign + h + 'H' : '') + (m ? hmsSign + m + 'M' : '') + (s ? hmsSign + s + 'S' : '');\n }\n\n var proto$2 = Duration.prototype;\n proto$2.isValid = isValid$1;\n proto$2.abs = abs;\n proto$2.add = add$1;\n proto$2.subtract = subtract$1;\n proto$2.as = as;\n proto$2.asMilliseconds = asMilliseconds;\n proto$2.asSeconds = asSeconds;\n proto$2.asMinutes = asMinutes;\n proto$2.asHours = asHours;\n proto$2.asDays = asDays;\n proto$2.asWeeks = asWeeks;\n proto$2.asMonths = asMonths;\n proto$2.asQuarters = asQuarters;\n proto$2.asYears = asYears;\n proto$2.valueOf = valueOf$1;\n proto$2._bubble = bubble;\n proto$2.clone = clone$1;\n proto$2.get = get$2;\n proto$2.milliseconds = milliseconds;\n proto$2.seconds = seconds;\n proto$2.minutes = minutes;\n proto$2.hours = hours;\n proto$2.days = days;\n proto$2.weeks = weeks;\n proto$2.months = months;\n proto$2.years = years;\n proto$2.humanize = humanize;\n proto$2.toISOString = toISOString$1;\n proto$2.toString = toISOString$1;\n proto$2.toJSON = toISOString$1;\n proto$2.locale = locale;\n proto$2.localeData = localeData;\n proto$2.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString$1);\n proto$2.lang = lang; // Side effect imports\n // FORMATTING\n\n addFormatToken('X', 0, 0, 'unix');\n addFormatToken('x', 0, 0, 'valueOf'); // PARSING\n\n addRegexToken('x', matchSigned);\n addRegexToken('X', matchTimestamp);\n addParseToken('X', function (input, array, config) {\n config._d = new Date(parseFloat(input, 10) * 1000);\n });\n addParseToken('x', function (input, array, config) {\n config._d = new Date(toInt(input));\n }); // Side effect imports\n\n hooks.version = '2.24.0';\n setHookCallback(createLocal);\n hooks.fn = proto;\n hooks.min = min;\n hooks.max = max;\n hooks.now = now;\n hooks.utc = createUTC;\n hooks.unix = createUnix;\n hooks.months = listMonths;\n hooks.isDate = isDate;\n hooks.locale = getSetGlobalLocale;\n hooks.invalid = createInvalid;\n hooks.duration = createDuration;\n hooks.isMoment = isMoment;\n hooks.weekdays = listWeekdays;\n hooks.parseZone = createInZone;\n hooks.localeData = getLocale;\n hooks.isDuration = isDuration;\n hooks.monthsShort = listMonthsShort;\n hooks.weekdaysMin = listWeekdaysMin;\n hooks.defineLocale = defineLocale;\n hooks.updateLocale = updateLocale;\n hooks.locales = listLocales;\n hooks.weekdaysShort = listWeekdaysShort;\n hooks.normalizeUnits = normalizeUnits;\n hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n hooks.calendarFormat = getCalendarFormat;\n hooks.prototype = proto; // currently HTML5 input type only supports 24-hour formats\n\n hooks.HTML5_FMT = {\n DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm',\n // <input type=\"datetime-local\" />\n DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss',\n // <input type=\"datetime-local\" step=\"1\" />\n DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS',\n // <input type=\"datetime-local\" step=\"0.001\" />\n DATE: 'YYYY-MM-DD',\n // <input type=\"date\" />\n TIME: 'HH:mm',\n // <input type=\"time\" />\n TIME_SECONDS: 'HH:mm:ss',\n // <input type=\"time\" step=\"1\" />\n TIME_MS: 'HH:mm:ss.SSS',\n // <input type=\"time\" step=\"0.001\" />\n WEEK: 'GGGG-[W]WW',\n // <input type=\"week\" />\n MONTH: 'YYYY-MM' // <input type=\"month\" />\n\n };\n return hooks;\n});","module.exports = require('./lib/axios');","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n!function (t, n) {\n \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) && \"undefined\" != typeof module ? module.exports = n() : \"function\" == typeof define && define.amd ? define(n) : t.dayjs = n();\n}(this, function () {\n \"use strict\";\n\n var t = \"millisecond\",\n n = \"second\",\n e = \"minute\",\n r = \"hour\",\n i = \"day\",\n s = \"week\",\n u = \"month\",\n o = \"quarter\",\n a = \"year\",\n h = /^(\\d{4})-?(\\d{1,2})-?(\\d{0,2})[^0-9]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?.?(\\d{1,3})?$/,\n f = /\\[([^\\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,\n c = function c(t, n, e) {\n var r = String(t);\n return !r || r.length >= n ? t : \"\" + Array(n + 1 - r.length).join(e) + t;\n },\n d = {\n s: c,\n z: function z(t) {\n var n = -t.utcOffset(),\n e = Math.abs(n),\n r = Math.floor(e / 60),\n i = e % 60;\n return (n <= 0 ? \"+\" : \"-\") + c(r, 2, \"0\") + \":\" + c(i, 2, \"0\");\n },\n m: function m(t, n) {\n var e = 12 * (n.year() - t.year()) + (n.month() - t.month()),\n r = t.clone().add(e, u),\n i = n - r < 0,\n s = t.clone().add(e + (i ? -1 : 1), u);\n return Number(-(e + (n - r) / (i ? r - s : s - r)) || 0);\n },\n a: function a(t) {\n return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);\n },\n p: function p(h) {\n return {\n M: u,\n y: a,\n w: s,\n d: i,\n D: \"date\",\n h: r,\n m: e,\n s: n,\n ms: t,\n Q: o\n }[h] || String(h || \"\").toLowerCase().replace(/s$/, \"\");\n },\n u: function u(t) {\n return void 0 === t;\n }\n },\n $ = {\n name: \"en\",\n weekdays: \"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),\n months: \"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\")\n },\n l = \"en\",\n m = {};\n\n m[l] = $;\n\n var y = function y(t) {\n return t instanceof v;\n },\n M = function M(t, n, e) {\n var r;\n if (!t) return l;\n if (\"string\" == typeof t) m[t] && (r = t), n && (m[t] = n, r = t);else {\n var i = t.name;\n m[i] = t, r = i;\n }\n return !e && r && (l = r), r || !e && l;\n },\n g = function g(t, n, e) {\n if (y(t)) return t.clone();\n var r = n ? \"string\" == typeof n ? {\n format: n,\n pl: e\n } : n : {};\n return r.date = t, new v(r);\n },\n D = d;\n\n D.l = M, D.i = y, D.w = function (t, n) {\n return g(t, {\n locale: n.$L,\n utc: n.$u,\n $offset: n.$offset\n });\n };\n\n var v = function () {\n function c(t) {\n this.$L = this.$L || M(t.locale, null, !0), this.parse(t);\n }\n\n var d = c.prototype;\n return d.parse = function (t) {\n this.$d = function (t) {\n var n = t.date,\n e = t.utc;\n if (null === n) return new Date(NaN);\n if (D.u(n)) return new Date();\n if (n instanceof Date) return new Date(n);\n\n if (\"string\" == typeof n && !/Z$/i.test(n)) {\n var r = n.match(h);\n if (r) return e ? new Date(Date.UTC(r[1], r[2] - 1, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, r[7] || 0)) : new Date(r[1], r[2] - 1, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, r[7] || 0);\n }\n\n return new Date(n);\n }(t), this.init();\n }, d.init = function () {\n var t = this.$d;\n this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();\n }, d.$utils = function () {\n return D;\n }, d.isValid = function () {\n return !(\"Invalid Date\" === this.$d.toString());\n }, d.isSame = function (t, n) {\n var e = g(t);\n return this.startOf(n) <= e && e <= this.endOf(n);\n }, d.isAfter = function (t, n) {\n return g(t) < this.startOf(n);\n }, d.isBefore = function (t, n) {\n return this.endOf(n) < g(t);\n }, d.$g = function (t, n, e) {\n return D.u(t) ? this[n] : this.set(e, t);\n }, d.year = function (t) {\n return this.$g(t, \"$y\", a);\n }, d.month = function (t) {\n return this.$g(t, \"$M\", u);\n }, d.day = function (t) {\n return this.$g(t, \"$W\", i);\n }, d.date = function (t) {\n return this.$g(t, \"$D\", \"date\");\n }, d.hour = function (t) {\n return this.$g(t, \"$H\", r);\n }, d.minute = function (t) {\n return this.$g(t, \"$m\", e);\n }, d.second = function (t) {\n return this.$g(t, \"$s\", n);\n }, d.millisecond = function (n) {\n return this.$g(n, \"$ms\", t);\n }, d.unix = function () {\n return Math.floor(this.valueOf() / 1e3);\n }, d.valueOf = function () {\n return this.$d.getTime();\n }, d.startOf = function (t, o) {\n var h = this,\n f = !!D.u(o) || o,\n c = D.p(t),\n d = function d(t, n) {\n var e = D.w(h.$u ? Date.UTC(h.$y, n, t) : new Date(h.$y, n, t), h);\n return f ? e : e.endOf(i);\n },\n $ = function $(t, n) {\n return D.w(h.toDate()[t].apply(h.toDate(), (f ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(n)), h);\n },\n l = this.$W,\n m = this.$M,\n y = this.$D,\n M = \"set\" + (this.$u ? \"UTC\" : \"\");\n\n switch (c) {\n case a:\n return f ? d(1, 0) : d(31, 11);\n\n case u:\n return f ? d(1, m) : d(0, m + 1);\n\n case s:\n var g = this.$locale().weekStart || 0,\n v = (l < g ? l + 7 : l) - g;\n return d(f ? y - v : y + (6 - v), m);\n\n case i:\n case \"date\":\n return $(M + \"Hours\", 0);\n\n case r:\n return $(M + \"Minutes\", 1);\n\n case e:\n return $(M + \"Seconds\", 2);\n\n case n:\n return $(M + \"Milliseconds\", 3);\n\n default:\n return this.clone();\n }\n }, d.endOf = function (t) {\n return this.startOf(t, !1);\n }, d.$set = function (s, o) {\n var h,\n f = D.p(s),\n c = \"set\" + (this.$u ? \"UTC\" : \"\"),\n d = (h = {}, h[i] = c + \"Date\", h.date = c + \"Date\", h[u] = c + \"Month\", h[a] = c + \"FullYear\", h[r] = c + \"Hours\", h[e] = c + \"Minutes\", h[n] = c + \"Seconds\", h[t] = c + \"Milliseconds\", h)[f],\n $ = f === i ? this.$D + (o - this.$W) : o;\n\n if (f === u || f === a) {\n var l = this.clone().set(\"date\", 1);\n l.$d[d]($), l.init(), this.$d = l.set(\"date\", Math.min(this.$D, l.daysInMonth())).toDate();\n } else d && this.$d[d]($);\n\n return this.init(), this;\n }, d.set = function (t, n) {\n return this.clone().$set(t, n);\n }, d.get = function (t) {\n return this[D.p(t)]();\n }, d.add = function (t, o) {\n var h,\n f = this;\n t = Number(t);\n\n var c = D.p(o),\n d = function d(n) {\n var e = g(f);\n return D.w(e.date(e.date() + Math.round(n * t)), f);\n };\n\n if (c === u) return this.set(u, this.$M + t);\n if (c === a) return this.set(a, this.$y + t);\n if (c === i) return d(1);\n if (c === s) return d(7);\n var $ = (h = {}, h[e] = 6e4, h[r] = 36e5, h[n] = 1e3, h)[c] || 1,\n l = this.$d.getTime() + t * $;\n return D.w(l, this);\n }, d.subtract = function (t, n) {\n return this.add(-1 * t, n);\n }, d.format = function (t) {\n var n = this;\n if (!this.isValid()) return \"Invalid Date\";\n\n var e = t || \"YYYY-MM-DDTHH:mm:ssZ\",\n r = D.z(this),\n i = this.$locale(),\n s = this.$H,\n u = this.$m,\n o = this.$M,\n a = i.weekdays,\n h = i.months,\n c = function c(t, r, i, s) {\n return t && (t[r] || t(n, e)) || i[r].substr(0, s);\n },\n d = function d(t) {\n return D.s(s % 12 || 12, t, \"0\");\n },\n $ = i.meridiem || function (t, n, e) {\n var r = t < 12 ? \"AM\" : \"PM\";\n return e ? r.toLowerCase() : r;\n },\n l = {\n YY: String(this.$y).slice(-2),\n YYYY: this.$y,\n M: o + 1,\n MM: D.s(o + 1, 2, \"0\"),\n MMM: c(i.monthsShort, o, h, 3),\n MMMM: h[o] || h(this, e),\n D: this.$D,\n DD: D.s(this.$D, 2, \"0\"),\n d: String(this.$W),\n dd: c(i.weekdaysMin, this.$W, a, 2),\n ddd: c(i.weekdaysShort, this.$W, a, 3),\n dddd: a[this.$W],\n H: String(s),\n HH: D.s(s, 2, \"0\"),\n h: d(1),\n hh: d(2),\n a: $(s, u, !0),\n A: $(s, u, !1),\n m: String(u),\n mm: D.s(u, 2, \"0\"),\n s: String(this.$s),\n ss: D.s(this.$s, 2, \"0\"),\n SSS: D.s(this.$ms, 3, \"0\"),\n Z: r\n };\n\n return e.replace(f, function (t, n) {\n return n || l[t] || r.replace(\":\", \"\");\n });\n }, d.utcOffset = function () {\n return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);\n }, d.diff = function (t, h, f) {\n var c,\n d = D.p(h),\n $ = g(t),\n l = 6e4 * ($.utcOffset() - this.utcOffset()),\n m = this - $,\n y = D.m(this, $);\n return y = (c = {}, c[a] = y / 12, c[u] = y, c[o] = y / 3, c[s] = (m - l) / 6048e5, c[i] = (m - l) / 864e5, c[r] = m / 36e5, c[e] = m / 6e4, c[n] = m / 1e3, c)[d] || m, f ? y : D.a(y);\n }, d.daysInMonth = function () {\n return this.endOf(u).$D;\n }, d.$locale = function () {\n return m[this.$L];\n }, d.locale = function (t, n) {\n if (!t) return this.$L;\n var e = this.clone(),\n r = M(t, n, !0);\n return r && (e.$L = r), e;\n }, d.clone = function () {\n return D.w(this.$d, this);\n }, d.toDate = function () {\n return new Date(this.valueOf());\n }, d.toJSON = function () {\n return this.isValid() ? this.toISOString() : null;\n }, d.toISOString = function () {\n return this.$d.toISOString();\n }, d.toString = function () {\n return this.$d.toUTCString();\n }, c;\n }();\n\n return g.prototype = v.prototype, g.extend = function (t, n) {\n return t(n, v, g), g;\n }, g.locale = M, g.isDayjs = y, g.unix = function (t) {\n return g(1e3 * t);\n }, g.en = m[l], g.Ls = m, g;\n});","/**\n * Copyright (c) 2013-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 */\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is'); // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n\n\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n(function () {\n var root = this;\n\n var VoxImplant = function (e) {\n function t(r) {\n if (n[r]) return n[r].exports;\n var i = n[r] = {\n i: r,\n l: !1,\n exports: {}\n };\n return e[r].call(i.exports, i, i.exports, t), i.l = !0, i.exports;\n }\n\n var n = {};\n return t.m = e, t.c = n, t.d = function (e, n, r) {\n t.o(e, n) || Object.defineProperty(e, n, {\n configurable: !1,\n enumerable: !0,\n get: r\n });\n }, t.n = function (e) {\n var n = e && e.__esModule ? function () {\n return e.default;\n } : function () {\n return e;\n };\n return t.d(n, \"a\", n), n;\n }, t.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, t.p = \"/build\", t(t.s = 46);\n }([function (e, t, n) {\n \"use strict\";\n\n function r(e, t, n) {\n return t in e ? Object.defineProperty(e, t, {\n value: n,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[t] = n, e;\n }\n\n function i(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var o = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var a;\n !function (e) {\n e[e.NONE = 0] = \"NONE\", e[e.ERROR = 1] = \"ERROR\", e[e.WARNING = 2] = \"WARNING\", e[e.INFO = 3] = \"INFO\", e[e.TRACE = 4] = \"TRACE\";\n }(a = t.LogLevel || (t.LogLevel = {}));\n var s;\n !function (e) {\n e[e.SIGNALING = 0] = \"SIGNALING\", e[e.RTC = 1] = \"RTC\", e[e.USERMEDIA = 2] = \"USERMEDIA\", e[e.CALL = 3] = \"CALL\", e[e.CALLEXP2P = 4] = \"CALLEXP2P\", e[e.CALLEXSERVER = 5] = \"CALLEXSERVER\", e[e.CALLMANAGER = 6] = \"CALLMANAGER\", e[e.CLIENT = 7] = \"CLIENT\", e[e.AUTHENTICATOR = 8] = \"AUTHENTICATOR\", e[e.PCFACTORY = 9] = \"PCFACTORY\", e[e.UTILS = 10] = \"UTILS\", e[e.ORTC = 11] = \"ORTC\", e[e.MESSAGING = 12] = \"MESSAGING\", e[e.REINVITEQ = 13] = \"REINVITEQ\", e[e.HARDWARE = 14] = \"HARDWARE\", e[e.ENDPOINT = 15] = \"ENDPOINT\", e[e.EVENTTARGET = 16] = \"EVENTTARGET\";\n }(s = t.LogCategory || (t.LogCategory = {}));\n !function (e) {\n e[e.DISCONNECTED = \"DISCONNECTED\"] = \"DISCONNECTED\", e[e.CONNECTING = \"CONNECTING\"] = \"CONNECTING\", e[e.CONNECTED = \"CONNECTED\"] = \"CONNECTED\", e[e.LOGGING_IN = \"LOGGING_IN\"] = \"LOGGING_IN\", e[e.LOGGED_IN = \"LOGGED_IN\"] = \"LOGGED_IN\";\n }(t.ClientState || (t.ClientState = {}));\n\n var c = function () {\n function e(t, n, r) {\n i(this, e), this.category = t, this.label = n, this.provider = r;\n }\n\n return o(e, [{\n key: \"log\",\n value: function value(e, t) {\n this.provider.writeMessage(this.category, this.label, e, t);\n }\n }, {\n key: \"error\",\n value: function value(e) {\n this.log(a.ERROR, e);\n }\n }, {\n key: \"warning\",\n value: function value(e) {\n this.log(a.WARNING, e);\n }\n }, {\n key: \"info\",\n value: function value(e) {\n this.log(a.INFO, e);\n }\n }, {\n key: \"trace\",\n value: function value(e) {\n this.log(a.TRACE, e);\n }\n }]), e;\n }();\n\n t.Logger = c;\n\n var l = function () {\n function e() {\n i(this, e), this.timeOriginGap = 0, this.isFirstPrint = !0, this.levels = {}, this.showTrace = !1, this._shadowLogging = !1;\n }\n\n return o(e, [{\n key: \"getSLog\",\n value: function value() {\n return this._shadowLog;\n }\n }, {\n key: \"clearSilentLog\",\n value: function value() {\n this._shadowLog = [];\n }\n }, {\n key: \"setLoggerCallback\",\n value: function value(e) {\n this._outerCallback = e;\n }\n }, {\n key: \"setPrettyPrint\",\n value: function value(e) {\n this.prettyPrint = e;\n }\n }, {\n key: \"setLogLevel\",\n value: function value(e, t) {\n t === a.TRACE ? this.showTrace = !0 : this.levels[s[e]] = t;\n }\n }, {\n key: \"writeMessage\",\n value: function value(t, n, i, o) {\n i === a.TRACE ? e.traceTick++ : e.logTick++, this.timeOriginGap || (this.timeOriginGap = performance.now());\n var c = \"string\" == typeof o ? o : JSON.stringify(o),\n l = this.isFirstPrint ? this.prettyPrint ? new Date().toUTCString() : new Date().toString() : parseInt(\"\" + (performance.now() - this.timeOriginGap) / 1e3),\n u = i === a.TRACE ? \"VIWSTR \" + e.traceTick : \"VIWSLR \" + e.logTick,\n d = u + \" \" + l + \" \" + a[i] + \" \" + n + \": \" + c;\n\n if (i <= (void 0 !== this.levels[s[t]] ? this.levels[s[t]] : a.NONE) || i === a.TRACE && this.showTrace) {\n if (void 0 !== console.debug && void 0 !== console.info && void 0 !== console.error && void 0 !== console.warn) {\n if (this.prettyPrint) {\n var g,\n f = \"%c\" + u + \" \" + l + \" [\" + a[i] + \"] %c\" + n + \": %c\" + c,\n p = (g = {}, r(g, a.ERROR, \"color:#fab005\"), r(g, a.WARNING, \"color:#af2a2a\"), r(g, a.INFO, \"color:#0ca678\"), r(g, a.TRACE, \"color:#8f66ff\"), g);\n i === a.ERROR ? console.error(d) : i === a.WARNING ? console.warn(f, p[i], \"color:#2375a2\", \"color:#000\") : i === a.INFO ? console.info(f, p[i], \"color:#2375a2\", \"color:#000\") : i === a.TRACE ? console.debug(f, p[i], \"color:#2375a2\", \"color:#000\") : console.log(f, p[i], \"color:#2375a2\", \"color:#000\");\n } else i === a.ERROR ? console.error(d) : i === a.WARNING ? console.warn(d) : i === a.INFO ? console.info(d) : i === a.TRACE ? console.debug(d) : console.log(d);\n } else console.log(d);\n this.isFirstPrint && (this.isFirstPrint = !1);\n }\n\n this.shadowLogging && (i !== a.TRACE || this.showTrace) && this._shadowLog.push(d), \"function\" != typeof this._outerCallback || i === a.TRACE && !this.showTrace || this._outerCallback({\n formattedText: d,\n category: t,\n label: n,\n level: i,\n message: c\n });\n }\n }, {\n key: \"createLogger\",\n value: function value(e, t) {\n return new c(e, t, this);\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"Logger\";\n }\n }, {\n key: \"shadowLogging\",\n get: function get() {\n return this._shadowLogging;\n },\n set: function set(e) {\n this._shadowLogging || (this._shadowLog = []), this._shadowLogging = e;\n }\n }], [{\n key: \"get\",\n value: function value() {\n return void 0 === this.inst && (this.inst = new e(), this.inst.prettyPrint = !1), this.inst;\n }\n }, {\n key: \"d_trace\",\n value: function value(t) {\n return function (n, r, i) {\n return {\n value: function value() {\n for (var o = arguments.length, s = Array(o), c = 0; c < o; c++) {\n s[c] = arguments[c];\n }\n\n var l = \"login\" === r || \"basicLogin\" === r || \"sendWSMessage\" === r && \"login\" === s[0],\n u = \"sendWSMessage\" === r ? 2 : 1,\n d = n._traceName ? n._traceName() + (this && this.settings ? \" \" + this.settings.id : this && this.id && \"function\" != typeof this.id ? \" \" + this.id : \"\") : \"\",\n g = \"\";\n\n try {\n g = s.map(function (e, t) {\n return l && t === u ? '\"********\"' : JSON.stringify(e);\n }).join();\n } catch (e) {\n g = \"circular structure\";\n }\n\n return e.get().writeMessage(t, d, a.TRACE, r + \"(\" + g + \")\"), i.value.apply(this, s);\n }\n };\n };\n }\n }]), e;\n }();\n\n l.logTick = 0, l.traceTick = 0, t.LogManager = l;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n var a = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n s = function e(t, n, r) {\n null === t && (t = Function.prototype);\n var i = Object.getOwnPropertyDescriptor(t, n);\n\n if (void 0 === i) {\n var o = Object.getPrototypeOf(t);\n return null === o ? void 0 : e(o, n, r);\n }\n\n if (\"value\" in i) return i.value;\n var a = i.get;\n if (void 0 !== a) return a.call(r);\n },\n c = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n l = function l(e, t, n, r) {\n var i,\n o = arguments.length,\n a = o < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : c(Reflect)) && \"function\" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, r);else for (var s = e.length - 1; s >= 0; s--) {\n (i = e[s]) && (a = (o < 3 ? i(a) : o > 3 ? i(t, n, a) : i(t, n)) || a);\n }\n return o > 3 && a && Object.defineProperty(t, n, a), a;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var u = n(28),\n d = n(14),\n g = n(20),\n f = n(2),\n p = n(11),\n v = n(7),\n h = n(0),\n m = n(8),\n y = n(6),\n C = n(15),\n S = n(3),\n _ = n(13),\n E = n(17),\n L = n(65),\n M = n(66),\n b = n(33),\n R = n(4),\n T = n(42),\n k = function (e) {\n function t() {\n r(this, t);\n var e = i(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));\n if (e._connected = !1, e.progressToneScript = {\n US: \"440@-19,480@-19;*(2/4/1+2)\",\n RU: \"425@-19;*(1/3/1)\"\n }, e.playingNow = !1, e.serversList = [], e.level = 100, e.micRequired = !1, e.videoConstraints = null, e.progressToneCountry = \"US\", e.progressTone = !0, e.enableTrace = !1, e.showDebugInfo = !1, e.showWarnings = !1, e.RTCsupported = !1, e._deviceEnumAPI = !1, e._h264first = !1, e._VP8first = !1, e.depLastDevices = {\n ai: [],\n ao: [],\n vi: []\n }, e._alreadyInitialized = !1, t.instance) throw new Error(\"Error - use VoxImplant.getInstance()\");\n return t.instance = e, e._promises = {}, v.default.init(), m.PCFactory.get().requireMedia = !1, e.voxSignaling = f.VoxSignaling.get(), e.voxCallManager = y.CallManager.get(), e.setLogLevelAll(h.LogLevel.NONE), f.VoxSignaling.get().setRPCHandler(_.RemoteEvent.onPCStats, function (t, n) {\n m.PCFactory.get().getPeerConnect(t) && e.dispatchEvent({\n name: \"NetStatsReceived\",\n stats: n\n });\n }), e.logger = h.LogManager.get().createLogger(h.LogCategory.CLIENT, e._traceName()), e._defaultSinkId = null, e.loginState = 0, e;\n }\n\n return o(t, e), a(t, [{\n key: \"playProgressTone\",\n value: function value() {\n var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];\n (!e || e && this.progressTone) && null !== this.progressToneScript[this.progressToneCountry] && (this.playingNow || this.playToneScript(this.progressToneScript[this.progressToneCountry]), this.playingNow = !0);\n }\n }, {\n key: \"stopProgressTone\",\n value: function value() {\n this.playingNow && (this.stopPlayback(), this.playingNow = !1);\n }\n }, {\n key: \"onIncomingCall\",\n value: function value(e, t, n, r, i) {\n this.dispatchEvent({\n name: d.Events.IncomingCall,\n call: y.CallManager.get().calls[e],\n headers: r,\n video: i\n });\n }\n }, {\n key: \"init\",\n value: function value(e) {\n var n = this;\n return new Promise(function (r, i) {\n if (n.alreadyInitialized && i(new Error(\"WebSDK already initialized\")), n._alreadyInitialized = !0, n._config = void 0 !== e ? e : {}, void 0 !== n._config.progressToneCountry && (n.progressToneCountry = n._config.progressToneCountry), !0 !== n._config.progressTone && (n.progressTone = !1), void 0 !== n._config.serverIp && (n.serverIp = n._config.serverIp), void 0 !== n._config.enableTrace && (n.enableTrace = n._config.enableTrace), void 0 !== n._config.showDebugInfo && (n.showDebugInfo = n._config.showDebugInfo), !1 !== n._config.showWarnings && (n.showWarnings = !0), \"string\" == typeof n._config.videoContainerId && (n.remoteVideoContainerId = n._config.videoContainerId), \"string\" == typeof n._config.remoteVideoContainerId && (n.remoteVideoContainerId = n._config.remoteVideoContainerId), \"string\" == typeof n._config.localVideoContainerId && (n.localVideoContainerId = n._config.localVideoContainerId), !1 !== n._config.micRequired && (n.micRequired = !0), void 0 !== n._config.videoSupport ? n.videoSupport = n._config.videoSupport : n.videoSupport = !1, void 0 !== n._config.H264first && (n._h264first = n._config.H264first, y.CallManager.get()._h264first = n._h264first), void 0 !== n._config.VP8first && (n._VP8first = n._config.VP8first), void 0 !== n._config.rtcStatsCollectionInterval ? y.CallManager.get().rtcStatsCollectionInterval = n._config.rtcStatsCollectionInterval : y.CallManager.get().rtcStatsCollectionInterval = 1e4, void 0 !== t.getInstance().config().experiments && void 0 !== t.getInstance().config().experiments.rtcStatsInquiryInterval ? y.CallManager.get().rtcStatsInquiryInterval = t.getInstance().config().experiments.rtcStatsInquiryInterval : y.CallManager.get().rtcStatsInquiryInterval = 500, !n._config.protocolVersion || \"2\" !== n._config.protocolVersion && \"3\" !== n._config.protocolVersion ? n._callProtocolVersion = \"3\" : (n._callProtocolVersion = n._config.protocolVersion, y.CallManager.get().setProtocolVersion(n._callProtocolVersion)), n._config.callstatsIoParams && E.CallstatsIo.get(n._config.callstatsIoParams), n._config.prettyPrint && h.LogManager.get().setPrettyPrint(n._config.prettyPrint), n.showWarnings && n.setLogLevelAll(h.LogLevel.WARNING), n.showDebugInfo && n.setLogLevelAll(h.LogLevel.INFO), n.enableTrace && n.setLogLevelAll(h.LogLevel.TRACE), n.logger.info(\"SDK version: \" + n.version), n.logger.info(\"init(\" + JSON.stringify(n._config) + \")\"), void 0 !== n._config.videoConstraints) {\n n.videoConstraints = n._config.videoConstraints;\n var o = R.default.CameraManager.legacyParamConverter(n._config.videoConstraints);\n R.default.CameraManager.get().setDefaultVideoSettings(o);\n }\n\n if (R.default.CameraManager.get().getInputDevices().then(function (e) {\n return n.depLastDevices.vi = e;\n }), R.default.AudioDeviceManager.get().getInputDevices().then(function (e) {\n return n.depLastDevices.ai = e;\n }), R.default.AudioDeviceManager.get().getOutputDevices().then(function (e) {\n return n.depLastDevices.ao = e;\n }), \"127.0.0.1\" != window.location.hostname && \"localhost\" != window.location.hostname && \"https:\" != window.location.protocol && void 0 !== console.error && n.showWarnings && n.logger.warning(\"WARNING: getUserMedia() is deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.\"), n._config.experiments && n._config.experiments.ignorewebrtc) n.RTCsupported = !0;else if (\"undefined\" != typeof webkitRTCPeerConnection || \"undefined\" != typeof mozRTCPeerConnection || \"undefined\" != typeof RTCPeerConnection || \"undefined\" != typeof RTCIceGatherer) if (\"undefined\" != typeof mozRTCPeerConnection) try {\n new mozRTCPeerConnection({\n iceServers: []\n }), n.RTCsupported = !0;\n } catch (e) {} else n.RTCsupported = !0;\n if (!n.RTCsupported) throw i(new Error(\"NO_WEBRTC_SUPPORT\")), new Error(\"NO_WEBRTC_SUPPORT\");\n var a;\n null != window.location.href.match(/^file\\:\\/{3}.*$/g) && void 0 !== console.error && n.showWarnings && console.error(\"WebRTC requires application to be loaded from a web server\"), n.voxAuth = p.Authenticator.get(), n.voxAuth.setHandler({\n onLoginSuccessful: function onLoginSuccessful(e, t) {\n n.loginState = 2;\n var r = {\n name: d.Events.AuthResult,\n displayName: e,\n result: !0,\n tokens: t\n };\n n._resolvePromise(\"login\", r), n.dispatchEvent(r);\n },\n onLoginFailed: function onLoginFailed(e) {\n n.loginState = 0;\n var t = {\n name: d.Events.AuthResult,\n code: e,\n result: !1\n };\n n._rejectPromise(\"login\", t), n.dispatchEvent(t);\n },\n onSecondStageInitiated: function onSecondStageInitiated() {\n var e = {\n name: d.Events.AuthResult,\n code: 301,\n result: !1\n };\n n._rejectPromise(\"login\", e), n.dispatchEvent(e);\n },\n onOneTimeKeyGenerated: function onOneTimeKeyGenerated(e) {\n var t = {\n name: d.Events.AuthResult,\n key: e,\n code: 302,\n result: !1\n };\n n._resolvePromise(\"loginkey\", t), n.dispatchEvent(t);\n },\n onRefreshTokenFailed: function onRefreshTokenFailed(e) {\n var t = {\n name: d.Events.RefreshTokenResult,\n code: e,\n result: !1\n };\n n.dispatchEvent(t);\n },\n onRefreshTokenSuccess: function onRefreshTokenSuccess(e) {\n var t = {\n name: d.Events.RefreshTokenResult,\n tokens: e,\n result: !0\n };\n n.dispatchEvent(t);\n }\n }), n.voxSignaling.addHandler(n), a = setInterval(function () {\n \"undefined\" != typeof document && (clearInterval(a), n.dispatchEvent({\n name: d.Events.SDKReady,\n version: n.version\n }), r({\n name: d.Events.SDKReady,\n version: n.version\n }));\n }, 100), f.VoxSignaling.get().setRPCHandler(_.RemoteEvent.sipRegisterSuccessful, function (e, t) {\n n.dispatchEvent({\n name: \"SIPRegistrationSuccessful\",\n id: e,\n sipuri: t\n });\n }), f.VoxSignaling.get().setRPCHandler(_.RemoteEvent.onACDStatus, function (e, t, r) {\n n._config.experiments && n._config.experiments.cleverACD ? T.default.onStatusUpdated(t, r) : n.dispatchEvent({\n name: d.Events.ACDStatusUpdated,\n id: e,\n status: t\n });\n }), f.VoxSignaling.get().setRPCHandler(_.RemoteEvent.sipRegisterFailed, function (e, t, r, i) {\n n.dispatchEvent({\n name: \"SIPRegistrationFailed\",\n id: e,\n sipuri: t,\n status: r,\n reason: i\n });\n });\n });\n }\n }, {\n key: \"call\",\n value: function value(e, t, n, r) {\n this.logger.info(\"call(\" + e + \", \" + JSON.stringify(t) + \")\"), g.Utils.checkCA();\n var i = {\n H264first: this._h264first,\n VP8first: this._VP8first\n };\n\n switch (i = \"string\" == typeof e || \"number\" == typeof e ? {\n number: e,\n video: t,\n customData: n,\n extraHeaders: r\n } : e, c(i.video)) {\n case \"boolean\":\n i.video = {\n sendVideo: i.video,\n receiveVideo: i.video\n };\n break;\n\n case \"undefined\":\n i.video = {\n sendVideo: !1,\n receiveVideo: !0\n };\n }\n\n return this.voxCallManager.call(i);\n }\n }, {\n key: \"callConference\",\n value: function value(e, t, n, r) {\n this.logger.info(\"callConference(\" + e + \", \" + JSON.stringify(t) + \")\"), g.Utils.checkCA();\n var i = {\n H264first: this._h264first,\n VP8first: this._VP8first\n };\n\n switch (i = \"string\" == typeof e || \"number\" == typeof e ? {\n number: e,\n video: t,\n customData: n,\n extraHeaders: r\n } : e, c(i.video)) {\n case \"boolean\":\n i.video = {\n sendVideo: i.video,\n receiveVideo: i.video\n };\n break;\n\n case \"undefined\":\n i.video = {\n sendVideo: !1,\n receiveVideo: !0\n };\n }\n\n return i.isConference = !0, this.voxCallManager.callConference(i);\n }\n }, {\n key: \"config\",\n value: function value() {\n return this._config;\n }\n }, {\n key: \"connect\",\n value: function value(e) {\n var t = this;\n this.logger.info(\"connect(\" + e + \")\"), void 0 === this._config && this.logger.warning(\"Please, run VoxImplant init before connect.\"), void 0 === e && !1 === this._config.micRequired && (e = !1);\n var n = null;\n return new Promise(function (r, i) {\n var o = function i(o) {\n n || (n = o), 0 === o.length && t.logger.info(\"We can't connect to the Voximplant cloud. Please, check UDP connection to Voximplant servers: \" + n.join(\", \"));\n var a = o.shift();\n t.logger.info(\"Trying \" + a), t.connectTo(a, null, e).then(function (e) {\n r(e);\n }).catch(function () {\n t.logger.info(\"Connection to the \" + a + \" falled\"), setTimeout(function () {\n return i(o);\n }, 0);\n });\n };\n\n t._config.serverIp && \"object\" === c(t._config.serverIp) ? o(t.serverIp) : t._config.serverIp ? o(t.serverIp.split(\";\")) : g.Utils.getServers().then(function (e) {\n return setTimeout(function () {\n return o(e.split(\";\"));\n }, 0);\n }).catch(function () {\n return t.dispatchEvent({\n name: \"ConnectionFailed\",\n message: \"VoxImplant Cloud is unavailable\"\n });\n });\n });\n }\n }, {\n key: \"connectTo\",\n value: function value(e, t, n) {\n var r = this;\n return new Promise(function (t, i) {\n r._connected && i(new Error(\"ALREADY_CONNECTED_TO_VOXIMPLANT\")), r._promises.connect = {\n resolve: t,\n reject: i\n }, r.host = e, r.voxSignaling.connectTo(e, !0, !0, n, r._callProtocolVersion);\n });\n }\n }, {\n key: \"disconnect\",\n value: function value() {\n this.logger.info(\"disconnect()\"), this.checkConnection(), this.voxSignaling.disconnect(), R.default.StreamManager.get().clear(), this.voxSignaling.removeRPCHandler(_.RemoteEvent.onCallRemoteFunctionError), this.voxSignaling.removeRPCHandler(_.RemoteEvent.handleError);\n }\n }, {\n key: \"setOperatorACDStatus\",\n value: function value(e) {\n var t = this;\n return this.logger.info(\"setOperatorACDStatus(\" + e + \")\"), this._config.experiments && this._config.experiments.cleverACD ? T.default.setStatus(e) : new Promise(function (n, r) {\n g.Utils.checkCA(), Object.values(u.OperatorACDStatuses).includes(e) || r(new Error(\"Wrong ACD status name \" + e)), t.voxSignaling.callRemoteFunction(S.RemoteFunction.setOperatorACDStatus, e, new b.default().toString()), n();\n });\n }\n }, {\n key: \"getOperatorACDStatus\",\n value: function value() {\n var e = this;\n return this._config.experiments && this._config.experiments.cleverACD ? T.default.getStatus() : new Promise(function (t, n) {\n g.Utils.checkCA(), e.voxSignaling.callRemoteFunction(S.RemoteFunction.getOperatorACDStatus, new b.default().toString());\n\n var r = function n(r) {\n t(r.status), e.off(d.Events.ACDStatusUpdated, n);\n };\n\n setTimeout(function () {\n n(), e.off(d.Events.ACDStatusUpdated, r);\n }, 5e3), e.on(d.Events.ACDStatusUpdated, r);\n });\n }\n }, {\n key: \"login\",\n value: function value(e, t, n) {\n var r = this;\n return this.logger.info(\"login(\" + e + \", \" + (t ? \"***\" : void 0) + \", {receiveCalls: \" + (n && n.receiveCalls) + \"})\"), this.loginState = 1, new Promise(function (i, o) {\n r._promises.login = {\n resolve: i,\n reject: o\n }, n = void 0 !== n ? n : {}, r.checkConnection(), r._config.experiments && r._config.experiments.mediaServer && (n.mediaServer = r._config.experiments.mediaServer), r.voxAuth.basicLogin(e, t, n);\n });\n }\n }, {\n key: \"loginWithCode\",\n value: function value(e, t, n) {\n var r = this;\n return this.loginState = 1, new Promise(function (i, o) {\n r._promises.login = {\n resolve: i,\n reject: o\n }, n = void 0 !== n ? n : {}, n = Object.assign({}, n, {\n serverPresenceControl: !1\n }), r.checkConnection(), r.voxAuth.loginStage2(e, t, n);\n });\n }\n }, {\n key: \"loginWithToken\",\n value: function value(e, t, n) {\n var r = this;\n return this.logger.info(\"loginWithToken(\" + e + \", '***', {receiveCalls: \" + (n && n.receiveCalls) + \"})\"), this.loginState = 1, new Promise(function (i, o) {\n r._promises.login = {\n resolve: i,\n reject: o\n }, n = void 0 !== n ? n : {}, n = Object.assign({}, n, {\n serverPresenceControl: !1\n }), n.accessToken = t, r.checkConnection(), r.voxAuth.tokenLogin(e, n);\n });\n }\n }, {\n key: \"tokenRefresh\",\n value: function value(e, t, n) {\n var r = this;\n return this.logger.info(\"tokenRefresh(\" + e + \")\"), new Promise(function (i, o) {\n var a = function e(t) {\n t.result ? i(t) : o(t), r.off(d.Events.RefreshTokenResult, e);\n };\n\n r.on(d.Events.RefreshTokenResult, a), r.voxAuth.tokenRefresh(e, t, n);\n });\n }\n }, {\n key: \"requestOneTimeLoginKey\",\n value: function value(e) {\n var t = this;\n return new Promise(function (n, r) {\n t._promises.loginkey = {\n resolve: n,\n reject: r\n }, t.checkConnection(), t.voxAuth.generateOneTimeKey(e);\n });\n }\n }, {\n key: \"loginWithOneTimeKey\",\n value: function value(e, t, n) {\n var r = this;\n return this.logger.info(\"loginWithOneTimeKey(\" + e + \", '***' , {receiveCalls: \" + (n && n.receiveCalls) + \"})\"), this.loginState = 1, new Promise(function (i, o) {\n r._promises.login = {\n resolve: i,\n reject: o\n }, n = void 0 !== n ? n : {}, n = Object.assign({}, n, {\n serverPresenceControl: !1\n }), r.checkConnection(), r.voxAuth.loginUsingOneTimeKey(e, t, n);\n });\n }\n }, {\n key: \"connected\",\n value: function value() {\n return this._connected;\n }\n }, {\n key: \"showLocalVideo\",\n value: function value() {\n var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0],\n t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],\n n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2];\n return this.logger.info(\"showLocalVideo(\" + e + \", \" + t + \", \" + n + \")\"), e ? R.default.StreamManager.get().showLocalVideo() : R.default.StreamManager.get().hideLocalVideo();\n }\n }, {\n key: \"setLocalVideoPosition\",\n value: function value(e, t) {\n throw new Error(\"Deprecated: please use CSS to position '#voximplantlocalvideo' element\");\n }\n }, {\n key: \"setLocalVideoSize\",\n value: function value(e, t) {\n throw new Error(\"Deprecated: please use CSS to set size of '#voximplantlocalvideo' element\");\n }\n }, {\n key: \"setVideoSettings\",\n value: function value(e, t, n) {\n R.default.CameraManager.get().setDefaultVideoSettings(R.default.CameraManager.legacyParamConverter(e)), y.CallManager.get().setVideoSettings(e).then(function () {\n t && t(null);\n }, function (e) {\n n && n(null);\n });\n }\n }, {\n key: \"setVideoBandwidth\",\n value: function value(e) {\n this.logger.info(\"setVideoBandwidth(\" + e + \")\"), this.checkConnection(), m.PCFactory.get().setBandwidthParams(e), this.voxSignaling.callRemoteFunction(S.RemoteFunction.setDesiredVideoBandwidth, e);\n }\n }, {\n key: \"playToneScript\",\n value: function value(e) {\n var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];\n this.logger.info(\"playToneScript('***', \" + t + \")\"), g.Utils.playToneScript(e, t);\n }\n }, {\n key: \"stopPlayback\",\n value: function value() {\n this.logger.info(\"stopPlayback()\"), g.Utils.stopPlayback() && this.dispatchEvent({\n name: d.Events.PlaybackFinished\n });\n }\n }, {\n key: \"volume\",\n value: function value(e) {\n return void 0 !== e && (e > 100 && (e = 100), e < 0 && (e = 0), y.CallManager.get().setAllCallsVolume(e), this.level = e), this.level;\n }\n }, {\n key: \"audioSources\",\n value: function value() {\n return this.depLastDevices.ai;\n }\n }, {\n key: \"videoSources\",\n value: function value() {\n return this.depLastDevices.vi;\n }\n }, {\n key: \"audioOutputs\",\n value: function value() {\n return this.depLastDevices.ao;\n }\n }, {\n key: \"useAudioSource\",\n value: function value(e, t, n) {\n var r = R.default.AudioDeviceManager.get().getDefaultAudioSettings();\n return R.default.AudioDeviceManager.get().setDefaultAudioSettings(Object.assign({}, r, {\n inputId: e\n })), new Promise(function (r, i) {\n return y.CallManager.get().useAudioSource(e).then(function () {\n t && t(null), r(null);\n }, function (e) {\n n && n(e), i(e);\n });\n });\n }\n }, {\n key: \"useVideoSource\",\n value: function value(e, t, n) {\n var r = R.default.CameraManager.get().getDefaultVideoSettings();\n return R.default.CameraManager.get().setDefaultVideoSettings(Object.assign({}, r, {\n cameraId: e\n })), new Promise(function (r, i) {\n return y.CallManager.get().useVideoSource(e).then(function () {\n t && t(null), r(null);\n }, function (e) {\n n && n(e), i(e);\n });\n });\n }\n }, {\n key: \"useAudioOutput\",\n value: function value(e) {\n var t = this;\n return new Promise(function (n, r) {\n \"chrome\" !== v.default.getWSVendor(!0) && r(new Error(\"Unsupported browser. Only Google Chrome 49 and above.\")), t._defaultSinkId = e, n();\n });\n }\n }, {\n key: \"attachRecordingDevice\",\n value: function value(e, t) {\n h.LogManager.get().writeMessage(h.LogCategory.CLIENT, \"DEPRECATED\", h.LogLevel.ERROR, \"Now all media connection on demand. There is no reason do it by hand.\"), e && e(null);\n }\n }, {\n key: \"detachRecordingDevice\",\n value: function value() {\n R.default.StreamManager.get().clear();\n }\n }, {\n key: \"setCallActive\",\n value: function value(e) {\n var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];\n return e.setActive(t);\n }\n }, {\n key: \"sendVideo\",\n value: function value() {\n !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0];\n h.LogManager.get().writeMessage(h.LogCategory.CLIENT, \"DEPRECATED\", h.LogLevel.ERROR, \"This function deprecated. Use Call.sendVideo() instead.\");\n }\n }, {\n key: \"isRTCsupported\",\n value: function value() {\n if (\"undefined\" != typeof webkitRTCPeerConnection || \"undefined\" != typeof mozRTCPeerConnection || \"undefined\" != typeof RTCPeerConnection || \"undefined\" != typeof RTCIceGatherer) {\n if (\"undefined\" == typeof mozRTCPeerConnection) return !0;\n\n try {\n return new mozRTCPeerConnection({\n iceServers: []\n }), !0;\n } catch (e) {\n return !1;\n }\n }\n }\n }, {\n key: \"transferCall\",\n value: function value(e, t) {\n this.logger.info(\"transferCall(\" + e + \", \" + e + \")\"), g.Utils.checkCA(), this.voxCallManager.transferCall(e, t);\n }\n }, {\n key: \"setLogLevel\",\n value: function value(e, t) {\n h.LogManager.get().setLogLevel(e, t);\n }\n }, {\n key: \"onSignalingConnected\",\n value: function value() {\n this._connected = !0;\n var e = {\n name: d.Events.ConnectionEstablished\n };\n this._resolvePromise(\"connect\", e), this.dispatchEvent(e);\n }\n }, {\n key: \"onSignalingClosed\",\n value: function value() {\n this._connected = !1, this.dispatchEvent({\n name: d.Events.ConnectionClosed\n }), this.progressTone && this.stopProgressTone();\n }\n }, {\n key: \"onSignalingConnectionFailed\",\n value: function value(e) {\n this._connected = !1, this._rejectPromise(\"connect\", event);\n }\n }, {\n key: \"onMediaConnectionFailed\",\n value: function value() {}\n }, {\n key: \"getCall\",\n value: function value(e) {\n return y.CallManager.get().calls[e];\n }\n }, {\n key: \"removeCall\",\n value: function value(e) {\n y.CallManager.get().removeCall(e);\n }\n }, {\n key: \"screenSharingSupported\",\n value: function value() {\n return v.default.screenSharingSupported();\n }\n }, {\n key: \"addEventListener\",\n value: function value(e, n) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"addEventListener\", this).call(this, e, n);\n }\n }, {\n key: \"removeEventListener\",\n value: function value(e, n) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"removeEventListener\", this).call(this, e, n);\n }\n }, {\n key: \"on\",\n value: function value(e, n, r) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"on\", this).call(this, e, n);\n }\n }, {\n key: \"off\",\n value: function value(e, n) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"off\", this).call(this, e, n);\n }\n }, {\n key: \"getZingayaAPI\",\n value: function value() {\n return new L.ZingayaAPI(this);\n }\n }, {\n key: \"registerForPushNotificatuons\",\n value: function value(e) {\n return this.logger.info(\"Deprecated registerForPushNotificatuons()\"), M.PushService.register(e);\n }\n }, {\n key: \"registerForPushNotifications\",\n value: function value(e) {\n return this.logger.info(\"registerForPushNotifications()\"), M.PushService.register(e);\n }\n }, {\n key: \"unregisterForPushNotificatuons\",\n value: function value(e) {\n return this.logger.info(\"Deprecated unregisterForPushNotificatuons()\"), M.PushService.unregister(e);\n }\n }, {\n key: \"unregisterForPushNotifications\",\n value: function value(e) {\n return this.logger.info(\"unregisterForPushNotifications()\"), M.PushService.unregister(e);\n }\n }, {\n key: \"handlePushNotification\",\n value: function value(e) {\n return this.logger.info(\"handlePushNotification()\"), M.PushService.incomingPush(e);\n }\n }, {\n key: \"getGUID\",\n value: function value() {\n return new b.default().toString();\n }\n }, {\n key: \"enableSilentLogging\",\n value: function value(e) {\n h.LogManager.get().shadowLogging = e;\n }\n }, {\n key: \"clearSilentLog\",\n value: function value() {\n h.LogManager.get().clearSilentLog();\n }\n }, {\n key: \"getSilentLog\",\n value: function value() {\n return h.LogManager.get().getSLog();\n }\n }, {\n key: \"setLoggerCallback\",\n value: function value(e) {\n h.LogManager.get().setLoggerCallback(e);\n }\n }, {\n key: \"getClientState\",\n value: function value() {\n var e = this.voxSignaling.currentState;\n return e == f.VoxSignalingState.CONNECTING || e == f.VoxSignalingState.WSCONNECTED ? h.ClientState.CONNECTING : e == f.VoxSignalingState.CLOSING || e == f.VoxSignalingState.IDLE ? h.ClientState.DISCONNECTED : e == f.VoxSignalingState.CONNECTED ? 1 == this.loginState ? h.ClientState.LOGGING_IN : 2 == this.loginState ? h.ClientState.LOGGED_IN : h.ClientState.CONNECTED : void 0;\n }\n }, {\n key: \"setSwfColor\",\n value: function value() {\n h.LogManager.get().writeMessage(h.LogCategory.CLIENT, \"NOT SUPPORTED\", h.LogLevel.ERROR, \"setSwfColor deprecated, and not supported!\");\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"Client\";\n }\n }, {\n key: \"checkConnection\",\n value: function value() {\n if (!this._connected) throw new Error(\"NOT_CONNECTED_TO_VOXIMPLANT\");\n }\n }, {\n key: \"_resolvePromise\",\n value: function value(e, t) {\n var n = this._promises[e];\n n && (n.resolve(t), this._promises[e] = void 0);\n }\n }, {\n key: \"_rejectPromise\",\n value: function value(e, t) {\n var n = this._promises[e];\n n && (n.reject(t), this._promises[e] = void 0);\n }\n }, {\n key: \"setLogLevelAll\",\n value: function value(e) {\n var t = h.LogManager.get();\n Object.keys(h.LogCategory).forEach(function (n) {\n t.setLogLevel(h.LogCategory[n], e);\n });\n }\n }, {\n key: \"version\",\n get: function get() {\n return \"4.3.71881\";\n }\n }, {\n key: \"alreadyInitialized\",\n get: function get() {\n return this._alreadyInitialized;\n }\n }], [{\n key: \"getInstance\",\n value: function value() {\n return void 0 === t.instance && (t.instance = new t()), t.instance;\n }\n }]), t;\n }(C.EventTarget);\n\n l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"playProgressTone\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"stopProgressTone\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"onIncomingCall\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"init\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"call\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"callConference\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"connect\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"connectTo\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"disconnect\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"setOperatorACDStatus\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"getOperatorACDStatus\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"login\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"loginWithCode\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"loginWithToken\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"tokenRefresh\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"requestOneTimeLoginKey\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"loginWithOneTimeKey\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"connected\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"showLocalVideo\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"setLocalVideoPosition\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"setLocalVideoSize\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"setVideoSettings\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"setVideoBandwidth\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"playToneScript\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"stopPlayback\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"volume\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"audioSources\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"videoSources\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"audioOutputs\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"useAudioSource\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"useVideoSource\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"useAudioOutput\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"attachRecordingDevice\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"detachRecordingDevice\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"setCallActive\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"sendVideo\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"isRTCsupported\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"transferCall\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"setLogLevel\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"onSignalingConnected\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"onSignalingClosed\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"onSignalingConnectionFailed\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"onMediaConnectionFailed\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"getCall\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"removeCall\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"addEventListener\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"removeEventListener\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"on\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"off\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"checkConnection\", null), l([h.LogManager.d_trace(h.LogCategory.CLIENT)], k.prototype, \"setLogLevelAll\", null), t.Client = k;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s,\n c = n(0),\n l = n(7),\n u = n(8),\n d = n(6),\n g = n(3),\n f = n(13),\n p = n(18),\n v = n(1);\n !function (e) {\n e[e.IDLE = 0] = \"IDLE\", e[e.CONNECTING = 1] = \"CONNECTING\", e[e.WSCONNECTED = 2] = \"WSCONNECTED\", e[e.CONNECTED = 3] = \"CONNECTED\", e[e.CLOSING = 4] = \"CLOSING\";\n }(s = t.VoxSignalingState || (t.VoxSignalingState = {}));\n\n var h = function () {\n function e() {\n var t = this;\n r(this, e), this.ver = \"3\", this.handlers = [], this.rpcHandlers = {}, this.pingTimer = null, this.pongTimer = null, this.manualDisconnect = !1, this.platform = \"platform\", this.referrer = \"platform\", this.extra = \"\", this.closing = !1, this.writeLog = !1, this._opLog = [], this.token = \"\", this.logger = c.LogManager.get().createLogger(c.LogCategory.SIGNALING, this._traceName()), this.currentState = s.IDLE, this.setRPCHandler(f.RemoteEvent.connectionSuccessful, function (e) {\n t.onConnectionSuccessfulRPC(e);\n }), this.setRPCHandler(f.RemoteEvent.connectionFailed, function () {\n t.onConnectionFailedRPC();\n }), this.setRPCHandler(f.RemoteEvent.createConnection, function (e) {\n t.onConnectionSuccessfulRPC(e);\n });\n }\n\n return i(e, [{\n key: \"addHandler\",\n value: function value(e) {\n this.handlers.push(e);\n }\n }, {\n key: \"close\",\n value: function value() {\n this.closing = !0, this.ws ? (this.ws.onclose = null, this.ws.close(), this.onWSClosed(null)) : this.logger.warning(\"Try close unused WS in state \" + s[this.currentState]);\n }\n }, {\n key: \"cleanup\",\n value: function value() {\n u.PCFactory.get().closeAll(), this.pingTimer && clearTimeout(this.pingTimer), this.pongTimer && clearTimeout(this.pongTimer);\n }\n }, {\n key: \"onConnectionSuccessfulRPC\",\n value: function value(e) {\n if (this.currentState != s.WSCONNECTED) return void this.logger.error(\"Can't handle __connectionSuccessful while in state \" + s[this.currentState]);\n if (e && (this.token = e), this.currentState = s.CONNECTED, this.handlers.length > 0) for (var t = 0; t < this.handlers.length; ++t) {\n try {\n this.handlers[t].onSignalingConnected();\n } catch (e) {\n this.logger.warning(\"Error in onSignalingConnected callback: \" + e);\n }\n } else this.logger.warning(\"No VoxSignaling handler specified\");\n }\n }, {\n key: \"onConnectionFailedRPC\",\n value: function value() {\n if (this.currentState != s.WSCONNECTED) return void this.logger.error(\"Can't handle __connectionSuccessful while in state \" + s[this.currentState]);\n if (this.ws.onerror = null, this.ws.close(), this.ws = null, this.currentState = s.IDLE, v.Client.getInstance().loginState = 0, this.handlers.length > 0) for (var e = 0; e < this.handlers.length; ++e) {\n try {\n this.handlers[e].onMediaConnectionFailed();\n } catch (e) {\n this.logger.warning(\"Error in onMediaConnectionFailed callback: \" + e);\n }\n } else this.logger.warning(\"No VoxSignaling handler specified\");\n }\n }, {\n key: \"connectTo\",\n value: function value(e) {\n var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],\n n = !(arguments.length > 2 && void 0 !== arguments[2]) || arguments[2],\n r = this,\n i = arguments[3],\n o = arguments[4];\n if (this.manualDisconnect = !1, this.ver = o, this.currentState != s.IDLE) return void this.logger.error(\"Can't establish connection while in state \" + s[this.currentState]);\n this.currentState = s.CONNECTING;\n var a = l.default.getWSVendor();\n this.ws = new WebSocket(\"ws\" + (n ? \"s\" : \"\") + \"://\" + e + \"/\" + this.platform + \"?version=\" + this.ver + \"&client=\" + a + \"&ccheck=\" + (void 0 === i || i) + \"&referrer=&extra=\" + this.extra + \"&video=\" + (t ? \"true\" : \"false\") + \"&client_version=\" + v.Client.getInstance().version + \"&client_platform=\" + a + \"&im_version=2\"), this.ws.onopen = function (e) {\n return r.onWSConnected();\n }, this.ws.onclose = function (e) {\n return r.onWSClosed(e);\n }, this.ws.onerror = function (e) {\n return r.onWSError();\n }, this.ws.onmessage = function (e) {\n return r.onWSData(e.data);\n };\n }\n }, {\n key: \"setRPCHandler\",\n value: function value(e, t) {\n void 0 !== this.rpcHandlers[e] && this.logger.warning(\"Overwriting RPC handler for function \" + e), this.rpcHandlers[e] = t;\n }\n }, {\n key: \"removeRPCHandler\",\n value: function value(e) {\n void 0 !== this.rpcHandlers[e] || this.closing || this.logger.warning(\"There is no RPC handler for function \" + e), delete this.rpcHandlers[e];\n }\n }, {\n key: \"callRemoteFunction\",\n value: function value(e) {\n for (var t = arguments.length, n = Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) {\n n[r - 1] = arguments[r];\n }\n\n if (e !== g.RemoteFunction.ping && this.logger.trace(\"callRemoteFunction(\" + e + \")\"), this.currentState != s.CONNECTED && this.currentState != s.WSCONNECTED) return this.closing || this.logger.error(\"Can't make a RPC call in state \" + s[this.currentState]), !1;\n\n if (void 0 !== this.ws) {\n this.writeLog && this._opLog.push(\"send:\" + JSON.stringify({\n name: e,\n params: n\n }));\n var i = JSON.stringify({\n name: e,\n params: n\n });\n return this.ws.send(i), !0;\n }\n }\n }, {\n key: \"onWSData\",\n value: function value(e) {\n this.writeLog && this._opLog.push(\"recv:\" + e);\n var t = void 0;\n\n try {\n t = JSON.parse(e);\n } catch (t) {\n return void this.logger.error(\"Can't parse JSON data: \" + e);\n }\n\n void 0 !== t.service ? this.onWSMessData(t) : this.onWSVoipData(t);\n }\n }, {\n key: \"onWSMessData\",\n value: function value(e) {\n p.MsgSignaling.get().handleWsData(e);\n }\n }, {\n key: \"onWSVoipData\",\n value: function value(e) {\n var t = e.name,\n n = e.params;\n if (void 0 !== this.rpcHandlers[t]) try {\n this.rpcHandlers[t].apply(null, n);\n } catch (e) {\n this.logger.warning(\"Error in '\" + t + \"' handler : \" + e);\n } else this.logger.warning(\"No handler for \" + t);\n }\n }, {\n key: \"disconnect\",\n value: function value() {\n this.closing = !0, this.manualDisconnect = !0, this.onWSClosed(null), this.cleanup();\n }\n }, {\n key: \"onWSClosed\",\n value: function value(e) {\n if (this.currentState != s.CONNECTED && this.currentState != s.CONNECTING && this.currentState != s.CLOSING) {\n if (this.closing) return;\n this.logger.warning(\"onWSClosed in state \" + s[this.currentState]);\n }\n\n this.ws && (this.ws.close(), this.ws = void 0);\n var t = this.currentState;\n if (this.pingTimer && clearTimeout(this.pingTimer), this.pongTimer && clearTimeout(this.pongTimer), this.cleanup(), this.currentState = s.IDLE, v.Client.getInstance().loginState = 0, this.handlers.length > 0) for (var n = 0; n < this.handlers.length; ++n) {\n if (t != s.CONNECTING && t != s.WSCONNECTED && t != s.IDLE || this.manualDisconnect) try {\n this.handlers[n].onSignalingClosed();\n } catch (e) {\n this.logger.warning(\"Error in onSignalingClosed callback: \" + e);\n } else try {\n this.handlers[n].onSignalingConnectionFailed(e.reason);\n } catch (e) {\n this.logger.warning(\"Error in onSignalingConnectionFailed callback: \" + e);\n }\n } else this.logger.warning(\"No VoxSignaling handler specified\");\n }\n }, {\n key: \"onWSConnected\",\n value: function value() {\n var t = this;\n this.closing = !1, this.currentState != s.CONNECTING && this.logger.warning(\"onWSConnected in state \" + s[this.currentState]), this.currentState = s.WSCONNECTED, this.pingTimer = window.setTimeout(function () {\n return t.doPing();\n }, e.PING_DELAY), this.setRPCHandler(f.RemoteEvent.pong, function () {\n return t.pongReceived();\n }), this.setRPCHandler(f.RemoteEvent.increaseGain, function () {\n t.logger.info(\"Deprecated increaseGain\");\n });\n }\n }, {\n key: \"onWSError\",\n value: function value() {\n if (this.currentState != s.CONNECTING && this.logger.warning(\"onWSError in state \" + this.currentState), this.ws.close(), this.ws = void 0, this.pingTimer && clearTimeout(this.pingTimer), this.pongTimer && clearTimeout(this.pongTimer), this.cleanup(), this.currentState = s.IDLE, v.Client.getInstance().loginState = 0, void 0 !== this.handlers) for (var e = 0; e < this.handlers.length; ++e) {\n try {\n this.handlers[e].onSignalingConnectionFailed(\"Error connecting to VoxImplant server\");\n } catch (e) {\n this.logger.warning(\"Error in onSignalingConnectionFailed callback: \" + e);\n }\n } else this.logger.warning(\"No VoxSignaling handler specified\");\n }\n }, {\n key: \"doPing\",\n value: function value() {\n var t = this;\n this.pingTimer = null, this.callRemoteFunction(g.RemoteFunction.ping, []), this.pongTimer = window.setTimeout(function () {\n if (d.CallManager.get().numCalls > 0) return void t.pongReceived();\n t.pongTimer = null;\n\n for (var e = 0; e < t.handlers.length; ++e) {\n if (t.currentState == s.CONNECTED) try {\n t.handlers[e].onSignalingClosed();\n } catch (e) {\n t.logger.warning(\"Error in onSignalingClosed callback: \" + e);\n } else try {\n t.handlers[e].onSignalingConnectionFailed(\"Connection closed\");\n } catch (e) {\n t.logger.warning(\"Error in onSignalingConnectionFailed callback: \" + e);\n }\n }\n\n t.ws.close(), t.currentState = s.IDLE, v.Client.getInstance().loginState = 0;\n }, e.PONG_DELAY);\n }\n }, {\n key: \"pongReceived\",\n value: function value() {\n var t = this;\n this.pongTimer && (clearTimeout(this.pongTimer), this.pongTimer = null, this.pingTimer = window.setTimeout(function () {\n return t.doPing();\n }, e.PING_DELAY));\n }\n }, {\n key: \"sendRaw\",\n value: function value(e) {\n this.writeLog && this._opLog.push(\"send:\" + JSON.stringify(e));\n var t = JSON.stringify(e);\n return this.ws.send(t), c.LogManager.get().writeMessage(c.LogCategory.SIGNALING, \"[wsdataout]\", c.LogLevel.INFO, t), !0;\n }\n }, {\n key: \"getLog\",\n value: function value() {\n return this._opLog;\n }\n }, {\n key: \"lagacyConnectTo\",\n value: function value(e, t, n, r) {\n this.ver = \"2\", this.platform = r, this.referrer = t, this.connectTo(e, !1, !0, !0, \"2\");\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"VoxSignaling\";\n }\n }], [{\n key: \"get\",\n value: function value() {\n return void 0 === this.inst && (this.inst = new e()), this.inst;\n }\n }]), e;\n }();\n\n h.PING_DELAY = 1e4, h.PONG_DELAY = 1e4, a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"addHandler\", null), a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"close\", null), a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"cleanup\", null), a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"onConnectionSuccessfulRPC\", null), a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"onConnectionFailedRPC\", null), a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"connectTo\", null), a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"setRPCHandler\", null), a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"removeRPCHandler\", null), a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"disconnect\", null), a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"onWSClosed\", null), a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"onWSConnected\", null), a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"onWSError\", null), a([c.LogManager.d_trace(c.LogCategory.SIGNALING)], h.prototype, \"sendRaw\", null), t.VoxSignaling = h;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n !function (e) {\n e[e.ping = \"__ping\"] = \"ping\", e[e.login = \"login\"] = \"login\", e[e.loginGenerateOneTimeKey = \"loginGenerateOneTimeKey\"] = \"loginGenerateOneTimeKey\", e[e.loginStage2 = \"loginStage2\"] = \"loginStage2\", e[e.setOperatorACDStatus = \"setOperatorACDStatus\"] = \"setOperatorACDStatus\", e[e.getOperatorACDStatus = \"getOperatorACDStatus\"] = \"getOperatorACDStatus\", e[e.setDesiredVideoBandwidth = \"setDesiredVideoBandwidth\"] = \"setDesiredVideoBandwidth\", e[e.rejectCall = \"rejectCall\"] = \"rejectCall\", e[e.disconnectCall = \"disconnectCall\"] = \"disconnectCall\", e[e.sendDTMF = \"sendDTMF\"] = \"sendDTMF\", e[e.sendSIPInfo = \"sendSIPInfo\"] = \"sendSIPInfo\", e[e.hold = \"hold\"] = \"hold\", e[e.unhold = \"unhold\"] = \"unhold\", e[e.acceptCall = \"acceptCall\"] = \"acceptCall\", e[e.createCall = \"createCall\"] = \"createCall\", e[e.callConference = \"callConference\"] = \"callConference\", e[e.transferCall = \"transferCall\"] = \"transferCall\", e[e.muteLocal = \"__muteLocal\"] = \"muteLocal\", e[e.reInvite = \"ReInvite\"] = \"reInvite\", e[e.acceptReInvite = \"AcceptReInvite\"] = \"acceptReInvite\", e[e.rejectReInvite = \"RejectReInvite\"] = \"rejectReInvite\", e[e.confirmPC = \"__confirmPC\"] = \"confirmPC\", e[e.addCandidate = \"__addCandidate\"] = \"addCandidate\", e[e.loginUsingOneTimeKey = \"loginUsingOneTimeKey\"] = \"loginUsingOneTimeKey\", e[e.refreshOauthToken = \"refreshOauthToken\"] = \"refreshOauthToken\", e[e.zPromptFinished = \"promptFinished\"] = \"zPromptFinished\", e[e.zStartPreFlightCheck = \"__startPreFlightCheck\"] = \"zStartPreFlightCheck\", e[e.registerPushToken = \"registerPushToken\"] = \"registerPushToken\", e[e.unregisterPushToken = \"unregisterPushToken\"] = \"unregisterPushToken\", e[e.pushFeedback = \"pushFeedback\"] = \"pushFeedback\", e[e.refreshIceConfig = \"refreshIceConfig\"] = \"refreshIceConfig\";\n }(t.RemoteFunction || (t.RemoteFunction = {}));\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var a,\n s = n(50);\n !function (e) {\n !function (e) {\n e[e.DevicesUpdated = \"DevicesUpdated\"] = \"DevicesUpdated\", e[e.MediaRendererAdded = \"MediaRendererAdded\"] = \"MediaRendererAdded\", e[e.MediaRendererRemoved = \"MediaRendererRemoved\"] = \"MediaRendererRemoved\", e[e.BeforeMediaRendererRemoved = \"BeforeMediaRendererRemoved\"] = \"BeforeMediaRendererRemoved\";\n }(e.HardwareEvents || (e.HardwareEvents = {}));\n !function (e) {\n e[e.VIDEO_QUALITY_HIGH = \"video_quality_high\"] = \"VIDEO_QUALITY_HIGH\", e[e.VIDEO_QUALITY_LOW = \"video_quality_low\"] = \"VIDEO_QUALITY_LOW\", e[e.VIDEO_QUALITY_MEDIUM = \"video_quality_medium\"] = \"VIDEO_QUALITY_MEDIUM\", e[e.VIDEO_SIZE_QQVGA = \"video_size_qqvga\"] = \"VIDEO_SIZE_QQVGA\", e[e.VIDEO_SIZE_QCIF = \"video_size_qcif\"] = \"VIDEO_SIZE_QCIF\", e[e.VIDEO_SIZE_QVGA = \"video_size_qvga\"] = \"VIDEO_SIZE_QVGA\", e[e.VIDEO_SIZE_CIF = \"video_size_cif\"] = \"VIDEO_SIZE_CIF\", e[e.VIDEO_SIZE_nHD = \"video_size_nhd\"] = \"VIDEO_SIZE_nHD\", e[e.VIDEO_SIZE_VGA = \"video_size_vga\"] = \"VIDEO_SIZE_VGA\", e[e.VIDEO_SIZE_SVGA = \"video_size_svga\"] = \"VIDEO_SIZE_SVGA\", e[e.VIDEO_SIZE_HD = \"video_size_hd\"] = \"VIDEO_SIZE_HD\", e[e.VIDEO_SIZE_UXGA = \"video_size_uxga\"] = \"VIDEO_SIZE_UXGA\", e[e.VIDEO_SIZE_FHD = \"video_size_fhd\"] = \"VIDEO_SIZE_FHD\", e[e.VIDEO_SIZE_UHD = \"video_size_uhd\"] = \"VIDEO_SIZE_UHD\";\n }(e.VideoQuality || (e.VideoQuality = {}));\n\n var t = function (e) {\n function t() {\n return r(this, t), i(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return o(t, e), t;\n }(s.AudioDeviceManager);\n\n e.AudioDeviceManager = t;\n\n var n = function (e) {\n function t() {\n return r(this, t), i(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return o(t, e), t;\n }(s.CameraManager);\n\n e.CameraManager = n;\n\n var a = function (e) {\n function t() {\n return r(this, t), i(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return o(t, e), t;\n }(s.StreamManager);\n\n e.StreamManager = a;\n\n var c = function (e) {\n function t() {\n return r(this, t), i(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return o(t, e), t;\n }(s.IOSCacheManager);\n\n e.IOSCacheManager = c;\n }(a = t.Hardware || (t.Hardware = {})), t.default = a;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n !function (e) {\n e[e.Connected = \"Connected\"] = \"Connected\", e[e.Disconnected = \"Disconnected\"] = \"Disconnected\", e[e.Failed = \"Failed\"] = \"Failed\", e[e.ProgressToneStart = \"ProgressToneStart\"] = \"ProgressToneStart\", e[e.ProgressToneStop = \"ProgressToneStop\"] = \"ProgressToneStop\", e[e.MessageReceived = \"onSendMessage\"] = \"MessageReceived\", e[e.InfoReceived = \"InfoReceived\"] = \"InfoReceived\", e[e.TransferComplete = \"TransferComplete\"] = \"TransferComplete\", e[e.TransferFailed = \"TransferFailed\"] = \"TransferFailed\", e[e.ICETimeout = \"ICETimeout\"] = \"ICETimeout\", e[e.RTCStatsReceived = \"RTCStatsReceived\"] = \"RTCStatsReceived\", e[e.CallStatsReceived = \"CallStatsReceived\"] = \"CallStatsReceived\", e[e.MediaElementCreated = \"MediaElementCreated\"] = \"MediaElementCreated\", e[e.MediaElementRemoved = \"MediaElementRemoved\"] = \"MediaElementRemoved\", e[e.ICECompleted = \"ICECompleted\"] = \"ICECompleted\", e[e.Updated = \"Updated\"] = \"Updated\", e[e.PendingUpdate = \"PendingUpdate\"] = \"PendingUpdate\", e[e.UpdateFailed = \"UpdateFailed\"] = \"UpdateFailed\", e[e.LocalVideoStreamAdded = \"LocalVideoStreamAdded\"] = \"LocalVideoStreamAdded\", e[e.EndpointAdded = \"EndpointAdded\"] = \"EndpointAdded\", e[e.StateUpdated = \"StateUpdated\"] = \"StateUpdated\", e[e.ActiveUpdated = \"ActiveUpdated\"] = \"ActiveUpdated\", e[e.QualityIssueCodecMismatch = \"QualityIssueCodecMismatch\"] = \"QualityIssueCodecMismatch\", e[e.QualityIssueHighMediaLatency = \"QualityIssueHighMediaLatency\"] = \"QualityIssueHighMediaLatency\", e[e.QualityIssueICEDisconnected = \"QualityIssueICEDisconnected\"] = \"QualityIssueICEDisconnected\", e[e.QualityIssueLocalVideoDegradation = \"QualityIssueLocalVideoDegradation\"] = \"QualityIssueLocalVideoDegradation\", e[e.QualityIssueLowBandwidth = \"QualityIssueLowBandwidth\"] = \"QualityIssueLowBandwidth\", e[e.QualityIssueNoAudioSignal = \"QualityIssueNoAudioSignal\"] = \"QualityIssueNoAudioSignal\", e[e.QualityIssuePacketLoss = \"QualityIssuePacketLoss\"] = \"QualityIssuePacketLoss\";\n }(t.CallEvents || (t.CallEvents = {}));\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(12),\n c = n(5),\n l = n(2),\n u = n(20),\n d = n(11),\n g = n(10),\n f = n(0),\n p = n(8),\n v = n(1),\n h = n(22),\n m = n(54),\n y = n(3),\n C = n(13),\n S = n(55),\n _ = n(17),\n E = n(56),\n L = n(16),\n M = n(23),\n b = n(4),\n R = n(57),\n T = function () {\n function e() {\n var t = this;\n r(this, e), this.protocolVersion = \"3\", this._h264first = !1, this.iceServers = {}, this._calls = {}, this.callStats = R.CallStatsManager.get(), this.voxSignaling = l.VoxSignaling.get(), this.logger = f.LogManager.get().createLogger(f.LogCategory.SIGNALING, this._traceName()), this.voxSignaling.addHandler(this), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleIncomingConnection, function (e, n, r, i, o) {\n t.handleIncomingConnection(e, n, r, i, o);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.onICEConfig, function (e, n) {\n t.onICEResult(e, !0, n);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.onICEConfigFailed, function (e) {\n t.onICEResult(e, !1);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleConnectionConnected, function (e, n, r, i) {\n t.handleConnectionConnected(e, n, r);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleConnectionDisconnected, function (e, n, r) {\n t.handleConnectionDisconnected(e, n, r);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleRingOut, function (e) {\n t.handleRingOut(e);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.stopRinging, function (e) {\n t.stopRinging(e);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleConnectionFailed, function (e, n, r, i) {\n t.handleConnectionFailed(e, n, r, i);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleSIPInfo, function (e, n, r, i, o) {\n t.handleSIPInfo(e, n, r, i, o);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleSipEvent, function (e) {\n t.handleSipEvent(e);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleTransferStarted, function (e) {\n t.handleTransferStarted(e);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleTransferComplete, function (e) {\n t.handleTransferComplete(e);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleTransferFailed, function (e) {\n t.handleTransferFailed(e);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleReInvite, function (e, n, r, i) {\n var o = JSON.parse(i);\n t.handleInReinvite(e, n, r, o);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleAcceptReinvite, function (e, n, r) {\n t.handleReinvite(e, n, r);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.handleRejectReinvite, function (e, n, r) {\n t.handleRejectReinvite(e, n, r);\n }), this.voxSignaling.setRPCHandler(C.RemoteEvent.startEarlyMedia, function (e, n, r) {\n t.startEarlyMedia(e, n, r);\n });\n }\n\n return i(e, [{\n key: \"call\",\n value: function value(t) {\n var n = this,\n r = {\n number: null,\n video: {\n sendVideo: !1,\n receiveVideo: !1\n },\n customData: null,\n extraHeaders: {},\n wiredLocal: !0,\n wiredRemote: !0,\n H264first: this._h264first,\n VP8first: !1,\n forceActive: !1,\n extraParams: {}\n },\n i = u.Utils.mixObjectToLeft(r, t);\n i = e.addCustomDataToHeaders(i);\n var o = u.Utils.generateUUID();\n if (this._calls[o]) throw this.logger.error(\"Call \" + o + \" already exists\"), new Error(\"Internal error\");\n var a = this.getCallInstance(o, d.Authenticator.get().displayName, !1, i);\n _.CallstatsIo.isModuleEnabled() && (i.extraHeaders[g.Constants.CALLSTATSIOID_HEADER] = o), i.H264first && (a.rearangeCodecs = E.CodecSorterHelpers.H264Sorter);\n var s = !1;\n return a.settings.active = !0, Object.keys(this._calls).length > 1 && !i.forceActive && (a.setActiveForce(!1), s = !0), void 0 === i.extraHeaders[g.Constants.DIRECT_CALL_HEADER] && \"2\" == this.protocolVersion ? this.voxSignaling.callRemoteFunction(y.RemoteFunction.createCall, -1, i.number, i.video, o, null, null, i.extraHeaders, i.extraParams) : p.PCFactory.get().setupDirectPC(o, h.PeerConnectionMode.P2P, t.video, s).then(function (e) {\n a.peerConnection = p.PCFactory.get().peerConnections[o];\n var t = {\n tracks: a.peerConnection.getTrackKind()\n };\n n.voxSignaling.callRemoteFunction(y.RemoteFunction.createCall, -1, i.number, !0, o, null, null, i.extraHeaders, \"\", e.sdp, t);\n }).catch(function (e) {\n n.handleConnectionFailed(a.id(), 403, \"Media access denied\", {});\n }), a.sendVideo(i.video.sendVideo), a;\n }\n }, {\n key: \"callConference\",\n value: function value(t) {\n var n = this,\n r = {\n number: null,\n video: {\n sendVideo: !1,\n receiveVideo: !1\n },\n customData: null,\n extraHeaders: {},\n wiredLocal: !0,\n wiredRemote: !0,\n H264first: this._h264first,\n VP8first: !1,\n forceActive: !1,\n extraParams: {}\n },\n i = u.Utils.mixObjectToLeft(r, t);\n i = e.addCustomDataToHeaders(i);\n var o = u.Utils.generateUUID();\n if (this._calls[o]) throw this.logger.error(\"Call \" + o + \" already exists\"), new Error(\"Internal error\");\n var a = this.getCallInstance(o, d.Authenticator.get().displayName, !1, i);\n _.CallstatsIo.isModuleEnabled() && (i.extraHeaders[g.Constants.CALLSTATSIOID_HEADER] = o), i.H264first && (a.rearangeCodecs = E.CodecSorterHelpers.H264ConfSorter);\n var s = !1;\n return a.settings.active = !0, a.settings.isConference = !0, Object.keys(this._calls).length > 1 && !i.forceActive && (a.setActiveForce(!1), s = !0), p.PCFactory.get().setupDirectPC(o, h.PeerConnectionMode.CONFERENCE, t.video, s).then(function (e) {\n a.peerConnection = p.PCFactory.get().peerConnections[o];\n var t = {\n tracks: a.peerConnection.getTrackKind()\n };\n n.voxSignaling.callRemoteFunction(y.RemoteFunction.callConference, -1, i.number, !0, o, null, null, i.extraHeaders, \"\", e.sdp, t);\n }).catch(function (e) {\n n.handleConnectionFailed(a.id(), 403, \"Media access denied\", {});\n }), a.sendVideo(i.video.sendVideo), a;\n }\n }, {\n key: \"isSDPHasVideo\",\n value: function value(e) {\n var t = e.indexOf(\"m=video\");\n if (-1 === t) return !1;\n var n = e.indexOf(\"a=sendrecv\", t),\n r = e.indexOf(\"a=sendonly\", t),\n i = e.indexOf(\"m=\", t);\n return -1 !== n && (n < i || -1 === i) || -1 !== r && (r < i || -1 === i);\n }\n }, {\n key: \"handleConnectionFailed\",\n value: function value(e, t, n, r) {\n var i = this.findCall(e, \"handleConnectionFailed\");\n void 0 !== i && (this.removeCall(e), v.Client.getInstance().stopProgressTone(), i.onFailed(t, n, r));\n }\n }, {\n key: \"onSignalingConnected\",\n value: function value() {}\n }, {\n key: \"onSignalingClosed\",\n value: function value() {\n for (var e in this._calls) {\n this._calls.hasOwnProperty(e) && (this._calls[e].hangup(), this._calls[e].onFailed(409, \"Connection Closed\", {}));\n }\n }\n }, {\n key: \"onSignalingConnectionFailed\",\n value: function value(e) {}\n }, {\n key: \"onMediaConnectionFailed\",\n value: function value() {}\n }, {\n key: \"transferCall\",\n value: function value(e, t) {\n for (var n = [e, t], r = 0; r < n.length; r++) {\n var i = this._calls[n[r].id()];\n\n if (!i) return void this.logger.error(\"trying to transfer unknown call \" + i.id());\n if (i.stateValue != s.CallState.CONNECTED) return void this.logger.error(\"trying to transfer call \" + i.id() + \" in state \" + i.state());\n }\n\n this.voxSignaling.callRemoteFunction(y.RemoteFunction.transferCall, e.id(), t.id());\n }\n }, {\n key: \"removeCall\",\n value: function value(e) {\n this.callStats.deleteCall(this._calls[e]), delete this._calls[e];\n }\n }, {\n key: \"setProtocolVersion\",\n value: function value(e) {\n this.protocolVersion = e;\n }\n }, {\n key: \"setAllCallsVolume\",\n value: function value(e) {\n for (var t in this._calls) {\n this._calls.hasOwnProperty(t) && M.EndpointManager.get().setCallVolume(this._calls[t], e);\n }\n }\n }, {\n key: \"useVideoSource\",\n value: function value(e) {\n var t = this,\n n = Object.keys(this._calls).length;\n return new Promise(function (r, i) {\n for (var o in t._calls) {\n if (t._calls.hasOwnProperty(o)) {\n var a = t._calls[o];\n b.default.CameraManager.get().setCallVideoSettings(a, Object.assign({}, b.default.CameraManager.get().getCallVideoSettings(a), {\n cameraId: e\n })), b.default.StreamManager.get().updateCallStream(a).then(function (e) {\n --n <= 0 && r();\n }, function (e) {\n i(e);\n });\n }\n }\n });\n }\n }, {\n key: \"setVideoSettings\",\n value: function value(e) {\n var t = this,\n n = Object.keys(this._calls).length;\n return new Promise(function (r, i) {\n 0 === n && r();\n\n for (var o in t._calls) {\n if (t._calls.hasOwnProperty(o)) {\n var a = t._calls[o];\n b.default.CameraManager.get().setCallVideoSettings(a, b.default.CameraManager.legacyParamConverter(e)).then(function (e) {\n --n <= 0 && r();\n }, function (e) {\n i(e);\n });\n }\n }\n });\n }\n }, {\n key: \"useAudioSource\",\n value: function value(e) {\n var t = this,\n n = Object.keys(this._calls).length;\n return new Promise(function (r, i) {\n 0 === n && r();\n\n for (var o in t._calls) {\n if (t._calls.hasOwnProperty(o)) {\n var a = t._calls[o];\n b.default.AudioDeviceManager.get().setCallAudioSettings(a, Object.assign({}, b.default.AudioDeviceManager.get().getCallAudioSettings(a), {\n inputId: e\n })).then(function (e) {\n --n <= 0 && r();\n }, function (e) {\n i(e);\n });\n }\n }\n });\n }\n }, {\n key: \"handleIncomingConnection\",\n value: function value(e, t, n, r, i) {\n if (this._calls[e]) throw this.logger.error(\"Call \" + e + \" already exists\"), new Error(\"Internal error\");\n var o = L.SDPMuggle.detectDirections(i),\n a = o.some(function (e) {\n return \"video\" === e.type && (\"sendonly\" === e.direction || \"sendrecv\" === e.direction);\n }),\n s = {\n number: t,\n extraHeaders: r,\n video: a,\n wiredLocal: !0,\n wiredRemote: !0,\n forceActive: !1\n },\n c = this.getCallInstance(e, n, !0, s);\n this._h264first && (c.rearangeCodecs = E.CodecSorterHelpers.H264Sorter);\n var l = !1;\n if (c.settings.active = !0, Object.keys(this._calls).length > 1 && (c.setActiveForce(!1), l = !0), v.Client.getInstance().onIncomingCall(e, t, n, r, this.isSDPHasVideo(i)), void 0 === s.extraHeaders[g.Constants.DIRECT_CALL_HEADER] && \"2\" == this.protocolVersion) c.peerConnection = p.PCFactory.get().getPeerConnect(e);else {\n var u = [];\n -1 === i.indexOf(\"VIMS\") && (u = this.iceServers[e]), p.PCFactory.get().incomeDirectPC(e, {\n receiveVideo: !0,\n sendVideo: !0\n }, i, l, u).then(function (e) {\n c.peerConnection = e;\n });\n }\n }\n }, {\n key: \"getCallInstance\",\n value: function value(e, t, n, r) {\n var i = void 0;\n return i = \"3\" == this.protocolVersion ? new S.CallExMedia(e, t, n, r) : void 0 !== r.extraHeaders[g.Constants.DIRECT_CALL_HEADER] ? new S.CallExMedia(e, t, n, r) : new m.CallExServer(e, t, n, r), this._calls[e] = i, this.callStats.addCall(i), M.EndpointManager.get().registerCall(i), i;\n }\n }, {\n key: \"findCall\",\n value: function value(e, t) {\n var n = this._calls[e];\n return \"\" === e && (n = this._calls[Object.keys(this._calls)[0]]), void 0 === n ? (\"onICEResult\" !== t && this.logger.warning(\"Received \" + t + \" for unknown call \" + e), null) : n;\n }\n }, {\n key: \"handleRingOut\",\n value: function value(e) {\n var t = this.findCall(e, \"handleRingOut\");\n void 0 !== t && (v.Client.getInstance().playProgressTone(!0), t.onRingOut(), t.canStartSendingCandidates());\n }\n }, {\n key: \"handleConnectionConnected\",\n value: function value(e, t, n) {\n this.logger.info(\"handleConnectionConnected(), received SDP: \\n\" + n);\n var r = this.findCall(e, \"handleConnectionConnected\");\n\n if (r.signalingConnected = !0, r.canStartSendingCandidates(), void 0 !== r && (r.onConnected(t, n), void 0 !== n && n.length > 0)) {\n var i = n.indexOf(\"m=video\");\n\n if (-1 !== i) {\n var o = n.indexOf(\"a=sendrecv\", i),\n a = n.indexOf(\"a=sendonly\", i),\n s = n.indexOf(\"a=recvonly\", i),\n c = n.indexOf(\"a=inactive\", i);\n -1 === o && -1 === a && -1 === s && -1 === c && (n += \"a=inactive\\r\\n\");\n }\n\n r.peerConnection.processRemoteAnswer(t, n);\n }\n }\n }, {\n key: \"onICEResult\",\n value: function value(e, t, n) {\n if (t) {\n this.iceServers[e] = n;\n var r = this.findCall(e, \"onICEResult\");\n r && r.peerConnection.setConfiguration(Object.assign({}, r.peerConnection.getConfiguration(), {\n iceServers: n\n }));\n }\n }\n }, {\n key: \"startEarlyMedia\",\n value: function value(e, t, n) {\n this.logger.info(\"startEarlyMedia(), received SDP: \\n\" + n);\n var r = this.findCall(e, \"startEarlyMedia\");\n r.settings.hasEarlyMedia = !0, void 0 !== n && r.peerConnection.processRemoteAnswer(t, n), v.Client.getInstance().stopProgressTone();\n }\n }, {\n key: \"handleConnectionDisconnected\",\n value: function value(e, t, n) {\n var r = this,\n i = this.findCall(e, \"handleConnectionDisconnected\");\n i && (v.Client.getInstance().stopProgressTone(), i.onDisconnected(t, n).then(function () {\n return r.removeCall(e);\n }).catch(function (t) {\n r.logger.error(\"Can't remove the call \" + e + \": \" + t.message);\n }));\n }\n }, {\n key: \"handleSIPInfo\",\n value: function value(e, t, n, r, i) {\n var o = this.findCall(e, \"handleSIPInfo\");\n void 0 !== o && o.onInfo(o, t, n, r, i);\n }\n }, {\n key: \"stopRinging\",\n value: function value(e) {\n var t = this.findCall(e, \"stopRinging\");\n t.canStartSendingCandidates(), void 0 !== t && (v.Client.getInstance().stopProgressTone(), t.onStopRinging());\n }\n }, {\n key: \"handleSipEvent\",\n value: function value(e) {}\n }, {\n key: \"handleTransferStarted\",\n value: function value(e) {}\n }, {\n key: \"handleTransferComplete\",\n value: function value(e) {\n var t = this.findCall(e, \"handleTransferComplete\");\n void 0 !== t && t.onTransferComplete();\n }\n }, {\n key: \"handleTransferFailed\",\n value: function value(e) {\n var t = this.findCall(e, \"handleTransferFailed\");\n void 0 !== t && t.onTransferFailed();\n }\n }, {\n key: \"handleReinvite\",\n value: function value(e, t, n) {\n var r = this.findCall(e, \"handleReinvite\");\n\n if (void 0 !== r) {\n var i = this.isSDPHasVideo(n);\n r.peerConnection.handleReinvite(t, n, i);\n }\n }\n }, {\n key: \"handleRejectReinvite\",\n value: function value(e, t, n) {\n var r = this.findCall(e, \"handleReinvite\");\n void 0 !== r && r.dispatchEvent({\n code: 20,\n call: r\n });\n }\n }, {\n key: \"handleInReinvite\",\n value: function value(e, t, n, r) {\n var i = this.findCall(e, \"handleReinvite\");\n void 0 !== i && (M.EndpointManager.get().setEndpointDescription(i, r), this.logger.info(\"handleInReinvite(), received SDP: \\n\" + n), i.runIncomingReInvite(t, n), i.dispatchEvent({\n name: c.CallEvents.PendingUpdate,\n result: !0,\n call: i\n }));\n }\n }, {\n key: \"recalculateNumCalls\",\n value: function value() {\n this._numCalls = 0;\n\n for (var e in this._calls) {\n this._calls.hasOwnProperty(e) && this._numCalls++;\n }\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"CallManager\";\n }\n }, {\n key: \"calls\",\n get: function get() {\n return this._calls;\n }\n }, {\n key: \"numCalls\",\n get: function get() {\n return this._numCalls;\n }\n }], [{\n key: \"get\",\n value: function value() {\n return void 0 === this.inst && (this.inst = new e()), this.inst;\n }\n }, {\n key: \"cleanHeaders\",\n value: function value(e) {\n var t = {};\n\n for (var n in e) {\n \"X-\" != n.substring(0, 2) && n != g.Constants.CALL_DATA_HEADER || (t[n] = e[n]);\n }\n\n return t;\n }\n }, {\n key: \"addCustomDataToHeaders\",\n value: function value(e) {\n return void 0 !== e.customData && (void 0 === e.extraHeaders && (e.extraHeaders = {}), e.extraHeaders[\"VI-CallData\"] = e.customData), e;\n }\n }]), e;\n }();\n\n a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"call\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"handleConnectionFailed\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"onSignalingConnected\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"onSignalingClosed\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"onSignalingConnectionFailed\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"removeCall\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"setAllCallsVolume\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"useVideoSource\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"setVideoSettings\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"useAudioSource\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"handleIncomingConnection\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"findCall\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"handleRingOut\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"handleConnectionConnected\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"onICEResult\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"handleConnectionDisconnected\", null), a([f.LogManager.d_trace(f.LogCategory.CALLEXSERVER)], T.prototype, \"handleSIPInfo\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"stopRinging\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"handleSipEvent\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"handleTransferStarted\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"handleTransferComplete\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"handleTransferFailed\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"handleReinvite\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"handleRejectReinvite\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T.prototype, \"handleInReinvite\", null), a([f.LogManager.d_trace(f.LogCategory.CALLMANAGER)], T, \"addCustomDataToHeaders\", null), t.CallManager = T;\n }, function (e, t, n) {\n \"use strict\";\n\n var r = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n };\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var i,\n o = n(0),\n a = n(47),\n s = n(48),\n c = n(49),\n l = n(61),\n u = n(21),\n d = n(62),\n g = n(1),\n f = n(63),\n p = n(64);\n !function (e) {\n function t(e, t, n) {\n var i = e;\n return \"object\" != (void 0 === i ? \"undefined\" : r(i)) && (i = {}), i[t] = {\n ideal: n\n }, i;\n }\n\n function n(e, t, n, r) {\n switch (o.LogManager.get().writeMessage(o.LogCategory.RTC, \"Core\", o.LogLevel.INFO, \"Create WebRTC on the \" + JSON.stringify(b)), M) {\n case L.Firefox:\n return new c.WebRTCPC(e, t, n, r);\n\n case L.Webkit:\n var i = b.getBrowserVersion().split(\".\"),\n a = parseInt(i[0]);\n return !isNaN(a) && a >= 72 ? new p.TransreceiverPC(e, t, n, r) : new c.WebRTCPC(e, t, n, r);\n\n case L.Safari:\n case L.Edge:\n return new c.WebRTCPC(e, t, n, r);\n\n default:\n return o.LogManager.get().writeMessage(o.LogCategory.RTC, \"Core\", o.LogLevel.INFO, \"Unsupported browser \" + navigator.userAgent), null;\n }\n }\n\n function i() {\n return !(!g.Client.getInstance().config().experiments || !g.Client.getInstance().config().experiments.emulate_ios) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i);\n }\n\n function v() {\n return M === L.Firefox || M === L.Webkit;\n }\n\n function h(e) {\n return this.logger.info(\"[constraints]: \" + JSON.stringify(e)), navigator.mediaDevices.getUserMedia(e);\n }\n\n function m(e, t) {\n return new u.SignalingDTMFSender(t);\n }\n\n function y() {\n return new Promise(function (e) {\n e(!1);\n });\n }\n\n function C(e) {\n var n = !1,\n r = !1;\n return e.audioEnabled && (n = !0, e.audioInputId && (n = t(n, \"deviceId\", e.audioInputId))), e.videoEnabled && (r = !0, e.videoSettings && (r = e.videoSettings), e.videoInputId && (r = t(r, \"deviceId\", e.videoInputId))), {\n peerIdentity: null,\n audio: n,\n video: r\n };\n }\n\n function S() {\n if (!1 === (!(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0])) return \"voxmobile\";\n\n switch (M || _(), M) {\n case L.Firefox:\n return \"firefox\";\n\n case L.Webkit:\n return \"chrome\";\n\n case L.Safari:\n return \"safari\";\n\n case L.Edge:\n return \"edge\";\n\n default:\n return \"\";\n }\n }\n\n function _() {\n navigator.mozGetUserMedia ? M = L.Firefox : navigator.webkitGetUserMedia ? M = L.Webkit : navigator.mediaDevices && navigator.userAgent.match(/Edge\\/(\\d+).(\\d+)$/) ? M = L.Edge : navigator.getUserMedia && (M = L.Safari);\n }\n\n function E() {\n switch (M || _(), M && o.LogManager.get().writeMessage(o.LogCategory.RTC, \"Core\", o.LogLevel.INFO, \"Detected browser \" + L[M]), e.getUserMedia = h, e.getDTMFSender = m, e.screenSharingSupported = y, M) {\n case L.Firefox:\n e.attachMedia = a.FF.attachStream, e.detachMedia = a.FF.detachStream, e.getScreenMedia = a.FF.getScreenMedia, e.getRTCStats = a.FF.getRTCStats, e.getUserMedia = a.FF.getUserMedia, e.screenSharingSupported = a.FF.screenSharingSupported, e.getDTMFSender = a.FF.getDTMFSender;\n break;\n\n case L.Webkit:\n e.attachMedia = s.Webkit.attachStream, e.detachMedia = s.Webkit.detachStream, e.getScreenMedia = s.Webkit.getScreenMedia, e.getRTCStats = s.Webkit.getRTCStats, e.getUserMedia = s.Webkit.getUserMedia, e.screenSharingSupported = s.Webkit.screenSharingSupported, e.getDTMFSender = s.Webkit.getDTMFSender;\n break;\n\n case L.Safari:\n e.attachMedia = d.Safari.attachStream, e.detachMedia = d.Safari.detachStream, e.getScreenMedia = d.Safari.getScreenMedia, e.getRTCStats = d.Safari.getRTCStats, e.getUserMedia = a.FF.getUserMedia, e.getDTMFSender = d.Safari.getDTMFSender;\n break;\n\n case L.Edge:\n e.attachMedia = l.Edge.attachStream, e.detachMedia = l.Edge.detachStream, e.getScreenMedia = l.Edge.getScreenMedia, e.screenSharingSupported = l.Edge.screenSharingSupported, e.getRTCStats = l.Edge.getRTCStats;\n break;\n\n default:\n o.LogManager.get().writeMessage(o.LogCategory.RTC, \"Core\", o.LogLevel.INFO, \"Unsupported browser \" + navigator.userAgent);\n }\n\n e.composeConstraints = C;\n }\n\n var L = void 0;\n !function (e) {\n e[e.Firefox = 1] = \"Firefox\", e[e.Webkit = 2] = \"Webkit\", e[e.Edge = 3] = \"Edge\", e[e.Safari = 4] = \"Safari\";\n }(L || (L = {}));\n var M = void 0,\n b = f.getParser(window.navigator.userAgent);\n e.peerConnectionFactory = n, e.isIphone = i, e.isScreenSharingSupported = v, e.getWSVendor = S, e.init = E;\n }(i || (i = {})), t.default = i;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(22),\n c = n(2),\n l = n(0),\n u = n(6),\n d = n(12),\n g = n(7),\n f = n(3),\n p = n(13),\n v = n(1),\n h = n(4),\n m = n(16),\n y = function () {\n function e() {\n var t = this;\n r(this, e), this.iceConfig = null, this._peerConnections = {}, this.waitingPeerConnections = {}, this.logger = l.LogManager.get().createLogger(l.LogCategory.RTC, this._traceName()), this._requireMedia = !0, \"firefox\" === g.default.getWSVendor() && (e.hasTransceivers = !0), c.VoxSignaling.get().setRPCHandler(p.RemoteEvent.createPC, function (e, n) {\n t.rpcHandlerCreatePC(e, n);\n }), c.VoxSignaling.get().setRPCHandler(p.RemoteEvent.destroyPC, function (e) {\n t.rpcHandlerDestroyPC(e);\n }), c.VoxSignaling.get().addHandler(this);\n }\n\n return i(e, [{\n key: \"setupDirectPC\",\n value: function value(e, t, n, r) {\n var i = this,\n o = g.default.peerConnectionFactory(e, t, n);\n o.setHoldKey(r);\n var a = (v.Client.getInstance().config(), h.default.StreamManager.get()),\n s = u.CallManager.get().calls[e];\n return a.getCallStream(s).then(function (t) {\n return null !== t && o.fastAddCustomMedia(t), i._peerConnections[e] = o, o.getLocalOffer();\n });\n }\n }, {\n key: \"incomeDirectPC\",\n value: function value(e, t, n, r, i) {\n var o = this,\n a = g.default.peerConnectionFactory(e, s.PeerConnectionMode.P2P, t, i);\n return a.setHoldKey(r), a._setRemoteDescription(n).then(function () {\n if (u.CallManager.get().calls[e]) return o._peerConnections[e] = a, a;\n a.close();\n });\n }\n }, {\n key: \"getPeerConnect\",\n value: function value(e) {\n return this._peerConnections[e];\n }\n }, {\n key: \"onSignalingConnected\",\n value: function value() {}\n }, {\n key: \"onSignalingClosed\",\n value: function value() {\n this.logger.info(\"Closing all peer connections because signaling connection has closed\"), this.waitingPeerConnections = {};\n\n for (var e in this._peerConnections) {\n this._peerConnections[e].close();\n }\n\n this._peerConnections = {};\n }\n }, {\n key: \"onSignalingConnectionFailed\",\n value: function value(e) {}\n }, {\n key: \"onMediaConnectionFailed\",\n value: function value() {}\n }, {\n key: \"closeAll\",\n value: function value() {\n for (var e in this._peerConnections) {\n this._peerConnections[e].close();\n }\n\n this._peerConnections = {};\n }\n }, {\n key: \"setBandwidthParams\",\n value: function value(e) {\n this._bandwidthParams = e;\n }\n }, {\n key: \"addBandwidthParams\",\n value: function value(e) {\n return this._bandwidthParams && (e.sdp = e.sdp.replace(/(a=mid:video.*\\r\\n)/g, \"$1b=AS:\" + this._bandwidthParams + \"\\r\\n\")), e;\n }\n }, {\n key: \"rpcHandlerCreatePC\",\n value: function value(t, n) {\n this.logger.info(\"rpcHandlerCreatePC(), received SDP: \\n\" + n.replace(\"<br>\", \"\\n\\r\")), n = m.SDPMuggle.addSetupAttribute(n);\n var r = e.sdpOffersVideo(n),\n i = s.PeerConnectionMode.CLIENT_SERVER_V1;\n c.VoxSignaling.get().callRemoteFunction(f.RemoteFunction.muteLocal, t, !1);\n var o = g.default.peerConnectionFactory(t, i, r);\n this._peerConnections[t] = o;\n var a = u.CallManager.get().calls[t];\n h.default.StreamManager.get().getCallStream(a).then(function (e) {\n \"__default\" === t && (n = n.replace(\"a=sendrecv\", \"a=recvonly\")), o.fastAddCustomMedia(e), o.processRemoteOffer(n).then(function (e) {\n void 0 === a || a.checkCallMode(d.CallMode.SERVER) ? c.VoxSignaling.get().callRemoteFunction(f.RemoteFunction.confirmPC, t, e) : c.VoxSignaling.get().callRemoteFunction(f.RemoteFunction.acceptCall, [t, u.CallManager.cleanHeaders(a.headers()), e]), \"__default\" !== t && void 0 !== u.CallManager.get().calls[t] && (u.CallManager.get().calls[t].peerConnection = o);\n });\n }).catch(function (e) {\n void 0 !== a ? u.CallManager.get().handleConnectionFailed(a.id(), 403, \"Media access denied\", {}) : c.VoxSignaling.get().onConnectionFailedRPC();\n });\n }\n }, {\n key: \"rpcHandlerDestroyPC\",\n value: function value(e) {\n var t = this;\n this._peerConnections[e] && (\"__default\" === e ? setTimeout(function () {\n t._peerConnections[e].close(), delete t._peerConnections[e];\n }, 200) : (this._peerConnections[e].close(), delete this._peerConnections[e])), delete this.waitingPeerConnections[e];\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"PCFactory\";\n }\n }, {\n key: \"peerConnections\",\n get: function get() {\n return this._peerConnections;\n }\n }, {\n key: \"requireMedia\",\n get: function get() {\n return this._requireMedia;\n },\n set: function set(e) {\n this._requireMedia = e;\n }\n }], [{\n key: \"get\",\n value: function value() {\n return null === this.inst && (this.inst = new e()), this.inst;\n }\n }, {\n key: \"sdpOffersVideo\",\n value: function value(e) {\n return {\n receiveVideo: -1 !== e.indexOf(\"m=video\"),\n sendVideo: !0\n };\n }\n }]), e;\n }();\n\n y.inst = null, y.hasTransceivers = !1, a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y.prototype, \"setupDirectPC\", null), a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y.prototype, \"incomeDirectPC\", null), a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y.prototype, \"getPeerConnect\", null), a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y.prototype, \"onSignalingConnected\", null), a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y.prototype, \"onSignalingClosed\", null), a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y.prototype, \"onSignalingConnectionFailed\", null), a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y.prototype, \"onMediaConnectionFailed\", null), a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y.prototype, \"closeAll\", null), a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y.prototype, \"setBandwidthParams\", null), a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y.prototype, \"addBandwidthParams\", null), a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y.prototype, \"rpcHandlerCreatePC\", null), a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y.prototype, \"rpcHandlerDestroyPC\", null), a([l.LogManager.d_trace(l.LogCategory.PCFACTORY)], y, \"sdpOffersVideo\", null), t.PCFactory = y;\n }, function (e, t, n) {\n \"use strict\";\n\n var r = !0,\n i = !0,\n o = {\n disableLog: function disableLog(e) {\n return \"boolean\" != typeof e ? new Error(\"Argument type: \" + _typeof(e) + \". Please use a boolean.\") : (r = e, e ? \"adapter.js logging disabled\" : \"adapter.js logging enabled\");\n },\n disableWarnings: function disableWarnings(e) {\n return \"boolean\" != typeof e ? new Error(\"Argument type: \" + _typeof(e) + \". Please use a boolean.\") : (i = !e, \"adapter.js deprecation warnings \" + (e ? \"disabled\" : \"enabled\"));\n },\n log: function log() {\n if (\"object\" == (typeof window === \"undefined\" ? \"undefined\" : _typeof(window))) {\n if (r) return;\n \"undefined\" != typeof console && \"function\" == typeof console.log && console.log.apply(console, arguments);\n }\n },\n deprecated: function deprecated(e, t) {\n i && console.warn(e + \" is deprecated, please use \" + t + \" instead.\");\n },\n extractVersion: function extractVersion(e, t, n) {\n var r = e.match(t);\n return r && r.length >= n && parseInt(r[n], 10);\n },\n detectBrowser: function detectBrowser(e) {\n var t = e && e.navigator,\n n = {};\n if (n.browser = null, n.version = null, void 0 === e || !e.navigator) return n.browser = \"Not a browser.\", n;\n if (t.mozGetUserMedia) n.browser = \"firefox\", n.version = this.extractVersion(t.userAgent, /Firefox\\/(\\d+)\\./, 1);else if (t.webkitGetUserMedia) {\n if (e.webkitRTCPeerConnection) n.browser = \"chrome\", n.version = this.extractVersion(t.userAgent, /Chrom(e|ium)\\/(\\d+)\\./, 2);else {\n if (!t.userAgent.match(/Version\\/(\\d+).(\\d+)/)) return n.browser = \"Unsupported webkit-based browser with GUM support but no WebRTC support.\", n;\n n.browser = \"safari\", n.version = this.extractVersion(t.userAgent, /AppleWebKit\\/(\\d+)\\./, 1);\n }\n } else if (t.mediaDevices && t.userAgent.match(/Edge\\/(\\d+).(\\d+)$/)) n.browser = \"edge\", n.version = this.extractVersion(t.userAgent, /Edge\\/(\\d+).(\\d+)$/, 2);else {\n if (!t.mediaDevices || !t.userAgent.match(/AppleWebKit\\/(\\d+)\\./)) return n.browser = \"Not a supported browser.\", n;\n n.browser = \"safari\", n.version = this.extractVersion(t.userAgent, /AppleWebKit\\/(\\d+)\\./, 1);\n }\n return n;\n }\n };\n e.exports = {\n log: o.log,\n deprecated: o.deprecated,\n disableLog: o.disableLog,\n disableWarnings: o.disableWarnings,\n extractVersion: o.extractVersion,\n shimCreateObjectURL: o.shimCreateObjectURL,\n detectBrowser: o.detectBrowser.bind(o)\n };\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var i = function e() {\n r(this, e);\n };\n\n i.DIRECT_CALL_HEADER = \"X-DirectCall\", i.VIAMEDIA_CALL_HEADER = \"X-ViaMedia\", i.CALLSTATSIOID_HEADER = \"X-CallstatsIOID\", i.CALL_DATA_HEADER = \"VI-CallData\", i.ZINGAYA_IM_MIME_TYPE = \"application/zingaya-im\", i.P2P_SPD_FRAG_MIME_TYPE = \"voximplant/sdpfrag\", i.VI_HOLD_EMUL = \"vi/holdemul\", i.VI_SPD_OFFER_MIME_TYPE = \"vi/sdpoffer\", i.VI_SPD_ANSWER_MIME_TYPE = \"vi/sdpanswer\", i.VI_CONF_PARTICIPANT_INFO_ADDED = \"vi/conf-info-added\", i.VI_CONF_PARTICIPANT_INFO_REMOVED = \"vi/conf-info-removed\", i.VI_CONF_PARTICIPANT_INFO_UPDATED = \"vi/conf-info-updated\", t.Constants = i;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s,\n c = n(2),\n l = n(0),\n u = n(8),\n d = n(3),\n g = n(13),\n f = n(17),\n p = n(1),\n v = n(42);\n !function (e) {\n e[e.IDLE = 0] = \"IDLE\", e[e.IN_PROGRESS = 1] = \"IN_PROGRESS\";\n }(s = t.AuthenticatorState || (t.AuthenticatorState = {}));\n\n var h = function () {\n function e() {\n var t = this;\n r(this, e), this.FAIL_CODE_SECOND_STAGE = 301, this.FAIL_CODE_ONE_TIME_KEY = 302, this._displayName = null, this._username = null, this._authorized = !1, this.signaling = c.VoxSignaling.get(), this.currentState = s.IDLE, this.logger = l.LogManager.get().createLogger(l.LogCategory.SIGNALING, this._traceName()), this.signaling.setRPCHandler(g.RemoteEvent.loginFailed, function (e, n) {\n t.onLoginFailed(e, n);\n }), this.signaling.setRPCHandler(g.RemoteEvent.loginSuccessful, function (e, n) {\n t.onLoginSuccesful(e, n);\n }), this.signaling.setRPCHandler(g.RemoteEvent.refreshOauthTokenFailed, function (e) {\n t.handler.onRefreshTokenFailed(e);\n }), this.signaling.setRPCHandler(g.RemoteEvent.refreshOauthTokenSuccessful, function (e) {\n t.handler.onRefreshTokenSuccess(e.OAuth);\n }), this.signaling.addHandler(this);\n }\n\n return i(e, [{\n key: \"setHandler\",\n value: function value(e) {\n this.handler = e;\n }\n }, {\n key: \"onLoginFailed\",\n value: function value(e, t) {\n switch (this.currentState = s.IDLE, e) {\n case this.FAIL_CODE_ONE_TIME_KEY:\n this.handler.onOneTimeKeyGenerated(t);\n break;\n\n case this.FAIL_CODE_SECOND_STAGE:\n this.handler.onSecondStageInitiated();\n break;\n\n default:\n this.handler.onLoginFailed(e);\n }\n }\n }, {\n key: \"onLoginSuccesful\",\n value: function value(e, t) {\n this.currentState = s.IDLE, this._authorized = !0, u.PCFactory.get().iceConfig = t.iceConfig, p.Client.getInstance() && p.Client.getInstance().config() && p.Client.getInstance().config().experiments && p.Client.getInstance().config().experiments.cleverACD && v.default.setConnectionId(t.connectionId), this._displayName = e, f.CallstatsIo.get().init({\n userName: this._username,\n aliasName: this._displayName\n }), this.handler.onLoginSuccessful(e, t.OAuth);\n }\n }, {\n key: \"basicLogin\",\n value: function value(e, t, n) {\n if (this.currentState != s.IDLE) return void this.logger.error(\"Login operation already in progress\");\n this._username = e, this.currentState = s.IN_PROGRESS, this.signaling.callRemoteFunction(d.RemoteFunction.login, e, t, n);\n }\n }, {\n key: \"tokenLogin\",\n value: function value(e, t) {\n if (this.currentState != s.IDLE) return void this.logger.error(\"Login operation already in progress\");\n this._username = e, this.currentState = s.IN_PROGRESS, this.signaling.callRemoteFunction(d.RemoteFunction.login, e, \"\", t);\n }\n }, {\n key: \"tokenRefresh\",\n value: function value(e, t, n) {\n n ? this.signaling.callRemoteFunction(d.RemoteFunction.refreshOauthToken, e, {\n refreshToken: t,\n deviceToken: n\n }) : this.signaling.callRemoteFunction(d.RemoteFunction.refreshOauthToken, e, t);\n }\n }, {\n key: \"loginUsingOneTimeKey\",\n value: function value(e, t, n) {\n if (this.currentState != s.IDLE) return void this.logger.error(\"Login operation already in progress\");\n this._username = e, this.currentState = s.IN_PROGRESS, this.signaling.callRemoteFunction(d.RemoteFunction.loginUsingOneTimeKey, e, t, n);\n }\n }, {\n key: \"loginStage2\",\n value: function value(e, t, n) {\n if (this.currentState != s.IDLE) return void this.logger.error(\"Login operation already in progress\");\n this._username = e, this.currentState = s.IN_PROGRESS, this.signaling.callRemoteFunction(d.RemoteFunction.loginStage2, e, t, n);\n }\n }, {\n key: \"generateOneTimeKey\",\n value: function value(e) {\n if (this.currentState != s.IDLE) return void this.logger.error(\"Login operation already in progress\");\n this.currentState = s.IN_PROGRESS, this.signaling.callRemoteFunction(d.RemoteFunction.loginGenerateOneTimeKey, e);\n }\n }, {\n key: \"username\",\n value: function value() {\n return this._username;\n }\n }, {\n key: \"authorized\",\n value: function value() {\n return this._authorized;\n }\n }, {\n key: \"onSignalingConnected\",\n value: function value() {}\n }, {\n key: \"onSignalingConnectionFailed\",\n value: function value(e) {}\n }, {\n key: \"onSignalingClosed\",\n value: function value() {\n this._authorized = !1, this._displayName = null, this._username = null;\n }\n }, {\n key: \"onMediaConnectionFailed\",\n value: function value() {}\n }, {\n key: \"ziAuthorized\",\n value: function value(e) {\n this._authorized = e;\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"Authenticator\";\n }\n }, {\n key: \"displayName\",\n get: function get() {\n return this._displayName;\n }\n }], [{\n key: \"get\",\n value: function value() {\n return void 0 === this.inst && (this.inst = new e()), this.inst;\n }\n }]), e;\n }();\n\n a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"setHandler\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"onLoginFailed\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"onLoginSuccesful\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"basicLogin\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"tokenLogin\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"tokenRefresh\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"loginUsingOneTimeKey\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"loginStage2\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"generateOneTimeKey\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"username\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"authorized\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"onSignalingConnected\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"onSignalingConnectionFailed\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"onSignalingClosed\", null), a([l.LogManager.d_trace(l.LogCategory.AUTHENTICATOR)], h.prototype, \"onMediaConnectionFailed\", null), t.Authenticator = h;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n var a = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n s = function e(t, n, r) {\n null === t && (t = Function.prototype);\n var i = Object.getOwnPropertyDescriptor(t, n);\n\n if (void 0 === i) {\n var o = Object.getPrototypeOf(t);\n return null === o ? void 0 : e(o, n, r);\n }\n\n if (\"value\" in i) return i.value;\n var a = i.get;\n if (void 0 !== a) return a.call(r);\n },\n c = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n l = function l(e, t, n, r) {\n var i,\n o = arguments.length,\n a = o < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : c(Reflect)) && \"function\" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, r);else for (var s = e.length - 1; s >= 0; s--) {\n (i = e[s]) && (a = (o < 3 ? i(a) : o > 3 ? i(t, n, a) : i(t, n)) || a);\n }\n return o > 3 && a && Object.defineProperty(t, n, a), a;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var u,\n d = n(5),\n g = n(2),\n f = n(10),\n p = n(0),\n v = n(8),\n h = n(6),\n m = n(7),\n y = n(3),\n C = n(1),\n S = n(15),\n _ = n(23),\n E = n(4);\n\n !function (e) {\n e[e.ALERTING = \"ALERTING\"] = \"ALERTING\", e[e.PROGRESSING = \"PROGRESSING\"] = \"PROGRESSING\", e[e.CONNECTED = \"CONNECTED\"] = \"CONNECTED\", e[e.UPDATING = \"UPDATING\"] = \"UPDATING\", e[e.ENDED = \"ENDED\"] = \"ENDED\";\n }(u = t.CallState || (t.CallState = {}));\n var L;\n !function (e) {\n e[e.P2P = 0] = \"P2P\", e[e.SERVER = 1] = \"SERVER\";\n }(L = t.CallMode || (t.CallMode = {}));\n\n var M = function (e) {\n function t(e, n, o, a) {\n r(this, t);\n var s = i(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));\n s.remoteMuteState = !0, s.signalingConnected = !1, s.settings = a, s.settings.id = e, s.settings.displayName = n, s.settings.mode = L.P2P, s.settings.active = !0, s.settings.usedSinkId = null, s.settings.incoming = o, s.settings.state = o ? u.ALERTING : u.PROGRESSING;\n C.Client.getInstance().config();\n return s.settings.audioDirections = {\n sendAudio: !0\n }, s.settings.videoDirections = \"boolean\" == typeof a.video ? {\n sendVideo: a.video,\n receiveVideo: !0\n } : a.video, s.settings.hasEarlyMedia = !1, s.logger = p.LogManager.get().createLogger(p.LogCategory.CALL, \"Call \" + e), s._callManager = h.CallManager.get(), s;\n }\n\n return o(t, e), a(t, [{\n key: \"id\",\n value: function value() {\n return this.settings ? this.settings.id : \"new\";\n }\n }, {\n key: \"number\",\n value: function value() {\n return this.settings.number;\n }\n }, {\n key: \"displayName\",\n value: function value() {\n return this.settings.displayName;\n }\n }, {\n key: \"headers\",\n value: function value() {\n return this.settings.extraHeaders;\n }\n }, {\n key: \"active\",\n value: function value() {\n return this.settings.active;\n }\n }, {\n key: \"_setActive\",\n value: function value(e) {\n var t = {\n call: this,\n old: this.settings.active,\n new: e,\n name: d.CallEvents.ActiveUpdated\n };\n return this.settings.active = e, this.dispatchEvent(t), this.muteIncomingStreams(e), e;\n }\n }, {\n key: \"muteIncomingStreams\",\n value: function value(e) {\n this.getEndpoints().forEach(function (t) {\n t.mediaRenderers.forEach(function (t) {\n t.stream.getTracks().forEach(function (t) {\n t.enabled = e;\n });\n });\n });\n }\n }, {\n key: \"state\",\n value: function value() {\n return u[this.settings.state];\n }\n }, {\n key: \"_setState\",\n value: function value(e) {\n var t = {\n call: this,\n old: this.settings.state,\n new: e,\n name: d.CallEvents.StateUpdated\n };\n return this.settings.state = e, this.dispatchEvent(t), e;\n }\n }, {\n key: \"answer\",\n value: function value(e, t, n) {\n if (this.logger.info(\"answer(\" + JSON.stringify(n) + \")\"), void 0 !== e && (void 0 !== t && \"object\" === (void 0 === t ? \"undefined\" : c(t)) || (t = {}), t[f.Constants.CALL_DATA_HEADER] = e), void 0 !== n && (n = {\n sendVideo: C.Client.getInstance().config().videoSupport,\n receiveVideo: C.Client.getInstance().config().videoSupport\n }), this.settings.state != u.ALERTING) throw new Error(\"WRONG_CALL_STATE\");\n void 0 !== n && this._peerConnection.setVideoFlags(n);\n }\n }, {\n key: \"decline\",\n value: function value(e) {\n if (this.logger.info(\"decline()\"), this.settings.state != u.ALERTING) throw new Error(\"WRONG_CALL_STATE\");\n g.VoxSignaling.get().callRemoteFunction(y.RemoteFunction.rejectCall, this.settings.id, !1, h.CallManager.cleanHeaders(e));\n }\n }, {\n key: \"reject\",\n value: function value(e) {\n if (this.logger.info(\"reject()\"), this.settings.state != u.ALERTING) throw new Error(\"WRONG_CALL_STATE\");\n g.VoxSignaling.get().callRemoteFunction(y.RemoteFunction.rejectCall, this.settings.id, !0, h.CallManager.cleanHeaders(e));\n }\n }, {\n key: \"hangup\",\n value: function value(e) {\n if (this.logger.info(\"hangup()\"), this.settings.state == u.CONNECTED || this.settings.state == u.UPDATING || this.settings.state == u.PROGRESSING) g.VoxSignaling.get().callRemoteFunction(y.RemoteFunction.disconnectCall, this.settings.id, h.CallManager.cleanHeaders(e));else {\n if (this.settings.state != u.ALERTING) throw new Error(\"WRONG_CALL_STATE\");\n g.VoxSignaling.get().callRemoteFunction(y.RemoteFunction.rejectCall, this.settings.id, !0, h.CallManager.cleanHeaders(e));\n }\n }\n }, {\n key: \"sendTone\",\n value: function value(e) {\n this.logger.info(\"sendTone(\" + e + \")\"), this.settings.active && this._peerConnection.sendDTMF(e);\n }\n }, {\n key: \"mutePlayback\",\n value: function value() {\n this.logger.info(\"mutePlayback()\"), this.remoteMuteState = !1, _.EndpointManager.get().getEndpoints(this).forEach(function (e) {\n e.mediaRenderers.forEach(function (e) {\n e.setVolume(0);\n });\n });\n }\n }, {\n key: \"unmutePlayback\",\n value: function value() {\n this.logger.info(\"unmutePlayback()\"), this.remoteMuteState = !0, _.EndpointManager.get().getEndpoints(this).forEach(function (e) {\n e.mediaRenderers.forEach(function (e) {\n e.setVolume(1);\n });\n });\n }\n }, {\n key: \"restoreRMute\",\n value: function value() {\n var e = this;\n this.settings.active && _.EndpointManager.get().getEndpoints(this).forEach(function (t) {\n t.mediaRenderers.forEach(function (t) {\n t.setVolume(e.remoteMuteState ? 1 : 0);\n });\n });\n }\n }, {\n key: \"muteMicrophone\",\n value: function value() {\n this.logger.info(\"muteMicrophone()\"), this.peerConnection.muteMicrophone(!0);\n }\n }, {\n key: \"unmuteMicrophone\",\n value: function value() {\n this.logger.info(\"unmuteMicrophone()\"), this.peerConnection.muteMicrophone(!1);\n }\n }, {\n key: \"showRemoteVideo\",\n value: function value() {\n var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0];\n void 0 === e && (e = !0);\n\n var t = _.EndpointManager.get().getEndpoints(this);\n\n t && t.forEach(function (t) {\n t.mediaRenderers && t.mediaRenderers.forEach(function (t) {\n t.element && (t.element.style.display = e ? \"block\" : \"none\");\n });\n });\n }\n }, {\n key: \"setRemoteVideoPosition\",\n value: function value(e, t) {\n throw new Error(\"Deprecated: please use CSS to position '#voximplantcontainer' element\");\n }\n }, {\n key: \"setRemoteVideoSize\",\n value: function value(e, t) {\n throw new Error(\"Deprecated: please use CSS to set size of '#voximplantcontainer' element\");\n }\n }, {\n key: \"sendInfo\",\n value: function value(e, t, n) {\n this.logger.info(\"sendInfo(\" + e + \", \" + JSON.stringify(t) + \")\");\n var r,\n i,\n o = e.indexOf(\"/\");\n -1 == o ? (r = \"application\", i = e) : (r = e.substring(0, o), i = e.substring(o + 1)), g.VoxSignaling.get().callRemoteFunction(y.RemoteFunction.sendSIPInfo, this.settings.id, r, i, t, h.CallManager.cleanHeaders(n));\n }\n }, {\n key: \"sendMessage\",\n value: function value(e) {\n this.logger.info(\"sendMessage()\"), this.sendInfo(f.Constants.ZINGAYA_IM_MIME_TYPE, e, {});\n }\n }, {\n key: \"setVideoSettings\",\n value: function value(e, t, n) {\n this.logger.info(\"Setting call \" + this.id() + \" video settings: \" + JSON.stringify(e)), E.default.CameraManager.get().setCallVideoSettings(this, E.default.CameraManager.legacyParamConverter(e)), E.default.StreamManager.get().updateCallStream(this).then(function (e) {\n t && t(e);\n }, function (e) {\n n && n();\n });\n }\n }, {\n key: \"getVideoElementId\",\n value: function value() {\n var e = _.EndpointManager.get().getEndpoints(this);\n\n return void 0 !== e && e.forEach(function (e) {\n e.mediaRenderers.forEach(function (e) {\n if (e.stream) {\n if (e.stream.getVideoTracks().length) return e.stream.getTracks()[0].id;\n }\n });\n }), \"\";\n }\n }, {\n key: \"addEventListener\",\n value: function value(e, n) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"addEventListener\", this).call(this, e, n);\n }\n }, {\n key: \"on\",\n value: function value(e, n, r) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"on\", this).call(this, e, n);\n }\n }, {\n key: \"removeEventListener\",\n value: function value(e, n) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"removeEventListener\", this).call(this, e, n);\n }\n }, {\n key: \"off\",\n value: function value(e, n) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"off\", this).call(this, e, n);\n }\n }, {\n key: \"dispatchEvent\",\n value: function value(e) {\n e.name !== d.CallEvents.Updated && e.name !== d.CallEvents.UpdateFailed || this._setState(u.CONNECTED), s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"dispatchEvent\", this).call(this, e);\n }\n }, {\n key: \"onConnected\",\n value: function value(e, t) {\n if (this.signalingConnected) return !!this.checkState([u.PROGRESSING, u.ALERTING], \"onConnected\") && (this._setState(u.CONNECTED), this.startTime = Date.now(), this.dispatchEvent({\n name: \"Connected\",\n call: this,\n headers: e\n }), !0);\n }\n }, {\n key: \"onDisconnected\",\n value: function value(e, t) {\n var n = this;\n return new Promise(function (r, i) {\n if (n.stopSharingScreen(), !n.checkState([u.CONNECTED, u.ALERTING, u.PROGRESSING, u.UPDATING], \"onDisconnected\")) return i(new Error(\"Call in the wrong state \" + n.state())), !1;\n n._setState(u.ENDED), _.EndpointManager.get().clear(n).then(function () {\n r(!0), n.dispatchEvent({\n name: \"Disconnected\",\n call: n,\n headers: e,\n params: t\n });\n }).catch(function (e) {\n i(new Error(\"Endpoint manager got some error: \" + e.message));\n });\n });\n }\n }, {\n key: \"onFailed\",\n value: function value(e, t, n) {\n return this.dispatchEvent({\n name: \"Failed\",\n call: this,\n headers: n,\n code: e,\n reason: t\n }), this._setState(u.ENDED), _.EndpointManager.get().clear(this), !0;\n }\n }, {\n key: \"onStopRinging\",\n value: function value() {\n return !!this.checkState([u.PROGRESSING, u.CONNECTED], \"onStopRinging\") && (this.dispatchEvent({\n name: \"ProgressToneStop\",\n call: this\n }), !0);\n }\n }, {\n key: \"onRingOut\",\n value: function value() {\n return !!this.checkState(u.PROGRESSING, \"onRingOut\") && (this.dispatchEvent({\n name: \"ProgressToneStart\",\n call: this\n }), !0);\n }\n }, {\n key: \"onTransferComplete\",\n value: function value() {\n return !!this.checkState(u.CONNECTED, \"onTransferComplete\") && (this.dispatchEvent({\n name: \"TransferComplete\",\n call: this\n }), !0);\n }\n }, {\n key: \"onTransferFailed\",\n value: function value() {\n return !!this.checkState(u.CONNECTED, \"onTransferFailed\") && (this.dispatchEvent({\n name: \"TransferFailed\",\n call: this\n }), !0);\n }\n }, {\n key: \"onInfo\",\n value: function value(e, t, n, r, i) {\n if (e.stateValue == u.CONNECTED || e.stateValue == u.PROGRESSING || e.stateValue == u.ALERTING || e.stateValue == u.UPDATING) {\n var o = t + \"/\" + n;\n if (o == f.Constants.ZINGAYA_IM_MIME_TYPE) this.dispatchEvent({\n name: \"onSendMessage\",\n call: this,\n text: r\n });else if (o == f.Constants.P2P_SPD_FRAG_MIME_TYPE) {\n var a = JSON.parse(r);\n\n for (var s in a) {\n void 0 !== e && void 0 !== e.peerConnection ? e.peerConnection.addRemoteCandidate(a[s][1], a[s][0]) : this.logger.info(\"Candidate skipped. Connection not created yet.\");\n }\n } else if (o === f.Constants.VI_CONF_PARTICIPANT_INFO_ADDED || o === f.Constants.VI_CONF_PARTICIPANT_INFO_REMOVED || o === f.Constants.VI_CONF_PARTICIPANT_INFO_UPDATED) {\n var c = JSON.parse(r);\n c ? _.EndpointManager.get().endpointInfoUpdated(this, o, c) : this.logger.warning(\"Wrong endpoint info\");\n } else this.dispatchEvent({\n name: \"InfoReceived\",\n call: this,\n body: r,\n headers: i,\n mimeType: o\n });\n return !0;\n }\n\n this.logger.warning(\"received handleSIPInfo for call: \" + e.id() + \" in invalid state: \" + e.state());\n }\n }, {\n key: \"setActive\",\n value: function value(e) {\n var t = this;\n return this.logger.info(\"setActive(\" + e + \")\"), new Promise(function (n, r) {\n return e === t.settings.active ? void n({\n name: d.CallEvents.Updated,\n result: !1,\n call: t\n }) : \"firefox\" === m.default.getWSVendor() ? (t.sendInfo(f.Constants.VI_HOLD_EMUL, JSON.stringify({\n hold: !e\n })), void n({\n name: d.CallEvents.Updated,\n call: t,\n result: !0\n })) : void (t.settings.state == u.CONNECTED ? (t._setState(u.UPDATING), t._setActive(e), e ? g.VoxSignaling.get().callRemoteFunction(y.RemoteFunction.unhold, t.settings.id) : g.VoxSignaling.get().callRemoteFunction(y.RemoteFunction.hold, t.settings.id), n({\n name: d.CallEvents.Updated,\n result: !0,\n call: t\n })) : r({\n name: d.CallEvents.UpdateFailed,\n code: 11,\n call: t\n }));\n });\n }\n }, {\n key: \"checkCallMode\",\n value: function value(e) {\n return this.settings.mode == e;\n }\n }, {\n key: \"canStartSendingCandidates\",\n value: function value() {\n void 0 === this._peerConnection && (this._peerConnection = v.PCFactory.get().peerConnections[this.settings.id]), this._peerConnection.canStartSendingCandidates();\n }\n }, {\n key: \"notifyICETimeout\",\n value: function value() {\n this.dispatchEvent({\n name: \"ICETimeout\",\n call: this\n });\n }\n }, {\n key: \"sendVideo\",\n value: function value(e) {\n var t = this;\n if (this.logger.info(\"sendVideo(\" + e + \")\"), !this.peerConnection) return new Promise(function (e, n) {\n e({\n call: t,\n name: d.CallEvents[d.CallEvents.Updated],\n result: !0\n });\n });\n var n = this.settings.videoDirections.sendVideo;\n return this.settings.videoDirections.sendVideo = e, this.peerConnection.hasLocalVideo() ? e || n ? (this.peerConnection.enableVideo(e), new Promise(function (e, n) {\n e({\n call: t,\n name: d.CallEvents[d.CallEvents.Updated],\n result: !0\n });\n })) : new Promise(function (e, n) {\n E.default.StreamManager.get().updateCallStream(t).then(function () {\n return e({\n call: t,\n name: d.CallEvents[d.CallEvents.Updated],\n result: !0\n });\n }).catch(n);\n }) : e ? new Promise(function (e, n) {\n E.default.StreamManager.get().updateCallStream(t).then(function () {\n return e({\n call: t,\n name: d.CallEvents[d.CallEvents.Updated],\n result: !0\n });\n }).catch(n);\n }) : void 0;\n }\n }, {\n key: \"receiveVideo\",\n value: function value() {\n var e = this;\n return this._setState(u.UPDATING), new Promise(function (t, n) {\n if (!0 === e.settings.videoDirections.receiveVideo) return void n();\n e.settings.videoDirections.receiveVideo = !0, e._peerConnection.hdnFRS().then(t, n);\n });\n }\n }, {\n key: \"sendMedia\",\n value: function value(e, t) {\n var n = this;\n return this._setState(u.UPDATING), void 0 !== e && null !== e || (e = this.settings.audioDirections.sendAudio), void 0 !== t && null !== t || (t = this.settings.videoDirections.sendVideo), this.peerConnection.sendMedia(e, t).then(function (r) {\n return void 0 !== t && null !== t && (n.settings.videoDirections.sendVideo = t), void 0 !== e && null !== e && (n.settings.audioDirections.sendAudio = e), r;\n });\n }\n }, {\n key: \"sendAudio\",\n value: function value(e) {\n var t = this;\n C.Client.getInstance().config();\n return this.settings.audioDirections.sendAudio = e, this.peerConnection.hasLocalAudio() ? (this.peerConnection.muteMicrophone(!e), new Promise(function (e, n) {\n e({\n call: t,\n name: d.CallEvents[d.CallEvents.Updated],\n result: !0\n });\n })) : e ? this.sendMedia(null, e) : void 0;\n }\n }, {\n key: \"getLocalStream\",\n value: function value() {\n return E.default.StreamManager.get().getCallStream(this);\n }\n }, {\n key: \"setLocalStream\",\n value: function value(e) {\n return new Promise(function (e, t) {\n t(new Error(\"Not implemented\"));\n });\n }\n }, {\n key: \"shareScreen\",\n value: function value() {\n var e = this,\n t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];\n return this.logger.info(\"shareScreen(\" + t + \")\"), new Promise(function (n, r) {\n E.default.StreamManager.get()._getScreenSharing(e).length && (e.logger.warning(\"Screen sharing already active.\"), r(new Error(\"Screen sharing already active.\"))), m.default.isScreenSharingSupported ? E.default.StreamManager.get()._newScreenSharing(e, t).then(function (t) {\n t.renderer && e.dispatchEvent({\n name: d.CallEvents.LocalVideoStreamAdded,\n type: t.renderer.kind,\n element: t.renderer.element,\n videoStream: t.renderer.stream\n }), e.peerConnection.addCustomMedia(t.stream).then(function () {\n n({\n name: d.CallEvents.Updated,\n result: !0,\n call: e\n });\n });\n }).catch(function (t) {\n e.logger.warning(t.message), r(t);\n }) : (e.logger.warning(\"Sorry, this browser does not support screen sharing.\"), r(new Error(\"Sorry, this browser does not support screen sharing.\")));\n });\n }\n }, {\n key: \"stopSharingScreen\",\n value: function value() {\n var e = this;\n return this.logger.info(\"stopSharingScreen()\"), new Promise(function (t, n) {\n var r = E.default.StreamManager.get()._getScreenSharing(e);\n\n if (r) {\n var i = r.length;\n 0 === i && t({\n name: d.CallEvents.Updated,\n result: !0,\n call: e\n }), r.forEach(function (r) {\n var o = !r.renderer;\n\n E.default.StreamManager.get()._clearScreenSharing(e, r).then(function () {\n if (o) return e.peerConnection.removeCustomMedia(r.stream);\n }).then(function () {\n if (r.stream = void 0, --i <= 0) return void t({\n name: d.CallEvents.Updated,\n result: !0,\n call: e\n });\n }).catch(function (t) {\n e.logger.warning(t.message), n(t);\n });\n });\n } else e.logger.warning(\"Sorry, screen sharing not started yet.\"), n(new Error(\"Sorry, screen sharing not started yet.\"));\n });\n }\n }, {\n key: \"wireRemoteStream\",\n value: function value() {\n return new Promise(function (e, t) {\n e();\n });\n }\n }, {\n key: \"getRemoteAudioStreams\",\n value: function value() {\n var e = this;\n return new Promise(function (t, n) {\n e.peerConnection ? (e.peerConnection.remoteStreams.forEach(function (e) {\n if (e.getAudioTracks().length) return void t(new MediaStream(e.getAudioTracks()));\n }), n(new Error(\"We have no remote MediaStream for this call yet\"))) : n(new Error(\"We have no PC for this call yet\"));\n });\n }\n }, {\n key: \"getRemoteVideoStreams\",\n value: function value() {\n var e = this;\n return new Promise(function (t, n) {\n e.peerConnection ? void 0 !== e.peerConnection.remoteStreams[0] && 0 != e.peerConnection.remoteStreams[0].getVideoTracks().length ? t(new MediaStream(e.peerConnection.remoteStreams[0].getVideoTracks())) : n(new Error(\"We have no remote MediaStream for this call yet\")) : n(new Error(\"We have no PC for this call yet\"));\n });\n }\n }, {\n key: \"getRemoteWiredState\",\n value: function value() {\n return this.settings.wiredRemote;\n }\n }, {\n key: \"getLocalWiredState\",\n value: function value() {\n return this.settings.wiredLocal;\n }\n }, {\n key: \"useAudioOutput\",\n value: function value(e) {\n _.EndpointManager.get().useAudioOutput(this, e);\n }\n }, {\n key: \"getAudioElementId\",\n value: function value() {\n return (this._peerConnection.remoteStreams.length = 0) ? null : (this._peerConnection.remoteStreams[0].getAudioTracks().length = 0) ? null : this._peerConnection.remoteStreams[0].getAudioTracks()[0].id;\n }\n }, {\n key: \"getDirections\",\n value: function value() {\n if (void 0 !== this.peerConnection) return this.peerConnection.getDirections();\n }\n }, {\n key: \"getStreamActivity\",\n value: function value() {\n return {};\n }\n }, {\n key: \"hdnFRS\",\n value: function value() {\n this.peerConnection._hdnFRS();\n }\n }, {\n key: \"hdnFRSPrep\",\n value: function value() {\n var e = this;\n void 0 !== this.peerConnection ? this.peerConnection._hdnFRSPrep() : setTimeout(function () {\n e.hdnFRSPrep();\n }, 1e3);\n }\n }, {\n key: \"runIncomingReInvite\",\n value: function value(e, t) {\n var n = this;\n if (this.settings.state === u.UPDATING) g.VoxSignaling.get().callRemoteFunction(y.RemoteFunction.rejectReInvite, this.settings.id, {});else {\n this._setState(u.UPDATING);\n\n var r = h.CallManager.get().isSDPHasVideo(t);\n this.peerConnection.handleReinvite(e, t, r).then(function () {\n n.peerConnection.restoreMute(), n.peerConnection.restoreVideoSending();\n });\n }\n }\n }, {\n key: \"setActiveForce\",\n value: function value(e) {\n this._setActive(e);\n }\n }, {\n key: \"getCallDuration\",\n value: function value() {\n return Date.now() - this.startTime;\n }\n }, {\n key: \"getEndpoints\",\n value: function value() {\n return _.EndpointManager.get().getEndpoints(this);\n }\n }, {\n key: \"checkState\",\n value: function value(e, t) {\n if (e) if (\"string\" != typeof e) {\n for (var n = !1, r = e, i = 0; i < r.length; i++) {\n r[i] == this.settings.state && (n = !0);\n }\n\n if (!n) return this.logger.warning(\"Received \" + t + \" in invalid state \" + this.settings.state), !1;\n } else if (this.settings.state != e) return this.logger.warning(\"Received \" + t + \" in invalid state \" + this.settings.state), !1;\n return !0;\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"Call\";\n }\n }, {\n key: \"promise\",\n get: function get() {\n return this._promise;\n }\n }, {\n key: \"peerConnection\",\n get: function get() {\n return this._peerConnection;\n },\n set: function set(e) {\n this._peerConnection = e;\n }\n }, {\n key: \"stateValue\",\n get: function get() {\n return this.settings.state;\n }\n }]), t;\n }(S.EventTarget);\n\n l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"number\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"displayName\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"headers\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"active\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"_setActive\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"_setState\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"answer\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"decline\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"reject\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"hangup\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"sendTone\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"mutePlayback\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"unmutePlayback\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"restoreRMute\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"muteMicrophone\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"unmuteMicrophone\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"showRemoteVideo\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"setRemoteVideoPosition\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"setRemoteVideoSize\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"sendInfo\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"sendMessage\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"setVideoSettings\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"getVideoElementId\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"addEventListener\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"on\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"removeEventListener\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"off\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"dispatchEvent\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"onConnected\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"onDisconnected\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"onFailed\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"onStopRinging\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"onRingOut\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"onTransferComplete\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"onTransferFailed\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"onInfo\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"setActive\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"checkCallMode\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"canStartSendingCandidates\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"notifyICETimeout\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"sendVideo\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"receiveVideo\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"sendAudio\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"getLocalStream\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"setLocalStream\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"shareScreen\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"stopSharingScreen\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"wireRemoteStream\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"getRemoteAudioStreams\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"getRemoteVideoStreams\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"getRemoteWiredState\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"getLocalWiredState\", null), l([p.LogManager.d_trace(p.LogCategory.CLIENT)], M.prototype, \"useAudioOutput\", null), l([p.LogManager.d_trace(p.LogCategory.CLIENT)], M.prototype, \"getAudioElementId\", null), l([p.LogManager.d_trace(p.LogCategory.CLIENT)], M.prototype, \"getStreamActivity\", null), l([p.LogManager.d_trace(p.LogCategory.CLIENT)], M.prototype, \"hdnFRS\", null), l([p.LogManager.d_trace(p.LogCategory.CLIENT)], M.prototype, \"hdnFRSPrep\", null), l([p.LogManager.d_trace(p.LogCategory.CLIENT)], M.prototype, \"runIncomingReInvite\", null), l([p.LogManager.d_trace(p.LogCategory.CLIENT)], M.prototype, \"setActiveForce\", null), l([p.LogManager.d_trace(p.LogCategory.CALL)], M.prototype, \"checkState\", null), t.Call = M;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n !function (e) {\n e[e.loginFailed = \"loginFailed\"] = \"loginFailed\", e[e.loginSuccessful = \"loginSuccessful\"] = \"loginSuccessful\", e[e.handleError = \"handleError\"] = \"handleError\", e[e.onPCStats = \"__onPCStats\"] = \"onPCStats\", e[e.handleIncomingConnection = \"handleIncomingConnection\"] = \"handleIncomingConnection\", e[e.handleConnectionConnected = \"handleConnectionConnected\"] = \"handleConnectionConnected\", e[e.handleConnectionDisconnected = \"handleConnectionDisconnected\"] = \"handleConnectionDisconnected\", e[e.handleRingOut = \"handleRingOut\"] = \"handleRingOut\", e[e.startEarlyMedia = \"startEarlyMedia\"] = \"startEarlyMedia\", e[e.stopRinging = \"stopRinging\"] = \"stopRinging\", e[e.handleConnectionFailed = \"handleConnectionFailed\"] = \"handleConnectionFailed\", e[e.handleSIPInfo = \"handleSIPInfo\"] = \"handleSIPInfo\", e[e.handleSipEvent = \"handleSipEvent\"] = \"handleSipEvent\", e[e.handleTransferStarted = \"handleTransferStarted\"] = \"handleTransferStarted\", e[e.handleTransferComplete = \"handleTransferComplete\"] = \"handleTransferComplete\", e[e.handleTransferFailed = \"handleTransferFailed\"] = \"handleTransferFailed\", e[e.handleReInvite = \"handleReInvite\"] = \"handleReInvite\", e[e.handleAcceptReinvite = \"handleAcceptReinvite\"] = \"handleAcceptReinvite\", e[e.handleRejectReinvite = \"handleRejectReinvite\"] = \"handleRejectReinvite\", e[e.createPC = \"__createPC\"] = \"createPC\", e[e.destroyPC = \"__destroyPC\"] = \"destroyPC\", e[e.connectionSuccessful = \"__connectionSuccessful\"] = \"connectionSuccessful\", e[e.connectionFailed = \"__connectionFailed\"] = \"connectionFailed\", e[e.createConnection = \"__createConnection\"] = \"createConnection\", e[e.pong = \"__pong\"] = \"pong\", e[e.increaseGain = \"increaseGain\"] = \"increaseGain\", e[e.handlePreFlightCheckResult = \"handlePreFlightCheckResult\"] = \"handlePreFlightCheckResult\", e[e.handleVoicemail = \"handleVoicemail\"] = \"handleVoicemail\", e[e.onCallRemoteFunctionError = \"onCallRemoteFunctionError\"] = \"onCallRemoteFunctionError\", e[e.refreshOauthTokenFailed = \"refreshOauthTokenFailed\"] = \"refreshOauthTokenFailed\", e[e.refreshOauthTokenSuccessful = \"refreshOauthTokenSuccessful\"] = \"refreshOauthTokenSuccessful\", e[e.sipRegisterSuccessful = \"sipRegisterSuccessful\"] = \"sipRegisterSuccessful\", e[e.sipRegisterFailed = \"sipRegisterFailed\"] = \"sipRegisterFailed\", e[e.onACDStatus = \"onACDStatus\"] = \"onACDStatus\", e[e.onICEConfig = \"onICEConfig\"] = \"onICEConfig\", e[e.onICEConfigFailed = \"onICEConfigFailed\"] = \"onICEConfigFailed\";\n }(t.RemoteEvent || (t.RemoteEvent = {}));\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n !function (e) {\n e[e.SDKReady = \"SDKReady\"] = \"SDKReady\", e[e.ConnectionEstablished = \"ConnectionEstablished\"] = \"ConnectionEstablished\", e[e.ConnectionFailed = \"ConnectionFailed\"] = \"ConnectionFailed\", e[e.ConnectionClosed = \"ConnectionClosed\"] = \"ConnectionClosed\", e[e.AuthResult = \"AuthResult\"] = \"AuthResult\", e[e.RefreshTokenResult = \"RefreshTokenResult\"] = \"RefreshTokenResult\", e[e.PlaybackFinished = \"PlaybackFinished\"] = \"PlaybackFinished\", e[e.MicAccessResult = \"MicAccessResult\"] = \"MicAccessResult\", e[e.IncomingCall = \"IncomingCall\"] = \"IncomingCall\", e[e.SourcesInfoUpdated = \"SourcesInfoUpdated\"] = \"SourcesInfoUpdated\", e[e.NetStatsReceived = \"NetStatsReceived\"] = \"NetStatsReceived\", e[e.SIPRegistrationSuccessful = \"SIPRegistrationSuccessful\"] = \"SIPRegistrationSuccessful\", e[e.SIPRegistrationFailed = \"SIPRegistrationFailed\"] = \"SIPRegistrationFailed\", e[e.ACDStatusUpdated = \"ACDStatusUpdated\"] = \"ACDStatusUpdated\", e[e.ACDError = \"ACDError\"] = \"ACDError\";\n }(t.Events || (t.Events = {}));\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(0),\n c = function () {\n function e() {\n r(this, e);\n }\n\n return i(e, [{\n key: \"sysOn\",\n value: function value(e, t, n) {\n this._ETonTo(\"system\", e, t, n);\n }\n }, {\n key: \"sysOff\",\n value: function value(e, t) {\n this._EToffTo(\"system\", e, t);\n }\n }, {\n key: \"on\",\n value: function value(e, t, n) {\n this._ETonTo(\"user\", e, t, n);\n }\n }, {\n key: \"off\",\n value: function value(e, t) {\n this._EToffTo(\"user\", e, t);\n }\n }, {\n key: \"_ETonTo\",\n value: function value(e, t, n, r) {\n void 0 === this.eventListeners && (this.eventListeners = {});\n var i = this.eventListeners;\n void 0 === i[t] && (i[t] = []);\n var o = {\n listener: n,\n options: r,\n _triggered: !1,\n _namespace: e\n };\n r && r.capture ? i[t].unshift(o) : i[t].push(o);\n }\n }, {\n key: \"_EToffTo\",\n value: function value(e, t, n) {\n var r = this.eventListeners;\n if (void 0 !== r && void 0 !== r[t]) if (\"function\" == typeof n) {\n for (var i = 0; i < r[t].length; i++) {\n if (r[t][i].listener == n && r[t][i]._namespace === e) {\n r[t].splice(i, 1);\n break;\n }\n }\n } else r[t] = r[t].filter(function (t) {\n return t._namespace !== e;\n });\n }\n }, {\n key: \"dispatchEvent\",\n value: function value(e) {\n if (void 0 !== this.eventListeners && void 0 !== this.eventListeners[e.name]) {\n var t = this.eventListeners[e.name].filter(function (e) {\n return \"user\" === e._namespace;\n });\n s.LogManager.get().writeMessage(s.LogCategory.UTILS, \"[event]\", s.LogLevel.INFO, e.name + (e.name.includes(\"QualityIssue\") ? \" \" + e.level : \"\") + \", listeners: \" + t.length);\n\n for (var n = 0; n < this.eventListeners[e.name].length; n++) {\n try {\n if (!(this.eventListeners[e.name][n].options && this.eventListeners[e.name][n].options.once && this.eventListeners[e.name][n]._triggered || \"system\" !== this.eventListeners[e.name][n]._namespace && \"user\" !== this.eventListeners[e.name][n]._namespace && (\"default\" !== this.eventListeners[e.name][n]._namespace || t.length))) {\n this.eventListeners[e.name][n]._triggered = !0;\n if (!1 === this.eventListeners[e.name][n].listener(e)) return;\n }\n } catch (e) {\n console.error(e);\n }\n }\n } else s.LogManager.get().writeMessage(s.LogCategory.UTILS, \"[event]\", s.LogLevel.INFO, e.name + (e.name.includes(\"QualityIssue\") ? \" \" + e.level : \"\") + \", listeners: 0\");\n }\n }, {\n key: \"removeEventListener\",\n value: function value(e, t) {\n this.off(e, t);\n }\n }, {\n key: \"addEventListener\",\n value: function value(e, t, n) {\n this.on(e, t, n);\n }\n }, {\n key: \"addDefaultEventListener\",\n value: function value(e, t) {\n this._ETonTo(\"default\", e, t, {});\n }\n }, {\n key: \"removeDefaultEventListener\",\n value: function value(e) {\n this._EToffTo(\"default\", e);\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"EventTarget\";\n }\n }]), e;\n }();\n\n a([s.LogManager.d_trace(s.LogCategory.EVENTTARGET)], c.prototype, \"sysOn\", null), a([s.LogManager.d_trace(s.LogCategory.EVENTTARGET)], c.prototype, \"sysOff\", null), a([s.LogManager.d_trace(s.LogCategory.EVENTTARGET)], c.prototype, \"on\", null), a([s.LogManager.d_trace(s.LogCategory.EVENTTARGET)], c.prototype, \"off\", null), a([s.LogManager.d_trace(s.LogCategory.EVENTTARGET)], c.prototype, \"removeEventListener\", null), a([s.LogManager.d_trace(s.LogCategory.EVENTTARGET)], c.prototype, \"addEventListener\", null), a([s.LogManager.d_trace(s.LogCategory.EVENTTARGET)], c.prototype, \"addDefaultEventListener\", null), a([s.LogManager.d_trace(s.LogCategory.EVENTTARGET)], c.prototype, \"removeDefaultEventListener\", null), t.EventTarget = c;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = n(1),\n a = function () {\n function e() {\n r(this, e);\n }\n\n return i(e, [{\n key: \"_traceName\",\n value: function value() {\n return \"SDPMuggle\";\n }\n }], [{\n key: \"detectDirections\",\n value: function value(t) {\n var n = [],\n r = t.split(/(\\r\\n|\\r|\\n)/).filter(e.validLine),\n i = \"\";\n return r.forEach(function (e) {\n if (0 === e.indexOf(\"m=\")) {\n var t = e.substr(2);\n i = t.split(\" \")[0];\n }\n\n \"\" === i || \"a=sendrecv\" !== e && \"a=sendonly\" !== e && \"a=recvonly\" !== e && \"a=inactive\" !== e || (n.push({\n type: i,\n direction: e.substr(2)\n }), i = \"\");\n }), n;\n }\n }, {\n key: \"removeTelephoneEvents\",\n value: function value(t) {\n if (-1 !== t.sdp.indexOf(\"a=rtpmap:127 telephone-event/8000\")) {\n for (var n = t.sdp.split(/(\\r\\n|\\r|\\n)/).filter(e.validLine), r = -1, i = 0; i < n.length; i++) {\n if (-1 !== n[i].indexOf(\"m=audio\")) {\n var o = n[i];\n \"string\" == typeof o && (n[i] = o.replace(\" 127\", \"\"));\n }\n\n -1 !== n[i].indexOf(\"a=rtpmap:127 telephone-event/8000\") && (r = i);\n }\n\n return n.splice(r, 1), new RTCSessionDescription({\n sdp: n.join(\"\\r\\n\") + \"\\r\\n\",\n type: t.type\n });\n }\n\n return t;\n }\n }, {\n key: \"removeDoubleOpus\",\n value: function value(t) {\n if (-1 !== t.sdp.indexOf(\"a=rtpmap:109 opus\") && -1 !== t.sdp.indexOf(\"a=rtpmap:111 opus\")) {\n for (var n = t.sdp.split(/(\\r\\n|\\r|\\n)/).filter(e.validLine), r = -1, i = 0; i < n.length; i++) {\n if (-1 !== n[i].indexOf(\"m=audio\")) {\n var o = n[i];\n \"string\" == typeof o && (n[i] = o.replace(\" 109\", \"\"));\n }\n\n -1 !== n[i].indexOf(\"a=rtpmap:109 opus\") && (r = i);\n }\n\n return n.splice(r, 1), new RTCSessionDescription({\n sdp: n.join(\"\\r\\n\") + \"\\r\\n\",\n type: t.type\n });\n }\n\n return t;\n }\n }, {\n key: \"removeDoublePT\",\n value: function value(t) {\n for (var n = t.sdp.split(/(\\r\\n|\\r|\\n)/).filter(e.validLine), r = [], i = 0; i < n.length; i++) {\n var o = n[i];\n 0 === o.indexOf(\"m=video\") && (r = o.split(\" \"), n[i] = r.filter(function (e, t) {\n if (0 === t) return !0;\n\n for (var n = t - 1; n >= 2; n--) {\n if (r[n] === e) return !1;\n }\n\n return !0;\n }).join(\" \"));\n }\n\n return new RTCSessionDescription({\n sdp: n.join(\"\\r\\n\") + \"\\r\\n\",\n type: t.type\n });\n }\n }, {\n key: \"removeTransportCC\",\n value: function value(t) {\n if (-1 !== t.sdp.indexOf(\"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\")) {\n var n = t.sdp.split(/(\\r\\n|\\r|\\n)/).filter(e.validLine),\n r = [];\n return n.forEach(function (e, t) {\n -1 !== e.indexOf(\"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\") && r.unshift(t);\n }), r.forEach(function (e) {\n return n.splice(e, 1);\n }), new RTCSessionDescription({\n sdp: n.join(\"\\r\\n\") + \"\\r\\n\",\n type: t.type\n });\n }\n\n return t;\n }\n }, {\n key: \"removeTIAS\",\n value: function value(t) {\n if (-1 !== t.sdp.indexOf(\"b=TIAS:13888000\") || -1 !== t.sdp.indexOf(\"b=AS:13888\")) {\n var n = t.sdp.split(/(\\r\\n|\\r|\\n)/).filter(e.validLine),\n r = [];\n n.forEach(function (e, t) {\n -1 === e.indexOf(\"b=TIAS:13888000\") && -1 === e.indexOf(\"b=AS:13888\") || r.unshift(t);\n }), r.forEach(function (e) {\n return n.splice(e, 1);\n }), t = {\n type: t.type,\n sdp: n.join(\"\\r\\n\") + \"\\r\\n\"\n };\n }\n\n return t;\n }\n }, {\n key: \"fixVideoRecieve\",\n value: function value(t, n) {\n if (-1 !== t.sdp.indexOf(\"m=video\") && !n) {\n var r = t.sdp.split(/(\\r\\n|\\r|\\n)/).filter(e.validLine),\n i = null;\n return r = r.map(function (e, t) {\n return null === i ? -1 !== e.indexOf(\"m=video\") && (i = t) : \"a=sendrecv\" === e ? e = \"a=sendonly\" : \"a=recvonly\" === e && (e = \"a=inactive\"), e;\n }), new RTCSessionDescription({\n sdp: r.join(\"\\r\\n\") + \"\\r\\n\",\n type: t.type\n });\n }\n\n return t;\n }\n }, {\n key: \"addSetupAttribute\",\n value: function value(e) {\n return -1 == e.indexOf(\"a=setup:\") && (e += \"a=setup:actpass\\r\\n\"), e;\n }\n }, {\n key: \"findTrackByMid\",\n value: function value(t, n) {\n for (var r = t.split(/(\\r\\n|\\r|\\n)/).filter(e.validLine), i = -1, o = 0; o < r.length && (-1 === r[o].indexOf(\"a=mid:\") || -1 === i); o++) {\n if (-1 !== r[o].indexOf(\"a=mid:\" + n) && (i = o), -1 !== r[o].indexOf(\"msid:\") && -1 !== i) return r[o].split(\" \").slice(-1).pop();\n }\n\n return \"\";\n }\n }, {\n key: \"addXAS\",\n value: function value(e) {\n if (o.Client.getInstance().config().experiments.xas && o.Client.getInstance().config().experiments.xas) {\n var t = e.sdp,\n n = o.Client.getInstance().config().experiments.xas;\n return void 0 !== n.as && -1 !== n.as && (t = t.replace(/(a=mid:video.*\\r\\n)/g, \"$1b=AS:\" + n.as + \"\\r\\n\")), void 0 !== n.tias && -1 !== n.tias && (t = t.replace(/(a=mid:video.*\\r\\n)/g, \"$1b=TIAS:\" + n.as + \"\\r\\n\")), new RTCSessionDescription({\n sdp: t,\n type: e.type\n });\n }\n\n return e;\n }\n }, {\n key: \"fixFFMIDBug\",\n value: function value(e) {\n if (-1 == e.sdp.indexOf(\"a=mid\")) {\n var t = e.sdp.replace(/(m=audio.*\\r\\n)/g, \"$1a=mid:0\\r\\n\");\n return new RTCSessionDescription({\n sdp: t,\n type: e.type\n });\n }\n\n return e;\n }\n }, {\n key: \"fixFMTP\",\n value: function value(t) {\n var n = t.sdp.split(/(\\r\\n|\\r|\\n)/).filter(e.validLine),\n r = [];\n return n = n.filter(function (e) {\n if (0 == e.indexOf(\"a=fmtp\")) {\n var n = e.split(\" \")[1],\n i = n.replace(\"apt=\", \"\");\n return -1 !== t.sdp.indexOf(\"a=rtpmap:\" + i) || (r.push(n[0].replace(\"a=fmtp:\", \"\")), !1);\n }\n\n return !0;\n }).filter(function (e) {\n return -1 === e.indexOf(\"a=rtpmap:\") || -1 === r.indexOf(e.split(\" \")[0].replace(\"a=rtpmap:\", \"\"));\n }).map(function (e) {\n if (-1 !== e.indexOf(\"m=\")) {\n return e.split(\" \").filter(function (e) {\n return -1 === r.indexOf(e);\n }).join(\" \");\n }\n\n return e;\n }), {\n sdp: n.join(\"\\r\\n\") + \"\\r\\n\",\n type: t.type\n };\n }\n }]), e;\n }();\n\n a.validLine = RegExp.prototype.test.bind(/^([a-z])=(.*)/), t.SDPMuggle = a;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var o = n(0);\n !function (e) {\n e[e.multiplex = \"multiplex\"] = \"multiplex\", e[e.audio = \"audio\"] = \"audio\", e[e.video = \"video\"] = \"video\", e[e.screen = \"screen\"] = \"screen\", e[e.data = \"data\"] = \"data\", e[e.unbundled = \"unbundled\"] = \"unbundled\";\n }(t.CallstatsIoFabricUsage || (t.CallstatsIoFabricUsage = {}));\n !function (e) {\n e[e.fabricHold = \"fabricHold\"] = \"fabricHold\", e[e.fabricResume = \"fabricResume\"] = \"fabricResume\", e[e.audioMute = \"audioMute\"] = \"audioMute\", e[e.audioUnmute = \"audioUnmute\"] = \"audioUnmute\", e[e.videoPause = \"videoPause\"] = \"videoPause\", e[e.videoResume = \"videoResume\"] = \"videoResume\", e[e.fabricTerminated = \"fabricTerminated\"] = \"fabricTerminated\", e[e.screenShareStart = \"screenShareStart\"] = \"screenShareStart\", e[e.screenShareStop = \"screenShareStop\"] = \"screenShareStop\", e[e.dominantSpeaker = \"dominantSpeaker\"] = \"dominantSpeaker\", e[e.activeDeviceList = \"activeDeviceList\"] = \"activeDeviceList\";\n }(t.CallstatsIoFabricEvent || (t.CallstatsIoFabricEvent = {}));\n !function (e) {\n e[e.getUserMedia = \"getUserMedia\"] = \"getUserMedia\", e[e.createOffer = \"createOffer\"] = \"createOffer\", e[e.createAnswer = \"createAnswer\"] = \"createAnswer\", e[e.setLocalDescription = \"setLocalDescription\"] = \"setLocalDescription\", e[e.setRemoteDescription = \"setRemoteDescription\"] = \"setRemoteDescription\", e[e.addIceCandidate = \"addIceCandidate\"] = \"addIceCandidate\", e[e.iceConnectionFailure = \"iceConnectionFailure\"] = \"iceConnectionFailure\", e[e.signalingError = \"signalingError\"] = \"signalingError\", e[e.applicationLog = \"applicationLog\"] = \"applicationLog\";\n }(t.CallstatsioWrtcFuncNames || (t.CallstatsioWrtcFuncNames = {}));\n\n var a = function () {\n function e(t) {\n r(this, e), this._params = t, this.inited = !1, this.pendingFabric = [];\n var n = window;\n void 0 !== n.callstats && (this.callstats = new n.callstats(null, n.io));\n }\n\n return i(e, [{\n key: \"init\",\n value: function value(t) {\n var n = this;\n return !!e.moduleEnabled && (o.LogManager.get().writeMessage(o.LogCategory.UTILS, \"[CallstatsIo]\", o.LogLevel.INFO, \" Callstats.io SDK initialization start\"), this.callstats.initialize(this._params.AppID, this._params.AppSecret, t, function () {\n o.LogManager.get().writeMessage(o.LogCategory.UTILS, \"[CallstatsIo]\", o.LogLevel.INFO, \" Callstats.io SDK initialization successful\"), n.inited = !0, n.pendingFabric.map(function (e) {\n n.callstats.addNewFabric(e.pc, e.remoteUser, e.fabricUsage, e.callID);\n });\n }, function () {}, this.packParams()), !0);\n }\n }, {\n key: \"packParams\",\n value: function value() {\n var e = {};\n return this._params.disableBeforeUnloadHandler && (e.disableBeforeUnloadHandler = this._params.disableBeforeUnloadHandler), this._params.applicationVersion && (e.applicationVersion = this._params.applicationVersion), e;\n }\n }, {\n key: \"addNewFabric\",\n value: function value(t, n, r, i) {\n if (!e.moduleEnabled) return !1;\n this.inited ? (o.LogManager.get().writeMessage(o.LogCategory.UTILS, \"[CallstatsIo]\", o.LogLevel.INFO, \" Callstats.io addNewFabric\"), this.callstats.addNewFabric(t, n, r, i)) : this.pendingFabric.push({\n pc: t,\n remoteUser: n,\n fabricUsage: r,\n callID: i\n });\n }\n }, {\n key: \"sendFabricEvent\",\n value: function value(t, n, r) {\n if (!e.moduleEnabled) return !1;\n this.callstats.sendFabricEvent(t, n, r);\n }\n }, {\n key: \"reportError\",\n value: function value(t, n, r, i, o, a) {\n if (!e.moduleEnabled) return !1;\n this.callstats.reportError(t, n, r, i, o, a);\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"CallstatsIo\";\n }\n }], [{\n key: \"isModuleEnabled\",\n value: function value() {\n return e.moduleEnabled;\n }\n }, {\n key: \"get\",\n value: function value(t) {\n return void 0 !== window.callstats && (e.moduleEnabled = !0), void 0 === e.instance && (e.instance = new e(t)), void 0 !== t && (e.instance._params = t), e.instance;\n }\n }]), e;\n }();\n\n a.moduleEnabled = !1, t.CallstatsIo = a;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n var a = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n s = function e(t, n, r) {\n null === t && (t = Function.prototype);\n var i = Object.getOwnPropertyDescriptor(t, n);\n\n if (void 0 === i) {\n var o = Object.getPrototypeOf(t);\n return null === o ? void 0 : e(o, n, r);\n }\n\n if (\"value\" in i) return i.value;\n var a = i.get;\n if (void 0 !== a) return a.call(r);\n },\n c = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n l = function l(e, t, n, r) {\n var i,\n o = arguments.length,\n a = o < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : c(Reflect)) && \"function\" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, r);else for (var s = e.length - 1; s >= 0; s--) {\n (i = e[s]) && (a = (o < 3 ? i(a) : o > 3 ? i(t, n, a) : i(t, n)) || a);\n }\n return o > 3 && a && Object.defineProperty(t, n, a), a;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var u = n(0),\n d = n(24),\n g = n(2),\n f = n(15),\n p = n(41),\n v = n(33),\n h = function (e) {\n function t() {\n r(this, t);\n var e = i(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));\n if (t.instance) throw new Error(\"Error - use Client.getMessagingInstance()\");\n return e.query = [], setInterval(function () {\n e.updateQuery();\n }, 220), e;\n }\n\n return o(t, e), a(t, [{\n key: \"capitalize\",\n value: function value(e) {\n return e.toString()[0].toUpperCase() + e.toString().slice(1);\n }\n }, {\n key: \"updateQuery\",\n value: function value() {\n if (this.query.length) {\n var e = this.query.splice(0, 1);\n g.VoxSignaling.get().sendRaw(e[0]);\n }\n }\n }, {\n key: \"addEventListener\",\n value: function value(e, n, r) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"addEventListener\", this).call(this, e, n, r);\n }\n }, {\n key: \"dispatchMsgEvent\",\n value: function value(e, t) {\n if (void 0 !== this.eventListeners[e]) for (var n = 0; n < this.eventListeners[e].length; n++) {\n this.eventListeners[e][n] && \"function\" == typeof this.eventListeners[e][n].listener && this.eventListeners[e][n].listener(t.payload, t.request_uuid);\n }\n }\n }, {\n key: \"handleWsData\",\n value: function value(e) {\n if (-1 == Object.values(d.MsgEvent).indexOf(e.event)) throw new Error(\"Unknown messaging event \" + e.event + \" with payload \" + JSON.stringify(e.payload));\n this.dispatchMsgEvent(e.event, e);\n }\n }, {\n key: \"sendWsMessage\",\n value: function value(e, t) {\n var n = [\"subscribe\", \"unsubscribe\", \"typingMessage\", \"isRead\", \"setStatus\"].includes(e) ? \"CommonNamespace\" : \"IncomingNamespace\",\n r = {\n setStatus: \"PresenceMessage\",\n isRead: \"StatusMessage\",\n typingMessage: \"TypingMessage\",\n subscribe: \"ManageSubscribes\",\n unsubscribe: \"ManageSubscribes\",\n addParticipants: \"ManageParticipants\",\n editParticipants: \"ManageParticipants\",\n manageNotification: \"ManageNotifications\",\n getPublicConversations: \"GetConversations\",\n retransmitEvents: \"RetransmitRequest\"\n },\n i = new v.default().toString(),\n o = {\n service: p.MsgService.Chat,\n event: e,\n payload: Object.assign(t, {\n \"@type\": \"type/vox.store.\" + n + \".\" + (r[e] || this.capitalize(e))\n }),\n request_uuid: i\n };\n return this.query.push(o), i;\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"MsgSignaling\";\n }\n }], [{\n key: \"get\",\n value: function value() {\n return t.instance = t.instance || new t(), t.instance;\n }\n }]), t;\n }(f.EventTarget);\n\n l([u.LogManager.d_trace(u.LogCategory.MESSAGING)], h.prototype, \"handleWsData\", null), l([u.LogManager.d_trace(u.LogCategory.MESSAGING)], h.prototype, \"sendWsMessage\", null), t.MsgSignaling = h;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var a,\n s = n(25),\n c = n(34),\n l = n(26);\n !function (e) {\n function t() {\n return n.getInstance();\n }\n\n e.getInstance = t;\n\n var n = function (e) {\n function t() {\n return r(this, t), i(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return o(t, e), t;\n }(s.Messenger);\n\n e.Messenger = n;\n\n var a = function (e) {\n function t() {\n return r(this, t), i(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return o(t, e), t;\n }(c.Conversation);\n\n e.Conversation = a;\n\n var u = function (e) {\n function t() {\n return r(this, t), i(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return o(t, e), t;\n }(l.Message);\n\n e.Message = u;\n !function (e) {\n e.UNKNOWN = \"UNKNOWN\", e.createConversation = \"createConversation\", e.editConversation = \"editConversation\", e.removeConversation = \"removeConversation\", e.joinConversation = \"joinConversation\", e.leaveConversation = \"leaveConversation\", e.getConversation = \"getConversation\", e.getConversations = \"getConversations\", e.getPublicConversations = \"getPublicConversations\", e.searchConversations = \"searchConversations\", e.removeEmptyConversation = \"removeEmptyConversation\", e.addParticipants = \"addParticipants\", e.editParticipants = \"editParticipants\", e.removeParticipants = \"removeParticipants\", e.getUser = \"getUser\", e.getUsers = \"getUsers\", e.editUser = \"editUser\", e.setStatus = \"setStatus\", e.sendMessage = \"sendMessage\", e.editMessage = \"editMessage\", e.removeMessage = \"removeMessage\", e.typingMessage = \"typingMessage\", e.isRead = \"isRead\", e.subscribe = \"subscribe\", e.unsubscribe = \"unsubscribe\", e.manageNotification = \"manageNotification\", e.getSubscriptionList = \"getSubscriptionList\", e.createBot = \"createBot\", e.removeBot = \"removeBot\", e.retransmitEvents = \"retransmitEvents\";\n }(e.MessengerAction || (e.MessengerAction = {}));\n !function (e) {\n e.CreateConversation = \"CreateConversation\", e.EditConversation = \"EditConversation\", e.RemoveConversation = \"RemoveConversation\", e.GetConversation = \"GetConversation\", e.GetPublicConversations = \"GetPublicConversations\", e.SendMessage = \"SendMessage\", e.EditMessage = \"EditMessage\", e.RemoveMessage = \"RemoveMessage\", e.Typing = \"Typing\", e.EditUser = \"EditUser\", e.GetUser = \"GetUser\", e.Error = \"Error\", e.RetransmitEvents = \"RetransmitEvents\", e.Read = \"Read\", e.Subscribe = \"Subscribe\", e.Unsubscribe = \"Unsubscribe\", e.SetStatus = \"SetStatus\", e.GetSubscriptionList = \"GetSubscriptionList\", e.CreateBot = \"CreateBot\", e.RemoveBot = \"RemoveBot\";\n }(e.MessengerEvents || (e.MessengerEvents = {}));\n !function (e) {\n e[e.Error_0 = 0] = \"Error_0\", e[e.Error_1 = 1] = \"Error_1\", e[e.Error_2 = 2] = \"Error_2\", e[e.Error_3 = 3] = \"Error_3\", e[e.Error_8 = 8] = \"Error_8\", e[e.Error_10 = 10] = \"Error_10\", e[e.Error_11 = 11] = \"Error_11\", e[e.Error_12 = 12] = \"Error_12\", e[e.Error_13 = 13] = \"Error_13\", e[e.Error_15 = 15] = \"Error_15\", e[e.Error_16 = 16] = \"Error_16\", e[e.Error_18 = 18] = \"Error_18\", e[e.Error_19 = 19] = \"Error_19\", e[e.Error_21 = 21] = \"Error_21\", e[e.Error_22 = 22] = \"Error_22\", e[e.Error_23 = 23] = \"Error_23\", e[e.Error_24 = 24] = \"Error_24\", e[e.Error_25 = 25] = \"Error_25\", e[e.Error_26 = 26] = \"Error_26\", e[e.Error_28 = 28] = \"Error_28\", e[e.Error_30 = 30] = \"Error_30\", e[e.Error_32 = 32] = \"Error_32\", e[e.Error_33 = 33] = \"Error_33\", e[e.Error_34 = 34] = \"Error_34\", e[e.Error_35 = 35] = \"Error_35\", e[e.Error_36 = 36] = \"Error_36\", e[e.Error_37 = 37] = \"Error_37\", e[e.Error_38 = 38] = \"Error_38\", e[e.Error_39 = 39] = \"Error_39\", e[e.Error_40 = 40] = \"Error_40\", e[e.Error_41 = 41] = \"Error_41\", e[e.Error_42 = 42] = \"Error_42\", e[e.Error_43 = 43] = \"Error_43\", e[e.Error_500 = 500] = \"Error_500\";\n }(e.MessengerError || (e.MessengerError = {}));\n }(a = t.Messaging || (t.Messaging = {})), t.default = a;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(0),\n c = n(1),\n l = n(11),\n u = n(4),\n d = function () {\n function e() {\n r(this, e);\n }\n\n return i(e, [{\n key: \"_traceName\",\n value: function value() {\n return \"Logger\";\n }\n }], [{\n key: \"cadScript\",\n value: function value(e) {\n return e.split(\";\").map(function (e) {\n if (0 !== e.length) {\n var t = e.match(/\\([0-9\\/\\.,\\*\\+]*\\)$/),\n n = e.substring(0, t.index),\n r = t.pop();\n if (t.length) throw new Error(\"cadence script should be of the form `%f(%f/%f[,%f/%f])`\");\n if (n = \"*\" === n ? 1 / 0 : parseFloat(n), isNaN(n)) throw new Error(\"cadence length should be of the form `%f`\");\n return r = r.slice(1, r.length - 1).split(\",\").map(function (e) {\n try {\n var t = e.split(\"/\");\n if (t.length > 3) throw new Error();\n return t = t.map(function (e, t) {\n if (2 === t) return e.split(\"+\").map(function (e) {\n var t = parseInt(e, 10);\n if (isNaN(t)) throw new Error();\n return t - 1;\n });\n var n;\n if (\"*\" == e && (n = 1 / 0), n = n || parseFloat(e), isNaN(n)) throw new Error();\n return n;\n }), {\n on: t[0],\n off: t[1],\n frequencies: t[2]\n };\n } catch (e) {\n throw new Error(\"cadence segments should be of the form `%f/%f[%d[+%d]]`\");\n }\n }), {\n duration: n,\n sections: r\n };\n }\n });\n }\n }, {\n key: \"freqScript\",\n value: function value(e) {\n return e.split(\",\").map(function (e) {\n try {\n var t = e.split(\"@\"),\n n = parseInt(t.shift()),\n r = parseFloat(t.shift());\n if (t.length) throw Error();\n return {\n frequency: n,\n decibels: r\n };\n } catch (e) {\n throw new Error(\"freqScript pairs are expected to be of the form `%d@%f[,%d@%f]`\");\n }\n });\n }\n }, {\n key: \"toneScript\",\n value: function value(e) {\n var t = e.split(\";\");\n return {\n frequencies: this.freqScript(t.shift()),\n cadences: this.cadScript(t.join(\";\"))\n };\n }\n }, {\n key: \"playToneScript\",\n value: function value(e) {\n var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];\n\n if (void 0 !== window.AudioContext || void 0 !== window.webkitAudioContext) {\n var n = u.default.AudioDeviceManager.get().getAudioContext();\n if (null === n) return;\n\n var r = this.toneScript(e),\n i = [],\n o = 0,\n a = function a(e) {\n for (var t = 0; t < n.sampleRate * e; t++) {\n i.push(0);\n }\n },\n s = function s(e, t) {\n for (var o = 0; o < n.sampleRate * t; o++) {\n for (var a = 0, s = 0; s < e.length; s++) {\n a += Math.pow(10, r.frequencies[e[s]].decibels / 20) * Math.sin((i.length + o) * (3.14159265359 / n.sampleRate) * r.frequencies[e[s]].frequency), o < 10 && (a *= o / 10), o > n.sampleRate * t - 10 && (a *= (n.sampleRate * t - o) / 10);\n }\n\n i.push(a);\n }\n },\n c = function c(e, t) {\n if (t != 1 / 0) var n = t;else n = t = 20;\n if (0 !== e.off && e.off != 1 / 0) for (; n > 0;) {\n s(e.frequencies, e.on), n -= e.on, a(e.off), n -= e.off;\n n = parseInt(String(10 * n)) / 10;\n } else s(e.frequencies, t);\n };\n\n this.source = n.createBufferSource();\n\n for (var l = 0; l < r.cadences.length; l++) {\n r.cadences[l].duration == 1 / 0 && (this.source.loop = !0), function (e) {\n e.duration != 1 / 0 ? o += e.duration : o += 20;\n\n for (var t = 0; t < e.sections.length; t++) {\n c(e.sections[t], e.duration);\n }\n }(r.cadences[l]);\n }\n\n this.source.connect(n.destination);\n\n for (var d = n.createBuffer(1, o * n.sampleRate, n.sampleRate), g = d.getChannelData(0), f = 0; f < o * n.sampleRate; f++) {\n g[f] = i[f];\n }\n\n i = null, this.source.buffer = d, !0 === t && (this.source.loop = !0), this.source.start(0);\n }\n }\n }, {\n key: \"stopPlayback\",\n value: function value() {\n return void 0 !== this.source && null !== this.source && (this.source.stop(0), this.source = null, !0);\n }\n }, {\n key: \"getServers\",\n value: function value() {\n arguments.length > 0 && void 0 !== arguments[0] && arguments[0];\n return fetch(\"https://balancer.voximplant.com/getNearestHost\").then(function (e) {\n return e.text();\n });\n }\n }, {\n key: \"generateUUID\",\n value: function value() {\n var e = this._gri,\n t = this._ha;\n return t(e(32), 8) + \"-\" + t(e(16), 4) + \"-\" + t(16384 | e(12), 4) + \"-\" + t(32768 | e(14), 4) + \"-\" + t(e(48), 12);\n }\n }, {\n key: \"_gri\",\n value: function value(e) {\n return e < 0 ? NaN : e <= 30 ? 0 | Math.random() * (1 << e) : e <= 53 ? (0 | Math.random() * (1 << 30)) + (0 | Math.random() * (1 << e - 30)) * (1 << 30) : NaN;\n }\n }, {\n key: \"_ha\",\n value: function value(e, t) {\n for (var n = e.toString(16), r = t - n.length, i = \"0\"; r > 0; r >>>= 1, i += i) {\n 1 & r && (n = i + n);\n }\n\n return n;\n }\n }, {\n key: \"checkCA\",\n value: function value() {\n if (!c.Client.getInstance().connected()) throw new Error(\"NOT_CONNECTED_TO_VOXIMPLANT\");\n if (!l.Authenticator.get().authorized()) throw new Error(\"NOT_AUTHORIZED\");\n }\n }, {\n key: \"mixObjectToLeft\",\n value: function value(e, t) {\n for (var n in e) {\n void 0 !== t[n] && (e[n] = t[n]);\n }\n\n return e;\n }\n }, {\n key: \"strFormat\",\n value: function value(e) {\n for (var t = arguments.length, n = Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) {\n n[r - 1] = arguments[r];\n }\n\n return e.replace(/{(\\d+)}/g, function (e, t) {\n return void 0 !== n[t] ? n[t] : e;\n });\n }\n }]), e;\n }();\n\n d.source = null, a([s.LogManager.d_trace(s.LogCategory.UTILS)], d, \"cadScript\", null), a([s.LogManager.d_trace(s.LogCategory.UTILS)], d, \"freqScript\", null), a([s.LogManager.d_trace(s.LogCategory.UTILS)], d, \"toneScript\", null), a([s.LogManager.d_trace(s.LogCategory.UTILS)], d, \"playToneScript\", null), a([s.LogManager.d_trace(s.LogCategory.UTILS)], d, \"stopPlayback\", null), a([s.LogManager.d_trace(s.LogCategory.UTILS)], d, \"getServers\", null), t.Utils = d;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = n(2),\n a = n(3),\n s = function () {\n function e(t) {\n r(this, e), this._id = t;\n }\n\n return i(e, [{\n key: \"insertDTMF\",\n value: function value(e, t, n) {\n var r = this;\n (\"\" + e).split(\"\").forEach(function (e) {\n return r.sendKey(e);\n });\n }\n }, {\n key: \"sendKey\",\n value: function value(e) {\n var t = void 0;\n ((t = \"*\" == e ? 10 : \"#\" == e ? 11 : parseInt(e)) >= 0 || t <= 11) && o.VoxSignaling.get().callRemoteFunction(a.RemoteFunction.sendDTMF, this._id, t);\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"SignalingDTMFSender\";\n }\n }]), e;\n }();\n\n t.SignalingDTMFSender = s;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s,\n c = n(0),\n l = n(2),\n u = n(6),\n d = n(12),\n g = n(10),\n f = n(3),\n p = n(32),\n v = n(1),\n h = n(4);\n !function (e) {\n e[e.IDLE = 0] = \"IDLE\", e[e.REMOTEOFFER = 1] = \"REMOTEOFFER\", e[e.LOCALOFFER = 2] = \"LOCALOFFER\", e[e.ESTABLISHING = 3] = \"ESTABLISHING\", e[e.ESTABLISHED = 4] = \"ESTABLISHED\", e[e.CLOSED = 5] = \"CLOSED\";\n }(s = t.PeerConnectionState || (t.PeerConnectionState = {}));\n var m;\n !function (e) {\n e[e.CLIENT_SERVER_V1 = 0] = \"CLIENT_SERVER_V1\", e[e.P2P = 1] = \"P2P\", e[e.CONFERENCE = 2] = \"CONFERENCE\";\n }(m = t.PeerConnectionMode || (t.PeerConnectionMode = {}));\n\n var y = function () {\n function e(t, n, i) {\n r(this, e), this.id = t, this.mode = n, this.videoEnabled = i, this.onHold = !1, this.muteMicState = !1, this.SEND_CANDIDATE_DELAY = 1e3, this.mediaRepository = [], this.candidateList = [], this.localCandidateTimer = -1, this.logger = c.LogManager.get().createLogger(c.LogCategory.RTC, this._traceName() + \" \" + t), this.logger.info(\"PC created\"), this.state = s.IDLE, this.pendingCandidates = [], \"_default\" !== t && u.CallManager.get().calls[t] && (this.reInviteQ = new p.ReInviteQ(u.CallManager.get().calls[t], this._canReInvite));\n }\n\n return i(e, [{\n key: \"getId\",\n value: function value() {\n return this.id;\n }\n }, {\n key: \"getState\",\n value: function value() {\n return this.state;\n }\n }, {\n key: \"processRemoteAnswer\",\n value: function value(e, t) {\n return this.state = s.ESTABLISHING, this._processRemoteAnswer(e, t);\n }\n }, {\n key: \"getLocalOffer\",\n value: function value() {\n return this.state === s.IDLE || this.state === s.ESTABLISHED || s.LOCALOFFER ? (this.logger.info(\"getLocalOffer()\"), this.state = s.LOCALOFFER, this._getLocalOffer()) : (this.logger.error(\"getLocalOffer() in state \" + s[this.state]), new Promise(function (e, t) {\n t(\"Invalid state\");\n }));\n }\n }, {\n key: \"getLocalAnswer\",\n value: function value() {\n return this._getLocalAnswer();\n }\n }, {\n key: \"processRemoteOffer\",\n value: function value(e) {\n return this.state === s.IDLE || this.state === s.ESTABLISHED ? (this.state = s.ESTABLISHING, this._processRemoteOffer(e)) : (this.logger.error(\"processRemoteOffer() in state \" + s[this.state]), new Promise(function (e, t) {\n t(\"Invalid state\");\n }));\n }\n }, {\n key: \"close\",\n value: function value() {\n this.logger.info(\"close()\"), this._close();\n }\n }, {\n key: \"addRemoteCandidate\",\n value: function value(e, t) {\n return this.logger.info(\"addRemoteCandidate(\" + e + \", \" + t + \")\"), this._addRemoteCandidate(e, t);\n }\n }, {\n key: \"handleReinvite\",\n value: function value(e, t, n) {\n return this._handleReinvite(e, t, n);\n }\n }, {\n key: \"addCandidateToSend\",\n value: function value(e, t) {\n this.pendingCandidates.push([t, e]), this.canSendCandidates && this.startCandidateSendTimer();\n }\n }, {\n key: \"canStartSendingCandidates\",\n value: function value() {\n this.canSendCandidates = !0, this.startCandidateSendTimer();\n }\n }, {\n key: \"sendDTMF\",\n value: function value(e) {\n this._sendDTMF(e, 500, 50);\n }\n }, {\n key: \"setVideoEnabled\",\n value: function value(e) {\n var t = this.videoEnabled.receiveVideo;\n this.videoEnabled = e, t != e.receiveVideo && this._hold(this.onHold);\n }\n }, {\n key: \"setVideoFlags\",\n value: function value(e) {\n this.videoEnabled = e;\n }\n }, {\n key: \"getDirections\",\n value: function value() {\n return this._getDirections();\n }\n }, {\n key: \"setHoldKey\",\n value: function value(e) {\n this.onHold = e;\n }\n }, {\n key: \"getTrackKind\",\n value: function value() {\n return this._call ? h.default.StreamManager.get()._getTracksKind(this._call) : {};\n }\n }, {\n key: \"sendMedia\",\n value: function value(e, t) {\n var n = this;\n return new Promise(function (e, t) {\n if (n.onHold) return void t({\n result: !1,\n call: n._call\n });\n n.reInviteQ.add({\n fx: function fx() {\n v.Client.getInstance().config();\n h.default.StreamManager.get().updateCallStream(n._call);\n },\n reject: t,\n resolve: function resolve(t) {\n n.restoreMute(), e(t);\n }\n });\n });\n }\n }, {\n key: \"hold\",\n value: function value(e) {\n var t = this;\n return new Promise(function (n, r) {\n t.onHold === e && n({\n call: t._call,\n name: \"Updated\",\n result: !0\n }), t.reInviteQ.add({\n fx: function fx() {\n t._hold(e);\n },\n reject: r,\n resolve: function resolve(e) {\n t.restoreMute(), n(e);\n }\n });\n });\n }\n }, {\n key: \"hdnFRS\",\n value: function value() {\n var e = this;\n return new Promise(function (t, n) {\n if (e.onHold) return void n({\n result: !1,\n call: e._call\n });\n e.reInviteQ.add({\n fx: function fx() {\n e._hdnFRS();\n },\n reject: n,\n resolve: function resolve(n) {\n e.restoreMute(), t(n);\n }\n });\n });\n }\n }, {\n key: \"muteMicrophone\",\n value: function value(e) {\n var t = this;\n this.muteMicState !== e && (this.muteMicState = e, h.default.StreamManager.get().getCallStream(this._call).then(function (e) {\n e.getAudioTracks().forEach(function (e) {\n e.enabled = !t.muteMicState;\n });\n }));\n }\n }, {\n key: \"restoreMute\",\n value: function value() {\n var e = this;\n\n if (this._call.settings.active) {\n var t = this;\n setTimeout(function () {\n e._call.settings.state !== d.CallState.ENDED && (e._call.restoreRMute(), h.default.StreamManager.get().getCallStream(e._call).then(function (e) {\n e.getAudioTracks().forEach(function (e) {\n e.enabled = !t.muteMicState;\n });\n }));\n }, 300);\n }\n }\n }, {\n key: \"restoreVideoSending\",\n value: function value() {\n var e = this;\n this._call.settings.active && setTimeout(function () {\n e._call.settings.state !== d.CallState.ENDED && e.enableVideo(e._call.settings.videoDirections.sendVideo);\n }, 0);\n }\n }, {\n key: \"addCustomMedia\",\n value: function value(e) {\n var t = this;\n return new Promise(function (n, r) {\n t.reInviteQ.add({\n fx: function fx() {\n t._addCustomMedia(e);\n },\n reject: r,\n resolve: function resolve(e) {\n t.restoreMute(), n();\n }\n });\n });\n }\n }, {\n key: \"fastAddCustomMedia\",\n value: function value(e) {\n this._addCustomMedia(e);\n }\n }, {\n key: \"fastRemoveCustomMedia\",\n value: function value(e) {\n this._removeCustomMedia(e);\n }\n }, {\n key: \"removeCustomMedia\",\n value: function value(e) {\n var t = this;\n return new Promise(function (n, r) {\n t.reInviteQ.add({\n fx: function fx() {\n t._removeCustomMedia(e);\n },\n reject: r,\n resolve: function resolve(e) {\n t.restoreMute(), n();\n }\n });\n });\n }\n }, {\n key: \"updateCustomMedia\",\n value: function value(e) {\n this._updateCustomMedia(e);\n }\n }, {\n key: \"setState\",\n value: function value(e) {\n this.logger.info(\"Transmitting from \" + s[this.state] + \" to \" + s[e]), this.state = e;\n }\n }, {\n key: \"sendLocalCandidateToPeer\",\n value: function value(e, t) {\n var n = this;\n this._call = u.CallManager.get().calls[this.id], this.mode === m.CLIENT_SERVER_V1 ? l.VoxSignaling.get().callRemoteFunction(f.RemoteFunction.addCandidate, this.id, e, t) : (this.candidateList.push([t, e]), this.localCandidateTimer <= 0 && (this.localCandidateTimer = window.setTimeout(function () {\n window.clearTimeout(n.localCandidateTimer), n.localCandidateTimer = -1, u.CallManager.get().calls[n.id] && u.CallManager.get().calls[n.id].sendInfo(g.Constants.P2P_SPD_FRAG_MIME_TYPE, JSON.stringify(n.candidateList), {}), n.candidateList = [];\n }, 200)));\n }\n }, {\n key: \"startCandidateSendTimer\",\n value: function value() {\n var e = this;\n null !== this.candidateSendTimer && void 0 !== this.candidateSendTimer || (this.candidateSendTimer = setTimeout(function () {\n e.candidateSendTimer = null, e.pendingCandidates.length > 0 && u.CallManager.get().calls[e.id] && u.CallManager.get().calls[e.id].sendInfo(g.Constants.P2P_SPD_FRAG_MIME_TYPE, JSON.stringify(e.pendingCandidates), {}), e.pendingCandidates = [];\n }, this.SEND_CANDIDATE_DELAY));\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"PeerConnection\";\n }\n }, {\n key: \"remoteStreams\",\n get: function get() {\n return this._remoteStreams;\n }\n }]), e;\n }();\n\n a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"getState\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"processRemoteAnswer\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"getLocalOffer\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"getLocalAnswer\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"processRemoteOffer\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"close\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"addRemoteCandidate\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"handleReinvite\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"addCandidateToSend\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"canStartSendingCandidates\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"sendDTMF\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"setVideoEnabled\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"setVideoFlags\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"setHoldKey\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"getTrackKind\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"sendMedia\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"hold\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"hdnFRS\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"muteMicrophone\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"restoreMute\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"restoreVideoSending\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"addCustomMedia\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"fastAddCustomMedia\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"fastRemoveCustomMedia\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"removeCustomMedia\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"updateCustomMedia\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"setState\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"sendLocalCandidateToPeer\", null), a([c.LogManager.d_trace(c.LogCategory.RTC)], y.prototype, \"startCandidateSendTimer\", null), t.PeerConnection = y;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = n(8),\n a = n(52),\n s = n(53),\n c = function () {\n function e() {\n throw r(this, e), new Error(\"Please, use the EndpointManager.get() instead create new object\");\n }\n\n return i(e, null, [{\n key: \"get\",\n value: function value() {\n return void 0 === this.instance && (o.PCFactory.hasTransceivers ? e.instance = new a.TransceiversEndpointManager() : e.instance = new s.PlainEndpointManager()), this.instance;\n }\n }]), e;\n }();\n\n t.EndpointManager = c;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n !function (e) {\n e.onError = \"onError\", e.onCreateConversation = \"onCreateConversation\", e.onEditConversation = \"onEditConversation\", e.onRemoveConversation = \"onRemoveConversation\", e.onGetConversation = \"onGetConversation\", e.onGetPublicConversations = \"onGetPublicConversations\", e.onGetUser = \"onGetUser\", e.onEditUser = \"onEditUser\", e.onSetStatus = \"onSetStatus\", e.onSendMessage = \"onSendMessage\", e.onEditMessage = \"onEditMessage\", e.onRemoveMessage = \"onRemoveMessage\", e.isRead = \"isRead\", e.onTyping = \"onTyping\", e.onSubscribe = \"onSubscribe\", e.onUnsubscribe = \"onUnsubscribe\", e.onGetSubscriptionList = \"onGetSubscriptionList\", e.onCreateBot = \"onCreateBot\", e.onRemoveBot = \"onRemoveBot\", e.onRetransmitEvents = \"onRetransmitEvents\";\n }(t.MsgEvent || (t.MsgEvent = {}));\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(0),\n c = n(18),\n l = n(24),\n u = n(44),\n d = n(34),\n g = n(26),\n f = n(19),\n p = n(11),\n v = n(45),\n h = n(27),\n m = {\n 0: \"Something went wrong. Please check your input or required parameters.\"\n },\n y = function () {\n function e() {\n var t = this;\n if (r(this, e), e.instance) throw new Error(v.MESSAGING_ERR_1);\n this.eventListeners = {}, this.awaitPromiseList = {}, this.cm = u.default.get(), this.signalling = c.MsgSignaling.get(), this.signalling.addEventListener(l.MsgEvent.onError, function (e, n) {\n t._dispatchEvent(f.default.MessengerEvents.Error, {\n initiator: t.currentUserId,\n code: e.code,\n description: e.description,\n messengerAction: f.default.MessengerAction[e.on_incoming_event],\n timestamp: \"number\" == typeof e.timestamp ? 1e3 * e.timestamp : void 0,\n requestUuid: n\n }, n);\n }), this.signalling.addEventListener(l.MsgEvent.onEditUser, function (e, n) {\n t._dispatchEvent(f.default.MessengerEvents.EditUser, {\n user: {\n userId: Number(e.object.user_id),\n userName: e.object.user_name,\n displayName: e.object.display_name,\n conversationsList: e.object.conversations_list,\n notificationEvents: e.object.notification_events ? e.object.notification_events.map(t.msgEventToMessengerEvent) : void 0,\n customData: e.object.custom_data,\n privateCustomData: e.object.private_custom_data\n },\n initiator: Number(e.initiator),\n messengerAction: f.default.MessengerAction[e.on_incoming_event],\n timestamp: \"number\" == typeof e.timestamp ? 1e3 * e.timestamp : void 0,\n requestUuid: n\n }, n);\n }), this.signalling.addEventListener(l.MsgEvent.onGetUser, function (e, n) {\n t._dispatchEvent(f.default.MessengerEvents.GetUser, {\n user: {\n userId: Number(e.object.user_id),\n userName: e.object.user_name,\n displayName: e.object.display_name,\n conversationsList: e.object.conversations_list,\n notificationEvents: e.object.notification_events ? e.object.notification_events.map(t.msgEventToMessengerEvent) : void 0,\n customData: e.object.custom_data,\n privateCustomData: e.object.private_custom_data\n },\n initiator: Number(e.initiator),\n messengerAction: f.default.MessengerAction[e.on_incoming_event],\n requestUuid: n\n }, n);\n }), this.signalling.addEventListener(l.MsgEvent.onSetStatus, function (e, n) {\n t._dispatchEvent(f.default.MessengerEvents.SetStatus, {\n online: e.object.online,\n initiator: Number(e.initiator),\n messengerAction: f.default.MessengerAction[e.on_incoming_event],\n timestamp: \"number\" == typeof e.timestamp ? 1e3 * e.timestamp : void 0,\n requestUuid: n\n }, n);\n }), this.signalling.addEventListener(l.MsgEvent.onSubscribe, function (e, n) {\n t._dispatchEvent(f.default.MessengerEvents.Subscribe, {\n users: e.object.user_id,\n initiator: Number(e.initiator),\n messengerAction: f.default.MessengerAction[e.on_incoming_event],\n requestUuid: n\n }, n);\n }), this.signalling.addEventListener(l.MsgEvent.onUnsubscribe, function (e, n) {\n t._dispatchEvent(f.default.MessengerEvents.Unsubscribe, {\n users: e.object.user_id,\n initiator: Number(e.initiator),\n messengerAction: f.default.MessengerAction[e.on_incoming_event],\n requestUuid: n\n }, n);\n }), this.signalling.addEventListener(l.MsgEvent.onGetSubscriptionList, function (e, n) {\n t._dispatchEvent(f.default.MessengerEvents.GetSubscriptionList, {\n users: e.object.subscriptions,\n initiator: Number(e.initiator),\n messengerAction: f.default.MessengerAction[e.on_incoming_event],\n requestUuid: n\n }, n);\n });\n }\n\n return i(e, [{\n key: \"addEventListener\",\n value: function value(e, t) {\n void 0 === this.eventListeners[e] && (this.eventListeners[e] = []), this.eventListeners[e].push(t);\n }\n }, {\n key: \"removeEventListener\",\n value: function value(e, t) {\n if (void 0 !== this.eventListeners[e]) if (\"function\" == typeof t) {\n for (var n = 0; n < this.eventListeners[e].length; n++) {\n if (this.eventListeners[e][n] === t) {\n this.eventListeners[e].splice(n, 1);\n break;\n }\n }\n } else this.eventListeners[e] = [];\n }\n }, {\n key: \"on\",\n value: function value(e, t) {\n this.addEventListener(e, t);\n }\n }, {\n key: \"off\",\n value: function value(e, t) {\n this.removeEventListener(e, t);\n }\n }, {\n key: \"_dispatchEvent\",\n value: function value(e, t, n) {\n void 0 !== this.eventListeners[e] && this.eventListeners[e].forEach(function (e) {\n \"function\" == typeof e && e(t);\n }), n && void 0 !== this.awaitPromiseList[n] && (e === f.default.MessengerEvents.Error && \"function\" == typeof this.awaitPromiseList[n].reject && this.awaitPromiseList[n].reject(t), \"function\" == typeof this.awaitPromiseList[n].resolve && this.awaitPromiseList[n].resolve(t), window.clearTimeout(this.awaitPromiseList[n].expire)), void 0 !== this.eventListeners[e] && 0 != this.eventListeners[e].length || s.LogManager.get().writeMessage(s.LogCategory.MESSAGING, \"\", s.LogLevel.INFO, \"The \" + e + \" event dispatched, but no handler registered for this event type.\");\n }\n }, {\n key: \"_registerPromise\",\n value: function value(t, n, r) {\n this.awaitPromiseList[t] = {\n resolve: n,\n reject: r,\n expire: window.setTimeout(r, e.rejectTimeout)\n };\n }\n }, {\n key: \"getConversation\",\n value: function value(e) {\n return this.cm.getConversation(e);\n }\n }, {\n key: \"getConversations\",\n value: function value(e) {\n return Array.isArray(e) && e.length > 30 ? void s.LogManager.get().writeMessage(s.LogCategory.MESSAGING, \"Rate limit\", s.LogLevel.ERROR, \"you can get maximum 30 conversation in a single getConversations call\") : this.cm.getConversations(e);\n }\n }, {\n key: \"getPublicConversations\",\n value: function value() {\n return this.cm.getPublicConversations();\n }\n }, {\n key: \"getRawConversations\",\n value: function value(e) {\n return this.cm.getConversations(e);\n }\n }, {\n key: \"createConversation\",\n value: function value(e, t, n, r, i, o) {\n return this.cm.createConversation(e, t, n, r, i, o);\n }\n }, {\n key: \"createConversationFromCache\",\n value: function value(e) {\n return e && \"object\" === (void 0 === e ? \"undefined\" : o(e)) ? d.Conversation.createFromCache(e) : null;\n }\n }, {\n key: \"joinConversation\",\n value: function value(t) {\n var n = this;\n return new Promise(function (r, i) {\n var o = n.signalling.sendWsMessage(h.MsgAction.joinConversation, {\n uuid: t\n });\n\n e.getInstance()._registerPromise(o, r, i);\n });\n }\n }, {\n key: \"leaveConversation\",\n value: function value(t) {\n var n = this;\n return new Promise(function (r, i) {\n var o = n.signalling.sendWsMessage(h.MsgAction.leaveConversation, {\n uuid: t\n });\n\n e.getInstance()._registerPromise(o, r, i);\n });\n }\n }, {\n key: \"getMe\",\n value: function value() {\n return u.default.extractUserName(p.Authenticator.get().username());\n }\n }, {\n key: \"getMyId\",\n value: function value() {\n return this.currentUserId ? Promise.resolve(this.currentUserId) : this.getUser(this.getMe()).then(function (e) {\n return e.user.userId;\n });\n }\n }, {\n key: \"getUser\",\n value: function value(t) {\n var n = this;\n return new Promise(function (r, i) {\n var o = void 0,\n a = function e(t) {\n t.requestUuid === o && (clearTimeout(c), n.off(f.default.MessengerEvents.GetUser, e), n.off(f.default.MessengerEvents.Error, s), t.user.userName === n.getMe() && (n.currentUserId = Number(t.user.userId)), r(t));\n },\n s = function e(t) {\n t.requestUuid === o && (clearTimeout(c), n.off(f.default.MessengerEvents.GetUser, a), n.off(f.default.MessengerEvents.Error, e), i(t));\n },\n c = setTimeout(function () {\n e.getInstance().off(f.default.MessengerEvents.GetUser, a), e.getInstance().off(f.default.MessengerEvents.Error, s), e.getInstance().reject(f.default.MessengerError.Error_0, f.default.MessengerAction.getUser).catch(i);\n }, e.rejectTimeout);\n\n n.on(f.default.MessengerEvents.GetUser, a), n.on(f.default.MessengerEvents.Error, s), o = n.signalling.sendWsMessage(h.MsgAction.getUser, {\n user_name: t\n });\n });\n }\n }, {\n key: \"getUserById\",\n value: function value(t) {\n var n = this;\n return new Promise(function (r, i) {\n var o = n.signalling.sendWsMessage(h.MsgAction.getUser, {\n user_id: t\n });\n\n e.getInstance()._registerPromise(o, r, i);\n });\n }\n }, {\n key: \"getUsers\",\n value: function value(t) {\n if (!Array.isArray(t)) return e.getInstance().reject(f.default.MessengerError.Error_0, f.default.MessengerAction.getUsers);\n var n = void 0,\n r = Promise.all(t.map(function (t) {\n return new Promise(function (r, i) {\n var o = function i(o) {\n o.requestUuid === n && o.user.userName === t && (clearTimeout(s), e.getInstance().off(f.default.MessengerEvents.GetUser, i), e.getInstance().off(f.default.MessengerEvents.Error, a), r(o));\n },\n a = function t(r) {\n r.requestUuid === n && (clearTimeout(s), e.getInstance().off(f.default.MessengerEvents.GetUser, o), e.getInstance().off(f.default.MessengerEvents.Error, t), i(r));\n },\n s = setTimeout(function () {\n e.getInstance().off(f.default.MessengerEvents.GetUser, o), e.getInstance().off(f.default.MessengerEvents.Error, a), e.getInstance().reject(f.default.MessengerError.Error_0, f.default.MessengerAction.getUsers).catch(i);\n }, e.rejectTimeout);\n\n e.getInstance().on(f.default.MessengerEvents.GetUser, o), e.getInstance().on(f.default.MessengerEvents.Error, a);\n });\n }));\n return n = this.signalling.sendWsMessage(h.MsgAction.getUsers, {\n users: t.map(function (e) {\n return {\n user_name: e\n };\n })\n }), r;\n }\n }, {\n key: \"getUsersById\",\n value: function value(t) {\n if (!Array.isArray(t)) return e.getInstance().reject(f.default.MessengerError.Error_0, f.default.MessengerAction.getUsers);\n var n = void 0,\n r = Promise.all(t.map(function (t) {\n return new Promise(function (r, i) {\n var o = function i(o) {\n o.requestUuid === n && o.user.userId === t && (clearTimeout(s), e.getInstance().off(f.default.MessengerEvents.GetUser, i), e.getInstance().off(f.default.MessengerEvents.Error, a), r(o));\n },\n a = function t(r) {\n r.requestUuid === n && (clearTimeout(s), e.getInstance().off(f.default.MessengerEvents.GetUser, o), e.getInstance().off(f.default.MessengerEvents.Error, t), i(r));\n },\n s = setTimeout(function () {\n e.getInstance().off(f.default.MessengerEvents.GetUser, o), e.getInstance().off(f.default.MessengerEvents.Error, a), e.getInstance().reject(f.default.MessengerError.Error_0, f.default.MessengerAction.getUsers).catch(i);\n }, e.rejectTimeout);\n\n e.getInstance().on(f.default.MessengerEvents.GetUser, o), e.getInstance().on(f.default.MessengerEvents.Error, a);\n });\n }));\n return n = this.signalling.sendWsMessage(h.MsgAction.getUsers, {\n users: t.map(function (e) {\n return {\n user_id: e\n };\n })\n }), r;\n }\n }, {\n key: \"editUser\",\n value: function value(t, n) {\n var r = this,\n i = {};\n return t && (i.custom_data = t), n && (i.private_custom_data = n), new Promise(function (t, n) {\n var o = r.signalling.sendWsMessage(h.MsgAction.editUser, i);\n\n e.getInstance()._registerPromise(o, t, n);\n });\n }\n }, {\n key: \"setStatus\",\n value: function value(t) {\n var n = this;\n return new Promise(function (r, i) {\n var o = n.signalling.sendWsMessage(h.MsgAction.setStatus, {\n online: t\n });\n\n e.getInstance()._registerPromise(o, r, i);\n });\n }\n }, {\n key: \"subscribe\",\n value: function value(t) {\n var n = this;\n return new Promise(function (r, i) {\n var o = n.signalling.sendWsMessage(h.MsgAction.subscribe, {\n user_id: t\n });\n\n e.getInstance()._registerPromise(o, r, i);\n });\n }\n }, {\n key: \"unsubscribe\",\n value: function value(t, n) {\n var r = this;\n return new Promise(function (i, o) {\n var a = r.signalling.sendWsMessage(h.MsgAction.unsubscribe, {\n user_id: t,\n all: n\n });\n\n e.getInstance()._registerPromise(a, i, o);\n });\n }\n }, {\n key: \"getSubscriptionList\",\n value: function value() {\n var t = this;\n return new Promise(function (n, r) {\n var i = t.signalling.sendWsMessage(h.MsgAction.getSubscriptionList, {});\n\n e.getInstance()._registerPromise(i, n, r);\n });\n }\n }, {\n key: \"manageNotification\",\n value: function value(t) {\n var n = this;\n return new Promise(function (r, i) {\n var o = n.signalling.sendWsMessage(h.MsgAction.manageNotification, {\n notifications: t.map(function (e) {\n return e === f.default.MessengerEvents.CreateConversation ? l.MsgEvent.onCreateConversation : e === f.default.MessengerEvents.SendMessage ? l.MsgEvent.onSendMessage : e === f.default.MessengerEvents.EditMessage ? l.MsgEvent.onEditMessage : void 0;\n })\n });\n\n e.getInstance()._registerPromise(o, r, i);\n });\n }\n }, {\n key: \"createMessageFromCache\",\n value: function value(e) {\n return e && \"object\" === (void 0 === e ? \"undefined\" : o(e)) ? g.Message.createFromCache(e) : null;\n }\n }, {\n key: \"reject\",\n value: function value(e, t) {\n var n = {\n code: e,\n description: m[e],\n initiator: this.currentUserId,\n messengerAction: t\n };\n return this._dispatchEvent(f.default.MessengerEvents.Error, n), Promise.reject(n);\n }\n }, {\n key: \"msgEventToMessengerEvent\",\n value: function value(e) {\n return e === l.MsgEvent.onCreateConversation ? f.default.MessengerEvents.CreateConversation : e === l.MsgEvent.onSendMessage ? f.default.MessengerEvents.SendMessage : e === l.MsgEvent.onEditMessage ? f.default.MessengerEvents.EditMessage : e;\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"Messenger\";\n }\n }], [{\n key: \"getInstance\",\n value: function value() {\n return e.instance = e.instance || new e(), e.instance;\n }\n }]), e;\n }();\n\n y.rejectTimeout = 2e4, a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"addEventListener\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"removeEventListener\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"on\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"off\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"_dispatchEvent\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"_registerPromise\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"getConversation\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"getConversations\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"getPublicConversations\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"getRawConversations\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"createConversation\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"createConversationFromCache\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"joinConversation\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"leaveConversation\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"getMe\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"getMyId\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"getUser\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"getUserById\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"getUsers\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"getUsersById\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"editUser\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"setStatus\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"subscribe\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"unsubscribe\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"getSubscriptionList\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"manageNotification\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y.prototype, \"createMessageFromCache\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], y, \"getInstance\", null), t.Messenger = y;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(0),\n c = n(18),\n l = n(27),\n u = n(25),\n d = function () {\n function e(t, n) {\n r(this, e), this._text = t, void 0 !== n && Array.isArray(n) && n.every(function (e) {\n return e && \"object\" === (void 0 === e ? \"undefined\" : o(e));\n }) ? this._payload = n : this._payload = [];\n }\n\n return i(e, [{\n key: \"toCache\",\n value: function value() {\n return {\n uuid: this._uuid,\n text: this._text,\n payload: this._payload,\n conversation: this._conversation,\n sender: this._sender\n };\n }\n }, {\n key: \"getPayload\",\n value: function value() {\n var e = {\n text: this._text,\n conversation: this._conversation\n };\n return void 0 !== this._payload && Array.isArray(this._payload) && this._payload.every(function (e) {\n return \"object\" === (void 0 === e ? \"undefined\" : o(e));\n }) ? e.payload = this._payload : e.payload = [], e;\n }\n }, {\n key: \"sendTo\",\n value: function value(e) {\n var t = this;\n return this._conversation = e.uuid, new Promise(function (e, n) {\n var r = c.MsgSignaling.get().sendWsMessage(l.MsgAction.sendMessage, t.getPayload());\n\n u.Messenger.getInstance()._registerPromise(r, e, n);\n });\n }\n }, {\n key: \"update\",\n value: function value() {\n var e = this;\n return new Promise(function (t, n) {\n var r = c.MsgSignaling.get().sendWsMessage(l.MsgAction.editMessage, Object.assign(e.getPayload(), {\n uuid: e._uuid\n }));\n\n u.Messenger.getInstance()._registerPromise(r, t, n);\n });\n }\n }, {\n key: \"remove\",\n value: function value() {\n var e = this;\n return new Promise(function (t, n) {\n var r = c.MsgSignaling.get().sendWsMessage(l.MsgAction.removeMessage, {\n uuid: e._uuid,\n conversation: e.conversation\n });\n\n u.Messenger.getInstance()._registerPromise(r, t, n);\n });\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"Message\";\n }\n }, {\n key: \"uuid\",\n get: function get() {\n return this._uuid;\n }\n }, {\n key: \"conversation\",\n get: function get() {\n return this._conversation;\n }\n }, {\n key: \"text\",\n get: function get() {\n return this._text;\n },\n set: function set(e) {\n this._text = e;\n }\n }, {\n key: \"payload\",\n get: function get() {\n return this._payload;\n },\n set: function set(e) {\n this._payload = e;\n }\n }, {\n key: \"sender\",\n get: function get() {\n return this._sender;\n }\n }], [{\n key: \"_createFromBus\",\n value: function value(t, n) {\n var r = new e(t.text, t.payload);\n return r._uuid = t.uuid, r._conversation = t.conversation, r._sender = n, r;\n }\n }, {\n key: \"createFromCache\",\n value: function value(t) {\n var n = new e(t.text, t.payload);\n return n._uuid = t.uuid, n._conversation = t.conversation, n._sender = Number(t.sender), n;\n }\n }]), e;\n }();\n\n a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], d.prototype, \"toCache\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], d.prototype, \"getPayload\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], d.prototype, \"sendTo\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], d.prototype, \"update\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], d.prototype, \"remove\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], d, \"_createFromBus\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], d, \"createFromCache\", null), t.Message = d;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n !function (e) {\n e.UNKNOWN = \"UNKNOWN\", e.createConversation = \"createConversation\", e.editConversation = \"editConversation\", e.removeConversation = \"removeConversation\", e.joinConversation = \"joinConversation\", e.leaveConversation = \"leaveConversation\", e.getConversation = \"getConversation\", e.getConversations = \"getConversations\", e.getPublicConversations = \"getPublicConversations\", e.searchConversations = \"searchConversations\", e.removeEmptyConversation = \"removeEmptyConversation\", e.addParticipants = \"addParticipants\", e.editParticipants = \"editParticipants\", e.removeParticipants = \"removeParticipants\", e.getUser = \"getUser\", e.getUsers = \"getUsers\", e.editUser = \"editUser\", e.setStatus = \"setStatus\", e.sendMessage = \"sendMessage\", e.editMessage = \"editMessage\", e.removeMessage = \"removeMessage\", e.typingMessage = \"typingMessage\", e.isRead = \"isRead\", e.subscribe = \"subscribe\", e.unsubscribe = \"unsubscribe\", e.manageNotification = \"manageNotification\", e.getSubscriptionList = \"getSubscriptionList\", e.createBot = \"createBot\", e.removeBot = \"removeBot\", e.retransmitEvents = \"retransmitEvents\";\n }(t.MsgAction || (t.MsgAction = {}));\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n !function (e) {\n e[e.Offline = \"OFFLINE\"] = \"Offline\", e[e.Online = \"ONLINE\"] = \"Online\", e[e.Ready = \"READY\"] = \"Ready\", e[e.InService = \"IN_SERVICE\"] = \"InService\", e[e.AfterService = \"AFTER_SERVICE\"] = \"AfterService\", e[e.Timeout = \"TIMEOUT\"] = \"Timeout\", e[e.DND = \"DND\"] = \"DND\";\n }(t.OperatorACDStatuses || (t.OperatorACDStatuses = {}));\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n var a = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n s = function e(t, n, r) {\n null === t && (t = Function.prototype);\n var i = Object.getOwnPropertyDescriptor(t, n);\n\n if (void 0 === i) {\n var o = Object.getPrototypeOf(t);\n return null === o ? void 0 : e(o, n, r);\n }\n\n if (\"value\" in i) return i.value;\n var a = i.get;\n if (void 0 !== a) return a.call(r);\n },\n c = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n l = function l(e, t, n, r) {\n var i,\n o = arguments.length,\n a = o < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : c(Reflect)) && \"function\" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, r);else for (var s = e.length - 1; s >= 0; s--) {\n (i = e[s]) && (a = (o < 3 ? i(a) : o > 3 ? i(t, n, a) : i(t, n)) || a);\n }\n return o > 3 && a && Object.defineProperty(t, n, a), a;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var u = n(0),\n d = n(4),\n g = n(15),\n f = n(36),\n p = n(7),\n v = n(14),\n h = n(1),\n m = n(35),\n y = n(37),\n C = function (e) {\n function t() {\n r(this, t);\n var e = i(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));\n if (void 0 !== t.instance) throw new Error(\"Error - use StreamManager.get()\");\n return e._callStreams = {}, e._localMediaRenderers = [], e._sharingStreams = {}, e.logger = u.LogManager.get().createLogger(u.LogCategory.HARDWARE, e._traceName()), e;\n }\n\n return o(t, e), a(t, [{\n key: \"getMirrorStream\",\n value: function value() {\n var e = this;\n return h.Client.getInstance().config().experiments && h.Client.getInstance().config().experiments.customMirrorMedia ? new Promise(function (t, n) {\n h.Client.getInstance().config().experiments.customMirrorMedia({\n videoSettings: f.CameraManager.get().getDefaultVideoSettings()\n }).then(function (n) {\n e._mirrorStream = n, e._mirrorStream.getTracks().forEach(function (t) {\n t.onended = function () {\n e.onMirrorEnded();\n }, t.onmute = function () {\n e.onMirrorEnded;\n };\n }), t(n);\n }).catch(function (e) {\n n(e);\n });\n }) : new Promise(function (t, n) {\n return void 0 !== e._mirrorStream && e._mirrorStream.active ? void t(e._mirrorStream) : p.default.isIphone() ? d.default.IOSCacheManager.get().getStream({\n video: f.CameraManager.get().getCallConstraints(\"__local__\"),\n audio: m.AudioDeviceManager.get().getCallConstraints(\"__local__\")\n }).then(function (n) {\n e._mirrorStream = n, e._mirrorStream.getTracks().forEach(function (t) {\n t.onended = function () {\n e.onMirrorEnded();\n }, t.onmute = function () {\n e.onMirrorEnded;\n };\n }), t(n);\n }, n) : navigator.mediaDevices.getUserMedia({\n video: f.CameraManager.get().getCallConstraints(\"__local__\")\n }).then(function (n) {\n e.logger.info(\"Media access granted\"), e._mirrorStream = n, e._mirrorStream.getTracks().forEach(function (t) {\n t.onended = function () {\n e.onMirrorEnded();\n }, t.onmute = function () {\n e.onMirrorEnded;\n };\n }), t(n);\n }).catch(function (t) {\n e.logger.error(\"Media access denied: \" + (t ? t.message || t.name || t : \"unknown\"));\n });\n });\n }\n }, {\n key: \"remMirrorStream\",\n value: function value() {\n if (!p.default.isIphone()) {\n if (void 0 === this._mirrorStream) return;\n this._mirrorStream.getTracks().forEach(function (e) {\n e.onended = void 0, e.onmute = void 0, e.stop();\n }), this._mirrorStream = void 0;\n }\n }\n }, {\n key: \"getCallStream\",\n value: function value(e) {\n var t = this,\n n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];\n return h.Client.getInstance().config().experiments && h.Client.getInstance().config().experiments.customCallMedia ? new Promise(function (n, r) {\n var i = !1,\n o = m.AudioDeviceManager.get().getDefaultAudioSettings();\n e && (i = !(!e.settings.videoDirections || !e.settings.videoDirections.sendVideo) && f.CameraManager.get().getCallVideoSettings(e), o = m.AudioDeviceManager.get().getCallAudioSettings(e));\n var a = {\n call: e,\n audioSettings: o,\n videoSettings: i\n };\n t.logger.info(\"[constraints]: \" + JSON.stringify(a)), h.Client.getInstance().config().experiments.customCallMedia(a).then(function (e) {\n t.logger.info(\"Media access granted\"), h.Client.getInstance().dispatchEvent({\n name: v.Events.MicAccessResult,\n result: !0,\n stream: e\n }), n(e);\n }).catch(function (e) {\n t.logger.error(\"Media access denied: \" + (e ? e.message || e.name || e : \"unknown\")), h.Client.getInstance().dispatchEvent({\n name: v.Events.MicAccessResult,\n result: !1,\n stream: null\n }), r(e);\n });\n }) : new Promise(function (r, i) {\n var o = void 0 === e ? \"__default\" : e.id();\n if (t._callStreams[o] && !n) r(t._callStreams[o]);else {\n var a = t._composeConstraints(e);\n\n if (t.logger.info(\"[constraints]: \" + JSON.stringify(a)), !a.audio && !a.video && \"__default\" !== o) return void r(null);\n if (\"firefox\" !== p.default.getWSVendor()) p.default.isIphone() ? d.default.IOSCacheManager.get().getStream(a).then(function (e) {\n t._callStreams[o] = e, e.getTracks().forEach(function (e) {\n e.onended = t.onCallEnded, e.onmute = t.onCallEnded;\n }), h.Client.getInstance().dispatchEvent({\n name: v.Events.MicAccessResult,\n result: !0,\n stream: e\n }), r(e);\n }) : navigator.mediaDevices.getUserMedia(a).then(function (e) {\n t.logger.info(\"Media access granted\"), t._callStreams[o] = e, e.getTracks().forEach(function (e) {\n e.onended = t.onCallEnded, e.onmute = t.onCallEnded;\n }), h.Client.getInstance().dispatchEvent({\n name: v.Events.MicAccessResult,\n result: !0,\n stream: e\n }), r(e);\n }, function (n) {\n if (\"NotFoundError\" === n.name) {\n var s = {\n audio: !0\n };\n t.logger.info(\"[backup constraints]: \" + JSON.stringify(a)), void 0 !== e && (e.settings.videoDirections.sendVideo = !1, s = t._composeConstraints(e)), navigator.mediaDevices.getUserMedia(s).then(function (e) {\n t.logger.info(\"Media access granted\"), t._callStreams[o] = e, e.getTracks().forEach(function (e) {\n e.onended = t.onCallEnded, e.onmute = t.onCallEnded;\n }), h.Client.getInstance().dispatchEvent({\n name: v.Events.MicAccessResult,\n result: !0,\n stream: e\n }), r(e);\n }, function (e) {\n t.logger.error(\"Media access denied: \" + (e ? e.message || e.name || e : \"unknown\")), h.Client.getInstance().dispatchEvent({\n name: v.Events.MicAccessResult,\n result: !1,\n stream: null\n }), i(e);\n });\n } else t.logger.error(\"Media access denied: \" + (n ? n.message || n.name || n : \"unknown\")), h.Client.getInstance().dispatchEvent({\n name: v.Events.MicAccessResult,\n result: !1,\n stream: null\n }), i(n);\n });else {\n var s = null,\n c = null;\n a.audio && (s = {\n audio: a.audio\n }), a.video && (c = {\n video: a.video\n }), navigator.mediaDevices.getUserMedia(s).then(function (e) {\n t.logger.info(\"Audio access granted\"), c ? navigator.mediaDevices.getUserMedia(c).then(function (n) {\n t.logger.info(\"Video access granted\");\n var i = new MediaStream();\n e.getTracks().forEach(function (e) {\n i.addTrack(e);\n }), n.getTracks().forEach(function (e) {\n i.addTrack(e);\n }), t._callStreams[o] = i, i.getTracks().forEach(function (e) {\n e.onended = t.onCallEnded, e.onmute = t.onCallEnded;\n }), h.Client.getInstance().dispatchEvent({\n name: v.Events.MicAccessResult,\n result: !0,\n stream: i\n }), r(i);\n }, function (n) {\n t.logger.error(\"Video access denied: \" + (n ? n.message || n.name || n : \"unknown\")), t._callStreams[o] = e, e.getTracks().forEach(function (e) {\n e.onended = t.onCallEnded, e.onmute = t.onCallEnded;\n }), h.Client.getInstance().dispatchEvent({\n name: v.Events.MicAccessResult,\n result: !0,\n stream: e\n }), r(e);\n }) : (t._callStreams[o] = e, e.getTracks().forEach(function (e) {\n e.onended = t.onCallEnded, e.onmute = t.onCallEnded;\n }), h.Client.getInstance().dispatchEvent({\n name: v.Events.MicAccessResult,\n result: !0,\n stream: e\n }), r(e));\n }, function (e) {\n t.logger.error(\"Audio access denied: \" + (e ? e.message || e.name || e : \"unknown\")), h.Client.getInstance().dispatchEvent({\n name: v.Events.MicAccessResult,\n result: !1,\n stream: null\n }), i(e);\n });\n }\n }\n });\n }\n }, {\n key: \"_updateCallStream\",\n value: function value(e) {\n return this.remCallStream(e), this.getCallStream(e);\n }\n }, {\n key: \"updateCallStream\",\n value: function value(e) {\n var t = this;\n return this.logger.info(\"Updating call \" + e.id() + \" stream\"), new Promise(function (n, r) {\n var i = t._callStreams[e.id()];\n\n t.getCallStream(e, !0).then(function (n) {\n var r = i.getTracks(),\n o = n.getTracks(),\n a = r.map(function (e) {\n return e.kind;\n }).sort(),\n s = o.map(function (e) {\n return e.kind;\n }).sort();\n return r.length === o.length && a.every(function (e, t) {\n return e === s[t];\n }) ? e.peerConnection.updateCustomMedia(n) : (e.peerConnection.fastRemoveCustomMedia(i), t._remCallStream(i), e.peerConnection.addCustomMedia(n));\n }).then(n).catch(r);\n });\n }\n }, {\n key: \"remCallStream\",\n value: function value(e) {\n var t = void 0 === e ? \"__default\" : e.id();\n this._callStreams[t] && (this._remCallStream(this._callStreams[t]), this._callStreams[t] = void 0, delete this._callStreams[t]);\n }\n }, {\n key: \"_remCallStream\",\n value: function value(e) {\n e && (p.default.isIphone() || e.getTracks().forEach(function (t) {\n t.onended = void 0, t.onmute = void 0, t.stop(), e.removeTrack(t);\n }));\n }\n }, {\n key: \"clear\",\n value: function value() {\n this._mirrorStream && this._mirrorStream.getTracks().forEach(function (e) {\n e.onended = void 0, e.onmute = void 0, e.stop();\n }), this._mirrorStream = void 0;\n\n for (var e in this._callStreams) {\n if (this._callStreams.hasOwnProperty(e)) {\n var t = this._callStreams[e];\n t && t.getTracks().forEach(function (e) {\n e.onended = void 0, e.onmute = void 0, e.stop();\n });\n }\n }\n\n this._callStreams = {};\n }\n }, {\n key: \"getLocalMediaRenderers\",\n value: function value() {\n return this._localMediaRenderers;\n }\n }, {\n key: \"showLocalVideo\",\n value: function value() {\n var e = this,\n t = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0];\n if (this._mirrorMediaRendererId) throw new Error(\"Local video already displayed. Please, use Hardware.StreamManager.get().hideLocalVideo before request a new one.\");\n return new Promise(function (n, r) {\n d.default.StreamManager.get().getMirrorStream().then(function (r) {\n var i = new y.MediaRenderer(r, \"video\", t, !0, \"voximplantlocalvideo\");\n e._localMediaRenderers.push(i), e._mirrorMediaRendererId = i.id, n(i), e.dispatchEvent({\n name: d.default.HardwareEvents.MediaRendererAdded,\n renderer: i\n });\n }).catch(r);\n });\n }\n }, {\n key: \"hideLocalVideo\",\n value: function value() {\n var e = this;\n if (this._mirrorMediaRendererId) return new Promise(function (t, n) {\n var r = e._localMediaRenderers.filter(function (t) {\n return t.id === e._mirrorMediaRendererId;\n });\n\n r && r.forEach(function (e) {\n e.clear();\n }), e.remMirrorStream(), e._localMediaRenderers = e._localMediaRenderers.filter(function (t) {\n return t.id !== e._mirrorMediaRendererId;\n }), e._mirrorMediaRendererId = void 0, t();\n });\n throw new Error(\"Local video not displayed yet. Please, use Hardware.StreamManager.get().showLocalVideo to request a new one.\");\n }\n }, {\n key: \"on\",\n value: function value(e, n, r) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"on\", this).call(this, e, n);\n }\n }, {\n key: \"off\",\n value: function value(e, n) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"off\", this).call(this, e, n);\n }\n }, {\n key: \"_newScreenSharing\",\n value: function value(e, t) {\n var n = this;\n return h.Client.getInstance().config().experiments && h.Client.getInstance().config().experiments.customScreenMedia ? new Promise(function (r, i) {\n h.Client.getInstance().config().experiments.customScreenMedia({\n call: e\n }).then(function (i) {\n var o = {\n stream: i,\n renderer: null\n };\n\n if (t) {\n var a = new y.MediaRenderer(i, \"sharing\", !0, !0);\n o.renderer = a, n.dispatchEvent({\n name: d.default.HardwareEvents.MediaRendererAdded,\n renderer: a\n }), a.onBeforeDestroy = function () {\n o.renderer = null, n._sharingStreams[e.id()] = n._sharingStreams[e.id()].filter(function (e) {\n return e.stream.id !== i.id;\n }), e.peerConnection.removeCustomMedia(o.stream).then(function () {\n o.stream = void 0;\n });\n };\n } else i.getTracks().forEach(function (t) {\n t.onended = function () {\n i.getTracks().some(function (e) {\n return \"live\" === e.readyState;\n }) || (n._sharingStreams[e.id()] = n._sharingStreams[e.id()].filter(function (e) {\n return e.stream.id !== i.id;\n }), e.peerConnection.removeCustomMedia(o.stream).then(function () {\n o.stream = void 0;\n }));\n };\n });\n\n void 0 === n._sharingStreams[e.id()] && (n._sharingStreams[e.id()] = []), n._sharingStreams[e.id()].push(o), r(o);\n }).catch(function (e) {\n i(e);\n });\n }) : new Promise(function (r, i) {\n p.default.getScreenMedia().then(function (i) {\n n.logger.info(\"Media access granted\");\n var o = {\n stream: i,\n renderer: null\n };\n\n if (t) {\n var a = new y.MediaRenderer(i, \"sharing\", !0, !0);\n o.renderer = a, n.dispatchEvent({\n name: d.default.HardwareEvents.MediaRendererAdded,\n renderer: a\n }), a.onBeforeDestroy = function () {\n o.renderer = null, n._sharingStreams[e.id()] = n._sharingStreams[e.id()].filter(function (e) {\n return e.stream.id !== i.id;\n }), e.peerConnection.removeCustomMedia(o.stream).then(function () {\n o.stream = void 0;\n });\n };\n } else i.getTracks().forEach(function (t) {\n t.onended = function () {\n i.getTracks().some(function (e) {\n return \"live\" === e.readyState;\n }) || (n._sharingStreams[e.id()] = n._sharingStreams[e.id()].filter(function (e) {\n return e.stream.id !== i.id;\n }), e.peerConnection.removeCustomMedia(o.stream).then(function () {\n o.stream = void 0;\n }));\n };\n });\n\n void 0 === n._sharingStreams[e.id()] && (n._sharingStreams[e.id()] = []), n._sharingStreams[e.id()].push(o), r(o);\n }).catch(function (e) {\n n.logger.error(\"Media access denied: \" + (e ? e.message || e.name || e : \"unknown\")), i(e);\n });\n });\n }\n }, {\n key: \"_getScreenSharing\",\n value: function value(e) {\n return void 0 !== this._sharingStreams[e.id()] ? this._sharingStreams[e.id()] : [];\n }\n }, {\n key: \"_clearScreenSharing\",\n value: function value(e, t) {\n var n = this;\n return new Promise(function (r, i) {\n n._sharingStreams[e.id()] = n._sharingStreams[e.id()].filter(function (e) {\n return e.stream.id !== t.stream.id;\n }), t.renderer && (n.dispatchEvent({\n name: d.default.HardwareEvents.BeforeMediaRendererRemoved,\n renderer: t.renderer\n }), t.renderer.clear(), n.dispatchEvent({\n name: d.default.HardwareEvents.MediaRendererRemoved,\n renderer: t.renderer\n }), t.renderer = void 0), t.stream.getTracks().forEach(function (e) {\n e.stop();\n }), r();\n });\n }\n }, {\n key: \"_getTracksKind\",\n value: function value(e) {\n var t = {},\n n = this._callStreams[e.id()];\n\n void 0 !== n && n.getTracks().forEach(function (e) {\n return t[e.id] = e.kind;\n });\n\n var r = this._sharingStreams[e.id()];\n\n return void 0 !== r && r.forEach(function (e) {\n e.stream.getTracks().forEach(function (e) {\n return t[e.id] = \"sharing\";\n });\n }), t;\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"StreamManager\";\n }\n }, {\n key: \"onMirrorEnded\",\n value: function value() {\n var e = this;\n this.remMirrorStream(), this.getMirrorStream().then(function (t) {\n e.dispatchEvent({\n name: d.default.HardwareEvents.BeforeMediaRendererRemoved,\n renderer: t\n }), e.dispatchEvent({\n name: d.default.HardwareEvents.MediaRendererRemoved,\n renderer: null\n });\n });\n }\n }, {\n key: \"onCallEnded\",\n value: function value() {}\n }, {\n key: \"_composeConstraints\",\n value: function value(e) {\n var t = void 0 === e ? \"__default\" : e.id(),\n n = {};\n return \"__default\" !== t && void 0 !== e && e.settings.videoDirections.sendVideo ? n.video = f.CameraManager.get().getCallConstraints(t) : n.video = !1, \"__default\" === t || e.settings.audioDirections.sendAudio ? n.audio = m.AudioDeviceManager.get().getCallConstraints(t) : n.audio = !1, n;\n }\n }], [{\n key: \"get\",\n value: function value() {\n return void 0 === t.instance && (t.instance = new t()), t.instance;\n }\n }]), t;\n }(g.EventTarget);\n\n l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"getMirrorStream\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"remMirrorStream\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"getCallStream\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"_updateCallStream\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"updateCallStream\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"remCallStream\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"_remCallStream\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"clear\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"getLocalMediaRenderers\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"showLocalVideo\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"hideLocalVideo\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"on\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"off\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"_newScreenSharing\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"_getScreenSharing\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"_clearScreenSharing\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"_getTracksKind\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"onMirrorEnded\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"onCallEnded\", null), l([u.LogManager.d_trace(u.LogCategory.HARDWARE)], C.prototype, \"_composeConstraints\", null), t.StreamManager = C;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n !function (e) {\n e[e.InfoUpdated = \"InfoUpdated\"] = \"InfoUpdated\", e[e.Removed = \"Removed\"] = \"Removed\", e[e.RemoteMediaAdded = \"RemoteMediaAdded\"] = \"RemoteMediaAdded\", e[e.RemoteMediaRemoved = \"RemoteMediaRemoved\"] = \"RemoteMediaRemoved\", e[e.RTCStatsReceived = \"RTCStatsReceived\"] = \"RTCStatsReceived\";\n }(t.EndpointEvents || (t.EndpointEvents = {}));\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t, n) {\n return t in e ? Object.defineProperty(e, t, {\n value: n,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[t] = n, e;\n }\n\n function i(e) {\n if (Array.isArray(e)) {\n for (var t = 0, n = Array(e.length); t < e.length; t++) {\n n[t] = e[t];\n }\n\n return n;\n }\n\n return Array.from(e);\n }\n\n function o(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var a = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n s = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n c = function c(e, t, n, r) {\n var i,\n o = arguments.length,\n a = o < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : s(Reflect)) && \"function\" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (a = (o < 3 ? i(a) : o > 3 ? i(t, n, a) : i(t, n)) || a);\n }\n return o > 3 && a && Object.defineProperty(t, n, a), a;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var l = n(0),\n u = n(12),\n d = n(1),\n g = n(5),\n f = n(4),\n p = n(58),\n v = n(59),\n h = function () {\n function e() {\n o(this, e), this._calls = new WeakMap(), this.preferredVideoCodec = \"\", this.preferredVideoCodec = d.Client.getInstance().config().H264first ? \"video/H264\" : d.Client.getInstance().config().VP8first ? \"video/VP8\" : \"\";\n }\n\n return a(e, [{\n key: \"addCall\",\n value: function value(e) {\n e && \"object\" === (void 0 === e ? \"undefined\" : s(e)) && this._calls.set(e, {\n codecMismatch: {\n audioLevel: v.Statistic.QualityIssueLevel.None,\n videoLevel: v.Statistic.QualityIssueLevel.None,\n sharingLevel: v.Statistic.QualityIssueLevel.None,\n audioChecks: 0,\n videoChecks: 0,\n sharingChecks: 0\n },\n highMediaLatency: {\n levels: [],\n latencies: [],\n lastJitterBuffers: {},\n prevLevel: v.Statistic.QualityIssueLevel.None\n },\n ICEDisconnected: {\n level: v.Statistic.QualityIssueLevel.None\n },\n localVideoDegradation: {\n videoLevel: v.Statistic.QualityIssueLevel.None,\n sharingLevel: v.Statistic.QualityIssueLevel.None\n },\n noAudioSignal: {\n level: v.Statistic.QualityIssueLevel.None\n },\n packetLoss: {\n level: v.Statistic.QualityIssueLevel.None,\n lastLost: 0,\n lastTotal: 0,\n checks: 0\n }\n });\n }\n }, {\n key: \"deleteCall\",\n value: function value(e) {\n e && \"object\" === (void 0 === e ? \"undefined\" : s(e)) && this._calls.has(e) && this._calls.delete(e);\n }\n }, {\n key: \"analyzeCallStats\",\n value: function value(e, t) {\n if (e && \"object\" === (void 0 === e ? \"undefined\" : s(e)) && this._calls.has(e)) {\n var n = this._calls.get(e),\n r = f.default.StreamManager.get()._getTracksKind(e);\n\n e.state() === u.CallState.ALERTING || e.state() === u.CallState.PROGRESSING || e.state() === u.CallState.ENDED || (n.codecMismatch = this.checkCodecMismatch(e, t, r, n.codecMismatch), n.highMediaLatency = this.checkMediaLatency(e, t, r, n.highMediaLatency), n.localVideoDegradation = this.checkLocalVideoDegradation(e, t, r, n.localVideoDegradation), n.packetLoss = this.checkPacketLoss(e, t, n.packetLoss)), this._calls.set(e, n);\n }\n }\n }, {\n key: \"checkICEConnection\",\n value: function value(e, t) {\n if (e && \"object\" === (void 0 === e ? \"undefined\" : s(e)) && this._calls.has(e)) {\n var n = this._calls.get(e);\n\n \"failed\" === t && n.ICEDisconnected.level !== v.Statistic.QualityIssueLevel.Critical ? (e.dispatchEvent({\n call: e,\n name: g.CallEvents.QualityIssueICEDisconnected,\n level: v.Statistic.QualityIssueLevel.Critical\n }), n.ICEDisconnected.level = v.Statistic.QualityIssueLevel.Critical, this._calls.set(e, n)) : \"failed\" !== t && n.ICEDisconnected.level === v.Statistic.QualityIssueLevel.Critical && (e.dispatchEvent({\n call: e,\n name: g.CallEvents.QualityIssueICEDisconnected,\n level: v.Statistic.QualityIssueLevel.None\n }), n.ICEDisconnected.level = v.Statistic.QualityIssueLevel.None, this._calls.set(e, n));\n }\n }\n }, {\n key: \"checkCodecMismatch\",\n value: function value(t, n, r, i) {\n var o = n.filter(function (e) {\n return \"codec\" === e.type;\n });\n\n if (o.length) {\n var a = Object.keys(r).find(function (e) {\n return r[e] === p.TrackType.video;\n }),\n s = Object.keys(r).find(function (e) {\n return r[e] === p.TrackType.audio;\n }),\n c = Object.keys(r).find(function (e) {\n return r[e] === p.TrackType.sharing;\n }),\n l = n.filter(function (e) {\n return \"track\" === e.type;\n }),\n u = n.filter(function (e) {\n return \"outbound-rtp\" === e.type;\n }),\n d = (l.find(function (e) {\n return e.trackIdentifier === a;\n }) || {\n id: void 0\n }).id,\n f = (l.find(function (e) {\n return e.trackIdentifier === s;\n }) || {\n id: void 0\n }).id,\n h = (l.find(function (e) {\n return e.trackIdentifier === c;\n }) || {\n id: void 0\n }).id,\n m = u.find(function (e) {\n return e.trackId === d;\n }),\n y = u.find(function (e) {\n return e.trackId === f;\n }),\n C = u.find(function (e) {\n return e.trackId === h;\n }),\n S = m && m.codecId ? m.codecId : void 0,\n _ = y && y.codecId ? y.codecId : void 0,\n E = C && C.codecId ? C.codecId : void 0,\n L = (o.find(function (e) {\n return e.id === S;\n }) || {\n mimeType: void 0\n }).mimeType,\n M = (o.find(function (e) {\n return e.id === _;\n }), (o.find(function (e) {\n return e.id === E;\n }) || {\n mimeType: void 0\n }).mimeType),\n b = t.settings.H264first ? \"video/H264\" : t.settings.VP8first ? \"video/VP8\" : this.preferredVideoCodec,\n R = void 0 === L,\n T = void 0 === L;\n\n m && m.bytesSent && (R ? i.videoLevel === v.Statistic.QualityIssueLevel.Critical && i.videoChecks > e.MAX_STATS_CHECKS ? (t.dispatchEvent({\n call: t,\n name: g.CallEvents.QualityIssueCodecMismatch,\n level: v.Statistic.QualityIssueLevel.Critical,\n kind: p.TrackType.video,\n sendCodec: L\n }), i.videoLevel = v.Statistic.QualityIssueLevel.Critical, i.videoChecks = 0) : (i.videoLevel = v.Statistic.QualityIssueLevel.Critical, i.videoChecks = i.videoChecks + 1) : b && b !== L && (t.dispatchEvent({\n call: t,\n name: g.CallEvents.QualityIssueCodecMismatch,\n level: v.Statistic.QualityIssueLevel.Major,\n kind: p.TrackType.video,\n sendCodec: L\n }), i.videoLevel = v.Statistic.QualityIssueLevel.Major, i.videoChecks = 0)), C && C.bytesSent && (T ? i.sharingLevel === v.Statistic.QualityIssueLevel.Critical && i.sharingChecks > e.MAX_STATS_CHECKS ? (t.dispatchEvent({\n call: t,\n name: g.CallEvents.QualityIssueCodecMismatch,\n level: v.Statistic.QualityIssueLevel.Critical,\n kind: p.TrackType.sharing,\n sendCodec: M\n }), i.sharingLevel = v.Statistic.QualityIssueLevel.Critical, i.sharingChecks = 0) : (i.sharingLevel = v.Statistic.QualityIssueLevel.Critical, i.sharingChecks = i.videoChecks + 1) : b && b !== M && (t.dispatchEvent({\n call: t,\n name: g.CallEvents.QualityIssueCodecMismatch,\n level: v.Statistic.QualityIssueLevel.Major,\n kind: p.TrackType.sharing,\n sendCodec: M\n }), i.sharingLevel = v.Statistic.QualityIssueLevel.Major, i.sharingChecks = 0));\n }\n\n return i;\n }\n }, {\n key: \"checkMediaLatency\",\n value: function value(e, t, n, o) {\n var a = t.find(function (e) {\n return \"candidate-pair\" === e.type && (e.selected || e.nominated && \"succeeded\" === e.state);\n }),\n s = t.filter(function (e) {\n return \"inbound-rtp\" === e.type;\n }),\n c = t.filter(function (e) {\n return \"track\" === e.type && s.some(function (t) {\n return t.trackId === e.id;\n });\n }),\n l = c.reduce(function (e, t) {\n var n = void 0 !== t.jitterBufferDelay ? t.jitterBufferDelay - (o.lastJitterBuffers[t.id] || {\n delay: 0\n }).delay : void 0,\n r = void 0 !== t.jitterBufferEmittedCount ? t.jitterBufferEmittedCount - (o.lastJitterBuffers[t.id] || {\n emittedCount: 0\n }).emittedCount : void 0,\n i = void 0 !== n && r ? 1e3 * n / r : 0;\n return i > e ? i : e;\n }, 0),\n u = 1e3 * (a && a.currentRoundTripTime || 0),\n d = Math.round(u / 2 + l);\n\n if (o.latencies.push(d), d > 300 ? o.levels.push(v.Statistic.QualityIssueLevel.Critical) : d > 200 ? o.levels.push(v.Statistic.QualityIssueLevel.Major) : d > 100 ? o.levels.push(v.Statistic.QualityIssueLevel.Minor) : o.levels.push(v.Statistic.QualityIssueLevel.None), 5 === o.levels.length) {\n var f = [v.Statistic.QualityIssueLevel.Critical, v.Statistic.QualityIssueLevel.Major, v.Statistic.QualityIssueLevel.Minor, v.Statistic.QualityIssueLevel.None],\n p = o.levels.reduce(function (e, t) {\n return e[f.indexOf(t)]++, e;\n }, [0, 0, 0, 0]);\n\n if (p.includes(5)) {\n var h = f[p.indexOf(5)];\n h === v.Statistic.QualityIssueLevel.None && o.prevLevel === v.Statistic.QualityIssueLevel.None || e.dispatchEvent({\n call: e,\n name: g.CallEvents.QualityIssueHighMediaLatency,\n level: h,\n latency: d\n }), o.prevLevel = h;\n } else {\n var m = p.reduce(function (e, t, n) {\n return 2 !== e.length && t && e.push(n), e;\n }, []),\n y = Math.log1p(p[m[0]]) - Math.log1p(p[m[1]]),\n C = f[y > .5 ? m[0] : m[1]],\n S = o.levels.map(function (e, t) {\n return e === C ? o.latencies[t] : 0;\n });\n C === v.Statistic.QualityIssueLevel.None && o.prevLevel === v.Statistic.QualityIssueLevel.None || e.dispatchEvent({\n call: e,\n name: g.CallEvents.QualityIssueHighMediaLatency,\n level: C,\n latency: Math.max.apply(Math, i(S))\n }), o.prevLevel = C;\n }\n\n o.levels = [], o.latencies = [];\n }\n\n return o.lastJitterBuffers = c.reduce(function (e, t) {\n return Object.assign(e, r({}, t.id, {\n delay: t.jitterBufferDelay,\n emittedCount: t.jitterBufferEmittedCount\n }));\n }, {}), o;\n }\n }, {\n key: \"checkLocalVideoDegradation\",\n value: function value(e, t, n, r) {\n var i = n ? Object.keys(n).find(function (e) {\n return n[e] === p.TrackType.video;\n }) : void 0,\n o = n ? Object.keys(n).find(function (e) {\n return n[e] === p.TrackType.sharing;\n }) : void 0;\n\n if (i) {\n var a = t.filter(function (e) {\n return \"track\" === e.type;\n }).find(function (e) {\n return e.trackIdentifier === i;\n });\n\n if (a && a.frameHeight && a.frameWidth) {\n var s = f.default.CameraManager.get().getCallVideoSettings(e),\n c = Math.min(a.frameWidth, a.frameHeight) / Math.min(s.frameWidth || 320, s.frameHeight || 240),\n l = v.Statistic.QualityIssueLevel.None;\n l = c < .5 ? v.Statistic.QualityIssueLevel.Critical : c <= .7 ? v.Statistic.QualityIssueLevel.Major : c <= .85 ? v.Statistic.QualityIssueLevel.Minor : v.Statistic.QualityIssueLevel.None, r.videoLevel !== l && (e.dispatchEvent({\n call: e,\n name: g.CallEvents.QualityIssueLocalVideoDegradation,\n level: l,\n kind: p.TrackType.video,\n targetWidth: s.frameWidth || 320,\n targetHeight: s.frameHeight || 240,\n actualWidth: a.frameWidth,\n actualHeight: a.frameHeight\n }), r.videoLevel = l);\n }\n }\n\n if (o) {\n var u = t.filter(function (e) {\n return \"track\" === e.type;\n }).find(function (e) {\n return e.trackIdentifier === o;\n });\n\n if (u && void 0 !== u.framesPerSecond) {\n var d = v.Statistic.QualityIssueLevel.None;\n d = u.framesPerSecond < 4 ? v.Statistic.QualityIssueLevel.Critical : u.framesPerSecond < 8 ? v.Statistic.QualityIssueLevel.Major : u.framesPerSecond < 15 ? v.Statistic.QualityIssueLevel.Minor : v.Statistic.QualityIssueLevel.None, r.sharingLevel !== d && (e.dispatchEvent({\n call: e,\n name: g.CallEvents.QualityIssueLocalVideoDegradation,\n level: d,\n kind: p.TrackType.sharing,\n fps: u.framesPerSecond\n }), r.sharingLevel = d);\n }\n }\n\n return r;\n }\n }, {\n key: \"checkAudioSignal\",\n value: function value(e, t, n, r) {\n var i = n ? Object.keys(n).find(function (e) {\n return n[e] === p.TrackType.audio;\n }) : void 0;\n\n if (i) {\n var o = t.filter(function (e) {\n return \"track\" === e.type;\n }).find(function (e) {\n return e.trackIdentifier === i;\n });\n o && void 0 !== o.audioLevel && o.audioLevel > 0 && r.level === v.Statistic.QualityIssueLevel.Critical && (e.dispatchEvent({\n call: e,\n name: g.CallEvents.QualityIssueNoAudioSignal,\n level: v.Statistic.QualityIssueLevel.None\n }), r.level = v.Statistic.QualityIssueLevel.None), o && void 0 !== o.audioLevel && 0 === o.audioLevel && (e.dispatchEvent({\n call: e,\n name: g.CallEvents.QualityIssueNoAudioSignal,\n level: v.Statistic.QualityIssueLevel.Critical\n }), r.level = v.Statistic.QualityIssueLevel.Critical);\n }\n\n return r;\n }\n }, {\n key: \"checkPacketLoss\",\n value: function value(e, t, n) {\n var r = t.filter(function (e) {\n return \"inbound-rtp\" === e.type;\n });\n\n if (n.checks = n.checks + 1, 5 === n.checks) {\n var i = r.length ? r.reduce(function (e, t) {\n return {\n lost: e.lost + (t.packetsLost || 0),\n total: e.total + (t.packetsLost || 0) + (t.packetsReceived || 0)\n };\n }, {\n lost: 0,\n total: 0\n }) : {\n lost: 0,\n total: 0\n },\n o = i.total - n.lastTotal ? (i.lost - n.lastLost) / (i.total - n.lastTotal) : 0,\n a = v.Statistic.QualityIssueLevel.None;\n a = o >= .15 ? v.Statistic.QualityIssueLevel.Critical : o >= .1 ? v.Statistic.QualityIssueLevel.Major : o >= .05 ? v.Statistic.QualityIssueLevel.Minor : v.Statistic.QualityIssueLevel.None, n.level !== a && (e.dispatchEvent({\n call: e,\n name: g.CallEvents.QualityIssuePacketLoss,\n level: a,\n packetLoss: o\n }), n.level = a), n.lastLost = i.lost, n.lastTotal = i.total, n.checks = 0;\n }\n\n return n;\n }\n }, {\n key: \"checkLowBandwidth\",\n value: function value() {}\n }], [{\n key: \"get\",\n value: function value() {\n return void 0 === this.inst && (this.inst = new e()), this.inst;\n }\n }]), e;\n }();\n\n h.MAX_STATS_CHECKS = 4, c([l.LogManager.d_trace(l.LogCategory.RTC)], h.prototype, \"addCall\", null), c([l.LogManager.d_trace(l.LogCategory.RTC)], h.prototype, \"deleteCall\", null), t.CallStatsAnalyzer = h;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(5),\n c = n(0),\n l = function () {\n function e(t, n) {\n var i = this;\n r(this, e), this._pcStatus = n, this._q = [], t.on(s.CallEvents.Updated, function (t) {\n if (c.LogManager.get().writeMessage(c.LogCategory.REINVITEQ, \"CallEvent\", c.LogLevel.TRACE, \"Updated with result \" + t.result), e._currentReinvite) {\n var n = e._currentReinvite;\n t.result ? n.resolve(t) : n.reject(t), e._currentReinvite = void 0;\n }\n\n i.runNext();\n }), t.on(s.CallEvents.PendingUpdate, function (t) {\n c.LogManager.get().writeMessage(c.LogCategory.REINVITEQ, \"CallEvent\", c.LogLevel.TRACE, \"IncomingUpdate. Local RI==\" + o(e._currentReinvite)), e._currentReinvite && (e._currentReinvite.reject(), e._currentReinvite = void 0);\n }), t.on(s.CallEvents.UpdateFailed, function (t) {\n c.LogManager.get().writeMessage(c.LogCategory.REINVITEQ, \"CallEvent\", c.LogLevel.TRACE, \"UpdateFailed\"), e._currentReinvite && (e._currentReinvite.reject(), e._currentReinvite = void 0);\n });\n }\n\n return i(e, [{\n key: \"runNext\",\n value: function value() {\n void 0 === e._currentReinvite && this._q.length > 0 && this._pcStatus() && (e._currentReinvite = this._q.splice(0, 1)[0], e._currentReinvite.fx());\n }\n }, {\n key: \"add\",\n value: function value(e) {\n this._q.push(e), this.runNext();\n }\n }, {\n key: \"clear\",\n value: function value() {\n this._q.forEach(function (e) {\n e.reject();\n });\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"ReInviteQ\";\n }\n }]), e;\n }();\n\n a([c.LogManager.d_trace(c.LogCategory.REINVITEQ)], l.prototype, \"runNext\", null), a([c.LogManager.d_trace(c.LogCategory.REINVITEQ)], l.prototype, \"add\", null), a([c.LogManager.d_trace(c.LogCategory.REINVITEQ)], l.prototype, \"clear\", null), t.ReInviteQ = l;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = function () {\n function e(t) {\n r(this, e), this.str = t || e.getNewGUIDString();\n }\n\n return i(e, [{\n key: \"toString\",\n value: function value() {\n return this.str;\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"GUID\";\n }\n }], [{\n key: \"getNewGUIDString\",\n value: function value() {\n var e = new Date().getTime();\n return window.performance && \"function\" == typeof window.performance.now && (e += performance.now()), \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, function (t) {\n var n = (e + 16 * Math.random()) % 16 | 0;\n return e = Math.floor(e / 16), (\"x\" == t ? n : 3 & n | 8).toString(16);\n });\n }\n }]), e;\n }();\n\n t.default = o;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(0),\n c = n(25),\n l = n(44),\n u = n(26),\n d = n(18),\n g = n(27),\n f = n(41),\n p = n(19),\n v = function () {\n function e(t) {\n r(this, e), this._backup = {}, this._uuid = t.uuid, this._participants = t.participants, this._title = t.title, this._direct = t.direct, this._publicJoin = t.publicJoin, this._uberConversation = t.uberConversation, this._customData = t.customData, this._createdAt = t.createdAt, this._lastUpdate = t.lastUpdate, this._lastSeq = Number(t.lastSeq);\n }\n\n return i(e, [{\n key: \"updateSeq\",\n value: function value(e) {\n \"number\" == typeof e && e > this._lastSeq && (this._lastSeq = e), this._lastUpdate = Date.now() / 1e3 | 0;\n }\n }, {\n key: \"toCache\",\n value: function value() {\n return {\n uuid: this._uuid,\n title: this._title,\n participants: this._participants,\n direct: this._direct,\n publicJoin: this._publicJoin,\n uberConversation: this._uberConversation,\n createdAt: this._createdAt,\n lastUpdate: this._lastUpdate,\n customData: this._customData,\n lastSeq: this._lastSeq\n };\n }\n }, {\n key: \"_getCreatePayload\",\n value: function value() {\n return {\n participants: this._prepareParticipants(this._participants).map(function (e) {\n return Object.assign(e, {\n flags: e.flags ? e.flags : 7\n });\n }),\n title: \"string\" == typeof this._title ? this._title : \"\",\n direct: \"boolean\" == typeof this._direct && this._direct,\n enable_public_join: \"boolean\" == typeof this._publicJoin && this._publicJoin,\n uber_conversation: \"boolean\" == typeof this._uberConversation ? this._uberConversation : void 0,\n custom_data: \"object\" == o(this._customData) ? this._customData : {}\n };\n }\n }, {\n key: \"_getEditPayload\",\n value: function value() {\n if (void 0 === this._uuid) throw Error(\"You must get conversation UUID with MessengetAction.getConversation() action!\");\n return {\n uuid: this._uuid,\n title: \"string\" == typeof this._title ? this._title : \"\",\n enable_public_join: \"boolean\" == typeof this._publicJoin && this._publicJoin,\n custom_data: \"object\" == o(this._customData) ? this._customData : {}\n };\n }\n }, {\n key: \"_getUserPermissions\",\n value: function value(e) {\n var t = (e.isOwner ? \"1000000000\" : \"\") + [e.canRemoveAll, e.canEditAll, e.canManageParticipants, e.canRemove, e.canEdit, e.canWrite].map(function (e) {\n return e ? 1 : 0;\n }).join(\"\");\n return parseInt(t, 2);\n }\n }, {\n key: \"_prepareParticipants\",\n value: function value(e) {\n var t = this;\n return e.map(function (e) {\n return {\n user_id: e.userId,\n flags: t._getUserPermissions(e),\n last_read: e.lastRead\n };\n });\n }\n }, {\n key: \"_revertChanges\",\n value: function value() {\n var e = this;\n Object.keys(this._backup).forEach(function (t) {\n e[t] = e._backup[t];\n }), this._backup = {};\n }\n }, {\n key: \"update\",\n value: function value() {\n return l.default.get().editConversation(this);\n }\n }, {\n key: \"setTitle\",\n value: function value(e) {\n return \"string\" != typeof e ? c.Messenger.getInstance().reject(p.default.MessengerError.Error_0, p.default.MessengerAction.editConversation) : (this._backup.title = this._title, this._title = e, l.default.get().editConversation(this));\n }\n }, {\n key: \"setPublicJoin\",\n value: function value(e) {\n return \"boolean\" != typeof e ? c.Messenger.getInstance().reject(p.default.MessengerError.Error_0, p.default.MessengerAction.editConversation) : (this._backup.publicJoin = this._publicJoin, this._publicJoin = e, l.default.get().editConversation(this));\n }\n }, {\n key: \"setCustomData\",\n value: function value(e) {\n return !e || Array.isArray(e) || \"object\" != (void 0 === e ? \"undefined\" : o(e)) ? c.Messenger.getInstance().reject(p.default.MessengerError.Error_0, p.default.MessengerAction.editConversation) : (this._backup.customData = this._customData, this._customData = e, l.default.get().editConversation(this));\n }\n }, {\n key: \"addParticipants\",\n value: function value(e) {\n var t = this;\n return Array.isArray(e) && 0 != e.length ? new Promise(function (n, r) {\n var i = d.MsgSignaling.get().sendWsMessage(g.MsgAction.addParticipants, {\n uuid: t._uuid,\n participants: t._prepareParticipants(e)\n });\n\n c.Messenger.getInstance()._registerPromise(i, n, r);\n }) : c.Messenger.getInstance().reject(p.default.MessengerError.Error_0, p.default.MessengerAction.addParticipants);\n }\n }, {\n key: \"editParticipants\",\n value: function value(e) {\n var t = this;\n return Array.isArray(e) && 0 != e.length ? new Promise(function (n, r) {\n var i = d.MsgSignaling.get().sendWsMessage(g.MsgAction.editParticipants, {\n uuid: t._uuid,\n participants: t._prepareParticipants(e)\n });\n\n c.Messenger.getInstance()._registerPromise(i, n, r);\n }) : c.Messenger.getInstance().reject(p.default.MessengerError.Error_0, p.default.MessengerAction.editParticipants);\n }\n }, {\n key: \"removeParticipants\",\n value: function value(e) {\n var t = this;\n return Array.isArray(e) && 0 != e.length ? new Promise(function (n, r) {\n var i = d.MsgSignaling.get().sendWsMessage(g.MsgAction.removeParticipants, {\n uuid: t._uuid,\n participants: e.filter(function (e) {\n return void 0 !== e.userId;\n }).map(function (e) {\n return e.userId;\n })\n });\n\n c.Messenger.getInstance()._registerPromise(i, n, r);\n }) : c.Messenger.getInstance().reject(p.default.MessengerError.Error_0, p.default.MessengerAction.removeParticipants);\n }\n }, {\n key: \"sendMessage\",\n value: function value(e, t) {\n return \"string\" == typeof e && void 0 !== t && Array.isArray(t) && t.every(function (e) {\n return e && \"object\" === (void 0 === e ? \"undefined\" : o(e));\n }) ? new u.Message(e, t).sendTo(this) : c.Messenger.getInstance().reject(p.default.MessengerError.Error_0, p.default.MessengerAction.sendMessage);\n }\n }, {\n key: \"typing\",\n value: function value() {\n var e = this;\n return this._debounceLock ? Promise.resolve(!1) : (setTimeout(function () {\n e._debounceLock = !1;\n }, 1e4), this._debounceLock = !0, new Promise(function (t, n) {\n var r = d.MsgSignaling.get().sendWsMessage(g.MsgAction.typingMessage, {\n conversation: e._uuid\n });\n\n c.Messenger.getInstance()._registerPromise(r, t, n);\n }));\n }\n }, {\n key: \"markAsRead\",\n value: function value(e) {\n var t = this;\n return new Promise(function (n, r) {\n var i = d.MsgSignaling.get().sendWsMessage(g.MsgAction.isRead, {\n conversation: t._uuid,\n seq: e\n });\n\n c.Messenger.getInstance()._registerPromise(i, n, r);\n });\n }\n }, {\n key: \"retransmitEvents\",\n value: function value(e, t, n) {\n var r = this;\n return \"number\" != typeof t || \"number\" != typeof e ? c.Messenger.getInstance().reject(p.default.MessengerError.Error_0, p.default.MessengerAction.retransmitEvents) : new Promise(function (i, o) {\n var a = void 0,\n s = void 0,\n l = void 0;\n Promise.all(Array(t - e + 1).fill(0).map(function (t, n) {\n return n + e;\n }).map(function (e) {\n return new Promise(function (t, n) {\n var r = function n(r) {\n r.events && r.events[0] && Number(r.events[0].seq) === e && (clearTimeout(o), c.Messenger.getInstance().off(p.default.MessengerEvents.RetransmitEvents, n), c.Messenger.getInstance().off(p.default.MessengerEvents.Error, i), s || (s = r.initiator), l || (l = r.messengerAction), t(r.events[0]));\n },\n i = function t(i) {\n i.messengerAction == p.default.MessengerAction.retransmitEvents && i.events && i.events[0] && Number(i.events[0].seq) === e && (clearTimeout(o), c.Messenger.getInstance().off(p.default.MessengerEvents.RetransmitEvents, r), c.Messenger.getInstance().off(p.default.MessengerEvents.Error, t), n(i));\n },\n o = setTimeout(function () {\n c.Messenger.getInstance().off(p.default.MessengerEvents.RetransmitEvents, r), c.Messenger.getInstance().off(p.default.MessengerEvents.Error, i), c.Messenger.getInstance().reject(p.default.MessengerError.Error_0, p.default.MessengerAction.retransmitEvents).catch(n);\n }, c.Messenger.rejectTimeout);\n\n c.Messenger.getInstance().on(p.default.MessengerEvents.RetransmitEvents, r), c.Messenger.getInstance().on(p.default.MessengerEvents.Error, i);\n });\n })).then(function (e) {\n return i({\n initiator: s,\n messengerAction: l,\n events: e,\n requestUuid: a\n });\n }).catch(o), a = d.MsgSignaling.get().sendWsMessage(g.MsgAction.retransmitEvents, {\n conversation: r._uuid,\n events_from: 0 | e,\n events_to: 0 | t,\n count: n\n });\n });\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"Conversation\";\n }\n }, {\n key: \"uuid\",\n get: function get() {\n return this._uuid;\n }\n }, {\n key: \"title\",\n get: function get() {\n return this._title;\n },\n set: function set(e) {\n this._backup.title = this._title, this._title = e;\n }\n }, {\n key: \"createdAt\",\n get: function get() {\n return this._createdAt;\n }\n }, {\n key: \"lastUpdate\",\n get: function get() {\n return this._lastUpdate;\n }\n }, {\n key: \"direct\",\n get: function get() {\n return this._direct;\n }\n }, {\n key: \"uberConversation\",\n get: function get() {\n return this._uberConversation;\n }\n }, {\n key: \"publicJoin\",\n get: function get() {\n return this._publicJoin;\n },\n set: function set(e) {\n this._backup.publicJoin = this._publicJoin, this._publicJoin = e;\n }\n }, {\n key: \"participants\",\n get: function get() {\n return this._participants;\n }\n }, {\n key: \"customData\",\n get: function get() {\n return this._customData;\n },\n set: function set(e) {\n this._backup.customData = this._customData, this._customData = e;\n }\n }, {\n key: \"lastSeq\",\n get: function get() {\n return this._lastSeq;\n }\n }], [{\n key: \"_createFromBus\",\n value: function value(t, n) {\n return new e({\n participants: t.participants && Array.isArray(t.participants) ? t.participants.map(function (e) {\n var t = Number(e.flags) === f.MsgPermissions.all,\n n = Number(e.flags) > f.MsgPermissions.is_owner && e.flags < f.MsgPermissions.all,\n r = Number(e.flags).toString(2).slice(-6).split(\"\").reverse();\n return {\n userId: Number(e.user_id),\n lastRead: e.last_read,\n isOwner: t || n,\n canWrite: t || \"1\" === r[0],\n canEdit: t || \"1\" === r[1],\n canRemove: t || \"1\" === r[2],\n canManageParticipants: t || \"1\" === r[3],\n canEditAll: t || \"1\" === r[4],\n canRemoveAll: t || \"1\" === r[5]\n };\n }) : [],\n title: t.title,\n uuid: t.uuid,\n direct: t.direct,\n publicJoin: t.enable_public_join,\n uberConversation: t.uber_conversation,\n createdAt: t.created_at,\n lastUpdate: t.last_update,\n lastSeq: n,\n customData: t.custom_data && \"object\" === o(t.custom_data) ? t.custom_data : void 0\n });\n }\n }, {\n key: \"createFromCache\",\n value: function value(t) {\n return new e({\n uuid: t.uuid,\n title: t.title,\n participants: t.participants || [],\n direct: t.direct,\n publicJoin: t.publicJoin,\n uberConversation: t.uberConversation,\n createdAt: t.createdAt,\n lastUpdate: t.lastUpdate,\n customData: t.customData\n });\n }\n }]), e;\n }();\n\n a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"updateSeq\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"toCache\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"_getCreatePayload\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"_getEditPayload\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"_prepareParticipants\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"_revertChanges\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"update\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"addParticipants\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"editParticipants\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"removeParticipants\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"typing\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"markAsRead\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v.prototype, \"retransmitEvents\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v, \"_createFromBus\", null), a([s.LogManager.d_trace(s.LogCategory.MESSAGING)], v, \"createFromCache\", null), t.Conversation = v;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(0),\n c = n(29),\n l = function () {\n function e() {\n if (r(this, e), void 0 !== e.instance) throw new Error(\"Error - use StreamManager.get()\");\n navigator && navigator.mediaDevices && navigator.mediaDevices.getSupportedConstraints ? this._supportedConstraints = navigator.mediaDevices.getSupportedConstraints() : this._supportedConstraints = {}, this.__defaultParams = {}, this._lastAudioInputDevices = [], this._lastAudioOutputDevices = [], this._callParams = {}, this.logger = s.LogManager.get().createLogger(s.LogCategory.USERMEDIA, this._traceName());\n }\n\n return i(e, [{\n key: \"getAudioContext\",\n value: function value() {\n if (this.audioContext) return this.audioContext;\n\n if (void 0 !== window.AudioContext || void 0 !== window.webkitAudioContext) {\n window.AudioContext = window.AudioContext || window.webkitAudioContext;\n\n try {\n return this.audioContext = new AudioContext(), this.audioContext;\n } catch (e) {\n return this.audioContext = null, null;\n }\n }\n }\n }, {\n key: \"prepareAudioContext\",\n value: function value() {\n this.getAudioContext();\n }\n }, {\n key: \"getInputDevices\",\n value: function value() {\n var e = this;\n return navigator.mediaDevices.enumerateDevices().then(function (t) {\n return e.logger.info(\"Got input devices: \" + JSON.stringify(t)), e._lastAudioInputDevices = t.map(function (e) {\n if (\"audio\" === e.kind || \"audioinput\" === e.kind) return {\n id: e.deviceId,\n name: e.label,\n group: e.groupId\n };\n }).filter(function (e) {\n return void 0 !== e;\n }), e._lastAudioInputDevices;\n });\n }\n }, {\n key: \"getOutputDevices\",\n value: function value() {\n var e = this;\n return navigator.mediaDevices.enumerateDevices().then(function (t) {\n return e.logger.info(\"Got output devices: \" + JSON.stringify(t)), e._lastAudioOutputDevices = t.map(function (e) {\n if (\"audiooutput\" === e.kind) return {\n id: e.deviceId,\n name: e.label,\n group: e.groupId\n };\n }).filter(function (e) {\n return void 0 !== e;\n }), e._lastAudioOutputDevices;\n });\n }\n }, {\n key: \"getDefaultAudioSettings\",\n value: function value() {\n return this.__defaultParams;\n }\n }, {\n key: \"setDefaultAudioSettings\",\n value: function value(e) {\n this.logger.info(\"Set default audio settings: \" + JSON.stringify(e)), this.__defaultParams = e;\n }\n }, {\n key: \"setCallAudioSettings\",\n value: function value(e, t) {\n var n = this;\n return this.logger.info(\"Setting call \" + e.id + \" audio settings: \" + JSON.stringify(t)), new Promise(function (r, i) {\n n._callParams[e.id()] === t && r();\n var o = n._callParams[e.id()].outputId !== t.outputId,\n a = n._callParams[e.id()].inputId !== t.inputId || n._callParams[e.id()].noiseSuppression !== t.noiseSuppression || n._callParams[e.id()].echoCancellation !== t.echoCancellation || n._callParams[e.id()].disableAudio !== t.disableAudio;\n n.logger.info(\"Must update renderers: \" + o + \", must update source: \" + a), n._callParams[e.id()] = t, o && e.getEndpoints().forEach(function (e) {\n e.mediaRenderers.forEach(function (e) {\n return e.useAudioOutput(t.outputId);\n });\n }), a ? c.StreamManager.get().updateCallStream(e).then(function () {\n r();\n }).catch(function (t) {\n n.logger.warning(\"Failed to update call \" + e.id() + \" stream: \" + t), i(t);\n }) : r();\n });\n }\n }, {\n key: \"getCallAudioSettings\",\n value: function value(e) {\n return this._callParams[e.id()];\n }\n }, {\n key: \"getCallConstraints\",\n value: function value(e) {\n return this._callParams[e] ? this._getAudioConstraints(this._callParams[e]) : (this._callParams[e] = this.__defaultParams, this._getAudioConstraints(this.__defaultParams));\n }\n }, {\n key: \"_getAudioConstraints\",\n value: function value(e) {\n if (e.disableAudio) return !1;\n var t = \"ideal\";\n e.strict && (t = \"exact\");\n var n = {};\n return e.inputId && (this._lastAudioInputDevices && this._lastAudioInputDevices.some(function (t) {\n return t.id === e.inputId;\n }) ? (n.deviceId = {}, n.deviceId[t] = e.inputId) : this.logger.warning(\"There is no audio input device with id \" + e.inputId)), e.echoCancellation && this._supportedConstraints.echoCancellation && (n.echoCancellation = e.echoCancellation), e.noiseSuppression && this._supportedConstraints.noiseSuppression && (n.noiseSuppression = e.echoCancellation), e.autoGainControl && this._supportedConstraints.autoGainControl && (n.autoGainControl = e.autoGainControl), e.advanced && (n.advanced = e.advanced), !Object.keys(n) || n;\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"AudioDeviceManager\";\n }\n }], [{\n key: \"get\",\n value: function value() {\n return void 0 === e.instance && (e.instance = new e()), e.instance;\n }\n }]), e;\n }();\n\n a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], l.prototype, \"getInputDevices\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], l.prototype, \"getOutputDevices\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], l.prototype, \"getDefaultAudioSettings\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], l.prototype, \"setDefaultAudioSettings\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], l.prototype, \"setCallAudioSettings\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], l.prototype, \"getCallAudioSettings\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], l.prototype, \"getCallConstraints\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], l.prototype, \"_getAudioConstraints\", null), t.AudioDeviceManager = l;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(0),\n c = n(29),\n l = n(4),\n u = function () {\n function e() {\n if (r(this, e), void 0 !== e.instance) throw new Error(\"Error - use StreamManager.get()\");\n navigator && navigator.mediaDevices && navigator.mediaDevices.getSupportedConstraints ? this._supportedConstraints = navigator.mediaDevices.getSupportedConstraints() : this._supportedConstraints = {}, this._callParams = {}, this._lastCameraDevices = [], this.__defaultParams = {}, this.logger = s.LogManager.get().createLogger(s.LogCategory.USERMEDIA, this._traceName());\n }\n\n return i(e, [{\n key: \"setDefaultVideoSettings\",\n value: function value(e) {\n var t = this;\n return new Promise(function (n) {\n var r = t._validateCameraParams(e);\n\n t.logger.info(\"Setting default video settings, params: \" + JSON.stringify(e) + \", valid params: \" + JSON.stringify(r)), t.__defaultParams = r, n(null);\n });\n }\n }, {\n key: \"getDefaultVideoSettings\",\n value: function value() {\n return this.__defaultParams;\n }\n }, {\n key: \"setCallVideoSettings\",\n value: function value(e, t) {\n var n = this,\n r = this._validateCameraParams(t);\n\n return this.logger.info(\"Setting call \" + e.id() + \" video settings, params: \" + JSON.stringify(t) + \", valid params: \" + JSON.stringify(r)), this._callParams[e.id()] = r, new Promise(function (t, r) {\n c.StreamManager.get().updateCallStream(e).then(function () {\n t();\n }).catch(function (t) {\n n.logger.warning(\"Failed to set call \" + e.id() + \" video settings: \" + t), r(t);\n });\n });\n }\n }, {\n key: \"getCallVideoSettings\",\n value: function value(e) {\n return this._callParams[e.id()];\n }\n }, {\n key: \"getCallConstraints\",\n value: function value(e) {\n return this._callParams[e] ? this._getVideoConstraints(this._callParams[e]) : (this._callParams[e] = this.__defaultParams, this._getVideoConstraints(this.__defaultParams));\n }\n }, {\n key: \"getInputDevices\",\n value: function value() {\n var e = this;\n return navigator.mediaDevices.enumerateDevices().then(function (t) {\n return e.logger.info(\"Got input devices: \" + JSON.stringify(t)), e._lastCameraDevices = t.map(function (e) {\n if (\"video\" === e.kind || \"videoinput\" === e.kind) return {\n id: e.deviceId,\n name: e.label,\n group: e.groupId\n };\n }).filter(function (e) {\n return void 0 !== e;\n }), e._lastCameraDevices;\n });\n }\n }, {\n key: \"_getVideoConstraints\",\n value: function value(e) {\n var t = {};\n return e.cameraId ? this._lastCameraDevices && this._lastCameraDevices.some(function (t) {\n return t.id === e.cameraId;\n }) ? (t.deviceId = {}, t.deviceId.ideal = e.cameraId) : this.logger.warning(\"There is no video device with id \" + e.cameraId) : void 0 !== e.facingMode && (!1 === e.facingMode ? t.facingMode = \"environment\" : t.facingMode = \"user\"), e.frameHeight && (t.height = {}, e.strict ? t.height.min = e.frameHeight : t.height.ideal = e.frameHeight), e.frameWidth && (t.width = {}, e.strict ? t.width.min = e.frameWidth : t.width.ideal = e.frameWidth), e.frameRate && e.frameRate > 0 && this._supportedConstraints.frameRate && (t.frameRate = e.frameRate + \"\"), !Object.keys(t) || t;\n }\n }, {\n key: \"_validateCameraParams\",\n value: function value(e) {\n if (e.videoQuality) {\n (e.frameHeight || e.frameWidth) && this.logger.warning('\"videoQuality\" parameter detected. The \"frameHeight\" and the \"frameWidth\" params will be ignored');\n\n var t = this._videoQualityToSize(e.videoQuality);\n\n e.frameWidth = t.w, e.frameHeight = t.h;\n }\n\n return e;\n }\n }, {\n key: \"_videoQualityToSize\",\n value: function value(e) {\n switch (e) {\n case l.Hardware.VideoQuality.VIDEO_QUALITY_HIGH:\n return {\n w: 1280,\n h: 720\n };\n\n case l.Hardware.VideoQuality.VIDEO_QUALITY_MEDIUM:\n return {\n w: 640,\n h: 480\n };\n\n case l.Hardware.VideoQuality.VIDEO_QUALITY_LOW:\n return {\n w: 320,\n h: 240\n };\n\n case l.Hardware.VideoQuality.VIDEO_SIZE_QQVGA:\n return {\n w: 160,\n h: 120\n };\n\n case l.Hardware.VideoQuality.VIDEO_SIZE_QCIF:\n return {\n w: 176,\n h: 144\n };\n\n case l.Hardware.VideoQuality.VIDEO_SIZE_QVGA:\n return {\n w: 320,\n h: 240\n };\n\n case l.Hardware.VideoQuality.VIDEO_SIZE_CIF:\n return {\n w: 352,\n h: 288\n };\n\n case l.Hardware.VideoQuality.VIDEO_SIZE_nHD:\n return {\n w: 640,\n h: 360\n };\n\n case l.Hardware.VideoQuality.VIDEO_SIZE_VGA:\n return {\n w: 640,\n h: 480\n };\n\n case l.Hardware.VideoQuality.VIDEO_SIZE_SVGA:\n return {\n w: 800,\n h: 600\n };\n\n case l.Hardware.VideoQuality.VIDEO_SIZE_HD:\n return {\n w: 1280,\n h: 720\n };\n\n case l.Hardware.VideoQuality.VIDEO_SIZE_UXGA:\n return {\n w: 1600,\n h: 1200\n };\n\n case l.Hardware.VideoQuality.VIDEO_SIZE_FHD:\n return {\n w: 1920,\n h: 1080\n };\n\n case l.Hardware.VideoQuality.VIDEO_SIZE_UHD:\n return {\n w: 3840,\n h: 2160\n };\n\n default:\n return {\n w: 320,\n h: 240\n };\n }\n }\n }, {\n key: \"testResolutions\",\n value: function value(e) {\n var t = this,\n n = [l.Hardware.VideoQuality.VIDEO_SIZE_QQVGA, l.Hardware.VideoQuality.VIDEO_SIZE_QCIF, l.Hardware.VideoQuality.VIDEO_SIZE_QVGA, l.Hardware.VideoQuality.VIDEO_SIZE_CIF, l.Hardware.VideoQuality.VIDEO_SIZE_nHD, l.Hardware.VideoQuality.VIDEO_SIZE_VGA, l.Hardware.VideoQuality.VIDEO_SIZE_SVGA, l.Hardware.VideoQuality.VIDEO_SIZE_HD, l.Hardware.VideoQuality.VIDEO_SIZE_UXGA, l.Hardware.VideoQuality.VIDEO_SIZE_FHD, l.Hardware.VideoQuality.VIDEO_SIZE_UHD];\n return this._lastResolutionTestResult ? new Promise(function (e, n) {\n e(t._lastResolutionTestResult);\n }) : this._testResolutions(n, {}, e);\n }\n }, {\n key: \"_testResolutions\",\n value: function value(e, t, n) {\n var r = this;\n\n if (e.length) {\n var i = e.shift(),\n o = {\n strict: !0\n },\n a = this._videoQualityToSize(i);\n\n o.frameWidth = a.w, o.frameHeight = a.h, n && (o.cameraId = n);\n var s = {\n video: this._getVideoConstraints(o)\n };\n return navigator.mediaDevices.getUserMedia(s).then(function (o) {\n return r.logger.info(\"_testResolutions(): Media access granted\"), o.getTracks().forEach(function (e) {\n return e.stop();\n }), t[l.Hardware.VideoQuality[i]] = !0, r._testResolutions(e, t, n);\n }, function (o) {\n return r.logger.error(\"_testResolutions(): Media access denied: \" + (o ? o.message || o.name || o : \"unknown\")), t[l.Hardware.VideoQuality[i]] = !1, r._testResolutions(e, t, n);\n });\n }\n\n return this._lastResolutionTestResult = t, t;\n }\n }, {\n key: \"loadResolutionTestResult\",\n value: function value(e) {\n return !![l.Hardware.VideoQuality.VIDEO_SIZE_QQVGA, l.Hardware.VideoQuality.VIDEO_SIZE_QCIF, l.Hardware.VideoQuality.VIDEO_SIZE_QVGA, l.Hardware.VideoQuality.VIDEO_SIZE_CIF, l.Hardware.VideoQuality.VIDEO_SIZE_nHD, l.Hardware.VideoQuality.VIDEO_SIZE_VGA, l.Hardware.VideoQuality.VIDEO_SIZE_SVGA, l.Hardware.VideoQuality.VIDEO_SIZE_HD, l.Hardware.VideoQuality.VIDEO_SIZE_UXGA, l.Hardware.VideoQuality.VIDEO_SIZE_FHD, l.Hardware.VideoQuality.VIDEO_SIZE_UHD].every(function (t) {\n return void 0 !== e[l.Hardware.VideoQuality[t]];\n }) && (this._lastResolutionTestResult = e, !0);\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"CameraManager\";\n }\n }], [{\n key: \"get\",\n value: function value() {\n return void 0 === e.instance && (e.instance = new e()), e.instance;\n }\n }, {\n key: \"legacyParamConverter\",\n value: function value(e) {\n var t = {\n videoQuality: l.Hardware.VideoQuality.VIDEO_QUALITY_MEDIUM\n };\n return e.width && (\"string\" == typeof e.width || \"number\" == typeof e.width ? (delete t.videoQuality, t.frameWidth = e.width) : \"string\" == typeof e.width.exact || \"number\" == typeof e.width.exact ? (delete t.videoQuality, t.frameWidth = e.width.exact, t.strict = !0) : \"string\" == typeof e.width.min || \"number\" == typeof e.width.min ? (delete t.videoQuality, t.frameWidth = e.width.min) : \"string\" == typeof e.width.max || \"number\" == typeof e.width.max ? (delete t.videoQuality, t.frameWidth = e.width.max) : \"string\" != typeof e.width.ideal && \"number\" != typeof e.width.ideal || (delete t.videoQuality, t.frameWidth = e.width.ideal)), e.height && (\"string\" == typeof e.height || \"number\" == typeof e.height ? (delete t.videoQuality, t.frameHeight = e.height) : \"string\" == typeof e.height.exact || \"number\" == typeof e.height.exact ? (delete t.videoQuality, t.frameHeight = e.height.exact, t.strict = !0) : \"string\" == typeof e.height.min || \"number\" == typeof e.height.min ? (delete t.videoQuality, t.frameHeight = e.height.min) : \"string\" == typeof e.height.max || \"number\" == typeof e.height.max ? (delete t.videoQuality, t.frameHeight = e.height.max) : \"string\" != typeof e.height.ideal && \"number\" != typeof e.height.ideal || (delete t.videoQuality, t.frameHeight = e.height.ideal)), t;\n }\n }]), e;\n }();\n\n a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], u.prototype, \"setDefaultVideoSettings\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], u.prototype, \"getDefaultVideoSettings\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], u.prototype, \"setCallVideoSettings\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], u.prototype, \"getCallVideoSettings\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], u.prototype, \"getCallConstraints\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], u.prototype, \"getInputDevices\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], u.prototype, \"_getVideoConstraints\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], u.prototype, \"_validateCameraParams\", null), a([s.LogManager.d_trace(s.LogCategory.HARDWARE)], u, \"legacyParamConverter\", null), t.CameraManager = u;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(7),\n c = n(1),\n l = n(0),\n u = n(20),\n d = function () {\n function e(t, n) {\n var i = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],\n o = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],\n a = this,\n c = arguments[4];\n arguments[5];\n r(this, e), this.stream = t, this.kind = n, this.placeOnDom = i, this.isLocal = o, this.isRemoving = !1, void 0 === this.kind && (this.kind = t.getVideoTracks().length ? \"video\" : \"audio\"), this._id = u.Utils.generateUUID(), this.logger = l.LogManager.get().createLogger(l.LogCategory.USERMEDIA, this._traceName()), this.stream.getTracks().forEach(function (e) {\n e.onended = function () {\n a.checkStreamActive(t);\n };\n }), this.stream.getTracks().length && (this.element = document.getElementById(this.stream.getTracks()[0].id) || document.createElement(\"sharing\" === this.kind ? \"video\" : this.kind), this.element.autoplay = !0, this.isLocal && (this.element.muted = !0), this.element.setAttribute(\"playsinline\", null), c ? document.getElementById(\"voximplantlocalvideo\") ? this.element.id = this.stream.getTracks()[0].id : this.element.id = \"voximplantlocalvideo\" : this.element.id = this.stream.getTracks()[0].id, \"audio\" !== n && (this.element.width = 400, this.element.height = 300), s.default.attachMedia(this.stream, this.element), this.placeOnDom && this.renderDefault());\n }\n\n return i(e, [{\n key: \"checkStreamActive\",\n value: function value(e) {\n e.getTracks().some(function (e) {\n return \"live\" === e.readyState;\n }) || this.clear();\n }\n }, {\n key: \"renderDefault\",\n value: function value() {\n var e = c.Client.getInstance(),\n t = this.isLocal ? e.config().localVideoContainerId : e.config().remoteVideoContainerId,\n n = document.getElementById(t);\n this.render(n);\n }\n }, {\n key: \"render\",\n value: function value(e) {\n var t = this;\n\n if (this.logger.info(\"render()\"), !(c.Client.getInstance().config() && c.Client.getInstance().config().experiments && c.Client.getInstance().config().experiments.preventRendering)) {\n var n = e || document.body;\n void 0 !== this.element.parentElement && null !== this.element.parentElement ? this.element.parentElement && this.element.parentElement.removeChild(this.element) : this.element.parentNode && this.element.parentNode && this.element.parentNode.removeChild(this.element), n.appendChild(this.element), this.element.play().then(function () {}, function (e) {\n setTimeout(function () {\n t.element.play().then(function () {}, function (e) {\n t.logger.warning(\"Can't start playing MediaRenderer ID:\" + t._id);\n });\n }, 400);\n });\n }\n }\n }, {\n key: \"clear\",\n value: function value() {\n if (this.isRemoving) return void this.logger.info(\"MediaRendered ID: already removing \" + this._id + \". Ignored.\");\n this.isRemoving = !0, this.onBeforeDestroy && this.onBeforeDestroy(), this.element && (s.default.detachMedia(this.element), this.element.id = \"\", void 0 !== this.element.parentElement && null !== this.element.parentElement ? this.element.parentElement && this.element.parentElement.removeChild(this.element) : this.element.parentNode && this.element.parentNode && this.element.parentNode.removeChild(this.element)), this.onDestroy && this.onDestroy();\n }\n }, {\n key: \"setVolume\",\n value: function value(e) {\n this.logger.info(\"setVolume(\" + e + \")\"), this.element && (this.element.volume = e);\n }\n }, {\n key: \"useAudioOutput\",\n value: function value(e) {\n this.logger.info(\"useAudioOutput(\" + e + \")\");\n\n try {\n this.element.setSinkId(e);\n } catch (e) {\n this.logger.warning(\"Set audio output is impossible. Browser not support this option.\");\n }\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"MediaRenderer\";\n }\n }, {\n key: \"id\",\n get: function get() {\n return this._id;\n }\n }]), e;\n }();\n\n a([l.LogManager.d_trace(l.LogCategory.USERMEDIA)], d.prototype, \"checkStreamActive\", null), a([l.LogManager.d_trace(l.LogCategory.USERMEDIA)], d.prototype, \"renderDefault\", null), a([l.LogManager.d_trace(l.LogCategory.USERMEDIA)], d.prototype, \"render\", null), a([l.LogManager.d_trace(l.LogCategory.USERMEDIA)], d.prototype, \"clear\", null), a([l.LogManager.d_trace(l.LogCategory.USERMEDIA)], d.prototype, \"setVolume\", null), a([l.LogManager.d_trace(l.LogCategory.USERMEDIA)], d.prototype, \"useAudioOutput\", null), t.MediaRenderer = d;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(0),\n c = n(39),\n l = n(37),\n u = n(30),\n d = n(5),\n g = n(10),\n f = function () {\n function e() {\n r(this, e), this._endpointList = {}, this._trackListMap = {}, this._trackKindMap = {}, this._endpointInfo = {}, this._mediaRendererList = {}, this.logger = s.LogManager.get().createLogger(s.LogCategory.ENDPOINT, \"EndpointManager\");\n }\n\n return i(e, [{\n key: \"setCallVolume\",\n value: function value(e, t) {\n var n = this._endpointList[e.id()] || {};\n Object.values(n).forEach(function (e) {\n (e.mediaRenderers || []).forEach(function (e) {\n return e.setVolume(t);\n });\n });\n }\n }, {\n key: \"_getEndpointByTrackId\",\n value: function value(e, t) {\n var n = this._trackListMap[e.id()] || {},\n r = this._endpointList[e.id()] || {};\n return n[t] && r[n[t]] ? r[n[t]] : this.getDefaultEndPoint(e);\n }\n }, {\n key: \"_getMediaTypeTrack\",\n value: function value(e, t) {\n return (this._trackKindMap[e.id()] || {})[t.id] || t.kind;\n }\n }, {\n key: \"addEndPoint\",\n value: function value(e, t) {\n var n = this._endpointInfo[e.id()];\n\n return n && (this._endpointList[e.id()][t.id] = t, n[t.id] ? (t.displayName = n[t.id].displayName, t.place = n[t.id].place, t.sipUri = n[t.id].sipURI, t.userName = n[t.id].username, e.dispatchEvent({\n name: d.CallEvents.EndpointAdded,\n call: e,\n endpoint: t\n })) : t.isDefault && e.dispatchEvent({\n name: d.CallEvents.EndpointAdded,\n call: e,\n endpoint: t\n })), t;\n }\n }, {\n key: \"getDefaultEndPoint\",\n value: function value(e) {\n var t = this._endpointList[e.id()] || {};\n if (t[e.id()]) return t[e.id()];\n var n = new c.Endpoint(!0);\n return n.id = e.id(), this.addEndPoint(e, n), n;\n }\n }, {\n key: \"deleteEndpoint\",\n value: function value(e, t) {\n (this._endpointList[e.id()] || {})[t.id] ? (t.mediaRenderers.forEach(function (e) {\n e.clear();\n }), t.dispatchEvent({\n name: u.EndpointEvents.Removed,\n call: e,\n endpoint: t\n }), delete this._endpointList[e.id()][t.id]) : this.logger.error(\"Trying remove non existing endpoint with id:\" + t.id + \" on the call: \" + e.id());\n }\n }, {\n key: \"addStreamToEndpoint\",\n value: function value(e, t, n) {\n var r = this,\n i = \"video\";\n 1 === n.getTracks().length && (i = this.getMediaTypeTrack(e, n.getTracks()[0]));\n var o = new l.MediaRenderer(n, i, !1, !1, void 0, e.settings.isConference);\n this._mediaRendererList[e.id()] || (this._mediaRendererList[e.id()] = []), this._mediaRendererList[e.id()].push(o), t.mediaRenderers.push(o), t.dispatchEvent({\n name: u.EndpointEvents.RemoteMediaAdded,\n call: e,\n endpoint: t,\n mediaRenderer: o\n }), e.dispatchEvent({\n name: d.CallEvents.MediaElementCreated,\n call: e,\n stream: o.stream,\n element: o.element,\n type: o.kind\n }), o.onBeforeDestroy = function () {\n t && t.mediaRenderers && (t.mediaRenderers = t.mediaRenderers.filter(function (e) {\n return e.id !== o.id;\n })), r._mediaRendererList && r._mediaRendererList[e.id()] && (r._mediaRendererList[e.id()] = r._mediaRendererList[e.id()].filter(function (e) {\n return e.id !== o.id;\n })), t.dispatchEvent({\n name: u.EndpointEvents.RemoteMediaRemoved,\n call: e,\n endpoint: t,\n mediaRenderer: o\n }), e.dispatchEvent({\n name: d.CallEvents.MediaElementRemoved,\n call: e,\n stream: o.stream,\n element: o.element,\n type: o.kind\n });\n };\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"AbstractEndpointManager\";\n }\n }, {\n key: \"addStream\",\n value: function value(e, t) {\n var n = t.getTracks(),\n r = void 0;\n\n for (var i in n) {\n r = r || this.getEndpointByTrack(e, n[i]);\n }\n\n r && this.addStreamToEndpoint(e, r, t);\n }\n }, {\n key: \"addTrack\",\n value: function value(e, t) {\n var n = this;\n e.settings.isConference && t.muted ? t.onunmute = function () {\n t.onunmute = void 0, n.addStream(e, new MediaStream([t]));\n } : this.addStream(e, new MediaStream([t]));\n }\n }, {\n key: \"clear\",\n value: function value(e) {\n var t = this;\n return delete this._mediaRendererList[e.id()], delete this._endpointInfo[e.id()], delete this._trackListMap[e.id()], new Promise(function (n, r) {\n var i = t._endpointList[e.id()] || {},\n o = !0,\n a = !1,\n s = void 0;\n\n try {\n for (var c, l = Object.values(i)[Symbol.iterator](); !(o = (c = l.next()).done); o = !0) {\n var d = c.value;\n d.mediaRenderers.forEach(function (e) {\n e.clear();\n }), d.dispatchEvent({\n name: u.EndpointEvents.Removed,\n call: e,\n endpoint: d\n });\n }\n } catch (e) {\n a = !0, s = e;\n } finally {\n try {\n !o && l.return && l.return();\n } finally {\n if (a) throw s;\n }\n }\n\n delete t._endpointList[e.id()], n();\n });\n }\n }, {\n key: \"endpointInfoUpdated\",\n value: function value(e, t, n) {\n var r = this._endpointInfo[e.id()] || {},\n i = this._endpointList[e.id()] || {};\n r[n.id] = n;\n var o = i[n.id];\n\n if (o && (t == g.Constants.VI_CONF_PARTICIPANT_INFO_ADDED || t === g.Constants.VI_CONF_PARTICIPANT_INFO_UPDATED)) {\n var a = !o.sipUri;\n o.displayName = n.displayName, o.place = n.place, o.sipUri = n.sipURI, o.userName = n.username, a ? e.dispatchEvent({\n name: d.CallEvents.EndpointAdded,\n call: e,\n endpoint: o\n }) : o.dispatchEvent({\n name: u.EndpointEvents.InfoUpdated,\n call: e,\n endpoint: o\n });\n }\n\n this._endpointInfo[e.id()] = r;\n }\n }, {\n key: \"setEndpointDescription\",\n value: function value(e, t) {\n var n = this;\n\n if (t && t.endpoints) {\n var r = this._endpointList[e.id()],\n i = [];\n\n for (var o in r) {\n r.hasOwnProperty(o) && (t.endpoints[o] || o === e.id() || i.push(r[o]));\n }\n\n i.forEach(function (t) {\n return n.deleteEndpoint(e, t);\n });\n var a = {},\n s = {};\n\n for (var l in t.endpoints) {\n if (t.endpoints.hasOwnProperty(l)) {\n if (\"\" === l) this.getDefaultEndPoint(e);else if (!r[l]) {\n var u = new c.Endpoint(!1);\n u.id = l, u.place = t.endpoints[l].place, this.addEndPoint(e, u);\n }\n if (t.endpoints[l].tracks) for (var d in t.endpoints[l].tracks) {\n t.endpoints[l].tracks.hasOwnProperty(d) && (a[d] = l, s[d] = t.endpoints[l].tracks[d]);\n }\n }\n }\n\n this._trackListMap[e.id()] = a, this._trackKindMap[e.id()] = s;\n }\n }\n }, {\n key: \"useAudioOutput\",\n value: function value(e, t) {\n var n = this._endpointList[e.id()];\n\n n && Object.values(n).forEach(function (e) {\n return e.useAudioOutput(t);\n });\n }\n }, {\n key: \"getEndpoints\",\n value: function value(e) {\n return Object.values(this._endpointList[e.id()] || {});\n }\n }, {\n key: \"registerCall\",\n value: function value(e) {\n this._endpointList[e.id()] = {}, this._trackListMap[e.id()] = {}, this._trackKindMap[e.id()] = {}, this._endpointInfo[e.id()] = {}, this._mediaRendererList[e.id()] = [];\n }\n }]), e;\n }();\n\n a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"setCallVolume\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"_getEndpointByTrackId\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"_getMediaTypeTrack\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"addEndPoint\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"getDefaultEndPoint\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"deleteEndpoint\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"addStreamToEndpoint\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"addStream\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"addTrack\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"clear\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"endpointInfoUpdated\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"setEndpointDescription\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"useAudioOutput\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"getEndpoints\", null), a([s.LogManager.d_trace(s.LogCategory.ENDPOINT)], f.prototype, \"registerCall\", null), t.AbstractEndpointManager = f;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n var a = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n s = function e(t, n, r) {\n null === t && (t = Function.prototype);\n var i = Object.getOwnPropertyDescriptor(t, n);\n\n if (void 0 === i) {\n var o = Object.getPrototypeOf(t);\n return null === o ? void 0 : e(o, n, r);\n }\n\n if (\"value\" in i) return i.value;\n var a = i.get;\n if (void 0 !== a) return a.call(r);\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var c = n(15),\n l = n(30),\n u = n(0),\n d = function (e) {\n function t() {\n var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0];\n r(this, t);\n var n = i(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));\n return n.isDefault = e, n.sipUri = \"\", n.displayName = \"\", n.userName = \"\", n.mediaRenderers = [], n.addDefaultEventListener(l.EndpointEvents.RemoteMediaAdded, function (e) {\n e.mediaRenderer.renderDefault();\n }), n.logger = u.LogManager.get().createLogger(u.LogCategory.ENDPOINT, n._traceName() + \" \" + n.id), n;\n }\n\n return o(t, e), a(t, [{\n key: \"useAudioOutput\",\n value: function value(e) {\n this.logger.info(\"useAudioOutput(\" + e + \")\"), this.mediaRenderers && this.mediaRenderers.forEach(function (t) {\n return t.useAudioOutput(e);\n });\n }\n }, {\n key: \"updateInfo\",\n value: function value(e) {\n this.place = e.place, this.sipUri = e.sipURI, this.displayName = e.displayName, this.userName = e.username;\n }\n }, {\n key: \"on\",\n value: function value(e, n, r) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"on\", this).call(this, e, n);\n }\n }, {\n key: \"off\",\n value: function value(e, n) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"off\", this).call(this, e, n);\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"Endpoint\";\n }\n }]), t;\n }(c.EventTarget);\n\n t.Endpoint = d;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n if (Array.isArray(e)) {\n for (var t = 0, n = Array(e.length); t < e.length; t++) {\n n[t] = e[t];\n }\n\n return n;\n }\n\n return Array.from(e);\n }\n\n function i(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var o = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var a = n(60),\n s = function () {\n function e(t) {\n i(this, e), this.originalSDP = t;\n }\n\n return o(e, [{\n key: \"getUserCodecList\",\n value: function value() {\n void 0 === this.originalCodecList && (this.originalCodecList = a.default.parse(this.originalSDP));\n var e = {\n sections: []\n };\n return e.sections = this.originalCodecList.media.filter(function (e) {\n return \"video\" === e.descr.media || \"audio\" === e.descr.media;\n }).map(function (e, t, n) {\n var r = /(rtx|red|ulpfec)/,\n i = e.attr.filter(function (e) {\n return \"rtpmap\" === e.name && !e.value.find(function (e) {\n return e.value.match(r);\n });\n });\n return {\n kind: e.descr.media,\n codec: i\n };\n }), e;\n }\n }, {\n key: \"setUserCodecList\",\n value: function value(t) {\n void 0 === this.originalCodecList && (this.originalCodecList = a.default.parse(this.originalSDP));\n\n for (var n = 0; n < t.sections.length; n++) {\n if (t.sections[n].kind === this.originalCodecList.media[n].descr.media) {\n var r = e.resortSection(t.sections[n].codec, this.originalCodecList.media[n].attr, this.originalCodecList.media[n].descr.media);\n this.originalCodecList.media[n].attr = r.codecs, this.originalCodecList.media[n].descr.fmt = r.order, this.originalCodecList.media[n].descr.fmtCount = r.order.length;\n }\n }\n }\n }, {\n key: \"getSDP\",\n value: function value() {\n return this.originalCodecList.toString();\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"CodecSorter\";\n }\n }], [{\n key: \"resortSection\",\n value: function value(e, t, n) {\n var i = this,\n o = [],\n a = [],\n s = [],\n c = [];\n t.forEach(function (e) {\n return \"rtpmap\" === e.name ? s.push(e) : \"ssrc\" === e.name ? a.push(e) : void o.push(e);\n });\n var l = e.map(function (e) {\n var t = e.value.find(function (e) {\n return \"rtpmap\" === e.name;\n }).value,\n n = s.find(function (e) {\n return e.value.find(function (e) {\n return !!~e.value.indexOf(t);\n });\n });\n if (n) return c.push(t.split(\" \")[0]), n;\n }).filter(Boolean);\n\n if (\"video\" === n.toLowerCase()) {\n var u = [],\n d = [],\n g = s.filter(function (e) {\n return e.value.find(function (e) {\n return !!~e.value.indexOf(\"rtx\");\n });\n }),\n f = s.filter(function (e) {\n return e.value.find(function (e) {\n return e.value.match(/(red|ulpfec)/);\n });\n });\n return l = l.concat(f), l.forEach(function (e) {\n u.push(e), d.push(e.value.find(function (e) {\n return \"rtpmap\" === e.name;\n }).value.split(\" \")[0]);\n var t = i.matchRtx(e, g);\n t && (u.push(t), d.push(t.value.find(function (e) {\n return \"rtpmap\" === e.name;\n }).value.split(\" \")[0]));\n }), {\n codecs: [].concat(o, u, a),\n order: d\n };\n }\n\n return {\n codecs: [].concat(o, r(l), a),\n order: c\n };\n }\n }, {\n key: \"matchRtx\",\n value: function value(e, t) {\n var n = e.value.find(function (e) {\n return \"rtpmap\" === e.name;\n }).value.split(\" \")[0];\n return t.find(function (e) {\n return e.value.find(function (e) {\n return !!~e.value.indexOf(\"apt=\" + n);\n });\n });\n }\n }]), e;\n }();\n\n t.CodecSorter = s;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n n(24);\n !function (e) {\n e[e.Chat = \"chat\"] = \"Chat\";\n }(t.MsgService || (t.MsgService = {}));\n !function (e) {\n e[e.none = 0] = \"none\", e[e.can_write = 1] = \"can_write\", e[e.can_edit = 2] = \"can_edit\", e[e.can_remove = 4] = \"can_remove\", e[e.can_manage_participants = 8] = \"can_manage_participants\", e[e.can_edit_all = 16] = \"can_edit_all\", e[e.can_remove_all = 32] = \"can_remove_all\", e[e.is_owner = 32768] = \"is_owner\", e[e.all = 65535] = \"all\";\n }(t.MsgPermissions || (t.MsgPermissions = {}));\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = n(33),\n a = n(28),\n s = n(0),\n c = n(3),\n l = n(2),\n u = n(20),\n d = n(14),\n g = n(1),\n f = \"The operator status update failed by timeout.\",\n p = \"You try to perform multiple ACD operations at the same time. This can lead to an unexpected behavior of your application.\",\n v = \"You probably use the same credentials in the different browsers or multiple browser's windows. This can cause conflicts between instances.\",\n h = function () {\n function e() {\n r(this, e);\n }\n\n return i(e, null, [{\n key: \"setConnectionId\",\n value: function value(e) {\n this._connectionId = e;\n }\n }, {\n key: \"removeConnectionId\",\n value: function value() {\n this._connectionId = void 0;\n }\n }, {\n key: \"setStatus\",\n value: function value(t) {\n var n = this;\n return new Promise(function (r, i) {\n e._checkBeforeRun(a.OperatorACDStatuses[t], i);\n\n var o = e.newUUID;\n l.VoxSignaling.get().callRemoteFunction(c.RemoteFunction.setOperatorACDStatus, t, o), n._acdRequests.push({\n resolve: r,\n reject: i,\n timer: window.setTimeout(function () {\n e._acdRequests = e._acdRequests.filter(function (e) {\n return e.uuid !== o;\n }), i(f);\n }, 58e3),\n uuid: o,\n status: t\n });\n });\n }\n }, {\n key: \"getStatus\",\n value: function value() {\n var t = this;\n return new Promise(function (n, r) {\n e._checkBeforeRun(void 0, r);\n\n var i = e.newUUID;\n l.VoxSignaling.get().callRemoteFunction(c.RemoteFunction.getOperatorACDStatus, i), t._acdRequests.push({\n resolve: n,\n reject: r,\n timer: window.setTimeout(function () {\n e._acdRequests = e._acdRequests.filter(function (e) {\n return e.uuid !== i;\n }), r(f);\n }, 58e3),\n uuid: i\n });\n });\n }\n }, {\n key: \"onStatusUpdated\",\n value: function value(t, n) {\n e._checkConnectionId(n);\n\n var r = e._getActorByUUID(n),\n i = r.actor,\n o = r.actorIdx;\n\n if (i) {\n if (clearTimeout(i.timer), 0 !== o) for (var a = 0; a < o; a++) {\n clearTimeout(e._acdRequests[a].timer), e._acdRequests[a].reject(new Error(u.Utils.strFormat(\"The {0} status is set in your code after {1}. The {0} status is ignored.\", i.status || \"get operation\", t)));\n }\n void 0 === i.status || i.status === t ? i.resolve(t) : i.reject(new Error(u.Utils.strFormat(\"The {0} status is not acceptable for the current operator state. The operator is {1} now. Please, check the ACD module documentation for details.\", i.status, t))), e._acdRequests.splice(0, o + 1);\n }\n\n g.Client.getInstance().dispatchEvent({\n name: d.Events.ACDStatusUpdated,\n id: e._getConnectonIdFromUUID(n),\n status: t\n });\n }\n }, {\n key: \"_checkBeforeRun\",\n value: function value(t, n) {\n e._connectionId || n(new Error(\"You can't set an operator status before login.\")), e._acdRequests.length > 0 && (s.LogManager.get().writeMessage(s.LogCategory.CLIENT, \"ACD\", s.LogLevel.WARNING, p), g.Client.getInstance().dispatchEvent({\n name: d.Events.ACDError,\n code: 5,\n message: p\n })), void 0 === t || Object.values(a.OperatorACDStatuses).includes(t) || n(new Error(u.Utils.strFormat(\"Wrong ACD status name {0}\", t)));\n }\n }, {\n key: \"_getActorByUUID\",\n value: function value(e) {\n var t = -1;\n return {\n actor: this._acdRequests.find(function (n, r) {\n if (n.uuid === e) return t = r, !0;\n }),\n actorIdx: t\n };\n }\n }, {\n key: \"_getConnectonIdFromUUID\",\n value: function value(t) {\n var n = t.split(\"_\");\n return 1 === n.length || \"gw\" === n[1] ? e._connectionId : n[1];\n }\n }, {\n key: \"_checkConnectionId\",\n value: function value(t) {\n var n = t.split(\"_\");\n 1 !== n.length && n[1] === e._connectionId || (g.Client.getInstance().dispatchEvent({\n name: d.Events.ACDError,\n code: 6,\n message: v\n }), s.LogManager.get().writeMessage(s.LogCategory.CLIENT, \"ACD\", s.LogLevel.WARNING, v));\n }\n }, {\n key: \"newUUID\",\n get: function get() {\n return new o.default().toString() + \"_\" + e._connectionId;\n }\n }]), e;\n }();\n\n h._acdRequests = [], t.default = h;\n }, function (e, t, n) {\n \"use strict\";\n\n var r = {};\n r.generateIdentifier = function () {\n return Math.random().toString(36).substr(2, 10);\n }, r.localCName = r.generateIdentifier(), r.splitLines = function (e) {\n return e.trim().split(\"\\n\").map(function (e) {\n return e.trim();\n });\n }, r.splitSections = function (e) {\n return e.split(\"\\nm=\").map(function (e, t) {\n return (t > 0 ? \"m=\" + e : e).trim() + \"\\r\\n\";\n });\n }, r.getDescription = function (e) {\n var t = r.splitSections(e);\n return t && t[0];\n }, r.getMediaSections = function (e) {\n var t = r.splitSections(e);\n return t.shift(), t;\n }, r.matchPrefix = function (e, t) {\n return r.splitLines(e).filter(function (e) {\n return 0 === e.indexOf(t);\n });\n }, r.parseCandidate = function (e) {\n var t;\n t = 0 === e.indexOf(\"a=candidate:\") ? e.substring(12).split(\" \") : e.substring(10).split(\" \");\n\n for (var n = {\n foundation: t[0],\n component: parseInt(t[1], 10),\n protocol: t[2].toLowerCase(),\n priority: parseInt(t[3], 10),\n ip: t[4],\n port: parseInt(t[5], 10),\n type: t[7]\n }, r = 8; r < t.length; r += 2) {\n switch (t[r]) {\n case \"raddr\":\n n.relatedAddress = t[r + 1];\n break;\n\n case \"rport\":\n n.relatedPort = parseInt(t[r + 1], 10);\n break;\n\n case \"tcptype\":\n n.tcpType = t[r + 1];\n break;\n\n case \"ufrag\":\n n.ufrag = t[r + 1], n.usernameFragment = t[r + 1];\n break;\n\n default:\n n[t[r]] = t[r + 1];\n }\n }\n\n return n;\n }, r.writeCandidate = function (e) {\n var t = [];\n t.push(e.foundation), t.push(e.component), t.push(e.protocol.toUpperCase()), t.push(e.priority), t.push(e.ip), t.push(e.port);\n var n = e.type;\n return t.push(\"typ\"), t.push(n), \"host\" !== n && e.relatedAddress && e.relatedPort && (t.push(\"raddr\"), t.push(e.relatedAddress), t.push(\"rport\"), t.push(e.relatedPort)), e.tcpType && \"tcp\" === e.protocol.toLowerCase() && (t.push(\"tcptype\"), t.push(e.tcpType)), (e.usernameFragment || e.ufrag) && (t.push(\"ufrag\"), t.push(e.usernameFragment || e.ufrag)), \"candidate:\" + t.join(\" \");\n }, r.parseIceOptions = function (e) {\n return e.substr(14).split(\" \");\n }, r.parseRtpMap = function (e) {\n var t = e.substr(9).split(\" \"),\n n = {\n payloadType: parseInt(t.shift(), 10)\n };\n return t = t[0].split(\"/\"), n.name = t[0], n.clockRate = parseInt(t[1], 10), n.channels = 3 === t.length ? parseInt(t[2], 10) : 1, n.numChannels = n.channels, n;\n }, r.writeRtpMap = function (e) {\n var t = e.payloadType;\n void 0 !== e.preferredPayloadType && (t = e.preferredPayloadType);\n var n = e.channels || e.numChannels || 1;\n return \"a=rtpmap:\" + t + \" \" + e.name + \"/\" + e.clockRate + (1 !== n ? \"/\" + n : \"\") + \"\\r\\n\";\n }, r.parseExtmap = function (e) {\n var t = e.substr(9).split(\" \");\n return {\n id: parseInt(t[0], 10),\n direction: t[0].indexOf(\"/\") > 0 ? t[0].split(\"/\")[1] : \"sendrecv\",\n uri: t[1]\n };\n }, r.writeExtmap = function (e) {\n return \"a=extmap:\" + (e.id || e.preferredId) + (e.direction && \"sendrecv\" !== e.direction ? \"/\" + e.direction : \"\") + \" \" + e.uri + \"\\r\\n\";\n }, r.parseFmtp = function (e) {\n for (var t, n = {}, r = e.substr(e.indexOf(\" \") + 1).split(\";\"), i = 0; i < r.length; i++) {\n t = r[i].trim().split(\"=\"), n[t[0].trim()] = t[1];\n }\n\n return n;\n }, r.writeFmtp = function (e) {\n var t = \"\",\n n = e.payloadType;\n\n if (void 0 !== e.preferredPayloadType && (n = e.preferredPayloadType), e.parameters && Object.keys(e.parameters).length) {\n var r = [];\n Object.keys(e.parameters).forEach(function (t) {\n e.parameters[t] ? r.push(t + \"=\" + e.parameters[t]) : r.push(t);\n }), t += \"a=fmtp:\" + n + \" \" + r.join(\";\") + \"\\r\\n\";\n }\n\n return t;\n }, r.parseRtcpFb = function (e) {\n var t = e.substr(e.indexOf(\" \") + 1).split(\" \");\n return {\n type: t.shift(),\n parameter: t.join(\" \")\n };\n }, r.writeRtcpFb = function (e) {\n var t = \"\",\n n = e.payloadType;\n return void 0 !== e.preferredPayloadType && (n = e.preferredPayloadType), e.rtcpFeedback && e.rtcpFeedback.length && e.rtcpFeedback.forEach(function (e) {\n t += \"a=rtcp-fb:\" + n + \" \" + e.type + (e.parameter && e.parameter.length ? \" \" + e.parameter : \"\") + \"\\r\\n\";\n }), t;\n }, r.parseSsrcMedia = function (e) {\n var t = e.indexOf(\" \"),\n n = {\n ssrc: parseInt(e.substr(7, t - 7), 10)\n },\n r = e.indexOf(\":\", t);\n return r > -1 ? (n.attribute = e.substr(t + 1, r - t - 1), n.value = e.substr(r + 1)) : n.attribute = e.substr(t + 1), n;\n }, r.getMid = function (e) {\n var t = r.matchPrefix(e, \"a=mid:\")[0];\n if (t) return t.substr(6);\n }, r.parseFingerprint = function (e) {\n var t = e.substr(14).split(\" \");\n return {\n algorithm: t[0].toLowerCase(),\n value: t[1]\n };\n }, r.getDtlsParameters = function (e, t) {\n return {\n role: \"auto\",\n fingerprints: r.matchPrefix(e + t, \"a=fingerprint:\").map(r.parseFingerprint)\n };\n }, r.writeDtlsParameters = function (e, t) {\n var n = \"a=setup:\" + t + \"\\r\\n\";\n return e.fingerprints.forEach(function (e) {\n n += \"a=fingerprint:\" + e.algorithm + \" \" + e.value + \"\\r\\n\";\n }), n;\n }, r.getIceParameters = function (e, t) {\n var n = r.splitLines(e);\n return n = n.concat(r.splitLines(t)), {\n usernameFragment: n.filter(function (e) {\n return 0 === e.indexOf(\"a=ice-ufrag:\");\n })[0].substr(12),\n password: n.filter(function (e) {\n return 0 === e.indexOf(\"a=ice-pwd:\");\n })[0].substr(10)\n };\n }, r.writeIceParameters = function (e) {\n return \"a=ice-ufrag:\" + e.usernameFragment + \"\\r\\na=ice-pwd:\" + e.password + \"\\r\\n\";\n }, r.parseRtpParameters = function (e) {\n for (var t = {\n codecs: [],\n headerExtensions: [],\n fecMechanisms: [],\n rtcp: []\n }, n = r.splitLines(e), i = n[0].split(\" \"), o = 3; o < i.length; o++) {\n var a = i[o],\n s = r.matchPrefix(e, \"a=rtpmap:\" + a + \" \")[0];\n\n if (s) {\n var c = r.parseRtpMap(s),\n l = r.matchPrefix(e, \"a=fmtp:\" + a + \" \");\n\n switch (c.parameters = l.length ? r.parseFmtp(l[0]) : {}, c.rtcpFeedback = r.matchPrefix(e, \"a=rtcp-fb:\" + a + \" \").map(r.parseRtcpFb), t.codecs.push(c), c.name.toUpperCase()) {\n case \"RED\":\n case \"ULPFEC\":\n t.fecMechanisms.push(c.name.toUpperCase());\n }\n }\n }\n\n return r.matchPrefix(e, \"a=extmap:\").forEach(function (e) {\n t.headerExtensions.push(r.parseExtmap(e));\n }), t;\n }, r.writeRtpDescription = function (e, t) {\n var n = \"\";\n n += \"m=\" + e + \" \", n += t.codecs.length > 0 ? \"9\" : \"0\", n += \" UDP/TLS/RTP/SAVPF \", n += t.codecs.map(function (e) {\n return void 0 !== e.preferredPayloadType ? e.preferredPayloadType : e.payloadType;\n }).join(\" \") + \"\\r\\n\", n += \"c=IN IP4 0.0.0.0\\r\\n\", n += \"a=rtcp:9 IN IP4 0.0.0.0\\r\\n\", t.codecs.forEach(function (e) {\n n += r.writeRtpMap(e), n += r.writeFmtp(e), n += r.writeRtcpFb(e);\n });\n var i = 0;\n return t.codecs.forEach(function (e) {\n e.maxptime > i && (i = e.maxptime);\n }), i > 0 && (n += \"a=maxptime:\" + i + \"\\r\\n\"), n += \"a=rtcp-mux\\r\\n\", t.headerExtensions && t.headerExtensions.forEach(function (e) {\n n += r.writeExtmap(e);\n }), n;\n }, r.parseRtpEncodingParameters = function (e) {\n var t,\n n = [],\n i = r.parseRtpParameters(e),\n o = -1 !== i.fecMechanisms.indexOf(\"RED\"),\n a = -1 !== i.fecMechanisms.indexOf(\"ULPFEC\"),\n s = r.matchPrefix(e, \"a=ssrc:\").map(function (e) {\n return r.parseSsrcMedia(e);\n }).filter(function (e) {\n return \"cname\" === e.attribute;\n }),\n c = s.length > 0 && s[0].ssrc,\n l = r.matchPrefix(e, \"a=ssrc-group:FID\").map(function (e) {\n return e.substr(17).split(\" \").map(function (e) {\n return parseInt(e, 10);\n });\n });\n l.length > 0 && l[0].length > 1 && l[0][0] === c && (t = l[0][1]), i.codecs.forEach(function (e) {\n if (\"RTX\" === e.name.toUpperCase() && e.parameters.apt) {\n var r = {\n ssrc: c,\n codecPayloadType: parseInt(e.parameters.apt, 10)\n };\n c && t && (r.rtx = {\n ssrc: t\n }), n.push(r), o && (r = JSON.parse(JSON.stringify(r)), r.fec = {\n ssrc: t,\n mechanism: a ? \"red+ulpfec\" : \"red\"\n }, n.push(r));\n }\n }), 0 === n.length && c && n.push({\n ssrc: c\n });\n var u = r.matchPrefix(e, \"b=\");\n return u.length && (u = 0 === u[0].indexOf(\"b=TIAS:\") ? parseInt(u[0].substr(7), 10) : 0 === u[0].indexOf(\"b=AS:\") ? 1e3 * parseInt(u[0].substr(5), 10) * .95 - 16e3 : void 0, n.forEach(function (e) {\n e.maxBitrate = u;\n })), n;\n }, r.parseRtcpParameters = function (e) {\n var t = {},\n n = r.matchPrefix(e, \"a=ssrc:\").map(function (e) {\n return r.parseSsrcMedia(e);\n }).filter(function (e) {\n return \"cname\" === e.attribute;\n })[0];\n n && (t.cname = n.value, t.ssrc = n.ssrc);\n var i = r.matchPrefix(e, \"a=rtcp-rsize\");\n t.reducedSize = i.length > 0, t.compound = 0 === i.length;\n var o = r.matchPrefix(e, \"a=rtcp-mux\");\n return t.mux = o.length > 0, t;\n }, r.parseMsid = function (e) {\n var t,\n n = r.matchPrefix(e, \"a=msid:\");\n if (1 === n.length) return t = n[0].substr(7).split(\" \"), {\n stream: t[0],\n track: t[1]\n };\n var i = r.matchPrefix(e, \"a=ssrc:\").map(function (e) {\n return r.parseSsrcMedia(e);\n }).filter(function (e) {\n return \"msid\" === e.attribute;\n });\n return i.length > 0 ? (t = i[0].value.split(\" \"), {\n stream: t[0],\n track: t[1]\n }) : void 0;\n }, r.generateSessionId = function () {\n return Math.random().toString().substr(2, 21);\n }, r.writeSessionBoilerplate = function (e, t) {\n var n = void 0 !== t ? t : 2;\n return \"v=0\\r\\no=thisisadapterortc \" + (e || r.generateSessionId()) + \" \" + n + \" IN IP4 127.0.0.1\\r\\ns=-\\r\\nt=0 0\\r\\n\";\n }, r.writeMediaSection = function (e, t, n, i) {\n var o = r.writeRtpDescription(e.kind, t);\n\n if (o += r.writeIceParameters(e.iceGatherer.getLocalParameters()), o += r.writeDtlsParameters(e.dtlsTransport.getLocalParameters(), \"offer\" === n ? \"actpass\" : \"active\"), o += \"a=mid:\" + e.mid + \"\\r\\n\", e.direction ? o += \"a=\" + e.direction + \"\\r\\n\" : e.rtpSender && e.rtpReceiver ? o += \"a=sendrecv\\r\\n\" : e.rtpSender ? o += \"a=sendonly\\r\\n\" : e.rtpReceiver ? o += \"a=recvonly\\r\\n\" : o += \"a=inactive\\r\\n\", e.rtpSender) {\n var a = \"msid:\" + i.id + \" \" + e.rtpSender.track.id + \"\\r\\n\";\n o += \"a=\" + a, o += \"a=ssrc:\" + e.sendEncodingParameters[0].ssrc + \" \" + a, e.sendEncodingParameters[0].rtx && (o += \"a=ssrc:\" + e.sendEncodingParameters[0].rtx.ssrc + \" \" + a, o += \"a=ssrc-group:FID \" + e.sendEncodingParameters[0].ssrc + \" \" + e.sendEncodingParameters[0].rtx.ssrc + \"\\r\\n\");\n }\n\n return o += \"a=ssrc:\" + e.sendEncodingParameters[0].ssrc + \" cname:\" + r.localCName + \"\\r\\n\", e.rtpSender && e.sendEncodingParameters[0].rtx && (o += \"a=ssrc:\" + e.sendEncodingParameters[0].rtx.ssrc + \" cname:\" + r.localCName + \"\\r\\n\"), o;\n }, r.getDirection = function (e, t) {\n for (var n = r.splitLines(e), i = 0; i < n.length; i++) {\n switch (n[i]) {\n case \"a=sendrecv\":\n case \"a=sendonly\":\n case \"a=recvonly\":\n case \"a=inactive\":\n return n[i].substr(2);\n }\n }\n\n return t ? r.getDirection(t) : \"sendrecv\";\n }, r.getKind = function (e) {\n return r.splitLines(e)[0].split(\" \")[0].substr(2);\n }, r.isRejected = function (e) {\n return \"0\" === e.split(\" \", 2)[1];\n }, r.parseMLine = function (e) {\n var t = r.splitLines(e),\n n = t[0].substr(2).split(\" \");\n return {\n kind: n[0],\n port: parseInt(n[1], 10),\n protocol: n[2],\n fmt: n.slice(3).join(\" \")\n };\n }, r.parseOLine = function (e) {\n var t = r.matchPrefix(e, \"o=\")[0],\n n = t.substr(2).split(\" \");\n return {\n username: n[0],\n sessionId: n[1],\n sessionVersion: parseInt(n[2], 10),\n netType: n[3],\n addressType: n[4],\n address: n[5]\n };\n }, e.exports = r;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(18),\n c = n(25),\n l = n(34),\n u = n(26),\n d = n(0),\n g = n(19),\n f = n(24),\n p = n(45),\n v = n(27),\n h = function () {\n function e() {\n var t = this;\n if (r(this, e), e.instance) throw new Error(p.MESSAGING_ERR_2);\n this.signalling = s.MsgSignaling.get(), this.signalling.addEventListener(f.MsgEvent.onCreateConversation, function (e, n) {\n t.resolveEvent(e, g.default.MessengerEvents.CreateConversation, n);\n }), this.signalling.addEventListener(f.MsgEvent.onEditConversation, function (e, n) {\n t.resolveEvent(e, g.default.MessengerEvents.EditConversation, n);\n }), this.signalling.addEventListener(f.MsgEvent.onRemoveConversation, function (e, t) {\n c.Messenger.getInstance()._dispatchEvent(g.default.MessengerEvents.RemoveConversation, {\n uuid: e.object.uuid,\n seq: e.seq,\n messengerAction: g.default.MessengerAction[e.on_incoming_event],\n initiator: Number(e.initiator),\n timestamp: \"number\" == typeof e.timestamp ? 1e3 * e.timestamp : void 0,\n requestUuid: t\n }, t);\n }), this.signalling.addEventListener(f.MsgEvent.onGetConversation, function (e, n) {\n t.resolveEvent(e, g.default.MessengerEvents.GetConversation, n);\n }), this.signalling.addEventListener(f.MsgEvent.onGetPublicConversations, function (e, t) {\n c.Messenger.getInstance()._dispatchEvent(g.default.MessengerEvents.GetPublicConversations, {\n conversations: e.object.uuid,\n initiator: Number(e.initiator),\n messengerAction: g.default.MessengerAction[e.on_incoming_event],\n requestUuid: t\n }, t);\n }), this.signalling.addEventListener(f.MsgEvent.onSendMessage, function (e, n) {\n t.resolveMessageEvent(e, g.default.MessengerEvents.SendMessage, n);\n }), this.signalling.addEventListener(f.MsgEvent.onEditMessage, function (e, n) {\n t.resolveMessageEvent(e, g.default.MessengerEvents.EditMessage, n);\n }), this.signalling.addEventListener(f.MsgEvent.onRemoveMessage, function (e, n) {\n t.resolveMessageEvent(e, g.default.MessengerEvents.RemoveMessage, n);\n }), this.signalling.addEventListener(f.MsgEvent.isRead, function (e, t) {\n c.Messenger.getInstance()._dispatchEvent(g.default.MessengerEvents.Read, {\n conversation: e.object.conversation,\n seq: e.object.seq,\n initiator: Number(e.initiator),\n messengerAction: g.default.MessengerAction[e.on_incoming_event],\n requestUuid: t\n }, t);\n }), this.signalling.addEventListener(f.MsgEvent.onTyping, function (e, t) {\n c.Messenger.getInstance()._dispatchEvent(g.default.MessengerEvents.Typing, {\n conversation: e.object.conversation,\n initiator: Number(e.initiator),\n messengerAction: g.default.MessengerAction[e.on_incoming_event],\n requestUuid: t\n }, t);\n }), this.signalling.addEventListener(f.MsgEvent.onRetransmitEvents, function (e, t) {\n c.Messenger.getInstance()._dispatchEvent(g.default.MessengerEvents.RetransmitEvents, {\n events: [e.object && e.object.event ? -1 == e.object.event.indexOf(\"Message\") && e.object.payload ? {\n conversation: l.Conversation._createFromBus(e.object.payload.object, e.object.payload.seq),\n initiator: Number(e.object.payload.initiator),\n seq: e.object.payload.seq,\n messengerAction: g.default.MessengerAction[e.object.payload.on_incoming_event],\n timestamp: \"number\" == typeof e.object.payload.timestamp ? 1e3 * e.object.payload.timestamp : void 0\n } : {\n message: u.Message._createFromBus(e.object.payload.object, Number(e.object.payload.initiator)),\n initiator: Number(e.object.payload.initiator),\n seq: e.object.payload.seq,\n timestamp: \"number\" == typeof e.object.payload.timestamp ? 1e3 * e.object.payload.timestamp : void 0,\n messengerAction: g.default.MessengerAction[e.object.payload.on_incoming_event]\n } : void 0],\n initiator: Number(e.initiator),\n messengerAction: g.default.MessengerAction[e.on_incoming_event],\n requestUuid: t\n }, t);\n });\n }\n\n return i(e, [{\n key: \"resolveEvent\",\n value: function value(e, t, n) {\n var r = l.Conversation._createFromBus(e.object, e.seq);\n\n void 0 !== r && r.updateSeq(e.seq), c.Messenger.getInstance()._dispatchEvent(t, {\n conversation: r,\n initiator: Number(e.initiator),\n seq: e.seq,\n messengerAction: g.default.MessengerAction[e.on_incoming_event],\n timestamp: \"number\" == typeof e.timestamp ? 1e3 * e.timestamp : void 0,\n requestUuid: n\n }, n);\n }\n }, {\n key: \"resolveMessageEvent\",\n value: function value(e, t, n) {\n var r = u.Message._createFromBus(e.object, Number(e.initiator));\n\n c.Messenger.getInstance()._dispatchEvent(t, {\n message: r,\n initiator: Number(e.initiator),\n seq: e.seq,\n messengerAction: g.default.MessengerAction[e.on_incoming_event],\n timestamp: \"number\" == typeof e.timestamp ? 1e3 * e.timestamp : void 0\n }, n);\n }\n }, {\n key: \"createConversation\",\n value: function value(e, t, n, r, i, o) {\n var a = this;\n return new Promise(function (s, u) {\n var d = a.signalling.sendWsMessage(v.MsgAction.createConversation, new l.Conversation({\n participants: e,\n title: t,\n direct: n,\n publicJoin: r,\n customData: o,\n uberConversation: i\n })._getCreatePayload());\n\n c.Messenger.getInstance()._registerPromise(d, s, u);\n });\n }\n }, {\n key: \"editConversation\",\n value: function value(e) {\n var t = this;\n return new Promise(function (n, r) {\n var i = void 0,\n o = function e(t) {\n t.requestUuid === i && (clearTimeout(s), c.Messenger.getInstance().off(g.default.MessengerEvents.EditConversation, e), c.Messenger.getInstance().off(g.default.MessengerEvents.Error, a), n(t));\n },\n a = function t(n) {\n n.requestUuid === i && (clearTimeout(s), c.Messenger.getInstance().off(g.default.MessengerEvents.EditConversation, o), c.Messenger.getInstance().off(g.default.MessengerEvents.Error, t), e._revertChanges(), r(n));\n },\n s = setTimeout(function () {\n c.Messenger.getInstance().off(g.default.MessengerEvents.EditConversation, o), c.Messenger.getInstance().off(g.default.MessengerEvents.Error, a), c.Messenger.getInstance().reject(g.default.MessengerError.Error_0, g.default.MessengerAction.editConversation).catch(r);\n }, c.Messenger.rejectTimeout);\n\n c.Messenger.getInstance().on(g.default.MessengerEvents.EditConversation, o), c.Messenger.getInstance().on(g.default.MessengerEvents.Error, a), i = t.signalling.sendWsMessage(v.MsgAction.editConversation, e._getEditPayload());\n });\n }\n }, {\n key: \"getConversation\",\n value: function value(e) {\n var t = this;\n return new Promise(function (n, r) {\n var i = t.signalling.sendWsMessage(v.MsgAction.getConversation, {\n uuid: e\n });\n\n c.Messenger.getInstance()._registerPromise(i, n, r);\n });\n }\n }, {\n key: \"getConversations\",\n value: function value(e) {\n if (!Array.isArray(e)) return c.Messenger.getInstance().reject(g.default.MessengerError.Error_0, g.default.MessengerAction.getConversations);\n var t = void 0,\n n = Promise.all(e.map(function (e) {\n return new Promise(function (n, r) {\n var i = function r(i) {\n i.requestUuid === t && i.conversation.uuid === e && (clearTimeout(a), c.Messenger.getInstance().off(g.default.MessengerEvents.GetConversation, r), c.Messenger.getInstance().off(g.default.MessengerEvents.Error, o), n(i));\n },\n o = function e(n) {\n n.requestUuid === t && (clearTimeout(a), c.Messenger.getInstance().off(g.default.MessengerEvents.GetConversation, i), c.Messenger.getInstance().off(g.default.MessengerEvents.Error, e), r(n));\n },\n a = setTimeout(function () {\n c.Messenger.getInstance().off(g.default.MessengerEvents.GetConversation, i), c.Messenger.getInstance().off(g.default.MessengerEvents.Error, o), c.Messenger.getInstance().reject(g.default.MessengerError.Error_0, g.default.MessengerAction.getConversation).catch(r);\n }, c.Messenger.rejectTimeout);\n\n c.Messenger.getInstance().on(g.default.MessengerEvents.GetConversation, i), c.Messenger.getInstance().on(g.default.MessengerEvents.Error, o);\n });\n }));\n return t = this.signalling.sendWsMessage(v.MsgAction.getConversations, {\n uuid: e\n }), n;\n }\n }, {\n key: \"getPublicConversations\",\n value: function value() {\n var e = this;\n return new Promise(function (t, n) {\n var r = e.signalling.sendWsMessage(v.MsgAction.getPublicConversations, {});\n\n c.Messenger.getInstance()._registerPromise(r, t, n);\n });\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"ConversationManager\";\n }\n }], [{\n key: \"get\",\n value: function value() {\n return e.instance = e.instance || new e(), e.instance;\n }\n }, {\n key: \"deserialize\",\n value: function value(e) {\n return l.Conversation.createFromCache(e);\n }\n }, {\n key: \"serialize\",\n value: function value(e) {\n return e.toCache();\n }\n }, {\n key: \"extractUserName\",\n value: function value(e) {\n if (-1 === e.indexOf(\"@\")) return e;\n var t = e.split(\"@\");\n return t[1] = t[1].split(\".\").splice(0, 2).join(\".\"), t.join(\"@\");\n }\n }]), e;\n }();\n\n a([d.LogManager.d_trace(d.LogCategory.MESSAGING)], h.prototype, \"resolveEvent\", null), a([d.LogManager.d_trace(d.LogCategory.MESSAGING)], h.prototype, \"resolveMessageEvent\", null), a([d.LogManager.d_trace(d.LogCategory.MESSAGING)], h.prototype, \"createConversation\", null), a([d.LogManager.d_trace(d.LogCategory.MESSAGING)], h.prototype, \"editConversation\", null), a([d.LogManager.d_trace(d.LogCategory.MESSAGING)], h.prototype, \"getConversation\", null), a([d.LogManager.d_trace(d.LogCategory.MESSAGING)], h.prototype, \"getConversations\", null), a([d.LogManager.d_trace(d.LogCategory.MESSAGING)], h.prototype, \"getPublicConversations\", null), a([d.LogManager.d_trace(d.LogCategory.MESSAGING)], h, \"get\", null), a([d.LogManager.d_trace(d.LogCategory.MESSAGING)], h, \"deserialize\", null), a([d.LogManager.d_trace(d.LogCategory.MESSAGING)], h, \"serialize\", null), a([d.LogManager.d_trace(d.LogCategory.MESSAGING)], h, \"extractUserName\", null), t.default = h;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.MESSAGING_ERR_1 = \"Error - use Client.getIM()\", t.MESSAGING_ERR_2 = \"Error - use ConversationManager.get()\";\n }, function (e, t, n) {\n \"use strict\";\n\n function r() {\n return o.Client.getInstance();\n }\n\n function i() {\n if (!a.Authenticator.get().authorized()) throw new Error(\"NOT_AUTHORIZED\");\n return s.default.Messenger.getInstance();\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var o = n(1);\n n(67);\n var a = n(11),\n s = n(19),\n c = n(19);\n t.Messaging = c.Messaging;\n var l = n(14);\n t.Events = l.Events;\n var u = n(5);\n t.CallEvents = u.CallEvents;\n var d = n(39);\n t.Endpoint = d.Endpoint;\n var g = n(30);\n t.EndpointEvents = g.EndpointEvents;\n var f = n(28);\n t.OperatorACDStatuses = f.OperatorACDStatuses;\n var p = n(0);\n t.LogCategory = p.LogCategory, t.LogLevel = p.LogLevel, t.ClientState = p.ClientState, function (e) {\n for (var n in e) {\n t.hasOwnProperty(n) || (t[n] = e[n]);\n }\n }(n(4)), t.getInstance = r, t.version = o.Client.getInstance().version, t.getMessenger = i;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = n(21),\n a = n(0),\n s = function () {\n function e() {\n r(this, e);\n }\n\n return i(e, [{\n key: \"_traceName\",\n value: function value() {\n return \"FF\";\n }\n }], [{\n key: \"attachStream\",\n value: function value(e, t) {\n void 0 === t.srcObject ? t.mozSrcObject = e : t.srcObject = e, t.load(), t.play();\n }\n }, {\n key: \"detachStream\",\n value: function value(e) {\n void 0 === e.srcObject ? e.mozSrcObject = null : e.srcObject = null, e.load(), e.src = \"\";\n }\n }, {\n key: \"screenSharingSupported\",\n value: function value() {\n return new Promise(function (e, t) {\n if (\"https:\" != window.location.protocol) return void e(!1);\n e(!0);\n });\n }\n }, {\n key: \"getScreenMedia\",\n value: function value() {\n var e = {\n audio: !1,\n video: {\n mediaSource: \"window\"\n }\n };\n return a.LogManager.get().writeMessage(a.LogCategory.USERMEDIA, \"[constraints]\", a.LogLevel.TRACE, JSON.stringify(e)), navigator.mediaDevices.getUserMedia(e);\n }\n }, {\n key: \"getRTCStats\",\n value: function value(t) {\n return new Promise(function (n, r) {\n t.getStats(null).then(function (t) {\n var r = [];\n t.forEach(function (e) {\n \"inbound-rtp\" != e.type && \"outbound-rtp\" != e.type || r.push(e);\n }), n({\n raw: r,\n formatted: e.prepareRTCStats(t)\n });\n }).catch(r);\n });\n }\n }, {\n key: \"prepareRTCStats\",\n value: function value(e) {\n var t = [];\n return e.forEach(function (e) {\n \"outbound-rtp\" === e.type || e.isRemote ? t.push(Object.assign(e, {\n framesPerSecond: e.framesPerSecond ? e.framesPerSecond : e.framerateMean,\n encoderBitrate: e.bitrateMean\n })) : t.push(e);\n }), t;\n }\n }, {\n key: \"getUserMedia\",\n value: function value(e) {\n return navigator.mediaDevices.getUserMedia(e);\n }\n }, {\n key: \"getDTMFSender\",\n value: function value(e, t) {\n var n = /Firefox\\/([0-9\\.]+)(?:\\s|$)/,\n r = navigator.userAgent;\n\n if (n.test(r)) {\n if (+n.exec(r)[1].split(\".\")[0] >= 53) {\n var i = e.getSenders().map(function (e) {\n if (e.track && \"audio\" === e.track.kind && e.dtmf) return e.dtmf;\n });\n if (i.length > 0) return i[0];\n }\n }\n\n return new o.SignalingDTMFSender(t);\n }\n }]), e;\n }();\n\n t.FF = s;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = n(21),\n a = n(1),\n s = n(0),\n c = function () {\n function e() {\n r(this, e);\n }\n\n return i(e, [{\n key: \"_traceName\",\n value: function value() {\n return \"Webkit\";\n }\n }], [{\n key: \"attachStream\",\n value: function value(e, t) {\n try {\n if (t.srcObject = e, t.load(), t instanceof HTMLVideoElement) t.play().catch(function (e) {});else {\n t.play().catch(function (e) {});\n\n var n = a.Client.getInstance()._defaultSinkId;\n\n null != n && t.setSinkId(n);\n }\n } catch (e) {\n s.LogManager.get().writeMessage(s.LogCategory.USERMEDIA, \"Webkit: \", s.LogLevel.WARNING, JSON.stringify(e));\n }\n }\n }, {\n key: \"detachStream\",\n value: function value(e) {\n if (e.srcObject = null, e instanceof HTMLVideoElement) {\n var t = e.pause();\n void 0 !== t && t.catch(function (e) {});\n } else e.pause();\n\n e.src = \"\";\n }\n }, {\n key: \"getDTMFSender\",\n value: function value(e, t) {\n if (!e.createDTMFSender) return new o.SignalingDTMFSender(t);\n var n = [];\n return e.getLocalStreams().forEach(function (e) {\n e.getAudioTracks().forEach(function (e) {\n n.push(e);\n });\n }), n.length ? e.createDTMFSender(n[0]) : void 0;\n }\n }, {\n key: \"getUserMedia\",\n value: function value(e) {\n return navigator.mediaDevices.getUserMedia(e);\n }\n }, {\n key: \"screenSharingSupported\",\n value: function value() {\n return new Promise(function (e, t) {\n if (navigator.getDisplayMedia) e(!0);else if (navigator.mediaDevices && navigator.mediaDevices.getDisplayMedia) e(!0);else {\n var n = function t(n) {\n n.origin === window.location.origin && \"VoximplantWebsdkExtensionLoaded\" === n.data && (window.removeEventListener(\"message\", t), clearTimeout(r), e(!0));\n };\n\n window.addEventListener(\"message\", n), window.postMessage(\"VoximplantWebsdkCheckExtension\", \"*\");\n var r = setTimeout(function () {\n window.removeEventListener(\"message\", n), e(!1);\n }, 800);\n }\n });\n }\n }, {\n key: \"getScreenMedia\",\n value: function value() {\n return navigator.getDisplayMedia ? navigator.getDisplayMedia({\n video: !0\n }) : navigator.mediaDevices && navigator.mediaDevices.getDisplayMedia ? navigator.mediaDevices.getDisplayMedia({\n video: !0\n }) : new Promise(function (e, t) {\n window.postMessage(\"voximplantWebsdkGetSourceId\", \"*\");\n\n var n = function n(r) {\n if (r.data && r.origin === window.location.origin && r.data.result) {\n if (\"err\" === r.data.result) return t(new Error(r.data.reason));\n\n if (\"ok\" === r.data.result && void 0 !== r.data.sourceId) {\n window.removeEventListener(\"message\", n);\n var i = {\n audio: !1,\n video: {\n mandatory: {\n chromeMediaSource: \"desktop\",\n maxWidth: screen.width > 1920 ? screen.width : 1920,\n maxHeight: screen.height > 1080 ? screen.height : 1080,\n chromeMediaSourceId: r.data.sourceId\n },\n optional: [{\n googTemporalLayeredScreencast: !0\n }]\n }\n };\n s.LogManager.get().writeMessage(s.LogCategory.USERMEDIA, \"[constraints]\", s.LogLevel.INFO, JSON.stringify(i)), navigator.mediaDevices.getUserMedia(i).then(function (t) {\n e(t);\n }, function (e) {\n t(e);\n });\n }\n }\n };\n\n window.addEventListener(\"message\", n);\n });\n }\n }, {\n key: \"getRTCStats\",\n value: function value(t) {\n return new Promise(function (n, r) {\n var i = [];\n t.getStats(null).then(function (t) {\n t.forEach(function (e) {\n \"outbound-rtp\" != e.type && \"inbound-rtp\" != e.type || i.push(e);\n }), n({\n raw: i,\n formatted: e.prepareRTCStats(t)\n });\n }).catch(r);\n });\n }\n }, {\n key: \"prepareRTCStats\",\n value: function value(e) {\n var t = [];\n return e.forEach(function (e) {\n \"inbound-rtp\" === e.type && e.isRemote ? t.push(Object.assign(e, {\n type: \"remote-inbound-rtp\"\n })) : \"outbound-rtp\" === e.type && e.isRemote ? t.push(Object.assign(e, {\n type: \"remote-outbound-rtp\"\n })) : t.push(e);\n }), t;\n }\n }]), e;\n }();\n\n t.Webkit = c;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n var a = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n s = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n c = function c(e, t, n, r) {\n var i,\n o = arguments.length,\n a = o < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : s(Reflect)) && \"function\" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (a = (o < 3 ? i(a) : o > 3 ? i(t, n, a) : i(t, n)) || a);\n }\n return o > 3 && a && Object.defineProperty(t, n, a), a;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var l,\n u = n(22),\n d = n(7),\n g = n(8),\n f = n(0),\n p = n(2),\n v = n(6),\n h = n(3),\n m = n(40),\n y = n(5),\n C = n(17),\n S = n(10),\n _ = n(16),\n E = n(1),\n L = n(32),\n M = n(4),\n b = n(23),\n R = n(31);\n\n !function (e) {\n e[e.offer = \"offer\"] = \"offer\", e[e.answer = \"answer\"] = \"answer\", e[e.pranswer = \"pranswer\"] = \"pranswer\", e[e.rollback = \"rollback\"] = \"rollback\";\n }(l || (l = {}));\n var T;\n !function (e) {\n e[e.controlling = \"controlling\"] = \"controlling\", e[e.controlled = \"controlled\"] = \"controlled\";\n }(T || (T = {}));\n\n var k = function (e) {\n function t(e, n, o, a) {\n r(this, t);\n var s = i(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n, o));\n s.iceTimer = null, s.needTransportRestart = !0, s.ICE_TIMEOUT = 2e4, s.RENEGOTIATION_TIMEOUT = 15e3, s.canDeliverStats = !0, s._canReInvite = function () {\n return \"connected\" === s.impl.iceConnectionState || \"completed\" === s.impl.iceConnectionState;\n }, s._needIceRestart = !1;\n var c = g.PCFactory.get().iceConfig,\n l = c;\n return void 0 !== l && null !== l || (l = {\n gatherPolicy: \"all\",\n iceServers: []\n }), a && (l.iceServers = a), l.bundlePolicy = \"max-compat\", \"chrome\" === d.default.getWSVendor() && E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.unifiedPlan && (l.sdpSemantics = \"unified-plan\"), s._createImpl(l), s;\n }\n\n return o(t, e), a(t, [{\n key: \"_createImpl\",\n value: function value(e) {\n var t = this;\n\n if (this.mode === u.PeerConnectionMode.CONFERENCE && \"chrome\" === d.default.getWSVendor()) {\n var n = {\n mandatory: {},\n optional: [{\n googHighStartBitrate: !0\n }, {\n googHighBitrate: !0\n }, {\n googSkipEncodingUnusedStreams: !0\n }, {\n googScreencastMinBitrate: 400\n }, {\n googVeryHighBitrate: !0\n }, {\n googCpuOveruseDetection: !0\n }, {\n googCpuOveruseEncodeUsage: !0\n }, {\n googCpuUnderuseThreshold: 55\n }, {\n googCpuOveruseThreshold: 85\n }]\n },\n r = RTCPeerConnection;\n this.impl = new r(e, n);\n } else this.impl = new RTCPeerConnection(e);\n\n if (this.impl.getTransceivers && \"firefox\" === d.default.getWSVendor() && (g.PCFactory.hasTransceivers = !0), void 0 !== this.impl.ontrack ? this.impl.ontrack = function (e) {\n return t.onAddTrack(e);\n } : void 0 !== this.impl.onaddtrack ? this.impl.onaddtrack = function (e) {\n return t.onAddTrack(e);\n } : this.impl.onaddstream = function (e) {\n return t.onAddStream(e);\n }, this.impl.onicecandidate = function (e) {\n t.onICECandidate(e.candidate);\n }, this.impl.oniceconnectionstatechange = function (e) {\n \"completed\" !== t.impl.iceConnectionState && \"connected\" !== t.impl.iceConnectionState || (t.iceTimer && clearTimeout(t.iceTimer), t.iceTimer = null, t.reInviteQ && t.reInviteQ.runNext()), \"failed\" === t.impl.iceConnectionState && (t.renegotiationInProgress = !1, t._runReinvite(!0));\n }, this.rtpSenders = [], this.renegotiationInProgress = !1, this.impl.onnegotiationneeded = function (e) {\n return t.onRenegotiation();\n }, this.impl.onsignalingstatechange = function (e) {\n return t.onSignalingStateChange();\n }, this.impl.oniceconnectionstatechange = function (e) {\n return t.onConnectionChange();\n }, this.iceRole = T.controlling, this._remoteStreams = [], this.banReinviteAnswer = !1, this._call = v.CallManager.get().calls[this.id], void 0 !== this._call ? this.onHold = !this._call.active() : this.onHold = !1, this.rtcCollectingCycle = setInterval(function () {\n t.getPCStats();\n }, v.CallManager.get().rtcStatsInquiryInterval), void 0 !== this._call) {\n var i = this._call.headers()[S.Constants.CALLSTATSIOID_HEADER];\n\n void 0 === i && (i = this._call.id()), C.CallstatsIo.get().addNewFabric(this.impl, this._call.number(), this.videoEnabled ? C.CallstatsIoFabricUsage.multiplex : C.CallstatsIoFabricUsage.audio, i);\n }\n\n this.needTransportRestart = !1, \"_default\" !== this.id && v.CallManager.get().calls[this.id] && (this.reInviteQ = new L.ReInviteQ(v.CallManager.get().calls[this.id], this._canReInvite));\n }\n }, {\n key: \"onSignalingStateChange\",\n value: function value() {\n this.logger.info(\"Signal state changed to \" + this.impl.signalingState + \" for PC: \" + this.id), this.impl.signalingState;\n }\n }, {\n key: \"getPCStats\",\n value: function value() {\n var e = this;\n d.default.getRTCStats(this.impl).then(function (t) {\n return v.CallManager.get().callStats.sendStatistics(e._call, t);\n });\n }\n }, {\n key: \"onConnectionChange\",\n value: function value() {\n \"completed\" === this.impl.iceConnectionState && void 0 !== this._call && this._call.dispatchEvent({\n name: \"ICECompleted\",\n call: this._call\n }), \"completed\" !== this.impl.iceConnectionState && \"connected\" !== this.impl.iceConnectionState || (this.iceTimer && clearTimeout(this.iceTimer), this.iceTimer = null, this.reInviteQ && this.reInviteQ.runNext()), R.CallStatsAnalyzer.get().checkICEConnection(this._call, this.impl.iceConnectionState);\n }\n }, {\n key: \"onRenegotiation\",\n value: function value() {\n if (void 0 !== this.impl) {\n if (\"disconnected\" === this.impl.connectionState || \"failed\" === this.impl.connectionState) return void this.logger.info(\"Renegotiation requested on closed PeerConnection\");\n if (null === this.impl.localDescription) return void this.logger.info(\"Renegotiation needed, but no local SD. Skipping\");\n if (\"connected\" !== this.impl.iceConnectionState && \"completed\" !== this.impl.iceConnectionState) return this.logger.info(\"Renegotiation requested while ice state is \" + this.impl.iceConnectionState + \". Postponing\"), void setTimeout(this.onRenegotiation, 100);\n if (this.renegotiationInProgress) return void this.logger.info(\"Renegotiation in progress. Queueing\");\n this.logger.info(\"Renegotiation started\"), this._runReinvite();\n }\n }\n }, {\n key: \"_getLocalOfferRegular\",\n value: function value() {\n var e = this;\n return this.iceRole = T.controlling, new Promise(function (t, n) {\n var r = e.getReceiveOptions();\n e.impl.createOffer(r).then(function (t) {\n e.logger.info(\"_getLocalOfferRegular(), created local SDP: \\n\" + t.sdp);\n var n = {\n type: t.type,\n sdp: t.sdp\n };\n return n = g.PCFactory.get().addBandwidthParams(n), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (n = _.SDPMuggle.removeTransportCC(n)), n = _.SDPMuggle.removeDoublePT(n), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (n = _.SDPMuggle.addXAS(n)), e.codecRearrange(n);\n }).then(function (t) {\n return e.srcLocalSDP = t.sdp, e.logger.info(\"_getLocalOfferRegular(), set local SDP: \\n\" + t.sdp), e.impl.setLocalDescription(t);\n }).then(function () {\n t(e.impl.localDescription);\n }).catch(function (e) {\n n(e);\n });\n });\n }\n }, {\n key: \"getReceiveOptions\",\n value: function value() {\n return {\n offerToReceiveAudio: !this.onHold,\n offerToReceiveVideo: this.videoEnabled.receiveVideo && !this.onHold\n };\n }\n }, {\n key: \"updateHoldState\",\n value: function value() {\n var e = this;\n this.impl.getLocalStreams().forEach(function (t) {\n t.getTracks().forEach(function (t) {\n t.enabled = !e.onHold;\n });\n }), this.impl.getRemoteStreams().forEach(function (t) {\n t.getTracks().forEach(function (t) {\n t.enabled = !e.onHold;\n });\n });\n }\n }, {\n key: \"onICECandidate\",\n value: function value(e) {\n e && null !== e ? this.sendLocalCandidateToPeer(\"a=\" + e.candidate, e.sdpMLineIndex) : this.logger.info(\"End of candidates\");\n }\n }, {\n key: \"onAddTrack\",\n value: function value(e) {\n this._call && b.EndpointManager.get().addTrack(this._call, e.track);\n }\n }, {\n key: \"onAddStream\",\n value: function value(e) {\n this._call && b.EndpointManager.get().addStream(this._call, e.stream);\n }\n }, {\n key: \"_processRemoteAnswer\",\n value: function value(e, t) {\n var n = this;\n if (this._pendingOffer) return new Promise(function (r, i) {\n n.logger.info(\"_processRemoteAnswer(), set local SDP: \\n\" + n._pendingOffer.sdp), n.impl.setLocalDescription(n._pendingOffer).then(function () {\n r(n._processRemoteAnswer(e, t));\n }), n._pendingOffer = void 0;\n });\n if (0 === t.length && this._call) return this.logger.error(\"Empty SDP from server. Call will be terminated.\"), void this._call.hangup({\n \"X-WebRTCError\": \"no sdp\"\n });\n\n if (this.iceTimer = setTimeout(function () {\n n._call.notifyICETimeout();\n }, this.ICE_TIMEOUT), this.pendingEvent = [e, t], null === this.impl.remoteDescription || \"\" == this.impl.remoteDescription.sdp) {\n var r = {\n sdp: t,\n type: l.answer\n };\n return this.srcRemoteSDP = t, r = _.SDPMuggle.removeTIAS(r), this.logger.info(\"_processRemoteAnswer(), set remote SDP: \\n\" + r.sdp), this.impl.setRemoteDescription(r).then(function (e) {\n n._needIceRestart && n._runReinvite(!0);\n });\n }\n }\n }, {\n key: \"_getLocalOffer\",\n value: function value() {\n return \"firefox\" === d.default.getWSVendor() && this.impl.remoteDescription && this.impl.remoteDescription.sdp && -1 === this.impl.remoteDescription.sdp.indexOf(\"VIMS\") ? this._getLocalOfferFF() : this._getLocalOfferRegular();\n }\n }, {\n key: \"_getLocalOfferFF\",\n value: function value() {\n var e = this;\n return this.iceRole = T.controlling, new Promise(function (t, n) {\n var r = e.getReceiveOptions();\n e.impl.createOffer(r).then(function (t) {\n e.logger.info(\"_getLocalOfferFF(), created local SDP: \\n\" + t.sdp);\n var n = {\n type: t.type,\n sdp: t.sdp\n };\n return n = _.SDPMuggle.removeDoublePT(n), n = g.PCFactory.get().addBandwidthParams(n), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (n = _.SDPMuggle.removeTransportCC(n)), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (n = _.SDPMuggle.addXAS(n)), e.codecRearrange(n);\n }).then(function (n) {\n e.srcLocalSDP = n.sdp, e._pendingOffer = n, t(n);\n }).catch(function (e) {\n n(e);\n });\n });\n }\n }, {\n key: \"_getLocalAnswer\",\n value: function value() {\n var e = this;\n return this.iceRole = T.controlled, new Promise(function (t, n) {\n var r = {\n mandatory: e.getReceiveOptions()\n };\n e.impl.createAnswer(r).then(function (t) {\n e.logger.info(\"_getLocalAnswer(), created local SDP: \\n\" + t.sdp);\n var n = {\n type: t.type,\n sdp: t.sdp\n };\n return n = g.PCFactory.get().addBandwidthParams(n), n = _.SDPMuggle.removeDoublePT(n), n = _.SDPMuggle.fixVideoRecieve(n, e._call.settings.videoDirections.receiveVideo), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (n = _.SDPMuggle.removeTransportCC(n)), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (n = _.SDPMuggle.addXAS(n)), e.codecRearrange(n);\n }).then(function (t) {\n return e.srcLocalSDP = t.sdp, e.logger.info(\"_getLocalAnswer(), set local SDP: \\n\" + t.sdp), e.impl.setLocalDescription(t);\n }).then(function () {\n t({\n type: l.answer,\n sdp: e.impl.localDescription.sdp\n });\n }).catch(function (e) {\n n(e);\n });\n });\n }\n }, {\n key: \"_processRemoteOffer\",\n value: function value(e) {\n var t = this;\n return 0 === e.length && this._call ? (this.logger.error(\"Empty SDP from server. Call will be terminated.\"), void this._call.hangup({\n \"X-WebRTCError\": \"no sdp\"\n })) : (this.iceRole = T.controlled, new Promise(function (n, r) {\n var i = new RTCSessionDescription({\n sdp: e,\n type: l.offer\n });\n E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (i = _.SDPMuggle.removeTransportCC(i)), t.srcRemoteSDP = e, i = _.SDPMuggle.removeTIAS(i), i = _.SDPMuggle.fixFFMIDBug(i), t.logger.info(\"_processRemoteOffer(), set remote SDP: \\n\" + i.sdp), t.impl.setRemoteDescription(i).then(function () {\n var e = {\n mandatory: t.getReceiveOptions()\n };\n return t.impl.createAnswer(e);\n }).then(function (e) {\n return t.logger.info(\"_processRemoteOffer(), created local SDP: \\n\" + e.sdp), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (e = _.SDPMuggle.removeTransportCC(e)), e = _.SDPMuggle.removeDoublePT(e), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (e = _.SDPMuggle.addXAS(e)), t.codecRearrange(e);\n }).then(function (e) {\n return t.srcLocalSDP = e.sdp, t.logger.info(\"_processRemoteOffer(), set local SDP: \\n\" + e.sdp), t.impl.setLocalDescription(e);\n }).then(function () {\n n(t.impl.localDescription.sdp);\n }).catch(function (e) {\n r(e);\n });\n }));\n }\n }, {\n key: \"_setRemoteDescription\",\n value: function value(e) {\n if (0 === e.length && this._call) return this.logger.error(\"Empty SDP from server. Call will be terminated.\"), void this._call.hangup({\n \"X-WebRTCError\": \"no sdp\"\n });\n var t = new RTCSessionDescription({\n sdp: e,\n type: l.offer\n });\n return t = _.SDPMuggle.removeTIAS(t), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (t = _.SDPMuggle.removeTransportCC(t)), this.srcRemoteSDP = e, this.logger.info(\"_setRemoteDescription(), set remote SDP: \\n\" + t.sdp), this.impl.setRemoteDescription(t);\n }\n }, {\n key: \"_handleReinvite\",\n value: function value(e, t) {\n var n = this;\n return 0 === t.length && this._call ? (this.logger.error(\"Empty SDP from server. Call will be terminated.\"), void this._call.hangup({\n \"X-WebRTCError\": \"no sdp\"\n })) : new Promise(function (r, i) {\n if (n.banReinviteAnswer && i(new Error()), !1 === n.renegotiationInProgress) {\n n.renegotiationInProgress = !0;\n var o = {\n sdp: t,\n type: l.offer\n };\n E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (o = _.SDPMuggle.removeTransportCC(o)), n.srcRemoteSDP = t, o = _.SDPMuggle.removeTIAS(o), n.logger.info(\"_handleReinvite(), set remote SDP: \\n\" + o.sdp), n.impl.setRemoteDescription(o).then(function () {\n var t = {\n mandatory: n.getReceiveOptions()\n };\n n.impl.createAnswer(t).then(function (t) {\n n.logger.info(\"_handleReinvite(), created local SDP: \\n\" + t.sdp);\n var o = {\n type: t.type,\n sdp: t.sdp\n };\n o = _.SDPMuggle.fixVideoRecieve(o, n.videoEnabled.receiveVideo), o = _.SDPMuggle.removeDoublePT(o), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (o = _.SDPMuggle.removeTransportCC(o)), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (o = _.SDPMuggle.addXAS(o)), n.srcLocalSDP = o.sdp;\n\n try {\n n.logger.info(\"_handleReinvite(), set local SDP: \\n\" + o.sdp), n.impl.setLocalDescription(o).then(function () {\n var t = {\n tracks: n.getTrackKind()\n };\n p.VoxSignaling.get().callRemoteFunction(h.RemoteFunction.acceptReInvite, n._call.id(), e, n.impl.localDescription.sdp, t), n.renegotiationInProgress = !1, n._call.dispatchEvent({\n name: y.CallEvents.Updated,\n result: !0,\n call: n._call\n }), n.updateHoldState(), setTimeout(function (e) {\n return n._fixTransreceiver();\n }, 0), r();\n });\n } catch (e) {\n n.renegotiationInProgress = !1, setTimeout(function (e) {\n return n._fixTransreceiver();\n }, 0), i(e);\n }\n });\n });\n } else if (!0 === n.renegotiationInProgress) {\n var a = {\n sdp: t,\n type: l.answer\n };\n n.renegotiationInProgress = !1, E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (a = _.SDPMuggle.removeTransportCC(a)), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (a = _.SDPMuggle.addXAS(a)), n.srcRemoteSDP = t, a = _.SDPMuggle.removeTIAS(a), n.logger.info(\"_handleReinvite(), set local SDP: \\n\" + n.pendingOffer.sdp), n.impl.setLocalDescription(n.pendingOffer).then(function () {\n try {\n n.logger.info(\"_handleReinvite(), set remote SDP: \\n\" + a.sdp), n.impl.setRemoteDescription(a).then(function () {\n n._call.dispatchEvent({\n name: y.CallEvents.Updated,\n result: !0,\n call: n._call\n }), n.updateHoldState(), setTimeout(function (e) {\n return n._fixTransreceiver();\n }, 0), r();\n });\n } catch (e) {\n n._call.dispatchEvent({\n name: y.CallEvents.Updated,\n result: !1,\n call: n._call\n }), n.renegotiationInProgress = !1, n.logger.error(JSON.stringify(e)), setTimeout(function (e) {\n return n._fixTransreceiver();\n }, 0), i(e);\n }\n\n clearTimeout(n.renegotiationTimer);\n });\n } else i(new Error(\"Universe was broken!\"));\n });\n }\n }, {\n key: \"_close\",\n value: function value() {\n var e = this;\n clearInterval(this.rtcCollectingCycle), this.impl.onnegotiationneeded = null;\n E.Client.getInstance().config();\n this.impl.removeTrack ? (this.rtpSenders.forEach(function (t) {\n e.impl.removeTrack(t);\n }), M.default.StreamManager.get().remCallStream(this._call)) : (M.default.StreamManager.get().remCallStream(this._call), this.impl.getLocalStreams().forEach(function (t) {\n e.impl.removeStream(t);\n })), this.impl.close(), void 0 !== this._call && C.CallstatsIo.get().sendFabricEvent(this.impl, C.CallstatsIoFabricEvent.fabricTerminated, this._call.id()), this._localStream = null, this._remoteStreams = null;\n }\n }, {\n key: \"_addRemoteCandidate\",\n value: function value(e, t) {\n var n = this;\n return new Promise(function (r, i) {\n try {\n n.impl.addIceCandidate(new RTCIceCandidate({\n candidate: e.substring(2),\n sdpMLineIndex: t\n })).then(function () {\n r();\n }).catch(function () {\n r();\n });\n } catch (e) {\n r();\n }\n });\n }\n }, {\n key: \"setConfiguration\",\n value: function value(e) {\n var t = this;\n this.impl && setTimeout(function () {\n if (t.srcRemoteSDP && -1 === t.srcRemoteSDP.indexOf(\"VIMS\")) if (t.impl && t.impl.setConfiguration) t.impl.setConfiguration(e), t.renegotiationInProgress = !1, t._runReinvite(!0);else if (t._pendingOffer) {\n var n = [];\n t.impl.getTransceivers().map(function (e) {\n e.sender.track && n.push(e.sender.track);\n }), t._createImpl(e), n.forEach(function (e) {\n t.impl.addTrack(e, new MediaStream([e]));\n }), t.impl.createOffer().then(function (e) {\n return t.logger.info(\"setConfiguration(), created local SDP: \\n\" + e.sdp), t._needIceRestart = !0, t.logger.info(\"setConfiguration(), set local SDP: \\n\" + t._pendingOffer.sdp), t.impl.setLocalDescription(t._pendingOffer);\n }).then(function () {\n t._pendingOffer = void 0;\n }).catch(function (e) {\n console.error(e);\n });\n }\n }, 800);\n }\n }, {\n key: \"_fixTransreceiver\",\n value: function value() {\n this.impl && this.impl.getTransceivers && this.impl.getTransceivers().forEach(function (e) {\n \"inactive\" === e.currentDirection && e.receiver.track && !e.sender.track && e.receiver.track.onended && (e.receiver.track.stop(), e.receiver.track.onended(null));\n });\n }\n }, {\n key: \"codecRearrange\",\n value: function value(e) {\n var t = this;\n return new Promise(function (n, r) {\n var i = v.CallManager.get().calls[t.id];\n\n if (void 0 !== i) {\n var o = new m.CodecSorter(e.sdp),\n a = o.getUserCodecList();\n void 0 !== i.rearangeCodecs ? i.rearangeCodecs(a, i.settings.incoming).then(function (t) {\n o.setUserCodecList(t), n({\n type: e.type,\n sdp: o.getSDP()\n });\n }, function (e) {\n t.logger.error(JSON.stringify(e)), r(e);\n }) : (t.logger.info(\"No sdp transformer registered\"), o.setUserCodecList(a), n({\n type: e.type,\n sdp: o.getSDP()\n }));\n } else n(e);\n });\n }\n }, {\n key: \"_sendDTMF\",\n value: function value(e, t, n) {\n void 0 !== this.dtmfSender && this.dtmfSender.insertDTMF(e, t, n);\n }\n }, {\n key: \"_hold\",\n value: function value(e) {\n var t = this;\n C.CallstatsIo.get().sendFabricEvent(this.impl, e ? C.CallstatsIoFabricEvent.fabricHold : C.CallstatsIoFabricEvent.fabricResume, this._call.id()), this.onHold = e, setTimeout(function () {\n t.impl.getTransceivers && \"firefox\" === d.default.getWSVendor() ? t.impl.getTransceivers().forEach(function (t) {\n t.direction = e ? \"sendonly\" : \"sendrecv\";\n }) : t.onRenegotiation();\n }, 0);\n }\n }, {\n key: \"_getDirections\",\n value: function value() {\n var e = {};\n return e.local = _.SDPMuggle.detectDirections(this.impl.localDescription.sdp), e.remote = _.SDPMuggle.detectDirections(this.impl.remoteDescription.sdp), e;\n }\n }, {\n key: \"_getStreamActivity\",\n value: function value() {\n var e = {};\n return e.local = this.getMediaActivity(this.impl.getLocalStreams()), e.remote = this.getMediaActivity(this.impl.getRemoteStreams()), e;\n }\n }, {\n key: \"getMediaActivity\",\n value: function value(e) {\n return e.map(function (e) {\n return e.getTracks().map(function (e) {\n return {\n id: e.id,\n kind: e.kind,\n mutted: e.muted,\n active: e.enabled,\n label: e.label\n };\n });\n });\n }\n }, {\n key: \"_hdnFRSPrep\",\n value: function value() {\n this.banReinviteAnswer = !0;\n }\n }, {\n key: \"_hdnFRS\",\n value: function value() {\n this.renegotiationInProgress = !1, this.onRenegotiation();\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"WebRTCPC\";\n }\n }, {\n key: \"hasLocalAudio\",\n value: function value() {\n return this.impl.getLocalStreams().some(function (e) {\n return !!e.getAudioTracks().length;\n });\n }\n }, {\n key: \"hasLocalVideo\",\n value: function value() {\n var e = this;\n return this.impl.getLocalStreams().some(function (t) {\n return t.getVideoTracks().some(function (t) {\n return !e.shareScreenMedia || !e.shareScreenMedia.some(function (e) {\n return e.getTracks().some(function (e) {\n return e.id === t.id;\n });\n });\n });\n });\n }\n }, {\n key: \"enableVideo\",\n value: function value(e) {\n var t = [];\n this._call && (t = M.default.StreamManager.get()._getScreenSharing(this._call) || []);\n var n = [];\n t.forEach(function (e) {\n return e.stream.getTracks().forEach(function (e) {\n return n.push(e.id);\n });\n }), this.impl.getLocalStreams().forEach(function (t) {\n t.getVideoTracks().forEach(function (t) {\n n.some(function (e) {\n return t.id === e;\n }) || (t.enabled = e);\n });\n });\n }\n }, {\n key: \"getTransceivers\",\n value: function value() {\n return this.impl.getTransceivers ? this.impl.getTransceivers() : [];\n }\n }, {\n key: \"getRemoteDescription\",\n value: function value() {\n return this.impl.remoteDescription && this.impl.remoteDescription.sdp ? this.impl.remoteDescription.sdp : \"\";\n }\n }, {\n key: \"_addCustomMedia\",\n value: function value(e) {\n var t = this;\n\n if (e && (\"firefox\" === d.default.getWSVendor() ? e.getTracks().forEach(function (e) {\n var n = new MediaStream([e]);\n t.rtpSenders.push(t.impl.addTrack(e, n)), t.onRenegotiation();\n }) : this.impl.addStream(e), !this.dtmfSender && this._call)) {\n var n = d.default.getDTMFSender(this.impl, this._call.id());\n n && (this.dtmfSender = n);\n }\n }\n }, {\n key: \"_removeCustomMedia\",\n value: function value(e) {\n var t = this;\n if (e) if (\"firefox\" === d.default.getWSVendor()) {\n if (this.impl.getTransceivers) {\n var n = this.impl.getTransceivers();\n n.forEach(function (t) {\n e.getTracks().find(function (e) {\n return e.id === t.sender.track.id;\n }) && t.stop();\n });\n } else this.impl.getSenders().forEach(function (n) {\n -1 !== e.getTracks().indexOf(n.track) && t.impl.removeTrack(n);\n });\n } else this.impl.removeStream(e);\n }\n }, {\n key: \"_updateCustomMedia\",\n value: function value(e) {\n var t = this;\n e && \"closed\" !== this.impl.signalingState && e.getTracks().forEach(function (e) {\n var n = t.impl.getSenders().find(function (t) {\n return t.track && t.track.kind === e.kind;\n });\n n && n.replaceTrack(e);\n });\n }\n }, {\n key: \"_fixFFSoundBug\",\n value: function value() {\n var e = this;\n \"firefox\" === d.default.getWSVendor() && g.PCFactory.hasTransceivers && setTimeout(function () {\n if (e.impl.getSenders) {\n e.impl.getSenders().forEach(function (e) {\n if (e.replaceTrack) {\n var t = e.track;\n e.replaceTrack(t);\n }\n });\n }\n }, 1e3);\n }\n }, {\n key: \"getConfiguration\",\n value: function value() {\n return this.impl ? this.impl.getConfiguration() : null;\n }\n }, {\n key: \"_runReinvite\",\n value: function value() {\n var e = this,\n t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];\n\n if (!1 === this.renegotiationInProgress) {\n this.renegotiationInProgress = !0;\n var n = {};\n this.impl.getTransceivers && \"firefox\" === d.default.getWSVendor() || (n = this.getReceiveOptions()), t && (n.iceRestart = !0), this.logger.trace(JSON.stringify(n)), this.updateHoldState(), this.impl.createOffer(n).then(function (t) {\n return e.logger.info(\"_runReinvite(), created local SDP: \\n\" + t.sdp), e.codecRearrange(t);\n }).then(function (t) {\n var n = {\n type: t.type,\n sdp: t.sdp\n };\n return n = g.PCFactory.get().addBandwidthParams(n), n = _.SDPMuggle.removeDoublePT(n), n = _.SDPMuggle.removeTelephoneEvents(n), n = _.SDPMuggle.fixVideoRecieve(n, e.videoEnabled.receiveVideo), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (n = _.SDPMuggle.removeTransportCC(n)), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (n = _.SDPMuggle.addXAS(n)), n;\n }).then(function (t) {\n return e.srcLocalSDP = t.sdp, e.pendingOffer = t, t;\n }).then(function () {\n var t = {\n tracks: e.getTrackKind()\n };\n p.VoxSignaling.get().callRemoteFunction(h.RemoteFunction.reInvite, e._call.id(), {}, e.pendingOffer.sdp, t);\n }).catch(function (t) {\n e.logger.error(\"Error when renegatiation start \" + t.message);\n });\n } else this.logger.error(\"Another renegatiation in progress\");\n }\n }]), t;\n }(u.PeerConnection);\n\n c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_createImpl\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"onSignalingStateChange\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"getPCStats\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"onConnectionChange\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"onRenegotiation\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_getLocalOfferRegular\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"getReceiveOptions\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"updateHoldState\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"onICECandidate\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"onAddTrack\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"onAddStream\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_processRemoteAnswer\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_getLocalOffer\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_getLocalOfferFF\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_getLocalAnswer\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_setRemoteDescription\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_handleReinvite\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_close\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_addRemoteCandidate\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"setConfiguration\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"codecRearrange\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_sendDTMF\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_hold\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_getStreamActivity\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"getMediaActivity\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_hdnFRSPrep\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_hdnFRS\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"hasLocalAudio\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"hasLocalVideo\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"enableVideo\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_addCustomMedia\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_removeCustomMedia\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_updateCustomMedia\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_fixFFSoundBug\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"getConfiguration\", null), t.WebRTCPC = k;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var r = n(35);\n t.AudioDeviceManager = r.AudioDeviceManager;\n var i = n(36);\n t.CameraManager = i.CameraManager;\n var o = n(29);\n t.StreamManager = o.StreamManager;\n var a = n(51);\n t.IOSCacheManager = a.IOSCacheManager;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = n(0),\n a = function () {\n function e() {\n if (r(this, e), this._cachedChecksum = 0, this._lastCameraParams = {}, this._lastAudioParams = {}, void 0 !== e.instance) throw new Error(\"Error - use StreamManager.get()\");\n }\n\n return i(e, [{\n key: \"getStream\",\n value: function value(e) {\n var t = this;\n return new Promise(function (n, r) {\n if (t._localMedia && t._localMedia.active && t._cachedChecksum === t.getChecksumm(e)) return void n(t._localMedia);\n navigator.mediaDevices.getUserMedia(e).then(function (r) {\n o.LogManager.get().writeMessage(o.LogCategory.USERMEDIA, \"IOSCacheManager\", o.LogLevel.INFO, \"Media access granted\"), t._cachedChecksum = t.getChecksumm(e), t._localMedia = r, n(r);\n }).catch(function (e) {\n o.LogManager.get().writeMessage(o.LogCategory.USERMEDIA, \"IOSCacheManager\", o.LogLevel.ERROR, \"Media access denied: \" + (e ? e.message || e.name || e : \"unknown\")), r(e);\n });\n });\n }\n }, {\n key: \"getChecksumm\",\n value: function value(e) {\n var t = 0;\n return e.audio && t++, e.video && t++, t;\n }\n }, {\n key: \"clear\",\n value: function value(e) {\n for (var t in this._callRendererList[e.id()]) {\n this._callRendererList[e.id()].hasOwnProperty(t) && delete this._callRendererList[e.id()][t];\n }\n\n delete this._callRendererList[e.id()];\n }\n }, {\n key: \"registerMediaRenderer\",\n value: function value(e, t) {}\n }, {\n key: \"diffCameraParams\",\n value: function value(e) {\n return this.fastDiffObjects(this._lastCameraParams, e);\n }\n }, {\n key: \"diffAudioParams\",\n value: function value(e) {\n return this.fastDiffObjects(this._lastAudioParams, e);\n }\n }, {\n key: \"fastDiffObjects\",\n value: function value(e, t) {\n return Object.keys(e).length === Object.keys(t).length && Object.keys(e).every(function (n) {\n return e[n] === t[n];\n });\n }\n }], [{\n key: \"get\",\n value: function value() {\n return void 0 === e.instance && (e.instance = new e()), e.instance;\n }\n }]), e;\n }();\n\n t.IOSCacheManager = a;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n var a = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n s = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n c = function c(e, t, n, r) {\n var i,\n o = arguments.length,\n a = o < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : s(Reflect)) && \"function\" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (a = (o < 3 ? i(a) : o > 3 ? i(t, n, a) : i(t, n)) || a);\n }\n return o > 3 && a && Object.defineProperty(t, n, a), a;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var l = n(38),\n u = n(0),\n d = n(16),\n g = function (e) {\n function t() {\n return r(this, t), i(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));\n }\n\n return o(t, e), a(t, [{\n key: \"getEndpointByTrack\",\n value: function value(e, t) {\n var n = this.getRtrackId(e, t.id);\n return this._getEndpointByTrackId(e, n);\n }\n }, {\n key: \"getRtrackId\",\n value: function value(e, t) {\n if (void 0 === e.peerConnection) return \"\";\n\n for (var n = e.peerConnection.getTransceivers(), r = 0; r < n.length; r++) {\n if (null !== n[r].mid && n[r].receiver.track.id === t) {\n var i = d.SDPMuggle.findTrackByMid(e.peerConnection.getRemoteDescription(), n[r].mid);\n if (i) return i;\n }\n }\n }\n }, {\n key: \"getMediaTypeTrack\",\n value: function value(e, t) {\n var n = this.getRtrackId(e, t.id);\n return this._getMediaTypeTrack(e, {\n id: n,\n kind: t.kind\n });\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"TransceiversEndpointManager\";\n }\n }]), t;\n }(l.AbstractEndpointManager);\n\n c([u.LogManager.d_trace(u.LogCategory.ENDPOINT)], g.prototype, \"getEndpointByTrack\", null), c([u.LogManager.d_trace(u.LogCategory.ENDPOINT)], g.prototype, \"getMediaTypeTrack\", null), t.TransceiversEndpointManager = g;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n var a = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(38),\n c = function (e) {\n function t() {\n return r(this, t), i(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return o(t, e), a(t, [{\n key: \"_traceName\",\n value: function value() {\n return \"PlainEndpointManager\";\n }\n }, {\n key: \"getEndpointByTrack\",\n value: function value(e, t) {\n return this._getEndpointByTrackId(e, t.id);\n }\n }, {\n key: \"getMediaTypeTrack\",\n value: function value(e, t) {\n return this._getMediaTypeTrack(e, t);\n }\n }]), t;\n }(s.AbstractEndpointManager);\n\n t.PlainEndpointManager = c;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n var a = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n s = function e(t, n, r) {\n null === t && (t = Function.prototype);\n var i = Object.getOwnPropertyDescriptor(t, n);\n\n if (void 0 === i) {\n var o = Object.getPrototypeOf(t);\n return null === o ? void 0 : e(o, n, r);\n }\n\n if (\"value\" in i) return i.value;\n var a = i.get;\n if (void 0 !== a) return a.call(r);\n },\n c = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n l = function l(e, t, n, r) {\n var i,\n o = arguments.length,\n a = o < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : c(Reflect)) && \"function\" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, r);else for (var s = e.length - 1; s >= 0; s--) {\n (i = e[s]) && (a = (o < 3 ? i(a) : o > 3 ? i(t, n, a) : i(t, n)) || a);\n }\n return o > 3 && a && Object.defineProperty(t, n, a), a;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var u = n(12),\n d = n(2),\n g = n(6),\n f = n(0),\n p = n(3),\n v = function (e) {\n function t(e, n, o, a) {\n r(this, t);\n var s = i(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n, o, a));\n return s.settings.mode = u.CallMode.SERVER, s;\n }\n\n return o(t, e), a(t, [{\n key: \"answer\",\n value: function value(e, n) {\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"answer\", this).call(this, e, n);\n var r = {\n tracks: this.peerConnection.getTrackKind()\n };\n d.VoxSignaling.get().callRemoteFunction(p.RemoteFunction.acceptCall, this.settings.id, g.CallManager.cleanHeaders(n), r);\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"CallExServer\";\n }\n }]), t;\n }(u.Call);\n\n l([f.LogManager.d_trace(f.LogCategory.CALLEXSERVER)], v.prototype, \"answer\", null), t.CallExServer = v;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n var a = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n s = function e(t, n, r) {\n null === t && (t = Function.prototype);\n var i = Object.getOwnPropertyDescriptor(t, n);\n\n if (void 0 === i) {\n var o = Object.getPrototypeOf(t);\n return null === o ? void 0 : e(o, n, r);\n }\n\n if (\"value\" in i) return i.value;\n var a = i.get;\n if (void 0 !== a) return a.call(r);\n },\n c = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n l = function l(e, t, n, r) {\n var i,\n o = arguments.length,\n a = o < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : c(Reflect)) && \"function\" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, r);else for (var s = e.length - 1; s >= 0; s--) {\n (i = e[s]) && (a = (o < 3 ? i(a) : o > 3 ? i(t, n, a) : i(t, n)) || a);\n }\n return o > 3 && a && Object.defineProperty(t, n, a), a;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var u = n(12),\n d = n(2),\n g = n(0),\n f = n(3),\n p = n(10),\n v = n(1),\n h = n(4),\n m = n(5),\n y = function (e) {\n function t() {\n return r(this, t), i(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return o(t, e), a(t, [{\n key: \"answer\",\n value: function value(e, n, r) {\n var i = this;\n s(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), \"answer\", this).call(this, e, n), void 0 !== e && (void 0 !== n && \"object\" === (void 0 === n ? \"undefined\" : c(n)) || (n = {}), n[p.Constants.CALL_DATA_HEADER] = e), this._answerHeaders = n;\n v.Client.getInstance().config();\n return new Promise(function (e, t) {\n i._answerPromise = e, \"object\" === (void 0 === r ? \"undefined\" : c(r)) && (i.settings.videoDirections = r);\n\n var n = function n() {\n h.default.StreamManager.get().getCallStream(i).then(function (e) {\n i._peerConnection.fastAddCustomMedia(e), i._peerConnection.getLocalAnswer().then(function (e) {\n var t = {\n tracks: i.peerConnection.getTrackKind()\n };\n d.VoxSignaling.get().callRemoteFunction(f.RemoteFunction.acceptCall, i.id(), i._answerHeaders, e.sdp, t), i._peerConnection._fixFFSoundBug(), i._answerPromise();\n }).catch(function () {});\n }).catch(function (e) {\n return t(e);\n });\n };\n\n i._peerConnection ? n() : setTimeout(n, 600);\n });\n }\n }, {\n key: \"setActive\",\n value: function value(e) {\n var t = this;\n return e === this.settings.active ? new Promise(function (e, n) {\n n({\n name: m.CallEvents.Updated,\n result: !1,\n call: t\n });\n }) : (this._setActive(e), this.peerConnection.hold(!e));\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"CallExMedia\";\n }\n }]), t;\n }(u.Call);\n\n l([g.LogManager.d_trace(g.LogCategory.CALL)], y.prototype, \"answer\", null), l([g.LogManager.d_trace(g.LogCategory.CALL)], y.prototype, \"setActive\", null), t.CallExMedia = y;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n o = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n a = function a(e, t, n, r) {\n var i,\n a = arguments.length,\n s = a < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : o(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (a < 3 ? i(s) : a > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return a > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = n(0),\n c = function () {\n function e() {\n r(this, e);\n }\n\n return i(e, [{\n key: \"_traceName\",\n value: function value() {\n return \"CodecSorterHelpers\";\n }\n }], [{\n key: \"H264Sorter\",\n value: function value(e, t) {\n return t ? new Promise(function (t) {\n for (var n = 0; n < e.sections.length; n++) {\n if (\"video\" == e.sections[n].kind.toLowerCase()) {\n var r = e.sections[n].codec.filter(function (e) {\n var t = e.value.findIndex(function (e) {\n return \"rtpmap\" === e.name;\n });\n return -1 != e.value[t].value.toLowerCase().indexOf(\"h264\") && -1 == e.value[t].value.toLowerCase().indexOf(\"uc\");\n });\n r.length && (e.sections[n].codec = r);\n }\n }\n\n t(e);\n }) : new Promise(function (t) {\n for (var n = 0; n < e.sections.length; n++) {\n \"video\" == e.sections[n].kind.toLowerCase() && e.sections[n].codec.sort(function (e, t) {\n var n = e.value.findIndex(function (e) {\n return \"rtpmap\" === e.name;\n }),\n r = t.value.findIndex(function (e) {\n return \"rtpmap\" === e.name;\n });\n return -1 != e.value[n].value.toLowerCase().indexOf(\"h264\") && -1 == e.value[n].value.toLowerCase().indexOf(\"uc\") ? -1 : -1 != t.value[r].value.toLowerCase().indexOf(\"h264\") && -1 == t.value[r].value.toLowerCase().indexOf(\"uc\") ? 1 : 0;\n });\n }\n\n t(e);\n });\n }\n }, {\n key: \"H264ConfSorter\",\n value: function value(e, t) {\n return t ? new Promise(function (t) {\n for (var n = 0; n < e.sections.length; n++) {\n if (\"video\" == e.sections[n].kind.toLowerCase()) {\n var r = e.sections[n].codec.filter(function (e) {\n var t = e.value.findIndex(function (e) {\n return \"rtpmap\" === e.name;\n });\n return -1 != e.value[t].value.toLowerCase().indexOf(\"h264\") && -1 == e.value[t].value.toLowerCase().indexOf(\"uc\");\n });\n r.length && (e.sections[n].codec = r);\n }\n }\n\n t(e);\n }) : new Promise(function (t) {\n for (var n = 0; n < e.sections.length; n++) {\n \"video\" == e.sections[n].kind.toLowerCase() && (e.sections[n].codec.sort(function (e, t) {\n var n = e.value.findIndex(function (e) {\n return \"rtpmap\" === e.name;\n }),\n r = t.value.findIndex(function (e) {\n return \"rtpmap\" === e.name;\n });\n return -1 != e.value[n].value.toLowerCase().indexOf(\"h264\") && -1 == e.value[n].value.toLowerCase().indexOf(\"uc\") ? -1 : -1 != t.value[r].value.toLowerCase().indexOf(\"h264\") && -1 == t.value[r].value.toLowerCase().indexOf(\"uc\") ? 1 : 0;\n }), e.sections[n].codec.sort(function (e, t) {\n var n = (e.value.findIndex(function (e) {\n return \"rtpmap\" === e.name;\n }), t.value.findIndex(function (e) {\n return \"rtpmap\" === e.name;\n }), e.value.findIndex(function (e) {\n return \"fmtp\" === e.name;\n })),\n r = t.value.findIndex(function (e) {\n return \"fmtp\" === e.name;\n });\n return e.value[n] && t.value[r] ? -1 !== e.value[n].value.toLowerCase().indexOf(\"profile-level-id=42e01f\") && -1 !== e.value[n].value.toLowerCase().indexOf(\"packetization-mode=1\") ? -1 : -1 !== t.value[r].value.toLowerCase().indexOf(\"profile-level-id=42e01f\") && -1 !== e.value[n].value.toLowerCase().indexOf(\"packetization-mode=1\") ? 1 : 0 : 0;\n }));\n }\n\n t(e);\n });\n }\n }]), e;\n }();\n\n a([s.LogManager.d_trace(s.LogCategory.RTC)], c, \"H264Sorter\", null), a([s.LogManager.d_trace(s.LogCategory.RTC)], c, \"H264ConfSorter\", null), t.CodecSorterHelpers = c;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t, n) {\n return t in e ? Object.defineProperty(e, t, {\n value: n,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[t] = n, e;\n }\n\n function i(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var o = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n a = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n s = function s(e, t, n, r) {\n var i,\n o = arguments.length,\n s = o < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : a(Reflect)) && \"function\" == typeof Reflect.decorate) s = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (s = (o < 3 ? i(s) : o > 3 ? i(t, n, s) : i(t, n)) || s);\n }\n return o > 3 && s && Object.defineProperty(t, n, s), s;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var c = n(5),\n l = n(6),\n u = n(0),\n d = n(31),\n g = function () {\n function e() {\n i(this, e), this._calls = new WeakMap();\n }\n\n return o(e, [{\n key: \"addCall\",\n value: function value(e) {\n e && \"object\" === (void 0 === e ? \"undefined\" : a(e)) && (this._calls.set(e, {}), d.CallStatsAnalyzer.get().addCall(e));\n }\n }, {\n key: \"deleteCall\",\n value: function value(e) {\n return e && \"object\" === (void 0 === e ? \"undefined\" : a(e)) && this._calls.has(e) && (this._calls.get(e).nextDeliveryTimer && clearTimeout(this._calls.get(e).nextDeliveryTimer), this._calls.delete(e)), d.CallStatsAnalyzer.get().deleteCall(e), Promise.resolve(!0);\n }\n }, {\n key: \"sendStatistics\",\n value: function value(e, t) {\n var n = this;\n\n if (e && \"object\" === (void 0 === e ? \"undefined\" : a(e))) {\n this._calls.has(e) || this.addCall(e);\n\n var i = this._calls.get(e);\n\n if (!i.nextDeliveryTimer) {\n var o = t.formatted.filter(function (e) {\n return \"inbound-rtp\" === e.type;\n }),\n s = t.formatted.filter(function (e) {\n return \"track\" === e.type && o.some(function (t) {\n return t.trackId === e.id;\n });\n }),\n u = {\n jitterBuffer: s.reduce(function (e, t) {\n return Object.assign(e, r({}, t.id, {\n delay: t.jitterBufferDelay,\n emittedCount: t.jitterBufferEmittedCount\n }));\n }, {})\n },\n g = window.setTimeout(function () {\n return n._calls.set(e, {\n prevStats: u\n });\n }, l.CallManager.get().rtcStatsCollectionInterval);\n e.dispatchEvent({\n name: c.CallEvents.RTCStatsReceived,\n stats: t.raw\n }), e.dispatchEvent({\n name: c.CallEvents.CallStatsReceived,\n stats: this.getCallStats(e, t.formatted, i.prevStats)\n }), this._calls.set(e, {\n nextDeliveryTimer: g\n });\n }\n\n d.CallStatsAnalyzer.get().analyzeCallStats(e, t.formatted);\n }\n }\n }, {\n key: \"getCallStats\",\n value: function value(e) {\n var t = this,\n n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [],\n i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},\n o = n.find(function (e) {\n return \"candidate-pair\" === e.type && (e.selected || e.nominated && \"succeeded\" === e.state);\n }),\n a = o && n.find(function (e) {\n return \"local-candidate\" === e.type && e.id === o.localCandidateId;\n }),\n s = o ? o.timestamp : n[0] && n[0].timestamp,\n c = n.filter(function (e) {\n return \"track\" === e.type;\n }),\n l = n.filter(function (e) {\n return \"codec\" === e.type;\n }),\n u = n.filter(function (e) {\n return \"inbound-rtp\" === e.type;\n }),\n d = u.filter(function (e) {\n return \"audio\" === e.mediaType;\n }),\n g = u.filter(function (e) {\n return \"video\" === e.mediaType;\n }),\n f = n.filter(function (e) {\n return \"outbound-rtp\" === e.type;\n }),\n p = f.filter(function (e) {\n return \"audio\" === e.mediaType;\n }),\n v = f.filter(function (e) {\n return \"video\" === e.mediaType;\n }),\n h = e.getEndpoints(),\n m = function m(e) {\n var n = e.reduce(function (e, n) {\n var r = c.find(function (e) {\n return e.kind === n.kind && e.trackIdentifier === n.id;\n }) || {},\n o = r && u.find(function (e) {\n return e.trackId === r.id;\n }) || {},\n a = i.jitterBuffer && i.jitterBuffer[r.id] && i.jitterBuffer[r.id].delay ? i.jitterBuffer[r.id].delay : 0,\n d = i.jitterBuffer && i.jitterBuffer[r.id] && i.jitterBuffer[r.id].emittedCount ? i.jitterBuffer[r.id].emittedCount : 0,\n g = {\n bytesReceived: (o.bytesReceived || 0) + (e.bytesReceived || 0),\n packetsReceived: (o.packetsReceived || 0) + (e.packetsReceived || 0),\n packetsLost: (o.packetsLost || 0) + (e.packetsLost || 0),\n loss: t.getLoss(o),\n jitterBufferMs: void 0 !== r.jitterBufferDelay && void 0 !== r.jitterBufferEmittedCount ? r.jitterBufferEmittedCount - d ? 1e3 * (r.jitterBufferDelay - a) / (r.jitterBufferEmittedCount - d) + (e.jitterBufferMs || 0) : 0 : void 0,\n codec: (o && o.codecId && l.find(function (e) {\n return e.id === o.codecId;\n }) || {\n mimeType: void 0\n }).mimeType,\n timestamp: s\n };\n return \"video\" === n.kind ? Object.assign(g, {\n frameHeight: r && r.frameHeight,\n frameWidth: r && r.frameWidth\n }) : g;\n }, {});\n return e.length > 1 && n.jitterBufferMs && (n.jitterBufferMs = n.jitterBufferMs / e.length), n;\n };\n\n return {\n availableOutgoingBitrate: o && o.availableOutgoingBitrate,\n localCandidateType: a && a.candidateType,\n networkType: a && a.networkType,\n remoteCandidateType: o && (n.find(function (e) {\n return \"remote-candidate\" === e.type && e.id === o.remoteCandidateId;\n }) || {}).candidateType,\n rtt: o && o.currentRoundTripTime,\n timestamp: s,\n totalBytesReceived: this.sumByProp(u, \"bytesReceived\"),\n totalBytesSent: this.sumByProp(f, \"bytesSent\"),\n totalLoss: this.getLoss(u),\n totalPacketsLost: this.sumByProp(u, \"packetsLost\"),\n totalPacketsReceived: this.sumByProp(u, \"packetsReceived\"),\n totalPacketsSent: this.sumByProp(f, \"packetsSent\"),\n audioBytesReceived: this.sumByProp(d, \"bytesReceived\"),\n audioBytesSent: this.sumByProp(p, \"bytesSent\"),\n audioLoss: this.getLoss(d),\n audioPacketsLost: this.sumByProp(d, \"packetsLost\"),\n audioPacketsReceived: this.sumByProp(d, \"packetsReceived\"),\n audioPacketsSent: this.sumByProp(p, \"packetsSent\"),\n videoBytesReceived: this.sumByProp(g, \"bytesReceived\"),\n videoBytesSent: this.sumByProp(v, \"bytesSent\"),\n videoLoss: this.getLoss(g),\n videoPacketsLost: this.sumByProp(g, \"packetsLost\"),\n videoPacketsReceived: this.sumByProp(g, \"packetsReceived\"),\n videoPacketsSent: this.sumByProp(v, \"packetsSent\"),\n localAudioStats: p.length ? p.reduce(function (e, t) {\n return e.set(t.id, {\n bytesSent: t.bytesSent,\n packetsSent: t.packetsSent,\n timestamp: t.timestamp,\n audioLevel: (c.find(function (e) {\n return e.id === t.trackId;\n }) || {\n audioLevel: void 0\n }).audioLevel,\n codec: (l.find(function (e) {\n return e.id === t.codecId;\n }) || {\n mimeType: void 0\n }).mimeType\n });\n }, new Map()) : new Map(),\n localVideoStats: v.length ? v.reduce(function (e, t) {\n return e.set(t.id, {\n bytesSent: t.bytesSent,\n packetsSent: t.packetsSent,\n timestamp: t.timestamp,\n frameHeight: (c.find(function (e) {\n return e.id === t.trackId;\n }) || {\n frameHeight: void 0\n }).frameHeight,\n frameWidth: (c.find(function (e) {\n return e.id === t.trackId;\n }) || {\n frameWidth: void 0\n }).frameWidth,\n encoderBitrate: t.encoderBitrate,\n targetBitrate: t.targetBitrate,\n fps: t.framesPerSecond,\n codec: (l.find(function (e) {\n return e.id === t.codecId;\n }) || {\n mimeType: void 0\n }).mimeType\n });\n }, new Map()) : new Map(),\n endpointStats: h.length ? h.reduce(function (e, n) {\n var i = n.mediaRenderers.reduce(function (e, t) {\n return t.stream && t.stream.getTracks().filter(function (e) {\n return \"audio\" === e.kind;\n }).length ? Object.assign(e, r({}, t.stream.id, m(t.stream.getTracks().filter(function (e) {\n return \"audio\" === e.kind;\n })))) : e;\n }, {}),\n o = n.mediaRenderers.reduce(function (e, t) {\n return t.stream && t.stream.getTracks().filter(function (e) {\n return \"video\" === e.kind;\n }).length ? Object.assign(e, r({}, t.stream.id, m(t.stream.getTracks().filter(function (e) {\n return \"video\" === e.kind;\n })))) : e;\n }, {}),\n a = Object.values(i).concat(Object.values(o));\n return e.set(n.id, {\n audioBytesReceived: t.sumByProp(Object.values(i), \"bytesReceived\"),\n audioPacketsLost: t.sumByProp(Object.values(i), \"packetsLost\"),\n audioPacketsReceived: t.sumByProp(Object.values(i), \"packetsReceived\"),\n videoBytesReceived: t.sumByProp(Object.values(o), \"bytesReceived\"),\n videoPacketsLost: t.sumByProp(Object.values(o), \"packetsLost\"),\n videoPacketsReceived: t.sumByProp(Object.values(o), \"packetsReceived\"),\n totalBytesReceived: t.sumByProp(a, \"bytesReceived\"),\n totalPacketsReceived: t.sumByProp(a, \"packetsReceived\"),\n remoteAudioStats: i,\n remoteVideoStats: o,\n timestamp: s\n });\n }, new Map()) : new Map()\n };\n }\n }, {\n key: \"getLoss\",\n value: function value(e) {\n if (!e.length) return 0;\n var t = e.reduce(function (e, t) {\n return {\n lost: e.lost + (t.packetsLost || 0),\n total: e.total + (t.packetsLost || 0) + (t.packetsReceived || 0)\n };\n }, {\n lost: 0,\n total: 0\n });\n return t.total ? t.lost / t.total : 0;\n }\n }, {\n key: \"sumByProp\",\n value: function value(e, t) {\n return e.length ? e.map(function (e) {\n return e[t];\n }).reduce(function (e) {\n return e + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0);\n }, 0) : 0;\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"CallStatsManager\";\n }\n }, {\n key: \"calls\",\n get: function get() {\n return this._calls;\n }\n }], [{\n key: \"get\",\n value: function value() {\n return void 0 === this.inst && (this.inst = new e()), this.inst;\n }\n }]), e;\n }();\n\n s([u.LogManager.d_trace(u.LogCategory.RTC)], g.prototype, \"addCall\", null), s([u.LogManager.d_trace(u.LogCategory.RTC)], g.prototype, \"deleteCall\", null), t.CallStatsManager = g;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n !function (e) {\n e[e.Firefox = 0] = \"Firefox\", e[e.Chrome = 1] = \"Chrome\";\n }(t.BrowserMode || (t.BrowserMode = {}));\n !function (e) {\n e[e.audio = \"audio\"] = \"audio\", e[e.video = \"video\"] = \"video\", e[e.sharing = \"sharing\"] = \"sharing\";\n }(t.TrackType || (t.TrackType = {}));\n !function (e) {\n e[e.ALREADY_IN_THIS_STATE = 0] = \"ALREADY_IN_THIS_STATE\", e[e.FUNCTIONALITY_IS_DISABLED = 1] = \"FUNCTIONALITY_IS_DISABLED\", e[e.INCORRECT_OPERATION = 2] = \"INCORRECT_OPERATION\", e[e.INTERNAL_ERROR = 3] = \"INTERNAL_ERROR\", e[e.MEDIA_IS_ON_HOLD = 4] = \"MEDIA_IS_ON_HOLD\", e[e.REJECTED = 5] = \"REJECTED\", e[e.TIMEOUT = 6] = \"TIMEOUT\";\n }(t.CallError || (t.CallError = {}));\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n !function (e) {\n !function (e) {\n e[e.Critical = \"CRITICAL\"] = \"Critical\", e[e.Major = \"MAJOR\"] = \"Major\", e[e.Minor = \"MINOR\"] = \"Minor\", e[e.None = \"NONE\"] = \"None\";\n }(e.QualityIssueLevel || (e.QualityIssueLevel = {}));\n }(t.Statistic || (t.Statistic = {}));\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = function () {\n function e() {\n r(this, e), this.attrCount = 0, this.bandwCount = 0, this.mediaCount = 0, this.dummyLines = [];\n }\n\n return i(e, [{\n key: \"addSessionAttribute\",\n value: function value(e) {\n void 0 === this.attr && (this.attr = []), this.attr.push(e), this.attrCount++;\n }\n }, {\n key: \"addMediaAttribute\",\n value: function value(e, t) {\n void 0 === this.media[t].attr && (this.media[t].attr = []);\n var n = e.value.split(\" \")[0],\n r = [\"ssrc\"],\n i = [\"rtcp\", \"ice-ufrag\", \"ice-pwd\", \"ice-options\", \"fingerprint\", \"setup\"],\n o = [\"rtpmap\", \"rtcp-fb\", \"fmtp\"],\n a = [\"extmap\"];\n ~i.indexOf(e.name) ? this.addAttr(t, e, \"ice\") : ~o.indexOf(e.name) ? this.addAttr(t, e, \"rtpmap\", n) : ~a.indexOf(e.name) ? this.addAttr(t, e, \"extmap\") : ~r.indexOf(e.name) ? this.addAttr(t, e, \"ssrc\") : this.media[t].attr.push(e), this.media[t].attrCount++;\n }\n }, {\n key: \"addAttr\",\n value: function value(e, t, n, r) {\n var i = this.media[e].attr.findIndex(function (e) {\n return r ? e.name === n && e.value[0].value.split(\" \")[0] === r : e.name === n;\n });\n -1 !== i ? this.media[e].attr[i].value.push(t) : this.media[e].attr.push({\n name: n,\n value: [t]\n });\n }\n }, {\n key: \"toString\",\n value: function value() {\n var t = this,\n n = [];\n n.push(\"v=0\"), n.push(\"o=\" + this.origin.user + \" \" + this.origin.id + \" \" + this.origin.version + \" \" + this.origin.netType + \" \" + this.origin.addrType + \" \" + this.origin.addr), n.push(\"s=\" + this.name), this.conn && n.push(e.printConnectionInfo(this.conn));\n\n for (var r = 0; r < this.bandwCount; r++) {\n n.push(e.printBandwidthInfo(this.bandw[r]));\n }\n\n n.push(\"t=\" + this.time.start + \" \" + this.time.stop);\n\n for (var i = 0; i < this.attrCount; i++) {\n n.push(e.printAttrInfo(this.attr[i]));\n }\n\n for (var o = 0; o < this.mediaCount; o++) {\n !function (r) {\n for (var i = t.media[r], o = \"m=\" + i.descr.media + \" \" + i.descr.port + (i.descr.portCount ? \"/\" + i.descr.portCount : \"\") + \" \" + i.descr.transport, a = 0; a < i.descr.fmtCount; a++) {\n o += \" \" + i.descr.fmt[a];\n }\n\n n.push(o), i.conn && n.push(e.printConnectionInfo(i.conn));\n\n for (var s = 0; s < i.bandwCount; s++) {\n n.push(e.printBandwidthInfo(i.bandw[s]));\n }\n\n var c = [\"sendrecv\", \"sendonly\", \"recvonly\", \"inactive\"],\n l = i.attr.find(function (e) {\n return !!~c.indexOf(e.name);\n });\n l && n.push(e.printAttrInfo(l));\n var u = i.attr.find(function (e) {\n return \"ice\" === e.name;\n });\n u && u.value.forEach(function (t) {\n n.push(e.printAttrInfo(t));\n });\n\n for (var d = i.attr.filter(function (e) {\n return \"ice\" !== e.name && !~c.indexOf(e.name);\n }), g = 0; g < d.length; g++) {\n Array.isArray(d[g].value) ? d[g].value.forEach(function (t) {\n n.push(e.printAttrInfo(t));\n }) : n.push(e.printAttrInfo(d[g]));\n }\n }(o);\n }\n\n return n.join(\"\\r\\n\") + \"\\r\\n\";\n }\n }], [{\n key: \"parse\",\n value: function value(t) {\n var n = new e();\n return e.splitLines(t).forEach(function (t, r) {\n switch (t.trim().charAt(0)) {\n case \"a\":\n var i = e.parseAttr(t, r);\n if (i) if (n.mediaCount) {\n if (!(n.media[n.mediaCount - 1].attrCount < 132)) throw new Error(\"Error adding media attribute, attribute is ignored\");\n n.addMediaAttribute(i, n.mediaCount - 1);\n } else {\n if (!(n.attrCount < 132)) throw new Error(\"Error adding media attribute, attribute is ignored\");\n n.addSessionAttribute(i);\n }\n break;\n\n case \"o\":\n n.origin = e.parseOrigin(t, r);\n break;\n\n case \"s\":\n n.name = e.parseGenericLine(t, r);\n break;\n\n case \"c\":\n var o = e.parseConnectionInfo(t, r);\n n.mediaCount ? n.media[n.mediaCount - 1].conn = o : n.conn = o;\n break;\n\n case \"t\":\n n.time = e.parseTime(t, r);\n break;\n\n case \"m\":\n var a = e.parseMedia(t, r);\n if (void 0 === n.media && (n.media = []), !(n.mediaCount < 16)) throw new Error(\"Error adding media, media is ignored\");\n n.media[n.mediaCount] = a, n.mediaCount++;\n break;\n\n case \"v\":\n e.parseVersion(t, r);\n break;\n\n case \"b\":\n var s = e.parseBandwidthInfo(t, r);\n\n if (n.mediaCount) {\n if (!(n.media[n.mediaCount - 1].bandwCount < 4)) throw new Error(\"Error adding session bandwidth info, info is ignored\");\n n.media[n.mediaCount - 1].bandw.push(s), n.media[n.mediaCount - 1].bandwCount++;\n } else {\n if (!(n.bandwCount < 4)) throw new Error(\"Error adding session bandwidth info, info is ignored\");\n void 0 === n.bandw && (n.bandw = []), n.bandw[n.bandwCount] = s, n.bandwCount++;\n }\n\n break;\n\n default:\n n.dummyLines.push(e.parseGenericLine(t, r));\n }\n }), n;\n }\n }, {\n key: \"parseAttr\",\n value: function value(t, n) {\n 0 !== t.indexOf(\"a=\") && e.scannerError(t, n);\n var r = e.chopLine(t).split(\":\");\n return {\n name: r[0],\n value: r.slice(1).join(\":\")\n };\n }\n }, {\n key: \"splitLines\",\n value: function value(e) {\n return e.split(/(\\r\\n|\\r|\\n)/).filter(function (e) {\n return e.length > 0;\n }).filter(RegExp.prototype.test.bind(/^([a-z])=(.*)/));\n }\n }, {\n key: \"parseGenericLine\",\n value: function value(t, n) {\n return 1 !== t.indexOf(\"=\") && e.scannerError(t, n), t.substr(2);\n }\n }, {\n key: \"parseOrigin\",\n value: function value(t, n) {\n 0 !== t.indexOf(\"o=\") && e.scannerError(t, n);\n var r = e.chopLine(t).split(/[\\s\\t]+/);\n return {\n user: r[0],\n id: r[1],\n version: r[2],\n netType: r[3],\n addrType: r[4],\n addr: r[5]\n };\n }\n }, {\n key: \"parseVersion\",\n value: function value(t, n) {\n 0 !== t.indexOf(\"v=0\") && e.scannerError(t, n);\n }\n }, {\n key: \"parseTime\",\n value: function value(t, n) {\n 0 !== t.indexOf(\"t=\") && e.scannerError(t, n);\n var r = e.chopLine(t).split(/[\\s\\t]+/);\n return {\n start: parseInt(r[0]),\n stop: parseInt(r[1])\n };\n }\n }, {\n key: \"parseConnectionInfo\",\n value: function value(t, n) {\n 0 !== t.indexOf(\"c=\") && e.scannerError(t, n);\n var r = e.chopLine(t).split(/[\\s\\t]+/);\n return {\n netType: r[0],\n addrType: r[1],\n addr: r[2]\n };\n }\n }, {\n key: \"parseBandwidthInfo\",\n value: function value(t, n) {\n 0 !== t.indexOf(\"b=\") && e.scannerError(t, n);\n var r = e.chopLine(t).split(/[:]+/);\n return {\n modifier: r[0],\n value: parseInt(r[1])\n };\n }\n }, {\n key: \"scannerError\",\n value: function value(e, t) {\n throw new Error(\"Error parsing sdp in line \" + t + ': \"' + e + '\" is not valid sdp line');\n }\n }, {\n key: \"chopLine\",\n value: function value(e) {\n return e.substr(2);\n }\n }, {\n key: \"parseMedia\",\n value: function value(t, n) {\n 0 !== t.indexOf(\"m=\") && e.scannerError(t, n);\n var r = e.chopLine(t).split(/[\\s\\t]+/),\n i = r[1].split(\"/\");\n return {\n descr: {\n media: r[0],\n port: parseInt(i[0]),\n portCount: parseInt(i[1] || \"0\"),\n transport: r[2],\n fmtCount: r.length - 3,\n fmt: r.slice(3)\n },\n attrCount: 0,\n bandwCount: 0,\n attr: [],\n bandw: []\n };\n }\n }, {\n key: \"printConnectionInfo\",\n value: function value(e) {\n return \"c=\" + e.netType + \" \" + e.addrType + \" \" + e.addr;\n }\n }, {\n key: \"printBandwidthInfo\",\n value: function value(e) {\n return \"b=\" + e.modifier + \":\" + e.value;\n }\n }, {\n key: \"printAttrInfo\",\n value: function value(e) {\n return \"a=\" + e.name + (e.value ? \":\" + e.value : \"\");\n }\n }]), e;\n }();\n\n o.SDP_EINSDP = \"Wrong sdp lines\", t.default = o;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = function () {\n function e() {\n r(this, e);\n }\n\n return i(e, [{\n key: \"_traceName\",\n value: function value() {\n return \"Edge\";\n }\n }], [{\n key: \"attachStream\",\n value: function value(e, t) {\n t.srcObject = e, t.play();\n }\n }, {\n key: \"detachStream\",\n value: function value(e) {\n e.pause(), e.src = \"\";\n }\n }, {\n key: \"getScreenMedia\",\n value: function value() {\n return navigator.getDisplayMedia ? navigator.getDisplayMedia() : new Promise(function (e, t) {\n t(new Error(\"Screen sharing not allowed for you platform\"));\n });\n }\n }, {\n key: \"getRTCStats\",\n value: function value(e) {\n return new Promise(function (e, t) {\n t(new Error(\"RTCStats sharing not allowed for you platform\"));\n });\n }\n }, {\n key: \"screenSharingSupported\",\n value: function value() {\n return new Promise(function (e, t) {\n if (navigator.getDisplayMedia) return void e(!0);\n e(!1);\n });\n }\n }]), e;\n }();\n\n t.Edge = o;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = n(21),\n a = n(0),\n s = function () {\n function e() {\n r(this, e);\n }\n\n return i(e, [{\n key: \"_traceName\",\n value: function value() {\n return \"Safari\";\n }\n }], [{\n key: \"attachStream\",\n value: function value(e, t) {\n t.srcObject = e;\n }\n }, {\n key: \"detachStream\",\n value: function value(e) {\n if (e instanceof HTMLVideoElement) {\n var t = e.pause();\n void 0 !== t && t.catch(function (e) {});\n } else e.pause();\n\n e.src = \"\";\n }\n }, {\n key: \"getDTMFSender\",\n value: function value(e, t) {\n return new o.SignalingDTMFSender(t);\n }\n }, {\n key: \"getScreenMedia\",\n value: function value() {\n return new Promise(function (e, t) {\n window.postMessage(\"get-sourceId\", \"*\"), window.addEventListener(\"message\", function (n) {\n if (n.origin == window.location.origin && (\"PermissionDeniedError\" == n.data && t(new Error(\"PermissionDeniedError\")), \"string\" != typeof n.data && void 0 !== n.data.sourceId)) {\n var r = {\n audio: !1,\n video: {\n mandatory: {\n chromeMediaSource: \"desktop\",\n maxWidth: screen.width > 1920 ? screen.width : 1920,\n maxHeight: screen.height > 1080 ? screen.height : 1080,\n chromeMediaSourceId: n.data.sourceId\n },\n optional: [{\n googTemporalLayeredScreencast: !0\n }]\n }\n };\n a.LogManager.get().writeMessage(a.LogCategory.USERMEDIA, \"[constraints]\", a.LogLevel.INFO, JSON.stringify(r)), navigator.mediaDevices.getUserMedia(r).then(function (t) {\n e(t);\n }).catch(function (e) {\n t(e);\n });\n }\n });\n });\n }\n }, {\n key: \"getRTCStats\",\n value: function value(t) {\n return new Promise(function (n, r) {\n var i = [];\n t.getStats(null).then(function (t) {\n t.forEach(function (e) {\n if (\"ssrc\" == e.type) {\n var t = {};\n t.id = e.id, t.type = e.type, t.timestamp = e.timestamp, i.push(t);\n }\n }), n({\n raw: i,\n formatted: e.prepareRTCStats(t)\n });\n }).catch(r);\n });\n }\n }, {\n key: \"prepareRTCStats\",\n value: function value(e) {\n var t = [];\n return e.forEach(function (e) {\n \"track\" !== e.type || e.kind ? \"outbound-rtp\" === e.type || \"inbound-rtp\" === e.type ? t.push(Object.assign(e, {\n trackId: e.mediaTrackId\n })) : t.push(e) : t.push(Object.assign(e, {\n kind: e.id.includes(\"audio\") ? \"audio\" : e.id.includes(\"video\") ? \"video\" : void 0\n }));\n }), t;\n }\n }]), e;\n }();\n\n t.Safari = s;\n }, function (e, t, n) {\n !function (t, n) {\n e.exports = n();\n }(0, function () {\n return function (e) {\n function t(r) {\n if (n[r]) return n[r].exports;\n var i = n[r] = {\n i: r,\n l: !1,\n exports: {}\n };\n return e[r].call(i.exports, i, i.exports, t), i.l = !0, i.exports;\n }\n\n var n = {};\n return t.m = e, t.c = n, t.d = function (e, n, r) {\n t.o(e, n) || Object.defineProperty(e, n, {\n enumerable: !0,\n get: r\n });\n }, t.r = function (e) {\n \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {\n value: \"Module\"\n }), Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n }, t.t = function (e, n) {\n if (1 & n && (e = t(e)), 8 & n) return e;\n if (4 & n && \"object\" == _typeof(e) && e && e.__esModule) return e;\n var r = Object.create(null);\n if (t.r(r), Object.defineProperty(r, \"default\", {\n enumerable: !0,\n value: e\n }), 2 & n && \"string\" != typeof e) for (var i in e) {\n t.d(r, i, function (t) {\n return e[t];\n }.bind(null, i));\n }\n return r;\n }, t.n = function (e) {\n var n = e && e.__esModule ? function () {\n return e.default;\n } : function () {\n return e;\n };\n return t.d(n, \"a\", n), n;\n }, t.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, t.p = \"\", t(t.s = 86);\n }({\n 17: function _(e, t, n) {\n var r, i, o;\n i = [t], void 0 === (o = \"function\" == typeof (r = function r(n) {\n \"use strict\";\n\n function r(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n Object.defineProperty(n, \"__esModule\", {\n value: !0\n }), n.default = void 0;\n\n var i = function () {\n function e() {\n !function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e);\n }\n\n return t = e, i = [{\n key: \"getFirstMatch\",\n value: function value(e, t) {\n var n = t.match(e);\n return n && n.length > 0 && n[1] || \"\";\n }\n }, {\n key: \"getSecondMatch\",\n value: function value(e, t) {\n var n = t.match(e);\n return n && n.length > 1 && n[2] || \"\";\n }\n }, {\n key: \"matchAndReturnConst\",\n value: function value(e, t, n) {\n if (e.test(t)) return n;\n }\n }, {\n key: \"getWindowsVersionName\",\n value: function value(e) {\n switch (e) {\n case \"NT\":\n return \"NT\";\n\n case \"XP\":\n return \"XP\";\n\n case \"NT 5.0\":\n return \"2000\";\n\n case \"NT 5.1\":\n return \"XP\";\n\n case \"NT 5.2\":\n return \"2003\";\n\n case \"NT 6.0\":\n return \"Vista\";\n\n case \"NT 6.1\":\n return \"7\";\n\n case \"NT 6.2\":\n return \"8\";\n\n case \"NT 6.3\":\n return \"8.1\";\n\n case \"NT 10.0\":\n return \"10\";\n\n default:\n return;\n }\n }\n }, {\n key: \"getAndroidVersionName\",\n value: function value(e) {\n var t = e.split(\".\").splice(0, 2).map(function (e) {\n return parseInt(e, 10) || 0;\n });\n if (t.push(0), !(1 === t[0] && t[1] < 5)) return 1 === t[0] && t[1] < 6 ? \"Cupcake\" : 1 === t[0] && t[1] >= 6 ? \"Donut\" : 2 === t[0] && t[1] < 2 ? \"Eclair\" : 2 === t[0] && 2 === t[1] ? \"Froyo\" : 2 === t[0] && t[1] > 2 ? \"Gingerbread\" : 3 === t[0] ? \"Honeycomb\" : 4 === t[0] && t[1] < 1 ? \"Ice Cream Sandwich\" : 4 === t[0] && t[1] < 4 ? \"Jelly Bean\" : 4 === t[0] && t[1] >= 4 ? \"KitKat\" : 5 === t[0] ? \"Lollipop\" : 6 === t[0] ? \"Marshmallow\" : 7 === t[0] ? \"Nougat\" : 8 === t[0] ? \"Oreo\" : void 0;\n }\n }, {\n key: \"getVersionPrecision\",\n value: function value(e) {\n return e.split(\".\").length;\n }\n }, {\n key: \"compareVersions\",\n value: function value(t, n) {\n var r = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],\n i = e.getVersionPrecision(t),\n o = e.getVersionPrecision(n),\n a = Math.max(i, o),\n s = 0,\n c = e.map([t, n], function (t) {\n var n = a - e.getVersionPrecision(t),\n r = t + new Array(n + 1).join(\".0\");\n return e.map(r.split(\".\"), function (e) {\n return new Array(20 - e.length).join(\"0\") + e;\n }).reverse();\n });\n\n for (r && (s = a - Math.min(i, o)), a -= 1; a >= s;) {\n if (c[0][a] > c[1][a]) return 1;\n\n if (c[0][a] === c[1][a]) {\n if (a === s) return 0;\n a -= 1;\n } else if (c[0][a] < c[1][a]) return -1;\n }\n }\n }, {\n key: \"map\",\n value: function value(e, t) {\n var n,\n r = [];\n if (Array.prototype.map) return Array.prototype.map.call(e, t);\n\n for (n = 0; n < e.length; n += 1) {\n r.push(t(e[n]));\n }\n\n return r;\n }\n }], (n = null) && r(t.prototype, n), i && r(t, i), e;\n var t, n, i;\n }();\n\n n.default = i, e.exports = t.default;\n }) ? r.apply(t, i) : r) || (e.exports = o);\n },\n 86: function _(e, t, n) {\n var r, i, o;\n i = [t, n(87)], void 0 === (o = \"function\" == typeof (r = function r(n, _r) {\n \"use strict\";\n\n function i(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n var o;\n Object.defineProperty(n, \"__esModule\", {\n value: !0\n }), n.default = void 0, _r = (o = _r) && o.__esModule ? o : {\n default: o\n };\n\n var a = function () {\n function e() {\n !function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e);\n }\n\n return t = e, o = [{\n key: \"getParser\",\n value: function value(e) {\n var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];\n if (\"string\" != typeof e) throw new Error(\"UserAgent should be a string\");\n return new _r.default(e, t);\n }\n }, {\n key: \"parse\",\n value: function value(e) {\n return new _r.default(e).getResult();\n }\n }], (n = null) && i(t.prototype, n), o && i(t, o), e;\n var t, n, o;\n }();\n\n n.default = a, e.exports = t.default;\n }) ? r.apply(t, i) : r) || (e.exports = o);\n },\n 87: function _(e, t, n) {\n var r, i, o;\n i = [t, n(88), n(89), n(90), n(91), n(17)], void 0 === (o = \"function\" == typeof (r = function r(n, _r2, i, o, a, s) {\n \"use strict\";\n\n function c(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function l(e) {\n return (l = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n })(e);\n }\n\n function u(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n Object.defineProperty(n, \"__esModule\", {\n value: !0\n }), n.default = void 0, _r2 = c(_r2), i = c(i), o = c(o), a = c(a), s = c(s);\n\n var d = function () {\n function e(t) {\n var n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];\n if (function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e), null == t || \"\" === t) throw new Error(\"UserAgent parameter can't be empty\");\n this._ua = t, this.parsedResult = {}, !0 !== n && this.parse();\n }\n\n return t = e, (n = [{\n key: \"getUA\",\n value: function value() {\n return this._ua;\n }\n }, {\n key: \"test\",\n value: function value(e) {\n return e.test(this._ua);\n }\n }, {\n key: \"parseBrowser\",\n value: function value() {\n var e = this;\n this.parsedResult.browser = {};\n\n var t = _r2.default.find(function (t) {\n if (\"function\" == typeof t.test) return t.test(e);\n if (t.test instanceof Array) return t.test.some(function (t) {\n return e.test(t);\n });\n throw new Error(\"Browser's test function is not valid\");\n });\n\n return t && (this.parsedResult.browser = t.describe(this.getUA())), this.parsedResult.browser;\n }\n }, {\n key: \"getBrowser\",\n value: function value() {\n return this.parsedResult.browser ? this.parsedResult.browser : this.parseBrowser();\n }\n }, {\n key: \"getBrowserName\",\n value: function value(e) {\n return e ? String(this.getBrowser().name).toLowerCase() || \"\" : this.getBrowser().name || \"\";\n }\n }, {\n key: \"getBrowserVersion\",\n value: function value() {\n return this.getBrowser().version;\n }\n }, {\n key: \"getOS\",\n value: function value() {\n return this.parsedResult.os ? this.parsedResult.os : this.parseOS();\n }\n }, {\n key: \"parseOS\",\n value: function value() {\n var e = this;\n this.parsedResult.os = {};\n var t = i.default.find(function (t) {\n if (\"function\" == typeof t.test) return t.test(e);\n if (t.test instanceof Array) return t.test.some(function (t) {\n return e.test(t);\n });\n throw new Error(\"Browser's test function is not valid\");\n });\n return t && (this.parsedResult.os = t.describe(this.getUA())), this.parsedResult.os;\n }\n }, {\n key: \"getOSName\",\n value: function value(e) {\n var t = this.getOS(),\n n = t.name;\n return e ? String(n).toLowerCase() || \"\" : n || \"\";\n }\n }, {\n key: \"getOSVersion\",\n value: function value() {\n return this.getOS().version;\n }\n }, {\n key: \"getPlatform\",\n value: function value() {\n return this.parsedResult.platform ? this.parsedResult.platform : this.parsePlatform();\n }\n }, {\n key: \"getPlatformType\",\n value: function value() {\n var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],\n t = this.getPlatform(),\n n = t.type;\n return e ? String(n).toLowerCase() || \"\" : n || \"\";\n }\n }, {\n key: \"parsePlatform\",\n value: function value() {\n var e = this;\n this.parsedResult.platform = {};\n var t = o.default.find(function (t) {\n if (\"function\" == typeof t.test) return t.test(e);\n if (t.test instanceof Array) return t.test.some(function (t) {\n return e.test(t);\n });\n throw new Error(\"Browser's test function is not valid\");\n });\n return t && (this.parsedResult.platform = t.describe(this.getUA())), this.parsedResult.platform;\n }\n }, {\n key: \"getEngine\",\n value: function value() {\n return this.parsedResult.engine ? this.parsedResult.engine : this.parseEngine();\n }\n }, {\n key: \"getEngineName\",\n value: function value(e) {\n return e ? String(this.getEngine().name).toLowerCase() || \"\" : this.getEngine().name || \"\";\n }\n }, {\n key: \"parseEngine\",\n value: function value() {\n var e = this;\n this.parsedResult.engine = {};\n var t = a.default.find(function (t) {\n if (\"function\" == typeof t.test) return t.test(e);\n if (t.test instanceof Array) return t.test.some(function (t) {\n return e.test(t);\n });\n throw new Error(\"Browser's test function is not valid\");\n });\n return t && (this.parsedResult.engine = t.describe(this.getUA())), this.parsedResult.engine;\n }\n }, {\n key: \"parse\",\n value: function value() {\n return this.parseBrowser(), this.parseOS(), this.parsePlatform(), this.parseEngine(), this;\n }\n }, {\n key: \"getResult\",\n value: function value() {\n return Object.assign({}, this.parsedResult);\n }\n }, {\n key: \"satisfies\",\n value: function value(e) {\n var t = this,\n n = {},\n r = 0,\n i = {},\n o = 0;\n\n if (Object.keys(e).forEach(function (t) {\n var a = e[t];\n \"string\" == typeof a ? (i[t] = a, o += 1) : \"object\" === l(a) && (n[t] = a, r += 1);\n }), r > 0) {\n var a = Object.keys(n),\n s = a.find(function (e) {\n return t.isOS(e);\n });\n\n if (s) {\n var c = this.satisfies(n[s]);\n if (void 0 !== c) return c;\n }\n\n var u = a.find(function (e) {\n return t.isPlatform(e);\n });\n\n if (u) {\n var d = this.satisfies(n[u]);\n if (void 0 !== d) return d;\n }\n }\n\n if (o > 0) {\n var g = Object.keys(i),\n f = g.find(function (e) {\n return t.isBrowser(e);\n });\n if (void 0 !== f) return this.compareVersion(i[f]);\n }\n }\n }, {\n key: \"isBrowser\",\n value: function value(e) {\n return this.getBrowserName(!0) === String(e).toLowerCase();\n }\n }, {\n key: \"compareVersion\",\n value: function value(e) {\n var t = [0],\n n = e,\n r = !1,\n i = this.getBrowserVersion();\n if (\"string\" == typeof i) return \">\" === e[0] || \"<\" === e[0] ? (n = e.substr(1), \"=\" === e[1] ? (r = !0, n = e.substr(2)) : t = [], \">\" === e[0] ? t.push(1) : t.push(-1)) : \"=\" === e[0] ? n = e.substr(1) : \"~\" === e[0] && (r = !0, n = e.substr(1)), t.indexOf(s.default.compareVersions(i, n, r)) > -1;\n }\n }, {\n key: \"isOS\",\n value: function value(e) {\n return this.getOSName(!0) === String(e).toLowerCase();\n }\n }, {\n key: \"isPlatform\",\n value: function value(e) {\n return this.getPlatformType(!0) === String(e).toLowerCase();\n }\n }, {\n key: \"isEngine\",\n value: function value(e) {\n return this.getEngineName(!0) === String(e).toLowerCase();\n }\n }, {\n key: \"is\",\n value: function value(e) {\n return this.isBrowser(e) || this.isOS(e) || this.isPlatform(e);\n }\n }, {\n key: \"some\",\n value: function value() {\n var e = this;\n return (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : []).some(function (t) {\n return e.is(t);\n });\n }\n }]) && u(t.prototype, n), c && u(t, c), e;\n var t, n, c;\n }();\n\n n.default = d, e.exports = t.default;\n }) ? r.apply(t, i) : r) || (e.exports = o);\n },\n 88: function _(e, t, n) {\n var r, i, o;\n i = [t, n(17)], void 0 === (o = \"function\" == typeof (r = function r(n, _r3) {\n \"use strict\";\n\n var i;\n Object.defineProperty(n, \"__esModule\", {\n value: !0\n }), n.default = void 0, _r3 = (i = _r3) && i.__esModule ? i : {\n default: i\n };\n var o = /version\\/(\\d+(\\.?_?\\d+)+)/i,\n a = [{\n test: [/googlebot/i],\n describe: function describe(e) {\n var t = {\n name: \"Googlebot\"\n },\n n = _r3.default.getFirstMatch(/googlebot\\/(\\d+(\\.\\d+))/i, e) || _r3.default.getFirstMatch(o, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/opera/i],\n describe: function describe(e) {\n var t = {\n name: \"Opera\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/(?:opera)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/opr\\/|opios/i],\n describe: function describe(e) {\n var t = {\n name: \"Opera\"\n },\n n = _r3.default.getFirstMatch(/(?:opr|opios)[\\s\\/](\\S+)/i, e) || _r3.default.getFirstMatch(o, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/SamsungBrowser/i],\n describe: function describe(e) {\n var t = {\n name: \"Samsung Internet for Android\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/(?:SamsungBrowser)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/Whale/i],\n describe: function describe(e) {\n var t = {\n name: \"NAVER Whale Browser\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/(?:whale)[\\s\\/](\\d+(?:\\.\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/MZBrowser/i],\n describe: function describe(e) {\n var t = {\n name: \"MZ Browser\"\n },\n n = _r3.default.getFirstMatch(/(?:MZBrowser)[\\s\\/](\\d+(?:\\.\\d+)+)/i, e) || _r3.default.getFirstMatch(o, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/focus/i],\n describe: function describe(e) {\n var t = {\n name: \"Focus\"\n },\n n = _r3.default.getFirstMatch(/(?:focus)[\\s\\/](\\d+(?:\\.\\d+)+)/i, e) || _r3.default.getFirstMatch(o, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/swing/i],\n describe: function describe(e) {\n var t = {\n name: \"Swing\"\n },\n n = _r3.default.getFirstMatch(/(?:swing)[\\s\\/](\\d+(?:\\.\\d+)+)/i, e) || _r3.default.getFirstMatch(o, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/coast/i],\n describe: function describe(e) {\n var t = {\n name: \"Opera Coast\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/(?:coast)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/yabrowser/i],\n describe: function describe(e) {\n var t = {\n name: \"Yandex Browser\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/(?:yabrowser)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/ucbrowser/i],\n describe: function describe(e) {\n var t = {\n name: \"UC Browser\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/(?:ucbrowser)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/Maxthon|mxios/i],\n describe: function describe(e) {\n var t = {\n name: \"Maxthon\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/(?:Maxthon|mxios)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/epiphany/i],\n describe: function describe(e) {\n var t = {\n name: \"Epiphany\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/(?:epiphany)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/puffin/i],\n describe: function describe(e) {\n var t = {\n name: \"Puffin\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/(?:puffin)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/sleipnir/i],\n describe: function describe(e) {\n var t = {\n name: \"Sleipnir\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/(?:sleipnir)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/k-meleon/i],\n describe: function describe(e) {\n var t = {\n name: \"K-Meleon\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/(?:k-meleon)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/micromessenger/i],\n describe: function describe(e) {\n var t = {\n name: \"WeChat\"\n },\n n = _r3.default.getFirstMatch(/(?:micromessenger)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e) || _r3.default.getFirstMatch(o, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/msie|trident/i],\n describe: function describe(e) {\n var t = {\n name: \"Internet Explorer\"\n },\n n = _r3.default.getFirstMatch(/(?:msie |rv:)(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/edg([ea]|ios)/i],\n describe: function describe(e) {\n var t = {\n name: \"Microsoft Edge\"\n },\n n = _r3.default.getSecondMatch(/edg([ea]|ios)\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/vivaldi/i],\n describe: function describe(e) {\n var t = {\n name: \"Vivaldi\"\n },\n n = _r3.default.getFirstMatch(/vivaldi\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/seamonkey/i],\n describe: function describe(e) {\n var t = {\n name: \"SeaMonkey\"\n },\n n = _r3.default.getFirstMatch(/seamonkey\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/sailfish/i],\n describe: function describe(e) {\n var t = {\n name: \"Sailfish\"\n },\n n = _r3.default.getFirstMatch(/sailfish\\s?browser\\/(\\d+(\\.\\d+)?)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/silk/i],\n describe: function describe(e) {\n var t = {\n name: \"Amazon Silk\"\n },\n n = _r3.default.getFirstMatch(/silk\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/phantom/i],\n describe: function describe(e) {\n var t = {\n name: \"PhantomJS\"\n },\n n = _r3.default.getFirstMatch(/phantomjs\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/slimerjs/i],\n describe: function describe(e) {\n var t = {\n name: \"SlimerJS\"\n },\n n = _r3.default.getFirstMatch(/slimerjs\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/blackberry|\\bbb\\d+/i, /rim\\stablet/i],\n describe: function describe(e) {\n var t = {\n name: \"BlackBerry\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/blackberry[\\d]+\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/(web|hpw)[o0]s/i],\n describe: function describe(e) {\n var t = {\n name: \"WebOS Browser\"\n },\n n = _r3.default.getFirstMatch(o, e) || _r3.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/bada/i],\n describe: function describe(e) {\n var t = {\n name: \"Bada\"\n },\n n = _r3.default.getFirstMatch(/dolfin\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/tizen/i],\n describe: function describe(e) {\n var t = {\n name: \"Tizen\"\n },\n n = _r3.default.getFirstMatch(/(?:tizen\\s?)?browser\\/(\\d+(\\.?_?\\d+)+)/i, e) || _r3.default.getFirstMatch(o, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/qupzilla/i],\n describe: function describe(e) {\n var t = {\n name: \"QupZilla\"\n },\n n = _r3.default.getFirstMatch(/(?:qupzilla)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e) || _r3.default.getFirstMatch(o, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/firefox|iceweasel|fxios/i],\n describe: function describe(e) {\n var t = {\n name: \"Firefox\"\n },\n n = _r3.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/chromium/i],\n describe: function describe(e) {\n var t = {\n name: \"Chromium\"\n },\n n = _r3.default.getFirstMatch(/(?:chromium)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e) || _r3.default.getFirstMatch(o, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/chrome|crios|crmo/i],\n describe: function describe(e) {\n var t = {\n name: \"Chrome\"\n },\n n = _r3.default.getFirstMatch(/(?:chrome|crios|crmo)\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: function test(e) {\n var t = !e.test(/like android/i),\n n = e.test(/android/i);\n return t && n;\n },\n describe: function describe(e) {\n var t = {\n name: \"Android Browser\"\n },\n n = _r3.default.getFirstMatch(o, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/playstation 4/i],\n describe: function describe(e) {\n var t = {\n name: \"PlayStation 4\"\n },\n n = _r3.default.getFirstMatch(o, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/safari|applewebkit/i],\n describe: function describe(e) {\n var t = {\n name: \"Safari\"\n },\n n = _r3.default.getFirstMatch(o, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/.*/i],\n describe: function describe(e) {\n return {\n name: _r3.default.getFirstMatch(/^(.*)\\/(.*) /, e),\n version: _r3.default.getSecondMatch(/^(.*)\\/(.*) /, e)\n };\n }\n }];\n n.default = a, e.exports = t.default;\n }) ? r.apply(t, i) : r) || (e.exports = o);\n },\n 89: function _(e, t, n) {\n var r, i, o;\n i = [t, n(17)], void 0 === (o = \"function\" == typeof (r = function r(n, _r4) {\n \"use strict\";\n\n var i;\n Object.defineProperty(n, \"__esModule\", {\n value: !0\n }), n.default = void 0, _r4 = (i = _r4) && i.__esModule ? i : {\n default: i\n };\n var o = [{\n test: [/windows phone/i],\n describe: function describe(e) {\n return {\n name: \"Windows Phone\",\n version: _r4.default.getFirstMatch(/windows phone (?:os)?\\s?(\\d+(\\.\\d+)*)/i, e)\n };\n }\n }, {\n test: [/windows/i],\n describe: function describe(e) {\n var t = _r4.default.getFirstMatch(/Windows ((NT|XP)( \\d\\d?.\\d)?)/i, e);\n\n return {\n name: \"Windows\",\n version: t,\n versionName: _r4.default.getWindowsVersionName(t)\n };\n }\n }, {\n test: [/macintosh/i],\n describe: function describe(e) {\n return {\n name: \"macOS\",\n version: _r4.default.getFirstMatch(/mac os x (\\d+(\\.?_?\\d+)+)/i, e).replace(/[_\\s]/g, \".\")\n };\n }\n }, {\n test: [/(ipod|iphone|ipad)/i],\n describe: function describe(e) {\n return {\n name: \"iOS\",\n version: _r4.default.getFirstMatch(/os (\\d+([_\\s]\\d+)*) like mac os x/i, e).replace(/[_\\s]/g, \".\")\n };\n }\n }, {\n test: function test(e) {\n var t = !e.test(/like android/i),\n n = e.test(/android/i);\n return t && n;\n },\n describe: function describe(e) {\n var t = _r4.default.getFirstMatch(/android[\\s\\/-](\\d+(\\.\\d+)*)/i, e),\n n = _r4.default.getAndroidVersionName(t),\n i = {\n name: \"Android\",\n version: t\n };\n\n return n && (i.versionName = n), i;\n }\n }, {\n test: [/(web|hpw)[o0]s/i],\n describe: function describe(e) {\n var t = _r4.default.getFirstMatch(/(?:web|hpw)[o0]s\\/(\\d+(\\.\\d+)*)/i, e),\n n = {\n name: \"WebOS\"\n };\n\n return t && t.length && (n.version = t), n;\n }\n }, {\n test: [/blackberry|\\bbb\\d+/i, /rim\\stablet/i],\n describe: function describe(e) {\n return {\n name: \"BlackBerry\",\n version: _r4.default.getFirstMatch(/rim\\stablet\\sos\\s(\\d+(\\.\\d+)*)/i, e) || _r4.default.getFirstMatch(/blackberry\\d+\\/(\\d+([_\\s]\\d+)*)/i, e) || _r4.default.getFirstMatch(/\\bbb(\\d+)/i, e)\n };\n }\n }, {\n test: [/bada/i],\n describe: function describe(e) {\n return {\n name: \"Bada\",\n version: _r4.default.getFirstMatch(/bada\\/(\\d+(\\.\\d+)*)/i, e)\n };\n }\n }, {\n test: [/tizen/i],\n describe: function describe(e) {\n return {\n name: \"Tizen\",\n version: _r4.default.getFirstMatch(/tizen[\\/\\s](\\d+(\\.\\d+)*)/i, e)\n };\n }\n }, {\n test: [/linux/i],\n describe: function describe() {\n return {\n name: \"Linux\"\n };\n }\n }, {\n test: [/CrOS/],\n describe: function describe() {\n return {\n name: \"Chrome OS\"\n };\n }\n }, {\n test: [/PlayStation 4/],\n describe: function describe(e) {\n return {\n name: \"PlayStation 4\",\n version: _r4.default.getFirstMatch(/PlayStation 4[\\/\\s](\\d+(\\.\\d+)*)/i, e)\n };\n }\n }];\n n.default = o, e.exports = t.default;\n }) ? r.apply(t, i) : r) || (e.exports = o);\n },\n 90: function _(e, t, n) {\n var r, i, o;\n i = [t, n(17)], void 0 === (o = \"function\" == typeof (r = function r(n, _r5) {\n \"use strict\";\n\n var i;\n Object.defineProperty(n, \"__esModule\", {\n value: !0\n }), n.default = void 0, _r5 = (i = _r5) && i.__esModule ? i : {\n default: i\n };\n var o = {\n tablet: \"tablet\",\n mobile: \"mobile\",\n desktop: \"desktop\",\n tv: \"tv\"\n },\n a = [{\n test: [/googlebot/i],\n describe: function describe() {\n return {\n type: \"bot\",\n vendor: \"Google\"\n };\n }\n }, {\n test: [/huawei/i],\n describe: function describe(e) {\n var t = _r5.default.getFirstMatch(/(can-l01)/i, e) && \"Nova\",\n n = {\n type: o.mobile,\n vendor: \"Huawei\"\n };\n return t && (n.model = t), n;\n }\n }, {\n test: [/nexus\\s*(?:7|8|9|10).*/i],\n describe: function describe() {\n return {\n type: o.tablet,\n vendor: \"Nexus\"\n };\n }\n }, {\n test: [/ipad/i],\n describe: function describe() {\n return {\n type: o.tablet,\n vendor: \"Apple\",\n model: \"iPad\"\n };\n }\n }, {\n test: [/kftt build/i],\n describe: function describe() {\n return {\n type: o.tablet,\n vendor: \"Amazon\",\n model: \"Kindle Fire HD 7\"\n };\n }\n }, {\n test: [/silk/i],\n describe: function describe() {\n return {\n type: o.tablet,\n vendor: \"Amazon\"\n };\n }\n }, {\n test: [/tablet/i],\n describe: function describe() {\n return {\n type: o.tablet\n };\n }\n }, {\n test: function test(e) {\n var t = e.test(/ipod|iphone/i),\n n = e.test(/like (ipod|iphone)/i);\n return t && !n;\n },\n describe: function describe(e) {\n var t = _r5.default.getFirstMatch(/(ipod|iphone)/i, e);\n\n return {\n type: o.mobile,\n vendor: \"Apple\",\n model: t\n };\n }\n }, {\n test: [/nexus\\s*[0-6].*/i, /galaxy nexus/i],\n describe: function describe() {\n return {\n type: o.mobile,\n vendor: \"Nexus\"\n };\n }\n }, {\n test: [/[^-]mobi/i],\n describe: function describe() {\n return {\n type: o.mobile\n };\n }\n }, {\n test: function test(e) {\n return \"blackberry\" === e.getBrowserName(!0);\n },\n describe: function describe() {\n return {\n type: o.mobile,\n vendor: \"BlackBerry\"\n };\n }\n }, {\n test: function test(e) {\n return \"bada\" === e.getBrowserName(!0);\n },\n describe: function describe() {\n return {\n type: o.mobile\n };\n }\n }, {\n test: function test(e) {\n return \"windows phone\" === e.getBrowserName();\n },\n describe: function describe() {\n return {\n type: o.mobile,\n vendor: \"Microsoft\"\n };\n }\n }, {\n test: function test(e) {\n var t = Number(String(e.getOSVersion()).split(\".\")[0]);\n return \"android\" === e.getOSName(!0) && t >= 3;\n },\n describe: function describe() {\n return {\n type: o.tablet\n };\n }\n }, {\n test: function test(e) {\n return \"android\" === e.getOSName(!0);\n },\n describe: function describe() {\n return {\n type: o.mobile\n };\n }\n }, {\n test: function test(e) {\n return \"macos\" === e.getOSName(!0);\n },\n describe: function describe() {\n return {\n type: o.desktop,\n vendor: \"Apple\"\n };\n }\n }, {\n test: function test(e) {\n return \"windows\" === e.getOSName(!0);\n },\n describe: function describe() {\n return {\n type: o.desktop\n };\n }\n }, {\n test: function test(e) {\n return \"linux\" === e.getOSName(!0);\n },\n describe: function describe() {\n return {\n type: o.desktop\n };\n }\n }, {\n test: function test(e) {\n return \"playstation 4\" === e.getOSName(!0);\n },\n describe: function describe() {\n return {\n type: o.tv\n };\n }\n }];\n n.default = a, e.exports = t.default;\n }) ? r.apply(t, i) : r) || (e.exports = o);\n },\n 91: function _(e, t, n) {\n var r, i, o;\n i = [t, n(17)], void 0 === (o = \"function\" == typeof (r = function r(n, _r6) {\n \"use strict\";\n\n var i;\n Object.defineProperty(n, \"__esModule\", {\n value: !0\n }), n.default = void 0, _r6 = (i = _r6) && i.__esModule ? i : {\n default: i\n };\n var o = [{\n test: function test(e) {\n return \"microsoft edge\" === e.getBrowserName(!0);\n },\n describe: function describe(e) {\n return {\n name: \"EdgeHTML\",\n version: _r6.default.getFirstMatch(/edge\\/(\\d+(\\.?_?\\d+)+)/i, e)\n };\n }\n }, {\n test: [/trident/i],\n describe: function describe(e) {\n var t = {\n name: \"Trident\"\n },\n n = _r6.default.getFirstMatch(/trident\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: function test(e) {\n return e.test(/presto/i);\n },\n describe: function describe(e) {\n var t = {\n name: \"Presto\"\n },\n n = _r6.default.getFirstMatch(/presto\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: function test(e) {\n var t = e.test(/gecko/i),\n n = e.test(/like gecko/i);\n return t && !n;\n },\n describe: function describe(e) {\n var t = {\n name: \"Gecko\"\n },\n n = _r6.default.getFirstMatch(/gecko\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }, {\n test: [/(apple)?webkit\\/537\\.36/i],\n describe: function describe() {\n return {\n name: \"Blink\"\n };\n }\n }, {\n test: [/(apple)?webkit/i],\n describe: function describe(e) {\n var t = {\n name: \"WebKit\"\n },\n n = _r6.default.getFirstMatch(/webkit\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return n && (t.version = n), t;\n }\n }];\n n.default = o, e.exports = t.default;\n }) ? r.apply(t, i) : r) || (e.exports = o);\n }\n });\n });\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function o(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n var a = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n s = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n c = function c(e, t, n, r) {\n var i,\n o = arguments.length,\n a = o < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, n) : r;\n if (\"object\" === (\"undefined\" == typeof Reflect ? \"undefined\" : s(Reflect)) && \"function\" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, r);else for (var c = e.length - 1; c >= 0; c--) {\n (i = e[c]) && (a = (o < 3 ? i(a) : o > 3 ? i(t, n, a) : i(t, n)) || a);\n }\n return o > 3 && a && Object.defineProperty(t, n, a), a;\n };\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var l,\n u = n(22),\n d = n(7),\n g = n(8),\n f = n(0),\n p = n(2),\n v = n(6),\n h = n(3),\n m = n(40),\n y = n(5),\n C = n(17),\n S = n(10),\n _ = n(16),\n E = n(1),\n L = n(32),\n M = n(4),\n b = n(23),\n R = n(31);\n\n !function (e) {\n e[e.offer = \"offer\"] = \"offer\", e[e.answer = \"answer\"] = \"answer\", e[e.pranswer = \"pranswer\"] = \"pranswer\", e[e.rollback = \"rollback\"] = \"rollback\";\n }(l || (l = {}));\n var T;\n !function (e) {\n e[e.controlling = \"controlling\"] = \"controlling\", e[e.controlled = \"controlled\"] = \"controlled\";\n }(T || (T = {}));\n\n var k = function (e) {\n function t(e, n, o, a) {\n r(this, t);\n var s = i(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n, o));\n s.iceTimer = null, s.needTransportRestart = !0, s.ICE_TIMEOUT = 2e4, s.RENEGOTIATION_TIMEOUT = 15e3, s.canDeliverStats = !0, s._canReInvite = function () {\n return \"connected\" === s.impl.iceConnectionState || \"completed\" === s.impl.iceConnectionState;\n }, s._needIceRestart = !1;\n var c = g.PCFactory.get().iceConfig,\n l = c;\n return void 0 !== l && null !== l || (l = {\n gatherPolicy: \"all\",\n iceServers: []\n }), a && (l.iceServers = a), l.bundlePolicy = \"max-compat\", \"chrome\" === d.default.getWSVendor() && E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.unifiedPlan && (l.sdpSemantics = \"unified-plan\"), s._createImpl(l), s;\n }\n\n return o(t, e), a(t, [{\n key: \"_createImpl\",\n value: function value(e) {\n var t = this;\n\n if (this.mode === u.PeerConnectionMode.CONFERENCE && \"chrome\" === d.default.getWSVendor()) {\n var n = {\n mandatory: {},\n optional: [{\n googHighStartBitrate: !0\n }, {\n googHighBitrate: !0\n }, {\n googSkipEncodingUnusedStreams: !0\n }, {\n googScreencastMinBitrate: 400\n }, {\n googVeryHighBitrate: !0\n }, {\n googCpuOveruseDetection: !0\n }, {\n googCpuOveruseEncodeUsage: !0\n }, {\n googCpuUnderuseThreshold: 55\n }, {\n googCpuOveruseThreshold: 85\n }]\n },\n r = RTCPeerConnection;\n this.impl = new r(e, n);\n } else this.impl = new RTCPeerConnection(e);\n\n if (this.impl.getTransceivers && \"firefox\" === d.default.getWSVendor() && (g.PCFactory.hasTransceivers = !0), void 0 !== this.impl.ontrack ? this.impl.ontrack = function (e) {\n return t.onAddTrack(e);\n } : void 0 !== this.impl.onaddtrack ? this.impl.onaddtrack = function (e) {\n return t.onAddTrack(e);\n } : this.impl.onaddstream = function (e) {\n return t.onAddStream(e);\n }, this.impl.onicecandidate = function (e) {\n t.onICECandidate(e.candidate);\n }, this.impl.oniceconnectionstatechange = function (e) {\n \"completed\" !== t.impl.iceConnectionState && \"connected\" !== t.impl.iceConnectionState || (t.iceTimer && clearTimeout(t.iceTimer), t.iceTimer = null, t.reInviteQ && t.reInviteQ.runNext()), \"failed\" === t.impl.iceConnectionState && (t.renegotiationInProgress = !1, t._runReinvite(!0));\n }, this.rtpSenders = [], this.renegotiationInProgress = !1, this.impl.onnegotiationneeded = function (e) {\n return t.onRenegotiation();\n }, this.impl.onsignalingstatechange = function (e) {\n return t.onSignalingStateChange();\n }, this.impl.oniceconnectionstatechange = function (e) {\n return t.onConnectionChange();\n }, this.iceRole = T.controlling, this._remoteStreams = [], this.banReinviteAnswer = !1, this._call = v.CallManager.get().calls[this.id], void 0 !== this._call ? this.onHold = !this._call.active() : this.onHold = !1, this.rtcCollectingCycle = setInterval(function () {\n t.getPCStats();\n }, v.CallManager.get().rtcStatsInquiryInterval), void 0 !== this._call) {\n var i = this._call.headers()[S.Constants.CALLSTATSIOID_HEADER];\n\n void 0 === i && (i = this._call.id()), C.CallstatsIo.get().addNewFabric(this.impl, this._call.number(), this.videoEnabled ? C.CallstatsIoFabricUsage.multiplex : C.CallstatsIoFabricUsage.audio, i);\n }\n\n this.needTransportRestart = !1, \"_default\" !== this.id && v.CallManager.get().calls[this.id] && (this.reInviteQ = new L.ReInviteQ(v.CallManager.get().calls[this.id], this._canReInvite));\n }\n }, {\n key: \"onSignalingStateChange\",\n value: function value() {\n this.logger.info(\"Signal state changed to \" + this.impl.signalingState + \" for PC: \" + this.id), this.impl.signalingState;\n }\n }, {\n key: \"getPCStats\",\n value: function value() {\n var e = this;\n d.default.getRTCStats(this.impl).then(function (t) {\n return v.CallManager.get().callStats.sendStatistics(e._call, t);\n });\n }\n }, {\n key: \"onConnectionChange\",\n value: function value() {\n \"completed\" === this.impl.iceConnectionState && void 0 !== this._call && this._call.dispatchEvent({\n name: \"ICECompleted\",\n call: this._call\n }), \"completed\" !== this.impl.iceConnectionState && \"connected\" !== this.impl.iceConnectionState || (this.iceTimer && clearTimeout(this.iceTimer), this.iceTimer = null, this.reInviteQ && this.reInviteQ.runNext()), R.CallStatsAnalyzer.get().checkICEConnection(this._call, this.impl.iceConnectionState);\n }\n }, {\n key: \"onRenegotiation\",\n value: function value() {\n if (void 0 !== this.impl) {\n if (\"disconnected\" === this.impl.connectionState || \"failed\" === this.impl.connectionState) return void this.logger.info(\"Renegotiation requested on closed PeerConnection\");\n if (null === this.impl.localDescription) return void this.logger.info(\"Renegotiation needed, but no local SD. Skipping\");\n if (\"connected\" !== this.impl.iceConnectionState && \"completed\" !== this.impl.iceConnectionState) return this.logger.info(\"Renegotiation requested while ice state is \" + this.impl.iceConnectionState + \". Postponing\"), void setTimeout(this.onRenegotiation, 100);\n if (this.renegotiationInProgress) return void this.logger.info(\"Renegotiation in progress. Queueing\");\n this.logger.info(\"Renegotiation started\"), this._runReinvite();\n }\n }\n }, {\n key: \"_getLocalOfferRegular\",\n value: function value() {\n var e = this;\n return this.iceRole = T.controlling, new Promise(function (t, n) {\n var r = e.getReceiveOptions();\n e.impl.createOffer(r).then(function (t) {\n e.logger.info(\"_getLocalOfferRegular(), created local SDP: \\n\" + t.sdp);\n var n = {\n type: t.type,\n sdp: t.sdp\n };\n return n = g.PCFactory.get().addBandwidthParams(n), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (n = _.SDPMuggle.removeTransportCC(n)), n = _.SDPMuggle.removeDoublePT(n), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (n = _.SDPMuggle.addXAS(n)), e.codecRearrange(n);\n }).then(function (t) {\n return e.srcLocalSDP = t.sdp, e.logger.info(\"_getLocalOfferRegular(), set local SDP: \\n\" + t.sdp), e.impl.setLocalDescription(t);\n }).then(function () {\n t(e.impl.localDescription);\n }).catch(function (e) {\n n(e);\n });\n });\n }\n }, {\n key: \"getReceiveOptions\",\n value: function value() {\n return {\n offerToReceiveAudio: !this.onHold,\n offerToReceiveVideo: this.videoEnabled.receiveVideo && !this.onHold\n };\n }\n }, {\n key: \"updateHoldState\",\n value: function value() {\n var e = this;\n this.impl.getTransceivers().forEach(function (t) {\n t.sender.track && (\"audio\" === t.sender.track.kind ? t.sender.track.enabled = !e.onHold && !e.muteMicState : t.sender.track.enabled = !e.onHold);\n });\n }\n }, {\n key: \"onICECandidate\",\n value: function value(e) {\n e && null !== e && \"\" !== e.candidate ? this.sendLocalCandidateToPeer(\"a=\" + e.candidate, e.sdpMLineIndex) : this.logger.info(\"End of candidates\");\n }\n }, {\n key: \"onAddTrack\",\n value: function value(e) {\n this._call && b.EndpointManager.get().addTrack(this._call, e.track);\n }\n }, {\n key: \"onAddStream\",\n value: function value(e) {\n this._call && b.EndpointManager.get().addStream(this._call, e.stream);\n }\n }, {\n key: \"_processRemoteAnswer\",\n value: function value(e, t) {\n var n = this;\n if (this._pendingOffer) return new Promise(function (r, i) {\n n.logger.info(\"_processRemoteAnswer(), set local SDP: \\n\" + n._pendingOffer.sdp), n.impl.setLocalDescription(n._pendingOffer).then(function () {\n r(n._processRemoteAnswer(e, t));\n }), n._pendingOffer = void 0;\n });\n if (0 === t.length && this._call) return this.logger.error(\"Empty SDP from server. Call will be terminated.\"), void this._call.hangup({\n \"X-WebRTCError\": \"no sdp\"\n });\n\n if (this.iceTimer = setTimeout(function () {\n n._call.notifyICETimeout();\n }, this.ICE_TIMEOUT), this.pendingEvent = [e, t], null === this.impl.remoteDescription || \"\" == this.impl.remoteDescription.sdp) {\n var r = {\n sdp: t,\n type: l.answer\n };\n return this.srcRemoteSDP = t, r = _.SDPMuggle.removeTIAS(r), this.logger.info(\"_processRemoteAnswer(), set remote SDP: \\n\" + r.sdp), this.impl.setRemoteDescription(r).then(function (e) {\n n._needIceRestart && n._runReinvite(!0);\n });\n }\n }\n }, {\n key: \"_getLocalOffer\",\n value: function value() {\n return \"firefox\" === d.default.getWSVendor() && this.impl.remoteDescription && this.impl.remoteDescription.sdp && -1 === this.impl.remoteDescription.sdp.indexOf(\"VIMS\") ? this._getLocalOfferFF() : this._getLocalOfferRegular();\n }\n }, {\n key: \"_getLocalOfferFF\",\n value: function value() {\n var e = this;\n return this.iceRole = T.controlling, new Promise(function (t, n) {\n var r = e.getReceiveOptions();\n e.impl.createOffer(r).then(function (t) {\n e.logger.info(\"_getLocalOfferFF(), created local SDP: \\n\" + t.sdp);\n var n = {\n type: t.type,\n sdp: t.sdp\n };\n return n = g.PCFactory.get().addBandwidthParams(n), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (n = _.SDPMuggle.removeTransportCC(n)), n = _.SDPMuggle.removeDoublePT(n), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (n = _.SDPMuggle.addXAS(n)), e.codecRearrange(n);\n }).then(function (n) {\n e.srcLocalSDP = n.sdp, e._pendingOffer = n, t(n);\n }).catch(function (e) {\n n(e);\n });\n });\n }\n }, {\n key: \"_runReinvite\",\n value: function value() {\n var e = this,\n t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];\n\n if (!1 === this.renegotiationInProgress) {\n this.renegotiationInProgress = !0;\n var n = {};\n this.impl.getTransceivers && \"firefox\" === d.default.getWSVendor() || (n = this.getReceiveOptions()), t && (n.iceRestart = !0), this.logger.trace(JSON.stringify(n)), this.updateHoldState(), this.impl.createOffer(n).then(function (t) {\n return e.logger.info(\"_runReinvite(), created local SDP: \\n\" + t.sdp), e.codecRearrange(t);\n }).then(function (t) {\n var n = {\n type: t.type,\n sdp: t.sdp\n };\n return n = g.PCFactory.get().addBandwidthParams(n), n = _.SDPMuggle.removeTelephoneEvents(n), n = _.SDPMuggle.removeDoubleOpus(n), n = _.SDPMuggle.removeDoublePT(n), n = _.SDPMuggle.fixVideoRecieve(n, e.videoEnabled.receiveVideo), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (n = _.SDPMuggle.removeTransportCC(n)), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (n = _.SDPMuggle.addXAS(n)), n;\n }).then(function (t) {\n return e.srcLocalSDP = t.sdp, e.pendingOffer = t, t;\n }).then(function () {\n var t = {\n tracks: e.getTrackKind()\n };\n p.VoxSignaling.get().callRemoteFunction(h.RemoteFunction.reInvite, e._call.id(), {}, e.pendingOffer.sdp, t);\n }).catch(function (t) {\n e.logger.error(\"Error when renegatiation start \" + t.message);\n });\n } else this.logger.error(\"Another renegatiation in progress\");\n }\n }, {\n key: \"_getLocalAnswer\",\n value: function value() {\n var e = this;\n return this.iceRole = T.controlled, new Promise(function (t, n) {\n var r = {\n mandatory: e.getReceiveOptions()\n };\n e.impl.createAnswer(r).then(function (t) {\n e.logger.info(\"_getLocalAnswer(), created local SDP: \\n\" + t.sdp);\n var n = {\n type: t.type,\n sdp: t.sdp\n };\n return n = g.PCFactory.get().addBandwidthParams(n), n = _.SDPMuggle.removeDoublePT(n), n = _.SDPMuggle.fixVideoRecieve(n, e._call.settings.videoDirections.receiveVideo), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (n = _.SDPMuggle.removeTransportCC(n)), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (n = _.SDPMuggle.addXAS(n)), e.codecRearrange(n);\n }).then(function (t) {\n return e.srcLocalSDP = t.sdp, e.logger.info(\"_getLocalAnswer(), set local SDP: \\n\" + t.sdp), e.impl.setLocalDescription(t);\n }).then(function () {\n t({\n type: l.answer,\n sdp: e.impl.localDescription.sdp\n });\n }).catch(function (e) {\n n(e);\n });\n });\n }\n }, {\n key: \"_setRemoteDescription\",\n value: function value(e) {\n if (0 === e.length && this._call) return this.logger.error(\"Empty SDP from server. Call will be terminated.\"), void this._call.hangup({\n \"X-WebRTCError\": \"no sdp\"\n });\n var t = new RTCSessionDescription({\n sdp: e,\n type: l.offer\n });\n return t = _.SDPMuggle.removeTIAS(t), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (t = _.SDPMuggle.removeTransportCC(t)), this.srcRemoteSDP = e, this.logger.info(\"_setRemoteDescription(), set remote SDP: \\n\" + t.sdp), this.impl.setRemoteDescription(t);\n }\n }, {\n key: \"_processRemoteOffer\",\n value: function value(e) {\n var t = this;\n return 0 === e.length && this._call ? (this.logger.error(\"Empty SDP from server. Call will be terminated.\"), void this._call.hangup({\n \"X-WebRTCError\": \"no sdp\"\n })) : (this.iceRole = T.controlled, new Promise(function (n, r) {\n var i = new RTCSessionDescription({\n sdp: e,\n type: l.offer\n });\n E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (i = _.SDPMuggle.removeTransportCC(i)), t.srcRemoteSDP = e, i = _.SDPMuggle.removeTIAS(i), i = _.SDPMuggle.fixFFMIDBug(i), t.logger.info(\"_processRemoteOffer(), set remote SDP: \\n\" + i.sdp), t.impl.setRemoteDescription(i).then(function () {\n var e = {\n mandatory: t.getReceiveOptions()\n };\n return t.impl.createAnswer(e);\n }).then(function (e) {\n return t.logger.info(\"_processRemoteOffer(), created local SDP: \\n\" + e.sdp), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (e = _.SDPMuggle.removeTransportCC(e)), e = _.SDPMuggle.removeDoublePT(e), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (e = _.SDPMuggle.addXAS(e)), t.codecRearrange(e);\n }).then(function (e) {\n return t.srcLocalSDP = e.sdp, t.logger.info(\"_processRemoteOffer(), set local SDP: \\n\" + e.sdp), t.impl.setLocalDescription(e);\n }).then(function () {\n n(t.impl.localDescription.sdp);\n }).catch(function (e) {\n r(e);\n });\n }));\n }\n }, {\n key: \"_close\",\n value: function value() {\n var e = this;\n clearInterval(this.rtcCollectingCycle), this.impl.onnegotiationneeded = null;\n E.Client.getInstance().config();\n this.impl.removeTrack ? (this.rtpSenders.forEach(function (t) {\n e.impl.removeTrack(t);\n }), M.default.StreamManager.get().remCallStream(this._call)) : (M.default.StreamManager.get().remCallStream(this._call), this.impl.getLocalStreams().forEach(function (t) {\n e.impl.removeStream(t);\n })), this.impl.close(), void 0 !== this._call && C.CallstatsIo.get().sendFabricEvent(this.impl, C.CallstatsIoFabricEvent.fabricTerminated, this._call.id()), this._localStream = null, this._remoteStreams = null;\n }\n }, {\n key: \"_addRemoteCandidate\",\n value: function value(e, t) {\n var n = this;\n return new Promise(function (r, i) {\n try {\n n.impl.addIceCandidate(new RTCIceCandidate({\n candidate: e.substring(2),\n sdpMLineIndex: t\n })).then(function () {\n r();\n }).catch(function () {\n r();\n });\n } catch (e) {\n r();\n }\n });\n }\n }, {\n key: \"_handleReinvite\",\n value: function value(e, t) {\n var n = this;\n return 0 === t.length && this._call ? (this.logger.error(\"Empty SDP from server. Call will be terminated.\"), void this._call.hangup({\n \"X-WebRTCError\": \"no sdp\"\n })) : new Promise(function (r, i) {\n if (n.banReinviteAnswer && i(new Error()), !1 === n.renegotiationInProgress) {\n n.renegotiationInProgress = !0;\n var o = {\n sdp: t,\n type: l.offer\n };\n E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (o = _.SDPMuggle.removeTransportCC(o)), n.srcRemoteSDP = t, o = _.SDPMuggle.removeTIAS(o), n.logger.info(\"_handleReinvite(), set remote SDP: \\n\" + o.sdp), n.impl.setRemoteDescription(o).then(function () {\n var t = {\n mandatory: n.getReceiveOptions()\n };\n n.impl.createAnswer(t).then(function (t) {\n n.logger.info(\"_handleReinvite(), created local SDP: \\n\" + t.sdp);\n var o = {\n type: t.type,\n sdp: t.sdp\n };\n o = _.SDPMuggle.removeDoubleOpus(o), o = _.SDPMuggle.removeDoublePT(o), o = _.SDPMuggle.fixVideoRecieve(o, n.videoEnabled.receiveVideo), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (o = _.SDPMuggle.removeTransportCC(o)), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (o = _.SDPMuggle.addXAS(o)), n.srcLocalSDP = o.sdp;\n\n try {\n n.logger.info(\"_handleReinvite(), set local SDP: \\n\" + o.sdp), n.impl.setLocalDescription(o).then(function () {\n var t = {\n tracks: n.getTrackKind()\n };\n p.VoxSignaling.get().callRemoteFunction(h.RemoteFunction.acceptReInvite, n._call.id(), e, n.impl.localDescription.sdp, t), n.renegotiationInProgress = !1, n._call.dispatchEvent({\n name: y.CallEvents.Updated,\n result: !0,\n call: n._call\n }), n.updateHoldState(), setTimeout(function (e) {\n return n._fixTransreceiver();\n }, 0), r();\n });\n } catch (e) {\n n.renegotiationInProgress = !1, setTimeout(function (e) {\n return n._fixTransreceiver();\n }, 0), i(e);\n }\n });\n });\n } else if (!0 === n.renegotiationInProgress) {\n var a = {\n sdp: t,\n type: l.answer\n };\n n.renegotiationInProgress = !1, E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.removeTransportCC && (a = _.SDPMuggle.removeTransportCC(a)), E.Client.getInstance().config().experiments && E.Client.getInstance().config().experiments.xas && (a = _.SDPMuggle.addXAS(a)), n.srcRemoteSDP = t, a = _.SDPMuggle.removeTIAS(a), n.logger.info(\"_handleReinvite(), set local SDP: \\n\" + n.pendingOffer.sdp), n.impl.setLocalDescription(n.pendingOffer).then(function () {\n try {\n n.logger.info(\"_handleReinvite(), set remote SDP: \\n\" + a.sdp), n.impl.setRemoteDescription(a).then(function () {\n n._call.dispatchEvent({\n name: y.CallEvents.Updated,\n result: !0,\n call: n._call\n }), n.updateHoldState(), setTimeout(function (e) {\n return n._fixTransreceiver();\n }, 0), r();\n });\n } catch (e) {\n n._call.dispatchEvent({\n name: y.CallEvents.Updated,\n result: !1,\n call: n._call\n }), n.renegotiationInProgress = !1, n.logger.error(JSON.stringify(e)), setTimeout(function (e) {\n return n._fixTransreceiver();\n }, 0), i(e);\n }\n\n clearTimeout(n.renegotiationTimer);\n });\n } else i(new Error(\"Universe was broken!\"));\n });\n }\n }, {\n key: \"_fixTransreceiver\",\n value: function value() {\n this.impl && this.impl.getTransceivers && this.impl.getTransceivers().forEach(function (e) {\n \"inactive\" === e.currentDirection && e.receiver.track && !e.sender.track && e.receiver.track.onended && (e.receiver.track.stop(), e.receiver.track.onended(null));\n });\n }\n }, {\n key: \"codecRearrange\",\n value: function value(e) {\n var t = this;\n return new Promise(function (n, r) {\n var i = v.CallManager.get().calls[t.id];\n\n if (void 0 !== i) {\n var o = new m.CodecSorter(e.sdp),\n a = o.getUserCodecList();\n void 0 !== i.rearangeCodecs ? i.rearangeCodecs(a, i.settings.incoming).then(function (t) {\n o.setUserCodecList(t), n({\n type: e.type,\n sdp: o.getSDP()\n });\n }, function (e) {\n t.logger.error(JSON.stringify(e)), r(e);\n }) : (o.setUserCodecList(a), t.logger.info(\"No sdp codecs transformer registered\"), n({\n type: e.type,\n sdp: o.getSDP()\n }));\n } else n(e);\n });\n }\n }, {\n key: \"_sendDTMF\",\n value: function value(e, t, n) {\n void 0 !== this.dtmfSender && this.dtmfSender.insertDTMF(e, t, n);\n }\n }, {\n key: \"_hold\",\n value: function value(e) {\n C.CallstatsIo.get().sendFabricEvent(this.impl, e ? C.CallstatsIoFabricEvent.fabricHold : C.CallstatsIoFabricEvent.fabricResume, this._call.id()), this.onHold = e, this.impl.getTransceivers().forEach(function (t) {\n t.direction = e ? \"sendonly\" : \"sendrecv\";\n });\n }\n }, {\n key: \"_getDirections\",\n value: function value() {\n var e = {};\n return e.local = _.SDPMuggle.detectDirections(this.impl.localDescription.sdp), e.remote = _.SDPMuggle.detectDirections(this.impl.remoteDescription.sdp), e;\n }\n }, {\n key: \"_getStreamActivity\",\n value: function value() {\n var e = {};\n return e.local = this.getMediaActivity(this.impl.getLocalStreams()), e.remote = this.getMediaActivity(this.impl.getRemoteStreams()), e;\n }\n }, {\n key: \"getMediaActivity\",\n value: function value(e) {\n return e.map(function (e) {\n return e.getTracks().map(function (e) {\n return {\n id: e.id,\n kind: e.kind,\n mutted: e.muted,\n active: e.enabled,\n label: e.label\n };\n });\n });\n }\n }, {\n key: \"_hdnFRSPrep\",\n value: function value() {\n this.banReinviteAnswer = !0;\n }\n }, {\n key: \"_hdnFRS\",\n value: function value() {\n this.renegotiationInProgress = !1, this.onRenegotiation();\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"TransreceiverPC\";\n }\n }, {\n key: \"hasLocalAudio\",\n value: function value() {\n return this.impl.getLocalStreams().some(function (e) {\n return !!e.getAudioTracks().length;\n });\n }\n }, {\n key: \"hasLocalVideo\",\n value: function value() {\n var e = this;\n return this.impl.getLocalStreams().some(function (t) {\n return t.getVideoTracks().some(function (t) {\n return !e.shareScreenMedia || !e.shareScreenMedia.some(function (e) {\n return e.getTracks().some(function (e) {\n return e.id === t.id;\n });\n });\n });\n });\n }\n }, {\n key: \"enableVideo\",\n value: function value(e) {\n var t = [];\n this._call && (t = M.default.StreamManager.get()._getScreenSharing(this._call) || []);\n var n = [];\n t.forEach(function (e) {\n return e.stream.getTracks().forEach(function (e) {\n return n.push(e.id);\n });\n }), this.impl.getLocalStreams().forEach(function (t) {\n t.getVideoTracks().forEach(function (t) {\n n.some(function (e) {\n return t.id === e;\n }) || (t.enabled = e);\n });\n });\n }\n }, {\n key: \"getTransceivers\",\n value: function value() {\n return this.impl.getTransceivers ? this.impl.getTransceivers() : [];\n }\n }, {\n key: \"getRemoteDescription\",\n value: function value() {\n return this.impl.remoteDescription && this.impl.remoteDescription.sdp ? this.impl.remoteDescription.sdp : \"\";\n }\n }, {\n key: \"_addCustomMedia\",\n value: function value(e) {\n var t = this;\n\n if (e && \"closed\" !== this.impl.signalingState && (\"firefox\" === d.default.getWSVendor() ? e.getTracks().forEach(function (e) {\n var n = new MediaStream([e]);\n t.rtpSenders.push(t.impl.addTrack(e, n)), t.onRenegotiation();\n }) : this.impl.addStream(e), !this.dtmfSender && this._call)) {\n var n = d.default.getDTMFSender(this.impl, this._call.id());\n n && (this.dtmfSender = n);\n }\n }\n }, {\n key: \"_removeCustomMedia\",\n value: function value(e) {\n var t = this;\n if (e) if (\"firefox\" === d.default.getWSVendor()) {\n if (this.impl.getTransceivers) {\n var n = this.impl.getTransceivers();\n n.forEach(function (t) {\n e.getTracks().find(function (e) {\n return e.id === t.sender.track.id;\n }) && t.stop();\n });\n } else this.impl.getSenders().forEach(function (n) {\n -1 !== e.getTracks().indexOf(n.track) && t.impl.removeTrack(n);\n });\n } else this.impl.removeStream(e);\n }\n }, {\n key: \"_updateCustomMedia\",\n value: function value(e) {\n var t = this;\n e && \"closed\" !== this.impl.signalingState && e.getTracks().forEach(function (e) {\n var n = t.impl.getSenders().find(function (t) {\n return t.track && t.track.kind === e.kind;\n });\n n && n.replaceTrack(e);\n });\n }\n }, {\n key: \"_fixFFSoundBug\",\n value: function value() {\n var e = this;\n \"firefox\" === d.default.getWSVendor() && g.PCFactory.hasTransceivers && setTimeout(function () {\n if (e.impl.getSenders) {\n e.impl.getSenders().forEach(function (e) {\n if (e.replaceTrack) {\n var t = e.track;\n e.replaceTrack(t);\n }\n });\n }\n }, 1e3);\n }\n }, {\n key: \"getConfiguration\",\n value: function value() {\n return this.impl ? this.impl.getConfiguration() : null;\n }\n }, {\n key: \"setConfiguration\",\n value: function value(e) {\n var t = this;\n this.impl && setTimeout(function () {\n if (t.srcRemoteSDP && -1 === t.srcRemoteSDP.indexOf(\"VIMS\")) if (t.impl && t.impl.setConfiguration) t.impl.setConfiguration(e), t.renegotiationInProgress = !1, t._runReinvite(!0);else if (t._pendingOffer) {\n var n = [];\n t.impl.getTransceivers().map(function (e) {\n e.sender.track && n.push(e.sender.track);\n }), t._createImpl(e), n.forEach(function (e) {\n t.impl.addTrack(e, new MediaStream([e]));\n }), t.impl.createOffer().then(function (e) {\n return t.logger.info(\"setConfiguration(), created local SDP: \\n\" + e.sdp), t._needIceRestart = !0, t.logger.info(\"setConfiguration(), set local SDP: \\n\" + t._pendingOffer.sdp), t.impl.setLocalDescription(t._pendingOffer);\n }).then(function () {\n t._pendingOffer = void 0;\n }).catch(function (e) {\n console.error(e);\n });\n }\n }, 800);\n }\n }]), t;\n }(u.PeerConnection);\n\n c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_createImpl\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"onSignalingStateChange\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"getPCStats\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"onConnectionChange\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"onRenegotiation\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_getLocalOfferRegular\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"getReceiveOptions\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"updateHoldState\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"onICECandidate\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"onAddTrack\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"onAddStream\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_processRemoteAnswer\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_getLocalOffer\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_getLocalOfferFF\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_getLocalAnswer\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_setRemoteDescription\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_close\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_addRemoteCandidate\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_handleReinvite\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"codecRearrange\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_sendDTMF\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_hold\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_getStreamActivity\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"getMediaActivity\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_hdnFRSPrep\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_hdnFRS\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"hasLocalAudio\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"hasLocalVideo\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"enableVideo\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_addCustomMedia\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_removeCustomMedia\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_updateCustomMedia\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"_fixFFSoundBug\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"getConfiguration\", null), c([f.LogManager.d_trace(f.LogCategory.RTC)], k.prototype, \"setConfiguration\", null), t.TransreceiverPC = k;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = n(14),\n a = n(6),\n s = n(2),\n c = n(3),\n l = n(13),\n u = n(11),\n d = n(5),\n g = n(4),\n f = function () {\n function e(t) {\n var n = this;\n r(this, e), this.client = t, this.currentCall = null, this.onConnectionFailed = null, this.onConnectionEstablished = null, this.onCheckComplete = null, this.onCallFailed = null, this.onCallConnected = null, this.onCallEnded = null, this.onCallRinging = null, this.onCallMediaStarted = null, this.onVoicemail = null, this.onNetStatsReceived = null, a.CallManager.get().protocolVersion, t.on(o.Events.ConnectionFailed, function (e) {\n return n.runLegacyCallback(n.onConnectionFailed, e);\n }), t.on(o.Events.ConnectionEstablished, function (e) {\n return n.runLegacyCallback(n.onConnectionEstablished, e);\n }), s.VoxSignaling.get().setRPCHandler(l.RemoteEvent.handlePreFlightCheckResult, function (e, t, r) {\n return n.onCheckComplete(e, t, r);\n }), s.VoxSignaling.get().setRPCHandler(l.RemoteEvent.handleVoicemail, function (e) {\n return n.runLegacyCallback(n.onVoicemail, e);\n });\n }\n\n return i(e, [{\n key: \"connectTo\",\n value: function value(e, t, n, r) {\n var i = s.VoxSignaling.get();\n u.Authenticator.get().ziAuthorized(!0), i.lagacyConnectTo(e, t, n, r);\n }\n }, {\n key: \"connect\",\n value: function value() {}\n }, {\n key: \"requestMedia\",\n value: function value(e, t, n, r) {\n g.default.StreamManager.get().getCallStream(void 0).then(function (e) {\n t && t(e);\n }).catch(function (e) {\n n && n(e);\n });\n }\n }, {\n key: \"hangupCall\",\n value: function value(e, t) {\n a.CallManager.get().calls[e].hangup(t), s.VoxSignaling.get().callRemoteFunction(c.RemoteFunction.disconnectCall, e, {});\n }\n }, {\n key: \"callTo\",\n value: function value(e, t, n, r) {\n return this.currentCall = this.client.call({\n number: e,\n video: t,\n extraHeaders: n,\n extraParams: r\n }), this.bindCurrentCall(), this.currentCall.id();\n }\n }, {\n key: \"voicemailPromptFinished\",\n value: function value(e) {\n s.VoxSignaling.get().callRemoteFunction(c.RemoteFunction.zPromptFinished, e);\n }\n }, {\n key: \"makeid\",\n value: function value(e) {\n for (var t = \"\", n = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\", r = 0; r < e; r++) {\n t += n.charAt(Math.floor(Math.random() * n.length));\n }\n\n return t;\n }\n }, {\n key: \"muteMicrophone\",\n value: function value(e) {\n var t = a.CallManager.get();\n\n for (var n in t.calls) {\n t.calls.hasOwnProperty(n) && (e ? t.calls[n].muteMicrophone() : t.calls[n].unmuteMicrophone());\n }\n }\n }, {\n key: \"sendDigit\",\n value: function value(e, t) {\n s.VoxSignaling.get().callRemoteFunction(c.RemoteFunction.sendDTMF, e, t);\n }\n }, {\n key: \"startPreFlightCheck\",\n value: function value(e, t) {\n this.onCheckComplete && this.onCheckComplete(!0, !0, !0);\n }\n }, {\n key: \"runLegacyCallback\",\n value: function value(e, t) {\n void 0 !== e && null !== e && e(t);\n }\n }, {\n key: \"bindCurrentCall\",\n value: function value() {\n var e = this;\n window.currentCall = this.currentCall, this.currentCall.on(d.CallEvents.Failed, function (t) {\n e.runLegacyCallback(e.onCallFailed, t), e.unbindCurrentCall();\n }), this.currentCall.on(d.CallEvents.Connected, function (t) {\n e.runLegacyCallback(e.onCallConnected, t), e.runLegacyCallback(e.onCallMediaStarted, t);\n a.CallManager.get();\n setTimeout(function () {\n var e = document.getElementById(window.currentCall.peerConnection.impl.getRemoteStreams()[0].getTracks()[0].id);\n e.srcObject = window.currentCall.peerConnection.impl.getRemoteStreams()[0], e.load(), e.play();\n }, 1e3);\n }), this.currentCall.on(d.CallEvents.Disconnected, function (t) {\n e.runLegacyCallback(e.onCallEnded, t), e.unbindCurrentCall();\n }), this.client.on(o.Events.NetStatsReceived, function (t) {\n return e.onNetStatsReceived(t);\n });\n }\n }, {\n key: \"unbindCurrentCall\",\n value: function value() {\n this.currentCall.off(d.CallEvents.Failed), this.currentCall.off(d.CallEvents.Connected), this.currentCall.off(d.CallEvents.Disconnected), this.currentCall.off(d.CallEvents.ProgressToneStart), this.currentCall.off(d.CallEvents.Connected), this.client.off(o.Events.NetStatsReceived);\n }\n }, {\n key: \"_traceName\",\n value: function value() {\n return \"ZingayaAPI\";\n }\n }]), e;\n }();\n\n t.ZingayaAPI = f;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var i = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }();\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = n(2),\n a = n(3),\n s = function () {\n function e() {\n r(this, e);\n }\n\n return i(e, [{\n key: \"_traceName\",\n value: function value() {\n return \"PushService\";\n }\n }], [{\n key: \"register\",\n value: function value(e) {\n return new Promise(function (t, n) {\n o.VoxSignaling.get().callRemoteFunction(a.RemoteFunction.registerPushToken, e) ? t() : n();\n });\n }\n }, {\n key: \"unregister\",\n value: function value(e) {\n return new Promise(function (t, n) {\n o.VoxSignaling.get().callRemoteFunction(a.RemoteFunction.unregisterPushToken, e) ? t() : n();\n });\n }\n }, {\n key: \"incomingPush\",\n value: function value(e) {\n return new Promise(function (t, n) {\n o.VoxSignaling.get().callRemoteFunction(a.RemoteFunction.pushFeedback, e) ? t() : n();\n });\n }\n }]), e;\n }();\n\n t.PushService = s;\n }, function (e, t, n) {\n \"use strict\";\n\n (function (t) {\n var r = n(69);\n e.exports = r({\n window: t.window\n });\n }).call(t, n(68));\n }, function (e, t) {\n var n;\n\n n = function () {\n return this;\n }();\n\n try {\n n = n || Function(\"return this\")() || (0, eval)(\"this\");\n } catch (e) {\n \"object\" == (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) && (n = window);\n }\n\n e.exports = n;\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(9);\n\n e.exports = function (e, t) {\n var i = e && e.window,\n o = {\n shimChrome: !0,\n shimFirefox: !0,\n shimEdge: !0,\n shimSafari: !0\n };\n\n for (var a in t) {\n hasOwnProperty.call(t, a) && (o[a] = t[a]);\n }\n\n var s = r.log,\n c = r.detectBrowser(i),\n l = {\n browserDetails: c,\n extractVersion: r.extractVersion,\n disableLog: r.disableLog,\n disableWarnings: r.disableWarnings\n },\n u = n(70) || null,\n d = n(72) || null,\n g = n(75) || null,\n f = n(77) || null,\n p = n(78) || null;\n\n switch (c.browser) {\n case \"chrome\":\n if (!u || !u.shimPeerConnection || !o.shimChrome) return s(\"Chrome shim is not included in this adapter release.\"), l;\n s(\"adapter.js shimming chrome.\"), l.browserShim = u, p.shimCreateObjectURL(i), u.shimGetUserMedia(i), u.shimMediaStream(i), u.shimSourceObject(i), u.shimPeerConnection(i), u.shimOnTrack(i), u.shimAddTrackRemoveTrack(i), u.shimGetSendersWithDtmf(i), p.shimRTCIceCandidate(i);\n break;\n\n case \"firefox\":\n if (!g || !g.shimPeerConnection || !o.shimFirefox) return s(\"Firefox shim is not included in this adapter release.\"), l;\n s(\"adapter.js shimming firefox.\"), l.browserShim = g, p.shimCreateObjectURL(i), g.shimGetUserMedia(i), g.shimSourceObject(i), g.shimPeerConnection(i), g.shimOnTrack(i), g.shimRemoveStream(i), p.shimRTCIceCandidate(i);\n break;\n\n case \"edge\":\n if (!d || !d.shimPeerConnection || !o.shimEdge) return s(\"MS edge shim is not included in this adapter release.\"), l;\n s(\"adapter.js shimming edge.\"), l.browserShim = d, p.shimCreateObjectURL(i), d.shimGetUserMedia(i), d.shimPeerConnection(i), d.shimReplaceTrack(i);\n break;\n\n case \"safari\":\n if (!f || !o.shimSafari) return s(\"Safari shim is not included in this adapter release.\"), l;\n s(\"adapter.js shimming safari.\"), l.browserShim = f, p.shimCreateObjectURL(i), f.shimRTCIceServerUrls(i), f.shimCallbacksAPI(i), f.shimLocalStreamsAPI(i), f.shimRemoteStreamsAPI(i), f.shimTrackEventTransceiver(i), f.shimGetUserMedia(i), f.shimCreateOfferLegacy(i), p.shimRTCIceCandidate(i);\n break;\n\n default:\n s(\"Unsupported browser!\");\n }\n\n return l;\n };\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(9),\n i = r.log,\n o = {\n shimMediaStream: function shimMediaStream(e) {\n e.MediaStream = e.MediaStream || e.webkitMediaStream;\n },\n shimOnTrack: function shimOnTrack(e) {\n if (\"object\" == _typeof(e) && e.RTCPeerConnection && !(\"ontrack\" in e.RTCPeerConnection.prototype)) {\n Object.defineProperty(e.RTCPeerConnection.prototype, \"ontrack\", {\n get: function get() {\n return this._ontrack;\n },\n set: function set(e) {\n this._ontrack && this.removeEventListener(\"track\", this._ontrack), this.addEventListener(\"track\", this._ontrack = e);\n }\n });\n var t = e.RTCPeerConnection.prototype.setRemoteDescription;\n\n e.RTCPeerConnection.prototype.setRemoteDescription = function () {\n var n = this;\n return n._ontrackpoly || (n._ontrackpoly = function (t) {\n t.stream.addEventListener(\"addtrack\", function (r) {\n var i;\n i = e.RTCPeerConnection.prototype.getReceivers ? n.getReceivers().find(function (e) {\n return e.track && e.track.id === r.track.id;\n }) : {\n track: r.track\n };\n var o = new Event(\"track\");\n o.track = r.track, o.receiver = i, o.transceiver = {\n receiver: i\n }, o.streams = [t.stream], n.dispatchEvent(o);\n }), t.stream.getTracks().forEach(function (r) {\n var i;\n i = e.RTCPeerConnection.prototype.getReceivers ? n.getReceivers().find(function (e) {\n return e.track && e.track.id === r.id;\n }) : {\n track: r\n };\n var o = new Event(\"track\");\n o.track = r, o.receiver = i, o.transceiver = {\n receiver: i\n }, o.streams = [t.stream], n.dispatchEvent(o);\n });\n }, n.addEventListener(\"addstream\", n._ontrackpoly)), t.apply(n, arguments);\n };\n }\n },\n shimGetSendersWithDtmf: function shimGetSendersWithDtmf(e) {\n if (\"object\" == _typeof(e) && e.RTCPeerConnection && !(\"getSenders\" in e.RTCPeerConnection.prototype) && \"createDTMFSender\" in e.RTCPeerConnection.prototype) {\n var t = function t(e, _t) {\n return {\n track: _t,\n\n get dtmf() {\n return void 0 === this._dtmf && (\"audio\" === _t.kind ? this._dtmf = e.createDTMFSender(_t) : this._dtmf = null), this._dtmf;\n },\n\n _pc: e\n };\n };\n\n if (!e.RTCPeerConnection.prototype.getSenders) {\n e.RTCPeerConnection.prototype.getSenders = function () {\n return this._senders = this._senders || [], this._senders.slice();\n };\n\n var n = e.RTCPeerConnection.prototype.addTrack;\n\n e.RTCPeerConnection.prototype.addTrack = function (e, r) {\n var i = this,\n o = n.apply(i, arguments);\n return o || (o = t(i, e), i._senders.push(o)), o;\n };\n\n var r = e.RTCPeerConnection.prototype.removeTrack;\n\n e.RTCPeerConnection.prototype.removeTrack = function (e) {\n var t = this;\n r.apply(t, arguments);\n\n var n = t._senders.indexOf(e);\n\n -1 !== n && t._senders.splice(n, 1);\n };\n }\n\n var i = e.RTCPeerConnection.prototype.addStream;\n\n e.RTCPeerConnection.prototype.addStream = function (e) {\n var n = this;\n n._senders = n._senders || [], i.apply(n, [e]), e.getTracks().forEach(function (e) {\n n._senders.push(t(n, e));\n });\n };\n\n var o = e.RTCPeerConnection.prototype.removeStream;\n\n e.RTCPeerConnection.prototype.removeStream = function (e) {\n var t = this;\n t._senders = t._senders || [], o.apply(t, [e]), e.getTracks().forEach(function (e) {\n var n = t._senders.find(function (t) {\n return t.track === e;\n });\n\n n && t._senders.splice(t._senders.indexOf(n), 1);\n });\n };\n } else if (\"object\" == _typeof(e) && e.RTCPeerConnection && \"getSenders\" in e.RTCPeerConnection.prototype && \"createDTMFSender\" in e.RTCPeerConnection.prototype && e.RTCRtpSender && !(\"dtmf\" in e.RTCRtpSender.prototype)) {\n var a = e.RTCPeerConnection.prototype.getSenders;\n e.RTCPeerConnection.prototype.getSenders = function () {\n var e = this,\n t = a.apply(e, []);\n return t.forEach(function (t) {\n t._pc = e;\n }), t;\n }, Object.defineProperty(e.RTCRtpSender.prototype, \"dtmf\", {\n get: function get() {\n return void 0 === this._dtmf && (\"audio\" === this.track.kind ? this._dtmf = this._pc.createDTMFSender(this.track) : this._dtmf = null), this._dtmf;\n }\n });\n }\n },\n shimSourceObject: function shimSourceObject(e) {\n var t = e && e.URL;\n \"object\" == _typeof(e) && (!e.HTMLMediaElement || \"srcObject\" in e.HTMLMediaElement.prototype || Object.defineProperty(e.HTMLMediaElement.prototype, \"srcObject\", {\n get: function get() {\n return this._srcObject;\n },\n set: function set(e) {\n var n = this;\n if (this._srcObject = e, this.src && t.revokeObjectURL(this.src), !e) return void (this.src = \"\");\n this.src = t.createObjectURL(e), e.addEventListener(\"addtrack\", function () {\n n.src && t.revokeObjectURL(n.src), n.src = t.createObjectURL(e);\n }), e.addEventListener(\"removetrack\", function () {\n n.src && t.revokeObjectURL(n.src), n.src = t.createObjectURL(e);\n });\n }\n }));\n },\n shimAddTrackRemoveTrack: function shimAddTrackRemoveTrack(e) {\n function t(e, t) {\n var n = t.sdp;\n return Object.keys(e._reverseStreams || []).forEach(function (t) {\n var r = e._reverseStreams[t],\n i = e._streams[r.id];\n n = n.replace(new RegExp(i.id, \"g\"), r.id);\n }), new RTCSessionDescription({\n type: t.type,\n sdp: n\n });\n }\n\n function n(e, t) {\n var n = t.sdp;\n return Object.keys(e._reverseStreams || []).forEach(function (t) {\n var r = e._reverseStreams[t],\n i = e._streams[r.id];\n n = n.replace(new RegExp(r.id, \"g\"), i.id);\n }), new RTCSessionDescription({\n type: t.type,\n sdp: n\n });\n }\n\n var i = r.detectBrowser(e);\n\n if (!(e.RTCPeerConnection.prototype.addTrack && i.version >= 64)) {\n var o = e.RTCPeerConnection.prototype.getLocalStreams;\n\n e.RTCPeerConnection.prototype.getLocalStreams = function () {\n var e = this,\n t = o.apply(this);\n return e._reverseStreams = e._reverseStreams || {}, t.map(function (t) {\n return e._reverseStreams[t.id];\n });\n };\n\n var a = e.RTCPeerConnection.prototype.addStream;\n\n e.RTCPeerConnection.prototype.addStream = function (t) {\n var n = this;\n\n if (n._streams = n._streams || {}, n._reverseStreams = n._reverseStreams || {}, t.getTracks().forEach(function (e) {\n if (n.getSenders().find(function (t) {\n return t.track === e;\n })) throw new DOMException(\"Track already exists.\", \"InvalidAccessError\");\n }), !n._reverseStreams[t.id]) {\n var r = new e.MediaStream(t.getTracks());\n n._streams[t.id] = r, n._reverseStreams[r.id] = t, t = r;\n }\n\n a.apply(n, [t]);\n };\n\n var s = e.RTCPeerConnection.prototype.removeStream;\n e.RTCPeerConnection.prototype.removeStream = function (e) {\n var t = this;\n t._streams = t._streams || {}, t._reverseStreams = t._reverseStreams || {}, s.apply(t, [t._streams[e.id] || e]), delete t._reverseStreams[t._streams[e.id] ? t._streams[e.id].id : e.id], delete t._streams[e.id];\n }, e.RTCPeerConnection.prototype.addTrack = function (t, n) {\n var r = this;\n if (\"closed\" === r.signalingState) throw new DOMException(\"The RTCPeerConnection's signalingState is 'closed'.\", \"InvalidStateError\");\n var i = [].slice.call(arguments, 1);\n if (1 !== i.length || !i[0].getTracks().find(function (e) {\n return e === t;\n })) throw new DOMException(\"The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.\", \"NotSupportedError\");\n if (r.getSenders().find(function (e) {\n return e.track === t;\n })) throw new DOMException(\"Track already exists.\", \"InvalidAccessError\");\n r._streams = r._streams || {}, r._reverseStreams = r._reverseStreams || {};\n var o = r._streams[n.id];\n if (o) o.addTrack(t), Promise.resolve().then(function () {\n r.dispatchEvent(new Event(\"negotiationneeded\"));\n });else {\n var a = new e.MediaStream([t]);\n r._streams[n.id] = a, r._reverseStreams[a.id] = n, r.addStream(a);\n }\n return r.getSenders().find(function (e) {\n return e.track === t;\n });\n }, [\"createOffer\", \"createAnswer\"].forEach(function (n) {\n var r = e.RTCPeerConnection.prototype[n];\n\n e.RTCPeerConnection.prototype[n] = function () {\n var e = this,\n n = arguments;\n return arguments.length && \"function\" == typeof arguments[0] ? r.apply(e, [function (r) {\n var i = t(e, r);\n n[0].apply(null, [i]);\n }, function (e) {\n n[1] && n[1].apply(null, e);\n }, arguments[2]]) : r.apply(e, arguments).then(function (n) {\n return t(e, n);\n });\n };\n });\n var c = e.RTCPeerConnection.prototype.setLocalDescription;\n\n e.RTCPeerConnection.prototype.setLocalDescription = function () {\n var e = this;\n return arguments.length && arguments[0].type ? (arguments[0] = n(e, arguments[0]), c.apply(e, arguments)) : c.apply(e, arguments);\n };\n\n var l = Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype, \"localDescription\");\n Object.defineProperty(e.RTCPeerConnection.prototype, \"localDescription\", {\n get: function get() {\n var e = this,\n n = l.get.apply(this);\n return \"\" === n.type ? n : t(e, n);\n }\n }), e.RTCPeerConnection.prototype.removeTrack = function (e) {\n var t = this;\n if (\"closed\" === t.signalingState) throw new DOMException(\"The RTCPeerConnection's signalingState is 'closed'.\", \"InvalidStateError\");\n if (!e._pc) throw new DOMException(\"Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.\", \"TypeError\");\n if (e._pc !== t) throw new DOMException(\"Sender was not created by this connection.\", \"InvalidAccessError\");\n t._streams = t._streams || {};\n var n;\n Object.keys(t._streams).forEach(function (r) {\n t._streams[r].getTracks().find(function (t) {\n return e.track === t;\n }) && (n = t._streams[r]);\n }), n && (1 === n.getTracks().length ? t.removeStream(t._reverseStreams[n.id]) : n.removeTrack(e.track), t.dispatchEvent(new Event(\"negotiationneeded\")));\n };\n }\n },\n shimPeerConnection: function shimPeerConnection(e) {\n var t = r.detectBrowser(e);\n\n if (e.RTCPeerConnection) {\n var n = e.RTCPeerConnection;\n e.RTCPeerConnection = function (e, t) {\n if (e && e.iceServers) {\n for (var i = [], o = 0; o < e.iceServers.length; o++) {\n var a = e.iceServers[o];\n !a.hasOwnProperty(\"urls\") && a.hasOwnProperty(\"url\") ? (r.deprecated(\"RTCIceServer.url\", \"RTCIceServer.urls\"), a = JSON.parse(JSON.stringify(a)), a.urls = a.url, i.push(a)) : i.push(e.iceServers[o]);\n }\n\n e.iceServers = i;\n }\n\n return new n(e, t);\n }, e.RTCPeerConnection.prototype = n.prototype, Object.defineProperty(e.RTCPeerConnection, \"generateCertificate\", {\n get: function get() {\n return n.generateCertificate;\n }\n });\n } else e.RTCPeerConnection = function (t, n) {\n return i(\"PeerConnection\"), t && t.iceTransportPolicy && (t.iceTransports = t.iceTransportPolicy), new e.webkitRTCPeerConnection(t, n);\n }, e.RTCPeerConnection.prototype = e.webkitRTCPeerConnection.prototype, e.webkitRTCPeerConnection.generateCertificate && Object.defineProperty(e.RTCPeerConnection, \"generateCertificate\", {\n get: function get() {\n return e.webkitRTCPeerConnection.generateCertificate;\n }\n });\n\n var o = e.RTCPeerConnection.prototype.getStats;\n e.RTCPeerConnection.prototype.getStats = function (e, t, n) {\n var r = this,\n i = arguments;\n if (arguments.length > 0 && \"function\" == typeof e) return o.apply(this, arguments);\n if (0 === o.length && (0 === arguments.length || \"function\" != typeof arguments[0])) return o.apply(this, []);\n\n var a = function a(e) {\n var t = {};\n return e.result().forEach(function (e) {\n var n = {\n id: e.id,\n timestamp: e.timestamp,\n type: {\n localcandidate: \"local-candidate\",\n remotecandidate: \"remote-candidate\"\n }[e.type] || e.type\n };\n e.names().forEach(function (t) {\n n[t] = e.stat(t);\n }), t[n.id] = n;\n }), t;\n },\n s = function s(e) {\n return new Map(Object.keys(e).map(function (t) {\n return [t, e[t]];\n }));\n };\n\n if (arguments.length >= 2) {\n var c = function c(e) {\n i[1](s(a(e)));\n };\n\n return o.apply(this, [c, arguments[0]]);\n }\n\n return new Promise(function (e, t) {\n o.apply(r, [function (t) {\n e(s(a(t)));\n }, t]);\n }).then(t, n);\n }, t.version < 51 && [\"setLocalDescription\", \"setRemoteDescription\", \"addIceCandidate\"].forEach(function (t) {\n var n = e.RTCPeerConnection.prototype[t];\n\n e.RTCPeerConnection.prototype[t] = function () {\n var e = arguments,\n t = this,\n r = new Promise(function (r, i) {\n n.apply(t, [e[0], r, i]);\n });\n return e.length < 2 ? r : r.then(function () {\n e[1].apply(null, []);\n }, function (t) {\n e.length >= 3 && e[2].apply(null, [t]);\n });\n };\n }), t.version < 52 && [\"createOffer\", \"createAnswer\"].forEach(function (t) {\n var n = e.RTCPeerConnection.prototype[t];\n\n e.RTCPeerConnection.prototype[t] = function () {\n var e = this;\n\n if (arguments.length < 1 || 1 === arguments.length && \"object\" == _typeof(arguments[0])) {\n var t = 1 === arguments.length ? arguments[0] : void 0;\n return new Promise(function (r, i) {\n n.apply(e, [r, i, t]);\n });\n }\n\n return n.apply(this, arguments);\n };\n }), [\"setLocalDescription\", \"setRemoteDescription\", \"addIceCandidate\"].forEach(function (t) {\n var n = e.RTCPeerConnection.prototype[t];\n\n e.RTCPeerConnection.prototype[t] = function () {\n return arguments[0] = new (\"addIceCandidate\" === t ? e.RTCIceCandidate : e.RTCSessionDescription)(arguments[0]), n.apply(this, arguments);\n };\n });\n var a = e.RTCPeerConnection.prototype.addIceCandidate;\n\n e.RTCPeerConnection.prototype.addIceCandidate = function () {\n return arguments[0] ? a.apply(this, arguments) : (arguments[1] && arguments[1].apply(null), Promise.resolve());\n };\n }\n };\n e.exports = {\n shimMediaStream: o.shimMediaStream,\n shimOnTrack: o.shimOnTrack,\n shimAddTrackRemoveTrack: o.shimAddTrackRemoveTrack,\n shimGetSendersWithDtmf: o.shimGetSendersWithDtmf,\n shimSourceObject: o.shimSourceObject,\n shimPeerConnection: o.shimPeerConnection,\n shimGetUserMedia: n(71)\n };\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(9),\n i = r.log;\n\n e.exports = function (e) {\n var t = r.detectBrowser(e),\n n = e && e.navigator,\n o = function o(e) {\n if (\"object\" != _typeof(e) || e.mandatory || e.optional) return e;\n var t = {};\n return Object.keys(e).forEach(function (n) {\n if (\"require\" !== n && \"advanced\" !== n && \"mediaSource\" !== n) {\n var r = \"object\" == _typeof(e[n]) ? e[n] : {\n ideal: e[n]\n };\n void 0 !== r.exact && \"number\" == typeof r.exact && (r.min = r.max = r.exact);\n\n var i = function i(e, t) {\n return e ? e + t.charAt(0).toUpperCase() + t.slice(1) : \"deviceId\" === t ? \"sourceId\" : t;\n };\n\n if (void 0 !== r.ideal) {\n t.optional = t.optional || [];\n var o = {};\n \"number\" == typeof r.ideal ? (o[i(\"min\", n)] = r.ideal, t.optional.push(o), o = {}, o[i(\"max\", n)] = r.ideal, t.optional.push(o)) : (o[i(\"\", n)] = r.ideal, t.optional.push(o));\n }\n\n void 0 !== r.exact && \"number\" != typeof r.exact ? (t.mandatory = t.mandatory || {}, t.mandatory[i(\"\", n)] = r.exact) : [\"min\", \"max\"].forEach(function (e) {\n void 0 !== r[e] && (t.mandatory = t.mandatory || {}, t.mandatory[i(e, n)] = r[e]);\n });\n }\n }), e.advanced && (t.optional = (t.optional || []).concat(e.advanced)), t;\n },\n a = function a(e, r) {\n if (t.version >= 61) return r(e);\n\n if ((e = JSON.parse(JSON.stringify(e))) && \"object\" == _typeof(e.audio)) {\n var a = function a(e, t, n) {\n t in e && !(n in e) && (e[n] = e[t], delete e[t]);\n };\n\n e = JSON.parse(JSON.stringify(e)), a(e.audio, \"autoGainControl\", \"googAutoGainControl\"), a(e.audio, \"noiseSuppression\", \"googNoiseSuppression\"), e.audio = o(e.audio);\n }\n\n if (e && \"object\" == _typeof(e.video)) {\n var s = e.video.facingMode;\n s = s && (\"object\" == _typeof(s) ? s : {\n ideal: s\n });\n var c = t.version < 66;\n\n if (s && (\"user\" === s.exact || \"environment\" === s.exact || \"user\" === s.ideal || \"environment\" === s.ideal) && (!n.mediaDevices.getSupportedConstraints || !n.mediaDevices.getSupportedConstraints().facingMode || c)) {\n delete e.video.facingMode;\n var l;\n if (\"environment\" === s.exact || \"environment\" === s.ideal ? l = [\"back\", \"rear\"] : \"user\" !== s.exact && \"user\" !== s.ideal || (l = [\"front\"]), l) return n.mediaDevices.enumerateDevices().then(function (t) {\n t = t.filter(function (e) {\n return \"videoinput\" === e.kind;\n });\n var n = t.find(function (e) {\n return l.some(function (t) {\n return -1 !== e.label.toLowerCase().indexOf(t);\n });\n });\n return !n && t.length && -1 !== l.indexOf(\"back\") && (n = t[t.length - 1]), n && (e.video.deviceId = s.exact ? {\n exact: n.deviceId\n } : {\n ideal: n.deviceId\n }), e.video = o(e.video), i(\"chrome: \" + JSON.stringify(e)), r(e);\n });\n }\n\n e.video = o(e.video);\n }\n\n return i(\"chrome: \" + JSON.stringify(e)), r(e);\n },\n s = function s(e) {\n return {\n name: {\n PermissionDeniedError: \"NotAllowedError\",\n InvalidStateError: \"NotReadableError\",\n DevicesNotFoundError: \"NotFoundError\",\n ConstraintNotSatisfiedError: \"OverconstrainedError\",\n TrackStartError: \"NotReadableError\",\n MediaDeviceFailedDueToShutdown: \"NotReadableError\",\n MediaDeviceKillSwitchOn: \"NotReadableError\"\n }[e.name] || e.name,\n message: e.message,\n constraint: e.constraintName,\n toString: function toString() {\n return this.name + (this.message && \": \") + this.message;\n }\n };\n },\n c = function c(e, t, r) {\n a(e, function (e) {\n n.webkitGetUserMedia(e, t, function (e) {\n r && r(s(e));\n });\n });\n };\n\n n.getUserMedia = c;\n\n var l = function l(e) {\n return new Promise(function (t, r) {\n n.getUserMedia(e, t, r);\n });\n };\n\n if (n.mediaDevices || (n.mediaDevices = {\n getUserMedia: l,\n enumerateDevices: function enumerateDevices() {\n return new Promise(function (t) {\n var n = {\n audio: \"audioinput\",\n video: \"videoinput\"\n };\n return e.MediaStreamTrack.getSources(function (e) {\n t(e.map(function (e) {\n return {\n label: e.label,\n kind: n[e.kind],\n deviceId: e.id,\n groupId: \"\"\n };\n }));\n });\n });\n },\n getSupportedConstraints: function getSupportedConstraints() {\n return {\n deviceId: !0,\n echoCancellation: !0,\n facingMode: !0,\n frameRate: !0,\n height: !0,\n width: !0\n };\n }\n }), n.mediaDevices.getUserMedia) {\n var u = n.mediaDevices.getUserMedia.bind(n.mediaDevices);\n\n n.mediaDevices.getUserMedia = function (e) {\n return a(e, function (e) {\n return u(e).then(function (t) {\n if (e.audio && !t.getAudioTracks().length || e.video && !t.getVideoTracks().length) throw t.getTracks().forEach(function (e) {\n e.stop();\n }), new DOMException(\"\", \"NotFoundError\");\n return t;\n }, function (e) {\n return Promise.reject(s(e));\n });\n });\n };\n } else n.mediaDevices.getUserMedia = function (e) {\n return l(e);\n };\n\n void 0 === n.mediaDevices.addEventListener && (n.mediaDevices.addEventListener = function () {\n i(\"Dummy mediaDevices.addEventListener called.\");\n }), void 0 === n.mediaDevices.removeEventListener && (n.mediaDevices.removeEventListener = function () {\n i(\"Dummy mediaDevices.removeEventListener called.\");\n });\n };\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(9),\n i = n(73);\n e.exports = {\n shimGetUserMedia: n(74),\n shimPeerConnection: function shimPeerConnection(e) {\n var t = r.detectBrowser(e);\n\n if (e.RTCIceGatherer && (e.RTCIceCandidate || (e.RTCIceCandidate = function (e) {\n return e;\n }), e.RTCSessionDescription || (e.RTCSessionDescription = function (e) {\n return e;\n }), t.version < 15025)) {\n var n = Object.getOwnPropertyDescriptor(e.MediaStreamTrack.prototype, \"enabled\");\n Object.defineProperty(e.MediaStreamTrack.prototype, \"enabled\", {\n set: function set(e) {\n n.set.call(this, e);\n var t = new Event(\"enabled\");\n t.enabled = e, this.dispatchEvent(t);\n }\n });\n }\n\n !e.RTCRtpSender || \"dtmf\" in e.RTCRtpSender.prototype || Object.defineProperty(e.RTCRtpSender.prototype, \"dtmf\", {\n get: function get() {\n return void 0 === this._dtmf && (\"audio\" === this.track.kind ? this._dtmf = new e.RTCDtmfSender(this) : \"video\" === this.track.kind && (this._dtmf = null)), this._dtmf;\n }\n }), e.RTCPeerConnection = i(e, t.version);\n },\n shimReplaceTrack: function shimReplaceTrack(e) {\n !e.RTCRtpSender || \"replaceTrack\" in e.RTCRtpSender.prototype || (e.RTCRtpSender.prototype.replaceTrack = e.RTCRtpSender.prototype.setTrack);\n }\n };\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return {\n inboundrtp: \"inbound-rtp\",\n outboundrtp: \"outbound-rtp\",\n candidatepair: \"candidate-pair\",\n localcandidate: \"local-candidate\",\n remotecandidate: \"remote-candidate\"\n }[e.type] || e.type;\n }\n\n function i(e, t, n, r, i) {\n var o = u.writeRtpDescription(e.kind, t);\n\n if (o += u.writeIceParameters(e.iceGatherer.getLocalParameters()), o += u.writeDtlsParameters(e.dtlsTransport.getLocalParameters(), \"offer\" === n ? \"actpass\" : i || \"active\"), o += \"a=mid:\" + e.mid + \"\\r\\n\", e.rtpSender && e.rtpReceiver ? o += \"a=sendrecv\\r\\n\" : e.rtpSender ? o += \"a=sendonly\\r\\n\" : e.rtpReceiver ? o += \"a=recvonly\\r\\n\" : o += \"a=inactive\\r\\n\", e.rtpSender) {\n var a = e.rtpSender._initialTrackId || e.rtpSender.track.id;\n e.rtpSender._initialTrackId = a;\n var s = \"msid:\" + (r ? r.id : \"-\") + \" \" + a + \"\\r\\n\";\n o += \"a=\" + s, o += \"a=ssrc:\" + e.sendEncodingParameters[0].ssrc + \" \" + s, e.sendEncodingParameters[0].rtx && (o += \"a=ssrc:\" + e.sendEncodingParameters[0].rtx.ssrc + \" \" + s, o += \"a=ssrc-group:FID \" + e.sendEncodingParameters[0].ssrc + \" \" + e.sendEncodingParameters[0].rtx.ssrc + \"\\r\\n\");\n }\n\n return o += \"a=ssrc:\" + e.sendEncodingParameters[0].ssrc + \" cname:\" + u.localCName + \"\\r\\n\", e.rtpSender && e.sendEncodingParameters[0].rtx && (o += \"a=ssrc:\" + e.sendEncodingParameters[0].rtx.ssrc + \" cname:\" + u.localCName + \"\\r\\n\"), o;\n }\n\n function o(e, t) {\n var n = !1;\n return e = JSON.parse(JSON.stringify(e)), e.filter(function (e) {\n if (e && (e.urls || e.url)) {\n var r = e.urls || e.url;\n e.url && !e.urls && console.warn(\"RTCIceServer.url is deprecated! Use urls instead.\");\n var i = \"string\" == typeof r;\n return i && (r = [r]), r = r.filter(function (e) {\n return 0 !== e.indexOf(\"turn:\") || -1 === e.indexOf(\"transport=udp\") || -1 !== e.indexOf(\"turn:[\") || n ? 0 === e.indexOf(\"stun:\") && t >= 14393 && -1 === e.indexOf(\"?transport=udp\") : (n = !0, !0);\n }), delete e.url, e.urls = i ? r[0] : r, !!r.length;\n }\n });\n }\n\n function a(e, t) {\n var n = {\n codecs: [],\n headerExtensions: [],\n fecMechanisms: []\n },\n r = function r(e, t) {\n e = parseInt(e, 10);\n\n for (var n = 0; n < t.length; n++) {\n if (t[n].payloadType === e || t[n].preferredPayloadType === e) return t[n];\n }\n },\n i = function i(e, t, n, _i) {\n var o = r(e.parameters.apt, n),\n a = r(t.parameters.apt, _i);\n return o && a && o.name.toLowerCase() === a.name.toLowerCase();\n };\n\n return e.codecs.forEach(function (r) {\n for (var o = 0; o < t.codecs.length; o++) {\n var a = t.codecs[o];\n\n if (r.name.toLowerCase() === a.name.toLowerCase() && r.clockRate === a.clockRate) {\n if (\"rtx\" === r.name.toLowerCase() && r.parameters && a.parameters.apt && !i(r, a, e.codecs, t.codecs)) continue;\n a = JSON.parse(JSON.stringify(a)), a.numChannels = Math.min(r.numChannels, a.numChannels), n.codecs.push(a), a.rtcpFeedback = a.rtcpFeedback.filter(function (e) {\n for (var t = 0; t < r.rtcpFeedback.length; t++) {\n if (r.rtcpFeedback[t].type === e.type && r.rtcpFeedback[t].parameter === e.parameter) return !0;\n }\n\n return !1;\n });\n break;\n }\n }\n }), e.headerExtensions.forEach(function (e) {\n for (var r = 0; r < t.headerExtensions.length; r++) {\n var i = t.headerExtensions[r];\n\n if (e.uri === i.uri) {\n n.headerExtensions.push(i);\n break;\n }\n }\n }), n;\n }\n\n function s(e, t, n) {\n return -1 !== {\n offer: {\n setLocalDescription: [\"stable\", \"have-local-offer\"],\n setRemoteDescription: [\"stable\", \"have-remote-offer\"]\n },\n answer: {\n setLocalDescription: [\"have-remote-offer\", \"have-local-pranswer\"],\n setRemoteDescription: [\"have-local-offer\", \"have-remote-pranswer\"]\n }\n }[t][e].indexOf(n);\n }\n\n function c(e, t) {\n var n = e.getRemoteCandidates().find(function (e) {\n return t.foundation === e.foundation && t.ip === e.ip && t.port === e.port && t.priority === e.priority && t.protocol === e.protocol && t.type === e.type;\n });\n return n || e.addRemoteCandidate(t), !n;\n }\n\n function l(e, t) {\n var n = new Error(t);\n return n.name = e, n.code = {\n NotSupportedError: 9,\n InvalidStateError: 11,\n InvalidAccessError: 15,\n TypeError: void 0,\n OperationError: void 0\n }[e], n;\n }\n\n var u = n(43);\n\n e.exports = function (e, t) {\n function n(t, n) {\n n.addTrack(t), n.dispatchEvent(new e.MediaStreamTrackEvent(\"addtrack\", {\n track: t\n }));\n }\n\n function d(t, n) {\n n.removeTrack(t), n.dispatchEvent(new e.MediaStreamTrackEvent(\"removetrack\", {\n track: t\n }));\n }\n\n function g(t, n, r, i) {\n var o = new Event(\"track\");\n o.track = n, o.receiver = r, o.transceiver = {\n receiver: r\n }, o.streams = i, e.setTimeout(function () {\n t._dispatchEvent(\"track\", o);\n });\n }\n\n var f = function f(n) {\n var r = this,\n i = document.createDocumentFragment();\n if ([\"addEventListener\", \"removeEventListener\", \"dispatchEvent\"].forEach(function (e) {\n r[e] = i[e].bind(i);\n }), this.canTrickleIceCandidates = null, this.needNegotiation = !1, this.localStreams = [], this.remoteStreams = [], this.localDescription = null, this.remoteDescription = null, this.signalingState = \"stable\", this.iceConnectionState = \"new\", this.connectionState = \"new\", this.iceGatheringState = \"new\", n = JSON.parse(JSON.stringify(n || {})), this.usingBundle = \"max-bundle\" === n.bundlePolicy, \"negotiate\" === n.rtcpMuxPolicy) throw l(\"NotSupportedError\", \"rtcpMuxPolicy 'negotiate' is not supported\");\n\n switch (n.rtcpMuxPolicy || (n.rtcpMuxPolicy = \"require\"), n.iceTransportPolicy) {\n case \"all\":\n case \"relay\":\n break;\n\n default:\n n.iceTransportPolicy = \"all\";\n }\n\n switch (n.bundlePolicy) {\n case \"balanced\":\n case \"max-compat\":\n case \"max-bundle\":\n break;\n\n default:\n n.bundlePolicy = \"balanced\";\n }\n\n if (n.iceServers = o(n.iceServers || [], t), this._iceGatherers = [], n.iceCandidatePoolSize) for (var a = n.iceCandidatePoolSize; a > 0; a--) {\n this._iceGatherers.push(new e.RTCIceGatherer({\n iceServers: n.iceServers,\n gatherPolicy: n.iceTransportPolicy\n }));\n } else n.iceCandidatePoolSize = 0;\n this._config = n, this.transceivers = [], this._sdpSessionId = u.generateSessionId(), this._sdpSessionVersion = 0, this._dtlsRole = void 0, this._isClosed = !1;\n };\n\n f.prototype.onicecandidate = null, f.prototype.onaddstream = null, f.prototype.ontrack = null, f.prototype.onremovestream = null, f.prototype.onsignalingstatechange = null, f.prototype.oniceconnectionstatechange = null, f.prototype.onconnectionstatechange = null, f.prototype.onicegatheringstatechange = null, f.prototype.onnegotiationneeded = null, f.prototype.ondatachannel = null, f.prototype._dispatchEvent = function (e, t) {\n this._isClosed || (this.dispatchEvent(t), \"function\" == typeof this[\"on\" + e] && this[\"on\" + e](t));\n }, f.prototype._emitGatheringStateChange = function () {\n var e = new Event(\"icegatheringstatechange\");\n\n this._dispatchEvent(\"icegatheringstatechange\", e);\n }, f.prototype.getConfiguration = function () {\n return this._config;\n }, f.prototype.getLocalStreams = function () {\n return this.localStreams;\n }, f.prototype.getRemoteStreams = function () {\n return this.remoteStreams;\n }, f.prototype._createTransceiver = function (e, t) {\n var n = this.transceivers.length > 0,\n r = {\n track: null,\n iceGatherer: null,\n iceTransport: null,\n dtlsTransport: null,\n localCapabilities: null,\n remoteCapabilities: null,\n rtpSender: null,\n rtpReceiver: null,\n kind: e,\n mid: null,\n sendEncodingParameters: null,\n recvEncodingParameters: null,\n stream: null,\n associatedRemoteMediaStreams: [],\n wantReceive: !0\n };\n if (this.usingBundle && n) r.iceTransport = this.transceivers[0].iceTransport, r.dtlsTransport = this.transceivers[0].dtlsTransport;else {\n var i = this._createIceAndDtlsTransports();\n\n r.iceTransport = i.iceTransport, r.dtlsTransport = i.dtlsTransport;\n }\n return t || this.transceivers.push(r), r;\n }, f.prototype.addTrack = function (t, n) {\n if (this._isClosed) throw l(\"InvalidStateError\", \"Attempted to call addTrack on a closed peerconnection.\");\n if (this.transceivers.find(function (e) {\n return e.track === t;\n })) throw l(\"InvalidAccessError\", \"Track already exists.\");\n\n for (var r, i = 0; i < this.transceivers.length; i++) {\n this.transceivers[i].track || this.transceivers[i].kind !== t.kind || (r = this.transceivers[i]);\n }\n\n return r || (r = this._createTransceiver(t.kind)), this._maybeFireNegotiationNeeded(), -1 === this.localStreams.indexOf(n) && this.localStreams.push(n), r.track = t, r.stream = n, r.rtpSender = new e.RTCRtpSender(t, r.dtlsTransport), r.rtpSender;\n }, f.prototype.addStream = function (e) {\n var n = this;\n if (t >= 15025) e.getTracks().forEach(function (t) {\n n.addTrack(t, e);\n });else {\n var r = e.clone();\n e.getTracks().forEach(function (e, t) {\n var n = r.getTracks()[t];\n e.addEventListener(\"enabled\", function (e) {\n n.enabled = e.enabled;\n });\n }), r.getTracks().forEach(function (e) {\n n.addTrack(e, r);\n });\n }\n }, f.prototype.removeTrack = function (t) {\n if (this._isClosed) throw l(\"InvalidStateError\", \"Attempted to call removeTrack on a closed peerconnection.\");\n if (!(t instanceof e.RTCRtpSender)) throw new TypeError(\"Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.\");\n var n = this.transceivers.find(function (e) {\n return e.rtpSender === t;\n });\n if (!n) throw l(\"InvalidAccessError\", \"Sender was not created by this connection.\");\n var r = n.stream;\n n.rtpSender.stop(), n.rtpSender = null, n.track = null, n.stream = null, -1 === this.transceivers.map(function (e) {\n return e.stream;\n }).indexOf(r) && this.localStreams.indexOf(r) > -1 && this.localStreams.splice(this.localStreams.indexOf(r), 1), this._maybeFireNegotiationNeeded();\n }, f.prototype.removeStream = function (e) {\n var t = this;\n e.getTracks().forEach(function (e) {\n var n = t.getSenders().find(function (t) {\n return t.track === e;\n });\n n && t.removeTrack(n);\n });\n }, f.prototype.getSenders = function () {\n return this.transceivers.filter(function (e) {\n return !!e.rtpSender;\n }).map(function (e) {\n return e.rtpSender;\n });\n }, f.prototype.getReceivers = function () {\n return this.transceivers.filter(function (e) {\n return !!e.rtpReceiver;\n }).map(function (e) {\n return e.rtpReceiver;\n });\n }, f.prototype._createIceGatherer = function (t, n) {\n var r = this;\n if (n && t > 0) return this.transceivers[0].iceGatherer;\n if (this._iceGatherers.length) return this._iceGatherers.shift();\n var i = new e.RTCIceGatherer({\n iceServers: this._config.iceServers,\n gatherPolicy: this._config.iceTransportPolicy\n });\n return Object.defineProperty(i, \"state\", {\n value: \"new\",\n writable: !0\n }), this.transceivers[t].bufferedCandidateEvents = [], this.transceivers[t].bufferCandidates = function (e) {\n var n = !e.candidate || 0 === Object.keys(e.candidate).length;\n i.state = n ? \"completed\" : \"gathering\", null !== r.transceivers[t].bufferedCandidateEvents && r.transceivers[t].bufferedCandidateEvents.push(e);\n }, i.addEventListener(\"localcandidate\", this.transceivers[t].bufferCandidates), i;\n }, f.prototype._gather = function (t, n) {\n var r = this,\n i = this.transceivers[n].iceGatherer;\n\n if (!i.onlocalcandidate) {\n var o = this.transceivers[n].bufferedCandidateEvents;\n this.transceivers[n].bufferedCandidateEvents = null, i.removeEventListener(\"localcandidate\", this.transceivers[n].bufferCandidates), i.onlocalcandidate = function (e) {\n if (!(r.usingBundle && n > 0)) {\n var o = new Event(\"icecandidate\");\n o.candidate = {\n sdpMid: t,\n sdpMLineIndex: n\n };\n var a = e.candidate,\n s = !a || 0 === Object.keys(a).length;\n if (s) \"new\" !== i.state && \"gathering\" !== i.state || (i.state = \"completed\");else {\n \"new\" === i.state && (i.state = \"gathering\"), a.component = 1, a.ufrag = i.getLocalParameters().usernameFragment;\n var c = u.writeCandidate(a);\n o.candidate = Object.assign(o.candidate, u.parseCandidate(c)), o.candidate.candidate = c, o.candidate.toJSON = function () {\n return {\n candidate: o.candidate.candidate,\n sdpMid: o.candidate.sdpMid,\n sdpMLineIndex: o.candidate.sdpMLineIndex,\n usernameFragment: o.candidate.usernameFragment\n };\n };\n }\n var l = u.getMediaSections(r.localDescription.sdp);\n l[o.candidate.sdpMLineIndex] += s ? \"a=end-of-candidates\\r\\n\" : \"a=\" + o.candidate.candidate + \"\\r\\n\", r.localDescription.sdp = u.getDescription(r.localDescription.sdp) + l.join(\"\");\n var d = r.transceivers.every(function (e) {\n return e.iceGatherer && \"completed\" === e.iceGatherer.state;\n });\n \"gathering\" !== r.iceGatheringState && (r.iceGatheringState = \"gathering\", r._emitGatheringStateChange()), s || r._dispatchEvent(\"icecandidate\", o), d && (r._dispatchEvent(\"icecandidate\", new Event(\"icecandidate\")), r.iceGatheringState = \"complete\", r._emitGatheringStateChange());\n }\n }, e.setTimeout(function () {\n o.forEach(function (e) {\n i.onlocalcandidate(e);\n });\n }, 0);\n }\n }, f.prototype._createIceAndDtlsTransports = function () {\n var t = this,\n n = new e.RTCIceTransport(null);\n\n n.onicestatechange = function () {\n t._updateIceConnectionState(), t._updateConnectionState();\n };\n\n var r = new e.RTCDtlsTransport(n);\n return r.ondtlsstatechange = function () {\n t._updateConnectionState();\n }, r.onerror = function () {\n Object.defineProperty(r, \"state\", {\n value: \"failed\",\n writable: !0\n }), t._updateConnectionState();\n }, {\n iceTransport: n,\n dtlsTransport: r\n };\n }, f.prototype._disposeIceAndDtlsTransports = function (e) {\n var t = this.transceivers[e].iceGatherer;\n t && (delete t.onlocalcandidate, delete this.transceivers[e].iceGatherer);\n var n = this.transceivers[e].iceTransport;\n n && (delete n.onicestatechange, delete this.transceivers[e].iceTransport);\n var r = this.transceivers[e].dtlsTransport;\n r && (delete r.ondtlsstatechange, delete r.onerror, delete this.transceivers[e].dtlsTransport);\n }, f.prototype._transceive = function (e, n, r) {\n var i = a(e.localCapabilities, e.remoteCapabilities);\n n && e.rtpSender && (i.encodings = e.sendEncodingParameters, i.rtcp = {\n cname: u.localCName,\n compound: e.rtcpParameters.compound\n }, e.recvEncodingParameters.length && (i.rtcp.ssrc = e.recvEncodingParameters[0].ssrc), e.rtpSender.send(i)), r && e.rtpReceiver && i.codecs.length > 0 && (\"video\" === e.kind && e.recvEncodingParameters && t < 15019 && e.recvEncodingParameters.forEach(function (e) {\n delete e.rtx;\n }), e.recvEncodingParameters.length ? i.encodings = e.recvEncodingParameters : i.encodings = [{}], i.rtcp = {\n compound: e.rtcpParameters.compound\n }, e.rtcpParameters.cname && (i.rtcp.cname = e.rtcpParameters.cname), e.sendEncodingParameters.length && (i.rtcp.ssrc = e.sendEncodingParameters[0].ssrc), e.rtpReceiver.receive(i));\n }, f.prototype.setLocalDescription = function (e) {\n var t = this;\n if (-1 === [\"offer\", \"answer\"].indexOf(e.type)) return Promise.reject(l(\"TypeError\", 'Unsupported type \"' + e.type + '\"'));\n if (!s(\"setLocalDescription\", e.type, t.signalingState) || t._isClosed) return Promise.reject(l(\"InvalidStateError\", \"Can not set local \" + e.type + \" in state \" + t.signalingState));\n var n, r;\n if (\"offer\" === e.type) n = u.splitSections(e.sdp), r = n.shift(), n.forEach(function (e, n) {\n var r = u.parseRtpParameters(e);\n t.transceivers[n].localCapabilities = r;\n }), t.transceivers.forEach(function (e, n) {\n t._gather(e.mid, n);\n });else if (\"answer\" === e.type) {\n n = u.splitSections(t.remoteDescription.sdp), r = n.shift();\n var i = u.matchPrefix(r, \"a=ice-lite\").length > 0;\n n.forEach(function (e, n) {\n var o = t.transceivers[n],\n s = o.iceGatherer,\n c = o.iceTransport,\n l = o.dtlsTransport,\n d = o.localCapabilities,\n g = o.remoteCapabilities;\n\n if (!(u.isRejected(e) && 0 === u.matchPrefix(e, \"a=bundle-only\").length || o.rejected)) {\n var f = u.getIceParameters(e, r),\n p = u.getDtlsParameters(e, r);\n i && (p.role = \"server\"), t.usingBundle && 0 !== n || (t._gather(o.mid, n), \"new\" === c.state && c.start(s, f, i ? \"controlling\" : \"controlled\"), \"new\" === l.state && l.start(p));\n var v = a(d, g);\n\n t._transceive(o, v.codecs.length > 0, !1);\n }\n });\n }\n return t.localDescription = {\n type: e.type,\n sdp: e.sdp\n }, \"offer\" === e.type ? t._updateSignalingState(\"have-local-offer\") : t._updateSignalingState(\"stable\"), Promise.resolve();\n }, f.prototype.setRemoteDescription = function (r) {\n var i = this;\n if (-1 === [\"offer\", \"answer\"].indexOf(r.type)) return Promise.reject(l(\"TypeError\", 'Unsupported type \"' + r.type + '\"'));\n if (!s(\"setRemoteDescription\", r.type, i.signalingState) || i._isClosed) return Promise.reject(l(\"InvalidStateError\", \"Can not set remote \" + r.type + \" in state \" + i.signalingState));\n var o = {};\n i.remoteStreams.forEach(function (e) {\n o[e.id] = e;\n });\n var a = [],\n f = u.splitSections(r.sdp),\n p = f.shift(),\n v = u.matchPrefix(p, \"a=ice-lite\").length > 0,\n h = u.matchPrefix(p, \"a=group:BUNDLE \").length > 0;\n i.usingBundle = h;\n var m = u.matchPrefix(p, \"a=ice-options:\")[0];\n return i.canTrickleIceCandidates = !!m && m.substr(14).split(\" \").indexOf(\"trickle\") >= 0, f.forEach(function (s, l) {\n var g = u.splitLines(s),\n f = u.getKind(s),\n m = u.isRejected(s) && 0 === u.matchPrefix(s, \"a=bundle-only\").length,\n y = g[0].substr(2).split(\" \")[2],\n C = u.getDirection(s, p),\n S = u.parseMsid(s),\n _ = u.getMid(s) || u.generateIdentifier();\n\n if (\"application\" === f && \"DTLS/SCTP\" === y || m) return void (i.transceivers[l] = {\n mid: _,\n kind: f,\n rejected: !0\n });\n !m && i.transceivers[l] && i.transceivers[l].rejected && (i.transceivers[l] = i._createTransceiver(f, !0));\n var E,\n L,\n M,\n b,\n R,\n T,\n k,\n I,\n P,\n w,\n O,\n A = u.parseRtpParameters(s);\n m || (w = u.getIceParameters(s, p), O = u.getDtlsParameters(s, p), O.role = \"client\"), k = u.parseRtpEncodingParameters(s);\n var D = u.parseRtcpParameters(s),\n N = u.matchPrefix(s, \"a=end-of-candidates\", p).length > 0,\n x = u.matchPrefix(s, \"a=candidate:\").map(function (e) {\n return u.parseCandidate(e);\n }).filter(function (e) {\n return 1 === e.component;\n });\n if ((\"offer\" === r.type || \"answer\" === r.type) && !m && h && l > 0 && i.transceivers[l] && (i._disposeIceAndDtlsTransports(l), i.transceivers[l].iceGatherer = i.transceivers[0].iceGatherer, i.transceivers[l].iceTransport = i.transceivers[0].iceTransport, i.transceivers[l].dtlsTransport = i.transceivers[0].dtlsTransport, i.transceivers[l].rtpSender && i.transceivers[l].rtpSender.setTransport(i.transceivers[0].dtlsTransport), i.transceivers[l].rtpReceiver && i.transceivers[l].rtpReceiver.setTransport(i.transceivers[0].dtlsTransport)), \"offer\" !== r.type || m) \"answer\" !== r.type || m || (E = i.transceivers[l], L = E.iceGatherer, M = E.iceTransport, b = E.dtlsTransport, R = E.rtpReceiver, T = E.sendEncodingParameters, I = E.localCapabilities, i.transceivers[l].recvEncodingParameters = k, i.transceivers[l].remoteCapabilities = A, i.transceivers[l].rtcpParameters = D, x.length && \"new\" === M.state && (!v && !N || h && 0 !== l ? x.forEach(function (e) {\n c(E.iceTransport, e);\n }) : M.setRemoteCandidates(x)), h && 0 !== l || (\"new\" === M.state && M.start(L, w, \"controlling\"), \"new\" === b.state && b.start(O)), i._transceive(E, \"sendrecv\" === C || \"recvonly\" === C, \"sendrecv\" === C || \"sendonly\" === C), !R || \"sendrecv\" !== C && \"sendonly\" !== C ? delete E.rtpReceiver : (P = R.track, S ? (o[S.stream] || (o[S.stream] = new e.MediaStream()), n(P, o[S.stream]), a.push([P, R, o[S.stream]])) : (o.default || (o.default = new e.MediaStream()), n(P, o.default), a.push([P, R, o.default]))));else {\n E = i.transceivers[l] || i._createTransceiver(f), E.mid = _, E.iceGatherer || (E.iceGatherer = i._createIceGatherer(l, h)), x.length && \"new\" === E.iceTransport.state && (!N || h && 0 !== l ? x.forEach(function (e) {\n c(E.iceTransport, e);\n }) : E.iceTransport.setRemoteCandidates(x)), I = e.RTCRtpReceiver.getCapabilities(f), t < 15019 && (I.codecs = I.codecs.filter(function (e) {\n return \"rtx\" !== e.name;\n })), T = E.sendEncodingParameters || [{\n ssrc: 1001 * (2 * l + 2)\n }];\n var j = !1;\n\n if (\"sendrecv\" === C || \"sendonly\" === C) {\n if (j = !E.rtpReceiver, R = E.rtpReceiver || new e.RTCRtpReceiver(E.dtlsTransport, f), j) {\n var F;\n P = R.track, S && \"-\" === S.stream || (S ? (o[S.stream] || (o[S.stream] = new e.MediaStream(), Object.defineProperty(o[S.stream], \"id\", {\n get: function get() {\n return S.stream;\n }\n })), Object.defineProperty(P, \"id\", {\n get: function get() {\n return S.track;\n }\n }), F = o[S.stream]) : (o.default || (o.default = new e.MediaStream()), F = o.default)), F && (n(P, F), E.associatedRemoteMediaStreams.push(F)), a.push([P, R, F]);\n }\n } else E.rtpReceiver && E.rtpReceiver.track && (E.associatedRemoteMediaStreams.forEach(function (e) {\n var t = e.getTracks().find(function (e) {\n return e.id === E.rtpReceiver.track.id;\n });\n t && d(t, e);\n }), E.associatedRemoteMediaStreams = []);\n\n E.localCapabilities = I, E.remoteCapabilities = A, E.rtpReceiver = R, E.rtcpParameters = D, E.sendEncodingParameters = T, E.recvEncodingParameters = k, i._transceive(i.transceivers[l], !1, j);\n }\n }), void 0 === i._dtlsRole && (i._dtlsRole = \"offer\" === r.type ? \"active\" : \"passive\"), i.remoteDescription = {\n type: r.type,\n sdp: r.sdp\n }, \"offer\" === r.type ? i._updateSignalingState(\"have-remote-offer\") : i._updateSignalingState(\"stable\"), Object.keys(o).forEach(function (t) {\n var n = o[t];\n\n if (n.getTracks().length) {\n if (-1 === i.remoteStreams.indexOf(n)) {\n i.remoteStreams.push(n);\n var r = new Event(\"addstream\");\n r.stream = n, e.setTimeout(function () {\n i._dispatchEvent(\"addstream\", r);\n });\n }\n\n a.forEach(function (e) {\n var t = e[0],\n r = e[1];\n n.id === e[2].id && g(i, t, r, [n]);\n });\n }\n }), a.forEach(function (e) {\n e[2] || g(i, e[0], e[1], []);\n }), e.setTimeout(function () {\n i && i.transceivers && i.transceivers.forEach(function (e) {\n e.iceTransport && \"new\" === e.iceTransport.state && e.iceTransport.getRemoteCandidates().length > 0 && (console.warn(\"Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification\"), e.iceTransport.addRemoteCandidate({}));\n });\n }, 4e3), Promise.resolve();\n }, f.prototype.close = function () {\n this.transceivers.forEach(function (e) {\n e.iceTransport && e.iceTransport.stop(), e.dtlsTransport && e.dtlsTransport.stop(), e.rtpSender && e.rtpSender.stop(), e.rtpReceiver && e.rtpReceiver.stop();\n }), this._isClosed = !0, this._updateSignalingState(\"closed\");\n }, f.prototype._updateSignalingState = function (e) {\n this.signalingState = e;\n var t = new Event(\"signalingstatechange\");\n\n this._dispatchEvent(\"signalingstatechange\", t);\n }, f.prototype._maybeFireNegotiationNeeded = function () {\n var t = this;\n \"stable\" === this.signalingState && !0 !== this.needNegotiation && (this.needNegotiation = !0, e.setTimeout(function () {\n if (t.needNegotiation) {\n t.needNegotiation = !1;\n var e = new Event(\"negotiationneeded\");\n\n t._dispatchEvent(\"negotiationneeded\", e);\n }\n }, 0));\n }, f.prototype._updateIceConnectionState = function () {\n var e,\n t = {\n new: 0,\n closed: 0,\n checking: 0,\n connected: 0,\n completed: 0,\n disconnected: 0,\n failed: 0\n };\n\n if (this.transceivers.forEach(function (e) {\n t[e.iceTransport.state]++;\n }), e = \"new\", t.failed > 0 ? e = \"failed\" : t.checking > 0 ? e = \"checking\" : t.disconnected > 0 ? e = \"disconnected\" : t.new > 0 ? e = \"new\" : t.connected > 0 ? e = \"connected\" : t.completed > 0 && (e = \"completed\"), e !== this.iceConnectionState) {\n this.iceConnectionState = e;\n var n = new Event(\"iceconnectionstatechange\");\n\n this._dispatchEvent(\"iceconnectionstatechange\", n);\n }\n }, f.prototype._updateConnectionState = function () {\n var e,\n t = {\n new: 0,\n closed: 0,\n connecting: 0,\n connected: 0,\n completed: 0,\n disconnected: 0,\n failed: 0\n };\n\n if (this.transceivers.forEach(function (e) {\n t[e.iceTransport.state]++, t[e.dtlsTransport.state]++;\n }), t.connected += t.completed, e = \"new\", t.failed > 0 ? e = \"failed\" : t.connecting > 0 ? e = \"connecting\" : t.disconnected > 0 ? e = \"disconnected\" : t.new > 0 ? e = \"new\" : t.connected > 0 && (e = \"connected\"), e !== this.connectionState) {\n this.connectionState = e;\n var n = new Event(\"connectionstatechange\");\n\n this._dispatchEvent(\"connectionstatechange\", n);\n }\n }, f.prototype.createOffer = function () {\n var n = this;\n if (n._isClosed) return Promise.reject(l(\"InvalidStateError\", \"Can not call createOffer after close\"));\n var r = n.transceivers.filter(function (e) {\n return \"audio\" === e.kind;\n }).length,\n o = n.transceivers.filter(function (e) {\n return \"video\" === e.kind;\n }).length,\n a = arguments[0];\n\n if (a) {\n if (a.mandatory || a.optional) throw new TypeError(\"Legacy mandatory/optional constraints not supported.\");\n void 0 !== a.offerToReceiveAudio && (r = !0 === a.offerToReceiveAudio ? 1 : !1 === a.offerToReceiveAudio ? 0 : a.offerToReceiveAudio), void 0 !== a.offerToReceiveVideo && (o = !0 === a.offerToReceiveVideo ? 1 : !1 === a.offerToReceiveVideo ? 0 : a.offerToReceiveVideo);\n }\n\n for (n.transceivers.forEach(function (e) {\n \"audio\" === e.kind ? --r < 0 && (e.wantReceive = !1) : \"video\" === e.kind && --o < 0 && (e.wantReceive = !1);\n }); r > 0 || o > 0;) {\n r > 0 && (n._createTransceiver(\"audio\"), r--), o > 0 && (n._createTransceiver(\"video\"), o--);\n }\n\n var s = u.writeSessionBoilerplate(n._sdpSessionId, n._sdpSessionVersion++);\n n.transceivers.forEach(function (r, i) {\n var o = r.track,\n a = r.kind,\n s = r.mid || u.generateIdentifier();\n r.mid = s, r.iceGatherer || (r.iceGatherer = n._createIceGatherer(i, n.usingBundle));\n var c = e.RTCRtpSender.getCapabilities(a);\n t < 15019 && (c.codecs = c.codecs.filter(function (e) {\n return \"rtx\" !== e.name;\n })), c.codecs.forEach(function (e) {\n \"H264\" === e.name && void 0 === e.parameters[\"level-asymmetry-allowed\"] && (e.parameters[\"level-asymmetry-allowed\"] = \"1\"), r.remoteCapabilities && r.remoteCapabilities.codecs && r.remoteCapabilities.codecs.forEach(function (t) {\n e.name.toLowerCase() === t.name.toLowerCase() && e.clockRate === t.clockRate && (e.preferredPayloadType = t.payloadType);\n });\n }), c.headerExtensions.forEach(function (e) {\n (r.remoteCapabilities && r.remoteCapabilities.headerExtensions || []).forEach(function (t) {\n e.uri === t.uri && (e.id = t.id);\n });\n });\n var l = r.sendEncodingParameters || [{\n ssrc: 1001 * (2 * i + 1)\n }];\n o && t >= 15019 && \"video\" === a && !l[0].rtx && (l[0].rtx = {\n ssrc: l[0].ssrc + 1\n }), r.wantReceive && (r.rtpReceiver = new e.RTCRtpReceiver(r.dtlsTransport, a)), r.localCapabilities = c, r.sendEncodingParameters = l;\n }), \"max-compat\" !== n._config.bundlePolicy && (s += \"a=group:BUNDLE \" + n.transceivers.map(function (e) {\n return e.mid;\n }).join(\" \") + \"\\r\\n\"), s += \"a=ice-options:trickle\\r\\n\", n.transceivers.forEach(function (e, t) {\n s += i(e, e.localCapabilities, \"offer\", e.stream, n._dtlsRole), s += \"a=rtcp-rsize\\r\\n\", !e.iceGatherer || \"new\" === n.iceGatheringState || 0 !== t && n.usingBundle || (e.iceGatherer.getLocalCandidates().forEach(function (e) {\n e.component = 1, s += \"a=\" + u.writeCandidate(e) + \"\\r\\n\";\n }), \"completed\" === e.iceGatherer.state && (s += \"a=end-of-candidates\\r\\n\"));\n });\n var c = new e.RTCSessionDescription({\n type: \"offer\",\n sdp: s\n });\n return Promise.resolve(c);\n }, f.prototype.createAnswer = function () {\n var n = this;\n if (n._isClosed) return Promise.reject(l(\"InvalidStateError\", \"Can not call createAnswer after close\"));\n if (\"have-remote-offer\" !== n.signalingState && \"have-local-pranswer\" !== n.signalingState) return Promise.reject(l(\"InvalidStateError\", \"Can not call createAnswer in signalingState \" + n.signalingState));\n var r = u.writeSessionBoilerplate(n._sdpSessionId, n._sdpSessionVersion++);\n n.usingBundle && (r += \"a=group:BUNDLE \" + n.transceivers.map(function (e) {\n return e.mid;\n }).join(\" \") + \"\\r\\n\");\n var o = u.getMediaSections(n.remoteDescription.sdp).length;\n n.transceivers.forEach(function (e, s) {\n if (!(s + 1 > o)) {\n if (e.rejected) return \"application\" === e.kind ? r += \"m=application 0 DTLS/SCTP 5000\\r\\n\" : \"audio\" === e.kind ? r += \"m=audio 0 UDP/TLS/RTP/SAVPF 0\\r\\na=rtpmap:0 PCMU/8000\\r\\n\" : \"video\" === e.kind && (r += \"m=video 0 UDP/TLS/RTP/SAVPF 120\\r\\na=rtpmap:120 VP8/90000\\r\\n\"), void (r += \"c=IN IP4 0.0.0.0\\r\\na=inactive\\r\\na=mid:\" + e.mid + \"\\r\\n\");\n\n if (e.stream) {\n var c;\n \"audio\" === e.kind ? c = e.stream.getAudioTracks()[0] : \"video\" === e.kind && (c = e.stream.getVideoTracks()[0]), c && t >= 15019 && \"video\" === e.kind && !e.sendEncodingParameters[0].rtx && (e.sendEncodingParameters[0].rtx = {\n ssrc: e.sendEncodingParameters[0].ssrc + 1\n });\n }\n\n var l = a(e.localCapabilities, e.remoteCapabilities);\n !l.codecs.filter(function (e) {\n return \"rtx\" === e.name.toLowerCase();\n }).length && e.sendEncodingParameters[0].rtx && delete e.sendEncodingParameters[0].rtx, r += i(e, l, \"answer\", e.stream, n._dtlsRole), e.rtcpParameters && e.rtcpParameters.reducedSize && (r += \"a=rtcp-rsize\\r\\n\");\n }\n });\n var s = new e.RTCSessionDescription({\n type: \"answer\",\n sdp: r\n });\n return Promise.resolve(s);\n }, f.prototype.addIceCandidate = function (e) {\n var t,\n n = this;\n return e && void 0 === e.sdpMLineIndex && !e.sdpMid ? Promise.reject(new TypeError(\"sdpMLineIndex or sdpMid required\")) : new Promise(function (r, i) {\n if (!n.remoteDescription) return i(l(\"InvalidStateError\", \"Can not add ICE candidate without a remote description\"));\n\n if (e && \"\" !== e.candidate) {\n var o = e.sdpMLineIndex;\n if (e.sdpMid) for (var a = 0; a < n.transceivers.length; a++) {\n if (n.transceivers[a].mid === e.sdpMid) {\n o = a;\n break;\n }\n }\n var s = n.transceivers[o];\n if (!s) return i(l(\"OperationError\", \"Can not add ICE candidate\"));\n if (s.rejected) return r();\n var d = Object.keys(e.candidate).length > 0 ? u.parseCandidate(e.candidate) : {};\n if (\"tcp\" === d.protocol && (0 === d.port || 9 === d.port)) return r();\n if (d.component && 1 !== d.component) return r();\n if ((0 === o || o > 0 && s.iceTransport !== n.transceivers[0].iceTransport) && !c(s.iceTransport, d)) return i(l(\"OperationError\", \"Can not add ICE candidate\"));\n var g = e.candidate.trim();\n 0 === g.indexOf(\"a=\") && (g = g.substr(2)), t = u.getMediaSections(n.remoteDescription.sdp), t[o] += \"a=\" + (d.type ? g : \"end-of-candidates\") + \"\\r\\n\", n.remoteDescription.sdp = u.getDescription(n.remoteDescription.sdp) + t.join(\"\");\n } else for (var f = 0; f < n.transceivers.length && (n.transceivers[f].rejected || (n.transceivers[f].iceTransport.addRemoteCandidate({}), t = u.getMediaSections(n.remoteDescription.sdp), t[f] += \"a=end-of-candidates\\r\\n\", n.remoteDescription.sdp = u.getDescription(n.remoteDescription.sdp) + t.join(\"\"), !n.usingBundle)); f++) {\n ;\n }\n\n r();\n });\n }, f.prototype.getStats = function (t) {\n if (t && t instanceof e.MediaStreamTrack) {\n var n = null;\n if (this.transceivers.forEach(function (e) {\n e.rtpSender && e.rtpSender.track === t ? n = e.rtpSender : e.rtpReceiver && e.rtpReceiver.track === t && (n = e.rtpReceiver);\n }), !n) throw l(\"InvalidAccessError\", \"Invalid selector.\");\n return n.getStats();\n }\n\n var r = [];\n return this.transceivers.forEach(function (e) {\n [\"rtpSender\", \"rtpReceiver\", \"iceGatherer\", \"iceTransport\", \"dtlsTransport\"].forEach(function (t) {\n e[t] && r.push(e[t].getStats());\n });\n }), Promise.all(r).then(function (e) {\n var t = new Map();\n return e.forEach(function (e) {\n e.forEach(function (e) {\n t.set(e.id, e);\n });\n }), t;\n });\n }, [\"RTCRtpSender\", \"RTCRtpReceiver\", \"RTCIceGatherer\", \"RTCIceTransport\", \"RTCDtlsTransport\"].forEach(function (t) {\n var n = e[t];\n\n if (n && n.prototype && n.prototype.getStats) {\n var i = n.prototype.getStats;\n\n n.prototype.getStats = function () {\n return i.apply(this).then(function (e) {\n var t = new Map();\n return Object.keys(e).forEach(function (n) {\n e[n].type = r(e[n]), t.set(n, e[n]);\n }), t;\n });\n };\n }\n });\n var p = [\"createOffer\", \"createAnswer\"];\n return p.forEach(function (e) {\n var t = f.prototype[e];\n\n f.prototype[e] = function () {\n var e = arguments;\n return \"function\" == typeof e[0] || \"function\" == typeof e[1] ? t.apply(this, [arguments[2]]).then(function (t) {\n \"function\" == typeof e[0] && e[0].apply(null, [t]);\n }, function (t) {\n \"function\" == typeof e[1] && e[1].apply(null, [t]);\n }) : t.apply(this, arguments);\n };\n }), p = [\"setLocalDescription\", \"setRemoteDescription\", \"addIceCandidate\"], p.forEach(function (e) {\n var t = f.prototype[e];\n\n f.prototype[e] = function () {\n var e = arguments;\n return \"function\" == typeof e[1] || \"function\" == typeof e[2] ? t.apply(this, arguments).then(function () {\n \"function\" == typeof e[1] && e[1].apply(null);\n }, function (t) {\n \"function\" == typeof e[2] && e[2].apply(null, [t]);\n }) : t.apply(this, arguments);\n };\n }), [\"getStats\"].forEach(function (e) {\n var t = f.prototype[e];\n\n f.prototype[e] = function () {\n var e = arguments;\n return \"function\" == typeof e[1] ? t.apply(this, arguments).then(function () {\n \"function\" == typeof e[1] && e[1].apply(null);\n }) : t.apply(this, arguments);\n };\n }), f;\n };\n }, function (e, t, n) {\n \"use strict\";\n\n e.exports = function (e) {\n var t = e && e.navigator,\n n = function n(e) {\n return {\n name: {\n PermissionDeniedError: \"NotAllowedError\"\n }[e.name] || e.name,\n message: e.message,\n constraint: e.constraint,\n toString: function toString() {\n return this.name;\n }\n };\n },\n r = t.mediaDevices.getUserMedia.bind(t.mediaDevices);\n\n t.mediaDevices.getUserMedia = function (e) {\n return r(e).catch(function (e) {\n return Promise.reject(n(e));\n });\n };\n };\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(9),\n i = {\n shimOnTrack: function shimOnTrack(e) {\n \"object\" != _typeof(e) || !e.RTCPeerConnection || \"ontrack\" in e.RTCPeerConnection.prototype || Object.defineProperty(e.RTCPeerConnection.prototype, \"ontrack\", {\n get: function get() {\n return this._ontrack;\n },\n set: function set(e) {\n this._ontrack && (this.removeEventListener(\"track\", this._ontrack), this.removeEventListener(\"addstream\", this._ontrackpoly)), this.addEventListener(\"track\", this._ontrack = e), this.addEventListener(\"addstream\", this._ontrackpoly = function (e) {\n e.stream.getTracks().forEach(function (t) {\n var n = new Event(\"track\");\n n.track = t, n.receiver = {\n track: t\n }, n.transceiver = {\n receiver: n.receiver\n }, n.streams = [e.stream], this.dispatchEvent(n);\n }.bind(this));\n }.bind(this));\n }\n }), \"object\" == _typeof(e) && e.RTCTrackEvent && \"receiver\" in e.RTCTrackEvent.prototype && !(\"transceiver\" in e.RTCTrackEvent.prototype) && Object.defineProperty(e.RTCTrackEvent.prototype, \"transceiver\", {\n get: function get() {\n return {\n receiver: this.receiver\n };\n }\n });\n },\n shimSourceObject: function shimSourceObject(e) {\n \"object\" == _typeof(e) && (!e.HTMLMediaElement || \"srcObject\" in e.HTMLMediaElement.prototype || Object.defineProperty(e.HTMLMediaElement.prototype, \"srcObject\", {\n get: function get() {\n return this.mozSrcObject;\n },\n set: function set(e) {\n this.mozSrcObject = e;\n }\n }));\n },\n shimPeerConnection: function shimPeerConnection(e) {\n var t = r.detectBrowser(e);\n\n if (\"object\" == _typeof(e) && (e.RTCPeerConnection || e.mozRTCPeerConnection)) {\n e.RTCPeerConnection || (e.RTCPeerConnection = function (n, r) {\n if (t.version < 38 && n && n.iceServers) {\n for (var i = [], o = 0; o < n.iceServers.length; o++) {\n var a = n.iceServers[o];\n if (a.hasOwnProperty(\"urls\")) for (var s = 0; s < a.urls.length; s++) {\n var c = {\n url: a.urls[s]\n };\n 0 === a.urls[s].indexOf(\"turn\") && (c.username = a.username, c.credential = a.credential), i.push(c);\n } else i.push(n.iceServers[o]);\n }\n\n n.iceServers = i;\n }\n\n return new e.mozRTCPeerConnection(n, r);\n }, e.RTCPeerConnection.prototype = e.mozRTCPeerConnection.prototype, e.mozRTCPeerConnection.generateCertificate && Object.defineProperty(e.RTCPeerConnection, \"generateCertificate\", {\n get: function get() {\n return e.mozRTCPeerConnection.generateCertificate;\n }\n }), e.RTCSessionDescription = e.mozRTCSessionDescription, e.RTCIceCandidate = e.mozRTCIceCandidate), [\"setLocalDescription\", \"setRemoteDescription\", \"addIceCandidate\"].forEach(function (t) {\n var n = e.RTCPeerConnection.prototype[t];\n\n e.RTCPeerConnection.prototype[t] = function () {\n return arguments[0] = new (\"addIceCandidate\" === t ? e.RTCIceCandidate : e.RTCSessionDescription)(arguments[0]), n.apply(this, arguments);\n };\n });\n var n = e.RTCPeerConnection.prototype.addIceCandidate;\n\n e.RTCPeerConnection.prototype.addIceCandidate = function () {\n return arguments[0] ? n.apply(this, arguments) : (arguments[1] && arguments[1].apply(null), Promise.resolve());\n };\n\n var i = function i(e) {\n var t = new Map();\n return Object.keys(e).forEach(function (n) {\n t.set(n, e[n]), t[n] = e[n];\n }), t;\n },\n o = {\n inboundrtp: \"inbound-rtp\",\n outboundrtp: \"outbound-rtp\",\n candidatepair: \"candidate-pair\",\n localcandidate: \"local-candidate\",\n remotecandidate: \"remote-candidate\"\n },\n a = e.RTCPeerConnection.prototype.getStats;\n\n e.RTCPeerConnection.prototype.getStats = function (e, n, r) {\n return a.apply(this, [e || null]).then(function (e) {\n if (t.version < 48 && (e = i(e)), t.version < 53 && !n) try {\n e.forEach(function (e) {\n e.type = o[e.type] || e.type;\n });\n } catch (t) {\n if (\"TypeError\" !== t.name) throw t;\n e.forEach(function (t, n) {\n e.set(n, Object.assign({}, t, {\n type: o[t.type] || t.type\n }));\n });\n }\n return e;\n }).then(n, r);\n };\n }\n },\n shimRemoveStream: function shimRemoveStream(e) {\n \"removeStream\" in e.RTCPeerConnection.prototype || (e.RTCPeerConnection.prototype.removeStream = function (e) {\n var t = this;\n r.deprecated(\"removeStream\", \"removeTrack\"), this.getSenders().forEach(function (n) {\n n.track && -1 !== e.getTracks().indexOf(n.track) && t.removeTrack(n);\n });\n });\n }\n };\n e.exports = {\n shimOnTrack: i.shimOnTrack,\n shimSourceObject: i.shimSourceObject,\n shimPeerConnection: i.shimPeerConnection,\n shimRemoveStream: i.shimRemoveStream,\n shimGetUserMedia: n(76)\n };\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(9),\n i = r.log;\n\n e.exports = function (e) {\n var t = r.detectBrowser(e),\n n = e && e.navigator,\n o = e && e.MediaStreamTrack,\n a = function a(e) {\n return {\n name: {\n InternalError: \"NotReadableError\",\n NotSupportedError: \"TypeError\",\n PermissionDeniedError: \"NotAllowedError\",\n SecurityError: \"NotAllowedError\"\n }[e.name] || e.name,\n message: {\n \"The operation is insecure.\": \"The request is not allowed by the user agent or the platform in the current context.\"\n }[e.message] || e.message,\n constraint: e.constraint,\n toString: function toString() {\n return this.name + (this.message && \": \") + this.message;\n }\n };\n },\n s = function s(e, r, o) {\n var s = function s(e) {\n if (\"object\" != _typeof(e) || e.require) return e;\n var t = [];\n return Object.keys(e).forEach(function (n) {\n if (\"require\" !== n && \"advanced\" !== n && \"mediaSource\" !== n) {\n var r = e[n] = \"object\" == _typeof(e[n]) ? e[n] : {\n ideal: e[n]\n };\n\n if (void 0 === r.min && void 0 === r.max && void 0 === r.exact || t.push(n), void 0 !== r.exact && (\"number\" == typeof r.exact ? r.min = r.max = r.exact : e[n] = r.exact, delete r.exact), void 0 !== r.ideal) {\n e.advanced = e.advanced || [];\n var i = {};\n \"number\" == typeof r.ideal ? i[n] = {\n min: r.ideal,\n max: r.ideal\n } : i[n] = r.ideal, e.advanced.push(i), delete r.ideal, Object.keys(r).length || delete e[n];\n }\n }\n }), t.length && (e.require = t), e;\n };\n\n return e = JSON.parse(JSON.stringify(e)), t.version < 38 && (i(\"spec: \" + JSON.stringify(e)), e.audio && (e.audio = s(e.audio)), e.video && (e.video = s(e.video)), i(\"ff37: \" + JSON.stringify(e))), n.mozGetUserMedia(e, r, function (e) {\n o(a(e));\n });\n },\n c = function c(e) {\n return new Promise(function (t, n) {\n s(e, t, n);\n });\n };\n\n if (n.mediaDevices || (n.mediaDevices = {\n getUserMedia: c,\n addEventListener: function addEventListener() {},\n removeEventListener: function removeEventListener() {}\n }), n.mediaDevices.enumerateDevices = n.mediaDevices.enumerateDevices || function () {\n return new Promise(function (e) {\n e([{\n kind: \"audioinput\",\n deviceId: \"default\",\n label: \"\",\n groupId: \"\"\n }, {\n kind: \"videoinput\",\n deviceId: \"default\",\n label: \"\",\n groupId: \"\"\n }]);\n });\n }, t.version < 41) {\n var l = n.mediaDevices.enumerateDevices.bind(n.mediaDevices);\n\n n.mediaDevices.enumerateDevices = function () {\n return l().then(void 0, function (e) {\n if (\"NotFoundError\" === e.name) return [];\n throw e;\n });\n };\n }\n\n if (t.version < 49) {\n var u = n.mediaDevices.getUserMedia.bind(n.mediaDevices);\n\n n.mediaDevices.getUserMedia = function (e) {\n return u(e).then(function (t) {\n if (e.audio && !t.getAudioTracks().length || e.video && !t.getVideoTracks().length) throw t.getTracks().forEach(function (e) {\n e.stop();\n }), new DOMException(\"The object can not be found here.\", \"NotFoundError\");\n return t;\n }, function (e) {\n return Promise.reject(a(e));\n });\n };\n }\n\n if (!(t.version > 55 && \"autoGainControl\" in n.mediaDevices.getSupportedConstraints())) {\n var d = function d(e, t, n) {\n t in e && !(n in e) && (e[n] = e[t], delete e[t]);\n },\n g = n.mediaDevices.getUserMedia.bind(n.mediaDevices);\n\n if (n.mediaDevices.getUserMedia = function (e) {\n return \"object\" == _typeof(e) && \"object\" == _typeof(e.audio) && (e = JSON.parse(JSON.stringify(e)), d(e.audio, \"autoGainControl\", \"mozAutoGainControl\"), d(e.audio, \"noiseSuppression\", \"mozNoiseSuppression\")), g(e);\n }, o && o.prototype.getSettings) {\n var f = o.prototype.getSettings;\n\n o.prototype.getSettings = function () {\n var e = f.apply(this, arguments);\n return d(e, \"mozAutoGainControl\", \"autoGainControl\"), d(e, \"mozNoiseSuppression\", \"noiseSuppression\"), e;\n };\n }\n\n if (o && o.prototype.applyConstraints) {\n var p = o.prototype.applyConstraints;\n\n o.prototype.applyConstraints = function (e) {\n return \"audio\" === this.kind && \"object\" == _typeof(e) && (e = JSON.parse(JSON.stringify(e)), d(e, \"autoGainControl\", \"mozAutoGainControl\"), d(e, \"noiseSuppression\", \"mozNoiseSuppression\")), p.apply(this, [e]);\n };\n }\n }\n\n n.getUserMedia = function (e, i, o) {\n if (t.version < 44) return s(e, i, o);\n r.deprecated(\"navigator.getUserMedia\", \"navigator.mediaDevices.getUserMedia\"), n.mediaDevices.getUserMedia(e).then(i, o);\n };\n };\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(9),\n i = {\n shimLocalStreamsAPI: function shimLocalStreamsAPI(e) {\n if (\"object\" == _typeof(e) && e.RTCPeerConnection) {\n if (\"getLocalStreams\" in e.RTCPeerConnection.prototype || (e.RTCPeerConnection.prototype.getLocalStreams = function () {\n return this._localStreams || (this._localStreams = []), this._localStreams;\n }), \"getStreamById\" in e.RTCPeerConnection.prototype || (e.RTCPeerConnection.prototype.getStreamById = function (e) {\n var t = null;\n return this._localStreams && this._localStreams.forEach(function (n) {\n n.id === e && (t = n);\n }), this._remoteStreams && this._remoteStreams.forEach(function (n) {\n n.id === e && (t = n);\n }), t;\n }), !(\"addStream\" in e.RTCPeerConnection.prototype)) {\n var t = e.RTCPeerConnection.prototype.addTrack;\n e.RTCPeerConnection.prototype.addStream = function (e) {\n this._localStreams || (this._localStreams = []), -1 === this._localStreams.indexOf(e) && this._localStreams.push(e);\n var n = this;\n e.getTracks().forEach(function (r) {\n t.call(n, r, e);\n });\n }, e.RTCPeerConnection.prototype.addTrack = function (e, n) {\n n && (this._localStreams ? -1 === this._localStreams.indexOf(n) && this._localStreams.push(n) : this._localStreams = [n]), t.call(this, e, n);\n };\n }\n\n \"removeStream\" in e.RTCPeerConnection.prototype || (e.RTCPeerConnection.prototype.removeStream = function (e) {\n this._localStreams || (this._localStreams = []);\n\n var t = this._localStreams.indexOf(e);\n\n if (-1 !== t) {\n this._localStreams.splice(t, 1);\n\n var n = this,\n r = e.getTracks();\n this.getSenders().forEach(function (e) {\n -1 !== r.indexOf(e.track) && n.removeTrack(e);\n });\n }\n });\n }\n },\n shimRemoteStreamsAPI: function shimRemoteStreamsAPI(e) {\n \"object\" == _typeof(e) && e.RTCPeerConnection && (\"getRemoteStreams\" in e.RTCPeerConnection.prototype || (e.RTCPeerConnection.prototype.getRemoteStreams = function () {\n return this._remoteStreams ? this._remoteStreams : [];\n }), \"onaddstream\" in e.RTCPeerConnection.prototype || Object.defineProperty(e.RTCPeerConnection.prototype, \"onaddstream\", {\n get: function get() {\n return this._onaddstream;\n },\n set: function set(e) {\n this._onaddstream && (this.removeEventListener(\"addstream\", this._onaddstream), this.removeEventListener(\"track\", this._onaddstreampoly)), this.addEventListener(\"addstream\", this._onaddstream = e), this.addEventListener(\"track\", this._onaddstreampoly = function (e) {\n var t = e.streams[0];\n\n if (this._remoteStreams || (this._remoteStreams = []), !(this._remoteStreams.indexOf(t) >= 0)) {\n this._remoteStreams.push(t);\n\n var n = new Event(\"addstream\");\n n.stream = e.streams[0], this.dispatchEvent(n);\n }\n }.bind(this));\n }\n }));\n },\n shimCallbacksAPI: function shimCallbacksAPI(e) {\n if (\"object\" == _typeof(e) && e.RTCPeerConnection) {\n var t = e.RTCPeerConnection.prototype,\n n = t.createOffer,\n r = t.createAnswer,\n i = t.setLocalDescription,\n o = t.setRemoteDescription,\n a = t.addIceCandidate;\n t.createOffer = function (e, t) {\n var r = arguments.length >= 2 ? arguments[2] : arguments[0],\n i = n.apply(this, [r]);\n return t ? (i.then(e, t), Promise.resolve()) : i;\n }, t.createAnswer = function (e, t) {\n var n = arguments.length >= 2 ? arguments[2] : arguments[0],\n i = r.apply(this, [n]);\n return t ? (i.then(e, t), Promise.resolve()) : i;\n };\n\n var s = function s(e, t, n) {\n var r = i.apply(this, [e]);\n return n ? (r.then(t, n), Promise.resolve()) : r;\n };\n\n t.setLocalDescription = s, s = function s(e, t, n) {\n var r = o.apply(this, [e]);\n return n ? (r.then(t, n), Promise.resolve()) : r;\n }, t.setRemoteDescription = s, s = function s(e, t, n) {\n var r = a.apply(this, [e]);\n return n ? (r.then(t, n), Promise.resolve()) : r;\n }, t.addIceCandidate = s;\n }\n },\n shimGetUserMedia: function shimGetUserMedia(e) {\n var t = e && e.navigator;\n t.getUserMedia || (t.webkitGetUserMedia ? t.getUserMedia = t.webkitGetUserMedia.bind(t) : t.mediaDevices && t.mediaDevices.getUserMedia && (t.getUserMedia = function (e, n, r) {\n t.mediaDevices.getUserMedia(e).then(n, r);\n }.bind(t)));\n },\n shimRTCIceServerUrls: function shimRTCIceServerUrls(e) {\n var t = e.RTCPeerConnection;\n e.RTCPeerConnection = function (e, n) {\n if (e && e.iceServers) {\n for (var i = [], o = 0; o < e.iceServers.length; o++) {\n var a = e.iceServers[o];\n !a.hasOwnProperty(\"urls\") && a.hasOwnProperty(\"url\") ? (r.deprecated(\"RTCIceServer.url\", \"RTCIceServer.urls\"), a = JSON.parse(JSON.stringify(a)), a.urls = a.url, delete a.url, i.push(a)) : i.push(e.iceServers[o]);\n }\n\n e.iceServers = i;\n }\n\n return new t(e, n);\n }, e.RTCPeerConnection.prototype = t.prototype, \"generateCertificate\" in e.RTCPeerConnection && Object.defineProperty(e.RTCPeerConnection, \"generateCertificate\", {\n get: function get() {\n return t.generateCertificate;\n }\n });\n },\n shimTrackEventTransceiver: function shimTrackEventTransceiver(e) {\n \"object\" == _typeof(e) && e.RTCPeerConnection && \"receiver\" in e.RTCTrackEvent.prototype && !e.RTCTransceiver && Object.defineProperty(e.RTCTrackEvent.prototype, \"transceiver\", {\n get: function get() {\n return {\n receiver: this.receiver\n };\n }\n });\n },\n shimCreateOfferLegacy: function shimCreateOfferLegacy(e) {\n var t = e.RTCPeerConnection.prototype.createOffer;\n\n e.RTCPeerConnection.prototype.createOffer = function (e) {\n var n = this;\n\n if (e) {\n var r = n.getTransceivers().find(function (e) {\n return e.sender.track && \"audio\" === e.sender.track.kind;\n });\n !1 === e.offerToReceiveAudio && r ? \"sendrecv\" === r.direction ? r.setDirection(\"sendonly\") : \"recvonly\" === r.direction && r.setDirection(\"inactive\") : !0 !== e.offerToReceiveAudio || r || n.addTransceiver(\"audio\");\n var i = n.getTransceivers().find(function (e) {\n return e.sender.track && \"video\" === e.sender.track.kind;\n });\n !1 === e.offerToReceiveVideo && i ? \"sendrecv\" === i.direction ? i.setDirection(\"sendonly\") : \"recvonly\" === i.direction && i.setDirection(\"inactive\") : !0 !== e.offerToReceiveVideo || i || n.addTransceiver(\"video\");\n }\n\n return t.apply(n, arguments);\n };\n }\n };\n e.exports = {\n shimCallbacksAPI: i.shimCallbacksAPI,\n shimLocalStreamsAPI: i.shimLocalStreamsAPI,\n shimRemoteStreamsAPI: i.shimRemoteStreamsAPI,\n shimGetUserMedia: i.shimGetUserMedia,\n shimRTCIceServerUrls: i.shimRTCIceServerUrls,\n shimTrackEventTransceiver: i.shimTrackEventTransceiver,\n shimCreateOfferLegacy: i.shimCreateOfferLegacy\n };\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t, n) {\n if (e.RTCPeerConnection) {\n var r = e.RTCPeerConnection.prototype,\n i = r.addEventListener;\n\n r.addEventListener = function (e, r) {\n if (e !== t) return i.apply(this, arguments);\n\n var o = function o(e) {\n r(n(e));\n };\n\n return this._eventMap = this._eventMap || {}, this._eventMap[r] = o, i.apply(this, [e, o]);\n };\n\n var o = r.removeEventListener;\n r.removeEventListener = function (e, n) {\n if (e !== t || !this._eventMap || !this._eventMap[n]) return o.apply(this, arguments);\n var r = this._eventMap[n];\n return delete this._eventMap[n], o.apply(this, [e, r]);\n }, Object.defineProperty(r, \"on\" + t, {\n get: function get() {\n return this[\"_on\" + t];\n },\n set: function set(e) {\n this[\"_on\" + t] && (this.removeEventListener(t, this[\"_on\" + t]), delete this[\"_on\" + t]), e && this.addEventListener(t, this[\"_on\" + t] = e);\n }\n });\n }\n }\n\n var i = n(43),\n o = n(9);\n e.exports = {\n shimRTCIceCandidate: function shimRTCIceCandidate(e) {\n if (!(e.RTCIceCandidate && \"foundation\" in e.RTCIceCandidate.prototype)) {\n var t = e.RTCIceCandidate;\n e.RTCIceCandidate = function (e) {\n \"object\" == _typeof(e) && e.candidate && 0 === e.candidate.indexOf(\"a=\") && (e = JSON.parse(JSON.stringify(e)), e.candidate = e.candidate.substr(2));\n var n = new t(e),\n r = i.parseCandidate(e.candidate),\n o = Object.assign(n, r);\n return o.toJSON = function () {\n return {\n candidate: o.candidate,\n sdpMid: o.sdpMid,\n sdpMLineIndex: o.sdpMLineIndex,\n usernameFragment: o.usernameFragment\n };\n }, o;\n }, r(e, \"icecandidate\", function (t) {\n return t.candidate && Object.defineProperty(t, \"candidate\", {\n value: new e.RTCIceCandidate(t.candidate),\n writable: \"false\"\n }), t;\n });\n }\n },\n shimCreateObjectURL: function shimCreateObjectURL(e) {\n var t = e && e.URL;\n\n if (\"object\" == _typeof(e) && e.HTMLMediaElement && \"srcObject\" in e.HTMLMediaElement.prototype && t.createObjectURL && t.revokeObjectURL) {\n var n = t.createObjectURL.bind(t),\n r = t.revokeObjectURL.bind(t),\n i = new Map(),\n a = 0;\n t.createObjectURL = function (e) {\n if (\"getTracks\" in e) {\n var t = \"polyblob:\" + ++a;\n return i.set(t, e), o.deprecated(\"URL.createObjectURL(stream)\", \"elem.srcObject = stream\"), t;\n }\n\n return n(e);\n }, t.revokeObjectURL = function (e) {\n r(e), i.delete(e);\n };\n var s = Object.getOwnPropertyDescriptor(e.HTMLMediaElement.prototype, \"src\");\n Object.defineProperty(e.HTMLMediaElement.prototype, \"src\", {\n get: function get() {\n return s.get.apply(this);\n },\n set: function set(e) {\n return this.srcObject = i.get(e) || null, s.set.apply(this, [e]);\n }\n });\n var c = e.HTMLMediaElement.prototype.setAttribute;\n\n e.HTMLMediaElement.prototype.setAttribute = function () {\n return 2 === arguments.length && \"src\" === (\"\" + arguments[0]).toLowerCase() && (this.srcObject = i.get(arguments[1]) || null), c.apply(this, arguments);\n };\n }\n }\n };\n }]);\n\n if (typeof exports !== 'undefined') {\n exports['default'] = exports.VoxImplant = VoxImplant;\n\n if (typeof module !== 'undefined' && module.exports) {\n exports = module.exports = exports['default'];\n }\n } else {\n root.VoxImplant = VoxImplant;\n }\n}).call(this);","function _get() { if (typeof Reflect !== \"undefined\" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }\n\nfunction _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _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); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } Object.defineProperty(subClass, \"prototype\", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\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 _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n!function (e, t) {\n \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) && \"object\" == (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) ? module.exports = t() : \"function\" == typeof define && define.amd ? define([], t) : \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) ? exports[\"storm-react-diagrams\"] = t() : e[\"storm-react-diagrams\"] = t();\n}(window, function () {\n return function (e) {\n var t = {};\n\n function i(s) {\n if (t[s]) return t[s].exports;\n var n = t[s] = {\n i: s,\n l: !1,\n exports: {}\n };\n return e[s].call(n.exports, n, n.exports, i), n.l = !0, n.exports;\n }\n\n return i.m = e, i.c = t, i.d = function (e, t, s) {\n i.o(e, t) || Object.defineProperty(e, t, {\n enumerable: !0,\n get: s\n });\n }, i.r = function (e) {\n \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {\n value: \"Module\"\n }), Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n }, i.t = function (e, t) {\n if (1 & t && (e = i(e)), 8 & t) return e;\n if (4 & t && \"object\" == _typeof(e) && e && e.__esModule) return e;\n var s = Object.create(null);\n if (i.r(s), Object.defineProperty(s, \"default\", {\n enumerable: !0,\n value: e\n }), 2 & t && \"string\" != typeof e) for (var n in e) {\n i.d(s, n, function (t) {\n return e[t];\n }.bind(null, n));\n }\n return s;\n }, i.n = function (e) {\n var t = e && e.__esModule ? function () {\n return e.default;\n } : function () {\n return e;\n };\n return i.d(t, \"a\", t), t;\n }, i.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, i.p = \"\", i(i.s = 17);\n }([function (e, t) {\n e.exports = require(\"lodash\");\n }, function (e, t) {\n e.exports = require(\"react\");\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(1);\n\n t.BaseWidget = /*#__PURE__*/function (_s$Component) {\n _inherits(_class, _s$Component);\n\n var _super = _createSuper(_class);\n\n function _class(e, t) {\n var _this;\n\n _classCallCheck(this, _class);\n\n _this = _super.call(this, t), _this.className = e;\n return _this;\n }\n\n _createClass(_class, [{\n key: \"bem\",\n value: function bem(e) {\n return (this.props.baseClass || this.className) + e + \" \";\n }\n }, {\n key: \"getClassName\",\n value: function getClassName() {\n return (this.props.baseClass || this.className) + \" \" + (this.props.className ? this.props.className + \" \" : \"\");\n }\n }, {\n key: \"getProps\",\n value: function getProps() {\n return Object.assign({}, this.props.extraProps || {}, {\n className: this.getClassName()\n });\n }\n }]);\n\n return _class;\n }(s.Component);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(38),\n n = i(8),\n r = i(40);\n\n var o = /*#__PURE__*/function () {\n function o() {\n _classCallCheck(this, o);\n }\n\n _createClass(o, null, [{\n key: \"UID\",\n value: function UID() {\n return o.TESTING ? (o.TESTING_UID++, \"\" + o.TESTING_UID) : \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, function (e) {\n var t = 16 * Math.random() | 0;\n return (\"x\" === e ? t : 3 & t | 8).toString(16);\n });\n }\n }, {\n key: \"closest\",\n value: function closest(e, t) {\n return document.body.closest ? e.closest(t) : s(e, t);\n }\n }, {\n key: \"generateLinePath\",\n value: function generateLinePath(e, t) {\n return \"M\".concat(e.x, \",\").concat(e.y, \" L \").concat(t.x, \",\").concat(t.y);\n }\n }, {\n key: \"generateCurvePath\",\n value: function generateCurvePath(e, t) {\n var i = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n var s = Math.abs(e.x - t.x) > Math.abs(e.y - t.y),\n n = s ? \"x\" : \"y\";\n var r = i;\n e[n] > e[n] && (r = -i);\n\n var _o = s ? r : 0,\n a = s ? 0 : r;\n\n return \"M\".concat(e.x, \",\").concat(e.y, \" C \").concat(e.x + _o, \",\").concat(e.y + a, \"\\n \").concat(t.x - _o, \",\").concat(t.y - a, \" \").concat(t.x, \",\").concat(t.y);\n }\n }, {\n key: \"generateDynamicPath\",\n value: function generateDynamicPath(e) {\n var t = r();\n return t = t.moveto(e[0][0] * n.ROUTING_SCALING_FACTOR, e[0][1] * n.ROUTING_SCALING_FACTOR), e.slice(1).forEach(function (e) {\n t = t.lineto(e[0] * n.ROUTING_SCALING_FACTOR, e[1] * n.ROUTING_SCALING_FACTOR);\n }), t.print();\n }\n }]);\n\n return o;\n }();\n\n o.TESTING = !1, o.TESTING_UID = 0, t.Toolkit = o;\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(9),\n n = i(0);\n\n t.BaseModel = /*#__PURE__*/function (_s$BaseEntity) {\n _inherits(_class2, _s$BaseEntity);\n\n var _super2 = _createSuper(_class2);\n\n function _class2(e, t) {\n var _this2;\n\n _classCallCheck(this, _class2);\n\n _this2 = _super2.call(this, t), _this2.type = e, _this2.selected = !1;\n return _this2;\n }\n\n _createClass(_class2, [{\n key: \"getParent\",\n value: function getParent() {\n return this.parent;\n }\n }, {\n key: \"setParent\",\n value: function setParent(e) {\n this.parent = e;\n }\n }, {\n key: \"getSelectedEntities\",\n value: function getSelectedEntities() {\n return this.isSelected() ? [this] : [];\n }\n }, {\n key: \"deSerialize\",\n value: function deSerialize(e, t) {\n _get(_getPrototypeOf(_class2.prototype), \"deSerialize\", this).call(this, e, t), this.type = e.type, this.selected = e.selected;\n }\n }, {\n key: \"serialize\",\n value: function serialize() {\n return n.merge(_get(_getPrototypeOf(_class2.prototype), \"serialize\", this).call(this), {\n type: this.type,\n selected: this.selected\n });\n }\n }, {\n key: \"getType\",\n value: function getType() {\n return this.type;\n }\n }, {\n key: \"getID\",\n value: function getID() {\n return this.id;\n }\n }, {\n key: \"isSelected\",\n value: function isSelected() {\n return this.selected;\n }\n }, {\n key: \"setSelected\",\n value: function setSelected() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !0;\n this.selected = e, this.iterateListeners(function (t, i) {\n t.selectionChanged && t.selectionChanged(Object.assign({}, i, {\n isSelected: e\n }));\n });\n }\n }, {\n key: \"remove\",\n value: function remove() {\n this.iterateListeners(function (e, t) {\n e.entityRemoved && e.entityRemoved(t);\n });\n }\n }]);\n\n return _class2;\n }(s.BaseEntity);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(4),\n n = i(0);\n\n t.PointModel = /*#__PURE__*/function (_s$BaseModel) {\n _inherits(_class3, _s$BaseModel);\n\n var _super3 = _createSuper(_class3);\n\n function _class3(e, t) {\n var _this3;\n\n _classCallCheck(this, _class3);\n\n _this3 = _super3.call(this), _this3.x = t.x, _this3.y = t.y, _this3.parent = e;\n return _this3;\n }\n\n _createClass(_class3, [{\n key: \"getSelectedEntities\",\n value: function getSelectedEntities() {\n return _get(_getPrototypeOf(_class3.prototype), \"isSelected\", this).call(this) && !this.isConnectedToPort() ? [this] : [];\n }\n }, {\n key: \"isConnectedToPort\",\n value: function isConnectedToPort() {\n return null !== this.parent.getPortForPoint(this);\n }\n }, {\n key: \"getLink\",\n value: function getLink() {\n return this.getParent();\n }\n }, {\n key: \"deSerialize\",\n value: function deSerialize(e, t) {\n _get(_getPrototypeOf(_class3.prototype), \"deSerialize\", this).call(this, e, t), this.x = e.x, this.y = e.y;\n }\n }, {\n key: \"serialize\",\n value: function serialize() {\n return n.merge(_get(_getPrototypeOf(_class3.prototype), \"serialize\", this).call(this), {\n x: this.x,\n y: this.y\n });\n }\n }, {\n key: \"remove\",\n value: function remove() {\n this.parent && this.parent.removePoint(this), _get(_getPrototypeOf(_class3.prototype), \"remove\", this).call(this);\n }\n }, {\n key: \"updateLocation\",\n value: function updateLocation(e) {\n this.x = e.x, this.y = e.y;\n }\n }, {\n key: \"getX\",\n value: function getX() {\n return this.x;\n }\n }, {\n key: \"getY\",\n value: function getY() {\n return this.y;\n }\n }, {\n key: \"isLocked\",\n value: function isLocked() {\n return _get(_getPrototypeOf(_class3.prototype), \"isLocked\", this).call(this) || this.getParent().isLocked();\n }\n }]);\n\n return _class3;\n }(s.BaseModel);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(4),\n n = i(0);\n\n t.NodeModel = /*#__PURE__*/function (_s$BaseModel2) {\n _inherits(_class4, _s$BaseModel2);\n\n var _super4 = _createSuper(_class4);\n\n function _class4() {\n var _this4;\n\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"default\";\n var t = arguments.length > 1 ? arguments[1] : undefined;\n\n _classCallCheck(this, _class4);\n\n _this4 = _super4.call(this, e, t), _this4.x = 0, _this4.y = 0, _this4.extras = {}, _this4.ports = {};\n return _this4;\n }\n\n _createClass(_class4, [{\n key: \"setPosition\",\n value: function setPosition(e, t) {\n var i = this.x,\n s = this.y;\n n.forEach(this.ports, function (r) {\n n.forEach(r.getLinks(), function (n) {\n var o = n.getPointForPort(r);\n o.x = o.x + e - i, o.y = o.y + t - s;\n });\n }), this.x = e, this.y = t;\n }\n }, {\n key: \"positionChanged\",\n value: function positionChanged() {\n this.iterateListeners(function (e, t) {\n return e.positionChanged && e.positionChanged(t);\n });\n }\n }, {\n key: \"getSelectedEntities\",\n value: function getSelectedEntities() {\n var e = _get(_getPrototypeOf(_class4.prototype), \"getSelectedEntities\", this).call(this);\n\n return this.isSelected() && n.forEach(this.ports, function (t) {\n e = e.concat(n.map(t.getLinks(), function (e) {\n return e.getPointForPort(t);\n }));\n }), e;\n }\n }, {\n key: \"deSerialize\",\n value: function deSerialize(e, t) {\n var _this5 = this;\n\n _get(_getPrototypeOf(_class4.prototype), \"deSerialize\", this).call(this, e, t), this.x = e.x, this.y = e.y, this.extras = e.extras, n.forEach(e.ports, function (e) {\n var i = t.getPortFactory(e.type).getNewInstance();\n i.deSerialize(e, t), _this5.addPort(i);\n });\n }\n }, {\n key: \"serialize\",\n value: function serialize() {\n return n.merge(_get(_getPrototypeOf(_class4.prototype), \"serialize\", this).call(this), {\n x: this.x,\n y: this.y,\n extras: this.extras,\n ports: n.map(this.ports, function (e) {\n return e.serialize();\n })\n });\n }\n }, {\n key: \"doClone\",\n value: function doClone() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var t = arguments.length > 1 ? arguments[1] : undefined;\n t.ports = {}, n.forEach(this.ports, function (i) {\n t.addPort(i.clone(e));\n });\n }\n }, {\n key: \"remove\",\n value: function remove() {\n _get(_getPrototypeOf(_class4.prototype), \"remove\", this).call(this), n.forEach(this.ports, function (e) {\n n.forEach(e.getLinks(), function (e) {\n e.remove();\n });\n });\n }\n }, {\n key: \"getPortFromID\",\n value: function getPortFromID(e) {\n for (var t in this.ports) {\n if (this.ports[t].id === e) return this.ports[t];\n }\n\n return null;\n }\n }, {\n key: \"getPort\",\n value: function getPort(e) {\n return this.ports[e];\n }\n }, {\n key: \"getPorts\",\n value: function getPorts() {\n return this.ports;\n }\n }, {\n key: \"removePort\",\n value: function removePort(e) {\n this.ports[e.name] && (this.ports[e.name].setParent(null), delete this.ports[e.name]);\n }\n }, {\n key: \"addPort\",\n value: function addPort(e) {\n return e.setParent(this), this.ports[e.name] = e, e;\n }\n }, {\n key: \"updateDimensions\",\n value: function updateDimensions(_ref) {\n var e = _ref.width,\n t = _ref.height;\n this.width = e, this.height = t;\n }\n }]);\n\n return _class4;\n }(s.BaseModel);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n t.AbstractFactory = /*#__PURE__*/function () {\n function _class5(e) {\n _classCallCheck(this, _class5);\n\n this.type = e;\n }\n\n _createClass(_class5, [{\n key: \"getType\",\n value: function getType() {\n return this.type;\n }\n }]);\n\n return _class5;\n }();\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(39);\n t.ROUTING_SCALING_FACTOR = 5;\n var n = new s.JumpPointFinder({\n heuristic: s.Heuristic.manhattan,\n diagonalMovement: s.DiagonalMovement.Never\n });\n\n t.default = /*#__PURE__*/function () {\n function _class6(e) {\n _classCallCheck(this, _class6);\n\n this.instance = n, this.diagramEngine = e;\n }\n\n _createClass(_class6, [{\n key: \"calculateDirectPath\",\n value: function calculateDirectPath(e, i) {\n var r = this.diagramEngine.getCanvasMatrix(),\n o = new s.Grid(r);\n return n.findPath(this.diagramEngine.translateRoutingX(Math.floor(e.x / t.ROUTING_SCALING_FACTOR)), this.diagramEngine.translateRoutingY(Math.floor(e.y / t.ROUTING_SCALING_FACTOR)), this.diagramEngine.translateRoutingX(Math.floor(i.x / t.ROUTING_SCALING_FACTOR)), this.diagramEngine.translateRoutingY(Math.floor(i.y / t.ROUTING_SCALING_FACTOR)), o);\n }\n }, {\n key: \"calculateLinkStartEndCoords\",\n value: function calculateLinkStartEndCoords(e, t) {\n var i = t.findIndex(function (t) {\n return 0 === e[t[1]][t[0]];\n }),\n s = t.length - 1 - t.slice().reverse().findIndex(function (t) {\n return 0 === e[t[1]][t[0]];\n });\n if (-1 === i || -1 === s) return;\n var n = t.slice(0, i),\n r = t.slice(s);\n return {\n start: {\n x: t[i][0],\n y: t[i][1]\n },\n end: {\n x: t[s][0],\n y: t[s][1]\n },\n pathToStart: n,\n pathToEnd: r\n };\n }\n }, {\n key: \"calculateDynamicPath\",\n value: function calculateDynamicPath(e, t, i, r, o) {\n var _this6 = this;\n\n var a = new s.Grid(e),\n l = n.findPath(t.x, t.y, i.x, i.y, a),\n d = r.concat(l, o).map(function (e) {\n return [_this6.diagramEngine.translateRoutingX(e[0], !0), _this6.diagramEngine.translateRoutingY(e[1], !0)];\n });\n return s.Util.compressPath(d);\n }\n }]);\n\n return _class6;\n }();\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(3),\n n = i(0);\n\n t.BaseEntity = /*#__PURE__*/function () {\n function _class7(e) {\n _classCallCheck(this, _class7);\n\n this.listeners = {}, this.id = e || s.Toolkit.UID(), this.locked = !1;\n }\n\n _createClass(_class7, [{\n key: \"getID\",\n value: function getID() {\n return this.id;\n }\n }, {\n key: \"doClone\",\n value: function doClone() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var t = arguments.length > 1 ? arguments[1] : undefined;\n }\n }, {\n key: \"clone\",\n value: function clone() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n if (e[this.id]) return e[this.id];\n var t = n.clone(this);\n return t.id = s.Toolkit.UID(), t.clearListeners(), e[this.id] = t, this.doClone(e, t), t;\n }\n }, {\n key: \"clearListeners\",\n value: function clearListeners() {\n this.listeners = {};\n }\n }, {\n key: \"deSerialize\",\n value: function deSerialize(e, t) {\n this.id = e.id;\n }\n }, {\n key: \"serialize\",\n value: function serialize() {\n return {\n id: this.id\n };\n }\n }, {\n key: \"iterateListeners\",\n value: function iterateListeners(e) {\n var t = {\n id: s.Toolkit.UID(),\n firing: !0,\n entity: this,\n stopPropagation: function stopPropagation() {\n t.firing = !1;\n }\n };\n\n for (var i in this.listeners) {\n if (this.listeners.hasOwnProperty(i)) {\n if (!t.firing) return;\n e(this.listeners[i], t);\n }\n }\n }\n }, {\n key: \"removeListener\",\n value: function removeListener(e) {\n return !!this.listeners[e] && (delete this.listeners[e], !0);\n }\n }, {\n key: \"addListener\",\n value: function addListener(e) {\n var t = s.Toolkit.UID();\n return this.listeners[t] = e, t;\n }\n }, {\n key: \"isLocked\",\n value: function isLocked() {\n return this.locked;\n }\n }, {\n key: \"setLocked\",\n value: function setLocked() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !0;\n this.locked = e, this.iterateListeners(function (t, i) {\n t.lockChanged && t.lockChanged(Object.assign({}, i, {\n locked: e\n }));\n });\n }\n }]);\n\n return _class7;\n }();\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(4),\n n = i(0);\n\n t.PortModel = /*#__PURE__*/function (_s$BaseModel3) {\n _inherits(_class8, _s$BaseModel3);\n\n var _super5 = _createSuper(_class8);\n\n function _class8(e, t, i, s) {\n var _this7;\n\n _classCallCheck(this, _class8);\n\n _this7 = _super5.call(this, t, i), _this7.name = e, _this7.links = {}, _this7.maximumLinks = s;\n return _this7;\n }\n\n _createClass(_class8, [{\n key: \"deSerialize\",\n value: function deSerialize(e, t) {\n _get(_getPrototypeOf(_class8.prototype), \"deSerialize\", this).call(this, e, t), this.name = e.name, this.maximumLinks = e.maximumLinks;\n }\n }, {\n key: \"serialize\",\n value: function serialize() {\n return n.merge(_get(_getPrototypeOf(_class8.prototype), \"serialize\", this).call(this), {\n name: this.name,\n parentNode: this.parent.id,\n links: n.map(this.links, function (e) {\n return e.id;\n }),\n maximumLinks: this.maximumLinks\n });\n }\n }, {\n key: \"doClone\",\n value: function doClone() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var t = arguments.length > 1 ? arguments[1] : undefined;\n t.links = {}, t.parentNode = this.getParent().clone(e);\n }\n }, {\n key: \"getNode\",\n value: function getNode() {\n return this.getParent();\n }\n }, {\n key: \"getName\",\n value: function getName() {\n return this.name;\n }\n }, {\n key: \"getMaximumLinks\",\n value: function getMaximumLinks() {\n return this.maximumLinks;\n }\n }, {\n key: \"setMaximumLinks\",\n value: function setMaximumLinks(e) {\n this.maximumLinks = e;\n }\n }, {\n key: \"removeLink\",\n value: function removeLink(e) {\n delete this.links[e.getID()];\n }\n }, {\n key: \"addLink\",\n value: function addLink(e) {\n this.links[e.getID()] = e;\n }\n }, {\n key: \"getLinks\",\n value: function getLinks() {\n return this.links;\n }\n }, {\n key: \"createLinkModel\",\n value: function createLinkModel() {\n if (n.isFinite(this.maximumLinks)) {\n var e = n.size(this.links);\n if (1 === this.maximumLinks && e >= 1) return n.values(this.links)[0];\n if (e >= this.maximumLinks) return null;\n }\n\n return null;\n }\n }, {\n key: \"updateCoords\",\n value: function updateCoords(_ref2) {\n var e = _ref2.x,\n t = _ref2.y,\n i = _ref2.width,\n s = _ref2.height;\n this.x = e, this.y = t, this.width = i, this.height = s;\n }\n }, {\n key: \"canLinkToPort\",\n value: function canLinkToPort(e) {\n return !0;\n }\n }, {\n key: \"isLocked\",\n value: function isLocked() {\n return _get(_getPrototypeOf(_class8.prototype), \"isLocked\", this).call(this) || this.getParent().isLocked();\n }\n }]);\n\n return _class8;\n }(s.BaseModel);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n t.BaseAction = /*#__PURE__*/function () {\n function _class9(e, t) {\n _classCallCheck(this, _class9);\n\n this.mouseX = e, this.mouseY = t, this.ms = new Date().getTime();\n }\n\n return _createClass(_class9);\n }();\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(4),\n n = i(5),\n r = i(0);\n\n t.LinkModel = /*#__PURE__*/function (_s$BaseModel4) {\n _inherits(_class10, _s$BaseModel4);\n\n var _super6 = _createSuper(_class10);\n\n function _class10() {\n var _this8;\n\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"default\";\n var t = arguments.length > 1 ? arguments[1] : undefined;\n\n _classCallCheck(this, _class10);\n\n _this8 = _super6.call(this, e, t), _this8.points = [new n.PointModel(_assertThisInitialized(_this8), {\n x: 0,\n y: 0\n }), new n.PointModel(_assertThisInitialized(_this8), {\n x: 0,\n y: 0\n })], _this8.extras = {}, _this8.sourcePort = null, _this8.targetPort = null, _this8.labels = [];\n return _this8;\n }\n\n _createClass(_class10, [{\n key: \"deSerialize\",\n value: function deSerialize(e, t) {\n var _this9 = this;\n\n _get(_getPrototypeOf(_class10.prototype), \"deSerialize\", this).call(this, e, t), this.extras = e.extras, this.points = r.map(e.points || [], function (e) {\n var i = new n.PointModel(_this9, {\n x: e.x,\n y: e.y\n });\n return i.deSerialize(e, t), i;\n }), r.forEach(e.labels || [], function (e) {\n var i = t.getLabelFactory(e.type).getNewInstance();\n i.deSerialize(e, t), _this9.addLabel(i);\n }), e.target && this.setTargetPort(this.getParent().getNode(e.target).getPortFromID(e.targetPort)), e.source && this.setSourcePort(this.getParent().getNode(e.source).getPortFromID(e.sourcePort));\n }\n }, {\n key: \"serialize\",\n value: function serialize() {\n return r.merge(_get(_getPrototypeOf(_class10.prototype), \"serialize\", this).call(this), {\n source: this.sourcePort ? this.sourcePort.getParent().id : null,\n sourcePort: this.sourcePort ? this.sourcePort.id : null,\n target: this.targetPort ? this.targetPort.getParent().id : null,\n targetPort: this.targetPort ? this.targetPort.id : null,\n points: r.map(this.points, function (e) {\n return e.serialize();\n }),\n extras: this.extras,\n labels: r.map(this.labels, function (e) {\n return e.serialize();\n })\n });\n }\n }, {\n key: \"doClone\",\n value: function doClone() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var t = arguments.length > 1 ? arguments[1] : undefined;\n t.setPoints(r.map(this.getPoints(), function (t) {\n return t.clone(e);\n })), this.sourcePort && t.setSourcePort(this.sourcePort.clone(e)), this.targetPort && t.setTargetPort(this.targetPort.clone(e));\n }\n }, {\n key: \"remove\",\n value: function remove() {\n this.sourcePort && this.sourcePort.removeLink(this), this.targetPort && this.targetPort.removeLink(this), _get(_getPrototypeOf(_class10.prototype), \"remove\", this).call(this);\n }\n }, {\n key: \"isLastPoint\",\n value: function isLastPoint(e) {\n return this.getPointIndex(e) === this.points.length - 1;\n }\n }, {\n key: \"getPointIndex\",\n value: function getPointIndex(e) {\n return this.points.indexOf(e);\n }\n }, {\n key: \"getPointModel\",\n value: function getPointModel(e) {\n for (var t = 0; t < this.points.length; t++) {\n if (this.points[t].id === e) return this.points[t];\n }\n\n return null;\n }\n }, {\n key: \"getPortForPoint\",\n value: function getPortForPoint(e) {\n return null !== this.sourcePort && this.getFirstPoint().getID() === e.getID() ? this.sourcePort : null !== this.targetPort && this.getLastPoint().getID() === e.getID() ? this.targetPort : null;\n }\n }, {\n key: \"getPointForPort\",\n value: function getPointForPort(e) {\n return null !== this.sourcePort && this.sourcePort.getID() === e.getID() ? this.getFirstPoint() : null !== this.targetPort && this.targetPort.getID() === e.getID() ? this.getLastPoint() : null;\n }\n }, {\n key: \"getFirstPoint\",\n value: function getFirstPoint() {\n return this.points[0];\n }\n }, {\n key: \"getLastPoint\",\n value: function getLastPoint() {\n return this.points[this.points.length - 1];\n }\n }, {\n key: \"setSourcePort\",\n value: function setSourcePort(e) {\n null !== e && e.addLink(this), null !== this.sourcePort && this.sourcePort.removeLink(this), this.sourcePort = e, this.iterateListeners(function (t, i) {\n t.sourcePortChanged && t.sourcePortChanged(Object.assign({}, i, {\n port: e\n }));\n });\n }\n }, {\n key: \"getSourcePort\",\n value: function getSourcePort() {\n return this.sourcePort;\n }\n }, {\n key: \"getTargetPort\",\n value: function getTargetPort() {\n return this.targetPort;\n }\n }, {\n key: \"setTargetPort\",\n value: function setTargetPort(e) {\n null !== e && e.addLink(this), null !== this.targetPort && this.targetPort.removeLink(this), this.targetPort = e, this.iterateListeners(function (t, i) {\n t.targetPortChanged && t.targetPortChanged(Object.assign({}, i, {\n port: e\n }));\n });\n }\n }, {\n key: \"point\",\n value: function point(e, t) {\n return this.addPoint(this.generatePoint(e, t));\n }\n }, {\n key: \"addLabel\",\n value: function addLabel(e) {\n e.setParent(this), this.labels.push(e);\n }\n }, {\n key: \"getPoints\",\n value: function getPoints() {\n return this.points;\n }\n }, {\n key: \"setPoints\",\n value: function setPoints(e) {\n var _this10 = this;\n\n r.forEach(e, function (e) {\n e.setParent(_this10);\n }), this.points = e;\n }\n }, {\n key: \"removePoint\",\n value: function removePoint(e) {\n this.points.splice(this.getPointIndex(e), 1);\n }\n }, {\n key: \"removePointsBefore\",\n value: function removePointsBefore(e) {\n this.points.splice(0, this.getPointIndex(e));\n }\n }, {\n key: \"removePointsAfter\",\n value: function removePointsAfter(e) {\n this.points.splice(this.getPointIndex(e) + 1);\n }\n }, {\n key: \"removeMiddlePoints\",\n value: function removeMiddlePoints() {\n this.points.length > 2 && this.points.splice(0, this.points.length - 2);\n }\n }, {\n key: \"addPoint\",\n value: function addPoint(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n return e.setParent(this), this.points.splice(t, 0, e), e;\n }\n }, {\n key: \"generatePoint\",\n value: function generatePoint() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n return new n.PointModel(this, {\n x: e,\n y: t\n });\n }\n }]);\n\n return _class10;\n }(s.BaseModel);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(0),\n n = i(10),\n r = i(14);\n\n var o = /*#__PURE__*/function (_n$PortModel) {\n _inherits(o, _n$PortModel);\n\n var _super7 = _createSuper(o);\n\n function o(e, t) {\n var _this11;\n\n var i = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n var s = arguments.length > 3 ? arguments[3] : undefined;\n\n _classCallCheck(this, o);\n\n _this11 = _super7.call(this, t, \"default\", s), _this11.in = e, _this11.label = i || t;\n return _this11;\n }\n\n _createClass(o, [{\n key: \"deSerialize\",\n value: function deSerialize(e, t) {\n _get(_getPrototypeOf(o.prototype), \"deSerialize\", this).call(this, e, t), this.in = e.in, this.label = e.label;\n }\n }, {\n key: \"serialize\",\n value: function serialize() {\n return s.merge(_get(_getPrototypeOf(o.prototype), \"serialize\", this).call(this), {\n in: this.in,\n label: this.label\n });\n }\n }, {\n key: \"link\",\n value: function link(e) {\n var t = this.createLinkModel();\n return t.setSourcePort(this), t.setTargetPort(e), t;\n }\n }, {\n key: \"canLinkToPort\",\n value: function canLinkToPort(e) {\n return !(e instanceof o) || this.in !== e.in;\n }\n }, {\n key: \"createLinkModel\",\n value: function createLinkModel() {\n return _get(_getPrototypeOf(o.prototype), \"createLinkModel\", this).call(this) || new r.DefaultLinkModel();\n }\n }]);\n\n return o;\n }(n.PortModel);\n\n t.DefaultPortModel = o;\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(12),\n n = i(0),\n r = i(15),\n o = i(16);\n\n t.DefaultLinkModel = /*#__PURE__*/function (_s$LinkModel) {\n _inherits(_class11, _s$LinkModel);\n\n var _super8 = _createSuper(_class11);\n\n function _class11() {\n var _this12;\n\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"default\";\n\n _classCallCheck(this, _class11);\n\n _this12 = _super8.call(this, e), _this12.color = \"rgba(255,255,255,0.5)\", _this12.width = 3, _this12.curvyness = 50;\n return _this12;\n }\n\n _createClass(_class11, [{\n key: \"serialize\",\n value: function serialize() {\n return n.merge(_get(_getPrototypeOf(_class11.prototype), \"serialize\", this).call(this), {\n width: this.width,\n color: this.color,\n curvyness: this.curvyness\n });\n }\n }, {\n key: \"deSerialize\",\n value: function deSerialize(e, t) {\n _get(_getPrototypeOf(_class11.prototype), \"deSerialize\", this).call(this, e, t), this.color = e.color, this.width = e.width, this.curvyness = e.curvyness;\n }\n }, {\n key: \"addLabel\",\n value: function addLabel(e) {\n if (e instanceof o.LabelModel) return _get(_getPrototypeOf(_class11.prototype), \"addLabel\", this).call(this, e);\n var t = new r.DefaultLabelModel();\n return t.setLabel(e), _get(_getPrototypeOf(_class11.prototype), \"addLabel\", this).call(this, t);\n }\n }, {\n key: \"setWidth\",\n value: function setWidth(e) {\n this.width = e, this.iterateListeners(function (t, i) {\n t.widthChanged && t.widthChanged(Object.assign({}, i, {\n width: e\n }));\n });\n }\n }, {\n key: \"setColor\",\n value: function setColor(e) {\n this.color = e, this.iterateListeners(function (t, i) {\n t.colorChanged && t.colorChanged(Object.assign({}, i, {\n color: e\n }));\n });\n }\n }]);\n\n return _class11;\n }(s.LinkModel);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(16),\n n = i(0);\n\n t.DefaultLabelModel = /*#__PURE__*/function (_s$LabelModel) {\n _inherits(_class12, _s$LabelModel);\n\n var _super9 = _createSuper(_class12);\n\n function _class12() {\n var _this13;\n\n _classCallCheck(this, _class12);\n\n _this13 = _super9.call(this, \"default\"), _this13.offsetY = -23;\n return _this13;\n }\n\n _createClass(_class12, [{\n key: \"setLabel\",\n value: function setLabel(e) {\n this.label = e;\n }\n }, {\n key: \"deSerialize\",\n value: function deSerialize(e, t) {\n _get(_getPrototypeOf(_class12.prototype), \"deSerialize\", this).call(this, e, t), this.label = e.label;\n }\n }, {\n key: \"serialize\",\n value: function serialize() {\n return n.merge(_get(_getPrototypeOf(_class12.prototype), \"serialize\", this).call(this), {\n label: this.label\n });\n }\n }]);\n\n return _class12;\n }(s.LabelModel);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(4),\n n = i(0);\n\n t.LabelModel = /*#__PURE__*/function (_s$BaseModel5) {\n _inherits(_class13, _s$BaseModel5);\n\n var _super10 = _createSuper(_class13);\n\n function _class13(e, t) {\n var _this14;\n\n _classCallCheck(this, _class13);\n\n _this14 = _super10.call(this, e, t), _this14.offsetX = 0, _this14.offsetY = 0;\n return _this14;\n }\n\n _createClass(_class13, [{\n key: \"deSerialize\",\n value: function deSerialize(e, t) {\n _get(_getPrototypeOf(_class13.prototype), \"deSerialize\", this).call(this, e, t), this.offsetX = e.offsetX, this.offsetY = e.offsetY;\n }\n }, {\n key: \"serialize\",\n value: function serialize() {\n return n.merge(_get(_getPrototypeOf(_class13.prototype), \"serialize\", this).call(this), {\n offsetX: this.offsetX,\n offsetY: this.offsetY\n });\n }\n }]);\n\n return _class13;\n }(s.BaseModel);\n }, function (e, t, i) {\n \"use strict\";\n\n function s(e) {\n for (var i in e) {\n t.hasOwnProperty(i) || (t[i] = e[i]);\n }\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), s(i(3)), s(i(9)), s(i(41)), s(i(24)), s(i(13)), s(i(14)), s(i(15)), s(i(42)), s(i(43)), s(i(19)), s(i(21)), s(i(25)), s(i(23)), s(i(27)), s(i(28)), s(i(7)), s(i(22)), s(i(26)), s(i(30)), s(i(20)), s(i(8)), s(i(11)), s(i(31)), s(i(32)), s(i(33)), s(i(4)), s(i(18)), s(i(12)), s(i(6)), s(i(5)), s(i(10)), s(i(16)), s(i(44)), s(i(35)), s(i(37)), s(i(29)), s(i(2)), s(i(34)), s(i(36));\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(9),\n n = i(0),\n r = i(12),\n o = i(6),\n a = i(10),\n l = i(5);\n\n t.DiagramModel = /*#__PURE__*/function (_s$BaseEntity2) {\n _inherits(_class14, _s$BaseEntity2);\n\n var _super11 = _createSuper(_class14);\n\n function _class14() {\n var _this15;\n\n _classCallCheck(this, _class14);\n\n _this15 = _super11.call(this), _this15.links = {}, _this15.nodes = {}, _this15.offsetX = 0, _this15.offsetY = 0, _this15.zoom = 100, _this15.rendered = !1, _this15.gridSize = 0;\n return _this15;\n }\n\n _createClass(_class14, [{\n key: \"setGridSize\",\n value: function setGridSize() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n this.gridSize = e, this.iterateListeners(function (t, i) {\n t.gridUpdated && t.gridUpdated(Object.assign({}, i, {\n size: e\n }));\n });\n }\n }, {\n key: \"getGridPosition\",\n value: function getGridPosition(e) {\n return 0 === this.gridSize ? e : this.gridSize * Math.floor((e + this.gridSize / 2) / this.gridSize);\n }\n }, {\n key: \"deSerializeDiagram\",\n value: function deSerializeDiagram(e, t) {\n var _this16 = this;\n\n this.deSerialize(e, t), this.offsetX = e.offsetX, this.offsetY = e.offsetY, this.zoom = e.zoom, this.gridSize = e.gridSize, n.forEach(e.nodes, function (e) {\n var i = t.getNodeFactory(e.type).getNewInstance(e);\n i.setParent(_this16), i.deSerialize(e, t), _this16.addNode(i);\n }), n.forEach(e.links, function (e) {\n var i = t.getLinkFactory(e.type).getNewInstance();\n i.setParent(_this16), i.deSerialize(e, t), _this16.addLink(i);\n });\n }\n }, {\n key: \"serializeDiagram\",\n value: function serializeDiagram() {\n return n.merge(this.serialize(), {\n offsetX: this.offsetX,\n offsetY: this.offsetY,\n zoom: this.zoom,\n gridSize: this.gridSize,\n links: n.map(this.links, function (e) {\n return e.serialize();\n }),\n nodes: n.map(this.nodes, function (e) {\n return e.serialize();\n })\n });\n }\n }, {\n key: \"clearSelection\",\n value: function clearSelection() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n n.forEach(this.getSelectedItems(), function (t) {\n e && e.getID() === t.getID() || t.setSelected(!1);\n });\n }\n }, {\n key: \"getSelectedItems\",\n value: function getSelectedItems() {\n for (var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++) {\n e[_key] = arguments[_key];\n }\n\n Array.isArray(e) || (e = [e]);\n var t = [];\n return t = (t = (t = t.concat(n.flatMap(this.nodes, function (e) {\n return e.getSelectedEntities();\n }))).concat(n.flatMap(this.links, function (e) {\n return e.getSelectedEntities();\n }))).concat(n.flatMap(this.links, function (e) {\n return n.flatMap(e.points, function (e) {\n return e.getSelectedEntities();\n });\n })), t = n.uniq(t), e.length > 0 && (t = n.filter(n.uniq(t), function (t) {\n return !!(n.includes(e, \"node\") && t instanceof o.NodeModel || n.includes(e, \"link\") && t instanceof r.LinkModel || n.includes(e, \"port\") && t instanceof a.PortModel || n.includes(e, \"point\") && t instanceof l.PointModel);\n })), t;\n }\n }, {\n key: \"setZoomLevel\",\n value: function setZoomLevel(e) {\n this.zoom = e, this.iterateListeners(function (t, i) {\n t.zoomUpdated && t.zoomUpdated(Object.assign({}, i, {\n zoom: e\n }));\n });\n }\n }, {\n key: \"setOffset\",\n value: function setOffset(e, t) {\n this.offsetX = e, this.offsetY = t, this.iterateListeners(function (i, s) {\n i.offsetUpdated && i.offsetUpdated(Object.assign({}, s, {\n offsetX: e,\n offsetY: t\n }));\n });\n }\n }, {\n key: \"setOffsetX\",\n value: function setOffsetX(e) {\n var _this17 = this;\n\n this.offsetX = e, this.iterateListeners(function (t, i) {\n t.offsetUpdated && t.offsetUpdated(Object.assign({}, i, {\n offsetX: e,\n offsetY: _this17.offsetY\n }));\n });\n }\n }, {\n key: \"setOffsetY\",\n value: function setOffsetY(e) {\n var _this18 = this;\n\n this.offsetY = e, this.iterateListeners(function (e, t) {\n e.offsetUpdated && e.offsetUpdated(Object.assign({}, t, {\n offsetX: _this18.offsetX,\n offsetY: _this18.offsetY\n }));\n });\n }\n }, {\n key: \"getOffsetY\",\n value: function getOffsetY() {\n return this.offsetY;\n }\n }, {\n key: \"getOffsetX\",\n value: function getOffsetX() {\n return this.offsetX;\n }\n }, {\n key: \"getZoomLevel\",\n value: function getZoomLevel() {\n return this.zoom;\n }\n }, {\n key: \"getNode\",\n value: function getNode(e) {\n return e instanceof o.NodeModel ? e : this.nodes[e] ? this.nodes[e] : null;\n }\n }, {\n key: \"getLink\",\n value: function getLink(e) {\n return e instanceof r.LinkModel ? e : this.links[e] ? this.links[e] : null;\n }\n }, {\n key: \"addAll\",\n value: function addAll() {\n var _this19 = this;\n\n for (var _len2 = arguments.length, e = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n e[_key2] = arguments[_key2];\n }\n\n return n.forEach(e, function (e) {\n e instanceof r.LinkModel ? _this19.addLink(e) : e instanceof o.NodeModel && _this19.addNode(e);\n }), e;\n }\n }, {\n key: \"addLink\",\n value: function addLink(e) {\n var _this20 = this;\n\n return e.addListener({\n entityRemoved: function entityRemoved() {\n _this20.removeLink(e);\n }\n }), this.links[e.getID()] = e, this.iterateListeners(function (t, i) {\n t.linksUpdated && t.linksUpdated(Object.assign({}, i, {\n link: e,\n isCreated: !0\n }));\n }), e;\n }\n }, {\n key: \"addNode\",\n value: function addNode(e) {\n var _this21 = this;\n\n return e.addListener({\n entityRemoved: function entityRemoved() {\n _this21.removeNode(e);\n }\n }), this.nodes[e.getID()] = e, this.iterateListeners(function (t, i) {\n t.nodesUpdated && t.nodesUpdated(Object.assign({}, i, {\n node: e,\n isCreated: !0\n }));\n }), e;\n }\n }, {\n key: \"removeLink\",\n value: function removeLink(e) {\n e = this.getLink(e), delete this.links[e.getID()], this.iterateListeners(function (t, i) {\n t.linksUpdated && t.linksUpdated(Object.assign({}, i, {\n link: e,\n isCreated: !1\n }));\n });\n }\n }, {\n key: \"removeNode\",\n value: function removeNode(e) {\n e = this.getNode(e), delete this.nodes[e.getID()], this.iterateListeners(function (t, i) {\n t.nodesUpdated && t.nodesUpdated(Object.assign({}, i, {\n node: e,\n isCreated: !1\n }));\n });\n }\n }, {\n key: \"getLinks\",\n value: function getLinks() {\n return this.links;\n }\n }, {\n key: \"getNodes\",\n value: function getNodes() {\n return this.nodes;\n }\n }]);\n\n return _class14;\n }(s.BaseEntity);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(13),\n n = i(20);\n\n t.DefaultPortFactory = /*#__PURE__*/function (_n$AbstractPortFactor) {\n _inherits(_class15, _n$AbstractPortFactor);\n\n var _super12 = _createSuper(_class15);\n\n function _class15() {\n _classCallCheck(this, _class15);\n\n return _super12.call(this, \"default\");\n }\n\n _createClass(_class15, [{\n key: \"getNewInstance\",\n value: function getNewInstance(e) {\n return new s.DefaultPortModel(!0, \"unknown\");\n }\n }]);\n\n return _class15;\n }(n.AbstractPortFactory);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(7);\n\n t.AbstractPortFactory = /*#__PURE__*/function (_s$AbstractFactory) {\n _inherits(_class16, _s$AbstractFactory);\n\n var _super13 = _createSuper(_class16);\n\n function _class16() {\n _classCallCheck(this, _class16);\n\n return _super13.apply(this, arguments);\n }\n\n return _createClass(_class16);\n }(s.AbstractFactory);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(1),\n n = i(22),\n r = i(15),\n o = i(23);\n\n t.DefaultLabelFactory = /*#__PURE__*/function (_n$AbstractLabelFacto) {\n _inherits(_class17, _n$AbstractLabelFacto);\n\n var _super14 = _createSuper(_class17);\n\n function _class17() {\n _classCallCheck(this, _class17);\n\n return _super14.call(this, \"default\");\n }\n\n _createClass(_class17, [{\n key: \"generateReactWidget\",\n value: function generateReactWidget(e, t) {\n return s.createElement(o.DefaultLabelWidget, {\n model: t\n });\n }\n }, {\n key: \"getNewInstance\",\n value: function getNewInstance(e) {\n return new r.DefaultLabelModel();\n }\n }]);\n\n return _class17;\n }(n.AbstractLabelFactory);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(7);\n\n t.AbstractLabelFactory = /*#__PURE__*/function (_s$AbstractFactory2) {\n _inherits(_class18, _s$AbstractFactory2);\n\n var _super15 = _createSuper(_class18);\n\n function _class18() {\n _classCallCheck(this, _class18);\n\n return _super15.apply(this, arguments);\n }\n\n return _createClass(_class18);\n }(s.AbstractFactory);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(1),\n n = i(2);\n\n t.DefaultLabelWidget = /*#__PURE__*/function (_n$BaseWidget) {\n _inherits(_class19, _n$BaseWidget);\n\n var _super16 = _createSuper(_class19);\n\n function _class19(e) {\n _classCallCheck(this, _class19);\n\n return _super16.call(this, \"srd-default-label\", e);\n }\n\n _createClass(_class19, [{\n key: \"render\",\n value: function render() {\n return s.createElement(\"div\", Object.assign({}, this.getProps()), this.props.model.label);\n }\n }]);\n\n return _class19;\n }(n.BaseWidget);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(13),\n n = i(0),\n r = i(6),\n o = i(3);\n\n t.DefaultNodeModel = /*#__PURE__*/function (_r$NodeModel) {\n _inherits(_class20, _r$NodeModel);\n\n var _super17 = _createSuper(_class20);\n\n function _class20() {\n var _this22;\n\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"Untitled\";\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"rgb(0,192,255)\";\n\n _classCallCheck(this, _class20);\n\n _this22 = _super17.call(this, \"default\"), _this22.name = e, _this22.color = t;\n return _this22;\n }\n\n _createClass(_class20, [{\n key: \"addInPort\",\n value: function addInPort(e) {\n return this.addPort(new s.DefaultPortModel(!0, o.Toolkit.UID(), e));\n }\n }, {\n key: \"addOutPort\",\n value: function addOutPort(e) {\n return this.addPort(new s.DefaultPortModel(!1, o.Toolkit.UID(), e));\n }\n }, {\n key: \"deSerialize\",\n value: function deSerialize(e, t) {\n _get(_getPrototypeOf(_class20.prototype), \"deSerialize\", this).call(this, e, t), this.name = e.name, this.color = e.color;\n }\n }, {\n key: \"serialize\",\n value: function serialize() {\n return n.merge(_get(_getPrototypeOf(_class20.prototype), \"serialize\", this).call(this), {\n name: this.name,\n color: this.color\n });\n }\n }, {\n key: \"getInPorts\",\n value: function getInPorts() {\n return n.filter(this.ports, function (e) {\n return e.in;\n });\n }\n }, {\n key: \"getOutPorts\",\n value: function getOutPorts() {\n return n.filter(this.ports, function (e) {\n return !e.in;\n });\n }\n }]);\n\n return _class20;\n }(r.NodeModel);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(1),\n n = i(5),\n r = i(3),\n o = i(8),\n a = i(0),\n l = i(2);\n\n var d = /*#__PURE__*/function (_l$BaseWidget) {\n _inherits(d, _l$BaseWidget);\n\n var _super18 = _createSuper(d);\n\n function d(e) {\n var _this23;\n\n _classCallCheck(this, d);\n\n _this23 = _super18.call(this, \"srd-default-link\", e), _this23.addPointToLink = function (e, t) {\n if (!e.shiftKey && !_this23.props.diagramEngine.isModelLocked(_this23.props.link) && _this23.props.link.points.length - 1 <= _this23.props.diagramEngine.getMaxNumberPointsPerLink()) {\n var _i = new n.PointModel(_this23.props.link, _this23.props.diagramEngine.getRelativeMousePoint(e));\n\n _i.setSelected(!0), _this23.forceUpdate(), _this23.props.link.addPoint(_i, t), _this23.props.pointAdded(_i, e);\n }\n }, _this23.findPathAndRelativePositionToRenderLabel = function (e) {\n var t = _this23.refPaths.map(function (e) {\n return e.getTotalLength();\n });\n\n var i = t.reduce(function (e, t) {\n return e + t;\n }, 0) * (e / (_this23.props.link.labels.length + 1)),\n s = 0;\n\n for (; s < _this23.refPaths.length;) {\n if (i - t[s] < 0) return {\n path: _this23.refPaths[s],\n position: i\n };\n i -= t[s], s++;\n }\n }, _this23.calculateLabelPosition = function (e, t) {\n if (!_this23.refLabels[e.id]) return;\n\n var _this23$findPathAndRe = _this23.findPathAndRelativePositionToRenderLabel(t),\n i = _this23$findPathAndRe.path,\n s = _this23$findPathAndRe.position,\n n = _this23.refLabels[e.id].offsetWidth,\n r = _this23.refLabels[e.id].offsetHeight,\n o = i.getPointAtLength(s),\n a = o.x - n / 2 + e.offsetX,\n l = o.y - r / 2 + e.offsetY;\n\n _this23.refLabels[e.id].setAttribute(\"style\", \"transform: translate(\".concat(a, \"px, \").concat(l, \"px);\"));\n }, _this23.refLabels = {}, _this23.refPaths = [], _this23.state = {\n selected: !1\n }, e.diagramEngine.isSmartRoutingEnabled() && (_this23.pathFinding = new o.default(_this23.props.diagramEngine));\n return _this23;\n }\n\n _createClass(d, [{\n key: \"calculateAllLabelPosition\",\n value: function calculateAllLabelPosition() {\n var _this24 = this;\n\n a.forEach(this.props.link.labels, function (e, t) {\n _this24.calculateLabelPosition(e, t + 1);\n });\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this.props.link.labels.length > 0 && window.requestAnimationFrame(this.calculateAllLabelPosition.bind(this));\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.props.link.labels.length > 0 && window.requestAnimationFrame(this.calculateAllLabelPosition.bind(this));\n }\n }, {\n key: \"generatePoint\",\n value: function generatePoint(e) {\n var _this25 = this;\n\n var t = this.props.link.points[e].x,\n i = this.props.link.points[e].y;\n return s.createElement(\"g\", {\n key: \"point-\" + this.props.link.points[e].id\n }, s.createElement(\"circle\", {\n cx: t,\n cy: i,\n r: 5,\n className: \"point \" + this.bem(\"__point\") + (this.props.link.points[e].isSelected() ? this.bem(\"--point-selected\") : \"\")\n }), s.createElement(\"circle\", {\n onMouseLeave: function onMouseLeave() {\n _this25.setState({\n selected: !1\n });\n },\n onMouseEnter: function onMouseEnter() {\n _this25.setState({\n selected: !0\n });\n },\n \"data-id\": this.props.link.points[e].id,\n \"data-linkid\": this.props.link.id,\n cx: t,\n cy: i,\n r: 15,\n opacity: 0,\n className: \"point \" + this.bem(\"__point\")\n }));\n }\n }, {\n key: \"generateLabel\",\n value: function generateLabel(e) {\n var _this26 = this;\n\n var t = this.props.diagramEngine.canvas;\n return s.createElement(\"foreignObject\", {\n key: e.id,\n className: this.bem(\"__label\"),\n width: t.offsetWidth,\n height: t.offsetHeight\n }, s.createElement(\"div\", {\n ref: function ref(t) {\n return _this26.refLabels[e.id] = t;\n }\n }, this.props.diagramEngine.getFactoryForLabel(e).generateReactWidget(this.props.diagramEngine, e)));\n }\n }, {\n key: \"generateLink\",\n value: function generateLink(e, t, i) {\n var _this27 = this;\n\n var n = this.props,\n r = s.cloneElement(n.diagramEngine.getFactoryForLink(this.props.link).generateLinkSegment(this.props.link, this, this.state.selected || this.props.link.isSelected(), e), {\n ref: function ref(e) {\n return e && _this27.refPaths.push(e);\n }\n }),\n o = s.cloneElement(r, Object.assign({}, t, {\n strokeLinecap: \"round\",\n onMouseLeave: function onMouseLeave() {\n _this27.setState({\n selected: !1\n });\n },\n onMouseEnter: function onMouseEnter() {\n _this27.setState({\n selected: !0\n });\n },\n ref: null,\n \"data-linkid\": this.props.link.getID(),\n strokeOpacity: this.state.selected ? .1 : 0,\n strokeWidth: 20,\n onContextMenu: function onContextMenu() {\n _this27.props.diagramEngine.isModelLocked(_this27.props.link) || (event.preventDefault(), _this27.props.link.remove());\n }\n }));\n return s.createElement(\"g\", {\n key: \"link-\" + i\n }, r, o);\n }\n }, {\n key: \"isSmartRoutingApplicable\",\n value: function isSmartRoutingApplicable() {\n var _this$props = this.props,\n e = _this$props.diagramEngine,\n t = _this$props.link;\n return !!e.isSmartRoutingEnabled() && 2 === t.points.length && null !== t.sourcePort && null !== t.targetPort;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this28 = this;\n\n var e = this.props.diagramEngine;\n if (!e.nodesRendered) return null;\n var t = this.props.link.points,\n i = [];\n\n if (this.isSmartRoutingApplicable()) {\n var _s = this.pathFinding.calculateDirectPath(a.first(t), a.last(t)),\n _n = e.getRoutingMatrix(),\n _o2 = this.pathFinding.calculateLinkStartEndCoords(_n, _s);\n\n if (_o2) {\n var _e = _o2.start,\n _t = _o2.end,\n _s2 = _o2.pathToStart,\n _a = _o2.pathToEnd,\n _l = this.pathFinding.calculateDynamicPath(_n, _e, _t, _s2, _a);\n\n i.push(this.generateLink(r.Toolkit.generateDynamicPath(_l), {\n onMouseDown: function onMouseDown(e) {\n _this28.addPointToLink(e, 1);\n }\n }, \"0\"));\n }\n }\n\n if (0 === i.length) if (2 === t.length) {\n var n = Math.abs(t[0].x - t[1].x) > Math.abs(t[0].y - t[1].y) ? \"x\" : \"y\";\n Math.abs(t[0][n] - t[1][n]) < 50 && 5;\n var o = t[0],\n l = t[1];\n i.push(this.generateLink(r.Toolkit.generateCurvePath(o, l, this.props.link.curvyness), {\n onMouseDown: function onMouseDown(e) {\n _this28.addPointToLink(e, 1);\n }\n }, \"0\")), null === this.props.link.targetPort && i.push(this.generatePoint(1));\n } else {\n var _loop = function _loop(_e2) {\n i.push(_this28.generateLink(r.Toolkit.generateLinePath(t[_e2], t[_e2 + 1]), {\n \"data-linkid\": _this28.props.link.id,\n \"data-point\": _e2,\n onMouseDown: function onMouseDown(t) {\n _this28.addPointToLink(t, _e2 + 1);\n }\n }, _e2));\n };\n\n for (var _e2 = 0; _e2 < t.length - 1; _e2++) {\n _loop(_e2);\n }\n\n for (var _d = 1; _d < t.length - 1; _d++) {\n i.push(this.generatePoint(_d));\n }\n\n null === this.props.link.targetPort && i.push(this.generatePoint(t.length - 1));\n }\n return this.refPaths = [], s.createElement(\"g\", Object.assign({}, this.getProps()), i, a.map(this.props.link.labels, function (e) {\n return _this28.generateLabel(e);\n }));\n }\n }]);\n\n return d;\n }(l.BaseWidget);\n\n d.defaultProps = {\n color: \"black\",\n width: 3,\n link: null,\n engine: null,\n smooth: !1,\n diagramEngine: null\n }, t.DefaultLinkWidget = d;\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(7);\n\n t.AbstractLinkFactory = /*#__PURE__*/function (_s$AbstractFactory3) {\n _inherits(_class21, _s$AbstractFactory3);\n\n var _super19 = _createSuper(_class21);\n\n function _class21() {\n _classCallCheck(this, _class21);\n\n return _super19.apply(this, arguments);\n }\n\n return _createClass(_class21);\n }(s.AbstractFactory);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(1),\n n = i(0),\n r = i(28),\n o = i(2);\n\n t.DefaultNodeWidget = /*#__PURE__*/function (_o$BaseWidget) {\n _inherits(_class22, _o$BaseWidget);\n\n var _super20 = _createSuper(_class22);\n\n function _class22(e) {\n var _this29;\n\n _classCallCheck(this, _class22);\n\n _this29 = _super20.call(this, \"srd-default-node\", e), _this29.state = {};\n return _this29;\n }\n\n _createClass(_class22, [{\n key: \"generatePort\",\n value: function generatePort(e) {\n return s.createElement(r.DefaultPortLabel, {\n model: e,\n key: e.id\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n return s.createElement(\"div\", Object.assign({}, this.getProps(), {\n style: {\n background: this.props.node.color\n }\n }), s.createElement(\"div\", {\n className: this.bem(\"__title\")\n }, s.createElement(\"div\", {\n className: this.bem(\"__name\")\n }, this.props.node.name)), s.createElement(\"div\", {\n className: this.bem(\"__ports\")\n }, s.createElement(\"div\", {\n className: this.bem(\"__in\")\n }, n.map(this.props.node.getInPorts(), this.generatePort.bind(this))), s.createElement(\"div\", {\n className: this.bem(\"__out\")\n }, n.map(this.props.node.getOutPorts(), this.generatePort.bind(this)))));\n }\n }]);\n\n return _class22;\n }(o.BaseWidget);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(1),\n n = i(29),\n r = i(2);\n\n t.DefaultPortLabel = /*#__PURE__*/function (_r$BaseWidget) {\n _inherits(_class23, _r$BaseWidget);\n\n var _super21 = _createSuper(_class23);\n\n function _class23(e) {\n _classCallCheck(this, _class23);\n\n return _super21.call(this, \"srd-default-port\", e);\n }\n\n _createClass(_class23, [{\n key: \"getClassName\",\n value: function getClassName() {\n return _get(_getPrototypeOf(_class23.prototype), \"getClassName\", this).call(this) + (this.props.model.in ? this.bem(\"--in\") : this.bem(\"--out\"));\n }\n }, {\n key: \"render\",\n value: function render() {\n var e = s.createElement(n.PortWidget, {\n node: this.props.model.getParent(),\n name: this.props.model.name\n }),\n t = s.createElement(\"div\", {\n className: \"name\"\n }, this.props.model.label);\n return s.createElement(\"div\", Object.assign({}, this.getProps()), this.props.model.in ? e : t, this.props.model.in ? t : e);\n }\n }]);\n\n return _class23;\n }(r.BaseWidget);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(1),\n n = i(2);\n\n t.PortWidget = /*#__PURE__*/function (_n$BaseWidget2) {\n _inherits(_class24, _n$BaseWidget2);\n\n var _super22 = _createSuper(_class24);\n\n function _class24(e) {\n var _this30;\n\n _classCallCheck(this, _class24);\n\n _this30 = _super22.call(this, \"srd-port\", e), _this30.state = {\n selected: !1\n };\n return _this30;\n }\n\n _createClass(_class24, [{\n key: \"getClassName\",\n value: function getClassName() {\n return \"port \" + _get(_getPrototypeOf(_class24.prototype), \"getClassName\", this).call(this) + (this.state.selected ? this.bem(\"--selected\") : \"\");\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this31 = this;\n\n return s.createElement(\"div\", Object.assign({}, this.getProps(), {\n onMouseEnter: function onMouseEnter() {\n _this31.setState({\n selected: !0\n });\n },\n onMouseLeave: function onMouseLeave() {\n _this31.setState({\n selected: !1\n });\n },\n \"data-name\": this.props.name,\n \"data-nodeid\": this.props.node.getID()\n }));\n }\n }]);\n\n return _class24;\n }(n.BaseWidget);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(7);\n\n t.AbstractNodeFactory = /*#__PURE__*/function (_s$AbstractFactory4) {\n _inherits(_class25, _s$AbstractFactory4);\n\n var _super23 = _createSuper(_class25);\n\n function _class25() {\n _classCallCheck(this, _class25);\n\n return _super23.apply(this, arguments);\n }\n\n return _createClass(_class25);\n }(s.AbstractFactory);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(11);\n\n t.MoveCanvasAction = /*#__PURE__*/function (_s$BaseAction) {\n _inherits(_class26, _s$BaseAction);\n\n var _super24 = _createSuper(_class26);\n\n function _class26(e, t, i) {\n var _this32;\n\n _classCallCheck(this, _class26);\n\n _this32 = _super24.call(this, e, t), _this32.initialOffsetX = i.getOffsetX(), _this32.initialOffsetY = i.getOffsetY();\n return _this32;\n }\n\n return _createClass(_class26);\n }(s.BaseAction);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(11);\n\n t.MoveItemsAction = /*#__PURE__*/function (_s$BaseAction2) {\n _inherits(_class27, _s$BaseAction2);\n\n var _super25 = _createSuper(_class27);\n\n function _class27(e, t, i) {\n var _this33;\n\n _classCallCheck(this, _class27);\n\n _this33 = _super25.call(this, e, t), _this33.moved = !1, i.enableRepaintEntities(i.getDiagramModel().getSelectedItems());\n var s = i.getDiagramModel().getSelectedItems();\n s = s.filter(function (e) {\n return !i.isModelLocked(e);\n }), _this33.selectionModels = s.map(function (e) {\n return {\n model: e,\n initialX: e.x,\n initialY: e.y\n };\n });\n return _this33;\n }\n\n return _createClass(_class27);\n }(s.BaseAction);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(11);\n\n t.SelectingAction = /*#__PURE__*/function (_s$BaseAction3) {\n _inherits(_class28, _s$BaseAction3);\n\n var _super26 = _createSuper(_class28);\n\n function _class28(e, t) {\n var _this34;\n\n _classCallCheck(this, _class28);\n\n _this34 = _super26.call(this, e, t), _this34.mouseX2 = e, _this34.mouseY2 = t;\n return _this34;\n }\n\n _createClass(_class28, [{\n key: \"getBoxDimensions\",\n value: function getBoxDimensions() {\n return {\n left: this.mouseX2 > this.mouseX ? this.mouseX : this.mouseX2,\n top: this.mouseY2 > this.mouseY ? this.mouseY : this.mouseY2,\n width: Math.abs(this.mouseX2 - this.mouseX),\n height: Math.abs(this.mouseY2 - this.mouseY),\n right: this.mouseX2 < this.mouseX ? this.mouseX : this.mouseX2,\n bottom: this.mouseY2 < this.mouseY ? this.mouseY : this.mouseY2\n };\n }\n }, {\n key: \"containsElement\",\n value: function containsElement(e, t, i) {\n var s = i.getZoomLevel() / 100;\n var n = this.getBoxDimensions();\n return e * s + i.getOffsetX() > n.left && e * s + i.getOffsetX() < n.right && t * s + i.getOffsetY() > n.top && t * s + i.getOffsetY() < n.bottom;\n }\n }]);\n\n return _class28;\n }(s.BaseAction);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(1),\n n = i(35),\n r = i(0),\n o = i(2);\n\n t.LinkLayerWidget = /*#__PURE__*/function (_o$BaseWidget2) {\n _inherits(_class29, _o$BaseWidget2);\n\n var _super27 = _createSuper(_class29);\n\n function _class29(e) {\n var _this35;\n\n _classCallCheck(this, _class29);\n\n _this35 = _super27.call(this, \"srd-link-layer\", e), _this35.state = {};\n return _this35;\n }\n\n _createClass(_class29, [{\n key: \"render\",\n value: function render() {\n var _this36 = this;\n\n var e = this.props.diagramEngine.getDiagramModel();\n return s.createElement(\"svg\", Object.assign({}, this.getProps(), {\n style: {\n transform: \"translate(\" + e.getOffsetX() + \"px,\" + e.getOffsetY() + \"px) scale(\" + e.getZoomLevel() / 100 + \")\"\n }\n }), this.props.diagramEngine.canvas && r.map(e.getLinks(), function (e) {\n if (_this36.props.diagramEngine.nodesRendered && !_this36.props.diagramEngine.linksThatHaveInitiallyRendered[e.id]) {\n if (null !== e.sourcePort) try {\n var _t2 = _this36.props.diagramEngine.getPortCenter(e.sourcePort);\n\n e.points[0].updateLocation(_t2);\n\n var _i2 = _this36.props.diagramEngine.getPortCoords(e.sourcePort);\n\n e.sourcePort.updateCoords(_i2), _this36.props.diagramEngine.linksThatHaveInitiallyRendered[e.id] = !0;\n } catch (e) {}\n if (null !== e.targetPort) try {\n var _t3 = _this36.props.diagramEngine.getPortCenter(e.targetPort);\n\n r.last(e.points).updateLocation(_t3);\n\n var _i3 = _this36.props.diagramEngine.getPortCoords(e.targetPort);\n\n e.targetPort.updateCoords(_i3), _this36.props.diagramEngine.linksThatHaveInitiallyRendered[e.id] = !0;\n } catch (e) {}\n }\n\n var t = _this36.props.diagramEngine.generateWidgetForLink(e);\n\n if (!t) throw new Error(\"no link generated for type: \".concat(e.getType()));\n return s.createElement(n.LinkWidget, {\n key: e.getID(),\n link: e,\n diagramEngine: _this36.props.diagramEngine\n }, s.cloneElement(t, {\n pointAdded: _this36.props.pointAdded\n }));\n }));\n }\n }]);\n\n return _class29;\n }(o.BaseWidget);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(2);\n\n t.LinkWidget = /*#__PURE__*/function (_s$BaseWidget) {\n _inherits(_class30, _s$BaseWidget);\n\n var _super28 = _createSuper(_class30);\n\n function _class30(e) {\n var _this37;\n\n _classCallCheck(this, _class30);\n\n _this37 = _super28.call(this, \"srd-link\", e), _this37.state = {};\n return _this37;\n }\n\n _createClass(_class30, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate() {\n return this.props.diagramEngine.canEntityRepaint(this.props.link);\n }\n }, {\n key: \"render\",\n value: function render() {\n return this.props.children;\n }\n }]);\n\n return _class30;\n }(s.BaseWidget);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(1),\n n = i(0),\n r = i(37),\n o = i(2);\n\n t.NodeLayerWidget = /*#__PURE__*/function (_o$BaseWidget3) {\n _inherits(_class31, _o$BaseWidget3);\n\n var _super29 = _createSuper(_class31);\n\n function _class31(e) {\n var _this38;\n\n _classCallCheck(this, _class31);\n\n _this38 = _super29.call(this, \"srd-node-layer\", e), _this38.updateNodeDimensions = function () {\n if (!_this38.props.diagramEngine.nodesRendered) {\n var _e3 = _this38.props.diagramEngine.getDiagramModel();\n\n n.map(_e3.getNodes(), function (e) {\n e.updateDimensions(_this38.props.diagramEngine.getNodeDimensions(e));\n });\n }\n }, _this38.state = {};\n return _this38;\n }\n\n _createClass(_class31, [{\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this.updateNodeDimensions(), this.props.diagramEngine.nodesRendered = !0;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this39 = this;\n\n var e = this.props.diagramEngine.getDiagramModel();\n return s.createElement(\"div\", Object.assign({}, this.getProps(), {\n style: {\n transform: \"translate(\" + e.getOffsetX() + \"px,\" + e.getOffsetY() + \"px) scale(\" + e.getZoomLevel() / 100 + \")\"\n }\n }), n.map(e.getNodes(), function (e) {\n return s.createElement(r.NodeWidget, {\n diagramEngine: _this39.props.diagramEngine,\n key: e.id,\n node: e\n }, _this39.props.diagramEngine.generateWidgetForNode(e));\n }));\n }\n }]);\n\n return _class31;\n }(o.BaseWidget);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(1),\n n = i(2);\n\n t.NodeWidget = /*#__PURE__*/function (_n$BaseWidget3) {\n _inherits(_class32, _n$BaseWidget3);\n\n var _super30 = _createSuper(_class32);\n\n function _class32(e) {\n var _this40;\n\n _classCallCheck(this, _class32);\n\n _this40 = _super30.call(this, \"srd-node\", e), _this40.state = {};\n return _this40;\n }\n\n _createClass(_class32, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate() {\n return this.props.diagramEngine.canEntityRepaint(this.props.node);\n }\n }, {\n key: \"getClassName\",\n value: function getClassName() {\n return \"node \" + _get(_getPrototypeOf(_class32.prototype), \"getClassName\", this).call(this) + (this.props.node.isSelected() ? this.bem(\"--selected\") : \"\");\n }\n }, {\n key: \"render\",\n value: function render() {\n return s.createElement(\"div\", Object.assign({}, this.getProps(), {\n \"data-nodeid\": this.props.node.id,\n style: {\n top: this.props.node.y,\n left: this.props.node.x\n }\n }), this.props.children);\n }\n }]);\n\n return _class32;\n }(n.BaseWidget);\n }, function (e, t) {\n e.exports = require(\"closest\");\n }, function (e, t) {\n e.exports = require(\"pathfinding\");\n }, function (e, t) {\n e.exports = require(\"paths-js/path\");\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(9),\n n = i(18),\n r = i(0),\n o = i(6),\n a = i(5),\n l = i(17),\n d = i(8),\n c = i(19),\n h = i(21),\n u = i(3);\n\n t.DiagramEngine = /*#__PURE__*/function (_s$BaseEntity3) {\n _inherits(_class33, _s$BaseEntity3);\n\n var _super31 = _createSuper(_class33);\n\n function _class33() {\n var _this41;\n\n _classCallCheck(this, _class33);\n\n _this41 = _super31.call(this), _this41.canvasMatrix = [], _this41.routingMatrix = [], _this41.hAdjustmentFactor = 0, _this41.vAdjustmentFactor = 0, _this41.calculateMatrixDimensions = function () {\n var e = r.values(_this41.diagramModel.nodes).map(function (e) {\n return {\n x: e.x,\n width: e.width,\n y: e.y,\n height: e.height\n };\n }),\n t = r.values(_this41.diagramModel.links),\n i = r.flatMap(t.map(function (e) {\n return [e.sourcePort, e.targetPort];\n })).filter(function (e) {\n return null !== e;\n }).map(function (e) {\n return {\n x: e.x,\n width: e.width,\n y: e.y,\n height: e.height\n };\n }),\n s = r.flatMap(t.map(function (e) {\n return e.points;\n })).map(function (e) {\n return {\n x: e.x,\n width: 0,\n y: e.y,\n height: 0\n };\n }),\n n = _this41.canvas,\n o = Math.floor(Math.min(r.minBy(r.concat(e, i, s), function (e) {\n return e.x;\n }).x, 0) / d.ROUTING_SCALING_FACTOR) * d.ROUTING_SCALING_FACTOR,\n a = r.maxBy(r.concat(e, i, s), function (e) {\n return e.x + e.width;\n }),\n l = Math.max(a.x + a.width, n.offsetWidth),\n c = Math.floor(Math.min(r.minBy(r.concat(e, i, s), function (e) {\n return e.y;\n }).y, 0) / d.ROUTING_SCALING_FACTOR) * d.ROUTING_SCALING_FACTOR,\n h = r.maxBy(r.concat(e, i, s), function (e) {\n return e.y + e.height;\n }),\n u = Math.max(h.y + h.height, n.offsetHeight);\n return {\n width: Math.ceil(Math.abs(o) + l),\n hAdjustmentFactor: Math.abs(o) / d.ROUTING_SCALING_FACTOR + 1,\n height: Math.ceil(Math.abs(c) + u),\n vAdjustmentFactor: Math.abs(c) / d.ROUTING_SCALING_FACTOR + 1\n };\n }, _this41.markNodes = function (e) {\n r.values(_this41.diagramModel.nodes).forEach(function (t) {\n var i = Math.floor(t.x / d.ROUTING_SCALING_FACTOR),\n s = Math.ceil((t.x + t.width) / d.ROUTING_SCALING_FACTOR),\n n = Math.floor(t.y / d.ROUTING_SCALING_FACTOR),\n r = Math.ceil((t.y + t.height) / d.ROUTING_SCALING_FACTOR);\n\n for (var _t4 = i - 1; _t4 <= s + 1; _t4++) {\n for (var _i4 = n - 1; _i4 < r + 1; _i4++) {\n _this41.markMatrixPoint(e, _this41.translateRoutingX(_t4), _this41.translateRoutingY(_i4));\n }\n }\n });\n }, _this41.markPorts = function (e) {\n r.flatMap(r.values(_this41.diagramModel.links).map(function (e) {\n return [].concat(e.sourcePort, e.targetPort);\n })).filter(function (e) {\n return null !== e;\n }).forEach(function (t) {\n var i = Math.floor(t.x / d.ROUTING_SCALING_FACTOR),\n s = Math.ceil((t.x + t.width) / d.ROUTING_SCALING_FACTOR),\n n = Math.floor(t.y / d.ROUTING_SCALING_FACTOR),\n r = Math.ceil((t.y + t.height) / d.ROUTING_SCALING_FACTOR);\n\n for (var _t5 = i - 1; _t5 <= s + 1; _t5++) {\n for (var _i5 = n - 1; _i5 < r + 1; _i5++) {\n _this41.markMatrixPoint(e, _this41.translateRoutingX(_t5), _this41.translateRoutingY(_i5));\n }\n }\n });\n }, _this41.markMatrixPoint = function (e, t, i) {\n void 0 !== e[i] && void 0 !== e[i][t] && (e[i][t] = 1);\n }, _this41.diagramModel = new n.DiagramModel(), _this41.nodeFactories = {}, _this41.linkFactories = {}, _this41.portFactories = {}, _this41.labelFactories = {}, _this41.canvas = null, _this41.paintableWidgets = null, _this41.linksThatHaveInitiallyRendered = {}, u.Toolkit.TESTING && (u.Toolkit.TESTING_UID = 0, window && (window.diagram_instance = _assertThisInitialized(_this41)));\n return _this41;\n }\n\n _createClass(_class33, [{\n key: \"installDefaultFactories\",\n value: function installDefaultFactories() {\n this.registerNodeFactory(new l.DefaultNodeFactory()), this.registerLinkFactory(new l.DefaultLinkFactory()), this.registerPortFactory(new c.DefaultPortFactory()), this.registerLabelFactory(new h.DefaultLabelFactory());\n }\n }, {\n key: \"repaintCanvas\",\n value: function repaintCanvas() {\n this.iterateListeners(function (e) {\n e.repaintCanvas && e.repaintCanvas();\n });\n }\n }, {\n key: \"clearRepaintEntities\",\n value: function clearRepaintEntities() {\n this.paintableWidgets = null;\n }\n }, {\n key: \"enableRepaintEntities\",\n value: function enableRepaintEntities(e) {\n var _this42 = this;\n\n this.paintableWidgets = {}, e.forEach(function (e) {\n e instanceof o.NodeModel && r.forEach(e.getPorts(), function (e) {\n r.forEach(e.getLinks(), function (e) {\n _this42.paintableWidgets[e.getID()] = !0;\n });\n }), e instanceof a.PointModel && (_this42.paintableWidgets[e.getLink().getID()] = !0), _this42.paintableWidgets[e.getID()] = !0;\n });\n }\n }, {\n key: \"isModelLocked\",\n value: function isModelLocked(e) {\n return !!this.diagramModel.isLocked() || e.isLocked();\n }\n }, {\n key: \"recalculatePortsVisually\",\n value: function recalculatePortsVisually() {\n this.nodesRendered = !1, this.linksThatHaveInitiallyRendered = {};\n }\n }, {\n key: \"canEntityRepaint\",\n value: function canEntityRepaint(e) {\n return null === this.paintableWidgets || void 0 !== this.paintableWidgets[e.getID()];\n }\n }, {\n key: \"setCanvas\",\n value: function setCanvas(e) {\n this.canvas = e;\n }\n }, {\n key: \"setDiagramModel\",\n value: function setDiagramModel(e) {\n this.diagramModel = e, this.recalculatePortsVisually();\n }\n }, {\n key: \"getDiagramModel\",\n value: function getDiagramModel() {\n return this.diagramModel;\n } //!-------------- FACTORIES ------------\n\n }, {\n key: \"getNodeFactories\",\n value: function getNodeFactories() {\n return this.nodeFactories;\n }\n }, {\n key: \"getLinkFactories\",\n value: function getLinkFactories() {\n return this.linkFactories;\n }\n }, {\n key: \"getLabelFactories\",\n value: function getLabelFactories() {\n return this.labelFactories;\n }\n }, {\n key: \"registerLabelFactory\",\n value: function registerLabelFactory(e) {\n this.labelFactories[e.getType()] = e, this.iterateListeners(function (e) {\n e.labelFactoriesUpdated && e.labelFactoriesUpdated();\n });\n }\n }, {\n key: \"registerPortFactory\",\n value: function registerPortFactory(e) {\n this.portFactories[e.getType()] = e, this.iterateListeners(function (e) {\n e.portFactoriesUpdated && e.portFactoriesUpdated();\n });\n }\n }, {\n key: \"registerNodeFactory\",\n value: function registerNodeFactory(e) {\n this.nodeFactories[e.getType()] = e, this.iterateListeners(function (e) {\n e.nodeFactoriesUpdated && e.nodeFactoriesUpdated();\n });\n }\n }, {\n key: \"registerLinkFactory\",\n value: function registerLinkFactory(e) {\n this.linkFactories[e.getType()] = e, this.iterateListeners(function (e) {\n e.linkFactoriesUpdated && e.linkFactoriesUpdated();\n });\n }\n }, {\n key: \"getPortFactory\",\n value: function getPortFactory(e) {\n if (this.portFactories[e]) return this.portFactories[e];\n throw new Error(\"cannot find factory for port of type: [\".concat(e, \"]\"));\n }\n }, {\n key: \"getNodeFactory\",\n value: function getNodeFactory(e) {\n if (this.nodeFactories[e]) return this.nodeFactories[e];\n throw new Error(\"cannot find factory for node of type: [\".concat(e, \"]\"));\n }\n }, {\n key: \"getLinkFactory\",\n value: function getLinkFactory(e) {\n if (this.linkFactories[e]) return this.linkFactories[e];\n throw new Error(\"cannot find factory for link of type: [\".concat(e, \"]\"));\n }\n }, {\n key: \"getLabelFactory\",\n value: function getLabelFactory(e) {\n if (this.labelFactories[e]) return this.labelFactories[e];\n throw new Error(\"cannot find factory for label of type: [\".concat(e, \"]\"));\n }\n }, {\n key: \"getFactoryForNode\",\n value: function getFactoryForNode(e) {\n return this.getNodeFactory(e.getType());\n }\n }, {\n key: \"getFactoryForLink\",\n value: function getFactoryForLink(e) {\n return this.getLinkFactory(e.getType());\n }\n }, {\n key: \"getFactoryForLabel\",\n value: function getFactoryForLabel(e) {\n return this.getLabelFactory(e.getType());\n }\n }, {\n key: \"generateWidgetForLink\",\n value: function generateWidgetForLink(e) {\n var t = this.getFactoryForLink(e);\n if (!t) throw new Error(\"Cannot find link factory for link: \" + e.getType());\n return t.generateReactWidget(this, e);\n }\n }, {\n key: \"generateWidgetForNode\",\n value: function generateWidgetForNode(e) {\n var t = this.getFactoryForNode(e);\n if (!t) throw new Error(\"Cannot find widget factory for node: \" + e.getType());\n return t.generateReactWidget(this, e);\n }\n }, {\n key: \"getRelativeMousePoint\",\n value: function getRelativeMousePoint(e) {\n var t = this.getRelativePoint(e.clientX, e.clientY);\n return {\n x: (t.x - this.diagramModel.getOffsetX()) / (this.diagramModel.getZoomLevel() / 100),\n y: (t.y - this.diagramModel.getOffsetY()) / (this.diagramModel.getZoomLevel() / 100)\n };\n }\n }, {\n key: \"getRelativePoint\",\n value: function getRelativePoint(e, t) {\n var i = this.canvas.getBoundingClientRect();\n return {\n x: e - i.left,\n y: t - i.top\n };\n }\n }, {\n key: \"getNodeElement\",\n value: function getNodeElement(e) {\n var t = this.canvas.querySelector(\".node[data-nodeid=\\\"\".concat(e.getID(), \"\\\"]\"));\n if (null === t) throw new Error(\"Cannot find Node element with nodeID: [\" + e.getID() + \"]\");\n return t;\n }\n }, {\n key: \"getNodePortElement\",\n value: function getNodePortElement(e) {\n var t = this.canvas.querySelector(\".port[data-name=\\\"\".concat(e.getName(), \"\\\"][data-nodeid=\\\"\").concat(e.getParent().getID(), \"\\\"]\"));\n if (null === t) throw new Error(\"Cannot find Node Port element with nodeID: [\" + e.getParent().getID() + \"] and name: [\" + e.getName() + \"]\");\n return t;\n }\n }, {\n key: \"getPortCenter\",\n value: function getPortCenter(e) {\n var t = this.getNodePortElement(e),\n i = t.getBoundingClientRect(),\n s = this.getRelativePoint(i.left, i.top);\n return {\n x: t.offsetWidth / 2 + (s.x - this.diagramModel.getOffsetX()) / (this.diagramModel.getZoomLevel() / 100),\n y: t.offsetHeight / 2 + (s.y - this.diagramModel.getOffsetY()) / (this.diagramModel.getZoomLevel() / 100)\n };\n }\n }, {\n key: \"getPortCoords\",\n value: function getPortCoords(e) {\n var t = this.getNodePortElement(e).getBoundingClientRect(),\n i = this.canvas.getBoundingClientRect();\n return {\n x: (t.x - this.diagramModel.getOffsetX()) / (this.diagramModel.getZoomLevel() / 100) - i.left,\n y: (t.y - this.diagramModel.getOffsetY()) / (this.diagramModel.getZoomLevel() / 100) - i.top,\n width: t.width,\n height: t.height\n };\n }\n }, {\n key: \"getNodeDimensions\",\n value: function getNodeDimensions(e) {\n if (!this.canvas) return {\n width: 0,\n height: 0\n };\n var t = this.getNodeElement(e).getBoundingClientRect();\n return {\n width: t.width,\n height: t.height\n };\n }\n }, {\n key: \"getMaxNumberPointsPerLink\",\n value: function getMaxNumberPointsPerLink() {\n return this.maxNumberPointsPerLink;\n }\n }, {\n key: \"setMaxNumberPointsPerLink\",\n value: function setMaxNumberPointsPerLink(e) {\n this.maxNumberPointsPerLink = e;\n }\n }, {\n key: \"isSmartRoutingEnabled\",\n value: function isSmartRoutingEnabled() {\n return !!this.smartRouting;\n }\n }, {\n key: \"setSmartRoutingStatus\",\n value: function setSmartRoutingStatus(e) {\n this.smartRouting = e;\n }\n }, {\n key: \"getCanvasMatrix\",\n value: function getCanvasMatrix() {\n return 0 === this.canvasMatrix.length && this.calculateCanvasMatrix(), this.canvasMatrix;\n }\n }, {\n key: \"calculateCanvasMatrix\",\n value: function calculateCanvasMatrix() {\n var _this$calculateMatrix = this.calculateMatrixDimensions(),\n e = _this$calculateMatrix.width,\n t = _this$calculateMatrix.hAdjustmentFactor,\n i = _this$calculateMatrix.height,\n s = _this$calculateMatrix.vAdjustmentFactor;\n\n this.hAdjustmentFactor = t, this.vAdjustmentFactor = s;\n var n = Math.ceil(e / d.ROUTING_SCALING_FACTOR),\n o = Math.ceil(i / d.ROUTING_SCALING_FACTOR);\n this.canvasMatrix = r.range(0, o).map(function () {\n return new Array(n).fill(0);\n });\n }\n }, {\n key: \"getRoutingMatrix\",\n value: function getRoutingMatrix() {\n return 0 === this.routingMatrix.length && this.calculateRoutingMatrix(), this.routingMatrix;\n }\n }, {\n key: \"calculateRoutingMatrix\",\n value: function calculateRoutingMatrix() {\n var e = r.cloneDeep(this.getCanvasMatrix());\n this.markNodes(e), this.markPorts(e), this.routingMatrix = e;\n }\n }, {\n key: \"translateRoutingX\",\n value: function translateRoutingX(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;\n return e + this.hAdjustmentFactor * (t ? -1 : 1);\n }\n }, {\n key: \"translateRoutingY\",\n value: function translateRoutingY(e) {\n var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;\n return e + this.vAdjustmentFactor * (t ? -1 : 1);\n }\n }, {\n key: \"zoomToFit\",\n value: function zoomToFit() {\n var e = this.canvas.clientWidth / this.canvas.scrollWidth,\n t = this.canvas.clientHeight / this.canvas.scrollHeight,\n i = e < t ? e : t;\n this.diagramModel.setZoomLevel(this.diagramModel.getZoomLevel() * i), this.diagramModel.setOffset(0, 0), this.repaintCanvas();\n }\n }]);\n\n return _class33;\n }(s.BaseEntity);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(1),\n n = i(25),\n r = i(26),\n o = i(14);\n\n t.DefaultLinkFactory = /*#__PURE__*/function (_r$AbstractLinkFactor) {\n _inherits(_class34, _r$AbstractLinkFactor);\n\n var _super32 = _createSuper(_class34);\n\n function _class34() {\n _classCallCheck(this, _class34);\n\n return _super32.call(this, \"default\");\n }\n\n _createClass(_class34, [{\n key: \"generateReactWidget\",\n value: function generateReactWidget(e, t) {\n return s.createElement(n.DefaultLinkWidget, {\n link: t,\n diagramEngine: e\n });\n }\n }, {\n key: \"getNewInstance\",\n value: function getNewInstance(e) {\n return new o.DefaultLinkModel();\n }\n }, {\n key: \"generateLinkSegment\",\n value: function generateLinkSegment(e, t, i, n) {\n return s.createElement(\"path\", {\n className: i ? t.bem(\"--path-selected\") : \"\",\n strokeWidth: e.width,\n stroke: e.color,\n d: n\n });\n }\n }]);\n\n return _class34;\n }(r.AbstractLinkFactory);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(24),\n n = i(1),\n r = i(27),\n o = i(30);\n\n t.DefaultNodeFactory = /*#__PURE__*/function (_o$AbstractNodeFactor) {\n _inherits(_class35, _o$AbstractNodeFactor);\n\n var _super33 = _createSuper(_class35);\n\n function _class35() {\n _classCallCheck(this, _class35);\n\n return _super33.call(this, \"default\");\n }\n\n _createClass(_class35, [{\n key: \"generateReactWidget\",\n value: function generateReactWidget(e, t) {\n return n.createElement(r.DefaultNodeWidget, {\n node: t,\n diagramEngine: e\n });\n }\n }, {\n key: \"getNewInstance\",\n value: function getNewInstance(e) {\n return new s.DefaultNodeModel();\n }\n }]);\n\n return _class35;\n }(o.AbstractNodeFactory);\n }, function (e, t, i) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var s = i(1),\n n = i(0),\n r = i(34),\n o = i(36),\n a = i(3),\n l = i(31),\n d = i(32),\n c = i(33),\n h = i(6),\n u = i(5),\n g = i(10),\n p = i(2);\n\n var m = /*#__PURE__*/function (_p$BaseWidget) {\n _inherits(m, _p$BaseWidget);\n\n var _super34 = _createSuper(m);\n\n function m(e) {\n var _this43;\n\n _classCallCheck(this, m);\n\n _this43 = _super34.call(this, \"srd-diagram\", e), _this43.onKeyUpPointer = null, _this43.onMouseMove = _this43.onMouseMove.bind(_assertThisInitialized(_this43)), _this43.onMouseUp = _this43.onMouseUp.bind(_assertThisInitialized(_this43)), _this43.state = {\n action: null,\n wasMoved: !1,\n renderedNodes: !1,\n windowListener: null,\n diagramEngineListener: null,\n document: null\n };\n return _this43;\n }\n\n _createClass(m, [{\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.props.diagramEngine.removeListener(this.state.diagramEngineListener), this.props.diagramEngine.setCanvas(null), window.removeEventListener(\"keyup\", this.onKeyUpPointer), window.removeEventListener(\"mouseUp\", this.onMouseUp), window.removeEventListener(\"mouseMove\", this.onMouseMove);\n }\n }, {\n key: \"componentWillReceiveProps\",\n value: function componentWillReceiveProps(e) {\n var _this44 = this;\n\n if (this.props.diagramEngine !== e.diagramEngine) {\n this.props.diagramEngine.removeListener(this.state.diagramEngineListener);\n\n var _t6 = e.diagramEngine.addListener({\n repaintCanvas: function repaintCanvas() {\n return _this44.forceUpdate();\n }\n });\n\n this.setState({\n diagramEngineListener: _t6\n });\n }\n }\n }, {\n key: \"componentWillUpdate\",\n value: function componentWillUpdate(e) {\n this.props.diagramEngine.diagramModel.id !== e.diagramEngine.diagramModel.id && (this.setState({\n renderedNodes: !1\n }), e.diagramEngine.diagramModel.rendered = !0), e.diagramEngine.diagramModel.rendered || (this.setState({\n renderedNodes: !1\n }), e.diagramEngine.diagramModel.rendered = !0);\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this.state.renderedNodes || this.setState({\n renderedNodes: !0\n });\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this45 = this;\n\n this.onKeyUpPointer = this.onKeyUp.bind(this), this.setState({\n document: document,\n renderedNodes: !0,\n diagramEngineListener: this.props.diagramEngine.addListener({\n repaintCanvas: function repaintCanvas() {\n _this45.forceUpdate();\n }\n })\n }), window.addEventListener(\"keyup\", this.onKeyUpPointer, !1), window.focus();\n }\n }, {\n key: \"getMouseElement\",\n value: function getMouseElement(e) {\n var t = e.target,\n i = this.props.diagramEngine.diagramModel,\n s = a.Toolkit.closest(t, \".port[data-name]\");\n\n if (s) {\n var n = a.Toolkit.closest(t, \".node[data-nodeid]\");\n return {\n model: i.getNode(n.getAttribute(\"data-nodeid\")).getPort(s.getAttribute(\"data-name\")),\n element: s\n };\n }\n\n return (s = a.Toolkit.closest(t, \".point[data-id]\")) ? {\n model: i.getLink(s.getAttribute(\"data-linkid\")).getPointModel(s.getAttribute(\"data-id\")),\n element: s\n } : (s = a.Toolkit.closest(t, \"[data-linkid]\")) ? {\n model: i.getLink(s.getAttribute(\"data-linkid\")),\n element: s\n } : (s = a.Toolkit.closest(t, \".node[data-nodeid]\")) ? {\n model: i.getNode(s.getAttribute(\"data-nodeid\")),\n element: s\n } : null;\n }\n }, {\n key: \"fireAction\",\n value: function fireAction() {\n this.state.action && this.props.actionStillFiring && this.props.actionStillFiring(this.state.action);\n }\n }, {\n key: \"stopFiringAction\",\n value: function stopFiringAction(e) {\n this.props.actionStoppedFiring && !e && this.props.actionStoppedFiring(this.state.action), this.setState({\n action: null\n });\n }\n }, {\n key: \"startFiringAction\",\n value: function startFiringAction(e) {\n var t = !0;\n this.props.actionStartedFiring && (t = this.props.actionStartedFiring(e)), t && this.setState({\n action: e\n });\n }\n }, {\n key: \"onMouseMove\",\n value: function onMouseMove(e) {\n var _this46 = this;\n\n var t = this.props.diagramEngine,\n i = t.getDiagramModel();\n\n if (this.state.action instanceof c.SelectingAction) {\n var s = t.getRelativePoint(e.clientX, e.clientY);\n return n.forEach(i.getNodes(), function (e) {\n _this46.state.action.containsElement(e.x, e.y, i) && e.setSelected(!0);\n }), n.forEach(i.getLinks(), function (e) {\n var t = !0;\n n.forEach(e.points, function (e) {\n _this46.state.action.containsElement(e.x, e.y, i) ? e.setSelected(!0) : t = !1;\n }), t && e.setSelected(!0);\n }), this.state.action.mouseX2 = s.x, this.state.action.mouseY2 = s.y, this.fireAction(), void this.setState({\n action: this.state.action\n });\n }\n\n if (this.state.action instanceof d.MoveItemsAction) {\n var _s3 = e.clientX - this.state.action.mouseX,\n _r = e.clientY - this.state.action.mouseY,\n _o3 = i.getZoomLevel() / 100;\n\n n.forEach(this.state.action.selectionModels, function (e) {\n e.model instanceof h.NodeModel || e.model instanceof u.PointModel && !e.model.isConnectedToPort() ? (e.model.x = i.getGridPosition(e.initialX + _s3 / _o3), e.model.y = i.getGridPosition(e.initialY + _r / _o3), e.model instanceof h.NodeModel && (e.model.positionChanged(), n.forEach(e.model.getPorts(), function (e) {\n var t = _this46.props.diagramEngine.getPortCoords(e);\n\n e.updateCoords(t);\n })), t.isSmartRoutingEnabled() && t.calculateRoutingMatrix()) : e.model instanceof u.PointModel && (e.model.x = e.initialX + i.getGridPosition(_s3 / _o3), e.model.y = e.initialY + i.getGridPosition(_r / _o3));\n }), t.isSmartRoutingEnabled() && t.calculateCanvasMatrix(), this.fireAction(), this.state.wasMoved ? this.forceUpdate() : this.setState({\n wasMoved: !0\n });\n } else this.state.action instanceof l.MoveCanvasAction && this.props.allowCanvasTranslation && (i.setOffset(this.state.action.initialOffsetX + (e.clientX - this.state.action.mouseX), this.state.action.initialOffsetY + (e.clientY - this.state.action.mouseY)), this.fireAction(), this.forceUpdate());\n }\n }, {\n key: \"onKeyUp\",\n value: function onKeyUp(e) {\n var _this47 = this;\n\n -1 !== this.props.deleteKeys.indexOf(e.keyCode) && (n.forEach(this.props.diagramEngine.getDiagramModel().getSelectedItems(), function (e) {\n _this47.props.diagramEngine.isModelLocked(e) || e.remove();\n }), this.forceUpdate());\n }\n }, {\n key: \"onMouseUp\",\n value: function onMouseUp(e) {\n var _this48 = this;\n\n var t = this.props.diagramEngine;\n\n if (this.state.action instanceof d.MoveItemsAction) {\n var i = this.getMouseElement(e);\n n.forEach(this.state.action.selectionModels, function (e) {\n if (e.model instanceof u.PointModel && i && i.model instanceof g.PortModel && !t.isModelLocked(i.model)) {\n var _s4 = e.model.getLink();\n\n if (null !== _s4.getTargetPort()) {\n if (_s4.getTargetPort() !== i.model && _s4.getSourcePort() !== i.model) {\n var _n2 = _s4.getTargetPort();\n\n var _r2 = _s4.clone({});\n\n _r2.setSourcePort(i.model), _r2.setTargetPort(_n2), _s4.setTargetPort(i.model), _n2.removeLink(_s4), _r2.removePointsBefore(_r2.getPoints()[_s4.getPointIndex(e.model)]), _s4.removePointsAfter(e.model), t.getDiagramModel().addLink(_r2);\n } else _s4.getTargetPort() === i.model ? _s4.removePointsAfter(e.model) : _s4.getSourcePort() === i.model && _s4.removePointsBefore(e.model);\n } else _s4.setTargetPort(i.model);\n delete _this48.props.diagramEngine.linksThatHaveInitiallyRendered[_s4.getID()];\n }\n }), !this.props.allowLooseLinks && this.state.wasMoved && n.forEach(this.state.action.selectionModels, function (e) {\n if (!(e.model instanceof u.PointModel)) return;\n var t = e.model.getLink();\n null !== t.getSourcePort() && null !== t.getTargetPort() || t.remove();\n }), n.forEach(this.state.action.selectionModels, function (e) {\n if (!(e.model instanceof u.PointModel)) return;\n var t = e.model.getLink(),\n i = t.getSourcePort(),\n s = t.getTargetPort();\n null !== i && null !== s && (i.canLinkToPort(s) ? n.some(n.values(s.getLinks()), function (e) {\n return e !== t && (e.getSourcePort() === i || e.getTargetPort() === i);\n }) && t.remove() : t.remove());\n }), t.clearRepaintEntities(), this.stopFiringAction(!this.state.wasMoved);\n } else t.clearRepaintEntities(), this.stopFiringAction();\n\n this.state.document.removeEventListener(\"mousemove\", this.onMouseMove), this.state.document.removeEventListener(\"mouseup\", this.onMouseUp);\n }\n }, {\n key: \"drawSelectionBox\",\n value: function drawSelectionBox() {\n var e = this.state.action.getBoxDimensions();\n return s.createElement(\"div\", {\n className: this.bem(\"__selector\"),\n style: {\n top: e.top,\n left: e.left,\n width: e.width,\n height: e.height\n }\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this49 = this;\n\n var e = this.props.diagramEngine;\n e.setMaxNumberPointsPerLink(this.props.maxNumberPointsPerLink), e.setSmartRoutingStatus(this.props.smartRouting);\n var t = e.getDiagramModel();\n return s.createElement(\"div\", Object.assign({}, this.getProps(), {\n ref: function ref(e) {\n e && _this49.props.diagramEngine.setCanvas(e);\n },\n onWheel: function onWheel(i) {\n if (_this49.props.allowCanvasZoom) {\n i.preventDefault(), i.stopPropagation();\n\n var _s5 = t.getZoomLevel() / 100;\n\n var _n3 = _this49.props.inverseZoom ? -i.deltaY : i.deltaY;\n\n i.ctrlKey && _n3 % 1 != 0 ? _n3 /= 3 : _n3 /= 60, t.getZoomLevel() + _n3 > 10 && t.setZoomLevel(t.getZoomLevel() + _n3);\n\n var _r3 = t.getZoomLevel() / 100,\n _o4 = i.currentTarget.getBoundingClientRect(),\n _a2 = _o4.width,\n _l2 = _o4.height,\n _d2 = _a2 * _r3 - _a2 * _s5,\n _c = _l2 * _r3 - _l2 * _s5,\n _h = i.clientX - _o4.left,\n _u = i.clientY - _o4.top,\n _g = (_h - t.getOffsetX()) / _s5 / _a2,\n _p = (_u - t.getOffsetY()) / _s5 / _l2;\n\n t.setOffset(t.getOffsetX() - _d2 * _g, t.getOffsetY() - _c * _p), e.enableRepaintEntities([]), _this49.forceUpdate();\n }\n },\n onMouseDown: function onMouseDown(i) {\n if (3 !== i.nativeEvent.which) {\n _this49.setState(Object.assign({}, _this49.state, {\n wasMoved: !1\n })), e.clearRepaintEntities();\n\n var s = _this49.getMouseElement(i);\n\n if (null === s) {\n if (i.shiftKey) {\n var n = e.getRelativePoint(i.clientX, i.clientY);\n\n _this49.startFiringAction(new c.SelectingAction(n.x, n.y));\n } else t.clearSelection(), _this49.startFiringAction(new l.MoveCanvasAction(i.clientX, i.clientY, t));\n } else if (s.model instanceof g.PortModel) {\n if (_this49.props.diagramEngine.isModelLocked(s.model)) t.clearSelection();else {\n n = e.getRelativeMousePoint(i);\n var r = s.model,\n o = r.createLinkModel();\n o.setSourcePort(r), o && (o.removeMiddlePoints(), o.getSourcePort() !== r && o.setSourcePort(r), o.setTargetPort(null), o.getFirstPoint().updateLocation(n), o.getLastPoint().updateLocation(n), t.clearSelection(), o.getLastPoint().setSelected(!0), t.addLink(o), _this49.startFiringAction(new d.MoveItemsAction(i.clientX, i.clientY, e)));\n }\n } else i.shiftKey || s.model.isSelected() || t.clearSelection(), s.model.setSelected(!0), _this49.startFiringAction(new d.MoveItemsAction(i.clientX, i.clientY, e));\n _this49.state.document.addEventListener(\"mousemove\", _this49.onMouseMove), _this49.state.document.addEventListener(\"mouseup\", _this49.onMouseUp);\n }\n }\n }), this.state.renderedNodes && s.createElement(r.LinkLayerWidget, {\n diagramEngine: e,\n pointAdded: function pointAdded(i, s) {\n _this49.state.document.addEventListener(\"mousemove\", _this49.onMouseMove), _this49.state.document.addEventListener(\"mouseup\", _this49.onMouseUp), s.stopPropagation(), t.clearSelection(i), _this49.setState({\n action: new d.MoveItemsAction(s.clientX, s.clientY, e)\n });\n }\n }), s.createElement(o.NodeLayerWidget, {\n diagramEngine: e\n }), this.state.action instanceof c.SelectingAction && this.drawSelectionBox());\n }\n }]);\n\n return m;\n }(p.BaseWidget);\n\n m.defaultProps = {\n diagramEngine: null,\n allowLooseLinks: !0,\n allowCanvasTranslation: !0,\n allowCanvasZoom: !0,\n inverseZoom: !1,\n maxNumberPointsPerLink: 1 / 0,\n smartRouting: !1,\n deleteKeys: [46, 8]\n }, t.DiagramWidget = m;\n }]);\n});","'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar bind = require('./helpers/bind');\n/*global toString:true*/\n// utils is a library of generic helper functions non-specific to axios\n\n\nvar toString = Object.prototype.toString;\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\n\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\n\n\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\n\n\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\n\n\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\n\n\nfunction isFormData(val) {\n return typeof FormData !== 'undefined' && val instanceof FormData;\n}\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\n\n\nfunction isArrayBufferView(val) {\n var result;\n\n if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {\n result = ArrayBuffer.isView(val);\n } else {\n result = val && val.buffer && val.buffer instanceof ArrayBuffer;\n }\n\n return result;\n}\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\n\n\nfunction isString(val) {\n return typeof val === 'string';\n}\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\n\n\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\n\n\nfunction isObject(val) {\n return val !== null && _typeof(val) === 'object';\n}\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\n\n\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\n\n\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\n\n\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\n\n\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\n\n\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\n\n\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\n\n\nfunction trim(str) {\n return str.replace(/^\\s*/, '').replace(/\\s*$/, '');\n}\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\n\n\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' || navigator.product === 'NativeScript' || navigator.product === 'NS')) {\n return false;\n }\n\n return typeof window !== 'undefined' && typeof document !== 'undefined';\n}\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\n\n\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n } // Force an array if not already something iterable\n\n\n if (_typeof(obj) !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\n\n\nfunction\n /* obj1, obj2, obj3, ... */\nmerge() {\n var result = {};\n\n function assignValue(val, key) {\n if (_typeof(result[key]) === 'object' && _typeof(val) === 'object') {\n result[key] = merge(result[key], val);\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n\n return result;\n}\n/**\n * Function equal to merge with the difference being that no reference\n * to original objects is kept.\n *\n * @see merge\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\n\n\nfunction\n /* obj1, obj2, obj3, ... */\ndeepMerge() {\n var result = {};\n\n function assignValue(val, key) {\n if (_typeof(result[key]) === 'object' && _typeof(val) === 'object') {\n result[key] = deepMerge(result[key], val);\n } else if (_typeof(val) === 'object') {\n result[key] = deepMerge({}, val);\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n\n return result;\n}\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\n\n\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n deepMerge: deepMerge,\n extend: extend,\n trim: trim\n};","var DiagonalMovement = {\n Always: 1,\n Never: 2,\n IfAtMostOneObstacle: 3,\n OnlyWhenNoObstacles: 4\n};\nmodule.exports = DiagonalMovement;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n\n/* global define */\n(function () {\n 'use strict';\n\n var hasOwn = {}.hasOwnProperty;\n\n function classNames() {\n var classes = [];\n\n for (var i = 0; i < arguments.length; i++) {\n var arg = arguments[i];\n if (!arg) continue;\n\n var argType = _typeof(arg);\n\n if (argType === 'string' || argType === 'number') {\n classes.push(arg);\n } else if (Array.isArray(arg) && arg.length) {\n var inner = classNames.apply(null, arg);\n\n if (inner) {\n classes.push(inner);\n }\n } else if (argType === 'object') {\n for (var key in arg) {\n if (hasOwn.call(arg, key) && arg[key]) {\n classes.push(key);\n }\n }\n }\n }\n\n return classes.join(' ');\n }\n\n if (typeof module !== 'undefined' && module.exports) {\n classNames.default = classNames;\n module.exports = classNames;\n } else if (typeof define === 'function' && _typeof(define.amd) === 'object' && define.amd) {\n // register as 'classnames', consistent with npm package name\n define('classnames', [], function () {\n return classNames;\n });\n } else {\n window.classNames = classNames;\n }\n})();","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar freeGlobal = require('./_freeGlobal');\n/** Detect free variable `self`. */\n\n\nvar freeSelf = (typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) == 'object' && self && self.Object === Object && self;\n/** Used as a reference to the global object. */\n\nvar root = freeGlobal || freeSelf || Function('return this')();\nmodule.exports = root;","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\nmodule.exports = isArray;","module.exports = function (module) {\n if (!module.webpackPolyfill) {\n module.deprecate = function () {};\n\n module.paths = []; // module.parent = undefined by default\n\n if (!module.children) module.children = [];\n Object.defineProperty(module, \"loaded\", {\n enumerable: true,\n get: function get() {\n return module.l;\n }\n });\n Object.defineProperty(module, \"id\", {\n enumerable: true,\n get: function get() {\n return module.i;\n }\n });\n module.webpackPolyfill = 1;\n }\n\n return module;\n};","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function') {\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.min.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}","/**\r\n * Backtrace according to the parent records and return the path.\r\n * (including both start and end nodes)\r\n * @param {Node} node End node\r\n * @return {Array<Array<number>>} the path\r\n */\nfunction backtrace(node) {\n var path = [[node.x, node.y]];\n\n while (node.parent) {\n node = node.parent;\n path.push([node.x, node.y]);\n }\n\n return path.reverse();\n}\n\nexports.backtrace = backtrace;\n/**\r\n * Backtrace from start and end node, and return the path.\r\n * (including both start and end nodes)\r\n * @param {Node}\r\n * @param {Node}\r\n */\n\nfunction biBacktrace(nodeA, nodeB) {\n var pathA = backtrace(nodeA),\n pathB = backtrace(nodeB);\n return pathA.concat(pathB.reverse());\n}\n\nexports.biBacktrace = biBacktrace;\n/**\r\n * Compute the length of the path.\r\n * @param {Array<Array<number>>} path The path\r\n * @return {number} The length of the path\r\n */\n\nfunction pathLength(path) {\n var i,\n sum = 0,\n a,\n b,\n dx,\n dy;\n\n for (i = 1; i < path.length; ++i) {\n a = path[i - 1];\n b = path[i];\n dx = a[0] - b[0];\n dy = a[1] - b[1];\n sum += Math.sqrt(dx * dx + dy * dy);\n }\n\n return sum;\n}\n\nexports.pathLength = pathLength;\n/**\r\n * Given the start and end coordinates, return all the coordinates lying\r\n * on the line formed by these coordinates, based on Bresenham's algorithm.\r\n * http://en.wikipedia.org/wiki/Bresenham's_line_algorithm#Simplification\r\n * @param {number} x0 Start x coordinate\r\n * @param {number} y0 Start y coordinate\r\n * @param {number} x1 End x coordinate\r\n * @param {number} y1 End y coordinate\r\n * @return {Array<Array<number>>} The coordinates on the line\r\n */\n\nfunction interpolate(x0, y0, x1, y1) {\n var abs = Math.abs,\n line = [],\n sx,\n sy,\n dx,\n dy,\n err,\n e2;\n dx = abs(x1 - x0);\n dy = abs(y1 - y0);\n sx = x0 < x1 ? 1 : -1;\n sy = y0 < y1 ? 1 : -1;\n err = dx - dy;\n\n while (true) {\n line.push([x0, y0]);\n\n if (x0 === x1 && y0 === y1) {\n break;\n }\n\n e2 = 2 * err;\n\n if (e2 > -dy) {\n err = err - dy;\n x0 = x0 + sx;\n }\n\n if (e2 < dx) {\n err = err + dx;\n y0 = y0 + sy;\n }\n }\n\n return line;\n}\n\nexports.interpolate = interpolate;\n/**\r\n * Given a compressed path, return a new path that has all the segments\r\n * in it interpolated.\r\n * @param {Array<Array<number>>} path The path\r\n * @return {Array<Array<number>>} expanded path\r\n */\n\nfunction expandPath(path) {\n var expanded = [],\n len = path.length,\n coord0,\n coord1,\n interpolated,\n interpolatedLen,\n i,\n j;\n\n if (len < 2) {\n return expanded;\n }\n\n for (i = 0; i < len - 1; ++i) {\n coord0 = path[i];\n coord1 = path[i + 1];\n interpolated = interpolate(coord0[0], coord0[1], coord1[0], coord1[1]);\n interpolatedLen = interpolated.length;\n\n for (j = 0; j < interpolatedLen - 1; ++j) {\n expanded.push(interpolated[j]);\n }\n }\n\n expanded.push(path[len - 1]);\n return expanded;\n}\n\nexports.expandPath = expandPath;\n/**\r\n * Smoothen the give path.\r\n * The original path will not be modified; a new path will be returned.\r\n * @param {PF.Grid} grid\r\n * @param {Array<Array<number>>} path The path\r\n */\n\nfunction smoothenPath(grid, path) {\n var len = path.length,\n x0 = path[0][0],\n // path start x\n y0 = path[0][1],\n // path start y\n x1 = path[len - 1][0],\n // path end x\n y1 = path[len - 1][1],\n // path end y\n sx,\n sy,\n // current start coordinate\n ex,\n ey,\n // current end coordinate\n newPath,\n i,\n j,\n coord,\n line,\n testCoord,\n blocked;\n sx = x0;\n sy = y0;\n newPath = [[sx, sy]];\n\n for (i = 2; i < len; ++i) {\n coord = path[i];\n ex = coord[0];\n ey = coord[1];\n line = interpolate(sx, sy, ex, ey);\n blocked = false;\n\n for (j = 1; j < line.length; ++j) {\n testCoord = line[j];\n\n if (!grid.isWalkableAt(testCoord[0], testCoord[1])) {\n blocked = true;\n break;\n }\n }\n\n if (blocked) {\n lastValidCoord = path[i - 1];\n newPath.push(lastValidCoord);\n sx = lastValidCoord[0];\n sy = lastValidCoord[1];\n }\n }\n\n newPath.push([x1, y1]);\n return newPath;\n}\n\nexports.smoothenPath = smoothenPath;\n/**\r\n * Compress a path, remove redundant nodes without altering the shape\r\n * The original path is not modified\r\n * @param {Array<Array<number>>} path The path\r\n * @return {Array<Array<number>>} The compressed path\r\n */\n\nfunction compressPath(path) {\n // nothing to compress\n if (path.length < 3) {\n return path;\n }\n\n var compressed = [],\n sx = path[0][0],\n // start x\n sy = path[0][1],\n // start y\n px = path[1][0],\n // second point x\n py = path[1][1],\n // second point y\n dx = px - sx,\n // direction between the two points\n dy = py - sy,\n // direction between the two points\n lx,\n ly,\n ldx,\n ldy,\n sq,\n i; // normalize the direction\n\n sq = Math.sqrt(dx * dx + dy * dy);\n dx /= sq;\n dy /= sq; // start the new path\n\n compressed.push([sx, sy]);\n\n for (i = 2; i < path.length; i++) {\n // store the last point\n lx = px;\n ly = py; // store the last direction\n\n ldx = dx;\n ldy = dy; // next point\n\n px = path[i][0];\n py = path[i][1]; // next direction\n\n dx = px - lx;\n dy = py - ly; // normalize\n\n sq = Math.sqrt(dx * dx + dy * dy);\n dx /= sq;\n dy /= sq; // if the direction has changed, store the point\n\n if (dx !== ldx || dy !== ldy) {\n compressed.push([lx, ly]);\n }\n } // store the last point\n\n\n compressed.push([px, py]);\n return compressed;\n}\n\nexports.compressPath = compressPath;","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n\n\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;","var baseIsEqual = require('./_baseIsEqual');\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n\n\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nmodule.exports = isEqual;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar g; // This works in non-strict mode\n\ng = function () {\n return this;\n}();\n\ntry {\n // This works if eval is allowed (see CSP)\n g = g || new Function(\"return this\")();\n} catch (e) {\n // This works if the window reference is available\n if ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\") g = window;\n} // g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\n\nmodule.exports = g;","/**\r\n * @namespace PF.Heuristic\r\n * @description A collection of heuristic functions.\r\n */\nmodule.exports = {\n /**\r\n * Manhattan distance.\r\n * @param {number} dx - Difference in x.\r\n * @param {number} dy - Difference in y.\r\n * @return {number} dx + dy\r\n */\n manhattan: function manhattan(dx, dy) {\n return dx + dy;\n },\n\n /**\r\n * Euclidean distance.\r\n * @param {number} dx - Difference in x.\r\n * @param {number} dy - Difference in y.\r\n * @return {number} sqrt(dx * dx + dy * dy)\r\n */\n euclidean: function euclidean(dx, dy) {\n return Math.sqrt(dx * dx + dy * dy);\n },\n\n /**\r\n * Octile distance.\r\n * @param {number} dx - Difference in x.\r\n * @param {number} dy - Difference in y.\r\n * @return {number} sqrt(dx * dx + dy * dy) for grids\r\n */\n octile: function octile(dx, dy) {\n var F = Math.SQRT2 - 1;\n return dx < dy ? F * dx + dy : F * dy + dx;\n },\n\n /**\r\n * Chebyshev distance.\r\n * @param {number} dx - Difference in x.\r\n * @param {number} dy - Difference in y.\r\n * @return {number} max(dx, dy)\r\n */\n chebyshev: function chebyshev(dx, dy) {\n return Math.max(dx, dy);\n }\n};","var _Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n/** `Object#toString` result references. */\n\n\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n/** Built-in value references. */\n\nvar symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n\n return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);\n}\n\nmodule.exports = baseGetTag;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && _typeof(value) == 'object';\n}\n\nmodule.exports = isObjectLike;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/**\n * @license\n * Lodash <https://lodash.com/>\n * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;\n(function () {\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n /** Used as the semantic version number. */\n\n var VERSION = '4.17.15';\n /** Used as the size to enable large array optimizations. */\n\n var LARGE_ARRAY_SIZE = 200;\n /** Error message constants. */\n\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function';\n /** Used to stand-in for `undefined` hash values. */\n\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n /** Used as the maximum memoize cache size. */\n\n var MAX_MEMOIZE_SIZE = 500;\n /** Used as the internal argument placeholder. */\n\n var PLACEHOLDER = '__lodash_placeholder__';\n /** Used to compose bitmasks for cloning. */\n\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n /** Used to compose bitmasks for value comparisons. */\n\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n /** Used to compose bitmasks for function metadata. */\n\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n /** Used as default options for `_.truncate`. */\n\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n /** Used to indicate the type of lazy iteratees. */\n\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n /** Used as references for various `Number` constants. */\n\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n /** Used as references for the maximum length and index of an array. */\n\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n /** Used to associate wrap methods with their bit flags. */\n\n var wrapFlags = [['ary', WRAP_ARY_FLAG], ['bind', WRAP_BIND_FLAG], ['bindKey', WRAP_BIND_KEY_FLAG], ['curry', WRAP_CURRY_FLAG], ['curryRight', WRAP_CURRY_RIGHT_FLAG], ['flip', WRAP_FLIP_FLAG], ['partial', WRAP_PARTIAL_FLAG], ['partialRight', WRAP_PARTIAL_RIGHT_FLAG], ['rearg', WRAP_REARG_FLAG]];\n /** `Object#toString` result references. */\n\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n var arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n /** Used to match empty string literals in compiled template source. */\n\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n /** Used to match HTML entities and HTML characters. */\n\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n /** Used to match template delimiters. */\n\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n /** Used to match property names within property paths. */\n\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n /** Used to match leading and trailing whitespace. */\n\n var reTrim = /^\\s+|\\s+$/g,\n reTrimStart = /^\\s+/,\n reTrimEnd = /\\s+$/;\n /** Used to match wrap detail comments. */\n\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n /** Used to match words composed of alphanumeric characters. */\n\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n /** Used to match backslashes in property paths. */\n\n var reEscapeChar = /\\\\(\\\\)?/g;\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n /** Used to match `RegExp` flags from their coerced string values. */\n\n var reFlags = /\\w*$/;\n /** Used to detect bad signed hexadecimal string values. */\n\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n /** Used to detect binary string values. */\n\n var reIsBinary = /^0b[01]+$/i;\n /** Used to detect host constructors (Safari). */\n\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n /** Used to detect octal string values. */\n\n var reIsOctal = /^0o[0-7]+$/i;\n /** Used to detect unsigned integer values. */\n\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n /** Used to ensure capturing order of template delimiters. */\n\n var reNoMatch = /($^)/;\n /** Used to match unescaped characters in compiled string literals. */\n\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n /** Used to compose unicode character classes. */\n\n var rsAstralRange = \"\\\\ud800-\\\\udfff\",\n rsComboMarksRange = \"\\\\u0300-\\\\u036f\",\n reComboHalfMarksRange = \"\\\\ufe20-\\\\ufe2f\",\n rsComboSymbolsRange = \"\\\\u20d0-\\\\u20ff\",\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = \"\\\\u2700-\\\\u27bf\",\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = \"\\\\u2000-\\\\u206f\",\n rsSpaceRange = \" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = \"\\\\ufe0e\\\\ufe0f\",\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n /** Used to compose unicode capture groups. */\n\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = \"\\\\ud83c[\\\\udffb-\\\\udfff]\",\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = \"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",\n rsSurrPair = \"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = \"\\\\u200d\";\n /** Used to compose unicode regexes. */\n\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n /** Used to match apostrophes. */\n\n var reApos = RegExp(rsApos, 'g');\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n\n var reComboMark = RegExp(rsCombo, 'g');\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n /** Used to match complex or compound words. */\n\n var reUnicodeWord = RegExp([rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')', rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')', rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower, rsUpper + '+' + rsOptContrUpper, rsOrdUpper, rsOrdLower, rsDigits, rsEmoji].join('|'), 'g');\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n /** Used to detect strings that need a more robust regexp to match words. */\n\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n /** Used to assign default `context` object properties. */\n\n var contextProps = ['Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array', 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object', 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array', 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap', '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'];\n /** Used to make template sourceURLs easier to identify. */\n\n var templateCounter = -1;\n /** Used to identify `toStringTag` values of typed arrays. */\n\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;\n /** Used to map Latin Unicode letters to basic Latin letters. */\n\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A',\n '\\xc1': 'A',\n '\\xc2': 'A',\n '\\xc3': 'A',\n '\\xc4': 'A',\n '\\xc5': 'A',\n '\\xe0': 'a',\n '\\xe1': 'a',\n '\\xe2': 'a',\n '\\xe3': 'a',\n '\\xe4': 'a',\n '\\xe5': 'a',\n '\\xc7': 'C',\n '\\xe7': 'c',\n '\\xd0': 'D',\n '\\xf0': 'd',\n '\\xc8': 'E',\n '\\xc9': 'E',\n '\\xca': 'E',\n '\\xcb': 'E',\n '\\xe8': 'e',\n '\\xe9': 'e',\n '\\xea': 'e',\n '\\xeb': 'e',\n '\\xcc': 'I',\n '\\xcd': 'I',\n '\\xce': 'I',\n '\\xcf': 'I',\n '\\xec': 'i',\n '\\xed': 'i',\n '\\xee': 'i',\n '\\xef': 'i',\n '\\xd1': 'N',\n '\\xf1': 'n',\n '\\xd2': 'O',\n '\\xd3': 'O',\n '\\xd4': 'O',\n '\\xd5': 'O',\n '\\xd6': 'O',\n '\\xd8': 'O',\n '\\xf2': 'o',\n '\\xf3': 'o',\n '\\xf4': 'o',\n '\\xf5': 'o',\n '\\xf6': 'o',\n '\\xf8': 'o',\n '\\xd9': 'U',\n '\\xda': 'U',\n '\\xdb': 'U',\n '\\xdc': 'U',\n '\\xf9': 'u',\n '\\xfa': 'u',\n '\\xfb': 'u',\n '\\xfc': 'u',\n '\\xdd': 'Y',\n '\\xfd': 'y',\n '\\xff': 'y',\n '\\xc6': 'Ae',\n '\\xe6': 'ae',\n '\\xde': 'Th',\n '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n \"\\u0100\": 'A',\n \"\\u0102\": 'A',\n \"\\u0104\": 'A',\n \"\\u0101\": 'a',\n \"\\u0103\": 'a',\n \"\\u0105\": 'a',\n \"\\u0106\": 'C',\n \"\\u0108\": 'C',\n \"\\u010A\": 'C',\n \"\\u010C\": 'C',\n \"\\u0107\": 'c',\n \"\\u0109\": 'c',\n \"\\u010B\": 'c',\n \"\\u010D\": 'c',\n \"\\u010E\": 'D',\n \"\\u0110\": 'D',\n \"\\u010F\": 'd',\n \"\\u0111\": 'd',\n \"\\u0112\": 'E',\n \"\\u0114\": 'E',\n \"\\u0116\": 'E',\n \"\\u0118\": 'E',\n \"\\u011A\": 'E',\n \"\\u0113\": 'e',\n \"\\u0115\": 'e',\n \"\\u0117\": 'e',\n \"\\u0119\": 'e',\n \"\\u011B\": 'e',\n \"\\u011C\": 'G',\n \"\\u011E\": 'G',\n \"\\u0120\": 'G',\n \"\\u0122\": 'G',\n \"\\u011D\": 'g',\n \"\\u011F\": 'g',\n \"\\u0121\": 'g',\n \"\\u0123\": 'g',\n \"\\u0124\": 'H',\n \"\\u0126\": 'H',\n \"\\u0125\": 'h',\n \"\\u0127\": 'h',\n \"\\u0128\": 'I',\n \"\\u012A\": 'I',\n \"\\u012C\": 'I',\n \"\\u012E\": 'I',\n \"\\u0130\": 'I',\n \"\\u0129\": 'i',\n \"\\u012B\": 'i',\n \"\\u012D\": 'i',\n \"\\u012F\": 'i',\n \"\\u0131\": 'i',\n \"\\u0134\": 'J',\n \"\\u0135\": 'j',\n \"\\u0136\": 'K',\n \"\\u0137\": 'k',\n \"\\u0138\": 'k',\n \"\\u0139\": 'L',\n \"\\u013B\": 'L',\n \"\\u013D\": 'L',\n \"\\u013F\": 'L',\n \"\\u0141\": 'L',\n \"\\u013A\": 'l',\n \"\\u013C\": 'l',\n \"\\u013E\": 'l',\n \"\\u0140\": 'l',\n \"\\u0142\": 'l',\n \"\\u0143\": 'N',\n \"\\u0145\": 'N',\n \"\\u0147\": 'N',\n \"\\u014A\": 'N',\n \"\\u0144\": 'n',\n \"\\u0146\": 'n',\n \"\\u0148\": 'n',\n \"\\u014B\": 'n',\n \"\\u014C\": 'O',\n \"\\u014E\": 'O',\n \"\\u0150\": 'O',\n \"\\u014D\": 'o',\n \"\\u014F\": 'o',\n \"\\u0151\": 'o',\n \"\\u0154\": 'R',\n \"\\u0156\": 'R',\n \"\\u0158\": 'R',\n \"\\u0155\": 'r',\n \"\\u0157\": 'r',\n \"\\u0159\": 'r',\n \"\\u015A\": 'S',\n \"\\u015C\": 'S',\n \"\\u015E\": 'S',\n \"\\u0160\": 'S',\n \"\\u015B\": 's',\n \"\\u015D\": 's',\n \"\\u015F\": 's',\n \"\\u0161\": 's',\n \"\\u0162\": 'T',\n \"\\u0164\": 'T',\n \"\\u0166\": 'T',\n \"\\u0163\": 't',\n \"\\u0165\": 't',\n \"\\u0167\": 't',\n \"\\u0168\": 'U',\n \"\\u016A\": 'U',\n \"\\u016C\": 'U',\n \"\\u016E\": 'U',\n \"\\u0170\": 'U',\n \"\\u0172\": 'U',\n \"\\u0169\": 'u',\n \"\\u016B\": 'u',\n \"\\u016D\": 'u',\n \"\\u016F\": 'u',\n \"\\u0171\": 'u',\n \"\\u0173\": 'u',\n \"\\u0174\": 'W',\n \"\\u0175\": 'w',\n \"\\u0176\": 'Y',\n \"\\u0177\": 'y',\n \"\\u0178\": 'Y',\n \"\\u0179\": 'Z',\n \"\\u017B\": 'Z',\n \"\\u017D\": 'Z',\n \"\\u017A\": 'z',\n \"\\u017C\": 'z',\n \"\\u017E\": 'z',\n \"\\u0132\": 'IJ',\n \"\\u0133\": 'ij',\n \"\\u0152\": 'Oe',\n \"\\u0153\": 'oe',\n \"\\u0149\": \"'n\",\n \"\\u017F\": 's'\n };\n /** Used to map characters to HTML entities. */\n\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n /** Used to map HTML entities to characters. */\n\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n /** Used to escape characters for inclusion in compiled string literals. */\n\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n \"\\u2028\": 'u2028',\n \"\\u2029\": 'u2029'\n };\n /** Built-in method references without a dependency on `root`. */\n\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n /** Detect free variable `global` from Node.js. */\n\n var freeGlobal = (typeof global === \"undefined\" ? \"undefined\" : _typeof(global)) == 'object' && global && global.Object === Object && global;\n /** Detect free variable `self`. */\n\n var freeSelf = (typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) == 'object' && self && self.Object === Object && self;\n /** Used as a reference to the global object. */\n\n var root = freeGlobal || freeSelf || Function('return this')();\n /** Detect free variable `exports`. */\n\n var freeExports = (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) == 'object' && exports && !exports.nodeType && exports;\n /** Detect free variable `module`. */\n\n var freeModule = freeExports && (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) == 'object' && module && !module.nodeType && module;\n /** Detect the popular CommonJS extension `module.exports`. */\n\n var moduleExports = freeModule && freeModule.exports === freeExports;\n /** Detect free variable `process` from Node.js. */\n\n var freeProcess = moduleExports && freeGlobal.process;\n /** Used to access faster Node.js helpers. */\n\n var nodeUtil = function () {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n } // Legacy `process.binding('util')` for Node.js < 10.\n\n\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n }();\n /* Node.js helper references. */\n\n\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n /*--------------------------------------------------------------------------*/\n\n /**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\n\n function apply(func, thisArg, args) {\n switch (args.length) {\n case 0:\n return func.call(thisArg);\n\n case 1:\n return func.call(thisArg, args[0]);\n\n case 2:\n return func.call(thisArg, args[0], args[1]);\n\n case 3:\n return func.call(thisArg, args[0], args[1], args[2]);\n }\n\n return func.apply(thisArg, args);\n }\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n\n\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n\n return accumulator;\n }\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n\n\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n\n return array;\n }\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n\n\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n\n return array;\n }\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n\n\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n\n return true;\n }\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n\n\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n\n return result;\n }\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n\n\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n\n\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n\n return false;\n }\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n\n\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n\n return result;\n }\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n\n\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n\n return array;\n }\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n\n\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n\n return accumulator;\n }\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n\n\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[--length];\n }\n\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n\n return accumulator;\n }\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n\n\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n\n return false;\n }\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n\n\n var asciiSize = baseProperty('length');\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n\n function asciiToArray(string) {\n return string.split('');\n }\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n\n\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n\n\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function (value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while (fromRight ? index-- : ++index < length) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n\n return -1;\n }\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\n function baseIndexOf(array, value, fromIndex) {\n return value === value ? strictIndexOf(array, value, fromIndex) : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n\n return -1;\n }\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n\n\n function baseIsNaN(value) {\n return value !== value;\n }\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n\n\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? baseSum(array, iteratee) / length : NAN;\n }\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n\n\n function baseProperty(key) {\n return function (object) {\n return object == null ? undefined : object[key];\n };\n }\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n\n\n function basePropertyOf(object) {\n return function (key) {\n return object == null ? undefined : object[key];\n };\n }\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n\n\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function (value, index, collection) {\n accumulator = initAccum ? (initAccum = false, value) : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n\n\n function baseSortBy(array, comparer) {\n var length = array.length;\n array.sort(comparer);\n\n while (length--) {\n array[length] = array[length].value;\n }\n\n return array;\n }\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n\n\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n\n if (current !== undefined) {\n result = result === undefined ? current : result + current;\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\n\n\n function baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n\n return result;\n }\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n\n\n function baseToPairs(object, props) {\n return arrayMap(props, function (key) {\n return [key, object[key]];\n });\n }\n /**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\n\n\n function baseUnary(func) {\n return function (value) {\n return func(value);\n };\n }\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n\n\n function baseValues(object, props) {\n return arrayMap(props, function (key) {\n return object[key];\n });\n }\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\n\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n\n\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n\n return index;\n }\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n\n\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n\n return index;\n }\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n\n\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n\n return result;\n }\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n\n\n var deburrLetter = basePropertyOf(deburredLetters);\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n /**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n\n\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n\n\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n\n\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n\n\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n\n return result;\n }\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n\n\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n map.forEach(function (value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\n /**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\n\n\n function overArg(func, transform) {\n return function (arg) {\n return func(transform(arg));\n };\n }\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n\n\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n\n return result;\n }\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n\n\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n set.forEach(function (value) {\n result[++index] = value;\n });\n return result;\n }\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n\n\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n set.forEach(function (value) {\n result[++index] = [value, value];\n });\n return result;\n }\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n\n return -1;\n }\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n\n return index;\n }\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n\n\n function stringSize(string) {\n return hasUnicode(string) ? unicodeSize(string) : asciiSize(string);\n }\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n\n\n function stringToArray(string) {\n return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);\n }\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n\n\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n\n while (reUnicode.test(string)) {\n ++result;\n }\n\n return result;\n }\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n\n\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n\n\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n\n\n var runInContext = function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n /** Built-in constructor references. */\n\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n /** Used for built-in method references. */\n\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n /** Used to detect overreaching core-js shims. */\n\n var coreJsData = context['__core-js_shared__'];\n /** Used to resolve the decompiled source of functions. */\n\n var funcToString = funcProto.toString;\n /** Used to check objects for own properties. */\n\n var hasOwnProperty = objectProto.hasOwnProperty;\n /** Used to generate unique IDs. */\n\n var idCounter = 0;\n /** Used to detect methods masquerading as native. */\n\n var maskSrcKey = function () {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? 'Symbol(src)_1.' + uid : '';\n }();\n /**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n\n\n var nativeObjectToString = objectProto.toString;\n /** Used to infer the `Object` constructor. */\n\n var objectCtorString = funcToString.call(Object);\n /** Used to restore the original `_` reference in `_.noConflict`. */\n\n var oldDash = root._;\n /** Used to detect if a method is native. */\n\n var reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&').replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n /** Built-in value references. */\n\n var Buffer = moduleExports ? context.Buffer : undefined,\n _Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = _Symbol ? _Symbol.isConcatSpreadable : undefined,\n symIterator = _Symbol ? _Symbol.iterator : undefined,\n symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;\n\n var defineProperty = function () {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }();\n /** Mocked built-ins. */\n\n\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n /* Built-in method references for those with the same name as other `lodash` methods. */\n\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n /* Built-in method references that are verified to be native. */\n\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n /** Used to store function metadata. */\n\n var metaMap = WeakMap && new WeakMap();\n /** Used to lookup unminified function names. */\n\n var realNames = {};\n /** Used to detect maps, sets, and weakmaps. */\n\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n /** Used to convert symbols to primitives and strings. */\n\n var symbolProto = _Symbol ? _Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n\n return new LodashWrapper(value);\n }\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n\n\n var baseCreate = function () {\n function object() {}\n\n return function (proto) {\n if (!isObject(proto)) {\n return {};\n }\n\n if (objectCreate) {\n return objectCreate(proto);\n }\n\n object.prototype = proto;\n var result = new object();\n object.prototype = undefined;\n return result;\n };\n }();\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n\n\n function baseLodash() {// No operation performed.\n }\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n\n\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n\n\n lodash.templateSettings = {\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n }; // Ensure wrappers are instances of `baseLodash`.\n\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n\n\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n\n\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n\n return result;\n }\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n\n\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : start - 1,\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || !isRight && arrLength == length && takeCount == length) {\n return baseWrapperValue(array, this.__actions__);\n }\n\n var result = [];\n\n outer: while (length-- && resIndex < takeCount) {\n index += dir;\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n\n result[resIndex++] = value;\n }\n\n return result;\n } // Ensure `LazyWrapper` is an instance of `baseLodash`.\n\n\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n\n function Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n this.clear();\n\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n\n\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\n /**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n\n\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\n /**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n\n\n function hashGet(key) {\n var data = this.__data__;\n\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n }\n /**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\n\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n }\n /**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n\n\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = nativeCreate && value === undefined ? HASH_UNDEFINED : value;\n return this;\n } // Add methods to `Hash`.\n\n\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n\n function ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n this.clear();\n\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n\n\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\n /**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n\n\n function listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n\n var lastIndex = data.length - 1;\n\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n\n --this.size;\n return true;\n }\n /**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n\n\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n return index < 0 ? undefined : data[index][1];\n }\n /**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\n\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\n /**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n\n\n function listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n\n return this;\n } // Add methods to `ListCache`.\n\n\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n\n function MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n this.clear();\n\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n\n\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash(),\n 'map': new (Map || ListCache)(),\n 'string': new Hash()\n };\n }\n /**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n\n\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\n /**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n\n\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\n /**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\n\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\n /**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n\n\n function mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n } // Add methods to `MapCache`.\n\n\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n this.__data__ = new MapCache();\n\n while (++index < length) {\n this.add(values[index]);\n }\n }\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n\n\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n\n return this;\n }\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n\n\n function setCacheHas(value) {\n return this.__data__.has(value);\n } // Add methods to `SetCache`.\n\n\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n\n\n function stackClear() {\n this.__data__ = new ListCache();\n this.size = 0;\n }\n /**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n\n\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n this.size = data.size;\n return result;\n }\n /**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n\n\n function stackGet(key) {\n return this.__data__.get(key);\n }\n /**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\n\n function stackHas(key) {\n return this.__data__.has(key);\n }\n /**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n\n\n function stackSet(key, value) {\n var data = this.__data__;\n\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n\n if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n\n data = this.__data__ = new MapCache(pairs);\n }\n\n data.set(key, value);\n this.size = data.size;\n return this;\n } // Add methods to `Stack`.\n\n\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && ( // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' || // Node.js 0.10 has enumerable non-index properties on buffers.\n isBuff && (key == 'offset' || key == 'parent') || // PhantomJS 2 has enumerable non-index properties on typed arrays.\n isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset') || // Skip index properties.\n isIndex(key, length)))) {\n result.push(key);\n }\n }\n\n return result;\n }\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n\n\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n\n\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n\n\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\n /**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n\n\n function assignMergeValue(object, key, value) {\n if (value !== undefined && !eq(object[key], value) || value === undefined && !(key in object)) {\n baseAssignValue(object, key, value);\n }\n }\n /**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n\n\n function assignValue(object, key, value) {\n var objValue = object[key];\n\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === undefined && !(key in object)) {\n baseAssignValue(object, key, value);\n }\n }\n /**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\n function assocIndexOf(array, key) {\n var length = array.length;\n\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n\n return -1;\n }\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n\n\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function (value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n\n\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n\n\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\n /**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n\n\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n\n\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n\n return result;\n }\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n\n\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n\n return number;\n }\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n\n\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n\n if (result !== undefined) {\n return result;\n }\n\n if (!isObject(value)) {\n return value;\n }\n\n var isArr = isArray(value);\n\n if (isArr) {\n result = initCloneArray(value);\n\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n\n if (tag == objectTag || tag == argsTag || isFunc && !object) {\n result = isFlat || isFunc ? {} : initCloneObject(value);\n\n if (!isDeep) {\n return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n\n result = initCloneByTag(value, tag, isDeep);\n }\n } // Check for circular references and return its corresponding clone.\n\n\n stack || (stack = new Stack());\n var stacked = stack.get(value);\n\n if (stacked) {\n return stacked;\n }\n\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function (subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function (subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys;\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function (subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n } // Recursively populate clone (susceptible to call stack limits).\n\n\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n\n\n function baseConforms(source) {\n var props = keys(source);\n return function (object) {\n return baseConformsTo(object, source, props);\n };\n }\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n\n\n function baseConformsTo(object, source, props) {\n var length = props.length;\n\n if (object == null) {\n return !length;\n }\n\n object = Object(object);\n\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if (value === undefined && !(key in object) || !predicate(value)) {\n return false;\n }\n }\n\n return true;\n }\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n\n\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n return setTimeout(function () {\n func.apply(undefined, args);\n }, wait);\n }\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n\n\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n } else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n\n outer: while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n value = comparator || value !== 0 ? value : 0;\n\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n\n result.push(value);\n } else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n\n\n var baseEach = createBaseEach(baseForOwn);\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function (value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n\n\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined ? current === current && !isSymbol(current) : comparator(current, computed))) {\n var computed = current,\n result = value;\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n\n\n function baseFill(array, value, start, end) {\n var length = array.length;\n start = toInteger(start);\n\n if (start < 0) {\n start = -start > length ? 0 : length + start;\n }\n\n end = end === undefined || end > length ? length : toInteger(end);\n\n if (end < 0) {\n end += length;\n }\n\n end = start > end ? 0 : toLength(end);\n\n while (start < end) {\n array[start++] = value;\n }\n\n return array;\n }\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n\n\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function (value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n\n\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n\n\n var baseFor = createBaseFor();\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n\n var baseForRight = createBaseFor(true);\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n\n\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n\n\n function baseFunctions(object, props) {\n return arrayFilter(props, function (key) {\n return isFunction(object[key]);\n });\n }\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n\n\n function baseGet(object, path) {\n path = castPath(path, object);\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n\n return index && index == length ? object : undefined;\n }\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n\n\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\n /**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n\n\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n\n return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);\n }\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n\n\n function baseGt(value, other) {\n return value > other;\n }\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n\n\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n\n\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n\n\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n\n\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || length >= 120 && array.length >= 120) ? new SetCache(othIndex && array) : undefined;\n }\n\n array = arrays[0];\n var index = -1,\n seen = caches[0];\n\n outer: while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n value = comparator || value !== 0 ? value : 0;\n\n if (!(seen ? cacheHas(seen, computed) : includes(result, computed, comparator))) {\n othIndex = othLength;\n\n while (--othIndex) {\n var cache = caches[othIndex];\n\n if (!(cache ? cacheHas(cache, computed) : includes(arrays[othIndex], computed, comparator))) {\n continue outer;\n }\n }\n\n if (seen) {\n seen.push(computed);\n }\n\n result.push(value);\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n\n\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function (value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n\n\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\n /**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n\n\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n\n\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n\n\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n\n\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n\n if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {\n return value !== value && other !== other;\n }\n\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n\n\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n\n objIsArr = true;\n objIsObj = false;\n }\n\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack());\n return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n stack || (stack = new Stack());\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n\n if (!isSameTag) {\n return false;\n }\n\n stack || (stack = new Stack());\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n\n\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n\n\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n\n object = Object(object);\n\n while (index--) {\n var data = matchData[index];\n\n if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {\n return false;\n }\n }\n\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack();\n\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n\n if (!(result === undefined ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) : result)) {\n return false;\n }\n }\n }\n\n return true;\n }\n /**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n\n\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n\n\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n\n\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\n /**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n\n\n function baseIsTypedArray(value) {\n return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n\n\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n\n if (value == null) {\n return identity;\n }\n\n if (_typeof(value) == 'object') {\n return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);\n }\n\n return property(value);\n }\n /**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n\n\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n\n var result = [];\n\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n\n\n function baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n\n\n function baseLt(value, other) {\n return value < other;\n }\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n\n\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n baseEach(collection, function (value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n\n\n function baseMatches(source) {\n var matchData = getMatchData(source);\n\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n\n return function (object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n\n\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n\n return function (object) {\n var objValue = get(object, path);\n return objValue === undefined && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\n /**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n\n\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n\n baseFor(source, function (srcValue, key) {\n stack || (stack = new Stack());\n\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n } else {\n var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + '', object, source, stack) : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n }\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n\n\n function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n\n var newValue = customizer ? customizer(objValue, srcValue, key + '', object, source, stack) : undefined;\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n newValue = srcValue;\n\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n } else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n } else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n } else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n } else {\n newValue = [];\n }\n } else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n } else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n } else {\n isCommon = false;\n }\n }\n\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n\n assignMergeValue(object, key, newValue);\n }\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n\n\n function baseNth(array, n) {\n var length = array.length;\n\n if (!length) {\n return;\n }\n\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n\n\n function baseOrderBy(collection, iteratees, orders) {\n var index = -1;\n iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(getIteratee()));\n var result = baseMap(collection, function (value, key, collection) {\n var criteria = arrayMap(iteratees, function (iteratee) {\n return iteratee(value);\n });\n return {\n 'criteria': criteria,\n 'index': ++index,\n 'value': value\n };\n });\n return baseSortBy(result, function (object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n\n\n function basePick(object, paths) {\n return basePickBy(object, paths, function (value, path) {\n return hasIn(object, path);\n });\n }\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n\n\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n\n return result;\n }\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n\n\n function basePropertyDeep(path) {\n return function (object) {\n return baseGet(object, path);\n };\n }\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n\n\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n\n splice.call(array, fromIndex, 1);\n }\n }\n\n return array;\n }\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n\n\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n\n if (length == lastIndex || index !== previous) {\n var previous = index;\n\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n\n return array;\n }\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n\n\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n\n\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n\n return result;\n }\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n\n\n function baseRepeat(string, n) {\n var result = '';\n\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n } // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n\n\n do {\n if (n % 2) {\n result += string;\n }\n\n n = nativeFloor(n / 2);\n\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\n /**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\n\n\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n\n\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n\n\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n\n\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n\n path = castPath(path, object);\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n\n if (newValue === undefined) {\n newValue = isObject(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};\n }\n }\n\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n\n return object;\n }\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n\n\n var baseSetData = !metaMap ? identity : function (func, data) {\n metaMap.set(func, data);\n return func;\n };\n /**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n\n var baseSetToString = !defineProperty ? identity : function (func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n\n\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : length + start;\n }\n\n end = end > length ? length : end;\n\n if (end < 0) {\n end += length;\n }\n\n length = start > end ? 0 : end - start >>> 0;\n start >>>= 0;\n var result = Array(length);\n\n while (++index < length) {\n result[index] = array[index + start];\n }\n\n return result;\n }\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n\n\n function baseSome(collection, predicate) {\n var result;\n baseEach(collection, function (value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n\n\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = low + high >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) && (retHighest ? computed <= value : computed < value)) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n\n return high;\n }\n\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n\n\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n value = iteratee(value);\n var low = 0,\n high = array == null ? 0 : array.length,\n valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? computed <= value : computed < value;\n }\n\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n\n\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n\n\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n\n if (isSymbol(value)) {\n return NAN;\n }\n\n return +value;\n }\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n\n\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n\n var result = value + '';\n return result == '0' && 1 / value == -INFINITY ? '-0' : result;\n }\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n\n\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n } else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n\n if (set) {\n return setToArray(set);\n }\n\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache();\n } else {\n seen = iteratee ? [] : result;\n }\n\n outer: while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n value = comparator || value !== 0 ? value : 0;\n\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n\n if (iteratee) {\n seen.push(computed);\n }\n\n result.push(value);\n } else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n\n result.push(value);\n }\n }\n\n return result;\n }\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n\n\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n\n\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n\n\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) {}\n\n return isDrop ? baseSlice(array, fromRight ? 0 : index, fromRight ? index + 1 : length) : baseSlice(array, fromRight ? index + 1 : 0, fromRight ? length : index);\n }\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n\n\n function baseWrapperValue(value, actions) {\n var result = value;\n\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n\n return arrayReduce(actions, function (result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n\n\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n\n\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n\n return result;\n }\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n\n\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n\n\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n\n\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n\n\n var castRest = baseRest;\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return !start && end >= length ? array : baseSlice(array, start, end);\n }\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n\n\n var clearTimeout = ctxClearTimeout || function (id) {\n return root.clearTimeout(id);\n };\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n\n\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n buffer.copy(result);\n return result;\n }\n /**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n\n\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n\n\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n\n\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n\n\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\n /**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n\n\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n\n\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if (!othIsNull && !othIsSymbol && !valIsSymbol && value > other || valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol || valIsNull && othIsDefined && othIsReflexive || !valIsDefined && othIsReflexive || !valIsReflexive) {\n return 1;\n }\n\n if (!valIsNull && !valIsSymbol && !othIsSymbol && value < other || othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol || othIsNull && valIsDefined && valIsReflexive || !othIsDefined && valIsReflexive || !othIsReflexive) {\n return -1;\n }\n }\n\n return 0;\n }\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n\n\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n } // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n\n\n return object.index - other.index;\n }\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n\n\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n\n return result;\n }\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n\n\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n\n var offset = argsIndex;\n\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n\n return result;\n }\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n\n\n function copyArray(source, array) {\n var index = -1,\n length = source.length;\n array || (array = Array(length));\n\n while (++index < length) {\n array[index] = source[index];\n }\n\n return array;\n }\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\n\n\n function copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n var newValue = customizer ? customizer(object[key], source[key], key, object, source) : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n\n return object;\n }\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n\n\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n\n\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n\n\n function createAggregator(setter, initializer) {\n return function (collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\n /**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n\n\n function createAssigner(assigner) {\n return baseRest(function (object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n customizer = assigner.length > 3 && typeof customizer == 'function' ? (length--, customizer) : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n\n object = Object(object);\n\n while (++index < length) {\n var source = sources[index];\n\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n\n return object;\n });\n }\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n\n\n function createBaseEach(eachFunc, fromRight) {\n return function (collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while (fromRight ? index-- : ++index < length) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n\n return collection;\n };\n }\n /**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n\n\n function createBaseFor(fromRight) {\n return function (object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n\n return object;\n };\n }\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = this && this !== root && this instanceof wrapper ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n\n return wrapper;\n }\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n\n\n function createCaseFirst(methodName) {\n return function (string) {\n string = toString(string);\n var strSymbols = hasUnicode(string) ? stringToArray(string) : undefined;\n var chr = strSymbols ? strSymbols[0] : string.charAt(0);\n var trailing = strSymbols ? castSlice(strSymbols, 1).join('') : string.slice(1);\n return chr[methodName]() + trailing;\n };\n }\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n\n\n function createCompounder(callback) {\n return function (string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createCtor(Ctor) {\n return function () {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n\n switch (args.length) {\n case 0:\n return new Ctor();\n\n case 1:\n return new Ctor(args[0]);\n\n case 2:\n return new Ctor(args[0], args[1]);\n\n case 3:\n return new Ctor(args[0], args[1], args[2]);\n\n case 4:\n return new Ctor(args[0], args[1], args[2], args[3]);\n\n case 5:\n return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n\n case 6:\n return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n\n case 7:\n return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args); // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n\n return isObject(result) ? result : thisBinding;\n };\n }\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n\n var holders = length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder ? [] : replaceHolders(args, placeholder);\n length -= holders.length;\n\n if (length < arity) {\n return createRecurry(func, bitmask, createHybrid, wrapper.placeholder, undefined, args, holders, undefined, undefined, arity - length);\n }\n\n var fn = this && this !== root && this instanceof wrapper ? Ctor : func;\n return apply(fn, this, args);\n }\n\n return wrapper;\n }\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n\n\n function createFind(findIndexFunc) {\n return function (collection, predicate, fromIndex) {\n var iterable = Object(collection);\n\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n\n predicate = function predicate(key) {\n return iteratee(iterable[key], key, iterable);\n };\n }\n\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n\n\n function createFlow(fromRight) {\n return flatRest(function (funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n\n while (index--) {\n var func = funcs[index];\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n\n index = wrapper ? index : length;\n\n while (++index < length) {\n func = funcs[index];\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) && data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && !data[4].length && data[9] == 1) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = func.length == 1 && isLaziable(func) ? wrapper[funcName]() : wrapper.thru(func);\n }\n }\n\n return function () {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n\n return result;\n };\n });\n }\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n\n length -= holdersCount;\n\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(func, bitmask, createHybrid, wrapper.placeholder, thisArg, args, newHolders, argPos, ary, arity - length);\n }\n\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n length = args.length;\n\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n\n if (isAry && ary < length) {\n args.length = ary;\n }\n\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n\n return fn.apply(thisBinding, args);\n }\n\n return wrapper;\n }\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n\n\n function createInverter(setter, toIteratee) {\n return function (object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n\n\n function createMathOperation(operator, defaultValue) {\n return function (value, other) {\n var result;\n\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n\n if (value !== undefined) {\n result = value;\n }\n\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n\n result = operator(value, other);\n }\n\n return result;\n };\n }\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n\n\n function createOver(arrayFunc) {\n return flatRest(function (iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function (args) {\n var thisArg = this;\n return arrayFunc(iteratees, function (iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n\n\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n var charsLength = chars.length;\n\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars) ? castSlice(stringToArray(result), 0, length).join('') : result.slice(0, length);\n }\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = this && this !== root && this instanceof wrapper ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n\n return apply(fn, isBind ? thisArg : this, args);\n }\n\n return wrapper;\n }\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n\n\n function createRange(fromRight) {\n return function (start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n } // Ensure the sign of `-0` is preserved.\n\n\n start = toFinite(start);\n\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n\n step = step === undefined ? start < end ? 1 : -1 : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n\n\n function createRelationalOperation(operator) {\n return function (value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n\n return operator(value, other);\n };\n }\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n bitmask |= isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG;\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n\n var newData = [func, bitmask, thisArg, newPartials, newHolders, newPartialsRight, newHoldersRight, argPos, ary, arity];\n var result = wrapFunc.apply(undefined, newData);\n\n if (isLaziable(func)) {\n setData(result, newData);\n }\n\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n\n\n function createRound(methodName) {\n var func = Math[methodName];\n return function (number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n\n if (precision && nativeIsFinite(number)) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n\n return func(number);\n };\n }\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n\n\n var createSet = !(Set && 1 / setToArray(new Set([, -0]))[1] == INFINITY) ? noop : function (values) {\n return new Set(values);\n };\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n\n function createToPairs(keysFunc) {\n return function (object) {\n var tag = getTag(object);\n\n if (tag == mapTag) {\n return mapToArray(object);\n }\n\n if (tag == setTag) {\n return setToPairs(object);\n }\n\n return baseToPairs(object, keysFunc(object));\n };\n }\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n\n\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n var length = partials ? partials.length : 0;\n\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n partials = holders = undefined;\n }\n\n var data = isBindKey ? undefined : getData(func);\n var newData = [func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity];\n\n if (data) {\n mergeData(newData, data);\n }\n\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined ? isBindKey ? 0 : func.length : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n\n\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined || eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key)) {\n return srcValue;\n }\n\n return objValue;\n }\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n\n\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n\n return objValue;\n }\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n\n\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n\n\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n } // Assume cyclic values are equal.\n\n\n var stacked = stack.get(array);\n\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n\n var index = -1,\n result = true,\n seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : undefined;\n stack.set(array, other);\n stack.set(other, array); // Ignore non-index properties.\n\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);\n }\n\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n\n result = false;\n break;\n } // Recursively compare arrays (susceptible to call stack limits).\n\n\n if (seen) {\n if (!arraySome(other, function (othValue, othIndex) {\n if (!cacheHas(seen, othIndex) && (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n result = false;\n break;\n }\n }\n\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n\n\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {\n return false;\n }\n\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == other + '';\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n } // Assume cyclic values are equal.\n\n\n var stacked = stack.get(object);\n\n if (stacked) {\n return stacked == other;\n }\n\n bitmask |= COMPARE_UNORDERED_FLAG; // Recursively compare objects (susceptible to call stack limits).\n\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n\n }\n\n return false;\n }\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n\n\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n\n var index = objLength;\n\n while (index--) {\n var key = objProps[index];\n\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n } // Assume cyclic values are equal.\n\n\n var stacked = stack.get(object);\n\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n var skipCtor = isPartial;\n\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);\n } // Recursively compare objects (susceptible to call stack limits).\n\n\n if (!(compared === undefined ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {\n result = false;\n break;\n }\n\n skipCtor || (skipCtor = key == 'constructor');\n }\n\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor; // Non `Object` object instances with different constructors are not equal.\n\n if (objCtor != othCtor && 'constructor' in object && 'constructor' in other && !(typeof objCtor == 'function' && objCtor instanceof objCtor && typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n\n\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n\n\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n\n\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n\n\n var getData = !metaMap ? noop : function (func) {\n return metaMap.get(func);\n };\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n\n function getFuncName(func) {\n var result = func.name + '',\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n\n return result;\n }\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n\n\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n\n\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\n /**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n\n\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key) ? data[typeof key == 'string' ? 'string' : 'hash'] : data.map;\n }\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n\n\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n result[length] = [key, value, isStrictComparable(value)];\n }\n\n return result;\n }\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n\n\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\n /**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n\n\n function getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n\n return result;\n }\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n\n\n var getSymbols = !nativeGetSymbols ? stubArray : function (object) {\n if (object == null) {\n return [];\n }\n\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function (symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function (object) {\n var result = [];\n\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n\n return result;\n };\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n\n var getTag = baseGetTag; // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n\n if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise && getTag(Promise.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {\n getTag = function getTag(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString:\n return dataViewTag;\n\n case mapCtorString:\n return mapTag;\n\n case promiseCtorString:\n return promiseTag;\n\n case setCtorString:\n return setTag;\n\n case weakMapCtorString:\n return weakMapTag;\n }\n }\n\n return result;\n };\n }\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n\n\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop':\n start += size;\n break;\n\n case 'dropRight':\n end -= size;\n break;\n\n case 'take':\n end = nativeMin(end, start + size);\n break;\n\n case 'takeRight':\n start = nativeMax(start, end - size);\n break;\n }\n }\n\n return {\n 'start': start,\n 'end': end\n };\n }\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n\n\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n\n\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n\n object = object[key];\n }\n\n if (result || ++index != length) {\n return result;\n }\n\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));\n }\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n\n\n function initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length); // Add properties assigned by `RegExp#exec`.\n\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n\n return result;\n }\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n\n\n function initCloneObject(object) {\n return typeof object.constructor == 'function' && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};\n }\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n\n\n function initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag:\n case float64Tag:\n case int8Tag:\n case int16Tag:\n case int32Tag:\n case uint8Tag:\n case uint8ClampedTag:\n case uint16Tag:\n case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor();\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor();\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n\n\n function insertWrapDetails(source, details) {\n var length = details.length;\n\n if (!length) {\n return source;\n }\n\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n\n\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n\n\n function isIndex(value, length) {\n var type = _typeof(value);\n\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length && (type == 'number' || type != 'symbol' && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;\n }\n /**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\n\n\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n\n var type = _typeof(index);\n\n if (type == 'number' ? isArrayLike(object) && isIndex(index, object.length) : type == 'string' && index in object) {\n return eq(object[index], value);\n }\n\n return false;\n }\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n\n\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n\n var type = _typeof(value);\n\n if (type == 'number' || type == 'symbol' || type == 'boolean' || value == null || isSymbol(value)) {\n return true;\n }\n\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);\n }\n /**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\n\n\n function isKeyable(value) {\n var type = _typeof(value);\n\n return type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean' ? value !== '__proto__' : value === null;\n }\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n\n\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n\n if (func === other) {\n return true;\n }\n\n var data = getData(other);\n return !!data && func === data[0];\n }\n /**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n\n\n function isMasked(func) {\n return !!maskSrcKey && maskSrcKey in func;\n }\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n\n\n var isMaskable = coreJsData ? isFunction : stubFalse;\n /**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = typeof Ctor == 'function' && Ctor.prototype || objectProto;\n return value === proto;\n }\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n\n\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n\n\n function matchesStrictComparable(key, srcValue) {\n return function (object) {\n if (object == null) {\n return false;\n }\n\n return object[key] === srcValue && (srcValue !== undefined || key in Object(object));\n };\n }\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n\n\n function memoizeCapped(func) {\n var result = memoize(func, function (key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n\n return key;\n });\n var cache = result.cache;\n return result;\n }\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n\n\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n var isCombo = srcBitmask == WRAP_ARY_FLAG && bitmask == WRAP_CURRY_FLAG || srcBitmask == WRAP_ARY_FLAG && bitmask == WRAP_REARG_FLAG && data[7].length <= source[8] || srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG) && source[7].length <= source[8] && bitmask == WRAP_CURRY_FLAG; // Exit early if metadata can't be merged.\n\n if (!(isCommon || isCombo)) {\n return data;\n } // Use source `thisArg` if available.\n\n\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2]; // Set when currying a bound function.\n\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n } // Compose partial arguments.\n\n\n var value = source[3];\n\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n } // Compose partial right arguments.\n\n\n value = source[5];\n\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n } // Use source `argPos` if available.\n\n\n value = source[7];\n\n if (value) {\n data[7] = value;\n } // Use source `ary` if it's smaller.\n\n\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n } // Use source `arity` if one is not provided.\n\n\n if (data[9] == null) {\n data[9] = source[9];\n } // Use source `func` and merge bitmasks.\n\n\n data[0] = source[0];\n data[1] = newBitmask;\n return data;\n }\n /**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n\n\n function nativeKeysIn(object) {\n var result = [];\n\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n\n return result;\n }\n /**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n\n\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\n /**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\n\n\n function overRest(func, start, transform) {\n start = nativeMax(start === undefined ? func.length - 1 : start, 0);\n return function () {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n\n index = -1;\n var otherArgs = Array(start + 1);\n\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n }\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n\n\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n\n\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n\n return array;\n }\n /**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n\n\n function safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n }\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n\n\n var setData = shortOut(baseSetData);\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n\n var setTimeout = ctxSetTimeout || function (func, wait) {\n return root.setTimeout(func, wait);\n };\n /**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n\n\n var setToString = shortOut(baseSetToString);\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n\n function setWrapToString(wrapper, reference, bitmask) {\n var source = reference + '';\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n\n\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n return function () {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n lastCalled = stamp;\n\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n\n return func.apply(undefined, arguments);\n };\n }\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n\n\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n size = size === undefined ? length : size;\n\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n array[rand] = array[index];\n array[index] = value;\n }\n\n array.length = size;\n return array;\n }\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n\n\n var stringToPath = memoizeCapped(function (string) {\n var result = [];\n\n if (string.charCodeAt(0) === 46\n /* . */\n ) {\n result.push('');\n }\n\n string.replace(rePropName, function (match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : number || match);\n });\n return result;\n });\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n\n var result = value + '';\n return result == '0' && 1 / value == -INFINITY ? '-0' : result;\n }\n /**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n\n\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n\n try {\n return func + '';\n } catch (e) {}\n }\n\n return '';\n }\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n\n\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function (pair) {\n var value = '_.' + pair[0];\n\n if (bitmask & pair[1] && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n\n\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n\n\n function chunk(array, size, guard) {\n if (guard ? isIterateeCall(array, size, guard) : size === undefined) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n\n var length = array == null ? 0 : array.length;\n\n if (!length || size < 1) {\n return [];\n }\n\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, index += size);\n }\n\n return result;\n }\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n\n\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n\n if (value) {\n result[resIndex++] = value;\n }\n }\n\n return result;\n }\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n\n\n function concat() {\n var length = arguments.length;\n\n if (!length) {\n return [];\n }\n\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n\n\n var difference = baseRest(function (array, values) {\n return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true)) : [];\n });\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n\n var differenceBy = baseRest(function (array, values) {\n var iteratee = last(values);\n\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n\n return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)) : [];\n });\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n\n var differenceWith = baseRest(function (array, values) {\n var comparator = last(values);\n\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n\n return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator) : [];\n });\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return [];\n }\n\n n = guard || n === undefined ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n\n\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return [];\n }\n\n n = guard || n === undefined ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n\n\n function dropRightWhile(array, predicate) {\n return array && array.length ? baseWhile(array, getIteratee(predicate, 3), true, true) : [];\n }\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n\n\n function dropWhile(array, predicate) {\n return array && array.length ? baseWhile(array, getIteratee(predicate, 3), true) : [];\n }\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n\n\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return [];\n }\n\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n\n return baseFill(array, value, start, end);\n }\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n\n\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return -1;\n }\n\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n\n\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return -1;\n }\n\n var index = length - 1;\n\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n\n\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n\n\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n\n\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return [];\n }\n\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n\n\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n\n return result;\n }\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n\n\n function head(array) {\n return array && array.length ? array[0] : undefined;\n }\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n\n\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return -1;\n }\n\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n\n return baseIndexOf(array, value, index);\n }\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n\n\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n\n\n var intersection = baseRest(function (arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped) : [];\n });\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n\n var intersectionBy = baseRest(function (arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n\n return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, getIteratee(iteratee, 2)) : [];\n });\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n\n var intersectionWith = baseRest(function (arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n\n if (comparator) {\n mapped.pop();\n }\n\n return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, undefined, comparator) : [];\n });\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n\n\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n\n\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return -1;\n }\n\n var index = length;\n\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n\n return value === value ? strictLastIndexOf(array, value, index) : baseFindIndex(array, baseIsNaN, index, true);\n }\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n\n\n function nth(array, n) {\n return array && array.length ? baseNth(array, toInteger(n)) : undefined;\n }\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n\n\n var pull = baseRest(pullAll);\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n\n function pullAll(array, values) {\n return array && array.length && values && values.length ? basePullAll(array, values) : array;\n }\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n\n\n function pullAllBy(array, values, iteratee) {\n return array && array.length && values && values.length ? basePullAll(array, values, getIteratee(iteratee, 2)) : array;\n }\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n\n\n function pullAllWith(array, values, comparator) {\n return array && array.length && values && values.length ? basePullAll(array, values, undefined, comparator) : array;\n }\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n\n\n var pullAt = flatRest(function (array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n basePullAt(array, arrayMap(indexes, function (index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n return result;\n });\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n\n function remove(array, predicate) {\n var result = [];\n\n if (!(array && array.length)) {\n return result;\n }\n\n var index = -1,\n indexes = [],\n length = array.length;\n predicate = getIteratee(predicate, 3);\n\n while (++index < length) {\n var value = array[index];\n\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n\n basePullAt(array, indexes);\n return result;\n }\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n\n\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n\n\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return [];\n }\n\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n } else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n\n return baseSlice(array, start, end);\n }\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n\n\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n\n\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n\n\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n\n if (length) {\n var index = baseSortedIndex(array, value);\n\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n\n return -1;\n }\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n\n\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n\n\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n\n\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n\n if (eq(array[index], value)) {\n return index;\n }\n }\n\n return -1;\n }\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n\n\n function sortedUniq(array) {\n return array && array.length ? baseSortedUniq(array) : [];\n }\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n\n\n function sortedUniqBy(array, iteratee) {\n return array && array.length ? baseSortedUniq(array, getIteratee(iteratee, 2)) : [];\n }\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n\n\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n\n\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n\n n = guard || n === undefined ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n\n\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n\n if (!length) {\n return [];\n }\n\n n = guard || n === undefined ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n\n\n function takeRightWhile(array, predicate) {\n return array && array.length ? baseWhile(array, getIteratee(predicate, 3), false, true) : [];\n }\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n\n\n function takeWhile(array, predicate) {\n return array && array.length ? baseWhile(array, getIteratee(predicate, 3)) : [];\n }\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n\n\n var union = baseRest(function (arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n\n var unionBy = baseRest(function (arrays) {\n var iteratee = last(arrays);\n\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n\n var unionWith = baseRest(function (arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n\n function uniq(array) {\n return array && array.length ? baseUniq(array) : [];\n }\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n\n\n function uniqBy(array, iteratee) {\n return array && array.length ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n\n\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return array && array.length ? baseUniq(array, undefined, comparator) : [];\n }\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n\n\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n\n var length = 0;\n array = arrayFilter(array, function (group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function (index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n\n\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n\n var result = unzip(array);\n\n if (iteratee == null) {\n return result;\n }\n\n return arrayMap(result, function (group) {\n return apply(iteratee, undefined, group);\n });\n }\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n\n\n var without = baseRest(function (array, values) {\n return isArrayLikeObject(array) ? baseDifference(array, values) : [];\n });\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n\n var xor = baseRest(function (arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n\n var xorBy = baseRest(function (arrays) {\n var iteratee = last(arrays);\n\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n\n var xorWith = baseRest(function (arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n\n var zip = baseRest(unzip);\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n\n\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n\n\n var zipWith = baseRest(function (arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n\n\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n\n\n function thru(value, interceptor) {\n return interceptor(value);\n }\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n\n\n var wrapperAt = flatRest(function (paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function interceptor(object) {\n return baseAt(object, paths);\n };\n\n if (length > 1 || this.__actions__.length || !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n\n value = value.slice(start, +start + (length ? 1 : 0));\n\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n\n return new LodashWrapper(value, this.__chain__).thru(function (array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n\n return array;\n });\n });\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n\n function wrapperChain() {\n return chain(this);\n }\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n\n\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n\n\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n return {\n 'done': done,\n 'value': value\n };\n }\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n\n\n function wrapperToIterator() {\n return this;\n }\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n\n\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n\n var previous = clone;\n parent = parent.__wrapped__;\n }\n\n previous.__wrapped__ = value;\n return result;\n }\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n\n\n function wrapperReverse() {\n var value = this.__wrapped__;\n\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n\n wrapped = wrapped.reverse();\n\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n\n return new LodashWrapper(wrapped, this.__chain__);\n }\n\n return this.thru(reverse);\n }\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n\n\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n\n\n var countBy = createAggregator(function (result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n\n return func(collection, getIteratee(predicate, 3));\n }\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n */\n\n\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n\n\n var find = createFind(findIndex);\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n\n var findLast = createFind(findLastIndex);\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n\n\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n\n\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n\n\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n\n\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n\n\n var groupBy = createAggregator(function (result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = fromIndex && !guard ? toInteger(fromIndex) : 0;\n var length = collection.length;\n\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n\n return isString(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;\n }\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n\n\n var invokeMap = baseRest(function (collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n baseEach(collection, function (value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n\n var keyBy = createAggregator(function (result, value, key) {\n baseAssignValue(result, key, value);\n });\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n\n\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n\n orders = guard ? undefined : orders;\n\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n\n return baseOrderBy(collection, iteratees, orders);\n }\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n\n\n var partition = createAggregator(function (result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function () {\n return [[], []];\n });\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n\n\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n\n\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n\n\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n\n\n function sampleSize(collection, n, guard) {\n if (guard ? isIterateeCall(collection, n, guard) : n === undefined) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n\n\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n\n\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n\n var tag = getTag(collection);\n\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n\n return baseKeys(collection).length;\n }\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n\n\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n\n return func(collection, getIteratee(predicate, 3));\n }\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]\n */\n\n\n var sortBy = baseRest(function (collection, iteratees) {\n if (collection == null) {\n return [];\n }\n\n var length = iteratees.length;\n\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n\n var now = ctxNow || function () {\n return root.Date.now();\n };\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n\n\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n n = toInteger(n);\n return function () {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n\n\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = func && n == null ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n\n\n function before(n, func) {\n var result;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n n = toInteger(n);\n return function () {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n\n if (n <= 1) {\n func = undefined;\n }\n\n return result;\n };\n }\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n\n\n var bind = baseRest(function (func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n\n var bindKey = baseRest(function (object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n\n return createWrap(key, bitmask, object, partials, holders);\n });\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n\n\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n\n\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n wait = toNumber(wait) || 0;\n\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time; // Start the timer for the trailing edge.\n\n timerId = setTimeout(timerExpired, wait); // Invoke the leading edge.\n\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime; // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n\n return lastCallTime === undefined || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;\n }\n\n function timerExpired() {\n var time = now();\n\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n } // Restart the timer.\n\n\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined; // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n\n return result;\n }\n\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n\n\n var defer = baseRest(function (func, args) {\n return baseDelay(func, 1, args);\n });\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n\n var delay = baseRest(function (func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n\n\n function memoize(func, resolver) {\n if (typeof func != 'function' || resolver != null && typeof resolver != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n var memoized = function memoized() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n\n memoized.cache = new (memoize.Cache || MapCache)();\n return memoized;\n } // Expose `MapCache`.\n\n\n memoize.Cache = MapCache;\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n return function () {\n var args = arguments;\n\n switch (args.length) {\n case 0:\n return !predicate.call(this);\n\n case 1:\n return !predicate.call(this, args[0]);\n\n case 2:\n return !predicate.call(this, args[0], args[1]);\n\n case 3:\n return !predicate.call(this, args[0], args[1], args[2]);\n }\n\n return !predicate.apply(this, args);\n };\n }\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n\n\n function once(func) {\n return before(2, func);\n }\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n\n\n var overArgs = castRest(function (func, transforms) {\n transforms = transforms.length == 1 && isArray(transforms[0]) ? arrayMap(transforms[0], baseUnary(getIteratee())) : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n var funcsLength = transforms.length;\n return baseRest(function (args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n\n return apply(func, this, args);\n });\n });\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n\n var partial = baseRest(function (func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n\n var partialRight = baseRest(function (func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n\n var rearg = flatRest(function (func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n\n\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function (args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n\n return apply(func, this, otherArgs);\n });\n }\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n\n\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n\n\n function unary(func) {\n return ary(func, 1);\n }\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '<p>' + func(text) + '</p>';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => '<p>fred, barney, & pebbles</p>'\n */\n\n\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n\n\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n\n\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n\n\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n\n\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n\n\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n\n\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\n /**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\n\n\n function eq(value, other) {\n return value === other || value !== value && other !== other;\n }\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n\n\n var gt = createRelationalOperation(baseGt);\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n\n var gte = createRelationalOperation(function (value, other) {\n return value >= other;\n });\n /**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n\n var isArguments = baseIsArguments(function () {\n return arguments;\n }()) ? baseIsArguments : function (value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && !propertyIsEnumerable.call(value, 'callee');\n };\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\n\n var isArray = Array.isArray;\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n /**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\n /**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\n\n\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n\n\n function isBoolean(value) {\n return value === true || value === false || isObjectLike(value) && baseGetTag(value) == boolTag;\n }\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n\n\n var isBuffer = nativeIsBuffer || stubFalse;\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n /**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('<body>');\n * // => false\n */\n\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n\n\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n\n if (isArrayLike(value) && (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' || isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n\n var tag = getTag(value);\n\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n\n return true;\n }\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n\n\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\n\n\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n\n\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag || typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value);\n }\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n\n\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n\n\n function isFunction(value) {\n if (!isObject(value)) {\n return false;\n } // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n\n\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n }\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n\n\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n\n\n function isLength(value) {\n return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n /**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n\n\n function isObject(value) {\n var type = _typeof(value);\n\n return value != null && (type == 'object' || type == 'function');\n }\n /**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n\n\n function isObjectLike(value) {\n return value != null && _typeof(value) == 'object';\n }\n /**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n\n\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n\n\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n\n\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n\n\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n\n return baseIsNative(value);\n }\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n\n\n function isNull(value) {\n return value === null;\n }\n /**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n\n\n function isNil(value) {\n return value == null;\n }\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n\n\n function isNumber(value) {\n return typeof value == 'number' || isObjectLike(value) && baseGetTag(value) == numberTag;\n }\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n\n\n function isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n\n var proto = getPrototype(value);\n\n if (proto === null) {\n return true;\n }\n\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;\n }\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n\n\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n /**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n\n\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n\n function isString(value) {\n return typeof value == 'string' || !isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag;\n }\n /**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n\n\n function isSymbol(value) {\n return _typeof(value) == 'symbol' || isObjectLike(value) && baseGetTag(value) == symbolTag;\n }\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n\n\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n\n function isUndefined(value) {\n return value === undefined;\n }\n /**\n * Checks if `value` is classified as a `WeakMap` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n\n\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n /**\n * Checks if `value` is classified as a `WeakSet` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n\n\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n\n\n var lt = createRelationalOperation(baseLt);\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n\n var lte = createRelationalOperation(function (value, other) {\n return value <= other;\n });\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n\n function toArray(value) {\n if (!value) {\n return [];\n }\n\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : tag == setTag ? setToArray : values;\n return func(value);\n }\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n\n\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n\n value = toNumber(value);\n\n if (value === INFINITY || value === -INFINITY) {\n var sign = value < 0 ? -1 : 1;\n return sign * MAX_INTEGER;\n }\n\n return value === value ? value : 0;\n }\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n\n\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n return result === result ? remainder ? result - remainder : result : 0;\n }\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n\n\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n\n\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n\n if (isSymbol(value)) {\n return NAN;\n }\n\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? other + '' : other;\n }\n\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;\n }\n /**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n\n\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n\n\n function toSafeInteger(value) {\n return value ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) : value === 0 ? value : 0;\n }\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n\n\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n\n\n var assign = createAssigner(function (object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n\n var assignIn = createAssigner(function (object, source) {\n copyObject(source, keysIn(source), object);\n });\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n\n var assignInWith = createAssigner(function (object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n\n var assignWith = createAssigner(function (object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n\n var at = flatRest(baseAt);\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n\n\n var defaults = baseRest(function (object, sources) {\n object = Object(object);\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined || eq(value, objectProto[key]) && !hasOwnProperty.call(object, key)) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n });\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n\n var defaultsDeep = baseRest(function (args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n\n\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n\n\n function forIn(object, iteratee) {\n return object == null ? object : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n\n\n function forInRight(object, iteratee) {\n return object == null ? object : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n\n\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n\n\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n\n\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n\n\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n\n\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n\n\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n\n\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n\n\n var invert = createInverter(function (result, value, key) {\n if (value != null && typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n result[value] = key;\n }, constant(identity));\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n\n var invertBy = createInverter(function (result, value, key) {\n if (value != null && typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n\n var invoke = baseRest(baseInvoke);\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n\n\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n\n\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n baseForOwn(object, function (value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n\n\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n baseForOwn(object, function (value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\n /**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\n\n\n var merge = createAssigner(function (object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n\n var mergeWith = createAssigner(function (object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n\n var omit = flatRest(function (object, paths) {\n var result = {};\n\n if (object == null) {\n return result;\n }\n\n var isDeep = false;\n paths = arrayMap(paths, function (path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n\n var length = paths.length;\n\n while (length--) {\n baseUnset(result, paths[length]);\n }\n\n return result;\n });\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n\n\n var pick = flatRest(function (object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n\n var props = arrayMap(getAllKeysIn(object), function (prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function (value, path) {\n return predicate(value, path[0]);\n });\n }\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n\n\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n var index = -1,\n length = path.length; // Ensure the loop is entered when path is empty.\n\n if (!length) {\n length = 1;\n object = undefined;\n }\n\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n\n object = isFunction(value) ? value.call(object) : value;\n }\n\n return object;\n }\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n\n\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n\n\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n\n\n var toPairs = createToPairs(keys);\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n\n var toPairsIn = createToPairs(keysIn);\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n iteratee = getIteratee(iteratee, 4);\n\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n\n if (isArrLike) {\n accumulator = isArr ? new Ctor() : [];\n } else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n } else {\n accumulator = {};\n }\n }\n\n (isArrLike ? arrayEach : baseForOwn)(object, function (value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n\n\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n\n\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n\n\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n\n\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n\n\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n\n\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n\n return baseClamp(toNumber(number), lower, upper);\n }\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n\n\n function inRange(number, start, end) {\n start = toFinite(start);\n\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n\n\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n } else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n } else {\n lower = toFinite(lower);\n\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1))), upper);\n }\n\n return baseRandom(lower, upper);\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n\n\n var camelCase = createCompounder(function (result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n\n\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n\n\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n var length = string.length;\n position = position === undefined ? length : baseClamp(toInteger(position), 0, length);\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n\n\n function escape(string) {\n string = toString(string);\n return string && reHasUnescapedHtml.test(string) ? string.replace(reUnescapedHtml, escapeHtmlChar) : string;\n }\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n\n\n function escapeRegExp(string) {\n string = toString(string);\n return string && reHasRegExpChar.test(string) ? string.replace(reRegExpChar, '\\\\$&') : string;\n }\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n\n\n var kebabCase = createCompounder(function (result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n\n var lowerCase = createCompounder(function (result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n\n var lowerFirst = createCaseFirst('toLowerCase');\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n var strLength = length ? stringSize(string) : 0;\n\n if (!length || strLength >= length) {\n return string;\n }\n\n var mid = (length - strLength) / 2;\n return createPadding(nativeFloor(mid), chars) + string + createPadding(nativeCeil(mid), chars);\n }\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n\n\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n var strLength = length ? stringSize(string) : 0;\n return length && strLength < length ? string + createPadding(length - strLength, chars) : string;\n }\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n\n\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n var strLength = length ? stringSize(string) : 0;\n return length && strLength < length ? createPadding(length - strLength, chars) + string : string;\n }\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n\n\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n\n\n function repeat(string, n, guard) {\n if (guard ? isIterateeCall(string, n, guard) : n === undefined) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n\n return baseRepeat(toString(string), n);\n }\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n\n\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n\n\n var snakeCase = createCompounder(function (result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n\n if (!limit) {\n return [];\n }\n\n string = toString(string);\n\n if (string && (typeof separator == 'string' || separator != null && !isRegExp(separator))) {\n separator = baseToString(separator);\n\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n\n return string.split(separator, limit);\n }\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n\n\n var startCase = createCompounder(function (result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null ? 0 : baseClamp(toInteger(position), 0, string.length);\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<b><%- value %></b>');\n * compiled({ 'value': '<script>' });\n * // => '<b><script></b>'\n *\n * // Use the \"evaluate\" delimiter to execute JavaScript and generate HTML.\n * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');\n * compiled({ 'users': ['fred', 'barney'] });\n * // => '<li>fred</li><li>barney</li>'\n *\n * // Use the internal `print` function in \"evaluate\" delimiters.\n * var compiled = _.template('<% print(\"hello \" + user); %>!');\n * compiled({ 'user': 'barney' });\n * // => 'hello barney!'\n *\n * // Use the ES template literal delimiter as an \"interpolate\" delimiter.\n * // Disable support by replacing the \"interpolate\" delimiter.\n * var compiled = _.template('hello ${ user }!');\n * compiled({ 'user': 'pebbles' });\n * // => 'hello pebbles!'\n *\n * // Use backslashes to treat delimiters as plain text.\n * var compiled = _.template('<%= \"\\\\<%- value %\\\\>\" %>');\n * compiled({ 'value': 'ignored' });\n * // => '<%- value %>'\n *\n * // Use the `imports` option to import `jQuery` as `jq`.\n * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';\n * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });\n * compiled({ 'users': ['fred', 'barney'] });\n * // => '<li>fred</li><li>barney</li>'\n *\n * // Use the `sourceURL` option to specify a custom sourceURL for the template.\n * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });\n * compiled(data);\n * // => Find the source of \"greeting.jst\" under the Sources tab or Resources panel of the web inspector.\n *\n * // Use the `variable` option to ensure a with-statement isn't used in the compiled template.\n * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });\n * compiled.source;\n * // => function(data) {\n * // var __t, __p = '';\n * // __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';\n * // return __p;\n * // }\n *\n * // Use custom template delimiters.\n * _.templateSettings.interpolate = /{{([\\s\\S]+?)}}/g;\n * var compiled = _.template('hello {{ user }}!');\n * compiled({ 'user': 'mustache' });\n * // => 'hello mustache!'\n *\n * // Use the `source` property to inline compiled templates for meaningful\n * // line numbers in error messages and stack traces.\n * fs.writeFileSync(path.join(process.cwd(), 'jst.js'), '\\\n * var JST = {\\\n * \"main\": ' + _.template(mainText).source + '\\\n * };\\\n * ');\n */\n\n\n function template(string, options, guard) {\n // Based on John Resig's `tmpl` implementation\n // (http://ejohn.org/blog/javascript-micro-templating/)\n // and Laura Doktorova's doT.js (https://github.com/olado/doT).\n var settings = lodash.templateSettings;\n\n if (guard && isIterateeCall(string, options, guard)) {\n options = undefined;\n }\n\n string = toString(string);\n options = assignInWith({}, options, settings, customDefaultsAssignIn);\n var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn),\n importsKeys = keys(imports),\n importsValues = baseValues(imports, importsKeys);\n var isEscaping,\n isEvaluating,\n index = 0,\n interpolate = options.interpolate || reNoMatch,\n source = \"__p += '\"; // Compile the regexp to match each delimiter.\n\n var reDelimiters = RegExp((options.escape || reNoMatch).source + '|' + interpolate.source + '|' + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' + (options.evaluate || reNoMatch).source + '|$', 'g'); // Use a sourceURL for easier debugging.\n // The sourceURL gets injected into the source that's eval-ed, so be careful\n // with lookup (in case of e.g. prototype pollution), and strip newlines if any.\n // A newline wouldn't be a valid sourceURL anyway, and it'd enable code injection.\n\n var sourceURL = '//# sourceURL=' + (hasOwnProperty.call(options, 'sourceURL') ? (options.sourceURL + '').replace(/[\\r\\n]/g, ' ') : 'lodash.templateSources[' + ++templateCounter + ']') + '\\n';\n string.replace(reDelimiters, function (match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {\n interpolateValue || (interpolateValue = esTemplateValue); // Escape characters that can't be included in string literals.\n\n source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar); // Replace delimiters with snippets.\n\n if (escapeValue) {\n isEscaping = true;\n source += \"' +\\n__e(\" + escapeValue + \") +\\n'\";\n }\n\n if (evaluateValue) {\n isEvaluating = true;\n source += \"';\\n\" + evaluateValue + \";\\n__p += '\";\n }\n\n if (interpolateValue) {\n source += \"' +\\n((__t = (\" + interpolateValue + \")) == null ? '' : __t) +\\n'\";\n }\n\n index = offset + match.length; // The JS engine embedded in Adobe products needs `match` returned in\n // order to produce the correct `offset` value.\n\n return match;\n });\n source += \"';\\n\"; // If `variable` is not specified wrap a with-statement around the generated\n // code to add the data object to the top of the scope chain.\n // Like with sourceURL, we take care to not check the option's prototype,\n // as this configuration is a code injection vector.\n\n var variable = hasOwnProperty.call(options, 'variable') && options.variable;\n\n if (!variable) {\n source = 'with (obj) {\\n' + source + '\\n}\\n';\n } // Cleanup code by stripping empty strings.\n\n\n source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source).replace(reEmptyStringMiddle, '$1').replace(reEmptyStringTrailing, '$1;'); // Frame code as the function body.\n\n source = 'function(' + (variable || 'obj') + ') {\\n' + (variable ? '' : 'obj || (obj = {});\\n') + \"var __t, __p = ''\" + (isEscaping ? ', __e = _.escape' : '') + (isEvaluating ? ', __j = Array.prototype.join;\\n' + \"function print() { __p += __j.call(arguments, '') }\\n\" : ';\\n') + source + 'return __p\\n}';\n var result = attempt(function () {\n return Function(importsKeys, sourceURL + 'return ' + source).apply(undefined, importsValues);\n }); // Provide the compiled function's source by its `toString` method or\n // the `source` property as a convenience for inlining compiled templates.\n\n result.source = source;\n\n if (isError(result)) {\n throw result;\n }\n\n return result;\n }\n /**\n * Converts `string`, as a whole, to lower case just like\n * [String#toLowerCase](https://mdn.io/toLowerCase).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.toLower('--Foo-Bar--');\n * // => '--foo-bar--'\n *\n * _.toLower('fooBar');\n * // => 'foobar'\n *\n * _.toLower('__FOO_BAR__');\n * // => '__foo_bar__'\n */\n\n\n function toLower(value) {\n return toString(value).toLowerCase();\n }\n /**\n * Converts `string`, as a whole, to upper case just like\n * [String#toUpperCase](https://mdn.io/toUpperCase).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the upper cased string.\n * @example\n *\n * _.toUpper('--foo-bar--');\n * // => '--FOO-BAR--'\n *\n * _.toUpper('fooBar');\n * // => 'FOOBAR'\n *\n * _.toUpper('__foo_bar__');\n * // => '__FOO_BAR__'\n */\n\n\n function toUpper(value) {\n return toString(value).toUpperCase();\n }\n /**\n * Removes leading and trailing whitespace or specified characters from `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to trim.\n * @param {string} [chars=whitespace] The characters to trim.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the trimmed string.\n * @example\n *\n * _.trim(' abc ');\n * // => 'abc'\n *\n * _.trim('-_-abc-_-', '_-');\n * // => 'abc'\n *\n * _.map([' foo ', ' bar '], _.trim);\n * // => ['foo', 'bar']\n */\n\n\n function trim(string, chars, guard) {\n string = toString(string);\n\n if (string && (guard || chars === undefined)) {\n return string.replace(reTrim, '');\n }\n\n if (!string || !(chars = baseToString(chars))) {\n return string;\n }\n\n var strSymbols = stringToArray(string),\n chrSymbols = stringToArray(chars),\n start = charsStartIndex(strSymbols, chrSymbols),\n end = charsEndIndex(strSymbols, chrSymbols) + 1;\n return castSlice(strSymbols, start, end).join('');\n }\n /**\n * Removes trailing whitespace or specified characters from `string`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to trim.\n * @param {string} [chars=whitespace] The characters to trim.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the trimmed string.\n * @example\n *\n * _.trimEnd(' abc ');\n * // => ' abc'\n *\n * _.trimEnd('-_-abc-_-', '_-');\n * // => '-_-abc'\n */\n\n\n function trimEnd(string, chars, guard) {\n string = toString(string);\n\n if (string && (guard || chars === undefined)) {\n return string.replace(reTrimEnd, '');\n }\n\n if (!string || !(chars = baseToString(chars))) {\n return string;\n }\n\n var strSymbols = stringToArray(string),\n end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;\n return castSlice(strSymbols, 0, end).join('');\n }\n /**\n * Removes leading whitespace or specified characters from `string`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to trim.\n * @param {string} [chars=whitespace] The characters to trim.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the trimmed string.\n * @example\n *\n * _.trimStart(' abc ');\n * // => 'abc '\n *\n * _.trimStart('-_-abc-_-', '_-');\n * // => 'abc-_-'\n */\n\n\n function trimStart(string, chars, guard) {\n string = toString(string);\n\n if (string && (guard || chars === undefined)) {\n return string.replace(reTrimStart, '');\n }\n\n if (!string || !(chars = baseToString(chars))) {\n return string;\n }\n\n var strSymbols = stringToArray(string),\n start = charsStartIndex(strSymbols, stringToArray(chars));\n return castSlice(strSymbols, start).join('');\n }\n /**\n * Truncates `string` if it's longer than the given maximum string length.\n * The last characters of the truncated string are replaced with the omission\n * string which defaults to \"...\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to truncate.\n * @param {Object} [options={}] The options object.\n * @param {number} [options.length=30] The maximum string length.\n * @param {string} [options.omission='...'] The string to indicate text is omitted.\n * @param {RegExp|string} [options.separator] The separator pattern to truncate to.\n * @returns {string} Returns the truncated string.\n * @example\n *\n * _.truncate('hi-diddly-ho there, neighborino');\n * // => 'hi-diddly-ho there, neighbo...'\n *\n * _.truncate('hi-diddly-ho there, neighborino', {\n * 'length': 24,\n * 'separator': ' '\n * });\n * // => 'hi-diddly-ho there,...'\n *\n * _.truncate('hi-diddly-ho there, neighborino', {\n * 'length': 24,\n * 'separator': /,? +/\n * });\n * // => 'hi-diddly-ho there...'\n *\n * _.truncate('hi-diddly-ho there, neighborino', {\n * 'omission': ' [...]'\n * });\n * // => 'hi-diddly-ho there, neig [...]'\n */\n\n\n function truncate(string, options) {\n var length = DEFAULT_TRUNC_LENGTH,\n omission = DEFAULT_TRUNC_OMISSION;\n\n if (isObject(options)) {\n var separator = 'separator' in options ? options.separator : separator;\n length = 'length' in options ? toInteger(options.length) : length;\n omission = 'omission' in options ? baseToString(options.omission) : omission;\n }\n\n string = toString(string);\n var strLength = string.length;\n\n if (hasUnicode(string)) {\n var strSymbols = stringToArray(string);\n strLength = strSymbols.length;\n }\n\n if (length >= strLength) {\n return string;\n }\n\n var end = length - stringSize(omission);\n\n if (end < 1) {\n return omission;\n }\n\n var result = strSymbols ? castSlice(strSymbols, 0, end).join('') : string.slice(0, end);\n\n if (separator === undefined) {\n return result + omission;\n }\n\n if (strSymbols) {\n end += result.length - end;\n }\n\n if (isRegExp(separator)) {\n if (string.slice(end).search(separator)) {\n var match,\n substring = result;\n\n if (!separator.global) {\n separator = RegExp(separator.source, toString(reFlags.exec(separator)) + 'g');\n }\n\n separator.lastIndex = 0;\n\n while (match = separator.exec(substring)) {\n var newEnd = match.index;\n }\n\n result = result.slice(0, newEnd === undefined ? end : newEnd);\n }\n } else if (string.indexOf(baseToString(separator), end) != end) {\n var index = result.lastIndexOf(separator);\n\n if (index > -1) {\n result = result.slice(0, index);\n }\n }\n\n return result + omission;\n }\n /**\n * The inverse of `_.escape`; this method converts the HTML entities\n * `&`, `<`, `>`, `"`, and `'` in `string` to\n * their corresponding characters.\n *\n * **Note:** No other HTML entities are unescaped. To unescape additional\n * HTML entities use a third-party library like [_he_](https://mths.be/he).\n *\n * @static\n * @memberOf _\n * @since 0.6.0\n * @category String\n * @param {string} [string=''] The string to unescape.\n * @returns {string} Returns the unescaped string.\n * @example\n *\n * _.unescape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n\n\n function unescape(string) {\n string = toString(string);\n return string && reHasEscapedHtml.test(string) ? string.replace(reEscapedHtml, unescapeHtmlChar) : string;\n }\n /**\n * Converts `string`, as space separated words, to upper case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the upper cased string.\n * @example\n *\n * _.upperCase('--foo-bar');\n * // => 'FOO BAR'\n *\n * _.upperCase('fooBar');\n * // => 'FOO BAR'\n *\n * _.upperCase('__foo_bar__');\n * // => 'FOO BAR'\n */\n\n\n var upperCase = createCompounder(function (result, word, index) {\n return result + (index ? ' ' : '') + word.toUpperCase();\n });\n /**\n * Converts the first character of `string` to upper case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.upperFirst('fred');\n * // => 'Fred'\n *\n * _.upperFirst('FRED');\n * // => 'FRED'\n */\n\n var upperFirst = createCaseFirst('toUpperCase');\n /**\n * Splits `string` into an array of its words.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {RegExp|string} [pattern] The pattern to match words.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the words of `string`.\n * @example\n *\n * _.words('fred, barney, & pebbles');\n * // => ['fred', 'barney', 'pebbles']\n *\n * _.words('fred, barney, & pebbles', /[^, ]+/g);\n * // => ['fred', 'barney', '&', 'pebbles']\n */\n\n function words(string, pattern, guard) {\n string = toString(string);\n pattern = guard ? undefined : pattern;\n\n if (pattern === undefined) {\n return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);\n }\n\n return string.match(pattern) || [];\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Attempts to invoke `func`, returning either the result or the caught error\n * object. Any additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Util\n * @param {Function} func The function to attempt.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {*} Returns the `func` result or error object.\n * @example\n *\n * // Avoid throwing errors for invalid selectors.\n * var elements = _.attempt(function(selector) {\n * return document.querySelectorAll(selector);\n * }, '>_>');\n *\n * if (_.isError(elements)) {\n * elements = [];\n * }\n */\n\n\n var attempt = baseRest(function (func, args) {\n try {\n return apply(func, undefined, args);\n } catch (e) {\n return isError(e) ? e : new Error(e);\n }\n });\n /**\n * Binds methods of an object to the object itself, overwriting the existing\n * method.\n *\n * **Note:** This method doesn't set the \"length\" property of bound functions.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {Object} object The object to bind and assign the bound methods to.\n * @param {...(string|string[])} methodNames The object method names to bind.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var view = {\n * 'label': 'docs',\n * 'click': function() {\n * console.log('clicked ' + this.label);\n * }\n * };\n *\n * _.bindAll(view, ['click']);\n * jQuery(element).on('click', view.click);\n * // => Logs 'clicked docs' when clicked.\n */\n\n var bindAll = flatRest(function (object, methodNames) {\n arrayEach(methodNames, function (key) {\n key = toKey(key);\n baseAssignValue(object, key, bind(object[key], object));\n });\n return object;\n });\n /**\n * Creates a function that iterates over `pairs` and invokes the corresponding\n * function of the first predicate to return truthy. The predicate-function\n * pairs are invoked with the `this` binding and arguments of the created\n * function.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {Array} pairs The predicate-function pairs.\n * @returns {Function} Returns the new composite function.\n * @example\n *\n * var func = _.cond([\n * [_.matches({ 'a': 1 }), _.constant('matches A')],\n * [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],\n * [_.stubTrue, _.constant('no match')]\n * ]);\n *\n * func({ 'a': 1, 'b': 2 });\n * // => 'matches A'\n *\n * func({ 'a': 0, 'b': 1 });\n * // => 'matches B'\n *\n * func({ 'a': '1', 'b': '2' });\n * // => 'no match'\n */\n\n function cond(pairs) {\n var length = pairs == null ? 0 : pairs.length,\n toIteratee = getIteratee();\n pairs = !length ? [] : arrayMap(pairs, function (pair) {\n if (typeof pair[1] != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n return [toIteratee(pair[0]), pair[1]];\n });\n return baseRest(function (args) {\n var index = -1;\n\n while (++index < length) {\n var pair = pairs[index];\n\n if (apply(pair[0], this, args)) {\n return apply(pair[1], this, args);\n }\n }\n });\n }\n /**\n * Creates a function that invokes the predicate properties of `source` with\n * the corresponding property values of a given object, returning `true` if\n * all predicates return truthy, else `false`.\n *\n * **Note:** The created function is equivalent to `_.conformsTo` with\n * `source` partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n * @example\n *\n * var objects = [\n * { 'a': 2, 'b': 1 },\n * { 'a': 1, 'b': 2 }\n * ];\n *\n * _.filter(objects, _.conforms({ 'b': function(n) { return n > 1; } }));\n * // => [{ 'a': 1, 'b': 2 }]\n */\n\n\n function conforms(source) {\n return baseConforms(baseClone(source, CLONE_DEEP_FLAG));\n }\n /**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\n\n\n function constant(value) {\n return function () {\n return value;\n };\n }\n /**\n * Checks `value` to determine whether a default value should be returned in\n * its place. The `defaultValue` is returned if `value` is `NaN`, `null`,\n * or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Util\n * @param {*} value The value to check.\n * @param {*} defaultValue The default value.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * _.defaultTo(1, 10);\n * // => 1\n *\n * _.defaultTo(undefined, 10);\n * // => 10\n */\n\n\n function defaultTo(value, defaultValue) {\n return value == null || value !== value ? defaultValue : value;\n }\n /**\n * Creates a function that returns the result of invoking the given functions\n * with the `this` binding of the created function, where each successive\n * invocation is supplied the return value of the previous.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Util\n * @param {...(Function|Function[])} [funcs] The functions to invoke.\n * @returns {Function} Returns the new composite function.\n * @see _.flowRight\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var addSquare = _.flow([_.add, square]);\n * addSquare(1, 2);\n * // => 9\n */\n\n\n var flow = createFlow();\n /**\n * This method is like `_.flow` except that it creates a function that\n * invokes the given functions from right to left.\n *\n * @static\n * @since 3.0.0\n * @memberOf _\n * @category Util\n * @param {...(Function|Function[])} [funcs] The functions to invoke.\n * @returns {Function} Returns the new composite function.\n * @see _.flow\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var addSquare = _.flowRight([square, _.add]);\n * addSquare(1, 2);\n * // => 9\n */\n\n var flowRight = createFlow(true);\n /**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\n\n function identity(value) {\n return value;\n }\n /**\n * Creates a function that invokes `func` with the arguments of the created\n * function. If `func` is a property name, the created function returns the\n * property value for a given element. If `func` is an array or object, the\n * created function returns `true` for elements that contain the equivalent\n * source properties, otherwise it returns `false`.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Util\n * @param {*} [func=_.identity] The value to convert to a callback.\n * @returns {Function} Returns the callback.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));\n * // => [{ 'user': 'barney', 'age': 36, 'active': true }]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, _.iteratee(['user', 'fred']));\n * // => [{ 'user': 'fred', 'age': 40 }]\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, _.iteratee('user'));\n * // => ['barney', 'fred']\n *\n * // Create custom iteratee shorthands.\n * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) {\n * return !_.isRegExp(func) ? iteratee(func) : function(string) {\n * return func.test(string);\n * };\n * });\n *\n * _.filter(['abc', 'def'], /ef/);\n * // => ['def']\n */\n\n\n function iteratee(func) {\n return baseIteratee(typeof func == 'function' ? func : baseClone(func, CLONE_DEEP_FLAG));\n }\n /**\n * Creates a function that performs a partial deep comparison between a given\n * object and `source`, returning `true` if the given object has equivalent\n * property values, else `false`.\n *\n * **Note:** The created function is equivalent to `_.isMatch` with `source`\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Util\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n * @example\n *\n * var objects = [\n * { 'a': 1, 'b': 2, 'c': 3 },\n * { 'a': 4, 'b': 5, 'c': 6 }\n * ];\n *\n * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));\n * // => [{ 'a': 4, 'b': 5, 'c': 6 }]\n */\n\n\n function matches(source) {\n return baseMatches(baseClone(source, CLONE_DEEP_FLAG));\n }\n /**\n * Creates a function that performs a partial deep comparison between the\n * value at `path` of a given object to `srcValue`, returning `true` if the\n * object value is equivalent, else `false`.\n *\n * **Note:** Partial comparisons will match empty array and empty object\n * `srcValue` values against any array or object value, respectively. See\n * `_.isEqual` for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n * @example\n *\n * var objects = [\n * { 'a': 1, 'b': 2, 'c': 3 },\n * { 'a': 4, 'b': 5, 'c': 6 }\n * ];\n *\n * _.find(objects, _.matchesProperty('a', 4));\n * // => { 'a': 4, 'b': 5, 'c': 6 }\n */\n\n\n function matchesProperty(path, srcValue) {\n return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));\n }\n /**\n * Creates a function that invokes the method at `path` of a given object.\n * Any additional arguments are provided to the invoked method.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Util\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {Function} Returns the new invoker function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': _.constant(2) } },\n * { 'a': { 'b': _.constant(1) } }\n * ];\n *\n * _.map(objects, _.method('a.b'));\n * // => [2, 1]\n *\n * _.map(objects, _.method(['a', 'b']));\n * // => [2, 1]\n */\n\n\n var method = baseRest(function (path, args) {\n return function (object) {\n return baseInvoke(object, path, args);\n };\n });\n /**\n * The opposite of `_.method`; this method creates a function that invokes\n * the method at a given path of `object`. Any additional arguments are\n * provided to the invoked method.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Util\n * @param {Object} object The object to query.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {Function} Returns the new invoker function.\n * @example\n *\n * var array = _.times(3, _.constant),\n * object = { 'a': array, 'b': array, 'c': array };\n *\n * _.map(['a[2]', 'c[0]'], _.methodOf(object));\n * // => [2, 0]\n *\n * _.map([['a', '2'], ['c', '0']], _.methodOf(object));\n * // => [2, 0]\n */\n\n var methodOf = baseRest(function (object, args) {\n return function (path) {\n return baseInvoke(object, path, args);\n };\n });\n /**\n * Adds all own enumerable string keyed function properties of a source\n * object to the destination object. If `object` is a function, then methods\n * are added to its prototype as well.\n *\n * **Note:** Use `_.runInContext` to create a pristine `lodash` function to\n * avoid conflicts caused by modifying the original.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {Function|Object} [object=lodash] The destination object.\n * @param {Object} source The object of functions to add.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.chain=true] Specify whether mixins are chainable.\n * @returns {Function|Object} Returns `object`.\n * @example\n *\n * function vowels(string) {\n * return _.filter(string, function(v) {\n * return /[aeiou]/i.test(v);\n * });\n * }\n *\n * _.mixin({ 'vowels': vowels });\n * _.vowels('fred');\n * // => ['e']\n *\n * _('fred').vowels().value();\n * // => ['e']\n *\n * _.mixin({ 'vowels': vowels }, { 'chain': false });\n * _('fred').vowels();\n * // => ['e']\n */\n\n function mixin(object, source, options) {\n var props = keys(source),\n methodNames = baseFunctions(source, props);\n\n if (options == null && !(isObject(source) && (methodNames.length || !props.length))) {\n options = source;\n source = object;\n object = this;\n methodNames = baseFunctions(source, keys(source));\n }\n\n var chain = !(isObject(options) && 'chain' in options) || !!options.chain,\n isFunc = isFunction(object);\n arrayEach(methodNames, function (methodName) {\n var func = source[methodName];\n object[methodName] = func;\n\n if (isFunc) {\n object.prototype[methodName] = function () {\n var chainAll = this.__chain__;\n\n if (chain || chainAll) {\n var result = object(this.__wrapped__),\n actions = result.__actions__ = copyArray(this.__actions__);\n actions.push({\n 'func': func,\n 'args': arguments,\n 'thisArg': object\n });\n result.__chain__ = chainAll;\n return result;\n }\n\n return func.apply(object, arrayPush([this.value()], arguments));\n };\n }\n });\n return object;\n }\n /**\n * Reverts the `_` variable to its previous value and returns a reference to\n * the `lodash` function.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @returns {Function} Returns the `lodash` function.\n * @example\n *\n * var lodash = _.noConflict();\n */\n\n\n function noConflict() {\n if (root._ === this) {\n root._ = oldDash;\n }\n\n return this;\n }\n /**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\n\n\n function noop() {// No operation performed.\n }\n /**\n * Creates a function that gets the argument at index `n`. If `n` is negative,\n * the nth argument from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {number} [n=0] The index of the argument to return.\n * @returns {Function} Returns the new pass-thru function.\n * @example\n *\n * var func = _.nthArg(1);\n * func('a', 'b', 'c', 'd');\n * // => 'b'\n *\n * var func = _.nthArg(-2);\n * func('a', 'b', 'c', 'd');\n * // => 'c'\n */\n\n\n function nthArg(n) {\n n = toInteger(n);\n return baseRest(function (args) {\n return baseNth(args, n);\n });\n }\n /**\n * Creates a function that invokes `iteratees` with the arguments it receives\n * and returns their results.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to invoke.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var func = _.over([Math.max, Math.min]);\n *\n * func(1, 2, 3, 4);\n * // => [4, 1]\n */\n\n\n var over = createOver(arrayMap);\n /**\n * Creates a function that checks if **all** of the `predicates` return\n * truthy when invoked with the arguments it receives.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {...(Function|Function[])} [predicates=[_.identity]]\n * The predicates to check.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var func = _.overEvery([Boolean, isFinite]);\n *\n * func('1');\n * // => true\n *\n * func(null);\n * // => false\n *\n * func(NaN);\n * // => false\n */\n\n var overEvery = createOver(arrayEvery);\n /**\n * Creates a function that checks if **any** of the `predicates` return\n * truthy when invoked with the arguments it receives.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {...(Function|Function[])} [predicates=[_.identity]]\n * The predicates to check.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var func = _.overSome([Boolean, isFinite]);\n *\n * func('1');\n * // => true\n *\n * func(null);\n * // => true\n *\n * func(NaN);\n * // => false\n */\n\n var overSome = createOver(arraySome);\n /**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\n\n function property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n }\n /**\n * The opposite of `_.property`; this method creates a function that returns\n * the value at a given path of `object`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Util\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var array = [0, 1, 2],\n * object = { 'a': array, 'b': array, 'c': array };\n *\n * _.map(['a[2]', 'c[0]'], _.propertyOf(object));\n * // => [2, 0]\n *\n * _.map([['a', '2'], ['c', '0']], _.propertyOf(object));\n * // => [2, 0]\n */\n\n\n function propertyOf(object) {\n return function (path) {\n return object == null ? undefined : baseGet(object, path);\n };\n }\n /**\n * Creates an array of numbers (positive and/or negative) progressing from\n * `start` up to, but not including, `end`. A step of `-1` is used if a negative\n * `start` is specified without an `end` or `step`. If `end` is not specified,\n * it's set to `start` with `start` then set to `0`.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @param {number} [step=1] The value to increment or decrement by.\n * @returns {Array} Returns the range of numbers.\n * @see _.inRange, _.rangeRight\n * @example\n *\n * _.range(4);\n * // => [0, 1, 2, 3]\n *\n * _.range(-4);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 5);\n * // => [1, 2, 3, 4]\n *\n * _.range(0, 20, 5);\n * // => [0, 5, 10, 15]\n *\n * _.range(0, -4, -1);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 4, 0);\n * // => [1, 1, 1]\n *\n * _.range(0);\n * // => []\n */\n\n\n var range = createRange();\n /**\n * This method is like `_.range` except that it populates values in\n * descending order.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @param {number} [step=1] The value to increment or decrement by.\n * @returns {Array} Returns the range of numbers.\n * @see _.inRange, _.range\n * @example\n *\n * _.rangeRight(4);\n * // => [3, 2, 1, 0]\n *\n * _.rangeRight(-4);\n * // => [-3, -2, -1, 0]\n *\n * _.rangeRight(1, 5);\n * // => [4, 3, 2, 1]\n *\n * _.rangeRight(0, 20, 5);\n * // => [15, 10, 5, 0]\n *\n * _.rangeRight(0, -4, -1);\n * // => [-3, -2, -1, 0]\n *\n * _.rangeRight(1, 4, 0);\n * // => [1, 1, 1]\n *\n * _.rangeRight(0);\n * // => []\n */\n\n var rangeRight = createRange(true);\n /**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\n\n function stubArray() {\n return [];\n }\n /**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\n\n\n function stubFalse() {\n return false;\n }\n /**\n * This method returns a new empty object.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Object} Returns the new empty object.\n * @example\n *\n * var objects = _.times(2, _.stubObject);\n *\n * console.log(objects);\n * // => [{}, {}]\n *\n * console.log(objects[0] === objects[1]);\n * // => false\n */\n\n\n function stubObject() {\n return {};\n }\n /**\n * This method returns an empty string.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {string} Returns the empty string.\n * @example\n *\n * _.times(2, _.stubString);\n * // => ['', '']\n */\n\n\n function stubString() {\n return '';\n }\n /**\n * This method returns `true`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `true`.\n * @example\n *\n * _.times(2, _.stubTrue);\n * // => [true, true]\n */\n\n\n function stubTrue() {\n return true;\n }\n /**\n * Invokes the iteratee `n` times, returning an array of the results of\n * each invocation. The iteratee is invoked with one argument; (index).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.times(3, String);\n * // => ['0', '1', '2']\n *\n * _.times(4, _.constant(0));\n * // => [0, 0, 0, 0]\n */\n\n\n function times(n, iteratee) {\n n = toInteger(n);\n\n if (n < 1 || n > MAX_SAFE_INTEGER) {\n return [];\n }\n\n var index = MAX_ARRAY_LENGTH,\n length = nativeMin(n, MAX_ARRAY_LENGTH);\n iteratee = getIteratee(iteratee);\n n -= MAX_ARRAY_LENGTH;\n var result = baseTimes(length, iteratee);\n\n while (++index < n) {\n iteratee(index);\n }\n\n return result;\n }\n /**\n * Converts `value` to a property path array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Util\n * @param {*} value The value to convert.\n * @returns {Array} Returns the new property path array.\n * @example\n *\n * _.toPath('a.b.c');\n * // => ['a', 'b', 'c']\n *\n * _.toPath('a[0].b.c');\n * // => ['a', '0', 'b', 'c']\n */\n\n\n function toPath(value) {\n if (isArray(value)) {\n return arrayMap(value, toKey);\n }\n\n return isSymbol(value) ? [value] : copyArray(stringToPath(toString(value)));\n }\n /**\n * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {string} [prefix=''] The value to prefix the ID with.\n * @returns {string} Returns the unique ID.\n * @example\n *\n * _.uniqueId('contact_');\n * // => 'contact_104'\n *\n * _.uniqueId();\n * // => '105'\n */\n\n\n function uniqueId(prefix) {\n var id = ++idCounter;\n return toString(prefix) + id;\n }\n /*------------------------------------------------------------------------*/\n\n /**\n * Adds two numbers.\n *\n * @static\n * @memberOf _\n * @since 3.4.0\n * @category Math\n * @param {number} augend The first number in an addition.\n * @param {number} addend The second number in an addition.\n * @returns {number} Returns the total.\n * @example\n *\n * _.add(6, 4);\n * // => 10\n */\n\n\n var add = createMathOperation(function (augend, addend) {\n return augend + addend;\n }, 0);\n /**\n * Computes `number` rounded up to `precision`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Math\n * @param {number} number The number to round up.\n * @param {number} [precision=0] The precision to round up to.\n * @returns {number} Returns the rounded up number.\n * @example\n *\n * _.ceil(4.006);\n * // => 5\n *\n * _.ceil(6.004, 2);\n * // => 6.01\n *\n * _.ceil(6040, -2);\n * // => 6100\n */\n\n var ceil = createRound('ceil');\n /**\n * Divide two numbers.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Math\n * @param {number} dividend The first number in a division.\n * @param {number} divisor The second number in a division.\n * @returns {number} Returns the quotient.\n * @example\n *\n * _.divide(6, 4);\n * // => 1.5\n */\n\n var divide = createMathOperation(function (dividend, divisor) {\n return dividend / divisor;\n }, 1);\n /**\n * Computes `number` rounded down to `precision`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Math\n * @param {number} number The number to round down.\n * @param {number} [precision=0] The precision to round down to.\n * @returns {number} Returns the rounded down number.\n * @example\n *\n * _.floor(4.006);\n * // => 4\n *\n * _.floor(0.046, 2);\n * // => 0.04\n *\n * _.floor(4060, -2);\n * // => 4000\n */\n\n var floor = createRound('floor');\n /**\n * Computes the maximum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the maximum value.\n * @example\n *\n * _.max([4, 2, 8, 6]);\n * // => 8\n *\n * _.max([]);\n * // => undefined\n */\n\n function max(array) {\n return array && array.length ? baseExtremum(array, identity, baseGt) : undefined;\n }\n /**\n * This method is like `_.max` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * the value is ranked. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {*} Returns the maximum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * _.maxBy(objects, function(o) { return o.n; });\n * // => { 'n': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.maxBy(objects, 'n');\n * // => { 'n': 2 }\n */\n\n\n function maxBy(array, iteratee) {\n return array && array.length ? baseExtremum(array, getIteratee(iteratee, 2), baseGt) : undefined;\n }\n /**\n * Computes the mean of the values in `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {number} Returns the mean.\n * @example\n *\n * _.mean([4, 2, 8, 6]);\n * // => 5\n */\n\n\n function mean(array) {\n return baseMean(array, identity);\n }\n /**\n * This method is like `_.mean` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the value to be averaged.\n * The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the mean.\n * @example\n *\n * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];\n *\n * _.meanBy(objects, function(o) { return o.n; });\n * // => 5\n *\n * // The `_.property` iteratee shorthand.\n * _.meanBy(objects, 'n');\n * // => 5\n */\n\n\n function meanBy(array, iteratee) {\n return baseMean(array, getIteratee(iteratee, 2));\n }\n /**\n * Computes the minimum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * _.min([4, 2, 8, 6]);\n * // => 2\n *\n * _.min([]);\n * // => undefined\n */\n\n\n function min(array) {\n return array && array.length ? baseExtremum(array, identity, baseLt) : undefined;\n }\n /**\n * This method is like `_.min` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * the value is ranked. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * _.minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * // The `_.property` iteratee shorthand.\n * _.minBy(objects, 'n');\n * // => { 'n': 1 }\n */\n\n\n function minBy(array, iteratee) {\n return array && array.length ? baseExtremum(array, getIteratee(iteratee, 2), baseLt) : undefined;\n }\n /**\n * Multiply two numbers.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Math\n * @param {number} multiplier The first number in a multiplication.\n * @param {number} multiplicand The second number in a multiplication.\n * @returns {number} Returns the product.\n * @example\n *\n * _.multiply(6, 4);\n * // => 24\n */\n\n\n var multiply = createMathOperation(function (multiplier, multiplicand) {\n return multiplier * multiplicand;\n }, 1);\n /**\n * Computes `number` rounded to `precision`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Math\n * @param {number} number The number to round.\n * @param {number} [precision=0] The precision to round to.\n * @returns {number} Returns the rounded number.\n * @example\n *\n * _.round(4.006);\n * // => 4\n *\n * _.round(4.006, 2);\n * // => 4.01\n *\n * _.round(4060, -2);\n * // => 4100\n */\n\n var round = createRound('round');\n /**\n * Subtract two numbers.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {number} minuend The first number in a subtraction.\n * @param {number} subtrahend The second number in a subtraction.\n * @returns {number} Returns the difference.\n * @example\n *\n * _.subtract(6, 4);\n * // => 2\n */\n\n var subtract = createMathOperation(function (minuend, subtrahend) {\n return minuend - subtrahend;\n }, 0);\n /**\n * Computes the sum of the values in `array`.\n *\n * @static\n * @memberOf _\n * @since 3.4.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {number} Returns the sum.\n * @example\n *\n * _.sum([4, 2, 8, 6]);\n * // => 20\n */\n\n function sum(array) {\n return array && array.length ? baseSum(array, identity) : 0;\n }\n /**\n * This method is like `_.sum` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the value to be summed.\n * The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the sum.\n * @example\n *\n * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];\n *\n * _.sumBy(objects, function(o) { return o.n; });\n * // => 20\n *\n * // The `_.property` iteratee shorthand.\n * _.sumBy(objects, 'n');\n * // => 20\n */\n\n\n function sumBy(array, iteratee) {\n return array && array.length ? baseSum(array, getIteratee(iteratee, 2)) : 0;\n }\n /*------------------------------------------------------------------------*/\n // Add methods that return wrapped values in chain sequences.\n\n\n lodash.after = after;\n lodash.ary = ary;\n lodash.assign = assign;\n lodash.assignIn = assignIn;\n lodash.assignInWith = assignInWith;\n lodash.assignWith = assignWith;\n lodash.at = at;\n lodash.before = before;\n lodash.bind = bind;\n lodash.bindAll = bindAll;\n lodash.bindKey = bindKey;\n lodash.castArray = castArray;\n lodash.chain = chain;\n lodash.chunk = chunk;\n lodash.compact = compact;\n lodash.concat = concat;\n lodash.cond = cond;\n lodash.conforms = conforms;\n lodash.constant = constant;\n lodash.countBy = countBy;\n lodash.create = create;\n lodash.curry = curry;\n lodash.curryRight = curryRight;\n lodash.debounce = debounce;\n lodash.defaults = defaults;\n lodash.defaultsDeep = defaultsDeep;\n lodash.defer = defer;\n lodash.delay = delay;\n lodash.difference = difference;\n lodash.differenceBy = differenceBy;\n lodash.differenceWith = differenceWith;\n lodash.drop = drop;\n lodash.dropRight = dropRight;\n lodash.dropRightWhile = dropRightWhile;\n lodash.dropWhile = dropWhile;\n lodash.fill = fill;\n lodash.filter = filter;\n lodash.flatMap = flatMap;\n lodash.flatMapDeep = flatMapDeep;\n lodash.flatMapDepth = flatMapDepth;\n lodash.flatten = flatten;\n lodash.flattenDeep = flattenDeep;\n lodash.flattenDepth = flattenDepth;\n lodash.flip = flip;\n lodash.flow = flow;\n lodash.flowRight = flowRight;\n lodash.fromPairs = fromPairs;\n lodash.functions = functions;\n lodash.functionsIn = functionsIn;\n lodash.groupBy = groupBy;\n lodash.initial = initial;\n lodash.intersection = intersection;\n lodash.intersectionBy = intersectionBy;\n lodash.intersectionWith = intersectionWith;\n lodash.invert = invert;\n lodash.invertBy = invertBy;\n lodash.invokeMap = invokeMap;\n lodash.iteratee = iteratee;\n lodash.keyBy = keyBy;\n lodash.keys = keys;\n lodash.keysIn = keysIn;\n lodash.map = map;\n lodash.mapKeys = mapKeys;\n lodash.mapValues = mapValues;\n lodash.matches = matches;\n lodash.matchesProperty = matchesProperty;\n lodash.memoize = memoize;\n lodash.merge = merge;\n lodash.mergeWith = mergeWith;\n lodash.method = method;\n lodash.methodOf = methodOf;\n lodash.mixin = mixin;\n lodash.negate = negate;\n lodash.nthArg = nthArg;\n lodash.omit = omit;\n lodash.omitBy = omitBy;\n lodash.once = once;\n lodash.orderBy = orderBy;\n lodash.over = over;\n lodash.overArgs = overArgs;\n lodash.overEvery = overEvery;\n lodash.overSome = overSome;\n lodash.partial = partial;\n lodash.partialRight = partialRight;\n lodash.partition = partition;\n lodash.pick = pick;\n lodash.pickBy = pickBy;\n lodash.property = property;\n lodash.propertyOf = propertyOf;\n lodash.pull = pull;\n lodash.pullAll = pullAll;\n lodash.pullAllBy = pullAllBy;\n lodash.pullAllWith = pullAllWith;\n lodash.pullAt = pullAt;\n lodash.range = range;\n lodash.rangeRight = rangeRight;\n lodash.rearg = rearg;\n lodash.reject = reject;\n lodash.remove = remove;\n lodash.rest = rest;\n lodash.reverse = reverse;\n lodash.sampleSize = sampleSize;\n lodash.set = set;\n lodash.setWith = setWith;\n lodash.shuffle = shuffle;\n lodash.slice = slice;\n lodash.sortBy = sortBy;\n lodash.sortedUniq = sortedUniq;\n lodash.sortedUniqBy = sortedUniqBy;\n lodash.split = split;\n lodash.spread = spread;\n lodash.tail = tail;\n lodash.take = take;\n lodash.takeRight = takeRight;\n lodash.takeRightWhile = takeRightWhile;\n lodash.takeWhile = takeWhile;\n lodash.tap = tap;\n lodash.throttle = throttle;\n lodash.thru = thru;\n lodash.toArray = toArray;\n lodash.toPairs = toPairs;\n lodash.toPairsIn = toPairsIn;\n lodash.toPath = toPath;\n lodash.toPlainObject = toPlainObject;\n lodash.transform = transform;\n lodash.unary = unary;\n lodash.union = union;\n lodash.unionBy = unionBy;\n lodash.unionWith = unionWith;\n lodash.uniq = uniq;\n lodash.uniqBy = uniqBy;\n lodash.uniqWith = uniqWith;\n lodash.unset = unset;\n lodash.unzip = unzip;\n lodash.unzipWith = unzipWith;\n lodash.update = update;\n lodash.updateWith = updateWith;\n lodash.values = values;\n lodash.valuesIn = valuesIn;\n lodash.without = without;\n lodash.words = words;\n lodash.wrap = wrap;\n lodash.xor = xor;\n lodash.xorBy = xorBy;\n lodash.xorWith = xorWith;\n lodash.zip = zip;\n lodash.zipObject = zipObject;\n lodash.zipObjectDeep = zipObjectDeep;\n lodash.zipWith = zipWith; // Add aliases.\n\n lodash.entries = toPairs;\n lodash.entriesIn = toPairsIn;\n lodash.extend = assignIn;\n lodash.extendWith = assignInWith; // Add methods to `lodash.prototype`.\n\n mixin(lodash, lodash);\n /*------------------------------------------------------------------------*/\n // Add methods that return unwrapped values in chain sequences.\n\n lodash.add = add;\n lodash.attempt = attempt;\n lodash.camelCase = camelCase;\n lodash.capitalize = capitalize;\n lodash.ceil = ceil;\n lodash.clamp = clamp;\n lodash.clone = clone;\n lodash.cloneDeep = cloneDeep;\n lodash.cloneDeepWith = cloneDeepWith;\n lodash.cloneWith = cloneWith;\n lodash.conformsTo = conformsTo;\n lodash.deburr = deburr;\n lodash.defaultTo = defaultTo;\n lodash.divide = divide;\n lodash.endsWith = endsWith;\n lodash.eq = eq;\n lodash.escape = escape;\n lodash.escapeRegExp = escapeRegExp;\n lodash.every = every;\n lodash.find = find;\n lodash.findIndex = findIndex;\n lodash.findKey = findKey;\n lodash.findLast = findLast;\n lodash.findLastIndex = findLastIndex;\n lodash.findLastKey = findLastKey;\n lodash.floor = floor;\n lodash.forEach = forEach;\n lodash.forEachRight = forEachRight;\n lodash.forIn = forIn;\n lodash.forInRight = forInRight;\n lodash.forOwn = forOwn;\n lodash.forOwnRight = forOwnRight;\n lodash.get = get;\n lodash.gt = gt;\n lodash.gte = gte;\n lodash.has = has;\n lodash.hasIn = hasIn;\n lodash.head = head;\n lodash.identity = identity;\n lodash.includes = includes;\n lodash.indexOf = indexOf;\n lodash.inRange = inRange;\n lodash.invoke = invoke;\n lodash.isArguments = isArguments;\n lodash.isArray = isArray;\n lodash.isArrayBuffer = isArrayBuffer;\n lodash.isArrayLike = isArrayLike;\n lodash.isArrayLikeObject = isArrayLikeObject;\n lodash.isBoolean = isBoolean;\n lodash.isBuffer = isBuffer;\n lodash.isDate = isDate;\n lodash.isElement = isElement;\n lodash.isEmpty = isEmpty;\n lodash.isEqual = isEqual;\n lodash.isEqualWith = isEqualWith;\n lodash.isError = isError;\n lodash.isFinite = isFinite;\n lodash.isFunction = isFunction;\n lodash.isInteger = isInteger;\n lodash.isLength = isLength;\n lodash.isMap = isMap;\n lodash.isMatch = isMatch;\n lodash.isMatchWith = isMatchWith;\n lodash.isNaN = isNaN;\n lodash.isNative = isNative;\n lodash.isNil = isNil;\n lodash.isNull = isNull;\n lodash.isNumber = isNumber;\n lodash.isObject = isObject;\n lodash.isObjectLike = isObjectLike;\n lodash.isPlainObject = isPlainObject;\n lodash.isRegExp = isRegExp;\n lodash.isSafeInteger = isSafeInteger;\n lodash.isSet = isSet;\n lodash.isString = isString;\n lodash.isSymbol = isSymbol;\n lodash.isTypedArray = isTypedArray;\n lodash.isUndefined = isUndefined;\n lodash.isWeakMap = isWeakMap;\n lodash.isWeakSet = isWeakSet;\n lodash.join = join;\n lodash.kebabCase = kebabCase;\n lodash.last = last;\n lodash.lastIndexOf = lastIndexOf;\n lodash.lowerCase = lowerCase;\n lodash.lowerFirst = lowerFirst;\n lodash.lt = lt;\n lodash.lte = lte;\n lodash.max = max;\n lodash.maxBy = maxBy;\n lodash.mean = mean;\n lodash.meanBy = meanBy;\n lodash.min = min;\n lodash.minBy = minBy;\n lodash.stubArray = stubArray;\n lodash.stubFalse = stubFalse;\n lodash.stubObject = stubObject;\n lodash.stubString = stubString;\n lodash.stubTrue = stubTrue;\n lodash.multiply = multiply;\n lodash.nth = nth;\n lodash.noConflict = noConflict;\n lodash.noop = noop;\n lodash.now = now;\n lodash.pad = pad;\n lodash.padEnd = padEnd;\n lodash.padStart = padStart;\n lodash.parseInt = parseInt;\n lodash.random = random;\n lodash.reduce = reduce;\n lodash.reduceRight = reduceRight;\n lodash.repeat = repeat;\n lodash.replace = replace;\n lodash.result = result;\n lodash.round = round;\n lodash.runInContext = runInContext;\n lodash.sample = sample;\n lodash.size = size;\n lodash.snakeCase = snakeCase;\n lodash.some = some;\n lodash.sortedIndex = sortedIndex;\n lodash.sortedIndexBy = sortedIndexBy;\n lodash.sortedIndexOf = sortedIndexOf;\n lodash.sortedLastIndex = sortedLastIndex;\n lodash.sortedLastIndexBy = sortedLastIndexBy;\n lodash.sortedLastIndexOf = sortedLastIndexOf;\n lodash.startCase = startCase;\n lodash.startsWith = startsWith;\n lodash.subtract = subtract;\n lodash.sum = sum;\n lodash.sumBy = sumBy;\n lodash.template = template;\n lodash.times = times;\n lodash.toFinite = toFinite;\n lodash.toInteger = toInteger;\n lodash.toLength = toLength;\n lodash.toLower = toLower;\n lodash.toNumber = toNumber;\n lodash.toSafeInteger = toSafeInteger;\n lodash.toString = toString;\n lodash.toUpper = toUpper;\n lodash.trim = trim;\n lodash.trimEnd = trimEnd;\n lodash.trimStart = trimStart;\n lodash.truncate = truncate;\n lodash.unescape = unescape;\n lodash.uniqueId = uniqueId;\n lodash.upperCase = upperCase;\n lodash.upperFirst = upperFirst; // Add aliases.\n\n lodash.each = forEach;\n lodash.eachRight = forEachRight;\n lodash.first = head;\n mixin(lodash, function () {\n var source = {};\n baseForOwn(lodash, function (func, methodName) {\n if (!hasOwnProperty.call(lodash.prototype, methodName)) {\n source[methodName] = func;\n }\n });\n return source;\n }(), {\n 'chain': false\n });\n /*------------------------------------------------------------------------*/\n\n /**\n * The semantic version number.\n *\n * @static\n * @memberOf _\n * @type {string}\n */\n\n lodash.VERSION = VERSION; // Assign default placeholders.\n\n arrayEach(['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], function (methodName) {\n lodash[methodName].placeholder = lodash;\n }); // Add `LazyWrapper` methods for `_.drop` and `_.take` variants.\n\n arrayEach(['drop', 'take'], function (methodName, index) {\n LazyWrapper.prototype[methodName] = function (n) {\n n = n === undefined ? 1 : nativeMax(toInteger(n), 0);\n var result = this.__filtered__ && !index ? new LazyWrapper(this) : this.clone();\n\n if (result.__filtered__) {\n result.__takeCount__ = nativeMin(n, result.__takeCount__);\n } else {\n result.__views__.push({\n 'size': nativeMin(n, MAX_ARRAY_LENGTH),\n 'type': methodName + (result.__dir__ < 0 ? 'Right' : '')\n });\n }\n\n return result;\n };\n\n LazyWrapper.prototype[methodName + 'Right'] = function (n) {\n return this.reverse()[methodName](n).reverse();\n };\n }); // Add `LazyWrapper` methods that accept an `iteratee` value.\n\n arrayEach(['filter', 'map', 'takeWhile'], function (methodName, index) {\n var type = index + 1,\n isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG;\n\n LazyWrapper.prototype[methodName] = function (iteratee) {\n var result = this.clone();\n\n result.__iteratees__.push({\n 'iteratee': getIteratee(iteratee, 3),\n 'type': type\n });\n\n result.__filtered__ = result.__filtered__ || isFilter;\n return result;\n };\n }); // Add `LazyWrapper` methods for `_.head` and `_.last`.\n\n arrayEach(['head', 'last'], function (methodName, index) {\n var takeName = 'take' + (index ? 'Right' : '');\n\n LazyWrapper.prototype[methodName] = function () {\n return this[takeName](1).value()[0];\n };\n }); // Add `LazyWrapper` methods for `_.initial` and `_.tail`.\n\n arrayEach(['initial', 'tail'], function (methodName, index) {\n var dropName = 'drop' + (index ? '' : 'Right');\n\n LazyWrapper.prototype[methodName] = function () {\n return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);\n };\n });\n\n LazyWrapper.prototype.compact = function () {\n return this.filter(identity);\n };\n\n LazyWrapper.prototype.find = function (predicate) {\n return this.filter(predicate).head();\n };\n\n LazyWrapper.prototype.findLast = function (predicate) {\n return this.reverse().find(predicate);\n };\n\n LazyWrapper.prototype.invokeMap = baseRest(function (path, args) {\n if (typeof path == 'function') {\n return new LazyWrapper(this);\n }\n\n return this.map(function (value) {\n return baseInvoke(value, path, args);\n });\n });\n\n LazyWrapper.prototype.reject = function (predicate) {\n return this.filter(negate(getIteratee(predicate)));\n };\n\n LazyWrapper.prototype.slice = function (start, end) {\n start = toInteger(start);\n var result = this;\n\n if (result.__filtered__ && (start > 0 || end < 0)) {\n return new LazyWrapper(result);\n }\n\n if (start < 0) {\n result = result.takeRight(-start);\n } else if (start) {\n result = result.drop(start);\n }\n\n if (end !== undefined) {\n end = toInteger(end);\n result = end < 0 ? result.dropRight(-end) : result.take(end - start);\n }\n\n return result;\n };\n\n LazyWrapper.prototype.takeRightWhile = function (predicate) {\n return this.reverse().takeWhile(predicate).reverse();\n };\n\n LazyWrapper.prototype.toArray = function () {\n return this.take(MAX_ARRAY_LENGTH);\n }; // Add `LazyWrapper` methods to `lodash.prototype`.\n\n\n baseForOwn(LazyWrapper.prototype, function (func, methodName) {\n var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName),\n isTaker = /^(?:head|last)$/.test(methodName),\n lodashFunc = lodash[isTaker ? 'take' + (methodName == 'last' ? 'Right' : '') : methodName],\n retUnwrapped = isTaker || /^find/.test(methodName);\n\n if (!lodashFunc) {\n return;\n }\n\n lodash.prototype[methodName] = function () {\n var value = this.__wrapped__,\n args = isTaker ? [1] : arguments,\n isLazy = value instanceof LazyWrapper,\n iteratee = args[0],\n useLazy = isLazy || isArray(value);\n\n var interceptor = function interceptor(value) {\n var result = lodashFunc.apply(lodash, arrayPush([value], args));\n return isTaker && chainAll ? result[0] : result;\n };\n\n if (useLazy && checkIteratee && typeof iteratee == 'function' && iteratee.length != 1) {\n // Avoid lazy use if the iteratee has a \"length\" value other than `1`.\n isLazy = useLazy = false;\n }\n\n var chainAll = this.__chain__,\n isHybrid = !!this.__actions__.length,\n isUnwrapped = retUnwrapped && !chainAll,\n onlyLazy = isLazy && !isHybrid;\n\n if (!retUnwrapped && useLazy) {\n value = onlyLazy ? value : new LazyWrapper(this);\n var result = func.apply(value, args);\n\n result.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n\n return new LodashWrapper(result, chainAll);\n }\n\n if (isUnwrapped && onlyLazy) {\n return func.apply(this, args);\n }\n\n result = this.thru(interceptor);\n return isUnwrapped ? isTaker ? result.value()[0] : result.value() : result;\n };\n }); // Add `Array` methods to `lodash.prototype`.\n\n arrayEach(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function (methodName) {\n var func = arrayProto[methodName],\n chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru',\n retUnwrapped = /^(?:pop|shift)$/.test(methodName);\n\n lodash.prototype[methodName] = function () {\n var args = arguments;\n\n if (retUnwrapped && !this.__chain__) {\n var value = this.value();\n return func.apply(isArray(value) ? value : [], args);\n }\n\n return this[chainName](function (value) {\n return func.apply(isArray(value) ? value : [], args);\n });\n };\n }); // Map minified method names to their real names.\n\n baseForOwn(LazyWrapper.prototype, function (func, methodName) {\n var lodashFunc = lodash[methodName];\n\n if (lodashFunc) {\n var key = lodashFunc.name + '';\n\n if (!hasOwnProperty.call(realNames, key)) {\n realNames[key] = [];\n }\n\n realNames[key].push({\n 'name': methodName,\n 'func': lodashFunc\n });\n }\n });\n realNames[createHybrid(undefined, WRAP_BIND_KEY_FLAG).name] = [{\n 'name': 'wrapper',\n 'func': undefined\n }]; // Add methods to `LazyWrapper`.\n\n LazyWrapper.prototype.clone = lazyClone;\n LazyWrapper.prototype.reverse = lazyReverse;\n LazyWrapper.prototype.value = lazyValue; // Add chain sequence methods to the `lodash` wrapper.\n\n lodash.prototype.at = wrapperAt;\n lodash.prototype.chain = wrapperChain;\n lodash.prototype.commit = wrapperCommit;\n lodash.prototype.next = wrapperNext;\n lodash.prototype.plant = wrapperPlant;\n lodash.prototype.reverse = wrapperReverse;\n lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue; // Add lazy aliases.\n\n lodash.prototype.first = lodash.prototype.head;\n\n if (symIterator) {\n lodash.prototype[symIterator] = wrapperToIterator;\n }\n\n return lodash;\n };\n /*--------------------------------------------------------------------------*/\n // Export lodash.\n\n\n var _ = runInContext(); // Some AMD build optimizers, like r.js, check for condition patterns like:\n\n\n if (typeof define == 'function' && _typeof(define.amd) == 'object' && define.amd) {\n // Expose Lodash on the global object to prevent errors when Lodash is\n // loaded by a script tag in the presence of an AMD loader.\n // See http://requirejs.org/docs/errors.html#mismatch for more details.\n // Use `_.noConflict` to remove Lodash from the global object.\n root._ = _; // Define as an anonymous module so, through path mapping, it can be\n // referenced as the \"underscore\" module.\n\n define(function () {\n return _;\n });\n } // Check for `exports` after `define` in case a build optimizer adds it.\n else if (freeModule) {\n // Export for Node.js.\n (freeModule.exports = _)._ = _; // Export for CommonJS support.\n\n freeExports._ = _;\n } else {\n // Export to the global object.\n root._ = _;\n }\n}).call(this);","'use strict';\n\nvar reactIs = require('react-is');\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/*!\n * Chart.js v2.9.3\n * https://www.chartjs.org\n * (c) 2019 Chart.js Contributors\n * Released under the MIT License\n */\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory(function () {\n try {\n return require('moment');\n } catch (e) {}\n }()) : typeof define === 'function' && define.amd ? define(['require'], function (require) {\n return factory(function () {\n try {\n return require('moment');\n } catch (e) {}\n }());\n }) : (global = global || self, global.Chart = factory(global.moment));\n})(this, function (moment) {\n 'use strict';\n\n moment = moment && moment.hasOwnProperty('default') ? moment['default'] : moment;\n\n function createCommonjsModule(fn, module) {\n return module = {\n exports: {}\n }, fn(module, module.exports), module.exports;\n }\n\n function getCjsExportFromNamespace(n) {\n return n && n['default'] || n;\n }\n\n var colorName = {\n \"aliceblue\": [240, 248, 255],\n \"antiquewhite\": [250, 235, 215],\n \"aqua\": [0, 255, 255],\n \"aquamarine\": [127, 255, 212],\n \"azure\": [240, 255, 255],\n \"beige\": [245, 245, 220],\n \"bisque\": [255, 228, 196],\n \"black\": [0, 0, 0],\n \"blanchedalmond\": [255, 235, 205],\n \"blue\": [0, 0, 255],\n \"blueviolet\": [138, 43, 226],\n \"brown\": [165, 42, 42],\n \"burlywood\": [222, 184, 135],\n \"cadetblue\": [95, 158, 160],\n \"chartreuse\": [127, 255, 0],\n \"chocolate\": [210, 105, 30],\n \"coral\": [255, 127, 80],\n \"cornflowerblue\": [100, 149, 237],\n \"cornsilk\": [255, 248, 220],\n \"crimson\": [220, 20, 60],\n \"cyan\": [0, 255, 255],\n \"darkblue\": [0, 0, 139],\n \"darkcyan\": [0, 139, 139],\n \"darkgoldenrod\": [184, 134, 11],\n \"darkgray\": [169, 169, 169],\n \"darkgreen\": [0, 100, 0],\n \"darkgrey\": [169, 169, 169],\n \"darkkhaki\": [189, 183, 107],\n \"darkmagenta\": [139, 0, 139],\n \"darkolivegreen\": [85, 107, 47],\n \"darkorange\": [255, 140, 0],\n \"darkorchid\": [153, 50, 204],\n \"darkred\": [139, 0, 0],\n \"darksalmon\": [233, 150, 122],\n \"darkseagreen\": [143, 188, 143],\n \"darkslateblue\": [72, 61, 139],\n \"darkslategray\": [47, 79, 79],\n \"darkslategrey\": [47, 79, 79],\n \"darkturquoise\": [0, 206, 209],\n \"darkviolet\": [148, 0, 211],\n \"deeppink\": [255, 20, 147],\n \"deepskyblue\": [0, 191, 255],\n \"dimgray\": [105, 105, 105],\n \"dimgrey\": [105, 105, 105],\n \"dodgerblue\": [30, 144, 255],\n \"firebrick\": [178, 34, 34],\n \"floralwhite\": [255, 250, 240],\n \"forestgreen\": [34, 139, 34],\n \"fuchsia\": [255, 0, 255],\n \"gainsboro\": [220, 220, 220],\n \"ghostwhite\": [248, 248, 255],\n \"gold\": [255, 215, 0],\n \"goldenrod\": [218, 165, 32],\n \"gray\": [128, 128, 128],\n \"green\": [0, 128, 0],\n \"greenyellow\": [173, 255, 47],\n \"grey\": [128, 128, 128],\n \"honeydew\": [240, 255, 240],\n \"hotpink\": [255, 105, 180],\n \"indianred\": [205, 92, 92],\n \"indigo\": [75, 0, 130],\n \"ivory\": [255, 255, 240],\n \"khaki\": [240, 230, 140],\n \"lavender\": [230, 230, 250],\n \"lavenderblush\": [255, 240, 245],\n \"lawngreen\": [124, 252, 0],\n \"lemonchiffon\": [255, 250, 205],\n \"lightblue\": [173, 216, 230],\n \"lightcoral\": [240, 128, 128],\n \"lightcyan\": [224, 255, 255],\n \"lightgoldenrodyellow\": [250, 250, 210],\n \"lightgray\": [211, 211, 211],\n \"lightgreen\": [144, 238, 144],\n \"lightgrey\": [211, 211, 211],\n \"lightpink\": [255, 182, 193],\n \"lightsalmon\": [255, 160, 122],\n \"lightseagreen\": [32, 178, 170],\n \"lightskyblue\": [135, 206, 250],\n \"lightslategray\": [119, 136, 153],\n \"lightslategrey\": [119, 136, 153],\n \"lightsteelblue\": [176, 196, 222],\n \"lightyellow\": [255, 255, 224],\n \"lime\": [0, 255, 0],\n \"limegreen\": [50, 205, 50],\n \"linen\": [250, 240, 230],\n \"magenta\": [255, 0, 255],\n \"maroon\": [128, 0, 0],\n \"mediumaquamarine\": [102, 205, 170],\n \"mediumblue\": [0, 0, 205],\n \"mediumorchid\": [186, 85, 211],\n \"mediumpurple\": [147, 112, 219],\n \"mediumseagreen\": [60, 179, 113],\n \"mediumslateblue\": [123, 104, 238],\n \"mediumspringgreen\": [0, 250, 154],\n \"mediumturquoise\": [72, 209, 204],\n \"mediumvioletred\": [199, 21, 133],\n \"midnightblue\": [25, 25, 112],\n \"mintcream\": [245, 255, 250],\n \"mistyrose\": [255, 228, 225],\n \"moccasin\": [255, 228, 181],\n \"navajowhite\": [255, 222, 173],\n \"navy\": [0, 0, 128],\n \"oldlace\": [253, 245, 230],\n \"olive\": [128, 128, 0],\n \"olivedrab\": [107, 142, 35],\n \"orange\": [255, 165, 0],\n \"orangered\": [255, 69, 0],\n \"orchid\": [218, 112, 214],\n \"palegoldenrod\": [238, 232, 170],\n \"palegreen\": [152, 251, 152],\n \"paleturquoise\": [175, 238, 238],\n \"palevioletred\": [219, 112, 147],\n \"papayawhip\": [255, 239, 213],\n \"peachpuff\": [255, 218, 185],\n \"peru\": [205, 133, 63],\n \"pink\": [255, 192, 203],\n \"plum\": [221, 160, 221],\n \"powderblue\": [176, 224, 230],\n \"purple\": [128, 0, 128],\n \"rebeccapurple\": [102, 51, 153],\n \"red\": [255, 0, 0],\n \"rosybrown\": [188, 143, 143],\n \"royalblue\": [65, 105, 225],\n \"saddlebrown\": [139, 69, 19],\n \"salmon\": [250, 128, 114],\n \"sandybrown\": [244, 164, 96],\n \"seagreen\": [46, 139, 87],\n \"seashell\": [255, 245, 238],\n \"sienna\": [160, 82, 45],\n \"silver\": [192, 192, 192],\n \"skyblue\": [135, 206, 235],\n \"slateblue\": [106, 90, 205],\n \"slategray\": [112, 128, 144],\n \"slategrey\": [112, 128, 144],\n \"snow\": [255, 250, 250],\n \"springgreen\": [0, 255, 127],\n \"steelblue\": [70, 130, 180],\n \"tan\": [210, 180, 140],\n \"teal\": [0, 128, 128],\n \"thistle\": [216, 191, 216],\n \"tomato\": [255, 99, 71],\n \"turquoise\": [64, 224, 208],\n \"violet\": [238, 130, 238],\n \"wheat\": [245, 222, 179],\n \"white\": [255, 255, 255],\n \"whitesmoke\": [245, 245, 245],\n \"yellow\": [255, 255, 0],\n \"yellowgreen\": [154, 205, 50]\n };\n var conversions = createCommonjsModule(function (module) {\n /* MIT license */\n // NOTE: conversions should only return primitive values (i.e. arrays, or\n // values that give correct `typeof` results).\n // do not use box values types (i.e. Number(), String(), etc.)\n var reverseKeywords = {};\n\n for (var key in colorName) {\n if (colorName.hasOwnProperty(key)) {\n reverseKeywords[colorName[key]] = key;\n }\n }\n\n var convert = module.exports = {\n rgb: {\n channels: 3,\n labels: 'rgb'\n },\n hsl: {\n channels: 3,\n labels: 'hsl'\n },\n hsv: {\n channels: 3,\n labels: 'hsv'\n },\n hwb: {\n channels: 3,\n labels: 'hwb'\n },\n cmyk: {\n channels: 4,\n labels: 'cmyk'\n },\n xyz: {\n channels: 3,\n labels: 'xyz'\n },\n lab: {\n channels: 3,\n labels: 'lab'\n },\n lch: {\n channels: 3,\n labels: 'lch'\n },\n hex: {\n channels: 1,\n labels: ['hex']\n },\n keyword: {\n channels: 1,\n labels: ['keyword']\n },\n ansi16: {\n channels: 1,\n labels: ['ansi16']\n },\n ansi256: {\n channels: 1,\n labels: ['ansi256']\n },\n hcg: {\n channels: 3,\n labels: ['h', 'c', 'g']\n },\n apple: {\n channels: 3,\n labels: ['r16', 'g16', 'b16']\n },\n gray: {\n channels: 1,\n labels: ['gray']\n }\n }; // hide .channels and .labels properties\n\n for (var model in convert) {\n if (convert.hasOwnProperty(model)) {\n if (!('channels' in convert[model])) {\n throw new Error('missing channels property: ' + model);\n }\n\n if (!('labels' in convert[model])) {\n throw new Error('missing channel labels property: ' + model);\n }\n\n if (convert[model].labels.length !== convert[model].channels) {\n throw new Error('channel and label counts mismatch: ' + model);\n }\n\n var channels = convert[model].channels;\n var labels = convert[model].labels;\n delete convert[model].channels;\n delete convert[model].labels;\n Object.defineProperty(convert[model], 'channels', {\n value: channels\n });\n Object.defineProperty(convert[model], 'labels', {\n value: labels\n });\n }\n }\n\n convert.rgb.hsl = function (rgb) {\n var r = rgb[0] / 255;\n var g = rgb[1] / 255;\n var b = rgb[2] / 255;\n var min = Math.min(r, g, b);\n var max = Math.max(r, g, b);\n var delta = max - min;\n var h;\n var s;\n var l;\n\n if (max === min) {\n h = 0;\n } else if (r === max) {\n h = (g - b) / delta;\n } else if (g === max) {\n h = 2 + (b - r) / delta;\n } else if (b === max) {\n h = 4 + (r - g) / delta;\n }\n\n h = Math.min(h * 60, 360);\n\n if (h < 0) {\n h += 360;\n }\n\n l = (min + max) / 2;\n\n if (max === min) {\n s = 0;\n } else if (l <= 0.5) {\n s = delta / (max + min);\n } else {\n s = delta / (2 - max - min);\n }\n\n return [h, s * 100, l * 100];\n };\n\n convert.rgb.hsv = function (rgb) {\n var rdif;\n var gdif;\n var bdif;\n var h;\n var s;\n var r = rgb[0] / 255;\n var g = rgb[1] / 255;\n var b = rgb[2] / 255;\n var v = Math.max(r, g, b);\n var diff = v - Math.min(r, g, b);\n\n var diffc = function diffc(c) {\n return (v - c) / 6 / diff + 1 / 2;\n };\n\n if (diff === 0) {\n h = s = 0;\n } else {\n s = diff / v;\n rdif = diffc(r);\n gdif = diffc(g);\n bdif = diffc(b);\n\n if (r === v) {\n h = bdif - gdif;\n } else if (g === v) {\n h = 1 / 3 + rdif - bdif;\n } else if (b === v) {\n h = 2 / 3 + gdif - rdif;\n }\n\n if (h < 0) {\n h += 1;\n } else if (h > 1) {\n h -= 1;\n }\n }\n\n return [h * 360, s * 100, v * 100];\n };\n\n convert.rgb.hwb = function (rgb) {\n var r = rgb[0];\n var g = rgb[1];\n var b = rgb[2];\n var h = convert.rgb.hsl(rgb)[0];\n var w = 1 / 255 * Math.min(r, Math.min(g, b));\n b = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n return [h, w * 100, b * 100];\n };\n\n convert.rgb.cmyk = function (rgb) {\n var r = rgb[0] / 255;\n var g = rgb[1] / 255;\n var b = rgb[2] / 255;\n var c;\n var m;\n var y;\n var k;\n k = Math.min(1 - r, 1 - g, 1 - b);\n c = (1 - r - k) / (1 - k) || 0;\n m = (1 - g - k) / (1 - k) || 0;\n y = (1 - b - k) / (1 - k) || 0;\n return [c * 100, m * 100, y * 100, k * 100];\n };\n /**\n * See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance\n * */\n\n\n function comparativeDistance(x, y) {\n return Math.pow(x[0] - y[0], 2) + Math.pow(x[1] - y[1], 2) + Math.pow(x[2] - y[2], 2);\n }\n\n convert.rgb.keyword = function (rgb) {\n var reversed = reverseKeywords[rgb];\n\n if (reversed) {\n return reversed;\n }\n\n var currentClosestDistance = Infinity;\n var currentClosestKeyword;\n\n for (var keyword in colorName) {\n if (colorName.hasOwnProperty(keyword)) {\n var value = colorName[keyword]; // Compute comparative distance\n\n var distance = comparativeDistance(rgb, value); // Check if its less, if so set as closest\n\n if (distance < currentClosestDistance) {\n currentClosestDistance = distance;\n currentClosestKeyword = keyword;\n }\n }\n }\n\n return currentClosestKeyword;\n };\n\n convert.keyword.rgb = function (keyword) {\n return colorName[keyword];\n };\n\n convert.rgb.xyz = function (rgb) {\n var r = rgb[0] / 255;\n var g = rgb[1] / 255;\n var b = rgb[2] / 255; // assume sRGB\n\n r = r > 0.04045 ? Math.pow((r + 0.055) / 1.055, 2.4) : r / 12.92;\n g = g > 0.04045 ? Math.pow((g + 0.055) / 1.055, 2.4) : g / 12.92;\n b = b > 0.04045 ? Math.pow((b + 0.055) / 1.055, 2.4) : b / 12.92;\n var x = r * 0.4124 + g * 0.3576 + b * 0.1805;\n var y = r * 0.2126 + g * 0.7152 + b * 0.0722;\n var z = r * 0.0193 + g * 0.1192 + b * 0.9505;\n return [x * 100, y * 100, z * 100];\n };\n\n convert.rgb.lab = function (rgb) {\n var xyz = convert.rgb.xyz(rgb);\n var x = xyz[0];\n var y = xyz[1];\n var z = xyz[2];\n var l;\n var a;\n var b;\n x /= 95.047;\n y /= 100;\n z /= 108.883;\n x = x > 0.008856 ? Math.pow(x, 1 / 3) : 7.787 * x + 16 / 116;\n y = y > 0.008856 ? Math.pow(y, 1 / 3) : 7.787 * y + 16 / 116;\n z = z > 0.008856 ? Math.pow(z, 1 / 3) : 7.787 * z + 16 / 116;\n l = 116 * y - 16;\n a = 500 * (x - y);\n b = 200 * (y - z);\n return [l, a, b];\n };\n\n convert.hsl.rgb = function (hsl) {\n var h = hsl[0] / 360;\n var s = hsl[1] / 100;\n var l = hsl[2] / 100;\n var t1;\n var t2;\n var t3;\n var rgb;\n var val;\n\n if (s === 0) {\n val = l * 255;\n return [val, val, val];\n }\n\n if (l < 0.5) {\n t2 = l * (1 + s);\n } else {\n t2 = l + s - l * s;\n }\n\n t1 = 2 * l - t2;\n rgb = [0, 0, 0];\n\n for (var i = 0; i < 3; i++) {\n t3 = h + 1 / 3 * -(i - 1);\n\n if (t3 < 0) {\n t3++;\n }\n\n if (t3 > 1) {\n t3--;\n }\n\n if (6 * t3 < 1) {\n val = t1 + (t2 - t1) * 6 * t3;\n } else if (2 * t3 < 1) {\n val = t2;\n } else if (3 * t3 < 2) {\n val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n } else {\n val = t1;\n }\n\n rgb[i] = val * 255;\n }\n\n return rgb;\n };\n\n convert.hsl.hsv = function (hsl) {\n var h = hsl[0];\n var s = hsl[1] / 100;\n var l = hsl[2] / 100;\n var smin = s;\n var lmin = Math.max(l, 0.01);\n var sv;\n var v;\n l *= 2;\n s *= l <= 1 ? l : 2 - l;\n smin *= lmin <= 1 ? lmin : 2 - lmin;\n v = (l + s) / 2;\n sv = l === 0 ? 2 * smin / (lmin + smin) : 2 * s / (l + s);\n return [h, sv * 100, v * 100];\n };\n\n convert.hsv.rgb = function (hsv) {\n var h = hsv[0] / 60;\n var s = hsv[1] / 100;\n var v = hsv[2] / 100;\n var hi = Math.floor(h) % 6;\n var f = h - Math.floor(h);\n var p = 255 * v * (1 - s);\n var q = 255 * v * (1 - s * f);\n var t = 255 * v * (1 - s * (1 - f));\n v *= 255;\n\n switch (hi) {\n case 0:\n return [v, t, p];\n\n case 1:\n return [q, v, p];\n\n case 2:\n return [p, v, t];\n\n case 3:\n return [p, q, v];\n\n case 4:\n return [t, p, v];\n\n case 5:\n return [v, p, q];\n }\n };\n\n convert.hsv.hsl = function (hsv) {\n var h = hsv[0];\n var s = hsv[1] / 100;\n var v = hsv[2] / 100;\n var vmin = Math.max(v, 0.01);\n var lmin;\n var sl;\n var l;\n l = (2 - s) * v;\n lmin = (2 - s) * vmin;\n sl = s * vmin;\n sl /= lmin <= 1 ? lmin : 2 - lmin;\n sl = sl || 0;\n l /= 2;\n return [h, sl * 100, l * 100];\n }; // http://dev.w3.org/csswg/css-color/#hwb-to-rgb\n\n\n convert.hwb.rgb = function (hwb) {\n var h = hwb[0] / 360;\n var wh = hwb[1] / 100;\n var bl = hwb[2] / 100;\n var ratio = wh + bl;\n var i;\n var v;\n var f;\n var n; // wh + bl cant be > 1\n\n if (ratio > 1) {\n wh /= ratio;\n bl /= ratio;\n }\n\n i = Math.floor(6 * h);\n v = 1 - bl;\n f = 6 * h - i;\n\n if ((i & 0x01) !== 0) {\n f = 1 - f;\n }\n\n n = wh + f * (v - wh); // linear interpolation\n\n var r;\n var g;\n var b;\n\n switch (i) {\n default:\n case 6:\n case 0:\n r = v;\n g = n;\n b = wh;\n break;\n\n case 1:\n r = n;\n g = v;\n b = wh;\n break;\n\n case 2:\n r = wh;\n g = v;\n b = n;\n break;\n\n case 3:\n r = wh;\n g = n;\n b = v;\n break;\n\n case 4:\n r = n;\n g = wh;\n b = v;\n break;\n\n case 5:\n r = v;\n g = wh;\n b = n;\n break;\n }\n\n return [r * 255, g * 255, b * 255];\n };\n\n convert.cmyk.rgb = function (cmyk) {\n var c = cmyk[0] / 100;\n var m = cmyk[1] / 100;\n var y = cmyk[2] / 100;\n var k = cmyk[3] / 100;\n var r;\n var g;\n var b;\n r = 1 - Math.min(1, c * (1 - k) + k);\n g = 1 - Math.min(1, m * (1 - k) + k);\n b = 1 - Math.min(1, y * (1 - k) + k);\n return [r * 255, g * 255, b * 255];\n };\n\n convert.xyz.rgb = function (xyz) {\n var x = xyz[0] / 100;\n var y = xyz[1] / 100;\n var z = xyz[2] / 100;\n var r;\n var g;\n var b;\n r = x * 3.2406 + y * -1.5372 + z * -0.4986;\n g = x * -0.9689 + y * 1.8758 + z * 0.0415;\n b = x * 0.0557 + y * -0.2040 + z * 1.0570; // assume sRGB\n\n r = r > 0.0031308 ? 1.055 * Math.pow(r, 1.0 / 2.4) - 0.055 : r * 12.92;\n g = g > 0.0031308 ? 1.055 * Math.pow(g, 1.0 / 2.4) - 0.055 : g * 12.92;\n b = b > 0.0031308 ? 1.055 * Math.pow(b, 1.0 / 2.4) - 0.055 : b * 12.92;\n r = Math.min(Math.max(0, r), 1);\n g = Math.min(Math.max(0, g), 1);\n b = Math.min(Math.max(0, b), 1);\n return [r * 255, g * 255, b * 255];\n };\n\n convert.xyz.lab = function (xyz) {\n var x = xyz[0];\n var y = xyz[1];\n var z = xyz[2];\n var l;\n var a;\n var b;\n x /= 95.047;\n y /= 100;\n z /= 108.883;\n x = x > 0.008856 ? Math.pow(x, 1 / 3) : 7.787 * x + 16 / 116;\n y = y > 0.008856 ? Math.pow(y, 1 / 3) : 7.787 * y + 16 / 116;\n z = z > 0.008856 ? Math.pow(z, 1 / 3) : 7.787 * z + 16 / 116;\n l = 116 * y - 16;\n a = 500 * (x - y);\n b = 200 * (y - z);\n return [l, a, b];\n };\n\n convert.lab.xyz = function (lab) {\n var l = lab[0];\n var a = lab[1];\n var b = lab[2];\n var x;\n var y;\n var z;\n y = (l + 16) / 116;\n x = a / 500 + y;\n z = y - b / 200;\n var y2 = Math.pow(y, 3);\n var x2 = Math.pow(x, 3);\n var z2 = Math.pow(z, 3);\n y = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n x = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n z = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n x *= 95.047;\n y *= 100;\n z *= 108.883;\n return [x, y, z];\n };\n\n convert.lab.lch = function (lab) {\n var l = lab[0];\n var a = lab[1];\n var b = lab[2];\n var hr;\n var h;\n var c;\n hr = Math.atan2(b, a);\n h = hr * 360 / 2 / Math.PI;\n\n if (h < 0) {\n h += 360;\n }\n\n c = Math.sqrt(a * a + b * b);\n return [l, c, h];\n };\n\n convert.lch.lab = function (lch) {\n var l = lch[0];\n var c = lch[1];\n var h = lch[2];\n var a;\n var b;\n var hr;\n hr = h / 360 * 2 * Math.PI;\n a = c * Math.cos(hr);\n b = c * Math.sin(hr);\n return [l, a, b];\n };\n\n convert.rgb.ansi16 = function (args) {\n var r = args[0];\n var g = args[1];\n var b = args[2];\n var value = 1 in arguments ? arguments[1] : convert.rgb.hsv(args)[2]; // hsv -> ansi16 optimization\n\n value = Math.round(value / 50);\n\n if (value === 0) {\n return 30;\n }\n\n var ansi = 30 + (Math.round(b / 255) << 2 | Math.round(g / 255) << 1 | Math.round(r / 255));\n\n if (value === 2) {\n ansi += 60;\n }\n\n return ansi;\n };\n\n convert.hsv.ansi16 = function (args) {\n // optimization here; we already know the value and don't need to get\n // it converted for us.\n return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n };\n\n convert.rgb.ansi256 = function (args) {\n var r = args[0];\n var g = args[1];\n var b = args[2]; // we use the extended greyscale palette here, with the exception of\n // black and white. normal palette only has 4 greyscale shades.\n\n if (r === g && g === b) {\n if (r < 8) {\n return 16;\n }\n\n if (r > 248) {\n return 231;\n }\n\n return Math.round((r - 8) / 247 * 24) + 232;\n }\n\n var ansi = 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(g / 255 * 5) + Math.round(b / 255 * 5);\n return ansi;\n };\n\n convert.ansi16.rgb = function (args) {\n var color = args % 10; // handle greyscale\n\n if (color === 0 || color === 7) {\n if (args > 50) {\n color += 3.5;\n }\n\n color = color / 10.5 * 255;\n return [color, color, color];\n }\n\n var mult = (~~(args > 50) + 1) * 0.5;\n var r = (color & 1) * mult * 255;\n var g = (color >> 1 & 1) * mult * 255;\n var b = (color >> 2 & 1) * mult * 255;\n return [r, g, b];\n };\n\n convert.ansi256.rgb = function (args) {\n // handle greyscale\n if (args >= 232) {\n var c = (args - 232) * 10 + 8;\n return [c, c, c];\n }\n\n args -= 16;\n var rem;\n var r = Math.floor(args / 36) / 5 * 255;\n var g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n var b = rem % 6 / 5 * 255;\n return [r, g, b];\n };\n\n convert.rgb.hex = function (args) {\n var integer = ((Math.round(args[0]) & 0xFF) << 16) + ((Math.round(args[1]) & 0xFF) << 8) + (Math.round(args[2]) & 0xFF);\n var string = integer.toString(16).toUpperCase();\n return '000000'.substring(string.length) + string;\n };\n\n convert.hex.rgb = function (args) {\n var match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);\n\n if (!match) {\n return [0, 0, 0];\n }\n\n var colorString = match[0];\n\n if (match[0].length === 3) {\n colorString = colorString.split('').map(function (char) {\n return char + char;\n }).join('');\n }\n\n var integer = parseInt(colorString, 16);\n var r = integer >> 16 & 0xFF;\n var g = integer >> 8 & 0xFF;\n var b = integer & 0xFF;\n return [r, g, b];\n };\n\n convert.rgb.hcg = function (rgb) {\n var r = rgb[0] / 255;\n var g = rgb[1] / 255;\n var b = rgb[2] / 255;\n var max = Math.max(Math.max(r, g), b);\n var min = Math.min(Math.min(r, g), b);\n var chroma = max - min;\n var grayscale;\n var hue;\n\n if (chroma < 1) {\n grayscale = min / (1 - chroma);\n } else {\n grayscale = 0;\n }\n\n if (chroma <= 0) {\n hue = 0;\n } else if (max === r) {\n hue = (g - b) / chroma % 6;\n } else if (max === g) {\n hue = 2 + (b - r) / chroma;\n } else {\n hue = 4 + (r - g) / chroma + 4;\n }\n\n hue /= 6;\n hue %= 1;\n return [hue * 360, chroma * 100, grayscale * 100];\n };\n\n convert.hsl.hcg = function (hsl) {\n var s = hsl[1] / 100;\n var l = hsl[2] / 100;\n var c = 1;\n var f = 0;\n\n if (l < 0.5) {\n c = 2.0 * s * l;\n } else {\n c = 2.0 * s * (1.0 - l);\n }\n\n if (c < 1.0) {\n f = (l - 0.5 * c) / (1.0 - c);\n }\n\n return [hsl[0], c * 100, f * 100];\n };\n\n convert.hsv.hcg = function (hsv) {\n var s = hsv[1] / 100;\n var v = hsv[2] / 100;\n var c = s * v;\n var f = 0;\n\n if (c < 1.0) {\n f = (v - c) / (1 - c);\n }\n\n return [hsv[0], c * 100, f * 100];\n };\n\n convert.hcg.rgb = function (hcg) {\n var h = hcg[0] / 360;\n var c = hcg[1] / 100;\n var g = hcg[2] / 100;\n\n if (c === 0.0) {\n return [g * 255, g * 255, g * 255];\n }\n\n var pure = [0, 0, 0];\n var hi = h % 1 * 6;\n var v = hi % 1;\n var w = 1 - v;\n var mg = 0;\n\n switch (Math.floor(hi)) {\n case 0:\n pure[0] = 1;\n pure[1] = v;\n pure[2] = 0;\n break;\n\n case 1:\n pure[0] = w;\n pure[1] = 1;\n pure[2] = 0;\n break;\n\n case 2:\n pure[0] = 0;\n pure[1] = 1;\n pure[2] = v;\n break;\n\n case 3:\n pure[0] = 0;\n pure[1] = w;\n pure[2] = 1;\n break;\n\n case 4:\n pure[0] = v;\n pure[1] = 0;\n pure[2] = 1;\n break;\n\n default:\n pure[0] = 1;\n pure[1] = 0;\n pure[2] = w;\n }\n\n mg = (1.0 - c) * g;\n return [(c * pure[0] + mg) * 255, (c * pure[1] + mg) * 255, (c * pure[2] + mg) * 255];\n };\n\n convert.hcg.hsv = function (hcg) {\n var c = hcg[1] / 100;\n var g = hcg[2] / 100;\n var v = c + g * (1.0 - c);\n var f = 0;\n\n if (v > 0.0) {\n f = c / v;\n }\n\n return [hcg[0], f * 100, v * 100];\n };\n\n convert.hcg.hsl = function (hcg) {\n var c = hcg[1] / 100;\n var g = hcg[2] / 100;\n var l = g * (1.0 - c) + 0.5 * c;\n var s = 0;\n\n if (l > 0.0 && l < 0.5) {\n s = c / (2 * l);\n } else if (l >= 0.5 && l < 1.0) {\n s = c / (2 * (1 - l));\n }\n\n return [hcg[0], s * 100, l * 100];\n };\n\n convert.hcg.hwb = function (hcg) {\n var c = hcg[1] / 100;\n var g = hcg[2] / 100;\n var v = c + g * (1.0 - c);\n return [hcg[0], (v - c) * 100, (1 - v) * 100];\n };\n\n convert.hwb.hcg = function (hwb) {\n var w = hwb[1] / 100;\n var b = hwb[2] / 100;\n var v = 1 - b;\n var c = v - w;\n var g = 0;\n\n if (c < 1) {\n g = (v - c) / (1 - c);\n }\n\n return [hwb[0], c * 100, g * 100];\n };\n\n convert.apple.rgb = function (apple) {\n return [apple[0] / 65535 * 255, apple[1] / 65535 * 255, apple[2] / 65535 * 255];\n };\n\n convert.rgb.apple = function (rgb) {\n return [rgb[0] / 255 * 65535, rgb[1] / 255 * 65535, rgb[2] / 255 * 65535];\n };\n\n convert.gray.rgb = function (args) {\n return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n };\n\n convert.gray.hsl = convert.gray.hsv = function (args) {\n return [0, 0, args[0]];\n };\n\n convert.gray.hwb = function (gray) {\n return [0, 100, gray[0]];\n };\n\n convert.gray.cmyk = function (gray) {\n return [0, 0, 0, gray[0]];\n };\n\n convert.gray.lab = function (gray) {\n return [gray[0], 0, 0];\n };\n\n convert.gray.hex = function (gray) {\n var val = Math.round(gray[0] / 100 * 255) & 0xFF;\n var integer = (val << 16) + (val << 8) + val;\n var string = integer.toString(16).toUpperCase();\n return '000000'.substring(string.length) + string;\n };\n\n convert.rgb.gray = function (rgb) {\n var val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n return [val / 255 * 100];\n };\n });\n var conversions_1 = conversions.rgb;\n var conversions_2 = conversions.hsl;\n var conversions_3 = conversions.hsv;\n var conversions_4 = conversions.hwb;\n var conversions_5 = conversions.cmyk;\n var conversions_6 = conversions.xyz;\n var conversions_7 = conversions.lab;\n var conversions_8 = conversions.lch;\n var conversions_9 = conversions.hex;\n var conversions_10 = conversions.keyword;\n var conversions_11 = conversions.ansi16;\n var conversions_12 = conversions.ansi256;\n var conversions_13 = conversions.hcg;\n var conversions_14 = conversions.apple;\n var conversions_15 = conversions.gray;\n /*\n \tthis function routes a model to all other models.\n \n \tall functions that are routed have a property `.conversion` attached\n \tto the returned synthetic function. This property is an array\n \tof strings, each with the steps in between the 'from' and 'to'\n \tcolor models (inclusive).\n \n \tconversions that are not possible simply are not included.\n */\n\n function buildGraph() {\n var graph = {}; // https://jsperf.com/object-keys-vs-for-in-with-closure/3\n\n var models = Object.keys(conversions);\n\n for (var len = models.length, i = 0; i < len; i++) {\n graph[models[i]] = {\n // http://jsperf.com/1-vs-infinity\n // micro-opt, but this is simple.\n distance: -1,\n parent: null\n };\n }\n\n return graph;\n } // https://en.wikipedia.org/wiki/Breadth-first_search\n\n\n function deriveBFS(fromModel) {\n var graph = buildGraph();\n var queue = [fromModel]; // unshift -> queue -> pop\n\n graph[fromModel].distance = 0;\n\n while (queue.length) {\n var current = queue.pop();\n var adjacents = Object.keys(conversions[current]);\n\n for (var len = adjacents.length, i = 0; i < len; i++) {\n var adjacent = adjacents[i];\n var node = graph[adjacent];\n\n if (node.distance === -1) {\n node.distance = graph[current].distance + 1;\n node.parent = current;\n queue.unshift(adjacent);\n }\n }\n }\n\n return graph;\n }\n\n function link(from, to) {\n return function (args) {\n return to(from(args));\n };\n }\n\n function wrapConversion(toModel, graph) {\n var path = [graph[toModel].parent, toModel];\n var fn = conversions[graph[toModel].parent][toModel];\n var cur = graph[toModel].parent;\n\n while (graph[cur].parent) {\n path.unshift(graph[cur].parent);\n fn = link(conversions[graph[cur].parent][cur], fn);\n cur = graph[cur].parent;\n }\n\n fn.conversion = path;\n return fn;\n }\n\n var route = function route(fromModel) {\n var graph = deriveBFS(fromModel);\n var conversion = {};\n var models = Object.keys(graph);\n\n for (var len = models.length, i = 0; i < len; i++) {\n var toModel = models[i];\n var node = graph[toModel];\n\n if (node.parent === null) {\n // no possible conversion, or this node is the source model.\n continue;\n }\n\n conversion[toModel] = wrapConversion(toModel, graph);\n }\n\n return conversion;\n };\n\n var convert = {};\n var models = Object.keys(conversions);\n\n function wrapRaw(fn) {\n var wrappedFn = function wrappedFn(args) {\n if (args === undefined || args === null) {\n return args;\n }\n\n if (arguments.length > 1) {\n args = Array.prototype.slice.call(arguments);\n }\n\n return fn(args);\n }; // preserve .conversion property if there is one\n\n\n if ('conversion' in fn) {\n wrappedFn.conversion = fn.conversion;\n }\n\n return wrappedFn;\n }\n\n function wrapRounded(fn) {\n var wrappedFn = function wrappedFn(args) {\n if (args === undefined || args === null) {\n return args;\n }\n\n if (arguments.length > 1) {\n args = Array.prototype.slice.call(arguments);\n }\n\n var result = fn(args); // we're assuming the result is an array here.\n // see notice in conversions.js; don't use box types\n // in conversion functions.\n\n if (_typeof(result) === 'object') {\n for (var len = result.length, i = 0; i < len; i++) {\n result[i] = Math.round(result[i]);\n }\n }\n\n return result;\n }; // preserve .conversion property if there is one\n\n\n if ('conversion' in fn) {\n wrappedFn.conversion = fn.conversion;\n }\n\n return wrappedFn;\n }\n\n models.forEach(function (fromModel) {\n convert[fromModel] = {};\n Object.defineProperty(convert[fromModel], 'channels', {\n value: conversions[fromModel].channels\n });\n Object.defineProperty(convert[fromModel], 'labels', {\n value: conversions[fromModel].labels\n });\n var routes = route(fromModel);\n var routeModels = Object.keys(routes);\n routeModels.forEach(function (toModel) {\n var fn = routes[toModel];\n convert[fromModel][toModel] = wrapRounded(fn);\n convert[fromModel][toModel].raw = wrapRaw(fn);\n });\n });\n var colorConvert = convert;\n var colorName$1 = {\n \"aliceblue\": [240, 248, 255],\n \"antiquewhite\": [250, 235, 215],\n \"aqua\": [0, 255, 255],\n \"aquamarine\": [127, 255, 212],\n \"azure\": [240, 255, 255],\n \"beige\": [245, 245, 220],\n \"bisque\": [255, 228, 196],\n \"black\": [0, 0, 0],\n \"blanchedalmond\": [255, 235, 205],\n \"blue\": [0, 0, 255],\n \"blueviolet\": [138, 43, 226],\n \"brown\": [165, 42, 42],\n \"burlywood\": [222, 184, 135],\n \"cadetblue\": [95, 158, 160],\n \"chartreuse\": [127, 255, 0],\n \"chocolate\": [210, 105, 30],\n \"coral\": [255, 127, 80],\n \"cornflowerblue\": [100, 149, 237],\n \"cornsilk\": [255, 248, 220],\n \"crimson\": [220, 20, 60],\n \"cyan\": [0, 255, 255],\n \"darkblue\": [0, 0, 139],\n \"darkcyan\": [0, 139, 139],\n \"darkgoldenrod\": [184, 134, 11],\n \"darkgray\": [169, 169, 169],\n \"darkgreen\": [0, 100, 0],\n \"darkgrey\": [169, 169, 169],\n \"darkkhaki\": [189, 183, 107],\n \"darkmagenta\": [139, 0, 139],\n \"darkolivegreen\": [85, 107, 47],\n \"darkorange\": [255, 140, 0],\n \"darkorchid\": [153, 50, 204],\n \"darkred\": [139, 0, 0],\n \"darksalmon\": [233, 150, 122],\n \"darkseagreen\": [143, 188, 143],\n \"darkslateblue\": [72, 61, 139],\n \"darkslategray\": [47, 79, 79],\n \"darkslategrey\": [47, 79, 79],\n \"darkturquoise\": [0, 206, 209],\n \"darkviolet\": [148, 0, 211],\n \"deeppink\": [255, 20, 147],\n \"deepskyblue\": [0, 191, 255],\n \"dimgray\": [105, 105, 105],\n \"dimgrey\": [105, 105, 105],\n \"dodgerblue\": [30, 144, 255],\n \"firebrick\": [178, 34, 34],\n \"floralwhite\": [255, 250, 240],\n \"forestgreen\": [34, 139, 34],\n \"fuchsia\": [255, 0, 255],\n \"gainsboro\": [220, 220, 220],\n \"ghostwhite\": [248, 248, 255],\n \"gold\": [255, 215, 0],\n \"goldenrod\": [218, 165, 32],\n \"gray\": [128, 128, 128],\n \"green\": [0, 128, 0],\n \"greenyellow\": [173, 255, 47],\n \"grey\": [128, 128, 128],\n \"honeydew\": [240, 255, 240],\n \"hotpink\": [255, 105, 180],\n \"indianred\": [205, 92, 92],\n \"indigo\": [75, 0, 130],\n \"ivory\": [255, 255, 240],\n \"khaki\": [240, 230, 140],\n \"lavender\": [230, 230, 250],\n \"lavenderblush\": [255, 240, 245],\n \"lawngreen\": [124, 252, 0],\n \"lemonchiffon\": [255, 250, 205],\n \"lightblue\": [173, 216, 230],\n \"lightcoral\": [240, 128, 128],\n \"lightcyan\": [224, 255, 255],\n \"lightgoldenrodyellow\": [250, 250, 210],\n \"lightgray\": [211, 211, 211],\n \"lightgreen\": [144, 238, 144],\n \"lightgrey\": [211, 211, 211],\n \"lightpink\": [255, 182, 193],\n \"lightsalmon\": [255, 160, 122],\n \"lightseagreen\": [32, 178, 170],\n \"lightskyblue\": [135, 206, 250],\n \"lightslategray\": [119, 136, 153],\n \"lightslategrey\": [119, 136, 153],\n \"lightsteelblue\": [176, 196, 222],\n \"lightyellow\": [255, 255, 224],\n \"lime\": [0, 255, 0],\n \"limegreen\": [50, 205, 50],\n \"linen\": [250, 240, 230],\n \"magenta\": [255, 0, 255],\n \"maroon\": [128, 0, 0],\n \"mediumaquamarine\": [102, 205, 170],\n \"mediumblue\": [0, 0, 205],\n \"mediumorchid\": [186, 85, 211],\n \"mediumpurple\": [147, 112, 219],\n \"mediumseagreen\": [60, 179, 113],\n \"mediumslateblue\": [123, 104, 238],\n \"mediumspringgreen\": [0, 250, 154],\n \"mediumturquoise\": [72, 209, 204],\n \"mediumvioletred\": [199, 21, 133],\n \"midnightblue\": [25, 25, 112],\n \"mintcream\": [245, 255, 250],\n \"mistyrose\": [255, 228, 225],\n \"moccasin\": [255, 228, 181],\n \"navajowhite\": [255, 222, 173],\n \"navy\": [0, 0, 128],\n \"oldlace\": [253, 245, 230],\n \"olive\": [128, 128, 0],\n \"olivedrab\": [107, 142, 35],\n \"orange\": [255, 165, 0],\n \"orangered\": [255, 69, 0],\n \"orchid\": [218, 112, 214],\n \"palegoldenrod\": [238, 232, 170],\n \"palegreen\": [152, 251, 152],\n \"paleturquoise\": [175, 238, 238],\n \"palevioletred\": [219, 112, 147],\n \"papayawhip\": [255, 239, 213],\n \"peachpuff\": [255, 218, 185],\n \"peru\": [205, 133, 63],\n \"pink\": [255, 192, 203],\n \"plum\": [221, 160, 221],\n \"powderblue\": [176, 224, 230],\n \"purple\": [128, 0, 128],\n \"rebeccapurple\": [102, 51, 153],\n \"red\": [255, 0, 0],\n \"rosybrown\": [188, 143, 143],\n \"royalblue\": [65, 105, 225],\n \"saddlebrown\": [139, 69, 19],\n \"salmon\": [250, 128, 114],\n \"sandybrown\": [244, 164, 96],\n \"seagreen\": [46, 139, 87],\n \"seashell\": [255, 245, 238],\n \"sienna\": [160, 82, 45],\n \"silver\": [192, 192, 192],\n \"skyblue\": [135, 206, 235],\n \"slateblue\": [106, 90, 205],\n \"slategray\": [112, 128, 144],\n \"slategrey\": [112, 128, 144],\n \"snow\": [255, 250, 250],\n \"springgreen\": [0, 255, 127],\n \"steelblue\": [70, 130, 180],\n \"tan\": [210, 180, 140],\n \"teal\": [0, 128, 128],\n \"thistle\": [216, 191, 216],\n \"tomato\": [255, 99, 71],\n \"turquoise\": [64, 224, 208],\n \"violet\": [238, 130, 238],\n \"wheat\": [245, 222, 179],\n \"white\": [255, 255, 255],\n \"whitesmoke\": [245, 245, 245],\n \"yellow\": [255, 255, 0],\n \"yellowgreen\": [154, 205, 50]\n };\n /* MIT license */\n\n var colorString = {\n getRgba: getRgba,\n getHsla: getHsla,\n getRgb: getRgb,\n getHsl: getHsl,\n getHwb: getHwb,\n getAlpha: getAlpha,\n hexString: hexString,\n rgbString: rgbString,\n rgbaString: rgbaString,\n percentString: percentString,\n percentaString: percentaString,\n hslString: hslString,\n hslaString: hslaString,\n hwbString: hwbString,\n keyword: keyword\n };\n\n function getRgba(string) {\n if (!string) {\n return;\n }\n\n var abbr = /^#([a-fA-F0-9]{3,4})$/i,\n hex = /^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i,\n rgba = /^rgba?\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/i,\n per = /^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/i,\n keyword = /(\\w+)/;\n var rgb = [0, 0, 0],\n a = 1,\n match = string.match(abbr),\n hexAlpha = \"\";\n\n if (match) {\n match = match[1];\n hexAlpha = match[3];\n\n for (var i = 0; i < rgb.length; i++) {\n rgb[i] = parseInt(match[i] + match[i], 16);\n }\n\n if (hexAlpha) {\n a = Math.round(parseInt(hexAlpha + hexAlpha, 16) / 255 * 100) / 100;\n }\n } else if (match = string.match(hex)) {\n hexAlpha = match[2];\n match = match[1];\n\n for (var i = 0; i < rgb.length; i++) {\n rgb[i] = parseInt(match.slice(i * 2, i * 2 + 2), 16);\n }\n\n if (hexAlpha) {\n a = Math.round(parseInt(hexAlpha, 16) / 255 * 100) / 100;\n }\n } else if (match = string.match(rgba)) {\n for (var i = 0; i < rgb.length; i++) {\n rgb[i] = parseInt(match[i + 1]);\n }\n\n a = parseFloat(match[4]);\n } else if (match = string.match(per)) {\n for (var i = 0; i < rgb.length; i++) {\n rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);\n }\n\n a = parseFloat(match[4]);\n } else if (match = string.match(keyword)) {\n if (match[1] == \"transparent\") {\n return [0, 0, 0, 0];\n }\n\n rgb = colorName$1[match[1]];\n\n if (!rgb) {\n return;\n }\n }\n\n for (var i = 0; i < rgb.length; i++) {\n rgb[i] = scale(rgb[i], 0, 255);\n }\n\n if (!a && a != 0) {\n a = 1;\n } else {\n a = scale(a, 0, 1);\n }\n\n rgb[3] = a;\n return rgb;\n }\n\n function getHsla(string) {\n if (!string) {\n return;\n }\n\n var hsl = /^hsla?\\(\\s*([+-]?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)/;\n var match = string.match(hsl);\n\n if (match) {\n var alpha = parseFloat(match[4]);\n var h = scale(parseInt(match[1]), 0, 360),\n s = scale(parseFloat(match[2]), 0, 100),\n l = scale(parseFloat(match[3]), 0, 100),\n a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);\n return [h, s, l, a];\n }\n }\n\n function getHwb(string) {\n if (!string) {\n return;\n }\n\n var hwb = /^hwb\\(\\s*([+-]?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)/;\n var match = string.match(hwb);\n\n if (match) {\n var alpha = parseFloat(match[4]);\n var h = scale(parseInt(match[1]), 0, 360),\n w = scale(parseFloat(match[2]), 0, 100),\n b = scale(parseFloat(match[3]), 0, 100),\n a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);\n return [h, w, b, a];\n }\n }\n\n function getRgb(string) {\n var rgba = getRgba(string);\n return rgba && rgba.slice(0, 3);\n }\n\n function getHsl(string) {\n var hsla = getHsla(string);\n return hsla && hsla.slice(0, 3);\n }\n\n function getAlpha(string) {\n var vals = getRgba(string);\n\n if (vals) {\n return vals[3];\n } else if (vals = getHsla(string)) {\n return vals[3];\n } else if (vals = getHwb(string)) {\n return vals[3];\n }\n } // generators\n\n\n function hexString(rgba, a) {\n var a = a !== undefined && rgba.length === 3 ? a : rgba[3];\n return \"#\" + hexDouble(rgba[0]) + hexDouble(rgba[1]) + hexDouble(rgba[2]) + (a >= 0 && a < 1 ? hexDouble(Math.round(a * 255)) : \"\");\n }\n\n function rgbString(rgba, alpha) {\n if (alpha < 1 || rgba[3] && rgba[3] < 1) {\n return rgbaString(rgba, alpha);\n }\n\n return \"rgb(\" + rgba[0] + \", \" + rgba[1] + \", \" + rgba[2] + \")\";\n }\n\n function rgbaString(rgba, alpha) {\n if (alpha === undefined) {\n alpha = rgba[3] !== undefined ? rgba[3] : 1;\n }\n\n return \"rgba(\" + rgba[0] + \", \" + rgba[1] + \", \" + rgba[2] + \", \" + alpha + \")\";\n }\n\n function percentString(rgba, alpha) {\n if (alpha < 1 || rgba[3] && rgba[3] < 1) {\n return percentaString(rgba, alpha);\n }\n\n var r = Math.round(rgba[0] / 255 * 100),\n g = Math.round(rgba[1] / 255 * 100),\n b = Math.round(rgba[2] / 255 * 100);\n return \"rgb(\" + r + \"%, \" + g + \"%, \" + b + \"%)\";\n }\n\n function percentaString(rgba, alpha) {\n var r = Math.round(rgba[0] / 255 * 100),\n g = Math.round(rgba[1] / 255 * 100),\n b = Math.round(rgba[2] / 255 * 100);\n return \"rgba(\" + r + \"%, \" + g + \"%, \" + b + \"%, \" + (alpha || rgba[3] || 1) + \")\";\n }\n\n function hslString(hsla, alpha) {\n if (alpha < 1 || hsla[3] && hsla[3] < 1) {\n return hslaString(hsla, alpha);\n }\n\n return \"hsl(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%)\";\n }\n\n function hslaString(hsla, alpha) {\n if (alpha === undefined) {\n alpha = hsla[3] !== undefined ? hsla[3] : 1;\n }\n\n return \"hsla(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%, \" + alpha + \")\";\n } // hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax\n // (hwb have alpha optional & 1 is default value)\n\n\n function hwbString(hwb, alpha) {\n if (alpha === undefined) {\n alpha = hwb[3] !== undefined ? hwb[3] : 1;\n }\n\n return \"hwb(\" + hwb[0] + \", \" + hwb[1] + \"%, \" + hwb[2] + \"%\" + (alpha !== undefined && alpha !== 1 ? \", \" + alpha : \"\") + \")\";\n }\n\n function keyword(rgb) {\n return reverseNames[rgb.slice(0, 3)];\n } // helpers\n\n\n function scale(num, min, max) {\n return Math.min(Math.max(min, num), max);\n }\n\n function hexDouble(num) {\n var str = num.toString(16).toUpperCase();\n return str.length < 2 ? \"0\" + str : str;\n } //create a list of reverse color names\n\n\n var reverseNames = {};\n\n for (var name in colorName$1) {\n reverseNames[colorName$1[name]] = name;\n }\n /* MIT license */\n\n\n var Color = function Color(obj) {\n if (obj instanceof Color) {\n return obj;\n }\n\n if (!(this instanceof Color)) {\n return new Color(obj);\n }\n\n this.valid = false;\n this.values = {\n rgb: [0, 0, 0],\n hsl: [0, 0, 0],\n hsv: [0, 0, 0],\n hwb: [0, 0, 0],\n cmyk: [0, 0, 0, 0],\n alpha: 1\n }; // parse Color() argument\n\n var vals;\n\n if (typeof obj === 'string') {\n vals = colorString.getRgba(obj);\n\n if (vals) {\n this.setValues('rgb', vals);\n } else if (vals = colorString.getHsla(obj)) {\n this.setValues('hsl', vals);\n } else if (vals = colorString.getHwb(obj)) {\n this.setValues('hwb', vals);\n }\n } else if (_typeof(obj) === 'object') {\n vals = obj;\n\n if (vals.r !== undefined || vals.red !== undefined) {\n this.setValues('rgb', vals);\n } else if (vals.l !== undefined || vals.lightness !== undefined) {\n this.setValues('hsl', vals);\n } else if (vals.v !== undefined || vals.value !== undefined) {\n this.setValues('hsv', vals);\n } else if (vals.w !== undefined || vals.whiteness !== undefined) {\n this.setValues('hwb', vals);\n } else if (vals.c !== undefined || vals.cyan !== undefined) {\n this.setValues('cmyk', vals);\n }\n }\n };\n\n Color.prototype = {\n isValid: function isValid() {\n return this.valid;\n },\n rgb: function rgb() {\n return this.setSpace('rgb', arguments);\n },\n hsl: function hsl() {\n return this.setSpace('hsl', arguments);\n },\n hsv: function hsv() {\n return this.setSpace('hsv', arguments);\n },\n hwb: function hwb() {\n return this.setSpace('hwb', arguments);\n },\n cmyk: function cmyk() {\n return this.setSpace('cmyk', arguments);\n },\n rgbArray: function rgbArray() {\n return this.values.rgb;\n },\n hslArray: function hslArray() {\n return this.values.hsl;\n },\n hsvArray: function hsvArray() {\n return this.values.hsv;\n },\n hwbArray: function hwbArray() {\n var values = this.values;\n\n if (values.alpha !== 1) {\n return values.hwb.concat([values.alpha]);\n }\n\n return values.hwb;\n },\n cmykArray: function cmykArray() {\n return this.values.cmyk;\n },\n rgbaArray: function rgbaArray() {\n var values = this.values;\n return values.rgb.concat([values.alpha]);\n },\n hslaArray: function hslaArray() {\n var values = this.values;\n return values.hsl.concat([values.alpha]);\n },\n alpha: function alpha(val) {\n if (val === undefined) {\n return this.values.alpha;\n }\n\n this.setValues('alpha', val);\n return this;\n },\n red: function red(val) {\n return this.setChannel('rgb', 0, val);\n },\n green: function green(val) {\n return this.setChannel('rgb', 1, val);\n },\n blue: function blue(val) {\n return this.setChannel('rgb', 2, val);\n },\n hue: function hue(val) {\n if (val) {\n val %= 360;\n val = val < 0 ? 360 + val : val;\n }\n\n return this.setChannel('hsl', 0, val);\n },\n saturation: function saturation(val) {\n return this.setChannel('hsl', 1, val);\n },\n lightness: function lightness(val) {\n return this.setChannel('hsl', 2, val);\n },\n saturationv: function saturationv(val) {\n return this.setChannel('hsv', 1, val);\n },\n whiteness: function whiteness(val) {\n return this.setChannel('hwb', 1, val);\n },\n blackness: function blackness(val) {\n return this.setChannel('hwb', 2, val);\n },\n value: function value(val) {\n return this.setChannel('hsv', 2, val);\n },\n cyan: function cyan(val) {\n return this.setChannel('cmyk', 0, val);\n },\n magenta: function magenta(val) {\n return this.setChannel('cmyk', 1, val);\n },\n yellow: function yellow(val) {\n return this.setChannel('cmyk', 2, val);\n },\n black: function black(val) {\n return this.setChannel('cmyk', 3, val);\n },\n hexString: function hexString() {\n return colorString.hexString(this.values.rgb);\n },\n rgbString: function rgbString() {\n return colorString.rgbString(this.values.rgb, this.values.alpha);\n },\n rgbaString: function rgbaString() {\n return colorString.rgbaString(this.values.rgb, this.values.alpha);\n },\n percentString: function percentString() {\n return colorString.percentString(this.values.rgb, this.values.alpha);\n },\n hslString: function hslString() {\n return colorString.hslString(this.values.hsl, this.values.alpha);\n },\n hslaString: function hslaString() {\n return colorString.hslaString(this.values.hsl, this.values.alpha);\n },\n hwbString: function hwbString() {\n return colorString.hwbString(this.values.hwb, this.values.alpha);\n },\n keyword: function keyword() {\n return colorString.keyword(this.values.rgb, this.values.alpha);\n },\n rgbNumber: function rgbNumber() {\n var rgb = this.values.rgb;\n return rgb[0] << 16 | rgb[1] << 8 | rgb[2];\n },\n luminosity: function luminosity() {\n // http://www.w3.org/TR/WCAG20/#relativeluminancedef\n var rgb = this.values.rgb;\n var lum = [];\n\n for (var i = 0; i < rgb.length; i++) {\n var chan = rgb[i] / 255;\n lum[i] = chan <= 0.03928 ? chan / 12.92 : Math.pow((chan + 0.055) / 1.055, 2.4);\n }\n\n return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n },\n contrast: function contrast(color2) {\n // http://www.w3.org/TR/WCAG20/#contrast-ratiodef\n var lum1 = this.luminosity();\n var lum2 = color2.luminosity();\n\n if (lum1 > lum2) {\n return (lum1 + 0.05) / (lum2 + 0.05);\n }\n\n return (lum2 + 0.05) / (lum1 + 0.05);\n },\n level: function level(color2) {\n var contrastRatio = this.contrast(color2);\n\n if (contrastRatio >= 7.1) {\n return 'AAA';\n }\n\n return contrastRatio >= 4.5 ? 'AA' : '';\n },\n dark: function dark() {\n // YIQ equation from http://24ways.org/2010/calculating-color-contrast\n var rgb = this.values.rgb;\n var yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;\n return yiq < 128;\n },\n light: function light() {\n return !this.dark();\n },\n negate: function negate() {\n var rgb = [];\n\n for (var i = 0; i < 3; i++) {\n rgb[i] = 255 - this.values.rgb[i];\n }\n\n this.setValues('rgb', rgb);\n return this;\n },\n lighten: function lighten(ratio) {\n var hsl = this.values.hsl;\n hsl[2] += hsl[2] * ratio;\n this.setValues('hsl', hsl);\n return this;\n },\n darken: function darken(ratio) {\n var hsl = this.values.hsl;\n hsl[2] -= hsl[2] * ratio;\n this.setValues('hsl', hsl);\n return this;\n },\n saturate: function saturate(ratio) {\n var hsl = this.values.hsl;\n hsl[1] += hsl[1] * ratio;\n this.setValues('hsl', hsl);\n return this;\n },\n desaturate: function desaturate(ratio) {\n var hsl = this.values.hsl;\n hsl[1] -= hsl[1] * ratio;\n this.setValues('hsl', hsl);\n return this;\n },\n whiten: function whiten(ratio) {\n var hwb = this.values.hwb;\n hwb[1] += hwb[1] * ratio;\n this.setValues('hwb', hwb);\n return this;\n },\n blacken: function blacken(ratio) {\n var hwb = this.values.hwb;\n hwb[2] += hwb[2] * ratio;\n this.setValues('hwb', hwb);\n return this;\n },\n greyscale: function greyscale() {\n var rgb = this.values.rgb; // http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale\n\n var val = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n this.setValues('rgb', [val, val, val]);\n return this;\n },\n clearer: function clearer(ratio) {\n var alpha = this.values.alpha;\n this.setValues('alpha', alpha - alpha * ratio);\n return this;\n },\n opaquer: function opaquer(ratio) {\n var alpha = this.values.alpha;\n this.setValues('alpha', alpha + alpha * ratio);\n return this;\n },\n rotate: function rotate(degrees) {\n var hsl = this.values.hsl;\n var hue = (hsl[0] + degrees) % 360;\n hsl[0] = hue < 0 ? 360 + hue : hue;\n this.setValues('hsl', hsl);\n return this;\n },\n\n /**\n * Ported from sass implementation in C\n * https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209\n */\n mix: function mix(mixinColor, weight) {\n var color1 = this;\n var color2 = mixinColor;\n var p = weight === undefined ? 0.5 : weight;\n var w = 2 * p - 1;\n var a = color1.alpha() - color2.alpha();\n var w1 = ((w * a === -1 ? w : (w + a) / (1 + w * a)) + 1) / 2.0;\n var w2 = 1 - w1;\n return this.rgb(w1 * color1.red() + w2 * color2.red(), w1 * color1.green() + w2 * color2.green(), w1 * color1.blue() + w2 * color2.blue()).alpha(color1.alpha() * p + color2.alpha() * (1 - p));\n },\n toJSON: function toJSON() {\n return this.rgb();\n },\n clone: function clone() {\n // NOTE(SB): using node-clone creates a dependency to Buffer when using browserify,\n // making the final build way to big to embed in Chart.js. So let's do it manually,\n // assuming that values to clone are 1 dimension arrays containing only numbers,\n // except 'alpha' which is a number.\n var result = new Color();\n var source = this.values;\n var target = result.values;\n var value, type;\n\n for (var prop in source) {\n if (source.hasOwnProperty(prop)) {\n value = source[prop];\n type = {}.toString.call(value);\n\n if (type === '[object Array]') {\n target[prop] = value.slice(0);\n } else if (type === '[object Number]') {\n target[prop] = value;\n } else {\n console.error('unexpected color value:', value);\n }\n }\n }\n\n return result;\n }\n };\n Color.prototype.spaces = {\n rgb: ['red', 'green', 'blue'],\n hsl: ['hue', 'saturation', 'lightness'],\n hsv: ['hue', 'saturation', 'value'],\n hwb: ['hue', 'whiteness', 'blackness'],\n cmyk: ['cyan', 'magenta', 'yellow', 'black']\n };\n Color.prototype.maxes = {\n rgb: [255, 255, 255],\n hsl: [360, 100, 100],\n hsv: [360, 100, 100],\n hwb: [360, 100, 100],\n cmyk: [100, 100, 100, 100]\n };\n\n Color.prototype.getValues = function (space) {\n var values = this.values;\n var vals = {};\n\n for (var i = 0; i < space.length; i++) {\n vals[space.charAt(i)] = values[space][i];\n }\n\n if (values.alpha !== 1) {\n vals.a = values.alpha;\n } // {r: 255, g: 255, b: 255, a: 0.4}\n\n\n return vals;\n };\n\n Color.prototype.setValues = function (space, vals) {\n var values = this.values;\n var spaces = this.spaces;\n var maxes = this.maxes;\n var alpha = 1;\n var i;\n this.valid = true;\n\n if (space === 'alpha') {\n alpha = vals;\n } else if (vals.length) {\n // [10, 10, 10]\n values[space] = vals.slice(0, space.length);\n alpha = vals[space.length];\n } else if (vals[space.charAt(0)] !== undefined) {\n // {r: 10, g: 10, b: 10}\n for (i = 0; i < space.length; i++) {\n values[space][i] = vals[space.charAt(i)];\n }\n\n alpha = vals.a;\n } else if (vals[spaces[space][0]] !== undefined) {\n // {red: 10, green: 10, blue: 10}\n var chans = spaces[space];\n\n for (i = 0; i < space.length; i++) {\n values[space][i] = vals[chans[i]];\n }\n\n alpha = vals.alpha;\n }\n\n values.alpha = Math.max(0, Math.min(1, alpha === undefined ? values.alpha : alpha));\n\n if (space === 'alpha') {\n return false;\n }\n\n var capped; // cap values of the space prior converting all values\n\n for (i = 0; i < space.length; i++) {\n capped = Math.max(0, Math.min(maxes[space][i], values[space][i]));\n values[space][i] = Math.round(capped);\n } // convert to all the other color spaces\n\n\n for (var sname in spaces) {\n if (sname !== space) {\n values[sname] = colorConvert[space][sname](values[space]);\n }\n }\n\n return true;\n };\n\n Color.prototype.setSpace = function (space, args) {\n var vals = args[0];\n\n if (vals === undefined) {\n // color.rgb()\n return this.getValues(space);\n } // color.rgb(10, 10, 10)\n\n\n if (typeof vals === 'number') {\n vals = Array.prototype.slice.call(args);\n }\n\n this.setValues(space, vals);\n return this;\n };\n\n Color.prototype.setChannel = function (space, index, val) {\n var svalues = this.values[space];\n\n if (val === undefined) {\n // color.red()\n return svalues[index];\n } else if (val === svalues[index]) {\n // color.red(color.red())\n return this;\n } // color.red(100)\n\n\n svalues[index] = val;\n this.setValues(space, svalues);\n return this;\n };\n\n if (typeof window !== 'undefined') {\n window.Color = Color;\n }\n\n var chartjsColor = Color;\n /**\n * @namespace Chart.helpers\n */\n\n var helpers = {\n /**\n * An empty function that can be used, for example, for optional callback.\n */\n noop: function noop() {},\n\n /**\n * Returns a unique id, sequentially generated from a global variable.\n * @returns {number}\n * @function\n */\n uid: function () {\n var id = 0;\n return function () {\n return id++;\n };\n }(),\n\n /**\n * Returns true if `value` is neither null nor undefined, else returns false.\n * @param {*} value - The value to test.\n * @returns {boolean}\n * @since 2.7.0\n */\n isNullOrUndef: function isNullOrUndef(value) {\n return value === null || typeof value === 'undefined';\n },\n\n /**\n * Returns true if `value` is an array (including typed arrays), else returns false.\n * @param {*} value - The value to test.\n * @returns {boolean}\n * @function\n */\n isArray: function isArray(value) {\n if (Array.isArray && Array.isArray(value)) {\n return true;\n }\n\n var type = Object.prototype.toString.call(value);\n\n if (type.substr(0, 7) === '[object' && type.substr(-6) === 'Array]') {\n return true;\n }\n\n return false;\n },\n\n /**\n * Returns true if `value` is an object (excluding null), else returns false.\n * @param {*} value - The value to test.\n * @returns {boolean}\n * @since 2.7.0\n */\n isObject: function isObject(value) {\n return value !== null && Object.prototype.toString.call(value) === '[object Object]';\n },\n\n /**\n * Returns true if `value` is a finite number, else returns false\n * @param {*} value - The value to test.\n * @returns {boolean}\n */\n isFinite: function (_isFinite) {\n function isFinite(_x) {\n return _isFinite.apply(this, arguments);\n }\n\n isFinite.toString = function () {\n return _isFinite.toString();\n };\n\n return isFinite;\n }(function (value) {\n return (typeof value === 'number' || value instanceof Number) && isFinite(value);\n }),\n\n /**\n * Returns `value` if defined, else returns `defaultValue`.\n * @param {*} value - The value to return if defined.\n * @param {*} defaultValue - The value to return if `value` is undefined.\n * @returns {*}\n */\n valueOrDefault: function valueOrDefault(value, defaultValue) {\n return typeof value === 'undefined' ? defaultValue : value;\n },\n\n /**\n * Returns value at the given `index` in array if defined, else returns `defaultValue`.\n * @param {Array} value - The array to lookup for value at `index`.\n * @param {number} index - The index in `value` to lookup for value.\n * @param {*} defaultValue - The value to return if `value[index]` is undefined.\n * @returns {*}\n */\n valueAtIndexOrDefault: function valueAtIndexOrDefault(value, index, defaultValue) {\n return helpers.valueOrDefault(helpers.isArray(value) ? value[index] : value, defaultValue);\n },\n\n /**\n * Calls `fn` with the given `args` in the scope defined by `thisArg` and returns the\n * value returned by `fn`. If `fn` is not a function, this method returns undefined.\n * @param {function} fn - The function to call.\n * @param {Array|undefined|null} args - The arguments with which `fn` should be called.\n * @param {object} [thisArg] - The value of `this` provided for the call to `fn`.\n * @returns {*}\n */\n callback: function callback(fn, args, thisArg) {\n if (fn && typeof fn.call === 'function') {\n return fn.apply(thisArg, args);\n }\n },\n\n /**\n * Note(SB) for performance sake, this method should only be used when loopable type\n * is unknown or in none intensive code (not called often and small loopable). Else\n * it's preferable to use a regular for() loop and save extra function calls.\n * @param {object|Array} loopable - The object or array to be iterated.\n * @param {function} fn - The function to call for each item.\n * @param {object} [thisArg] - The value of `this` provided for the call to `fn`.\n * @param {boolean} [reverse] - If true, iterates backward on the loopable.\n */\n each: function each(loopable, fn, thisArg, reverse) {\n var i, len, keys;\n\n if (helpers.isArray(loopable)) {\n len = loopable.length;\n\n if (reverse) {\n for (i = len - 1; i >= 0; i--) {\n fn.call(thisArg, loopable[i], i);\n }\n } else {\n for (i = 0; i < len; i++) {\n fn.call(thisArg, loopable[i], i);\n }\n }\n } else if (helpers.isObject(loopable)) {\n keys = Object.keys(loopable);\n len = keys.length;\n\n for (i = 0; i < len; i++) {\n fn.call(thisArg, loopable[keys[i]], keys[i]);\n }\n }\n },\n\n /**\n * Returns true if the `a0` and `a1` arrays have the same content, else returns false.\n * @see https://stackoverflow.com/a/14853974\n * @param {Array} a0 - The array to compare\n * @param {Array} a1 - The array to compare\n * @returns {boolean}\n */\n arrayEquals: function arrayEquals(a0, a1) {\n var i, ilen, v0, v1;\n\n if (!a0 || !a1 || a0.length !== a1.length) {\n return false;\n }\n\n for (i = 0, ilen = a0.length; i < ilen; ++i) {\n v0 = a0[i];\n v1 = a1[i];\n\n if (v0 instanceof Array && v1 instanceof Array) {\n if (!helpers.arrayEquals(v0, v1)) {\n return false;\n }\n } else if (v0 !== v1) {\n // NOTE: two different object instances will never be equal: {x:20} != {x:20}\n return false;\n }\n }\n\n return true;\n },\n\n /**\n * Returns a deep copy of `source` without keeping references on objects and arrays.\n * @param {*} source - The value to clone.\n * @returns {*}\n */\n clone: function clone(source) {\n if (helpers.isArray(source)) {\n return source.map(helpers.clone);\n }\n\n if (helpers.isObject(source)) {\n var target = {};\n var keys = Object.keys(source);\n var klen = keys.length;\n var k = 0;\n\n for (; k < klen; ++k) {\n target[keys[k]] = helpers.clone(source[keys[k]]);\n }\n\n return target;\n }\n\n return source;\n },\n\n /**\n * The default merger when Chart.helpers.merge is called without merger option.\n * Note(SB): also used by mergeConfig and mergeScaleConfig as fallback.\n * @private\n */\n _merger: function _merger(key, target, source, options) {\n var tval = target[key];\n var sval = source[key];\n\n if (helpers.isObject(tval) && helpers.isObject(sval)) {\n helpers.merge(tval, sval, options);\n } else {\n target[key] = helpers.clone(sval);\n }\n },\n\n /**\n * Merges source[key] in target[key] only if target[key] is undefined.\n * @private\n */\n _mergerIf: function _mergerIf(key, target, source) {\n var tval = target[key];\n var sval = source[key];\n\n if (helpers.isObject(tval) && helpers.isObject(sval)) {\n helpers.mergeIf(tval, sval);\n } else if (!target.hasOwnProperty(key)) {\n target[key] = helpers.clone(sval);\n }\n },\n\n /**\n * Recursively deep copies `source` properties into `target` with the given `options`.\n * IMPORTANT: `target` is not cloned and will be updated with `source` properties.\n * @param {object} target - The target object in which all sources are merged into.\n * @param {object|object[]} source - Object(s) to merge into `target`.\n * @param {object} [options] - Merging options:\n * @param {function} [options.merger] - The merge method (key, target, source, options)\n * @returns {object} The `target` object.\n */\n merge: function merge(target, source, options) {\n var sources = helpers.isArray(source) ? source : [source];\n var ilen = sources.length;\n var merge, i, keys, klen, k;\n\n if (!helpers.isObject(target)) {\n return target;\n }\n\n options = options || {};\n merge = options.merger || helpers._merger;\n\n for (i = 0; i < ilen; ++i) {\n source = sources[i];\n\n if (!helpers.isObject(source)) {\n continue;\n }\n\n keys = Object.keys(source);\n\n for (k = 0, klen = keys.length; k < klen; ++k) {\n merge(keys[k], target, source, options);\n }\n }\n\n return target;\n },\n\n /**\n * Recursively deep copies `source` properties into `target` *only* if not defined in target.\n * IMPORTANT: `target` is not cloned and will be updated with `source` properties.\n * @param {object} target - The target object in which all sources are merged into.\n * @param {object|object[]} source - Object(s) to merge into `target`.\n * @returns {object} The `target` object.\n */\n mergeIf: function mergeIf(target, source) {\n return helpers.merge(target, source, {\n merger: helpers._mergerIf\n });\n },\n\n /**\n * Applies the contents of two or more objects together into the first object.\n * @param {object} target - The target object in which all objects are merged into.\n * @param {object} arg1 - Object containing additional properties to merge in target.\n * @param {object} argN - Additional objects containing properties to merge in target.\n * @returns {object} The `target` object.\n */\n extend: Object.assign || function (target) {\n return helpers.merge(target, [].slice.call(arguments, 1), {\n merger: function merger(key, dst, src) {\n dst[key] = src[key];\n }\n });\n },\n\n /**\n * Basic javascript inheritance based on the model created in Backbone.js\n */\n inherits: function inherits(extensions) {\n var me = this;\n var ChartElement = extensions && extensions.hasOwnProperty('constructor') ? extensions.constructor : function () {\n return me.apply(this, arguments);\n };\n\n var Surrogate = function Surrogate() {\n this.constructor = ChartElement;\n };\n\n Surrogate.prototype = me.prototype;\n ChartElement.prototype = new Surrogate();\n ChartElement.extend = helpers.inherits;\n\n if (extensions) {\n helpers.extend(ChartElement.prototype, extensions);\n }\n\n ChartElement.__super__ = me.prototype;\n return ChartElement;\n },\n _deprecated: function _deprecated(scope, value, previous, current) {\n if (value !== undefined) {\n console.warn(scope + ': \"' + previous + '\" is deprecated. Please use \"' + current + '\" instead');\n }\n }\n };\n var helpers_core = helpers; // DEPRECATIONS\n\n /**\n * Provided for backward compatibility, use Chart.helpers.callback instead.\n * @function Chart.helpers.callCallback\n * @deprecated since version 2.6.0\n * @todo remove at version 3\n * @private\n */\n\n helpers.callCallback = helpers.callback;\n /**\n * Provided for backward compatibility, use Array.prototype.indexOf instead.\n * Array.prototype.indexOf compatibility: Chrome, Opera, Safari, FF1.5+, IE9+\n * @function Chart.helpers.indexOf\n * @deprecated since version 2.7.0\n * @todo remove at version 3\n * @private\n */\n\n helpers.indexOf = function (array, item, fromIndex) {\n return Array.prototype.indexOf.call(array, item, fromIndex);\n };\n /**\n * Provided for backward compatibility, use Chart.helpers.valueOrDefault instead.\n * @function Chart.helpers.getValueOrDefault\n * @deprecated since version 2.7.0\n * @todo remove at version 3\n * @private\n */\n\n\n helpers.getValueOrDefault = helpers.valueOrDefault;\n /**\n * Provided for backward compatibility, use Chart.helpers.valueAtIndexOrDefault instead.\n * @function Chart.helpers.getValueAtIndexOrDefault\n * @deprecated since version 2.7.0\n * @todo remove at version 3\n * @private\n */\n\n helpers.getValueAtIndexOrDefault = helpers.valueAtIndexOrDefault;\n /**\n * Easing functions adapted from Robert Penner's easing equations.\n * @namespace Chart.helpers.easingEffects\n * @see http://www.robertpenner.com/easing/\n */\n\n var effects = {\n linear: function linear(t) {\n return t;\n },\n easeInQuad: function easeInQuad(t) {\n return t * t;\n },\n easeOutQuad: function easeOutQuad(t) {\n return -t * (t - 2);\n },\n easeInOutQuad: function easeInOutQuad(t) {\n if ((t /= 0.5) < 1) {\n return 0.5 * t * t;\n }\n\n return -0.5 * (--t * (t - 2) - 1);\n },\n easeInCubic: function easeInCubic(t) {\n return t * t * t;\n },\n easeOutCubic: function easeOutCubic(t) {\n return (t = t - 1) * t * t + 1;\n },\n easeInOutCubic: function easeInOutCubic(t) {\n if ((t /= 0.5) < 1) {\n return 0.5 * t * t * t;\n }\n\n return 0.5 * ((t -= 2) * t * t + 2);\n },\n easeInQuart: function easeInQuart(t) {\n return t * t * t * t;\n },\n easeOutQuart: function easeOutQuart(t) {\n return -((t = t - 1) * t * t * t - 1);\n },\n easeInOutQuart: function easeInOutQuart(t) {\n if ((t /= 0.5) < 1) {\n return 0.5 * t * t * t * t;\n }\n\n return -0.5 * ((t -= 2) * t * t * t - 2);\n },\n easeInQuint: function easeInQuint(t) {\n return t * t * t * t * t;\n },\n easeOutQuint: function easeOutQuint(t) {\n return (t = t - 1) * t * t * t * t + 1;\n },\n easeInOutQuint: function easeInOutQuint(t) {\n if ((t /= 0.5) < 1) {\n return 0.5 * t * t * t * t * t;\n }\n\n return 0.5 * ((t -= 2) * t * t * t * t + 2);\n },\n easeInSine: function easeInSine(t) {\n return -Math.cos(t * (Math.PI / 2)) + 1;\n },\n easeOutSine: function easeOutSine(t) {\n return Math.sin(t * (Math.PI / 2));\n },\n easeInOutSine: function easeInOutSine(t) {\n return -0.5 * (Math.cos(Math.PI * t) - 1);\n },\n easeInExpo: function easeInExpo(t) {\n return t === 0 ? 0 : Math.pow(2, 10 * (t - 1));\n },\n easeOutExpo: function easeOutExpo(t) {\n return t === 1 ? 1 : -Math.pow(2, -10 * t) + 1;\n },\n easeInOutExpo: function easeInOutExpo(t) {\n if (t === 0) {\n return 0;\n }\n\n if (t === 1) {\n return 1;\n }\n\n if ((t /= 0.5) < 1) {\n return 0.5 * Math.pow(2, 10 * (t - 1));\n }\n\n return 0.5 * (-Math.pow(2, -10 * --t) + 2);\n },\n easeInCirc: function easeInCirc(t) {\n if (t >= 1) {\n return t;\n }\n\n return -(Math.sqrt(1 - t * t) - 1);\n },\n easeOutCirc: function easeOutCirc(t) {\n return Math.sqrt(1 - (t = t - 1) * t);\n },\n easeInOutCirc: function easeInOutCirc(t) {\n if ((t /= 0.5) < 1) {\n return -0.5 * (Math.sqrt(1 - t * t) - 1);\n }\n\n return 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);\n },\n easeInElastic: function easeInElastic(t) {\n var s = 1.70158;\n var p = 0;\n var a = 1;\n\n if (t === 0) {\n return 0;\n }\n\n if (t === 1) {\n return 1;\n }\n\n if (!p) {\n p = 0.3;\n }\n\n if (a < 1) {\n a = 1;\n s = p / 4;\n } else {\n s = p / (2 * Math.PI) * Math.asin(1 / a);\n }\n\n return -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p));\n },\n easeOutElastic: function easeOutElastic(t) {\n var s = 1.70158;\n var p = 0;\n var a = 1;\n\n if (t === 0) {\n return 0;\n }\n\n if (t === 1) {\n return 1;\n }\n\n if (!p) {\n p = 0.3;\n }\n\n if (a < 1) {\n a = 1;\n s = p / 4;\n } else {\n s = p / (2 * Math.PI) * Math.asin(1 / a);\n }\n\n return a * Math.pow(2, -10 * t) * Math.sin((t - s) * (2 * Math.PI) / p) + 1;\n },\n easeInOutElastic: function easeInOutElastic(t) {\n var s = 1.70158;\n var p = 0;\n var a = 1;\n\n if (t === 0) {\n return 0;\n }\n\n if ((t /= 0.5) === 2) {\n return 1;\n }\n\n if (!p) {\n p = 0.45;\n }\n\n if (a < 1) {\n a = 1;\n s = p / 4;\n } else {\n s = p / (2 * Math.PI) * Math.asin(1 / a);\n }\n\n if (t < 1) {\n return -0.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p));\n }\n\n return a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p) * 0.5 + 1;\n },\n easeInBack: function easeInBack(t) {\n var s = 1.70158;\n return t * t * ((s + 1) * t - s);\n },\n easeOutBack: function easeOutBack(t) {\n var s = 1.70158;\n return (t = t - 1) * t * ((s + 1) * t + s) + 1;\n },\n easeInOutBack: function easeInOutBack(t) {\n var s = 1.70158;\n\n if ((t /= 0.5) < 1) {\n return 0.5 * (t * t * (((s *= 1.525) + 1) * t - s));\n }\n\n return 0.5 * ((t -= 2) * t * (((s *= 1.525) + 1) * t + s) + 2);\n },\n easeInBounce: function easeInBounce(t) {\n return 1 - effects.easeOutBounce(1 - t);\n },\n easeOutBounce: function easeOutBounce(t) {\n if (t < 1 / 2.75) {\n return 7.5625 * t * t;\n }\n\n if (t < 2 / 2.75) {\n return 7.5625 * (t -= 1.5 / 2.75) * t + 0.75;\n }\n\n if (t < 2.5 / 2.75) {\n return 7.5625 * (t -= 2.25 / 2.75) * t + 0.9375;\n }\n\n return 7.5625 * (t -= 2.625 / 2.75) * t + 0.984375;\n },\n easeInOutBounce: function easeInOutBounce(t) {\n if (t < 0.5) {\n return effects.easeInBounce(t * 2) * 0.5;\n }\n\n return effects.easeOutBounce(t * 2 - 1) * 0.5 + 0.5;\n }\n };\n var helpers_easing = {\n effects: effects\n }; // DEPRECATIONS\n\n /**\n * Provided for backward compatibility, use Chart.helpers.easing.effects instead.\n * @function Chart.helpers.easingEffects\n * @deprecated since version 2.7.0\n * @todo remove at version 3\n * @private\n */\n\n helpers_core.easingEffects = effects;\n var PI = Math.PI;\n var RAD_PER_DEG = PI / 180;\n var DOUBLE_PI = PI * 2;\n var HALF_PI = PI / 2;\n var QUARTER_PI = PI / 4;\n var TWO_THIRDS_PI = PI * 2 / 3;\n /**\n * @namespace Chart.helpers.canvas\n */\n\n var exports$1 = {\n /**\n * Clears the entire canvas associated to the given `chart`.\n * @param {Chart} chart - The chart for which to clear the canvas.\n */\n clear: function clear(chart) {\n chart.ctx.clearRect(0, 0, chart.width, chart.height);\n },\n\n /**\n * Creates a \"path\" for a rectangle with rounded corners at position (x, y) with a\n * given size (width, height) and the same `radius` for all corners.\n * @param {CanvasRenderingContext2D} ctx - The canvas 2D Context.\n * @param {number} x - The x axis of the coordinate for the rectangle starting point.\n * @param {number} y - The y axis of the coordinate for the rectangle starting point.\n * @param {number} width - The rectangle's width.\n * @param {number} height - The rectangle's height.\n * @param {number} radius - The rounded amount (in pixels) for the four corners.\n * @todo handle `radius` as top-left, top-right, bottom-right, bottom-left array/object?\n */\n roundedRect: function roundedRect(ctx, x, y, width, height, radius) {\n if (radius) {\n var r = Math.min(radius, height / 2, width / 2);\n var left = x + r;\n var top = y + r;\n var right = x + width - r;\n var bottom = y + height - r;\n ctx.moveTo(x, top);\n\n if (left < right && top < bottom) {\n ctx.arc(left, top, r, -PI, -HALF_PI);\n ctx.arc(right, top, r, -HALF_PI, 0);\n ctx.arc(right, bottom, r, 0, HALF_PI);\n ctx.arc(left, bottom, r, HALF_PI, PI);\n } else if (left < right) {\n ctx.moveTo(left, y);\n ctx.arc(right, top, r, -HALF_PI, HALF_PI);\n ctx.arc(left, top, r, HALF_PI, PI + HALF_PI);\n } else if (top < bottom) {\n ctx.arc(left, top, r, -PI, 0);\n ctx.arc(left, bottom, r, 0, PI);\n } else {\n ctx.arc(left, top, r, -PI, PI);\n }\n\n ctx.closePath();\n ctx.moveTo(x, y);\n } else {\n ctx.rect(x, y, width, height);\n }\n },\n drawPoint: function drawPoint(ctx, style, radius, x, y, rotation) {\n var type, xOffset, yOffset, size, cornerRadius;\n var rad = (rotation || 0) * RAD_PER_DEG;\n\n if (style && _typeof(style) === 'object') {\n type = style.toString();\n\n if (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') {\n ctx.save();\n ctx.translate(x, y);\n ctx.rotate(rad);\n ctx.drawImage(style, -style.width / 2, -style.height / 2, style.width, style.height);\n ctx.restore();\n return;\n }\n }\n\n if (isNaN(radius) || radius <= 0) {\n return;\n }\n\n ctx.beginPath();\n\n switch (style) {\n // Default includes circle\n default:\n ctx.arc(x, y, radius, 0, DOUBLE_PI);\n ctx.closePath();\n break;\n\n case 'triangle':\n ctx.moveTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\n rad += TWO_THIRDS_PI;\n ctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\n rad += TWO_THIRDS_PI;\n ctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\n ctx.closePath();\n break;\n\n case 'rectRounded':\n // NOTE: the rounded rect implementation changed to use `arc` instead of\n // `quadraticCurveTo` since it generates better results when rect is\n // almost a circle. 0.516 (instead of 0.5) produces results with visually\n // closer proportion to the previous impl and it is inscribed in the\n // circle with `radius`. For more details, see the following PRs:\n // https://github.com/chartjs/Chart.js/issues/5597\n // https://github.com/chartjs/Chart.js/issues/5858\n cornerRadius = radius * 0.516;\n size = radius - cornerRadius;\n xOffset = Math.cos(rad + QUARTER_PI) * size;\n yOffset = Math.sin(rad + QUARTER_PI) * size;\n ctx.arc(x - xOffset, y - yOffset, cornerRadius, rad - PI, rad - HALF_PI);\n ctx.arc(x + yOffset, y - xOffset, cornerRadius, rad - HALF_PI, rad);\n ctx.arc(x + xOffset, y + yOffset, cornerRadius, rad, rad + HALF_PI);\n ctx.arc(x - yOffset, y + xOffset, cornerRadius, rad + HALF_PI, rad + PI);\n ctx.closePath();\n break;\n\n case 'rect':\n if (!rotation) {\n size = Math.SQRT1_2 * radius;\n ctx.rect(x - size, y - size, 2 * size, 2 * size);\n break;\n }\n\n rad += QUARTER_PI;\n\n /* falls through */\n\n case 'rectRot':\n xOffset = Math.cos(rad) * radius;\n yOffset = Math.sin(rad) * radius;\n ctx.moveTo(x - xOffset, y - yOffset);\n ctx.lineTo(x + yOffset, y - xOffset);\n ctx.lineTo(x + xOffset, y + yOffset);\n ctx.lineTo(x - yOffset, y + xOffset);\n ctx.closePath();\n break;\n\n case 'crossRot':\n rad += QUARTER_PI;\n\n /* falls through */\n\n case 'cross':\n xOffset = Math.cos(rad) * radius;\n yOffset = Math.sin(rad) * radius;\n ctx.moveTo(x - xOffset, y - yOffset);\n ctx.lineTo(x + xOffset, y + yOffset);\n ctx.moveTo(x + yOffset, y - xOffset);\n ctx.lineTo(x - yOffset, y + xOffset);\n break;\n\n case 'star':\n xOffset = Math.cos(rad) * radius;\n yOffset = Math.sin(rad) * radius;\n ctx.moveTo(x - xOffset, y - yOffset);\n ctx.lineTo(x + xOffset, y + yOffset);\n ctx.moveTo(x + yOffset, y - xOffset);\n ctx.lineTo(x - yOffset, y + xOffset);\n rad += QUARTER_PI;\n xOffset = Math.cos(rad) * radius;\n yOffset = Math.sin(rad) * radius;\n ctx.moveTo(x - xOffset, y - yOffset);\n ctx.lineTo(x + xOffset, y + yOffset);\n ctx.moveTo(x + yOffset, y - xOffset);\n ctx.lineTo(x - yOffset, y + xOffset);\n break;\n\n case 'line':\n xOffset = Math.cos(rad) * radius;\n yOffset = Math.sin(rad) * radius;\n ctx.moveTo(x - xOffset, y - yOffset);\n ctx.lineTo(x + xOffset, y + yOffset);\n break;\n\n case 'dash':\n ctx.moveTo(x, y);\n ctx.lineTo(x + Math.cos(rad) * radius, y + Math.sin(rad) * radius);\n break;\n }\n\n ctx.fill();\n ctx.stroke();\n },\n\n /**\n * Returns true if the point is inside the rectangle\n * @param {object} point - The point to test\n * @param {object} area - The rectangle\n * @returns {boolean}\n * @private\n */\n _isPointInArea: function _isPointInArea(point, area) {\n var epsilon = 1e-6; // 1e-6 is margin in pixels for accumulated error.\n\n return point.x > area.left - epsilon && point.x < area.right + epsilon && point.y > area.top - epsilon && point.y < area.bottom + epsilon;\n },\n clipArea: function clipArea(ctx, area) {\n ctx.save();\n ctx.beginPath();\n ctx.rect(area.left, area.top, area.right - area.left, area.bottom - area.top);\n ctx.clip();\n },\n unclipArea: function unclipArea(ctx) {\n ctx.restore();\n },\n lineTo: function lineTo(ctx, previous, target, flip) {\n var stepped = target.steppedLine;\n\n if (stepped) {\n if (stepped === 'middle') {\n var midpoint = (previous.x + target.x) / 2.0;\n ctx.lineTo(midpoint, flip ? target.y : previous.y);\n ctx.lineTo(midpoint, flip ? previous.y : target.y);\n } else if (stepped === 'after' && !flip || stepped !== 'after' && flip) {\n ctx.lineTo(previous.x, target.y);\n } else {\n ctx.lineTo(target.x, previous.y);\n }\n\n ctx.lineTo(target.x, target.y);\n return;\n }\n\n if (!target.tension) {\n ctx.lineTo(target.x, target.y);\n return;\n }\n\n ctx.bezierCurveTo(flip ? previous.controlPointPreviousX : previous.controlPointNextX, flip ? previous.controlPointPreviousY : previous.controlPointNextY, flip ? target.controlPointNextX : target.controlPointPreviousX, flip ? target.controlPointNextY : target.controlPointPreviousY, target.x, target.y);\n }\n };\n var helpers_canvas = exports$1; // DEPRECATIONS\n\n /**\n * Provided for backward compatibility, use Chart.helpers.canvas.clear instead.\n * @namespace Chart.helpers.clear\n * @deprecated since version 2.7.0\n * @todo remove at version 3\n * @private\n */\n\n helpers_core.clear = exports$1.clear;\n /**\n * Provided for backward compatibility, use Chart.helpers.canvas.roundedRect instead.\n * @namespace Chart.helpers.drawRoundedRectangle\n * @deprecated since version 2.7.0\n * @todo remove at version 3\n * @private\n */\n\n helpers_core.drawRoundedRectangle = function (ctx) {\n ctx.beginPath();\n exports$1.roundedRect.apply(exports$1, arguments);\n };\n\n var defaults = {\n /**\n * @private\n */\n _set: function _set(scope, values) {\n return helpers_core.merge(this[scope] || (this[scope] = {}), values);\n }\n }; // TODO(v3): remove 'global' from namespace. all default are global and\n // there's inconsistency around which options are under 'global'\n\n defaults._set('global', {\n defaultColor: 'rgba(0,0,0,0.1)',\n defaultFontColor: '#666',\n defaultFontFamily: \"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif\",\n defaultFontSize: 12,\n defaultFontStyle: 'normal',\n defaultLineHeight: 1.2,\n showLines: true\n });\n\n var core_defaults = defaults;\n var valueOrDefault = helpers_core.valueOrDefault;\n /**\n * Converts the given font object into a CSS font string.\n * @param {object} font - A font object.\n * @return {string} The CSS font string. See https://developer.mozilla.org/en-US/docs/Web/CSS/font\n * @private\n */\n\n function toFontString(font) {\n if (!font || helpers_core.isNullOrUndef(font.size) || helpers_core.isNullOrUndef(font.family)) {\n return null;\n }\n\n return (font.style ? font.style + ' ' : '') + (font.weight ? font.weight + ' ' : '') + font.size + 'px ' + font.family;\n }\n /**\n * @alias Chart.helpers.options\n * @namespace\n */\n\n\n var helpers_options = {\n /**\n * Converts the given line height `value` in pixels for a specific font `size`.\n * @param {number|string} value - The lineHeight to parse (eg. 1.6, '14px', '75%', '1.6em').\n * @param {number} size - The font size (in pixels) used to resolve relative `value`.\n * @returns {number} The effective line height in pixels (size * 1.2 if value is invalid).\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/line-height\n * @since 2.7.0\n */\n toLineHeight: function toLineHeight(value, size) {\n var matches = ('' + value).match(/^(normal|(\\d+(?:\\.\\d+)?)(px|em|%)?)$/);\n\n if (!matches || matches[1] === 'normal') {\n return size * 1.2;\n }\n\n value = +matches[2];\n\n switch (matches[3]) {\n case 'px':\n return value;\n\n case '%':\n value /= 100;\n break;\n }\n\n return size * value;\n },\n\n /**\n * Converts the given value into a padding object with pre-computed width/height.\n * @param {number|object} value - If a number, set the value to all TRBL component,\n * else, if and object, use defined properties and sets undefined ones to 0.\n * @returns {object} The padding values (top, right, bottom, left, width, height)\n * @since 2.7.0\n */\n toPadding: function toPadding(value) {\n var t, r, b, l;\n\n if (helpers_core.isObject(value)) {\n t = +value.top || 0;\n r = +value.right || 0;\n b = +value.bottom || 0;\n l = +value.left || 0;\n } else {\n t = r = b = l = +value || 0;\n }\n\n return {\n top: t,\n right: r,\n bottom: b,\n left: l,\n height: t + b,\n width: l + r\n };\n },\n\n /**\n * Parses font options and returns the font object.\n * @param {object} options - A object that contains font options to be parsed.\n * @return {object} The font object.\n * @todo Support font.* options and renamed to toFont().\n * @private\n */\n _parseFont: function _parseFont(options) {\n var globalDefaults = core_defaults.global;\n var size = valueOrDefault(options.fontSize, globalDefaults.defaultFontSize);\n var font = {\n family: valueOrDefault(options.fontFamily, globalDefaults.defaultFontFamily),\n lineHeight: helpers_core.options.toLineHeight(valueOrDefault(options.lineHeight, globalDefaults.defaultLineHeight), size),\n size: size,\n style: valueOrDefault(options.fontStyle, globalDefaults.defaultFontStyle),\n weight: null,\n string: ''\n };\n font.string = toFontString(font);\n return font;\n },\n\n /**\n * Evaluates the given `inputs` sequentially and returns the first defined value.\n * @param {Array} inputs - An array of values, falling back to the last value.\n * @param {object} [context] - If defined and the current value is a function, the value\n * is called with `context` as first argument and the result becomes the new input.\n * @param {number} [index] - If defined and the current value is an array, the value\n * at `index` become the new input.\n * @param {object} [info] - object to return information about resolution in\n * @param {boolean} [info.cacheable] - Will be set to `false` if option is not cacheable.\n * @since 2.7.0\n */\n resolve: function resolve(inputs, context, index, info) {\n var cacheable = true;\n var i, ilen, value;\n\n for (i = 0, ilen = inputs.length; i < ilen; ++i) {\n value = inputs[i];\n\n if (value === undefined) {\n continue;\n }\n\n if (context !== undefined && typeof value === 'function') {\n value = value(context);\n cacheable = false;\n }\n\n if (index !== undefined && helpers_core.isArray(value)) {\n value = value[index];\n cacheable = false;\n }\n\n if (value !== undefined) {\n if (info && !cacheable) {\n info.cacheable = false;\n }\n\n return value;\n }\n }\n }\n };\n /**\n * @alias Chart.helpers.math\n * @namespace\n */\n\n var exports$2 = {\n /**\n * Returns an array of factors sorted from 1 to sqrt(value)\n * @private\n */\n _factorize: function _factorize(value) {\n var result = [];\n var sqrt = Math.sqrt(value);\n var i;\n\n for (i = 1; i < sqrt; i++) {\n if (value % i === 0) {\n result.push(i);\n result.push(value / i);\n }\n }\n\n if (sqrt === (sqrt | 0)) {\n // if value is a square number\n result.push(sqrt);\n }\n\n result.sort(function (a, b) {\n return a - b;\n }).pop();\n return result;\n },\n log10: Math.log10 || function (x) {\n var exponent = Math.log(x) * Math.LOG10E; // Math.LOG10E = 1 / Math.LN10.\n // Check for whole powers of 10,\n // which due to floating point rounding error should be corrected.\n\n var powerOf10 = Math.round(exponent);\n var isPowerOf10 = x === Math.pow(10, powerOf10);\n return isPowerOf10 ? powerOf10 : exponent;\n }\n };\n var helpers_math = exports$2; // DEPRECATIONS\n\n /**\n * Provided for backward compatibility, use Chart.helpers.math.log10 instead.\n * @namespace Chart.helpers.log10\n * @deprecated since version 2.9.0\n * @todo remove at version 3\n * @private\n */\n\n helpers_core.log10 = exports$2.log10;\n\n var getRtlAdapter = function getRtlAdapter(rectX, width) {\n return {\n x: function x(_x2) {\n return rectX + rectX + width - _x2;\n },\n setWidth: function setWidth(w) {\n width = w;\n },\n textAlign: function textAlign(align) {\n if (align === 'center') {\n return align;\n }\n\n return align === 'right' ? 'left' : 'right';\n },\n xPlus: function xPlus(x, value) {\n return x - value;\n },\n leftForLtr: function leftForLtr(x, itemWidth) {\n return x - itemWidth;\n }\n };\n };\n\n var getLtrAdapter = function getLtrAdapter() {\n return {\n x: function x(_x3) {\n return _x3;\n },\n setWidth: function setWidth(w) {// eslint-disable-line no-unused-vars\n },\n textAlign: function textAlign(align) {\n return align;\n },\n xPlus: function xPlus(x, value) {\n return x + value;\n },\n leftForLtr: function leftForLtr(x, _itemWidth) {\n // eslint-disable-line no-unused-vars\n return x;\n }\n };\n };\n\n var getAdapter = function getAdapter(rtl, rectX, width) {\n return rtl ? getRtlAdapter(rectX, width) : getLtrAdapter();\n };\n\n var overrideTextDirection = function overrideTextDirection(ctx, direction) {\n var style, original;\n\n if (direction === 'ltr' || direction === 'rtl') {\n style = ctx.canvas.style;\n original = [style.getPropertyValue('direction'), style.getPropertyPriority('direction')];\n style.setProperty('direction', direction, 'important');\n ctx.prevTextDirection = original;\n }\n };\n\n var restoreTextDirection = function restoreTextDirection(ctx) {\n var original = ctx.prevTextDirection;\n\n if (original !== undefined) {\n delete ctx.prevTextDirection;\n ctx.canvas.style.setProperty('direction', original[0], original[1]);\n }\n };\n\n var helpers_rtl = {\n getRtlAdapter: getAdapter,\n overrideTextDirection: overrideTextDirection,\n restoreTextDirection: restoreTextDirection\n };\n var helpers$1 = helpers_core;\n var easing = helpers_easing;\n var canvas = helpers_canvas;\n var options = helpers_options;\n var math = helpers_math;\n var rtl = helpers_rtl;\n helpers$1.easing = easing;\n helpers$1.canvas = canvas;\n helpers$1.options = options;\n helpers$1.math = math;\n helpers$1.rtl = rtl;\n\n function interpolate(start, view, model, ease) {\n var keys = Object.keys(model);\n var i, ilen, key, actual, origin, target, type, c0, c1;\n\n for (i = 0, ilen = keys.length; i < ilen; ++i) {\n key = keys[i];\n target = model[key]; // if a value is added to the model after pivot() has been called, the view\n // doesn't contain it, so let's initialize the view to the target value.\n\n if (!view.hasOwnProperty(key)) {\n view[key] = target;\n }\n\n actual = view[key];\n\n if (actual === target || key[0] === '_') {\n continue;\n }\n\n if (!start.hasOwnProperty(key)) {\n start[key] = actual;\n }\n\n origin = start[key];\n type = _typeof(target);\n\n if (type === _typeof(origin)) {\n if (type === 'string') {\n c0 = chartjsColor(origin);\n\n if (c0.valid) {\n c1 = chartjsColor(target);\n\n if (c1.valid) {\n view[key] = c1.mix(c0, ease).rgbString();\n continue;\n }\n }\n } else if (helpers$1.isFinite(origin) && helpers$1.isFinite(target)) {\n view[key] = origin + (target - origin) * ease;\n continue;\n }\n }\n\n view[key] = target;\n }\n }\n\n var Element = function Element(configuration) {\n helpers$1.extend(this, configuration);\n this.initialize.apply(this, arguments);\n };\n\n helpers$1.extend(Element.prototype, {\n _type: undefined,\n initialize: function initialize() {\n this.hidden = false;\n },\n pivot: function pivot() {\n var me = this;\n\n if (!me._view) {\n me._view = helpers$1.extend({}, me._model);\n }\n\n me._start = {};\n return me;\n },\n transition: function transition(ease) {\n var me = this;\n var model = me._model;\n var start = me._start;\n var view = me._view; // No animation -> No Transition\n\n if (!model || ease === 1) {\n me._view = helpers$1.extend({}, model);\n me._start = null;\n return me;\n }\n\n if (!view) {\n view = me._view = {};\n }\n\n if (!start) {\n start = me._start = {};\n }\n\n interpolate(start, view, model, ease);\n return me;\n },\n tooltipPosition: function tooltipPosition() {\n return {\n x: this._model.x,\n y: this._model.y\n };\n },\n hasValue: function hasValue() {\n return helpers$1.isNumber(this._model.x) && helpers$1.isNumber(this._model.y);\n }\n });\n Element.extend = helpers$1.inherits;\n var core_element = Element;\n var exports$3 = core_element.extend({\n chart: null,\n // the animation associated chart instance\n currentStep: 0,\n // the current animation step\n numSteps: 60,\n // default number of steps\n easing: '',\n // the easing to use for this animation\n render: null,\n // render function used by the animation service\n onAnimationProgress: null,\n // user specified callback to fire on each step of the animation\n onAnimationComplete: null // user specified callback to fire when the animation finishes\n\n });\n var core_animation = exports$3; // DEPRECATIONS\n\n /**\n * Provided for backward compatibility, use Chart.Animation instead\n * @prop Chart.Animation#animationObject\n * @deprecated since version 2.6.0\n * @todo remove at version 3\n */\n\n Object.defineProperty(exports$3.prototype, 'animationObject', {\n get: function get() {\n return this;\n }\n });\n /**\n * Provided for backward compatibility, use Chart.Animation#chart instead\n * @prop Chart.Animation#chartInstance\n * @deprecated since version 2.6.0\n * @todo remove at version 3\n */\n\n Object.defineProperty(exports$3.prototype, 'chartInstance', {\n get: function get() {\n return this.chart;\n },\n set: function set(value) {\n this.chart = value;\n }\n });\n\n core_defaults._set('global', {\n animation: {\n duration: 1000,\n easing: 'easeOutQuart',\n onProgress: helpers$1.noop,\n onComplete: helpers$1.noop\n }\n });\n\n var core_animations = {\n animations: [],\n request: null,\n\n /**\n * @param {Chart} chart - The chart to animate.\n * @param {Chart.Animation} animation - The animation that we will animate.\n * @param {number} duration - The animation duration in ms.\n * @param {boolean} lazy - if true, the chart is not marked as animating to enable more responsive interactions\n */\n addAnimation: function addAnimation(chart, animation, duration, lazy) {\n var animations = this.animations;\n var i, ilen;\n animation.chart = chart;\n animation.startTime = Date.now();\n animation.duration = duration;\n\n if (!lazy) {\n chart.animating = true;\n }\n\n for (i = 0, ilen = animations.length; i < ilen; ++i) {\n if (animations[i].chart === chart) {\n animations[i] = animation;\n return;\n }\n }\n\n animations.push(animation); // If there are no animations queued, manually kickstart a digest, for lack of a better word\n\n if (animations.length === 1) {\n this.requestAnimationFrame();\n }\n },\n cancelAnimation: function cancelAnimation(chart) {\n var index = helpers$1.findIndex(this.animations, function (animation) {\n return animation.chart === chart;\n });\n\n if (index !== -1) {\n this.animations.splice(index, 1);\n chart.animating = false;\n }\n },\n requestAnimationFrame: function requestAnimationFrame() {\n var me = this;\n\n if (me.request === null) {\n // Skip animation frame requests until the active one is executed.\n // This can happen when processing mouse events, e.g. 'mousemove'\n // and 'mouseout' events will trigger multiple renders.\n me.request = helpers$1.requestAnimFrame.call(window, function () {\n me.request = null;\n me.startDigest();\n });\n }\n },\n\n /**\n * @private\n */\n startDigest: function startDigest() {\n var me = this;\n me.advance(); // Do we have more stuff to animate?\n\n if (me.animations.length > 0) {\n me.requestAnimationFrame();\n }\n },\n\n /**\n * @private\n */\n advance: function advance() {\n var animations = this.animations;\n var animation, chart, numSteps, nextStep;\n var i = 0; // 1 animation per chart, so we are looping charts here\n\n while (i < animations.length) {\n animation = animations[i];\n chart = animation.chart;\n numSteps = animation.numSteps; // Make sure that currentStep starts at 1\n // https://github.com/chartjs/Chart.js/issues/6104\n\n nextStep = Math.floor((Date.now() - animation.startTime) / animation.duration * numSteps) + 1;\n animation.currentStep = Math.min(nextStep, numSteps);\n helpers$1.callback(animation.render, [chart, animation], chart);\n helpers$1.callback(animation.onAnimationProgress, [animation], chart);\n\n if (animation.currentStep >= numSteps) {\n helpers$1.callback(animation.onAnimationComplete, [animation], chart);\n chart.animating = false;\n animations.splice(i, 1);\n } else {\n ++i;\n }\n }\n }\n };\n var resolve = helpers$1.options.resolve;\n var arrayEvents = ['push', 'pop', 'shift', 'splice', 'unshift'];\n /**\n * Hooks the array methods that add or remove values ('push', pop', 'shift', 'splice',\n * 'unshift') and notify the listener AFTER the array has been altered. Listeners are\n * called on the 'onData*' callbacks (e.g. onDataPush, etc.) with same arguments.\n */\n\n function listenArrayEvents(array, listener) {\n if (array._chartjs) {\n array._chartjs.listeners.push(listener);\n\n return;\n }\n\n Object.defineProperty(array, '_chartjs', {\n configurable: true,\n enumerable: false,\n value: {\n listeners: [listener]\n }\n });\n arrayEvents.forEach(function (key) {\n var method = 'onData' + key.charAt(0).toUpperCase() + key.slice(1);\n var base = array[key];\n Object.defineProperty(array, key, {\n configurable: true,\n enumerable: false,\n value: function value() {\n var args = Array.prototype.slice.call(arguments);\n var res = base.apply(this, args);\n helpers$1.each(array._chartjs.listeners, function (object) {\n if (typeof object[method] === 'function') {\n object[method].apply(object, args);\n }\n });\n return res;\n }\n });\n });\n }\n /**\n * Removes the given array event listener and cleanup extra attached properties (such as\n * the _chartjs stub and overridden methods) if array doesn't have any more listeners.\n */\n\n\n function unlistenArrayEvents(array, listener) {\n var stub = array._chartjs;\n\n if (!stub) {\n return;\n }\n\n var listeners = stub.listeners;\n var index = listeners.indexOf(listener);\n\n if (index !== -1) {\n listeners.splice(index, 1);\n }\n\n if (listeners.length > 0) {\n return;\n }\n\n arrayEvents.forEach(function (key) {\n delete array[key];\n });\n delete array._chartjs;\n } // Base class for all dataset controllers (line, bar, etc)\n\n\n var DatasetController = function DatasetController(chart, datasetIndex) {\n this.initialize(chart, datasetIndex);\n };\n\n helpers$1.extend(DatasetController.prototype, {\n /**\n * Element type used to generate a meta dataset (e.g. Chart.element.Line).\n * @type {Chart.core.element}\n */\n datasetElementType: null,\n\n /**\n * Element type used to generate a meta data (e.g. Chart.element.Point).\n * @type {Chart.core.element}\n */\n dataElementType: null,\n\n /**\n * Dataset element option keys to be resolved in _resolveDatasetElementOptions.\n * A derived controller may override this to resolve controller-specific options.\n * The keys defined here are for backward compatibility for legend styles.\n * @private\n */\n _datasetElementOptions: ['backgroundColor', 'borderCapStyle', 'borderColor', 'borderDash', 'borderDashOffset', 'borderJoinStyle', 'borderWidth'],\n\n /**\n * Data element option keys to be resolved in _resolveDataElementOptions.\n * A derived controller may override this to resolve controller-specific options.\n * The keys defined here are for backward compatibility for legend styles.\n * @private\n */\n _dataElementOptions: ['backgroundColor', 'borderColor', 'borderWidth', 'pointStyle'],\n initialize: function initialize(chart, datasetIndex) {\n var me = this;\n me.chart = chart;\n me.index = datasetIndex;\n me.linkScales();\n me.addElements();\n me._type = me.getMeta().type;\n },\n updateIndex: function updateIndex(datasetIndex) {\n this.index = datasetIndex;\n },\n linkScales: function linkScales() {\n var me = this;\n var meta = me.getMeta();\n var chart = me.chart;\n var scales = chart.scales;\n var dataset = me.getDataset();\n var scalesOpts = chart.options.scales;\n\n if (meta.xAxisID === null || !(meta.xAxisID in scales) || dataset.xAxisID) {\n meta.xAxisID = dataset.xAxisID || scalesOpts.xAxes[0].id;\n }\n\n if (meta.yAxisID === null || !(meta.yAxisID in scales) || dataset.yAxisID) {\n meta.yAxisID = dataset.yAxisID || scalesOpts.yAxes[0].id;\n }\n },\n getDataset: function getDataset() {\n return this.chart.data.datasets[this.index];\n },\n getMeta: function getMeta() {\n return this.chart.getDatasetMeta(this.index);\n },\n getScaleForId: function getScaleForId(scaleID) {\n return this.chart.scales[scaleID];\n },\n\n /**\n * @private\n */\n _getValueScaleId: function _getValueScaleId() {\n return this.getMeta().yAxisID;\n },\n\n /**\n * @private\n */\n _getIndexScaleId: function _getIndexScaleId() {\n return this.getMeta().xAxisID;\n },\n\n /**\n * @private\n */\n _getValueScale: function _getValueScale() {\n return this.getScaleForId(this._getValueScaleId());\n },\n\n /**\n * @private\n */\n _getIndexScale: function _getIndexScale() {\n return this.getScaleForId(this._getIndexScaleId());\n },\n reset: function reset() {\n this._update(true);\n },\n\n /**\n * @private\n */\n destroy: function destroy() {\n if (this._data) {\n unlistenArrayEvents(this._data, this);\n }\n },\n createMetaDataset: function createMetaDataset() {\n var me = this;\n var type = me.datasetElementType;\n return type && new type({\n _chart: me.chart,\n _datasetIndex: me.index\n });\n },\n createMetaData: function createMetaData(index) {\n var me = this;\n var type = me.dataElementType;\n return type && new type({\n _chart: me.chart,\n _datasetIndex: me.index,\n _index: index\n });\n },\n addElements: function addElements() {\n var me = this;\n var meta = me.getMeta();\n var data = me.getDataset().data || [];\n var metaData = meta.data;\n var i, ilen;\n\n for (i = 0, ilen = data.length; i < ilen; ++i) {\n metaData[i] = metaData[i] || me.createMetaData(i);\n }\n\n meta.dataset = meta.dataset || me.createMetaDataset();\n },\n addElementAndReset: function addElementAndReset(index) {\n var element = this.createMetaData(index);\n this.getMeta().data.splice(index, 0, element);\n this.updateElement(element, index, true);\n },\n buildOrUpdateElements: function buildOrUpdateElements() {\n var me = this;\n var dataset = me.getDataset();\n var data = dataset.data || (dataset.data = []); // In order to correctly handle data addition/deletion animation (an thus simulate\n // real-time charts), we need to monitor these data modifications and synchronize\n // the internal meta data accordingly.\n\n if (me._data !== data) {\n if (me._data) {\n // This case happens when the user replaced the data array instance.\n unlistenArrayEvents(me._data, me);\n }\n\n if (data && Object.isExtensible(data)) {\n listenArrayEvents(data, me);\n }\n\n me._data = data;\n } // Re-sync meta data in case the user replaced the data array or if we missed\n // any updates and so make sure that we handle number of datapoints changing.\n\n\n me.resyncElements();\n },\n\n /**\n * Returns the merged user-supplied and default dataset-level options\n * @private\n */\n _configure: function _configure() {\n var me = this;\n me._config = helpers$1.merge({}, [me.chart.options.datasets[me._type], me.getDataset()], {\n merger: function merger(key, target, source) {\n if (key !== '_meta' && key !== 'data') {\n helpers$1._merger(key, target, source);\n }\n }\n });\n },\n _update: function _update(reset) {\n var me = this;\n\n me._configure();\n\n me._cachedDataOpts = null;\n me.update(reset);\n },\n update: helpers$1.noop,\n transition: function transition(easingValue) {\n var meta = this.getMeta();\n var elements = meta.data || [];\n var ilen = elements.length;\n var i = 0;\n\n for (; i < ilen; ++i) {\n elements[i].transition(easingValue);\n }\n\n if (meta.dataset) {\n meta.dataset.transition(easingValue);\n }\n },\n draw: function draw() {\n var meta = this.getMeta();\n var elements = meta.data || [];\n var ilen = elements.length;\n var i = 0;\n\n if (meta.dataset) {\n meta.dataset.draw();\n }\n\n for (; i < ilen; ++i) {\n elements[i].draw();\n }\n },\n\n /**\n * Returns a set of predefined style properties that should be used to represent the dataset\n * or the data if the index is specified\n * @param {number} index - data index\n * @return {IStyleInterface} style object\n */\n getStyle: function getStyle(index) {\n var me = this;\n var meta = me.getMeta();\n var dataset = meta.dataset;\n var style;\n\n me._configure();\n\n if (dataset && index === undefined) {\n style = me._resolveDatasetElementOptions(dataset || {});\n } else {\n index = index || 0;\n style = me._resolveDataElementOptions(meta.data[index] || {}, index);\n }\n\n if (style.fill === false || style.fill === null) {\n style.backgroundColor = style.borderColor;\n }\n\n return style;\n },\n\n /**\n * @private\n */\n _resolveDatasetElementOptions: function _resolveDatasetElementOptions(element, hover) {\n var me = this;\n var chart = me.chart;\n var datasetOpts = me._config;\n var custom = element.custom || {};\n var options = chart.options.elements[me.datasetElementType.prototype._type] || {};\n var elementOptions = me._datasetElementOptions;\n var values = {};\n var i, ilen, key, readKey; // Scriptable options\n\n var context = {\n chart: chart,\n dataset: me.getDataset(),\n datasetIndex: me.index,\n hover: hover\n };\n\n for (i = 0, ilen = elementOptions.length; i < ilen; ++i) {\n key = elementOptions[i];\n readKey = hover ? 'hover' + key.charAt(0).toUpperCase() + key.slice(1) : key;\n values[key] = resolve([custom[readKey], datasetOpts[readKey], options[readKey]], context);\n }\n\n return values;\n },\n\n /**\n * @private\n */\n _resolveDataElementOptions: function _resolveDataElementOptions(element, index) {\n var me = this;\n var custom = element && element.custom;\n var cached = me._cachedDataOpts;\n\n if (cached && !custom) {\n return cached;\n }\n\n var chart = me.chart;\n var datasetOpts = me._config;\n var options = chart.options.elements[me.dataElementType.prototype._type] || {};\n var elementOptions = me._dataElementOptions;\n var values = {}; // Scriptable options\n\n var context = {\n chart: chart,\n dataIndex: index,\n dataset: me.getDataset(),\n datasetIndex: me.index\n }; // `resolve` sets cacheable to `false` if any option is indexed or scripted\n\n var info = {\n cacheable: !custom\n };\n var keys, i, ilen, key;\n custom = custom || {};\n\n if (helpers$1.isArray(elementOptions)) {\n for (i = 0, ilen = elementOptions.length; i < ilen; ++i) {\n key = elementOptions[i];\n values[key] = resolve([custom[key], datasetOpts[key], options[key]], context, index, info);\n }\n } else {\n keys = Object.keys(elementOptions);\n\n for (i = 0, ilen = keys.length; i < ilen; ++i) {\n key = keys[i];\n values[key] = resolve([custom[key], datasetOpts[elementOptions[key]], datasetOpts[key], options[key]], context, index, info);\n }\n }\n\n if (info.cacheable) {\n me._cachedDataOpts = Object.freeze(values);\n }\n\n return values;\n },\n removeHoverStyle: function removeHoverStyle(element) {\n helpers$1.merge(element._model, element.$previousStyle || {});\n delete element.$previousStyle;\n },\n setHoverStyle: function setHoverStyle(element) {\n var dataset = this.chart.data.datasets[element._datasetIndex];\n var index = element._index;\n var custom = element.custom || {};\n var model = element._model;\n var getHoverColor = helpers$1.getHoverColor;\n element.$previousStyle = {\n backgroundColor: model.backgroundColor,\n borderColor: model.borderColor,\n borderWidth: model.borderWidth\n };\n model.backgroundColor = resolve([custom.hoverBackgroundColor, dataset.hoverBackgroundColor, getHoverColor(model.backgroundColor)], undefined, index);\n model.borderColor = resolve([custom.hoverBorderColor, dataset.hoverBorderColor, getHoverColor(model.borderColor)], undefined, index);\n model.borderWidth = resolve([custom.hoverBorderWidth, dataset.hoverBorderWidth, model.borderWidth], undefined, index);\n },\n\n /**\n * @private\n */\n _removeDatasetHoverStyle: function _removeDatasetHoverStyle() {\n var element = this.getMeta().dataset;\n\n if (element) {\n this.removeHoverStyle(element);\n }\n },\n\n /**\n * @private\n */\n _setDatasetHoverStyle: function _setDatasetHoverStyle() {\n var element = this.getMeta().dataset;\n var prev = {};\n var i, ilen, key, keys, hoverOptions, model;\n\n if (!element) {\n return;\n }\n\n model = element._model;\n hoverOptions = this._resolveDatasetElementOptions(element, true);\n keys = Object.keys(hoverOptions);\n\n for (i = 0, ilen = keys.length; i < ilen; ++i) {\n key = keys[i];\n prev[key] = model[key];\n model[key] = hoverOptions[key];\n }\n\n element.$previousStyle = prev;\n },\n\n /**\n * @private\n */\n resyncElements: function resyncElements() {\n var me = this;\n var meta = me.getMeta();\n var data = me.getDataset().data;\n var numMeta = meta.data.length;\n var numData = data.length;\n\n if (numData < numMeta) {\n meta.data.splice(numData, numMeta - numData);\n } else if (numData > numMeta) {\n me.insertElements(numMeta, numData - numMeta);\n }\n },\n\n /**\n * @private\n */\n insertElements: function insertElements(start, count) {\n for (var i = 0; i < count; ++i) {\n this.addElementAndReset(start + i);\n }\n },\n\n /**\n * @private\n */\n onDataPush: function onDataPush() {\n var count = arguments.length;\n this.insertElements(this.getDataset().data.length - count, count);\n },\n\n /**\n * @private\n */\n onDataPop: function onDataPop() {\n this.getMeta().data.pop();\n },\n\n /**\n * @private\n */\n onDataShift: function onDataShift() {\n this.getMeta().data.shift();\n },\n\n /**\n * @private\n */\n onDataSplice: function onDataSplice(start, count) {\n this.getMeta().data.splice(start, count);\n this.insertElements(start, arguments.length - 2);\n },\n\n /**\n * @private\n */\n onDataUnshift: function onDataUnshift() {\n this.insertElements(0, arguments.length);\n }\n });\n DatasetController.extend = helpers$1.inherits;\n var core_datasetController = DatasetController;\n var TAU = Math.PI * 2;\n\n core_defaults._set('global', {\n elements: {\n arc: {\n backgroundColor: core_defaults.global.defaultColor,\n borderColor: '#fff',\n borderWidth: 2,\n borderAlign: 'center'\n }\n }\n });\n\n function clipArc(ctx, arc) {\n var startAngle = arc.startAngle;\n var endAngle = arc.endAngle;\n var pixelMargin = arc.pixelMargin;\n var angleMargin = pixelMargin / arc.outerRadius;\n var x = arc.x;\n var y = arc.y; // Draw an inner border by cliping the arc and drawing a double-width border\n // Enlarge the clipping arc by 0.33 pixels to eliminate glitches between borders\n\n ctx.beginPath();\n ctx.arc(x, y, arc.outerRadius, startAngle - angleMargin, endAngle + angleMargin);\n\n if (arc.innerRadius > pixelMargin) {\n angleMargin = pixelMargin / arc.innerRadius;\n ctx.arc(x, y, arc.innerRadius - pixelMargin, endAngle + angleMargin, startAngle - angleMargin, true);\n } else {\n ctx.arc(x, y, pixelMargin, endAngle + Math.PI / 2, startAngle - Math.PI / 2);\n }\n\n ctx.closePath();\n ctx.clip();\n }\n\n function drawFullCircleBorders(ctx, vm, arc, inner) {\n var endAngle = arc.endAngle;\n var i;\n\n if (inner) {\n arc.endAngle = arc.startAngle + TAU;\n clipArc(ctx, arc);\n arc.endAngle = endAngle;\n\n if (arc.endAngle === arc.startAngle && arc.fullCircles) {\n arc.endAngle += TAU;\n arc.fullCircles--;\n }\n }\n\n ctx.beginPath();\n ctx.arc(arc.x, arc.y, arc.innerRadius, arc.startAngle + TAU, arc.startAngle, true);\n\n for (i = 0; i < arc.fullCircles; ++i) {\n ctx.stroke();\n }\n\n ctx.beginPath();\n ctx.arc(arc.x, arc.y, vm.outerRadius, arc.startAngle, arc.startAngle + TAU);\n\n for (i = 0; i < arc.fullCircles; ++i) {\n ctx.stroke();\n }\n }\n\n function drawBorder(ctx, vm, arc) {\n var inner = vm.borderAlign === 'inner';\n\n if (inner) {\n ctx.lineWidth = vm.borderWidth * 2;\n ctx.lineJoin = 'round';\n } else {\n ctx.lineWidth = vm.borderWidth;\n ctx.lineJoin = 'bevel';\n }\n\n if (arc.fullCircles) {\n drawFullCircleBorders(ctx, vm, arc, inner);\n }\n\n if (inner) {\n clipArc(ctx, arc);\n }\n\n ctx.beginPath();\n ctx.arc(arc.x, arc.y, vm.outerRadius, arc.startAngle, arc.endAngle);\n ctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true);\n ctx.closePath();\n ctx.stroke();\n }\n\n var element_arc = core_element.extend({\n _type: 'arc',\n inLabelRange: function inLabelRange(mouseX) {\n var vm = this._view;\n\n if (vm) {\n return Math.pow(mouseX - vm.x, 2) < Math.pow(vm.radius + vm.hoverRadius, 2);\n }\n\n return false;\n },\n inRange: function inRange(chartX, chartY) {\n var vm = this._view;\n\n if (vm) {\n var pointRelativePosition = helpers$1.getAngleFromPoint(vm, {\n x: chartX,\n y: chartY\n });\n var angle = pointRelativePosition.angle;\n var distance = pointRelativePosition.distance; // Sanitise angle range\n\n var startAngle = vm.startAngle;\n var endAngle = vm.endAngle;\n\n while (endAngle < startAngle) {\n endAngle += TAU;\n }\n\n while (angle > endAngle) {\n angle -= TAU;\n }\n\n while (angle < startAngle) {\n angle += TAU;\n } // Check if within the range of the open/close angle\n\n\n var betweenAngles = angle >= startAngle && angle <= endAngle;\n var withinRadius = distance >= vm.innerRadius && distance <= vm.outerRadius;\n return betweenAngles && withinRadius;\n }\n\n return false;\n },\n getCenterPoint: function getCenterPoint() {\n var vm = this._view;\n var halfAngle = (vm.startAngle + vm.endAngle) / 2;\n var halfRadius = (vm.innerRadius + vm.outerRadius) / 2;\n return {\n x: vm.x + Math.cos(halfAngle) * halfRadius,\n y: vm.y + Math.sin(halfAngle) * halfRadius\n };\n },\n getArea: function getArea() {\n var vm = this._view;\n return Math.PI * ((vm.endAngle - vm.startAngle) / (2 * Math.PI)) * (Math.pow(vm.outerRadius, 2) - Math.pow(vm.innerRadius, 2));\n },\n tooltipPosition: function tooltipPosition() {\n var vm = this._view;\n var centreAngle = vm.startAngle + (vm.endAngle - vm.startAngle) / 2;\n var rangeFromCentre = (vm.outerRadius - vm.innerRadius) / 2 + vm.innerRadius;\n return {\n x: vm.x + Math.cos(centreAngle) * rangeFromCentre,\n y: vm.y + Math.sin(centreAngle) * rangeFromCentre\n };\n },\n draw: function draw() {\n var ctx = this._chart.ctx;\n var vm = this._view;\n var pixelMargin = vm.borderAlign === 'inner' ? 0.33 : 0;\n var arc = {\n x: vm.x,\n y: vm.y,\n innerRadius: vm.innerRadius,\n outerRadius: Math.max(vm.outerRadius - pixelMargin, 0),\n pixelMargin: pixelMargin,\n startAngle: vm.startAngle,\n endAngle: vm.endAngle,\n fullCircles: Math.floor(vm.circumference / TAU)\n };\n var i;\n ctx.save();\n ctx.fillStyle = vm.backgroundColor;\n ctx.strokeStyle = vm.borderColor;\n\n if (arc.fullCircles) {\n arc.endAngle = arc.startAngle + TAU;\n ctx.beginPath();\n ctx.arc(arc.x, arc.y, arc.outerRadius, arc.startAngle, arc.endAngle);\n ctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true);\n ctx.closePath();\n\n for (i = 0; i < arc.fullCircles; ++i) {\n ctx.fill();\n }\n\n arc.endAngle = arc.startAngle + vm.circumference % TAU;\n }\n\n ctx.beginPath();\n ctx.arc(arc.x, arc.y, arc.outerRadius, arc.startAngle, arc.endAngle);\n ctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true);\n ctx.closePath();\n ctx.fill();\n\n if (vm.borderWidth) {\n drawBorder(ctx, vm, arc);\n }\n\n ctx.restore();\n }\n });\n var valueOrDefault$1 = helpers$1.valueOrDefault;\n var defaultColor = core_defaults.global.defaultColor;\n\n core_defaults._set('global', {\n elements: {\n line: {\n tension: 0.4,\n backgroundColor: defaultColor,\n borderWidth: 3,\n borderColor: defaultColor,\n borderCapStyle: 'butt',\n borderDash: [],\n borderDashOffset: 0.0,\n borderJoinStyle: 'miter',\n capBezierPoints: true,\n fill: true // do we fill in the area between the line and its base axis\n\n }\n }\n });\n\n var element_line = core_element.extend({\n _type: 'line',\n draw: function draw() {\n var me = this;\n var vm = me._view;\n var ctx = me._chart.ctx;\n var spanGaps = vm.spanGaps;\n\n var points = me._children.slice(); // clone array\n\n\n var globalDefaults = core_defaults.global;\n var globalOptionLineElements = globalDefaults.elements.line;\n var lastDrawnIndex = -1;\n var closePath = me._loop;\n var index, previous, currentVM;\n\n if (!points.length) {\n return;\n }\n\n if (me._loop) {\n for (index = 0; index < points.length; ++index) {\n previous = helpers$1.previousItem(points, index); // If the line has an open path, shift the point array\n\n if (!points[index]._view.skip && previous._view.skip) {\n points = points.slice(index).concat(points.slice(0, index));\n closePath = spanGaps;\n break;\n }\n } // If the line has a close path, add the first point again\n\n\n if (closePath) {\n points.push(points[0]);\n }\n }\n\n ctx.save(); // Stroke Line Options\n\n ctx.lineCap = vm.borderCapStyle || globalOptionLineElements.borderCapStyle; // IE 9 and 10 do not support line dash\n\n if (ctx.setLineDash) {\n ctx.setLineDash(vm.borderDash || globalOptionLineElements.borderDash);\n }\n\n ctx.lineDashOffset = valueOrDefault$1(vm.borderDashOffset, globalOptionLineElements.borderDashOffset);\n ctx.lineJoin = vm.borderJoinStyle || globalOptionLineElements.borderJoinStyle;\n ctx.lineWidth = valueOrDefault$1(vm.borderWidth, globalOptionLineElements.borderWidth);\n ctx.strokeStyle = vm.borderColor || globalDefaults.defaultColor; // Stroke Line\n\n ctx.beginPath(); // First point moves to it's starting position no matter what\n\n currentVM = points[0]._view;\n\n if (!currentVM.skip) {\n ctx.moveTo(currentVM.x, currentVM.y);\n lastDrawnIndex = 0;\n }\n\n for (index = 1; index < points.length; ++index) {\n currentVM = points[index]._view;\n previous = lastDrawnIndex === -1 ? helpers$1.previousItem(points, index) : points[lastDrawnIndex];\n\n if (!currentVM.skip) {\n if (lastDrawnIndex !== index - 1 && !spanGaps || lastDrawnIndex === -1) {\n // There was a gap and this is the first point after the gap\n ctx.moveTo(currentVM.x, currentVM.y);\n } else {\n // Line to next point\n helpers$1.canvas.lineTo(ctx, previous._view, currentVM);\n }\n\n lastDrawnIndex = index;\n }\n }\n\n if (closePath) {\n ctx.closePath();\n }\n\n ctx.stroke();\n ctx.restore();\n }\n });\n var valueOrDefault$2 = helpers$1.valueOrDefault;\n var defaultColor$1 = core_defaults.global.defaultColor;\n\n core_defaults._set('global', {\n elements: {\n point: {\n radius: 3,\n pointStyle: 'circle',\n backgroundColor: defaultColor$1,\n borderColor: defaultColor$1,\n borderWidth: 1,\n // Hover\n hitRadius: 1,\n hoverRadius: 4,\n hoverBorderWidth: 1\n }\n }\n });\n\n function xRange(mouseX) {\n var vm = this._view;\n return vm ? Math.abs(mouseX - vm.x) < vm.radius + vm.hitRadius : false;\n }\n\n function yRange(mouseY) {\n var vm = this._view;\n return vm ? Math.abs(mouseY - vm.y) < vm.radius + vm.hitRadius : false;\n }\n\n var element_point = core_element.extend({\n _type: 'point',\n inRange: function inRange(mouseX, mouseY) {\n var vm = this._view;\n return vm ? Math.pow(mouseX - vm.x, 2) + Math.pow(mouseY - vm.y, 2) < Math.pow(vm.hitRadius + vm.radius, 2) : false;\n },\n inLabelRange: xRange,\n inXRange: xRange,\n inYRange: yRange,\n getCenterPoint: function getCenterPoint() {\n var vm = this._view;\n return {\n x: vm.x,\n y: vm.y\n };\n },\n getArea: function getArea() {\n return Math.PI * Math.pow(this._view.radius, 2);\n },\n tooltipPosition: function tooltipPosition() {\n var vm = this._view;\n return {\n x: vm.x,\n y: vm.y,\n padding: vm.radius + vm.borderWidth\n };\n },\n draw: function draw(chartArea) {\n var vm = this._view;\n var ctx = this._chart.ctx;\n var pointStyle = vm.pointStyle;\n var rotation = vm.rotation;\n var radius = vm.radius;\n var x = vm.x;\n var y = vm.y;\n var globalDefaults = core_defaults.global;\n var defaultColor = globalDefaults.defaultColor; // eslint-disable-line no-shadow\n\n if (vm.skip) {\n return;\n } // Clipping for Points.\n\n\n if (chartArea === undefined || helpers$1.canvas._isPointInArea(vm, chartArea)) {\n ctx.strokeStyle = vm.borderColor || defaultColor;\n ctx.lineWidth = valueOrDefault$2(vm.borderWidth, globalDefaults.elements.point.borderWidth);\n ctx.fillStyle = vm.backgroundColor || defaultColor;\n helpers$1.canvas.drawPoint(ctx, pointStyle, radius, x, y, rotation);\n }\n }\n });\n var defaultColor$2 = core_defaults.global.defaultColor;\n\n core_defaults._set('global', {\n elements: {\n rectangle: {\n backgroundColor: defaultColor$2,\n borderColor: defaultColor$2,\n borderSkipped: 'bottom',\n borderWidth: 0\n }\n }\n });\n\n function isVertical(vm) {\n return vm && vm.width !== undefined;\n }\n /**\n * Helper function to get the bounds of the bar regardless of the orientation\n * @param bar {Chart.Element.Rectangle} the bar\n * @return {Bounds} bounds of the bar\n * @private\n */\n\n\n function getBarBounds(vm) {\n var x1, x2, y1, y2, half;\n\n if (isVertical(vm)) {\n half = vm.width / 2;\n x1 = vm.x - half;\n x2 = vm.x + half;\n y1 = Math.min(vm.y, vm.base);\n y2 = Math.max(vm.y, vm.base);\n } else {\n half = vm.height / 2;\n x1 = Math.min(vm.x, vm.base);\n x2 = Math.max(vm.x, vm.base);\n y1 = vm.y - half;\n y2 = vm.y + half;\n }\n\n return {\n left: x1,\n top: y1,\n right: x2,\n bottom: y2\n };\n }\n\n function swap(orig, v1, v2) {\n return orig === v1 ? v2 : orig === v2 ? v1 : orig;\n }\n\n function parseBorderSkipped(vm) {\n var edge = vm.borderSkipped;\n var res = {};\n\n if (!edge) {\n return res;\n }\n\n if (vm.horizontal) {\n if (vm.base > vm.x) {\n edge = swap(edge, 'left', 'right');\n }\n } else if (vm.base < vm.y) {\n edge = swap(edge, 'bottom', 'top');\n }\n\n res[edge] = true;\n return res;\n }\n\n function parseBorderWidth(vm, maxW, maxH) {\n var value = vm.borderWidth;\n var skip = parseBorderSkipped(vm);\n var t, r, b, l;\n\n if (helpers$1.isObject(value)) {\n t = +value.top || 0;\n r = +value.right || 0;\n b = +value.bottom || 0;\n l = +value.left || 0;\n } else {\n t = r = b = l = +value || 0;\n }\n\n return {\n t: skip.top || t < 0 ? 0 : t > maxH ? maxH : t,\n r: skip.right || r < 0 ? 0 : r > maxW ? maxW : r,\n b: skip.bottom || b < 0 ? 0 : b > maxH ? maxH : b,\n l: skip.left || l < 0 ? 0 : l > maxW ? maxW : l\n };\n }\n\n function boundingRects(vm) {\n var bounds = getBarBounds(vm);\n var width = bounds.right - bounds.left;\n var height = bounds.bottom - bounds.top;\n var border = parseBorderWidth(vm, width / 2, height / 2);\n return {\n outer: {\n x: bounds.left,\n y: bounds.top,\n w: width,\n h: height\n },\n inner: {\n x: bounds.left + border.l,\n y: bounds.top + border.t,\n w: width - border.l - border.r,\n h: height - border.t - border.b\n }\n };\n }\n\n function _inRange(vm, x, y) {\n var skipX = x === null;\n var skipY = y === null;\n var bounds = !vm || skipX && skipY ? false : getBarBounds(vm);\n return bounds && (skipX || x >= bounds.left && x <= bounds.right) && (skipY || y >= bounds.top && y <= bounds.bottom);\n }\n\n var element_rectangle = core_element.extend({\n _type: 'rectangle',\n draw: function draw() {\n var ctx = this._chart.ctx;\n var vm = this._view;\n var rects = boundingRects(vm);\n var outer = rects.outer;\n var inner = rects.inner;\n ctx.fillStyle = vm.backgroundColor;\n ctx.fillRect(outer.x, outer.y, outer.w, outer.h);\n\n if (outer.w === inner.w && outer.h === inner.h) {\n return;\n }\n\n ctx.save();\n ctx.beginPath();\n ctx.rect(outer.x, outer.y, outer.w, outer.h);\n ctx.clip();\n ctx.fillStyle = vm.borderColor;\n ctx.rect(inner.x, inner.y, inner.w, inner.h);\n ctx.fill('evenodd');\n ctx.restore();\n },\n height: function height() {\n var vm = this._view;\n return vm.base - vm.y;\n },\n inRange: function inRange(mouseX, mouseY) {\n return _inRange(this._view, mouseX, mouseY);\n },\n inLabelRange: function inLabelRange(mouseX, mouseY) {\n var vm = this._view;\n return isVertical(vm) ? _inRange(vm, mouseX, null) : _inRange(vm, null, mouseY);\n },\n inXRange: function inXRange(mouseX) {\n return _inRange(this._view, mouseX, null);\n },\n inYRange: function inYRange(mouseY) {\n return _inRange(this._view, null, mouseY);\n },\n getCenterPoint: function getCenterPoint() {\n var vm = this._view;\n var x, y;\n\n if (isVertical(vm)) {\n x = vm.x;\n y = (vm.y + vm.base) / 2;\n } else {\n x = (vm.x + vm.base) / 2;\n y = vm.y;\n }\n\n return {\n x: x,\n y: y\n };\n },\n getArea: function getArea() {\n var vm = this._view;\n return isVertical(vm) ? vm.width * Math.abs(vm.y - vm.base) : vm.height * Math.abs(vm.x - vm.base);\n },\n tooltipPosition: function tooltipPosition() {\n var vm = this._view;\n return {\n x: vm.x,\n y: vm.y\n };\n }\n });\n var elements = {};\n var Arc = element_arc;\n var Line = element_line;\n var Point = element_point;\n var Rectangle = element_rectangle;\n elements.Arc = Arc;\n elements.Line = Line;\n elements.Point = Point;\n elements.Rectangle = Rectangle;\n var deprecated = helpers$1._deprecated;\n var valueOrDefault$3 = helpers$1.valueOrDefault;\n\n core_defaults._set('bar', {\n hover: {\n mode: 'label'\n },\n scales: {\n xAxes: [{\n type: 'category',\n offset: true,\n gridLines: {\n offsetGridLines: true\n }\n }],\n yAxes: [{\n type: 'linear'\n }]\n }\n });\n\n core_defaults._set('global', {\n datasets: {\n bar: {\n categoryPercentage: 0.8,\n barPercentage: 0.9\n }\n }\n });\n /**\n * Computes the \"optimal\" sample size to maintain bars equally sized while preventing overlap.\n * @private\n */\n\n\n function computeMinSampleSize(scale, pixels) {\n var min = scale._length;\n var prev, curr, i, ilen;\n\n for (i = 1, ilen = pixels.length; i < ilen; ++i) {\n min = Math.min(min, Math.abs(pixels[i] - pixels[i - 1]));\n }\n\n for (i = 0, ilen = scale.getTicks().length; i < ilen; ++i) {\n curr = scale.getPixelForTick(i);\n min = i > 0 ? Math.min(min, Math.abs(curr - prev)) : min;\n prev = curr;\n }\n\n return min;\n }\n /**\n * Computes an \"ideal\" category based on the absolute bar thickness or, if undefined or null,\n * uses the smallest interval (see computeMinSampleSize) that prevents bar overlapping. This\n * mode currently always generates bars equally sized (until we introduce scriptable options?).\n * @private\n */\n\n\n function computeFitCategoryTraits(index, ruler, options) {\n var thickness = options.barThickness;\n var count = ruler.stackCount;\n var curr = ruler.pixels[index];\n var min = helpers$1.isNullOrUndef(thickness) ? computeMinSampleSize(ruler.scale, ruler.pixels) : -1;\n var size, ratio;\n\n if (helpers$1.isNullOrUndef(thickness)) {\n size = min * options.categoryPercentage;\n ratio = options.barPercentage;\n } else {\n // When bar thickness is enforced, category and bar percentages are ignored.\n // Note(SB): we could add support for relative bar thickness (e.g. barThickness: '50%')\n // and deprecate barPercentage since this value is ignored when thickness is absolute.\n size = thickness * count;\n ratio = 1;\n }\n\n return {\n chunk: size / count,\n ratio: ratio,\n start: curr - size / 2\n };\n }\n /**\n * Computes an \"optimal\" category that globally arranges bars side by side (no gap when\n * percentage options are 1), based on the previous and following categories. This mode\n * generates bars with different widths when data are not evenly spaced.\n * @private\n */\n\n\n function computeFlexCategoryTraits(index, ruler, options) {\n var pixels = ruler.pixels;\n var curr = pixels[index];\n var prev = index > 0 ? pixels[index - 1] : null;\n var next = index < pixels.length - 1 ? pixels[index + 1] : null;\n var percent = options.categoryPercentage;\n var start, size;\n\n if (prev === null) {\n // first data: its size is double based on the next point or,\n // if it's also the last data, we use the scale size.\n prev = curr - (next === null ? ruler.end - ruler.start : next - curr);\n }\n\n if (next === null) {\n // last data: its size is also double based on the previous point.\n next = curr + curr - prev;\n }\n\n start = curr - (curr - Math.min(prev, next)) / 2 * percent;\n size = Math.abs(next - prev) / 2 * percent;\n return {\n chunk: size / ruler.stackCount,\n ratio: options.barPercentage,\n start: start\n };\n }\n\n var controller_bar = core_datasetController.extend({\n dataElementType: elements.Rectangle,\n\n /**\n * @private\n */\n _dataElementOptions: ['backgroundColor', 'borderColor', 'borderSkipped', 'borderWidth', 'barPercentage', 'barThickness', 'categoryPercentage', 'maxBarThickness', 'minBarLength'],\n initialize: function initialize() {\n var me = this;\n var meta, scaleOpts;\n core_datasetController.prototype.initialize.apply(me, arguments);\n meta = me.getMeta();\n meta.stack = me.getDataset().stack;\n meta.bar = true;\n scaleOpts = me._getIndexScale().options;\n deprecated('bar chart', scaleOpts.barPercentage, 'scales.[x/y]Axes.barPercentage', 'dataset.barPercentage');\n deprecated('bar chart', scaleOpts.barThickness, 'scales.[x/y]Axes.barThickness', 'dataset.barThickness');\n deprecated('bar chart', scaleOpts.categoryPercentage, 'scales.[x/y]Axes.categoryPercentage', 'dataset.categoryPercentage');\n deprecated('bar chart', me._getValueScale().options.minBarLength, 'scales.[x/y]Axes.minBarLength', 'dataset.minBarLength');\n deprecated('bar chart', scaleOpts.maxBarThickness, 'scales.[x/y]Axes.maxBarThickness', 'dataset.maxBarThickness');\n },\n update: function update(reset) {\n var me = this;\n var rects = me.getMeta().data;\n var i, ilen;\n me._ruler = me.getRuler();\n\n for (i = 0, ilen = rects.length; i < ilen; ++i) {\n me.updateElement(rects[i], i, reset);\n }\n },\n updateElement: function updateElement(rectangle, index, reset) {\n var me = this;\n var meta = me.getMeta();\n var dataset = me.getDataset();\n\n var options = me._resolveDataElementOptions(rectangle, index);\n\n rectangle._xScale = me.getScaleForId(meta.xAxisID);\n rectangle._yScale = me.getScaleForId(meta.yAxisID);\n rectangle._datasetIndex = me.index;\n rectangle._index = index;\n rectangle._model = {\n backgroundColor: options.backgroundColor,\n borderColor: options.borderColor,\n borderSkipped: options.borderSkipped,\n borderWidth: options.borderWidth,\n datasetLabel: dataset.label,\n label: me.chart.data.labels[index]\n };\n\n if (helpers$1.isArray(dataset.data[index])) {\n rectangle._model.borderSkipped = null;\n }\n\n me._updateElementGeometry(rectangle, index, reset, options);\n\n rectangle.pivot();\n },\n\n /**\n * @private\n */\n _updateElementGeometry: function _updateElementGeometry(rectangle, index, reset, options) {\n var me = this;\n var model = rectangle._model;\n\n var vscale = me._getValueScale();\n\n var base = vscale.getBasePixel();\n var horizontal = vscale.isHorizontal();\n var ruler = me._ruler || me.getRuler();\n var vpixels = me.calculateBarValuePixels(me.index, index, options);\n var ipixels = me.calculateBarIndexPixels(me.index, index, ruler, options);\n model.horizontal = horizontal;\n model.base = reset ? base : vpixels.base;\n model.x = horizontal ? reset ? base : vpixels.head : ipixels.center;\n model.y = horizontal ? ipixels.center : reset ? base : vpixels.head;\n model.height = horizontal ? ipixels.size : undefined;\n model.width = horizontal ? undefined : ipixels.size;\n },\n\n /**\n * Returns the stacks based on groups and bar visibility.\n * @param {number} [last] - The dataset index\n * @returns {string[]} The list of stack IDs\n * @private\n */\n _getStacks: function _getStacks(last) {\n var me = this;\n\n var scale = me._getIndexScale();\n\n var metasets = scale._getMatchingVisibleMetas(me._type);\n\n var stacked = scale.options.stacked;\n var ilen = metasets.length;\n var stacks = [];\n var i, meta;\n\n for (i = 0; i < ilen; ++i) {\n meta = metasets[i]; // stacked | meta.stack\n // | found | not found | undefined\n // false | x | x | x\n // true | | x |\n // undefined | | x | x\n\n if (stacked === false || stacks.indexOf(meta.stack) === -1 || stacked === undefined && meta.stack === undefined) {\n stacks.push(meta.stack);\n }\n\n if (meta.index === last) {\n break;\n }\n }\n\n return stacks;\n },\n\n /**\n * Returns the effective number of stacks based on groups and bar visibility.\n * @private\n */\n getStackCount: function getStackCount() {\n return this._getStacks().length;\n },\n\n /**\n * Returns the stack index for the given dataset based on groups and bar visibility.\n * @param {number} [datasetIndex] - The dataset index\n * @param {string} [name] - The stack name to find\n * @returns {number} The stack index\n * @private\n */\n getStackIndex: function getStackIndex(datasetIndex, name) {\n var stacks = this._getStacks(datasetIndex);\n\n var index = name !== undefined ? stacks.indexOf(name) : -1; // indexOf returns -1 if element is not present\n\n return index === -1 ? stacks.length - 1 : index;\n },\n\n /**\n * @private\n */\n getRuler: function getRuler() {\n var me = this;\n\n var scale = me._getIndexScale();\n\n var pixels = [];\n var i, ilen;\n\n for (i = 0, ilen = me.getMeta().data.length; i < ilen; ++i) {\n pixels.push(scale.getPixelForValue(null, i, me.index));\n }\n\n return {\n pixels: pixels,\n start: scale._startPixel,\n end: scale._endPixel,\n stackCount: me.getStackCount(),\n scale: scale\n };\n },\n\n /**\n * Note: pixel values are not clamped to the scale area.\n * @private\n */\n calculateBarValuePixels: function calculateBarValuePixels(datasetIndex, index, options) {\n var me = this;\n var chart = me.chart;\n\n var scale = me._getValueScale();\n\n var isHorizontal = scale.isHorizontal();\n var datasets = chart.data.datasets;\n\n var metasets = scale._getMatchingVisibleMetas(me._type);\n\n var value = scale._parseValue(datasets[datasetIndex].data[index]);\n\n var minBarLength = options.minBarLength;\n var stacked = scale.options.stacked;\n var stack = me.getMeta().stack;\n var start = value.start === undefined ? 0 : value.max >= 0 && value.min >= 0 ? value.min : value.max;\n var length = value.start === undefined ? value.end : value.max >= 0 && value.min >= 0 ? value.max - value.min : value.min - value.max;\n var ilen = metasets.length;\n var i, imeta, ivalue, base, head, size, stackLength;\n\n if (stacked || stacked === undefined && stack !== undefined) {\n for (i = 0; i < ilen; ++i) {\n imeta = metasets[i];\n\n if (imeta.index === datasetIndex) {\n break;\n }\n\n if (imeta.stack === stack) {\n stackLength = scale._parseValue(datasets[imeta.index].data[index]);\n ivalue = stackLength.start === undefined ? stackLength.end : stackLength.min >= 0 && stackLength.max >= 0 ? stackLength.max : stackLength.min;\n\n if (value.min < 0 && ivalue < 0 || value.max >= 0 && ivalue > 0) {\n start += ivalue;\n }\n }\n }\n }\n\n base = scale.getPixelForValue(start);\n head = scale.getPixelForValue(start + length);\n size = head - base;\n\n if (minBarLength !== undefined && Math.abs(size) < minBarLength) {\n size = minBarLength;\n\n if (length >= 0 && !isHorizontal || length < 0 && isHorizontal) {\n head = base - minBarLength;\n } else {\n head = base + minBarLength;\n }\n }\n\n return {\n size: size,\n base: base,\n head: head,\n center: head + size / 2\n };\n },\n\n /**\n * @private\n */\n calculateBarIndexPixels: function calculateBarIndexPixels(datasetIndex, index, ruler, options) {\n var me = this;\n var range = options.barThickness === 'flex' ? computeFlexCategoryTraits(index, ruler, options) : computeFitCategoryTraits(index, ruler, options);\n var stackIndex = me.getStackIndex(datasetIndex, me.getMeta().stack);\n var center = range.start + range.chunk * stackIndex + range.chunk / 2;\n var size = Math.min(valueOrDefault$3(options.maxBarThickness, Infinity), range.chunk * range.ratio);\n return {\n base: center - size / 2,\n head: center + size / 2,\n center: center,\n size: size\n };\n },\n draw: function draw() {\n var me = this;\n var chart = me.chart;\n\n var scale = me._getValueScale();\n\n var rects = me.getMeta().data;\n var dataset = me.getDataset();\n var ilen = rects.length;\n var i = 0;\n helpers$1.canvas.clipArea(chart.ctx, chart.chartArea);\n\n for (; i < ilen; ++i) {\n var val = scale._parseValue(dataset.data[i]);\n\n if (!isNaN(val.min) && !isNaN(val.max)) {\n rects[i].draw();\n }\n }\n\n helpers$1.canvas.unclipArea(chart.ctx);\n },\n\n /**\n * @private\n */\n _resolveDataElementOptions: function _resolveDataElementOptions() {\n var me = this;\n var values = helpers$1.extend({}, core_datasetController.prototype._resolveDataElementOptions.apply(me, arguments));\n\n var indexOpts = me._getIndexScale().options;\n\n var valueOpts = me._getValueScale().options;\n\n values.barPercentage = valueOrDefault$3(indexOpts.barPercentage, values.barPercentage);\n values.barThickness = valueOrDefault$3(indexOpts.barThickness, values.barThickness);\n values.categoryPercentage = valueOrDefault$3(indexOpts.categoryPercentage, values.categoryPercentage);\n values.maxBarThickness = valueOrDefault$3(indexOpts.maxBarThickness, values.maxBarThickness);\n values.minBarLength = valueOrDefault$3(valueOpts.minBarLength, values.minBarLength);\n return values;\n }\n });\n var valueOrDefault$4 = helpers$1.valueOrDefault;\n var resolve$1 = helpers$1.options.resolve;\n\n core_defaults._set('bubble', {\n hover: {\n mode: 'single'\n },\n scales: {\n xAxes: [{\n type: 'linear',\n // bubble should probably use a linear scale by default\n position: 'bottom',\n id: 'x-axis-0' // need an ID so datasets can reference the scale\n\n }],\n yAxes: [{\n type: 'linear',\n position: 'left',\n id: 'y-axis-0'\n }]\n },\n tooltips: {\n callbacks: {\n title: function title() {\n // Title doesn't make sense for scatter since we format the data as a point\n return '';\n },\n label: function label(item, data) {\n var datasetLabel = data.datasets[item.datasetIndex].label || '';\n var dataPoint = data.datasets[item.datasetIndex].data[item.index];\n return datasetLabel + ': (' + item.xLabel + ', ' + item.yLabel + ', ' + dataPoint.r + ')';\n }\n }\n }\n });\n\n var controller_bubble = core_datasetController.extend({\n /**\n * @protected\n */\n dataElementType: elements.Point,\n\n /**\n * @private\n */\n _dataElementOptions: ['backgroundColor', 'borderColor', 'borderWidth', 'hoverBackgroundColor', 'hoverBorderColor', 'hoverBorderWidth', 'hoverRadius', 'hitRadius', 'pointStyle', 'rotation'],\n\n /**\n * @protected\n */\n update: function update(reset) {\n var me = this;\n var meta = me.getMeta();\n var points = meta.data; // Update Points\n\n helpers$1.each(points, function (point, index) {\n me.updateElement(point, index, reset);\n });\n },\n\n /**\n * @protected\n */\n updateElement: function updateElement(point, index, reset) {\n var me = this;\n var meta = me.getMeta();\n var custom = point.custom || {};\n var xScale = me.getScaleForId(meta.xAxisID);\n var yScale = me.getScaleForId(meta.yAxisID);\n\n var options = me._resolveDataElementOptions(point, index);\n\n var data = me.getDataset().data[index];\n var dsIndex = me.index;\n var x = reset ? xScale.getPixelForDecimal(0.5) : xScale.getPixelForValue(_typeof(data) === 'object' ? data : NaN, index, dsIndex);\n var y = reset ? yScale.getBasePixel() : yScale.getPixelForValue(data, index, dsIndex);\n point._xScale = xScale;\n point._yScale = yScale;\n point._options = options;\n point._datasetIndex = dsIndex;\n point._index = index;\n point._model = {\n backgroundColor: options.backgroundColor,\n borderColor: options.borderColor,\n borderWidth: options.borderWidth,\n hitRadius: options.hitRadius,\n pointStyle: options.pointStyle,\n rotation: options.rotation,\n radius: reset ? 0 : options.radius,\n skip: custom.skip || isNaN(x) || isNaN(y),\n x: x,\n y: y\n };\n point.pivot();\n },\n\n /**\n * @protected\n */\n setHoverStyle: function setHoverStyle(point) {\n var model = point._model;\n var options = point._options;\n var getHoverColor = helpers$1.getHoverColor;\n point.$previousStyle = {\n backgroundColor: model.backgroundColor,\n borderColor: model.borderColor,\n borderWidth: model.borderWidth,\n radius: model.radius\n };\n model.backgroundColor = valueOrDefault$4(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\n model.borderColor = valueOrDefault$4(options.hoverBorderColor, getHoverColor(options.borderColor));\n model.borderWidth = valueOrDefault$4(options.hoverBorderWidth, options.borderWidth);\n model.radius = options.radius + options.hoverRadius;\n },\n\n /**\n * @private\n */\n _resolveDataElementOptions: function _resolveDataElementOptions(point, index) {\n var me = this;\n var chart = me.chart;\n var dataset = me.getDataset();\n var custom = point.custom || {};\n var data = dataset.data[index] || {};\n\n var values = core_datasetController.prototype._resolveDataElementOptions.apply(me, arguments); // Scriptable options\n\n\n var context = {\n chart: chart,\n dataIndex: index,\n dataset: dataset,\n datasetIndex: me.index\n }; // In case values were cached (and thus frozen), we need to clone the values\n\n if (me._cachedDataOpts === values) {\n values = helpers$1.extend({}, values);\n } // Custom radius resolution\n\n\n values.radius = resolve$1([custom.radius, data.r, me._config.radius, chart.options.elements.point.radius], context, index);\n return values;\n }\n });\n var valueOrDefault$5 = helpers$1.valueOrDefault;\n var PI$1 = Math.PI;\n var DOUBLE_PI$1 = PI$1 * 2;\n var HALF_PI$1 = PI$1 / 2;\n\n core_defaults._set('doughnut', {\n animation: {\n // Boolean - Whether we animate the rotation of the Doughnut\n animateRotate: true,\n // Boolean - Whether we animate scaling the Doughnut from the centre\n animateScale: false\n },\n hover: {\n mode: 'single'\n },\n legendCallback: function legendCallback(chart) {\n var list = document.createElement('ul');\n var data = chart.data;\n var datasets = data.datasets;\n var labels = data.labels;\n var i, ilen, listItem, listItemSpan;\n list.setAttribute('class', chart.id + '-legend');\n\n if (datasets.length) {\n for (i = 0, ilen = datasets[0].data.length; i < ilen; ++i) {\n listItem = list.appendChild(document.createElement('li'));\n listItemSpan = listItem.appendChild(document.createElement('span'));\n listItemSpan.style.backgroundColor = datasets[0].backgroundColor[i];\n\n if (labels[i]) {\n listItem.appendChild(document.createTextNode(labels[i]));\n }\n }\n }\n\n return list.outerHTML;\n },\n legend: {\n labels: {\n generateLabels: function generateLabels(chart) {\n var data = chart.data;\n\n if (data.labels.length && data.datasets.length) {\n return data.labels.map(function (label, i) {\n var meta = chart.getDatasetMeta(0);\n var style = meta.controller.getStyle(i);\n return {\n text: label,\n fillStyle: style.backgroundColor,\n strokeStyle: style.borderColor,\n lineWidth: style.borderWidth,\n hidden: isNaN(data.datasets[0].data[i]) || meta.data[i].hidden,\n // Extra data used for toggling the correct item\n index: i\n };\n });\n }\n\n return [];\n }\n },\n onClick: function onClick(e, legendItem) {\n var index = legendItem.index;\n var chart = this.chart;\n var i, ilen, meta;\n\n for (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\n meta = chart.getDatasetMeta(i); // toggle visibility of index if exists\n\n if (meta.data[index]) {\n meta.data[index].hidden = !meta.data[index].hidden;\n }\n }\n\n chart.update();\n }\n },\n // The percentage of the chart that we cut out of the middle.\n cutoutPercentage: 50,\n // The rotation of the chart, where the first data arc begins.\n rotation: -HALF_PI$1,\n // The total circumference of the chart.\n circumference: DOUBLE_PI$1,\n // Need to override these to give a nice default\n tooltips: {\n callbacks: {\n title: function title() {\n return '';\n },\n label: function label(tooltipItem, data) {\n var dataLabel = data.labels[tooltipItem.index];\n var value = ': ' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index];\n\n if (helpers$1.isArray(dataLabel)) {\n // show value on first line of multiline label\n // need to clone because we are changing the value\n dataLabel = dataLabel.slice();\n dataLabel[0] += value;\n } else {\n dataLabel += value;\n }\n\n return dataLabel;\n }\n }\n }\n });\n\n var controller_doughnut = core_datasetController.extend({\n dataElementType: elements.Arc,\n linkScales: helpers$1.noop,\n\n /**\n * @private\n */\n _dataElementOptions: ['backgroundColor', 'borderColor', 'borderWidth', 'borderAlign', 'hoverBackgroundColor', 'hoverBorderColor', 'hoverBorderWidth'],\n // Get index of the dataset in relation to the visible datasets. This allows determining the inner and outer radius correctly\n getRingIndex: function getRingIndex(datasetIndex) {\n var ringIndex = 0;\n\n for (var j = 0; j < datasetIndex; ++j) {\n if (this.chart.isDatasetVisible(j)) {\n ++ringIndex;\n }\n }\n\n return ringIndex;\n },\n update: function update(reset) {\n var me = this;\n var chart = me.chart;\n var chartArea = chart.chartArea;\n var opts = chart.options;\n var ratioX = 1;\n var ratioY = 1;\n var offsetX = 0;\n var offsetY = 0;\n var meta = me.getMeta();\n var arcs = meta.data;\n var cutout = opts.cutoutPercentage / 100 || 0;\n var circumference = opts.circumference;\n\n var chartWeight = me._getRingWeight(me.index);\n\n var maxWidth, maxHeight, i, ilen; // If the chart's circumference isn't a full circle, calculate size as a ratio of the width/height of the arc\n\n if (circumference < DOUBLE_PI$1) {\n var startAngle = opts.rotation % DOUBLE_PI$1;\n startAngle += startAngle >= PI$1 ? -DOUBLE_PI$1 : startAngle < -PI$1 ? DOUBLE_PI$1 : 0;\n var endAngle = startAngle + circumference;\n var startX = Math.cos(startAngle);\n var startY = Math.sin(startAngle);\n var endX = Math.cos(endAngle);\n var endY = Math.sin(endAngle);\n var contains0 = startAngle <= 0 && endAngle >= 0 || endAngle >= DOUBLE_PI$1;\n var contains90 = startAngle <= HALF_PI$1 && endAngle >= HALF_PI$1 || endAngle >= DOUBLE_PI$1 + HALF_PI$1;\n var contains180 = startAngle === -PI$1 || endAngle >= PI$1;\n var contains270 = startAngle <= -HALF_PI$1 && endAngle >= -HALF_PI$1 || endAngle >= PI$1 + HALF_PI$1;\n var minX = contains180 ? -1 : Math.min(startX, startX * cutout, endX, endX * cutout);\n var minY = contains270 ? -1 : Math.min(startY, startY * cutout, endY, endY * cutout);\n var maxX = contains0 ? 1 : Math.max(startX, startX * cutout, endX, endX * cutout);\n var maxY = contains90 ? 1 : Math.max(startY, startY * cutout, endY, endY * cutout);\n ratioX = (maxX - minX) / 2;\n ratioY = (maxY - minY) / 2;\n offsetX = -(maxX + minX) / 2;\n offsetY = -(maxY + minY) / 2;\n }\n\n for (i = 0, ilen = arcs.length; i < ilen; ++i) {\n arcs[i]._options = me._resolveDataElementOptions(arcs[i], i);\n }\n\n chart.borderWidth = me.getMaxBorderWidth();\n maxWidth = (chartArea.right - chartArea.left - chart.borderWidth) / ratioX;\n maxHeight = (chartArea.bottom - chartArea.top - chart.borderWidth) / ratioY;\n chart.outerRadius = Math.max(Math.min(maxWidth, maxHeight) / 2, 0);\n chart.innerRadius = Math.max(chart.outerRadius * cutout, 0);\n chart.radiusLength = (chart.outerRadius - chart.innerRadius) / (me._getVisibleDatasetWeightTotal() || 1);\n chart.offsetX = offsetX * chart.outerRadius;\n chart.offsetY = offsetY * chart.outerRadius;\n meta.total = me.calculateTotal();\n me.outerRadius = chart.outerRadius - chart.radiusLength * me._getRingWeightOffset(me.index);\n me.innerRadius = Math.max(me.outerRadius - chart.radiusLength * chartWeight, 0);\n\n for (i = 0, ilen = arcs.length; i < ilen; ++i) {\n me.updateElement(arcs[i], i, reset);\n }\n },\n updateElement: function updateElement(arc, index, reset) {\n var me = this;\n var chart = me.chart;\n var chartArea = chart.chartArea;\n var opts = chart.options;\n var animationOpts = opts.animation;\n var centerX = (chartArea.left + chartArea.right) / 2;\n var centerY = (chartArea.top + chartArea.bottom) / 2;\n var startAngle = opts.rotation; // non reset case handled later\n\n var endAngle = opts.rotation; // non reset case handled later\n\n var dataset = me.getDataset();\n var circumference = reset && animationOpts.animateRotate ? 0 : arc.hidden ? 0 : me.calculateCircumference(dataset.data[index]) * (opts.circumference / DOUBLE_PI$1);\n var innerRadius = reset && animationOpts.animateScale ? 0 : me.innerRadius;\n var outerRadius = reset && animationOpts.animateScale ? 0 : me.outerRadius;\n var options = arc._options || {};\n helpers$1.extend(arc, {\n // Utility\n _datasetIndex: me.index,\n _index: index,\n // Desired view properties\n _model: {\n backgroundColor: options.backgroundColor,\n borderColor: options.borderColor,\n borderWidth: options.borderWidth,\n borderAlign: options.borderAlign,\n x: centerX + chart.offsetX,\n y: centerY + chart.offsetY,\n startAngle: startAngle,\n endAngle: endAngle,\n circumference: circumference,\n outerRadius: outerRadius,\n innerRadius: innerRadius,\n label: helpers$1.valueAtIndexOrDefault(dataset.label, index, chart.data.labels[index])\n }\n });\n var model = arc._model; // Set correct angles if not resetting\n\n if (!reset || !animationOpts.animateRotate) {\n if (index === 0) {\n model.startAngle = opts.rotation;\n } else {\n model.startAngle = me.getMeta().data[index - 1]._model.endAngle;\n }\n\n model.endAngle = model.startAngle + model.circumference;\n }\n\n arc.pivot();\n },\n calculateTotal: function calculateTotal() {\n var dataset = this.getDataset();\n var meta = this.getMeta();\n var total = 0;\n var value;\n helpers$1.each(meta.data, function (element, index) {\n value = dataset.data[index];\n\n if (!isNaN(value) && !element.hidden) {\n total += Math.abs(value);\n }\n });\n /* if (total === 0) {\n \ttotal = NaN;\n }*/\n\n return total;\n },\n calculateCircumference: function calculateCircumference(value) {\n var total = this.getMeta().total;\n\n if (total > 0 && !isNaN(value)) {\n return DOUBLE_PI$1 * (Math.abs(value) / total);\n }\n\n return 0;\n },\n // gets the max border or hover width to properly scale pie charts\n getMaxBorderWidth: function getMaxBorderWidth(arcs) {\n var me = this;\n var max = 0;\n var chart = me.chart;\n var i, ilen, meta, arc, controller, options, borderWidth, hoverWidth;\n\n if (!arcs) {\n // Find the outmost visible dataset\n for (i = 0, ilen = chart.data.datasets.length; i < ilen; ++i) {\n if (chart.isDatasetVisible(i)) {\n meta = chart.getDatasetMeta(i);\n arcs = meta.data;\n\n if (i !== me.index) {\n controller = meta.controller;\n }\n\n break;\n }\n }\n }\n\n if (!arcs) {\n return 0;\n }\n\n for (i = 0, ilen = arcs.length; i < ilen; ++i) {\n arc = arcs[i];\n\n if (controller) {\n controller._configure();\n\n options = controller._resolveDataElementOptions(arc, i);\n } else {\n options = arc._options;\n }\n\n if (options.borderAlign !== 'inner') {\n borderWidth = options.borderWidth;\n hoverWidth = options.hoverBorderWidth;\n max = borderWidth > max ? borderWidth : max;\n max = hoverWidth > max ? hoverWidth : max;\n }\n }\n\n return max;\n },\n\n /**\n * @protected\n */\n setHoverStyle: function setHoverStyle(arc) {\n var model = arc._model;\n var options = arc._options;\n var getHoverColor = helpers$1.getHoverColor;\n arc.$previousStyle = {\n backgroundColor: model.backgroundColor,\n borderColor: model.borderColor,\n borderWidth: model.borderWidth\n };\n model.backgroundColor = valueOrDefault$5(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\n model.borderColor = valueOrDefault$5(options.hoverBorderColor, getHoverColor(options.borderColor));\n model.borderWidth = valueOrDefault$5(options.hoverBorderWidth, options.borderWidth);\n },\n\n /**\n * Get radius length offset of the dataset in relation to the visible datasets weights. This allows determining the inner and outer radius correctly\n * @private\n */\n _getRingWeightOffset: function _getRingWeightOffset(datasetIndex) {\n var ringWeightOffset = 0;\n\n for (var i = 0; i < datasetIndex; ++i) {\n if (this.chart.isDatasetVisible(i)) {\n ringWeightOffset += this._getRingWeight(i);\n }\n }\n\n return ringWeightOffset;\n },\n\n /**\n * @private\n */\n _getRingWeight: function _getRingWeight(dataSetIndex) {\n return Math.max(valueOrDefault$5(this.chart.data.datasets[dataSetIndex].weight, 1), 0);\n },\n\n /**\n * Returns the sum of all visibile data set weights. This value can be 0.\n * @private\n */\n _getVisibleDatasetWeightTotal: function _getVisibleDatasetWeightTotal() {\n return this._getRingWeightOffset(this.chart.data.datasets.length);\n }\n });\n\n core_defaults._set('horizontalBar', {\n hover: {\n mode: 'index',\n axis: 'y'\n },\n scales: {\n xAxes: [{\n type: 'linear',\n position: 'bottom'\n }],\n yAxes: [{\n type: 'category',\n position: 'left',\n offset: true,\n gridLines: {\n offsetGridLines: true\n }\n }]\n },\n elements: {\n rectangle: {\n borderSkipped: 'left'\n }\n },\n tooltips: {\n mode: 'index',\n axis: 'y'\n }\n });\n\n core_defaults._set('global', {\n datasets: {\n horizontalBar: {\n categoryPercentage: 0.8,\n barPercentage: 0.9\n }\n }\n });\n\n var controller_horizontalBar = controller_bar.extend({\n /**\n * @private\n */\n _getValueScaleId: function _getValueScaleId() {\n return this.getMeta().xAxisID;\n },\n\n /**\n * @private\n */\n _getIndexScaleId: function _getIndexScaleId() {\n return this.getMeta().yAxisID;\n }\n });\n var valueOrDefault$6 = helpers$1.valueOrDefault;\n var resolve$2 = helpers$1.options.resolve;\n var isPointInArea = helpers$1.canvas._isPointInArea;\n\n core_defaults._set('line', {\n showLines: true,\n spanGaps: false,\n hover: {\n mode: 'label'\n },\n scales: {\n xAxes: [{\n type: 'category',\n id: 'x-axis-0'\n }],\n yAxes: [{\n type: 'linear',\n id: 'y-axis-0'\n }]\n }\n });\n\n function scaleClip(scale, halfBorderWidth) {\n var tickOpts = scale && scale.options.ticks || {};\n var reverse = tickOpts.reverse;\n var min = tickOpts.min === undefined ? halfBorderWidth : 0;\n var max = tickOpts.max === undefined ? halfBorderWidth : 0;\n return {\n start: reverse ? max : min,\n end: reverse ? min : max\n };\n }\n\n function defaultClip(xScale, yScale, borderWidth) {\n var halfBorderWidth = borderWidth / 2;\n var x = scaleClip(xScale, halfBorderWidth);\n var y = scaleClip(yScale, halfBorderWidth);\n return {\n top: y.end,\n right: x.end,\n bottom: y.start,\n left: x.start\n };\n }\n\n function toClip(value) {\n var t, r, b, l;\n\n if (helpers$1.isObject(value)) {\n t = value.top;\n r = value.right;\n b = value.bottom;\n l = value.left;\n } else {\n t = r = b = l = value;\n }\n\n return {\n top: t,\n right: r,\n bottom: b,\n left: l\n };\n }\n\n var controller_line = core_datasetController.extend({\n datasetElementType: elements.Line,\n dataElementType: elements.Point,\n\n /**\n * @private\n */\n _datasetElementOptions: ['backgroundColor', 'borderCapStyle', 'borderColor', 'borderDash', 'borderDashOffset', 'borderJoinStyle', 'borderWidth', 'cubicInterpolationMode', 'fill'],\n\n /**\n * @private\n */\n _dataElementOptions: {\n backgroundColor: 'pointBackgroundColor',\n borderColor: 'pointBorderColor',\n borderWidth: 'pointBorderWidth',\n hitRadius: 'pointHitRadius',\n hoverBackgroundColor: 'pointHoverBackgroundColor',\n hoverBorderColor: 'pointHoverBorderColor',\n hoverBorderWidth: 'pointHoverBorderWidth',\n hoverRadius: 'pointHoverRadius',\n pointStyle: 'pointStyle',\n radius: 'pointRadius',\n rotation: 'pointRotation'\n },\n update: function update(reset) {\n var me = this;\n var meta = me.getMeta();\n var line = meta.dataset;\n var points = meta.data || [];\n var options = me.chart.options;\n var config = me._config;\n var showLine = me._showLine = valueOrDefault$6(config.showLine, options.showLines);\n var i, ilen;\n me._xScale = me.getScaleForId(meta.xAxisID);\n me._yScale = me.getScaleForId(meta.yAxisID); // Update Line\n\n if (showLine) {\n // Compatibility: If the properties are defined with only the old name, use those values\n if (config.tension !== undefined && config.lineTension === undefined) {\n config.lineTension = config.tension;\n } // Utility\n\n\n line._scale = me._yScale;\n line._datasetIndex = me.index; // Data\n\n line._children = points; // Model\n\n line._model = me._resolveDatasetElementOptions(line);\n line.pivot();\n } // Update Points\n\n\n for (i = 0, ilen = points.length; i < ilen; ++i) {\n me.updateElement(points[i], i, reset);\n }\n\n if (showLine && line._model.tension !== 0) {\n me.updateBezierControlPoints();\n } // Now pivot the point for animation\n\n\n for (i = 0, ilen = points.length; i < ilen; ++i) {\n points[i].pivot();\n }\n },\n updateElement: function updateElement(point, index, reset) {\n var me = this;\n var meta = me.getMeta();\n var custom = point.custom || {};\n var dataset = me.getDataset();\n var datasetIndex = me.index;\n var value = dataset.data[index];\n var xScale = me._xScale;\n var yScale = me._yScale;\n var lineModel = meta.dataset._model;\n var x, y;\n\n var options = me._resolveDataElementOptions(point, index);\n\n x = xScale.getPixelForValue(_typeof(value) === 'object' ? value : NaN, index, datasetIndex);\n y = reset ? yScale.getBasePixel() : me.calculatePointY(value, index, datasetIndex); // Utility\n\n point._xScale = xScale;\n point._yScale = yScale;\n point._options = options;\n point._datasetIndex = datasetIndex;\n point._index = index; // Desired view properties\n\n point._model = {\n x: x,\n y: y,\n skip: custom.skip || isNaN(x) || isNaN(y),\n // Appearance\n radius: options.radius,\n pointStyle: options.pointStyle,\n rotation: options.rotation,\n backgroundColor: options.backgroundColor,\n borderColor: options.borderColor,\n borderWidth: options.borderWidth,\n tension: valueOrDefault$6(custom.tension, lineModel ? lineModel.tension : 0),\n steppedLine: lineModel ? lineModel.steppedLine : false,\n // Tooltip\n hitRadius: options.hitRadius\n };\n },\n\n /**\n * @private\n */\n _resolveDatasetElementOptions: function _resolveDatasetElementOptions(element) {\n var me = this;\n var config = me._config;\n var custom = element.custom || {};\n var options = me.chart.options;\n var lineOptions = options.elements.line;\n\n var values = core_datasetController.prototype._resolveDatasetElementOptions.apply(me, arguments); // The default behavior of lines is to break at null values, according\n // to https://github.com/chartjs/Chart.js/issues/2435#issuecomment-216718158\n // This option gives lines the ability to span gaps\n\n\n values.spanGaps = valueOrDefault$6(config.spanGaps, options.spanGaps);\n values.tension = valueOrDefault$6(config.lineTension, lineOptions.tension);\n values.steppedLine = resolve$2([custom.steppedLine, config.steppedLine, lineOptions.stepped]);\n values.clip = toClip(valueOrDefault$6(config.clip, defaultClip(me._xScale, me._yScale, values.borderWidth)));\n return values;\n },\n calculatePointY: function calculatePointY(value, index, datasetIndex) {\n var me = this;\n var chart = me.chart;\n var yScale = me._yScale;\n var sumPos = 0;\n var sumNeg = 0;\n var i, ds, dsMeta, stackedRightValue, rightValue, metasets, ilen;\n\n if (yScale.options.stacked) {\n rightValue = +yScale.getRightValue(value);\n metasets = chart._getSortedVisibleDatasetMetas();\n ilen = metasets.length;\n\n for (i = 0; i < ilen; ++i) {\n dsMeta = metasets[i];\n\n if (dsMeta.index === datasetIndex) {\n break;\n }\n\n ds = chart.data.datasets[dsMeta.index];\n\n if (dsMeta.type === 'line' && dsMeta.yAxisID === yScale.id) {\n stackedRightValue = +yScale.getRightValue(ds.data[index]);\n\n if (stackedRightValue < 0) {\n sumNeg += stackedRightValue || 0;\n } else {\n sumPos += stackedRightValue || 0;\n }\n }\n }\n\n if (rightValue < 0) {\n return yScale.getPixelForValue(sumNeg + rightValue);\n }\n\n return yScale.getPixelForValue(sumPos + rightValue);\n }\n\n return yScale.getPixelForValue(value);\n },\n updateBezierControlPoints: function updateBezierControlPoints() {\n var me = this;\n var chart = me.chart;\n var meta = me.getMeta();\n var lineModel = meta.dataset._model;\n var area = chart.chartArea;\n var points = meta.data || [];\n var i, ilen, model, controlPoints; // Only consider points that are drawn in case the spanGaps option is used\n\n if (lineModel.spanGaps) {\n points = points.filter(function (pt) {\n return !pt._model.skip;\n });\n }\n\n function capControlPoint(pt, min, max) {\n return Math.max(Math.min(pt, max), min);\n }\n\n if (lineModel.cubicInterpolationMode === 'monotone') {\n helpers$1.splineCurveMonotone(points);\n } else {\n for (i = 0, ilen = points.length; i < ilen; ++i) {\n model = points[i]._model;\n controlPoints = helpers$1.splineCurve(helpers$1.previousItem(points, i)._model, model, helpers$1.nextItem(points, i)._model, lineModel.tension);\n model.controlPointPreviousX = controlPoints.previous.x;\n model.controlPointPreviousY = controlPoints.previous.y;\n model.controlPointNextX = controlPoints.next.x;\n model.controlPointNextY = controlPoints.next.y;\n }\n }\n\n if (chart.options.elements.line.capBezierPoints) {\n for (i = 0, ilen = points.length; i < ilen; ++i) {\n model = points[i]._model;\n\n if (isPointInArea(model, area)) {\n if (i > 0 && isPointInArea(points[i - 1]._model, area)) {\n model.controlPointPreviousX = capControlPoint(model.controlPointPreviousX, area.left, area.right);\n model.controlPointPreviousY = capControlPoint(model.controlPointPreviousY, area.top, area.bottom);\n }\n\n if (i < points.length - 1 && isPointInArea(points[i + 1]._model, area)) {\n model.controlPointNextX = capControlPoint(model.controlPointNextX, area.left, area.right);\n model.controlPointNextY = capControlPoint(model.controlPointNextY, area.top, area.bottom);\n }\n }\n }\n }\n },\n draw: function draw() {\n var me = this;\n var chart = me.chart;\n var meta = me.getMeta();\n var points = meta.data || [];\n var area = chart.chartArea;\n var canvas = chart.canvas;\n var i = 0;\n var ilen = points.length;\n var clip;\n\n if (me._showLine) {\n clip = meta.dataset._model.clip;\n helpers$1.canvas.clipArea(chart.ctx, {\n left: clip.left === false ? 0 : area.left - clip.left,\n right: clip.right === false ? canvas.width : area.right + clip.right,\n top: clip.top === false ? 0 : area.top - clip.top,\n bottom: clip.bottom === false ? canvas.height : area.bottom + clip.bottom\n });\n meta.dataset.draw();\n helpers$1.canvas.unclipArea(chart.ctx);\n } // Draw the points\n\n\n for (; i < ilen; ++i) {\n points[i].draw(area);\n }\n },\n\n /**\n * @protected\n */\n setHoverStyle: function setHoverStyle(point) {\n var model = point._model;\n var options = point._options;\n var getHoverColor = helpers$1.getHoverColor;\n point.$previousStyle = {\n backgroundColor: model.backgroundColor,\n borderColor: model.borderColor,\n borderWidth: model.borderWidth,\n radius: model.radius\n };\n model.backgroundColor = valueOrDefault$6(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\n model.borderColor = valueOrDefault$6(options.hoverBorderColor, getHoverColor(options.borderColor));\n model.borderWidth = valueOrDefault$6(options.hoverBorderWidth, options.borderWidth);\n model.radius = valueOrDefault$6(options.hoverRadius, options.radius);\n }\n });\n var resolve$3 = helpers$1.options.resolve;\n\n core_defaults._set('polarArea', {\n scale: {\n type: 'radialLinear',\n angleLines: {\n display: false\n },\n gridLines: {\n circular: true\n },\n pointLabels: {\n display: false\n },\n ticks: {\n beginAtZero: true\n }\n },\n // Boolean - Whether to animate the rotation of the chart\n animation: {\n animateRotate: true,\n animateScale: true\n },\n startAngle: -0.5 * Math.PI,\n legendCallback: function legendCallback(chart) {\n var list = document.createElement('ul');\n var data = chart.data;\n var datasets = data.datasets;\n var labels = data.labels;\n var i, ilen, listItem, listItemSpan;\n list.setAttribute('class', chart.id + '-legend');\n\n if (datasets.length) {\n for (i = 0, ilen = datasets[0].data.length; i < ilen; ++i) {\n listItem = list.appendChild(document.createElement('li'));\n listItemSpan = listItem.appendChild(document.createElement('span'));\n listItemSpan.style.backgroundColor = datasets[0].backgroundColor[i];\n\n if (labels[i]) {\n listItem.appendChild(document.createTextNode(labels[i]));\n }\n }\n }\n\n return list.outerHTML;\n },\n legend: {\n labels: {\n generateLabels: function generateLabels(chart) {\n var data = chart.data;\n\n if (data.labels.length && data.datasets.length) {\n return data.labels.map(function (label, i) {\n var meta = chart.getDatasetMeta(0);\n var style = meta.controller.getStyle(i);\n return {\n text: label,\n fillStyle: style.backgroundColor,\n strokeStyle: style.borderColor,\n lineWidth: style.borderWidth,\n hidden: isNaN(data.datasets[0].data[i]) || meta.data[i].hidden,\n // Extra data used for toggling the correct item\n index: i\n };\n });\n }\n\n return [];\n }\n },\n onClick: function onClick(e, legendItem) {\n var index = legendItem.index;\n var chart = this.chart;\n var i, ilen, meta;\n\n for (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\n meta = chart.getDatasetMeta(i);\n meta.data[index].hidden = !meta.data[index].hidden;\n }\n\n chart.update();\n }\n },\n // Need to override these to give a nice default\n tooltips: {\n callbacks: {\n title: function title() {\n return '';\n },\n label: function label(item, data) {\n return data.labels[item.index] + ': ' + item.yLabel;\n }\n }\n }\n });\n\n var controller_polarArea = core_datasetController.extend({\n dataElementType: elements.Arc,\n linkScales: helpers$1.noop,\n\n /**\n * @private\n */\n _dataElementOptions: ['backgroundColor', 'borderColor', 'borderWidth', 'borderAlign', 'hoverBackgroundColor', 'hoverBorderColor', 'hoverBorderWidth'],\n\n /**\n * @private\n */\n _getIndexScaleId: function _getIndexScaleId() {\n return this.chart.scale.id;\n },\n\n /**\n * @private\n */\n _getValueScaleId: function _getValueScaleId() {\n return this.chart.scale.id;\n },\n update: function update(reset) {\n var me = this;\n var dataset = me.getDataset();\n var meta = me.getMeta();\n var start = me.chart.options.startAngle || 0;\n var starts = me._starts = [];\n var angles = me._angles = [];\n var arcs = meta.data;\n var i, ilen, angle;\n\n me._updateRadius();\n\n meta.count = me.countVisibleElements();\n\n for (i = 0, ilen = dataset.data.length; i < ilen; i++) {\n starts[i] = start;\n angle = me._computeAngle(i);\n angles[i] = angle;\n start += angle;\n }\n\n for (i = 0, ilen = arcs.length; i < ilen; ++i) {\n arcs[i]._options = me._resolveDataElementOptions(arcs[i], i);\n me.updateElement(arcs[i], i, reset);\n }\n },\n\n /**\n * @private\n */\n _updateRadius: function _updateRadius() {\n var me = this;\n var chart = me.chart;\n var chartArea = chart.chartArea;\n var opts = chart.options;\n var minSize = Math.min(chartArea.right - chartArea.left, chartArea.bottom - chartArea.top);\n chart.outerRadius = Math.max(minSize / 2, 0);\n chart.innerRadius = Math.max(opts.cutoutPercentage ? chart.outerRadius / 100 * opts.cutoutPercentage : 1, 0);\n chart.radiusLength = (chart.outerRadius - chart.innerRadius) / chart.getVisibleDatasetCount();\n me.outerRadius = chart.outerRadius - chart.radiusLength * me.index;\n me.innerRadius = me.outerRadius - chart.radiusLength;\n },\n updateElement: function updateElement(arc, index, reset) {\n var me = this;\n var chart = me.chart;\n var dataset = me.getDataset();\n var opts = chart.options;\n var animationOpts = opts.animation;\n var scale = chart.scale;\n var labels = chart.data.labels;\n var centerX = scale.xCenter;\n var centerY = scale.yCenter; // var negHalfPI = -0.5 * Math.PI;\n\n var datasetStartAngle = opts.startAngle;\n var distance = arc.hidden ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);\n var startAngle = me._starts[index];\n var endAngle = startAngle + (arc.hidden ? 0 : me._angles[index]);\n var resetRadius = animationOpts.animateScale ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);\n var options = arc._options || {};\n helpers$1.extend(arc, {\n // Utility\n _datasetIndex: me.index,\n _index: index,\n _scale: scale,\n // Desired view properties\n _model: {\n backgroundColor: options.backgroundColor,\n borderColor: options.borderColor,\n borderWidth: options.borderWidth,\n borderAlign: options.borderAlign,\n x: centerX,\n y: centerY,\n innerRadius: 0,\n outerRadius: reset ? resetRadius : distance,\n startAngle: reset && animationOpts.animateRotate ? datasetStartAngle : startAngle,\n endAngle: reset && animationOpts.animateRotate ? datasetStartAngle : endAngle,\n label: helpers$1.valueAtIndexOrDefault(labels, index, labels[index])\n }\n });\n arc.pivot();\n },\n countVisibleElements: function countVisibleElements() {\n var dataset = this.getDataset();\n var meta = this.getMeta();\n var count = 0;\n helpers$1.each(meta.data, function (element, index) {\n if (!isNaN(dataset.data[index]) && !element.hidden) {\n count++;\n }\n });\n return count;\n },\n\n /**\n * @protected\n */\n setHoverStyle: function setHoverStyle(arc) {\n var model = arc._model;\n var options = arc._options;\n var getHoverColor = helpers$1.getHoverColor;\n var valueOrDefault = helpers$1.valueOrDefault;\n arc.$previousStyle = {\n backgroundColor: model.backgroundColor,\n borderColor: model.borderColor,\n borderWidth: model.borderWidth\n };\n model.backgroundColor = valueOrDefault(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\n model.borderColor = valueOrDefault(options.hoverBorderColor, getHoverColor(options.borderColor));\n model.borderWidth = valueOrDefault(options.hoverBorderWidth, options.borderWidth);\n },\n\n /**\n * @private\n */\n _computeAngle: function _computeAngle(index) {\n var me = this;\n var count = this.getMeta().count;\n var dataset = me.getDataset();\n var meta = me.getMeta();\n\n if (isNaN(dataset.data[index]) || meta.data[index].hidden) {\n return 0;\n } // Scriptable options\n\n\n var context = {\n chart: me.chart,\n dataIndex: index,\n dataset: dataset,\n datasetIndex: me.index\n };\n return resolve$3([me.chart.options.elements.arc.angle, 2 * Math.PI / count], context, index);\n }\n });\n\n core_defaults._set('pie', helpers$1.clone(core_defaults.doughnut));\n\n core_defaults._set('pie', {\n cutoutPercentage: 0\n }); // Pie charts are Doughnut chart with different defaults\n\n\n var controller_pie = controller_doughnut;\n var valueOrDefault$7 = helpers$1.valueOrDefault;\n\n core_defaults._set('radar', {\n spanGaps: false,\n scale: {\n type: 'radialLinear'\n },\n elements: {\n line: {\n fill: 'start',\n tension: 0 // no bezier in radar\n\n }\n }\n });\n\n var controller_radar = core_datasetController.extend({\n datasetElementType: elements.Line,\n dataElementType: elements.Point,\n linkScales: helpers$1.noop,\n\n /**\n * @private\n */\n _datasetElementOptions: ['backgroundColor', 'borderWidth', 'borderColor', 'borderCapStyle', 'borderDash', 'borderDashOffset', 'borderJoinStyle', 'fill'],\n\n /**\n * @private\n */\n _dataElementOptions: {\n backgroundColor: 'pointBackgroundColor',\n borderColor: 'pointBorderColor',\n borderWidth: 'pointBorderWidth',\n hitRadius: 'pointHitRadius',\n hoverBackgroundColor: 'pointHoverBackgroundColor',\n hoverBorderColor: 'pointHoverBorderColor',\n hoverBorderWidth: 'pointHoverBorderWidth',\n hoverRadius: 'pointHoverRadius',\n pointStyle: 'pointStyle',\n radius: 'pointRadius',\n rotation: 'pointRotation'\n },\n\n /**\n * @private\n */\n _getIndexScaleId: function _getIndexScaleId() {\n return this.chart.scale.id;\n },\n\n /**\n * @private\n */\n _getValueScaleId: function _getValueScaleId() {\n return this.chart.scale.id;\n },\n update: function update(reset) {\n var me = this;\n var meta = me.getMeta();\n var line = meta.dataset;\n var points = meta.data || [];\n var scale = me.chart.scale;\n var config = me._config;\n var i, ilen; // Compatibility: If the properties are defined with only the old name, use those values\n\n if (config.tension !== undefined && config.lineTension === undefined) {\n config.lineTension = config.tension;\n } // Utility\n\n\n line._scale = scale;\n line._datasetIndex = me.index; // Data\n\n line._children = points;\n line._loop = true; // Model\n\n line._model = me._resolveDatasetElementOptions(line);\n line.pivot(); // Update Points\n\n for (i = 0, ilen = points.length; i < ilen; ++i) {\n me.updateElement(points[i], i, reset);\n } // Update bezier control points\n\n\n me.updateBezierControlPoints(); // Now pivot the point for animation\n\n for (i = 0, ilen = points.length; i < ilen; ++i) {\n points[i].pivot();\n }\n },\n updateElement: function updateElement(point, index, reset) {\n var me = this;\n var custom = point.custom || {};\n var dataset = me.getDataset();\n var scale = me.chart.scale;\n var pointPosition = scale.getPointPositionForValue(index, dataset.data[index]);\n\n var options = me._resolveDataElementOptions(point, index);\n\n var lineModel = me.getMeta().dataset._model;\n\n var x = reset ? scale.xCenter : pointPosition.x;\n var y = reset ? scale.yCenter : pointPosition.y; // Utility\n\n point._scale = scale;\n point._options = options;\n point._datasetIndex = me.index;\n point._index = index; // Desired view properties\n\n point._model = {\n x: x,\n // value not used in dataset scale, but we want a consistent API between scales\n y: y,\n skip: custom.skip || isNaN(x) || isNaN(y),\n // Appearance\n radius: options.radius,\n pointStyle: options.pointStyle,\n rotation: options.rotation,\n backgroundColor: options.backgroundColor,\n borderColor: options.borderColor,\n borderWidth: options.borderWidth,\n tension: valueOrDefault$7(custom.tension, lineModel ? lineModel.tension : 0),\n // Tooltip\n hitRadius: options.hitRadius\n };\n },\n\n /**\n * @private\n */\n _resolveDatasetElementOptions: function _resolveDatasetElementOptions() {\n var me = this;\n var config = me._config;\n var options = me.chart.options;\n\n var values = core_datasetController.prototype._resolveDatasetElementOptions.apply(me, arguments);\n\n values.spanGaps = valueOrDefault$7(config.spanGaps, options.spanGaps);\n values.tension = valueOrDefault$7(config.lineTension, options.elements.line.tension);\n return values;\n },\n updateBezierControlPoints: function updateBezierControlPoints() {\n var me = this;\n var meta = me.getMeta();\n var area = me.chart.chartArea;\n var points = meta.data || [];\n var i, ilen, model, controlPoints; // Only consider points that are drawn in case the spanGaps option is used\n\n if (meta.dataset._model.spanGaps) {\n points = points.filter(function (pt) {\n return !pt._model.skip;\n });\n }\n\n function capControlPoint(pt, min, max) {\n return Math.max(Math.min(pt, max), min);\n }\n\n for (i = 0, ilen = points.length; i < ilen; ++i) {\n model = points[i]._model;\n controlPoints = helpers$1.splineCurve(helpers$1.previousItem(points, i, true)._model, model, helpers$1.nextItem(points, i, true)._model, model.tension); // Prevent the bezier going outside of the bounds of the graph\n\n model.controlPointPreviousX = capControlPoint(controlPoints.previous.x, area.left, area.right);\n model.controlPointPreviousY = capControlPoint(controlPoints.previous.y, area.top, area.bottom);\n model.controlPointNextX = capControlPoint(controlPoints.next.x, area.left, area.right);\n model.controlPointNextY = capControlPoint(controlPoints.next.y, area.top, area.bottom);\n }\n },\n setHoverStyle: function setHoverStyle(point) {\n var model = point._model;\n var options = point._options;\n var getHoverColor = helpers$1.getHoverColor;\n point.$previousStyle = {\n backgroundColor: model.backgroundColor,\n borderColor: model.borderColor,\n borderWidth: model.borderWidth,\n radius: model.radius\n };\n model.backgroundColor = valueOrDefault$7(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\n model.borderColor = valueOrDefault$7(options.hoverBorderColor, getHoverColor(options.borderColor));\n model.borderWidth = valueOrDefault$7(options.hoverBorderWidth, options.borderWidth);\n model.radius = valueOrDefault$7(options.hoverRadius, options.radius);\n }\n });\n\n core_defaults._set('scatter', {\n hover: {\n mode: 'single'\n },\n scales: {\n xAxes: [{\n id: 'x-axis-1',\n // need an ID so datasets can reference the scale\n type: 'linear',\n // scatter should not use a category axis\n position: 'bottom'\n }],\n yAxes: [{\n id: 'y-axis-1',\n type: 'linear',\n position: 'left'\n }]\n },\n tooltips: {\n callbacks: {\n title: function title() {\n return ''; // doesn't make sense for scatter since data are formatted as a point\n },\n label: function label(item) {\n return '(' + item.xLabel + ', ' + item.yLabel + ')';\n }\n }\n }\n });\n\n core_defaults._set('global', {\n datasets: {\n scatter: {\n showLine: false\n }\n }\n }); // Scatter charts use line controllers\n\n\n var controller_scatter = controller_line; // NOTE export a map in which the key represents the controller type, not\n // the class, and so must be CamelCase in order to be correctly retrieved\n // by the controller in core.controller.js (`controllers[meta.type]`).\n\n var controllers = {\n bar: controller_bar,\n bubble: controller_bubble,\n doughnut: controller_doughnut,\n horizontalBar: controller_horizontalBar,\n line: controller_line,\n polarArea: controller_polarArea,\n pie: controller_pie,\n radar: controller_radar,\n scatter: controller_scatter\n };\n /**\n * Helper function to get relative position for an event\n * @param {Event|IEvent} event - The event to get the position for\n * @param {Chart} chart - The chart\n * @returns {object} the event position\n */\n\n function getRelativePosition(e, chart) {\n if (e.native) {\n return {\n x: e.x,\n y: e.y\n };\n }\n\n return helpers$1.getRelativePosition(e, chart);\n }\n /**\n * Helper function to traverse all of the visible elements in the chart\n * @param {Chart} chart - the chart\n * @param {function} handler - the callback to execute for each visible item\n */\n\n\n function parseVisibleItems(chart, handler) {\n var metasets = chart._getSortedVisibleDatasetMetas();\n\n var metadata, i, j, ilen, jlen, element;\n\n for (i = 0, ilen = metasets.length; i < ilen; ++i) {\n metadata = metasets[i].data;\n\n for (j = 0, jlen = metadata.length; j < jlen; ++j) {\n element = metadata[j];\n\n if (!element._view.skip) {\n handler(element);\n }\n }\n }\n }\n /**\n * Helper function to get the items that intersect the event position\n * @param {ChartElement[]} items - elements to filter\n * @param {object} position - the point to be nearest to\n * @return {ChartElement[]} the nearest items\n */\n\n\n function getIntersectItems(chart, position) {\n var elements = [];\n parseVisibleItems(chart, function (element) {\n if (element.inRange(position.x, position.y)) {\n elements.push(element);\n }\n });\n return elements;\n }\n /**\n * Helper function to get the items nearest to the event position considering all visible items in teh chart\n * @param {Chart} chart - the chart to look at elements from\n * @param {object} position - the point to be nearest to\n * @param {boolean} intersect - if true, only consider items that intersect the position\n * @param {function} distanceMetric - function to provide the distance between points\n * @return {ChartElement[]} the nearest items\n */\n\n\n function getNearestItems(chart, position, intersect, distanceMetric) {\n var minDistance = Number.POSITIVE_INFINITY;\n var nearestItems = [];\n parseVisibleItems(chart, function (element) {\n if (intersect && !element.inRange(position.x, position.y)) {\n return;\n }\n\n var center = element.getCenterPoint();\n var distance = distanceMetric(position, center);\n\n if (distance < minDistance) {\n nearestItems = [element];\n minDistance = distance;\n } else if (distance === minDistance) {\n // Can have multiple items at the same distance in which case we sort by size\n nearestItems.push(element);\n }\n });\n return nearestItems;\n }\n /**\n * Get a distance metric function for two points based on the\n * axis mode setting\n * @param {string} axis - the axis mode. x|y|xy\n */\n\n\n function getDistanceMetricForAxis(axis) {\n var useX = axis.indexOf('x') !== -1;\n var useY = axis.indexOf('y') !== -1;\n return function (pt1, pt2) {\n var deltaX = useX ? Math.abs(pt1.x - pt2.x) : 0;\n var deltaY = useY ? Math.abs(pt1.y - pt2.y) : 0;\n return Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2));\n };\n }\n\n function indexMode(chart, e, options) {\n var position = getRelativePosition(e, chart); // Default axis for index mode is 'x' to match old behaviour\n\n options.axis = options.axis || 'x';\n var distanceMetric = getDistanceMetricForAxis(options.axis);\n var items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric);\n var elements = [];\n\n if (!items.length) {\n return [];\n }\n\n chart._getSortedVisibleDatasetMetas().forEach(function (meta) {\n var element = meta.data[items[0]._index]; // don't count items that are skipped (null data)\n\n if (element && !element._view.skip) {\n elements.push(element);\n }\n });\n\n return elements;\n }\n /**\n * @interface IInteractionOptions\n */\n\n /**\n * If true, only consider items that intersect the point\n * @name IInterfaceOptions#boolean\n * @type Boolean\n */\n\n /**\n * Contains interaction related functions\n * @namespace Chart.Interaction\n */\n\n\n var core_interaction = {\n // Helper function for different modes\n modes: {\n single: function single(chart, e) {\n var position = getRelativePosition(e, chart);\n var elements = [];\n parseVisibleItems(chart, function (element) {\n if (element.inRange(position.x, position.y)) {\n elements.push(element);\n return elements;\n }\n });\n return elements.slice(0, 1);\n },\n\n /**\n * @function Chart.Interaction.modes.label\n * @deprecated since version 2.4.0\n * @todo remove at version 3\n * @private\n */\n label: indexMode,\n\n /**\n * Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something\n * If the options.intersect mode is false, we find the nearest item and return the items at the same index as that item\n * @function Chart.Interaction.modes.index\n * @since v2.4.0\n * @param {Chart} chart - the chart we are returning items from\n * @param {Event} e - the event we are find things at\n * @param {IInteractionOptions} options - options to use during interaction\n * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\n */\n index: indexMode,\n\n /**\n * Returns items in the same dataset. If the options.intersect parameter is true, we only return items if we intersect something\n * If the options.intersect is false, we find the nearest item and return the items in that dataset\n * @function Chart.Interaction.modes.dataset\n * @param {Chart} chart - the chart we are returning items from\n * @param {Event} e - the event we are find things at\n * @param {IInteractionOptions} options - options to use during interaction\n * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\n */\n dataset: function dataset(chart, e, options) {\n var position = getRelativePosition(e, chart);\n options.axis = options.axis || 'xy';\n var distanceMetric = getDistanceMetricForAxis(options.axis);\n var items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric);\n\n if (items.length > 0) {\n items = chart.getDatasetMeta(items[0]._datasetIndex).data;\n }\n\n return items;\n },\n\n /**\n * @function Chart.Interaction.modes.x-axis\n * @deprecated since version 2.4.0. Use index mode and intersect == true\n * @todo remove at version 3\n * @private\n */\n 'x-axis': function xAxis(chart, e) {\n return indexMode(chart, e, {\n intersect: false\n });\n },\n\n /**\n * Point mode returns all elements that hit test based on the event position\n * of the event\n * @function Chart.Interaction.modes.intersect\n * @param {Chart} chart - the chart we are returning items from\n * @param {Event} e - the event we are find things at\n * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\n */\n point: function point(chart, e) {\n var position = getRelativePosition(e, chart);\n return getIntersectItems(chart, position);\n },\n\n /**\n * nearest mode returns the element closest to the point\n * @function Chart.Interaction.modes.intersect\n * @param {Chart} chart - the chart we are returning items from\n * @param {Event} e - the event we are find things at\n * @param {IInteractionOptions} options - options to use\n * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\n */\n nearest: function nearest(chart, e, options) {\n var position = getRelativePosition(e, chart);\n options.axis = options.axis || 'xy';\n var distanceMetric = getDistanceMetricForAxis(options.axis);\n return getNearestItems(chart, position, options.intersect, distanceMetric);\n },\n\n /**\n * x mode returns the elements that hit-test at the current x coordinate\n * @function Chart.Interaction.modes.x\n * @param {Chart} chart - the chart we are returning items from\n * @param {Event} e - the event we are find things at\n * @param {IInteractionOptions} options - options to use\n * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\n */\n x: function x(chart, e, options) {\n var position = getRelativePosition(e, chart);\n var items = [];\n var intersectsItem = false;\n parseVisibleItems(chart, function (element) {\n if (element.inXRange(position.x)) {\n items.push(element);\n }\n\n if (element.inRange(position.x, position.y)) {\n intersectsItem = true;\n }\n }); // If we want to trigger on an intersect and we don't have any items\n // that intersect the position, return nothing\n\n if (options.intersect && !intersectsItem) {\n items = [];\n }\n\n return items;\n },\n\n /**\n * y mode returns the elements that hit-test at the current y coordinate\n * @function Chart.Interaction.modes.y\n * @param {Chart} chart - the chart we are returning items from\n * @param {Event} e - the event we are find things at\n * @param {IInteractionOptions} options - options to use\n * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\n */\n y: function y(chart, e, options) {\n var position = getRelativePosition(e, chart);\n var items = [];\n var intersectsItem = false;\n parseVisibleItems(chart, function (element) {\n if (element.inYRange(position.y)) {\n items.push(element);\n }\n\n if (element.inRange(position.x, position.y)) {\n intersectsItem = true;\n }\n }); // If we want to trigger on an intersect and we don't have any items\n // that intersect the position, return nothing\n\n if (options.intersect && !intersectsItem) {\n items = [];\n }\n\n return items;\n }\n }\n };\n var extend = helpers$1.extend;\n\n function filterByPosition(array, position) {\n return helpers$1.where(array, function (v) {\n return v.pos === position;\n });\n }\n\n function sortByWeight(array, reverse) {\n return array.sort(function (a, b) {\n var v0 = reverse ? b : a;\n var v1 = reverse ? a : b;\n return v0.weight === v1.weight ? v0.index - v1.index : v0.weight - v1.weight;\n });\n }\n\n function wrapBoxes(boxes) {\n var layoutBoxes = [];\n var i, ilen, box;\n\n for (i = 0, ilen = (boxes || []).length; i < ilen; ++i) {\n box = boxes[i];\n layoutBoxes.push({\n index: i,\n box: box,\n pos: box.position,\n horizontal: box.isHorizontal(),\n weight: box.weight\n });\n }\n\n return layoutBoxes;\n }\n\n function setLayoutDims(layouts, params) {\n var i, ilen, layout;\n\n for (i = 0, ilen = layouts.length; i < ilen; ++i) {\n layout = layouts[i]; // store width used instead of chartArea.w in fitBoxes\n\n layout.width = layout.horizontal ? layout.box.fullWidth && params.availableWidth : params.vBoxMaxWidth; // store height used instead of chartArea.h in fitBoxes\n\n layout.height = layout.horizontal && params.hBoxMaxHeight;\n }\n }\n\n function buildLayoutBoxes(boxes) {\n var layoutBoxes = wrapBoxes(boxes);\n var left = sortByWeight(filterByPosition(layoutBoxes, 'left'), true);\n var right = sortByWeight(filterByPosition(layoutBoxes, 'right'));\n var top = sortByWeight(filterByPosition(layoutBoxes, 'top'), true);\n var bottom = sortByWeight(filterByPosition(layoutBoxes, 'bottom'));\n return {\n leftAndTop: left.concat(top),\n rightAndBottom: right.concat(bottom),\n chartArea: filterByPosition(layoutBoxes, 'chartArea'),\n vertical: left.concat(right),\n horizontal: top.concat(bottom)\n };\n }\n\n function getCombinedMax(maxPadding, chartArea, a, b) {\n return Math.max(maxPadding[a], chartArea[a]) + Math.max(maxPadding[b], chartArea[b]);\n }\n\n function updateDims(chartArea, params, layout) {\n var box = layout.box;\n var maxPadding = chartArea.maxPadding;\n var newWidth, newHeight;\n\n if (layout.size) {\n // this layout was already counted for, lets first reduce old size\n chartArea[layout.pos] -= layout.size;\n }\n\n layout.size = layout.horizontal ? box.height : box.width;\n chartArea[layout.pos] += layout.size;\n\n if (box.getPadding) {\n var boxPadding = box.getPadding();\n maxPadding.top = Math.max(maxPadding.top, boxPadding.top);\n maxPadding.left = Math.max(maxPadding.left, boxPadding.left);\n maxPadding.bottom = Math.max(maxPadding.bottom, boxPadding.bottom);\n maxPadding.right = Math.max(maxPadding.right, boxPadding.right);\n }\n\n newWidth = params.outerWidth - getCombinedMax(maxPadding, chartArea, 'left', 'right');\n newHeight = params.outerHeight - getCombinedMax(maxPadding, chartArea, 'top', 'bottom');\n\n if (newWidth !== chartArea.w || newHeight !== chartArea.h) {\n chartArea.w = newWidth;\n chartArea.h = newHeight; // return true if chart area changed in layout's direction\n\n return layout.horizontal ? newWidth !== chartArea.w : newHeight !== chartArea.h;\n }\n }\n\n function handleMaxPadding(chartArea) {\n var maxPadding = chartArea.maxPadding;\n\n function updatePos(pos) {\n var change = Math.max(maxPadding[pos] - chartArea[pos], 0);\n chartArea[pos] += change;\n return change;\n }\n\n chartArea.y += updatePos('top');\n chartArea.x += updatePos('left');\n updatePos('right');\n updatePos('bottom');\n }\n\n function getMargins(horizontal, chartArea) {\n var maxPadding = chartArea.maxPadding;\n\n function marginForPositions(positions) {\n var margin = {\n left: 0,\n top: 0,\n right: 0,\n bottom: 0\n };\n positions.forEach(function (pos) {\n margin[pos] = Math.max(chartArea[pos], maxPadding[pos]);\n });\n return margin;\n }\n\n return horizontal ? marginForPositions(['left', 'right']) : marginForPositions(['top', 'bottom']);\n }\n\n function fitBoxes(boxes, chartArea, params) {\n var refitBoxes = [];\n var i, ilen, layout, box, refit, changed;\n\n for (i = 0, ilen = boxes.length; i < ilen; ++i) {\n layout = boxes[i];\n box = layout.box;\n box.update(layout.width || chartArea.w, layout.height || chartArea.h, getMargins(layout.horizontal, chartArea));\n\n if (updateDims(chartArea, params, layout)) {\n changed = true;\n\n if (refitBoxes.length) {\n // Dimensions changed and there were non full width boxes before this\n // -> we have to refit those\n refit = true;\n }\n }\n\n if (!box.fullWidth) {\n // fullWidth boxes don't need to be re-fitted in any case\n refitBoxes.push(layout);\n }\n }\n\n return refit ? fitBoxes(refitBoxes, chartArea, params) || changed : changed;\n }\n\n function placeBoxes(boxes, chartArea, params) {\n var userPadding = params.padding;\n var x = chartArea.x;\n var y = chartArea.y;\n var i, ilen, layout, box;\n\n for (i = 0, ilen = boxes.length; i < ilen; ++i) {\n layout = boxes[i];\n box = layout.box;\n\n if (layout.horizontal) {\n box.left = box.fullWidth ? userPadding.left : chartArea.left;\n box.right = box.fullWidth ? params.outerWidth - userPadding.right : chartArea.left + chartArea.w;\n box.top = y;\n box.bottom = y + box.height;\n box.width = box.right - box.left;\n y = box.bottom;\n } else {\n box.left = x;\n box.right = x + box.width;\n box.top = chartArea.top;\n box.bottom = chartArea.top + chartArea.h;\n box.height = box.bottom - box.top;\n x = box.right;\n }\n }\n\n chartArea.x = x;\n chartArea.y = y;\n }\n\n core_defaults._set('global', {\n layout: {\n padding: {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n }\n }\n });\n /**\n * @interface ILayoutItem\n * @prop {string} position - The position of the item in the chart layout. Possible values are\n * 'left', 'top', 'right', 'bottom', and 'chartArea'\n * @prop {number} weight - The weight used to sort the item. Higher weights are further away from the chart area\n * @prop {boolean} fullWidth - if true, and the item is horizontal, then push vertical boxes down\n * @prop {function} isHorizontal - returns true if the layout item is horizontal (ie. top or bottom)\n * @prop {function} update - Takes two parameters: width and height. Returns size of item\n * @prop {function} getPadding - Returns an object with padding on the edges\n * @prop {number} width - Width of item. Must be valid after update()\n * @prop {number} height - Height of item. Must be valid after update()\n * @prop {number} left - Left edge of the item. Set by layout system and cannot be used in update\n * @prop {number} top - Top edge of the item. Set by layout system and cannot be used in update\n * @prop {number} right - Right edge of the item. Set by layout system and cannot be used in update\n * @prop {number} bottom - Bottom edge of the item. Set by layout system and cannot be used in update\n */\n // The layout service is very self explanatory. It's responsible for the layout within a chart.\n // Scales, Legends and Plugins all rely on the layout service and can easily register to be placed anywhere they need\n // It is this service's responsibility of carrying out that layout.\n\n\n var core_layouts = {\n defaults: {},\n\n /**\n * Register a box to a chart.\n * A box is simply a reference to an object that requires layout. eg. Scales, Legend, Title.\n * @param {Chart} chart - the chart to use\n * @param {ILayoutItem} item - the item to add to be layed out\n */\n addBox: function addBox(chart, item) {\n if (!chart.boxes) {\n chart.boxes = [];\n } // initialize item with default values\n\n\n item.fullWidth = item.fullWidth || false;\n item.position = item.position || 'top';\n item.weight = item.weight || 0;\n\n item._layers = item._layers || function () {\n return [{\n z: 0,\n draw: function draw() {\n item.draw.apply(item, arguments);\n }\n }];\n };\n\n chart.boxes.push(item);\n },\n\n /**\n * Remove a layoutItem from a chart\n * @param {Chart} chart - the chart to remove the box from\n * @param {ILayoutItem} layoutItem - the item to remove from the layout\n */\n removeBox: function removeBox(chart, layoutItem) {\n var index = chart.boxes ? chart.boxes.indexOf(layoutItem) : -1;\n\n if (index !== -1) {\n chart.boxes.splice(index, 1);\n }\n },\n\n /**\n * Sets (or updates) options on the given `item`.\n * @param {Chart} chart - the chart in which the item lives (or will be added to)\n * @param {ILayoutItem} item - the item to configure with the given options\n * @param {object} options - the new item options.\n */\n configure: function configure(chart, item, options) {\n var props = ['fullWidth', 'position', 'weight'];\n var ilen = props.length;\n var i = 0;\n var prop;\n\n for (; i < ilen; ++i) {\n prop = props[i];\n\n if (options.hasOwnProperty(prop)) {\n item[prop] = options[prop];\n }\n }\n },\n\n /**\n * Fits boxes of the given chart into the given size by having each box measure itself\n * then running a fitting algorithm\n * @param {Chart} chart - the chart\n * @param {number} width - the width to fit into\n * @param {number} height - the height to fit into\n */\n update: function update(chart, width, height) {\n if (!chart) {\n return;\n }\n\n var layoutOptions = chart.options.layout || {};\n var padding = helpers$1.options.toPadding(layoutOptions.padding);\n var availableWidth = width - padding.width;\n var availableHeight = height - padding.height;\n var boxes = buildLayoutBoxes(chart.boxes);\n var verticalBoxes = boxes.vertical;\n var horizontalBoxes = boxes.horizontal; // Essentially we now have any number of boxes on each of the 4 sides.\n // Our canvas looks like the following.\n // The areas L1 and L2 are the left axes. R1 is the right axis, T1 is the top axis and\n // B1 is the bottom axis\n // There are also 4 quadrant-like locations (left to right instead of clockwise) reserved for chart overlays\n // These locations are single-box locations only, when trying to register a chartArea location that is already taken,\n // an error will be thrown.\n //\n // |----------------------------------------------------|\n // | T1 (Full Width) |\n // |----------------------------------------------------|\n // | | | T2 | |\n // | |----|-------------------------------------|----|\n // | | | C1 | | C2 | |\n // | | |----| |----| |\n // | | | | |\n // | L1 | L2 | ChartArea (C0) | R1 |\n // | | | | |\n // | | |----| |----| |\n // | | | C3 | | C4 | |\n // | |----|-------------------------------------|----|\n // | | | B1 | |\n // |----------------------------------------------------|\n // | B2 (Full Width) |\n // |----------------------------------------------------|\n //\n\n var params = Object.freeze({\n outerWidth: width,\n outerHeight: height,\n padding: padding,\n availableWidth: availableWidth,\n vBoxMaxWidth: availableWidth / 2 / verticalBoxes.length,\n hBoxMaxHeight: availableHeight / 2\n });\n var chartArea = extend({\n maxPadding: extend({}, padding),\n w: availableWidth,\n h: availableHeight,\n x: padding.left,\n y: padding.top\n }, padding);\n setLayoutDims(verticalBoxes.concat(horizontalBoxes), params); // First fit vertical boxes\n\n fitBoxes(verticalBoxes, chartArea, params); // Then fit horizontal boxes\n\n if (fitBoxes(horizontalBoxes, chartArea, params)) {\n // if the area changed, re-fit vertical boxes\n fitBoxes(verticalBoxes, chartArea, params);\n }\n\n handleMaxPadding(chartArea); // Finally place the boxes to correct coordinates\n\n placeBoxes(boxes.leftAndTop, chartArea, params); // Move to opposite side of chart\n\n chartArea.x += chartArea.w;\n chartArea.y += chartArea.h;\n placeBoxes(boxes.rightAndBottom, chartArea, params);\n chart.chartArea = {\n left: chartArea.left,\n top: chartArea.top,\n right: chartArea.left + chartArea.w,\n bottom: chartArea.top + chartArea.h\n }; // Finally update boxes in chartArea (radial scale for example)\n\n helpers$1.each(boxes.chartArea, function (layout) {\n var box = layout.box;\n extend(box, chart.chartArea);\n box.update(chartArea.w, chartArea.h);\n });\n }\n };\n /**\n * Platform fallback implementation (minimal).\n * @see https://github.com/chartjs/Chart.js/pull/4591#issuecomment-319575939\n */\n\n var platform_basic = {\n acquireContext: function acquireContext(item) {\n if (item && item.canvas) {\n // Support for any object associated to a canvas (including a context2d)\n item = item.canvas;\n }\n\n return item && item.getContext('2d') || null;\n }\n };\n var platform_dom = \"/*\\n * DOM element rendering detection\\n * https://davidwalsh.name/detect-node-insertion\\n */\\n@keyframes chartjs-render-animation {\\n\\tfrom { opacity: 0.99; }\\n\\tto { opacity: 1; }\\n}\\n\\n.chartjs-render-monitor {\\n\\tanimation: chartjs-render-animation 0.001s;\\n}\\n\\n/*\\n * DOM element resizing detection\\n * https://github.com/marcj/css-element-queries\\n */\\n.chartjs-size-monitor,\\n.chartjs-size-monitor-expand,\\n.chartjs-size-monitor-shrink {\\n\\tposition: absolute;\\n\\tdirection: ltr;\\n\\tleft: 0;\\n\\ttop: 0;\\n\\tright: 0;\\n\\tbottom: 0;\\n\\toverflow: hidden;\\n\\tpointer-events: none;\\n\\tvisibility: hidden;\\n\\tz-index: -1;\\n}\\n\\n.chartjs-size-monitor-expand > div {\\n\\tposition: absolute;\\n\\twidth: 1000000px;\\n\\theight: 1000000px;\\n\\tleft: 0;\\n\\ttop: 0;\\n}\\n\\n.chartjs-size-monitor-shrink > div {\\n\\tposition: absolute;\\n\\twidth: 200%;\\n\\theight: 200%;\\n\\tleft: 0;\\n\\ttop: 0;\\n}\\n\";\n var platform_dom$1 = /*#__PURE__*/Object.freeze({\n __proto__: null,\n 'default': platform_dom\n });\n var stylesheet = getCjsExportFromNamespace(platform_dom$1);\n var EXPANDO_KEY = '$chartjs';\n var CSS_PREFIX = 'chartjs-';\n var CSS_SIZE_MONITOR = CSS_PREFIX + 'size-monitor';\n var CSS_RENDER_MONITOR = CSS_PREFIX + 'render-monitor';\n var CSS_RENDER_ANIMATION = CSS_PREFIX + 'render-animation';\n var ANIMATION_START_EVENTS = ['animationstart', 'webkitAnimationStart'];\n /**\n * DOM event types -> Chart.js event types.\n * Note: only events with different types are mapped.\n * @see https://developer.mozilla.org/en-US/docs/Web/Events\n */\n\n var EVENT_TYPES = {\n touchstart: 'mousedown',\n touchmove: 'mousemove',\n touchend: 'mouseup',\n pointerenter: 'mouseenter',\n pointerdown: 'mousedown',\n pointermove: 'mousemove',\n pointerup: 'mouseup',\n pointerleave: 'mouseout',\n pointerout: 'mouseout'\n };\n /**\n * The \"used\" size is the final value of a dimension property after all calculations have\n * been performed. This method uses the computed style of `element` but returns undefined\n * if the computed style is not expressed in pixels. That can happen in some cases where\n * `element` has a size relative to its parent and this last one is not yet displayed,\n * for example because of `display: none` on a parent node.\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/used_value\n * @returns {number} Size in pixels or undefined if unknown.\n */\n\n function readUsedSize(element, property) {\n var value = helpers$1.getStyle(element, property);\n var matches = value && value.match(/^(\\d+)(\\.\\d+)?px$/);\n return matches ? Number(matches[1]) : undefined;\n }\n /**\n * Initializes the canvas style and render size without modifying the canvas display size,\n * since responsiveness is handled by the controller.resize() method. The config is used\n * to determine the aspect ratio to apply in case no explicit height has been specified.\n */\n\n\n function initCanvas(canvas, config) {\n var style = canvas.style; // NOTE(SB) canvas.getAttribute('width') !== canvas.width: in the first case it\n // returns null or '' if no explicit value has been set to the canvas attribute.\n\n var renderHeight = canvas.getAttribute('height');\n var renderWidth = canvas.getAttribute('width'); // Chart.js modifies some canvas values that we want to restore on destroy\n\n canvas[EXPANDO_KEY] = {\n initial: {\n height: renderHeight,\n width: renderWidth,\n style: {\n display: style.display,\n height: style.height,\n width: style.width\n }\n }\n }; // Force canvas to display as block to avoid extra space caused by inline\n // elements, which would interfere with the responsive resize process.\n // https://github.com/chartjs/Chart.js/issues/2538\n\n style.display = style.display || 'block';\n\n if (renderWidth === null || renderWidth === '') {\n var displayWidth = readUsedSize(canvas, 'width');\n\n if (displayWidth !== undefined) {\n canvas.width = displayWidth;\n }\n }\n\n if (renderHeight === null || renderHeight === '') {\n if (canvas.style.height === '') {\n // If no explicit render height and style height, let's apply the aspect ratio,\n // which one can be specified by the user but also by charts as default option\n // (i.e. options.aspectRatio). If not specified, use canvas aspect ratio of 2.\n canvas.height = canvas.width / (config.options.aspectRatio || 2);\n } else {\n var displayHeight = readUsedSize(canvas, 'height');\n\n if (displayWidth !== undefined) {\n canvas.height = displayHeight;\n }\n }\n }\n\n return canvas;\n }\n /**\n * Detects support for options object argument in addEventListener.\n * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support\n * @private\n */\n\n\n var supportsEventListenerOptions = function () {\n var supports = false;\n\n try {\n var options = Object.defineProperty({}, 'passive', {\n // eslint-disable-next-line getter-return\n get: function get() {\n supports = true;\n }\n });\n window.addEventListener('e', null, options);\n } catch (e) {// continue regardless of error\n }\n\n return supports;\n }(); // Default passive to true as expected by Chrome for 'touchstart' and 'touchend' events.\n // https://github.com/chartjs/Chart.js/issues/4287\n\n\n var eventListenerOptions = supportsEventListenerOptions ? {\n passive: true\n } : false;\n\n function addListener(node, type, listener) {\n node.addEventListener(type, listener, eventListenerOptions);\n }\n\n function removeListener(node, type, listener) {\n node.removeEventListener(type, listener, eventListenerOptions);\n }\n\n function createEvent(type, chart, x, y, nativeEvent) {\n return {\n type: type,\n chart: chart,\n native: nativeEvent || null,\n x: x !== undefined ? x : null,\n y: y !== undefined ? y : null\n };\n }\n\n function fromNativeEvent(event, chart) {\n var type = EVENT_TYPES[event.type] || event.type;\n var pos = helpers$1.getRelativePosition(event, chart);\n return createEvent(type, chart, pos.x, pos.y, event);\n }\n\n function throttled(fn, thisArg) {\n var ticking = false;\n var args = [];\n return function () {\n args = Array.prototype.slice.call(arguments);\n thisArg = thisArg || this;\n\n if (!ticking) {\n ticking = true;\n helpers$1.requestAnimFrame.call(window, function () {\n ticking = false;\n fn.apply(thisArg, args);\n });\n }\n };\n }\n\n function createDiv(cls) {\n var el = document.createElement('div');\n el.className = cls || '';\n return el;\n } // Implementation based on https://github.com/marcj/css-element-queries\n\n\n function createResizer(handler) {\n var maxSize = 1000000; // NOTE(SB) Don't use innerHTML because it could be considered unsafe.\n // https://github.com/chartjs/Chart.js/issues/5902\n\n var resizer = createDiv(CSS_SIZE_MONITOR);\n var expand = createDiv(CSS_SIZE_MONITOR + '-expand');\n var shrink = createDiv(CSS_SIZE_MONITOR + '-shrink');\n expand.appendChild(createDiv());\n shrink.appendChild(createDiv());\n resizer.appendChild(expand);\n resizer.appendChild(shrink);\n\n resizer._reset = function () {\n expand.scrollLeft = maxSize;\n expand.scrollTop = maxSize;\n shrink.scrollLeft = maxSize;\n shrink.scrollTop = maxSize;\n };\n\n var onScroll = function onScroll() {\n resizer._reset();\n\n handler();\n };\n\n addListener(expand, 'scroll', onScroll.bind(expand, 'expand'));\n addListener(shrink, 'scroll', onScroll.bind(shrink, 'shrink'));\n return resizer;\n } // https://davidwalsh.name/detect-node-insertion\n\n\n function watchForRender(node, handler) {\n var expando = node[EXPANDO_KEY] || (node[EXPANDO_KEY] = {});\n\n var proxy = expando.renderProxy = function (e) {\n if (e.animationName === CSS_RENDER_ANIMATION) {\n handler();\n }\n };\n\n helpers$1.each(ANIMATION_START_EVENTS, function (type) {\n addListener(node, type, proxy);\n }); // #4737: Chrome might skip the CSS animation when the CSS_RENDER_MONITOR class\n // is removed then added back immediately (same animation frame?). Accessing the\n // `offsetParent` property will force a reflow and re-evaluate the CSS animation.\n // https://gist.github.com/paulirish/5d52fb081b3570c81e3a#box-metrics\n // https://github.com/chartjs/Chart.js/issues/4737\n\n expando.reflow = !!node.offsetParent;\n node.classList.add(CSS_RENDER_MONITOR);\n }\n\n function unwatchForRender(node) {\n var expando = node[EXPANDO_KEY] || {};\n var proxy = expando.renderProxy;\n\n if (proxy) {\n helpers$1.each(ANIMATION_START_EVENTS, function (type) {\n removeListener(node, type, proxy);\n });\n delete expando.renderProxy;\n }\n\n node.classList.remove(CSS_RENDER_MONITOR);\n }\n\n function addResizeListener(node, listener, chart) {\n var expando = node[EXPANDO_KEY] || (node[EXPANDO_KEY] = {}); // Let's keep track of this added resizer and thus avoid DOM query when removing it.\n\n var resizer = expando.resizer = createResizer(throttled(function () {\n if (expando.resizer) {\n var container = chart.options.maintainAspectRatio && node.parentNode;\n var w = container ? container.clientWidth : 0;\n listener(createEvent('resize', chart));\n\n if (container && container.clientWidth < w && chart.canvas) {\n // If the container size shrank during chart resize, let's assume\n // scrollbar appeared. So we resize again with the scrollbar visible -\n // effectively making chart smaller and the scrollbar hidden again.\n // Because we are inside `throttled`, and currently `ticking`, scroll\n // events are ignored during this whole 2 resize process.\n // If we assumed wrong and something else happened, we are resizing\n // twice in a frame (potential performance issue)\n listener(createEvent('resize', chart));\n }\n }\n })); // The resizer needs to be attached to the node parent, so we first need to be\n // sure that `node` is attached to the DOM before injecting the resizer element.\n\n watchForRender(node, function () {\n if (expando.resizer) {\n var container = node.parentNode;\n\n if (container && container !== resizer.parentNode) {\n container.insertBefore(resizer, container.firstChild);\n } // The container size might have changed, let's reset the resizer state.\n\n\n resizer._reset();\n }\n });\n }\n\n function removeResizeListener(node) {\n var expando = node[EXPANDO_KEY] || {};\n var resizer = expando.resizer;\n delete expando.resizer;\n unwatchForRender(node);\n\n if (resizer && resizer.parentNode) {\n resizer.parentNode.removeChild(resizer);\n }\n }\n /**\n * Injects CSS styles inline if the styles are not already present.\n * @param {HTMLDocument|ShadowRoot} rootNode - the node to contain the <style>.\n * @param {string} css - the CSS to be injected.\n */\n\n\n function injectCSS(rootNode, css) {\n // https://stackoverflow.com/q/3922139\n var expando = rootNode[EXPANDO_KEY] || (rootNode[EXPANDO_KEY] = {});\n\n if (!expando.containsStyles) {\n expando.containsStyles = true;\n css = '/* Chart.js */\\n' + css;\n var style = document.createElement('style');\n style.setAttribute('type', 'text/css');\n style.appendChild(document.createTextNode(css));\n rootNode.appendChild(style);\n }\n }\n\n var platform_dom$2 = {\n /**\n * When `true`, prevents the automatic injection of the stylesheet required to\n * correctly detect when the chart is added to the DOM and then resized. This\n * switch has been added to allow external stylesheet (`dist/Chart(.min)?.js`)\n * to be manually imported to make this library compatible with any CSP.\n * See https://github.com/chartjs/Chart.js/issues/5208\n */\n disableCSSInjection: false,\n\n /**\n * This property holds whether this platform is enabled for the current environment.\n * Currently used by platform.js to select the proper implementation.\n * @private\n */\n _enabled: typeof window !== 'undefined' && typeof document !== 'undefined',\n\n /**\n * Initializes resources that depend on platform options.\n * @param {HTMLCanvasElement} canvas - The Canvas element.\n * @private\n */\n _ensureLoaded: function _ensureLoaded(canvas) {\n if (!this.disableCSSInjection) {\n // If the canvas is in a shadow DOM, then the styles must also be inserted\n // into the same shadow DOM.\n // https://github.com/chartjs/Chart.js/issues/5763\n var root = canvas.getRootNode ? canvas.getRootNode() : document;\n var targetNode = root.host ? root : document.head;\n injectCSS(targetNode, stylesheet);\n }\n },\n acquireContext: function acquireContext(item, config) {\n if (typeof item === 'string') {\n item = document.getElementById(item);\n } else if (item.length) {\n // Support for array based queries (such as jQuery)\n item = item[0];\n }\n\n if (item && item.canvas) {\n // Support for any object associated to a canvas (including a context2d)\n item = item.canvas;\n } // To prevent canvas fingerprinting, some add-ons undefine the getContext\n // method, for example: https://github.com/kkapsner/CanvasBlocker\n // https://github.com/chartjs/Chart.js/issues/2807\n\n\n var context = item && item.getContext && item.getContext('2d'); // `instanceof HTMLCanvasElement/CanvasRenderingContext2D` fails when the item is\n // inside an iframe or when running in a protected environment. We could guess the\n // types from their toString() value but let's keep things flexible and assume it's\n // a sufficient condition if the item has a context2D which has item as `canvas`.\n // https://github.com/chartjs/Chart.js/issues/3887\n // https://github.com/chartjs/Chart.js/issues/4102\n // https://github.com/chartjs/Chart.js/issues/4152\n\n if (context && context.canvas === item) {\n // Load platform resources on first chart creation, to make it possible to\n // import the library before setting platform options.\n this._ensureLoaded(item);\n\n initCanvas(item, config);\n return context;\n }\n\n return null;\n },\n releaseContext: function releaseContext(context) {\n var canvas = context.canvas;\n\n if (!canvas[EXPANDO_KEY]) {\n return;\n }\n\n var initial = canvas[EXPANDO_KEY].initial;\n ['height', 'width'].forEach(function (prop) {\n var value = initial[prop];\n\n if (helpers$1.isNullOrUndef(value)) {\n canvas.removeAttribute(prop);\n } else {\n canvas.setAttribute(prop, value);\n }\n });\n helpers$1.each(initial.style || {}, function (value, key) {\n canvas.style[key] = value;\n }); // The canvas render size might have been changed (and thus the state stack discarded),\n // we can't use save() and restore() to restore the initial state. So make sure that at\n // least the canvas context is reset to the default state by setting the canvas width.\n // https://www.w3.org/TR/2011/WD-html5-20110525/the-canvas-element.html\n // eslint-disable-next-line no-self-assign\n\n canvas.width = canvas.width;\n delete canvas[EXPANDO_KEY];\n },\n addEventListener: function addEventListener(chart, type, listener) {\n var canvas = chart.canvas;\n\n if (type === 'resize') {\n // Note: the resize event is not supported on all browsers.\n addResizeListener(canvas, listener, chart);\n return;\n }\n\n var expando = listener[EXPANDO_KEY] || (listener[EXPANDO_KEY] = {});\n var proxies = expando.proxies || (expando.proxies = {});\n\n var proxy = proxies[chart.id + '_' + type] = function (event) {\n listener(fromNativeEvent(event, chart));\n };\n\n addListener(canvas, type, proxy);\n },\n removeEventListener: function removeEventListener(chart, type, listener) {\n var canvas = chart.canvas;\n\n if (type === 'resize') {\n // Note: the resize event is not supported on all browsers.\n removeResizeListener(canvas);\n return;\n }\n\n var expando = listener[EXPANDO_KEY] || {};\n var proxies = expando.proxies || {};\n var proxy = proxies[chart.id + '_' + type];\n\n if (!proxy) {\n return;\n }\n\n removeListener(canvas, type, proxy);\n }\n }; // DEPRECATIONS\n\n /**\n * Provided for backward compatibility, use EventTarget.addEventListener instead.\n * EventTarget.addEventListener compatibility: Chrome, Opera 7, Safari, FF1.5+, IE9+\n * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener\n * @function Chart.helpers.addEvent\n * @deprecated since version 2.7.0\n * @todo remove at version 3\n * @private\n */\n\n helpers$1.addEvent = addListener;\n /**\n * Provided for backward compatibility, use EventTarget.removeEventListener instead.\n * EventTarget.removeEventListener compatibility: Chrome, Opera 7, Safari, FF1.5+, IE9+\n * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener\n * @function Chart.helpers.removeEvent\n * @deprecated since version 2.7.0\n * @todo remove at version 3\n * @private\n */\n\n helpers$1.removeEvent = removeListener; // @TODO Make possible to select another platform at build time.\n\n var implementation = platform_dom$2._enabled ? platform_dom$2 : platform_basic;\n /**\n * @namespace Chart.platform\n * @see https://chartjs.gitbooks.io/proposals/content/Platform.html\n * @since 2.4.0\n */\n\n var platform = helpers$1.extend({\n /**\n * @since 2.7.0\n */\n initialize: function initialize() {},\n\n /**\n * Called at chart construction time, returns a context2d instance implementing\n * the [W3C Canvas 2D Context API standard]{@link https://www.w3.org/TR/2dcontext/}.\n * @param {*} item - The native item from which to acquire context (platform specific)\n * @param {object} options - The chart options\n * @returns {CanvasRenderingContext2D} context2d instance\n */\n acquireContext: function acquireContext() {},\n\n /**\n * Called at chart destruction time, releases any resources associated to the context\n * previously returned by the acquireContext() method.\n * @param {CanvasRenderingContext2D} context - The context2d instance\n * @returns {boolean} true if the method succeeded, else false\n */\n releaseContext: function releaseContext() {},\n\n /**\n * Registers the specified listener on the given chart.\n * @param {Chart} chart - Chart from which to listen for event\n * @param {string} type - The ({@link IEvent}) type to listen for\n * @param {function} listener - Receives a notification (an object that implements\n * the {@link IEvent} interface) when an event of the specified type occurs.\n */\n addEventListener: function addEventListener() {},\n\n /**\n * Removes the specified listener previously registered with addEventListener.\n * @param {Chart} chart - Chart from which to remove the listener\n * @param {string} type - The ({@link IEvent}) type to remove\n * @param {function} listener - The listener function to remove from the event target.\n */\n removeEventListener: function removeEventListener() {}\n }, implementation);\n\n core_defaults._set('global', {\n plugins: {}\n });\n /**\n * The plugin service singleton\n * @namespace Chart.plugins\n * @since 2.1.0\n */\n\n\n var core_plugins = {\n /**\n * Globally registered plugins.\n * @private\n */\n _plugins: [],\n\n /**\n * This identifier is used to invalidate the descriptors cache attached to each chart\n * when a global plugin is registered or unregistered. In this case, the cache ID is\n * incremented and descriptors are regenerated during following API calls.\n * @private\n */\n _cacheId: 0,\n\n /**\n * Registers the given plugin(s) if not already registered.\n * @param {IPlugin[]|IPlugin} plugins plugin instance(s).\n */\n register: function register(plugins) {\n var p = this._plugins;\n [].concat(plugins).forEach(function (plugin) {\n if (p.indexOf(plugin) === -1) {\n p.push(plugin);\n }\n });\n this._cacheId++;\n },\n\n /**\n * Unregisters the given plugin(s) only if registered.\n * @param {IPlugin[]|IPlugin} plugins plugin instance(s).\n */\n unregister: function unregister(plugins) {\n var p = this._plugins;\n [].concat(plugins).forEach(function (plugin) {\n var idx = p.indexOf(plugin);\n\n if (idx !== -1) {\n p.splice(idx, 1);\n }\n });\n this._cacheId++;\n },\n\n /**\n * Remove all registered plugins.\n * @since 2.1.5\n */\n clear: function clear() {\n this._plugins = [];\n this._cacheId++;\n },\n\n /**\n * Returns the number of registered plugins?\n * @returns {number}\n * @since 2.1.5\n */\n count: function count() {\n return this._plugins.length;\n },\n\n /**\n * Returns all registered plugin instances.\n * @returns {IPlugin[]} array of plugin objects.\n * @since 2.1.5\n */\n getAll: function getAll() {\n return this._plugins;\n },\n\n /**\n * Calls enabled plugins for `chart` on the specified hook and with the given args.\n * This method immediately returns as soon as a plugin explicitly returns false. The\n * returned value can be used, for instance, to interrupt the current action.\n * @param {Chart} chart - The chart instance for which plugins should be called.\n * @param {string} hook - The name of the plugin method to call (e.g. 'beforeUpdate').\n * @param {Array} [args] - Extra arguments to apply to the hook call.\n * @returns {boolean} false if any of the plugins return false, else returns true.\n */\n notify: function notify(chart, hook, args) {\n var descriptors = this.descriptors(chart);\n var ilen = descriptors.length;\n var i, descriptor, plugin, params, method;\n\n for (i = 0; i < ilen; ++i) {\n descriptor = descriptors[i];\n plugin = descriptor.plugin;\n method = plugin[hook];\n\n if (typeof method === 'function') {\n params = [chart].concat(args || []);\n params.push(descriptor.options);\n\n if (method.apply(plugin, params) === false) {\n return false;\n }\n }\n }\n\n return true;\n },\n\n /**\n * Returns descriptors of enabled plugins for the given chart.\n * @returns {object[]} [{ plugin, options }]\n * @private\n */\n descriptors: function descriptors(chart) {\n var cache = chart.$plugins || (chart.$plugins = {});\n\n if (cache.id === this._cacheId) {\n return cache.descriptors;\n }\n\n var plugins = [];\n var descriptors = [];\n var config = chart && chart.config || {};\n var options = config.options && config.options.plugins || {};\n\n this._plugins.concat(config.plugins || []).forEach(function (plugin) {\n var idx = plugins.indexOf(plugin);\n\n if (idx !== -1) {\n return;\n }\n\n var id = plugin.id;\n var opts = options[id];\n\n if (opts === false) {\n return;\n }\n\n if (opts === true) {\n opts = helpers$1.clone(core_defaults.global.plugins[id]);\n }\n\n plugins.push(plugin);\n descriptors.push({\n plugin: plugin,\n options: opts || {}\n });\n });\n\n cache.descriptors = descriptors;\n cache.id = this._cacheId;\n return descriptors;\n },\n\n /**\n * Invalidates cache for the given chart: descriptors hold a reference on plugin option,\n * but in some cases, this reference can be changed by the user when updating options.\n * https://github.com/chartjs/Chart.js/issues/5111#issuecomment-355934167\n * @private\n */\n _invalidate: function _invalidate(chart) {\n delete chart.$plugins;\n }\n };\n var core_scaleService = {\n // Scale registration object. Extensions can register new scale types (such as log or DB scales) and then\n // use the new chart options to grab the correct scale\n constructors: {},\n // Use a registration function so that we can move to an ES6 map when we no longer need to support\n // old browsers\n // Scale config defaults\n defaults: {},\n registerScaleType: function registerScaleType(type, scaleConstructor, scaleDefaults) {\n this.constructors[type] = scaleConstructor;\n this.defaults[type] = helpers$1.clone(scaleDefaults);\n },\n getScaleConstructor: function getScaleConstructor(type) {\n return this.constructors.hasOwnProperty(type) ? this.constructors[type] : undefined;\n },\n getScaleDefaults: function getScaleDefaults(type) {\n // Return the scale defaults merged with the global settings so that we always use the latest ones\n return this.defaults.hasOwnProperty(type) ? helpers$1.merge({}, [core_defaults.scale, this.defaults[type]]) : {};\n },\n updateScaleDefaults: function updateScaleDefaults(type, additions) {\n var me = this;\n\n if (me.defaults.hasOwnProperty(type)) {\n me.defaults[type] = helpers$1.extend(me.defaults[type], additions);\n }\n },\n addScalesToLayout: function addScalesToLayout(chart) {\n // Adds each scale to the chart.boxes array to be sized accordingly\n helpers$1.each(chart.scales, function (scale) {\n // Set ILayoutItem parameters for backwards compatibility\n scale.fullWidth = scale.options.fullWidth;\n scale.position = scale.options.position;\n scale.weight = scale.options.weight;\n core_layouts.addBox(chart, scale);\n });\n }\n };\n var valueOrDefault$8 = helpers$1.valueOrDefault;\n var getRtlHelper = helpers$1.rtl.getRtlAdapter;\n\n core_defaults._set('global', {\n tooltips: {\n enabled: true,\n custom: null,\n mode: 'nearest',\n position: 'average',\n intersect: true,\n backgroundColor: 'rgba(0,0,0,0.8)',\n titleFontStyle: 'bold',\n titleSpacing: 2,\n titleMarginBottom: 6,\n titleFontColor: '#fff',\n titleAlign: 'left',\n bodySpacing: 2,\n bodyFontColor: '#fff',\n bodyAlign: 'left',\n footerFontStyle: 'bold',\n footerSpacing: 2,\n footerMarginTop: 6,\n footerFontColor: '#fff',\n footerAlign: 'left',\n yPadding: 6,\n xPadding: 6,\n caretPadding: 2,\n caretSize: 5,\n cornerRadius: 6,\n multiKeyBackground: '#fff',\n displayColors: true,\n borderColor: 'rgba(0,0,0,0)',\n borderWidth: 0,\n callbacks: {\n // Args are: (tooltipItems, data)\n beforeTitle: helpers$1.noop,\n title: function title(tooltipItems, data) {\n var title = '';\n var labels = data.labels;\n var labelCount = labels ? labels.length : 0;\n\n if (tooltipItems.length > 0) {\n var item = tooltipItems[0];\n\n if (item.label) {\n title = item.label;\n } else if (item.xLabel) {\n title = item.xLabel;\n } else if (labelCount > 0 && item.index < labelCount) {\n title = labels[item.index];\n }\n }\n\n return title;\n },\n afterTitle: helpers$1.noop,\n // Args are: (tooltipItems, data)\n beforeBody: helpers$1.noop,\n // Args are: (tooltipItem, data)\n beforeLabel: helpers$1.noop,\n label: function label(tooltipItem, data) {\n var label = data.datasets[tooltipItem.datasetIndex].label || '';\n\n if (label) {\n label += ': ';\n }\n\n if (!helpers$1.isNullOrUndef(tooltipItem.value)) {\n label += tooltipItem.value;\n } else {\n label += tooltipItem.yLabel;\n }\n\n return label;\n },\n labelColor: function labelColor(tooltipItem, chart) {\n var meta = chart.getDatasetMeta(tooltipItem.datasetIndex);\n var activeElement = meta.data[tooltipItem.index];\n var view = activeElement._view;\n return {\n borderColor: view.borderColor,\n backgroundColor: view.backgroundColor\n };\n },\n labelTextColor: function labelTextColor() {\n return this._options.bodyFontColor;\n },\n afterLabel: helpers$1.noop,\n // Args are: (tooltipItems, data)\n afterBody: helpers$1.noop,\n // Args are: (tooltipItems, data)\n beforeFooter: helpers$1.noop,\n footer: helpers$1.noop,\n afterFooter: helpers$1.noop\n }\n }\n });\n\n var positioners = {\n /**\n * Average mode places the tooltip at the average position of the elements shown\n * @function Chart.Tooltip.positioners.average\n * @param elements {ChartElement[]} the elements being displayed in the tooltip\n * @returns {object} tooltip position\n */\n average: function average(elements) {\n if (!elements.length) {\n return false;\n }\n\n var i, len;\n var x = 0;\n var y = 0;\n var count = 0;\n\n for (i = 0, len = elements.length; i < len; ++i) {\n var el = elements[i];\n\n if (el && el.hasValue()) {\n var pos = el.tooltipPosition();\n x += pos.x;\n y += pos.y;\n ++count;\n }\n }\n\n return {\n x: x / count,\n y: y / count\n };\n },\n\n /**\n * Gets the tooltip position nearest of the item nearest to the event position\n * @function Chart.Tooltip.positioners.nearest\n * @param elements {Chart.Element[]} the tooltip elements\n * @param eventPosition {object} the position of the event in canvas coordinates\n * @returns {object} the tooltip position\n */\n nearest: function nearest(elements, eventPosition) {\n var x = eventPosition.x;\n var y = eventPosition.y;\n var minDistance = Number.POSITIVE_INFINITY;\n var i, len, nearestElement;\n\n for (i = 0, len = elements.length; i < len; ++i) {\n var el = elements[i];\n\n if (el && el.hasValue()) {\n var center = el.getCenterPoint();\n var d = helpers$1.distanceBetweenPoints(eventPosition, center);\n\n if (d < minDistance) {\n minDistance = d;\n nearestElement = el;\n }\n }\n }\n\n if (nearestElement) {\n var tp = nearestElement.tooltipPosition();\n x = tp.x;\n y = tp.y;\n }\n\n return {\n x: x,\n y: y\n };\n }\n }; // Helper to push or concat based on if the 2nd parameter is an array or not\n\n function pushOrConcat(base, toPush) {\n if (toPush) {\n if (helpers$1.isArray(toPush)) {\n // base = base.concat(toPush);\n Array.prototype.push.apply(base, toPush);\n } else {\n base.push(toPush);\n }\n }\n\n return base;\n }\n /**\n * Returns array of strings split by newline\n * @param {string} value - The value to split by newline.\n * @returns {string[]} value if newline present - Returned from String split() method\n * @function\n */\n\n\n function splitNewlines(str) {\n if ((typeof str === 'string' || str instanceof String) && str.indexOf('\\n') > -1) {\n return str.split('\\n');\n }\n\n return str;\n }\n /**\n * Private helper to create a tooltip item model\n * @param element - the chart element (point, arc, bar) to create the tooltip item for\n * @return new tooltip item\n */\n\n\n function createTooltipItem(element) {\n var xScale = element._xScale;\n var yScale = element._yScale || element._scale; // handle radar || polarArea charts\n\n var index = element._index;\n var datasetIndex = element._datasetIndex;\n\n var controller = element._chart.getDatasetMeta(datasetIndex).controller;\n\n var indexScale = controller._getIndexScale();\n\n var valueScale = controller._getValueScale();\n\n return {\n xLabel: xScale ? xScale.getLabelForIndex(index, datasetIndex) : '',\n yLabel: yScale ? yScale.getLabelForIndex(index, datasetIndex) : '',\n label: indexScale ? '' + indexScale.getLabelForIndex(index, datasetIndex) : '',\n value: valueScale ? '' + valueScale.getLabelForIndex(index, datasetIndex) : '',\n index: index,\n datasetIndex: datasetIndex,\n x: element._model.x,\n y: element._model.y\n };\n }\n /**\n * Helper to get the reset model for the tooltip\n * @param tooltipOpts {object} the tooltip options\n */\n\n\n function getBaseModel(tooltipOpts) {\n var globalDefaults = core_defaults.global;\n return {\n // Positioning\n xPadding: tooltipOpts.xPadding,\n yPadding: tooltipOpts.yPadding,\n xAlign: tooltipOpts.xAlign,\n yAlign: tooltipOpts.yAlign,\n // Drawing direction and text direction\n rtl: tooltipOpts.rtl,\n textDirection: tooltipOpts.textDirection,\n // Body\n bodyFontColor: tooltipOpts.bodyFontColor,\n _bodyFontFamily: valueOrDefault$8(tooltipOpts.bodyFontFamily, globalDefaults.defaultFontFamily),\n _bodyFontStyle: valueOrDefault$8(tooltipOpts.bodyFontStyle, globalDefaults.defaultFontStyle),\n _bodyAlign: tooltipOpts.bodyAlign,\n bodyFontSize: valueOrDefault$8(tooltipOpts.bodyFontSize, globalDefaults.defaultFontSize),\n bodySpacing: tooltipOpts.bodySpacing,\n // Title\n titleFontColor: tooltipOpts.titleFontColor,\n _titleFontFamily: valueOrDefault$8(tooltipOpts.titleFontFamily, globalDefaults.defaultFontFamily),\n _titleFontStyle: valueOrDefault$8(tooltipOpts.titleFontStyle, globalDefaults.defaultFontStyle),\n titleFontSize: valueOrDefault$8(tooltipOpts.titleFontSize, globalDefaults.defaultFontSize),\n _titleAlign: tooltipOpts.titleAlign,\n titleSpacing: tooltipOpts.titleSpacing,\n titleMarginBottom: tooltipOpts.titleMarginBottom,\n // Footer\n footerFontColor: tooltipOpts.footerFontColor,\n _footerFontFamily: valueOrDefault$8(tooltipOpts.footerFontFamily, globalDefaults.defaultFontFamily),\n _footerFontStyle: valueOrDefault$8(tooltipOpts.footerFontStyle, globalDefaults.defaultFontStyle),\n footerFontSize: valueOrDefault$8(tooltipOpts.footerFontSize, globalDefaults.defaultFontSize),\n _footerAlign: tooltipOpts.footerAlign,\n footerSpacing: tooltipOpts.footerSpacing,\n footerMarginTop: tooltipOpts.footerMarginTop,\n // Appearance\n caretSize: tooltipOpts.caretSize,\n cornerRadius: tooltipOpts.cornerRadius,\n backgroundColor: tooltipOpts.backgroundColor,\n opacity: 0,\n legendColorBackground: tooltipOpts.multiKeyBackground,\n displayColors: tooltipOpts.displayColors,\n borderColor: tooltipOpts.borderColor,\n borderWidth: tooltipOpts.borderWidth\n };\n }\n /**\n * Get the size of the tooltip\n */\n\n\n function getTooltipSize(tooltip, model) {\n var ctx = tooltip._chart.ctx;\n var height = model.yPadding * 2; // Tooltip Padding\n\n var width = 0; // Count of all lines in the body\n\n var body = model.body;\n var combinedBodyLength = body.reduce(function (count, bodyItem) {\n return count + bodyItem.before.length + bodyItem.lines.length + bodyItem.after.length;\n }, 0);\n combinedBodyLength += model.beforeBody.length + model.afterBody.length;\n var titleLineCount = model.title.length;\n var footerLineCount = model.footer.length;\n var titleFontSize = model.titleFontSize;\n var bodyFontSize = model.bodyFontSize;\n var footerFontSize = model.footerFontSize;\n height += titleLineCount * titleFontSize; // Title Lines\n\n height += titleLineCount ? (titleLineCount - 1) * model.titleSpacing : 0; // Title Line Spacing\n\n height += titleLineCount ? model.titleMarginBottom : 0; // Title's bottom Margin\n\n height += combinedBodyLength * bodyFontSize; // Body Lines\n\n height += combinedBodyLength ? (combinedBodyLength - 1) * model.bodySpacing : 0; // Body Line Spacing\n\n height += footerLineCount ? model.footerMarginTop : 0; // Footer Margin\n\n height += footerLineCount * footerFontSize; // Footer Lines\n\n height += footerLineCount ? (footerLineCount - 1) * model.footerSpacing : 0; // Footer Line Spacing\n // Title width\n\n var widthPadding = 0;\n\n var maxLineWidth = function maxLineWidth(line) {\n width = Math.max(width, ctx.measureText(line).width + widthPadding);\n };\n\n ctx.font = helpers$1.fontString(titleFontSize, model._titleFontStyle, model._titleFontFamily);\n helpers$1.each(model.title, maxLineWidth); // Body width\n\n ctx.font = helpers$1.fontString(bodyFontSize, model._bodyFontStyle, model._bodyFontFamily);\n helpers$1.each(model.beforeBody.concat(model.afterBody), maxLineWidth); // Body lines may include some extra width due to the color box\n\n widthPadding = model.displayColors ? bodyFontSize + 2 : 0;\n helpers$1.each(body, function (bodyItem) {\n helpers$1.each(bodyItem.before, maxLineWidth);\n helpers$1.each(bodyItem.lines, maxLineWidth);\n helpers$1.each(bodyItem.after, maxLineWidth);\n }); // Reset back to 0\n\n widthPadding = 0; // Footer width\n\n ctx.font = helpers$1.fontString(footerFontSize, model._footerFontStyle, model._footerFontFamily);\n helpers$1.each(model.footer, maxLineWidth); // Add padding\n\n width += 2 * model.xPadding;\n return {\n width: width,\n height: height\n };\n }\n /**\n * Helper to get the alignment of a tooltip given the size\n */\n\n\n function determineAlignment(tooltip, size) {\n var model = tooltip._model;\n var chart = tooltip._chart;\n var chartArea = tooltip._chart.chartArea;\n var xAlign = 'center';\n var yAlign = 'center';\n\n if (model.y < size.height) {\n yAlign = 'top';\n } else if (model.y > chart.height - size.height) {\n yAlign = 'bottom';\n }\n\n var lf, rf; // functions to determine left, right alignment\n\n var olf, orf; // functions to determine if left/right alignment causes tooltip to go outside chart\n\n var yf; // function to get the y alignment if the tooltip goes outside of the left or right edges\n\n var midX = (chartArea.left + chartArea.right) / 2;\n var midY = (chartArea.top + chartArea.bottom) / 2;\n\n if (yAlign === 'center') {\n lf = function lf(x) {\n return x <= midX;\n };\n\n rf = function rf(x) {\n return x > midX;\n };\n } else {\n lf = function lf(x) {\n return x <= size.width / 2;\n };\n\n rf = function rf(x) {\n return x >= chart.width - size.width / 2;\n };\n }\n\n olf = function olf(x) {\n return x + size.width + model.caretSize + model.caretPadding > chart.width;\n };\n\n orf = function orf(x) {\n return x - size.width - model.caretSize - model.caretPadding < 0;\n };\n\n yf = function yf(y) {\n return y <= midY ? 'top' : 'bottom';\n };\n\n if (lf(model.x)) {\n xAlign = 'left'; // Is tooltip too wide and goes over the right side of the chart.?\n\n if (olf(model.x)) {\n xAlign = 'center';\n yAlign = yf(model.y);\n }\n } else if (rf(model.x)) {\n xAlign = 'right'; // Is tooltip too wide and goes outside left edge of canvas?\n\n if (orf(model.x)) {\n xAlign = 'center';\n yAlign = yf(model.y);\n }\n }\n\n var opts = tooltip._options;\n return {\n xAlign: opts.xAlign ? opts.xAlign : xAlign,\n yAlign: opts.yAlign ? opts.yAlign : yAlign\n };\n }\n /**\n * Helper to get the location a tooltip needs to be placed at given the initial position (via the vm) and the size and alignment\n */\n\n\n function getBackgroundPoint(vm, size, alignment, chart) {\n // Background Position\n var x = vm.x;\n var y = vm.y;\n var caretSize = vm.caretSize;\n var caretPadding = vm.caretPadding;\n var cornerRadius = vm.cornerRadius;\n var xAlign = alignment.xAlign;\n var yAlign = alignment.yAlign;\n var paddingAndSize = caretSize + caretPadding;\n var radiusAndPadding = cornerRadius + caretPadding;\n\n if (xAlign === 'right') {\n x -= size.width;\n } else if (xAlign === 'center') {\n x -= size.width / 2;\n\n if (x + size.width > chart.width) {\n x = chart.width - size.width;\n }\n\n if (x < 0) {\n x = 0;\n }\n }\n\n if (yAlign === 'top') {\n y += paddingAndSize;\n } else if (yAlign === 'bottom') {\n y -= size.height + paddingAndSize;\n } else {\n y -= size.height / 2;\n }\n\n if (yAlign === 'center') {\n if (xAlign === 'left') {\n x += paddingAndSize;\n } else if (xAlign === 'right') {\n x -= paddingAndSize;\n }\n } else if (xAlign === 'left') {\n x -= radiusAndPadding;\n } else if (xAlign === 'right') {\n x += radiusAndPadding;\n }\n\n return {\n x: x,\n y: y\n };\n }\n\n function getAlignedX(vm, align) {\n return align === 'center' ? vm.x + vm.width / 2 : align === 'right' ? vm.x + vm.width - vm.xPadding : vm.x + vm.xPadding;\n }\n /**\n * Helper to build before and after body lines\n */\n\n\n function getBeforeAfterBodyLines(callback) {\n return pushOrConcat([], splitNewlines(callback));\n }\n\n var exports$4 = core_element.extend({\n initialize: function initialize() {\n this._model = getBaseModel(this._options);\n this._lastActive = [];\n },\n // Get the title\n // Args are: (tooltipItem, data)\n getTitle: function getTitle() {\n var me = this;\n var opts = me._options;\n var callbacks = opts.callbacks;\n var beforeTitle = callbacks.beforeTitle.apply(me, arguments);\n var title = callbacks.title.apply(me, arguments);\n var afterTitle = callbacks.afterTitle.apply(me, arguments);\n var lines = [];\n lines = pushOrConcat(lines, splitNewlines(beforeTitle));\n lines = pushOrConcat(lines, splitNewlines(title));\n lines = pushOrConcat(lines, splitNewlines(afterTitle));\n return lines;\n },\n // Args are: (tooltipItem, data)\n getBeforeBody: function getBeforeBody() {\n return getBeforeAfterBodyLines(this._options.callbacks.beforeBody.apply(this, arguments));\n },\n // Args are: (tooltipItem, data)\n getBody: function getBody(tooltipItems, data) {\n var me = this;\n var callbacks = me._options.callbacks;\n var bodyItems = [];\n helpers$1.each(tooltipItems, function (tooltipItem) {\n var bodyItem = {\n before: [],\n lines: [],\n after: []\n };\n pushOrConcat(bodyItem.before, splitNewlines(callbacks.beforeLabel.call(me, tooltipItem, data)));\n pushOrConcat(bodyItem.lines, callbacks.label.call(me, tooltipItem, data));\n pushOrConcat(bodyItem.after, splitNewlines(callbacks.afterLabel.call(me, tooltipItem, data)));\n bodyItems.push(bodyItem);\n });\n return bodyItems;\n },\n // Args are: (tooltipItem, data)\n getAfterBody: function getAfterBody() {\n return getBeforeAfterBodyLines(this._options.callbacks.afterBody.apply(this, arguments));\n },\n // Get the footer and beforeFooter and afterFooter lines\n // Args are: (tooltipItem, data)\n getFooter: function getFooter() {\n var me = this;\n var callbacks = me._options.callbacks;\n var beforeFooter = callbacks.beforeFooter.apply(me, arguments);\n var footer = callbacks.footer.apply(me, arguments);\n var afterFooter = callbacks.afterFooter.apply(me, arguments);\n var lines = [];\n lines = pushOrConcat(lines, splitNewlines(beforeFooter));\n lines = pushOrConcat(lines, splitNewlines(footer));\n lines = pushOrConcat(lines, splitNewlines(afterFooter));\n return lines;\n },\n update: function update(changed) {\n var me = this;\n var opts = me._options; // Need to regenerate the model because its faster than using extend and it is necessary due to the optimization in Chart.Element.transition\n // that does _view = _model if ease === 1. This causes the 2nd tooltip update to set properties in both the view and model at the same time\n // which breaks any animations.\n\n var existingModel = me._model;\n var model = me._model = getBaseModel(opts);\n var active = me._active;\n var data = me._data; // In the case where active.length === 0 we need to keep these at existing values for good animations\n\n var alignment = {\n xAlign: existingModel.xAlign,\n yAlign: existingModel.yAlign\n };\n var backgroundPoint = {\n x: existingModel.x,\n y: existingModel.y\n };\n var tooltipSize = {\n width: existingModel.width,\n height: existingModel.height\n };\n var tooltipPosition = {\n x: existingModel.caretX,\n y: existingModel.caretY\n };\n var i, len;\n\n if (active.length) {\n model.opacity = 1;\n var labelColors = [];\n var labelTextColors = [];\n tooltipPosition = positioners[opts.position].call(me, active, me._eventPosition);\n var tooltipItems = [];\n\n for (i = 0, len = active.length; i < len; ++i) {\n tooltipItems.push(createTooltipItem(active[i]));\n } // If the user provided a filter function, use it to modify the tooltip items\n\n\n if (opts.filter) {\n tooltipItems = tooltipItems.filter(function (a) {\n return opts.filter(a, data);\n });\n } // If the user provided a sorting function, use it to modify the tooltip items\n\n\n if (opts.itemSort) {\n tooltipItems = tooltipItems.sort(function (a, b) {\n return opts.itemSort(a, b, data);\n });\n } // Determine colors for boxes\n\n\n helpers$1.each(tooltipItems, function (tooltipItem) {\n labelColors.push(opts.callbacks.labelColor.call(me, tooltipItem, me._chart));\n labelTextColors.push(opts.callbacks.labelTextColor.call(me, tooltipItem, me._chart));\n }); // Build the Text Lines\n\n model.title = me.getTitle(tooltipItems, data);\n model.beforeBody = me.getBeforeBody(tooltipItems, data);\n model.body = me.getBody(tooltipItems, data);\n model.afterBody = me.getAfterBody(tooltipItems, data);\n model.footer = me.getFooter(tooltipItems, data); // Initial positioning and colors\n\n model.x = tooltipPosition.x;\n model.y = tooltipPosition.y;\n model.caretPadding = opts.caretPadding;\n model.labelColors = labelColors;\n model.labelTextColors = labelTextColors; // data points\n\n model.dataPoints = tooltipItems; // We need to determine alignment of the tooltip\n\n tooltipSize = getTooltipSize(this, model);\n alignment = determineAlignment(this, tooltipSize); // Final Size and Position\n\n backgroundPoint = getBackgroundPoint(model, tooltipSize, alignment, me._chart);\n } else {\n model.opacity = 0;\n }\n\n model.xAlign = alignment.xAlign;\n model.yAlign = alignment.yAlign;\n model.x = backgroundPoint.x;\n model.y = backgroundPoint.y;\n model.width = tooltipSize.width;\n model.height = tooltipSize.height; // Point where the caret on the tooltip points to\n\n model.caretX = tooltipPosition.x;\n model.caretY = tooltipPosition.y;\n me._model = model;\n\n if (changed && opts.custom) {\n opts.custom.call(me, model);\n }\n\n return me;\n },\n drawCaret: function drawCaret(tooltipPoint, size) {\n var ctx = this._chart.ctx;\n var vm = this._view;\n var caretPosition = this.getCaretPosition(tooltipPoint, size, vm);\n ctx.lineTo(caretPosition.x1, caretPosition.y1);\n ctx.lineTo(caretPosition.x2, caretPosition.y2);\n ctx.lineTo(caretPosition.x3, caretPosition.y3);\n },\n getCaretPosition: function getCaretPosition(tooltipPoint, size, vm) {\n var x1, x2, x3, y1, y2, y3;\n var caretSize = vm.caretSize;\n var cornerRadius = vm.cornerRadius;\n var xAlign = vm.xAlign;\n var yAlign = vm.yAlign;\n var ptX = tooltipPoint.x;\n var ptY = tooltipPoint.y;\n var width = size.width;\n var height = size.height;\n\n if (yAlign === 'center') {\n y2 = ptY + height / 2;\n\n if (xAlign === 'left') {\n x1 = ptX;\n x2 = x1 - caretSize;\n x3 = x1;\n y1 = y2 + caretSize;\n y3 = y2 - caretSize;\n } else {\n x1 = ptX + width;\n x2 = x1 + caretSize;\n x3 = x1;\n y1 = y2 - caretSize;\n y3 = y2 + caretSize;\n }\n } else {\n if (xAlign === 'left') {\n x2 = ptX + cornerRadius + caretSize;\n x1 = x2 - caretSize;\n x3 = x2 + caretSize;\n } else if (xAlign === 'right') {\n x2 = ptX + width - cornerRadius - caretSize;\n x1 = x2 - caretSize;\n x3 = x2 + caretSize;\n } else {\n x2 = vm.caretX;\n x1 = x2 - caretSize;\n x3 = x2 + caretSize;\n }\n\n if (yAlign === 'top') {\n y1 = ptY;\n y2 = y1 - caretSize;\n y3 = y1;\n } else {\n y1 = ptY + height;\n y2 = y1 + caretSize;\n y3 = y1; // invert drawing order\n\n var tmp = x3;\n x3 = x1;\n x1 = tmp;\n }\n }\n\n return {\n x1: x1,\n x2: x2,\n x3: x3,\n y1: y1,\n y2: y2,\n y3: y3\n };\n },\n drawTitle: function drawTitle(pt, vm, ctx) {\n var title = vm.title;\n var length = title.length;\n var titleFontSize, titleSpacing, i;\n\n if (length) {\n var rtlHelper = getRtlHelper(vm.rtl, vm.x, vm.width);\n pt.x = getAlignedX(vm, vm._titleAlign);\n ctx.textAlign = rtlHelper.textAlign(vm._titleAlign);\n ctx.textBaseline = 'middle';\n titleFontSize = vm.titleFontSize;\n titleSpacing = vm.titleSpacing;\n ctx.fillStyle = vm.titleFontColor;\n ctx.font = helpers$1.fontString(titleFontSize, vm._titleFontStyle, vm._titleFontFamily);\n\n for (i = 0; i < length; ++i) {\n ctx.fillText(title[i], rtlHelper.x(pt.x), pt.y + titleFontSize / 2);\n pt.y += titleFontSize + titleSpacing; // Line Height and spacing\n\n if (i + 1 === length) {\n pt.y += vm.titleMarginBottom - titleSpacing; // If Last, add margin, remove spacing\n }\n }\n }\n },\n drawBody: function drawBody(pt, vm, ctx) {\n var bodyFontSize = vm.bodyFontSize;\n var bodySpacing = vm.bodySpacing;\n var bodyAlign = vm._bodyAlign;\n var body = vm.body;\n var drawColorBoxes = vm.displayColors;\n var xLinePadding = 0;\n var colorX = drawColorBoxes ? getAlignedX(vm, 'left') : 0;\n var rtlHelper = getRtlHelper(vm.rtl, vm.x, vm.width);\n\n var fillLineOfText = function fillLineOfText(line) {\n ctx.fillText(line, rtlHelper.x(pt.x + xLinePadding), pt.y + bodyFontSize / 2);\n pt.y += bodyFontSize + bodySpacing;\n };\n\n var bodyItem, textColor, labelColors, lines, i, j, ilen, jlen;\n var bodyAlignForCalculation = rtlHelper.textAlign(bodyAlign);\n ctx.textAlign = bodyAlign;\n ctx.textBaseline = 'middle';\n ctx.font = helpers$1.fontString(bodyFontSize, vm._bodyFontStyle, vm._bodyFontFamily);\n pt.x = getAlignedX(vm, bodyAlignForCalculation); // Before body lines\n\n ctx.fillStyle = vm.bodyFontColor;\n helpers$1.each(vm.beforeBody, fillLineOfText);\n xLinePadding = drawColorBoxes && bodyAlignForCalculation !== 'right' ? bodyAlign === 'center' ? bodyFontSize / 2 + 1 : bodyFontSize + 2 : 0; // Draw body lines now\n\n for (i = 0, ilen = body.length; i < ilen; ++i) {\n bodyItem = body[i];\n textColor = vm.labelTextColors[i];\n labelColors = vm.labelColors[i];\n ctx.fillStyle = textColor;\n helpers$1.each(bodyItem.before, fillLineOfText);\n lines = bodyItem.lines;\n\n for (j = 0, jlen = lines.length; j < jlen; ++j) {\n // Draw Legend-like boxes if needed\n if (drawColorBoxes) {\n var rtlColorX = rtlHelper.x(colorX); // Fill a white rect so that colours merge nicely if the opacity is < 1\n\n ctx.fillStyle = vm.legendColorBackground;\n ctx.fillRect(rtlHelper.leftForLtr(rtlColorX, bodyFontSize), pt.y, bodyFontSize, bodyFontSize); // Border\n\n ctx.lineWidth = 1;\n ctx.strokeStyle = labelColors.borderColor;\n ctx.strokeRect(rtlHelper.leftForLtr(rtlColorX, bodyFontSize), pt.y, bodyFontSize, bodyFontSize); // Inner square\n\n ctx.fillStyle = labelColors.backgroundColor;\n ctx.fillRect(rtlHelper.leftForLtr(rtlHelper.xPlus(rtlColorX, 1), bodyFontSize - 2), pt.y + 1, bodyFontSize - 2, bodyFontSize - 2);\n ctx.fillStyle = textColor;\n }\n\n fillLineOfText(lines[j]);\n }\n\n helpers$1.each(bodyItem.after, fillLineOfText);\n } // Reset back to 0 for after body\n\n\n xLinePadding = 0; // After body lines\n\n helpers$1.each(vm.afterBody, fillLineOfText);\n pt.y -= bodySpacing; // Remove last body spacing\n },\n drawFooter: function drawFooter(pt, vm, ctx) {\n var footer = vm.footer;\n var length = footer.length;\n var footerFontSize, i;\n\n if (length) {\n var rtlHelper = getRtlHelper(vm.rtl, vm.x, vm.width);\n pt.x = getAlignedX(vm, vm._footerAlign);\n pt.y += vm.footerMarginTop;\n ctx.textAlign = rtlHelper.textAlign(vm._footerAlign);\n ctx.textBaseline = 'middle';\n footerFontSize = vm.footerFontSize;\n ctx.fillStyle = vm.footerFontColor;\n ctx.font = helpers$1.fontString(footerFontSize, vm._footerFontStyle, vm._footerFontFamily);\n\n for (i = 0; i < length; ++i) {\n ctx.fillText(footer[i], rtlHelper.x(pt.x), pt.y + footerFontSize / 2);\n pt.y += footerFontSize + vm.footerSpacing;\n }\n }\n },\n drawBackground: function drawBackground(pt, vm, ctx, tooltipSize) {\n ctx.fillStyle = vm.backgroundColor;\n ctx.strokeStyle = vm.borderColor;\n ctx.lineWidth = vm.borderWidth;\n var xAlign = vm.xAlign;\n var yAlign = vm.yAlign;\n var x = pt.x;\n var y = pt.y;\n var width = tooltipSize.width;\n var height = tooltipSize.height;\n var radius = vm.cornerRadius;\n ctx.beginPath();\n ctx.moveTo(x + radius, y);\n\n if (yAlign === 'top') {\n this.drawCaret(pt, tooltipSize);\n }\n\n ctx.lineTo(x + width - radius, y);\n ctx.quadraticCurveTo(x + width, y, x + width, y + radius);\n\n if (yAlign === 'center' && xAlign === 'right') {\n this.drawCaret(pt, tooltipSize);\n }\n\n ctx.lineTo(x + width, y + height - radius);\n ctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);\n\n if (yAlign === 'bottom') {\n this.drawCaret(pt, tooltipSize);\n }\n\n ctx.lineTo(x + radius, y + height);\n ctx.quadraticCurveTo(x, y + height, x, y + height - radius);\n\n if (yAlign === 'center' && xAlign === 'left') {\n this.drawCaret(pt, tooltipSize);\n }\n\n ctx.lineTo(x, y + radius);\n ctx.quadraticCurveTo(x, y, x + radius, y);\n ctx.closePath();\n ctx.fill();\n\n if (vm.borderWidth > 0) {\n ctx.stroke();\n }\n },\n draw: function draw() {\n var ctx = this._chart.ctx;\n var vm = this._view;\n\n if (vm.opacity === 0) {\n return;\n }\n\n var tooltipSize = {\n width: vm.width,\n height: vm.height\n };\n var pt = {\n x: vm.x,\n y: vm.y\n }; // IE11/Edge does not like very small opacities, so snap to 0\n\n var opacity = Math.abs(vm.opacity < 1e-3) ? 0 : vm.opacity; // Truthy/falsey value for empty tooltip\n\n var hasTooltipContent = vm.title.length || vm.beforeBody.length || vm.body.length || vm.afterBody.length || vm.footer.length;\n\n if (this._options.enabled && hasTooltipContent) {\n ctx.save();\n ctx.globalAlpha = opacity; // Draw Background\n\n this.drawBackground(pt, vm, ctx, tooltipSize); // Draw Title, Body, and Footer\n\n pt.y += vm.yPadding;\n helpers$1.rtl.overrideTextDirection(ctx, vm.textDirection); // Titles\n\n this.drawTitle(pt, vm, ctx); // Body\n\n this.drawBody(pt, vm, ctx); // Footer\n\n this.drawFooter(pt, vm, ctx);\n helpers$1.rtl.restoreTextDirection(ctx, vm.textDirection);\n ctx.restore();\n }\n },\n\n /**\n * Handle an event\n * @private\n * @param {IEvent} event - The event to handle\n * @returns {boolean} true if the tooltip changed\n */\n handleEvent: function handleEvent(e) {\n var me = this;\n var options = me._options;\n var changed = false;\n me._lastActive = me._lastActive || []; // Find Active Elements for tooltips\n\n if (e.type === 'mouseout') {\n me._active = [];\n } else {\n me._active = me._chart.getElementsAtEventForMode(e, options.mode, options);\n\n if (options.reverse) {\n me._active.reverse();\n }\n } // Remember Last Actives\n\n\n changed = !helpers$1.arrayEquals(me._active, me._lastActive); // Only handle target event on tooltip change\n\n if (changed) {\n me._lastActive = me._active;\n\n if (options.enabled || options.custom) {\n me._eventPosition = {\n x: e.x,\n y: e.y\n };\n me.update(true);\n me.pivot();\n }\n }\n\n return changed;\n }\n });\n /**\n * @namespace Chart.Tooltip.positioners\n */\n\n var positioners_1 = positioners;\n var core_tooltip = exports$4;\n core_tooltip.positioners = positioners_1;\n var valueOrDefault$9 = helpers$1.valueOrDefault;\n\n core_defaults._set('global', {\n elements: {},\n events: ['mousemove', 'mouseout', 'click', 'touchstart', 'touchmove'],\n hover: {\n onHover: null,\n mode: 'nearest',\n intersect: true,\n animationDuration: 400\n },\n onClick: null,\n maintainAspectRatio: true,\n responsive: true,\n responsiveAnimationDuration: 0\n });\n /**\n * Recursively merge the given config objects representing the `scales` option\n * by incorporating scale defaults in `xAxes` and `yAxes` array items, then\n * returns a deep copy of the result, thus doesn't alter inputs.\n */\n\n\n function\n /* config objects ... */\n mergeScaleConfig() {\n return helpers$1.merge({}, [].slice.call(arguments), {\n merger: function merger(key, target, source, options) {\n if (key === 'xAxes' || key === 'yAxes') {\n var slen = source[key].length;\n var i, type, scale;\n\n if (!target[key]) {\n target[key] = [];\n }\n\n for (i = 0; i < slen; ++i) {\n scale = source[key][i];\n type = valueOrDefault$9(scale.type, key === 'xAxes' ? 'category' : 'linear');\n\n if (i >= target[key].length) {\n target[key].push({});\n }\n\n if (!target[key][i].type || scale.type && scale.type !== target[key][i].type) {\n // new/untyped scale or type changed: let's apply the new defaults\n // then merge source scale to correctly overwrite the defaults.\n helpers$1.merge(target[key][i], [core_scaleService.getScaleDefaults(type), scale]);\n } else {\n // scales type are the same\n helpers$1.merge(target[key][i], scale);\n }\n }\n } else {\n helpers$1._merger(key, target, source, options);\n }\n }\n });\n }\n /**\n * Recursively merge the given config objects as the root options by handling\n * default scale options for the `scales` and `scale` properties, then returns\n * a deep copy of the result, thus doesn't alter inputs.\n */\n\n\n function\n /* config objects ... */\n mergeConfig() {\n return helpers$1.merge({}, [].slice.call(arguments), {\n merger: function merger(key, target, source, options) {\n var tval = target[key] || {};\n var sval = source[key];\n\n if (key === 'scales') {\n // scale config merging is complex. Add our own function here for that\n target[key] = mergeScaleConfig(tval, sval);\n } else if (key === 'scale') {\n // used in polar area & radar charts since there is only one scale\n target[key] = helpers$1.merge(tval, [core_scaleService.getScaleDefaults(sval.type), sval]);\n } else {\n helpers$1._merger(key, target, source, options);\n }\n }\n });\n }\n\n function initConfig(config) {\n config = config || {}; // Do NOT use mergeConfig for the data object because this method merges arrays\n // and so would change references to labels and datasets, preventing data updates.\n\n var data = config.data = config.data || {};\n data.datasets = data.datasets || [];\n data.labels = data.labels || [];\n config.options = mergeConfig(core_defaults.global, core_defaults[config.type], config.options || {});\n return config;\n }\n\n function updateConfig(chart) {\n var newOptions = chart.options;\n helpers$1.each(chart.scales, function (scale) {\n core_layouts.removeBox(chart, scale);\n });\n newOptions = mergeConfig(core_defaults.global, core_defaults[chart.config.type], newOptions);\n chart.options = chart.config.options = newOptions;\n chart.ensureScalesHaveIDs();\n chart.buildOrUpdateScales(); // Tooltip\n\n chart.tooltip._options = newOptions.tooltips;\n chart.tooltip.initialize();\n }\n\n function nextAvailableScaleId(axesOpts, prefix, index) {\n var id;\n\n var hasId = function hasId(obj) {\n return obj.id === id;\n };\n\n do {\n id = prefix + index++;\n } while (helpers$1.findIndex(axesOpts, hasId) >= 0);\n\n return id;\n }\n\n function positionIsHorizontal(position) {\n return position === 'top' || position === 'bottom';\n }\n\n function compare2Level(l1, l2) {\n return function (a, b) {\n return a[l1] === b[l1] ? a[l2] - b[l2] : a[l1] - b[l1];\n };\n }\n\n var Chart = function Chart(item, config) {\n this.construct(item, config);\n return this;\n };\n\n helpers$1.extend(Chart.prototype,\n /** @lends Chart */\n {\n /**\n * @private\n */\n construct: function construct(item, config) {\n var me = this;\n config = initConfig(config);\n var context = platform.acquireContext(item, config);\n var canvas = context && context.canvas;\n var height = canvas && canvas.height;\n var width = canvas && canvas.width;\n me.id = helpers$1.uid();\n me.ctx = context;\n me.canvas = canvas;\n me.config = config;\n me.width = width;\n me.height = height;\n me.aspectRatio = height ? width / height : null;\n me.options = config.options;\n me._bufferedRender = false;\n me._layers = [];\n /**\n * Provided for backward compatibility, Chart and Chart.Controller have been merged,\n * the \"instance\" still need to be defined since it might be called from plugins.\n * @prop Chart#chart\n * @deprecated since version 2.6.0\n * @todo remove at version 3\n * @private\n */\n\n me.chart = me;\n me.controller = me; // chart.chart.controller #inception\n // Add the chart instance to the global namespace\n\n Chart.instances[me.id] = me; // Define alias to the config data: `chart.data === chart.config.data`\n\n Object.defineProperty(me, 'data', {\n get: function get() {\n return me.config.data;\n },\n set: function set(value) {\n me.config.data = value;\n }\n });\n\n if (!context || !canvas) {\n // The given item is not a compatible context2d element, let's return before finalizing\n // the chart initialization but after setting basic chart / controller properties that\n // can help to figure out that the chart is not valid (e.g chart.canvas !== null);\n // https://github.com/chartjs/Chart.js/issues/2807\n console.error(\"Failed to create chart: can't acquire context from the given item\");\n return;\n }\n\n me.initialize();\n me.update();\n },\n\n /**\n * @private\n */\n initialize: function initialize() {\n var me = this; // Before init plugin notification\n\n core_plugins.notify(me, 'beforeInit');\n helpers$1.retinaScale(me, me.options.devicePixelRatio);\n me.bindEvents();\n\n if (me.options.responsive) {\n // Initial resize before chart draws (must be silent to preserve initial animations).\n me.resize(true);\n }\n\n me.initToolTip(); // After init plugin notification\n\n core_plugins.notify(me, 'afterInit');\n return me;\n },\n clear: function clear() {\n helpers$1.canvas.clear(this);\n return this;\n },\n stop: function stop() {\n // Stops any current animation loop occurring\n core_animations.cancelAnimation(this);\n return this;\n },\n resize: function resize(silent) {\n var me = this;\n var options = me.options;\n var canvas = me.canvas;\n var aspectRatio = options.maintainAspectRatio && me.aspectRatio || null; // the canvas render width and height will be casted to integers so make sure that\n // the canvas display style uses the same integer values to avoid blurring effect.\n // Set to 0 instead of canvas.size because the size defaults to 300x150 if the element is collapsed\n\n var newWidth = Math.max(0, Math.floor(helpers$1.getMaximumWidth(canvas)));\n var newHeight = Math.max(0, Math.floor(aspectRatio ? newWidth / aspectRatio : helpers$1.getMaximumHeight(canvas)));\n\n if (me.width === newWidth && me.height === newHeight) {\n return;\n }\n\n canvas.width = me.width = newWidth;\n canvas.height = me.height = newHeight;\n canvas.style.width = newWidth + 'px';\n canvas.style.height = newHeight + 'px';\n helpers$1.retinaScale(me, options.devicePixelRatio);\n\n if (!silent) {\n // Notify any plugins about the resize\n var newSize = {\n width: newWidth,\n height: newHeight\n };\n core_plugins.notify(me, 'resize', [newSize]); // Notify of resize\n\n if (options.onResize) {\n options.onResize(me, newSize);\n }\n\n me.stop();\n me.update({\n duration: options.responsiveAnimationDuration\n });\n }\n },\n ensureScalesHaveIDs: function ensureScalesHaveIDs() {\n var options = this.options;\n var scalesOptions = options.scales || {};\n var scaleOptions = options.scale;\n helpers$1.each(scalesOptions.xAxes, function (xAxisOptions, index) {\n if (!xAxisOptions.id) {\n xAxisOptions.id = nextAvailableScaleId(scalesOptions.xAxes, 'x-axis-', index);\n }\n });\n helpers$1.each(scalesOptions.yAxes, function (yAxisOptions, index) {\n if (!yAxisOptions.id) {\n yAxisOptions.id = nextAvailableScaleId(scalesOptions.yAxes, 'y-axis-', index);\n }\n });\n\n if (scaleOptions) {\n scaleOptions.id = scaleOptions.id || 'scale';\n }\n },\n\n /**\n * Builds a map of scale ID to scale object for future lookup.\n */\n buildOrUpdateScales: function buildOrUpdateScales() {\n var me = this;\n var options = me.options;\n var scales = me.scales || {};\n var items = [];\n var updated = Object.keys(scales).reduce(function (obj, id) {\n obj[id] = false;\n return obj;\n }, {});\n\n if (options.scales) {\n items = items.concat((options.scales.xAxes || []).map(function (xAxisOptions) {\n return {\n options: xAxisOptions,\n dtype: 'category',\n dposition: 'bottom'\n };\n }), (options.scales.yAxes || []).map(function (yAxisOptions) {\n return {\n options: yAxisOptions,\n dtype: 'linear',\n dposition: 'left'\n };\n }));\n }\n\n if (options.scale) {\n items.push({\n options: options.scale,\n dtype: 'radialLinear',\n isDefault: true,\n dposition: 'chartArea'\n });\n }\n\n helpers$1.each(items, function (item) {\n var scaleOptions = item.options;\n var id = scaleOptions.id;\n var scaleType = valueOrDefault$9(scaleOptions.type, item.dtype);\n\n if (positionIsHorizontal(scaleOptions.position) !== positionIsHorizontal(item.dposition)) {\n scaleOptions.position = item.dposition;\n }\n\n updated[id] = true;\n var scale = null;\n\n if (id in scales && scales[id].type === scaleType) {\n scale = scales[id];\n scale.options = scaleOptions;\n scale.ctx = me.ctx;\n scale.chart = me;\n } else {\n var scaleClass = core_scaleService.getScaleConstructor(scaleType);\n\n if (!scaleClass) {\n return;\n }\n\n scale = new scaleClass({\n id: id,\n type: scaleType,\n options: scaleOptions,\n ctx: me.ctx,\n chart: me\n });\n scales[scale.id] = scale;\n }\n\n scale.mergeTicksOptions(); // TODO(SB): I think we should be able to remove this custom case (options.scale)\n // and consider it as a regular scale part of the \"scales\"\" map only! This would\n // make the logic easier and remove some useless? custom code.\n\n if (item.isDefault) {\n me.scale = scale;\n }\n }); // clear up discarded scales\n\n helpers$1.each(updated, function (hasUpdated, id) {\n if (!hasUpdated) {\n delete scales[id];\n }\n });\n me.scales = scales;\n core_scaleService.addScalesToLayout(this);\n },\n buildOrUpdateControllers: function buildOrUpdateControllers() {\n var me = this;\n var newControllers = [];\n var datasets = me.data.datasets;\n var i, ilen;\n\n for (i = 0, ilen = datasets.length; i < ilen; i++) {\n var dataset = datasets[i];\n var meta = me.getDatasetMeta(i);\n var type = dataset.type || me.config.type;\n\n if (meta.type && meta.type !== type) {\n me.destroyDatasetMeta(i);\n meta = me.getDatasetMeta(i);\n }\n\n meta.type = type;\n meta.order = dataset.order || 0;\n meta.index = i;\n\n if (meta.controller) {\n meta.controller.updateIndex(i);\n meta.controller.linkScales();\n } else {\n var ControllerClass = controllers[meta.type];\n\n if (ControllerClass === undefined) {\n throw new Error('\"' + meta.type + '\" is not a chart type.');\n }\n\n meta.controller = new ControllerClass(me, i);\n newControllers.push(meta.controller);\n }\n }\n\n return newControllers;\n },\n\n /**\n * Reset the elements of all datasets\n * @private\n */\n resetElements: function resetElements() {\n var me = this;\n helpers$1.each(me.data.datasets, function (dataset, datasetIndex) {\n me.getDatasetMeta(datasetIndex).controller.reset();\n }, me);\n },\n\n /**\n * Resets the chart back to it's state before the initial animation\n */\n reset: function reset() {\n this.resetElements();\n this.tooltip.initialize();\n },\n update: function update(config) {\n var me = this;\n var i, ilen;\n\n if (!config || _typeof(config) !== 'object') {\n // backwards compatibility\n config = {\n duration: config,\n lazy: arguments[1]\n };\n }\n\n updateConfig(me); // plugins options references might have change, let's invalidate the cache\n // https://github.com/chartjs/Chart.js/issues/5111#issuecomment-355934167\n\n core_plugins._invalidate(me);\n\n if (core_plugins.notify(me, 'beforeUpdate') === false) {\n return;\n } // In case the entire data object changed\n\n\n me.tooltip._data = me.data; // Make sure dataset controllers are updated and new controllers are reset\n\n var newControllers = me.buildOrUpdateControllers(); // Make sure all dataset controllers have correct meta data counts\n\n for (i = 0, ilen = me.data.datasets.length; i < ilen; i++) {\n me.getDatasetMeta(i).controller.buildOrUpdateElements();\n }\n\n me.updateLayout(); // Can only reset the new controllers after the scales have been updated\n\n if (me.options.animation && me.options.animation.duration) {\n helpers$1.each(newControllers, function (controller) {\n controller.reset();\n });\n }\n\n me.updateDatasets(); // Need to reset tooltip in case it is displayed with elements that are removed\n // after update.\n\n me.tooltip.initialize(); // Last active contains items that were previously in the tooltip.\n // When we reset the tooltip, we need to clear it\n\n me.lastActive = []; // Do this before render so that any plugins that need final scale updates can use it\n\n core_plugins.notify(me, 'afterUpdate');\n\n me._layers.sort(compare2Level('z', '_idx'));\n\n if (me._bufferedRender) {\n me._bufferedRequest = {\n duration: config.duration,\n easing: config.easing,\n lazy: config.lazy\n };\n } else {\n me.render(config);\n }\n },\n\n /**\n * Updates the chart layout unless a plugin returns `false` to the `beforeLayout`\n * hook, in which case, plugins will not be called on `afterLayout`.\n * @private\n */\n updateLayout: function updateLayout() {\n var me = this;\n\n if (core_plugins.notify(me, 'beforeLayout') === false) {\n return;\n }\n\n core_layouts.update(this, this.width, this.height);\n me._layers = [];\n helpers$1.each(me.boxes, function (box) {\n // _configure is called twice, once in core.scale.update and once here.\n // Here the boxes are fully updated and at their final positions.\n if (box._configure) {\n box._configure();\n }\n\n me._layers.push.apply(me._layers, box._layers());\n }, me);\n\n me._layers.forEach(function (item, index) {\n item._idx = index;\n });\n /**\n * Provided for backward compatibility, use `afterLayout` instead.\n * @method IPlugin#afterScaleUpdate\n * @deprecated since version 2.5.0\n * @todo remove at version 3\n * @private\n */\n\n\n core_plugins.notify(me, 'afterScaleUpdate');\n core_plugins.notify(me, 'afterLayout');\n },\n\n /**\n * Updates all datasets unless a plugin returns `false` to the `beforeDatasetsUpdate`\n * hook, in which case, plugins will not be called on `afterDatasetsUpdate`.\n * @private\n */\n updateDatasets: function updateDatasets() {\n var me = this;\n\n if (core_plugins.notify(me, 'beforeDatasetsUpdate') === false) {\n return;\n }\n\n for (var i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {\n me.updateDataset(i);\n }\n\n core_plugins.notify(me, 'afterDatasetsUpdate');\n },\n\n /**\n * Updates dataset at index unless a plugin returns `false` to the `beforeDatasetUpdate`\n * hook, in which case, plugins will not be called on `afterDatasetUpdate`.\n * @private\n */\n updateDataset: function updateDataset(index) {\n var me = this;\n var meta = me.getDatasetMeta(index);\n var args = {\n meta: meta,\n index: index\n };\n\n if (core_plugins.notify(me, 'beforeDatasetUpdate', [args]) === false) {\n return;\n }\n\n meta.controller._update();\n\n core_plugins.notify(me, 'afterDatasetUpdate', [args]);\n },\n render: function render(config) {\n var me = this;\n\n if (!config || _typeof(config) !== 'object') {\n // backwards compatibility\n config = {\n duration: config,\n lazy: arguments[1]\n };\n }\n\n var animationOptions = me.options.animation;\n var duration = valueOrDefault$9(config.duration, animationOptions && animationOptions.duration);\n var lazy = config.lazy;\n\n if (core_plugins.notify(me, 'beforeRender') === false) {\n return;\n }\n\n var onComplete = function onComplete(animation) {\n core_plugins.notify(me, 'afterRender');\n helpers$1.callback(animationOptions && animationOptions.onComplete, [animation], me);\n };\n\n if (animationOptions && duration) {\n var animation = new core_animation({\n numSteps: duration / 16.66,\n // 60 fps\n easing: config.easing || animationOptions.easing,\n render: function render(chart, animationObject) {\n var easingFunction = helpers$1.easing.effects[animationObject.easing];\n var currentStep = animationObject.currentStep;\n var stepDecimal = currentStep / animationObject.numSteps;\n chart.draw(easingFunction(stepDecimal), stepDecimal, currentStep);\n },\n onAnimationProgress: animationOptions.onProgress,\n onAnimationComplete: onComplete\n });\n core_animations.addAnimation(me, animation, duration, lazy);\n } else {\n me.draw(); // See https://github.com/chartjs/Chart.js/issues/3781\n\n onComplete(new core_animation({\n numSteps: 0,\n chart: me\n }));\n }\n\n return me;\n },\n draw: function draw(easingValue) {\n var me = this;\n var i, layers;\n me.clear();\n\n if (helpers$1.isNullOrUndef(easingValue)) {\n easingValue = 1;\n }\n\n me.transition(easingValue);\n\n if (me.width <= 0 || me.height <= 0) {\n return;\n }\n\n if (core_plugins.notify(me, 'beforeDraw', [easingValue]) === false) {\n return;\n } // Because of plugin hooks (before/afterDatasetsDraw), datasets can't\n // currently be part of layers. Instead, we draw\n // layers <= 0 before(default, backward compat), and the rest after\n\n\n layers = me._layers;\n\n for (i = 0; i < layers.length && layers[i].z <= 0; ++i) {\n layers[i].draw(me.chartArea);\n }\n\n me.drawDatasets(easingValue); // Rest of layers\n\n for (; i < layers.length; ++i) {\n layers[i].draw(me.chartArea);\n }\n\n me._drawTooltip(easingValue);\n\n core_plugins.notify(me, 'afterDraw', [easingValue]);\n },\n\n /**\n * @private\n */\n transition: function transition(easingValue) {\n var me = this;\n\n for (var i = 0, ilen = (me.data.datasets || []).length; i < ilen; ++i) {\n if (me.isDatasetVisible(i)) {\n me.getDatasetMeta(i).controller.transition(easingValue);\n }\n }\n\n me.tooltip.transition(easingValue);\n },\n\n /**\n * @private\n */\n _getSortedDatasetMetas: function _getSortedDatasetMetas(filterVisible) {\n var me = this;\n var datasets = me.data.datasets || [];\n var result = [];\n var i, ilen;\n\n for (i = 0, ilen = datasets.length; i < ilen; ++i) {\n if (!filterVisible || me.isDatasetVisible(i)) {\n result.push(me.getDatasetMeta(i));\n }\n }\n\n result.sort(compare2Level('order', 'index'));\n return result;\n },\n\n /**\n * @private\n */\n _getSortedVisibleDatasetMetas: function _getSortedVisibleDatasetMetas() {\n return this._getSortedDatasetMetas(true);\n },\n\n /**\n * Draws all datasets unless a plugin returns `false` to the `beforeDatasetsDraw`\n * hook, in which case, plugins will not be called on `afterDatasetsDraw`.\n * @private\n */\n drawDatasets: function drawDatasets(easingValue) {\n var me = this;\n var metasets, i;\n\n if (core_plugins.notify(me, 'beforeDatasetsDraw', [easingValue]) === false) {\n return;\n }\n\n metasets = me._getSortedVisibleDatasetMetas();\n\n for (i = metasets.length - 1; i >= 0; --i) {\n me.drawDataset(metasets[i], easingValue);\n }\n\n core_plugins.notify(me, 'afterDatasetsDraw', [easingValue]);\n },\n\n /**\n * Draws dataset at index unless a plugin returns `false` to the `beforeDatasetDraw`\n * hook, in which case, plugins will not be called on `afterDatasetDraw`.\n * @private\n */\n drawDataset: function drawDataset(meta, easingValue) {\n var me = this;\n var args = {\n meta: meta,\n index: meta.index,\n easingValue: easingValue\n };\n\n if (core_plugins.notify(me, 'beforeDatasetDraw', [args]) === false) {\n return;\n }\n\n meta.controller.draw(easingValue);\n core_plugins.notify(me, 'afterDatasetDraw', [args]);\n },\n\n /**\n * Draws tooltip unless a plugin returns `false` to the `beforeTooltipDraw`\n * hook, in which case, plugins will not be called on `afterTooltipDraw`.\n * @private\n */\n _drawTooltip: function _drawTooltip(easingValue) {\n var me = this;\n var tooltip = me.tooltip;\n var args = {\n tooltip: tooltip,\n easingValue: easingValue\n };\n\n if (core_plugins.notify(me, 'beforeTooltipDraw', [args]) === false) {\n return;\n }\n\n tooltip.draw();\n core_plugins.notify(me, 'afterTooltipDraw', [args]);\n },\n\n /**\n * Get the single element that was clicked on\n * @return An object containing the dataset index and element index of the matching element. Also contains the rectangle that was draw\n */\n getElementAtEvent: function getElementAtEvent(e) {\n return core_interaction.modes.single(this, e);\n },\n getElementsAtEvent: function getElementsAtEvent(e) {\n return core_interaction.modes.label(this, e, {\n intersect: true\n });\n },\n getElementsAtXAxis: function getElementsAtXAxis(e) {\n return core_interaction.modes['x-axis'](this, e, {\n intersect: true\n });\n },\n getElementsAtEventForMode: function getElementsAtEventForMode(e, mode, options) {\n var method = core_interaction.modes[mode];\n\n if (typeof method === 'function') {\n return method(this, e, options);\n }\n\n return [];\n },\n getDatasetAtEvent: function getDatasetAtEvent(e) {\n return core_interaction.modes.dataset(this, e, {\n intersect: true\n });\n },\n getDatasetMeta: function getDatasetMeta(datasetIndex) {\n var me = this;\n var dataset = me.data.datasets[datasetIndex];\n\n if (!dataset._meta) {\n dataset._meta = {};\n }\n\n var meta = dataset._meta[me.id];\n\n if (!meta) {\n meta = dataset._meta[me.id] = {\n type: null,\n data: [],\n dataset: null,\n controller: null,\n hidden: null,\n // See isDatasetVisible() comment\n xAxisID: null,\n yAxisID: null,\n order: dataset.order || 0,\n index: datasetIndex\n };\n }\n\n return meta;\n },\n getVisibleDatasetCount: function getVisibleDatasetCount() {\n var count = 0;\n\n for (var i = 0, ilen = this.data.datasets.length; i < ilen; ++i) {\n if (this.isDatasetVisible(i)) {\n count++;\n }\n }\n\n return count;\n },\n isDatasetVisible: function isDatasetVisible(datasetIndex) {\n var meta = this.getDatasetMeta(datasetIndex); // meta.hidden is a per chart dataset hidden flag override with 3 states: if true or false,\n // the dataset.hidden value is ignored, else if null, the dataset hidden state is returned.\n\n return typeof meta.hidden === 'boolean' ? !meta.hidden : !this.data.datasets[datasetIndex].hidden;\n },\n generateLegend: function generateLegend() {\n return this.options.legendCallback(this);\n },\n\n /**\n * @private\n */\n destroyDatasetMeta: function destroyDatasetMeta(datasetIndex) {\n var id = this.id;\n var dataset = this.data.datasets[datasetIndex];\n var meta = dataset._meta && dataset._meta[id];\n\n if (meta) {\n meta.controller.destroy();\n delete dataset._meta[id];\n }\n },\n destroy: function destroy() {\n var me = this;\n var canvas = me.canvas;\n var i, ilen;\n me.stop(); // dataset controllers need to cleanup associated data\n\n for (i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {\n me.destroyDatasetMeta(i);\n }\n\n if (canvas) {\n me.unbindEvents();\n helpers$1.canvas.clear(me);\n platform.releaseContext(me.ctx);\n me.canvas = null;\n me.ctx = null;\n }\n\n core_plugins.notify(me, 'destroy');\n delete Chart.instances[me.id];\n },\n toBase64Image: function toBase64Image() {\n return this.canvas.toDataURL.apply(this.canvas, arguments);\n },\n initToolTip: function initToolTip() {\n var me = this;\n me.tooltip = new core_tooltip({\n _chart: me,\n _chartInstance: me,\n // deprecated, backward compatibility\n _data: me.data,\n _options: me.options.tooltips\n }, me);\n },\n\n /**\n * @private\n */\n bindEvents: function bindEvents() {\n var me = this;\n var listeners = me._listeners = {};\n\n var listener = function listener() {\n me.eventHandler.apply(me, arguments);\n };\n\n helpers$1.each(me.options.events, function (type) {\n platform.addEventListener(me, type, listener);\n listeners[type] = listener;\n }); // Elements used to detect size change should not be injected for non responsive charts.\n // See https://github.com/chartjs/Chart.js/issues/2210\n\n if (me.options.responsive) {\n listener = function listener() {\n me.resize();\n };\n\n platform.addEventListener(me, 'resize', listener);\n listeners.resize = listener;\n }\n },\n\n /**\n * @private\n */\n unbindEvents: function unbindEvents() {\n var me = this;\n var listeners = me._listeners;\n\n if (!listeners) {\n return;\n }\n\n delete me._listeners;\n helpers$1.each(listeners, function (listener, type) {\n platform.removeEventListener(me, type, listener);\n });\n },\n updateHoverStyle: function updateHoverStyle(elements, mode, enabled) {\n var prefix = enabled ? 'set' : 'remove';\n var element, i, ilen;\n\n for (i = 0, ilen = elements.length; i < ilen; ++i) {\n element = elements[i];\n\n if (element) {\n this.getDatasetMeta(element._datasetIndex).controller[prefix + 'HoverStyle'](element);\n }\n }\n\n if (mode === 'dataset') {\n this.getDatasetMeta(elements[0]._datasetIndex).controller['_' + prefix + 'DatasetHoverStyle']();\n }\n },\n\n /**\n * @private\n */\n eventHandler: function eventHandler(e) {\n var me = this;\n var tooltip = me.tooltip;\n\n if (core_plugins.notify(me, 'beforeEvent', [e]) === false) {\n return;\n } // Buffer any update calls so that renders do not occur\n\n\n me._bufferedRender = true;\n me._bufferedRequest = null;\n var changed = me.handleEvent(e); // for smooth tooltip animations issue #4989\n // the tooltip should be the source of change\n // Animation check workaround:\n // tooltip._start will be null when tooltip isn't animating\n\n if (tooltip) {\n changed = tooltip._start ? tooltip.handleEvent(e) : changed | tooltip.handleEvent(e);\n }\n\n core_plugins.notify(me, 'afterEvent', [e]);\n var bufferedRequest = me._bufferedRequest;\n\n if (bufferedRequest) {\n // If we have an update that was triggered, we need to do a normal render\n me.render(bufferedRequest);\n } else if (changed && !me.animating) {\n // If entering, leaving, or changing elements, animate the change via pivot\n me.stop(); // We only need to render at this point. Updating will cause scales to be\n // recomputed generating flicker & using more memory than necessary.\n\n me.render({\n duration: me.options.hover.animationDuration,\n lazy: true\n });\n }\n\n me._bufferedRender = false;\n me._bufferedRequest = null;\n return me;\n },\n\n /**\n * Handle an event\n * @private\n * @param {IEvent} event the event to handle\n * @return {boolean} true if the chart needs to re-render\n */\n handleEvent: function handleEvent(e) {\n var me = this;\n var options = me.options || {};\n var hoverOptions = options.hover;\n var changed = false;\n me.lastActive = me.lastActive || []; // Find Active Elements for hover and tooltips\n\n if (e.type === 'mouseout') {\n me.active = [];\n } else {\n me.active = me.getElementsAtEventForMode(e, hoverOptions.mode, hoverOptions);\n } // Invoke onHover hook\n // Need to call with native event here to not break backwards compatibility\n\n\n helpers$1.callback(options.onHover || options.hover.onHover, [e.native, me.active], me);\n\n if (e.type === 'mouseup' || e.type === 'click') {\n if (options.onClick) {\n // Use e.native here for backwards compatibility\n options.onClick.call(me, e.native, me.active);\n }\n } // Remove styling for last active (even if it may still be active)\n\n\n if (me.lastActive.length) {\n me.updateHoverStyle(me.lastActive, hoverOptions.mode, false);\n } // Built in hover styling\n\n\n if (me.active.length && hoverOptions.mode) {\n me.updateHoverStyle(me.active, hoverOptions.mode, true);\n }\n\n changed = !helpers$1.arrayEquals(me.active, me.lastActive); // Remember Last Actives\n\n me.lastActive = me.active;\n return changed;\n }\n });\n /**\n * NOTE(SB) We actually don't use this container anymore but we need to keep it\n * for backward compatibility. Though, it can still be useful for plugins that\n * would need to work on multiple charts?!\n */\n\n Chart.instances = {};\n var core_controller = Chart; // DEPRECATIONS\n\n /**\n * Provided for backward compatibility, use Chart instead.\n * @class Chart.Controller\n * @deprecated since version 2.6\n * @todo remove at version 3\n * @private\n */\n\n Chart.Controller = Chart;\n /**\n * Provided for backward compatibility, not available anymore.\n * @namespace Chart\n * @deprecated since version 2.8\n * @todo remove at version 3\n * @private\n */\n\n Chart.types = {};\n /**\n * Provided for backward compatibility, not available anymore.\n * @namespace Chart.helpers.configMerge\n * @deprecated since version 2.8.0\n * @todo remove at version 3\n * @private\n */\n\n helpers$1.configMerge = mergeConfig;\n /**\n * Provided for backward compatibility, not available anymore.\n * @namespace Chart.helpers.scaleMerge\n * @deprecated since version 2.8.0\n * @todo remove at version 3\n * @private\n */\n\n helpers$1.scaleMerge = mergeScaleConfig;\n\n var core_helpers = function core_helpers() {\n // -- Basic js utility methods\n helpers$1.where = function (collection, filterCallback) {\n if (helpers$1.isArray(collection) && Array.prototype.filter) {\n return collection.filter(filterCallback);\n }\n\n var filtered = [];\n helpers$1.each(collection, function (item) {\n if (filterCallback(item)) {\n filtered.push(item);\n }\n });\n return filtered;\n };\n\n helpers$1.findIndex = Array.prototype.findIndex ? function (array, callback, scope) {\n return array.findIndex(callback, scope);\n } : function (array, callback, scope) {\n scope = scope === undefined ? array : scope;\n\n for (var i = 0, ilen = array.length; i < ilen; ++i) {\n if (callback.call(scope, array[i], i, array)) {\n return i;\n }\n }\n\n return -1;\n };\n\n helpers$1.findNextWhere = function (arrayToSearch, filterCallback, startIndex) {\n // Default to start of the array\n if (helpers$1.isNullOrUndef(startIndex)) {\n startIndex = -1;\n }\n\n for (var i = startIndex + 1; i < arrayToSearch.length; i++) {\n var currentItem = arrayToSearch[i];\n\n if (filterCallback(currentItem)) {\n return currentItem;\n }\n }\n };\n\n helpers$1.findPreviousWhere = function (arrayToSearch, filterCallback, startIndex) {\n // Default to end of the array\n if (helpers$1.isNullOrUndef(startIndex)) {\n startIndex = arrayToSearch.length;\n }\n\n for (var i = startIndex - 1; i >= 0; i--) {\n var currentItem = arrayToSearch[i];\n\n if (filterCallback(currentItem)) {\n return currentItem;\n }\n }\n }; // -- Math methods\n\n\n helpers$1.isNumber = function (n) {\n return !isNaN(parseFloat(n)) && isFinite(n);\n };\n\n helpers$1.almostEquals = function (x, y, epsilon) {\n return Math.abs(x - y) < epsilon;\n };\n\n helpers$1.almostWhole = function (x, epsilon) {\n var rounded = Math.round(x);\n return rounded - epsilon <= x && rounded + epsilon >= x;\n };\n\n helpers$1.max = function (array) {\n return array.reduce(function (max, value) {\n if (!isNaN(value)) {\n return Math.max(max, value);\n }\n\n return max;\n }, Number.NEGATIVE_INFINITY);\n };\n\n helpers$1.min = function (array) {\n return array.reduce(function (min, value) {\n if (!isNaN(value)) {\n return Math.min(min, value);\n }\n\n return min;\n }, Number.POSITIVE_INFINITY);\n };\n\n helpers$1.sign = Math.sign ? function (x) {\n return Math.sign(x);\n } : function (x) {\n x = +x; // convert to a number\n\n if (x === 0 || isNaN(x)) {\n return x;\n }\n\n return x > 0 ? 1 : -1;\n };\n\n helpers$1.toRadians = function (degrees) {\n return degrees * (Math.PI / 180);\n };\n\n helpers$1.toDegrees = function (radians) {\n return radians * (180 / Math.PI);\n };\n /**\n * Returns the number of decimal places\n * i.e. the number of digits after the decimal point, of the value of this Number.\n * @param {number} x - A number.\n * @returns {number} The number of decimal places.\n * @private\n */\n\n\n helpers$1._decimalPlaces = function (x) {\n if (!helpers$1.isFinite(x)) {\n return;\n }\n\n var e = 1;\n var p = 0;\n\n while (Math.round(x * e) / e !== x) {\n e *= 10;\n p++;\n }\n\n return p;\n }; // Gets the angle from vertical upright to the point about a centre.\n\n\n helpers$1.getAngleFromPoint = function (centrePoint, anglePoint) {\n var distanceFromXCenter = anglePoint.x - centrePoint.x;\n var distanceFromYCenter = anglePoint.y - centrePoint.y;\n var radialDistanceFromCenter = Math.sqrt(distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter);\n var angle = Math.atan2(distanceFromYCenter, distanceFromXCenter);\n\n if (angle < -0.5 * Math.PI) {\n angle += 2.0 * Math.PI; // make sure the returned angle is in the range of (-PI/2, 3PI/2]\n }\n\n return {\n angle: angle,\n distance: radialDistanceFromCenter\n };\n };\n\n helpers$1.distanceBetweenPoints = function (pt1, pt2) {\n return Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2));\n };\n /**\n * Provided for backward compatibility, not available anymore\n * @function Chart.helpers.aliasPixel\n * @deprecated since version 2.8.0\n * @todo remove at version 3\n */\n\n\n helpers$1.aliasPixel = function (pixelWidth) {\n return pixelWidth % 2 === 0 ? 0 : 0.5;\n };\n /**\n * Returns the aligned pixel value to avoid anti-aliasing blur\n * @param {Chart} chart - The chart instance.\n * @param {number} pixel - A pixel value.\n * @param {number} width - The width of the element.\n * @returns {number} The aligned pixel value.\n * @private\n */\n\n\n helpers$1._alignPixel = function (chart, pixel, width) {\n var devicePixelRatio = chart.currentDevicePixelRatio;\n var halfWidth = width / 2;\n return Math.round((pixel - halfWidth) * devicePixelRatio) / devicePixelRatio + halfWidth;\n };\n\n helpers$1.splineCurve = function (firstPoint, middlePoint, afterPoint, t) {\n // Props to Rob Spencer at scaled innovation for his post on splining between points\n // http://scaledinnovation.com/analytics/splines/aboutSplines.html\n // This function must also respect \"skipped\" points\n var previous = firstPoint.skip ? middlePoint : firstPoint;\n var current = middlePoint;\n var next = afterPoint.skip ? middlePoint : afterPoint;\n var d01 = Math.sqrt(Math.pow(current.x - previous.x, 2) + Math.pow(current.y - previous.y, 2));\n var d12 = Math.sqrt(Math.pow(next.x - current.x, 2) + Math.pow(next.y - current.y, 2));\n var s01 = d01 / (d01 + d12);\n var s12 = d12 / (d01 + d12); // If all points are the same, s01 & s02 will be inf\n\n s01 = isNaN(s01) ? 0 : s01;\n s12 = isNaN(s12) ? 0 : s12;\n var fa = t * s01; // scaling factor for triangle Ta\n\n var fb = t * s12;\n return {\n previous: {\n x: current.x - fa * (next.x - previous.x),\n y: current.y - fa * (next.y - previous.y)\n },\n next: {\n x: current.x + fb * (next.x - previous.x),\n y: current.y + fb * (next.y - previous.y)\n }\n };\n };\n\n helpers$1.EPSILON = Number.EPSILON || 1e-14;\n\n helpers$1.splineCurveMonotone = function (points) {\n // This function calculates Bézier control points in a similar way than |splineCurve|,\n // but preserves monotonicity of the provided data and ensures no local extremums are added\n // between the dataset discrete points due to the interpolation.\n // See : https://en.wikipedia.org/wiki/Monotone_cubic_interpolation\n var pointsWithTangents = (points || []).map(function (point) {\n return {\n model: point._model,\n deltaK: 0,\n mK: 0\n };\n }); // Calculate slopes (deltaK) and initialize tangents (mK)\n\n var pointsLen = pointsWithTangents.length;\n var i, pointBefore, pointCurrent, pointAfter;\n\n for (i = 0; i < pointsLen; ++i) {\n pointCurrent = pointsWithTangents[i];\n\n if (pointCurrent.model.skip) {\n continue;\n }\n\n pointBefore = i > 0 ? pointsWithTangents[i - 1] : null;\n pointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;\n\n if (pointAfter && !pointAfter.model.skip) {\n var slopeDeltaX = pointAfter.model.x - pointCurrent.model.x; // In the case of two points that appear at the same x pixel, slopeDeltaX is 0\n\n pointCurrent.deltaK = slopeDeltaX !== 0 ? (pointAfter.model.y - pointCurrent.model.y) / slopeDeltaX : 0;\n }\n\n if (!pointBefore || pointBefore.model.skip) {\n pointCurrent.mK = pointCurrent.deltaK;\n } else if (!pointAfter || pointAfter.model.skip) {\n pointCurrent.mK = pointBefore.deltaK;\n } else if (this.sign(pointBefore.deltaK) !== this.sign(pointCurrent.deltaK)) {\n pointCurrent.mK = 0;\n } else {\n pointCurrent.mK = (pointBefore.deltaK + pointCurrent.deltaK) / 2;\n }\n } // Adjust tangents to ensure monotonic properties\n\n\n var alphaK, betaK, tauK, squaredMagnitude;\n\n for (i = 0; i < pointsLen - 1; ++i) {\n pointCurrent = pointsWithTangents[i];\n pointAfter = pointsWithTangents[i + 1];\n\n if (pointCurrent.model.skip || pointAfter.model.skip) {\n continue;\n }\n\n if (helpers$1.almostEquals(pointCurrent.deltaK, 0, this.EPSILON)) {\n pointCurrent.mK = pointAfter.mK = 0;\n continue;\n }\n\n alphaK = pointCurrent.mK / pointCurrent.deltaK;\n betaK = pointAfter.mK / pointCurrent.deltaK;\n squaredMagnitude = Math.pow(alphaK, 2) + Math.pow(betaK, 2);\n\n if (squaredMagnitude <= 9) {\n continue;\n }\n\n tauK = 3 / Math.sqrt(squaredMagnitude);\n pointCurrent.mK = alphaK * tauK * pointCurrent.deltaK;\n pointAfter.mK = betaK * tauK * pointCurrent.deltaK;\n } // Compute control points\n\n\n var deltaX;\n\n for (i = 0; i < pointsLen; ++i) {\n pointCurrent = pointsWithTangents[i];\n\n if (pointCurrent.model.skip) {\n continue;\n }\n\n pointBefore = i > 0 ? pointsWithTangents[i - 1] : null;\n pointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;\n\n if (pointBefore && !pointBefore.model.skip) {\n deltaX = (pointCurrent.model.x - pointBefore.model.x) / 3;\n pointCurrent.model.controlPointPreviousX = pointCurrent.model.x - deltaX;\n pointCurrent.model.controlPointPreviousY = pointCurrent.model.y - deltaX * pointCurrent.mK;\n }\n\n if (pointAfter && !pointAfter.model.skip) {\n deltaX = (pointAfter.model.x - pointCurrent.model.x) / 3;\n pointCurrent.model.controlPointNextX = pointCurrent.model.x + deltaX;\n pointCurrent.model.controlPointNextY = pointCurrent.model.y + deltaX * pointCurrent.mK;\n }\n }\n };\n\n helpers$1.nextItem = function (collection, index, loop) {\n if (loop) {\n return index >= collection.length - 1 ? collection[0] : collection[index + 1];\n }\n\n return index >= collection.length - 1 ? collection[collection.length - 1] : collection[index + 1];\n };\n\n helpers$1.previousItem = function (collection, index, loop) {\n if (loop) {\n return index <= 0 ? collection[collection.length - 1] : collection[index - 1];\n }\n\n return index <= 0 ? collection[0] : collection[index - 1];\n }; // Implementation of the nice number algorithm used in determining where axis labels will go\n\n\n helpers$1.niceNum = function (range, round) {\n var exponent = Math.floor(helpers$1.log10(range));\n var fraction = range / Math.pow(10, exponent);\n var niceFraction;\n\n if (round) {\n if (fraction < 1.5) {\n niceFraction = 1;\n } else if (fraction < 3) {\n niceFraction = 2;\n } else if (fraction < 7) {\n niceFraction = 5;\n } else {\n niceFraction = 10;\n }\n } else if (fraction <= 1.0) {\n niceFraction = 1;\n } else if (fraction <= 2) {\n niceFraction = 2;\n } else if (fraction <= 5) {\n niceFraction = 5;\n } else {\n niceFraction = 10;\n }\n\n return niceFraction * Math.pow(10, exponent);\n }; // Request animation polyfill - https://www.paulirish.com/2011/requestanimationframe-for-smart-animating/\n\n\n helpers$1.requestAnimFrame = function () {\n if (typeof window === 'undefined') {\n return function (callback) {\n callback();\n };\n }\n\n return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (callback) {\n return window.setTimeout(callback, 1000 / 60);\n };\n }(); // -- DOM methods\n\n\n helpers$1.getRelativePosition = function (evt, chart) {\n var mouseX, mouseY;\n var e = evt.originalEvent || evt;\n var canvas = evt.target || evt.srcElement;\n var boundingRect = canvas.getBoundingClientRect();\n var touches = e.touches;\n\n if (touches && touches.length > 0) {\n mouseX = touches[0].clientX;\n mouseY = touches[0].clientY;\n } else {\n mouseX = e.clientX;\n mouseY = e.clientY;\n } // Scale mouse coordinates into canvas coordinates\n // by following the pattern laid out by 'jerryj' in the comments of\n // https://www.html5canvastutorials.com/advanced/html5-canvas-mouse-coordinates/\n\n\n var paddingLeft = parseFloat(helpers$1.getStyle(canvas, 'padding-left'));\n var paddingTop = parseFloat(helpers$1.getStyle(canvas, 'padding-top'));\n var paddingRight = parseFloat(helpers$1.getStyle(canvas, 'padding-right'));\n var paddingBottom = parseFloat(helpers$1.getStyle(canvas, 'padding-bottom'));\n var width = boundingRect.right - boundingRect.left - paddingLeft - paddingRight;\n var height = boundingRect.bottom - boundingRect.top - paddingTop - paddingBottom; // We divide by the current device pixel ratio, because the canvas is scaled up by that amount in each direction. However\n // the backend model is in unscaled coordinates. Since we are going to deal with our model coordinates, we go back here\n\n mouseX = Math.round((mouseX - boundingRect.left - paddingLeft) / width * canvas.width / chart.currentDevicePixelRatio);\n mouseY = Math.round((mouseY - boundingRect.top - paddingTop) / height * canvas.height / chart.currentDevicePixelRatio);\n return {\n x: mouseX,\n y: mouseY\n };\n }; // Private helper function to convert max-width/max-height values that may be percentages into a number\n\n\n function parseMaxStyle(styleValue, node, parentProperty) {\n var valueInPixels;\n\n if (typeof styleValue === 'string') {\n valueInPixels = parseInt(styleValue, 10);\n\n if (styleValue.indexOf('%') !== -1) {\n // percentage * size in dimension\n valueInPixels = valueInPixels / 100 * node.parentNode[parentProperty];\n }\n } else {\n valueInPixels = styleValue;\n }\n\n return valueInPixels;\n }\n /**\n * Returns if the given value contains an effective constraint.\n * @private\n */\n\n\n function isConstrainedValue(value) {\n return value !== undefined && value !== null && value !== 'none';\n }\n /**\n * Returns the max width or height of the given DOM node in a cross-browser compatible fashion\n * @param {HTMLElement} domNode - the node to check the constraint on\n * @param {string} maxStyle - the style that defines the maximum for the direction we are using ('max-width' / 'max-height')\n * @param {string} percentageProperty - property of parent to use when calculating width as a percentage\n * @see {@link https://www.nathanaeljones.com/blog/2013/reading-max-width-cross-browser}\n */\n\n\n function getConstraintDimension(domNode, maxStyle, percentageProperty) {\n var view = document.defaultView;\n\n var parentNode = helpers$1._getParentNode(domNode);\n\n var constrainedNode = view.getComputedStyle(domNode)[maxStyle];\n var constrainedContainer = view.getComputedStyle(parentNode)[maxStyle];\n var hasCNode = isConstrainedValue(constrainedNode);\n var hasCContainer = isConstrainedValue(constrainedContainer);\n var infinity = Number.POSITIVE_INFINITY;\n\n if (hasCNode || hasCContainer) {\n return Math.min(hasCNode ? parseMaxStyle(constrainedNode, domNode, percentageProperty) : infinity, hasCContainer ? parseMaxStyle(constrainedContainer, parentNode, percentageProperty) : infinity);\n }\n\n return 'none';\n } // returns Number or undefined if no constraint\n\n\n helpers$1.getConstraintWidth = function (domNode) {\n return getConstraintDimension(domNode, 'max-width', 'clientWidth');\n }; // returns Number or undefined if no constraint\n\n\n helpers$1.getConstraintHeight = function (domNode) {\n return getConstraintDimension(domNode, 'max-height', 'clientHeight');\n };\n /**\n * @private\n \t */\n\n\n helpers$1._calculatePadding = function (container, padding, parentDimension) {\n padding = helpers$1.getStyle(container, padding);\n return padding.indexOf('%') > -1 ? parentDimension * parseInt(padding, 10) / 100 : parseInt(padding, 10);\n };\n /**\n * @private\n */\n\n\n helpers$1._getParentNode = function (domNode) {\n var parent = domNode.parentNode;\n\n if (parent && parent.toString() === '[object ShadowRoot]') {\n parent = parent.host;\n }\n\n return parent;\n };\n\n helpers$1.getMaximumWidth = function (domNode) {\n var container = helpers$1._getParentNode(domNode);\n\n if (!container) {\n return domNode.clientWidth;\n }\n\n var clientWidth = container.clientWidth;\n\n var paddingLeft = helpers$1._calculatePadding(container, 'padding-left', clientWidth);\n\n var paddingRight = helpers$1._calculatePadding(container, 'padding-right', clientWidth);\n\n var w = clientWidth - paddingLeft - paddingRight;\n var cw = helpers$1.getConstraintWidth(domNode);\n return isNaN(cw) ? w : Math.min(w, cw);\n };\n\n helpers$1.getMaximumHeight = function (domNode) {\n var container = helpers$1._getParentNode(domNode);\n\n if (!container) {\n return domNode.clientHeight;\n }\n\n var clientHeight = container.clientHeight;\n\n var paddingTop = helpers$1._calculatePadding(container, 'padding-top', clientHeight);\n\n var paddingBottom = helpers$1._calculatePadding(container, 'padding-bottom', clientHeight);\n\n var h = clientHeight - paddingTop - paddingBottom;\n var ch = helpers$1.getConstraintHeight(domNode);\n return isNaN(ch) ? h : Math.min(h, ch);\n };\n\n helpers$1.getStyle = function (el, property) {\n return el.currentStyle ? el.currentStyle[property] : document.defaultView.getComputedStyle(el, null).getPropertyValue(property);\n };\n\n helpers$1.retinaScale = function (chart, forceRatio) {\n var pixelRatio = chart.currentDevicePixelRatio = forceRatio || typeof window !== 'undefined' && window.devicePixelRatio || 1;\n\n if (pixelRatio === 1) {\n return;\n }\n\n var canvas = chart.canvas;\n var height = chart.height;\n var width = chart.width;\n canvas.height = height * pixelRatio;\n canvas.width = width * pixelRatio;\n chart.ctx.scale(pixelRatio, pixelRatio); // If no style has been set on the canvas, the render size is used as display size,\n // making the chart visually bigger, so let's enforce it to the \"correct\" values.\n // See https://github.com/chartjs/Chart.js/issues/3575\n\n if (!canvas.style.height && !canvas.style.width) {\n canvas.style.height = height + 'px';\n canvas.style.width = width + 'px';\n }\n }; // -- Canvas methods\n\n\n helpers$1.fontString = function (pixelSize, fontStyle, fontFamily) {\n return fontStyle + ' ' + pixelSize + 'px ' + fontFamily;\n };\n\n helpers$1.longestText = function (ctx, font, arrayOfThings, cache) {\n cache = cache || {};\n var data = cache.data = cache.data || {};\n var gc = cache.garbageCollect = cache.garbageCollect || [];\n\n if (cache.font !== font) {\n data = cache.data = {};\n gc = cache.garbageCollect = [];\n cache.font = font;\n }\n\n ctx.font = font;\n var longest = 0;\n var ilen = arrayOfThings.length;\n var i, j, jlen, thing, nestedThing;\n\n for (i = 0; i < ilen; i++) {\n thing = arrayOfThings[i]; // Undefined strings and arrays should not be measured\n\n if (thing !== undefined && thing !== null && helpers$1.isArray(thing) !== true) {\n longest = helpers$1.measureText(ctx, data, gc, longest, thing);\n } else if (helpers$1.isArray(thing)) {\n // if it is an array lets measure each element\n // to do maybe simplify this function a bit so we can do this more recursively?\n for (j = 0, jlen = thing.length; j < jlen; j++) {\n nestedThing = thing[j]; // Undefined strings and arrays should not be measured\n\n if (nestedThing !== undefined && nestedThing !== null && !helpers$1.isArray(nestedThing)) {\n longest = helpers$1.measureText(ctx, data, gc, longest, nestedThing);\n }\n }\n }\n }\n\n var gcLen = gc.length / 2;\n\n if (gcLen > arrayOfThings.length) {\n for (i = 0; i < gcLen; i++) {\n delete data[gc[i]];\n }\n\n gc.splice(0, gcLen);\n }\n\n return longest;\n };\n\n helpers$1.measureText = function (ctx, data, gc, longest, string) {\n var textWidth = data[string];\n\n if (!textWidth) {\n textWidth = data[string] = ctx.measureText(string).width;\n gc.push(string);\n }\n\n if (textWidth > longest) {\n longest = textWidth;\n }\n\n return longest;\n };\n /**\n * @deprecated\n */\n\n\n helpers$1.numberOfLabelLines = function (arrayOfThings) {\n var numberOfLines = 1;\n helpers$1.each(arrayOfThings, function (thing) {\n if (helpers$1.isArray(thing)) {\n if (thing.length > numberOfLines) {\n numberOfLines = thing.length;\n }\n }\n });\n return numberOfLines;\n };\n\n helpers$1.color = !chartjsColor ? function (value) {\n console.error('Color.js not found!');\n return value;\n } : function (value) {\n /* global CanvasGradient */\n if (value instanceof CanvasGradient) {\n value = core_defaults.global.defaultColor;\n }\n\n return chartjsColor(value);\n };\n\n helpers$1.getHoverColor = function (colorValue) {\n /* global CanvasPattern */\n return colorValue instanceof CanvasPattern || colorValue instanceof CanvasGradient ? colorValue : helpers$1.color(colorValue).saturate(0.5).darken(0.1).rgbString();\n };\n };\n\n function abstract() {\n throw new Error('This method is not implemented: either no adapter can ' + 'be found or an incomplete integration was provided.');\n }\n /**\n * Date adapter (current used by the time scale)\n * @namespace Chart._adapters._date\n * @memberof Chart._adapters\n * @private\n */\n\n /**\n * Currently supported unit string values.\n * @typedef {('millisecond'|'second'|'minute'|'hour'|'day'|'week'|'month'|'quarter'|'year')}\n * @memberof Chart._adapters._date\n * @name Unit\n */\n\n /**\n * @class\n */\n\n\n function DateAdapter(options) {\n this.options = options || {};\n }\n\n helpers$1.extend(DateAdapter.prototype,\n /** @lends DateAdapter */\n {\n /**\n * Returns a map of time formats for the supported formatting units defined\n * in Unit as well as 'datetime' representing a detailed date/time string.\n * @returns {{string: string}}\n */\n formats: abstract,\n\n /**\n * Parses the given `value` and return the associated timestamp.\n * @param {any} value - the value to parse (usually comes from the data)\n * @param {string} [format] - the expected data format\n * @returns {(number|null)}\n * @function\n */\n parse: abstract,\n\n /**\n * Returns the formatted date in the specified `format` for a given `timestamp`.\n * @param {number} timestamp - the timestamp to format\n * @param {string} format - the date/time token\n * @return {string}\n * @function\n */\n format: abstract,\n\n /**\n * Adds the specified `amount` of `unit` to the given `timestamp`.\n * @param {number} timestamp - the input timestamp\n * @param {number} amount - the amount to add\n * @param {Unit} unit - the unit as string\n * @return {number}\n * @function\n */\n add: abstract,\n\n /**\n * Returns the number of `unit` between the given timestamps.\n * @param {number} max - the input timestamp (reference)\n * @param {number} min - the timestamp to substract\n * @param {Unit} unit - the unit as string\n * @return {number}\n * @function\n */\n diff: abstract,\n\n /**\n * Returns start of `unit` for the given `timestamp`.\n * @param {number} timestamp - the input timestamp\n * @param {Unit} unit - the unit as string\n * @param {number} [weekday] - the ISO day of the week with 1 being Monday\n * and 7 being Sunday (only needed if param *unit* is `isoWeek`).\n * @function\n */\n startOf: abstract,\n\n /**\n * Returns end of `unit` for the given `timestamp`.\n * @param {number} timestamp - the input timestamp\n * @param {Unit} unit - the unit as string\n * @function\n */\n endOf: abstract,\n // DEPRECATIONS\n\n /**\n * Provided for backward compatibility for scale.getValueForPixel(),\n * this method should be overridden only by the moment adapter.\n * @deprecated since version 2.8.0\n * @todo remove at version 3\n * @private\n */\n _create: function _create(value) {\n return value;\n }\n });\n\n DateAdapter.override = function (members) {\n helpers$1.extend(DateAdapter.prototype, members);\n };\n\n var _date = DateAdapter;\n var core_adapters = {\n _date: _date\n };\n /**\n * Namespace to hold static tick generation functions\n * @namespace Chart.Ticks\n */\n\n var core_ticks = {\n /**\n * Namespace to hold formatters for different types of ticks\n * @namespace Chart.Ticks.formatters\n */\n formatters: {\n /**\n * Formatter for value labels\n * @method Chart.Ticks.formatters.values\n * @param value the value to display\n * @return {string|string[]} the label to display\n */\n values: function values(value) {\n return helpers$1.isArray(value) ? value : '' + value;\n },\n\n /**\n * Formatter for linear numeric ticks\n * @method Chart.Ticks.formatters.linear\n * @param tickValue {number} the value to be formatted\n * @param index {number} the position of the tickValue parameter in the ticks array\n * @param ticks {number[]} the list of ticks being converted\n * @return {string} string representation of the tickValue parameter\n */\n linear: function linear(tickValue, index, ticks) {\n // If we have lots of ticks, don't use the ones\n var delta = ticks.length > 3 ? ticks[2] - ticks[1] : ticks[1] - ticks[0]; // If we have a number like 2.5 as the delta, figure out how many decimal places we need\n\n if (Math.abs(delta) > 1) {\n if (tickValue !== Math.floor(tickValue)) {\n // not an integer\n delta = tickValue - Math.floor(tickValue);\n }\n }\n\n var logDelta = helpers$1.log10(Math.abs(delta));\n var tickString = '';\n\n if (tickValue !== 0) {\n var maxTick = Math.max(Math.abs(ticks[0]), Math.abs(ticks[ticks.length - 1]));\n\n if (maxTick < 1e-4) {\n // all ticks are small numbers; use scientific notation\n var logTick = helpers$1.log10(Math.abs(tickValue));\n var numExponential = Math.floor(logTick) - Math.floor(logDelta);\n numExponential = Math.max(Math.min(numExponential, 20), 0);\n tickString = tickValue.toExponential(numExponential);\n } else {\n var numDecimal = -1 * Math.floor(logDelta);\n numDecimal = Math.max(Math.min(numDecimal, 20), 0); // toFixed has a max of 20 decimal places\n\n tickString = tickValue.toFixed(numDecimal);\n }\n } else {\n tickString = '0'; // never show decimal places for 0\n }\n\n return tickString;\n },\n logarithmic: function logarithmic(tickValue, index, ticks) {\n var remain = tickValue / Math.pow(10, Math.floor(helpers$1.log10(tickValue)));\n\n if (tickValue === 0) {\n return '0';\n } else if (remain === 1 || remain === 2 || remain === 5 || index === 0 || index === ticks.length - 1) {\n return tickValue.toExponential();\n }\n\n return '';\n }\n }\n };\n var isArray = helpers$1.isArray;\n var isNullOrUndef = helpers$1.isNullOrUndef;\n var valueOrDefault$a = helpers$1.valueOrDefault;\n var valueAtIndexOrDefault = helpers$1.valueAtIndexOrDefault;\n\n core_defaults._set('scale', {\n display: true,\n position: 'left',\n offset: false,\n // grid line settings\n gridLines: {\n display: true,\n color: 'rgba(0,0,0,0.1)',\n lineWidth: 1,\n drawBorder: true,\n drawOnChartArea: true,\n drawTicks: true,\n tickMarkLength: 10,\n zeroLineWidth: 1,\n zeroLineColor: 'rgba(0,0,0,0.25)',\n zeroLineBorderDash: [],\n zeroLineBorderDashOffset: 0.0,\n offsetGridLines: false,\n borderDash: [],\n borderDashOffset: 0.0\n },\n // scale label\n scaleLabel: {\n // display property\n display: false,\n // actual label\n labelString: '',\n // top/bottom padding\n padding: {\n top: 4,\n bottom: 4\n }\n },\n // label settings\n ticks: {\n beginAtZero: false,\n minRotation: 0,\n maxRotation: 50,\n mirror: false,\n padding: 0,\n reverse: false,\n display: true,\n autoSkip: true,\n autoSkipPadding: 0,\n labelOffset: 0,\n // We pass through arrays to be rendered as multiline labels, we convert Others to strings here.\n callback: core_ticks.formatters.values,\n minor: {},\n major: {}\n }\n });\n /** Returns a new array containing numItems from arr */\n\n\n function sample(arr, numItems) {\n var result = [];\n var increment = arr.length / numItems;\n var i = 0;\n var len = arr.length;\n\n for (; i < len; i += increment) {\n result.push(arr[Math.floor(i)]);\n }\n\n return result;\n }\n\n function getPixelForGridLine(scale, index, offsetGridLines) {\n var length = scale.getTicks().length;\n var validIndex = Math.min(index, length - 1);\n var lineValue = scale.getPixelForTick(validIndex);\n var start = scale._startPixel;\n var end = scale._endPixel;\n var epsilon = 1e-6; // 1e-6 is margin in pixels for accumulated error.\n\n var offset;\n\n if (offsetGridLines) {\n if (length === 1) {\n offset = Math.max(lineValue - start, end - lineValue);\n } else if (index === 0) {\n offset = (scale.getPixelForTick(1) - lineValue) / 2;\n } else {\n offset = (lineValue - scale.getPixelForTick(validIndex - 1)) / 2;\n }\n\n lineValue += validIndex < index ? offset : -offset; // Return undefined if the pixel is out of the range\n\n if (lineValue < start - epsilon || lineValue > end + epsilon) {\n return;\n }\n }\n\n return lineValue;\n }\n\n function garbageCollect(caches, length) {\n helpers$1.each(caches, function (cache) {\n var gc = cache.gc;\n var gcLen = gc.length / 2;\n var i;\n\n if (gcLen > length) {\n for (i = 0; i < gcLen; ++i) {\n delete cache.data[gc[i]];\n }\n\n gc.splice(0, gcLen);\n }\n });\n }\n /**\n * Returns {width, height, offset} objects for the first, last, widest, highest tick\n * labels where offset indicates the anchor point offset from the top in pixels.\n */\n\n\n function computeLabelSizes(ctx, tickFonts, ticks, caches) {\n var length = ticks.length;\n var widths = [];\n var heights = [];\n var offsets = [];\n var i, j, jlen, label, tickFont, fontString, cache, lineHeight, width, height, nestedLabel, widest, highest;\n\n for (i = 0; i < length; ++i) {\n label = ticks[i].label;\n tickFont = ticks[i].major ? tickFonts.major : tickFonts.minor;\n ctx.font = fontString = tickFont.string;\n cache = caches[fontString] = caches[fontString] || {\n data: {},\n gc: []\n };\n lineHeight = tickFont.lineHeight;\n width = height = 0; // Undefined labels and arrays should not be measured\n\n if (!isNullOrUndef(label) && !isArray(label)) {\n width = helpers$1.measureText(ctx, cache.data, cache.gc, width, label);\n height = lineHeight;\n } else if (isArray(label)) {\n // if it is an array let's measure each element\n for (j = 0, jlen = label.length; j < jlen; ++j) {\n nestedLabel = label[j]; // Undefined labels and arrays should not be measured\n\n if (!isNullOrUndef(nestedLabel) && !isArray(nestedLabel)) {\n width = helpers$1.measureText(ctx, cache.data, cache.gc, width, nestedLabel);\n height += lineHeight;\n }\n }\n }\n\n widths.push(width);\n heights.push(height);\n offsets.push(lineHeight / 2);\n }\n\n garbageCollect(caches, length);\n widest = widths.indexOf(Math.max.apply(null, widths));\n highest = heights.indexOf(Math.max.apply(null, heights));\n\n function valueAt(idx) {\n return {\n width: widths[idx] || 0,\n height: heights[idx] || 0,\n offset: offsets[idx] || 0\n };\n }\n\n return {\n first: valueAt(0),\n last: valueAt(length - 1),\n widest: valueAt(widest),\n highest: valueAt(highest)\n };\n }\n\n function getTickMarkLength(options) {\n return options.drawTicks ? options.tickMarkLength : 0;\n }\n\n function getScaleLabelHeight(options) {\n var font, padding;\n\n if (!options.display) {\n return 0;\n }\n\n font = helpers$1.options._parseFont(options);\n padding = helpers$1.options.toPadding(options.padding);\n return font.lineHeight + padding.height;\n }\n\n function parseFontOptions(options, nestedOpts) {\n return helpers$1.extend(helpers$1.options._parseFont({\n fontFamily: valueOrDefault$a(nestedOpts.fontFamily, options.fontFamily),\n fontSize: valueOrDefault$a(nestedOpts.fontSize, options.fontSize),\n fontStyle: valueOrDefault$a(nestedOpts.fontStyle, options.fontStyle),\n lineHeight: valueOrDefault$a(nestedOpts.lineHeight, options.lineHeight)\n }), {\n color: helpers$1.options.resolve([nestedOpts.fontColor, options.fontColor, core_defaults.global.defaultFontColor])\n });\n }\n\n function parseTickFontOptions(options) {\n var minor = parseFontOptions(options, options.minor);\n var major = options.major.enabled ? parseFontOptions(options, options.major) : minor;\n return {\n minor: minor,\n major: major\n };\n }\n\n function nonSkipped(ticksToFilter) {\n var filtered = [];\n var item, index, len;\n\n for (index = 0, len = ticksToFilter.length; index < len; ++index) {\n item = ticksToFilter[index];\n\n if (typeof item._index !== 'undefined') {\n filtered.push(item);\n }\n }\n\n return filtered;\n }\n\n function getEvenSpacing(arr) {\n var len = arr.length;\n var i, diff;\n\n if (len < 2) {\n return false;\n }\n\n for (diff = arr[0], i = 1; i < len; ++i) {\n if (arr[i] - arr[i - 1] !== diff) {\n return false;\n }\n }\n\n return diff;\n }\n\n function calculateSpacing(majorIndices, ticks, axisLength, ticksLimit) {\n var evenMajorSpacing = getEvenSpacing(majorIndices);\n var spacing = (ticks.length - 1) / ticksLimit;\n var factors, factor, i, ilen; // If the major ticks are evenly spaced apart, place the minor ticks\n // so that they divide the major ticks into even chunks\n\n if (!evenMajorSpacing) {\n return Math.max(spacing, 1);\n }\n\n factors = helpers$1.math._factorize(evenMajorSpacing);\n\n for (i = 0, ilen = factors.length - 1; i < ilen; i++) {\n factor = factors[i];\n\n if (factor > spacing) {\n return factor;\n }\n }\n\n return Math.max(spacing, 1);\n }\n\n function getMajorIndices(ticks) {\n var result = [];\n var i, ilen;\n\n for (i = 0, ilen = ticks.length; i < ilen; i++) {\n if (ticks[i].major) {\n result.push(i);\n }\n }\n\n return result;\n }\n\n function skipMajors(ticks, majorIndices, spacing) {\n var count = 0;\n var next = majorIndices[0];\n var i, tick;\n spacing = Math.ceil(spacing);\n\n for (i = 0; i < ticks.length; i++) {\n tick = ticks[i];\n\n if (i === next) {\n tick._index = i;\n count++;\n next = majorIndices[count * spacing];\n } else {\n delete tick.label;\n }\n }\n }\n\n function skip(ticks, spacing, majorStart, majorEnd) {\n var start = valueOrDefault$a(majorStart, 0);\n var end = Math.min(valueOrDefault$a(majorEnd, ticks.length), ticks.length);\n var count = 0;\n var length, i, tick, next;\n spacing = Math.ceil(spacing);\n\n if (majorEnd) {\n length = majorEnd - majorStart;\n spacing = length / Math.floor(length / spacing);\n }\n\n next = start;\n\n while (next < 0) {\n count++;\n next = Math.round(start + count * spacing);\n }\n\n for (i = Math.max(start, 0); i < end; i++) {\n tick = ticks[i];\n\n if (i === next) {\n tick._index = i;\n count++;\n next = Math.round(start + count * spacing);\n } else {\n delete tick.label;\n }\n }\n }\n\n var Scale = core_element.extend({\n zeroLineIndex: 0,\n\n /**\n * Get the padding needed for the scale\n * @method getPadding\n * @private\n * @returns {Padding} the necessary padding\n */\n getPadding: function getPadding() {\n var me = this;\n return {\n left: me.paddingLeft || 0,\n top: me.paddingTop || 0,\n right: me.paddingRight || 0,\n bottom: me.paddingBottom || 0\n };\n },\n\n /**\n * Returns the scale tick objects ({label, major})\n * @since 2.7\n */\n getTicks: function getTicks() {\n return this._ticks;\n },\n\n /**\n * @private\n */\n _getLabels: function _getLabels() {\n var data = this.chart.data;\n return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels || [];\n },\n // These methods are ordered by lifecyle. Utilities then follow.\n // Any function defined here is inherited by all scale types.\n // Any function can be extended by the scale type\n\n /**\n * Provided for backward compatibility, not available anymore\n * @function Chart.Scale.mergeTicksOptions\n * @deprecated since version 2.8.0\n * @todo remove at version 3\n */\n mergeTicksOptions: function mergeTicksOptions() {// noop\n },\n beforeUpdate: function beforeUpdate() {\n helpers$1.callback(this.options.beforeUpdate, [this]);\n },\n\n /**\n * @param {number} maxWidth - the max width in pixels\n * @param {number} maxHeight - the max height in pixels\n * @param {object} margins - the space between the edge of the other scales and edge of the chart\n * This space comes from two sources:\n * - padding - space that's required to show the labels at the edges of the scale\n * - thickness of scales or legends in another orientation\n */\n update: function update(maxWidth, maxHeight, margins) {\n var me = this;\n var tickOpts = me.options.ticks;\n var sampleSize = tickOpts.sampleSize;\n var i, ilen, labels, ticks, samplingEnabled; // Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\n\n me.beforeUpdate(); // Absorb the master measurements\n\n me.maxWidth = maxWidth;\n me.maxHeight = maxHeight;\n me.margins = helpers$1.extend({\n left: 0,\n right: 0,\n top: 0,\n bottom: 0\n }, margins);\n me._ticks = null;\n me.ticks = null;\n me._labelSizes = null;\n me._maxLabelLines = 0;\n me.longestLabelWidth = 0;\n me.longestTextCache = me.longestTextCache || {};\n me._gridLineItems = null;\n me._labelItems = null; // Dimensions\n\n me.beforeSetDimensions();\n me.setDimensions();\n me.afterSetDimensions(); // Data min/max\n\n me.beforeDataLimits();\n me.determineDataLimits();\n me.afterDataLimits(); // Ticks - `this.ticks` is now DEPRECATED!\n // Internal ticks are now stored as objects in the PRIVATE `this._ticks` member\n // and must not be accessed directly from outside this class. `this.ticks` being\n // around for long time and not marked as private, we can't change its structure\n // without unexpected breaking changes. If you need to access the scale ticks,\n // use scale.getTicks() instead.\n\n me.beforeBuildTicks(); // New implementations should return an array of objects but for BACKWARD COMPAT,\n // we still support no return (`this.ticks` internally set by calling this method).\n\n ticks = me.buildTicks() || []; // Allow modification of ticks in callback.\n\n ticks = me.afterBuildTicks(ticks) || ticks; // Ensure ticks contains ticks in new tick format\n\n if ((!ticks || !ticks.length) && me.ticks) {\n ticks = [];\n\n for (i = 0, ilen = me.ticks.length; i < ilen; ++i) {\n ticks.push({\n value: me.ticks[i],\n major: false\n });\n }\n }\n\n me._ticks = ticks; // Compute tick rotation and fit using a sampled subset of labels\n // We generally don't need to compute the size of every single label for determining scale size\n\n samplingEnabled = sampleSize < ticks.length;\n labels = me._convertTicksToLabels(samplingEnabled ? sample(ticks, sampleSize) : ticks); // _configure is called twice, once here, once from core.controller.updateLayout.\n // Here we haven't been positioned yet, but dimensions are correct.\n // Variables set in _configure are needed for calculateTickRotation, and\n // it's ok that coordinates are not correct there, only dimensions matter.\n\n me._configure(); // Tick Rotation\n\n\n me.beforeCalculateTickRotation();\n me.calculateTickRotation();\n me.afterCalculateTickRotation();\n me.beforeFit();\n me.fit();\n me.afterFit(); // Auto-skip\n\n me._ticksToDraw = tickOpts.display && (tickOpts.autoSkip || tickOpts.source === 'auto') ? me._autoSkip(ticks) : ticks;\n\n if (samplingEnabled) {\n // Generate labels using all non-skipped ticks\n labels = me._convertTicksToLabels(me._ticksToDraw);\n }\n\n me.ticks = labels; // BACKWARD COMPATIBILITY\n // IMPORTANT: after this point, we consider that `this.ticks` will NEVER change!\n\n me.afterUpdate(); // TODO(v3): remove minSize as a public property and return value from all layout boxes. It is unused\n // make maxWidth and maxHeight private\n\n return me.minSize;\n },\n\n /**\n * @private\n */\n _configure: function _configure() {\n var me = this;\n var reversePixels = me.options.ticks.reverse;\n var startPixel, endPixel;\n\n if (me.isHorizontal()) {\n startPixel = me.left;\n endPixel = me.right;\n } else {\n startPixel = me.top;\n endPixel = me.bottom; // by default vertical scales are from bottom to top, so pixels are reversed\n\n reversePixels = !reversePixels;\n }\n\n me._startPixel = startPixel;\n me._endPixel = endPixel;\n me._reversePixels = reversePixels;\n me._length = endPixel - startPixel;\n },\n afterUpdate: function afterUpdate() {\n helpers$1.callback(this.options.afterUpdate, [this]);\n },\n //\n beforeSetDimensions: function beforeSetDimensions() {\n helpers$1.callback(this.options.beforeSetDimensions, [this]);\n },\n setDimensions: function setDimensions() {\n var me = this; // Set the unconstrained dimension before label rotation\n\n if (me.isHorizontal()) {\n // Reset position before calculating rotation\n me.width = me.maxWidth;\n me.left = 0;\n me.right = me.width;\n } else {\n me.height = me.maxHeight; // Reset position before calculating rotation\n\n me.top = 0;\n me.bottom = me.height;\n } // Reset padding\n\n\n me.paddingLeft = 0;\n me.paddingTop = 0;\n me.paddingRight = 0;\n me.paddingBottom = 0;\n },\n afterSetDimensions: function afterSetDimensions() {\n helpers$1.callback(this.options.afterSetDimensions, [this]);\n },\n // Data limits\n beforeDataLimits: function beforeDataLimits() {\n helpers$1.callback(this.options.beforeDataLimits, [this]);\n },\n determineDataLimits: helpers$1.noop,\n afterDataLimits: function afterDataLimits() {\n helpers$1.callback(this.options.afterDataLimits, [this]);\n },\n //\n beforeBuildTicks: function beforeBuildTicks() {\n helpers$1.callback(this.options.beforeBuildTicks, [this]);\n },\n buildTicks: helpers$1.noop,\n afterBuildTicks: function afterBuildTicks(ticks) {\n var me = this; // ticks is empty for old axis implementations here\n\n if (isArray(ticks) && ticks.length) {\n return helpers$1.callback(me.options.afterBuildTicks, [me, ticks]);\n } // Support old implementations (that modified `this.ticks` directly in buildTicks)\n\n\n me.ticks = helpers$1.callback(me.options.afterBuildTicks, [me, me.ticks]) || me.ticks;\n return ticks;\n },\n beforeTickToLabelConversion: function beforeTickToLabelConversion() {\n helpers$1.callback(this.options.beforeTickToLabelConversion, [this]);\n },\n convertTicksToLabels: function convertTicksToLabels() {\n var me = this; // Convert ticks to strings\n\n var tickOpts = me.options.ticks;\n me.ticks = me.ticks.map(tickOpts.userCallback || tickOpts.callback, this);\n },\n afterTickToLabelConversion: function afterTickToLabelConversion() {\n helpers$1.callback(this.options.afterTickToLabelConversion, [this]);\n },\n //\n beforeCalculateTickRotation: function beforeCalculateTickRotation() {\n helpers$1.callback(this.options.beforeCalculateTickRotation, [this]);\n },\n calculateTickRotation: function calculateTickRotation() {\n var me = this;\n var options = me.options;\n var tickOpts = options.ticks;\n var numTicks = me.getTicks().length;\n var minRotation = tickOpts.minRotation || 0;\n var maxRotation = tickOpts.maxRotation;\n var labelRotation = minRotation;\n var labelSizes, maxLabelWidth, maxLabelHeight, maxWidth, tickWidth, maxHeight, maxLabelDiagonal;\n\n if (!me._isVisible() || !tickOpts.display || minRotation >= maxRotation || numTicks <= 1 || !me.isHorizontal()) {\n me.labelRotation = minRotation;\n return;\n }\n\n labelSizes = me._getLabelSizes();\n maxLabelWidth = labelSizes.widest.width;\n maxLabelHeight = labelSizes.highest.height - labelSizes.highest.offset; // Estimate the width of each grid based on the canvas width, the maximum\n // label width and the number of tick intervals\n\n maxWidth = Math.min(me.maxWidth, me.chart.width - maxLabelWidth);\n tickWidth = options.offset ? me.maxWidth / numTicks : maxWidth / (numTicks - 1); // Allow 3 pixels x2 padding either side for label readability\n\n if (maxLabelWidth + 6 > tickWidth) {\n tickWidth = maxWidth / (numTicks - (options.offset ? 0.5 : 1));\n maxHeight = me.maxHeight - getTickMarkLength(options.gridLines) - tickOpts.padding - getScaleLabelHeight(options.scaleLabel);\n maxLabelDiagonal = Math.sqrt(maxLabelWidth * maxLabelWidth + maxLabelHeight * maxLabelHeight);\n labelRotation = helpers$1.toDegrees(Math.min(Math.asin(Math.min((labelSizes.highest.height + 6) / tickWidth, 1)), Math.asin(Math.min(maxHeight / maxLabelDiagonal, 1)) - Math.asin(maxLabelHeight / maxLabelDiagonal)));\n labelRotation = Math.max(minRotation, Math.min(maxRotation, labelRotation));\n }\n\n me.labelRotation = labelRotation;\n },\n afterCalculateTickRotation: function afterCalculateTickRotation() {\n helpers$1.callback(this.options.afterCalculateTickRotation, [this]);\n },\n //\n beforeFit: function beforeFit() {\n helpers$1.callback(this.options.beforeFit, [this]);\n },\n fit: function fit() {\n var me = this; // Reset\n\n var minSize = me.minSize = {\n width: 0,\n height: 0\n };\n var chart = me.chart;\n var opts = me.options;\n var tickOpts = opts.ticks;\n var scaleLabelOpts = opts.scaleLabel;\n var gridLineOpts = opts.gridLines;\n\n var display = me._isVisible();\n\n var isBottom = opts.position === 'bottom';\n var isHorizontal = me.isHorizontal(); // Width\n\n if (isHorizontal) {\n minSize.width = me.maxWidth;\n } else if (display) {\n minSize.width = getTickMarkLength(gridLineOpts) + getScaleLabelHeight(scaleLabelOpts);\n } // height\n\n\n if (!isHorizontal) {\n minSize.height = me.maxHeight; // fill all the height\n } else if (display) {\n minSize.height = getTickMarkLength(gridLineOpts) + getScaleLabelHeight(scaleLabelOpts);\n } // Don't bother fitting the ticks if we are not showing the labels\n\n\n if (tickOpts.display && display) {\n var tickFonts = parseTickFontOptions(tickOpts);\n\n var labelSizes = me._getLabelSizes();\n\n var firstLabelSize = labelSizes.first;\n var lastLabelSize = labelSizes.last;\n var widestLabelSize = labelSizes.widest;\n var highestLabelSize = labelSizes.highest;\n var lineSpace = tickFonts.minor.lineHeight * 0.4;\n var tickPadding = tickOpts.padding;\n\n if (isHorizontal) {\n // A horizontal axis is more constrained by the height.\n var isRotated = me.labelRotation !== 0;\n var angleRadians = helpers$1.toRadians(me.labelRotation);\n var cosRotation = Math.cos(angleRadians);\n var sinRotation = Math.sin(angleRadians);\n var labelHeight = sinRotation * widestLabelSize.width + cosRotation * (highestLabelSize.height - (isRotated ? highestLabelSize.offset : 0)) + (isRotated ? 0 : lineSpace); // padding\n\n minSize.height = Math.min(me.maxHeight, minSize.height + labelHeight + tickPadding);\n var offsetLeft = me.getPixelForTick(0) - me.left;\n var offsetRight = me.right - me.getPixelForTick(me.getTicks().length - 1);\n var paddingLeft, paddingRight; // Ensure that our ticks are always inside the canvas. When rotated, ticks are right aligned\n // which means that the right padding is dominated by the font height\n\n if (isRotated) {\n paddingLeft = isBottom ? cosRotation * firstLabelSize.width + sinRotation * firstLabelSize.offset : sinRotation * (firstLabelSize.height - firstLabelSize.offset);\n paddingRight = isBottom ? sinRotation * (lastLabelSize.height - lastLabelSize.offset) : cosRotation * lastLabelSize.width + sinRotation * lastLabelSize.offset;\n } else {\n paddingLeft = firstLabelSize.width / 2;\n paddingRight = lastLabelSize.width / 2;\n } // Adjust padding taking into account changes in offsets\n // and add 3 px to move away from canvas edges\n\n\n me.paddingLeft = Math.max((paddingLeft - offsetLeft) * me.width / (me.width - offsetLeft), 0) + 3;\n me.paddingRight = Math.max((paddingRight - offsetRight) * me.width / (me.width - offsetRight), 0) + 3;\n } else {\n // A vertical axis is more constrained by the width. Labels are the\n // dominant factor here, so get that length first and account for padding\n var labelWidth = tickOpts.mirror ? 0 : // use lineSpace for consistency with horizontal axis\n // tickPadding is not implemented for horizontal\n widestLabelSize.width + tickPadding + lineSpace;\n minSize.width = Math.min(me.maxWidth, minSize.width + labelWidth);\n me.paddingTop = firstLabelSize.height / 2;\n me.paddingBottom = lastLabelSize.height / 2;\n }\n }\n\n me.handleMargins();\n\n if (isHorizontal) {\n me.width = me._length = chart.width - me.margins.left - me.margins.right;\n me.height = minSize.height;\n } else {\n me.width = minSize.width;\n me.height = me._length = chart.height - me.margins.top - me.margins.bottom;\n }\n },\n\n /**\n * Handle margins and padding interactions\n * @private\n */\n handleMargins: function handleMargins() {\n var me = this;\n\n if (me.margins) {\n me.margins.left = Math.max(me.paddingLeft, me.margins.left);\n me.margins.top = Math.max(me.paddingTop, me.margins.top);\n me.margins.right = Math.max(me.paddingRight, me.margins.right);\n me.margins.bottom = Math.max(me.paddingBottom, me.margins.bottom);\n }\n },\n afterFit: function afterFit() {\n helpers$1.callback(this.options.afterFit, [this]);\n },\n // Shared Methods\n isHorizontal: function isHorizontal() {\n var pos = this.options.position;\n return pos === 'top' || pos === 'bottom';\n },\n isFullWidth: function isFullWidth() {\n return this.options.fullWidth;\n },\n // Get the correct value. NaN bad inputs, If the value type is object get the x or y based on whether we are horizontal or not\n getRightValue: function getRightValue(rawValue) {\n // Null and undefined values first\n if (isNullOrUndef(rawValue)) {\n return NaN;\n } // isNaN(object) returns true, so make sure NaN is checking for a number; Discard Infinite values\n\n\n if ((typeof rawValue === 'number' || rawValue instanceof Number) && !isFinite(rawValue)) {\n return NaN;\n } // If it is in fact an object, dive in one more level\n\n\n if (rawValue) {\n if (this.isHorizontal()) {\n if (rawValue.x !== undefined) {\n return this.getRightValue(rawValue.x);\n }\n } else if (rawValue.y !== undefined) {\n return this.getRightValue(rawValue.y);\n }\n } // Value is good, return it\n\n\n return rawValue;\n },\n _convertTicksToLabels: function _convertTicksToLabels(ticks) {\n var me = this;\n var labels, i, ilen;\n me.ticks = ticks.map(function (tick) {\n return tick.value;\n });\n me.beforeTickToLabelConversion(); // New implementations should return the formatted tick labels but for BACKWARD\n // COMPAT, we still support no return (`this.ticks` internally changed by calling\n // this method and supposed to contain only string values).\n\n labels = me.convertTicksToLabels(ticks) || me.ticks;\n me.afterTickToLabelConversion(); // BACKWARD COMPAT: synchronize `_ticks` with labels (so potentially `this.ticks`)\n\n for (i = 0, ilen = ticks.length; i < ilen; ++i) {\n ticks[i].label = labels[i];\n }\n\n return labels;\n },\n\n /**\n * @private\n */\n _getLabelSizes: function _getLabelSizes() {\n var me = this;\n var labelSizes = me._labelSizes;\n\n if (!labelSizes) {\n me._labelSizes = labelSizes = computeLabelSizes(me.ctx, parseTickFontOptions(me.options.ticks), me.getTicks(), me.longestTextCache);\n me.longestLabelWidth = labelSizes.widest.width;\n }\n\n return labelSizes;\n },\n\n /**\n * @private\n */\n _parseValue: function _parseValue(value) {\n var start, end, min, max;\n\n if (isArray(value)) {\n start = +this.getRightValue(value[0]);\n end = +this.getRightValue(value[1]);\n min = Math.min(start, end);\n max = Math.max(start, end);\n } else {\n value = +this.getRightValue(value);\n start = undefined;\n end = value;\n min = value;\n max = value;\n }\n\n return {\n min: min,\n max: max,\n start: start,\n end: end\n };\n },\n\n /**\n * @private\n */\n _getScaleLabel: function _getScaleLabel(rawValue) {\n var v = this._parseValue(rawValue);\n\n if (v.start !== undefined) {\n return '[' + v.start + ', ' + v.end + ']';\n }\n\n return +this.getRightValue(rawValue);\n },\n\n /**\n * Used to get the value to display in the tooltip for the data at the given index\n * @param index\n * @param datasetIndex\n */\n getLabelForIndex: helpers$1.noop,\n\n /**\n * Returns the location of the given data point. Value can either be an index or a numerical value\n * The coordinate (0, 0) is at the upper-left corner of the canvas\n * @param value\n * @param index\n * @param datasetIndex\n */\n getPixelForValue: helpers$1.noop,\n\n /**\n * Used to get the data value from a given pixel. This is the inverse of getPixelForValue\n * The coordinate (0, 0) is at the upper-left corner of the canvas\n * @param pixel\n */\n getValueForPixel: helpers$1.noop,\n\n /**\n * Returns the location of the tick at the given index\n * The coordinate (0, 0) is at the upper-left corner of the canvas\n */\n getPixelForTick: function getPixelForTick(index) {\n var me = this;\n var offset = me.options.offset;\n var numTicks = me._ticks.length;\n var tickWidth = 1 / Math.max(numTicks - (offset ? 0 : 1), 1);\n return index < 0 || index > numTicks - 1 ? null : me.getPixelForDecimal(index * tickWidth + (offset ? tickWidth / 2 : 0));\n },\n\n /**\n * Utility for getting the pixel location of a percentage of scale\n * The coordinate (0, 0) is at the upper-left corner of the canvas\n */\n getPixelForDecimal: function getPixelForDecimal(decimal) {\n var me = this;\n\n if (me._reversePixels) {\n decimal = 1 - decimal;\n }\n\n return me._startPixel + decimal * me._length;\n },\n getDecimalForPixel: function getDecimalForPixel(pixel) {\n var decimal = (pixel - this._startPixel) / this._length;\n return this._reversePixels ? 1 - decimal : decimal;\n },\n\n /**\n * Returns the pixel for the minimum chart value\n * The coordinate (0, 0) is at the upper-left corner of the canvas\n */\n getBasePixel: function getBasePixel() {\n return this.getPixelForValue(this.getBaseValue());\n },\n getBaseValue: function getBaseValue() {\n var me = this;\n var min = me.min;\n var max = me.max;\n return me.beginAtZero ? 0 : min < 0 && max < 0 ? max : min > 0 && max > 0 ? min : 0;\n },\n\n /**\n * Returns a subset of ticks to be plotted to avoid overlapping labels.\n * @private\n */\n _autoSkip: function _autoSkip(ticks) {\n var me = this;\n var tickOpts = me.options.ticks;\n var axisLength = me._length;\n var ticksLimit = tickOpts.maxTicksLimit || axisLength / me._tickSize() + 1;\n var majorIndices = tickOpts.major.enabled ? getMajorIndices(ticks) : [];\n var numMajorIndices = majorIndices.length;\n var first = majorIndices[0];\n var last = majorIndices[numMajorIndices - 1];\n var i, ilen, spacing, avgMajorSpacing; // If there are too many major ticks to display them all\n\n if (numMajorIndices > ticksLimit) {\n skipMajors(ticks, majorIndices, numMajorIndices / ticksLimit);\n return nonSkipped(ticks);\n }\n\n spacing = calculateSpacing(majorIndices, ticks, axisLength, ticksLimit);\n\n if (numMajorIndices > 0) {\n for (i = 0, ilen = numMajorIndices - 1; i < ilen; i++) {\n skip(ticks, spacing, majorIndices[i], majorIndices[i + 1]);\n }\n\n avgMajorSpacing = numMajorIndices > 1 ? (last - first) / (numMajorIndices - 1) : null;\n skip(ticks, spacing, helpers$1.isNullOrUndef(avgMajorSpacing) ? 0 : first - avgMajorSpacing, first);\n skip(ticks, spacing, last, helpers$1.isNullOrUndef(avgMajorSpacing) ? ticks.length : last + avgMajorSpacing);\n return nonSkipped(ticks);\n }\n\n skip(ticks, spacing);\n return nonSkipped(ticks);\n },\n\n /**\n * @private\n */\n _tickSize: function _tickSize() {\n var me = this;\n var optionTicks = me.options.ticks; // Calculate space needed by label in axis direction.\n\n var rot = helpers$1.toRadians(me.labelRotation);\n var cos = Math.abs(Math.cos(rot));\n var sin = Math.abs(Math.sin(rot));\n\n var labelSizes = me._getLabelSizes();\n\n var padding = optionTicks.autoSkipPadding || 0;\n var w = labelSizes ? labelSizes.widest.width + padding : 0;\n var h = labelSizes ? labelSizes.highest.height + padding : 0; // Calculate space needed for 1 tick in axis direction.\n\n return me.isHorizontal() ? h * cos > w * sin ? w / cos : h / sin : h * sin < w * cos ? h / cos : w / sin;\n },\n\n /**\n * @private\n */\n _isVisible: function _isVisible() {\n var me = this;\n var chart = me.chart;\n var display = me.options.display;\n var i, ilen, meta;\n\n if (display !== 'auto') {\n return !!display;\n } // When 'auto', the scale is visible if at least one associated dataset is visible.\n\n\n for (i = 0, ilen = chart.data.datasets.length; i < ilen; ++i) {\n if (chart.isDatasetVisible(i)) {\n meta = chart.getDatasetMeta(i);\n\n if (meta.xAxisID === me.id || meta.yAxisID === me.id) {\n return true;\n }\n }\n }\n\n return false;\n },\n\n /**\n * @private\n */\n _computeGridLineItems: function _computeGridLineItems(chartArea) {\n var me = this;\n var chart = me.chart;\n var options = me.options;\n var gridLines = options.gridLines;\n var position = options.position;\n var offsetGridLines = gridLines.offsetGridLines;\n var isHorizontal = me.isHorizontal();\n var ticks = me._ticksToDraw;\n var ticksLength = ticks.length + (offsetGridLines ? 1 : 0);\n var tl = getTickMarkLength(gridLines);\n var items = [];\n var axisWidth = gridLines.drawBorder ? valueAtIndexOrDefault(gridLines.lineWidth, 0, 0) : 0;\n var axisHalfWidth = axisWidth / 2;\n var alignPixel = helpers$1._alignPixel;\n\n var alignBorderValue = function alignBorderValue(pixel) {\n return alignPixel(chart, pixel, axisWidth);\n };\n\n var borderValue, i, tick, lineValue, alignedLineValue;\n var tx1, ty1, tx2, ty2, x1, y1, x2, y2, lineWidth, lineColor, borderDash, borderDashOffset;\n\n if (position === 'top') {\n borderValue = alignBorderValue(me.bottom);\n ty1 = me.bottom - tl;\n ty2 = borderValue - axisHalfWidth;\n y1 = alignBorderValue(chartArea.top) + axisHalfWidth;\n y2 = chartArea.bottom;\n } else if (position === 'bottom') {\n borderValue = alignBorderValue(me.top);\n y1 = chartArea.top;\n y2 = alignBorderValue(chartArea.bottom) - axisHalfWidth;\n ty1 = borderValue + axisHalfWidth;\n ty2 = me.top + tl;\n } else if (position === 'left') {\n borderValue = alignBorderValue(me.right);\n tx1 = me.right - tl;\n tx2 = borderValue - axisHalfWidth;\n x1 = alignBorderValue(chartArea.left) + axisHalfWidth;\n x2 = chartArea.right;\n } else {\n borderValue = alignBorderValue(me.left);\n x1 = chartArea.left;\n x2 = alignBorderValue(chartArea.right) - axisHalfWidth;\n tx1 = borderValue + axisHalfWidth;\n tx2 = me.left + tl;\n }\n\n for (i = 0; i < ticksLength; ++i) {\n tick = ticks[i] || {}; // autoskipper skipped this tick (#4635)\n\n if (isNullOrUndef(tick.label) && i < ticks.length) {\n continue;\n }\n\n if (i === me.zeroLineIndex && options.offset === offsetGridLines) {\n // Draw the first index specially\n lineWidth = gridLines.zeroLineWidth;\n lineColor = gridLines.zeroLineColor;\n borderDash = gridLines.zeroLineBorderDash || [];\n borderDashOffset = gridLines.zeroLineBorderDashOffset || 0.0;\n } else {\n lineWidth = valueAtIndexOrDefault(gridLines.lineWidth, i, 1);\n lineColor = valueAtIndexOrDefault(gridLines.color, i, 'rgba(0,0,0,0.1)');\n borderDash = gridLines.borderDash || [];\n borderDashOffset = gridLines.borderDashOffset || 0.0;\n }\n\n lineValue = getPixelForGridLine(me, tick._index || i, offsetGridLines); // Skip if the pixel is out of the range\n\n if (lineValue === undefined) {\n continue;\n }\n\n alignedLineValue = alignPixel(chart, lineValue, lineWidth);\n\n if (isHorizontal) {\n tx1 = tx2 = x1 = x2 = alignedLineValue;\n } else {\n ty1 = ty2 = y1 = y2 = alignedLineValue;\n }\n\n items.push({\n tx1: tx1,\n ty1: ty1,\n tx2: tx2,\n ty2: ty2,\n x1: x1,\n y1: y1,\n x2: x2,\n y2: y2,\n width: lineWidth,\n color: lineColor,\n borderDash: borderDash,\n borderDashOffset: borderDashOffset\n });\n }\n\n items.ticksLength = ticksLength;\n items.borderValue = borderValue;\n return items;\n },\n\n /**\n * @private\n */\n _computeLabelItems: function _computeLabelItems() {\n var me = this;\n var options = me.options;\n var optionTicks = options.ticks;\n var position = options.position;\n var isMirrored = optionTicks.mirror;\n var isHorizontal = me.isHorizontal();\n var ticks = me._ticksToDraw;\n var fonts = parseTickFontOptions(optionTicks);\n var tickPadding = optionTicks.padding;\n var tl = getTickMarkLength(options.gridLines);\n var rotation = -helpers$1.toRadians(me.labelRotation);\n var items = [];\n var i, ilen, tick, label, x, y, textAlign, pixel, font, lineHeight, lineCount, textOffset;\n\n if (position === 'top') {\n y = me.bottom - tl - tickPadding;\n textAlign = !rotation ? 'center' : 'left';\n } else if (position === 'bottom') {\n y = me.top + tl + tickPadding;\n textAlign = !rotation ? 'center' : 'right';\n } else if (position === 'left') {\n x = me.right - (isMirrored ? 0 : tl) - tickPadding;\n textAlign = isMirrored ? 'left' : 'right';\n } else {\n x = me.left + (isMirrored ? 0 : tl) + tickPadding;\n textAlign = isMirrored ? 'right' : 'left';\n }\n\n for (i = 0, ilen = ticks.length; i < ilen; ++i) {\n tick = ticks[i];\n label = tick.label; // autoskipper skipped this tick (#4635)\n\n if (isNullOrUndef(label)) {\n continue;\n }\n\n pixel = me.getPixelForTick(tick._index || i) + optionTicks.labelOffset;\n font = tick.major ? fonts.major : fonts.minor;\n lineHeight = font.lineHeight;\n lineCount = isArray(label) ? label.length : 1;\n\n if (isHorizontal) {\n x = pixel;\n textOffset = position === 'top' ? ((!rotation ? 0.5 : 1) - lineCount) * lineHeight : (!rotation ? 0.5 : 0) * lineHeight;\n } else {\n y = pixel;\n textOffset = (1 - lineCount) * lineHeight / 2;\n }\n\n items.push({\n x: x,\n y: y,\n rotation: rotation,\n label: label,\n font: font,\n textOffset: textOffset,\n textAlign: textAlign\n });\n }\n\n return items;\n },\n\n /**\n * @private\n */\n _drawGrid: function _drawGrid(chartArea) {\n var me = this;\n var gridLines = me.options.gridLines;\n\n if (!gridLines.display) {\n return;\n }\n\n var ctx = me.ctx;\n var chart = me.chart;\n var alignPixel = helpers$1._alignPixel;\n var axisWidth = gridLines.drawBorder ? valueAtIndexOrDefault(gridLines.lineWidth, 0, 0) : 0;\n\n var items = me._gridLineItems || (me._gridLineItems = me._computeGridLineItems(chartArea));\n\n var width, color, i, ilen, item;\n\n for (i = 0, ilen = items.length; i < ilen; ++i) {\n item = items[i];\n width = item.width;\n color = item.color;\n\n if (width && color) {\n ctx.save();\n ctx.lineWidth = width;\n ctx.strokeStyle = color;\n\n if (ctx.setLineDash) {\n ctx.setLineDash(item.borderDash);\n ctx.lineDashOffset = item.borderDashOffset;\n }\n\n ctx.beginPath();\n\n if (gridLines.drawTicks) {\n ctx.moveTo(item.tx1, item.ty1);\n ctx.lineTo(item.tx2, item.ty2);\n }\n\n if (gridLines.drawOnChartArea) {\n ctx.moveTo(item.x1, item.y1);\n ctx.lineTo(item.x2, item.y2);\n }\n\n ctx.stroke();\n ctx.restore();\n }\n }\n\n if (axisWidth) {\n // Draw the line at the edge of the axis\n var firstLineWidth = axisWidth;\n var lastLineWidth = valueAtIndexOrDefault(gridLines.lineWidth, items.ticksLength - 1, 1);\n var borderValue = items.borderValue;\n var x1, x2, y1, y2;\n\n if (me.isHorizontal()) {\n x1 = alignPixel(chart, me.left, firstLineWidth) - firstLineWidth / 2;\n x2 = alignPixel(chart, me.right, lastLineWidth) + lastLineWidth / 2;\n y1 = y2 = borderValue;\n } else {\n y1 = alignPixel(chart, me.top, firstLineWidth) - firstLineWidth / 2;\n y2 = alignPixel(chart, me.bottom, lastLineWidth) + lastLineWidth / 2;\n x1 = x2 = borderValue;\n }\n\n ctx.lineWidth = axisWidth;\n ctx.strokeStyle = valueAtIndexOrDefault(gridLines.color, 0);\n ctx.beginPath();\n ctx.moveTo(x1, y1);\n ctx.lineTo(x2, y2);\n ctx.stroke();\n }\n },\n\n /**\n * @private\n */\n _drawLabels: function _drawLabels() {\n var me = this;\n var optionTicks = me.options.ticks;\n\n if (!optionTicks.display) {\n return;\n }\n\n var ctx = me.ctx;\n\n var items = me._labelItems || (me._labelItems = me._computeLabelItems());\n\n var i, j, ilen, jlen, item, tickFont, label, y;\n\n for (i = 0, ilen = items.length; i < ilen; ++i) {\n item = items[i];\n tickFont = item.font; // Make sure we draw text in the correct color and font\n\n ctx.save();\n ctx.translate(item.x, item.y);\n ctx.rotate(item.rotation);\n ctx.font = tickFont.string;\n ctx.fillStyle = tickFont.color;\n ctx.textBaseline = 'middle';\n ctx.textAlign = item.textAlign;\n label = item.label;\n y = item.textOffset;\n\n if (isArray(label)) {\n for (j = 0, jlen = label.length; j < jlen; ++j) {\n // We just make sure the multiline element is a string here..\n ctx.fillText('' + label[j], 0, y);\n y += tickFont.lineHeight;\n }\n } else {\n ctx.fillText(label, 0, y);\n }\n\n ctx.restore();\n }\n },\n\n /**\n * @private\n */\n _drawTitle: function _drawTitle() {\n var me = this;\n var ctx = me.ctx;\n var options = me.options;\n var scaleLabel = options.scaleLabel;\n\n if (!scaleLabel.display) {\n return;\n }\n\n var scaleLabelFontColor = valueOrDefault$a(scaleLabel.fontColor, core_defaults.global.defaultFontColor);\n\n var scaleLabelFont = helpers$1.options._parseFont(scaleLabel);\n\n var scaleLabelPadding = helpers$1.options.toPadding(scaleLabel.padding);\n var halfLineHeight = scaleLabelFont.lineHeight / 2;\n var position = options.position;\n var rotation = 0;\n var scaleLabelX, scaleLabelY;\n\n if (me.isHorizontal()) {\n scaleLabelX = me.left + me.width / 2; // midpoint of the width\n\n scaleLabelY = position === 'bottom' ? me.bottom - halfLineHeight - scaleLabelPadding.bottom : me.top + halfLineHeight + scaleLabelPadding.top;\n } else {\n var isLeft = position === 'left';\n scaleLabelX = isLeft ? me.left + halfLineHeight + scaleLabelPadding.top : me.right - halfLineHeight - scaleLabelPadding.top;\n scaleLabelY = me.top + me.height / 2;\n rotation = isLeft ? -0.5 * Math.PI : 0.5 * Math.PI;\n }\n\n ctx.save();\n ctx.translate(scaleLabelX, scaleLabelY);\n ctx.rotate(rotation);\n ctx.textAlign = 'center';\n ctx.textBaseline = 'middle';\n ctx.fillStyle = scaleLabelFontColor; // render in correct colour\n\n ctx.font = scaleLabelFont.string;\n ctx.fillText(scaleLabel.labelString, 0, 0);\n ctx.restore();\n },\n draw: function draw(chartArea) {\n var me = this;\n\n if (!me._isVisible()) {\n return;\n }\n\n me._drawGrid(chartArea);\n\n me._drawTitle();\n\n me._drawLabels();\n },\n\n /**\n * @private\n */\n _layers: function _layers() {\n var me = this;\n var opts = me.options;\n var tz = opts.ticks && opts.ticks.z || 0;\n var gz = opts.gridLines && opts.gridLines.z || 0;\n\n if (!me._isVisible() || tz === gz || me.draw !== me._draw) {\n // backward compatibility: draw has been overridden by custom scale\n return [{\n z: tz,\n draw: function draw() {\n me.draw.apply(me, arguments);\n }\n }];\n }\n\n return [{\n z: gz,\n draw: function draw() {\n me._drawGrid.apply(me, arguments);\n\n me._drawTitle.apply(me, arguments);\n }\n }, {\n z: tz,\n draw: function draw() {\n me._drawLabels.apply(me, arguments);\n }\n }];\n },\n\n /**\n * @private\n */\n _getMatchingVisibleMetas: function _getMatchingVisibleMetas(type) {\n var me = this;\n var isHorizontal = me.isHorizontal();\n return me.chart._getSortedVisibleDatasetMetas().filter(function (meta) {\n return (!type || meta.type === type) && (isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id);\n });\n }\n });\n Scale.prototype._draw = Scale.prototype.draw;\n var core_scale = Scale;\n var isNullOrUndef$1 = helpers$1.isNullOrUndef;\n var defaultConfig = {\n position: 'bottom'\n };\n var scale_category = core_scale.extend({\n determineDataLimits: function determineDataLimits() {\n var me = this;\n\n var labels = me._getLabels();\n\n var ticksOpts = me.options.ticks;\n var min = ticksOpts.min;\n var max = ticksOpts.max;\n var minIndex = 0;\n var maxIndex = labels.length - 1;\n var findIndex;\n\n if (min !== undefined) {\n // user specified min value\n findIndex = labels.indexOf(min);\n\n if (findIndex >= 0) {\n minIndex = findIndex;\n }\n }\n\n if (max !== undefined) {\n // user specified max value\n findIndex = labels.indexOf(max);\n\n if (findIndex >= 0) {\n maxIndex = findIndex;\n }\n }\n\n me.minIndex = minIndex;\n me.maxIndex = maxIndex;\n me.min = labels[minIndex];\n me.max = labels[maxIndex];\n },\n buildTicks: function buildTicks() {\n var me = this;\n\n var labels = me._getLabels();\n\n var minIndex = me.minIndex;\n var maxIndex = me.maxIndex; // If we are viewing some subset of labels, slice the original array\n\n me.ticks = minIndex === 0 && maxIndex === labels.length - 1 ? labels : labels.slice(minIndex, maxIndex + 1);\n },\n getLabelForIndex: function getLabelForIndex(index, datasetIndex) {\n var me = this;\n var chart = me.chart;\n\n if (chart.getDatasetMeta(datasetIndex).controller._getValueScaleId() === me.id) {\n return me.getRightValue(chart.data.datasets[datasetIndex].data[index]);\n }\n\n return me._getLabels()[index];\n },\n _configure: function _configure() {\n var me = this;\n var offset = me.options.offset;\n var ticks = me.ticks;\n\n core_scale.prototype._configure.call(me);\n\n if (!me.isHorizontal()) {\n // For backward compatibility, vertical category scale reverse is inverted.\n me._reversePixels = !me._reversePixels;\n }\n\n if (!ticks) {\n return;\n }\n\n me._startValue = me.minIndex - (offset ? 0.5 : 0);\n me._valueRange = Math.max(ticks.length - (offset ? 0 : 1), 1);\n },\n // Used to get data value locations. Value can either be an index or a numerical value\n getPixelForValue: function getPixelForValue(value, index, datasetIndex) {\n var me = this;\n var valueCategory, labels, idx;\n\n if (!isNullOrUndef$1(index) && !isNullOrUndef$1(datasetIndex)) {\n value = me.chart.data.datasets[datasetIndex].data[index];\n } // If value is a data object, then index is the index in the data array,\n // not the index of the scale. We need to change that.\n\n\n if (!isNullOrUndef$1(value)) {\n valueCategory = me.isHorizontal() ? value.x : value.y;\n }\n\n if (valueCategory !== undefined || value !== undefined && isNaN(index)) {\n labels = me._getLabels();\n value = helpers$1.valueOrDefault(valueCategory, value);\n idx = labels.indexOf(value);\n index = idx !== -1 ? idx : index;\n\n if (isNaN(index)) {\n index = value;\n }\n }\n\n return me.getPixelForDecimal((index - me._startValue) / me._valueRange);\n },\n getPixelForTick: function getPixelForTick(index) {\n var ticks = this.ticks;\n return index < 0 || index > ticks.length - 1 ? null : this.getPixelForValue(ticks[index], index + this.minIndex);\n },\n getValueForPixel: function getValueForPixel(pixel) {\n var me = this;\n var value = Math.round(me._startValue + me.getDecimalForPixel(pixel) * me._valueRange);\n return Math.min(Math.max(value, 0), me.ticks.length - 1);\n },\n getBasePixel: function getBasePixel() {\n return this.bottom;\n }\n }); // INTERNAL: static default options, registered in src/index.js\n\n var _defaults = defaultConfig;\n scale_category._defaults = _defaults;\n var noop = helpers$1.noop;\n var isNullOrUndef$2 = helpers$1.isNullOrUndef;\n /**\n * Generate a set of linear ticks\n * @param generationOptions the options used to generate the ticks\n * @param dataRange the range of the data\n * @returns {number[]} array of tick values\n */\n\n function generateTicks(generationOptions, dataRange) {\n var ticks = []; // To get a \"nice\" value for the tick spacing, we will use the appropriately named\n // \"nice number\" algorithm. See https://stackoverflow.com/questions/8506881/nice-label-algorithm-for-charts-with-minimum-ticks\n // for details.\n\n var MIN_SPACING = 1e-14;\n var stepSize = generationOptions.stepSize;\n var unit = stepSize || 1;\n var maxNumSpaces = generationOptions.maxTicks - 1;\n var min = generationOptions.min;\n var max = generationOptions.max;\n var precision = generationOptions.precision;\n var rmin = dataRange.min;\n var rmax = dataRange.max;\n var spacing = helpers$1.niceNum((rmax - rmin) / maxNumSpaces / unit) * unit;\n var factor, niceMin, niceMax, numSpaces; // Beyond MIN_SPACING floating point numbers being to lose precision\n // such that we can't do the math necessary to generate ticks\n\n if (spacing < MIN_SPACING && isNullOrUndef$2(min) && isNullOrUndef$2(max)) {\n return [rmin, rmax];\n }\n\n numSpaces = Math.ceil(rmax / spacing) - Math.floor(rmin / spacing);\n\n if (numSpaces > maxNumSpaces) {\n // If the calculated num of spaces exceeds maxNumSpaces, recalculate it\n spacing = helpers$1.niceNum(numSpaces * spacing / maxNumSpaces / unit) * unit;\n }\n\n if (stepSize || isNullOrUndef$2(precision)) {\n // If a precision is not specified, calculate factor based on spacing\n factor = Math.pow(10, helpers$1._decimalPlaces(spacing));\n } else {\n // If the user specified a precision, round to that number of decimal places\n factor = Math.pow(10, precision);\n spacing = Math.ceil(spacing * factor) / factor;\n }\n\n niceMin = Math.floor(rmin / spacing) * spacing;\n niceMax = Math.ceil(rmax / spacing) * spacing; // If min, max and stepSize is set and they make an evenly spaced scale use it.\n\n if (stepSize) {\n // If very close to our whole number, use it.\n if (!isNullOrUndef$2(min) && helpers$1.almostWhole(min / spacing, spacing / 1000)) {\n niceMin = min;\n }\n\n if (!isNullOrUndef$2(max) && helpers$1.almostWhole(max / spacing, spacing / 1000)) {\n niceMax = max;\n }\n }\n\n numSpaces = (niceMax - niceMin) / spacing; // If very close to our rounded value, use it.\n\n if (helpers$1.almostEquals(numSpaces, Math.round(numSpaces), spacing / 1000)) {\n numSpaces = Math.round(numSpaces);\n } else {\n numSpaces = Math.ceil(numSpaces);\n }\n\n niceMin = Math.round(niceMin * factor) / factor;\n niceMax = Math.round(niceMax * factor) / factor;\n ticks.push(isNullOrUndef$2(min) ? niceMin : min);\n\n for (var j = 1; j < numSpaces; ++j) {\n ticks.push(Math.round((niceMin + j * spacing) * factor) / factor);\n }\n\n ticks.push(isNullOrUndef$2(max) ? niceMax : max);\n return ticks;\n }\n\n var scale_linearbase = core_scale.extend({\n getRightValue: function getRightValue(value) {\n if (typeof value === 'string') {\n return +value;\n }\n\n return core_scale.prototype.getRightValue.call(this, value);\n },\n handleTickRangeOptions: function handleTickRangeOptions() {\n var me = this;\n var opts = me.options;\n var tickOpts = opts.ticks; // If we are forcing it to begin at 0, but 0 will already be rendered on the chart,\n // do nothing since that would make the chart weird. If the user really wants a weird chart\n // axis, they can manually override it\n\n if (tickOpts.beginAtZero) {\n var minSign = helpers$1.sign(me.min);\n var maxSign = helpers$1.sign(me.max);\n\n if (minSign < 0 && maxSign < 0) {\n // move the top up to 0\n me.max = 0;\n } else if (minSign > 0 && maxSign > 0) {\n // move the bottom down to 0\n me.min = 0;\n }\n }\n\n var setMin = tickOpts.min !== undefined || tickOpts.suggestedMin !== undefined;\n var setMax = tickOpts.max !== undefined || tickOpts.suggestedMax !== undefined;\n\n if (tickOpts.min !== undefined) {\n me.min = tickOpts.min;\n } else if (tickOpts.suggestedMin !== undefined) {\n if (me.min === null) {\n me.min = tickOpts.suggestedMin;\n } else {\n me.min = Math.min(me.min, tickOpts.suggestedMin);\n }\n }\n\n if (tickOpts.max !== undefined) {\n me.max = tickOpts.max;\n } else if (tickOpts.suggestedMax !== undefined) {\n if (me.max === null) {\n me.max = tickOpts.suggestedMax;\n } else {\n me.max = Math.max(me.max, tickOpts.suggestedMax);\n }\n }\n\n if (setMin !== setMax) {\n // We set the min or the max but not both.\n // So ensure that our range is good\n // Inverted or 0 length range can happen when\n // ticks.min is set, and no datasets are visible\n if (me.min >= me.max) {\n if (setMin) {\n me.max = me.min + 1;\n } else {\n me.min = me.max - 1;\n }\n }\n }\n\n if (me.min === me.max) {\n me.max++;\n\n if (!tickOpts.beginAtZero) {\n me.min--;\n }\n }\n },\n getTickLimit: function getTickLimit() {\n var me = this;\n var tickOpts = me.options.ticks;\n var stepSize = tickOpts.stepSize;\n var maxTicksLimit = tickOpts.maxTicksLimit;\n var maxTicks;\n\n if (stepSize) {\n maxTicks = Math.ceil(me.max / stepSize) - Math.floor(me.min / stepSize) + 1;\n } else {\n maxTicks = me._computeTickLimit();\n maxTicksLimit = maxTicksLimit || 11;\n }\n\n if (maxTicksLimit) {\n maxTicks = Math.min(maxTicksLimit, maxTicks);\n }\n\n return maxTicks;\n },\n _computeTickLimit: function _computeTickLimit() {\n return Number.POSITIVE_INFINITY;\n },\n handleDirectionalChanges: noop,\n buildTicks: function buildTicks() {\n var me = this;\n var opts = me.options;\n var tickOpts = opts.ticks; // Figure out what the max number of ticks we can support it is based on the size of\n // the axis area. For now, we say that the minimum tick spacing in pixels must be 40\n // We also limit the maximum number of ticks to 11 which gives a nice 10 squares on\n // the graph. Make sure we always have at least 2 ticks\n\n var maxTicks = me.getTickLimit();\n maxTicks = Math.max(2, maxTicks);\n var numericGeneratorOptions = {\n maxTicks: maxTicks,\n min: tickOpts.min,\n max: tickOpts.max,\n precision: tickOpts.precision,\n stepSize: helpers$1.valueOrDefault(tickOpts.fixedStepSize, tickOpts.stepSize)\n };\n var ticks = me.ticks = generateTicks(numericGeneratorOptions, me);\n me.handleDirectionalChanges(); // At this point, we need to update our max and min given the tick values since we have expanded the\n // range of the scale\n\n me.max = helpers$1.max(ticks);\n me.min = helpers$1.min(ticks);\n\n if (tickOpts.reverse) {\n ticks.reverse();\n me.start = me.max;\n me.end = me.min;\n } else {\n me.start = me.min;\n me.end = me.max;\n }\n },\n convertTicksToLabels: function convertTicksToLabels() {\n var me = this;\n me.ticksAsNumbers = me.ticks.slice();\n me.zeroLineIndex = me.ticks.indexOf(0);\n core_scale.prototype.convertTicksToLabels.call(me);\n },\n _configure: function _configure() {\n var me = this;\n var ticks = me.getTicks();\n var start = me.min;\n var end = me.max;\n var offset;\n\n core_scale.prototype._configure.call(me);\n\n if (me.options.offset && ticks.length) {\n offset = (end - start) / Math.max(ticks.length - 1, 1) / 2;\n start -= offset;\n end += offset;\n }\n\n me._startValue = start;\n me._endValue = end;\n me._valueRange = end - start;\n }\n });\n var defaultConfig$1 = {\n position: 'left',\n ticks: {\n callback: core_ticks.formatters.linear\n }\n };\n var DEFAULT_MIN = 0;\n var DEFAULT_MAX = 1;\n\n function getOrCreateStack(stacks, stacked, meta) {\n var key = [meta.type, // we have a separate stack for stack=undefined datasets when the opts.stacked is undefined\n stacked === undefined && meta.stack === undefined ? meta.index : '', meta.stack].join('.');\n\n if (stacks[key] === undefined) {\n stacks[key] = {\n pos: [],\n neg: []\n };\n }\n\n return stacks[key];\n }\n\n function stackData(scale, stacks, meta, data) {\n var opts = scale.options;\n var stacked = opts.stacked;\n var stack = getOrCreateStack(stacks, stacked, meta);\n var pos = stack.pos;\n var neg = stack.neg;\n var ilen = data.length;\n var i, value;\n\n for (i = 0; i < ilen; ++i) {\n value = scale._parseValue(data[i]);\n\n if (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden) {\n continue;\n }\n\n pos[i] = pos[i] || 0;\n neg[i] = neg[i] || 0;\n\n if (opts.relativePoints) {\n pos[i] = 100;\n } else if (value.min < 0 || value.max < 0) {\n neg[i] += value.min;\n } else {\n pos[i] += value.max;\n }\n }\n }\n\n function updateMinMax(scale, meta, data) {\n var ilen = data.length;\n var i, value;\n\n for (i = 0; i < ilen; ++i) {\n value = scale._parseValue(data[i]);\n\n if (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden) {\n continue;\n }\n\n scale.min = Math.min(scale.min, value.min);\n scale.max = Math.max(scale.max, value.max);\n }\n }\n\n var scale_linear = scale_linearbase.extend({\n determineDataLimits: function determineDataLimits() {\n var me = this;\n var opts = me.options;\n var chart = me.chart;\n var datasets = chart.data.datasets;\n\n var metasets = me._getMatchingVisibleMetas();\n\n var hasStacks = opts.stacked;\n var stacks = {};\n var ilen = metasets.length;\n var i, meta, data, values;\n me.min = Number.POSITIVE_INFINITY;\n me.max = Number.NEGATIVE_INFINITY;\n\n if (hasStacks === undefined) {\n for (i = 0; !hasStacks && i < ilen; ++i) {\n meta = metasets[i];\n hasStacks = meta.stack !== undefined;\n }\n }\n\n for (i = 0; i < ilen; ++i) {\n meta = metasets[i];\n data = datasets[meta.index].data;\n\n if (hasStacks) {\n stackData(me, stacks, meta, data);\n } else {\n updateMinMax(me, meta, data);\n }\n }\n\n helpers$1.each(stacks, function (stackValues) {\n values = stackValues.pos.concat(stackValues.neg);\n me.min = Math.min(me.min, helpers$1.min(values));\n me.max = Math.max(me.max, helpers$1.max(values));\n });\n me.min = helpers$1.isFinite(me.min) && !isNaN(me.min) ? me.min : DEFAULT_MIN;\n me.max = helpers$1.isFinite(me.max) && !isNaN(me.max) ? me.max : DEFAULT_MAX; // Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero\n\n me.handleTickRangeOptions();\n },\n // Returns the maximum number of ticks based on the scale dimension\n _computeTickLimit: function _computeTickLimit() {\n var me = this;\n var tickFont;\n\n if (me.isHorizontal()) {\n return Math.ceil(me.width / 40);\n }\n\n tickFont = helpers$1.options._parseFont(me.options.ticks);\n return Math.ceil(me.height / tickFont.lineHeight);\n },\n // Called after the ticks are built. We need\n handleDirectionalChanges: function handleDirectionalChanges() {\n if (!this.isHorizontal()) {\n // We are in a vertical orientation. The top value is the highest. So reverse the array\n this.ticks.reverse();\n }\n },\n getLabelForIndex: function getLabelForIndex(index, datasetIndex) {\n return this._getScaleLabel(this.chart.data.datasets[datasetIndex].data[index]);\n },\n // Utils\n getPixelForValue: function getPixelForValue(value) {\n var me = this;\n return me.getPixelForDecimal((+me.getRightValue(value) - me._startValue) / me._valueRange);\n },\n getValueForPixel: function getValueForPixel(pixel) {\n return this._startValue + this.getDecimalForPixel(pixel) * this._valueRange;\n },\n getPixelForTick: function getPixelForTick(index) {\n var ticks = this.ticksAsNumbers;\n\n if (index < 0 || index > ticks.length - 1) {\n return null;\n }\n\n return this.getPixelForValue(ticks[index]);\n }\n }); // INTERNAL: static default options, registered in src/index.js\n\n var _defaults$1 = defaultConfig$1;\n scale_linear._defaults = _defaults$1;\n var valueOrDefault$b = helpers$1.valueOrDefault;\n var log10 = helpers$1.math.log10;\n /**\n * Generate a set of logarithmic ticks\n * @param generationOptions the options used to generate the ticks\n * @param dataRange the range of the data\n * @returns {number[]} array of tick values\n */\n\n function generateTicks$1(generationOptions, dataRange) {\n var ticks = [];\n var tickVal = valueOrDefault$b(generationOptions.min, Math.pow(10, Math.floor(log10(dataRange.min))));\n var endExp = Math.floor(log10(dataRange.max));\n var endSignificand = Math.ceil(dataRange.max / Math.pow(10, endExp));\n var exp, significand;\n\n if (tickVal === 0) {\n exp = Math.floor(log10(dataRange.minNotZero));\n significand = Math.floor(dataRange.minNotZero / Math.pow(10, exp));\n ticks.push(tickVal);\n tickVal = significand * Math.pow(10, exp);\n } else {\n exp = Math.floor(log10(tickVal));\n significand = Math.floor(tickVal / Math.pow(10, exp));\n }\n\n var precision = exp < 0 ? Math.pow(10, Math.abs(exp)) : 1;\n\n do {\n ticks.push(tickVal);\n ++significand;\n\n if (significand === 10) {\n significand = 1;\n ++exp;\n precision = exp >= 0 ? 1 : precision;\n }\n\n tickVal = Math.round(significand * Math.pow(10, exp) * precision) / precision;\n } while (exp < endExp || exp === endExp && significand < endSignificand);\n\n var lastTick = valueOrDefault$b(generationOptions.max, tickVal);\n ticks.push(lastTick);\n return ticks;\n }\n\n var defaultConfig$2 = {\n position: 'left',\n // label settings\n ticks: {\n callback: core_ticks.formatters.logarithmic\n }\n }; // TODO(v3): change this to positiveOrDefault\n\n function nonNegativeOrDefault(value, defaultValue) {\n return helpers$1.isFinite(value) && value >= 0 ? value : defaultValue;\n }\n\n var scale_logarithmic = core_scale.extend({\n determineDataLimits: function determineDataLimits() {\n var me = this;\n var opts = me.options;\n var chart = me.chart;\n var datasets = chart.data.datasets;\n var isHorizontal = me.isHorizontal();\n\n function IDMatches(meta) {\n return isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id;\n }\n\n var datasetIndex, meta, value, data, i, ilen; // Calculate Range\n\n me.min = Number.POSITIVE_INFINITY;\n me.max = Number.NEGATIVE_INFINITY;\n me.minNotZero = Number.POSITIVE_INFINITY;\n var hasStacks = opts.stacked;\n\n if (hasStacks === undefined) {\n for (datasetIndex = 0; datasetIndex < datasets.length; datasetIndex++) {\n meta = chart.getDatasetMeta(datasetIndex);\n\n if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta) && meta.stack !== undefined) {\n hasStacks = true;\n break;\n }\n }\n }\n\n if (opts.stacked || hasStacks) {\n var valuesPerStack = {};\n\n for (datasetIndex = 0; datasetIndex < datasets.length; datasetIndex++) {\n meta = chart.getDatasetMeta(datasetIndex);\n var key = [meta.type, // we have a separate stack for stack=undefined datasets when the opts.stacked is undefined\n opts.stacked === undefined && meta.stack === undefined ? datasetIndex : '', meta.stack].join('.');\n\n if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {\n if (valuesPerStack[key] === undefined) {\n valuesPerStack[key] = [];\n }\n\n data = datasets[datasetIndex].data;\n\n for (i = 0, ilen = data.length; i < ilen; i++) {\n var values = valuesPerStack[key];\n value = me._parseValue(data[i]); // invalid, hidden and negative values are ignored\n\n if (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden || value.min < 0 || value.max < 0) {\n continue;\n }\n\n values[i] = values[i] || 0;\n values[i] += value.max;\n }\n }\n }\n\n helpers$1.each(valuesPerStack, function (valuesForType) {\n if (valuesForType.length > 0) {\n var minVal = helpers$1.min(valuesForType);\n var maxVal = helpers$1.max(valuesForType);\n me.min = Math.min(me.min, minVal);\n me.max = Math.max(me.max, maxVal);\n }\n });\n } else {\n for (datasetIndex = 0; datasetIndex < datasets.length; datasetIndex++) {\n meta = chart.getDatasetMeta(datasetIndex);\n\n if (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {\n data = datasets[datasetIndex].data;\n\n for (i = 0, ilen = data.length; i < ilen; i++) {\n value = me._parseValue(data[i]); // invalid, hidden and negative values are ignored\n\n if (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden || value.min < 0 || value.max < 0) {\n continue;\n }\n\n me.min = Math.min(value.min, me.min);\n me.max = Math.max(value.max, me.max);\n\n if (value.min !== 0) {\n me.minNotZero = Math.min(value.min, me.minNotZero);\n }\n }\n }\n }\n }\n\n me.min = helpers$1.isFinite(me.min) ? me.min : null;\n me.max = helpers$1.isFinite(me.max) ? me.max : null;\n me.minNotZero = helpers$1.isFinite(me.minNotZero) ? me.minNotZero : null; // Common base implementation to handle ticks.min, ticks.max\n\n this.handleTickRangeOptions();\n },\n handleTickRangeOptions: function handleTickRangeOptions() {\n var me = this;\n var tickOpts = me.options.ticks;\n var DEFAULT_MIN = 1;\n var DEFAULT_MAX = 10;\n me.min = nonNegativeOrDefault(tickOpts.min, me.min);\n me.max = nonNegativeOrDefault(tickOpts.max, me.max);\n\n if (me.min === me.max) {\n if (me.min !== 0 && me.min !== null) {\n me.min = Math.pow(10, Math.floor(log10(me.min)) - 1);\n me.max = Math.pow(10, Math.floor(log10(me.max)) + 1);\n } else {\n me.min = DEFAULT_MIN;\n me.max = DEFAULT_MAX;\n }\n }\n\n if (me.min === null) {\n me.min = Math.pow(10, Math.floor(log10(me.max)) - 1);\n }\n\n if (me.max === null) {\n me.max = me.min !== 0 ? Math.pow(10, Math.floor(log10(me.min)) + 1) : DEFAULT_MAX;\n }\n\n if (me.minNotZero === null) {\n if (me.min > 0) {\n me.minNotZero = me.min;\n } else if (me.max < 1) {\n me.minNotZero = Math.pow(10, Math.floor(log10(me.max)));\n } else {\n me.minNotZero = DEFAULT_MIN;\n }\n }\n },\n buildTicks: function buildTicks() {\n var me = this;\n var tickOpts = me.options.ticks;\n var reverse = !me.isHorizontal();\n var generationOptions = {\n min: nonNegativeOrDefault(tickOpts.min),\n max: nonNegativeOrDefault(tickOpts.max)\n };\n var ticks = me.ticks = generateTicks$1(generationOptions, me); // At this point, we need to update our max and min given the tick values since we have expanded the\n // range of the scale\n\n me.max = helpers$1.max(ticks);\n me.min = helpers$1.min(ticks);\n\n if (tickOpts.reverse) {\n reverse = !reverse;\n me.start = me.max;\n me.end = me.min;\n } else {\n me.start = me.min;\n me.end = me.max;\n }\n\n if (reverse) {\n ticks.reverse();\n }\n },\n convertTicksToLabels: function convertTicksToLabels() {\n this.tickValues = this.ticks.slice();\n core_scale.prototype.convertTicksToLabels.call(this);\n },\n // Get the correct tooltip label\n getLabelForIndex: function getLabelForIndex(index, datasetIndex) {\n return this._getScaleLabel(this.chart.data.datasets[datasetIndex].data[index]);\n },\n getPixelForTick: function getPixelForTick(index) {\n var ticks = this.tickValues;\n\n if (index < 0 || index > ticks.length - 1) {\n return null;\n }\n\n return this.getPixelForValue(ticks[index]);\n },\n\n /**\n * Returns the value of the first tick.\n * @param {number} value - The minimum not zero value.\n * @return {number} The first tick value.\n * @private\n */\n _getFirstTickValue: function _getFirstTickValue(value) {\n var exp = Math.floor(log10(value));\n var significand = Math.floor(value / Math.pow(10, exp));\n return significand * Math.pow(10, exp);\n },\n _configure: function _configure() {\n var me = this;\n var start = me.min;\n var offset = 0;\n\n core_scale.prototype._configure.call(me);\n\n if (start === 0) {\n start = me._getFirstTickValue(me.minNotZero);\n offset = valueOrDefault$b(me.options.ticks.fontSize, core_defaults.global.defaultFontSize) / me._length;\n }\n\n me._startValue = log10(start);\n me._valueOffset = offset;\n me._valueRange = (log10(me.max) - log10(start)) / (1 - offset);\n },\n getPixelForValue: function getPixelForValue(value) {\n var me = this;\n var decimal = 0;\n value = +me.getRightValue(value);\n\n if (value > me.min && value > 0) {\n decimal = (log10(value) - me._startValue) / me._valueRange + me._valueOffset;\n }\n\n return me.getPixelForDecimal(decimal);\n },\n getValueForPixel: function getValueForPixel(pixel) {\n var me = this;\n var decimal = me.getDecimalForPixel(pixel);\n return decimal === 0 && me.min === 0 ? 0 : Math.pow(10, me._startValue + (decimal - me._valueOffset) * me._valueRange);\n }\n }); // INTERNAL: static default options, registered in src/index.js\n\n var _defaults$2 = defaultConfig$2;\n scale_logarithmic._defaults = _defaults$2;\n var valueOrDefault$c = helpers$1.valueOrDefault;\n var valueAtIndexOrDefault$1 = helpers$1.valueAtIndexOrDefault;\n var resolve$4 = helpers$1.options.resolve;\n var defaultConfig$3 = {\n display: true,\n // Boolean - Whether to animate scaling the chart from the centre\n animate: true,\n position: 'chartArea',\n angleLines: {\n display: true,\n color: 'rgba(0,0,0,0.1)',\n lineWidth: 1,\n borderDash: [],\n borderDashOffset: 0.0\n },\n gridLines: {\n circular: false\n },\n // label settings\n ticks: {\n // Boolean - Show a backdrop to the scale label\n showLabelBackdrop: true,\n // String - The colour of the label backdrop\n backdropColor: 'rgba(255,255,255,0.75)',\n // Number - The backdrop padding above & below the label in pixels\n backdropPaddingY: 2,\n // Number - The backdrop padding to the side of the label in pixels\n backdropPaddingX: 2,\n callback: core_ticks.formatters.linear\n },\n pointLabels: {\n // Boolean - if true, show point labels\n display: true,\n // Number - Point label font size in pixels\n fontSize: 10,\n // Function - Used to convert point labels\n callback: function callback(label) {\n return label;\n }\n }\n };\n\n function getTickBackdropHeight(opts) {\n var tickOpts = opts.ticks;\n\n if (tickOpts.display && opts.display) {\n return valueOrDefault$c(tickOpts.fontSize, core_defaults.global.defaultFontSize) + tickOpts.backdropPaddingY * 2;\n }\n\n return 0;\n }\n\n function measureLabelSize(ctx, lineHeight, label) {\n if (helpers$1.isArray(label)) {\n return {\n w: helpers$1.longestText(ctx, ctx.font, label),\n h: label.length * lineHeight\n };\n }\n\n return {\n w: ctx.measureText(label).width,\n h: lineHeight\n };\n }\n\n function determineLimits(angle, pos, size, min, max) {\n if (angle === min || angle === max) {\n return {\n start: pos - size / 2,\n end: pos + size / 2\n };\n } else if (angle < min || angle > max) {\n return {\n start: pos - size,\n end: pos\n };\n }\n\n return {\n start: pos,\n end: pos + size\n };\n }\n /**\n * Helper function to fit a radial linear scale with point labels\n */\n\n\n function fitWithPointLabels(scale) {\n // Right, this is really confusing and there is a lot of maths going on here\n // The gist of the problem is here: https://gist.github.com/nnnick/696cc9c55f4b0beb8fe9\n //\n // Reaction: https://dl.dropboxusercontent.com/u/34601363/toomuchscience.gif\n //\n // Solution:\n //\n // We assume the radius of the polygon is half the size of the canvas at first\n // at each index we check if the text overlaps.\n //\n // Where it does, we store that angle and that index.\n //\n // After finding the largest index and angle we calculate how much we need to remove\n // from the shape radius to move the point inwards by that x.\n //\n // We average the left and right distances to get the maximum shape radius that can fit in the box\n // along with labels.\n //\n // Once we have that, we can find the centre point for the chart, by taking the x text protrusion\n // on each side, removing that from the size, halving it and adding the left x protrusion width.\n //\n // This will mean we have a shape fitted to the canvas, as large as it can be with the labels\n // and position it in the most space efficient manner\n //\n // https://dl.dropboxusercontent.com/u/34601363/yeahscience.gif\n var plFont = helpers$1.options._parseFont(scale.options.pointLabels); // Get maximum radius of the polygon. Either half the height (minus the text width) or half the width.\n // Use this to calculate the offset + change. - Make sure L/R protrusion is at least 0 to stop issues with centre points\n\n\n var furthestLimits = {\n l: 0,\n r: scale.width,\n t: 0,\n b: scale.height - scale.paddingTop\n };\n var furthestAngles = {};\n var i, textSize, pointPosition;\n scale.ctx.font = plFont.string;\n scale._pointLabelSizes = [];\n var valueCount = scale.chart.data.labels.length;\n\n for (i = 0; i < valueCount; i++) {\n pointPosition = scale.getPointPosition(i, scale.drawingArea + 5);\n textSize = measureLabelSize(scale.ctx, plFont.lineHeight, scale.pointLabels[i]);\n scale._pointLabelSizes[i] = textSize; // Add quarter circle to make degree 0 mean top of circle\n\n var angleRadians = scale.getIndexAngle(i);\n var angle = helpers$1.toDegrees(angleRadians) % 360;\n var hLimits = determineLimits(angle, pointPosition.x, textSize.w, 0, 180);\n var vLimits = determineLimits(angle, pointPosition.y, textSize.h, 90, 270);\n\n if (hLimits.start < furthestLimits.l) {\n furthestLimits.l = hLimits.start;\n furthestAngles.l = angleRadians;\n }\n\n if (hLimits.end > furthestLimits.r) {\n furthestLimits.r = hLimits.end;\n furthestAngles.r = angleRadians;\n }\n\n if (vLimits.start < furthestLimits.t) {\n furthestLimits.t = vLimits.start;\n furthestAngles.t = angleRadians;\n }\n\n if (vLimits.end > furthestLimits.b) {\n furthestLimits.b = vLimits.end;\n furthestAngles.b = angleRadians;\n }\n }\n\n scale.setReductions(scale.drawingArea, furthestLimits, furthestAngles);\n }\n\n function getTextAlignForAngle(angle) {\n if (angle === 0 || angle === 180) {\n return 'center';\n } else if (angle < 180) {\n return 'left';\n }\n\n return 'right';\n }\n\n function fillText(ctx, text, position, lineHeight) {\n var y = position.y + lineHeight / 2;\n var i, ilen;\n\n if (helpers$1.isArray(text)) {\n for (i = 0, ilen = text.length; i < ilen; ++i) {\n ctx.fillText(text[i], position.x, y);\n y += lineHeight;\n }\n } else {\n ctx.fillText(text, position.x, y);\n }\n }\n\n function adjustPointPositionForLabelHeight(angle, textSize, position) {\n if (angle === 90 || angle === 270) {\n position.y -= textSize.h / 2;\n } else if (angle > 270 || angle < 90) {\n position.y -= textSize.h;\n }\n }\n\n function drawPointLabels(scale) {\n var ctx = scale.ctx;\n var opts = scale.options;\n var pointLabelOpts = opts.pointLabels;\n var tickBackdropHeight = getTickBackdropHeight(opts);\n var outerDistance = scale.getDistanceFromCenterForValue(opts.ticks.reverse ? scale.min : scale.max);\n\n var plFont = helpers$1.options._parseFont(pointLabelOpts);\n\n ctx.save();\n ctx.font = plFont.string;\n ctx.textBaseline = 'middle';\n\n for (var i = scale.chart.data.labels.length - 1; i >= 0; i--) {\n // Extra pixels out for some label spacing\n var extra = i === 0 ? tickBackdropHeight / 2 : 0;\n var pointLabelPosition = scale.getPointPosition(i, outerDistance + extra + 5); // Keep this in loop since we may support array properties here\n\n var pointLabelFontColor = valueAtIndexOrDefault$1(pointLabelOpts.fontColor, i, core_defaults.global.defaultFontColor);\n ctx.fillStyle = pointLabelFontColor;\n var angleRadians = scale.getIndexAngle(i);\n var angle = helpers$1.toDegrees(angleRadians);\n ctx.textAlign = getTextAlignForAngle(angle);\n adjustPointPositionForLabelHeight(angle, scale._pointLabelSizes[i], pointLabelPosition);\n fillText(ctx, scale.pointLabels[i], pointLabelPosition, plFont.lineHeight);\n }\n\n ctx.restore();\n }\n\n function drawRadiusLine(scale, gridLineOpts, radius, index) {\n var ctx = scale.ctx;\n var circular = gridLineOpts.circular;\n var valueCount = scale.chart.data.labels.length;\n var lineColor = valueAtIndexOrDefault$1(gridLineOpts.color, index - 1);\n var lineWidth = valueAtIndexOrDefault$1(gridLineOpts.lineWidth, index - 1);\n var pointPosition;\n\n if (!circular && !valueCount || !lineColor || !lineWidth) {\n return;\n }\n\n ctx.save();\n ctx.strokeStyle = lineColor;\n ctx.lineWidth = lineWidth;\n\n if (ctx.setLineDash) {\n ctx.setLineDash(gridLineOpts.borderDash || []);\n ctx.lineDashOffset = gridLineOpts.borderDashOffset || 0.0;\n }\n\n ctx.beginPath();\n\n if (circular) {\n // Draw circular arcs between the points\n ctx.arc(scale.xCenter, scale.yCenter, radius, 0, Math.PI * 2);\n } else {\n // Draw straight lines connecting each index\n pointPosition = scale.getPointPosition(0, radius);\n ctx.moveTo(pointPosition.x, pointPosition.y);\n\n for (var i = 1; i < valueCount; i++) {\n pointPosition = scale.getPointPosition(i, radius);\n ctx.lineTo(pointPosition.x, pointPosition.y);\n }\n }\n\n ctx.closePath();\n ctx.stroke();\n ctx.restore();\n }\n\n function numberOrZero(param) {\n return helpers$1.isNumber(param) ? param : 0;\n }\n\n var scale_radialLinear = scale_linearbase.extend({\n setDimensions: function setDimensions() {\n var me = this; // Set the unconstrained dimension before label rotation\n\n me.width = me.maxWidth;\n me.height = me.maxHeight;\n me.paddingTop = getTickBackdropHeight(me.options) / 2;\n me.xCenter = Math.floor(me.width / 2);\n me.yCenter = Math.floor((me.height - me.paddingTop) / 2);\n me.drawingArea = Math.min(me.height - me.paddingTop, me.width) / 2;\n },\n determineDataLimits: function determineDataLimits() {\n var me = this;\n var chart = me.chart;\n var min = Number.POSITIVE_INFINITY;\n var max = Number.NEGATIVE_INFINITY;\n helpers$1.each(chart.data.datasets, function (dataset, datasetIndex) {\n if (chart.isDatasetVisible(datasetIndex)) {\n var meta = chart.getDatasetMeta(datasetIndex);\n helpers$1.each(dataset.data, function (rawValue, index) {\n var value = +me.getRightValue(rawValue);\n\n if (isNaN(value) || meta.data[index].hidden) {\n return;\n }\n\n min = Math.min(value, min);\n max = Math.max(value, max);\n });\n }\n });\n me.min = min === Number.POSITIVE_INFINITY ? 0 : min;\n me.max = max === Number.NEGATIVE_INFINITY ? 0 : max; // Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero\n\n me.handleTickRangeOptions();\n },\n // Returns the maximum number of ticks based on the scale dimension\n _computeTickLimit: function _computeTickLimit() {\n return Math.ceil(this.drawingArea / getTickBackdropHeight(this.options));\n },\n convertTicksToLabels: function convertTicksToLabels() {\n var me = this;\n scale_linearbase.prototype.convertTicksToLabels.call(me); // Point labels\n\n me.pointLabels = me.chart.data.labels.map(function () {\n var label = helpers$1.callback(me.options.pointLabels.callback, arguments, me);\n return label || label === 0 ? label : '';\n });\n },\n getLabelForIndex: function getLabelForIndex(index, datasetIndex) {\n return +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);\n },\n fit: function fit() {\n var me = this;\n var opts = me.options;\n\n if (opts.display && opts.pointLabels.display) {\n fitWithPointLabels(me);\n } else {\n me.setCenterPoint(0, 0, 0, 0);\n }\n },\n\n /**\n * Set radius reductions and determine new radius and center point\n * @private\n */\n setReductions: function setReductions(largestPossibleRadius, furthestLimits, furthestAngles) {\n var me = this;\n var radiusReductionLeft = furthestLimits.l / Math.sin(furthestAngles.l);\n var radiusReductionRight = Math.max(furthestLimits.r - me.width, 0) / Math.sin(furthestAngles.r);\n var radiusReductionTop = -furthestLimits.t / Math.cos(furthestAngles.t);\n var radiusReductionBottom = -Math.max(furthestLimits.b - (me.height - me.paddingTop), 0) / Math.cos(furthestAngles.b);\n radiusReductionLeft = numberOrZero(radiusReductionLeft);\n radiusReductionRight = numberOrZero(radiusReductionRight);\n radiusReductionTop = numberOrZero(radiusReductionTop);\n radiusReductionBottom = numberOrZero(radiusReductionBottom);\n me.drawingArea = Math.min(Math.floor(largestPossibleRadius - (radiusReductionLeft + radiusReductionRight) / 2), Math.floor(largestPossibleRadius - (radiusReductionTop + radiusReductionBottom) / 2));\n me.setCenterPoint(radiusReductionLeft, radiusReductionRight, radiusReductionTop, radiusReductionBottom);\n },\n setCenterPoint: function setCenterPoint(leftMovement, rightMovement, topMovement, bottomMovement) {\n var me = this;\n var maxRight = me.width - rightMovement - me.drawingArea;\n var maxLeft = leftMovement + me.drawingArea;\n var maxTop = topMovement + me.drawingArea;\n var maxBottom = me.height - me.paddingTop - bottomMovement - me.drawingArea;\n me.xCenter = Math.floor((maxLeft + maxRight) / 2 + me.left);\n me.yCenter = Math.floor((maxTop + maxBottom) / 2 + me.top + me.paddingTop);\n },\n getIndexAngle: function getIndexAngle(index) {\n var chart = this.chart;\n var angleMultiplier = 360 / chart.data.labels.length;\n var options = chart.options || {};\n var startAngle = options.startAngle || 0; // Start from the top instead of right, so remove a quarter of the circle\n\n var angle = (index * angleMultiplier + startAngle) % 360;\n return (angle < 0 ? angle + 360 : angle) * Math.PI * 2 / 360;\n },\n getDistanceFromCenterForValue: function getDistanceFromCenterForValue(value) {\n var me = this;\n\n if (helpers$1.isNullOrUndef(value)) {\n return NaN;\n } // Take into account half font size + the yPadding of the top value\n\n\n var scalingFactor = me.drawingArea / (me.max - me.min);\n\n if (me.options.ticks.reverse) {\n return (me.max - value) * scalingFactor;\n }\n\n return (value - me.min) * scalingFactor;\n },\n getPointPosition: function getPointPosition(index, distanceFromCenter) {\n var me = this;\n var thisAngle = me.getIndexAngle(index) - Math.PI / 2;\n return {\n x: Math.cos(thisAngle) * distanceFromCenter + me.xCenter,\n y: Math.sin(thisAngle) * distanceFromCenter + me.yCenter\n };\n },\n getPointPositionForValue: function getPointPositionForValue(index, value) {\n return this.getPointPosition(index, this.getDistanceFromCenterForValue(value));\n },\n getBasePosition: function getBasePosition(index) {\n var me = this;\n var min = me.min;\n var max = me.max;\n return me.getPointPositionForValue(index || 0, me.beginAtZero ? 0 : min < 0 && max < 0 ? max : min > 0 && max > 0 ? min : 0);\n },\n\n /**\n * @private\n */\n _drawGrid: function _drawGrid() {\n var me = this;\n var ctx = me.ctx;\n var opts = me.options;\n var gridLineOpts = opts.gridLines;\n var angleLineOpts = opts.angleLines;\n var lineWidth = valueOrDefault$c(angleLineOpts.lineWidth, gridLineOpts.lineWidth);\n var lineColor = valueOrDefault$c(angleLineOpts.color, gridLineOpts.color);\n var i, offset, position;\n\n if (opts.pointLabels.display) {\n drawPointLabels(me);\n }\n\n if (gridLineOpts.display) {\n helpers$1.each(me.ticks, function (label, index) {\n if (index !== 0) {\n offset = me.getDistanceFromCenterForValue(me.ticksAsNumbers[index]);\n drawRadiusLine(me, gridLineOpts, offset, index);\n }\n });\n }\n\n if (angleLineOpts.display && lineWidth && lineColor) {\n ctx.save();\n ctx.lineWidth = lineWidth;\n ctx.strokeStyle = lineColor;\n\n if (ctx.setLineDash) {\n ctx.setLineDash(resolve$4([angleLineOpts.borderDash, gridLineOpts.borderDash, []]));\n ctx.lineDashOffset = resolve$4([angleLineOpts.borderDashOffset, gridLineOpts.borderDashOffset, 0.0]);\n }\n\n for (i = me.chart.data.labels.length - 1; i >= 0; i--) {\n offset = me.getDistanceFromCenterForValue(opts.ticks.reverse ? me.min : me.max);\n position = me.getPointPosition(i, offset);\n ctx.beginPath();\n ctx.moveTo(me.xCenter, me.yCenter);\n ctx.lineTo(position.x, position.y);\n ctx.stroke();\n }\n\n ctx.restore();\n }\n },\n\n /**\n * @private\n */\n _drawLabels: function _drawLabels() {\n var me = this;\n var ctx = me.ctx;\n var opts = me.options;\n var tickOpts = opts.ticks;\n\n if (!tickOpts.display) {\n return;\n }\n\n var startAngle = me.getIndexAngle(0);\n\n var tickFont = helpers$1.options._parseFont(tickOpts);\n\n var tickFontColor = valueOrDefault$c(tickOpts.fontColor, core_defaults.global.defaultFontColor);\n var offset, width;\n ctx.save();\n ctx.font = tickFont.string;\n ctx.translate(me.xCenter, me.yCenter);\n ctx.rotate(startAngle);\n ctx.textAlign = 'center';\n ctx.textBaseline = 'middle';\n helpers$1.each(me.ticks, function (label, index) {\n if (index === 0 && !tickOpts.reverse) {\n return;\n }\n\n offset = me.getDistanceFromCenterForValue(me.ticksAsNumbers[index]);\n\n if (tickOpts.showLabelBackdrop) {\n width = ctx.measureText(label).width;\n ctx.fillStyle = tickOpts.backdropColor;\n ctx.fillRect(-width / 2 - tickOpts.backdropPaddingX, -offset - tickFont.size / 2 - tickOpts.backdropPaddingY, width + tickOpts.backdropPaddingX * 2, tickFont.size + tickOpts.backdropPaddingY * 2);\n }\n\n ctx.fillStyle = tickFontColor;\n ctx.fillText(label, 0, -offset);\n });\n ctx.restore();\n },\n\n /**\n * @private\n */\n _drawTitle: helpers$1.noop\n }); // INTERNAL: static default options, registered in src/index.js\n\n var _defaults$3 = defaultConfig$3;\n scale_radialLinear._defaults = _defaults$3;\n var deprecated$1 = helpers$1._deprecated;\n var resolve$5 = helpers$1.options.resolve;\n var valueOrDefault$d = helpers$1.valueOrDefault; // Integer constants are from the ES6 spec.\n\n var MIN_INTEGER = Number.MIN_SAFE_INTEGER || -9007199254740991;\n var MAX_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;\n var INTERVALS = {\n millisecond: {\n common: true,\n size: 1,\n steps: 1000\n },\n second: {\n common: true,\n size: 1000,\n steps: 60\n },\n minute: {\n common: true,\n size: 60000,\n steps: 60\n },\n hour: {\n common: true,\n size: 3600000,\n steps: 24\n },\n day: {\n common: true,\n size: 86400000,\n steps: 30\n },\n week: {\n common: false,\n size: 604800000,\n steps: 4\n },\n month: {\n common: true,\n size: 2.628e9,\n steps: 12\n },\n quarter: {\n common: false,\n size: 7.884e9,\n steps: 4\n },\n year: {\n common: true,\n size: 3.154e10\n }\n };\n var UNITS = Object.keys(INTERVALS);\n\n function sorter(a, b) {\n return a - b;\n }\n\n function arrayUnique(items) {\n var hash = {};\n var out = [];\n var i, ilen, item;\n\n for (i = 0, ilen = items.length; i < ilen; ++i) {\n item = items[i];\n\n if (!hash[item]) {\n hash[item] = true;\n out.push(item);\n }\n }\n\n return out;\n }\n\n function getMin(options) {\n return helpers$1.valueOrDefault(options.time.min, options.ticks.min);\n }\n\n function getMax(options) {\n return helpers$1.valueOrDefault(options.time.max, options.ticks.max);\n }\n /**\n * Returns an array of {time, pos} objects used to interpolate a specific `time` or position\n * (`pos`) on the scale, by searching entries before and after the requested value. `pos` is\n * a decimal between 0 and 1: 0 being the start of the scale (left or top) and 1 the other\n * extremity (left + width or top + height). Note that it would be more optimized to directly\n * store pre-computed pixels, but the scale dimensions are not guaranteed at the time we need\n * to create the lookup table. The table ALWAYS contains at least two items: min and max.\n *\n * @param {number[]} timestamps - timestamps sorted from lowest to highest.\n * @param {string} distribution - If 'linear', timestamps will be spread linearly along the min\n * and max range, so basically, the table will contains only two items: {min, 0} and {max, 1}.\n * If 'series', timestamps will be positioned at the same distance from each other. In this\n * case, only timestamps that break the time linearity are registered, meaning that in the\n * best case, all timestamps are linear, the table contains only min and max.\n */\n\n\n function buildLookupTable(timestamps, min, max, distribution) {\n if (distribution === 'linear' || !timestamps.length) {\n return [{\n time: min,\n pos: 0\n }, {\n time: max,\n pos: 1\n }];\n }\n\n var table = [];\n var items = [min];\n var i, ilen, prev, curr, next;\n\n for (i = 0, ilen = timestamps.length; i < ilen; ++i) {\n curr = timestamps[i];\n\n if (curr > min && curr < max) {\n items.push(curr);\n }\n }\n\n items.push(max);\n\n for (i = 0, ilen = items.length; i < ilen; ++i) {\n next = items[i + 1];\n prev = items[i - 1];\n curr = items[i]; // only add points that breaks the scale linearity\n\n if (prev === undefined || next === undefined || Math.round((next + prev) / 2) !== curr) {\n table.push({\n time: curr,\n pos: i / (ilen - 1)\n });\n }\n }\n\n return table;\n } // @see adapted from https://www.anujgakhar.com/2014/03/01/binary-search-in-javascript/\n\n\n function lookup(table, key, value) {\n var lo = 0;\n var hi = table.length - 1;\n var mid, i0, i1;\n\n while (lo >= 0 && lo <= hi) {\n mid = lo + hi >> 1;\n i0 = table[mid - 1] || null;\n i1 = table[mid];\n\n if (!i0) {\n // given value is outside table (before first item)\n return {\n lo: null,\n hi: i1\n };\n } else if (i1[key] < value) {\n lo = mid + 1;\n } else if (i0[key] > value) {\n hi = mid - 1;\n } else {\n return {\n lo: i0,\n hi: i1\n };\n }\n } // given value is outside table (after last item)\n\n\n return {\n lo: i1,\n hi: null\n };\n }\n /**\n * Linearly interpolates the given source `value` using the table items `skey` values and\n * returns the associated `tkey` value. For example, interpolate(table, 'time', 42, 'pos')\n * returns the position for a timestamp equal to 42. If value is out of bounds, values at\n * index [0, 1] or [n - 1, n] are used for the interpolation.\n */\n\n\n function interpolate$1(table, skey, sval, tkey) {\n var range = lookup(table, skey, sval); // Note: the lookup table ALWAYS contains at least 2 items (min and max)\n\n var prev = !range.lo ? table[0] : !range.hi ? table[table.length - 2] : range.lo;\n var next = !range.lo ? table[1] : !range.hi ? table[table.length - 1] : range.hi;\n var span = next[skey] - prev[skey];\n var ratio = span ? (sval - prev[skey]) / span : 0;\n var offset = (next[tkey] - prev[tkey]) * ratio;\n return prev[tkey] + offset;\n }\n\n function toTimestamp(scale, input) {\n var adapter = scale._adapter;\n var options = scale.options.time;\n var parser = options.parser;\n var format = parser || options.format;\n var value = input;\n\n if (typeof parser === 'function') {\n value = parser(value);\n } // Only parse if its not a timestamp already\n\n\n if (!helpers$1.isFinite(value)) {\n value = typeof format === 'string' ? adapter.parse(value, format) : adapter.parse(value);\n }\n\n if (value !== null) {\n return +value;\n } // Labels are in an incompatible format and no `parser` has been provided.\n // The user might still use the deprecated `format` option for parsing.\n\n\n if (!parser && typeof format === 'function') {\n value = format(input); // `format` could return something else than a timestamp, if so, parse it\n\n if (!helpers$1.isFinite(value)) {\n value = adapter.parse(value);\n }\n }\n\n return value;\n }\n\n function parse(scale, input) {\n if (helpers$1.isNullOrUndef(input)) {\n return null;\n }\n\n var options = scale.options.time;\n var value = toTimestamp(scale, scale.getRightValue(input));\n\n if (value === null) {\n return value;\n }\n\n if (options.round) {\n value = +scale._adapter.startOf(value, options.round);\n }\n\n return value;\n }\n /**\n * Figures out what unit results in an appropriate number of auto-generated ticks\n */\n\n\n function determineUnitForAutoTicks(minUnit, min, max, capacity) {\n var ilen = UNITS.length;\n var i, interval, factor;\n\n for (i = UNITS.indexOf(minUnit); i < ilen - 1; ++i) {\n interval = INTERVALS[UNITS[i]];\n factor = interval.steps ? interval.steps : MAX_INTEGER;\n\n if (interval.common && Math.ceil((max - min) / (factor * interval.size)) <= capacity) {\n return UNITS[i];\n }\n }\n\n return UNITS[ilen - 1];\n }\n /**\n * Figures out what unit to format a set of ticks with\n */\n\n\n function determineUnitForFormatting(scale, numTicks, minUnit, min, max) {\n var i, unit;\n\n for (i = UNITS.length - 1; i >= UNITS.indexOf(minUnit); i--) {\n unit = UNITS[i];\n\n if (INTERVALS[unit].common && scale._adapter.diff(max, min, unit) >= numTicks - 1) {\n return unit;\n }\n }\n\n return UNITS[minUnit ? UNITS.indexOf(minUnit) : 0];\n }\n\n function determineMajorUnit(unit) {\n for (var i = UNITS.indexOf(unit) + 1, ilen = UNITS.length; i < ilen; ++i) {\n if (INTERVALS[UNITS[i]].common) {\n return UNITS[i];\n }\n }\n }\n /**\n * Generates a maximum of `capacity` timestamps between min and max, rounded to the\n * `minor` unit using the given scale time `options`.\n * Important: this method can return ticks outside the min and max range, it's the\n * responsibility of the calling code to clamp values if needed.\n */\n\n\n function generate(scale, min, max, capacity) {\n var adapter = scale._adapter;\n var options = scale.options;\n var timeOpts = options.time;\n var minor = timeOpts.unit || determineUnitForAutoTicks(timeOpts.minUnit, min, max, capacity);\n var stepSize = resolve$5([timeOpts.stepSize, timeOpts.unitStepSize, 1]);\n var weekday = minor === 'week' ? timeOpts.isoWeekday : false;\n var first = min;\n var ticks = [];\n var time; // For 'week' unit, handle the first day of week option\n\n if (weekday) {\n first = +adapter.startOf(first, 'isoWeek', weekday);\n } // Align first ticks on unit\n\n\n first = +adapter.startOf(first, weekday ? 'day' : minor); // Prevent browser from freezing in case user options request millions of milliseconds\n\n if (adapter.diff(max, min, minor) > 100000 * stepSize) {\n throw min + ' and ' + max + ' are too far apart with stepSize of ' + stepSize + ' ' + minor;\n }\n\n for (time = first; time < max; time = +adapter.add(time, stepSize, minor)) {\n ticks.push(time);\n }\n\n if (time === max || options.bounds === 'ticks') {\n ticks.push(time);\n }\n\n return ticks;\n }\n /**\n * Returns the start and end offsets from edges in the form of {start, end}\n * where each value is a relative width to the scale and ranges between 0 and 1.\n * They add extra margins on the both sides by scaling down the original scale.\n * Offsets are added when the `offset` option is true.\n */\n\n\n function computeOffsets(table, ticks, min, max, options) {\n var start = 0;\n var end = 0;\n var first, last;\n\n if (options.offset && ticks.length) {\n first = interpolate$1(table, 'time', ticks[0], 'pos');\n\n if (ticks.length === 1) {\n start = 1 - first;\n } else {\n start = (interpolate$1(table, 'time', ticks[1], 'pos') - first) / 2;\n }\n\n last = interpolate$1(table, 'time', ticks[ticks.length - 1], 'pos');\n\n if (ticks.length === 1) {\n end = last;\n } else {\n end = (last - interpolate$1(table, 'time', ticks[ticks.length - 2], 'pos')) / 2;\n }\n }\n\n return {\n start: start,\n end: end,\n factor: 1 / (start + 1 + end)\n };\n }\n\n function setMajorTicks(scale, ticks, map, majorUnit) {\n var adapter = scale._adapter;\n var first = +adapter.startOf(ticks[0].value, majorUnit);\n var last = ticks[ticks.length - 1].value;\n var major, index;\n\n for (major = first; major <= last; major = +adapter.add(major, 1, majorUnit)) {\n index = map[major];\n\n if (index >= 0) {\n ticks[index].major = true;\n }\n }\n\n return ticks;\n }\n\n function ticksFromTimestamps(scale, values, majorUnit) {\n var ticks = [];\n var map = {};\n var ilen = values.length;\n var i, value;\n\n for (i = 0; i < ilen; ++i) {\n value = values[i];\n map[value] = i;\n ticks.push({\n value: value,\n major: false\n });\n } // We set the major ticks separately from the above loop because calling startOf for every tick\n // is expensive when there is a large number of ticks\n\n\n return ilen === 0 || !majorUnit ? ticks : setMajorTicks(scale, ticks, map, majorUnit);\n }\n\n var defaultConfig$4 = {\n position: 'bottom',\n\n /**\n * Data distribution along the scale:\n * - 'linear': data are spread according to their time (distances can vary),\n * - 'series': data are spread at the same distance from each other.\n * @see https://github.com/chartjs/Chart.js/pull/4507\n * @since 2.7.0\n */\n distribution: 'linear',\n\n /**\n * Scale boundary strategy (bypassed by min/max time options)\n * - `data`: make sure data are fully visible, ticks outside are removed\n * - `ticks`: make sure ticks are fully visible, data outside are truncated\n * @see https://github.com/chartjs/Chart.js/pull/4556\n * @since 2.7.0\n */\n bounds: 'data',\n adapters: {},\n time: {\n parser: false,\n // false == a pattern string from https://momentjs.com/docs/#/parsing/string-format/ or a custom callback that converts its argument to a moment\n unit: false,\n // false == automatic or override with week, month, year, etc.\n round: false,\n // none, or override with week, month, year, etc.\n displayFormat: false,\n // DEPRECATED\n isoWeekday: false,\n // override week start day - see https://momentjs.com/docs/#/get-set/iso-weekday/\n minUnit: 'millisecond',\n displayFormats: {}\n },\n ticks: {\n autoSkip: false,\n\n /**\n * Ticks generation input values:\n * - 'auto': generates \"optimal\" ticks based on scale size and time options.\n * - 'data': generates ticks from data (including labels from data {t|x|y} objects).\n * - 'labels': generates ticks from user given `data.labels` values ONLY.\n * @see https://github.com/chartjs/Chart.js/pull/4507\n * @since 2.7.0\n */\n source: 'auto',\n major: {\n enabled: false\n }\n }\n };\n var scale_time = core_scale.extend({\n initialize: function initialize() {\n this.mergeTicksOptions();\n core_scale.prototype.initialize.call(this);\n },\n update: function update() {\n var me = this;\n var options = me.options;\n var time = options.time || (options.time = {});\n var adapter = me._adapter = new core_adapters._date(options.adapters.date); // DEPRECATIONS: output a message only one time per update\n\n deprecated$1('time scale', time.format, 'time.format', 'time.parser');\n deprecated$1('time scale', time.min, 'time.min', 'ticks.min');\n deprecated$1('time scale', time.max, 'time.max', 'ticks.max'); // Backward compatibility: before introducing adapter, `displayFormats` was\n // supposed to contain *all* unit/string pairs but this can't be resolved\n // when loading the scale (adapters are loaded afterward), so let's populate\n // missing formats on update\n\n helpers$1.mergeIf(time.displayFormats, adapter.formats());\n return core_scale.prototype.update.apply(me, arguments);\n },\n\n /**\n * Allows data to be referenced via 't' attribute\n */\n getRightValue: function getRightValue(rawValue) {\n if (rawValue && rawValue.t !== undefined) {\n rawValue = rawValue.t;\n }\n\n return core_scale.prototype.getRightValue.call(this, rawValue);\n },\n determineDataLimits: function determineDataLimits() {\n var me = this;\n var chart = me.chart;\n var adapter = me._adapter;\n var options = me.options;\n var unit = options.time.unit || 'day';\n var min = MAX_INTEGER;\n var max = MIN_INTEGER;\n var timestamps = [];\n var datasets = [];\n var labels = [];\n var i, j, ilen, jlen, data, timestamp, labelsAdded;\n\n var dataLabels = me._getLabels();\n\n for (i = 0, ilen = dataLabels.length; i < ilen; ++i) {\n labels.push(parse(me, dataLabels[i]));\n }\n\n for (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\n if (chart.isDatasetVisible(i)) {\n data = chart.data.datasets[i].data; // Let's consider that all data have the same format.\n\n if (helpers$1.isObject(data[0])) {\n datasets[i] = [];\n\n for (j = 0, jlen = data.length; j < jlen; ++j) {\n timestamp = parse(me, data[j]);\n timestamps.push(timestamp);\n datasets[i][j] = timestamp;\n }\n } else {\n datasets[i] = labels.slice(0);\n\n if (!labelsAdded) {\n timestamps = timestamps.concat(labels);\n labelsAdded = true;\n }\n }\n } else {\n datasets[i] = [];\n }\n }\n\n if (labels.length) {\n min = Math.min(min, labels[0]);\n max = Math.max(max, labels[labels.length - 1]);\n }\n\n if (timestamps.length) {\n timestamps = ilen > 1 ? arrayUnique(timestamps).sort(sorter) : timestamps.sort(sorter);\n min = Math.min(min, timestamps[0]);\n max = Math.max(max, timestamps[timestamps.length - 1]);\n }\n\n min = parse(me, getMin(options)) || min;\n max = parse(me, getMax(options)) || max; // In case there is no valid min/max, set limits based on unit time option\n\n min = min === MAX_INTEGER ? +adapter.startOf(Date.now(), unit) : min;\n max = max === MIN_INTEGER ? +adapter.endOf(Date.now(), unit) + 1 : max; // Make sure that max is strictly higher than min (required by the lookup table)\n\n me.min = Math.min(min, max);\n me.max = Math.max(min + 1, max); // PRIVATE\n\n me._table = [];\n me._timestamps = {\n data: timestamps,\n datasets: datasets,\n labels: labels\n };\n },\n buildTicks: function buildTicks() {\n var me = this;\n var min = me.min;\n var max = me.max;\n var options = me.options;\n var tickOpts = options.ticks;\n var timeOpts = options.time;\n var timestamps = me._timestamps;\n var ticks = [];\n var capacity = me.getLabelCapacity(min);\n var source = tickOpts.source;\n var distribution = options.distribution;\n var i, ilen, timestamp;\n\n if (source === 'data' || source === 'auto' && distribution === 'series') {\n timestamps = timestamps.data;\n } else if (source === 'labels') {\n timestamps = timestamps.labels;\n } else {\n timestamps = generate(me, min, max, capacity);\n }\n\n if (options.bounds === 'ticks' && timestamps.length) {\n min = timestamps[0];\n max = timestamps[timestamps.length - 1];\n } // Enforce limits with user min/max options\n\n\n min = parse(me, getMin(options)) || min;\n max = parse(me, getMax(options)) || max; // Remove ticks outside the min/max range\n\n for (i = 0, ilen = timestamps.length; i < ilen; ++i) {\n timestamp = timestamps[i];\n\n if (timestamp >= min && timestamp <= max) {\n ticks.push(timestamp);\n }\n }\n\n me.min = min;\n me.max = max; // PRIVATE\n // determineUnitForFormatting relies on the number of ticks so we don't use it when\n // autoSkip is enabled because we don't yet know what the final number of ticks will be\n\n me._unit = timeOpts.unit || (tickOpts.autoSkip ? determineUnitForAutoTicks(timeOpts.minUnit, me.min, me.max, capacity) : determineUnitForFormatting(me, ticks.length, timeOpts.minUnit, me.min, me.max));\n me._majorUnit = !tickOpts.major.enabled || me._unit === 'year' ? undefined : determineMajorUnit(me._unit);\n me._table = buildLookupTable(me._timestamps.data, min, max, distribution);\n me._offsets = computeOffsets(me._table, ticks, min, max, options);\n\n if (tickOpts.reverse) {\n ticks.reverse();\n }\n\n return ticksFromTimestamps(me, ticks, me._majorUnit);\n },\n getLabelForIndex: function getLabelForIndex(index, datasetIndex) {\n var me = this;\n var adapter = me._adapter;\n var data = me.chart.data;\n var timeOpts = me.options.time;\n var label = data.labels && index < data.labels.length ? data.labels[index] : '';\n var value = data.datasets[datasetIndex].data[index];\n\n if (helpers$1.isObject(value)) {\n label = me.getRightValue(value);\n }\n\n if (timeOpts.tooltipFormat) {\n return adapter.format(toTimestamp(me, label), timeOpts.tooltipFormat);\n }\n\n if (typeof label === 'string') {\n return label;\n }\n\n return adapter.format(toTimestamp(me, label), timeOpts.displayFormats.datetime);\n },\n\n /**\n * Function to format an individual tick mark\n * @private\n */\n tickFormatFunction: function tickFormatFunction(time, index, ticks, format) {\n var me = this;\n var adapter = me._adapter;\n var options = me.options;\n var formats = options.time.displayFormats;\n var minorFormat = formats[me._unit];\n var majorUnit = me._majorUnit;\n var majorFormat = formats[majorUnit];\n var tick = ticks[index];\n var tickOpts = options.ticks;\n var major = majorUnit && majorFormat && tick && tick.major;\n var label = adapter.format(time, format ? format : major ? majorFormat : minorFormat);\n var nestedTickOpts = major ? tickOpts.major : tickOpts.minor;\n var formatter = resolve$5([nestedTickOpts.callback, nestedTickOpts.userCallback, tickOpts.callback, tickOpts.userCallback]);\n return formatter ? formatter(label, index, ticks) : label;\n },\n convertTicksToLabels: function convertTicksToLabels(ticks) {\n var labels = [];\n var i, ilen;\n\n for (i = 0, ilen = ticks.length; i < ilen; ++i) {\n labels.push(this.tickFormatFunction(ticks[i].value, i, ticks));\n }\n\n return labels;\n },\n\n /**\n * @private\n */\n getPixelForOffset: function getPixelForOffset(time) {\n var me = this;\n var offsets = me._offsets;\n var pos = interpolate$1(me._table, 'time', time, 'pos');\n return me.getPixelForDecimal((offsets.start + pos) * offsets.factor);\n },\n getPixelForValue: function getPixelForValue(value, index, datasetIndex) {\n var me = this;\n var time = null;\n\n if (index !== undefined && datasetIndex !== undefined) {\n time = me._timestamps.datasets[datasetIndex][index];\n }\n\n if (time === null) {\n time = parse(me, value);\n }\n\n if (time !== null) {\n return me.getPixelForOffset(time);\n }\n },\n getPixelForTick: function getPixelForTick(index) {\n var ticks = this.getTicks();\n return index >= 0 && index < ticks.length ? this.getPixelForOffset(ticks[index].value) : null;\n },\n getValueForPixel: function getValueForPixel(pixel) {\n var me = this;\n var offsets = me._offsets;\n var pos = me.getDecimalForPixel(pixel) / offsets.factor - offsets.end;\n var time = interpolate$1(me._table, 'pos', pos, 'time'); // DEPRECATION, we should return time directly\n\n return me._adapter._create(time);\n },\n\n /**\n * @private\n */\n _getLabelSize: function _getLabelSize(label) {\n var me = this;\n var ticksOpts = me.options.ticks;\n var tickLabelWidth = me.ctx.measureText(label).width;\n var angle = helpers$1.toRadians(me.isHorizontal() ? ticksOpts.maxRotation : ticksOpts.minRotation);\n var cosRotation = Math.cos(angle);\n var sinRotation = Math.sin(angle);\n var tickFontSize = valueOrDefault$d(ticksOpts.fontSize, core_defaults.global.defaultFontSize);\n return {\n w: tickLabelWidth * cosRotation + tickFontSize * sinRotation,\n h: tickLabelWidth * sinRotation + tickFontSize * cosRotation\n };\n },\n\n /**\n * Crude approximation of what the label width might be\n * @private\n */\n getLabelWidth: function getLabelWidth(label) {\n return this._getLabelSize(label).w;\n },\n\n /**\n * @private\n */\n getLabelCapacity: function getLabelCapacity(exampleTime) {\n var me = this;\n var timeOpts = me.options.time;\n var displayFormats = timeOpts.displayFormats; // pick the longest format (milliseconds) for guestimation\n\n var format = displayFormats[timeOpts.unit] || displayFormats.millisecond;\n var exampleLabel = me.tickFormatFunction(exampleTime, 0, ticksFromTimestamps(me, [exampleTime], me._majorUnit), format);\n\n var size = me._getLabelSize(exampleLabel);\n\n var capacity = Math.floor(me.isHorizontal() ? me.width / size.w : me.height / size.h);\n\n if (me.options.offset) {\n capacity--;\n }\n\n return capacity > 0 ? capacity : 1;\n }\n }); // INTERNAL: static default options, registered in src/index.js\n\n var _defaults$4 = defaultConfig$4;\n scale_time._defaults = _defaults$4;\n var scales = {\n category: scale_category,\n linear: scale_linear,\n logarithmic: scale_logarithmic,\n radialLinear: scale_radialLinear,\n time: scale_time\n };\n var FORMATS = {\n datetime: 'MMM D, YYYY, h:mm:ss a',\n millisecond: 'h:mm:ss.SSS a',\n second: 'h:mm:ss a',\n minute: 'h:mm a',\n hour: 'hA',\n day: 'MMM D',\n week: 'll',\n month: 'MMM YYYY',\n quarter: '[Q]Q - YYYY',\n year: 'YYYY'\n };\n\n core_adapters._date.override(typeof moment === 'function' ? {\n _id: 'moment',\n // DEBUG ONLY\n formats: function formats() {\n return FORMATS;\n },\n parse: function parse(value, format) {\n if (typeof value === 'string' && typeof format === 'string') {\n value = moment(value, format);\n } else if (!(value instanceof moment)) {\n value = moment(value);\n }\n\n return value.isValid() ? value.valueOf() : null;\n },\n format: function format(time, _format) {\n return moment(time).format(_format);\n },\n add: function add(time, amount, unit) {\n return moment(time).add(amount, unit).valueOf();\n },\n diff: function diff(max, min, unit) {\n return moment(max).diff(moment(min), unit);\n },\n startOf: function startOf(time, unit, weekday) {\n time = moment(time);\n\n if (unit === 'isoWeek') {\n return time.isoWeekday(weekday).valueOf();\n }\n\n return time.startOf(unit).valueOf();\n },\n endOf: function endOf(time, unit) {\n return moment(time).endOf(unit).valueOf();\n },\n // DEPRECATIONS\n\n /**\n * Provided for backward compatibility with scale.getValueForPixel().\n * @deprecated since version 2.8.0\n * @todo remove at version 3\n * @private\n */\n _create: function _create(time) {\n return moment(time);\n }\n } : {});\n\n core_defaults._set('global', {\n plugins: {\n filler: {\n propagate: true\n }\n }\n });\n\n var mappers = {\n dataset: function dataset(source) {\n var index = source.fill;\n var chart = source.chart;\n var meta = chart.getDatasetMeta(index);\n var visible = meta && chart.isDatasetVisible(index);\n var points = visible && meta.dataset._children || [];\n var length = points.length || 0;\n return !length ? null : function (point, i) {\n return i < length && points[i]._view || null;\n };\n },\n boundary: function boundary(source) {\n var boundary = source.boundary;\n var x = boundary ? boundary.x : null;\n var y = boundary ? boundary.y : null;\n\n if (helpers$1.isArray(boundary)) {\n return function (point, i) {\n return boundary[i];\n };\n }\n\n return function (point) {\n return {\n x: x === null ? point.x : x,\n y: y === null ? point.y : y\n };\n };\n }\n }; // @todo if (fill[0] === '#')\n\n function decodeFill(el, index, count) {\n var model = el._model || {};\n var fill = model.fill;\n var target;\n\n if (fill === undefined) {\n fill = !!model.backgroundColor;\n }\n\n if (fill === false || fill === null) {\n return false;\n }\n\n if (fill === true) {\n return 'origin';\n }\n\n target = parseFloat(fill, 10);\n\n if (isFinite(target) && Math.floor(target) === target) {\n if (fill[0] === '-' || fill[0] === '+') {\n target = index + target;\n }\n\n if (target === index || target < 0 || target >= count) {\n return false;\n }\n\n return target;\n }\n\n switch (fill) {\n // compatibility\n case 'bottom':\n return 'start';\n\n case 'top':\n return 'end';\n\n case 'zero':\n return 'origin';\n // supported boundaries\n\n case 'origin':\n case 'start':\n case 'end':\n return fill;\n // invalid fill values\n\n default:\n return false;\n }\n }\n\n function computeLinearBoundary(source) {\n var model = source.el._model || {};\n var scale = source.el._scale || {};\n var fill = source.fill;\n var target = null;\n var horizontal;\n\n if (isFinite(fill)) {\n return null;\n } // Backward compatibility: until v3, we still need to support boundary values set on\n // the model (scaleTop, scaleBottom and scaleZero) because some external plugins and\n // controllers might still use it (e.g. the Smith chart).\n\n\n if (fill === 'start') {\n target = model.scaleBottom === undefined ? scale.bottom : model.scaleBottom;\n } else if (fill === 'end') {\n target = model.scaleTop === undefined ? scale.top : model.scaleTop;\n } else if (model.scaleZero !== undefined) {\n target = model.scaleZero;\n } else if (scale.getBasePixel) {\n target = scale.getBasePixel();\n }\n\n if (target !== undefined && target !== null) {\n if (target.x !== undefined && target.y !== undefined) {\n return target;\n }\n\n if (helpers$1.isFinite(target)) {\n horizontal = scale.isHorizontal();\n return {\n x: horizontal ? target : null,\n y: horizontal ? null : target\n };\n }\n }\n\n return null;\n }\n\n function computeCircularBoundary(source) {\n var scale = source.el._scale;\n var options = scale.options;\n var length = scale.chart.data.labels.length;\n var fill = source.fill;\n var target = [];\n var start, end, center, i, point;\n\n if (!length) {\n return null;\n }\n\n start = options.ticks.reverse ? scale.max : scale.min;\n end = options.ticks.reverse ? scale.min : scale.max;\n center = scale.getPointPositionForValue(0, start);\n\n for (i = 0; i < length; ++i) {\n point = fill === 'start' || fill === 'end' ? scale.getPointPositionForValue(i, fill === 'start' ? start : end) : scale.getBasePosition(i);\n\n if (options.gridLines.circular) {\n point.cx = center.x;\n point.cy = center.y;\n point.angle = scale.getIndexAngle(i) - Math.PI / 2;\n }\n\n target.push(point);\n }\n\n return target;\n }\n\n function computeBoundary(source) {\n var scale = source.el._scale || {};\n\n if (scale.getPointPositionForValue) {\n return computeCircularBoundary(source);\n }\n\n return computeLinearBoundary(source);\n }\n\n function resolveTarget(sources, index, propagate) {\n var source = sources[index];\n var fill = source.fill;\n var visited = [index];\n var target;\n\n if (!propagate) {\n return fill;\n }\n\n while (fill !== false && visited.indexOf(fill) === -1) {\n if (!isFinite(fill)) {\n return fill;\n }\n\n target = sources[fill];\n\n if (!target) {\n return false;\n }\n\n if (target.visible) {\n return fill;\n }\n\n visited.push(fill);\n fill = target.fill;\n }\n\n return false;\n }\n\n function createMapper(source) {\n var fill = source.fill;\n var type = 'dataset';\n\n if (fill === false) {\n return null;\n }\n\n if (!isFinite(fill)) {\n type = 'boundary';\n }\n\n return mappers[type](source);\n }\n\n function isDrawable(point) {\n return point && !point.skip;\n }\n\n function drawArea(ctx, curve0, curve1, len0, len1) {\n var i, cx, cy, r;\n\n if (!len0 || !len1) {\n return;\n } // building first area curve (normal)\n\n\n ctx.moveTo(curve0[0].x, curve0[0].y);\n\n for (i = 1; i < len0; ++i) {\n helpers$1.canvas.lineTo(ctx, curve0[i - 1], curve0[i]);\n }\n\n if (curve1[0].angle !== undefined) {\n cx = curve1[0].cx;\n cy = curve1[0].cy;\n r = Math.sqrt(Math.pow(curve1[0].x - cx, 2) + Math.pow(curve1[0].y - cy, 2));\n\n for (i = len1 - 1; i > 0; --i) {\n ctx.arc(cx, cy, r, curve1[i].angle, curve1[i - 1].angle, true);\n }\n\n return;\n } // joining the two area curves\n\n\n ctx.lineTo(curve1[len1 - 1].x, curve1[len1 - 1].y); // building opposite area curve (reverse)\n\n for (i = len1 - 1; i > 0; --i) {\n helpers$1.canvas.lineTo(ctx, curve1[i], curve1[i - 1], true);\n }\n }\n\n function doFill(ctx, points, mapper, view, color, loop) {\n var count = points.length;\n var span = view.spanGaps;\n var curve0 = [];\n var curve1 = [];\n var len0 = 0;\n var len1 = 0;\n var i, ilen, index, p0, p1, d0, d1, loopOffset;\n ctx.beginPath();\n\n for (i = 0, ilen = count; i < ilen; ++i) {\n index = i % count;\n p0 = points[index]._view;\n p1 = mapper(p0, index, view);\n d0 = isDrawable(p0);\n d1 = isDrawable(p1);\n\n if (loop && loopOffset === undefined && d0) {\n loopOffset = i + 1;\n ilen = count + loopOffset;\n }\n\n if (d0 && d1) {\n len0 = curve0.push(p0);\n len1 = curve1.push(p1);\n } else if (len0 && len1) {\n if (!span) {\n drawArea(ctx, curve0, curve1, len0, len1);\n len0 = len1 = 0;\n curve0 = [];\n curve1 = [];\n } else {\n if (d0) {\n curve0.push(p0);\n }\n\n if (d1) {\n curve1.push(p1);\n }\n }\n }\n }\n\n drawArea(ctx, curve0, curve1, len0, len1);\n ctx.closePath();\n ctx.fillStyle = color;\n ctx.fill();\n }\n\n var plugin_filler = {\n id: 'filler',\n afterDatasetsUpdate: function afterDatasetsUpdate(chart, options) {\n var count = (chart.data.datasets || []).length;\n var propagate = options.propagate;\n var sources = [];\n var meta, i, el, source;\n\n for (i = 0; i < count; ++i) {\n meta = chart.getDatasetMeta(i);\n el = meta.dataset;\n source = null;\n\n if (el && el._model && el instanceof elements.Line) {\n source = {\n visible: chart.isDatasetVisible(i),\n fill: decodeFill(el, i, count),\n chart: chart,\n el: el\n };\n }\n\n meta.$filler = source;\n sources.push(source);\n }\n\n for (i = 0; i < count; ++i) {\n source = sources[i];\n\n if (!source) {\n continue;\n }\n\n source.fill = resolveTarget(sources, i, propagate);\n source.boundary = computeBoundary(source);\n source.mapper = createMapper(source);\n }\n },\n beforeDatasetsDraw: function beforeDatasetsDraw(chart) {\n var metasets = chart._getSortedVisibleDatasetMetas();\n\n var ctx = chart.ctx;\n var meta, i, el, view, points, mapper, color;\n\n for (i = metasets.length - 1; i >= 0; --i) {\n meta = metasets[i].$filler;\n\n if (!meta || !meta.visible) {\n continue;\n }\n\n el = meta.el;\n view = el._view;\n points = el._children || [];\n mapper = meta.mapper;\n color = view.backgroundColor || core_defaults.global.defaultColor;\n\n if (mapper && color && points.length) {\n helpers$1.canvas.clipArea(ctx, chart.chartArea);\n doFill(ctx, points, mapper, view, color, el._loop);\n helpers$1.canvas.unclipArea(ctx);\n }\n }\n }\n };\n var getRtlHelper$1 = helpers$1.rtl.getRtlAdapter;\n var noop$1 = helpers$1.noop;\n var valueOrDefault$e = helpers$1.valueOrDefault;\n\n core_defaults._set('global', {\n legend: {\n display: true,\n position: 'top',\n align: 'center',\n fullWidth: true,\n reverse: false,\n weight: 1000,\n // a callback that will handle\n onClick: function onClick(e, legendItem) {\n var index = legendItem.datasetIndex;\n var ci = this.chart;\n var meta = ci.getDatasetMeta(index); // See controller.isDatasetVisible comment\n\n meta.hidden = meta.hidden === null ? !ci.data.datasets[index].hidden : null; // We hid a dataset ... rerender the chart\n\n ci.update();\n },\n onHover: null,\n onLeave: null,\n labels: {\n boxWidth: 40,\n padding: 10,\n // Generates labels shown in the legend\n // Valid properties to return:\n // text : text to display\n // fillStyle : fill of coloured box\n // strokeStyle: stroke of coloured box\n // hidden : if this legend item refers to a hidden item\n // lineCap : cap style for line\n // lineDash\n // lineDashOffset :\n // lineJoin :\n // lineWidth :\n generateLabels: function generateLabels(chart) {\n var datasets = chart.data.datasets;\n var options = chart.options.legend || {};\n var usePointStyle = options.labels && options.labels.usePointStyle;\n return chart._getSortedDatasetMetas().map(function (meta) {\n var style = meta.controller.getStyle(usePointStyle ? 0 : undefined);\n return {\n text: datasets[meta.index].label,\n fillStyle: style.backgroundColor,\n hidden: !chart.isDatasetVisible(meta.index),\n lineCap: style.borderCapStyle,\n lineDash: style.borderDash,\n lineDashOffset: style.borderDashOffset,\n lineJoin: style.borderJoinStyle,\n lineWidth: style.borderWidth,\n strokeStyle: style.borderColor,\n pointStyle: style.pointStyle,\n rotation: style.rotation,\n // Below is extra data used for toggling the datasets\n datasetIndex: meta.index\n };\n }, this);\n }\n }\n },\n legendCallback: function legendCallback(chart) {\n var list = document.createElement('ul');\n var datasets = chart.data.datasets;\n var i, ilen, listItem, listItemSpan;\n list.setAttribute('class', chart.id + '-legend');\n\n for (i = 0, ilen = datasets.length; i < ilen; i++) {\n listItem = list.appendChild(document.createElement('li'));\n listItemSpan = listItem.appendChild(document.createElement('span'));\n listItemSpan.style.backgroundColor = datasets[i].backgroundColor;\n\n if (datasets[i].label) {\n listItem.appendChild(document.createTextNode(datasets[i].label));\n }\n }\n\n return list.outerHTML;\n }\n });\n /**\n * Helper function to get the box width based on the usePointStyle option\n * @param {object} labelopts - the label options on the legend\n * @param {number} fontSize - the label font size\n * @return {number} width of the color box area\n */\n\n\n function getBoxWidth(labelOpts, fontSize) {\n return labelOpts.usePointStyle && labelOpts.boxWidth > fontSize ? fontSize : labelOpts.boxWidth;\n }\n /**\n * IMPORTANT: this class is exposed publicly as Chart.Legend, backward compatibility required!\n */\n\n\n var Legend = core_element.extend({\n initialize: function initialize(config) {\n var me = this;\n helpers$1.extend(me, config); // Contains hit boxes for each dataset (in dataset order)\n\n me.legendHitBoxes = [];\n /**\n \t * @private\n \t */\n\n me._hoveredItem = null; // Are we in doughnut mode which has a different data type\n\n me.doughnutMode = false;\n },\n // These methods are ordered by lifecycle. Utilities then follow.\n // Any function defined here is inherited by all legend types.\n // Any function can be extended by the legend type\n beforeUpdate: noop$1,\n update: function update(maxWidth, maxHeight, margins) {\n var me = this; // Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\n\n me.beforeUpdate(); // Absorb the master measurements\n\n me.maxWidth = maxWidth;\n me.maxHeight = maxHeight;\n me.margins = margins; // Dimensions\n\n me.beforeSetDimensions();\n me.setDimensions();\n me.afterSetDimensions(); // Labels\n\n me.beforeBuildLabels();\n me.buildLabels();\n me.afterBuildLabels(); // Fit\n\n me.beforeFit();\n me.fit();\n me.afterFit(); //\n\n me.afterUpdate();\n return me.minSize;\n },\n afterUpdate: noop$1,\n //\n beforeSetDimensions: noop$1,\n setDimensions: function setDimensions() {\n var me = this; // Set the unconstrained dimension before label rotation\n\n if (me.isHorizontal()) {\n // Reset position before calculating rotation\n me.width = me.maxWidth;\n me.left = 0;\n me.right = me.width;\n } else {\n me.height = me.maxHeight; // Reset position before calculating rotation\n\n me.top = 0;\n me.bottom = me.height;\n } // Reset padding\n\n\n me.paddingLeft = 0;\n me.paddingTop = 0;\n me.paddingRight = 0;\n me.paddingBottom = 0; // Reset minSize\n\n me.minSize = {\n width: 0,\n height: 0\n };\n },\n afterSetDimensions: noop$1,\n //\n beforeBuildLabels: noop$1,\n buildLabels: function buildLabels() {\n var me = this;\n var labelOpts = me.options.labels || {};\n var legendItems = helpers$1.callback(labelOpts.generateLabels, [me.chart], me) || [];\n\n if (labelOpts.filter) {\n legendItems = legendItems.filter(function (item) {\n return labelOpts.filter(item, me.chart.data);\n });\n }\n\n if (me.options.reverse) {\n legendItems.reverse();\n }\n\n me.legendItems = legendItems;\n },\n afterBuildLabels: noop$1,\n //\n beforeFit: noop$1,\n fit: function fit() {\n var me = this;\n var opts = me.options;\n var labelOpts = opts.labels;\n var display = opts.display;\n var ctx = me.ctx;\n\n var labelFont = helpers$1.options._parseFont(labelOpts);\n\n var fontSize = labelFont.size; // Reset hit boxes\n\n var hitboxes = me.legendHitBoxes = [];\n var minSize = me.minSize;\n var isHorizontal = me.isHorizontal();\n\n if (isHorizontal) {\n minSize.width = me.maxWidth; // fill all the width\n\n minSize.height = display ? 10 : 0;\n } else {\n minSize.width = display ? 10 : 0;\n minSize.height = me.maxHeight; // fill all the height\n } // Increase sizes here\n\n\n if (!display) {\n me.width = minSize.width = me.height = minSize.height = 0;\n return;\n }\n\n ctx.font = labelFont.string;\n\n if (isHorizontal) {\n // Labels\n // Width of each line of legend boxes. Labels wrap onto multiple lines when there are too many to fit on one\n var lineWidths = me.lineWidths = [0];\n var totalHeight = 0;\n ctx.textAlign = 'left';\n ctx.textBaseline = 'middle';\n helpers$1.each(me.legendItems, function (legendItem, i) {\n var boxWidth = getBoxWidth(labelOpts, fontSize);\n var width = boxWidth + fontSize / 2 + ctx.measureText(legendItem.text).width;\n\n if (i === 0 || lineWidths[lineWidths.length - 1] + width + 2 * labelOpts.padding > minSize.width) {\n totalHeight += fontSize + labelOpts.padding;\n lineWidths[lineWidths.length - (i > 0 ? 0 : 1)] = 0;\n } // Store the hitbox width and height here. Final position will be updated in `draw`\n\n\n hitboxes[i] = {\n left: 0,\n top: 0,\n width: width,\n height: fontSize\n };\n lineWidths[lineWidths.length - 1] += width + labelOpts.padding;\n });\n minSize.height += totalHeight;\n } else {\n var vPadding = labelOpts.padding;\n var columnWidths = me.columnWidths = [];\n var columnHeights = me.columnHeights = [];\n var totalWidth = labelOpts.padding;\n var currentColWidth = 0;\n var currentColHeight = 0;\n helpers$1.each(me.legendItems, function (legendItem, i) {\n var boxWidth = getBoxWidth(labelOpts, fontSize);\n var itemWidth = boxWidth + fontSize / 2 + ctx.measureText(legendItem.text).width; // If too tall, go to new column\n\n if (i > 0 && currentColHeight + fontSize + 2 * vPadding > minSize.height) {\n totalWidth += currentColWidth + labelOpts.padding;\n columnWidths.push(currentColWidth); // previous column width\n\n columnHeights.push(currentColHeight);\n currentColWidth = 0;\n currentColHeight = 0;\n } // Get max width\n\n\n currentColWidth = Math.max(currentColWidth, itemWidth);\n currentColHeight += fontSize + vPadding; // Store the hitbox width and height here. Final position will be updated in `draw`\n\n hitboxes[i] = {\n left: 0,\n top: 0,\n width: itemWidth,\n height: fontSize\n };\n });\n totalWidth += currentColWidth;\n columnWidths.push(currentColWidth);\n columnHeights.push(currentColHeight);\n minSize.width += totalWidth;\n }\n\n me.width = minSize.width;\n me.height = minSize.height;\n },\n afterFit: noop$1,\n // Shared Methods\n isHorizontal: function isHorizontal() {\n return this.options.position === 'top' || this.options.position === 'bottom';\n },\n // Actually draw the legend on the canvas\n draw: function draw() {\n var me = this;\n var opts = me.options;\n var labelOpts = opts.labels;\n var globalDefaults = core_defaults.global;\n var defaultColor = globalDefaults.defaultColor;\n var lineDefault = globalDefaults.elements.line;\n var legendHeight = me.height;\n var columnHeights = me.columnHeights;\n var legendWidth = me.width;\n var lineWidths = me.lineWidths;\n\n if (!opts.display) {\n return;\n }\n\n var rtlHelper = getRtlHelper$1(opts.rtl, me.left, me.minSize.width);\n var ctx = me.ctx;\n var fontColor = valueOrDefault$e(labelOpts.fontColor, globalDefaults.defaultFontColor);\n\n var labelFont = helpers$1.options._parseFont(labelOpts);\n\n var fontSize = labelFont.size;\n var cursor; // Canvas setup\n\n ctx.textAlign = rtlHelper.textAlign('left');\n ctx.textBaseline = 'middle';\n ctx.lineWidth = 0.5;\n ctx.strokeStyle = fontColor; // for strikethrough effect\n\n ctx.fillStyle = fontColor; // render in correct colour\n\n ctx.font = labelFont.string;\n var boxWidth = getBoxWidth(labelOpts, fontSize);\n var hitboxes = me.legendHitBoxes; // current position\n\n var drawLegendBox = function drawLegendBox(x, y, legendItem) {\n if (isNaN(boxWidth) || boxWidth <= 0) {\n return;\n } // Set the ctx for the box\n\n\n ctx.save();\n var lineWidth = valueOrDefault$e(legendItem.lineWidth, lineDefault.borderWidth);\n ctx.fillStyle = valueOrDefault$e(legendItem.fillStyle, defaultColor);\n ctx.lineCap = valueOrDefault$e(legendItem.lineCap, lineDefault.borderCapStyle);\n ctx.lineDashOffset = valueOrDefault$e(legendItem.lineDashOffset, lineDefault.borderDashOffset);\n ctx.lineJoin = valueOrDefault$e(legendItem.lineJoin, lineDefault.borderJoinStyle);\n ctx.lineWidth = lineWidth;\n ctx.strokeStyle = valueOrDefault$e(legendItem.strokeStyle, defaultColor);\n\n if (ctx.setLineDash) {\n // IE 9 and 10 do not support line dash\n ctx.setLineDash(valueOrDefault$e(legendItem.lineDash, lineDefault.borderDash));\n }\n\n if (labelOpts && labelOpts.usePointStyle) {\n // Recalculate x and y for drawPoint() because its expecting\n // x and y to be center of figure (instead of top left)\n var radius = boxWidth * Math.SQRT2 / 2;\n var centerX = rtlHelper.xPlus(x, boxWidth / 2);\n var centerY = y + fontSize / 2; // Draw pointStyle as legend symbol\n\n helpers$1.canvas.drawPoint(ctx, legendItem.pointStyle, radius, centerX, centerY, legendItem.rotation);\n } else {\n // Draw box as legend symbol\n ctx.fillRect(rtlHelper.leftForLtr(x, boxWidth), y, boxWidth, fontSize);\n\n if (lineWidth !== 0) {\n ctx.strokeRect(rtlHelper.leftForLtr(x, boxWidth), y, boxWidth, fontSize);\n }\n }\n\n ctx.restore();\n };\n\n var fillText = function fillText(x, y, legendItem, textWidth) {\n var halfFontSize = fontSize / 2;\n var xLeft = rtlHelper.xPlus(x, boxWidth + halfFontSize);\n var yMiddle = y + halfFontSize;\n ctx.fillText(legendItem.text, xLeft, yMiddle);\n\n if (legendItem.hidden) {\n // Strikethrough the text if hidden\n ctx.beginPath();\n ctx.lineWidth = 2;\n ctx.moveTo(xLeft, yMiddle);\n ctx.lineTo(rtlHelper.xPlus(xLeft, textWidth), yMiddle);\n ctx.stroke();\n }\n };\n\n var alignmentOffset = function alignmentOffset(dimension, blockSize) {\n switch (opts.align) {\n case 'start':\n return labelOpts.padding;\n\n case 'end':\n return dimension - blockSize;\n\n default:\n // center\n return (dimension - blockSize + labelOpts.padding) / 2;\n }\n }; // Horizontal\n\n\n var isHorizontal = me.isHorizontal();\n\n if (isHorizontal) {\n cursor = {\n x: me.left + alignmentOffset(legendWidth, lineWidths[0]),\n y: me.top + labelOpts.padding,\n line: 0\n };\n } else {\n cursor = {\n x: me.left + labelOpts.padding,\n y: me.top + alignmentOffset(legendHeight, columnHeights[0]),\n line: 0\n };\n }\n\n helpers$1.rtl.overrideTextDirection(me.ctx, opts.textDirection);\n var itemHeight = fontSize + labelOpts.padding;\n helpers$1.each(me.legendItems, function (legendItem, i) {\n var textWidth = ctx.measureText(legendItem.text).width;\n var width = boxWidth + fontSize / 2 + textWidth;\n var x = cursor.x;\n var y = cursor.y;\n rtlHelper.setWidth(me.minSize.width); // Use (me.left + me.minSize.width) and (me.top + me.minSize.height)\n // instead of me.right and me.bottom because me.width and me.height\n // may have been changed since me.minSize was calculated\n\n if (isHorizontal) {\n if (i > 0 && x + width + labelOpts.padding > me.left + me.minSize.width) {\n y = cursor.y += itemHeight;\n cursor.line++;\n x = cursor.x = me.left + alignmentOffset(legendWidth, lineWidths[cursor.line]);\n }\n } else if (i > 0 && y + itemHeight > me.top + me.minSize.height) {\n x = cursor.x = x + me.columnWidths[cursor.line] + labelOpts.padding;\n cursor.line++;\n y = cursor.y = me.top + alignmentOffset(legendHeight, columnHeights[cursor.line]);\n }\n\n var realX = rtlHelper.x(x);\n drawLegendBox(realX, y, legendItem);\n hitboxes[i].left = rtlHelper.leftForLtr(realX, hitboxes[i].width);\n hitboxes[i].top = y; // Fill the actual label\n\n fillText(realX, y, legendItem, textWidth);\n\n if (isHorizontal) {\n cursor.x += width + labelOpts.padding;\n } else {\n cursor.y += itemHeight;\n }\n });\n helpers$1.rtl.restoreTextDirection(me.ctx, opts.textDirection);\n },\n\n /**\n * @private\n */\n _getLegendItemAt: function _getLegendItemAt(x, y) {\n var me = this;\n var i, hitBox, lh;\n\n if (x >= me.left && x <= me.right && y >= me.top && y <= me.bottom) {\n // See if we are touching one of the dataset boxes\n lh = me.legendHitBoxes;\n\n for (i = 0; i < lh.length; ++i) {\n hitBox = lh[i];\n\n if (x >= hitBox.left && x <= hitBox.left + hitBox.width && y >= hitBox.top && y <= hitBox.top + hitBox.height) {\n // Touching an element\n return me.legendItems[i];\n }\n }\n }\n\n return null;\n },\n\n /**\n * Handle an event\n * @private\n * @param {IEvent} event - The event to handle\n */\n handleEvent: function handleEvent(e) {\n var me = this;\n var opts = me.options;\n var type = e.type === 'mouseup' ? 'click' : e.type;\n var hoveredItem;\n\n if (type === 'mousemove') {\n if (!opts.onHover && !opts.onLeave) {\n return;\n }\n } else if (type === 'click') {\n if (!opts.onClick) {\n return;\n }\n } else {\n return;\n } // Chart event already has relative position in it\n\n\n hoveredItem = me._getLegendItemAt(e.x, e.y);\n\n if (type === 'click') {\n if (hoveredItem && opts.onClick) {\n // use e.native for backwards compatibility\n opts.onClick.call(me, e.native, hoveredItem);\n }\n } else {\n if (opts.onLeave && hoveredItem !== me._hoveredItem) {\n if (me._hoveredItem) {\n opts.onLeave.call(me, e.native, me._hoveredItem);\n }\n\n me._hoveredItem = hoveredItem;\n }\n\n if (opts.onHover && hoveredItem) {\n // use e.native for backwards compatibility\n opts.onHover.call(me, e.native, hoveredItem);\n }\n }\n }\n });\n\n function createNewLegendAndAttach(chart, legendOpts) {\n var legend = new Legend({\n ctx: chart.ctx,\n options: legendOpts,\n chart: chart\n });\n core_layouts.configure(chart, legend, legendOpts);\n core_layouts.addBox(chart, legend);\n chart.legend = legend;\n }\n\n var plugin_legend = {\n id: 'legend',\n\n /**\n * Backward compatibility: since 2.1.5, the legend is registered as a plugin, making\n * Chart.Legend obsolete. To avoid a breaking change, we export the Legend as part of\n * the plugin, which one will be re-exposed in the chart.js file.\n * https://github.com/chartjs/Chart.js/pull/2640\n * @private\n */\n _element: Legend,\n beforeInit: function beforeInit(chart) {\n var legendOpts = chart.options.legend;\n\n if (legendOpts) {\n createNewLegendAndAttach(chart, legendOpts);\n }\n },\n beforeUpdate: function beforeUpdate(chart) {\n var legendOpts = chart.options.legend;\n var legend = chart.legend;\n\n if (legendOpts) {\n helpers$1.mergeIf(legendOpts, core_defaults.global.legend);\n\n if (legend) {\n core_layouts.configure(chart, legend, legendOpts);\n legend.options = legendOpts;\n } else {\n createNewLegendAndAttach(chart, legendOpts);\n }\n } else if (legend) {\n core_layouts.removeBox(chart, legend);\n delete chart.legend;\n }\n },\n afterEvent: function afterEvent(chart, e) {\n var legend = chart.legend;\n\n if (legend) {\n legend.handleEvent(e);\n }\n }\n };\n var noop$2 = helpers$1.noop;\n\n core_defaults._set('global', {\n title: {\n display: false,\n fontStyle: 'bold',\n fullWidth: true,\n padding: 10,\n position: 'top',\n text: '',\n weight: 2000 // by default greater than legend (1000) to be above\n\n }\n });\n /**\n * IMPORTANT: this class is exposed publicly as Chart.Legend, backward compatibility required!\n */\n\n\n var Title = core_element.extend({\n initialize: function initialize(config) {\n var me = this;\n helpers$1.extend(me, config); // Contains hit boxes for each dataset (in dataset order)\n\n me.legendHitBoxes = [];\n },\n // These methods are ordered by lifecycle. Utilities then follow.\n beforeUpdate: noop$2,\n update: function update(maxWidth, maxHeight, margins) {\n var me = this; // Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\n\n me.beforeUpdate(); // Absorb the master measurements\n\n me.maxWidth = maxWidth;\n me.maxHeight = maxHeight;\n me.margins = margins; // Dimensions\n\n me.beforeSetDimensions();\n me.setDimensions();\n me.afterSetDimensions(); // Labels\n\n me.beforeBuildLabels();\n me.buildLabels();\n me.afterBuildLabels(); // Fit\n\n me.beforeFit();\n me.fit();\n me.afterFit(); //\n\n me.afterUpdate();\n return me.minSize;\n },\n afterUpdate: noop$2,\n //\n beforeSetDimensions: noop$2,\n setDimensions: function setDimensions() {\n var me = this; // Set the unconstrained dimension before label rotation\n\n if (me.isHorizontal()) {\n // Reset position before calculating rotation\n me.width = me.maxWidth;\n me.left = 0;\n me.right = me.width;\n } else {\n me.height = me.maxHeight; // Reset position before calculating rotation\n\n me.top = 0;\n me.bottom = me.height;\n } // Reset padding\n\n\n me.paddingLeft = 0;\n me.paddingTop = 0;\n me.paddingRight = 0;\n me.paddingBottom = 0; // Reset minSize\n\n me.minSize = {\n width: 0,\n height: 0\n };\n },\n afterSetDimensions: noop$2,\n //\n beforeBuildLabels: noop$2,\n buildLabels: noop$2,\n afterBuildLabels: noop$2,\n //\n beforeFit: noop$2,\n fit: function fit() {\n var me = this;\n var opts = me.options;\n var minSize = me.minSize = {};\n var isHorizontal = me.isHorizontal();\n var lineCount, textSize;\n\n if (!opts.display) {\n me.width = minSize.width = me.height = minSize.height = 0;\n return;\n }\n\n lineCount = helpers$1.isArray(opts.text) ? opts.text.length : 1;\n textSize = lineCount * helpers$1.options._parseFont(opts).lineHeight + opts.padding * 2;\n me.width = minSize.width = isHorizontal ? me.maxWidth : textSize;\n me.height = minSize.height = isHorizontal ? textSize : me.maxHeight;\n },\n afterFit: noop$2,\n // Shared Methods\n isHorizontal: function isHorizontal() {\n var pos = this.options.position;\n return pos === 'top' || pos === 'bottom';\n },\n // Actually draw the title block on the canvas\n draw: function draw() {\n var me = this;\n var ctx = me.ctx;\n var opts = me.options;\n\n if (!opts.display) {\n return;\n }\n\n var fontOpts = helpers$1.options._parseFont(opts);\n\n var lineHeight = fontOpts.lineHeight;\n var offset = lineHeight / 2 + opts.padding;\n var rotation = 0;\n var top = me.top;\n var left = me.left;\n var bottom = me.bottom;\n var right = me.right;\n var maxWidth, titleX, titleY;\n ctx.fillStyle = helpers$1.valueOrDefault(opts.fontColor, core_defaults.global.defaultFontColor); // render in correct colour\n\n ctx.font = fontOpts.string; // Horizontal\n\n if (me.isHorizontal()) {\n titleX = left + (right - left) / 2; // midpoint of the width\n\n titleY = top + offset;\n maxWidth = right - left;\n } else {\n titleX = opts.position === 'left' ? left + offset : right - offset;\n titleY = top + (bottom - top) / 2;\n maxWidth = bottom - top;\n rotation = Math.PI * (opts.position === 'left' ? -0.5 : 0.5);\n }\n\n ctx.save();\n ctx.translate(titleX, titleY);\n ctx.rotate(rotation);\n ctx.textAlign = 'center';\n ctx.textBaseline = 'middle';\n var text = opts.text;\n\n if (helpers$1.isArray(text)) {\n var y = 0;\n\n for (var i = 0; i < text.length; ++i) {\n ctx.fillText(text[i], 0, y, maxWidth);\n y += lineHeight;\n }\n } else {\n ctx.fillText(text, 0, 0, maxWidth);\n }\n\n ctx.restore();\n }\n });\n\n function createNewTitleBlockAndAttach(chart, titleOpts) {\n var title = new Title({\n ctx: chart.ctx,\n options: titleOpts,\n chart: chart\n });\n core_layouts.configure(chart, title, titleOpts);\n core_layouts.addBox(chart, title);\n chart.titleBlock = title;\n }\n\n var plugin_title = {\n id: 'title',\n\n /**\n * Backward compatibility: since 2.1.5, the title is registered as a plugin, making\n * Chart.Title obsolete. To avoid a breaking change, we export the Title as part of\n * the plugin, which one will be re-exposed in the chart.js file.\n * https://github.com/chartjs/Chart.js/pull/2640\n * @private\n */\n _element: Title,\n beforeInit: function beforeInit(chart) {\n var titleOpts = chart.options.title;\n\n if (titleOpts) {\n createNewTitleBlockAndAttach(chart, titleOpts);\n }\n },\n beforeUpdate: function beforeUpdate(chart) {\n var titleOpts = chart.options.title;\n var titleBlock = chart.titleBlock;\n\n if (titleOpts) {\n helpers$1.mergeIf(titleOpts, core_defaults.global.title);\n\n if (titleBlock) {\n core_layouts.configure(chart, titleBlock, titleOpts);\n titleBlock.options = titleOpts;\n } else {\n createNewTitleBlockAndAttach(chart, titleOpts);\n }\n } else if (titleBlock) {\n core_layouts.removeBox(chart, titleBlock);\n delete chart.titleBlock;\n }\n }\n };\n var plugins = {};\n var filler = plugin_filler;\n var legend = plugin_legend;\n var title = plugin_title;\n plugins.filler = filler;\n plugins.legend = legend;\n plugins.title = title;\n /**\n * @namespace Chart\n */\n\n core_controller.helpers = helpers$1; // @todo dispatch these helpers into appropriated helpers/helpers.* file and write unit tests!\n\n core_helpers();\n core_controller._adapters = core_adapters;\n core_controller.Animation = core_animation;\n core_controller.animationService = core_animations;\n core_controller.controllers = controllers;\n core_controller.DatasetController = core_datasetController;\n core_controller.defaults = core_defaults;\n core_controller.Element = core_element;\n core_controller.elements = elements;\n core_controller.Interaction = core_interaction;\n core_controller.layouts = core_layouts;\n core_controller.platform = platform;\n core_controller.plugins = core_plugins;\n core_controller.Scale = core_scale;\n core_controller.scaleService = core_scaleService;\n core_controller.Ticks = core_ticks;\n core_controller.Tooltip = core_tooltip; // Register built-in scales\n\n core_controller.helpers.each(scales, function (scale, type) {\n core_controller.scaleService.registerScaleType(type, scale, scale._defaults);\n }); // Load to register built-in adapters (as side effects)\n // Loading built-in plugins\n\n for (var k in plugins) {\n if (plugins.hasOwnProperty(k)) {\n core_controller.plugins.register(plugins[k]);\n }\n }\n\n core_controller.platform.initialize();\n var src = core_controller;\n\n if (typeof window !== 'undefined') {\n window.Chart = core_controller;\n } // DEPRECATIONS\n\n /**\n * Provided for backward compatibility, not available anymore\n * @namespace Chart.Chart\n * @deprecated since version 2.8.0\n * @todo remove at version 3\n * @private\n */\n\n\n core_controller.Chart = core_controller;\n /**\n * Provided for backward compatibility, not available anymore\n * @namespace Chart.Legend\n * @deprecated since version 2.1.5\n * @todo remove at version 3\n * @private\n */\n\n core_controller.Legend = plugins.legend._element;\n /**\n * Provided for backward compatibility, not available anymore\n * @namespace Chart.Title\n * @deprecated since version 2.1.5\n * @todo remove at version 3\n * @private\n */\n\n core_controller.Title = plugins.title._element;\n /**\n * Provided for backward compatibility, use Chart.plugins instead\n * @namespace Chart.pluginService\n * @deprecated since version 2.1.5\n * @todo remove at version 3\n * @private\n */\n\n core_controller.pluginService = core_controller.plugins;\n /**\n * Provided for backward compatibility, inheriting from Chart.PlugingBase has no\n * effect, instead simply create/register plugins via plain JavaScript objects.\n * @interface Chart.PluginBase\n * @deprecated since version 2.5.0\n * @todo remove at version 3\n * @private\n */\n\n core_controller.PluginBase = core_controller.Element.extend({});\n /**\n * Provided for backward compatibility, use Chart.helpers.canvas instead.\n * @namespace Chart.canvasHelpers\n * @deprecated since version 2.6.0\n * @todo remove at version 3\n * @private\n */\n\n core_controller.canvasHelpers = core_controller.helpers.canvas;\n /**\n * Provided for backward compatibility, use Chart.layouts instead.\n * @namespace Chart.layoutService\n * @deprecated since version 2.7.3\n * @todo remove at version 3\n * @private\n */\n\n core_controller.layoutService = core_controller.layouts;\n /**\n * Provided for backward compatibility, not available anymore.\n * @namespace Chart.LinearScaleBase\n * @deprecated since version 2.8\n * @todo remove at version 3\n * @private\n */\n\n core_controller.LinearScaleBase = scale_linearbase;\n /**\n * Provided for backward compatibility, instead we should create a new Chart\n * by setting the type in the config (`new Chart(id, {type: '{chart-type}'}`).\n * @deprecated since version 2.8.0\n * @todo remove at version 3\n */\n\n core_controller.helpers.each(['Bar', 'Bubble', 'Doughnut', 'Line', 'PolarArea', 'Radar', 'Scatter'], function (klass) {\n core_controller[klass] = function (ctx, cfg) {\n return new core_controller(ctx, core_controller.helpers.merge(cfg || {}, {\n type: klass.charAt(0).toLowerCase() + klass.slice(1)\n }));\n };\n });\n return src;\n});","!function (e, t) {\n if (\"function\" == typeof define && define.amd) define([\"exports\"], t);else if (\"undefined\" != typeof exports) t(exports);else {\n var o = {};\n t(o), e.bodyScrollLock = o;\n }\n}(this, function (exports) {\n \"use strict\";\n\n function i(e) {\n if (Array.isArray(e)) {\n for (var t = 0, o = Array(e.length); t < e.length; t++) {\n o[t] = e[t];\n }\n\n return o;\n }\n\n return Array.from(e);\n }\n\n Object.defineProperty(exports, \"__esModule\", {\n value: !0\n });\n var l = !1;\n\n if (\"undefined\" != typeof window) {\n var e = {\n get passive() {\n l = !0;\n }\n\n };\n window.addEventListener(\"testPassive\", null, e), window.removeEventListener(\"testPassive\", null, e);\n }\n\n function d(t) {\n return u.some(function (e) {\n return !(!e.options.allowTouchMove || !e.options.allowTouchMove(t));\n });\n }\n\n function c(e) {\n var t = e || window.event;\n return !!d(t.target) || 1 < t.touches.length || (t.preventDefault && t.preventDefault(), !1);\n }\n\n function o() {\n setTimeout(function () {\n void 0 !== m && (document.body.style.paddingRight = m, m = void 0), void 0 !== f && (document.body.style.overflow = f, f = void 0);\n });\n }\n\n var a = \"undefined\" != typeof window && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || \"MacIntel\" === window.navigator.platform && 1 < window.navigator.maxTouchPoints),\n u = [],\n s = !1,\n v = -1,\n f = void 0,\n m = void 0;\n exports.disableBodyScroll = function (r, e) {\n if (a) {\n if (!r) return void console.error(\"disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.\");\n\n if (r && !u.some(function (e) {\n return e.targetElement === r;\n })) {\n var t = {\n targetElement: r,\n options: e || {}\n };\n u = [].concat(i(u), [t]), r.ontouchstart = function (e) {\n 1 === e.targetTouches.length && (v = e.targetTouches[0].clientY);\n }, r.ontouchmove = function (e) {\n var t, o, n, i;\n 1 === e.targetTouches.length && (o = r, i = (t = e).targetTouches[0].clientY - v, d(t.target) || (o && 0 === o.scrollTop && 0 < i || (n = o) && n.scrollHeight - n.scrollTop <= n.clientHeight && i < 0 ? c(t) : t.stopPropagation()));\n }, s || (document.addEventListener(\"touchmove\", c, l ? {\n passive: !1\n } : void 0), s = !0);\n }\n } else {\n n = e, setTimeout(function () {\n if (void 0 === m) {\n var e = !!n && !0 === n.reserveScrollBarGap,\n t = window.innerWidth - document.documentElement.clientWidth;\n e && 0 < t && (m = document.body.style.paddingRight, document.body.style.paddingRight = t + \"px\");\n }\n\n void 0 === f && (f = document.body.style.overflow, document.body.style.overflow = \"hidden\");\n });\n var o = {\n targetElement: r,\n options: e || {}\n };\n u = [].concat(i(u), [o]);\n }\n\n var n;\n }, exports.clearAllBodyScrollLocks = function () {\n a ? (u.forEach(function (e) {\n e.targetElement.ontouchstart = null, e.targetElement.ontouchmove = null;\n }), s && (document.removeEventListener(\"touchmove\", c, l ? {\n passive: !1\n } : void 0), s = !1), u = [], v = -1) : (o(), u = []);\n }, exports.enableBodyScroll = function (t) {\n if (a) {\n if (!t) return void console.error(\"enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.\");\n t.ontouchstart = null, t.ontouchmove = null, u = u.filter(function (e) {\n return e.targetElement !== t;\n }), s && 0 === u.length && (document.removeEventListener(\"touchmove\", c, l ? {\n passive: !1\n } : void 0), s = !1);\n } else (u = u.filter(function (e) {\n return e.targetElement !== t;\n })).length || o();\n };\n});","/* globals __webpack_amd_options__ */\nmodule.exports = __webpack_amd_options__;\n","module.exports = require('./lib/heap');","/**\r\n * @author imor / https://github.com/imor\r\n */\nvar Heap = require('heap');\n\nvar Util = require('../core/Util');\n\nvar Heuristic = require('../core/Heuristic');\n\nvar DiagonalMovement = require('../core/DiagonalMovement');\n/**\r\n * Base class for the Jump Point Search algorithm\r\n * @param {object} opt\r\n * @param {function} opt.heuristic Heuristic function to estimate the distance\r\n * (defaults to manhattan).\r\n */\n\n\nfunction JumpPointFinderBase(opt) {\n opt = opt || {};\n this.heuristic = opt.heuristic || Heuristic.manhattan;\n this.trackJumpRecursion = opt.trackJumpRecursion || false;\n}\n/**\r\n * Find and return the path.\r\n * @return {Array<Array<number>>} The path, including both start and\r\n * end positions.\r\n */\n\n\nJumpPointFinderBase.prototype.findPath = function (startX, startY, endX, endY, grid) {\n var openList = this.openList = new Heap(function (nodeA, nodeB) {\n return nodeA.f - nodeB.f;\n }),\n startNode = this.startNode = grid.getNodeAt(startX, startY),\n endNode = this.endNode = grid.getNodeAt(endX, endY),\n node;\n this.grid = grid; // set the `g` and `f` value of the start node to be 0\n\n startNode.g = 0;\n startNode.f = 0; // push the start node into the open list\n\n openList.push(startNode);\n startNode.opened = true; // while the open list is not empty\n\n while (!openList.empty()) {\n // pop the position of node which has the minimum `f` value.\n node = openList.pop();\n node.closed = true;\n\n if (node === endNode) {\n return Util.expandPath(Util.backtrace(endNode));\n }\n\n this._identifySuccessors(node);\n } // fail to find the path\n\n\n return [];\n};\n/**\r\n * Identify successors for the given node. Runs a jump point search in the\r\n * direction of each available neighbor, adding any points found to the open\r\n * list.\r\n * @protected\r\n */\n\n\nJumpPointFinderBase.prototype._identifySuccessors = function (node) {\n var grid = this.grid,\n heuristic = this.heuristic,\n openList = this.openList,\n endX = this.endNode.x,\n endY = this.endNode.y,\n neighbors,\n neighbor,\n jumpPoint,\n i,\n l,\n x = node.x,\n y = node.y,\n jx,\n jy,\n dx,\n dy,\n d,\n ng,\n jumpNode,\n abs = Math.abs,\n max = Math.max;\n neighbors = this._findNeighbors(node);\n\n for (i = 0, l = neighbors.length; i < l; ++i) {\n neighbor = neighbors[i];\n jumpPoint = this._jump(neighbor[0], neighbor[1], x, y);\n\n if (jumpPoint) {\n jx = jumpPoint[0];\n jy = jumpPoint[1];\n jumpNode = grid.getNodeAt(jx, jy);\n\n if (jumpNode.closed) {\n continue;\n } // include distance, as parent may not be immediately adjacent:\n\n\n d = Heuristic.octile(abs(jx - x), abs(jy - y));\n ng = node.g + d; // next `g` value\n\n if (!jumpNode.opened || ng < jumpNode.g) {\n jumpNode.g = ng;\n jumpNode.h = jumpNode.h || heuristic(abs(jx - endX), abs(jy - endY));\n jumpNode.f = jumpNode.g + jumpNode.h;\n jumpNode.parent = node;\n\n if (!jumpNode.opened) {\n openList.push(jumpNode);\n jumpNode.opened = true;\n } else {\n openList.updateItem(jumpNode);\n }\n }\n }\n }\n};\n\nmodule.exports = JumpPointFinderBase;","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n\n\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n this.clear();\n\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n} // Add methods to `ListCache`.\n\n\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\nmodule.exports = ListCache;","var eq = require('./eq');\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\n\nfunction assocIndexOf(array, key) {\n var length = array.length;\n\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n\n return -1;\n}\n\nmodule.exports = assocIndexOf;","var root = require('./_root');\n/** Built-in value references. */\n\n\nvar _Symbol = root.Symbol;\nmodule.exports = _Symbol;","var getNative = require('./_getNative');\n/* Built-in method references that are verified to be native. */\n\n\nvar nativeCreate = getNative(Object, 'create');\nmodule.exports = nativeCreate;","var isKeyable = require('./_isKeyable');\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n\n\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key) ? data[typeof key == 'string' ? 'string' : 'hash'] : data.map;\n}\n\nmodule.exports = getMapData;","var isSymbol = require('./isSymbol');\n/** Used as references for various `Number` constants. */\n\n\nvar INFINITY = 1 / 0;\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n\n var result = value + '';\n return result == '0' && 1 / value == -INFINITY ? '-0' : result;\n}\n\nmodule.exports = toKey;","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}","\"use strict\";\n\nfunction _typeof2(obj) { \"@babel/helpers - typeof\"; return _typeof2 = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof2(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _react = _interopRequireWildcard(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _flatpickr = _interopRequireDefault(require(\"flatpickr\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {};\n\n if (desc.get || desc.set) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n }\n\n newObj[\"default\"] = obj;\n return newObj;\n }\n}\n\nfunction _typeof(obj) {\n if (typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\") {\n _typeof = function _typeof(obj) {\n return _typeof2(obj);\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n }\n\n return _typeof(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 _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 _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 _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n }\n\n return target;\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 _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return _assertThisInitialized(self);\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 _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 _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 _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 _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\nvar hooks = ['onChange', 'onOpen', 'onClose', 'onMonthChange', 'onYearChange', 'onReady', 'onValueUpdate', 'onDayCreate'];\n\nvar hookPropType = _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].func, _propTypes[\"default\"].arrayOf(_propTypes[\"default\"].func)]);\n\nvar callbacks = ['onCreate', 'onDestroy'];\nvar callbackPropTypes = _propTypes[\"default\"].func;\n\nvar DateTimePicker = /*#__PURE__*/function (_Component) {\n _inherits(DateTimePicker, _Component);\n\n function DateTimePicker() {\n var _getPrototypeOf2;\n\n var _this;\n\n _classCallCheck(this, DateTimePicker);\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 = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(DateTimePicker)).call.apply(_getPrototypeOf2, [this].concat(args)));\n\n _defineProperty(_assertThisInitialized(_this), \"createFlatpickrInstance\", function () {\n var options = _objectSpread({\n onClose: function onClose() {\n _this.node.blur && _this.node.blur();\n }\n }, _this.props.options); // Add prop hooks to options\n\n\n hooks.forEach(function (hook) {\n if (_this.props[hook]) {\n options[hook] = _this.props[hook];\n }\n });\n _this.flatpickr = (0, _flatpickr[\"default\"])(_this.node, options);\n\n if (_this.props.hasOwnProperty('value')) {\n _this.flatpickr.setDate(_this.props.value, false);\n }\n\n var onCreate = _this.props.onCreate;\n if (onCreate) onCreate(_this.flatpickr);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"destroyFlatpickrInstance\", function () {\n var onDestroy = _this.props.onDestroy;\n if (onDestroy) onDestroy(_this.flatpickr);\n\n _this.flatpickr.destroy();\n\n _this.flatpickr = null;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handleNodeChange\", function (node) {\n _this.node = node;\n\n if (_this.flatpickr) {\n _this.destroyFlatpickrInstance();\n\n _this.createFlatpickrInstance();\n }\n });\n\n return _this;\n }\n\n _createClass(DateTimePicker, [{\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n var _this2 = this;\n\n if (this.props.hasOwnProperty('value') && this.props.value !== prevProps.value) {\n this.flatpickr.setDate(this.props.value, false);\n }\n\n var options = this.props.options;\n var prevOptions = prevProps.options;\n hooks.forEach(function (hook) {\n if (_this2.props.hasOwnProperty(hook)) {\n options[hook] = _this2.props[hook];\n } // Add prev ones too so we can compare against them later\n\n\n if (prevProps.hasOwnProperty(hook)) {\n prevOptions[hook] = prevProps[hook];\n }\n });\n var optionsKeys = Object.getOwnPropertyNames(options);\n\n for (var index = optionsKeys.length - 1; index >= 0; index--) {\n var key = optionsKeys[index];\n var value = options[key];\n\n if (value !== prevOptions[key]) {\n // Hook handlers must be set as an array\n if (hooks.indexOf(key) !== -1 && !Array.isArray(value)) {\n value = [value];\n }\n\n this.flatpickr.set(key, value);\n }\n }\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.createFlatpickrInstance();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.destroyFlatpickrInstance();\n }\n }, {\n key: \"render\",\n value: function render() {\n // eslint-disable-next-line no-unused-vars\n var _this$props = this.props,\n options = _this$props.options,\n defaultValue = _this$props.defaultValue,\n value = _this$props.value,\n children = _this$props.children,\n render = _this$props.render,\n props = _objectWithoutProperties(_this$props, [\"options\", \"defaultValue\", \"value\", \"children\", \"render\"]); // Don't pass hooks and callbacks to dom node\n\n\n hooks.forEach(function (hook) {\n delete props[hook];\n });\n callbacks.forEach(function (callback) {\n delete props[callback];\n });\n if (render) return render(_objectSpread({}, props, {\n defaultValue: defaultValue,\n value: value\n }), this.handleNodeChange);\n return options.wrap ? _react[\"default\"].createElement(\"div\", _extends({}, props, {\n ref: this.handleNodeChange\n }), children) : _react[\"default\"].createElement(\"input\", _extends({}, props, {\n defaultValue: defaultValue,\n ref: this.handleNodeChange\n }));\n }\n }]);\n\n return DateTimePicker;\n}(_react.Component);\n\n_defineProperty(DateTimePicker, \"propTypes\", {\n defaultValue: _propTypes[\"default\"].string,\n options: _propTypes[\"default\"].object,\n onChange: hookPropType,\n onOpen: hookPropType,\n onClose: hookPropType,\n onMonthChange: hookPropType,\n onYearChange: hookPropType,\n onReady: hookPropType,\n onValueUpdate: hookPropType,\n onDayCreate: hookPropType,\n onCreate: callbackPropTypes,\n onDestroy: callbackPropTypes,\n value: _propTypes[\"default\"].oneOfType([_propTypes[\"default\"].string, _propTypes[\"default\"].array, _propTypes[\"default\"].object, _propTypes[\"default\"].number]),\n children: _propTypes[\"default\"].node,\n className: _propTypes[\"default\"].string,\n render: _propTypes[\"default\"].func\n});\n\n_defineProperty(DateTimePicker, \"defaultProps\", {\n options: {}\n});\n\nvar _default = DateTimePicker;\nexports[\"default\"] = _default;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.ru = {}));\n})(this, function (exports) {\n 'use strict';\n\n var fp = typeof window !== \"undefined\" && window.flatpickr !== undefined ? window.flatpickr : {\n l10ns: {}\n };\n var Russian = {\n weekdays: {\n shorthand: [\"Ð’Ñ\", \"Пн\", \"Ð’Ñ‚\", \"Ср\", \"Чт\", \"Пт\", \"Сб\"],\n longhand: [\"ВоÑкреÑенье\", \"Понедельник\", \"Вторник\", \"Среда\", \"Четверг\", \"ПÑтница\", \"Суббота\"]\n },\n months: {\n shorthand: [\"Янв\", \"Фев\", \"Март\", \"Ðпр\", \"Май\", \"Июнь\", \"Июль\", \"Ðвг\", \"Сен\", \"Окт\", \"ÐоÑ\", \"Дек\"],\n longhand: [\"Январь\", \"Февраль\", \"Март\", \"Ðпрель\", \"Май\", \"Июнь\", \"Июль\", \"ÐвгуÑÑ‚\", \"СентÑбрь\", \"ОктÑбрь\", \"ÐоÑбрь\", \"Декабрь\"]\n },\n firstDayOfWeek: 1,\n ordinal: function ordinal() {\n return \"\";\n },\n rangeSeparator: \" — \",\n weekAbbreviation: \"Ðед.\",\n scrollTitle: \"Прокрутите Ð´Ð»Ñ ÑƒÐ²ÐµÐ»Ð¸Ñ‡ÐµÐ½Ð¸Ñ\",\n toggleTitle: \"Ðажмите Ð´Ð»Ñ Ð¿ÐµÑ€ÐµÐºÐ»ÑŽÑ‡ÐµÐ½Ð¸Ñ\",\n amPM: [\"ДП\", \"ПП\"],\n yearAriaLabel: \"Год\",\n time_24hr: true\n };\n fp.l10ns.ru = Russian;\n var ru = fp.l10ns;\n exports.Russian = Russian;\n exports.default = ru;\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar _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\nfunction _objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\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 _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (_typeof(call) === \"object\" || typeof call === \"function\") ? call : self;\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, not \" + _typeof(superClass));\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nimport React from 'react';\nimport Chart from 'chart.js';\nimport isEqual from 'lodash/isEqual';\nimport keyBy from 'lodash/keyBy';\nvar NODE_ENV = typeof process !== 'undefined' && process.env && process.env.NODE_ENV;\n\nvar ChartComponent = function (_React$Component) {\n _inherits(ChartComponent, _React$Component);\n\n function ChartComponent() {\n _classCallCheck(this, ChartComponent);\n\n var _this = _possibleConstructorReturn(this, _React$Component.call(this));\n\n _this.handleOnClick = function (event) {\n var instance = _this.chartInstance;\n var _this$props = _this.props,\n getDatasetAtEvent = _this$props.getDatasetAtEvent,\n getElementAtEvent = _this$props.getElementAtEvent,\n getElementsAtEvent = _this$props.getElementsAtEvent,\n onElementsClick = _this$props.onElementsClick;\n getDatasetAtEvent && getDatasetAtEvent(instance.getDatasetAtEvent(event), event);\n getElementAtEvent && getElementAtEvent(instance.getElementAtEvent(event), event);\n getElementsAtEvent && getElementsAtEvent(instance.getElementsAtEvent(event), event);\n onElementsClick && onElementsClick(instance.getElementsAtEvent(event), event); // Backward compatibility\n };\n\n _this.ref = function (element) {\n _this.element = element;\n };\n\n _this.chartInstance = undefined;\n return _this;\n }\n\n ChartComponent.prototype.componentDidMount = function componentDidMount() {\n this.renderChart();\n };\n\n ChartComponent.prototype.componentDidUpdate = function componentDidUpdate() {\n if (this.props.redraw) {\n this.destroyChart();\n this.renderChart();\n return;\n }\n\n this.updateChart();\n };\n\n ChartComponent.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n var _props = this.props,\n redraw = _props.redraw,\n type = _props.type,\n options = _props.options,\n plugins = _props.plugins,\n legend = _props.legend,\n height = _props.height,\n width = _props.width;\n\n if (nextProps.redraw === true) {\n return true;\n }\n\n if (height !== nextProps.height || width !== nextProps.width) {\n return true;\n }\n\n if (type !== nextProps.type) {\n return true;\n }\n\n if (!isEqual(legend, nextProps.legend)) {\n return true;\n }\n\n if (!isEqual(options, nextProps.options)) {\n return true;\n }\n\n var nextData = this.transformDataProp(nextProps);\n\n if (!isEqual(this.shadowDataProp, nextData)) {\n return true;\n }\n\n return !isEqual(plugins, nextProps.plugins);\n };\n\n ChartComponent.prototype.componentWillUnmount = function componentWillUnmount() {\n this.destroyChart();\n };\n\n ChartComponent.prototype.transformDataProp = function transformDataProp(props) {\n var data = props.data;\n\n if (typeof data == 'function') {\n var node = this.element;\n return data(node);\n } else {\n return data;\n }\n }; // Chart.js directly mutates the data.dataset objects by adding _meta proprerty\n // this makes impossible to compare the current and next data changes\n // therefore we memoize the data prop while sending a fake to Chart.js for mutation.\n // see https://github.com/chartjs/Chart.js/blob/master/src/core/core.controller.js#L615-L617\n\n\n ChartComponent.prototype.memoizeDataProps = function memoizeDataProps() {\n if (!this.props.data) {\n return;\n }\n\n var data = this.transformDataProp(this.props);\n this.shadowDataProp = _extends({}, data, {\n datasets: data.datasets && data.datasets.map(function (set) {\n return _extends({}, set);\n })\n });\n this.saveCurrentDatasets(); // to remove the dataset metadata from this chart when the chart is destroyed\n\n return data;\n };\n\n ChartComponent.prototype.checkDatasets = function checkDatasets(datasets) {\n var isDev = NODE_ENV !== 'production' && NODE_ENV !== 'prod';\n var usingCustomKeyProvider = this.props.datasetKeyProvider !== ChartComponent.getLabelAsKey;\n var multipleDatasets = datasets.length > 1;\n\n if (isDev && multipleDatasets && !usingCustomKeyProvider) {\n var shouldWarn = false;\n datasets.forEach(function (dataset) {\n if (!dataset.label) {\n shouldWarn = true;\n }\n });\n\n if (shouldWarn) {\n console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the \"label\" property on each dataset is used. Alternatively, you may provide a \"datasetKeyProvider\" as a prop that returns a unique key.');\n }\n }\n };\n\n ChartComponent.prototype.getCurrentDatasets = function getCurrentDatasets() {\n return this.chartInstance && this.chartInstance.config.data && this.chartInstance.config.data.datasets || [];\n };\n\n ChartComponent.prototype.saveCurrentDatasets = function saveCurrentDatasets() {\n var _this2 = this;\n\n this.datasets = this.datasets || {};\n var currentDatasets = this.getCurrentDatasets();\n currentDatasets.forEach(function (d) {\n _this2.datasets[_this2.props.datasetKeyProvider(d)] = d;\n });\n };\n\n ChartComponent.prototype.updateChart = function updateChart() {\n var _this3 = this;\n\n var options = this.props.options;\n var data = this.memoizeDataProps(this.props);\n if (!this.chartInstance) return;\n\n if (options) {\n this.chartInstance.options = Chart.helpers.configMerge(this.chartInstance.options, options);\n } // Pipe datasets to chart instance datasets enabling\n // seamless transitions\n\n\n var currentDatasets = this.getCurrentDatasets();\n var nextDatasets = data.datasets || [];\n this.checkDatasets(currentDatasets);\n var currentDatasetsIndexed = keyBy(currentDatasets, this.props.datasetKeyProvider); // We can safely replace the dataset array, as long as we retain the _meta property\n // on each dataset.\n\n this.chartInstance.config.data.datasets = nextDatasets.map(function (next) {\n var current = currentDatasetsIndexed[_this3.props.datasetKeyProvider(next)];\n\n if (current && current.type === next.type && next.data) {\n // Be robust to no data. Relevant for other update mechanisms as in chartjs-plugin-streaming.\n // The data array must be edited in place. As chart.js adds listeners to it.\n current.data.splice(next.data.length);\n next.data.forEach(function (point, pid) {\n current.data[pid] = next.data[pid];\n });\n\n var _data = next.data,\n otherProps = _objectWithoutProperties(next, ['data']); // Merge properties. Notice a weakness here. If a property is removed\n // from next, it will be retained by current and never disappears.\n // Workaround is to set value to null or undefined in next.\n\n\n return _extends({}, current, otherProps);\n } else {\n return next;\n }\n });\n\n var datasets = data.datasets,\n rest = _objectWithoutProperties(data, ['datasets']);\n\n this.chartInstance.config.data = _extends({}, this.chartInstance.config.data, rest);\n this.chartInstance.update();\n };\n\n ChartComponent.prototype.renderChart = function renderChart() {\n var _props2 = this.props,\n options = _props2.options,\n legend = _props2.legend,\n type = _props2.type,\n plugins = _props2.plugins;\n var node = this.element;\n var data = this.memoizeDataProps();\n\n if (typeof legend !== 'undefined' && !isEqual(ChartComponent.defaultProps.legend, legend)) {\n options.legend = legend;\n }\n\n this.chartInstance = new Chart(node, {\n type: type,\n data: data,\n options: options,\n plugins: plugins\n });\n };\n\n ChartComponent.prototype.destroyChart = function destroyChart() {\n if (!this.chartInstance) {\n return;\n } // Put all of the datasets that have existed in the chart back on the chart\n // so that the metadata associated with this chart get destroyed.\n // This allows the datasets to be used in another chart. This can happen,\n // for example, in a tabbed UI where the chart gets created each time the\n // tab gets switched to the chart and uses the same data).\n\n\n this.saveCurrentDatasets();\n var datasets = Object.values(this.datasets);\n this.chartInstance.config.data.datasets = datasets;\n this.chartInstance.destroy();\n };\n\n ChartComponent.prototype.render = function render() {\n var _props3 = this.props,\n height = _props3.height,\n width = _props3.width,\n id = _props3.id;\n return React.createElement('canvas', {\n ref: this.ref,\n height: height,\n width: width,\n id: id,\n onClick: this.handleOnClick\n });\n };\n\n return ChartComponent;\n}(React.Component);\n\nChartComponent.getLabelAsKey = function (d) {\n return d.label;\n};\n\nChartComponent.defaultProps = {\n legend: {\n display: true,\n position: 'bottom'\n },\n type: 'doughnut',\n height: 150,\n width: 300,\n redraw: false,\n options: {},\n datasetKeyProvider: ChartComponent.getLabelAsKey\n};\nexport default ChartComponent;\nexport var Doughnut = function (_React$Component2) {\n _inherits(Doughnut, _React$Component2);\n\n function Doughnut() {\n _classCallCheck(this, Doughnut);\n\n return _possibleConstructorReturn(this, _React$Component2.apply(this, arguments));\n }\n\n Doughnut.prototype.render = function render() {\n var _this5 = this;\n\n return React.createElement(ChartComponent, _extends({}, this.props, {\n ref: function ref(_ref) {\n return _this5.chartInstance = _ref && _ref.chartInstance;\n },\n type: 'doughnut'\n }));\n };\n\n return Doughnut;\n}(React.Component);\nexport var Pie = function (_React$Component3) {\n _inherits(Pie, _React$Component3);\n\n function Pie() {\n _classCallCheck(this, Pie);\n\n return _possibleConstructorReturn(this, _React$Component3.apply(this, arguments));\n }\n\n Pie.prototype.render = function render() {\n var _this7 = this;\n\n return React.createElement(ChartComponent, _extends({}, this.props, {\n ref: function ref(_ref2) {\n return _this7.chartInstance = _ref2 && _ref2.chartInstance;\n },\n type: 'pie'\n }));\n };\n\n return Pie;\n}(React.Component);\nexport var Line = function (_React$Component4) {\n _inherits(Line, _React$Component4);\n\n function Line() {\n _classCallCheck(this, Line);\n\n return _possibleConstructorReturn(this, _React$Component4.apply(this, arguments));\n }\n\n Line.prototype.render = function render() {\n var _this9 = this;\n\n return React.createElement(ChartComponent, _extends({}, this.props, {\n ref: function ref(_ref3) {\n return _this9.chartInstance = _ref3 && _ref3.chartInstance;\n },\n type: 'line'\n }));\n };\n\n return Line;\n}(React.Component);\nexport var Bar = function (_React$Component5) {\n _inherits(Bar, _React$Component5);\n\n function Bar() {\n _classCallCheck(this, Bar);\n\n return _possibleConstructorReturn(this, _React$Component5.apply(this, arguments));\n }\n\n Bar.prototype.render = function render() {\n var _this11 = this;\n\n return React.createElement(ChartComponent, _extends({}, this.props, {\n ref: function ref(_ref4) {\n return _this11.chartInstance = _ref4 && _ref4.chartInstance;\n },\n type: 'bar'\n }));\n };\n\n return Bar;\n}(React.Component);\nexport var HorizontalBar = function (_React$Component6) {\n _inherits(HorizontalBar, _React$Component6);\n\n function HorizontalBar() {\n _classCallCheck(this, HorizontalBar);\n\n return _possibleConstructorReturn(this, _React$Component6.apply(this, arguments));\n }\n\n HorizontalBar.prototype.render = function render() {\n var _this13 = this;\n\n return React.createElement(ChartComponent, _extends({}, this.props, {\n ref: function ref(_ref5) {\n return _this13.chartInstance = _ref5 && _ref5.chartInstance;\n },\n type: 'horizontalBar'\n }));\n };\n\n return HorizontalBar;\n}(React.Component);\nexport var Radar = function (_React$Component7) {\n _inherits(Radar, _React$Component7);\n\n function Radar() {\n _classCallCheck(this, Radar);\n\n return _possibleConstructorReturn(this, _React$Component7.apply(this, arguments));\n }\n\n Radar.prototype.render = function render() {\n var _this15 = this;\n\n return React.createElement(ChartComponent, _extends({}, this.props, {\n ref: function ref(_ref6) {\n return _this15.chartInstance = _ref6 && _ref6.chartInstance;\n },\n type: 'radar'\n }));\n };\n\n return Radar;\n}(React.Component);\nexport var Polar = function (_React$Component8) {\n _inherits(Polar, _React$Component8);\n\n function Polar() {\n _classCallCheck(this, Polar);\n\n return _possibleConstructorReturn(this, _React$Component8.apply(this, arguments));\n }\n\n Polar.prototype.render = function render() {\n var _this17 = this;\n\n return React.createElement(ChartComponent, _extends({}, this.props, {\n ref: function ref(_ref7) {\n return _this17.chartInstance = _ref7 && _ref7.chartInstance;\n },\n type: 'polarArea'\n }));\n };\n\n return Polar;\n}(React.Component);\nexport var Bubble = function (_React$Component9) {\n _inherits(Bubble, _React$Component9);\n\n function Bubble() {\n _classCallCheck(this, Bubble);\n\n return _possibleConstructorReturn(this, _React$Component9.apply(this, arguments));\n }\n\n Bubble.prototype.render = function render() {\n var _this19 = this;\n\n return React.createElement(ChartComponent, _extends({}, this.props, {\n ref: function ref(_ref8) {\n return _this19.chartInstance = _ref8 && _ref8.chartInstance;\n },\n type: 'bubble'\n }));\n };\n\n return Bubble;\n}(React.Component);\nexport var Scatter = function (_React$Component10) {\n _inherits(Scatter, _React$Component10);\n\n function Scatter() {\n _classCallCheck(this, Scatter);\n\n return _possibleConstructorReturn(this, _React$Component10.apply(this, arguments));\n }\n\n Scatter.prototype.render = function render() {\n var _this21 = this;\n\n return React.createElement(ChartComponent, _extends({}, this.props, {\n ref: function ref(_ref9) {\n return _this21.chartInstance = _ref9 && _ref9.chartInstance;\n },\n type: 'scatter'\n }));\n };\n\n return Scatter;\n}(React.Component);\nexport var defaults = Chart.defaults;\nexport { Chart };","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;\n\n(function (factory) {\n var registeredInModuleLoader;\n\n if (typeof define === 'function' && define.amd) {\n define(factory);\n registeredInModuleLoader = true;\n }\n\n if ((typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object') {\n module.exports = factory();\n registeredInModuleLoader = true;\n }\n\n if (!registeredInModuleLoader) {\n var OldCookies = window.Cookies;\n var api = window.Cookies = factory();\n\n api.noConflict = function () {\n window.Cookies = OldCookies;\n return api;\n };\n }\n})(function () {\n function extend() {\n var i = 0;\n var result = {};\n\n for (; i < arguments.length; i++) {\n var attributes = arguments[i];\n\n for (var key in attributes) {\n result[key] = attributes[key];\n }\n }\n\n return result;\n }\n\n function decode(s) {\n return s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n }\n\n function init(converter) {\n function api() {}\n\n function set(key, value, attributes) {\n if (typeof document === 'undefined') {\n return;\n }\n\n attributes = extend({\n path: '/'\n }, api.defaults, attributes);\n\n if (typeof attributes.expires === 'number') {\n attributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n } // We're using \"expires\" because \"max-age\" is not supported by IE\n\n\n attributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n try {\n var result = JSON.stringify(value);\n\n if (/^[\\{\\[]/.test(result)) {\n value = result;\n }\n } catch (e) {}\n\n value = converter.write ? converter.write(value, key) : encodeURIComponent(String(value)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n key = encodeURIComponent(String(key)).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent).replace(/[\\(\\)]/g, escape);\n var stringifiedAttributes = '';\n\n for (var attributeName in attributes) {\n if (!attributes[attributeName]) {\n continue;\n }\n\n stringifiedAttributes += '; ' + attributeName;\n\n if (attributes[attributeName] === true) {\n continue;\n } // Considers RFC 6265 section 5.2:\n // ...\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n // Consume the characters of the unparsed-attributes up to,\n // not including, the first %x3B (\";\") character.\n // ...\n\n\n stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n }\n\n return document.cookie = key + '=' + value + stringifiedAttributes;\n }\n\n function get(key, json) {\n if (typeof document === 'undefined') {\n return;\n }\n\n var jar = {}; // To prevent the for loop in the first place assign an empty array\n // in case there are no cookies at all.\n\n var cookies = document.cookie ? document.cookie.split('; ') : [];\n var i = 0;\n\n for (; i < cookies.length; i++) {\n var parts = cookies[i].split('=');\n var cookie = parts.slice(1).join('=');\n\n if (!json && cookie.charAt(0) === '\"') {\n cookie = cookie.slice(1, -1);\n }\n\n try {\n var name = decode(parts[0]);\n cookie = (converter.read || converter)(cookie, name) || decode(cookie);\n\n if (json) {\n try {\n cookie = JSON.parse(cookie);\n } catch (e) {}\n }\n\n jar[name] = cookie;\n\n if (key === name) {\n break;\n }\n } catch (e) {}\n }\n\n return key ? jar[key] : jar;\n }\n\n api.set = set;\n\n api.get = function (key) {\n return get(key, false\n /* read as raw */\n );\n };\n\n api.getJSON = function (key) {\n return get(key, true\n /* read as json */\n );\n };\n\n api.remove = function (key, attributes) {\n set(key, '', extend(attributes, {\n expires: -1\n }));\n };\n\n api.defaults = {};\n api.withConverter = init;\n return api;\n }\n\n return init(function () {});\n});","/**\r\n * A node in grid. \r\n * This class holds some basic information about a node and custom \r\n * attributes may be added, depending on the algorithms' needs.\r\n * @constructor\r\n * @param {number} x - The x coordinate of the node on the grid.\r\n * @param {number} y - The y coordinate of the node on the grid.\r\n * @param {boolean} [walkable] - Whether this node is walkable.\r\n */\nfunction Node(x, y, walkable) {\n /**\r\n * The x coordinate of the node on the grid.\r\n * @type number\r\n */\n this.x = x;\n /**\r\n * The y coordinate of the node on the grid.\r\n * @type number\r\n */\n\n this.y = y;\n /**\r\n * Whether this node can be walked through.\r\n * @type boolean\r\n */\n\n this.walkable = walkable === undefined ? true : walkable;\n}\n\nmodule.exports = Node;","var Heap = require('heap');\n\nvar Util = require('../core/Util');\n\nvar Heuristic = require('../core/Heuristic');\n\nvar DiagonalMovement = require('../core/DiagonalMovement');\n/**\r\n * A* path-finder. Based upon https://github.com/bgrins/javascript-astar\r\n * @constructor\r\n * @param {Object} opt\r\n * @param {boolean} opt.allowDiagonal Whether diagonal movement is allowed.\r\n * Deprecated, use diagonalMovement instead.\r\n * @param {boolean} opt.dontCrossCorners Disallow diagonal movement touching \r\n * block corners. Deprecated, use diagonalMovement instead.\r\n * @param {DiagonalMovement} opt.diagonalMovement Allowed diagonal movement.\r\n * @param {function} opt.heuristic Heuristic function to estimate the distance\r\n * (defaults to manhattan).\r\n * @param {number} opt.weight Weight to apply to the heuristic to allow for\r\n * suboptimal paths, in order to speed up the search.\r\n */\n\n\nfunction AStarFinder(opt) {\n opt = opt || {};\n this.allowDiagonal = opt.allowDiagonal;\n this.dontCrossCorners = opt.dontCrossCorners;\n this.heuristic = opt.heuristic || Heuristic.manhattan;\n this.weight = opt.weight || 1;\n this.diagonalMovement = opt.diagonalMovement;\n\n if (!this.diagonalMovement) {\n if (!this.allowDiagonal) {\n this.diagonalMovement = DiagonalMovement.Never;\n } else {\n if (this.dontCrossCorners) {\n this.diagonalMovement = DiagonalMovement.OnlyWhenNoObstacles;\n } else {\n this.diagonalMovement = DiagonalMovement.IfAtMostOneObstacle;\n }\n }\n } // When diagonal movement is allowed the manhattan heuristic is not\n //admissible. It should be octile instead\n\n\n if (this.diagonalMovement === DiagonalMovement.Never) {\n this.heuristic = opt.heuristic || Heuristic.manhattan;\n } else {\n this.heuristic = opt.heuristic || Heuristic.octile;\n }\n}\n/**\r\n * Find and return the the path.\r\n * @return {Array<Array<number>>} The path, including both start and\r\n * end positions.\r\n */\n\n\nAStarFinder.prototype.findPath = function (startX, startY, endX, endY, grid) {\n var openList = new Heap(function (nodeA, nodeB) {\n return nodeA.f - nodeB.f;\n }),\n startNode = grid.getNodeAt(startX, startY),\n endNode = grid.getNodeAt(endX, endY),\n heuristic = this.heuristic,\n diagonalMovement = this.diagonalMovement,\n weight = this.weight,\n abs = Math.abs,\n SQRT2 = Math.SQRT2,\n node,\n neighbors,\n neighbor,\n i,\n l,\n x,\n y,\n ng; // set the `g` and `f` value of the start node to be 0\n\n startNode.g = 0;\n startNode.f = 0; // push the start node into the open list\n\n openList.push(startNode);\n startNode.opened = true; // while the open list is not empty\n\n while (!openList.empty()) {\n // pop the position of node which has the minimum `f` value.\n node = openList.pop();\n node.closed = true; // if reached the end position, construct the path and return it\n\n if (node === endNode) {\n return Util.backtrace(endNode);\n } // get neigbours of the current node\n\n\n neighbors = grid.getNeighbors(node, diagonalMovement);\n\n for (i = 0, l = neighbors.length; i < l; ++i) {\n neighbor = neighbors[i];\n\n if (neighbor.closed) {\n continue;\n }\n\n x = neighbor.x;\n y = neighbor.y; // get the distance between current node and the neighbor\n // and calculate the next g score\n\n ng = node.g + (x - node.x === 0 || y - node.y === 0 ? 1 : SQRT2); // check if the neighbor has not been inspected yet, or\n // can be reached with smaller cost from the current node\n\n if (!neighbor.opened || ng < neighbor.g) {\n neighbor.g = ng;\n neighbor.h = neighbor.h || weight * heuristic(abs(x - endX), abs(y - endY));\n neighbor.f = neighbor.g + neighbor.h;\n neighbor.parent = node;\n\n if (!neighbor.opened) {\n openList.push(neighbor);\n neighbor.opened = true;\n } else {\n // the neighbor can be reached with smaller cost.\n // Since its f value has been updated, we have to\n // update its position in the open list\n openList.updateItem(neighbor);\n }\n }\n } // end for each neighbor\n\n } // end while not open list empty\n // fail to find the path\n\n\n return [];\n};\n\nmodule.exports = AStarFinder;","var Heap = require('heap');\n\nvar Util = require('../core/Util');\n\nvar Heuristic = require('../core/Heuristic');\n\nvar DiagonalMovement = require('../core/DiagonalMovement');\n/**\r\n * A* path-finder.\r\n * based upon https://github.com/bgrins/javascript-astar\r\n * @constructor\r\n * @param {Object} opt\r\n * @param {boolean} opt.allowDiagonal Whether diagonal movement is allowed.\r\n * Deprecated, use diagonalMovement instead.\r\n * @param {boolean} opt.dontCrossCorners Disallow diagonal movement touching\r\n * block corners. Deprecated, use diagonalMovement instead.\r\n * @param {DiagonalMovement} opt.diagonalMovement Allowed diagonal movement.\r\n * @param {function} opt.heuristic Heuristic function to estimate the distance\r\n * (defaults to manhattan).\r\n * @param {number} opt.weight Weight to apply to the heuristic to allow for\r\n * suboptimal paths, in order to speed up the search.\r\n */\n\n\nfunction BiAStarFinder(opt) {\n opt = opt || {};\n this.allowDiagonal = opt.allowDiagonal;\n this.dontCrossCorners = opt.dontCrossCorners;\n this.diagonalMovement = opt.diagonalMovement;\n this.heuristic = opt.heuristic || Heuristic.manhattan;\n this.weight = opt.weight || 1;\n\n if (!this.diagonalMovement) {\n if (!this.allowDiagonal) {\n this.diagonalMovement = DiagonalMovement.Never;\n } else {\n if (this.dontCrossCorners) {\n this.diagonalMovement = DiagonalMovement.OnlyWhenNoObstacles;\n } else {\n this.diagonalMovement = DiagonalMovement.IfAtMostOneObstacle;\n }\n }\n } //When diagonal movement is allowed the manhattan heuristic is not admissible\n //It should be octile instead\n\n\n if (this.diagonalMovement === DiagonalMovement.Never) {\n this.heuristic = opt.heuristic || Heuristic.manhattan;\n } else {\n this.heuristic = opt.heuristic || Heuristic.octile;\n }\n}\n/**\r\n * Find and return the the path.\r\n * @return {Array<Array<number>>} The path, including both start and\r\n * end positions.\r\n */\n\n\nBiAStarFinder.prototype.findPath = function (startX, startY, endX, endY, grid) {\n var cmp = function cmp(nodeA, nodeB) {\n return nodeA.f - nodeB.f;\n },\n startOpenList = new Heap(cmp),\n endOpenList = new Heap(cmp),\n startNode = grid.getNodeAt(startX, startY),\n endNode = grid.getNodeAt(endX, endY),\n heuristic = this.heuristic,\n diagonalMovement = this.diagonalMovement,\n weight = this.weight,\n abs = Math.abs,\n SQRT2 = Math.SQRT2,\n node,\n neighbors,\n neighbor,\n i,\n l,\n x,\n y,\n ng,\n BY_START = 1,\n BY_END = 2; // set the `g` and `f` value of the start node to be 0\n // and push it into the start open list\n\n\n startNode.g = 0;\n startNode.f = 0;\n startOpenList.push(startNode);\n startNode.opened = BY_START; // set the `g` and `f` value of the end node to be 0\n // and push it into the open open list\n\n endNode.g = 0;\n endNode.f = 0;\n endOpenList.push(endNode);\n endNode.opened = BY_END; // while both the open lists are not empty\n\n while (!startOpenList.empty() && !endOpenList.empty()) {\n // pop the position of start node which has the minimum `f` value.\n node = startOpenList.pop();\n node.closed = true; // get neigbours of the current node\n\n neighbors = grid.getNeighbors(node, diagonalMovement);\n\n for (i = 0, l = neighbors.length; i < l; ++i) {\n neighbor = neighbors[i];\n\n if (neighbor.closed) {\n continue;\n }\n\n if (neighbor.opened === BY_END) {\n return Util.biBacktrace(node, neighbor);\n }\n\n x = neighbor.x;\n y = neighbor.y; // get the distance between current node and the neighbor\n // and calculate the next g score\n\n ng = node.g + (x - node.x === 0 || y - node.y === 0 ? 1 : SQRT2); // check if the neighbor has not been inspected yet, or\n // can be reached with smaller cost from the current node\n\n if (!neighbor.opened || ng < neighbor.g) {\n neighbor.g = ng;\n neighbor.h = neighbor.h || weight * heuristic(abs(x - endX), abs(y - endY));\n neighbor.f = neighbor.g + neighbor.h;\n neighbor.parent = node;\n\n if (!neighbor.opened) {\n startOpenList.push(neighbor);\n neighbor.opened = BY_START;\n } else {\n // the neighbor can be reached with smaller cost.\n // Since its f value has been updated, we have to\n // update its position in the open list\n startOpenList.updateItem(neighbor);\n }\n }\n } // end for each neighbor\n // pop the position of end node which has the minimum `f` value.\n\n\n node = endOpenList.pop();\n node.closed = true; // get neigbours of the current node\n\n neighbors = grid.getNeighbors(node, diagonalMovement);\n\n for (i = 0, l = neighbors.length; i < l; ++i) {\n neighbor = neighbors[i];\n\n if (neighbor.closed) {\n continue;\n }\n\n if (neighbor.opened === BY_START) {\n return Util.biBacktrace(neighbor, node);\n }\n\n x = neighbor.x;\n y = neighbor.y; // get the distance between current node and the neighbor\n // and calculate the next g score\n\n ng = node.g + (x - node.x === 0 || y - node.y === 0 ? 1 : SQRT2); // check if the neighbor has not been inspected yet, or\n // can be reached with smaller cost from the current node\n\n if (!neighbor.opened || ng < neighbor.g) {\n neighbor.g = ng;\n neighbor.h = neighbor.h || weight * heuristic(abs(x - startX), abs(y - startY));\n neighbor.f = neighbor.g + neighbor.h;\n neighbor.parent = node;\n\n if (!neighbor.opened) {\n endOpenList.push(neighbor);\n neighbor.opened = BY_END;\n } else {\n // the neighbor can be reached with smaller cost.\n // Since its f value has been updated, we have to\n // update its position in the open list\n endOpenList.updateItem(neighbor);\n }\n }\n } // end for each neighbor\n\n } // end while not open list empty\n // fail to find the path\n\n\n return [];\n};\n\nmodule.exports = BiAStarFinder;","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n\n\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n\n if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {\n return value !== value && other !== other;\n }\n\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;","var getNative = require('./_getNative'),\n root = require('./_root');\n/* Built-in method references that are verified to be native. */\n\n\nvar Map = getNative(root, 'Map');\nmodule.exports = Map;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = _typeof(value);\n\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n\n\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n this.clear();\n\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n} // Add methods to `MapCache`.\n\n\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\nmodule.exports = MapCache;","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n\n\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n\nfunction isLength(value) {\n return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n/** Used to match property names within property paths. */\n\n\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n\n var type = _typeof(value);\n\n if (type == 'number' || type == 'symbol' || type == 'boolean' || value == null || isSymbol(value)) {\n return true;\n }\n\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);\n}\n\nmodule.exports = isKey;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n/** `Object#toString` result references. */\n\n\nvar symbolTag = '[object Symbol]';\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n\nfunction isSymbol(value) {\n return _typeof(value) == 'symbol' || isObjectLike(value) && baseGetTag(value) == symbolTag;\n}\n\nmodule.exports = isSymbol;","/* global window */\nimport ponyfill from './ponyfill.js';\nvar root;\n\nif (typeof self !== 'undefined') {\n root = self;\n} else if (typeof window !== 'undefined') {\n root = window;\n} else if (typeof global !== 'undefined') {\n root = global;\n} else if (typeof module !== 'undefined') {\n root = module;\n} else {\n root = Function('return this')();\n}\n\nvar result = ponyfill(root);\nexport default result;","function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nmodule.exports = _inheritsLoose;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar isarray = require('isarray');\n/**\n * Expose `pathToRegexp`.\n */\n\n\nmodule.exports = pathToRegexp;\nmodule.exports.parse = parse;\nmodule.exports.compile = compile;\nmodule.exports.tokensToFunction = tokensToFunction;\nmodule.exports.tokensToRegExp = tokensToRegExp;\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\n\nvar PATH_REGEXP = new RegExp([// Match escaped characters that would otherwise appear in future matches.\n// This allows the user to escape special characters that won't transform.\n'(\\\\\\\\.)', // Match Express-style parameters and un-named parameters with a prefix\n// and optional suffixes. Matches appear as:\n//\n// \"/:test(\\\\d+)?\" => [\"/\", \"test\", \"\\d+\", undefined, \"?\", undefined]\n// \"/route(\\\\d+)\" => [undefined, undefined, undefined, \"\\d+\", undefined, undefined]\n// \"/*\" => [\"/\", undefined, undefined, undefined, undefined, \"*\"]\n'([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))'].join('|'), 'g');\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */\n\nfunction parse(str, options) {\n var tokens = [];\n var key = 0;\n var index = 0;\n var path = '';\n var defaultDelimiter = options && options.delimiter || '/';\n var res;\n\n while ((res = PATH_REGEXP.exec(str)) != null) {\n var m = res[0];\n var escaped = res[1];\n var offset = res.index;\n path += str.slice(index, offset);\n index = offset + m.length; // Ignore already escaped sequences.\n\n if (escaped) {\n path += escaped[1];\n continue;\n }\n\n var next = str[index];\n var prefix = res[2];\n var name = res[3];\n var capture = res[4];\n var group = res[5];\n var modifier = res[6];\n var asterisk = res[7]; // Push the current path onto the tokens.\n\n if (path) {\n tokens.push(path);\n path = '';\n }\n\n var partial = prefix != null && next != null && next !== prefix;\n var repeat = modifier === '+' || modifier === '*';\n var optional = modifier === '?' || modifier === '*';\n var delimiter = res[2] || defaultDelimiter;\n var pattern = capture || group;\n tokens.push({\n name: name || key++,\n prefix: prefix || '',\n delimiter: delimiter,\n optional: optional,\n repeat: repeat,\n partial: partial,\n asterisk: !!asterisk,\n pattern: pattern ? escapeGroup(pattern) : asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?'\n });\n } // Match any characters still remaining.\n\n\n if (index < str.length) {\n path += str.substr(index);\n } // If the path exists, push it onto the end.\n\n\n if (path) {\n tokens.push(path);\n }\n\n return tokens;\n}\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */\n\n\nfunction compile(str, options) {\n return tokensToFunction(parse(str, options), options);\n}\n/**\n * Prettier encoding of URI path segments.\n *\n * @param {string}\n * @return {string}\n */\n\n\nfunction encodeURIComponentPretty(str) {\n return encodeURI(str).replace(/[\\/?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n/**\n * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.\n *\n * @param {string}\n * @return {string}\n */\n\n\nfunction encodeAsterisk(str) {\n return encodeURI(str).replace(/[?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n/**\n * Expose a method for transforming tokens into the path function.\n */\n\n\nfunction tokensToFunction(tokens, options) {\n // Compile all the tokens into regexps.\n var matches = new Array(tokens.length); // Compile all the patterns before compilation.\n\n for (var i = 0; i < tokens.length; i++) {\n if (_typeof(tokens[i]) === 'object') {\n matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options));\n }\n }\n\n return function (obj, opts) {\n var path = '';\n var data = obj || {};\n var options = opts || {};\n var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent;\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (typeof token === 'string') {\n path += token;\n continue;\n }\n\n var value = data[token.name];\n var segment;\n\n if (value == null) {\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) {\n path += token.prefix;\n }\n\n continue;\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to be defined');\n }\n }\n\n if (isarray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but received `' + JSON.stringify(value) + '`');\n }\n\n if (value.length === 0) {\n if (token.optional) {\n continue;\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to not be empty');\n }\n }\n\n for (var j = 0; j < value.length; j++) {\n segment = encode(value[j]);\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\", but received `' + JSON.stringify(segment) + '`');\n }\n\n path += (j === 0 ? token.prefix : token.delimiter) + segment;\n }\n\n continue;\n }\n\n segment = token.asterisk ? encodeAsterisk(value) : encode(value);\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but received \"' + segment + '\"');\n }\n\n path += token.prefix + segment;\n }\n\n return path;\n };\n}\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */\n\n\nfunction escapeString(str) {\n return str.replace(/([.+*?=^!:${}()[\\]|\\/\\\\])/g, '\\\\$1');\n}\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */\n\n\nfunction escapeGroup(group) {\n return group.replace(/([=!:$\\/()])/g, '\\\\$1');\n}\n/**\n * Attach the keys as a property of the regexp.\n *\n * @param {!RegExp} re\n * @param {Array} keys\n * @return {!RegExp}\n */\n\n\nfunction attachKeys(re, keys) {\n re.keys = keys;\n return re;\n}\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */\n\n\nfunction flags(options) {\n return options && options.sensitive ? '' : 'i';\n}\n/**\n * Pull out keys from a regexp.\n *\n * @param {!RegExp} path\n * @param {!Array} keys\n * @return {!RegExp}\n */\n\n\nfunction regexpToRegexp(path, keys) {\n // Use a negative lookahead to match only capturing groups.\n var groups = path.source.match(/\\((?!\\?)/g);\n\n if (groups) {\n for (var i = 0; i < groups.length; i++) {\n keys.push({\n name: i,\n prefix: null,\n delimiter: null,\n optional: false,\n repeat: false,\n partial: false,\n asterisk: false,\n pattern: null\n });\n }\n }\n\n return attachKeys(path, keys);\n}\n/**\n * Transform an array into a regexp.\n *\n * @param {!Array} path\n * @param {Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\n\n\nfunction arrayToRegexp(path, keys, options) {\n var parts = [];\n\n for (var i = 0; i < path.length; i++) {\n parts.push(pathToRegexp(path[i], keys, options).source);\n }\n\n var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options));\n return attachKeys(regexp, keys);\n}\n/**\n * Create a path regexp from string input.\n *\n * @param {string} path\n * @param {!Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\n\n\nfunction stringToRegexp(path, keys, options) {\n return tokensToRegExp(parse(path, options), keys, options);\n}\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param {!Array} tokens\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\n\n\nfunction tokensToRegExp(tokens, keys, options) {\n if (!isarray(keys)) {\n options =\n /** @type {!Object} */\n keys || options;\n keys = [];\n }\n\n options = options || {};\n var strict = options.strict;\n var end = options.end !== false;\n var route = ''; // Iterate over the tokens and create our regexp string.\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (typeof token === 'string') {\n route += escapeString(token);\n } else {\n var prefix = escapeString(token.prefix);\n var capture = '(?:' + token.pattern + ')';\n keys.push(token);\n\n if (token.repeat) {\n capture += '(?:' + prefix + capture + ')*';\n }\n\n if (token.optional) {\n if (!token.partial) {\n capture = '(?:' + prefix + '(' + capture + '))?';\n } else {\n capture = prefix + '(' + capture + ')?';\n }\n } else {\n capture = prefix + '(' + capture + ')';\n }\n\n route += capture;\n }\n }\n\n var delimiter = escapeString(options.delimiter || '/');\n var endsWithDelimiter = route.slice(-delimiter.length) === delimiter; // In non-strict mode we allow a slash at the end of match. If the path to\n // match already ends with a slash, we remove it for consistency. The slash\n // is valid at the end of a path match, not in the middle. This is important\n // in non-ending mode, where \"/test/\" shouldn't match \"/test//route\".\n\n if (!strict) {\n route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?';\n }\n\n if (end) {\n route += '$';\n } else {\n // In non-ending mode, we need the capturing groups to match as much as\n // possible by using a positive lookahead to the end or next path segment.\n route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)';\n }\n\n return attachKeys(new RegExp('^' + route, flags(options)), keys);\n}\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param {(string|RegExp|Array)} path\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\n\n\nfunction pathToRegexp(path, keys, options) {\n if (!isarray(keys)) {\n options =\n /** @type {!Object} */\n keys || options;\n keys = [];\n }\n\n options = options || {};\n\n if (path instanceof RegExp) {\n return regexpToRegexp(path,\n /** @type {!Array} */\n keys);\n }\n\n if (isarray(path)) {\n return arrayToRegexp(\n /** @type {!Array} */\n path,\n /** @type {!Array} */\n keys, options);\n }\n\n return stringToRegexp(\n /** @type {string} */\n path,\n /** @type {!Array} */\n keys, options);\n}","(function (root) {\n var isOn = false;\n var scrollbarSize;\n var scrollTop;\n\n function getScrollbarSize() {\n if (typeof scrollbarSize !== 'undefined') return scrollbarSize;\n var doc = document.documentElement;\n var dummyScroller = document.createElement('div');\n dummyScroller.setAttribute('style', 'width:99px;height:99px;' + 'position:absolute;top:-9999px;overflow:scroll;');\n doc.appendChild(dummyScroller);\n scrollbarSize = dummyScroller.offsetWidth - dummyScroller.clientWidth;\n doc.removeChild(dummyScroller);\n return scrollbarSize;\n }\n\n function hasScrollbar() {\n return document.documentElement.scrollHeight > window.innerHeight;\n }\n\n function on(options) {\n if (typeof document === 'undefined' || isOn) return;\n var doc = document.documentElement;\n scrollTop = window.pageYOffset;\n\n if (hasScrollbar()) {\n doc.style.width = 'calc(100% - ' + getScrollbarSize() + 'px)';\n } else {\n doc.style.width = '100%';\n }\n\n doc.style.position = 'fixed';\n doc.style.top = -scrollTop + 'px';\n doc.style.overflow = 'hidden';\n isOn = true;\n }\n\n function off() {\n if (typeof document === 'undefined' || !isOn) return;\n var doc = document.documentElement;\n doc.style.width = '';\n doc.style.position = '';\n doc.style.top = '';\n doc.style.overflow = '';\n window.scroll(0, scrollTop);\n isOn = false;\n }\n\n function toggle() {\n if (isOn) {\n off();\n return;\n }\n\n on();\n }\n\n var noScroll = {\n on: on,\n off: off,\n toggle: toggle\n };\n\n if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\n module.exports = noScroll;\n } else {\n root.noScroll = noScroll;\n }\n})(this);","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n'use strict';\n/* eslint-disable no-unused-vars */\n\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n if (val === null || val === undefined) {\n throw new TypeError('Object.assign cannot be called with null or undefined');\n }\n\n return Object(val);\n}\n\nfunction shouldUseNative() {\n try {\n if (!Object.assign) {\n return false;\n } // Detect buggy property enumeration order in older V8 versions.\n // https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\n\n var test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\n test1[5] = 'de';\n\n if (Object.getOwnPropertyNames(test1)[0] === '5') {\n return false;\n } // https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\n\n var test2 = {};\n\n for (var i = 0; i < 10; i++) {\n test2['_' + String.fromCharCode(i)] = i;\n }\n\n var order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n return test2[n];\n });\n\n if (order2.join('') !== '0123456789') {\n return false;\n } // https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\n\n var test3 = {};\n 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n test3[letter] = letter;\n });\n\n if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') {\n return false;\n }\n\n return true;\n } catch (err) {\n // We don't expect any of the above to throw, but better to be safe.\n return false;\n }\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n var from;\n var to = toObject(target);\n var symbols;\n\n for (var s = 1; s < arguments.length; s++) {\n from = Object(arguments[s]);\n\n for (var key in from) {\n if (hasOwnProperty.call(from, key)) {\n to[key] = from[key];\n }\n }\n\n if (getOwnPropertySymbols) {\n symbols = getOwnPropertySymbols(from);\n\n for (var i = 0; i < symbols.length; i++) {\n if (propIsEnumerable.call(from, symbols[i])) {\n to[symbols[i]] = from[symbols[i]];\n }\n }\n }\n }\n\n return to;\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n return fn.apply(thisArg, args);\n };\n};","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');\n}\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\n\n\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};","'use strict';\n\nvar utils = require('./utils');\n\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n\n return adapter;\n}\n\nvar defaults = {\n adapter: getDefaultAdapter(),\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) || utils.isArrayBuffer(data) || utils.isBuffer(data) || utils.isStream(data) || utils.isFile(data) || utils.isBlob(data)) {\n return data;\n }\n\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n\n if (utils.isObject(data)) {\n setContentTypeIfUnset(headers, 'application/json;charset=utf-8');\n return JSON.stringify(data);\n }\n\n return data;\n }],\n transformResponse: [function transformResponse(data) {\n /*eslint no-param-reassign:0*/\n if (typeof data === 'string') {\n try {\n data = JSON.parse(data);\n } catch (e) {\n /* Ignore */\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n maxContentLength: -1,\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\nmodule.exports = defaults;","// shim for using process in browser\nvar process = module.exports = {}; // cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\n\nfunction defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n}\n\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n})();\n\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n } // if setTimeout wasn't available but was latter defined\n\n\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n}\n\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n } // if clearTimeout wasn't available but was latter defined\n\n\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n}\n\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n\n draining = false;\n\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n\n while (len) {\n currentQueue = queue;\n queue = [];\n\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n\n queueIndex = -1;\n len = queue.length;\n }\n\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n\n queue.push(new Item(fun, args));\n\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n}; // v8 likes predictible objects\n\n\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\n\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\n\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\n\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) {\n return [];\n};\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () {\n return '/';\n};\n\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\n\nprocess.umask = function () {\n return 0;\n};","'use strict';\n\nvar utils = require('./../utils');\n\nvar settle = require('./../core/settle');\n\nvar buildURL = require('./../helpers/buildURL');\n\nvar buildFullPath = require('../core/buildFullPath');\n\nvar parseHeaders = require('./../helpers/parseHeaders');\n\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\n\nvar createError = require('../core/createError');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest(); // HTTP basic authentication\n\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true); // Set the request timeout in MS\n\n request.timeout = config.timeout; // Listen for ready state\n\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n } // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n\n\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n } // Prepare the response\n\n\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n settle(resolve, reject, response); // Clean up request\n\n request = null;\n }; // Handle browser request cancellation (as opposed to a manual cancellation)\n\n\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request)); // Clean up request\n\n request = null;\n }; // Handle low level network errors\n\n\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request)); // Clean up request\n\n request = null;\n }; // Handle timeout\n\n\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n\n reject(createError(timeoutErrorMessage, config, 'ECONNABORTED', request)); // Clean up request\n\n request = null;\n }; // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n\n\n if (utils.isStandardBrowserEnv()) {\n var cookies = require('./../helpers/cookies'); // Add xsrf header\n\n\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ? cookies.read(config.xsrfCookieName) : undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n } // Add headers to the request\n\n\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n } // Add withCredentials to request if needed\n\n\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n } // Add responseType to request if needed\n\n\n if (config.responseType) {\n try {\n request.responseType = config.responseType;\n } catch (e) {\n // Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.\n // But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.\n if (config.responseType !== 'json') {\n throw e;\n }\n }\n } // Handle progress if needed\n\n\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n } // Not all browsers support upload events\n\n\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel); // Clean up request\n\n request = null;\n });\n }\n\n if (requestData === undefined) {\n requestData = null;\n } // Send the request\n\n\n request.send(requestData);\n });\n};","'use strict';\n\nvar enhanceError = require('./enhanceError');\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\n\n\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};","'use strict';\n\nvar utils = require('../utils');\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\n\n\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n var valueFromConfig2Keys = ['url', 'method', 'params', 'data'];\n var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy'];\n var defaultToConfig2Keys = ['baseURL', 'url', 'transformRequest', 'transformResponse', 'paramsSerializer', 'timeout', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName', 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'maxContentLength', 'validateStatus', 'maxRedirects', 'httpAgent', 'httpsAgent', 'cancelToken', 'socketPath'];\n utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {\n if (typeof config2[prop] !== 'undefined') {\n config[prop] = config2[prop];\n }\n });\n utils.forEach(mergeDeepPropertiesKeys, function mergeDeepProperties(prop) {\n if (utils.isObject(config2[prop])) {\n config[prop] = utils.deepMerge(config1[prop], config2[prop]);\n } else if (typeof config2[prop] !== 'undefined') {\n config[prop] = config2[prop];\n } else if (utils.isObject(config1[prop])) {\n config[prop] = utils.deepMerge(config1[prop]);\n } else if (typeof config1[prop] !== 'undefined') {\n config[prop] = config1[prop];\n }\n });\n utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {\n if (typeof config2[prop] !== 'undefined') {\n config[prop] = config2[prop];\n } else if (typeof config1[prop] !== 'undefined') {\n config[prop] = config1[prop];\n }\n });\n var axiosKeys = valueFromConfig2Keys.concat(mergeDeepPropertiesKeys).concat(defaultToConfig2Keys);\n var otherKeys = Object.keys(config2).filter(function filterAxiosKeys(key) {\n return axiosKeys.indexOf(key) === -1;\n });\n utils.forEach(otherKeys, function otherKeysDefaultToConfig2(prop) {\n if (typeof config2[prop] !== 'undefined') {\n config[prop] = config2[prop];\n } else if (typeof config1[prop] !== 'undefined') {\n config[prop] = config1[prop];\n }\n });\n return config;\n};","'use strict';\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\n\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\nmodule.exports = Cancel;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var af = moment.defineLocale('af', {\n months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),\n monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),\n weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),\n weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),\n weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),\n meridiemParse: /vm|nm/i,\n isPM: function isPM(input) {\n return /^nm$/i.test(input);\n },\n meridiem: function meridiem(hours, minutes, isLower) {\n if (hours < 12) {\n return isLower ? 'vm' : 'VM';\n } else {\n return isLower ? 'nm' : 'NM';\n }\n },\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Vandag om] LT',\n nextDay: '[Môre om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[Gister om] LT',\n lastWeek: '[Laas] dddd [om] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'oor %s',\n past: '%s gelede',\n s: '\\'n paar sekondes',\n ss: '%d sekondes',\n m: '\\'n minuut',\n mm: '%d minute',\n h: '\\'n uur',\n hh: '%d ure',\n d: '\\'n dag',\n dd: '%d dae',\n M: '\\'n maand',\n MM: '%d maande',\n y: '\\'n jaar',\n yy: '%d jaar'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function ordinal(number) {\n return number + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter\n },\n week: {\n dow: 1,\n // Maandag is die eerste dag van die week.\n doy: 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.\n\n }\n });\n return af;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': 'Ù¡',\n '2': 'Ù¢',\n '3': 'Ù£',\n '4': 'Ù¤',\n '5': 'Ù¥',\n '6': 'Ù¦',\n '7': 'Ù§',\n '8': 'Ù¨',\n '9': 'Ù©',\n '0': 'Ù '\n },\n numberMap = {\n 'Ù¡': '1',\n 'Ù¢': '2',\n 'Ù£': '3',\n 'Ù¤': '4',\n 'Ù¥': '5',\n 'Ù¦': '6',\n 'Ù§': '7',\n 'Ù¨': '8',\n 'Ù©': '9',\n 'Ù ': '0'\n },\n pluralForm = function pluralForm(n) {\n return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;\n },\n plurals = {\n s: ['أقل من ثانية', 'ثانية واØدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],\n m: ['أقل من دقيقة', 'دقيقة واØدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],\n h: ['أقل من ساعة', 'ساعة واØدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],\n d: ['أقل من يوم', 'يوم واØد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],\n M: ['أقل من شهر', 'شهر واØد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],\n y: ['أقل من عام', 'عام واØد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']\n },\n pluralize = function pluralize(u) {\n return function (number, withoutSuffix, string, isFuture) {\n var f = pluralForm(number),\n str = plurals[u][pluralForm(number)];\n\n if (f === 2) {\n str = str[withoutSuffix ? 0 : 1];\n }\n\n return str.replace(/%d/i, number);\n };\n },\n months = ['يناير', 'Ùبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوÙمبر', 'ديسمبر'];\n\n var ar = moment.defineLocale('ar', {\n months: months,\n monthsShort: months,\n weekdays: 'الأØد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'Ø£Øد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'Ø_Ù†_Ø«_ر_Ø®_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: \"D/\\u200FM/\\u200FYYYY\",\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n meridiemParse: /ص|Ù…/,\n isPM: function isPM(input) {\n return 'Ù…' === input;\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'ص';\n } else {\n return 'Ù…';\n }\n },\n calendar: {\n sameDay: '[اليوم عند الساعة] LT',\n nextDay: '[غدًا عند الساعة] LT',\n nextWeek: 'dddd [عند الساعة] LT',\n lastDay: '[أمس عند الساعة] LT',\n lastWeek: 'dddd [عند الساعة] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'بعد %s',\n past: 'منذ %s',\n s: pluralize('s'),\n ss: pluralize('s'),\n m: pluralize('m'),\n mm: pluralize('m'),\n h: pluralize('h'),\n hh: pluralize('h'),\n d: pluralize('d'),\n dd: pluralize('d'),\n M: pluralize('M'),\n MM: pluralize('M'),\n y: pluralize('y'),\n yy: pluralize('y')\n },\n preparse: function preparse(string) {\n return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n return numberMap[match];\n }).replace(/ØŒ/g, ',');\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n }).replace(/,/g, 'ØŒ');\n },\n week: {\n dow: 6,\n // Saturday is the first day of the week.\n doy: 12 // The week that contains Jan 12th is the first week of the year.\n\n }\n });\n return ar;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var arDz = moment.defineLocale('ar-dz', {\n months: 'جانÙÙŠ_ÙÙŠÙري_مارس_Ø£Ùريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوÙمبر_ديسمبر'.split('_'),\n monthsShort: 'جانÙÙŠ_ÙÙŠÙري_مارس_Ø£Ùريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوÙمبر_ديسمبر'.split('_'),\n weekdays: 'الأØد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'اØد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'Ø£Ø_إث_ثلا_أر_خم_جم_سب'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'ÙÙŠ %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات'\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return arDz;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var arKw = moment.defineLocale('ar-kw', {\n months: 'يناير_Ùبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),\n monthsShort: 'يناير_Ùبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),\n weekdays: 'الأØد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'اØد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'Ø_Ù†_Ø«_ر_Ø®_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'ÙÙŠ %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات'\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 12 // The week that contains Jan 12th is the first week of the year.\n\n }\n });\n return arKw;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': '1',\n '2': '2',\n '3': '3',\n '4': '4',\n '5': '5',\n '6': '6',\n '7': '7',\n '8': '8',\n '9': '9',\n '0': '0'\n },\n pluralForm = function pluralForm(n) {\n return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;\n },\n plurals = {\n s: ['أقل من ثانية', 'ثانية واØدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],\n m: ['أقل من دقيقة', 'دقيقة واØدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],\n h: ['أقل من ساعة', 'ساعة واØدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],\n d: ['أقل من يوم', 'يوم واØد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],\n M: ['أقل من شهر', 'شهر واØد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],\n y: ['أقل من عام', 'عام واØد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']\n },\n pluralize = function pluralize(u) {\n return function (number, withoutSuffix, string, isFuture) {\n var f = pluralForm(number),\n str = plurals[u][pluralForm(number)];\n\n if (f === 2) {\n str = str[withoutSuffix ? 0 : 1];\n }\n\n return str.replace(/%d/i, number);\n };\n },\n months = ['يناير', 'Ùبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوÙمبر', 'ديسمبر'];\n\n var arLy = moment.defineLocale('ar-ly', {\n months: months,\n monthsShort: months,\n weekdays: 'الأØد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'Ø£Øد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'Ø_Ù†_Ø«_ر_Ø®_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: \"D/\\u200FM/\\u200FYYYY\",\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n meridiemParse: /ص|Ù…/,\n isPM: function isPM(input) {\n return 'Ù…' === input;\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'ص';\n } else {\n return 'Ù…';\n }\n },\n calendar: {\n sameDay: '[اليوم عند الساعة] LT',\n nextDay: '[غدًا عند الساعة] LT',\n nextWeek: 'dddd [عند الساعة] LT',\n lastDay: '[أمس عند الساعة] LT',\n lastWeek: 'dddd [عند الساعة] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'بعد %s',\n past: 'منذ %s',\n s: pluralize('s'),\n ss: pluralize('s'),\n m: pluralize('m'),\n mm: pluralize('m'),\n h: pluralize('h'),\n hh: pluralize('h'),\n d: pluralize('d'),\n dd: pluralize('d'),\n M: pluralize('M'),\n MM: pluralize('M'),\n y: pluralize('y'),\n yy: pluralize('y')\n },\n preparse: function preparse(string) {\n return string.replace(/ØŒ/g, ',');\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n }).replace(/,/g, 'ØŒ');\n },\n week: {\n dow: 6,\n // Saturday is the first day of the week.\n doy: 12 // The week that contains Jan 12th is the first week of the year.\n\n }\n });\n return arLy;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var arMa = moment.defineLocale('ar-ma', {\n months: 'يناير_Ùبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),\n monthsShort: 'يناير_Ùبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),\n weekdays: 'الأØد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'اØد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'Ø_Ù†_Ø«_ر_Ø®_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'ÙÙŠ %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات'\n },\n week: {\n dow: 6,\n // Saturday is the first day of the week.\n doy: 12 // The week that contains Jan 12th is the first week of the year.\n\n }\n });\n return arMa;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': 'Ù¡',\n '2': 'Ù¢',\n '3': 'Ù£',\n '4': 'Ù¤',\n '5': 'Ù¥',\n '6': 'Ù¦',\n '7': 'Ù§',\n '8': 'Ù¨',\n '9': 'Ù©',\n '0': 'Ù '\n },\n numberMap = {\n 'Ù¡': '1',\n 'Ù¢': '2',\n 'Ù£': '3',\n 'Ù¤': '4',\n 'Ù¥': '5',\n 'Ù¦': '6',\n 'Ù§': '7',\n 'Ù¨': '8',\n 'Ù©': '9',\n 'Ù ': '0'\n };\n var arSa = moment.defineLocale('ar-sa', {\n months: 'يناير_Ùبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوÙمبر_ديسمبر'.split('_'),\n monthsShort: 'يناير_Ùبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوÙمبر_ديسمبر'.split('_'),\n weekdays: 'الأØد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'Ø£Øد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'Ø_Ù†_Ø«_ر_Ø®_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n meridiemParse: /ص|Ù…/,\n isPM: function isPM(input) {\n return 'Ù…' === input;\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'ص';\n } else {\n return 'Ù…';\n }\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'ÙÙŠ %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات'\n },\n preparse: function preparse(string) {\n return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n return numberMap[match];\n }).replace(/ØŒ/g, ',');\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n }).replace(/,/g, 'ØŒ');\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n }\n });\n return arSa;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var arTn = moment.defineLocale('ar-tn', {\n months: 'جانÙÙŠ_ÙÙŠÙري_مارس_Ø£Ùريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوÙمبر_ديسمبر'.split('_'),\n monthsShort: 'جانÙÙŠ_ÙÙŠÙري_مارس_Ø£Ùريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوÙمبر_ديسمبر'.split('_'),\n weekdays: 'الأØد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'Ø£Øد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'Ø_Ù†_Ø«_ر_Ø®_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'ÙÙŠ %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات'\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return arTn;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var suffixes = {\n 1: '-inci',\n 5: '-inci',\n 8: '-inci',\n 70: '-inci',\n 80: '-inci',\n 2: '-nci',\n 7: '-nci',\n 20: '-nci',\n 50: '-nci',\n 3: '-üncü',\n 4: '-üncü',\n 100: '-üncü',\n 6: '-ncı',\n 9: '-uncu',\n 10: '-uncu',\n 30: '-uncu',\n 60: '-ıncı',\n 90: '-ıncı'\n };\n var az = moment.defineLocale('az', {\n months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'),\n monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),\n weekdays: 'Bazar_Bazar ertÉ™si_ÇərÅŸÉ™nbÉ™ axÅŸamı_ÇərÅŸÉ™nbÉ™_CümÉ™ axÅŸamı_CümÉ™_ŞənbÉ™'.split('_'),\n weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),\n weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[bugün saat] LT',\n nextDay: '[sabah saat] LT',\n nextWeek: '[gÉ™lÉ™n hÉ™ftÉ™] dddd [saat] LT',\n lastDay: '[dünÉ™n] LT',\n lastWeek: '[keçən hÉ™ftÉ™] dddd [saat] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s sonra',\n past: '%s É™vvÉ™l',\n s: 'birneçə saniyÉ™',\n ss: '%d saniyÉ™',\n m: 'bir dÉ™qiqÉ™',\n mm: '%d dÉ™qiqÉ™',\n h: 'bir saat',\n hh: '%d saat',\n d: 'bir gün',\n dd: '%d gün',\n M: 'bir ay',\n MM: '%d ay',\n y: 'bir il',\n yy: '%d il'\n },\n meridiemParse: /gecÉ™|sÉ™hÉ™r|gündüz|axÅŸam/,\n isPM: function isPM(input) {\n return /^(gündüz|axÅŸam)$/.test(input);\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'gecÉ™';\n } else if (hour < 12) {\n return 'sÉ™hÉ™r';\n } else if (hour < 17) {\n return 'gündüz';\n } else {\n return 'axÅŸam';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,\n ordinal: function ordinal(number) {\n if (number === 0) {\n // special case for zero\n return number + '-ıncı';\n }\n\n var a = number % 10,\n b = number % 100 - a,\n c = number >= 100 ? 100 : null;\n return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return az;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function plural(word, num) {\n var forms = word.split('_');\n return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2];\n }\n\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n 'ss': withoutSuffix ? 'Ñекунда_Ñекунды_Ñекунд' : 'Ñекунду_Ñекунды_Ñекунд',\n 'mm': withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',\n 'hh': withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',\n 'dd': 'дзень_дні_дзён',\n 'MM': 'меÑÑц_меÑÑцы_меÑÑцаў',\n 'yy': 'год_гады_гадоў'\n };\n\n if (key === 'm') {\n return withoutSuffix ? 'хвіліна' : 'хвіліну';\n } else if (key === 'h') {\n return withoutSuffix ? 'гадзіна' : 'гадзіну';\n } else {\n return number + ' ' + plural(format[key], +number);\n }\n }\n\n var be = moment.defineLocale('be', {\n months: {\n format: 'ÑтудзенÑ_лютага_Ñакавіка_краÑавіка_траўнÑ_чÑрвенÑ_ліпенÑ_жніўнÑ_вераÑнÑ_каÑтрычніка_ліÑтапада_ÑнежнÑ'.split('_'),\n standalone: 'Ñтудзень_люты_Ñакавік_краÑавік_травень_чÑрвень_ліпень_жнівень_вераÑень_каÑтрычнік_ліÑтапад_Ñнежань'.split('_')\n },\n monthsShort: 'Ñтуд_лют_Ñак_краÑ_трав_чÑрв_ліп_жнів_вер_каÑÑ‚_ліÑÑ‚_Ñнеж'.split('_'),\n weekdays: {\n format: 'нÑдзелю_панÑдзелак_аўторак_Ñераду_чацвер_пÑтніцу_Ñуботу'.split('_'),\n standalone: 'нÑдзелÑ_панÑдзелак_аўторак_Ñерада_чацвер_пÑтніца_Ñубота'.split('_'),\n isFormat: /\\[ ?[Ууў] ?(?:мінулую|наÑтупную)? ?\\] ?dddd/\n },\n weekdaysShort: 'нд_пн_ат_ÑÑ€_чц_пт_Ñб'.split('_'),\n weekdaysMin: 'нд_пн_ат_ÑÑ€_чц_пт_Ñб'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY г.',\n LLL: 'D MMMM YYYY г., HH:mm',\n LLLL: 'dddd, D MMMM YYYY г., HH:mm'\n },\n calendar: {\n sameDay: '[Ð¡Ñ‘Ð½Ð½Ñ Ñž] LT',\n nextDay: '[Заўтра Ñž] LT',\n lastDay: '[Учора Ñž] LT',\n nextWeek: function nextWeek() {\n return '[У] dddd [Ñž] LT';\n },\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n case 3:\n case 5:\n case 6:\n return '[У мінулую] dddd [Ñž] LT';\n\n case 1:\n case 2:\n case 4:\n return '[У мінулы] dddd [Ñž] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'праз %s',\n past: '%s таму',\n s: 'некалькі Ñекунд',\n m: relativeTimeWithPlural,\n mm: relativeTimeWithPlural,\n h: relativeTimeWithPlural,\n hh: relativeTimeWithPlural,\n d: 'дзень',\n dd: relativeTimeWithPlural,\n M: 'меÑÑц',\n MM: relativeTimeWithPlural,\n y: 'год',\n yy: relativeTimeWithPlural\n },\n meridiemParse: /ночы|раніцы|днÑ|вечара/,\n isPM: function isPM(input) {\n return /^(днÑ|вечара)$/.test(input);\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'ночы';\n } else if (hour < 12) {\n return 'раніцы';\n } else if (hour < 17) {\n return 'днÑ';\n } else {\n return 'вечара';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(Ñ–|Ñ‹|га)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n case 'M':\n case 'd':\n case 'DDD':\n case 'w':\n case 'W':\n return (number % 10 === 2 || number % 10 === 3) && number % 100 !== 12 && number % 100 !== 13 ? number + '-Ñ–' : number + '-Ñ‹';\n\n case 'D':\n return number + '-га';\n\n default:\n return number;\n }\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return be;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var bg = moment.defineLocale('bg', {\n months: 'Ñнуари_февруари_март_април_май_юни_юли_авгуÑÑ‚_Ñептември_октомври_ноември_декември'.split('_'),\n monthsShort: 'Ñнр_фев_мар_апр_май_юни_юли_авг_Ñеп_окт_ное_дек'.split('_'),\n weekdays: 'неделÑ_понеделник_вторник_ÑÑ€Ñда_четвъртък_петък_Ñъбота'.split('_'),\n weekdaysShort: 'нед_пон_вто_ÑÑ€Ñ_чет_пет_Ñъб'.split('_'),\n weekdaysMin: 'нд_пн_вт_ÑÑ€_чт_пт_Ñб'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'D.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY H:mm',\n LLLL: 'dddd, D MMMM YYYY H:mm'\n },\n calendar: {\n sameDay: '[Ð”Ð½ÐµÑ Ð²] LT',\n nextDay: '[Утре в] LT',\n nextWeek: 'dddd [в] LT',\n lastDay: '[Вчера в] LT',\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n case 3:\n case 6:\n return '[Ð’ изминалата] dddd [в] LT';\n\n case 1:\n case 2:\n case 4:\n case 5:\n return '[Ð’ изминалиÑ] dddd [в] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'Ñлед %s',\n past: 'преди %s',\n s: 'нÑколко Ñекунди',\n ss: '%d Ñекунди',\n m: 'минута',\n mm: '%d минути',\n h: 'чаÑ',\n hh: '%d чаÑа',\n d: 'ден',\n dd: '%d дни',\n M: 'меÑец',\n MM: '%d меÑеца',\n y: 'година',\n yy: '%d години'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,\n ordinal: function ordinal(number) {\n var lastDigit = number % 10,\n last2Digits = number % 100;\n\n if (number === 0) {\n return number + '-ев';\n } else if (last2Digits === 0) {\n return number + '-ен';\n } else if (last2Digits > 10 && last2Digits < 20) {\n return number + '-ти';\n } else if (lastDigit === 1) {\n return number + '-ви';\n } else if (lastDigit === 2) {\n return number + '-ри';\n } else if (lastDigit === 7 || lastDigit === 8) {\n return number + '-ми';\n } else {\n return number + '-ти';\n }\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return bg;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var bm = moment.defineLocale('bm', {\n months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_MÉ›kalo_ZuwÉ›nkalo_Zuluyekalo_Utikalo_SÉ›tanburukalo_É”kutÉ”burukalo_Nowanburukalo_Desanburukalo'.split('_'),\n monthsShort: 'Zan_Few_Mar_Awi_MÉ›_Zuw_Zul_Uti_SÉ›t_É”ku_Now_Des'.split('_'),\n weekdays: 'Kari_NtÉ›nÉ›n_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),\n weekdaysShort: 'Kar_NtÉ›_Tar_Ara_Ala_Jum_Sib'.split('_'),\n weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'MMMM [tile] D [san] YYYY',\n LLL: 'MMMM [tile] D [san] YYYY [lÉ›rÉ›] HH:mm',\n LLLL: 'dddd MMMM [tile] D [san] YYYY [lÉ›rÉ›] HH:mm'\n },\n calendar: {\n sameDay: '[Bi lÉ›rÉ›] LT',\n nextDay: '[Sini lÉ›rÉ›] LT',\n nextWeek: 'dddd [don lÉ›rÉ›] LT',\n lastDay: '[Kunu lÉ›rÉ›] LT',\n lastWeek: 'dddd [tÉ›mÉ›nen lÉ›rÉ›] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s kÉ”nÉ”',\n past: 'a bÉ› %s bÉ”',\n s: 'sanga dama dama',\n ss: 'sekondi %d',\n m: 'miniti kelen',\n mm: 'miniti %d',\n h: 'lÉ›rÉ› kelen',\n hh: 'lÉ›rÉ› %d',\n d: 'tile kelen',\n dd: 'tile %d',\n M: 'kalo kelen',\n MM: 'kalo %d',\n y: 'san kelen',\n yy: 'san %d'\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return bm;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': '১',\n '2': '২',\n '3': '৩',\n '4': '৪',\n '5': '৫',\n '6': '৬',\n '7': 'à§',\n '8': '৮',\n '9': '৯',\n '0': '০'\n },\n numberMap = {\n '১': '1',\n '২': '2',\n '৩': '3',\n '৪': '4',\n '৫': '5',\n '৬': '6',\n 'à§': '7',\n '৮': '8',\n '৯': '9',\n '০': '0'\n };\n var bn = moment.defineLocale('bn', {\n months: 'জানà§à§Ÿà¦¾à¦°à§€_ফেবà§à¦°à§à§Ÿà¦¾à¦°à¦¿_মারà§à¦š_à¦à¦ªà§à¦°à¦¿à¦²_মে_জà§à¦¨_জà§à¦²à¦¾à¦‡_আগসà§à¦Ÿ_সেপà§à¦Ÿà§‡à¦®à§à¦¬à¦°_অকà§à¦Ÿà§‹à¦¬à¦°_নà¦à§‡à¦®à§à¦¬à¦°_ডিসেমà§à¦¬à¦°'.split('_'),\n monthsShort: 'জানà§_ফেব_মারà§à¦š_à¦à¦ªà§à¦°_মে_জà§à¦¨_জà§à¦²_আগ_সেপà§à¦Ÿ_অকà§à¦Ÿà§‹_নà¦à§‡_ডিসে'.split('_'),\n weekdays: 'রবিবার_সোমবার_মঙà§à¦—লবার_বà§à¦§à¦¬à¦¾à¦°_বৃহসà§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°_শà§à¦•à§à¦°à¦¬à¦¾à¦°_শনিবার'.split('_'),\n weekdaysShort: 'রবি_সোম_মঙà§à¦—ল_বà§à¦§_বৃহসà§à¦ªà¦¤à¦¿_শà§à¦•à§à¦°_শনি'.split('_'),\n weekdaysMin: 'রবি_সোম_মঙà§à¦—_বà§à¦§_বৃহঃ_শà§à¦•à§à¦°_শনি'.split('_'),\n longDateFormat: {\n LT: 'A h:mm সময়',\n LTS: 'A h:mm:ss সময়',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm সময়',\n LLLL: 'dddd, D MMMM YYYY, A h:mm সময়'\n },\n calendar: {\n sameDay: '[আজ] LT',\n nextDay: '[আগামীকাল] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[গতকাল] LT',\n lastWeek: '[গত] dddd, LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s পরে',\n past: '%s আগে',\n s: 'কয়েক সেকেনà§à¦¡',\n ss: '%d সেকেনà§à¦¡',\n m: 'à¦à¦• মিনিট',\n mm: '%d মিনিট',\n h: 'à¦à¦• ঘনà§à¦Ÿà¦¾',\n hh: '%d ঘনà§à¦Ÿà¦¾',\n d: 'à¦à¦• দিন',\n dd: '%d দিন',\n M: 'à¦à¦• মাস',\n MM: '%d মাস',\n y: 'à¦à¦• বছর',\n yy: '%d বছর'\n },\n preparse: function preparse(string) {\n return string.replace(/[১২৩৪৫৬à§à§®à§¯à§¦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /রাত|সকাল|দà§à¦ªà§à¦°|বিকাল|রাত/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'রাত' && hour >= 4 || meridiem === 'দà§à¦ªà§à¦°' && hour < 5 || meridiem === 'বিকাল') {\n return hour + 12;\n } else {\n return hour;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'রাত';\n } else if (hour < 10) {\n return 'সকাল';\n } else if (hour < 17) {\n return 'দà§à¦ªà§à¦°';\n } else if (hour < 20) {\n return 'বিকাল';\n } else {\n return 'রাত';\n }\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n }\n });\n return bn;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': '༡',\n '2': '༢',\n '3': '༣',\n '4': '༤',\n '5': '༥',\n '6': '༦',\n '7': '༧',\n '8': '༨',\n '9': '༩',\n '0': '༠'\n },\n numberMap = {\n '༡': '1',\n '༢': '2',\n '༣': '3',\n '༤': '4',\n '༥': '5',\n '༦': '6',\n '༧': '7',\n '༨': '8',\n '༩': '9',\n '༠': '0'\n };\n var bo = moment.defineLocale('bo', {\n months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'),\n monthsShort: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'),\n weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'),\n weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'),\n weekdaysMin: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'),\n longDateFormat: {\n LT: 'A h:mm',\n LTS: 'A h:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm',\n LLLL: 'dddd, D MMMM YYYY, A h:mm'\n },\n calendar: {\n sameDay: '[དི་རིང] LT',\n nextDay: '[སང་ཉིན] LT',\n nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',\n lastDay: '[à½à¼‹à½¦à½„] LT',\n lastWeek: '[བདུན་ཕྲག་མà½à½ ་མ] dddd, LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s ལ་',\n past: '%s སྔན་ལ',\n s: 'ལམ་སང',\n ss: '%d སà¾à½¢à¼‹à½†à¼',\n m: 'སà¾à½¢à¼‹à½˜à¼‹à½‚ཅིག',\n mm: '%d སà¾à½¢à¼‹à½˜',\n h: 'ཆུ་ཚོད་གཅིག',\n hh: '%d ཆུ་ཚོད',\n d: 'ཉིན་གཅིག',\n dd: '%d ཉིན་',\n M: 'ཟླ་བ་གཅིག',\n MM: '%d ཟླ་བ',\n y: 'ལོ་གཅིག',\n yy: '%d ལོ'\n },\n preparse: function preparse(string) {\n return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'མཚན་མོ' && hour >= 4 || meridiem === 'ཉིན་གུང' && hour < 5 || meridiem === 'དགོང་དག') {\n return hour + 12;\n } else {\n return hour;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'མཚན་མོ';\n } else if (hour < 10) {\n return 'ཞོགས་ཀས';\n } else if (hour < 17) {\n return 'ཉིན་གུང';\n } else if (hour < 20) {\n return 'དགོང་དག';\n } else {\n return 'མཚན་མོ';\n }\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n }\n });\n return bo;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function relativeTimeWithMutation(number, withoutSuffix, key) {\n var format = {\n 'mm': 'munutenn',\n 'MM': 'miz',\n 'dd': 'devezh'\n };\n return number + ' ' + mutation(format[key], number);\n }\n\n function specialMutationForYears(number) {\n switch (lastNumber(number)) {\n case 1:\n case 3:\n case 4:\n case 5:\n case 9:\n return number + ' bloaz';\n\n default:\n return number + ' vloaz';\n }\n }\n\n function lastNumber(number) {\n if (number > 9) {\n return lastNumber(number % 10);\n }\n\n return number;\n }\n\n function mutation(text, number) {\n if (number === 2) {\n return softMutation(text);\n }\n\n return text;\n }\n\n function softMutation(text) {\n var mutationTable = {\n 'm': 'v',\n 'b': 'v',\n 'd': 'z'\n };\n\n if (mutationTable[text.charAt(0)] === undefined) {\n return text;\n }\n\n return mutationTable[text.charAt(0)] + text.substring(1);\n }\n\n var br = moment.defineLocale('br', {\n months: 'Genver_C\\'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'),\n monthsShort: 'Gen_C\\'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),\n weekdays: 'Sul_Lun_Meurzh_Merc\\'her_Yaou_Gwener_Sadorn'.split('_'),\n weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),\n weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'h[e]mm A',\n LTS: 'h[e]mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D [a viz] MMMM YYYY',\n LLL: 'D [a viz] MMMM YYYY h[e]mm A',\n LLLL: 'dddd, D [a viz] MMMM YYYY h[e]mm A'\n },\n calendar: {\n sameDay: '[Hiziv da] LT',\n nextDay: '[Warc\\'hoazh da] LT',\n nextWeek: 'dddd [da] LT',\n lastDay: '[Dec\\'h da] LT',\n lastWeek: 'dddd [paset da] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'a-benn %s',\n past: '%s \\'zo',\n s: 'un nebeud segondennoù',\n ss: '%d eilenn',\n m: 'ur vunutenn',\n mm: relativeTimeWithMutation,\n h: 'un eur',\n hh: '%d eur',\n d: 'un devezh',\n dd: relativeTimeWithMutation,\n M: 'ur miz',\n MM: relativeTimeWithMutation,\n y: 'ur bloaz',\n yy: specialMutationForYears\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(añ|vet)/,\n ordinal: function ordinal(number) {\n var output = number === 1 ? 'añ' : 'vet';\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return br;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n\n switch (key) {\n case 'ss':\n if (number === 1) {\n result += 'sekunda';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sekunde';\n } else {\n result += 'sekundi';\n }\n\n return result;\n\n case 'm':\n return withoutSuffix ? 'jedna minuta' : 'jedne minute';\n\n case 'mm':\n if (number === 1) {\n result += 'minuta';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'minute';\n } else {\n result += 'minuta';\n }\n\n return result;\n\n case 'h':\n return withoutSuffix ? 'jedan sat' : 'jednog sata';\n\n case 'hh':\n if (number === 1) {\n result += 'sat';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sata';\n } else {\n result += 'sati';\n }\n\n return result;\n\n case 'dd':\n if (number === 1) {\n result += 'dan';\n } else {\n result += 'dana';\n }\n\n return result;\n\n case 'MM':\n if (number === 1) {\n result += 'mjesec';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'mjeseca';\n } else {\n result += 'mjeseci';\n }\n\n return result;\n\n case 'yy':\n if (number === 1) {\n result += 'godina';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'godine';\n } else {\n result += 'godina';\n }\n\n return result;\n }\n }\n\n var bs = moment.defineLocale('bs', {\n months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),\n monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n monthsParseExact: true,\n weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota'.split('_'),\n weekdaysShort: 'ned._pon._uto._sri._Äet._pet._sub.'.split('_'),\n weekdaysMin: 'ne_po_ut_sr_Äe_pe_su'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm'\n },\n calendar: {\n sameDay: '[danas u] LT',\n nextDay: '[sutra u] LT',\n nextWeek: function nextWeek() {\n switch (this.day()) {\n case 0:\n return '[u] [nedjelju] [u] LT';\n\n case 3:\n return '[u] [srijedu] [u] LT';\n\n case 6:\n return '[u] [subotu] [u] LT';\n\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay: '[juÄer u] LT',\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n case 3:\n return '[proÅ¡lu] dddd [u] LT';\n\n case 6:\n return '[proÅ¡le] [subote] [u] LT';\n\n case 1:\n case 2:\n case 4:\n case 5:\n return '[proÅ¡li] dddd [u] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'za %s',\n past: 'prije %s',\n s: 'par sekundi',\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: 'dan',\n dd: translate,\n M: 'mjesec',\n MM: translate,\n y: 'godinu',\n yy: translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return bs;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var ca = moment.defineLocale('ca', {\n months: {\n standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),\n format: 'de gener_de febrer_de març_d\\'abril_de maig_de juny_de juliol_d\\'agost_de setembre_d\\'octubre_de novembre_de desembre'.split('_'),\n isFormat: /D[oD]?(\\s)+MMMM/\n },\n monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split('_'),\n monthsParseExact: true,\n weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'),\n weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),\n weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM [de] YYYY',\n ll: 'D MMM YYYY',\n LLL: 'D MMMM [de] YYYY [a les] H:mm',\n lll: 'D MMM YYYY, H:mm',\n LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',\n llll: 'ddd D MMM YYYY, H:mm'\n },\n calendar: {\n sameDay: function sameDay() {\n return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n nextDay: function nextDay() {\n return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n nextWeek: function nextWeek() {\n return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n lastDay: function lastDay() {\n return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n lastWeek: function lastWeek() {\n return '[el] dddd [passat a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'd\\'aquà %s',\n past: 'fa %s',\n s: 'uns segons',\n ss: '%d segons',\n m: 'un minut',\n mm: '%d minuts',\n h: 'una hora',\n hh: '%d hores',\n d: 'un dia',\n dd: '%d dies',\n M: 'un mes',\n MM: '%d mesos',\n y: 'un any',\n yy: '%d anys'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(r|n|t|è|a)/,\n ordinal: function ordinal(number, period) {\n var output = number === 1 ? 'r' : number === 2 ? 'n' : number === 3 ? 'r' : number === 4 ? 't' : 'è';\n\n if (period === 'w' || period === 'W') {\n output = 'a';\n }\n\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return ca;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var months = 'leden_únor_bÅ™ezen_duben_kvÄ›ten_Äerven_Äervenec_srpen_zářÃ_Å™Ãjen_listopad_prosinec'.split('_'),\n monthsShort = 'led_úno_bÅ™e_dub_kvÄ›_Ävn_Ävc_srp_zář_Å™Ãj_lis_pro'.split('_');\n var monthsParse = [/^led/i, /^úno/i, /^bÅ™e/i, /^dub/i, /^kvÄ›/i, /^(Ävn|Äerven$|Äervna)/i, /^(Ävc|Äervenec|Äervence)/i, /^srp/i, /^zář/i, /^Å™Ãj/i, /^lis/i, /^pro/i]; // NOTE: 'Äerven' is substring of 'Äervenec'; therefore 'Äervenec' must precede 'Äerven' in the regex to be fully matched.\n // Otherwise parser matches '1. Äervenec' as '1. Äerven' + 'ec'.\n\n var monthsRegex = /^(leden|únor|bÅ™ezen|duben|kvÄ›ten|Äervenec|Äervence|Äerven|Äervna|srpen|zářÃ|Å™Ãjen|listopad|prosinec|led|úno|bÅ™e|dub|kvÄ›|Ävn|Ävc|srp|zář|Å™Ãj|lis|pro)/i;\n\n function plural(n) {\n return n > 1 && n < 5 && ~~(n / 10) !== 1;\n }\n\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n\n switch (key) {\n case 's':\n // a few seconds / in a few seconds / a few seconds ago\n return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';\n\n case 'ss':\n // 9 seconds / in 9 seconds / 9 seconds ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'sekundy' : 'sekund');\n } else {\n return result + 'sekundami';\n }\n\n break;\n\n case 'm':\n // a minute / in a minute / a minute ago\n return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';\n\n case 'mm':\n // 9 minutes / in 9 minutes / 9 minutes ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'minuty' : 'minut');\n } else {\n return result + 'minutami';\n }\n\n break;\n\n case 'h':\n // an hour / in an hour / an hour ago\n return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';\n\n case 'hh':\n // 9 hours / in 9 hours / 9 hours ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'hodiny' : 'hodin');\n } else {\n return result + 'hodinami';\n }\n\n break;\n\n case 'd':\n // a day / in a day / a day ago\n return withoutSuffix || isFuture ? 'den' : 'dnem';\n\n case 'dd':\n // 9 days / in 9 days / 9 days ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'dny' : 'dnÃ');\n } else {\n return result + 'dny';\n }\n\n break;\n\n case 'M':\n // a month / in a month / a month ago\n return withoutSuffix || isFuture ? 'mÄ›sÃc' : 'mÄ›sÃcem';\n\n case 'MM':\n // 9 months / in 9 months / 9 months ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'mÄ›sÃce' : 'mÄ›sÃců');\n } else {\n return result + 'mÄ›sÃci';\n }\n\n break;\n\n case 'y':\n // a year / in a year / a year ago\n return withoutSuffix || isFuture ? 'rok' : 'rokem';\n\n case 'yy':\n // 9 years / in 9 years / 9 years ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'roky' : 'let');\n } else {\n return result + 'lety';\n }\n\n break;\n }\n }\n\n var cs = moment.defineLocale('cs', {\n months: months,\n monthsShort: monthsShort,\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n // NOTE: 'Äerven' is substring of 'Äervenec'; therefore 'Äervenec' must precede 'Äerven' in the regex to be fully matched.\n // Otherwise parser matches '1. Äervenec' as '1. Äerven' + 'ec'.\n monthsStrictRegex: /^(leden|ledna|února|únor|bÅ™ezen|bÅ™ezna|duben|dubna|kvÄ›ten|kvÄ›tna|Äervenec|Äervence|Äerven|Äervna|srpen|srpna|zářÃ|Å™Ãjen|Å™Ãjna|listopadu|listopad|prosinec|prosince)/i,\n monthsShortStrictRegex: /^(led|úno|bÅ™e|dub|kvÄ›|Ävn|Ävc|srp|zář|Å™Ãj|lis|pro)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'nedÄ›le_pondÄ›lÃ_úterý_stÅ™eda_Ätvrtek_pátek_sobota'.split('_'),\n weekdaysShort: 'ne_po_út_st_Ät_pá_so'.split('_'),\n weekdaysMin: 'ne_po_út_st_Ät_pá_so'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd D. MMMM YYYY H:mm',\n l: 'D. M. YYYY'\n },\n calendar: {\n sameDay: '[dnes v] LT',\n nextDay: '[zÃtra v] LT',\n nextWeek: function nextWeek() {\n switch (this.day()) {\n case 0:\n return '[v nedÄ›li v] LT';\n\n case 1:\n case 2:\n return '[v] dddd [v] LT';\n\n case 3:\n return '[ve stÅ™edu v] LT';\n\n case 4:\n return '[ve Ätvrtek v] LT';\n\n case 5:\n return '[v pátek v] LT';\n\n case 6:\n return '[v sobotu v] LT';\n }\n },\n lastDay: '[vÄera v] LT',\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n return '[minulou nedÄ›li v] LT';\n\n case 1:\n case 2:\n return '[minulé] dddd [v] LT';\n\n case 3:\n return '[minulou stÅ™edu v] LT';\n\n case 4:\n case 5:\n return '[minulý] dddd [v] LT';\n\n case 6:\n return '[minulou sobotu v] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'za %s',\n past: 'pÅ™ed %s',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return cs;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var cv = moment.defineLocale('cv', {\n months: 'кӑрлач_нарӑÑ_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'),\n monthsShort: 'кӑр_нар_пуш_ака_май_Ò«Ó—Ñ€_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),\n weekdays: 'вырÑарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_Ñрнекун_шӑматкун'.split('_'),\n weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_Ñрн_шӑм'.split('_'),\n weekdaysMin: 'вр_тн_Ñ‹Ñ‚_юн_кҫ_ÑÑ€_шм'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD-MM-YYYY',\n LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',\n LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',\n LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm'\n },\n calendar: {\n sameDay: '[ПаÑн] LT [Ñехетре]',\n nextDay: '[Ыран] LT [Ñехетре]',\n lastDay: '[Ӗнер] LT [Ñехетре]',\n nextWeek: '[ҪитеÑ] dddd LT [Ñехетре]',\n lastWeek: '[Иртнӗ] dddd LT [Ñехетре]',\n sameElse: 'L'\n },\n relativeTime: {\n future: function future(output) {\n var affix = /Ñехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран';\n return output + affix;\n },\n past: '%s каÑлла',\n s: 'пӗр-ик ҫеккунт',\n ss: '%d ҫеккунт',\n m: 'пӗр минут',\n mm: '%d минут',\n h: 'пӗр Ñехет',\n hh: '%d Ñехет',\n d: 'пӗр кун',\n dd: '%d кун',\n M: 'пӗр уйӑх',\n MM: '%d уйӑх',\n y: 'пӗр ҫул',\n yy: '%d ҫул'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-мӗш/,\n ordinal: '%d-мӗш',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return cv;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var cy = moment.defineLocale('cy', {\n months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'),\n monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'),\n weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'),\n weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),\n weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),\n weekdaysParseExact: true,\n // time formats are the same as en-gb\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Heddiw am] LT',\n nextDay: '[Yfory am] LT',\n nextWeek: 'dddd [am] LT',\n lastDay: '[Ddoe am] LT',\n lastWeek: 'dddd [diwethaf am] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'mewn %s',\n past: '%s yn ôl',\n s: 'ychydig eiliadau',\n ss: '%d eiliad',\n m: 'munud',\n mm: '%d munud',\n h: 'awr',\n hh: '%d awr',\n d: 'diwrnod',\n dd: '%d diwrnod',\n M: 'mis',\n MM: '%d mis',\n y: 'blwyddyn',\n yy: '%d flynedd'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,\n // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh\n ordinal: function ordinal(number) {\n var b = number,\n output = '',\n lookup = ['', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed\n 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed\n ];\n\n if (b > 20) {\n if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {\n output = 'fed'; // not 30ain, 70ain or 90ain\n } else {\n output = 'ain';\n }\n } else if (b > 0) {\n output = lookup[b];\n }\n\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return cy;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var da = moment.defineLocale('da', {\n months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'),\n monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),\n weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),\n weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY HH:mm',\n LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm'\n },\n calendar: {\n sameDay: '[i dag kl.] LT',\n nextDay: '[i morgen kl.] LT',\n nextWeek: 'pÃ¥ dddd [kl.] LT',\n lastDay: '[i gÃ¥r kl.] LT',\n lastWeek: '[i] dddd[s kl.] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'om %s',\n past: '%s siden',\n s: 'fÃ¥ sekunder',\n ss: '%d sekunder',\n m: 'et minut',\n mm: '%d minutter',\n h: 'en time',\n hh: '%d timer',\n d: 'en dag',\n dd: '%d dage',\n M: 'en mÃ¥ned',\n MM: '%d mÃ¥neder',\n y: 'et Ã¥r',\n yy: '%d Ã¥r'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return da;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n 'm': ['eine Minute', 'einer Minute'],\n 'h': ['eine Stunde', 'einer Stunde'],\n 'd': ['ein Tag', 'einem Tag'],\n 'dd': [number + ' Tage', number + ' Tagen'],\n 'M': ['ein Monat', 'einem Monat'],\n 'MM': [number + ' Monate', number + ' Monaten'],\n 'y': ['ein Jahr', 'einem Jahr'],\n 'yy': [number + ' Jahre', number + ' Jahren']\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var de = moment.defineLocale('de', {\n months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),\n monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),\n monthsParseExact: true,\n weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),\n weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY HH:mm',\n LLLL: 'dddd, D. MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[heute um] LT [Uhr]',\n sameElse: 'L',\n nextDay: '[morgen um] LT [Uhr]',\n nextWeek: 'dddd [um] LT [Uhr]',\n lastDay: '[gestern um] LT [Uhr]',\n lastWeek: '[letzten] dddd [um] LT [Uhr]'\n },\n relativeTime: {\n future: 'in %s',\n past: 'vor %s',\n s: 'ein paar Sekunden',\n ss: '%d Sekunden',\n m: processRelativeTime,\n mm: '%d Minuten',\n h: processRelativeTime,\n hh: '%d Stunden',\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return de;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n 'm': ['eine Minute', 'einer Minute'],\n 'h': ['eine Stunde', 'einer Stunde'],\n 'd': ['ein Tag', 'einem Tag'],\n 'dd': [number + ' Tage', number + ' Tagen'],\n 'M': ['ein Monat', 'einem Monat'],\n 'MM': [number + ' Monate', number + ' Monaten'],\n 'y': ['ein Jahr', 'einem Jahr'],\n 'yy': [number + ' Jahre', number + ' Jahren']\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var deAt = moment.defineLocale('de-at', {\n months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),\n monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),\n monthsParseExact: true,\n weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),\n weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY HH:mm',\n LLLL: 'dddd, D. MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[heute um] LT [Uhr]',\n sameElse: 'L',\n nextDay: '[morgen um] LT [Uhr]',\n nextWeek: 'dddd [um] LT [Uhr]',\n lastDay: '[gestern um] LT [Uhr]',\n lastWeek: '[letzten] dddd [um] LT [Uhr]'\n },\n relativeTime: {\n future: 'in %s',\n past: 'vor %s',\n s: 'ein paar Sekunden',\n ss: '%d Sekunden',\n m: processRelativeTime,\n mm: '%d Minuten',\n h: processRelativeTime,\n hh: '%d Stunden',\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return deAt;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n 'm': ['eine Minute', 'einer Minute'],\n 'h': ['eine Stunde', 'einer Stunde'],\n 'd': ['ein Tag', 'einem Tag'],\n 'dd': [number + ' Tage', number + ' Tagen'],\n 'M': ['ein Monat', 'einem Monat'],\n 'MM': [number + ' Monate', number + ' Monaten'],\n 'y': ['ein Jahr', 'einem Jahr'],\n 'yy': [number + ' Jahre', number + ' Jahren']\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var deCh = moment.defineLocale('de-ch', {\n months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),\n monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),\n monthsParseExact: true,\n weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),\n weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY HH:mm',\n LLLL: 'dddd, D. MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[heute um] LT [Uhr]',\n sameElse: 'L',\n nextDay: '[morgen um] LT [Uhr]',\n nextWeek: 'dddd [um] LT [Uhr]',\n lastDay: '[gestern um] LT [Uhr]',\n lastWeek: '[letzten] dddd [um] LT [Uhr]'\n },\n relativeTime: {\n future: 'in %s',\n past: 'vor %s',\n s: 'ein paar Sekunden',\n ss: '%d Sekunden',\n m: processRelativeTime,\n mm: '%d Minuten',\n h: processRelativeTime,\n hh: '%d Stunden',\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return deCh;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var months = ['Þ–Þ¬Þ‚ÞªÞ‡Þ¦ÞƒÞ©', 'ÞŠÞ¬Þ„Þ°ÞƒÞªÞ‡Þ¦ÞƒÞ©', 'Þ‰Þ§ÞƒÞ¨Þ—Þª', 'Þ‡ÞÞ•Þ°ÞƒÞ©ÞÞª', 'Þ‰Þ', 'Þ–Þ«Þ‚Þ°', 'Þ–ÞªÞÞ¦Þ‡Þ¨', 'Þ‡Þ¯ÞŽÞ¦ÞÞ°Þ“Þª', 'ÞÞ¬Þ•Þ°Þ“Þ¬Þ‰Þ°Þ„Þ¦ÞƒÞª', 'Þ‡Þ®Þ†Þ°Þ“Þ¯Þ„Þ¦ÞƒÞª', 'Þ‚Þ®ÞˆÞ¬Þ‰Þ°Þ„Þ¦ÞƒÞª', 'Þ‘Þ¨ÞÞ¬Þ‰Þ°Þ„Þ¦ÞƒÞª'],\n weekdays = ['އާދިއްތަ', 'Þ€Þ¯Þ‰Þ¦', 'Þ‡Þ¦Þ‚Þ°ÞŽÞ§ÞƒÞ¦', 'Þ„ÞªÞ‹Þ¦', 'Þ„ÞªÞƒÞ§Þްފަތި', 'Þ€ÞªÞ†ÞªÞƒÞª', 'Þ€Þ®Þ‚Þ¨Þ€Þ¨ÞƒÞª'];\n var dv = moment.defineLocale('dv', {\n months: months,\n monthsShort: months,\n weekdays: weekdays,\n weekdaysShort: weekdays,\n weekdaysMin: 'Þ‡Þ§Þ‹Þ¨_Þ€Þ¯Þ‰Þ¦_Þ‡Þ¦Þ‚Þ°_Þ„ÞªÞ‹Þ¦_Þ„ÞªÞƒÞ§_Þ€ÞªÞ†Þª_Þ€Þ®Þ‚Þ¨'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'D/M/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n meridiemParse: /Þ‰Þ†|Þ‰ÞŠ/,\n isPM: function isPM(input) {\n return 'Þ‰ÞŠ' === input;\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'Þ‰Þ†';\n } else {\n return 'Þ‰ÞŠ';\n }\n },\n calendar: {\n sameDay: '[Þ‰Þ¨Þ‡Þ¦Þ‹Þª] LT',\n nextDay: '[Þ‰Þ§Þ‹Þ¦Þ‰Þ§] LT',\n nextWeek: 'dddd LT',\n lastDay: '[Þ‡Þ¨Þ‡Þ°Þ”Þ¬] LT',\n lastWeek: '[ފާއިތުވި] dddd LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'ތެރÞÞŽÞ¦Þ‡Þ¨ %s',\n past: 'Þ†ÞªÞƒÞ¨Þ‚Þ° %s',\n s: 'Þިކުންތުކޮޅެއް',\n ss: 'd% Þިކުންތު',\n m: 'Þ‰Þ¨Þ‚Þ¨Þ“Þ¬Þ‡Þ°',\n mm: 'Þ‰Þ¨Þ‚Þ¨Þ“Þª %d',\n h: 'ÞŽÞ¦Þ‘Þ¨Þ‡Þ¨ÞƒÞ¬Þ‡Þ°',\n hh: 'ÞŽÞ¦Þ‘Þ¨Þ‡Þ¨ÞƒÞª %d',\n d: 'Þ‹ÞªÞˆÞ¦Þ€Þ¬Þ‡Þ°',\n dd: 'Þ‹ÞªÞˆÞ¦ÞÞ° %d',\n M: 'Þ‰Þ¦Þ€Þ¬Þ‡Þ°',\n MM: 'Þ‰Þ¦ÞÞ° %d',\n y: 'Þ‡Þ¦Þ€Þ¦ÞƒÞ¬Þ‡Þ°',\n yy: 'Þ‡Þ¦Þ€Þ¦ÞƒÞª %d'\n },\n preparse: function preparse(string) {\n return string.replace(/ØŒ/g, ',');\n },\n postformat: function postformat(string) {\n return string.replace(/,/g, 'ØŒ');\n },\n week: {\n dow: 7,\n // Sunday is the first day of the week.\n doy: 12 // The week that contains Jan 12th is the first week of the year.\n\n }\n });\n return dv;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function isFunction(input) {\n return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';\n }\n\n var el = moment.defineLocale('el', {\n monthsNominativeEl: 'ΙανουάÏιος_ΦεβÏουάÏιος_ΜάÏτιος_ΑπÏίλιος_Μάιος_ΙοÏνιος_ΙοÏλιος_ΑÏγουστος_ΣεπτÎμβÏιος_ΟκτώβÏιος_ÎοÎμβÏιος_ΔεκÎμβÏιος'.split('_'),\n monthsGenitiveEl: 'ΙανουαÏίου_ΦεβÏουαÏίου_ΜαÏτίου_ΑπÏιλίου_ΜαÎου_Ιουνίου_Ιουλίου_ΑυγοÏστου_ΣεπτεμβÏίου_ΟκτωβÏίου_ÎοεμβÏίου_ΔεκεμβÏίου'.split('_'),\n months: function months(momentToFormat, format) {\n if (!momentToFormat) {\n return this._monthsNominativeEl;\n } else if (typeof format === 'string' && /D/.test(format.substring(0, format.indexOf('MMMM')))) {\n // if there is a day number before 'MMMM'\n return this._monthsGenitiveEl[momentToFormat.month()];\n } else {\n return this._monthsNominativeEl[momentToFormat.month()];\n }\n },\n monthsShort: 'Ιαν_Φεβ_ΜαÏ_ΑπÏ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Îοε_Δεκ'.split('_'),\n weekdays: 'ΚυÏιακή_ΔευτÎÏα_ΤÏίτη_ΤετάÏτη_Î Îμπτη_ΠαÏασκευή_Σάββατο'.split('_'),\n weekdaysShort: 'ΚυÏ_Δευ_ΤÏι_Τετ_Πεμ_ΠαÏ_Σαβ'.split('_'),\n weekdaysMin: 'Κυ_Δε_ΤÏ_Τε_Πε_Πα_Σα'.split('_'),\n meridiem: function meridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'μμ' : 'ΜΜ';\n } else {\n return isLower ? 'πμ' : 'Î Îœ';\n }\n },\n isPM: function isPM(input) {\n return (input + '').toLowerCase()[0] === 'μ';\n },\n meridiemParse: /[Î Îœ]\\.?Îœ?\\.?/i,\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A'\n },\n calendarEl: {\n sameDay: '[ΣήμεÏα {}] LT',\n nextDay: '[ΑÏÏιο {}] LT',\n nextWeek: 'dddd [{}] LT',\n lastDay: '[Χθες {}] LT',\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 6:\n return '[το Ï€ÏοηγοÏμενο] dddd [{}] LT';\n\n default:\n return '[την Ï€ÏοηγοÏμενη] dddd [{}] LT';\n }\n },\n sameElse: 'L'\n },\n calendar: function calendar(key, mom) {\n var output = this._calendarEl[key],\n hours = mom && mom.hours();\n\n if (isFunction(output)) {\n output = output.apply(mom);\n }\n\n return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');\n },\n relativeTime: {\n future: 'σε %s',\n past: '%s Ï€Ïιν',\n s: 'λίγα δευτεÏόλεπτα',\n ss: '%d δευτεÏόλεπτα',\n m: 'Îνα λεπτό',\n mm: '%d λεπτά',\n h: 'μία ÏŽÏα',\n hh: '%d ÏŽÏες',\n d: 'μία μÎÏα',\n dd: '%d μÎÏες',\n M: 'Îνας μήνας',\n MM: '%d μήνες',\n y: 'Îνας χÏόνος',\n yy: '%d χÏόνια'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}η/,\n ordinal: '%dη',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4st is the first week of the year.\n\n }\n });\n return el;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var enSG = moment.defineLocale('en-SG', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return enSG;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var enAu = moment.defineLocale('en-au', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A'\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return enAu;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var enCa = moment.defineLocale('en-ca', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'YYYY-MM-DD',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY h:mm A',\n LLLL: 'dddd, MMMM D, YYYY h:mm A'\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n }\n });\n return enCa;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var enGb = moment.defineLocale('en-gb', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return enGb;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var enIe = moment.defineLocale('en-ie', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return enIe;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var enIl = moment.defineLocale('en-il', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n }\n });\n return enIl;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var enNz = moment.defineLocale('en-nz', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A'\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return enNz;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var eo = moment.defineLocale('eo', {\n months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aÅgusto_septembro_oktobro_novembro_decembro'.split('_'),\n monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aÅg_sep_okt_nov_dec'.split('_'),\n weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaÅdo_vendredo_sabato'.split('_'),\n weekdaysShort: 'dim_lun_mard_merk_ĵaÅ_ven_sab'.split('_'),\n weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'D[-a de] MMMM, YYYY',\n LLL: 'D[-a de] MMMM, YYYY HH:mm',\n LLLL: 'dddd, [la] D[-a de] MMMM, YYYY HH:mm'\n },\n meridiemParse: /[ap]\\.t\\.m/i,\n isPM: function isPM(input) {\n return input.charAt(0).toLowerCase() === 'p';\n },\n meridiem: function meridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'p.t.m.' : 'P.T.M.';\n } else {\n return isLower ? 'a.t.m.' : 'A.T.M.';\n }\n },\n calendar: {\n sameDay: '[HodiaÅ je] LT',\n nextDay: '[MorgaÅ je] LT',\n nextWeek: 'dddd [je] LT',\n lastDay: '[HieraÅ je] LT',\n lastWeek: '[pasinta] dddd [je] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'post %s',\n past: 'antaÅ %s',\n s: 'sekundoj',\n ss: '%d sekundoj',\n m: 'minuto',\n mm: '%d minutoj',\n h: 'horo',\n hh: '%d horoj',\n d: 'tago',\n //ne 'diurno', ĉar estas uzita por proksimumo\n dd: '%d tagoj',\n M: 'monato',\n MM: '%d monatoj',\n y: 'jaro',\n yy: '%d jaroj'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}a/,\n ordinal: '%da',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return eo;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),\n _monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');\n\n var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];\n var monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n var es = moment.defineLocale('es', {\n months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),\n monthsShort: function monthsShort(m, format) {\n if (!m) {\n return monthsShortDot;\n } else if (/-MMM-/.test(format)) {\n return _monthsShort[m.month()];\n } else {\n return monthsShortDot[m.month()];\n }\n },\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n monthsShortStrictRegex: /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY H:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'\n },\n calendar: {\n sameDay: function sameDay() {\n return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextDay: function nextDay() {\n return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextWeek: function nextWeek() {\n return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastDay: function lastDay() {\n return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastWeek: function lastWeek() {\n return '[el] dddd [pasado a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'en %s',\n past: 'hace %s',\n s: 'unos segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'una hora',\n hh: '%d horas',\n d: 'un dÃa',\n dd: '%d dÃas',\n M: 'un mes',\n MM: '%d meses',\n y: 'un año',\n yy: '%d años'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return es;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),\n _monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');\n\n var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];\n var monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n var esDo = moment.defineLocale('es-do', {\n months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),\n monthsShort: function monthsShort(m, format) {\n if (!m) {\n return monthsShortDot;\n } else if (/-MMM-/.test(format)) {\n return _monthsShort[m.month()];\n } else {\n return monthsShortDot[m.month()];\n }\n },\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n monthsShortStrictRegex: /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY h:mm A',\n LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A'\n },\n calendar: {\n sameDay: function sameDay() {\n return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextDay: function nextDay() {\n return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextWeek: function nextWeek() {\n return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastDay: function lastDay() {\n return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastWeek: function lastWeek() {\n return '[el] dddd [pasado a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'en %s',\n past: 'hace %s',\n s: 'unos segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'una hora',\n hh: '%d horas',\n d: 'un dÃa',\n dd: '%d dÃas',\n M: 'un mes',\n MM: '%d meses',\n y: 'un año',\n yy: '%d años'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return esDo;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),\n _monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');\n\n var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];\n var monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n var esUs = moment.defineLocale('es-us', {\n months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),\n monthsShort: function monthsShort(m, format) {\n if (!m) {\n return monthsShortDot;\n } else if (/-MMM-/.test(format)) {\n return _monthsShort[m.month()];\n } else {\n return monthsShortDot[m.month()];\n }\n },\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n monthsShortStrictRegex: /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'MM/DD/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY h:mm A',\n LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A'\n },\n calendar: {\n sameDay: function sameDay() {\n return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextDay: function nextDay() {\n return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextWeek: function nextWeek() {\n return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastDay: function lastDay() {\n return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastWeek: function lastWeek() {\n return '[el] dddd [pasado a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'en %s',\n past: 'hace %s',\n s: 'unos segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'una hora',\n hh: '%d horas',\n d: 'un dÃa',\n dd: '%d dÃas',\n M: 'un mes',\n MM: '%d meses',\n y: 'un año',\n yy: '%d años'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n }\n });\n return esUs;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n 's': ['mõne sekundi', 'mõni sekund', 'paar sekundit'],\n 'ss': [number + 'sekundi', number + 'sekundit'],\n 'm': ['ühe minuti', 'üks minut'],\n 'mm': [number + ' minuti', number + ' minutit'],\n 'h': ['ühe tunni', 'tund aega', 'üks tund'],\n 'hh': [number + ' tunni', number + ' tundi'],\n 'd': ['ühe päeva', 'üks päev'],\n 'M': ['kuu aja', 'kuu aega', 'üks kuu'],\n 'MM': [number + ' kuu', number + ' kuud'],\n 'y': ['ühe aasta', 'aasta', 'üks aasta'],\n 'yy': [number + ' aasta', number + ' aastat']\n };\n\n if (withoutSuffix) {\n return format[key][2] ? format[key][2] : format[key][1];\n }\n\n return isFuture ? format[key][0] : format[key][1];\n }\n\n var et = moment.defineLocale('et', {\n months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),\n monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),\n weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'),\n weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),\n weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm'\n },\n calendar: {\n sameDay: '[Täna,] LT',\n nextDay: '[Homme,] LT',\n nextWeek: '[Järgmine] dddd LT',\n lastDay: '[Eile,] LT',\n lastWeek: '[Eelmine] dddd LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s pärast',\n past: '%s tagasi',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: '%d päeva',\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return et;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var eu = moment.defineLocale('eu', {\n months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'),\n monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'),\n monthsParseExact: true,\n weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'),\n weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),\n weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY[ko] MMMM[ren] D[a]',\n LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',\n LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',\n l: 'YYYY-M-D',\n ll: 'YYYY[ko] MMM D[a]',\n lll: 'YYYY[ko] MMM D[a] HH:mm',\n llll: 'ddd, YYYY[ko] MMM D[a] HH:mm'\n },\n calendar: {\n sameDay: '[gaur] LT[etan]',\n nextDay: '[bihar] LT[etan]',\n nextWeek: 'dddd LT[etan]',\n lastDay: '[atzo] LT[etan]',\n lastWeek: '[aurreko] dddd LT[etan]',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s barru',\n past: 'duela %s',\n s: 'segundo batzuk',\n ss: '%d segundo',\n m: 'minutu bat',\n mm: '%d minutu',\n h: 'ordu bat',\n hh: '%d ordu',\n d: 'egun bat',\n dd: '%d egun',\n M: 'hilabete bat',\n MM: '%d hilabete',\n y: 'urte bat',\n yy: '%d urte'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return eu;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': 'Û±',\n '2': 'Û²',\n '3': 'Û³',\n '4': 'Û´',\n '5': 'Ûµ',\n '6': 'Û¶',\n '7': 'Û·',\n '8': 'Û¸',\n '9': 'Û¹',\n '0': 'Û°'\n },\n numberMap = {\n 'Û±': '1',\n 'Û²': '2',\n 'Û³': '3',\n 'Û´': '4',\n 'Ûµ': '5',\n 'Û¶': '6',\n 'Û·': '7',\n 'Û¸': '8',\n 'Û¹': '9',\n 'Û°': '0'\n };\n var fa = moment.defineLocale('fa', {\n months: 'ژانویه_Ùوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),\n monthsShort: 'ژانویه_Ùوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),\n weekdays: \"\\u06CC\\u06A9\\u200C\\u0634\\u0646\\u0628\\u0647_\\u062F\\u0648\\u0634\\u0646\\u0628\\u0647_\\u0633\\u0647\\u200C\\u0634\\u0646\\u0628\\u0647_\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647_\\u067E\\u0646\\u062C\\u200C\\u0634\\u0646\\u0628\\u0647_\\u062C\\u0645\\u0639\\u0647_\\u0634\\u0646\\u0628\\u0647\".split('_'),\n weekdaysShort: \"\\u06CC\\u06A9\\u200C\\u0634\\u0646\\u0628\\u0647_\\u062F\\u0648\\u0634\\u0646\\u0628\\u0647_\\u0633\\u0647\\u200C\\u0634\\u0646\\u0628\\u0647_\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647_\\u067E\\u0646\\u062C\\u200C\\u0634\\u0646\\u0628\\u0647_\\u062C\\u0645\\u0639\\u0647_\\u0634\\u0646\\u0628\\u0647\".split('_'),\n weekdaysMin: 'ÛŒ_د_س_Ú†_Ù¾_ج_Ø´'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n meridiemParse: /قبل از ظهر|بعد از ظهر/,\n isPM: function isPM(input) {\n return /بعد از ظهر/.test(input);\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'قبل از ظهر';\n } else {\n return 'بعد از ظهر';\n }\n },\n calendar: {\n sameDay: '[امروز ساعت] LT',\n nextDay: '[Ùردا ساعت] LT',\n nextWeek: 'dddd [ساعت] LT',\n lastDay: '[دیروز ساعت] LT',\n lastWeek: 'dddd [پیش] [ساعت] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'در %s',\n past: '%s پیش',\n s: 'چند ثانیه',\n ss: 'ثانیه d%',\n m: 'یک دقیقه',\n mm: '%d دقیقه',\n h: 'یک ساعت',\n hh: '%d ساعت',\n d: 'یک روز',\n dd: '%d روز',\n M: 'یک ماه',\n MM: '%d ماه',\n y: 'یک سال',\n yy: '%d سال'\n },\n preparse: function preparse(string) {\n return string.replace(/[Û°-Û¹]/g, function (match) {\n return numberMap[match];\n }).replace(/ØŒ/g, ',');\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n }).replace(/,/g, 'ØŒ');\n },\n dayOfMonthOrdinalParse: /\\d{1,2}Ù…/,\n ordinal: '%dÙ…',\n week: {\n dow: 6,\n // Saturday is the first day of the week.\n doy: 12 // The week that contains Jan 12th is the first week of the year.\n\n }\n });\n return fa;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '),\n numbersFuture = ['nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden', numbersPast[7], numbersPast[8], numbersPast[9]];\n\n function translate(number, withoutSuffix, key, isFuture) {\n var result = '';\n\n switch (key) {\n case 's':\n return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';\n\n case 'ss':\n return isFuture ? 'sekunnin' : 'sekuntia';\n\n case 'm':\n return isFuture ? 'minuutin' : 'minuutti';\n\n case 'mm':\n result = isFuture ? 'minuutin' : 'minuuttia';\n break;\n\n case 'h':\n return isFuture ? 'tunnin' : 'tunti';\n\n case 'hh':\n result = isFuture ? 'tunnin' : 'tuntia';\n break;\n\n case 'd':\n return isFuture ? 'päivän' : 'päivä';\n\n case 'dd':\n result = isFuture ? 'päivän' : 'päivää';\n break;\n\n case 'M':\n return isFuture ? 'kuukauden' : 'kuukausi';\n\n case 'MM':\n result = isFuture ? 'kuukauden' : 'kuukautta';\n break;\n\n case 'y':\n return isFuture ? 'vuoden' : 'vuosi';\n\n case 'yy':\n result = isFuture ? 'vuoden' : 'vuotta';\n break;\n }\n\n result = verbalNumber(number, isFuture) + ' ' + result;\n return result;\n }\n\n function verbalNumber(number, isFuture) {\n return number < 10 ? isFuture ? numbersFuture[number] : numbersPast[number] : number;\n }\n\n var fi = moment.defineLocale('fi', {\n months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'),\n monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'),\n weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'),\n weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),\n weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD.MM.YYYY',\n LL: 'Do MMMM[ta] YYYY',\n LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',\n LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',\n l: 'D.M.YYYY',\n ll: 'Do MMM YYYY',\n lll: 'Do MMM YYYY, [klo] HH.mm',\n llll: 'ddd, Do MMM YYYY, [klo] HH.mm'\n },\n calendar: {\n sameDay: '[tänään] [klo] LT',\n nextDay: '[huomenna] [klo] LT',\n nextWeek: 'dddd [klo] LT',\n lastDay: '[eilen] [klo] LT',\n lastWeek: '[viime] dddd[na] [klo] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s päästä',\n past: '%s sitten',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return fi;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var fo = moment.defineLocale('fo', {\n months: 'januar_februar_mars_aprÃl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),\n monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),\n weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_frÃggjadagur_leygardagur'.split('_'),\n weekdaysShort: 'sun_mán_týs_mik_hós_frÃ_ley'.split('_'),\n weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D. MMMM, YYYY HH:mm'\n },\n calendar: {\n sameDay: '[à dag kl.] LT',\n nextDay: '[à morgin kl.] LT',\n nextWeek: 'dddd [kl.] LT',\n lastDay: '[à gjár kl.] LT',\n lastWeek: '[sÃðstu] dddd [kl] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'um %s',\n past: '%s sÃðani',\n s: 'fá sekund',\n ss: '%d sekundir',\n m: 'ein minuttur',\n mm: '%d minuttir',\n h: 'ein tÃmi',\n hh: '%d tÃmar',\n d: 'ein dagur',\n dd: '%d dagar',\n M: 'ein mánaður',\n MM: '%d mánaðir',\n y: 'eitt ár',\n yy: '%d ár'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return fo;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var fr = moment.defineLocale('fr', {\n months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),\n monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),\n monthsParseExact: true,\n weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Aujourd’hui à ] LT',\n nextDay: '[Demain à ] LT',\n nextWeek: 'dddd [à ] LT',\n lastDay: '[Hier à ] LT',\n lastWeek: 'dddd [dernier à ] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'dans %s',\n past: 'il y a %s',\n s: 'quelques secondes',\n ss: '%d secondes',\n m: 'une minute',\n mm: '%d minutes',\n h: 'une heure',\n hh: '%d heures',\n d: 'un jour',\n dd: '%d jours',\n M: 'un mois',\n MM: '%d mois',\n y: 'un an',\n yy: '%d ans'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er|)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n // TODO: Return 'e' when day of month > 1. Move this case inside\n // block for masculine words below.\n // See https://github.com/moment/moment/issues/3375\n case 'D':\n return number + (number === 1 ? 'er' : '');\n // Words with masculine grammatical gender: mois, trimestre, jour\n\n default:\n case 'M':\n case 'Q':\n case 'DDD':\n case 'd':\n return number + (number === 1 ? 'er' : 'e');\n // Words with feminine grammatical gender: semaine\n\n case 'w':\n case 'W':\n return number + (number === 1 ? 're' : 'e');\n }\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return fr;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var frCa = moment.defineLocale('fr-ca', {\n months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),\n monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),\n monthsParseExact: true,\n weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Aujourd’hui à ] LT',\n nextDay: '[Demain à ] LT',\n nextWeek: 'dddd [à ] LT',\n lastDay: '[Hier à ] LT',\n lastWeek: 'dddd [dernier à ] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'dans %s',\n past: 'il y a %s',\n s: 'quelques secondes',\n ss: '%d secondes',\n m: 'une minute',\n mm: '%d minutes',\n h: 'une heure',\n hh: '%d heures',\n d: 'un jour',\n dd: '%d jours',\n M: 'un mois',\n MM: '%d mois',\n y: 'un an',\n yy: '%d ans'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er|e)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n // Words with masculine grammatical gender: mois, trimestre, jour\n default:\n case 'M':\n case 'Q':\n case 'D':\n case 'DDD':\n case 'd':\n return number + (number === 1 ? 'er' : 'e');\n // Words with feminine grammatical gender: semaine\n\n case 'w':\n case 'W':\n return number + (number === 1 ? 're' : 'e');\n }\n }\n });\n return frCa;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var frCh = moment.defineLocale('fr-ch', {\n months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),\n monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),\n monthsParseExact: true,\n weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Aujourd’hui à ] LT',\n nextDay: '[Demain à ] LT',\n nextWeek: 'dddd [à ] LT',\n lastDay: '[Hier à ] LT',\n lastWeek: 'dddd [dernier à ] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'dans %s',\n past: 'il y a %s',\n s: 'quelques secondes',\n ss: '%d secondes',\n m: 'une minute',\n mm: '%d minutes',\n h: 'une heure',\n hh: '%d heures',\n d: 'un jour',\n dd: '%d jours',\n M: 'un mois',\n MM: '%d mois',\n y: 'un an',\n yy: '%d ans'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er|e)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n // Words with masculine grammatical gender: mois, trimestre, jour\n default:\n case 'M':\n case 'Q':\n case 'D':\n case 'DDD':\n case 'd':\n return number + (number === 1 ? 'er' : 'e');\n // Words with feminine grammatical gender: semaine\n\n case 'w':\n case 'W':\n return number + (number === 1 ? 're' : 'e');\n }\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return frCh;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),\n monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');\n var fy = moment.defineLocale('fy', {\n months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'),\n monthsShort: function monthsShort(m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n monthsParseExact: true,\n weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'),\n weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),\n weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD-MM-YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[hjoed om] LT',\n nextDay: '[moarn om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[juster om] LT',\n lastWeek: '[ôfrûne] dddd [om] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'oer %s',\n past: '%s lyn',\n s: 'in pear sekonden',\n ss: '%d sekonden',\n m: 'ien minút',\n mm: '%d minuten',\n h: 'ien oere',\n hh: '%d oeren',\n d: 'ien dei',\n dd: '%d dagen',\n M: 'ien moanne',\n MM: '%d moannen',\n y: 'ien jier',\n yy: '%d jierren'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function ordinal(number) {\n return number + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de');\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return fy;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var months = ['Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Méitheamh', 'Iúil', 'Lúnasa', 'Meán Fómhair', 'Deaireadh Fómhair', 'Samhain', 'Nollaig'];\n var monthsShort = ['Eaná', 'Feab', 'Márt', 'Aibr', 'Beal', 'Méit', 'Iúil', 'Lúna', 'Meán', 'Deai', 'Samh', 'Noll'];\n var weekdays = ['Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Satharn'];\n var weekdaysShort = ['Dom', 'Lua', 'Mái', 'Céa', 'Déa', 'hAo', 'Sat'];\n var weekdaysMin = ['Do', 'Lu', 'Má', 'Ce', 'Dé', 'hA', 'Sa'];\n var ga = moment.defineLocale('ga', {\n months: months,\n monthsShort: monthsShort,\n monthsParseExact: true,\n weekdays: weekdays,\n weekdaysShort: weekdaysShort,\n weekdaysMin: weekdaysMin,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Inniu ag] LT',\n nextDay: '[Amárach ag] LT',\n nextWeek: 'dddd [ag] LT',\n lastDay: '[Inné aig] LT',\n lastWeek: 'dddd [seo caite] [ag] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'i %s',\n past: '%s ó shin',\n s: 'cúpla soicind',\n ss: '%d soicind',\n m: 'nóiméad',\n mm: '%d nóiméad',\n h: 'uair an chloig',\n hh: '%d uair an chloig',\n d: 'lá',\n dd: '%d lá',\n M: 'mÃ',\n MM: '%d mÃ',\n y: 'bliain',\n yy: '%d bliain'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(d|na|mh)/,\n ordinal: function ordinal(number) {\n var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return ga;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var months = ['Am Faoilleach', 'An Gearran', 'Am Mà rt', 'An Giblean', 'An Cèitean', 'An t-Ã’gmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dà mhair', 'An t-Samhain', 'An Dùbhlachd'];\n var monthsShort = ['Faoi', 'Gear', 'Mà rt', 'Gibl', 'Cèit', 'Ã’gmh', 'Iuch', 'Lùn', 'Sult', 'Dà mh', 'Samh', 'Dùbh'];\n var weekdays = ['Didòmhnaich', 'Diluain', 'Dimà irt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'];\n var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'];\n var weekdaysMin = ['Dò', 'Lu', 'Mà ', 'Ci', 'Ar', 'Ha', 'Sa'];\n var gd = moment.defineLocale('gd', {\n months: months,\n monthsShort: monthsShort,\n monthsParseExact: true,\n weekdays: weekdays,\n weekdaysShort: weekdaysShort,\n weekdaysMin: weekdaysMin,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[An-diugh aig] LT',\n nextDay: '[A-mà ireach aig] LT',\n nextWeek: 'dddd [aig] LT',\n lastDay: '[An-dè aig] LT',\n lastWeek: 'dddd [seo chaidh] [aig] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'ann an %s',\n past: 'bho chionn %s',\n s: 'beagan diogan',\n ss: '%d diogan',\n m: 'mionaid',\n mm: '%d mionaidean',\n h: 'uair',\n hh: '%d uairean',\n d: 'latha',\n dd: '%d latha',\n M: 'mìos',\n MM: '%d mìosan',\n y: 'bliadhna',\n yy: '%d bliadhna'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(d|na|mh)/,\n ordinal: function ordinal(number) {\n var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return gd;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var gl = moment.defineLocale('gl', {\n months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'),\n monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'),\n monthsParseExact: true,\n weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY H:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'\n },\n calendar: {\n sameDay: function sameDay() {\n return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';\n },\n nextDay: function nextDay() {\n return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';\n },\n nextWeek: function nextWeek() {\n return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';\n },\n lastDay: function lastDay() {\n return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';\n },\n lastWeek: function lastWeek() {\n return '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: function future(str) {\n if (str.indexOf('un') === 0) {\n return 'n' + str;\n }\n\n return 'en ' + str;\n },\n past: 'hai %s',\n s: 'uns segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'unha hora',\n hh: '%d horas',\n d: 'un dÃa',\n dd: '%d dÃas',\n M: 'un mes',\n MM: '%d meses',\n y: 'un ano',\n yy: '%d anos'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return gl;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n 's': ['thodde secondanim', 'thodde second'],\n 'ss': [number + ' secondanim', number + ' second'],\n 'm': ['eka mintan', 'ek minute'],\n 'mm': [number + ' mintanim', number + ' mintam'],\n 'h': ['eka voran', 'ek vor'],\n 'hh': [number + ' voranim', number + ' voram'],\n 'd': ['eka disan', 'ek dis'],\n 'dd': [number + ' disanim', number + ' dis'],\n 'M': ['eka mhoinean', 'ek mhoino'],\n 'MM': [number + ' mhoineanim', number + ' mhoine'],\n 'y': ['eka vorsan', 'ek voros'],\n 'yy': [number + ' vorsanim', number + ' vorsam']\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var gomLatn = moment.defineLocale('gom-latn', {\n months: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'),\n monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),\n monthsParseExact: true,\n weekdays: 'Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son\\'var'.split('_'),\n weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),\n weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'A h:mm [vazta]',\n LTS: 'A h:mm:ss [vazta]',\n L: 'DD-MM-YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY A h:mm [vazta]',\n LLLL: 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]',\n llll: 'ddd, D MMM YYYY, A h:mm [vazta]'\n },\n calendar: {\n sameDay: '[Aiz] LT',\n nextDay: '[Faleam] LT',\n nextWeek: '[Ieta to] dddd[,] LT',\n lastDay: '[Kal] LT',\n lastWeek: '[Fatlo] dddd[,] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s',\n past: '%s adim',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n // the ordinal 'er' only applies to day of the month\n case 'D':\n return number + 'er';\n\n default:\n case 'M':\n case 'Q':\n case 'DDD':\n case 'd':\n case 'w':\n case 'W':\n return number;\n }\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n },\n meridiemParse: /rati|sokalli|donparam|sanje/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'rati') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'sokalli') {\n return hour;\n } else if (meridiem === 'donparam') {\n return hour > 12 ? hour : hour + 12;\n } else if (meridiem === 'sanje') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'rati';\n } else if (hour < 12) {\n return 'sokalli';\n } else if (hour < 16) {\n return 'donparam';\n } else if (hour < 20) {\n return 'sanje';\n } else {\n return 'rati';\n }\n }\n });\n return gomLatn;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': '૧',\n '2': '૨',\n '3': 'à«©',\n '4': '૪',\n '5': 'à««',\n '6': '૬',\n '7': 'à«',\n '8': 'à«®',\n '9': '૯',\n '0': '૦'\n },\n numberMap = {\n '૧': '1',\n '૨': '2',\n 'à«©': '3',\n '૪': '4',\n 'à««': '5',\n '૬': '6',\n 'à«': '7',\n 'à«®': '8',\n '૯': '9',\n '૦': '0'\n };\n var gu = moment.defineLocale('gu', {\n months: 'જાનà«àª¯à«àª†àª°à«€_ફેબà«àª°à«àª†àª°à«€_મારà«àªš_àªàªªà«àª°àª¿àª²_મે_જૂન_જà«àª²àª¾àªˆ_ઑગસà«àªŸ_સપà«àªŸà«‡àª®à«àª¬àª°_ઑકà«àªŸà«àª¬àª°_નવેમà«àª¬àª°_ડિસેમà«àª¬àª°'.split('_'),\n monthsShort: 'જાનà«àª¯à«._ફેબà«àª°à«._મારà«àªš_àªàªªà«àª°àª¿._મે_જૂન_જà«àª²àª¾._ઑગ._સપà«àªŸà«‡._ઑકà«àªŸà«._નવે._ડિસે.'.split('_'),\n monthsParseExact: true,\n weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બà«àª§à«àªµàª¾àª°_ગà«àª°à«àªµàª¾àª°_શà«àª•à«àª°àªµàª¾àª°_શનિવાર'.split('_'),\n weekdaysShort: 'રવિ_સોમ_મંગળ_બà«àª§à«_ગà«àª°à«_શà«àª•à«àª°_શનિ'.split('_'),\n weekdaysMin: 'ર_સો_મં_બà«_ગà«_શà«_શ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm વાગà«àª¯à«‡',\n LTS: 'A h:mm:ss વાગà«àª¯à«‡',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm વાગà«àª¯à«‡',\n LLLL: 'dddd, D MMMM YYYY, A h:mm વાગà«àª¯à«‡'\n },\n calendar: {\n sameDay: '[આજ] LT',\n nextDay: '[કાલે] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[ગઇકાલે] LT',\n lastWeek: '[પાછલા] dddd, LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s મા',\n past: '%s પેહલા',\n s: 'અમà«àª• પળો',\n ss: '%d સેકંડ',\n m: 'àªàª• મિનિટ',\n mm: '%d મિનિટ',\n h: 'àªàª• કલાક',\n hh: '%d કલાક',\n d: 'àªàª• દિવસ',\n dd: '%d દિવસ',\n M: 'àªàª• મહિનો',\n MM: '%d મહિનો',\n y: 'àªàª• વરà«àª·',\n yy: '%d વરà«àª·'\n },\n preparse: function preparse(string) {\n return string.replace(/[૧૨૩૪૫૬à«à«®à«¯à«¦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Gujarati notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.\n meridiemParse: /રાત|બપોર|સવાર|સાંજ/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'રાત') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'સવાર') {\n return hour;\n } else if (meridiem === 'બપોર') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'સાંજ') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'રાત';\n } else if (hour < 10) {\n return 'સવાર';\n } else if (hour < 17) {\n return 'બપોર';\n } else if (hour < 20) {\n return 'સાંજ';\n } else {\n return 'રાત';\n }\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n }\n });\n return gu;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var he = moment.defineLocale('he', {\n months: '×™× ×•×ר_פברו×ר_מרץ_×פריל_מ××™_×™×•× ×™_יולי_×וגוסט_ספטמבר_×וקטובר_× ×•×‘×ž×‘×¨_דצמבר'.split('_'),\n monthsShort: '×™× ×•×³_פבר׳_מרץ_×פר׳_מ××™_×™×•× ×™_יולי_×וג׳_ספט׳_×וק׳_× ×•×‘×³_דצמ׳'.split('_'),\n weekdays: 'ר×שון_×©× ×™_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),\n weekdaysShort: '×׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),\n weekdaysMin: '×_ב_×’_ד_×”_ו_ש'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [ב]MMMM YYYY',\n LLL: 'D [ב]MMMM YYYY HH:mm',\n LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',\n l: 'D/M/YYYY',\n ll: 'D MMM YYYY',\n lll: 'D MMM YYYY HH:mm',\n llll: 'ddd, D MMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[×”×™×•× ×‘Ö¾]LT',\n nextDay: '[מחר ב־]LT',\n nextWeek: 'dddd [בשעה] LT',\n lastDay: '[×תמול ב־]LT',\n lastWeek: '[ביו×] dddd [×”×חרון בשעה] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'בעוד %s',\n past: '×œ×¤× ×™ %s',\n s: 'מספר ×©× ×™×•×ª',\n ss: '%d ×©× ×™×•×ª',\n m: 'דקה',\n mm: '%d דקות',\n h: 'שעה',\n hh: function hh(number) {\n if (number === 2) {\n return 'שעתיי×';\n }\n\n return number + ' שעות';\n },\n d: 'יו×',\n dd: function dd(number) {\n if (number === 2) {\n return 'יומיי×';\n }\n\n return number + ' ימי×';\n },\n M: 'חודש',\n MM: function MM(number) {\n if (number === 2) {\n return 'חודשיי×';\n }\n\n return number + ' חודשי×';\n },\n y: '×©× ×”',\n yy: function yy(number) {\n if (number === 2) {\n return '×©× ×ª×™×™×';\n } else if (number % 10 === 0 && number !== 10) {\n return number + ' ×©× ×”';\n }\n\n return number + ' ×©× ×™×';\n }\n },\n meridiemParse: /××—×”\"צ|×œ×¤× ×”\"צ|×חרי הצהריי×|×œ×¤× ×™ הצהריי×|×œ×¤× ×•×ª בוקר|בבוקר|בערב/i,\n isPM: function isPM(input) {\n return /^(××—×”\"צ|×חרי הצהריי×|בערב)$/.test(input);\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 5) {\n return '×œ×¤× ×•×ª בוקר';\n } else if (hour < 10) {\n return 'בבוקר';\n } else if (hour < 12) {\n return isLower ? '×œ×¤× ×”\"צ' : '×œ×¤× ×™ הצהריי×';\n } else if (hour < 18) {\n return isLower ? '××—×”\"צ' : '×חרי הצהריי×';\n } else {\n return 'בערב';\n }\n }\n });\n return he;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': 'à¥',\n '8': '८',\n '9': '९',\n '0': '०'\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n 'à¥': '7',\n '८': '8',\n '९': '9',\n '०': '0'\n };\n var hi = moment.defineLocale('hi', {\n months: 'जनवरी_फ़रवरी_मारà¥à¤š_अपà¥à¤°à¥ˆà¤²_मई_जून_जà¥à¤²à¤¾à¤ˆ_अगसà¥à¤¤_सितमà¥à¤¬à¤°_अकà¥à¤Ÿà¥‚बर_नवमà¥à¤¬à¤°_दिसमà¥à¤¬à¤°'.split('_'),\n monthsShort: 'जन._फ़र._मारà¥à¤š_अपà¥à¤°à¥ˆ._मई_जून_जà¥à¤²._अग._सित._अकà¥à¤Ÿà¥‚._नव._दिस.'.split('_'),\n monthsParseExact: true,\n weekdays: 'रविवार_सोमवार_मंगलवार_बà¥à¤§à¤µà¤¾à¤°_गà¥à¤°à¥‚वार_शà¥à¤•à¥à¤°à¤µà¤¾à¤°_शनिवार'.split('_'),\n weekdaysShort: 'रवि_सोम_मंगल_बà¥à¤§_गà¥à¤°à¥‚_शà¥à¤•à¥à¤°_शनि'.split('_'),\n weekdaysMin: 'र_सो_मं_बà¥_गà¥_शà¥_श'.split('_'),\n longDateFormat: {\n LT: 'A h:mm बजे',\n LTS: 'A h:mm:ss बजे',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm बजे',\n LLLL: 'dddd, D MMMM YYYY, A h:mm बजे'\n },\n calendar: {\n sameDay: '[आज] LT',\n nextDay: '[कल] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[कल] LT',\n lastWeek: '[पिछले] dddd, LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s में',\n past: '%s पहले',\n s: 'कà¥à¤› ही कà¥à¤·à¤£',\n ss: '%d सेकंड',\n m: 'à¤à¤• मिनट',\n mm: '%d मिनट',\n h: 'à¤à¤• घंटा',\n hh: '%d घंटे',\n d: 'à¤à¤• दिन',\n dd: '%d दिन',\n M: 'à¤à¤• महीने',\n MM: '%d महीने',\n y: 'à¤à¤• वरà¥à¤·',\n yy: '%d वरà¥à¤·'\n },\n preparse: function preparse(string) {\n return string.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Hindi notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.\n meridiemParse: /रात|सà¥à¤¬à¤¹|दोपहर|शाम/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'रात') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'सà¥à¤¬à¤¹') {\n return hour;\n } else if (meridiem === 'दोपहर') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'शाम') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'रात';\n } else if (hour < 10) {\n return 'सà¥à¤¬à¤¹';\n } else if (hour < 17) {\n return 'दोपहर';\n } else if (hour < 20) {\n return 'शाम';\n } else {\n return 'रात';\n }\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n }\n });\n return hi;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n\n switch (key) {\n case 'ss':\n if (number === 1) {\n result += 'sekunda';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sekunde';\n } else {\n result += 'sekundi';\n }\n\n return result;\n\n case 'm':\n return withoutSuffix ? 'jedna minuta' : 'jedne minute';\n\n case 'mm':\n if (number === 1) {\n result += 'minuta';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'minute';\n } else {\n result += 'minuta';\n }\n\n return result;\n\n case 'h':\n return withoutSuffix ? 'jedan sat' : 'jednog sata';\n\n case 'hh':\n if (number === 1) {\n result += 'sat';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sata';\n } else {\n result += 'sati';\n }\n\n return result;\n\n case 'dd':\n if (number === 1) {\n result += 'dan';\n } else {\n result += 'dana';\n }\n\n return result;\n\n case 'MM':\n if (number === 1) {\n result += 'mjesec';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'mjeseca';\n } else {\n result += 'mjeseci';\n }\n\n return result;\n\n case 'yy':\n if (number === 1) {\n result += 'godina';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'godine';\n } else {\n result += 'godina';\n }\n\n return result;\n }\n }\n\n var hr = moment.defineLocale('hr', {\n months: {\n format: 'sijeÄnja_veljaÄe_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'),\n standalone: 'sijeÄanj_veljaÄa_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_')\n },\n monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'),\n monthsParseExact: true,\n weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota'.split('_'),\n weekdaysShort: 'ned._pon._uto._sri._Äet._pet._sub.'.split('_'),\n weekdaysMin: 'ne_po_ut_sr_Äe_pe_su'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm'\n },\n calendar: {\n sameDay: '[danas u] LT',\n nextDay: '[sutra u] LT',\n nextWeek: function nextWeek() {\n switch (this.day()) {\n case 0:\n return '[u] [nedjelju] [u] LT';\n\n case 3:\n return '[u] [srijedu] [u] LT';\n\n case 6:\n return '[u] [subotu] [u] LT';\n\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay: '[juÄer u] LT',\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n case 3:\n return '[proÅ¡lu] dddd [u] LT';\n\n case 6:\n return '[proÅ¡le] [subote] [u] LT';\n\n case 1:\n case 2:\n case 4:\n case 5:\n return '[proÅ¡li] dddd [u] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'za %s',\n past: 'prije %s',\n s: 'par sekundi',\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: 'dan',\n dd: translate,\n M: 'mjesec',\n MM: translate,\n y: 'godinu',\n yy: translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return hr;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var weekEndings = 'vasárnap hétfÅ‘n kedden szerdán csütörtökön pénteken szombaton'.split(' ');\n\n function translate(number, withoutSuffix, key, isFuture) {\n var num = number;\n\n switch (key) {\n case 's':\n return isFuture || withoutSuffix ? 'néhány másodperc' : 'néhány másodperce';\n\n case 'ss':\n return num + (isFuture || withoutSuffix) ? ' másodperc' : ' másodperce';\n\n case 'm':\n return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');\n\n case 'mm':\n return num + (isFuture || withoutSuffix ? ' perc' : ' perce');\n\n case 'h':\n return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');\n\n case 'hh':\n return num + (isFuture || withoutSuffix ? ' óra' : ' órája');\n\n case 'd':\n return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');\n\n case 'dd':\n return num + (isFuture || withoutSuffix ? ' nap' : ' napja');\n\n case 'M':\n return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');\n\n case 'MM':\n return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');\n\n case 'y':\n return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');\n\n case 'yy':\n return num + (isFuture || withoutSuffix ? ' év' : ' éve');\n }\n\n return '';\n }\n\n function week(isFuture) {\n return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]';\n }\n\n var hu = moment.defineLocale('hu', {\n months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'),\n monthsShort: 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'),\n weekdays: 'vasárnap_hétfÅ‘_kedd_szerda_csütörtök_péntek_szombat'.split('_'),\n weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),\n weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'YYYY.MM.DD.',\n LL: 'YYYY. MMMM D.',\n LLL: 'YYYY. MMMM D. H:mm',\n LLLL: 'YYYY. MMMM D., dddd H:mm'\n },\n meridiemParse: /de|du/i,\n isPM: function isPM(input) {\n return input.charAt(1).toLowerCase() === 'u';\n },\n meridiem: function meridiem(hours, minutes, isLower) {\n if (hours < 12) {\n return isLower === true ? 'de' : 'DE';\n } else {\n return isLower === true ? 'du' : 'DU';\n }\n },\n calendar: {\n sameDay: '[ma] LT[-kor]',\n nextDay: '[holnap] LT[-kor]',\n nextWeek: function nextWeek() {\n return week.call(this, true);\n },\n lastDay: '[tegnap] LT[-kor]',\n lastWeek: function lastWeek() {\n return week.call(this, false);\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s múlva',\n past: '%s',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return hu;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var hyAm = moment.defineLocale('hy-am', {\n months: {\n format: 'Õ°Õ¸Ö‚Õ¶Õ¾Õ¡Ö€Õ«_ÖƒÕ¥Õ¿Ö€Õ¾Õ¡Ö€Õ«_Õ´Õ¡Ö€Õ¿Õ«_Õ¡ÕºÖ€Õ«Õ¬Õ«_Õ´Õ¡ÕµÕ«Õ½Õ«_Õ°Õ¸Ö‚Õ¶Õ«Õ½Õ«_Õ°Õ¸Ö‚Õ¬Õ«Õ½Õ«_Ö…Õ£Õ¸Õ½Õ¿Õ¸Õ½Õ«_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥Ö€Õ«_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö€Õ«_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥Ö€Õ«_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö€Õ«'.split('_'),\n standalone: 'Õ°Õ¸Ö‚Õ¶Õ¾Õ¡Ö€_ÖƒÕ¥Õ¿Ö€Õ¾Õ¡Ö€_Õ´Õ¡Ö€Õ¿_Õ¡ÕºÖ€Õ«Õ¬_Õ´Õ¡ÕµÕ«Õ½_Õ°Õ¸Ö‚Õ¶Õ«Õ½_Õ°Õ¸Ö‚Õ¬Õ«Õ½_Ö…Õ£Õ¸Õ½Õ¿Õ¸Õ½_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥Ö€_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö€_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥Ö€_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö€'.split('_')\n },\n monthsShort: 'Õ°Õ¶Õ¾_ÖƒÕ¿Ö€_Õ´Ö€Õ¿_Õ¡ÕºÖ€_Õ´ÕµÕ½_Õ°Õ¶Õ½_Õ°Õ¬Õ½_Ö…Õ£Õ½_Õ½ÕºÕ¿_Õ°Õ¯Õ¿_Õ¶Õ´Õ¢_Õ¤Õ¯Õ¿'.split('_'),\n weekdays: 'Õ¯Õ«Ö€Õ¡Õ¯Õ«_Õ¥Ö€Õ¯Õ¸Ö‚Õ·Õ¡Õ¢Õ©Õ«_Õ¥Ö€Õ¥Ö„Õ·Õ¡Õ¢Õ©Õ«_Õ¹Õ¸Ö€Õ¥Ö„Õ·Õ¡Õ¢Õ©Õ«_Õ°Õ«Õ¶Õ£Õ·Õ¡Õ¢Õ©Õ«_Õ¸Ö‚Ö€Õ¢Õ¡Õ©_Õ·Õ¡Õ¢Õ¡Õ©'.split('_'),\n weekdaysShort: 'Õ¯Ö€Õ¯_Õ¥Ö€Õ¯_Õ¥Ö€Ö„_Õ¹Ö€Ö„_Õ°Õ¶Õ£_Õ¸Ö‚Ö€Õ¢_Õ·Õ¢Õ©'.split('_'),\n weekdaysMin: 'Õ¯Ö€Õ¯_Õ¥Ö€Õ¯_Õ¥Ö€Ö„_Õ¹Ö€Ö„_Õ°Õ¶Õ£_Õ¸Ö‚Ö€Õ¢_Õ·Õ¢Õ©'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY Õ©.',\n LLL: 'D MMMM YYYY Õ©., HH:mm',\n LLLL: 'dddd, D MMMM YYYY Õ©., HH:mm'\n },\n calendar: {\n sameDay: '[Õ¡ÕµÕ½Ö…Ö€] LT',\n nextDay: '[Õ¾Õ¡Õ²Õ¨] LT',\n lastDay: '[Õ¥Ö€Õ¥Õ¯] LT',\n nextWeek: function nextWeek() {\n return 'dddd [Ö…Ö€Õ¨ ÕªÕ¡Õ´Õ¨] LT';\n },\n lastWeek: function lastWeek() {\n return '[Õ¡Õ¶ÖÕ¡Õ®] dddd [Ö…Ö€Õ¨ ÕªÕ¡Õ´Õ¨] LT';\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s Õ°Õ¥Õ¿Õ¸',\n past: '%s Õ¡Õ¼Õ¡Õ»',\n s: 'Õ´Õ« Ö„Õ¡Õ¶Õ« Õ¾Õ¡ÕµÖ€Õ¯ÕµÕ¡Õ¶',\n ss: '%d Õ¾Õ¡ÕµÖ€Õ¯ÕµÕ¡Õ¶',\n m: 'Ö€Õ¸ÕºÕ¥',\n mm: '%d Ö€Õ¸ÕºÕ¥',\n h: 'ÕªÕ¡Õ´',\n hh: '%d ÕªÕ¡Õ´',\n d: 'Ö…Ö€',\n dd: '%d Ö…Ö€',\n M: 'Õ¡Õ´Õ«Õ½',\n MM: '%d Õ¡Õ´Õ«Õ½',\n y: 'Õ¿Õ¡Ö€Õ«',\n yy: '%d Õ¿Õ¡Ö€Õ«'\n },\n meridiemParse: /Õ£Õ«Õ·Õ¥Ö€Õ¾Õ¡|Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡|ÖÕ¥Ö€Õ¥Õ¯Õ¾Õ¡|Õ¥Ö€Õ¥Õ¯Õ¸ÕµÕ¡Õ¶/,\n isPM: function isPM(input) {\n return /^(ÖÕ¥Ö€Õ¥Õ¯Õ¾Õ¡|Õ¥Ö€Õ¥Õ¯Õ¸ÕµÕ¡Õ¶)$/.test(input);\n },\n meridiem: function meridiem(hour) {\n if (hour < 4) {\n return 'Õ£Õ«Õ·Õ¥Ö€Õ¾Õ¡';\n } else if (hour < 12) {\n return 'Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡';\n } else if (hour < 17) {\n return 'ÖÕ¥Ö€Õ¥Õ¯Õ¾Õ¡';\n } else {\n return 'Õ¥Ö€Õ¥Õ¯Õ¸ÕµÕ¡Õ¶';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}|\\d{1,2}-(Õ«Õ¶|Ö€Õ¤)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n case 'DDD':\n case 'w':\n case 'W':\n case 'DDDo':\n if (number === 1) {\n return number + '-Õ«Õ¶';\n }\n\n return number + '-Ö€Õ¤';\n\n default:\n return number;\n }\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return hyAm;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var id = moment.defineLocale('id', {\n months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),\n monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),\n weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),\n weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),\n weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [pukul] HH.mm',\n LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'\n },\n meridiemParse: /pagi|siang|sore|malam/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'pagi') {\n return hour;\n } else if (meridiem === 'siang') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'sore' || meridiem === 'malam') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hours, minutes, isLower) {\n if (hours < 11) {\n return 'pagi';\n } else if (hours < 15) {\n return 'siang';\n } else if (hours < 19) {\n return 'sore';\n } else {\n return 'malam';\n }\n },\n calendar: {\n sameDay: '[Hari ini pukul] LT',\n nextDay: '[Besok pukul] LT',\n nextWeek: 'dddd [pukul] LT',\n lastDay: '[Kemarin pukul] LT',\n lastWeek: 'dddd [lalu pukul] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'dalam %s',\n past: '%s yang lalu',\n s: 'beberapa detik',\n ss: '%d detik',\n m: 'semenit',\n mm: '%d menit',\n h: 'sejam',\n hh: '%d jam',\n d: 'sehari',\n dd: '%d hari',\n M: 'sebulan',\n MM: '%d bulan',\n y: 'setahun',\n yy: '%d tahun'\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return id;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function plural(n) {\n if (n % 100 === 11) {\n return true;\n } else if (n % 10 === 1) {\n return false;\n }\n\n return true;\n }\n\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n\n switch (key) {\n case 's':\n return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';\n\n case 'ss':\n if (plural(number)) {\n return result + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum');\n }\n\n return result + 'sekúnda';\n\n case 'm':\n return withoutSuffix ? 'mÃnúta' : 'mÃnútu';\n\n case 'mm':\n if (plural(number)) {\n return result + (withoutSuffix || isFuture ? 'mÃnútur' : 'mÃnútum');\n } else if (withoutSuffix) {\n return result + 'mÃnúta';\n }\n\n return result + 'mÃnútu';\n\n case 'hh':\n if (plural(number)) {\n return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');\n }\n\n return result + 'klukkustund';\n\n case 'd':\n if (withoutSuffix) {\n return 'dagur';\n }\n\n return isFuture ? 'dag' : 'degi';\n\n case 'dd':\n if (plural(number)) {\n if (withoutSuffix) {\n return result + 'dagar';\n }\n\n return result + (isFuture ? 'daga' : 'dögum');\n } else if (withoutSuffix) {\n return result + 'dagur';\n }\n\n return result + (isFuture ? 'dag' : 'degi');\n\n case 'M':\n if (withoutSuffix) {\n return 'mánuður';\n }\n\n return isFuture ? 'mánuð' : 'mánuði';\n\n case 'MM':\n if (plural(number)) {\n if (withoutSuffix) {\n return result + 'mánuðir';\n }\n\n return result + (isFuture ? 'mánuði' : 'mánuðum');\n } else if (withoutSuffix) {\n return result + 'mánuður';\n }\n\n return result + (isFuture ? 'mánuð' : 'mánuði');\n\n case 'y':\n return withoutSuffix || isFuture ? 'ár' : 'ári';\n\n case 'yy':\n if (plural(number)) {\n return result + (withoutSuffix || isFuture ? 'ár' : 'árum');\n }\n\n return result + (withoutSuffix || isFuture ? 'ár' : 'ári');\n }\n }\n\n var is = moment.defineLocale('is', {\n months: 'janúar_febrúar_mars_aprÃl_maÃ_júnÃ_júlÃ_ágúst_september_október_nóvember_desember'.split('_'),\n monthsShort: 'jan_feb_mar_apr_maÃ_jún_júl_ágú_sep_okt_nóv_des'.split('_'),\n weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'),\n weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),\n weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY [kl.] H:mm',\n LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm'\n },\n calendar: {\n sameDay: '[à dag kl.] LT',\n nextDay: '[á morgun kl.] LT',\n nextWeek: 'dddd [kl.] LT',\n lastDay: '[à gær kl.] LT',\n lastWeek: '[sÃðasta] dddd [kl.] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'eftir %s',\n past: 'fyrir %s sÃðan',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: 'klukkustund',\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return is;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var it = moment.defineLocale('it', {\n months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),\n monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),\n weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),\n weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),\n weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Oggi alle] LT',\n nextDay: '[Domani alle] LT',\n nextWeek: 'dddd [alle] LT',\n lastDay: '[Ieri alle] LT',\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n return '[la scorsa] dddd [alle] LT';\n\n default:\n return '[lo scorso] dddd [alle] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: function future(s) {\n return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;\n },\n past: '%s fa',\n s: 'alcuni secondi',\n ss: '%d secondi',\n m: 'un minuto',\n mm: '%d minuti',\n h: 'un\\'ora',\n hh: '%d ore',\n d: 'un giorno',\n dd: '%d giorni',\n M: 'un mese',\n MM: '%d mesi',\n y: 'un anno',\n yy: '%d anni'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return it;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var itCh = moment.defineLocale('it-ch', {\n months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),\n monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),\n weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),\n weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),\n weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Oggi alle] LT',\n nextDay: '[Domani alle] LT',\n nextWeek: 'dddd [alle] LT',\n lastDay: '[Ieri alle] LT',\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n return '[la scorsa] dddd [alle] LT';\n\n default:\n return '[lo scorso] dddd [alle] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: function future(s) {\n return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;\n },\n past: '%s fa',\n s: 'alcuni secondi',\n ss: '%d secondi',\n m: 'un minuto',\n mm: '%d minuti',\n h: 'un\\'ora',\n hh: '%d ore',\n d: 'un giorno',\n dd: '%d giorni',\n M: 'un mese',\n MM: '%d mesi',\n y: 'un anno',\n yy: '%d anni'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return itCh;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var ja = moment.defineLocale('ja', {\n months: '一月_二月_三月_四月_五月_å…月_七月_八月_ä¹æœˆ_å月_å一月_å二月'.split('_'),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),\n weekdays: '日曜日_月曜日_ç«æ›œæ—¥_水曜日_木曜日_金曜日_土曜日'.split('_'),\n weekdaysShort: 'æ—¥_月_ç«_æ°´_木_金_土'.split('_'),\n weekdaysMin: 'æ—¥_月_ç«_æ°´_木_金_土'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYYå¹´M月Dæ—¥',\n LLL: 'YYYYå¹´M月Dæ—¥ HH:mm',\n LLLL: 'YYYYå¹´M月Dæ—¥ dddd HH:mm',\n l: 'YYYY/MM/DD',\n ll: 'YYYYå¹´M月Dæ—¥',\n lll: 'YYYYå¹´M月Dæ—¥ HH:mm',\n llll: 'YYYYå¹´M月Dæ—¥(ddd) HH:mm'\n },\n meridiemParse: /åˆå‰|åˆå¾Œ/i,\n isPM: function isPM(input) {\n return input === 'åˆå¾Œ';\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'åˆå‰';\n } else {\n return 'åˆå¾Œ';\n }\n },\n calendar: {\n sameDay: '[今日] LT',\n nextDay: '[明日] LT',\n nextWeek: function nextWeek(now) {\n if (now.week() < this.week()) {\n return '[æ¥é€±]dddd LT';\n } else {\n return 'dddd LT';\n }\n },\n lastDay: '[昨日] LT',\n lastWeek: function lastWeek(now) {\n if (this.week() < now.week()) {\n return '[先週]dddd LT';\n } else {\n return 'dddd LT';\n }\n },\n sameElse: 'L'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}æ—¥/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + 'æ—¥';\n\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s後',\n past: '%så‰',\n s: '数秒',\n ss: '%d秒',\n m: '1分',\n mm: '%d分',\n h: '1時間',\n hh: '%d時間',\n d: '1æ—¥',\n dd: '%dæ—¥',\n M: '1ヶ月',\n MM: '%dヶ月',\n y: '1å¹´',\n yy: '%då¹´'\n }\n });\n return ja;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var jv = moment.defineLocale('jv', {\n months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'),\n monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),\n weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),\n weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),\n weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [pukul] HH.mm',\n LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'\n },\n meridiemParse: /enjing|siyang|sonten|ndalu/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'enjing') {\n return hour;\n } else if (meridiem === 'siyang') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'sonten' || meridiem === 'ndalu') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hours, minutes, isLower) {\n if (hours < 11) {\n return 'enjing';\n } else if (hours < 15) {\n return 'siyang';\n } else if (hours < 19) {\n return 'sonten';\n } else {\n return 'ndalu';\n }\n },\n calendar: {\n sameDay: '[Dinten puniko pukul] LT',\n nextDay: '[Mbenjang pukul] LT',\n nextWeek: 'dddd [pukul] LT',\n lastDay: '[Kala wingi pukul] LT',\n lastWeek: 'dddd [kepengker pukul] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'wonten ing %s',\n past: '%s ingkang kepengker',\n s: 'sawetawis detik',\n ss: '%d detik',\n m: 'setunggal menit',\n mm: '%d menit',\n h: 'setunggal jam',\n hh: '%d jam',\n d: 'sedinten',\n dd: '%d dinten',\n M: 'sewulan',\n MM: '%d wulan',\n y: 'setaun',\n yy: '%d taun'\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return jv;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var ka = moment.defineLocale('ka', {\n months: {\n standalone: 'იáƒáƒœáƒ•áƒáƒ ი_თებერვáƒáƒšáƒ˜_მáƒáƒ ტი_áƒáƒžáƒ ილი_მáƒáƒ˜áƒ¡áƒ˜_ივნისი_ივლისი_áƒáƒ’ვისტáƒ_სექტემბერი_áƒáƒ¥áƒ¢áƒáƒ›áƒ‘ერი_ნáƒáƒ”მბერი_დეკემბერი'.split('_'),\n format: 'იáƒáƒœáƒ•áƒáƒ ს_თებერვáƒáƒšáƒ¡_მáƒáƒ ტს_áƒáƒžáƒ ილის_მáƒáƒ˜áƒ¡áƒ¡_ივნისს_ივლისს_áƒáƒ’ვისტს_სექტემბერს_áƒáƒ¥áƒ¢áƒáƒ›áƒ‘ერს_ნáƒáƒ”მბერს_დეკემბერს'.split('_')\n },\n monthsShort: 'იáƒáƒœ_თებ_მáƒáƒ _áƒáƒžáƒ _მáƒáƒ˜_ივნ_ივლ_áƒáƒ’ვ_სექ_áƒáƒ¥áƒ¢_ნáƒáƒ”_დეკ'.split('_'),\n weekdays: {\n standalone: 'კვირáƒ_áƒáƒ შáƒáƒ‘áƒáƒ—ი_სáƒáƒ›áƒ¨áƒáƒ‘áƒáƒ—ი_áƒáƒ—ხშáƒáƒ‘áƒáƒ—ი_ხუთშáƒáƒ‘áƒáƒ—ი_პáƒáƒ áƒáƒ¡áƒ™áƒ”ვი_შáƒáƒ‘áƒáƒ—ი'.split('_'),\n format: 'კვირáƒáƒ¡_áƒáƒ შáƒáƒ‘áƒáƒ—ს_სáƒáƒ›áƒ¨áƒáƒ‘áƒáƒ—ს_áƒáƒ—ხშáƒáƒ‘áƒáƒ—ს_ხუთშáƒáƒ‘áƒáƒ—ს_პáƒáƒ áƒáƒ¡áƒ™áƒ”ვს_შáƒáƒ‘áƒáƒ—ს'.split('_'),\n isFormat: /(წინáƒ|შემდეგ)/\n },\n weekdaysShort: 'კვი_áƒáƒ შ_სáƒáƒ›_áƒáƒ—ხ_ხუთ_პáƒáƒ _შáƒáƒ‘'.split('_'),\n weekdaysMin: 'კვ_áƒáƒ _სáƒ_áƒáƒ—_ხუ_პáƒ_შáƒ'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A'\n },\n calendar: {\n sameDay: '[დღეს] LT[-ზე]',\n nextDay: '[ხვáƒáƒš] LT[-ზე]',\n lastDay: '[გუშინ] LT[-ზე]',\n nextWeek: '[შემდეგ] dddd LT[-ზე]',\n lastWeek: '[წინáƒ] dddd LT-ზე',\n sameElse: 'L'\n },\n relativeTime: {\n future: function future(s) {\n return /(წáƒáƒ›áƒ˜|წუთი|სáƒáƒáƒ—ი|წელი)/.test(s) ? s.replace(/ი$/, 'ში') : s + 'ში';\n },\n past: function past(s) {\n if (/(წáƒáƒ›áƒ˜|წუთი|სáƒáƒáƒ—ი|დღე|თვე)/.test(s)) {\n return s.replace(/(ი|ე)$/, 'ის წინ');\n }\n\n if (/წელი/.test(s)) {\n return s.replace(/წელი$/, 'წლის წინ');\n }\n },\n s: 'რáƒáƒ›áƒ“ენიმე წáƒáƒ›áƒ˜',\n ss: '%d წáƒáƒ›áƒ˜',\n m: 'წუთი',\n mm: '%d წუთი',\n h: 'სáƒáƒáƒ—ი',\n hh: '%d სáƒáƒáƒ—ი',\n d: 'დღე',\n dd: '%d დღე',\n M: 'თვე',\n MM: '%d თვე',\n y: 'წელი',\n yy: '%d წელი'\n },\n dayOfMonthOrdinalParse: /0|1-ლი|მე-\\d{1,2}|\\d{1,2}-ე/,\n ordinal: function ordinal(number) {\n if (number === 0) {\n return number;\n }\n\n if (number === 1) {\n return number + '-ლი';\n }\n\n if (number < 20 || number <= 100 && number % 20 === 0 || number % 100 === 0) {\n return 'მე-' + number;\n }\n\n return number + '-ე';\n },\n week: {\n dow: 1,\n doy: 7\n }\n });\n return ka;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var suffixes = {\n 0: '-ші',\n 1: '-ші',\n 2: '-ші',\n 3: '-ші',\n 4: '-ші',\n 5: '-ші',\n 6: '-шы',\n 7: '-ші',\n 8: '-ші',\n 9: '-шы',\n 10: '-шы',\n 20: '-шы',\n 30: '-шы',\n 40: '-шы',\n 50: '-ші',\n 60: '-шы',\n 70: '-ші',\n 80: '-ші',\n 90: '-шы',\n 100: '-ші'\n };\n var kk = moment.defineLocale('kk', {\n months: 'қаңтар_ақпан_наурыз_Ñәуір_мамыр_мауÑым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқÑан'.split('_'),\n monthsShort: 'қаң_ақп_нау_Ñәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),\n weekdays: 'жекÑенбі_дүйÑенбі_ÑейÑенбі_ÑәрÑенбі_бейÑенбі_жұма_Ñенбі'.split('_'),\n weekdaysShort: 'жек_дүй_Ñей_Ñәр_бей_жұм_Ñен'.split('_'),\n weekdaysMin: 'жк_дй_Ñй_ÑÑ€_бй_жм_Ñн'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Бүгін Ñағат] LT',\n nextDay: '[Ертең Ñағат] LT',\n nextWeek: 'dddd [Ñағат] LT',\n lastDay: '[Кеше Ñағат] LT',\n lastWeek: '[Өткен аптаның] dddd [Ñағат] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s ішінде',\n past: '%s бұрын',\n s: 'бірнеше Ñекунд',\n ss: '%d Ñекунд',\n m: 'бір минут',\n mm: '%d минут',\n h: 'бір Ñағат',\n hh: '%d Ñағат',\n d: 'бір күн',\n dd: '%d күн',\n M: 'бір ай',\n MM: '%d ай',\n y: 'бір жыл',\n yy: '%d жыл'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ші|шы)/,\n ordinal: function ordinal(number) {\n var a = number % 10,\n b = number >= 100 ? 100 : null;\n return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return kk;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': '១',\n '2': '២',\n '3': '៣',\n '4': '៤',\n '5': '៥',\n '6': '៦',\n '7': '៧',\n '8': '៨',\n '9': '៩',\n '0': '០'\n },\n numberMap = {\n '១': '1',\n '២': '2',\n '៣': '3',\n '៤': '4',\n '៥': '5',\n '៦': '6',\n '៧': '7',\n '៨': '8',\n '៩': '9',\n '០': '0'\n };\n var km = moment.defineLocale('km', {\n months: 'មករា_កុម្ភៈ_មីនា_មáŸážŸáž¶_ឧសភា_មិážáž»áž“ា_កក្កដា_សីហា_កញ្ញា_ážáž»áž›áž¶_វិច្ឆិកា_ធ្នូ'.split('_'),\n monthsShort: 'មករា_កុម្ភៈ_មីនា_មáŸážŸáž¶_ឧសភា_មិážáž»áž“ា_កក្កដា_សីហា_កញ្ញា_ážáž»áž›áž¶_វិច្ឆិកា_ធ្នូ'.split('_'),\n weekdays: 'អាទិážáŸ’áž™_áž…áŸáž“្ទ_អង្គារ_ពុធ_ព្រហស្បážáž·áŸ_សុក្រ_សៅរáŸ'.split('_'),\n weekdaysShort: 'អា_áž…_អ_áž–_ព្រ_សុ_ស'.split('_'),\n weekdaysMin: 'អា_áž…_អ_áž–_ព្រ_សុ_ស'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n meridiemParse: /ព្រឹក|ល្ងាច/,\n isPM: function isPM(input) {\n return input === 'ល្ងាច';\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'ព្រឹក';\n } else {\n return 'ល្ងាច';\n }\n },\n calendar: {\n sameDay: '[ážáŸ’ងៃនáŸáŸ‡ ម៉ោង] LT',\n nextDay: '[ស្អែក ម៉ោង] LT',\n nextWeek: 'dddd [ម៉ោង] LT',\n lastDay: '[ម្សិលមិញ ម៉ោង] LT',\n lastWeek: 'dddd [សប្ážáž¶áž áŸáž˜áž»áž“] [ម៉ោង] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%sទៀáž',\n past: '%sមុន',\n s: 'ប៉ុន្មានវិនាទី',\n ss: '%d វិនាទី',\n m: 'មួយនាទី',\n mm: '%d នាទី',\n h: 'មួយម៉ោង',\n hh: '%d ម៉ោង',\n d: 'មួយážáŸ’ងៃ',\n dd: '%d ážáŸ’ងៃ',\n M: 'មួយážáŸ‚',\n MM: '%d ážáŸ‚',\n y: 'មួយឆ្នាំ',\n yy: '%d ឆ្នាំ'\n },\n dayOfMonthOrdinalParse: /ទី\\d{1,2}/,\n ordinal: 'ទី%d',\n preparse: function preparse(string) {\n return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return km;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': '೧',\n '2': '೨',\n '3': '೩',\n '4': '೪',\n '5': '೫',\n '6': '೬',\n '7': 'à³',\n '8': 'à³®',\n '9': '೯',\n '0': '೦'\n },\n numberMap = {\n '೧': '1',\n '೨': '2',\n '೩': '3',\n '೪': '4',\n '೫': '5',\n '೬': '6',\n 'à³': '7',\n 'à³®': '8',\n '೯': '9',\n '೦': '0'\n };\n var kn = moment.defineLocale('kn', {\n months: 'ಜನವರಿ_ಫೆಬà³à²°à²µà²°à²¿_ಮಾರà³à²šà³_à²à²ªà³à²°à²¿à²²à³_ಮೇ_ಜೂನà³_ಜà³à²²à³†à³–_ಆಗಸà³à²Ÿà³_ಸೆಪà³à²Ÿà³†à²‚ಬರà³_ಅಕà³à²Ÿà³†à³‚ೕಬರà³_ನವೆಂಬರà³_ಡಿಸೆಂಬರà³'.split('_'),\n monthsShort: 'ಜನ_ಫೆಬà³à²°_ಮಾರà³à²šà³_à²à²ªà³à²°à²¿à²²à³_ಮೇ_ಜೂನà³_ಜà³à²²à³†à³–_ಆಗಸà³à²Ÿà³_ಸೆಪà³à²Ÿà³†à²‚_ಅಕà³à²Ÿà³†à³‚ೕ_ನವೆಂ_ಡಿಸೆಂ'.split('_'),\n monthsParseExact: true,\n weekdays: 'à²à²¾à²¨à³à²µà²¾à²°_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬà³à²§à²µà²¾à²°_ಗà³à²°à³à²µà²¾à²°_ಶà³à²•à³à²°à²µà²¾à²°_ಶನಿವಾರ'.split('_'),\n weekdaysShort: 'à²à²¾à²¨à³_ಸೋಮ_ಮಂಗಳ_ಬà³à²§_ಗà³à²°à³_ಶà³à²•à³à²°_ಶನಿ'.split('_'),\n weekdaysMin: 'à²à²¾_ಸೋ_ಮಂ_ಬà³_ಗà³_ಶà³_ಶ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm',\n LTS: 'A h:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm',\n LLLL: 'dddd, D MMMM YYYY, A h:mm'\n },\n calendar: {\n sameDay: '[ಇಂದà³] LT',\n nextDay: '[ನಾಳೆ] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[ನಿನà³à²¨à³†] LT',\n lastWeek: '[ಕೊನೆಯ] dddd, LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s ನಂತರ',\n past: '%s ಹಿಂದೆ',\n s: 'ಕೆಲವೠಕà³à²·à²£à²—ಳà³',\n ss: '%d ಸೆಕೆಂಡà³à²—ಳà³',\n m: 'ಒಂದೠನಿಮಿಷ',\n mm: '%d ನಿಮಿಷ',\n h: 'ಒಂದೠಗಂಟೆ',\n hh: '%d ಗಂಟೆ',\n d: 'ಒಂದೠದಿನ',\n dd: '%d ದಿನ',\n M: 'ಒಂದೠತಿಂಗಳà³',\n MM: '%d ತಿಂಗಳà³',\n y: 'ಒಂದೠವರà³à²·',\n yy: '%d ವರà³à²·'\n },\n preparse: function preparse(string) {\n return string.replace(/[೧೨೩೪೫೬à³à³®à³¯à³¦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /ರಾತà³à²°à²¿|ಬೆಳಿಗà³à²—ೆ|ಮಧà³à²¯à²¾à²¹à³à²¨|ಸಂಜೆ/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'ರಾತà³à²°à²¿') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ಬೆಳಿಗà³à²—ೆ') {\n return hour;\n } else if (meridiem === 'ಮಧà³à²¯à²¾à²¹à³à²¨') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'ಸಂಜೆ') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'ರಾತà³à²°à²¿';\n } else if (hour < 10) {\n return 'ಬೆಳಿಗà³à²—ೆ';\n } else if (hour < 17) {\n return 'ಮಧà³à²¯à²¾à²¹à³à²¨';\n } else if (hour < 20) {\n return 'ಸಂಜೆ';\n } else {\n return 'ರಾತà³à²°à²¿';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ನೇ)/,\n ordinal: function ordinal(number) {\n return number + 'ನೇ';\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n }\n });\n return kn;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var ko = moment.defineLocale('ko', {\n months: '1ì›”_2ì›”_3ì›”_4ì›”_5ì›”_6ì›”_7ì›”_8ì›”_9ì›”_10ì›”_11ì›”_12ì›”'.split('_'),\n monthsShort: '1ì›”_2ì›”_3ì›”_4ì›”_5ì›”_6ì›”_7ì›”_8ì›”_9ì›”_10ì›”_11ì›”_12ì›”'.split('_'),\n weekdays: 'ì¼ìš”ì¼_월요ì¼_화요ì¼_수요ì¼_목요ì¼_금요ì¼_í† ìš”ì¼'.split('_'),\n weekdaysShort: 'ì¼_ì›”_í™”_수_목_금_í† '.split('_'),\n weekdaysMin: 'ì¼_ì›”_í™”_수_목_금_í† '.split('_'),\n longDateFormat: {\n LT: 'A h:mm',\n LTS: 'A h:mm:ss',\n L: 'YYYY.MM.DD.',\n LL: 'YYYYë…„ MMMM Dì¼',\n LLL: 'YYYYë…„ MMMM Dì¼ A h:mm',\n LLLL: 'YYYYë…„ MMMM Dì¼ dddd A h:mm',\n l: 'YYYY.MM.DD.',\n ll: 'YYYYë…„ MMMM Dì¼',\n lll: 'YYYYë…„ MMMM Dì¼ A h:mm',\n llll: 'YYYYë…„ MMMM Dì¼ dddd A h:mm'\n },\n calendar: {\n sameDay: '오늘 LT',\n nextDay: 'ë‚´ì¼ LT',\n nextWeek: 'dddd LT',\n lastDay: 'ì–´ì œ LT',\n lastWeek: '지난주 dddd LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s 후',\n past: '%s ì „',\n s: '몇 ì´ˆ',\n ss: '%dì´ˆ',\n m: '1분',\n mm: '%d분',\n h: 'í•œ 시간',\n hh: '%d시간',\n d: '하루',\n dd: '%dì¼',\n M: 'í•œ 달',\n MM: '%d달',\n y: 'ì¼ ë…„',\n yy: '%dë…„'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ì¼|ì›”|주)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + 'ì¼';\n\n case 'M':\n return number + 'ì›”';\n\n case 'w':\n case 'W':\n return number + '주';\n\n default:\n return number;\n }\n },\n meridiemParse: /ì˜¤ì „|오후/,\n isPM: function isPM(token) {\n return token === '오후';\n },\n meridiem: function meridiem(hour, minute, isUpper) {\n return hour < 12 ? 'ì˜¤ì „' : '오후';\n }\n });\n return ko;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': 'Ù¡',\n '2': 'Ù¢',\n '3': 'Ù£',\n '4': 'Ù¤',\n '5': 'Ù¥',\n '6': 'Ù¦',\n '7': 'Ù§',\n '8': 'Ù¨',\n '9': 'Ù©',\n '0': 'Ù '\n },\n numberMap = {\n 'Ù¡': '1',\n 'Ù¢': '2',\n 'Ù£': '3',\n 'Ù¤': '4',\n 'Ù¥': '5',\n 'Ù¦': '6',\n 'Ù§': '7',\n 'Ù¨': '8',\n 'Ù©': '9',\n 'Ù ': '0'\n },\n months = ['کانونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', 'Øوزەیران', 'تەمموز', 'ئاب', 'ئەیلوول', 'تشرینی یەكەم', 'تشرینی دووەم', 'كانونی یەکەم'];\n var ku = moment.defineLocale('ku', {\n months: months,\n monthsShort: months,\n weekdays: 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split('_'),\n weekdaysShort: 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'),\n weekdaysMin: 'ÛŒ_د_س_Ú†_Ù¾_Ù‡_Ø´'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n meridiemParse: /ئێواره‌|به‌یانی/,\n isPM: function isPM(input) {\n return /ئێواره‌/.test(input);\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'به‌یانی';\n } else {\n return 'ئێواره‌';\n }\n },\n calendar: {\n sameDay: '[ئه‌مرۆ كاتژمێر] LT',\n nextDay: '[به‌یانی كاتژمێر] LT',\n nextWeek: 'dddd [كاتژمێر] LT',\n lastDay: '[دوێنێ كاتژمێر] LT',\n lastWeek: 'dddd [كاتژمێر] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'له‌ %s',\n past: '%s',\n s: 'چه‌ند چركه‌یه‌ك',\n ss: 'چركه‌ %d',\n m: 'یه‌ك خوله‌ك',\n mm: '%d خوله‌ك',\n h: 'یه‌ك كاتژمێر',\n hh: '%d كاتژمێر',\n d: 'یه‌ك Ú•Û†Ú˜',\n dd: '%d Ú•Û†Ú˜',\n M: 'یه‌ك مانگ',\n MM: '%d مانگ',\n y: 'یه‌ك ساڵ',\n yy: '%d ساڵ'\n },\n preparse: function preparse(string) {\n return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n return numberMap[match];\n }).replace(/ØŒ/g, ',');\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n }).replace(/,/g, 'ØŒ');\n },\n week: {\n dow: 6,\n // Saturday is the first day of the week.\n doy: 12 // The week that contains Jan 12th is the first week of the year.\n\n }\n });\n return ku;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var suffixes = {\n 0: '-чү',\n 1: '-чи',\n 2: '-чи',\n 3: '-чү',\n 4: '-чү',\n 5: '-чи',\n 6: '-чы',\n 7: '-чи',\n 8: '-чи',\n 9: '-чу',\n 10: '-чу',\n 20: '-чы',\n 30: '-чу',\n 40: '-чы',\n 50: '-чү',\n 60: '-чы',\n 70: '-чи',\n 80: '-чи',\n 90: '-чу',\n 100: '-чү'\n };\n var ky = moment.defineLocale('ky', {\n months: 'Ñнварь_февраль_март_апрель_май_июнь_июль_авгуÑÑ‚_ÑентÑбрь_октÑбрь_ноÑбрь_декабрь'.split('_'),\n monthsShort: 'Ñнв_фев_март_апр_май_июнь_июль_авг_Ñен_окт_ноÑ_дек'.split('_'),\n weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'),\n weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),\n weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Бүгүн Ñаат] LT',\n nextDay: '[Ðртең Ñаат] LT',\n nextWeek: 'dddd [Ñаат] LT',\n lastDay: '[КечÑÑ Ñаат] LT',\n lastWeek: '[Өткөн аптанын] dddd [күнү] [Ñаат] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s ичинде',\n past: '%s мурун',\n s: 'бирнече Ñекунд',\n ss: '%d Ñекунд',\n m: 'бир мүнөт',\n mm: '%d мүнөт',\n h: 'бир Ñаат',\n hh: '%d Ñаат',\n d: 'бир күн',\n dd: '%d күн',\n M: 'бир ай',\n MM: '%d ай',\n y: 'бир жыл',\n yy: '%d жыл'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(чи|чы|чү|чу)/,\n ordinal: function ordinal(number) {\n var a = number % 10,\n b = number >= 100 ? 100 : null;\n return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return ky;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n 'm': ['eng Minutt', 'enger Minutt'],\n 'h': ['eng Stonn', 'enger Stonn'],\n 'd': ['een Dag', 'engem Dag'],\n 'M': ['ee Mount', 'engem Mount'],\n 'y': ['ee Joer', 'engem Joer']\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n function processFutureTime(string) {\n var number = string.substr(0, string.indexOf(' '));\n\n if (eifelerRegelAppliesToNumber(number)) {\n return 'a ' + string;\n }\n\n return 'an ' + string;\n }\n\n function processPastTime(string) {\n var number = string.substr(0, string.indexOf(' '));\n\n if (eifelerRegelAppliesToNumber(number)) {\n return 'viru ' + string;\n }\n\n return 'virun ' + string;\n }\n /**\n * Returns true if the word before the given number loses the '-n' ending.\n * e.g. 'an 10 Deeg' but 'a 5 Deeg'\n *\n * @param number {integer}\n * @returns {boolean}\n */\n\n\n function eifelerRegelAppliesToNumber(number) {\n number = parseInt(number, 10);\n\n if (isNaN(number)) {\n return false;\n }\n\n if (number < 0) {\n // Negative Number --> always true\n return true;\n } else if (number < 10) {\n // Only 1 digit\n if (4 <= number && number <= 7) {\n return true;\n }\n\n return false;\n } else if (number < 100) {\n // 2 digits\n var lastDigit = number % 10,\n firstDigit = number / 10;\n\n if (lastDigit === 0) {\n return eifelerRegelAppliesToNumber(firstDigit);\n }\n\n return eifelerRegelAppliesToNumber(lastDigit);\n } else if (number < 10000) {\n // 3 or 4 digits --> recursively check first digit\n while (number >= 10) {\n number = number / 10;\n }\n\n return eifelerRegelAppliesToNumber(number);\n } else {\n // Anything larger than 4 digits: recursively check first n-3 digits\n number = number / 1000;\n return eifelerRegelAppliesToNumber(number);\n }\n }\n\n var lb = moment.defineLocale('lb', {\n months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),\n monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),\n monthsParseExact: true,\n weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'),\n weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),\n weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm [Auer]',\n LTS: 'H:mm:ss [Auer]',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm [Auer]',\n LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]'\n },\n calendar: {\n sameDay: '[Haut um] LT',\n sameElse: 'L',\n nextDay: '[Muer um] LT',\n nextWeek: 'dddd [um] LT',\n lastDay: '[Gëschter um] LT',\n lastWeek: function lastWeek() {\n // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule\n switch (this.day()) {\n case 2:\n case 4:\n return '[Leschten] dddd [um] LT';\n\n default:\n return '[Leschte] dddd [um] LT';\n }\n }\n },\n relativeTime: {\n future: processFutureTime,\n past: processPastTime,\n s: 'e puer Sekonnen',\n ss: '%d Sekonnen',\n m: processRelativeTime,\n mm: '%d Minutten',\n h: processRelativeTime,\n hh: '%d Stonnen',\n d: processRelativeTime,\n dd: '%d Deeg',\n M: processRelativeTime,\n MM: '%d Méint',\n y: processRelativeTime,\n yy: '%d Joer'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return lb;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var lo = moment.defineLocale('lo', {\n months: 'ມັງàºàºàº™_àºàº¸àº¡àºžàº²_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_àºà»àº¥àº°àºàº»àº”_ສິງຫາ_àºàº±àº™àºàº²_ຕຸລາ_ພະຈິàº_ທັນວາ'.split('_'),\n monthsShort: 'ມັງàºàºàº™_àºàº¸àº¡àºžàº²_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_àºà»àº¥àº°àºàº»àº”_ສິງຫາ_àºàº±àº™àºàº²_ຕຸລາ_ພະຈິàº_ທັນວາ'.split('_'),\n weekdays: 'àºàº²àº—ິດ_ຈັນ_àºàº±àº‡àº„ານ_ພຸດ_ພະຫັດ_ສຸàº_ເສົາ'.split('_'),\n weekdaysShort: 'ທິດ_ຈັນ_àºàº±àº‡àº„ານ_ພຸດ_ພະຫັດ_ສຸàº_ເສົາ'.split('_'),\n weekdaysMin: 'ທ_ຈ_àºàº„_ພ_ພຫ_ສàº_ສ'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'ວັນdddd D MMMM YYYY HH:mm'\n },\n meridiemParse: /ຕàºàº™à»€àºŠàº»à»‰àº²|ຕàºàº™à»àº¥àº‡/,\n isPM: function isPM(input) {\n return input === 'ຕàºàº™à»àº¥àº‡';\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'ຕàºàº™à»€àºŠàº»à»‰àº²';\n } else {\n return 'ຕàºàº™à»àº¥àº‡';\n }\n },\n calendar: {\n sameDay: '[ມື້ນີ້ເວລາ] LT',\n nextDay: '[ມື້àºàº·à»ˆàº™à»€àº§àº¥àº²] LT',\n nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',\n lastDay: '[ມື້ວານນີ້ເວລາ] LT',\n lastWeek: '[ວັນ]dddd[à»àº¥à»‰àº§àº™àºµà»‰à»€àº§àº¥àº²] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'àºàºµàº %s',\n past: '%sຜ່ານມາ',\n s: 'ບà»à»ˆà»€àº—ົ່າໃດວິນາທີ',\n ss: '%d ວິນາທີ',\n m: '1 ນາທີ',\n mm: '%d ນາທີ',\n h: '1 ຊົ່ວໂມງ',\n hh: '%d ຊົ່ວໂມງ',\n d: '1 ມື້',\n dd: '%d ມື້',\n M: '1 ເດືàºàº™',\n MM: '%d ເດືàºàº™',\n y: '1 ປີ',\n yy: '%d ປີ'\n },\n dayOfMonthOrdinalParse: /(ທີ່)\\d{1,2}/,\n ordinal: function ordinal(number) {\n return 'ທີ່' + number;\n }\n });\n return lo;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var units = {\n 'ss': 'sekundÄ—_sekundžių_sekundes',\n 'm': 'minutÄ—_minutÄ—s_minutÄ™',\n 'mm': 'minutÄ—s_minuÄių_minutes',\n 'h': 'valanda_valandos_valandÄ…',\n 'hh': 'valandos_valandų_valandas',\n 'd': 'diena_dienos_dienÄ…',\n 'dd': 'dienos_dienų_dienas',\n 'M': 'mÄ—nuo_mÄ—nesio_mÄ—nesį',\n 'MM': 'mÄ—nesiai_mÄ—nesių_mÄ—nesius',\n 'y': 'metai_metų_metus',\n 'yy': 'metai_metų_metus'\n };\n\n function translateSeconds(number, withoutSuffix, key, isFuture) {\n if (withoutSuffix) {\n return 'kelios sekundÄ—s';\n } else {\n return isFuture ? 'kelių sekundžių' : 'kelias sekundes';\n }\n }\n\n function translateSingular(number, withoutSuffix, key, isFuture) {\n return withoutSuffix ? forms(key)[0] : isFuture ? forms(key)[1] : forms(key)[2];\n }\n\n function special(number) {\n return number % 10 === 0 || number > 10 && number < 20;\n }\n\n function forms(key) {\n return units[key].split('_');\n }\n\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n\n if (number === 1) {\n return result + translateSingular(number, withoutSuffix, key[0], isFuture);\n } else if (withoutSuffix) {\n return result + (special(number) ? forms(key)[1] : forms(key)[0]);\n } else {\n if (isFuture) {\n return result + forms(key)[1];\n } else {\n return result + (special(number) ? forms(key)[1] : forms(key)[2]);\n }\n }\n }\n\n var lt = moment.defineLocale('lt', {\n months: {\n format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjÅ«Äio_rugsÄ—jo_spalio_lapkriÄio_gruodžio'.split('_'),\n standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjÅ«tis_rugsÄ—jis_spalis_lapkritis_gruodis'.split('_'),\n isFormat: /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?|MMMM?(\\[[^\\[\\]]*\\]|\\s)+D[oD]?/\n },\n monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),\n weekdays: {\n format: 'sekmadienį_pirmadienį_antradienį_treÄiadienį_ketvirtadienį_penktadienį_Å¡eÅ¡tadienį'.split('_'),\n standalone: 'sekmadienis_pirmadienis_antradienis_treÄiadienis_ketvirtadienis_penktadienis_Å¡eÅ¡tadienis'.split('_'),\n isFormat: /dddd HH:mm/\n },\n weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Å eÅ¡'.split('_'),\n weekdaysMin: 'S_P_A_T_K_Pn_Å '.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY [m.] MMMM D [d.]',\n LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',\n l: 'YYYY-MM-DD',\n ll: 'YYYY [m.] MMMM D [d.]',\n lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]'\n },\n calendar: {\n sameDay: '[Å iandien] LT',\n nextDay: '[Rytoj] LT',\n nextWeek: 'dddd LT',\n lastDay: '[Vakar] LT',\n lastWeek: '[PraÄ—jusį] dddd LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'po %s',\n past: 'prieÅ¡ %s',\n s: translateSeconds,\n ss: translate,\n m: translateSingular,\n mm: translate,\n h: translateSingular,\n hh: translate,\n d: translateSingular,\n dd: translate,\n M: translateSingular,\n MM: translate,\n y: translateSingular,\n yy: translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-oji/,\n ordinal: function ordinal(number) {\n return number + '-oji';\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return lt;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var units = {\n 'ss': 'sekundes_sekundÄ“m_sekunde_sekundes'.split('_'),\n 'm': 'minÅ«tes_minÅ«tÄ“m_minÅ«te_minÅ«tes'.split('_'),\n 'mm': 'minÅ«tes_minÅ«tÄ“m_minÅ«te_minÅ«tes'.split('_'),\n 'h': 'stundas_stundÄm_stunda_stundas'.split('_'),\n 'hh': 'stundas_stundÄm_stunda_stundas'.split('_'),\n 'd': 'dienas_dienÄm_diena_dienas'.split('_'),\n 'dd': 'dienas_dienÄm_diena_dienas'.split('_'),\n 'M': 'mÄ“neÅ¡a_mÄ“neÅ¡iem_mÄ“nesis_mÄ“neÅ¡i'.split('_'),\n 'MM': 'mÄ“neÅ¡a_mÄ“neÅ¡iem_mÄ“nesis_mÄ“neÅ¡i'.split('_'),\n 'y': 'gada_gadiem_gads_gadi'.split('_'),\n 'yy': 'gada_gadiem_gads_gadi'.split('_')\n };\n /**\n * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.\n */\n\n function format(forms, number, withoutSuffix) {\n if (withoutSuffix) {\n // E.g. \"21 minÅ«te\", \"3 minÅ«tes\".\n return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];\n } else {\n // E.g. \"21 minÅ«tes\" as in \"pÄ“c 21 minÅ«tes\".\n // E.g. \"3 minÅ«tÄ“m\" as in \"pÄ“c 3 minÅ«tÄ“m\".\n return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];\n }\n }\n\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n return number + ' ' + format(units[key], number, withoutSuffix);\n }\n\n function relativeTimeWithSingular(number, withoutSuffix, key) {\n return format(units[key], number, withoutSuffix);\n }\n\n function relativeSeconds(number, withoutSuffix) {\n return withoutSuffix ? 'dažas sekundes' : 'dažÄm sekundÄ“m';\n }\n\n var lv = moment.defineLocale('lv', {\n months: 'janvÄris_februÄris_marts_aprÄ«lis_maijs_jÅ«nijs_jÅ«lijs_augusts_septembris_oktobris_novembris_decembris'.split('_'),\n monthsShort: 'jan_feb_mar_apr_mai_jÅ«n_jÅ«l_aug_sep_okt_nov_dec'.split('_'),\n weekdays: 'svÄ“tdiena_pirmdiena_otrdiena_treÅ¡diena_ceturtdiena_piektdiena_sestdiena'.split('_'),\n weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),\n weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY.',\n LL: 'YYYY. [gada] D. MMMM',\n LLL: 'YYYY. [gada] D. MMMM, HH:mm',\n LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm'\n },\n calendar: {\n sameDay: '[Å odien pulksten] LT',\n nextDay: '[RÄ«t pulksten] LT',\n nextWeek: 'dddd [pulksten] LT',\n lastDay: '[Vakar pulksten] LT',\n lastWeek: '[PagÄjuÅ¡Ä] dddd [pulksten] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'pÄ“c %s',\n past: 'pirms %s',\n s: relativeSeconds,\n ss: relativeTimeWithPlural,\n m: relativeTimeWithSingular,\n mm: relativeTimeWithPlural,\n h: relativeTimeWithSingular,\n hh: relativeTimeWithPlural,\n d: relativeTimeWithSingular,\n dd: relativeTimeWithPlural,\n M: relativeTimeWithSingular,\n MM: relativeTimeWithPlural,\n y: relativeTimeWithSingular,\n yy: relativeTimeWithPlural\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return lv;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var translator = {\n words: {\n //Different grammatical cases\n ss: ['sekund', 'sekunda', 'sekundi'],\n m: ['jedan minut', 'jednog minuta'],\n mm: ['minut', 'minuta', 'minuta'],\n h: ['jedan sat', 'jednog sata'],\n hh: ['sat', 'sata', 'sati'],\n dd: ['dan', 'dana', 'dana'],\n MM: ['mjesec', 'mjeseca', 'mjeseci'],\n yy: ['godina', 'godine', 'godina']\n },\n correctGrammaticalCase: function correctGrammaticalCase(number, wordKey) {\n return number === 1 ? wordKey[0] : number >= 2 && number <= 4 ? wordKey[1] : wordKey[2];\n },\n translate: function translate(number, withoutSuffix, key) {\n var wordKey = translator.words[key];\n\n if (key.length === 1) {\n return withoutSuffix ? wordKey[0] : wordKey[1];\n } else {\n return number + ' ' + translator.correctGrammaticalCase(number, wordKey);\n }\n }\n };\n var me = moment.defineLocale('me', {\n months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),\n monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),\n monthsParseExact: true,\n weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota'.split('_'),\n weekdaysShort: 'ned._pon._uto._sri._Äet._pet._sub.'.split('_'),\n weekdaysMin: 'ne_po_ut_sr_Äe_pe_su'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm'\n },\n calendar: {\n sameDay: '[danas u] LT',\n nextDay: '[sjutra u] LT',\n nextWeek: function nextWeek() {\n switch (this.day()) {\n case 0:\n return '[u] [nedjelju] [u] LT';\n\n case 3:\n return '[u] [srijedu] [u] LT';\n\n case 6:\n return '[u] [subotu] [u] LT';\n\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay: '[juÄe u] LT',\n lastWeek: function lastWeek() {\n var lastWeekDays = ['[proÅ¡le] [nedjelje] [u] LT', '[proÅ¡log] [ponedjeljka] [u] LT', '[proÅ¡log] [utorka] [u] LT', '[proÅ¡le] [srijede] [u] LT', '[proÅ¡log] [Äetvrtka] [u] LT', '[proÅ¡log] [petka] [u] LT', '[proÅ¡le] [subote] [u] LT'];\n return lastWeekDays[this.day()];\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'za %s',\n past: 'prije %s',\n s: 'nekoliko sekundi',\n ss: translator.translate,\n m: translator.translate,\n mm: translator.translate,\n h: translator.translate,\n hh: translator.translate,\n d: 'dan',\n dd: translator.translate,\n M: 'mjesec',\n MM: translator.translate,\n y: 'godinu',\n yy: translator.translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return me;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var mi = moment.defineLocale('mi', {\n months: 'Kohi-tÄte_Hui-tanguru_PoutÅ«-te-rangi_Paenga-whÄwhÄ_Haratua_Pipiri_HÅngoingoi_Here-turi-kÅkÄ_Mahuru_Whiringa-Ä-nuku_Whiringa-Ä-rangi_Hakihea'.split('_'),\n monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_HÅngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'),\n monthsRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n monthsStrictRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n monthsShortRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n monthsShortStrictRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,2}/i,\n weekdays: 'RÄtapu_Mane_TÅ«rei_Wenerei_TÄite_Paraire_HÄtarei'.split('_'),\n weekdaysShort: 'Ta_Ma_TÅ«_We_TÄi_Pa_HÄ'.split('_'),\n weekdaysMin: 'Ta_Ma_TÅ«_We_TÄi_Pa_HÄ'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [i] HH:mm',\n LLLL: 'dddd, D MMMM YYYY [i] HH:mm'\n },\n calendar: {\n sameDay: '[i teie mahana, i] LT',\n nextDay: '[apopo i] LT',\n nextWeek: 'dddd [i] LT',\n lastDay: '[inanahi i] LT',\n lastWeek: 'dddd [whakamutunga i] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'i roto i %s',\n past: '%s i mua',\n s: 'te hÄ“kona ruarua',\n ss: '%d hÄ“kona',\n m: 'he meneti',\n mm: '%d meneti',\n h: 'te haora',\n hh: '%d haora',\n d: 'he ra',\n dd: '%d ra',\n M: 'he marama',\n MM: '%d marama',\n y: 'he tau',\n yy: '%d tau'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return mi;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var mk = moment.defineLocale('mk', {\n months: 'јануари_февруари_март_април_мај_јуни_јули_авгуÑÑ‚_Ñептември_октомври_ноември_декември'.split('_'),\n monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_Ñеп_окт_ное_дек'.split('_'),\n weekdays: 'недела_понеделник_вторник_Ñреда_четврток_петок_Ñабота'.split('_'),\n weekdaysShort: 'нед_пон_вто_Ñре_чет_пет_Ñаб'.split('_'),\n weekdaysMin: 'нe_пo_вт_ÑÑ€_че_пе_Ña'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'D.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY H:mm',\n LLLL: 'dddd, D MMMM YYYY H:mm'\n },\n calendar: {\n sameDay: '[Ð”ÐµÐ½ÐµÑ Ð²Ð¾] LT',\n nextDay: '[Утре во] LT',\n nextWeek: '[Во] dddd [во] LT',\n lastDay: '[Вчера во] LT',\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n case 3:\n case 6:\n return '[Изминатата] dddd [во] LT';\n\n case 1:\n case 2:\n case 4:\n case 5:\n return '[Изминатиот] dddd [во] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'поÑле %s',\n past: 'пред %s',\n s: 'неколку Ñекунди',\n ss: '%d Ñекунди',\n m: 'минута',\n mm: '%d минути',\n h: 'чаÑ',\n hh: '%d чаÑа',\n d: 'ден',\n dd: '%d дена',\n M: 'меÑец',\n MM: '%d меÑеци',\n y: 'година',\n yy: '%d години'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,\n ordinal: function ordinal(number) {\n var lastDigit = number % 10,\n last2Digits = number % 100;\n\n if (number === 0) {\n return number + '-ев';\n } else if (last2Digits === 0) {\n return number + '-ен';\n } else if (last2Digits > 10 && last2Digits < 20) {\n return number + '-ти';\n } else if (lastDigit === 1) {\n return number + '-ви';\n } else if (lastDigit === 2) {\n return number + '-ри';\n } else if (lastDigit === 7 || lastDigit === 8) {\n return number + '-ми';\n } else {\n return number + '-ти';\n }\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return mk;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var ml = moment.defineLocale('ml', {\n months: 'ജനàµà´µà´°à´¿_ഫെബàµà´°àµà´µà´°à´¿_മാർചàµà´šàµ_à´à´ªàµà´°à´¿àµ½_മേയàµ_ജൂൺ_ജൂലൈ_à´“à´—à´¸àµà´±àµà´±àµ_സെപàµà´±àµà´±à´‚ബർ_à´’à´•àµà´Ÿàµ‹à´¬àµ¼_നവംബർ_ഡിസംബർ'.split('_'),\n monthsShort: 'ജനàµ._ഫെബàµà´°àµ._മാർ._à´à´ªàµà´°à´¿._മേയàµ_ജൂൺ_ജൂലൈ._à´“à´—._സെപàµà´±àµà´±._à´’à´•àµà´Ÿàµ‹._നവം._ഡിസം.'.split('_'),\n monthsParseExact: true,\n weekdays: 'ഞായറാഴàµà´š_തിങàµà´•à´³à´¾à´´àµà´š_ചൊവàµà´µà´¾à´´àµà´š_à´¬àµà´§à´¨à´¾à´´àµà´š_à´µàµà´¯à´¾à´´à´¾à´´àµà´š_വെളàµà´³à´¿à´¯à´¾à´´àµà´š_ശനിയാഴàµà´š'.split('_'),\n weekdaysShort: 'ഞായർ_തിങàµà´•àµ¾_ചൊവàµà´µ_à´¬àµà´§àµ»_à´µàµà´¯à´¾à´´à´‚_വെളàµà´³à´¿_ശനി'.split('_'),\n weekdaysMin: 'à´žà´¾_തി_ചൊ_à´¬àµ_à´µàµà´¯à´¾_വെ_à´¶'.split('_'),\n longDateFormat: {\n LT: 'A h:mm -à´¨àµ',\n LTS: 'A h:mm:ss -à´¨àµ',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm -à´¨àµ',\n LLLL: 'dddd, D MMMM YYYY, A h:mm -à´¨àµ'\n },\n calendar: {\n sameDay: '[ഇനàµà´¨àµ] LT',\n nextDay: '[നാളെ] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[ഇനàµà´¨à´²àµ†] LT',\n lastWeek: '[à´•à´´à´¿à´žàµà´ž] dddd, LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s à´•à´´à´¿à´žàµà´žàµ',\n past: '%s à´®àµàµ»à´ªàµ',\n s: 'അൽപ നിമിഷങàµà´™àµ¾',\n ss: '%d സെകàµà´•àµ»à´¡àµ',\n m: 'ഒരൠമിനിറàµà´±àµ',\n mm: '%d മിനിറàµà´±àµ',\n h: 'ഒരൠമണികàµà´•àµ‚ർ',\n hh: '%d മണികàµà´•àµ‚ർ',\n d: 'ഒരൠദിവസം',\n dd: '%d ദിവസം',\n M: 'ഒരൠമാസം',\n MM: '%d മാസം',\n y: 'ഒരൠവർഷം',\n yy: '%d വർഷം'\n },\n meridiemParse: /രാതàµà´°à´¿|രാവിലെ|ഉചàµà´š à´•à´´à´¿à´žàµà´žàµ|വൈകàµà´¨àµà´¨àµ‡à´°à´‚|രാതàµà´°à´¿/i,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'രാതàµà´°à´¿' && hour >= 4 || meridiem === 'ഉചàµà´š à´•à´´à´¿à´žàµà´žàµ' || meridiem === 'വൈകàµà´¨àµà´¨àµ‡à´°à´‚') {\n return hour + 12;\n } else {\n return hour;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'രാതàµà´°à´¿';\n } else if (hour < 12) {\n return 'രാവിലെ';\n } else if (hour < 17) {\n return 'ഉചàµà´š à´•à´´à´¿à´žàµà´žàµ';\n } else if (hour < 20) {\n return 'വൈകàµà´¨àµà´¨àµ‡à´°à´‚';\n } else {\n return 'രാതàµà´°à´¿';\n }\n }\n });\n return ml;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function translate(number, withoutSuffix, key, isFuture) {\n switch (key) {\n case 's':\n return withoutSuffix ? 'Ñ…ÑдхÑн Ñекунд' : 'Ñ…ÑдхÑн Ñекундын';\n\n case 'ss':\n return number + (withoutSuffix ? ' Ñекунд' : ' Ñекундын');\n\n case 'm':\n case 'mm':\n return number + (withoutSuffix ? ' минут' : ' минутын');\n\n case 'h':\n case 'hh':\n return number + (withoutSuffix ? ' цаг' : ' цагийн');\n\n case 'd':\n case 'dd':\n return number + (withoutSuffix ? ' өдөр' : ' өдрийн');\n\n case 'M':\n case 'MM':\n return number + (withoutSuffix ? ' Ñар' : ' Ñарын');\n\n case 'y':\n case 'yy':\n return number + (withoutSuffix ? ' жил' : ' жилийн');\n\n default:\n return number;\n }\n }\n\n var mn = moment.defineLocale('mn', {\n months: 'ÐÑгдүгÑÑÑ€ Ñар_Хоёрдугаар Ñар_Гуравдугаар Ñар_ДөрөвдүгÑÑÑ€ Ñар_Тавдугаар Ñар_Зургадугаар Ñар_Долдугаар Ñар_Ðаймдугаар Ñар_ЕÑдүгÑÑÑ€ Ñар_Ðравдугаар Ñар_Ðрван нÑгдүгÑÑÑ€ Ñар_Ðрван хоёрдугаар Ñар'.split('_'),\n monthsShort: '1 Ñар_2 Ñар_3 Ñар_4 Ñар_5 Ñар_6 Ñар_7 Ñар_8 Ñар_9 Ñар_10 Ñар_11 Ñар_12 Ñар'.split('_'),\n monthsParseExact: true,\n weekdays: 'ÐÑм_Даваа_ÐœÑгмар_Лхагва_ПүрÑв_БааÑан_БÑмба'.split('_'),\n weekdaysShort: 'ÐÑм_Дав_ÐœÑг_Лха_Пүр_Баа_БÑм'.split('_'),\n weekdaysMin: 'ÐÑ_Да_ÐœÑ_Лх_Пү_Ба_БÑ'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY оны MMMMын D',\n LLL: 'YYYY оны MMMMын D HH:mm',\n LLLL: 'dddd, YYYY оны MMMMын D HH:mm'\n },\n meridiemParse: /Ò®Ó¨|ҮХ/i,\n isPM: function isPM(input) {\n return input === 'ҮХ';\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'Ò®Ó¨';\n } else {\n return 'ҮХ';\n }\n },\n calendar: {\n sameDay: '[Өнөөдөр] LT',\n nextDay: '[Маргааш] LT',\n nextWeek: '[ИрÑÑ…] dddd LT',\n lastDay: '[Өчигдөр] LT',\n lastWeek: '[ӨнгөрÑөн] dddd LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s дараа',\n past: '%s өмнө',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2} өдөр/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + ' өдөр';\n\n default:\n return number;\n }\n }\n });\n return mn;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': 'à¥',\n '8': '८',\n '9': '९',\n '0': '०'\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n 'à¥': '7',\n '८': '8',\n '९': '9',\n '०': '0'\n };\n\n function relativeTimeMr(number, withoutSuffix, string, isFuture) {\n var output = '';\n\n if (withoutSuffix) {\n switch (string) {\n case 's':\n output = 'काही सेकंद';\n break;\n\n case 'ss':\n output = '%d सेकंद';\n break;\n\n case 'm':\n output = 'à¤à¤• मिनिट';\n break;\n\n case 'mm':\n output = '%d मिनिटे';\n break;\n\n case 'h':\n output = 'à¤à¤• तास';\n break;\n\n case 'hh':\n output = '%d तास';\n break;\n\n case 'd':\n output = 'à¤à¤• दिवस';\n break;\n\n case 'dd':\n output = '%d दिवस';\n break;\n\n case 'M':\n output = 'à¤à¤• महिना';\n break;\n\n case 'MM':\n output = '%d महिने';\n break;\n\n case 'y':\n output = 'à¤à¤• वरà¥à¤·';\n break;\n\n case 'yy':\n output = '%d वरà¥à¤·à¥‡';\n break;\n }\n } else {\n switch (string) {\n case 's':\n output = 'काही सेकंदां';\n break;\n\n case 'ss':\n output = '%d सेकंदां';\n break;\n\n case 'm':\n output = 'à¤à¤•à¤¾ मिनिटा';\n break;\n\n case 'mm':\n output = '%d मिनिटां';\n break;\n\n case 'h':\n output = 'à¤à¤•à¤¾ तासा';\n break;\n\n case 'hh':\n output = '%d तासां';\n break;\n\n case 'd':\n output = 'à¤à¤•à¤¾ दिवसा';\n break;\n\n case 'dd':\n output = '%d दिवसां';\n break;\n\n case 'M':\n output = 'à¤à¤•à¤¾ महिनà¥à¤¯à¤¾';\n break;\n\n case 'MM':\n output = '%d महिनà¥à¤¯à¤¾à¤‚';\n break;\n\n case 'y':\n output = 'à¤à¤•à¤¾ वरà¥à¤·à¤¾';\n break;\n\n case 'yy':\n output = '%d वरà¥à¤·à¤¾à¤‚';\n break;\n }\n }\n\n return output.replace(/%d/i, number);\n }\n\n var mr = moment.defineLocale('mr', {\n months: 'जानेवारी_फेबà¥à¤°à¥à¤µà¤¾à¤°à¥€_मारà¥à¤š_à¤à¤ªà¥à¤°à¤¿à¤²_मे_जून_जà¥à¤²à¥ˆ_ऑगसà¥à¤Ÿ_सपà¥à¤Ÿà¥‡à¤‚बर_ऑकà¥à¤Ÿà¥‹à¤¬à¤°_नोवà¥à¤¹à¥‡à¤‚बर_डिसेंबर'.split('_'),\n monthsShort: 'जाने._फेबà¥à¤°à¥._मारà¥à¤š._à¤à¤ªà¥à¤°à¤¿._मे._जून._जà¥à¤²à¥ˆ._ऑग._सपà¥à¤Ÿà¥‡à¤‚._ऑकà¥à¤Ÿà¥‹._नोवà¥à¤¹à¥‡à¤‚._डिसें.'.split('_'),\n monthsParseExact: true,\n weekdays: 'रविवार_सोमवार_मंगळवार_बà¥à¤§à¤µà¤¾à¤°_गà¥à¤°à¥‚वार_शà¥à¤•à¥à¤°à¤µà¤¾à¤°_शनिवार'.split('_'),\n weekdaysShort: 'रवि_सोम_मंगळ_बà¥à¤§_गà¥à¤°à¥‚_शà¥à¤•à¥à¤°_शनि'.split('_'),\n weekdaysMin: 'र_सो_मं_बà¥_गà¥_शà¥_श'.split('_'),\n longDateFormat: {\n LT: 'A h:mm वाजता',\n LTS: 'A h:mm:ss वाजता',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm वाजता',\n LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता'\n },\n calendar: {\n sameDay: '[आज] LT',\n nextDay: '[उदà¥à¤¯à¤¾] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[काल] LT',\n lastWeek: '[मागील] dddd, LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%sमधà¥à¤¯à¥‡',\n past: '%sपूरà¥à¤µà¥€',\n s: relativeTimeMr,\n ss: relativeTimeMr,\n m: relativeTimeMr,\n mm: relativeTimeMr,\n h: relativeTimeMr,\n hh: relativeTimeMr,\n d: relativeTimeMr,\n dd: relativeTimeMr,\n M: relativeTimeMr,\n MM: relativeTimeMr,\n y: relativeTimeMr,\n yy: relativeTimeMr\n },\n preparse: function preparse(string) {\n return string.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /रातà¥à¤°à¥€|सकाळी|दà¥à¤ªà¤¾à¤°à¥€|सायंकाळी/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'रातà¥à¤°à¥€') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'सकाळी') {\n return hour;\n } else if (meridiem === 'दà¥à¤ªà¤¾à¤°à¥€') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'सायंकाळी') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'रातà¥à¤°à¥€';\n } else if (hour < 10) {\n return 'सकाळी';\n } else if (hour < 17) {\n return 'दà¥à¤ªà¤¾à¤°à¥€';\n } else if (hour < 20) {\n return 'सायंकाळी';\n } else {\n return 'रातà¥à¤°à¥€';\n }\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n }\n });\n return mr;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var ms = moment.defineLocale('ms', {\n months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),\n monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),\n weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),\n weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),\n weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [pukul] HH.mm',\n LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'\n },\n meridiemParse: /pagi|tengahari|petang|malam/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'pagi') {\n return hour;\n } else if (meridiem === 'tengahari') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'petang' || meridiem === 'malam') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hours, minutes, isLower) {\n if (hours < 11) {\n return 'pagi';\n } else if (hours < 15) {\n return 'tengahari';\n } else if (hours < 19) {\n return 'petang';\n } else {\n return 'malam';\n }\n },\n calendar: {\n sameDay: '[Hari ini pukul] LT',\n nextDay: '[Esok pukul] LT',\n nextWeek: 'dddd [pukul] LT',\n lastDay: '[Kelmarin pukul] LT',\n lastWeek: 'dddd [lepas pukul] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'dalam %s',\n past: '%s yang lepas',\n s: 'beberapa saat',\n ss: '%d saat',\n m: 'seminit',\n mm: '%d minit',\n h: 'sejam',\n hh: '%d jam',\n d: 'sehari',\n dd: '%d hari',\n M: 'sebulan',\n MM: '%d bulan',\n y: 'setahun',\n yy: '%d tahun'\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return ms;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var msMy = moment.defineLocale('ms-my', {\n months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),\n monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),\n weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),\n weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),\n weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [pukul] HH.mm',\n LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'\n },\n meridiemParse: /pagi|tengahari|petang|malam/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'pagi') {\n return hour;\n } else if (meridiem === 'tengahari') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'petang' || meridiem === 'malam') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hours, minutes, isLower) {\n if (hours < 11) {\n return 'pagi';\n } else if (hours < 15) {\n return 'tengahari';\n } else if (hours < 19) {\n return 'petang';\n } else {\n return 'malam';\n }\n },\n calendar: {\n sameDay: '[Hari ini pukul] LT',\n nextDay: '[Esok pukul] LT',\n nextWeek: 'dddd [pukul] LT',\n lastDay: '[Kelmarin pukul] LT',\n lastWeek: 'dddd [lepas pukul] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'dalam %s',\n past: '%s yang lepas',\n s: 'beberapa saat',\n ss: '%d saat',\n m: 'seminit',\n mm: '%d minit',\n h: 'sejam',\n hh: '%d jam',\n d: 'sehari',\n dd: '%d hari',\n M: 'sebulan',\n MM: '%d bulan',\n y: 'setahun',\n yy: '%d tahun'\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return msMy;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var mt = moment.defineLocale('mt', {\n months: 'Jannar_Frar_Marzu_April_Mejju_Ä unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_DiÄ‹embru'.split('_'),\n monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ä un_Lul_Aww_Set_Ott_Nov_DiÄ‹'.split('_'),\n weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ä imgħa_Is-Sibt'.split('_'),\n weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ä im_Sib'.split('_'),\n weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ä i_Si'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Illum fil-]LT',\n nextDay: '[Għada fil-]LT',\n nextWeek: 'dddd [fil-]LT',\n lastDay: '[Il-bieraħ fil-]LT',\n lastWeek: 'dddd [li għadda] [fil-]LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'f’ %s',\n past: '%s ilu',\n s: 'ftit sekondi',\n ss: '%d sekondi',\n m: 'minuta',\n mm: '%d minuti',\n h: 'siegħa',\n hh: '%d siegħat',\n d: 'Ä¡urnata',\n dd: '%d Ä¡ranet',\n M: 'xahar',\n MM: '%d xhur',\n y: 'sena',\n yy: '%d sni'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return mt;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': 'á',\n '2': 'á‚',\n '3': 'áƒ',\n '4': 'á„',\n '5': 'á…',\n '6': 'á†',\n '7': 'á‡',\n '8': 'áˆ',\n '9': 'á‰',\n '0': 'á€'\n },\n numberMap = {\n 'á': '1',\n 'á‚': '2',\n 'áƒ': '3',\n 'á„': '4',\n 'á…': '5',\n 'á†': '6',\n 'á‡': '7',\n 'áˆ': '8',\n 'á‰': '9',\n 'á€': '0'\n };\n var my = moment.defineLocale('my', {\n months: 'ဇန်နá€á€«á€›á€®_ဖေဖော်á€á€«á€›á€®_မá€á€º_ဧပြီ_မေ_ဇွန်_ဇူလá€á€¯á€„်_သြဂုá€á€º_စက်á€á€„်ဘာ_အောက်á€á€á€¯á€˜á€¬_နá€á€¯á€á€„်ဘာ_ဒီဇင်ဘာ'.split('_'),\n monthsShort: 'ဇန်_ဖေ_မá€á€º_ပြီ_မေ_ဇွန်_လá€á€¯á€„်_သြ_စက်_အောက်_နá€á€¯_ဒီ'.split('_'),\n weekdays: 'á€á€”င်္ဂနွေ_á€á€”င်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပá€á€±á€¸_သောကြာ_စနေ'.split('_'),\n weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),\n weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[ယနေ.] LT [မှာ]',\n nextDay: '[မနက်ဖြန်] LT [မှာ]',\n nextWeek: 'dddd LT [မှာ]',\n lastDay: '[မနေ.က] LT [မှာ]',\n lastWeek: '[ပြီးá€á€²á€·á€žá€±á€¬] dddd LT [မှာ]',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'လာမည့် %s မှာ',\n past: 'လွန်á€á€²á€·á€žá€±á€¬ %s က',\n s: 'စက္ကန်.အနည်းငယ်',\n ss: '%d စက္ကန့်',\n m: 'á€á€…်မá€á€”စ်',\n mm: '%d မá€á€”စ်',\n h: 'á€á€…်နာရီ',\n hh: '%d နာရီ',\n d: 'á€á€…်ရက်',\n dd: '%d ရက်',\n M: 'á€á€…်လ',\n MM: '%d လ',\n y: 'á€á€…်နှစ်',\n yy: '%d နှစ်'\n },\n preparse: function preparse(string) {\n return string.replace(/[áá‚áƒá„á…á†á‡áˆá‰á€]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return my;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var nb = moment.defineLocale('nb', {\n months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),\n monthsShort: 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),\n monthsParseExact: true,\n weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),\n weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),\n weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY [kl.] HH:mm',\n LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm'\n },\n calendar: {\n sameDay: '[i dag kl.] LT',\n nextDay: '[i morgen kl.] LT',\n nextWeek: 'dddd [kl.] LT',\n lastDay: '[i gÃ¥r kl.] LT',\n lastWeek: '[forrige] dddd [kl.] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'om %s',\n past: '%s siden',\n s: 'noen sekunder',\n ss: '%d sekunder',\n m: 'ett minutt',\n mm: '%d minutter',\n h: 'en time',\n hh: '%d timer',\n d: 'en dag',\n dd: '%d dager',\n M: 'en mÃ¥ned',\n MM: '%d mÃ¥neder',\n y: 'ett Ã¥r',\n yy: '%d Ã¥r'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return nb;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': 'à¥',\n '8': '८',\n '9': '९',\n '0': '०'\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n 'à¥': '7',\n '८': '8',\n '९': '9',\n '०': '0'\n };\n var ne = moment.defineLocale('ne', {\n months: 'जनवरी_फेबà¥à¤°à¥à¤µà¤°à¥€_मारà¥à¤š_अपà¥à¤°à¤¿à¤²_मई_जà¥à¤¨_जà¥à¤²à¤¾à¤ˆ_अगषà¥à¤Ÿ_सेपà¥à¤Ÿà¥‡à¤®à¥à¤¬à¤°_अकà¥à¤Ÿà¥‹à¤¬à¤°_नोà¤à¥‡à¤®à¥à¤¬à¤°_डिसेमà¥à¤¬à¤°'.split('_'),\n monthsShort: 'जन._फेबà¥à¤°à¥._मारà¥à¤š_अपà¥à¤°à¤¿._मई_जà¥à¤¨_जà¥à¤²à¤¾à¤ˆ._अग._सेपà¥à¤Ÿ._अकà¥à¤Ÿà¥‹._नोà¤à¥‡._डिसे.'.split('_'),\n monthsParseExact: true,\n weekdays: 'आइतबार_सोमबार_मङà¥à¤—लबार_बà¥à¤§à¤¬à¤¾à¤°_बिहिबार_शà¥à¤•à¥à¤°à¤¬à¤¾à¤°_शनिबार'.split('_'),\n weekdaysShort: 'आइत._सोम._मङà¥à¤—ल._बà¥à¤§._बिहि._शà¥à¤•à¥à¤°._शनि.'.split('_'),\n weekdaysMin: 'आ._सो._मं._बà¥._बि._शà¥._श.'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'Aको h:mm बजे',\n LTS: 'Aको h:mm:ss बजे',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, Aको h:mm बजे',\n LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे'\n },\n preparse: function preparse(string) {\n return string.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /राति|बिहान|दिउà¤à¤¸à¥‹|साà¤à¤/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'राति') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'बिहान') {\n return hour;\n } else if (meridiem === 'दिउà¤à¤¸à¥‹') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'साà¤à¤') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 3) {\n return 'राति';\n } else if (hour < 12) {\n return 'बिहान';\n } else if (hour < 16) {\n return 'दिउà¤à¤¸à¥‹';\n } else if (hour < 20) {\n return 'साà¤à¤';\n } else {\n return 'राति';\n }\n },\n calendar: {\n sameDay: '[आज] LT',\n nextDay: '[à¤à¥‹à¤²à¤¿] LT',\n nextWeek: '[आउà¤à¤¦à¥‹] dddd[,] LT',\n lastDay: '[हिजो] LT',\n lastWeek: '[गà¤à¤•à¥‹] dddd[,] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%sमा',\n past: '%s अगाडि',\n s: 'केही कà¥à¤·à¤£',\n ss: '%d सेकेणà¥à¤¡',\n m: 'à¤à¤• मिनेट',\n mm: '%d मिनेट',\n h: 'à¤à¤• घणà¥à¤Ÿà¤¾',\n hh: '%d घणà¥à¤Ÿà¤¾',\n d: 'à¤à¤• दिन',\n dd: '%d दिन',\n M: 'à¤à¤• महिना',\n MM: '%d महिना',\n y: 'à¤à¤• बरà¥à¤·',\n yy: '%d बरà¥à¤·'\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n }\n });\n return ne;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');\n var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];\n var monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n var nl = moment.defineLocale('nl', {\n months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),\n monthsShort: function monthsShort(m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n monthsShortStrictRegex: /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),\n weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),\n weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD-MM-YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[vandaag om] LT',\n nextDay: '[morgen om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[gisteren om] LT',\n lastWeek: '[afgelopen] dddd [om] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'over %s',\n past: '%s geleden',\n s: 'een paar seconden',\n ss: '%d seconden',\n m: 'één minuut',\n mm: '%d minuten',\n h: 'één uur',\n hh: '%d uur',\n d: 'één dag',\n dd: '%d dagen',\n M: 'één maand',\n MM: '%d maanden',\n y: 'één jaar',\n yy: '%d jaar'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function ordinal(number) {\n return number + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de');\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return nl;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),\n monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');\n var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];\n var monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n var nlBe = moment.defineLocale('nl-be', {\n months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),\n monthsShort: function monthsShort(m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n monthsShortStrictRegex: /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),\n weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),\n weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[vandaag om] LT',\n nextDay: '[morgen om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[gisteren om] LT',\n lastWeek: '[afgelopen] dddd [om] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'over %s',\n past: '%s geleden',\n s: 'een paar seconden',\n ss: '%d seconden',\n m: 'één minuut',\n mm: '%d minuten',\n h: 'één uur',\n hh: '%d uur',\n d: 'één dag',\n dd: '%d dagen',\n M: 'één maand',\n MM: '%d maanden',\n y: 'één jaar',\n yy: '%d jaar'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function ordinal(number) {\n return number + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de');\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return nlBe;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var nn = moment.defineLocale('nn', {\n months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),\n monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),\n weekdays: 'sundag_mÃ¥ndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),\n weekdaysShort: 'sun_mÃ¥n_tys_ons_tor_fre_lau'.split('_'),\n weekdaysMin: 'su_mÃ¥_ty_on_to_fr_lø'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY [kl.] H:mm',\n LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm'\n },\n calendar: {\n sameDay: '[I dag klokka] LT',\n nextDay: '[I morgon klokka] LT',\n nextWeek: 'dddd [klokka] LT',\n lastDay: '[I gÃ¥r klokka] LT',\n lastWeek: '[FøregÃ¥ande] dddd [klokka] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'om %s',\n past: '%s sidan',\n s: 'nokre sekund',\n ss: '%d sekund',\n m: 'eit minutt',\n mm: '%d minutt',\n h: 'ein time',\n hh: '%d timar',\n d: 'ein dag',\n dd: '%d dagar',\n M: 'ein mÃ¥nad',\n MM: '%d mÃ¥nader',\n y: 'eit Ã¥r',\n yy: '%d Ã¥r'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return nn;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': '੧',\n '2': '੨',\n '3': 'à©©',\n '4': '੪',\n '5': 'à©«',\n '6': '੬',\n '7': 'à©',\n '8': 'à©®',\n '9': '੯',\n '0': '੦'\n },\n numberMap = {\n '੧': '1',\n '੨': '2',\n 'à©©': '3',\n '੪': '4',\n 'à©«': '5',\n '੬': '6',\n 'à©': '7',\n 'à©®': '8',\n '੯': '9',\n '੦': '0'\n };\n var paIn = moment.defineLocale('pa-in', {\n // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.\n months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪà©à¨°à©ˆà¨²_ਮਈ_ਜੂਨ_ਜà©à¨²à¨¾à¨ˆ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),\n monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪà©à¨°à©ˆà¨²_ਮਈ_ਜੂਨ_ਜà©à¨²à¨¾à¨ˆ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),\n weekdays: 'à¨à¨¤à¨µà¨¾à¨°_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬà©à¨§à¨µà¨¾à¨°_ਵੀਰਵਾਰ_ਸ਼à©à©±à¨•à¨°à¨µà¨¾à¨°_ਸ਼ਨੀਚਰਵਾਰ'.split('_'),\n weekdaysShort: 'à¨à¨¤_ਸੋਮ_ਮੰਗਲ_ਬà©à¨§_ਵੀਰ_ਸ਼à©à¨•à¨°_ਸ਼ਨੀ'.split('_'),\n weekdaysMin: 'à¨à¨¤_ਸੋਮ_ਮੰਗਲ_ਬà©à¨§_ਵੀਰ_ਸ਼à©à¨•à¨°_ਸ਼ਨੀ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm ਵਜੇ',\n LTS: 'A h:mm:ss ਵਜੇ',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',\n LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ'\n },\n calendar: {\n sameDay: '[ਅਜ] LT',\n nextDay: '[ਕਲ] LT',\n nextWeek: '[ਅਗਲਾ] dddd, LT',\n lastDay: '[ਕਲ] LT',\n lastWeek: '[ਪਿਛਲੇ] dddd, LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s ਵਿੱਚ',\n past: '%s ਪਿਛਲੇ',\n s: 'ਕà©à¨ ਸਕਿੰਟ',\n ss: '%d ਸਕਿੰਟ',\n m: 'ਇਕ ਮਿੰਟ',\n mm: '%d ਮਿੰਟ',\n h: 'ਇੱਕ ਘੰਟਾ',\n hh: '%d ਘੰਟੇ',\n d: 'ਇੱਕ ਦਿਨ',\n dd: '%d ਦਿਨ',\n M: 'ਇੱਕ ਮਹੀਨਾ',\n MM: '%d ਮਹੀਨੇ',\n y: 'ਇੱਕ ਸਾਲ',\n yy: '%d ਸਾਲ'\n },\n preparse: function preparse(string) {\n return string.replace(/[੧੨੩੪੫੬à©à©®à©¯à©¦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Punjabi notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.\n meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦà©à¨ªà¨¹à¨¿à¨°|ਸ਼ਾਮ/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'ਰਾਤ') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ਸਵੇਰ') {\n return hour;\n } else if (meridiem === 'ਦà©à¨ªà¨¹à¨¿à¨°') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'ਸ਼ਾਮ') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'ਰਾਤ';\n } else if (hour < 10) {\n return 'ਸਵੇਰ';\n } else if (hour < 17) {\n return 'ਦà©à¨ªà¨¹à¨¿à¨°';\n } else if (hour < 20) {\n return 'ਸ਼ਾਮ';\n } else {\n return 'ਰਾਤ';\n }\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n }\n });\n return paIn;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var monthsNominative = 'styczeÅ„_luty_marzec_kwiecieÅ„_maj_czerwiec_lipiec_sierpieÅ„_wrzesieÅ„_październik_listopad_grudzieÅ„'.split('_'),\n monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrzeÅ›nia_października_listopada_grudnia'.split('_');\n\n function plural(n) {\n return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;\n }\n\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n\n switch (key) {\n case 'ss':\n return result + (plural(number) ? 'sekundy' : 'sekund');\n\n case 'm':\n return withoutSuffix ? 'minuta' : 'minutÄ™';\n\n case 'mm':\n return result + (plural(number) ? 'minuty' : 'minut');\n\n case 'h':\n return withoutSuffix ? 'godzina' : 'godzinÄ™';\n\n case 'hh':\n return result + (plural(number) ? 'godziny' : 'godzin');\n\n case 'MM':\n return result + (plural(number) ? 'miesiÄ…ce' : 'miesiÄ™cy');\n\n case 'yy':\n return result + (plural(number) ? 'lata' : 'lat');\n }\n }\n\n var pl = moment.defineLocale('pl', {\n months: function months(momentToFormat, format) {\n if (!momentToFormat) {\n return monthsNominative;\n } else if (format === '') {\n // Hack: if format empty we know this is used to generate\n // RegExp by moment. Give then back both valid forms of months\n // in RegExp ready format.\n return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')';\n } else if (/D MMMM/.test(format)) {\n return monthsSubjective[momentToFormat.month()];\n } else {\n return monthsNominative[momentToFormat.month()];\n }\n },\n monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),\n weekdays: 'niedziela_poniedziaÅ‚ek_wtorek_Å›roda_czwartek_piÄ…tek_sobota'.split('_'),\n weekdaysShort: 'ndz_pon_wt_Å›r_czw_pt_sob'.split('_'),\n weekdaysMin: 'Nd_Pn_Wt_Åšr_Cz_Pt_So'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[DziÅ› o] LT',\n nextDay: '[Jutro o] LT',\n nextWeek: function nextWeek() {\n switch (this.day()) {\n case 0:\n return '[W niedzielÄ™ o] LT';\n\n case 2:\n return '[We wtorek o] LT';\n\n case 3:\n return '[W Å›rodÄ™ o] LT';\n\n case 6:\n return '[W sobotÄ™ o] LT';\n\n default:\n return '[W] dddd [o] LT';\n }\n },\n lastDay: '[Wczoraj o] LT',\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n return '[W zeszÅ‚Ä… niedzielÄ™ o] LT';\n\n case 3:\n return '[W zeszÅ‚Ä… Å›rodÄ™ o] LT';\n\n case 6:\n return '[W zeszÅ‚Ä… sobotÄ™ o] LT';\n\n default:\n return '[W zeszÅ‚y] dddd [o] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'za %s',\n past: '%s temu',\n s: 'kilka sekund',\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: '1 dzieÅ„',\n dd: '%d dni',\n M: 'miesiÄ…c',\n MM: translate,\n y: 'rok',\n yy: translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return pl;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var pt = moment.defineLocale('pt', {\n months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),\n monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),\n weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),\n weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),\n weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY HH:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Hoje à s] LT',\n nextDay: '[Amanhã à s] LT',\n nextWeek: 'dddd [à s] LT',\n lastDay: '[Ontem à s] LT',\n lastWeek: function lastWeek() {\n return this.day() === 0 || this.day() === 6 ? '[Último] dddd [à s] LT' : // Saturday + Sunday\n '[Última] dddd [à s] LT'; // Monday - Friday\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'em %s',\n past: 'há %s',\n s: 'segundos',\n ss: '%d segundos',\n m: 'um minuto',\n mm: '%d minutos',\n h: 'uma hora',\n hh: '%d horas',\n d: 'um dia',\n dd: '%d dias',\n M: 'um mês',\n MM: '%d meses',\n y: 'um ano',\n yy: '%d anos'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return pt;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var ptBr = moment.defineLocale('pt-br', {\n months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),\n monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),\n weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),\n weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),\n weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY [à s] HH:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY [à s] HH:mm'\n },\n calendar: {\n sameDay: '[Hoje à s] LT',\n nextDay: '[Amanhã à s] LT',\n nextWeek: 'dddd [à s] LT',\n lastDay: '[Ontem à s] LT',\n lastWeek: function lastWeek() {\n return this.day() === 0 || this.day() === 6 ? '[Último] dddd [à s] LT' : // Saturday + Sunday\n '[Última] dddd [à s] LT'; // Monday - Friday\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'em %s',\n past: 'há %s',\n s: 'poucos segundos',\n ss: '%d segundos',\n m: 'um minuto',\n mm: '%d minutos',\n h: 'uma hora',\n hh: '%d horas',\n d: 'um dia',\n dd: '%d dias',\n M: 'um mês',\n MM: '%d meses',\n y: 'um ano',\n yy: '%d anos'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº'\n });\n return ptBr;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n 'ss': 'secunde',\n 'mm': 'minute',\n 'hh': 'ore',\n 'dd': 'zile',\n 'MM': 'luni',\n 'yy': 'ani'\n },\n separator = ' ';\n\n if (number % 100 >= 20 || number >= 100 && number % 100 === 0) {\n separator = ' de ';\n }\n\n return number + separator + format[key];\n }\n\n var ro = moment.defineLocale('ro', {\n months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'),\n monthsShort: 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'),\n monthsParseExact: true,\n weekdays: 'duminică_luni_marÈ›i_miercuri_joi_vineri_sâmbătă'.split('_'),\n weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),\n weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY H:mm',\n LLLL: 'dddd, D MMMM YYYY H:mm'\n },\n calendar: {\n sameDay: '[azi la] LT',\n nextDay: '[mâine la] LT',\n nextWeek: 'dddd [la] LT',\n lastDay: '[ieri la] LT',\n lastWeek: '[fosta] dddd [la] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'peste %s',\n past: '%s în urmă',\n s: 'câteva secunde',\n ss: relativeTimeWithPlural,\n m: 'un minut',\n mm: relativeTimeWithPlural,\n h: 'o oră',\n hh: relativeTimeWithPlural,\n d: 'o zi',\n dd: relativeTimeWithPlural,\n M: 'o lună',\n MM: relativeTimeWithPlural,\n y: 'un an',\n yy: relativeTimeWithPlural\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return ro;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function plural(word, num) {\n var forms = word.split('_');\n return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2];\n }\n\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n 'ss': withoutSuffix ? 'Ñекунда_Ñекунды_Ñекунд' : 'Ñекунду_Ñекунды_Ñекунд',\n 'mm': withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',\n 'hh': 'чаÑ_чаÑа_чаÑов',\n 'dd': 'день_днÑ_дней',\n 'MM': 'меÑÑц_меÑÑца_меÑÑцев',\n 'yy': 'год_года_лет'\n };\n\n if (key === 'm') {\n return withoutSuffix ? 'минута' : 'минуту';\n } else {\n return number + ' ' + plural(format[key], +number);\n }\n }\n\n var monthsParse = [/^Ñнв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йÑ]/i, /^июн/i, /^июл/i, /^авг/i, /^Ñен/i, /^окт/i, /^ноÑ/i, /^дек/i]; // http://new.gramota.ru/spravka/rules/139-prop : § 103\n // Ð¡Ð¾ÐºÑ€Ð°Ñ‰ÐµÐ½Ð¸Ñ Ð¼ÐµÑÑцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637\n // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753\n\n var ru = moment.defineLocale('ru', {\n months: {\n format: 'ÑнварÑ_февралÑ_марта_апрелÑ_маÑ_июнÑ_июлÑ_авгуÑта_ÑентÑбрÑ_октÑбрÑ_ноÑбрÑ_декабрÑ'.split('_'),\n standalone: 'Ñнварь_февраль_март_апрель_май_июнь_июль_авгуÑÑ‚_ÑентÑбрь_октÑбрь_ноÑбрь_декабрь'.split('_')\n },\n monthsShort: {\n // по CLDR именно \"июл.\" и \"июн.\", но какой ÑмыÑл менÑÑ‚ÑŒ букву на точку ?\n format: 'Ñнв._февр._мар._апр._маÑ_июнÑ_июлÑ_авг._Ñент._окт._ноÑб._дек.'.split('_'),\n standalone: 'Ñнв._февр._март_апр._май_июнь_июль_авг._Ñент._окт._ноÑб._дек.'.split('_')\n },\n weekdays: {\n standalone: 'воÑкреÑенье_понедельник_вторник_Ñреда_четверг_пÑтница_Ñуббота'.split('_'),\n format: 'воÑкреÑенье_понедельник_вторник_Ñреду_четверг_пÑтницу_Ñубботу'.split('_'),\n isFormat: /\\[ ?[Вв] ?(?:прошлую|Ñледующую|Ñту)? ?\\] ?dddd/\n },\n weekdaysShort: 'вÑ_пн_вт_ÑÑ€_чт_пт_Ñб'.split('_'),\n weekdaysMin: 'вÑ_пн_вт_ÑÑ€_чт_пт_Ñб'.split('_'),\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n // полные Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ñ Ð¿Ð°Ð´ÐµÐ¶Ð°Ð¼Ð¸, по три буквы, Ð´Ð»Ñ Ð½ÐµÐºÐ¾Ñ‚Ð¾Ñ€Ñ‹Ñ…, по 4 буквы, ÑÐ¾ÐºÑ€Ð°Ñ‰ÐµÐ½Ð¸Ñ Ñ Ñ‚Ð¾Ñ‡ÐºÐ¾Ð¹ и без точки\n monthsRegex: /^(Ñнвар[ÑŒÑ]|Ñнв\\.?|феврал[ÑŒÑ]|февр?\\.?|марта?|мар\\.?|апрел[ÑŒÑ]|апр\\.?|ма[йÑ]|июн[ÑŒÑ]|июн\\.?|июл[ÑŒÑ]|июл\\.?|авгуÑта?|авг\\.?|ÑентÑбр[ÑŒÑ]|Ñент?\\.?|октÑбр[ÑŒÑ]|окт\\.?|ноÑбр[ÑŒÑ]|ноÑб?\\.?|декабр[ÑŒÑ]|дек\\.?)/i,\n // ÐºÐ¾Ð¿Ð¸Ñ Ð¿Ñ€ÐµÐ´Ñ‹Ð´ÑƒÑ‰ÐµÐ³Ð¾\n monthsShortRegex: /^(Ñнвар[ÑŒÑ]|Ñнв\\.?|феврал[ÑŒÑ]|февр?\\.?|марта?|мар\\.?|апрел[ÑŒÑ]|апр\\.?|ма[йÑ]|июн[ÑŒÑ]|июн\\.?|июл[ÑŒÑ]|июл\\.?|авгуÑта?|авг\\.?|ÑентÑбр[ÑŒÑ]|Ñент?\\.?|октÑбр[ÑŒÑ]|окт\\.?|ноÑбр[ÑŒÑ]|ноÑб?\\.?|декабр[ÑŒÑ]|дек\\.?)/i,\n // полные Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ñ Ð¿Ð°Ð´ÐµÐ¶Ð°Ð¼Ð¸\n monthsStrictRegex: /^(Ñнвар[ÑÑŒ]|феврал[ÑÑŒ]|марта?|апрел[ÑÑŒ]|ма[Ñй]|июн[ÑÑŒ]|июл[ÑÑŒ]|авгуÑта?|ÑентÑбр[ÑÑŒ]|октÑбр[ÑÑŒ]|ноÑбр[ÑÑŒ]|декабр[ÑÑŒ])/i,\n // Выражение, которое ÑоотвеÑтвует только Ñокращённым формам\n monthsShortStrictRegex: /^(Ñнв\\.|февр?\\.|мар[Ñ‚.]|апр\\.|ма[Ñй]|июн[ÑŒÑ.]|июл[ÑŒÑ.]|авг\\.|Ñент?\\.|окт\\.|ноÑб?\\.|дек\\.)/i,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY г.',\n LLL: 'D MMMM YYYY г., H:mm',\n LLLL: 'dddd, D MMMM YYYY г., H:mm'\n },\n calendar: {\n sameDay: '[СегоднÑ, в] LT',\n nextDay: '[Завтра, в] LT',\n lastDay: '[Вчера, в] LT',\n nextWeek: function nextWeek(now) {\n if (now.week() !== this.week()) {\n switch (this.day()) {\n case 0:\n return '[Ð’ Ñледующее] dddd, [в] LT';\n\n case 1:\n case 2:\n case 4:\n return '[Ð’ Ñледующий] dddd, [в] LT';\n\n case 3:\n case 5:\n case 6:\n return '[Ð’ Ñледующую] dddd, [в] LT';\n }\n } else {\n if (this.day() === 2) {\n return '[Во] dddd, [в] LT';\n } else {\n return '[Ð’] dddd, [в] LT';\n }\n }\n },\n lastWeek: function lastWeek(now) {\n if (now.week() !== this.week()) {\n switch (this.day()) {\n case 0:\n return '[Ð’ прошлое] dddd, [в] LT';\n\n case 1:\n case 2:\n case 4:\n return '[Ð’ прошлый] dddd, [в] LT';\n\n case 3:\n case 5:\n case 6:\n return '[Ð’ прошлую] dddd, [в] LT';\n }\n } else {\n if (this.day() === 2) {\n return '[Во] dddd, [в] LT';\n } else {\n return '[Ð’] dddd, [в] LT';\n }\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'через %s',\n past: '%s назад',\n s: 'неÑколько Ñекунд',\n ss: relativeTimeWithPlural,\n m: relativeTimeWithPlural,\n mm: relativeTimeWithPlural,\n h: 'чаÑ',\n hh: relativeTimeWithPlural,\n d: 'день',\n dd: relativeTimeWithPlural,\n M: 'меÑÑц',\n MM: relativeTimeWithPlural,\n y: 'год',\n yy: relativeTimeWithPlural\n },\n meridiemParse: /ночи|утра|днÑ|вечера/i,\n isPM: function isPM(input) {\n return /^(днÑ|вечера)$/.test(input);\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'ночи';\n } else if (hour < 12) {\n return 'утра';\n } else if (hour < 17) {\n return 'днÑ';\n } else {\n return 'вечера';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(й|го|Ñ)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n case 'M':\n case 'd':\n case 'DDD':\n return number + '-й';\n\n case 'D':\n return number + '-го';\n\n case 'w':\n case 'W':\n return number + '-Ñ';\n\n default:\n return number;\n }\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return ru;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var months = ['جنوري', 'Ùيبروري', 'مارچ', 'اپريل', 'مئي', 'جون', 'جولاءÙ', 'آگسٽ', 'سيپٽمبر', 'آڪٽوبر', 'نومبر', 'ڊسمبر'];\n var days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];\n var sd = moment.defineLocale('sd', {\n months: months,\n monthsShort: months,\n weekdays: days,\n weekdaysShort: days,\n weekdaysMin: days,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'ddddØŒ D MMMM YYYY HH:mm'\n },\n meridiemParse: /صبØ|شام/,\n isPM: function isPM(input) {\n return 'شام' === input;\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'صبØ';\n }\n\n return 'شام';\n },\n calendar: {\n sameDay: '[اڄ] LT',\n nextDay: '[سڀاڻي] LT',\n nextWeek: 'dddd [اڳين Ù‡Ùتي تي] LT',\n lastDay: '[ڪالهه] LT',\n lastWeek: '[گزريل Ù‡Ùتي] dddd [تي] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s پوء',\n past: '%s اڳ',\n s: 'چند سيڪنڊ',\n ss: '%d سيڪنڊ',\n m: 'Ù‡Úª منٽ',\n mm: '%d منٽ',\n h: 'Ù‡Úª ڪلاڪ',\n hh: '%d ڪلاڪ',\n d: 'Ù‡Úª Úينهن',\n dd: '%d Úينهن',\n M: 'Ù‡Úª مهينو',\n MM: '%d مهينا',\n y: 'Ù‡Úª سال',\n yy: '%d سال'\n },\n preparse: function preparse(string) {\n return string.replace(/ØŒ/g, ',');\n },\n postformat: function postformat(string) {\n return string.replace(/,/g, 'ØŒ');\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return sd;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var se = moment.defineLocale('se', {\n months: 'oÄ‘Ä‘ajagemánnu_guovvamánnu_njukÄamánnu_cuoÅ‹ománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_ÄakÄamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'),\n monthsShort: 'oÄ‘Ä‘j_guov_njuk_cuo_mies_geas_suoi_borg_ÄakÄ_golg_skáb_juov'.split('_'),\n weekdays: 'sotnabeaivi_vuossárga_maÅ‹Å‹ebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'),\n weekdaysShort: 'sotn_vuos_maÅ‹_gask_duor_bear_láv'.split('_'),\n weekdaysMin: 's_v_m_g_d_b_L'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'MMMM D. [b.] YYYY',\n LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',\n LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm'\n },\n calendar: {\n sameDay: '[otne ti] LT',\n nextDay: '[ihttin ti] LT',\n nextWeek: 'dddd [ti] LT',\n lastDay: '[ikte ti] LT',\n lastWeek: '[ovddit] dddd [ti] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s geažes',\n past: 'maÅ‹it %s',\n s: 'moadde sekunddat',\n ss: '%d sekunddat',\n m: 'okta minuhta',\n mm: '%d minuhtat',\n h: 'okta diimmu',\n hh: '%d diimmut',\n d: 'okta beaivi',\n dd: '%d beaivvit',\n M: 'okta mánnu',\n MM: '%d mánut',\n y: 'okta jahki',\n yy: '%d jagit'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return se;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n /*jshint -W100*/\n\n var si = moment.defineLocale('si', {\n months: 'ජනවà·à¶»à·’_පෙබරවà·à¶»à·’_මà·à¶»à·Šà¶à·”_අප්â€à¶»à·šà¶½à·Š_මà·à¶ºà·’_ජූනි_ජූලි_අගà·à·ƒà·Šà¶à·”_à·ƒà·à¶´à·Šà¶à·à¶¸à·Šà¶¶à¶»à·Š_ඔක්à¶à·à¶¶à¶»à·Š_නොවà·à¶¸à·Šà¶¶à¶»à·Š_දෙසà·à¶¸à·Šà¶¶à¶»à·Š'.split('_'),\n monthsShort: 'ජන_පෙබ_මà·à¶»à·Š_අප්_මà·à¶ºà·’_ජූනි_ජූලි_අගà·_à·ƒà·à¶´à·Š_ඔක්_නොවà·_දෙසà·'.split('_'),\n weekdays: 'ඉරිදà·_සඳුදà·_අඟහරුවà·à¶¯à·_බදà·à¶¯à·_බ්â€à¶»à·„ස්පà¶à·’න්දà·_සිකුරà·à¶¯à·_සෙනසුරà·à¶¯à·'.split('_'),\n weekdaysShort: 'ඉරි_සඳු_අඟ_බදà·_බ්â€à¶»à·„_සිකු_සෙන'.split('_'),\n weekdaysMin: 'ඉ_à·ƒ_අ_බ_බ්â€à¶»_සි_සෙ'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'a h:mm',\n LTS: 'a h:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYY MMMM D',\n LLL: 'YYYY MMMM D, a h:mm',\n LLLL: 'YYYY MMMM D [à·€à·à¶±à·’] dddd, a h:mm:ss'\n },\n calendar: {\n sameDay: '[අද] LT[ට]',\n nextDay: '[හෙට] LT[ට]',\n nextWeek: 'dddd LT[ට]',\n lastDay: '[ඊයේ] LT[ට]',\n lastWeek: '[පසුගිය] dddd LT[ට]',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%sකින්',\n past: '%sකට පෙර',\n s: 'à¶à¶à·Šà¶´à¶» කිහිපය',\n ss: 'à¶à¶à·Šà¶´à¶» %d',\n m: 'මිනිà¶à·Šà¶à·”à·€',\n mm: 'මිනිà¶à·Šà¶à·” %d',\n h: 'පà·à¶º',\n hh: 'පà·à¶º %d',\n d: 'දිනය',\n dd: 'දින %d',\n M: 'මà·à·ƒà¶º',\n MM: 'මà·à·ƒ %d',\n y: 'වසර',\n yy: 'වසර %d'\n },\n dayOfMonthOrdinalParse: /\\d{1,2} à·€à·à¶±à·’/,\n ordinal: function ordinal(number) {\n return number + ' à·€à·à¶±à·’';\n },\n meridiemParse: /පෙර වරු|පස් වරු|පෙ.à·€|ප.à·€./,\n isPM: function isPM(input) {\n return input === 'ප.à·€.' || input === 'පස් වරු';\n },\n meridiem: function meridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'ප.à·€.' : 'පස් වරු';\n } else {\n return isLower ? 'පෙ.à·€.' : 'පෙර වරු';\n }\n }\n });\n return si;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var months = 'január_február_marec_aprÃl_máj_jún_júl_august_september_október_november_december'.split('_'),\n monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');\n\n function plural(n) {\n return n > 1 && n < 5;\n }\n\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n\n switch (key) {\n case 's':\n // a few seconds / in a few seconds / a few seconds ago\n return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';\n\n case 'ss':\n // 9 seconds / in 9 seconds / 9 seconds ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'sekundy' : 'sekúnd');\n } else {\n return result + 'sekundami';\n }\n\n break;\n\n case 'm':\n // a minute / in a minute / a minute ago\n return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';\n\n case 'mm':\n // 9 minutes / in 9 minutes / 9 minutes ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'minúty' : 'minút');\n } else {\n return result + 'minútami';\n }\n\n break;\n\n case 'h':\n // an hour / in an hour / an hour ago\n return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';\n\n case 'hh':\n // 9 hours / in 9 hours / 9 hours ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'hodiny' : 'hodÃn');\n } else {\n return result + 'hodinami';\n }\n\n break;\n\n case 'd':\n // a day / in a day / a day ago\n return withoutSuffix || isFuture ? 'deň' : 'dňom';\n\n case 'dd':\n // 9 days / in 9 days / 9 days ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'dni' : 'dnÃ');\n } else {\n return result + 'dňami';\n }\n\n break;\n\n case 'M':\n // a month / in a month / a month ago\n return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';\n\n case 'MM':\n // 9 months / in 9 months / 9 months ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'mesiace' : 'mesiacov');\n } else {\n return result + 'mesiacmi';\n }\n\n break;\n\n case 'y':\n // a year / in a year / a year ago\n return withoutSuffix || isFuture ? 'rok' : 'rokom';\n\n case 'yy':\n // 9 years / in 9 years / 9 years ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'roky' : 'rokov');\n } else {\n return result + 'rokmi';\n }\n\n break;\n }\n }\n\n var sk = moment.defineLocale('sk', {\n months: months,\n monthsShort: monthsShort,\n weekdays: 'nedeľa_pondelok_utorok_streda_Å¡tvrtok_piatok_sobota'.split('_'),\n weekdaysShort: 'ne_po_ut_st_Å¡t_pi_so'.split('_'),\n weekdaysMin: 'ne_po_ut_st_Å¡t_pi_so'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd D. MMMM YYYY H:mm'\n },\n calendar: {\n sameDay: '[dnes o] LT',\n nextDay: '[zajtra o] LT',\n nextWeek: function nextWeek() {\n switch (this.day()) {\n case 0:\n return '[v nedeľu o] LT';\n\n case 1:\n case 2:\n return '[v] dddd [o] LT';\n\n case 3:\n return '[v stredu o] LT';\n\n case 4:\n return '[vo Å¡tvrtok o] LT';\n\n case 5:\n return '[v piatok o] LT';\n\n case 6:\n return '[v sobotu o] LT';\n }\n },\n lastDay: '[vÄera o] LT',\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n return '[minulú nedeľu o] LT';\n\n case 1:\n case 2:\n return '[minulý] dddd [o] LT';\n\n case 3:\n return '[minulú stredu o] LT';\n\n case 4:\n case 5:\n return '[minulý] dddd [o] LT';\n\n case 6:\n return '[minulú sobotu o] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'za %s',\n past: 'pred %s',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return sk;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n\n switch (key) {\n case 's':\n return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami';\n\n case 'ss':\n if (number === 1) {\n result += withoutSuffix ? 'sekundo' : 'sekundi';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';\n } else {\n result += 'sekund';\n }\n\n return result;\n\n case 'm':\n return withoutSuffix ? 'ena minuta' : 'eno minuto';\n\n case 'mm':\n if (number === 1) {\n result += withoutSuffix ? 'minuta' : 'minuto';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'minuti' : 'minutama';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'minute' : 'minutami';\n } else {\n result += withoutSuffix || isFuture ? 'minut' : 'minutami';\n }\n\n return result;\n\n case 'h':\n return withoutSuffix ? 'ena ura' : 'eno uro';\n\n case 'hh':\n if (number === 1) {\n result += withoutSuffix ? 'ura' : 'uro';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'uri' : 'urama';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'ure' : 'urami';\n } else {\n result += withoutSuffix || isFuture ? 'ur' : 'urami';\n }\n\n return result;\n\n case 'd':\n return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';\n\n case 'dd':\n if (number === 1) {\n result += withoutSuffix || isFuture ? 'dan' : 'dnem';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';\n } else {\n result += withoutSuffix || isFuture ? 'dni' : 'dnevi';\n }\n\n return result;\n\n case 'M':\n return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';\n\n case 'MM':\n if (number === 1) {\n result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'mesece' : 'meseci';\n } else {\n result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';\n }\n\n return result;\n\n case 'y':\n return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';\n\n case 'yy':\n if (number === 1) {\n result += withoutSuffix || isFuture ? 'leto' : 'letom';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'leti' : 'letoma';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'leta' : 'leti';\n } else {\n result += withoutSuffix || isFuture ? 'let' : 'leti';\n }\n\n return result;\n }\n }\n\n var sl = moment.defineLocale('sl', {\n months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'),\n monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'),\n monthsParseExact: true,\n weekdays: 'nedelja_ponedeljek_torek_sreda_Äetrtek_petek_sobota'.split('_'),\n weekdaysShort: 'ned._pon._tor._sre._Äet._pet._sob.'.split('_'),\n weekdaysMin: 'ne_po_to_sr_Äe_pe_so'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm'\n },\n calendar: {\n sameDay: '[danes ob] LT',\n nextDay: '[jutri ob] LT',\n nextWeek: function nextWeek() {\n switch (this.day()) {\n case 0:\n return '[v] [nedeljo] [ob] LT';\n\n case 3:\n return '[v] [sredo] [ob] LT';\n\n case 6:\n return '[v] [soboto] [ob] LT';\n\n case 1:\n case 2:\n case 4:\n case 5:\n return '[v] dddd [ob] LT';\n }\n },\n lastDay: '[vÄeraj ob] LT',\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n return '[prejÅ¡njo] [nedeljo] [ob] LT';\n\n case 3:\n return '[prejÅ¡njo] [sredo] [ob] LT';\n\n case 6:\n return '[prejÅ¡njo] [soboto] [ob] LT';\n\n case 1:\n case 2:\n case 4:\n case 5:\n return '[prejÅ¡nji] dddd [ob] LT';\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'Äez %s',\n past: 'pred %s',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return sl;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var sq = moment.defineLocale('sq', {\n months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'),\n monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),\n weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'),\n weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),\n weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),\n weekdaysParseExact: true,\n meridiemParse: /PD|MD/,\n isPM: function isPM(input) {\n return input.charAt(0) === 'M';\n },\n meridiem: function meridiem(hours, minutes, isLower) {\n return hours < 12 ? 'PD' : 'MD';\n },\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Sot në] LT',\n nextDay: '[Nesër në] LT',\n nextWeek: 'dddd [në] LT',\n lastDay: '[Dje në] LT',\n lastWeek: 'dddd [e kaluar në] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'në %s',\n past: '%s më parë',\n s: 'disa sekonda',\n ss: '%d sekonda',\n m: 'një minutë',\n mm: '%d minuta',\n h: 'një orë',\n hh: '%d orë',\n d: 'një ditë',\n dd: '%d ditë',\n M: 'një muaj',\n MM: '%d muaj',\n y: 'një vit',\n yy: '%d vite'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return sq;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var translator = {\n words: {\n //Different grammatical cases\n ss: ['sekunda', 'sekunde', 'sekundi'],\n m: ['jedan minut', 'jedne minute'],\n mm: ['minut', 'minute', 'minuta'],\n h: ['jedan sat', 'jednog sata'],\n hh: ['sat', 'sata', 'sati'],\n dd: ['dan', 'dana', 'dana'],\n MM: ['mesec', 'meseca', 'meseci'],\n yy: ['godina', 'godine', 'godina']\n },\n correctGrammaticalCase: function correctGrammaticalCase(number, wordKey) {\n return number === 1 ? wordKey[0] : number >= 2 && number <= 4 ? wordKey[1] : wordKey[2];\n },\n translate: function translate(number, withoutSuffix, key) {\n var wordKey = translator.words[key];\n\n if (key.length === 1) {\n return withoutSuffix ? wordKey[0] : wordKey[1];\n } else {\n return number + ' ' + translator.correctGrammaticalCase(number, wordKey);\n }\n }\n };\n var sr = moment.defineLocale('sr', {\n months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),\n monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),\n monthsParseExact: true,\n weekdays: 'nedelja_ponedeljak_utorak_sreda_Äetvrtak_petak_subota'.split('_'),\n weekdaysShort: 'ned._pon._uto._sre._Äet._pet._sub.'.split('_'),\n weekdaysMin: 'ne_po_ut_sr_Äe_pe_su'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm'\n },\n calendar: {\n sameDay: '[danas u] LT',\n nextDay: '[sutra u] LT',\n nextWeek: function nextWeek() {\n switch (this.day()) {\n case 0:\n return '[u] [nedelju] [u] LT';\n\n case 3:\n return '[u] [sredu] [u] LT';\n\n case 6:\n return '[u] [subotu] [u] LT';\n\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay: '[juÄe u] LT',\n lastWeek: function lastWeek() {\n var lastWeekDays = ['[proÅ¡le] [nedelje] [u] LT', '[proÅ¡log] [ponedeljka] [u] LT', '[proÅ¡log] [utorka] [u] LT', '[proÅ¡le] [srede] [u] LT', '[proÅ¡log] [Äetvrtka] [u] LT', '[proÅ¡log] [petka] [u] LT', '[proÅ¡le] [subote] [u] LT'];\n return lastWeekDays[this.day()];\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'za %s',\n past: 'pre %s',\n s: 'nekoliko sekundi',\n ss: translator.translate,\n m: translator.translate,\n mm: translator.translate,\n h: translator.translate,\n hh: translator.translate,\n d: 'dan',\n dd: translator.translate,\n M: 'mesec',\n MM: translator.translate,\n y: 'godinu',\n yy: translator.translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return sr;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var translator = {\n words: {\n //Different grammatical cases\n ss: ['Ñекунда', 'Ñекунде', 'Ñекунди'],\n m: ['један минут', 'једне минуте'],\n mm: ['минут', 'минуте', 'минута'],\n h: ['један Ñат', 'једног Ñата'],\n hh: ['Ñат', 'Ñата', 'Ñати'],\n dd: ['дан', 'дана', 'дана'],\n MM: ['меÑец', 'меÑеца', 'меÑеци'],\n yy: ['година', 'године', 'година']\n },\n correctGrammaticalCase: function correctGrammaticalCase(number, wordKey) {\n return number === 1 ? wordKey[0] : number >= 2 && number <= 4 ? wordKey[1] : wordKey[2];\n },\n translate: function translate(number, withoutSuffix, key) {\n var wordKey = translator.words[key];\n\n if (key.length === 1) {\n return withoutSuffix ? wordKey[0] : wordKey[1];\n } else {\n return number + ' ' + translator.correctGrammaticalCase(number, wordKey);\n }\n }\n };\n var srCyrl = moment.defineLocale('sr-cyrl', {\n months: 'јануар_фебруар_март_април_мај_јун_јул_авгуÑÑ‚_Ñептембар_октобар_новембар_децембар'.split('_'),\n monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._Ñеп._окт._нов._дец.'.split('_'),\n monthsParseExact: true,\n weekdays: 'недеља_понедељак_уторак_Ñреда_четвртак_петак_Ñубота'.split('_'),\n weekdaysShort: 'нед._пон._уто._Ñре._чет._пет._Ñуб.'.split('_'),\n weekdaysMin: 'не_по_ут_ÑÑ€_че_пе_Ñу'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm'\n },\n calendar: {\n sameDay: '[Ð´Ð°Ð½Ð°Ñ Ñƒ] LT',\n nextDay: '[Ñутра у] LT',\n nextWeek: function nextWeek() {\n switch (this.day()) {\n case 0:\n return '[у] [недељу] [у] LT';\n\n case 3:\n return '[у] [Ñреду] [у] LT';\n\n case 6:\n return '[у] [Ñуботу] [у] LT';\n\n case 1:\n case 2:\n case 4:\n case 5:\n return '[у] dddd [у] LT';\n }\n },\n lastDay: '[јуче у] LT',\n lastWeek: function lastWeek() {\n var lastWeekDays = ['[прошле] [недеље] [у] LT', '[прошлог] [понедељка] [у] LT', '[прошлог] [уторка] [у] LT', '[прошле] [Ñреде] [у] LT', '[прошлог] [четвртка] [у] LT', '[прошлог] [петка] [у] LT', '[прошле] [Ñуботе] [у] LT'];\n return lastWeekDays[this.day()];\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'за %s',\n past: 'пре %s',\n s: 'неколико Ñекунди',\n ss: translator.translate,\n m: translator.translate,\n mm: translator.translate,\n h: translator.translate,\n hh: translator.translate,\n d: 'дан',\n dd: translator.translate,\n M: 'меÑец',\n MM: translator.translate,\n y: 'годину',\n yy: translator.translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return srCyrl;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var ss = moment.defineLocale('ss', {\n months: \"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni\".split('_'),\n monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),\n weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),\n weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),\n weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A'\n },\n calendar: {\n sameDay: '[Namuhla nga] LT',\n nextDay: '[Kusasa nga] LT',\n nextWeek: 'dddd [nga] LT',\n lastDay: '[Itolo nga] LT',\n lastWeek: 'dddd [leliphelile] [nga] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'nga %s',\n past: 'wenteka nga %s',\n s: 'emizuzwana lomcane',\n ss: '%d mzuzwana',\n m: 'umzuzu',\n mm: '%d emizuzu',\n h: 'lihora',\n hh: '%d emahora',\n d: 'lilanga',\n dd: '%d emalanga',\n M: 'inyanga',\n MM: '%d tinyanga',\n y: 'umnyaka',\n yy: '%d iminyaka'\n },\n meridiemParse: /ekuseni|emini|entsambama|ebusuku/,\n meridiem: function meridiem(hours, minutes, isLower) {\n if (hours < 11) {\n return 'ekuseni';\n } else if (hours < 15) {\n return 'emini';\n } else if (hours < 19) {\n return 'entsambama';\n } else {\n return 'ebusuku';\n }\n },\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'ekuseni') {\n return hour;\n } else if (meridiem === 'emini') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {\n if (hour === 0) {\n return 0;\n }\n\n return hour + 12;\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal: '%d',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return ss;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var sv = moment.defineLocale('sv', {\n months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'),\n monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n weekdays: 'söndag_mÃ¥ndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),\n weekdaysShort: 'sön_mÃ¥n_tis_ons_tor_fre_lör'.split('_'),\n weekdaysMin: 'sö_mÃ¥_ti_on_to_fr_lö'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [kl.] HH:mm',\n LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',\n lll: 'D MMM YYYY HH:mm',\n llll: 'ddd D MMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Idag] LT',\n nextDay: '[Imorgon] LT',\n lastDay: '[IgÃ¥r] LT',\n nextWeek: '[PÃ¥] dddd LT',\n lastWeek: '[I] dddd[s] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'om %s',\n past: 'för %s sedan',\n s: 'nÃ¥gra sekunder',\n ss: '%d sekunder',\n m: 'en minut',\n mm: '%d minuter',\n h: 'en timme',\n hh: '%d timmar',\n d: 'en dag',\n dd: '%d dagar',\n M: 'en mÃ¥nad',\n MM: '%d mÃ¥nader',\n y: 'ett Ã¥r',\n yy: '%d Ã¥r'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(e|a)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = ~~(number % 100 / 10) === 1 ? 'e' : b === 1 ? 'a' : b === 2 ? 'a' : b === 3 ? 'e' : 'e';\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return sv;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var sw = moment.defineLocale('sw', {\n months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),\n monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),\n weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),\n weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),\n weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[leo saa] LT',\n nextDay: '[kesho saa] LT',\n nextWeek: '[wiki ijayo] dddd [saat] LT',\n lastDay: '[jana] LT',\n lastWeek: '[wiki iliyopita] dddd [saat] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s baadaye',\n past: 'tokea %s',\n s: 'hivi punde',\n ss: 'sekunde %d',\n m: 'dakika moja',\n mm: 'dakika %d',\n h: 'saa limoja',\n hh: 'masaa %d',\n d: 'siku moja',\n dd: 'masiku %d',\n M: 'mwezi mmoja',\n MM: 'miezi %d',\n y: 'mwaka mmoja',\n yy: 'miaka %d'\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return sw;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var symbolMap = {\n '1': '௧',\n '2': '௨',\n '3': '௩',\n '4': '௪',\n '5': '௫',\n '6': '௬',\n '7': 'à¯',\n '8': '௮',\n '9': '௯',\n '0': '௦'\n },\n numberMap = {\n '௧': '1',\n '௨': '2',\n '௩': '3',\n '௪': '4',\n '௫': '5',\n '௬': '6',\n 'à¯': '7',\n '௮': '8',\n '௯': '9',\n '௦': '0'\n };\n var ta = moment.defineLocale('ta', {\n months: 'ஜனவரி_பிபà¯à®°à®µà®°à®¿_மாரà¯à®šà¯_à®à®ªà¯à®°à®²à¯_மே_ஜூனà¯_ஜூலை_ஆகஸà¯à®Ÿà¯_செபà¯à®Ÿà¯†à®®à¯à®ªà®°à¯_அகà¯à®Ÿà¯‡à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_டிசமà¯à®ªà®°à¯'.split('_'),\n monthsShort: 'ஜனவரி_பிபà¯à®°à®µà®°à®¿_மாரà¯à®šà¯_à®à®ªà¯à®°à®²à¯_மே_ஜூனà¯_ஜூலை_ஆகஸà¯à®Ÿà¯_செபà¯à®Ÿà¯†à®®à¯à®ªà®°à¯_அகà¯à®Ÿà¯‡à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_டிசமà¯à®ªà®°à¯'.split('_'),\n weekdays: 'ஞாயிறà¯à®±à¯à®•à¯à®•à®¿à®´à®®à¯ˆ_திஙà¯à®•à®Ÿà¯à®•à®¿à®´à®®à¯ˆ_செவà¯à®µà®¾à®¯à¯à®•à®¿à®´à®®à¯ˆ_பà¯à®¤à®©à¯à®•à®¿à®´à®®à¯ˆ_வியாழகà¯à®•à®¿à®´à®®à¯ˆ_வெளà¯à®³à®¿à®•à¯à®•à®¿à®´à®®à¯ˆ_சனிகà¯à®•à®¿à®´à®®à¯ˆ'.split('_'),\n weekdaysShort: 'ஞாயிறà¯_திஙà¯à®•à®³à¯_செவà¯à®µà®¾à®¯à¯_பà¯à®¤à®©à¯_வியாழனà¯_வெளà¯à®³à®¿_சனி'.split('_'),\n weekdaysMin: 'ஞா_தி_செ_பà¯_வி_வெ_ச'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, HH:mm',\n LLLL: 'dddd, D MMMM YYYY, HH:mm'\n },\n calendar: {\n sameDay: '[இனà¯à®±à¯] LT',\n nextDay: '[நாளை] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[நேறà¯à®±à¯] LT',\n lastWeek: '[கடநà¯à®¤ வாரமà¯] dddd, LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s இலà¯',\n past: '%s à®®à¯à®©à¯',\n s: 'ஒர௠சில விநாடிகளà¯',\n ss: '%d விநாடிகளà¯',\n m: 'ஒர௠நிமிடமà¯',\n mm: '%d நிமிடஙà¯à®•à®³à¯',\n h: 'ஒர௠மணி நேரமà¯',\n hh: '%d மணி நேரமà¯',\n d: 'ஒர௠நாளà¯',\n dd: '%d நாடà¯à®•à®³à¯',\n M: 'ஒர௠மாதமà¯',\n MM: '%d மாதஙà¯à®•à®³à¯',\n y: 'ஒர௠வரà¯à®Ÿà®®à¯',\n yy: '%d ஆணà¯à®Ÿà¯à®•à®³à¯'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}வதà¯/,\n ordinal: function ordinal(number) {\n return number + 'வதà¯';\n },\n preparse: function preparse(string) {\n return string.replace(/[௧௨௩௪௫௬à¯à¯®à¯¯à¯¦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // refer http://ta.wikipedia.org/s/1er1\n meridiemParse: /யாமமà¯|வைகறை|காலை|நணà¯à®ªà®•à®²à¯|எறà¯à®ªà®¾à®Ÿà¯|மாலை/,\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 2) {\n return ' யாமமà¯';\n } else if (hour < 6) {\n return ' வைகறை'; // வைகறை\n } else if (hour < 10) {\n return ' காலை'; // காலை\n } else if (hour < 14) {\n return ' நணà¯à®ªà®•à®²à¯'; // நணà¯à®ªà®•à®²à¯\n } else if (hour < 18) {\n return ' எறà¯à®ªà®¾à®Ÿà¯'; // எறà¯à®ªà®¾à®Ÿà¯\n } else if (hour < 22) {\n return ' மாலை'; // மாலை\n } else {\n return ' யாமமà¯';\n }\n },\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'யாமமà¯') {\n return hour < 2 ? hour : hour + 12;\n } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {\n return hour;\n } else if (meridiem === 'நணà¯à®ªà®•à®²à¯') {\n return hour >= 10 ? hour : hour + 12;\n } else {\n return hour + 12;\n }\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n }\n });\n return ta;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var te = moment.defineLocale('te', {\n months: 'జనవరి_à°«à°¿à°¬à±à°°à°µà°°à°¿_మారà±à°šà°¿_à°à°ªà±à°°à°¿à°²à±_మే_జూనà±_à°œà±à°²à±ˆ_ఆగసà±à°Ÿà±_సెపà±à°Ÿà±†à°‚బరà±_à°…à°•à±à°Ÿà±‹à°¬à°°à±_నవంబరà±_డిసెంబరà±'.split('_'),\n monthsShort: 'జన._à°«à°¿à°¬à±à°°._మారà±à°šà°¿_à°à°ªà±à°°à°¿._మే_జూనà±_à°œà±à°²à±ˆ_ఆగ._సెపà±._à°…à°•à±à°Ÿà±‹._నవ._డిసె.'.split('_'),\n monthsParseExact: true,\n weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_à°¬à±à°§à°µà°¾à°°à°‚_à°—à±à°°à±à°µà°¾à°°à°‚_à°¶à±à°•à±à°°à°µà°¾à°°à°‚_శనివారం'.split('_'),\n weekdaysShort: 'ఆది_సోమ_మంగళ_à°¬à±à°§_à°—à±à°°à±_à°¶à±à°•à±à°°_శని'.split('_'),\n weekdaysMin: 'à°†_సో_మం_à°¬à±_à°—à±_à°¶à±_à°¶'.split('_'),\n longDateFormat: {\n LT: 'A h:mm',\n LTS: 'A h:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm',\n LLLL: 'dddd, D MMMM YYYY, A h:mm'\n },\n calendar: {\n sameDay: '[నేడà±] LT',\n nextDay: '[రేపà±] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[నినà±à°¨] LT',\n lastWeek: '[à°—à°¤] dddd, LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s లో',\n past: '%s à°•à±à°°à°¿à°¤à°‚',\n s: 'కొనà±à°¨à°¿ à°•à±à°·à°£à°¾à°²à±',\n ss: '%d సెకనà±à°²à±',\n m: 'à°’à°• నిమిషం',\n mm: '%d నిమిషాలà±',\n h: 'à°’à°• à°—à°‚à°Ÿ',\n hh: '%d à°—à°‚à°Ÿà°²à±',\n d: 'à°’à°• రోజà±',\n dd: '%d రోజà±à°²à±',\n M: 'à°’à°• నెల',\n MM: '%d నెలలà±',\n y: 'à°’à°• సంవతà±à°¸à°°à°‚',\n yy: '%d సంవతà±à°¸à°°à°¾à°²à±'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}à°µ/,\n ordinal: '%dà°µ',\n meridiemParse: /రాతà±à°°à°¿|ఉదయం|మధà±à°¯à°¾à°¹à±à°¨à°‚|సాయంతà±à°°à°‚/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'రాతà±à°°à°¿') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ఉదయం') {\n return hour;\n } else if (meridiem === 'మధà±à°¯à°¾à°¹à±à°¨à°‚') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'సాయంతà±à°°à°‚') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'రాతà±à°°à°¿';\n } else if (hour < 10) {\n return 'ఉదయం';\n } else if (hour < 17) {\n return 'మధà±à°¯à°¾à°¹à±à°¨à°‚';\n } else if (hour < 20) {\n return 'సాయంతà±à°°à°‚';\n } else {\n return 'రాతà±à°°à°¿';\n }\n },\n week: {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n\n }\n });\n return te;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var tet = moment.defineLocale('tet', {\n months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split('_'),\n monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),\n weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),\n weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),\n weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Ohin iha] LT',\n nextDay: '[Aban iha] LT',\n nextWeek: 'dddd [iha] LT',\n lastDay: '[Horiseik iha] LT',\n lastWeek: 'dddd [semana kotuk] [iha] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'iha %s',\n past: '%s liuba',\n s: 'minutu balun',\n ss: 'minutu %d',\n m: 'minutu ida',\n mm: 'minutu %d',\n h: 'oras ida',\n hh: 'oras %d',\n d: 'loron ida',\n dd: 'loron %d',\n M: 'fulan ida',\n MM: 'fulan %d',\n y: 'tinan ida',\n yy: 'tinan %d'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return tet;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var suffixes = {\n 0: '-ум',\n 1: '-ум',\n 2: '-юм',\n 3: '-юм',\n 4: '-ум',\n 5: '-ум',\n 6: '-ум',\n 7: '-ум',\n 8: '-ум',\n 9: '-ум',\n 10: '-ум',\n 12: '-ум',\n 13: '-ум',\n 20: '-ум',\n 30: '-юм',\n 40: '-ум',\n 50: '-ум',\n 60: '-ум',\n 70: '-ум',\n 80: '-ум',\n 90: '-ум',\n 100: '-ум'\n };\n var tg = moment.defineLocale('tg', {\n months: 'Ñнвар_феврал_март_апрел_май_июн_июл_авгуÑÑ‚_ÑентÑбр_октÑбр_ноÑбр_декабр'.split('_'),\n monthsShort: 'Ñнв_фев_мар_апр_май_июн_июл_авг_Ñен_окт_ноÑ_дек'.split('_'),\n weekdays: 'Ñкшанбе_душанбе_Ñешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split('_'),\n weekdaysShort: 'Ñшб_дшб_Ñшб_чшб_пшб_ҷум_шнб'.split('_'),\n weekdaysMin: 'Ñш_дш_Ñш_чш_пш_ҷм_шб'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Имрӯз Ñоати] LT',\n nextDay: '[Пагоҳ Ñоати] LT',\n lastDay: '[Дирӯз Ñоати] LT',\n nextWeek: 'dddd[и] [ҳафтаи оÑнда Ñоати] LT',\n lastWeek: 'dddd[и] [ҳафтаи гузашта Ñоати] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'баъди %s',\n past: '%s пеш',\n s: 'Ñкчанд ÑониÑ',\n m: 'Ñк дақиқа',\n mm: '%d дақиқа',\n h: 'Ñк Ñоат',\n hh: '%d Ñоат',\n d: 'Ñк рӯз',\n dd: '%d рӯз',\n M: 'Ñк моҳ',\n MM: '%d моҳ',\n y: 'Ñк Ñол',\n yy: '%d Ñол'\n },\n meridiemParse: /шаб|Ñубҳ|рӯз|бегоҳ/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'шаб') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'Ñубҳ') {\n return hour;\n } else if (meridiem === 'рӯз') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'бегоҳ') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'шаб';\n } else if (hour < 11) {\n return 'Ñубҳ';\n } else if (hour < 16) {\n return 'рӯз';\n } else if (hour < 19) {\n return 'бегоҳ';\n } else {\n return 'шаб';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ум|юм)/,\n ordinal: function ordinal(number) {\n var a = number % 10,\n b = number >= 100 ? 100 : null;\n return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 1th is the first week of the year.\n\n }\n });\n return tg;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var th = moment.defineLocale('th', {\n months: 'มà¸à¸£à¸²à¸„ม_à¸à¸¸à¸¡à¸ าพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_à¸à¸£à¸à¸Žà¸²à¸„ม_สิงหาคม_à¸à¸±à¸™à¸¢à¸²à¸¢à¸™_ตุลาคม_พฤศจิà¸à¸²à¸¢à¸™_ธันวาคม'.split('_'),\n monthsShort: 'ม.ค._à¸.พ._มี.ค._เม.ย._พ.ค._มิ.ย._à¸.ค._ส.ค._à¸.ย._ต.ค._พ.ย._ธ.ค.'.split('_'),\n monthsParseExact: true,\n weekdays: 'à¸à¸²à¸—ิตย์_จันทร์_à¸à¸±à¸‡à¸„าร_พุธ_พฤหัสบดี_ศุà¸à¸£à¹Œ_เสาร์'.split('_'),\n weekdaysShort: 'à¸à¸²à¸—ิตย์_จันทร์_à¸à¸±à¸‡à¸„าร_พุธ_พฤหัส_ศุà¸à¸£à¹Œ_เสาร์'.split('_'),\n // yes, three characters difference\n weekdaysMin: 'à¸à¸²._จ._à¸._พ._พฤ._ศ._ส.'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY เวลา H:mm',\n LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm'\n },\n meridiemParse: /à¸à¹ˆà¸à¸™à¹€à¸—ี่ยง|หลังเที่ยง/,\n isPM: function isPM(input) {\n return input === 'หลังเที่ยง';\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'à¸à¹ˆà¸à¸™à¹€à¸—ี่ยง';\n } else {\n return 'หลังเที่ยง';\n }\n },\n calendar: {\n sameDay: '[วันนี้ เวลา] LT',\n nextDay: '[พรุ่งนี้ เวลา] LT',\n nextWeek: 'dddd[หน้า เวลา] LT',\n lastDay: '[เมื่à¸à¸§à¸²à¸™à¸™à¸µà¹‰ เวลา] LT',\n lastWeek: '[วัน]dddd[ที่à¹à¸¥à¹‰à¸§ เวลา] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'à¸à¸µà¸ %s',\n past: '%sที่à¹à¸¥à¹‰à¸§',\n s: 'ไม่à¸à¸µà¹ˆà¸§à¸´à¸™à¸²à¸—ี',\n ss: '%d วินาที',\n m: '1 นาที',\n mm: '%d นาที',\n h: '1 ชั่วโมง',\n hh: '%d ชั่วโมง',\n d: '1 วัน',\n dd: '%d วัน',\n M: '1 เดืà¸à¸™',\n MM: '%d เดืà¸à¸™',\n y: '1 ปี',\n yy: '%d ปี'\n }\n });\n return th;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var tlPh = moment.defineLocale('tl-ph', {\n months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),\n monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),\n weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),\n weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),\n weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'MM/D/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY HH:mm',\n LLLL: 'dddd, MMMM DD, YYYY HH:mm'\n },\n calendar: {\n sameDay: 'LT [ngayong araw]',\n nextDay: '[Bukas ng] LT',\n nextWeek: 'LT [sa susunod na] dddd',\n lastDay: 'LT [kahapon]',\n lastWeek: 'LT [noong nakaraang] dddd',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'sa loob ng %s',\n past: '%s ang nakalipas',\n s: 'ilang segundo',\n ss: '%d segundo',\n m: 'isang minuto',\n mm: '%d minuto',\n h: 'isang oras',\n hh: '%d oras',\n d: 'isang araw',\n dd: '%d araw',\n M: 'isang buwan',\n MM: '%d buwan',\n y: 'isang taon',\n yy: '%d taon'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal: function ordinal(number) {\n return number;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return tlPh;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');\n\n function translateFuture(output) {\n var time = output;\n time = output.indexOf('jaj') !== -1 ? time.slice(0, -3) + 'leS' : output.indexOf('jar') !== -1 ? time.slice(0, -3) + 'waQ' : output.indexOf('DIS') !== -1 ? time.slice(0, -3) + 'nem' : time + ' pIq';\n return time;\n }\n\n function translatePast(output) {\n var time = output;\n time = output.indexOf('jaj') !== -1 ? time.slice(0, -3) + 'Hu’' : output.indexOf('jar') !== -1 ? time.slice(0, -3) + 'wen' : output.indexOf('DIS') !== -1 ? time.slice(0, -3) + 'ben' : time + ' ret';\n return time;\n }\n\n function translate(number, withoutSuffix, string, isFuture) {\n var numberNoun = numberAsNoun(number);\n\n switch (string) {\n case 'ss':\n return numberNoun + ' lup';\n\n case 'mm':\n return numberNoun + ' tup';\n\n case 'hh':\n return numberNoun + ' rep';\n\n case 'dd':\n return numberNoun + ' jaj';\n\n case 'MM':\n return numberNoun + ' jar';\n\n case 'yy':\n return numberNoun + ' DIS';\n }\n }\n\n function numberAsNoun(number) {\n var hundred = Math.floor(number % 1000 / 100),\n ten = Math.floor(number % 100 / 10),\n one = number % 10,\n word = '';\n\n if (hundred > 0) {\n word += numbersNouns[hundred] + 'vatlh';\n }\n\n if (ten > 0) {\n word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';\n }\n\n if (one > 0) {\n word += (word !== '' ? ' ' : '') + numbersNouns[one];\n }\n\n return word === '' ? 'pagh' : word;\n }\n\n var tlh = moment.defineLocale('tlh', {\n months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'),\n monthsShort: 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'),\n monthsParseExact: true,\n weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),\n weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),\n weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[DaHjaj] LT',\n nextDay: '[wa’leS] LT',\n nextWeek: 'LLL',\n lastDay: '[wa’Hu’] LT',\n lastWeek: 'LLL',\n sameElse: 'L'\n },\n relativeTime: {\n future: translateFuture,\n past: translatePast,\n s: 'puS lup',\n ss: translate,\n m: 'wa’ tup',\n mm: translate,\n h: 'wa’ rep',\n hh: translate,\n d: 'wa’ jaj',\n dd: translate,\n M: 'wa’ jar',\n MM: translate,\n y: 'wa’ DIS',\n yy: translate\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return tlh;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var suffixes = {\n 1: '\\'inci',\n 5: '\\'inci',\n 8: '\\'inci',\n 70: '\\'inci',\n 80: '\\'inci',\n 2: '\\'nci',\n 7: '\\'nci',\n 20: '\\'nci',\n 50: '\\'nci',\n 3: '\\'üncü',\n 4: '\\'üncü',\n 100: '\\'üncü',\n 6: '\\'ncı',\n 9: '\\'uncu',\n 10: '\\'uncu',\n 30: '\\'uncu',\n 60: '\\'ıncı',\n 90: '\\'ıncı'\n };\n var tr = moment.defineLocale('tr', {\n months: 'Ocak_Åžubat_Mart_Nisan_Mayıs_Haziran_Temmuz_AÄŸustos_Eylül_Ekim_Kasım_Aralık'.split('_'),\n monthsShort: 'Oca_Åžub_Mar_Nis_May_Haz_Tem_AÄŸu_Eyl_Eki_Kas_Ara'.split('_'),\n weekdays: 'Pazar_Pazartesi_Salı_ÇarÅŸamba_PerÅŸembe_Cuma_Cumartesi'.split('_'),\n weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),\n weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[bugün saat] LT',\n nextDay: '[yarın saat] LT',\n nextWeek: '[gelecek] dddd [saat] LT',\n lastDay: '[dün] LT',\n lastWeek: '[geçen] dddd [saat] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s sonra',\n past: '%s önce',\n s: 'birkaç saniye',\n ss: '%d saniye',\n m: 'bir dakika',\n mm: '%d dakika',\n h: 'bir saat',\n hh: '%d saat',\n d: 'bir gün',\n dd: '%d gün',\n M: 'bir ay',\n MM: '%d ay',\n y: 'bir yıl',\n yy: '%d yıl'\n },\n ordinal: function ordinal(number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'Do':\n case 'DD':\n return number;\n\n default:\n if (number === 0) {\n // special case for zero\n return number + '\\'ıncı';\n }\n\n var a = number % 10,\n b = number % 100 - a,\n c = number >= 100 ? 100 : null;\n return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n }\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return tr;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict'; // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.\n // This is currently too difficult (maybe even impossible) to add.\n\n var tzl = moment.defineLocale('tzl', {\n months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'),\n monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),\n weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),\n weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),\n weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM [dallas] YYYY',\n LLL: 'D. MMMM [dallas] YYYY HH.mm',\n LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm'\n },\n meridiemParse: /d\\'o|d\\'a/i,\n isPM: function isPM(input) {\n return 'd\\'o' === input.toLowerCase();\n },\n meridiem: function meridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'd\\'o' : 'D\\'O';\n } else {\n return isLower ? 'd\\'a' : 'D\\'A';\n }\n },\n calendar: {\n sameDay: '[oxhi à ] LT',\n nextDay: '[demà à ] LT',\n nextWeek: 'dddd [à ] LT',\n lastDay: '[ieiri à ] LT',\n lastWeek: '[sür el] dddd [lasteu à ] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'osprei %s',\n past: 'ja%s',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n 's': ['viensas secunds', '\\'iensas secunds'],\n 'ss': [number + ' secunds', '' + number + ' secunds'],\n 'm': ['\\'n mÃut', '\\'iens mÃut'],\n 'mm': [number + ' mÃuts', '' + number + ' mÃuts'],\n 'h': ['\\'n þora', '\\'iensa þora'],\n 'hh': [number + ' þoras', '' + number + ' þoras'],\n 'd': ['\\'n ziua', '\\'iensa ziua'],\n 'dd': [number + ' ziuas', '' + number + ' ziuas'],\n 'M': ['\\'n mes', '\\'iens mes'],\n 'MM': [number + ' mesen', '' + number + ' mesen'],\n 'y': ['\\'n ar', '\\'iens ar'],\n 'yy': [number + ' ars', '' + number + ' ars']\n };\n return isFuture ? format[key][0] : withoutSuffix ? format[key][0] : format[key][1];\n }\n\n return tzl;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var tzm = moment.defineLocale('tzm', {\n months: 'ⵉâµâµâ´°âµ¢âµ”_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓâµâµ¢âµ“_ⵢⵓâµâµ¢âµ“âµ£_ⵖⵓⵛⵜ_ⵛⵓⵜⴰâµâ´±âµ‰âµ”_ⴽⵟⵓⴱⵕ_âµâµ“ⵡⴰâµâ´±âµ‰âµ”_ⴷⵓⵊâµâ´±âµ‰âµ”'.split('_'),\n monthsShort: 'ⵉâµâµâ´°âµ¢âµ”_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓâµâµ¢âµ“_ⵢⵓâµâµ¢âµ“âµ£_ⵖⵓⵛⵜ_ⵛⵓⵜⴰâµâ´±âµ‰âµ”_ⴽⵟⵓⴱⵕ_âµâµ“ⵡⴰâµâ´±âµ‰âµ”_ⴷⵓⵊâµâ´±âµ‰âµ”'.split('_'),\n weekdays: 'ⴰⵙⴰⵎⴰⵙ_â´°âµ¢âµâ´°âµ™_ⴰⵙⵉâµâ´°âµ™_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_â´°âµ¢âµâ´°âµ™_ⴰⵙⵉâµâ´°âµ™_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_â´°âµ¢âµâ´°âµ™_ⴰⵙⵉâµâ´°âµ™_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[ⴰⵙⴷⵅ â´´] LT',\n nextDay: '[ⴰⵙⴽⴰ â´´] LT',\n nextWeek: 'dddd [â´´] LT',\n lastDay: '[ⴰⵚⴰâµâµœ â´´] LT',\n lastWeek: 'dddd [â´´] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'â´·â´°â´·âµ… âµ™ ⵢⴰⵠ%s',\n past: 'ⵢⴰⵠ%s',\n s: 'ⵉⵎⵉⴽ',\n ss: '%d ⵉⵎⵉⴽ',\n m: 'ⵎⵉâµâµ“â´º',\n mm: '%d ⵎⵉâµâµ“â´º',\n h: 'ⵙⴰⵄⴰ',\n hh: '%d ⵜⴰⵙⵙⴰⵄⵉâµ',\n d: 'ⴰⵙⵙ',\n dd: '%d oⵙⵙⴰâµ',\n M: 'â´°âµ¢oⵓⵔ',\n MM: '%d ⵉⵢⵢⵉⵔâµ',\n y: 'ⴰⵙⴳⴰⵙ',\n yy: '%d ⵉⵙⴳⴰⵙâµ'\n },\n week: {\n dow: 6,\n // Saturday is the first day of the week.\n doy: 12 // The week that contains Jan 12th is the first week of the year.\n\n }\n });\n return tzm;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var tzmLatn = moment.defineLocale('tzm-latn', {\n months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),\n monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),\n weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas'.split('_'),\n weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas'.split('_'),\n weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[asdkh g] LT',\n nextDay: '[aska g] LT',\n nextWeek: 'dddd [g] LT',\n lastDay: '[assant g] LT',\n lastWeek: 'dddd [g] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'dadkh s yan %s',\n past: 'yan %s',\n s: 'imik',\n ss: '%d imik',\n m: 'minuá¸',\n mm: '%d minuá¸',\n h: 'saÉ›a',\n hh: '%d tassaÉ›in',\n d: 'ass',\n dd: '%d ossan',\n M: 'ayowr',\n MM: '%d iyyirn',\n y: 'asgas',\n yy: '%d isgasn'\n },\n week: {\n dow: 6,\n // Saturday is the first day of the week.\n doy: 12 // The week that contains Jan 12th is the first week of the year.\n\n }\n });\n return tzmLatn;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js language configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var ugCn = moment.defineLocale('ug-cn', {\n months: 'يانۋار_ÙÛۋرال_مارت_ئاپرÛÙ„_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سÛنتەبىر_ئۆكتەبىر_نويابىر_دÛكابىر'.split('_'),\n monthsShort: 'يانۋار_ÙÛۋرال_مارت_ئاپرÛÙ„_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سÛنتەبىر_ئۆكتەبىر_نويابىر_دÛكابىر'.split('_'),\n weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split('_'),\n weekdaysShort: 'ÙŠÛ•_دۈ_سە_چا_Ù¾Û•_جۈ_Ø´Û•'.split('_'),\n weekdaysMin: 'ÙŠÛ•_دۈ_سە_چا_Ù¾Û•_جۈ_Ø´Û•'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY-يىلىM-ئاينىÚD-كۈنى',\n LLL: 'YYYY-يىلىM-ئاينىÚD-كۈنى، HH:mm',\n LLLL: 'ddddØŒ YYYY-يىلىM-ئاينىÚD-كۈنى، HH:mm'\n },\n meridiemParse: /ÙŠÛرىم ÙƒÛÚ†Û•|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن ÙƒÛيىن|ÙƒÛ•Ú†/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === 'ÙŠÛرىم ÙƒÛÚ†Û•' || meridiem === 'سەھەر' || meridiem === 'چۈشتىن بۇرۇن') {\n return hour;\n } else if (meridiem === 'چۈشتىن ÙƒÛيىن' || meridiem === 'ÙƒÛ•Ú†') {\n return hour + 12;\n } else {\n return hour >= 11 ? hour : hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n var hm = hour * 100 + minute;\n\n if (hm < 600) {\n return 'ÙŠÛرىم ÙƒÛÚ†Û•';\n } else if (hm < 900) {\n return 'سەھەر';\n } else if (hm < 1130) {\n return 'چۈشتىن بۇرۇن';\n } else if (hm < 1230) {\n return 'چۈش';\n } else if (hm < 1800) {\n return 'چۈشتىن ÙƒÛيىن';\n } else {\n return 'ÙƒÛ•Ú†';\n }\n },\n calendar: {\n sameDay: '[بۈگۈن سائەت] LT',\n nextDay: '[ئەتە سائەت] LT',\n nextWeek: '[ÙƒÛلەركى] dddd [سائەت] LT',\n lastDay: '[تۆنۈگۈن] LT',\n lastWeek: '[ئالدىنقى] dddd [سائەت] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s ÙƒÛيىن',\n past: '%s بۇرۇن',\n s: 'Ù†Û•Ú†Ú†Û• سÛكونت',\n ss: '%d سÛكونت',\n m: 'بىر مىنۇت',\n mm: '%d مىنۇت',\n h: 'بىر سائەت',\n hh: '%d سائەت',\n d: 'بىر ÙƒÛˆÙ†',\n dd: '%d ÙƒÛˆÙ†',\n M: 'بىر ئاي',\n MM: '%d ئاي',\n y: 'بىر يىل',\n yy: '%d يىل'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '-كۈنى';\n\n case 'w':\n case 'W':\n return number + '-ھەپتە';\n\n default:\n return number;\n }\n },\n preparse: function preparse(string) {\n return string.replace(/ØŒ/g, ',');\n },\n postformat: function postformat(string) {\n return string.replace(/,/g, 'ØŒ');\n },\n week: {\n // GB/T 7408-1994《数æ®å…ƒå’Œäº¤æ¢æ ¼å¼Â·ä¿¡æ¯äº¤æ¢Â·æ—¥æœŸå’Œæ—¶é—´è¡¨ç¤ºæ³•ã€‹ä¸ŽISO 8601:1988ç‰æ•ˆ\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 1st is the first week of the year.\n\n }\n });\n return ugCn;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n function plural(word, num) {\n var forms = word.split('_');\n return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2];\n }\n\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n 'ss': withoutSuffix ? 'Ñекунда_Ñекунди_Ñекунд' : 'Ñекунду_Ñекунди_Ñекунд',\n 'mm': withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',\n 'hh': withoutSuffix ? 'година_години_годин' : 'годину_години_годин',\n 'dd': 'день_дні_днів',\n 'MM': 'міÑÑць_міÑÑці_міÑÑців',\n 'yy': 'рік_роки_років'\n };\n\n if (key === 'm') {\n return withoutSuffix ? 'хвилина' : 'хвилину';\n } else if (key === 'h') {\n return withoutSuffix ? 'година' : 'годину';\n } else {\n return number + ' ' + plural(format[key], +number);\n }\n }\n\n function weekdaysCaseReplace(m, format) {\n var weekdays = {\n 'nominative': 'неділÑ_понеділок_вівторок_Ñереда_четвер_п’ÑтницÑ_Ñубота'.split('_'),\n 'accusative': 'неділю_понеділок_вівторок_Ñереду_четвер_п’Ñтницю_Ñуботу'.split('_'),\n 'genitive': 'неділі_понеділка_вівторка_Ñереди_четверга_п’Ñтниці_Ñуботи'.split('_')\n };\n\n if (m === true) {\n return weekdays['nominative'].slice(1, 7).concat(weekdays['nominative'].slice(0, 1));\n }\n\n if (!m) {\n return weekdays['nominative'];\n }\n\n var nounCase = /(\\[[ВвУу]\\]) ?dddd/.test(format) ? 'accusative' : /\\[?(?:минулої|наÑтупної)? ?\\] ?dddd/.test(format) ? 'genitive' : 'nominative';\n return weekdays[nounCase][m.day()];\n }\n\n function processHoursFunction(str) {\n return function () {\n return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';\n };\n }\n\n var uk = moment.defineLocale('uk', {\n months: {\n 'format': 'ÑічнÑ_лютого_березнÑ_квітнÑ_травнÑ_червнÑ_липнÑ_ÑерпнÑ_вереÑнÑ_жовтнÑ_лиÑтопада_груднÑ'.split('_'),\n 'standalone': 'Ñічень_лютий_березень_квітень_травень_червень_липень_Ñерпень_вереÑень_жовтень_лиÑтопад_грудень'.split('_')\n },\n monthsShort: 'Ñіч_лют_бер_квіт_трав_черв_лип_Ñерп_вер_жовт_лиÑÑ‚_груд'.split('_'),\n weekdays: weekdaysCaseReplace,\n weekdaysShort: 'нд_пн_вт_ÑÑ€_чт_пт_Ñб'.split('_'),\n weekdaysMin: 'нд_пн_вт_ÑÑ€_чт_пт_Ñб'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY Ñ€.',\n LLL: 'D MMMM YYYY Ñ€., HH:mm',\n LLLL: 'dddd, D MMMM YYYY Ñ€., HH:mm'\n },\n calendar: {\n sameDay: processHoursFunction('[Сьогодні '),\n nextDay: processHoursFunction('[Завтра '),\n lastDay: processHoursFunction('[Вчора '),\n nextWeek: processHoursFunction('[У] dddd ['),\n lastWeek: function lastWeek() {\n switch (this.day()) {\n case 0:\n case 3:\n case 5:\n case 6:\n return processHoursFunction('[Минулої] dddd [').call(this);\n\n case 1:\n case 2:\n case 4:\n return processHoursFunction('[Минулого] dddd [').call(this);\n }\n },\n sameElse: 'L'\n },\n relativeTime: {\n future: 'за %s',\n past: '%s тому',\n s: 'декілька Ñекунд',\n ss: relativeTimeWithPlural,\n m: relativeTimeWithPlural,\n mm: relativeTimeWithPlural,\n h: 'годину',\n hh: relativeTimeWithPlural,\n d: 'день',\n dd: relativeTimeWithPlural,\n M: 'міÑÑць',\n MM: relativeTimeWithPlural,\n y: 'рік',\n yy: relativeTimeWithPlural\n },\n // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason\n meridiemParse: /ночі|ранку|днÑ|вечора/,\n isPM: function isPM(input) {\n return /^(днÑ|вечора)$/.test(input);\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 4) {\n return 'ночі';\n } else if (hour < 12) {\n return 'ранку';\n } else if (hour < 17) {\n return 'днÑ';\n } else {\n return 'вечора';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(й|го)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n case 'M':\n case 'd':\n case 'DDD':\n case 'w':\n case 'W':\n return number + '-й';\n\n case 'D':\n return number + '-го';\n\n default:\n return number;\n }\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return uk;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var months = ['جنوری', 'Ùروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'];\n var days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعÛ', 'ÛÙتÛ'];\n var ur = moment.defineLocale('ur', {\n months: months,\n monthsShort: months,\n weekdays: days,\n weekdaysShort: days,\n weekdaysMin: days,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'ddddØŒ D MMMM YYYY HH:mm'\n },\n meridiemParse: /صبØ|شام/,\n isPM: function isPM(input) {\n return 'شام' === input;\n },\n meridiem: function meridiem(hour, minute, isLower) {\n if (hour < 12) {\n return 'صبØ';\n }\n\n return 'شام';\n },\n calendar: {\n sameDay: '[آج بوقت] LT',\n nextDay: '[Ú©Ù„ بوقت] LT',\n nextWeek: 'dddd [بوقت] LT',\n lastDay: '[Ú¯Ø°Ø´ØªÛ Ø±ÙˆØ² بوقت] LT',\n lastWeek: '[گذشتÛ] dddd [بوقت] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s بعد',\n past: '%s قبل',\n s: 'چند سیکنڈ',\n ss: '%d سیکنڈ',\n m: 'ایک منٹ',\n mm: '%d منٹ',\n h: 'ایک گھنٹÛ',\n hh: '%d گھنٹے',\n d: 'ایک دن',\n dd: '%d دن',\n M: 'ایک ماÛ',\n MM: '%d ماÛ',\n y: 'ایک سال',\n yy: '%d سال'\n },\n preparse: function preparse(string) {\n return string.replace(/ØŒ/g, ',');\n },\n postformat: function postformat(string) {\n return string.replace(/,/g, 'ØŒ');\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return ur;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var uz = moment.defineLocale('uz', {\n months: 'Ñнвар_феврал_март_апрел_май_июн_июл_авгуÑÑ‚_ÑентÑбр_октÑбр_ноÑбр_декабр'.split('_'),\n monthsShort: 'Ñнв_фев_мар_апр_май_июн_июл_авг_Ñен_окт_ноÑ_дек'.split('_'),\n weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),\n weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),\n weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'D MMMM YYYY, dddd HH:mm'\n },\n calendar: {\n sameDay: '[Бугун Ñоат] LT [да]',\n nextDay: '[Ðртага] LT [да]',\n nextWeek: 'dddd [куни Ñоат] LT [да]',\n lastDay: '[Кеча Ñоат] LT [да]',\n lastWeek: '[Утган] dddd [куни Ñоат] LT [да]',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'Якин %s ичида',\n past: 'Бир неча %s олдин',\n s: 'фурÑат',\n ss: '%d фурÑат',\n m: 'бир дакика',\n mm: '%d дакика',\n h: 'бир Ñоат',\n hh: '%d Ñоат',\n d: 'бир кун',\n dd: '%d кун',\n M: 'бир ой',\n MM: '%d ой',\n y: 'бир йил',\n yy: '%d йил'\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return uz;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var uzLatn = moment.defineLocale('uz-latn', {\n months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split('_'),\n monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),\n weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split('_'),\n weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),\n weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'D MMMM YYYY, dddd HH:mm'\n },\n calendar: {\n sameDay: '[Bugun soat] LT [da]',\n nextDay: '[Ertaga] LT [da]',\n nextWeek: 'dddd [kuni soat] LT [da]',\n lastDay: '[Kecha soat] LT [da]',\n lastWeek: '[O\\'tgan] dddd [kuni soat] LT [da]',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'Yaqin %s ichida',\n past: 'Bir necha %s oldin',\n s: 'soniya',\n ss: '%d soniya',\n m: 'bir daqiqa',\n mm: '%d daqiqa',\n h: 'bir soat',\n hh: '%d soat',\n d: 'bir kun',\n dd: '%d kun',\n M: 'bir oy',\n MM: '%d oy',\n y: 'bir yil',\n yy: '%d yil'\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 7 // The week that contains Jan 7th is the first week of the year.\n\n }\n });\n return uzLatn;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var vi = moment.defineLocale('vi', {\n months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'),\n monthsShort: 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'),\n monthsParseExact: true,\n weekdays: 'chủ nháºt_thứ hai_thứ ba_thứ tÆ°_thứ năm_thứ sáu_thứ bảy'.split('_'),\n weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),\n weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),\n weekdaysParseExact: true,\n meridiemParse: /sa|ch/i,\n isPM: function isPM(input) {\n return /^ch$/i.test(input);\n },\n meridiem: function meridiem(hours, minutes, isLower) {\n if (hours < 12) {\n return isLower ? 'sa' : 'SA';\n } else {\n return isLower ? 'ch' : 'CH';\n }\n },\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM [năm] YYYY',\n LLL: 'D MMMM [năm] YYYY HH:mm',\n LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',\n l: 'DD/M/YYYY',\n ll: 'D MMM YYYY',\n lll: 'D MMM YYYY HH:mm',\n llll: 'ddd, D MMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[Hôm nay lúc] LT',\n nextDay: '[Ngà y mai lúc] LT',\n nextWeek: 'dddd [tuần tá»›i lúc] LT',\n lastDay: '[Hôm qua lúc] LT',\n lastWeek: 'dddd [tuần rồi lúc] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: '%s tá»›i',\n past: '%s trÆ°á»›c',\n s: 'và i giây',\n ss: '%d giây',\n m: 'má»™t phút',\n mm: '%d phút',\n h: 'má»™t giá»',\n hh: '%d giá»',\n d: 'má»™t ngà y',\n dd: '%d ngà y',\n M: 'má»™t tháng',\n MM: '%d tháng',\n y: 'má»™t năm',\n yy: '%d năm'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal: function ordinal(number) {\n return number;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return vi;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var xPseudo = moment.defineLocale('x-pseudo', {\n months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Ãp~rÃl_~Máý_~Júñé~_Júl~ý_Ãú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'),\n monthsShort: 'J~áñ_~Féb_~Már_~Ãpr_~Máý_~Júñ_~Júl_~Ãúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'),\n monthsParseExact: true,\n weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~FrÃd~áý_S~átúr~dáý'.split('_'),\n weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~FrÃ_~Sát'.split('_'),\n weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm'\n },\n calendar: {\n sameDay: '[T~ódá~ý át] LT',\n nextDay: '[T~ómó~rró~w át] LT',\n nextWeek: 'dddd [át] LT',\n lastDay: '[Ã~ést~érdá~ý át] LT',\n lastWeek: '[L~ást] dddd [át] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'Ã~ñ %s',\n past: '%s á~gó',\n s: 'á ~féw ~sécó~ñds',\n ss: '%d s~écóñ~ds',\n m: 'á ~mÃñ~úté',\n mm: '%d m~Ãñú~tés',\n h: 'á~ñ hó~úr',\n hh: '%d h~óúrs',\n d: 'á ~dáý',\n dd: '%d d~áýs',\n M: 'á ~móñ~th',\n MM: '%d m~óñt~hs',\n y: 'á ~ýéár',\n yy: '%d ý~éárs'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal: function ordinal(number) {\n var b = number % 10,\n output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n },\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return xPseudo;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var yo = moment.defineLocale('yo', {\n months: 'SẹÌrẹÌ_EÌ€reÌ€leÌ€_Ẹrẹ̀naÌ€_IÌ€gbeÌ_EÌ€bibi_OÌ€kuÌ€du_Agẹmo_OÌ€guÌn_Owewe_Ọ̀waÌ€raÌ€_BeÌluÌ_Ọ̀pẹ̀̀'.split('_'),\n monthsShort: 'SẹÌr_EÌ€rl_Ẹrn_IÌ€gb_EÌ€bi_OÌ€kuÌ€_Agẹ_OÌ€guÌ_Owe_Ọ̀waÌ€_BeÌl_Ọ̀pẹ̀̀'.split('_'),\n weekdays: 'AÌ€iÌ€kuÌ_AjeÌ_IÌ€sẹÌgun_Ọjá»ÌruÌ_Ọjá»Ìbá»_ẸtiÌ€_AÌ€baÌmẹÌta'.split('_'),\n weekdaysShort: 'AÌ€iÌ€k_AjeÌ_IÌ€sẹÌ_Ọjr_Ọjb_ẸtiÌ€_AÌ€baÌ'.split('_'),\n weekdaysMin: 'AÌ€iÌ€_Aj_IÌ€s_Ọr_Ọb_Ẹt_AÌ€b'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A'\n },\n calendar: {\n sameDay: '[OÌ€niÌ€ ni] LT',\n nextDay: '[Ọ̀la ni] LT',\n nextWeek: 'dddd [Ọsẹ̀ toÌn\\'bá»] [ni] LT',\n lastDay: '[AÌ€na ni] LT',\n lastWeek: 'dddd [Ọsẹ̀ toÌlá»Ì] [ni] LT',\n sameElse: 'L'\n },\n relativeTime: {\n future: 'niÌ %s',\n past: '%s ká»jaÌ',\n s: 'iÌ€sẹjuÌ aayaÌ die',\n ss: 'aayaÌ %d',\n m: 'iÌ€sẹjuÌ kan',\n mm: 'iÌ€sẹjuÌ %d',\n h: 'waÌkati kan',\n hh: 'waÌkati %d',\n d: 'á»já»Ì kan',\n dd: 'á»já»Ì %d',\n M: 'osuÌ€ kan',\n MM: 'osuÌ€ %d',\n y: 'á»duÌn kan',\n yy: 'á»duÌn %d'\n },\n dayOfMonthOrdinalParse: /á»já»Ì\\s\\d{1,2}/,\n ordinal: 'á»já»Ì %d',\n week: {\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return yo;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var zhCn = moment.defineLocale('zh-cn', {\n months: '一月_二月_三月_四月_五月_å…月_七月_八月_ä¹æœˆ_å月_å一月_å二月'.split('_'),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期å…'.split('_'),\n weekdaysShort: '周日_周一_周二_周三_周四_周五_周å…'.split('_'),\n weekdaysMin: 'æ—¥_一_二_三_å››_五_å…'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYYå¹´M月Dæ—¥',\n LLL: 'YYYYå¹´M月Dæ—¥Ah点mm分',\n LLLL: 'YYYYå¹´M月Dæ—¥ddddAh点mm分',\n l: 'YYYY/M/D',\n ll: 'YYYYå¹´M月Dæ—¥',\n lll: 'YYYYå¹´M月Dæ—¥ HH:mm',\n llll: 'YYYYå¹´M月Dæ—¥dddd HH:mm'\n },\n meridiemParse: /凌晨|早上|上åˆ|ä¸åˆ|下åˆ|晚上/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上åˆ') {\n return hour;\n } else if (meridiem === '下åˆ' || meridiem === '晚上') {\n return hour + 12;\n } else {\n // 'ä¸åˆ'\n return hour >= 11 ? hour : hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n var hm = hour * 100 + minute;\n\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1130) {\n return '上åˆ';\n } else if (hm < 1230) {\n return 'ä¸åˆ';\n } else if (hm < 1800) {\n return '下åˆ';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天]LT',\n nextDay: '[明天]LT',\n nextWeek: '[下]ddddLT',\n lastDay: '[昨天]LT',\n lastWeek: '[上]ddddLT',\n sameElse: 'L'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(æ—¥|月|周)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + 'æ—¥';\n\n case 'M':\n return number + '月';\n\n case 'w':\n case 'W':\n return number + '周';\n\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s内',\n past: '%så‰',\n s: 'å‡ ç§’',\n ss: '%d 秒',\n m: '1 分钟',\n mm: '%d 分钟',\n h: '1 å°æ—¶',\n hh: '%d å°æ—¶',\n d: '1 天',\n dd: '%d 天',\n M: '1 个月',\n MM: '%d 个月',\n y: '1 å¹´',\n yy: '%d å¹´'\n },\n week: {\n // GB/T 7408-1994《数æ®å…ƒå’Œäº¤æ¢æ ¼å¼Â·ä¿¡æ¯äº¤æ¢Â·æ—¥æœŸå’Œæ—¶é—´è¡¨ç¤ºæ³•ã€‹ä¸ŽISO 8601:1988ç‰æ•ˆ\n dow: 1,\n // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n\n }\n });\n return zhCn;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var zhHk = moment.defineLocale('zh-hk', {\n months: '一月_二月_三月_四月_五月_å…月_七月_八月_ä¹æœˆ_å月_å一月_å二月'.split('_'),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期å…'.split('_'),\n weekdaysShort: '週日_週一_週二_週三_週四_週五_週å…'.split('_'),\n weekdaysMin: 'æ—¥_一_二_三_å››_五_å…'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYYå¹´M月Dæ—¥',\n LLL: 'YYYYå¹´M月Dæ—¥ HH:mm',\n LLLL: 'YYYYå¹´M月Dæ—¥dddd HH:mm',\n l: 'YYYY/M/D',\n ll: 'YYYYå¹´M月Dæ—¥',\n lll: 'YYYYå¹´M月Dæ—¥ HH:mm',\n llll: 'YYYYå¹´M月Dæ—¥dddd HH:mm'\n },\n meridiemParse: /凌晨|早上|上åˆ|ä¸åˆ|下åˆ|晚上/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上åˆ') {\n return hour;\n } else if (meridiem === 'ä¸åˆ') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === '下åˆ' || meridiem === '晚上') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n var hm = hour * 100 + minute;\n\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1130) {\n return '上åˆ';\n } else if (hm < 1230) {\n return 'ä¸åˆ';\n } else if (hm < 1800) {\n return '下åˆ';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天]LT',\n nextDay: '[明天]LT',\n nextWeek: '[下]ddddLT',\n lastDay: '[昨天]LT',\n lastWeek: '[上]ddddLT',\n sameElse: 'L'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(æ—¥|月|週)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + 'æ—¥';\n\n case 'M':\n return number + '月';\n\n case 'w':\n case 'W':\n return number + '週';\n\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%så…§',\n past: '%så‰',\n s: '幾秒',\n ss: '%d 秒',\n m: '1 分é˜',\n mm: '%d 分é˜',\n h: '1 å°æ™‚',\n hh: '%d å°æ™‚',\n d: '1 天',\n dd: '%d 天',\n M: '1 個月',\n MM: '%d 個月',\n y: '1 å¹´',\n yy: '%d å¹´'\n }\n });\n return zhHk;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n//! moment.js locale configuration\n;\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment);\n})(this, function (moment) {\n 'use strict';\n\n var zhTw = moment.defineLocale('zh-tw', {\n months: '一月_二月_三月_四月_五月_å…月_七月_八月_ä¹æœˆ_å月_å一月_å二月'.split('_'),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期å…'.split('_'),\n weekdaysShort: '週日_週一_週二_週三_週四_週五_週å…'.split('_'),\n weekdaysMin: 'æ—¥_一_二_三_å››_五_å…'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYYå¹´M月Dæ—¥',\n LLL: 'YYYYå¹´M月Dæ—¥ HH:mm',\n LLLL: 'YYYYå¹´M月Dæ—¥dddd HH:mm',\n l: 'YYYY/M/D',\n ll: 'YYYYå¹´M月Dæ—¥',\n lll: 'YYYYå¹´M月Dæ—¥ HH:mm',\n llll: 'YYYYå¹´M月Dæ—¥dddd HH:mm'\n },\n meridiemParse: /凌晨|早上|上åˆ|ä¸åˆ|下åˆ|晚上/,\n meridiemHour: function meridiemHour(hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n\n if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上åˆ') {\n return hour;\n } else if (meridiem === 'ä¸åˆ') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === '下åˆ' || meridiem === '晚上') {\n return hour + 12;\n }\n },\n meridiem: function meridiem(hour, minute, isLower) {\n var hm = hour * 100 + minute;\n\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1130) {\n return '上åˆ';\n } else if (hm < 1230) {\n return 'ä¸åˆ';\n } else if (hm < 1800) {\n return '下åˆ';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天] LT',\n nextDay: '[明天] LT',\n nextWeek: '[下]dddd LT',\n lastDay: '[昨天] LT',\n lastWeek: '[上]dddd LT',\n sameElse: 'L'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(æ—¥|月|週)/,\n ordinal: function ordinal(number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + 'æ—¥';\n\n case 'M':\n return number + '月';\n\n case 'w':\n case 'W':\n return number + '週';\n\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%så…§',\n past: '%så‰',\n s: '幾秒',\n ss: '%d 秒',\n m: '1 分é˜',\n mm: '%d 分é˜',\n h: '1 å°æ™‚',\n hh: '%d å°æ™‚',\n d: '1 天',\n dd: '%d 天',\n M: '1 個月',\n MM: '%d 個月',\n y: '1 å¹´',\n yy: '%d å¹´'\n }\n });\n return zhTw;\n});","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n\n\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n} // Add methods to `Stack`.\n\n\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\nmodule.exports = Stack;","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || value !== value && other !== other;\n}\n\nmodule.exports = eq;","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n/** `Object#toString` result references. */\n\n\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n } // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n\n\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = (typeof global === \"undefined\" ? \"undefined\" : _typeof(global)) == 'object' && global && global.Object === Object && global;\nmodule.exports = freeGlobal;","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n/** Used to resolve the decompiled source of functions. */\n\nvar funcToString = funcProto.toString;\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n\n try {\n return func + '';\n } catch (e) {}\n }\n\n return '';\n}\n\nmodule.exports = toSource;","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n/** Used to compose bitmasks for value comparisons. */\n\n\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n } // Assume cyclic values are equal.\n\n\n var stacked = stack.get(array);\n\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n\n var index = -1,\n result = true,\n seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : undefined;\n stack.set(array, other);\n stack.set(other, array); // Ignore non-index properties.\n\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);\n }\n\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n\n result = false;\n break;\n } // Recursively compare arrays (susceptible to call stack limits).\n\n\n if (seen) {\n if (!arraySome(other, function (othValue, othIndex) {\n if (!cacheHas(seen, othIndex) && (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n result = false;\n break;\n }\n }\n\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n/** Used for built-in method references. */\n\n\nvar objectProto = Object.prototype;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/** Built-in value references. */\n\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n\nvar isArguments = baseIsArguments(function () {\n return arguments;\n}()) ? baseIsArguments : function (value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && !propertyIsEnumerable.call(value, 'callee');\n};\nmodule.exports = isArguments;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar root = require('./_root'),\n stubFalse = require('./stubFalse');\n/** Detect free variable `exports`. */\n\n\nvar freeExports = (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) == 'object' && exports && !exports.nodeType && exports;\n/** Detect free variable `module`. */\n\nvar freeModule = freeExports && (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) == 'object' && module && !module.nodeType && module;\n/** Detect the popular CommonJS extension `module.exports`. */\n\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n/** Built-in value references. */\n\nvar Buffer = moduleExports ? root.Buffer : undefined;\n/* Built-in method references for those with the same name as other `lodash` methods. */\n\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n\nvar isBuffer = nativeIsBuffer || stubFalse;\nmodule.exports = isBuffer;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n/** Used to detect unsigned integer values. */\n\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n\nfunction isIndex(value, length) {\n var type = _typeof(value);\n\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length && (type == 'number' || type != 'symbol' && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;\n}\n\nmodule.exports = isIndex;","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n/* Node.js helper references. */\n\n\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\nmodule.exports = isTypedArray;","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n\n\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;","var isObject = require('./isObject');\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n\n\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function (object) {\n if (object == null) {\n return false;\n }\n\n return object[key] === srcValue && (srcValue !== undefined || key in Object(object));\n };\n}\n\nmodule.exports = matchesStrictComparable;","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n\n\nfunction baseGet(object, path) {\n path = castPath(path, object);\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n\n return index && index == length ? object : undefined;\n}\n\nmodule.exports = baseGet;","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n\n\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;","export default function symbolObservablePonyfill(root) {\n var result;\n var _Symbol = root.Symbol;\n\n if (typeof _Symbol === 'function') {\n if (_Symbol.observable) {\n result = _Symbol.observable;\n } else {\n result = _Symbol('observable');\n _Symbol.observable = result;\n }\n } else {\n result = '@@observable';\n }\n\n return result;\n}\n;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n(function () {\n var context = this;\n (function () {\n (function () {\n var slice = [].slice;\n this.ActionCable = {\n INTERNAL: {\n \"message_types\": {\n \"welcome\": \"welcome\",\n \"ping\": \"ping\",\n \"confirmation\": \"confirm_subscription\",\n \"rejection\": \"reject_subscription\"\n },\n \"default_mount_path\": \"/cable\",\n \"protocols\": [\"actioncable-v1-json\", \"actioncable-unsupported\"]\n },\n WebSocket: window.WebSocket,\n logger: window.console,\n createConsumer: function createConsumer(url) {\n var ref;\n\n if (url == null) {\n url = (ref = this.getConfig(\"url\")) != null ? ref : this.INTERNAL.default_mount_path;\n }\n\n return new ActionCable.Consumer(this.createWebSocketURL(url));\n },\n getConfig: function getConfig(name) {\n var element;\n element = document.head.querySelector(\"meta[name='action-cable-\" + name + \"']\");\n return element != null ? element.getAttribute(\"content\") : void 0;\n },\n createWebSocketURL: function createWebSocketURL(url) {\n var a;\n\n if (url && !/^wss?:/i.test(url)) {\n a = document.createElement(\"a\");\n a.href = url;\n a.href = a.href;\n a.protocol = a.protocol.replace(\"http\", \"ws\");\n return a.href;\n } else {\n return url;\n }\n },\n startDebugging: function startDebugging() {\n return this.debugging = true;\n },\n stopDebugging: function stopDebugging() {\n return this.debugging = null;\n },\n log: function log() {\n var messages, ref;\n messages = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n\n if (this.debugging) {\n messages.push(Date.now());\n return (ref = this.logger).log.apply(ref, [\"[ActionCable]\"].concat(slice.call(messages)));\n }\n }\n };\n }).call(this);\n }).call(context);\n var ActionCable = context.ActionCable;\n (function () {\n (function () {\n var bind = function bind(fn, me) {\n return function () {\n return fn.apply(me, arguments);\n };\n };\n\n ActionCable.ConnectionMonitor = function () {\n var clamp, now, secondsSince;\n ConnectionMonitor.pollInterval = {\n min: 3,\n max: 30\n };\n ConnectionMonitor.staleThreshold = 6;\n\n function ConnectionMonitor(connection) {\n this.connection = connection;\n this.visibilityDidChange = bind(this.visibilityDidChange, this);\n this.reconnectAttempts = 0;\n }\n\n ConnectionMonitor.prototype.start = function () {\n if (!this.isRunning()) {\n this.startedAt = now();\n delete this.stoppedAt;\n this.startPolling();\n document.addEventListener(\"visibilitychange\", this.visibilityDidChange);\n return ActionCable.log(\"ConnectionMonitor started. pollInterval = \" + this.getPollInterval() + \" ms\");\n }\n };\n\n ConnectionMonitor.prototype.stop = function () {\n if (this.isRunning()) {\n this.stoppedAt = now();\n this.stopPolling();\n document.removeEventListener(\"visibilitychange\", this.visibilityDidChange);\n return ActionCable.log(\"ConnectionMonitor stopped\");\n }\n };\n\n ConnectionMonitor.prototype.isRunning = function () {\n return this.startedAt != null && this.stoppedAt == null;\n };\n\n ConnectionMonitor.prototype.recordPing = function () {\n return this.pingedAt = now();\n };\n\n ConnectionMonitor.prototype.recordConnect = function () {\n this.reconnectAttempts = 0;\n this.recordPing();\n delete this.disconnectedAt;\n return ActionCable.log(\"ConnectionMonitor recorded connect\");\n };\n\n ConnectionMonitor.prototype.recordDisconnect = function () {\n this.disconnectedAt = now();\n return ActionCable.log(\"ConnectionMonitor recorded disconnect\");\n };\n\n ConnectionMonitor.prototype.startPolling = function () {\n this.stopPolling();\n return this.poll();\n };\n\n ConnectionMonitor.prototype.stopPolling = function () {\n return clearTimeout(this.pollTimeout);\n };\n\n ConnectionMonitor.prototype.poll = function () {\n return this.pollTimeout = setTimeout(function (_this) {\n return function () {\n _this.reconnectIfStale();\n\n return _this.poll();\n };\n }(this), this.getPollInterval());\n };\n\n ConnectionMonitor.prototype.getPollInterval = function () {\n var interval, max, min, ref;\n ref = this.constructor.pollInterval, min = ref.min, max = ref.max;\n interval = 5 * Math.log(this.reconnectAttempts + 1);\n return Math.round(clamp(interval, min, max) * 1000);\n };\n\n ConnectionMonitor.prototype.reconnectIfStale = function () {\n if (this.connectionIsStale()) {\n ActionCable.log(\"ConnectionMonitor detected stale connection. reconnectAttempts = \" + this.reconnectAttempts + \", pollInterval = \" + this.getPollInterval() + \" ms, time disconnected = \" + secondsSince(this.disconnectedAt) + \" s, stale threshold = \" + this.constructor.staleThreshold + \" s\");\n this.reconnectAttempts++;\n\n if (this.disconnectedRecently()) {\n return ActionCable.log(\"ConnectionMonitor skipping reopening recent disconnect\");\n } else {\n ActionCable.log(\"ConnectionMonitor reopening\");\n return this.connection.reopen();\n }\n }\n };\n\n ConnectionMonitor.prototype.connectionIsStale = function () {\n var ref;\n return secondsSince((ref = this.pingedAt) != null ? ref : this.startedAt) > this.constructor.staleThreshold;\n };\n\n ConnectionMonitor.prototype.disconnectedRecently = function () {\n return this.disconnectedAt && secondsSince(this.disconnectedAt) < this.constructor.staleThreshold;\n };\n\n ConnectionMonitor.prototype.visibilityDidChange = function () {\n if (document.visibilityState === \"visible\") {\n return setTimeout(function (_this) {\n return function () {\n if (_this.connectionIsStale() || !_this.connection.isOpen()) {\n ActionCable.log(\"ConnectionMonitor reopening stale connection on visibilitychange. visbilityState = \" + document.visibilityState);\n return _this.connection.reopen();\n }\n };\n }(this), 200);\n }\n };\n\n now = function now() {\n return new Date().getTime();\n };\n\n secondsSince = function secondsSince(time) {\n return (now() - time) / 1000;\n };\n\n clamp = function clamp(number, min, max) {\n return Math.max(min, Math.min(max, number));\n };\n\n return ConnectionMonitor;\n }();\n }).call(this);\n (function () {\n var i,\n message_types,\n protocols,\n ref,\n supportedProtocols,\n unsupportedProtocol,\n slice = [].slice,\n bind = function bind(fn, me) {\n return function () {\n return fn.apply(me, arguments);\n };\n },\n indexOf = [].indexOf || function (item) {\n for (var i = 0, l = this.length; i < l; i++) {\n if (i in this && this[i] === item) return i;\n }\n\n return -1;\n };\n\n ref = ActionCable.INTERNAL, message_types = ref.message_types, protocols = ref.protocols;\n supportedProtocols = 2 <= protocols.length ? slice.call(protocols, 0, i = protocols.length - 1) : (i = 0, []), unsupportedProtocol = protocols[i++];\n\n ActionCable.Connection = function () {\n Connection.reopenDelay = 500;\n\n function Connection(consumer) {\n this.consumer = consumer;\n this.open = bind(this.open, this);\n this.subscriptions = this.consumer.subscriptions;\n this.monitor = new ActionCable.ConnectionMonitor(this);\n this.disconnected = true;\n }\n\n Connection.prototype.send = function (data) {\n if (this.isOpen()) {\n this.webSocket.send(JSON.stringify(data));\n return true;\n } else {\n return false;\n }\n };\n\n Connection.prototype.open = function () {\n if (this.isActive()) {\n ActionCable.log(\"Attempted to open WebSocket, but existing socket is \" + this.getState());\n return false;\n } else {\n ActionCable.log(\"Opening WebSocket, current state is \" + this.getState() + \", subprotocols: \" + protocols);\n\n if (this.webSocket != null) {\n this.uninstallEventHandlers();\n }\n\n this.webSocket = new ActionCable.WebSocket(this.consumer.url, protocols);\n this.installEventHandlers();\n this.monitor.start();\n return true;\n }\n };\n\n Connection.prototype.close = function (arg) {\n var allowReconnect, ref1;\n allowReconnect = (arg != null ? arg : {\n allowReconnect: true\n }).allowReconnect;\n\n if (!allowReconnect) {\n this.monitor.stop();\n }\n\n if (this.isActive()) {\n return (ref1 = this.webSocket) != null ? ref1.close() : void 0;\n }\n };\n\n Connection.prototype.reopen = function () {\n var error;\n ActionCable.log(\"Reopening WebSocket, current state is \" + this.getState());\n\n if (this.isActive()) {\n try {\n return this.close();\n } catch (error1) {\n error = error1;\n return ActionCable.log(\"Failed to reopen WebSocket\", error);\n } finally {\n ActionCable.log(\"Reopening WebSocket in \" + this.constructor.reopenDelay + \"ms\");\n setTimeout(this.open, this.constructor.reopenDelay);\n }\n } else {\n return this.open();\n }\n };\n\n Connection.prototype.getProtocol = function () {\n var ref1;\n return (ref1 = this.webSocket) != null ? ref1.protocol : void 0;\n };\n\n Connection.prototype.isOpen = function () {\n return this.isState(\"open\");\n };\n\n Connection.prototype.isActive = function () {\n return this.isState(\"open\", \"connecting\");\n };\n\n Connection.prototype.isProtocolSupported = function () {\n var ref1;\n return ref1 = this.getProtocol(), indexOf.call(supportedProtocols, ref1) >= 0;\n };\n\n Connection.prototype.isState = function () {\n var ref1, states;\n states = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n return ref1 = this.getState(), indexOf.call(states, ref1) >= 0;\n };\n\n Connection.prototype.getState = function () {\n var ref1, state, value;\n\n for (state in WebSocket) {\n value = WebSocket[state];\n\n if (value === ((ref1 = this.webSocket) != null ? ref1.readyState : void 0)) {\n return state.toLowerCase();\n }\n }\n\n return null;\n };\n\n Connection.prototype.installEventHandlers = function () {\n var eventName, handler;\n\n for (eventName in this.events) {\n handler = this.events[eventName].bind(this);\n this.webSocket[\"on\" + eventName] = handler;\n }\n };\n\n Connection.prototype.uninstallEventHandlers = function () {\n var eventName;\n\n for (eventName in this.events) {\n this.webSocket[\"on\" + eventName] = function () {};\n }\n };\n\n Connection.prototype.events = {\n message: function message(event) {\n var identifier, message, ref1, type;\n\n if (!this.isProtocolSupported()) {\n return;\n }\n\n ref1 = JSON.parse(event.data), identifier = ref1.identifier, message = ref1.message, type = ref1.type;\n\n switch (type) {\n case message_types.welcome:\n this.monitor.recordConnect();\n return this.subscriptions.reload();\n\n case message_types.ping:\n return this.monitor.recordPing();\n\n case message_types.confirmation:\n return this.subscriptions.notify(identifier, \"connected\");\n\n case message_types.rejection:\n return this.subscriptions.reject(identifier);\n\n default:\n return this.subscriptions.notify(identifier, \"received\", message);\n }\n },\n open: function open() {\n ActionCable.log(\"WebSocket onopen event, using '\" + this.getProtocol() + \"' subprotocol\");\n this.disconnected = false;\n\n if (!this.isProtocolSupported()) {\n ActionCable.log(\"Protocol is unsupported. Stopping monitor and disconnecting.\");\n return this.close({\n allowReconnect: false\n });\n }\n },\n close: function close(event) {\n ActionCable.log(\"WebSocket onclose event\");\n\n if (this.disconnected) {\n return;\n }\n\n this.disconnected = true;\n this.monitor.recordDisconnect();\n return this.subscriptions.notifyAll(\"disconnected\", {\n willAttemptReconnect: this.monitor.isRunning()\n });\n },\n error: function error() {\n return ActionCable.log(\"WebSocket onerror event\");\n }\n };\n return Connection;\n }();\n }).call(this);\n (function () {\n var slice = [].slice;\n\n ActionCable.Subscriptions = function () {\n function Subscriptions(consumer) {\n this.consumer = consumer;\n this.subscriptions = [];\n }\n\n Subscriptions.prototype.create = function (channelName, mixin) {\n var channel, params, subscription;\n channel = channelName;\n params = _typeof(channel) === \"object\" ? channel : {\n channel: channel\n };\n subscription = new ActionCable.Subscription(this.consumer, params, mixin);\n return this.add(subscription);\n };\n\n Subscriptions.prototype.add = function (subscription) {\n this.subscriptions.push(subscription);\n this.consumer.ensureActiveConnection();\n this.notify(subscription, \"initialized\");\n this.sendCommand(subscription, \"subscribe\");\n return subscription;\n };\n\n Subscriptions.prototype.remove = function (subscription) {\n this.forget(subscription);\n\n if (!this.findAll(subscription.identifier).length) {\n this.sendCommand(subscription, \"unsubscribe\");\n }\n\n return subscription;\n };\n\n Subscriptions.prototype.reject = function (identifier) {\n var i, len, ref, results, subscription;\n ref = this.findAll(identifier);\n results = [];\n\n for (i = 0, len = ref.length; i < len; i++) {\n subscription = ref[i];\n this.forget(subscription);\n this.notify(subscription, \"rejected\");\n results.push(subscription);\n }\n\n return results;\n };\n\n Subscriptions.prototype.forget = function (subscription) {\n var s;\n\n this.subscriptions = function () {\n var i, len, ref, results;\n ref = this.subscriptions;\n results = [];\n\n for (i = 0, len = ref.length; i < len; i++) {\n s = ref[i];\n\n if (s !== subscription) {\n results.push(s);\n }\n }\n\n return results;\n }.call(this);\n\n return subscription;\n };\n\n Subscriptions.prototype.findAll = function (identifier) {\n var i, len, ref, results, s;\n ref = this.subscriptions;\n results = [];\n\n for (i = 0, len = ref.length; i < len; i++) {\n s = ref[i];\n\n if (s.identifier === identifier) {\n results.push(s);\n }\n }\n\n return results;\n };\n\n Subscriptions.prototype.reload = function () {\n var i, len, ref, results, subscription;\n ref = this.subscriptions;\n results = [];\n\n for (i = 0, len = ref.length; i < len; i++) {\n subscription = ref[i];\n results.push(this.sendCommand(subscription, \"subscribe\"));\n }\n\n return results;\n };\n\n Subscriptions.prototype.notifyAll = function () {\n var args, callbackName, i, len, ref, results, subscription;\n callbackName = arguments[0], args = 2 <= arguments.length ? slice.call(arguments, 1) : [];\n ref = this.subscriptions;\n results = [];\n\n for (i = 0, len = ref.length; i < len; i++) {\n subscription = ref[i];\n results.push(this.notify.apply(this, [subscription, callbackName].concat(slice.call(args))));\n }\n\n return results;\n };\n\n Subscriptions.prototype.notify = function () {\n var args, callbackName, i, len, results, subscription, subscriptions;\n subscription = arguments[0], callbackName = arguments[1], args = 3 <= arguments.length ? slice.call(arguments, 2) : [];\n\n if (typeof subscription === \"string\") {\n subscriptions = this.findAll(subscription);\n } else {\n subscriptions = [subscription];\n }\n\n results = [];\n\n for (i = 0, len = subscriptions.length; i < len; i++) {\n subscription = subscriptions[i];\n results.push(typeof subscription[callbackName] === \"function\" ? subscription[callbackName].apply(subscription, args) : void 0);\n }\n\n return results;\n };\n\n Subscriptions.prototype.sendCommand = function (subscription, command) {\n var identifier;\n identifier = subscription.identifier;\n return this.consumer.send({\n command: command,\n identifier: identifier\n });\n };\n\n return Subscriptions;\n }();\n }).call(this);\n (function () {\n ActionCable.Subscription = function () {\n var extend;\n\n function Subscription(consumer, params, mixin) {\n this.consumer = consumer;\n\n if (params == null) {\n params = {};\n }\n\n this.identifier = JSON.stringify(params);\n extend(this, mixin);\n }\n\n Subscription.prototype.perform = function (action, data) {\n if (data == null) {\n data = {};\n }\n\n data.action = action;\n return this.send(data);\n };\n\n Subscription.prototype.send = function (data) {\n return this.consumer.send({\n command: \"message\",\n identifier: this.identifier,\n data: JSON.stringify(data)\n });\n };\n\n Subscription.prototype.unsubscribe = function () {\n return this.consumer.subscriptions.remove(this);\n };\n\n extend = function extend(object, properties) {\n var key, value;\n\n if (properties != null) {\n for (key in properties) {\n value = properties[key];\n object[key] = value;\n }\n }\n\n return object;\n };\n\n return Subscription;\n }();\n }).call(this);\n (function () {\n ActionCable.Consumer = function () {\n function Consumer(url) {\n this.url = url;\n this.subscriptions = new ActionCable.Subscriptions(this);\n this.connection = new ActionCable.Connection(this);\n }\n\n Consumer.prototype.send = function (data) {\n return this.connection.send(data);\n };\n\n Consumer.prototype.connect = function () {\n return this.connection.open();\n };\n\n Consumer.prototype.disconnect = function () {\n return this.connection.close({\n allowReconnect: false\n });\n };\n\n Consumer.prototype.ensureActiveConnection = function () {\n if (!this.connection.isActive()) {\n return this.connection.open();\n }\n };\n\n return Consumer;\n }();\n }).call(this);\n }).call(this);\n\n if ((typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) === \"object\" && module.exports) {\n module.exports = ActionCable;\n } else if (typeof define === \"function\" && define.amd) {\n define(ActionCable);\n }\n}).call(this);","// @flow\n'use strict';\n\nvar key = '__global_unique_id__';\n\nmodule.exports = function () {\n return global[key] = (global[key] || 0) + 1;\n};","'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar _createClass = function () {\n function 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\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\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 _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (_typeof(call) === \"object\" || typeof call === \"function\") ? call : self;\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, not \" + _typeof(superClass));\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar React = require('react');\n\nvar createFocusTrap = require('focus-trap');\n\nvar checkedProps = ['active', 'paused', 'tag', 'focusTrapOptions', '_createFocusTrap'];\n\nvar FocusTrap = function (_React$Component) {\n _inherits(FocusTrap, _React$Component);\n\n function FocusTrap(props) {\n _classCallCheck(this, FocusTrap);\n\n var _this = _possibleConstructorReturn(this, (FocusTrap.__proto__ || Object.getPrototypeOf(FocusTrap)).call(this, props));\n\n _this.setNode = function (el) {\n _this.node = el;\n };\n\n if (typeof document !== 'undefined') {\n _this.previouslyFocusedElement = document.activeElement;\n }\n\n return _this;\n }\n\n _createClass(FocusTrap, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n // We need to hijack the returnFocusOnDeactivate option,\n // because React can move focus into the element before we arrived at\n // this lifecycle hook (e.g. with autoFocus inputs). So the component\n // captures the previouslyFocusedElement in componentWillMount,\n // then (optionally) returns focus to it in componentWillUnmount.\n var specifiedFocusTrapOptions = this.props.focusTrapOptions;\n var tailoredFocusTrapOptions = {\n returnFocusOnDeactivate: false\n };\n\n for (var optionName in specifiedFocusTrapOptions) {\n if (!specifiedFocusTrapOptions.hasOwnProperty(optionName)) continue;\n if (optionName === 'returnFocusOnDeactivate') continue;\n tailoredFocusTrapOptions[optionName] = specifiedFocusTrapOptions[optionName];\n }\n\n this.focusTrap = this.props._createFocusTrap(this.node, tailoredFocusTrapOptions);\n\n if (this.props.active) {\n this.focusTrap.activate();\n }\n\n if (this.props.paused) {\n this.focusTrap.pause();\n }\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n if (prevProps.active && !this.props.active) {\n var returnFocusOnDeactivate = this.props.focusTrapOptions.returnFocusOnDeactivate;\n var returnFocus = returnFocusOnDeactivate || false;\n var config = {\n returnFocus: returnFocus\n };\n this.focusTrap.deactivate(config);\n } else if (!prevProps.active && this.props.active) {\n this.focusTrap.activate();\n }\n\n if (prevProps.paused && !this.props.paused) {\n this.focusTrap.unpause();\n } else if (!prevProps.paused && this.props.paused) {\n this.focusTrap.pause();\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.focusTrap.deactivate();\n\n if (this.props.focusTrapOptions.returnFocusOnDeactivate !== false && this.previouslyFocusedElement && this.previouslyFocusedElement.focus) {\n this.previouslyFocusedElement.focus();\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var elementProps = {\n ref: this.setNode\n }; // This will get id, className, style, etc. -- arbitrary element props\n\n for (var prop in this.props) {\n if (!this.props.hasOwnProperty(prop)) continue;\n if (checkedProps.indexOf(prop) !== -1) continue;\n elementProps[prop] = this.props[prop];\n }\n\n return React.createElement(this.props.tag, elementProps, this.props.children);\n }\n }]);\n\n return FocusTrap;\n}(React.Component);\n\nFocusTrap.defaultProps = {\n active: true,\n tag: 'div',\n paused: false,\n focusTrapOptions: {},\n _createFocusTrap: createFocusTrap\n};\nmodule.exports = FocusTrap;","module.exports = __webpack_public_path__ + \"media/images/logo-acec3fc1bf5ee576ae8a7cf1b9344a83.svg\";","module.exports = require('./dist/index');","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define('ReactTagsInput', ['module', 'exports', 'react', 'prop-types'], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(module, exports, require('react'), require('prop-types'));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod, mod.exports, global.React, global.propTypes);\n global.ReactTagsInput = mod.exports;\n }\n})(this, function (module, exports, _react, _propTypes) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\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\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n var _createClass = function () {\n function 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\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n\n function _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (_typeof(call) === \"object\" || typeof call === \"function\") ? call : self;\n }\n\n function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(superClass));\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n }\n\n var _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 function _objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n }\n\n function uniq(arr) {\n var out = [];\n\n for (var i = 0; i < arr.length; i++) {\n if (out.indexOf(arr[i]) === -1) {\n out.push(arr[i]);\n }\n }\n\n return out;\n }\n /* istanbul ignore next */\n\n\n function getClipboardData(e) {\n if (window.clipboardData) {\n return window.clipboardData.getData('Text');\n }\n\n if (e.clipboardData) {\n return e.clipboardData.getData('text/plain');\n }\n\n return '';\n }\n\n function defaultRenderTag(props) {\n var tag = props.tag,\n key = props.key,\n disabled = props.disabled,\n onRemove = props.onRemove,\n classNameRemove = props.classNameRemove,\n getTagDisplayValue = props.getTagDisplayValue,\n other = _objectWithoutProperties(props, ['tag', 'key', 'disabled', 'onRemove', 'classNameRemove', 'getTagDisplayValue']);\n\n return _react2.default.createElement('span', _extends({\n key: key\n }, other), getTagDisplayValue(tag), !disabled && _react2.default.createElement('a', {\n className: classNameRemove,\n onClick: function onClick(e) {\n return onRemove(key);\n }\n }));\n }\n\n function defaultRenderInput(_ref) {\n var addTag = _ref.addTag,\n props = _objectWithoutProperties(_ref, ['addTag']);\n\n var onChange = props.onChange,\n value = props.value,\n other = _objectWithoutProperties(props, ['onChange', 'value']);\n\n return _react2.default.createElement('input', _extends({\n type: 'text',\n onChange: onChange,\n value: value\n }, other));\n }\n\n function defaultRenderLayout(tagComponents, inputComponent) {\n return _react2.default.createElement('span', null, tagComponents, inputComponent);\n }\n\n function defaultPasteSplit(data) {\n return data.split(' ').map(function (d) {\n return d.trim();\n });\n }\n\n var defaultInputProps = {\n className: 'react-tagsinput-input',\n placeholder: 'Add a tag'\n };\n\n var TagsInput = function (_React$Component) {\n _inherits(TagsInput, _React$Component);\n /* istanbul ignore next */\n\n\n function TagsInput() {\n _classCallCheck(this, TagsInput);\n\n var _this = _possibleConstructorReturn(this, (TagsInput.__proto__ || Object.getPrototypeOf(TagsInput)).call(this));\n\n _this.state = {\n tag: '',\n isFocused: false\n };\n _this.focus = _this.focus.bind(_this);\n _this.blur = _this.blur.bind(_this);\n return _this;\n }\n\n _createClass(TagsInput, [{\n key: '_getTagDisplayValue',\n value: function _getTagDisplayValue(tag) {\n var tagDisplayProp = this.props.tagDisplayProp;\n\n if (tagDisplayProp) {\n return tag[tagDisplayProp];\n }\n\n return tag;\n }\n }, {\n key: '_makeTag',\n value: function _makeTag(tag) {\n var tagDisplayProp = this.props.tagDisplayProp;\n\n if (tagDisplayProp) {\n return _defineProperty({}, tagDisplayProp, tag);\n }\n\n return tag;\n }\n }, {\n key: '_removeTag',\n value: function _removeTag(index) {\n var value = this.props.value.concat([]);\n\n if (index > -1 && index < value.length) {\n var changed = value.splice(index, 1);\n this.props.onChange(value, changed, [index]);\n }\n }\n }, {\n key: '_clearInput',\n value: function _clearInput() {\n if (this.hasControlledInput()) {\n this.props.onChangeInput('');\n } else {\n this.setState({\n tag: ''\n });\n }\n }\n }, {\n key: '_tag',\n value: function _tag() {\n if (this.hasControlledInput()) {\n return this.props.inputValue;\n }\n\n return this.state.tag;\n }\n }, {\n key: '_addTags',\n value: function _addTags(tags) {\n var _this2 = this;\n\n var _props = this.props,\n validationRegex = _props.validationRegex,\n onChange = _props.onChange,\n onValidationReject = _props.onValidationReject,\n onlyUnique = _props.onlyUnique,\n maxTags = _props.maxTags,\n value = _props.value;\n\n if (onlyUnique) {\n tags = uniq(tags);\n tags = tags.filter(function (tag) {\n return value.every(function (currentTag) {\n return _this2._getTagDisplayValue(currentTag) !== _this2._getTagDisplayValue(tag);\n });\n });\n }\n\n var rejectedTags = tags.filter(function (tag) {\n return !validationRegex.test(_this2._getTagDisplayValue(tag));\n });\n tags = tags.filter(function (tag) {\n return validationRegex.test(_this2._getTagDisplayValue(tag));\n });\n tags = tags.filter(function (tag) {\n var tagDisplayValue = _this2._getTagDisplayValue(tag);\n\n if (typeof tagDisplayValue.trim === 'function') {\n return tagDisplayValue.trim().length > 0;\n } else {\n return tagDisplayValue;\n }\n });\n\n if (maxTags >= 0) {\n var remainingLimit = Math.max(maxTags - value.length, 0);\n tags = tags.slice(0, remainingLimit);\n }\n\n if (onValidationReject && rejectedTags.length > 0) {\n onValidationReject(rejectedTags);\n }\n\n if (tags.length > 0) {\n var newValue = value.concat(tags);\n var indexes = [];\n\n for (var i = 0; i < tags.length; i++) {\n indexes.push(value.length + i);\n }\n\n onChange(newValue, tags, indexes);\n\n this._clearInput();\n\n return true;\n }\n\n if (rejectedTags.length > 0) {\n return false;\n }\n\n this._clearInput();\n\n return false;\n }\n }, {\n key: '_shouldPreventDefaultEventOnAdd',\n value: function _shouldPreventDefaultEventOnAdd(added, empty, keyCode) {\n if (added) {\n return true;\n }\n\n if (keyCode === 13) {\n return this.props.preventSubmit || !this.props.preventSubmit && !empty;\n }\n\n return false;\n }\n }, {\n key: 'focus',\n value: function focus() {\n if (this.input && typeof this.input.focus === 'function') {\n this.input.focus();\n }\n\n this.handleOnFocus();\n }\n }, {\n key: 'blur',\n value: function blur() {\n if (this.input && typeof this.input.blur === 'function') {\n this.input.blur();\n }\n\n this.handleOnBlur();\n }\n }, {\n key: 'accept',\n value: function accept() {\n var tag = this._tag();\n\n if (tag !== '') {\n tag = this._makeTag(tag);\n return this._addTags([tag]);\n }\n\n return false;\n }\n }, {\n key: 'addTag',\n value: function addTag(tag) {\n return this._addTags([tag]);\n }\n }, {\n key: 'clearInput',\n value: function clearInput() {\n this._clearInput();\n }\n }, {\n key: 'handlePaste',\n value: function handlePaste(e) {\n var _this3 = this;\n\n var _props2 = this.props,\n addOnPaste = _props2.addOnPaste,\n pasteSplit = _props2.pasteSplit;\n\n if (!addOnPaste) {\n return;\n }\n\n e.preventDefault();\n var data = getClipboardData(e);\n var tags = pasteSplit(data).map(function (tag) {\n return _this3._makeTag(tag);\n });\n\n this._addTags(tags);\n }\n }, {\n key: 'handleKeyDown',\n value: function handleKeyDown(e) {\n if (e.defaultPrevented) {\n return;\n }\n\n var _props3 = this.props,\n value = _props3.value,\n removeKeys = _props3.removeKeys,\n addKeys = _props3.addKeys;\n\n var tag = this._tag();\n\n var empty = tag === '';\n var keyCode = e.keyCode;\n var key = e.key;\n var add = addKeys.indexOf(keyCode) !== -1 || addKeys.indexOf(key) !== -1;\n var remove = removeKeys.indexOf(keyCode) !== -1 || removeKeys.indexOf(key) !== -1;\n\n if (add) {\n var added = this.accept();\n\n if (this._shouldPreventDefaultEventOnAdd(added, empty, keyCode)) {\n e.preventDefault();\n }\n }\n\n if (remove && value.length > 0 && empty) {\n e.preventDefault();\n\n this._removeTag(value.length - 1);\n }\n }\n }, {\n key: 'handleClick',\n value: function handleClick(e) {\n if (e.target === this.div) {\n this.focus();\n }\n }\n }, {\n key: 'handleChange',\n value: function handleChange(e) {\n var onChangeInput = this.props.onChangeInput;\n var onChange = this.props.inputProps.onChange;\n var tag = e.target.value;\n\n if (onChange) {\n onChange(e);\n }\n\n if (this.hasControlledInput()) {\n onChangeInput(tag);\n } else {\n this.setState({\n tag: tag\n });\n }\n }\n }, {\n key: 'handleOnFocus',\n value: function handleOnFocus(e) {\n var onFocus = this.props.inputProps.onFocus;\n\n if (onFocus) {\n onFocus(e);\n }\n\n this.setState({\n isFocused: true\n });\n }\n }, {\n key: 'handleOnBlur',\n value: function handleOnBlur(e) {\n var onBlur = this.props.inputProps.onBlur;\n this.setState({\n isFocused: false\n });\n\n if (e == null) {\n return;\n }\n\n if (onBlur) {\n onBlur(e);\n }\n\n if (this.props.addOnBlur) {\n var tag = this._makeTag(e.target.value);\n\n this._addTags([tag]);\n }\n }\n }, {\n key: 'handleRemove',\n value: function handleRemove(tag) {\n this._removeTag(tag);\n }\n }, {\n key: 'inputProps',\n value: function inputProps() {\n var _props$inputProps = this.props.inputProps,\n onChange = _props$inputProps.onChange,\n onFocus = _props$inputProps.onFocus,\n onBlur = _props$inputProps.onBlur,\n otherInputProps = _objectWithoutProperties(_props$inputProps, ['onChange', 'onFocus', 'onBlur']);\n\n var props = _extends({}, defaultInputProps, otherInputProps);\n\n if (this.props.disabled) {\n props.disabled = true;\n }\n\n return props;\n }\n }, {\n key: 'inputValue',\n value: function inputValue(props) {\n return props.currentValue || props.inputValue || '';\n }\n }, {\n key: 'hasControlledInput',\n value: function hasControlledInput() {\n var _props4 = this.props,\n inputValue = _props4.inputValue,\n onChangeInput = _props4.onChangeInput;\n return typeof onChangeInput === 'function' && typeof inputValue === 'string';\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (this.hasControlledInput()) {\n return;\n }\n\n this.setState({\n tag: this.inputValue(this.props)\n });\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n /* istanbul ignore next */\n if (this.hasControlledInput()) {\n return;\n }\n\n if (!this.inputValue(nextProps)) {\n return;\n }\n\n this.setState({\n tag: this.inputValue(nextProps)\n });\n }\n }, {\n key: 'render',\n value: function render() {\n var _this4 = this;\n\n var _props5 = this.props,\n value = _props5.value,\n onChange = _props5.onChange,\n tagProps = _props5.tagProps,\n renderLayout = _props5.renderLayout,\n renderTag = _props5.renderTag,\n renderInput = _props5.renderInput,\n addKeys = _props5.addKeys,\n removeKeys = _props5.removeKeys,\n className = _props5.className,\n focusedClassName = _props5.focusedClassName,\n addOnBlur = _props5.addOnBlur,\n addOnPaste = _props5.addOnPaste,\n inputProps = _props5.inputProps,\n pasteSplit = _props5.pasteSplit,\n onlyUnique = _props5.onlyUnique,\n maxTags = _props5.maxTags,\n validationRegex = _props5.validationRegex,\n disabled = _props5.disabled,\n tagDisplayProp = _props5.tagDisplayProp,\n inputValue = _props5.inputValue,\n onChangeInput = _props5.onChangeInput,\n other = _objectWithoutProperties(_props5, ['value', 'onChange', 'tagProps', 'renderLayout', 'renderTag', 'renderInput', 'addKeys', 'removeKeys', 'className', 'focusedClassName', 'addOnBlur', 'addOnPaste', 'inputProps', 'pasteSplit', 'onlyUnique', 'maxTags', 'validationRegex', 'disabled', 'tagDisplayProp', 'inputValue', 'onChangeInput']);\n\n var isFocused = this.state.isFocused;\n\n if (isFocused) {\n className += ' ' + focusedClassName;\n }\n\n var tagComponents = value.map(function (tag, index) {\n return renderTag(_extends({\n key: index,\n tag: tag,\n onRemove: _this4.handleRemove.bind(_this4),\n disabled: disabled,\n getTagDisplayValue: _this4._getTagDisplayValue.bind(_this4)\n }, tagProps));\n });\n var inputComponent = renderInput(_extends({\n ref: function ref(r) {\n _this4.input = r;\n },\n value: this._tag(),\n onPaste: this.handlePaste.bind(this),\n onKeyDown: this.handleKeyDown.bind(this),\n onChange: this.handleChange.bind(this),\n onFocus: this.handleOnFocus.bind(this),\n onBlur: this.handleOnBlur.bind(this),\n addTag: this.addTag.bind(this)\n }, this.inputProps()));\n return _react2.default.createElement('div', {\n ref: function ref(r) {\n _this4.div = r;\n },\n onClick: this.handleClick.bind(this),\n className: className\n }, renderLayout(tagComponents, inputComponent));\n }\n }]);\n\n return TagsInput;\n }(_react2.default.Component);\n\n TagsInput.defaultProps = {\n className: 'react-tagsinput',\n focusedClassName: 'react-tagsinput--focused',\n addKeys: [9, 13],\n addOnBlur: false,\n addOnPaste: false,\n inputProps: {},\n removeKeys: [8],\n renderInput: defaultRenderInput,\n renderTag: defaultRenderTag,\n renderLayout: defaultRenderLayout,\n pasteSplit: defaultPasteSplit,\n tagProps: {\n className: 'react-tagsinput-tag',\n classNameRemove: 'react-tagsinput-remove'\n },\n onlyUnique: false,\n maxTags: -1,\n validationRegex: /.*/,\n disabled: false,\n tagDisplayProp: null,\n preventSubmit: true\n };\n exports.default = TagsInput;\n module.exports = exports['default'];\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n!function (e, t) {\n \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) && \"object\" == (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) ? module.exports = t(require(\"react\")) : \"function\" == typeof define && define.amd ? define([\"react\"], t) : \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) ? exports.reactJsonView = t(require(\"react\")) : e.reactJsonView = t(e.React);\n}(\"undefined\" != typeof self ? self : this, function (e) {\n return function (e) {\n function t(r) {\n if (n[r]) return n[r].exports;\n var a = n[r] = {\n i: r,\n l: !1,\n exports: {}\n };\n return e[r].call(a.exports, a, a.exports, t), a.l = !0, a.exports;\n }\n\n var n = {};\n return t.m = e, t.c = n, t.d = function (e, n, r) {\n t.o(e, n) || Object.defineProperty(e, n, {\n configurable: !1,\n enumerable: !0,\n get: r\n });\n }, t.n = function (e) {\n var n = e && e.__esModule ? function () {\n return e.default;\n } : function () {\n return e;\n };\n return t.d(n, \"a\", n), n;\n }, t.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, t.p = \"\", t(t.s = 60);\n }([function (t, n) {\n t.exports = e;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t, n) {\n return e || console.error(\"theme has not been set\"), f(e)(t, n);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var a = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n };\n\n t.default = r;\n\n var o = n(64),\n i = n(65),\n s = function (e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }(i),\n u = n(66),\n l = function l(e) {\n return {\n backgroundColor: e.base00,\n ellipsisColor: e.base09,\n braceColor: e.base07,\n expandedIcon: e.base0D,\n collapsedIcon: e.base0E,\n keyColor: e.base07,\n arrayKeyColor: e.base0C,\n objectSize: e.base04,\n copyToClipboard: e.base0F,\n copyToClipboardCheck: e.base0D,\n objectBorder: e.base02,\n dataTypes: {\n boolean: e.base0E,\n date: e.base0D,\n float: e.base0B,\n function: e.base0D,\n integer: e.base0F,\n string: e.base09,\n nan: e.base08,\n null: e.base0A,\n undefined: e.base05,\n regexp: e.base0A,\n background: e.base02\n },\n editVariable: {\n editIcon: e.base0E,\n cancelIcon: e.base09,\n removeIcon: e.base09,\n addIcon: e.base0E,\n checkIcon: e.base0E,\n background: e.base01,\n color: e.base0A,\n border: e.base07\n },\n addKeyModal: {\n background: e.base05,\n border: e.base04,\n color: e.base0A,\n labelColor: e.base01\n },\n validationFailure: {\n background: e.base09,\n iconColor: e.base01,\n fontColor: e.base01\n }\n };\n },\n c = function c(e) {\n var t = l(e);\n return {\n \"app-container\": {\n fontFamily: s.default.globalFontFamily,\n cursor: s.default.globalCursor,\n backgroundColor: t.backgroundColor,\n position: \"relative\"\n },\n ellipsis: {\n display: \"inline-block\",\n color: t.ellipsisColor,\n fontSize: s.default.ellipsisFontSize,\n lineHeight: s.default.ellipsisLineHeight,\n cursor: s.default.ellipsisCursor\n },\n \"brace-row\": {\n display: \"inline-block\",\n cursor: \"pointer\"\n },\n brace: {\n display: \"inline-block\",\n cursor: s.default.braceCursor,\n fontWeight: s.default.braceFontWeight,\n color: t.braceColor\n },\n \"expanded-icon\": {\n color: t.expandedIcon\n },\n \"collapsed-icon\": {\n color: t.collapsedIcon\n },\n colon: {\n display: \"inline-block\",\n margin: s.default.keyMargin,\n color: t.keyColor,\n verticalAlign: \"top\"\n },\n objectKeyVal: function objectKeyVal(e, n) {\n return {\n style: a({\n paddingTop: s.default.keyValPaddingTop,\n paddingRight: s.default.keyValPaddingRight,\n paddingBottom: s.default.keyValPaddingBottom,\n borderLeft: s.default.keyValBorderLeft + \" \" + t.objectBorder,\n \":hover\": {\n paddingLeft: n.paddingLeft - 1 + \"px\",\n borderLeft: s.default.keyValBorderHover + \" \" + t.objectBorder\n }\n }, n)\n };\n },\n \"object-key-val-no-border\": {\n padding: s.default.keyValPadding\n },\n \"pushed-content\": {\n marginLeft: s.default.pushedContentMarginLeft\n },\n variableValue: function variableValue(e, t) {\n return {\n style: a({\n display: \"inline-block\",\n paddingRight: s.default.variableValuePaddingRight,\n position: \"relative\"\n }, t)\n };\n },\n \"object-name\": {\n display: \"inline-block\",\n color: t.keyColor,\n letterSpacing: s.default.keyLetterSpacing,\n fontStyle: s.default.keyFontStyle,\n verticalAlign: s.default.keyVerticalAlign,\n opacity: s.default.keyOpacity,\n \":hover\": {\n opacity: s.default.keyOpacityHover\n }\n },\n \"array-key\": {\n display: \"inline-block\",\n color: t.arrayKeyColor,\n letterSpacing: s.default.keyLetterSpacing,\n fontStyle: s.default.keyFontStyle,\n verticalAlign: s.default.keyVerticalAlign,\n opacity: s.default.keyOpacity,\n \":hover\": {\n opacity: s.default.keyOpacityHover\n }\n },\n \"object-size\": {\n color: t.objectSize,\n borderRadius: s.default.objectSizeBorderRadius,\n fontStyle: s.default.objectSizeFontStyle,\n margin: s.default.objectSizeMargin,\n cursor: \"default\"\n },\n \"data-type-label\": {\n fontSize: s.default.dataTypeFontSize,\n marginRight: s.default.dataTypeMarginRight,\n opacity: s.default.datatypeOpacity\n },\n boolean: {\n display: \"inline-block\",\n color: t.dataTypes.boolean\n },\n date: {\n display: \"inline-block\",\n color: t.dataTypes.date\n },\n \"date-value\": {\n marginLeft: s.default.dateValueMarginLeft\n },\n float: {\n display: \"inline-block\",\n color: t.dataTypes.float\n },\n function: {\n display: \"inline-block\",\n color: t.dataTypes.function,\n cursor: \"pointer\",\n whiteSpace: \"pre-line\"\n },\n \"function-value\": {\n fontStyle: \"italic\"\n },\n integer: {\n display: \"inline-block\",\n color: t.dataTypes.integer\n },\n string: {\n display: \"inline-block\",\n color: t.dataTypes.string\n },\n nan: {\n display: \"inline-block\",\n color: t.dataTypes.nan,\n fontSize: s.default.nanFontSize,\n fontWeight: s.default.nanFontWeight,\n backgroundColor: t.dataTypes.background,\n padding: s.default.nanPadding,\n borderRadius: s.default.nanBorderRadius\n },\n null: {\n display: \"inline-block\",\n color: t.dataTypes.null,\n fontSize: s.default.nullFontSize,\n fontWeight: s.default.nullFontWeight,\n backgroundColor: t.dataTypes.background,\n padding: s.default.nullPadding,\n borderRadius: s.default.nullBorderRadius\n },\n undefined: {\n display: \"inline-block\",\n color: t.dataTypes.undefined,\n fontSize: s.default.undefinedFontSize,\n padding: s.default.undefinedPadding,\n borderRadius: s.default.undefinedBorderRadius,\n backgroundColor: t.dataTypes.background\n },\n regexp: {\n display: \"inline-block\",\n color: t.dataTypes.regexp\n },\n \"copy-to-clipboard\": {\n cursor: s.default.clipboardCursor\n },\n \"copy-icon\": {\n color: t.copyToClipboard,\n fontSize: s.default.iconFontSize,\n marginRight: s.default.iconMarginRight,\n verticalAlign: \"top\"\n },\n \"copy-icon-copied\": {\n color: t.copyToClipboardCheck,\n marginLeft: s.default.clipboardCheckMarginLeft\n },\n \"array-group-meta-data\": {\n display: \"inline-block\",\n padding: s.default.arrayGroupMetaPadding\n },\n \"object-meta-data\": {\n display: \"inline-block\",\n padding: s.default.metaDataPadding\n },\n \"icon-container\": {\n display: \"inline-block\",\n width: s.default.iconContainerWidth\n },\n tooltip: {\n padding: s.default.tooltipPadding\n },\n removeVarIcon: {\n verticalAlign: \"top\",\n display: \"inline-block\",\n color: t.editVariable.removeIcon,\n cursor: s.default.iconCursor,\n fontSize: s.default.iconFontSize,\n marginRight: s.default.iconMarginRight\n },\n addVarIcon: {\n verticalAlign: \"top\",\n display: \"inline-block\",\n color: t.editVariable.addIcon,\n cursor: s.default.iconCursor,\n fontSize: s.default.iconFontSize,\n marginRight: s.default.iconMarginRight\n },\n editVarIcon: {\n verticalAlign: \"top\",\n display: \"inline-block\",\n color: t.editVariable.editIcon,\n cursor: s.default.iconCursor,\n fontSize: s.default.iconFontSize,\n marginRight: s.default.iconMarginRight\n },\n \"edit-icon-container\": {\n display: \"inline-block\",\n verticalAlign: \"top\"\n },\n \"check-icon\": {\n display: \"inline-block\",\n cursor: s.default.iconCursor,\n color: t.editVariable.checkIcon,\n fontSize: s.default.iconFontSize,\n paddingRight: s.default.iconPaddingRight\n },\n \"cancel-icon\": {\n display: \"inline-block\",\n cursor: s.default.iconCursor,\n color: t.editVariable.cancelIcon,\n fontSize: s.default.iconFontSize,\n paddingRight: s.default.iconPaddingRight\n },\n \"edit-input\": {\n display: \"inline-block\",\n minHeight: s.default.editInputHeight,\n minWidth: s.default.editInputMinWidth,\n borderRadius: s.default.editInputBorderRadius,\n backgroundColor: t.editVariable.background,\n color: t.editVariable.color,\n padding: s.default.editInputPadding,\n marginRight: s.default.editInputMarginRight,\n fontFamily: s.default.editInputFontFamily\n },\n \"detected-row\": {\n paddingTop: s.default.detectedRowPaddingTop\n },\n \"key-modal-request\": {\n position: s.default.addKeyCoverPosition,\n top: s.default.addKeyCoverPositionPx,\n left: s.default.addKeyCoverPositionPx,\n right: s.default.addKeyCoverPositionPx,\n bottom: s.default.addKeyCoverPositionPx,\n backgroundColor: s.default.addKeyCoverBackground\n },\n \"key-modal\": {\n width: s.default.addKeyModalWidth,\n backgroundColor: t.addKeyModal.background,\n marginLeft: s.default.addKeyModalMargin,\n marginRight: s.default.addKeyModalMargin,\n padding: s.default.addKeyModalPadding,\n borderRadius: s.default.addKeyModalRadius,\n marginTop: \"15px\",\n position: \"relative\"\n },\n \"key-modal-label\": {\n color: t.addKeyModal.labelColor,\n marginLeft: \"2px\",\n marginBottom: \"5px\",\n fontSize: \"11px\"\n },\n \"key-modal-input-container\": {\n overflow: \"hidden\"\n },\n \"key-modal-input\": {\n width: \"100%\",\n padding: \"3px 6px\",\n fontFamily: \"monospace\",\n color: t.addKeyModal.color,\n border: \"none\",\n boxSizing: \"border-box\",\n borderRadius: \"2px\"\n },\n \"key-modal-cancel\": {\n backgroundColor: t.editVariable.removeIcon,\n position: \"absolute\",\n top: \"0px\",\n right: \"0px\",\n borderRadius: \"0px 3px 0px 3px\",\n cursor: \"pointer\"\n },\n \"key-modal-cancel-icon\": {\n color: t.addKeyModal.labelColor,\n fontSize: s.default.iconFontSize,\n transform: \"rotate(45deg)\"\n },\n \"key-modal-submit\": {\n color: t.editVariable.addIcon,\n fontSize: s.default.iconFontSize,\n position: \"absolute\",\n right: \"2px\",\n top: \"3px\",\n cursor: \"pointer\"\n },\n \"function-ellipsis\": {\n display: \"inline-block\",\n color: t.ellipsisColor,\n fontSize: s.default.ellipsisFontSize,\n lineHeight: s.default.ellipsisLineHeight,\n cursor: s.default.ellipsisCursor\n },\n \"validation-failure\": {\n float: \"right\",\n padding: \"3px 6px\",\n borderRadius: \"2px\",\n cursor: \"pointer\",\n color: t.validationFailure.fontColor,\n backgroundColor: t.validationFailure.background\n },\n \"validation-failure-label\": {\n marginRight: \"6px\"\n },\n \"validation-failure-clear\": {\n position: \"relative\",\n verticalAlign: \"top\",\n cursor: \"pointer\",\n color: t.validationFailure.iconColor,\n fontSize: s.default.iconFontSize,\n transform: \"rotate(45deg)\"\n }\n };\n },\n f = function f(e) {\n var t = o.rjv_default;\n return !1 !== e && \"none\" !== e || (t = o.rjv_grey), (0, u.createStyling)(c, {\n defaultBase16: t\n })(e);\n };\n }, function (e, t) {\n var n = e.exports = {\n version: \"2.5.7\"\n };\n \"number\" == typeof __e && (__e = n);\n }, function (e, t, n) {\n var r = n(32)(\"wks\"),\n a = n(23),\n o = n(5).Symbol,\n i = \"function\" == typeof o;\n (e.exports = function (e) {\n return r[e] || (r[e] = i && o[e] || (i ? o : a)(\"Symbol.\" + e));\n }).store = r;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n var t = a(e);\n return \"number\" === t && (t = isNaN(e) ? \"nan\" : (0 | e) != e ? \"float\" : \"integer\"), t;\n }\n\n function a(e) {\n return {}.toString.call(e).match(/\\s([a-zA-Z]+)/)[1].toLowerCase();\n }\n\n function o(e) {\n var t = [\"base00\", \"base01\", \"base02\", \"base03\", \"base04\", \"base05\", \"base06\", \"base07\", \"base08\", \"base09\", \"base0A\", \"base0B\", \"base0C\", \"base0D\", \"base0E\", \"base0F\"];\n\n if (\"object\" === r(e)) {\n for (var n = 0; n < t.length; n++) {\n if (!(t[n] in e)) return !1;\n }\n\n return !0;\n }\n\n return !1;\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.toType = r, t.isTheme = o;\n }, function (e, t) {\n var n = e.exports = \"undefined\" != typeof window && window.Math == Math ? window : \"undefined\" != typeof self && self.Math == Math ? self : Function(\"return this\")();\n \"number\" == typeof __g && (__g = n);\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(1),\n d = r(f),\n p = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), u(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = (e.rjvId, e.type_name),\n n = e.displayDataTypes,\n r = e.theme;\n return n ? c.default.createElement(\"span\", s({\n className: \"data-type-label\"\n }, (0, d.default)(r, \"data-type-label\")), t) : null;\n }\n }]), t;\n }(c.default.PureComponent);\n\n t.default = p;\n }, function (e, t) {\n var n = {}.hasOwnProperty;\n\n e.exports = function (e, t) {\n return n.call(e, t);\n };\n }, function (e, t, n) {\n var r = n(9),\n a = n(22);\n e.exports = n(10) ? function (e, t, n) {\n return r.f(e, t, a(1, n));\n } : function (e, t, n) {\n return e[t] = n, e;\n };\n }, function (e, t, n) {\n var r = n(16),\n a = n(44),\n o = n(29),\n i = Object.defineProperty;\n t.f = n(10) ? Object.defineProperty : function (e, t, n) {\n if (r(e), t = o(t, !0), r(n), a) try {\n return i(e, t, n);\n } catch (e) {}\n if (\"get\" in n || \"set\" in n) throw TypeError(\"Accessors not supported!\");\n return \"value\" in n && (e[t] = n.value), e;\n };\n }, function (e, t, n) {\n e.exports = !n(11)(function () {\n return 7 != Object.defineProperty({}, \"a\", {\n get: function get() {\n return 7;\n }\n }).a;\n });\n }, function (e, t) {\n e.exports = function (e) {\n try {\n return !!e();\n } catch (e) {\n return !0;\n }\n };\n }, function (e, t, n) {\n var r = n(49),\n a = n(28);\n\n e.exports = function (e) {\n return r(a(e));\n };\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n if (Array.isArray(e)) {\n for (var t = 0, n = Array(e.length); t < e.length; t++) {\n n[t] = e[t];\n }\n\n return n;\n }\n\n return Array.from(e);\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = n(161),\n l = n(14),\n c = function (e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }(l),\n f = n(4),\n d = function (e) {\n function t() {\n var e, n, i, u;\n a(this, t);\n\n for (var l = arguments.length, c = Array(l), d = 0; d < l; d++) {\n c[d] = arguments[d];\n }\n\n return n = i = o(this, (e = t.__proto__ || Object.getPrototypeOf(t)).call.apply(e, [this].concat(c))), i.objects = {}, i.set = function (e, t, n, r) {\n void 0 === i.objects[e] && (i.objects[e] = {}), void 0 === i.objects[e][t] && (i.objects[e][t] = {}), i.objects[e][t][n] = r;\n }, i.get = function (e, t, n, r) {\n return void 0 === i.objects[e] || void 0 === i.objects[e][t] || void 0 == i.objects[e][t][n] ? r : i.objects[e][t][n];\n }, i.handleAction = function (e) {\n var t = e.rjvId,\n n = e.data;\n\n switch (e.name) {\n case \"RESET\":\n i.emit(\"reset-\" + t);\n break;\n\n case \"VARIABLE_UPDATED\":\n e.data.updated_src = i.updateSrc(t, n), i.set(t, \"action\", \"variable-update\", s({}, n, {\n type: \"variable-edited\"\n })), i.emit(\"variable-update-\" + t);\n break;\n\n case \"VARIABLE_REMOVED\":\n e.data.updated_src = i.updateSrc(t, n), i.set(t, \"action\", \"variable-update\", s({}, n, {\n type: \"variable-removed\"\n })), i.emit(\"variable-update-\" + t);\n break;\n\n case \"VARIABLE_ADDED\":\n e.data.updated_src = i.updateSrc(t, n), i.set(t, \"action\", \"variable-update\", s({}, n, {\n type: \"variable-added\"\n })), i.emit(\"variable-update-\" + t);\n break;\n\n case \"ADD_VARIABLE_KEY_REQUEST\":\n i.set(t, \"action\", \"new-key-request\", n), i.emit(\"add-key-request-\" + t);\n }\n }, i.updateSrc = function (e, t) {\n var n = t.name,\n a = t.namespace,\n o = t.new_value,\n s = (t.existing_value, t.variable_removed);\n a.shift();\n var u = i.get(e, \"global\", \"src\"),\n l = i.deepCopy(u, [].concat(r(a))),\n c = l,\n d = !0,\n p = !1,\n b = void 0;\n\n try {\n for (var h, y = a[Symbol.iterator](); !(d = (h = y.next()).done); d = !0) {\n c = c[h.value];\n }\n } catch (e) {\n p = !0, b = e;\n } finally {\n try {\n !d && y.return && y.return();\n } finally {\n if (p) throw b;\n }\n }\n\n return s ? \"array\" == (0, f.toType)(c) ? c.splice(n, 1) : delete c[n] : null !== n ? c[n] = o : l = o, i.set(e, \"global\", \"src\", l), l;\n }, i.deepCopy = function (e, t) {\n var n = (0, f.toType)(e),\n a = void 0,\n o = t.shift();\n return \"array\" == n ? a = [].concat(r(e)) : \"object\" == n && (a = s({}, e)), void 0 !== o && (a[o] = i.deepCopy(e[o], t)), a;\n }, u = n, o(i, u);\n }\n\n return i(t, e), t;\n }(u.EventEmitter),\n p = new d();\n\n c.default.register(p.handleAction.bind(p)), t.default = p;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var r = n(162),\n a = new r.Dispatcher();\n t.default = a;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n var n = {};\n\n for (var r in e) {\n t.indexOf(r) >= 0 || Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]);\n }\n\n return n;\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n function s(e) {\n return e || (e = {}), {\n style: u({\n verticalAlign: \"middle\"\n }, e, {\n color: e.color ? e.color : d,\n height: \"1em\",\n width: \"1em\"\n })\n };\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.CheckCircle = t.Edit = t.Add = t.AddCircle = t.RemoveCircle = t.Clippy = t.ArrowDown = t.ArrowRight = t.SquarePlus = t.SquareMinus = t.CirclePlus = t.CircleMinus = void 0;\n\n var u = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n l = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n c = n(0),\n f = function (e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }(c),\n d = \"#000000\";\n\n t.CircleMinus = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.style,\n n = r(e, [\"style\"]);\n return f.default.createElement(\"span\", n, f.default.createElement(\"svg\", u({}, s(t), {\n viewBox: \"0 0 24 24\",\n fill: \"currentColor\",\n preserveAspectRatio: \"xMidYMid meet\"\n }), f.default.createElement(\"path\", {\n d: \"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7,13H17V11H7\"\n })));\n }\n }]), t;\n }(f.default.PureComponent), t.CirclePlus = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.style,\n n = r(e, [\"style\"]);\n return f.default.createElement(\"span\", n, f.default.createElement(\"svg\", u({}, s(t), {\n viewBox: \"0 0 24 24\",\n fill: \"currentColor\",\n preserveAspectRatio: \"xMidYMid meet\"\n }), f.default.createElement(\"path\", {\n d: \"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M13,7H11V11H7V13H11V17H13V13H17V11H13V7Z\"\n })));\n }\n }]), t;\n }(f.default.PureComponent), t.SquareMinus = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.style,\n n = r(e, [\"style\"]),\n a = s(t).style;\n return f.default.createElement(\"span\", n, f.default.createElement(\"svg\", {\n fill: a.color,\n width: a.height,\n height: a.width,\n style: a,\n viewBox: \"0 0 1792 1792\"\n }, f.default.createElement(\"path\", {\n d: \"M1344 800v64q0 14-9 23t-23 9h-832q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h832q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z\"\n })));\n }\n }]), t;\n }(f.default.PureComponent), t.SquarePlus = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.style,\n n = r(e, [\"style\"]),\n a = s(t).style;\n return f.default.createElement(\"span\", n, f.default.createElement(\"svg\", {\n fill: a.color,\n width: a.height,\n height: a.width,\n style: a,\n viewBox: \"0 0 1792 1792\"\n }, f.default.createElement(\"path\", {\n d: \"M1344 800v64q0 14-9 23t-23 9h-352v352q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-352h-352q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h352v-352q0-14 9-23t23-9h64q14 0 23 9t9 23v352h352q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z\"\n })));\n }\n }]), t;\n }(f.default.PureComponent), t.ArrowRight = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.style,\n n = r(e, [\"style\"]);\n return f.default.createElement(\"span\", n, f.default.createElement(\"svg\", {\n style: u({}, s(t).style, {\n paddingLeft: \"2px\",\n verticalAlign: \"top\"\n }),\n viewBox: \"0 0 15 15\",\n fill: \"currentColor\"\n }, f.default.createElement(\"path\", {\n d: \"M0 14l6-6-6-6z\"\n })));\n }\n }]), t;\n }(f.default.PureComponent), t.ArrowDown = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.style,\n n = r(e, [\"style\"]);\n return f.default.createElement(\"span\", n, f.default.createElement(\"svg\", {\n style: u({}, s(t).style, {\n paddingLeft: \"2px\",\n verticalAlign: \"top\"\n }),\n viewBox: \"0 0 15 15\",\n fill: \"currentColor\"\n }, f.default.createElement(\"path\", {\n d: \"M0 5l6 6 6-6z\"\n })));\n }\n }]), t;\n }(f.default.PureComponent), t.Clippy = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.style,\n n = r(e, [\"style\"]);\n return f.default.createElement(\"span\", n, f.default.createElement(\"svg\", u({}, s(t), {\n viewBox: \"0 0 40 40\",\n fill: \"currentColor\",\n preserveAspectRatio: \"xMidYMid meet\"\n }), f.default.createElement(\"g\", null, f.default.createElement(\"path\", {\n d: \"m30 35h-25v-22.5h25v7.5h2.5v-12.5c0-1.4-1.1-2.5-2.5-2.5h-7.5c0-2.8-2.2-5-5-5s-5 2.2-5 5h-7.5c-1.4 0-2.5 1.1-2.5 2.5v27.5c0 1.4 1.1 2.5 2.5 2.5h25c1.4 0 2.5-1.1 2.5-2.5v-5h-2.5v5z m-20-27.5h2.5s2.5-1.1 2.5-2.5 1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5 1.3 2.5 2.5 2.5h2.5s2.5 1.1 2.5 2.5h-20c0-1.5 1.1-2.5 2.5-2.5z m-2.5 20h5v-2.5h-5v2.5z m17.5-5v-5l-10 7.5 10 7.5v-5h12.5v-5h-12.5z m-17.5 10h7.5v-2.5h-7.5v2.5z m12.5-17.5h-12.5v2.5h12.5v-2.5z m-7.5 5h-5v2.5h5v-2.5z\"\n }))));\n }\n }]), t;\n }(f.default.PureComponent), t.RemoveCircle = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.style,\n n = r(e, [\"style\"]);\n return f.default.createElement(\"span\", n, f.default.createElement(\"svg\", u({}, s(t), {\n viewBox: \"0 0 40 40\",\n fill: \"currentColor\",\n preserveAspectRatio: \"xMidYMid meet\"\n }), f.default.createElement(\"g\", null, f.default.createElement(\"path\", {\n d: \"m28.6 25q0-0.5-0.4-1l-4-4 4-4q0.4-0.5 0.4-1 0-0.6-0.4-1.1l-2-2q-0.4-0.4-1-0.4-0.6 0-1 0.4l-4.1 4.1-4-4.1q-0.4-0.4-1-0.4-0.6 0-1 0.4l-2 2q-0.5 0.5-0.5 1.1 0 0.5 0.5 1l4 4-4 4q-0.5 0.5-0.5 1 0 0.7 0.5 1.1l2 2q0.4 0.4 1 0.4 0.6 0 1-0.4l4-4.1 4.1 4.1q0.4 0.4 1 0.4 0.6 0 1-0.4l2-2q0.4-0.4 0.4-1z m8.7-5q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z\"\n }))));\n }\n }]), t;\n }(f.default.PureComponent), t.AddCircle = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.style,\n n = r(e, [\"style\"]);\n return f.default.createElement(\"span\", n, f.default.createElement(\"svg\", u({}, s(t), {\n viewBox: \"0 0 40 40\",\n fill: \"currentColor\",\n preserveAspectRatio: \"xMidYMid meet\"\n }), f.default.createElement(\"g\", null, f.default.createElement(\"path\", {\n d: \"m30.1 21.4v-2.8q0-0.6-0.4-1t-1-0.5h-5.7v-5.7q0-0.6-0.4-1t-1-0.4h-2.9q-0.6 0-1 0.4t-0.4 1v5.7h-5.7q-0.6 0-1 0.5t-0.5 1v2.8q0 0.6 0.5 1t1 0.5h5.7v5.7q0 0.5 0.4 1t1 0.4h2.9q0.6 0 1-0.4t0.4-1v-5.7h5.7q0.6 0 1-0.5t0.4-1z m7.2-1.4q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z\"\n }))));\n }\n }]), t;\n }(f.default.PureComponent), t.Add = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.style,\n n = r(e, [\"style\"]);\n return f.default.createElement(\"span\", n, f.default.createElement(\"svg\", u({}, s(t), {\n viewBox: \"0 0 40 40\",\n fill: \"currentColor\",\n preserveAspectRatio: \"xMidYMid meet\"\n }), f.default.createElement(\"g\", null, f.default.createElement(\"path\", {\n d: \"m31.6 21.6h-10v10h-3.2v-10h-10v-3.2h10v-10h3.2v10h10v3.2z\"\n }))));\n }\n }]), t;\n }(f.default.PureComponent), t.Edit = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.style,\n n = r(e, [\"style\"]);\n return f.default.createElement(\"span\", n, f.default.createElement(\"svg\", u({}, s(t), {\n viewBox: \"0 0 40 40\",\n fill: \"currentColor\",\n preserveAspectRatio: \"xMidYMid meet\"\n }), f.default.createElement(\"g\", null, f.default.createElement(\"path\", {\n d: \"m19.8 26.4l2.6-2.6-3.4-3.4-2.6 2.6v1.3h2.2v2.1h1.2z m9.8-16q-0.3-0.4-0.7 0l-7.8 7.8q-0.4 0.4 0 0.7t0.7 0l7.8-7.8q0.4-0.4 0-0.7z m1.8 13.2v4.3q0 2.6-1.9 4.5t-4.5 1.9h-18.6q-2.6 0-4.5-1.9t-1.9-4.5v-18.6q0-2.7 1.9-4.6t4.5-1.8h18.6q1.4 0 2.6 0.5 0.3 0.2 0.4 0.5 0.1 0.4-0.2 0.7l-1.1 1.1q-0.3 0.3-0.7 0.1-0.5-0.1-1-0.1h-18.6q-1.4 0-2.5 1.1t-1 2.5v18.6q0 1.4 1 2.5t2.5 1h18.6q1.5 0 2.5-1t1.1-2.5v-2.9q0-0.2 0.2-0.4l1.4-1.5q0.3-0.3 0.8-0.1t0.4 0.6z m-2.1-16.5l6.4 6.5-15 15h-6.4v-6.5z m9.9 3l-2.1 2-6.4-6.4 2.1-2q0.6-0.7 1.5-0.7t1.5 0.7l3.4 3.4q0.6 0.6 0.6 1.5t-0.6 1.5z\"\n }))));\n }\n }]), t;\n }(f.default.PureComponent), t.CheckCircle = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.style,\n n = r(e, [\"style\"]);\n return f.default.createElement(\"span\", n, f.default.createElement(\"svg\", u({}, s(t), {\n viewBox: \"0 0 40 40\",\n fill: \"currentColor\",\n preserveAspectRatio: \"xMidYMid meet\"\n }), f.default.createElement(\"g\", null, f.default.createElement(\"path\", {\n d: \"m31.7 16.4q0-0.6-0.4-1l-2.1-2.1q-0.4-0.4-1-0.4t-1 0.4l-9.1 9.1-5-5q-0.5-0.4-1-0.4t-1 0.4l-2.1 2q-0.4 0.4-0.4 1 0 0.6 0.4 1l8.1 8.1q0.4 0.4 1 0.4 0.6 0 1-0.4l12.2-12.1q0.4-0.4 0.4-1z m5.6 3.6q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z\"\n }))));\n }\n }]), t;\n }(f.default.PureComponent);\n }, function (e, t, n) {\n var r = n(17);\n\n e.exports = function (e) {\n if (!r(e)) throw TypeError(e + \" is not an object!\");\n return e;\n };\n }, function (e, t) {\n e.exports = function (e) {\n return \"object\" == _typeof(e) ? null !== e : \"function\" == typeof e;\n };\n }, function (e, t) {\n e.exports = {};\n }, function (e, t, n) {\n var r = n(48),\n a = n(33);\n\n e.exports = Object.keys || function (e) {\n return r(e, a);\n };\n }, function (e, t) {\n e.exports = !0;\n }, function (e, t, n) {\n var r = n(5),\n a = n(2),\n o = n(71),\n i = n(8),\n s = n(7),\n u = function u(e, t, n) {\n var l,\n c,\n f,\n d = e & u.F,\n p = e & u.G,\n b = e & u.S,\n h = e & u.P,\n y = e & u.B,\n v = e & u.W,\n m = p ? a : a[t] || (a[t] = {}),\n g = m.prototype,\n _ = p ? r : b ? r[t] : (r[t] || {}).prototype;\n\n p && (n = t);\n\n for (l in n) {\n (c = !d && _ && void 0 !== _[l]) && s(m, l) || (f = c ? _[l] : n[l], m[l] = p && \"function\" != typeof _[l] ? n[l] : y && c ? o(f, r) : v && _[l] == f ? function (e) {\n var t = function t(_t, n, r) {\n if (this instanceof e) {\n switch (arguments.length) {\n case 0:\n return new e();\n\n case 1:\n return new e(_t);\n\n case 2:\n return new e(_t, n);\n }\n\n return new e(_t, n, r);\n }\n\n return e.apply(this, arguments);\n };\n\n return t.prototype = e.prototype, t;\n }(f) : h && \"function\" == typeof f ? o(Function.call, f) : f, h && ((m.virtual || (m.virtual = {}))[l] = f, e & u.R && g && !g[l] && i(g, l, f)));\n }\n };\n\n u.F = 1, u.G = 2, u.S = 4, u.P = 8, u.B = 16, u.W = 32, u.U = 64, u.R = 128, e.exports = u;\n }, function (e, t) {\n e.exports = function (e, t) {\n return {\n enumerable: !(1 & e),\n configurable: !(2 & e),\n writable: !(4 & e),\n value: t\n };\n };\n }, function (e, t) {\n var n = 0,\n r = Math.random();\n\n e.exports = function (e) {\n return \"Symbol(\".concat(void 0 === e ? \"\" : e, \")_\", (++n + r).toString(36));\n };\n }, function (e, t) {\n t.f = {}.propertyIsEnumerable;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n var n = {};\n\n for (var r in e) {\n t.indexOf(r) >= 0 || Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]);\n }\n\n return n;\n }\n\n function o(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function s(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var u = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n l = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n c = n(0),\n f = r(c),\n d = n(41),\n p = n(4),\n b = n(42),\n h = n(171),\n y = r(h),\n v = n(56),\n m = r(v),\n g = n(57),\n _ = r(g),\n j = n(58),\n O = r(j),\n E = n(13),\n w = r(E),\n x = n(59),\n C = n(1),\n k = r(C),\n P = function (e) {\n function t(e) {\n o(this, t);\n var n = i(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));\n S.call(n);\n var r = t.getState(e);\n return n.state = u({}, r, {\n prevProps: {}\n }), n;\n }\n\n return s(t, e), l(t, [{\n key: \"getBraceStart\",\n value: function value(e, t) {\n var n = this,\n r = this.props,\n a = r.src,\n o = r.theme,\n i = r.iconStyle;\n if (\"array_group\" === r.parent_type) return f.default.createElement(\"span\", null, f.default.createElement(\"span\", (0, k.default)(o, \"brace\"), \"array\" === e ? \"[\" : \"{\"), t ? this.getObjectMetaData(a) : null);\n var s = t ? x.ExpandedIcon : x.CollapsedIcon;\n return f.default.createElement(\"span\", null, f.default.createElement(\"span\", u({\n onClick: function onClick(e) {\n n.toggleCollapsed();\n }\n }, (0, k.default)(o, \"brace-row\")), f.default.createElement(\"div\", u({\n className: \"icon-container\"\n }, (0, k.default)(o, \"icon-container\")), f.default.createElement(s, {\n theme: o,\n iconStyle: i\n })), f.default.createElement(O.default, this.props), f.default.createElement(\"span\", (0, k.default)(o, \"brace\"), \"array\" === e ? \"[\" : \"{\")), t ? this.getObjectMetaData(a) : null);\n }\n }, {\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.depth,\n n = e.src,\n r = (e.namespace, e.name, e.type, e.parent_type),\n o = e.theme,\n i = e.jsvRoot,\n s = e.iconStyle,\n l = a(e, [\"depth\", \"src\", \"namespace\", \"name\", \"type\", \"parent_type\", \"theme\", \"jsvRoot\", \"iconStyle\"]),\n c = this.state,\n d = c.object_type,\n p = c.expanded,\n b = {};\n return i || \"array_group\" === r ? \"array_group\" === r && (b.borderLeft = 0, b.display = \"inline\") : b.paddingLeft = 5 * this.props.indentWidth, f.default.createElement(\"div\", u({\n className: \"object-key-val\"\n }, (0, k.default)(o, i ? \"jsv-root\" : \"objectKeyVal\", b)), this.getBraceStart(d, p), p ? this.getObjectContent(t, n, u({\n theme: o,\n iconStyle: s\n }, l)) : this.getEllipsis(), f.default.createElement(\"span\", {\n className: \"brace-row\"\n }, f.default.createElement(\"span\", {\n style: u({}, (0, k.default)(o, \"brace\").style, {\n paddingLeft: p ? \"3px\" : \"0px\"\n })\n }, \"array\" === d ? \"]\" : \"}\"), p ? null : this.getObjectMetaData(n)));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function value(e, n) {\n var r = n.prevProps;\n\n if (e.src !== r.src || e.collapsed !== r.collapsed || e.name !== r.name || e.namespace !== r.namespace || e.rjvId !== r.rjvId) {\n var a = t.getState(e);\n return u({}, a, {\n prevProps: e\n });\n }\n\n return null;\n }\n }]), t;\n }(f.default.PureComponent);\n\n P.getState = function (e) {\n var t = Object.keys(e.src).length,\n n = (!1 === e.collapsed || !0 !== e.collapsed && e.collapsed > e.depth) && (!e.shouldCollapse || !1 === e.shouldCollapse({\n name: e.name,\n src: e.src,\n type: (0, p.toType)(e.src),\n namespace: e.namespace\n })) && 0 !== t;\n return {\n expanded: w.default.get(e.rjvId, e.namespace, \"expanded\", n),\n object_type: \"array\" === e.type ? \"array\" : \"object\",\n parent_type: \"array\" === e.type ? \"array\" : \"object\",\n size: t\n };\n };\n\n var S = function S() {\n var e = this;\n this.toggleCollapsed = function () {\n e.setState({\n expanded: !e.state.expanded\n }, function () {\n w.default.set(e.props.rjvId, e.props.namespace, \"expanded\", e.state.expanded);\n });\n }, this.getObjectContent = function (t, n, r) {\n return f.default.createElement(\"div\", {\n className: \"pushed-content object-container\"\n }, f.default.createElement(\"div\", u({\n className: \"object-content\"\n }, (0, k.default)(e.props.theme, \"pushed-content\")), e.renderObjectContents(n, r)));\n }, this.getEllipsis = function () {\n return 0 === e.state.size ? null : f.default.createElement(\"div\", u({}, (0, k.default)(e.props.theme, \"ellipsis\"), {\n className: \"node-ellipsis\",\n onClick: e.toggleCollapsed\n }), \"...\");\n }, this.getObjectMetaData = function (t) {\n var n = e.props,\n r = (n.rjvId, n.theme, e.state.size);\n return f.default.createElement(m.default, u({\n size: r\n }, e.props));\n }, this.renderObjectContents = function (t, n) {\n var r = e.props,\n a = r.depth,\n o = r.parent_type,\n i = r.index_offset,\n s = r.groupArraysAfterLength,\n l = r.namespace,\n c = e.state.object_type,\n d = (n.theme, []),\n p = void 0,\n h = Object.keys(t || {});\n return e.props.sortKeys && (h = h.sort()), h.forEach(function (r) {\n if (p = new M(r, t[r]), \"array_group\" === o && i && (p.name = parseInt(p.name) + i), t.hasOwnProperty(r)) if (\"object\" === p.type) d.push(f.default.createElement(b.JsonObject, u({\n key: p.name,\n depth: a + 1,\n name: p.name,\n src: p.value,\n namespace: l.concat(p.name),\n parent_type: c\n }, n)));else if (\"array\" === p.type) {\n var h = b.JsonObject;\n s && p.value.length > s && (h = _.default), d.push(f.default.createElement(h, u({\n key: p.name,\n depth: a + 1,\n name: p.name,\n src: p.value,\n namespace: l.concat(p.name),\n type: \"array\",\n parent_type: c\n }, n)));\n } else d.push(f.default.createElement(y.default, u({\n key: p.name + \"_\" + l,\n variable: p,\n singleIndent: 5,\n namespace: l,\n type: e.props.type\n }, n)));\n }), d;\n };\n },\n M = function e(t, n) {\n o(this, e), this.name = t, this.value = n, this.type = (0, p.toType)(n);\n };\n\n (0, d.polyfill)(P), t.default = P;\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(70)(!0);\n n(43)(String, \"String\", function (e) {\n this._t = String(e), this._i = 0;\n }, function () {\n var e,\n t = this._t,\n n = this._i;\n return n >= t.length ? {\n value: void 0,\n done: !0\n } : (e = r(t, n), this._i += e.length, {\n value: e,\n done: !1\n });\n });\n }, function (e, t) {\n var n = Math.ceil,\n r = Math.floor;\n\n e.exports = function (e) {\n return isNaN(e = +e) ? 0 : (e > 0 ? r : n)(e);\n };\n }, function (e, t) {\n e.exports = function (e) {\n if (void 0 == e) throw TypeError(\"Can't call method on \" + e);\n return e;\n };\n }, function (e, t, n) {\n var r = n(17);\n\n e.exports = function (e, t) {\n if (!r(e)) return e;\n var n, a;\n if (t && \"function\" == typeof (n = e.toString) && !r(a = n.call(e))) return a;\n if (\"function\" == typeof (n = e.valueOf) && !r(a = n.call(e))) return a;\n if (!t && \"function\" == typeof (n = e.toString) && !r(a = n.call(e))) return a;\n throw TypeError(\"Can't convert object to primitive value\");\n };\n }, function (e, t) {\n var n = {}.toString;\n\n e.exports = function (e) {\n return n.call(e).slice(8, -1);\n };\n }, function (e, t, n) {\n var r = n(32)(\"keys\"),\n a = n(23);\n\n e.exports = function (e) {\n return r[e] || (r[e] = a(e));\n };\n }, function (e, t, n) {\n var r = n(2),\n a = n(5),\n o = a[\"__core-js_shared__\"] || (a[\"__core-js_shared__\"] = {});\n (e.exports = function (e, t) {\n return o[e] || (o[e] = void 0 !== t ? t : {});\n })(\"versions\", []).push({\n version: r.version,\n mode: n(20) ? \"pure\" : \"global\",\n copyright: \"© 2018 Denis Pushkarev (zloirock.ru)\"\n });\n }, function (e, t) {\n e.exports = \"constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf\".split(\",\");\n }, function (e, t, n) {\n var r = n(9).f,\n a = n(7),\n o = n(3)(\"toStringTag\");\n\n e.exports = function (e, t, n) {\n e && !a(e = n ? e : e.prototype, o) && r(e, o, {\n configurable: !0,\n value: t\n });\n };\n }, function (e, t, n) {\n var r = n(28);\n\n e.exports = function (e) {\n return Object(r(e));\n };\n }, function (e, t, n) {\n n(80);\n\n for (var r = n(5), a = n(8), o = n(18), i = n(3)(\"toStringTag\"), s = \"CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList\".split(\",\"), u = 0; u < s.length; u++) {\n var l = s[u],\n c = r[l],\n f = c && c.prototype;\n f && !f[i] && a(f, i, l), o[l] = o.Array;\n }\n }, function (e, t, n) {\n t.f = n(3);\n }, function (e, t, n) {\n var r = n(5),\n a = n(2),\n o = n(20),\n i = n(37),\n s = n(9).f;\n\n e.exports = function (e) {\n var t = a.Symbol || (a.Symbol = o ? {} : r.Symbol || {});\n \"_\" == e.charAt(0) || e in t || s(t, e, {\n value: i.f(e)\n });\n };\n }, function (e, t) {\n t.f = Object.getOwnPropertySymbols;\n }, function (e, t) {\n function n(e, t, n) {\n return Math.min(Math.max(e, t), n);\n }\n\n e.exports = n;\n }, function (e, t, n) {\n \"use strict\";\n\n function r() {\n var e = this.constructor.getDerivedStateFromProps(this.props, this.state);\n null !== e && void 0 !== e && this.setState(e);\n }\n\n function a(e) {\n function t(t) {\n var n = this.constructor.getDerivedStateFromProps(e, t);\n return null !== n && void 0 !== n ? n : null;\n }\n\n this.setState(t.bind(this));\n }\n\n function o(e, t) {\n try {\n var n = this.props,\n r = this.state;\n this.props = e, this.state = t, this.__reactInternalSnapshotFlag = !0, this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(n, r);\n } finally {\n this.props = n, this.state = r;\n }\n }\n\n function i(e) {\n var t = e.prototype;\n if (!t || !t.isReactComponent) throw new Error(\"Can only polyfill class components\");\n if (\"function\" != typeof e.getDerivedStateFromProps && \"function\" != typeof t.getSnapshotBeforeUpdate) return e;\n var n = null,\n i = null,\n s = null;\n\n if (\"function\" == typeof t.componentWillMount ? n = \"componentWillMount\" : \"function\" == typeof t.UNSAFE_componentWillMount && (n = \"UNSAFE_componentWillMount\"), \"function\" == typeof t.componentWillReceiveProps ? i = \"componentWillReceiveProps\" : \"function\" == typeof t.UNSAFE_componentWillReceiveProps && (i = \"UNSAFE_componentWillReceiveProps\"), \"function\" == typeof t.componentWillUpdate ? s = \"componentWillUpdate\" : \"function\" == typeof t.UNSAFE_componentWillUpdate && (s = \"UNSAFE_componentWillUpdate\"), null !== n || null !== i || null !== s) {\n var u = e.displayName || e.name,\n l = \"function\" == typeof e.getDerivedStateFromProps ? \"getDerivedStateFromProps()\" : \"getSnapshotBeforeUpdate()\";\n throw Error(\"Unsafe legacy lifecycles will not be called for components using new component APIs.\\n\\n\" + u + \" uses \" + l + \" but also contains the following legacy lifecycles:\" + (null !== n ? \"\\n \" + n : \"\") + (null !== i ? \"\\n \" + i : \"\") + (null !== s ? \"\\n \" + s : \"\") + \"\\n\\nThe above lifecycles should be removed. Learn more about this warning here:\\nhttps://fb.me/react-async-component-lifecycle-hooks\");\n }\n\n if (\"function\" == typeof e.getDerivedStateFromProps && (t.componentWillMount = r, t.componentWillReceiveProps = a), \"function\" == typeof t.getSnapshotBeforeUpdate) {\n if (\"function\" != typeof t.componentDidUpdate) throw new Error(\"Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype\");\n t.componentWillUpdate = o;\n var c = t.componentDidUpdate;\n\n t.componentDidUpdate = function (e, t, n) {\n var r = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : n;\n c.call(this, e, t, r);\n };\n }\n\n return e;\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), n.d(t, \"polyfill\", function () {\n return i;\n }), r.__suppressDeprecationWarning = !0, a.__suppressDeprecationWarning = !0, o.__suppressDeprecationWarning = !0;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var a = n(63);\n Object.defineProperty(t, \"JsonBoolean\", {\n enumerable: !0,\n get: function get() {\n return r(a).default;\n }\n });\n var o = n(158);\n Object.defineProperty(t, \"JsonDate\", {\n enumerable: !0,\n get: function get() {\n return r(o).default;\n }\n });\n var i = n(159);\n Object.defineProperty(t, \"JsonFloat\", {\n enumerable: !0,\n get: function get() {\n return r(i).default;\n }\n });\n var s = n(160);\n Object.defineProperty(t, \"JsonFunction\", {\n enumerable: !0,\n get: function get() {\n return r(s).default;\n }\n });\n var u = n(165);\n Object.defineProperty(t, \"JsonNan\", {\n enumerable: !0,\n get: function get() {\n return r(u).default;\n }\n });\n var l = n(166);\n Object.defineProperty(t, \"JsonNull\", {\n enumerable: !0,\n get: function get() {\n return r(l).default;\n }\n });\n var c = n(167);\n Object.defineProperty(t, \"JsonInteger\", {\n enumerable: !0,\n get: function get() {\n return r(c).default;\n }\n });\n var f = n(25);\n Object.defineProperty(t, \"JsonObject\", {\n enumerable: !0,\n get: function get() {\n return r(f).default;\n }\n });\n var d = n(168);\n Object.defineProperty(t, \"JsonRegexp\", {\n enumerable: !0,\n get: function get() {\n return r(d).default;\n }\n });\n var p = n(169);\n Object.defineProperty(t, \"JsonString\", {\n enumerable: !0,\n get: function get() {\n return r(p).default;\n }\n });\n var b = n(170);\n Object.defineProperty(t, \"JsonUndefined\", {\n enumerable: !0,\n get: function get() {\n return r(b).default;\n }\n });\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(20),\n a = n(21),\n o = n(46),\n i = n(8),\n s = n(18),\n u = n(73),\n l = n(34),\n c = n(79),\n f = n(3)(\"iterator\"),\n d = !([].keys && \"next\" in [].keys()),\n p = function p() {\n return this;\n };\n\n e.exports = function (e, t, n, b, h, y, v) {\n u(n, t, b);\n\n var m,\n g,\n _,\n j = function j(e) {\n if (!d && e in x) return x[e];\n\n switch (e) {\n case \"keys\":\n case \"values\":\n return function () {\n return new n(this, e);\n };\n }\n\n return function () {\n return new n(this, e);\n };\n },\n O = t + \" Iterator\",\n E = \"values\" == h,\n w = !1,\n x = e.prototype,\n C = x[f] || x[\"@@iterator\"] || h && x[h],\n k = C || j(h),\n P = h ? E ? j(\"entries\") : k : void 0,\n S = \"Array\" == t ? x.entries || C : C;\n\n if (S && (_ = c(S.call(new e()))) !== Object.prototype && _.next && (l(_, O, !0), r || \"function\" == typeof _[f] || i(_, f, p)), E && C && \"values\" !== C.name && (w = !0, k = function k() {\n return C.call(this);\n }), r && !v || !d && !w && x[f] || i(x, f, k), s[t] = k, s[O] = p, h) if (m = {\n values: E ? k : j(\"values\"),\n keys: y ? k : j(\"keys\"),\n entries: P\n }, v) for (g in m) {\n g in x || o(x, g, m[g]);\n } else a(a.P + a.F * (d || w), t, m);\n return m;\n };\n }, function (e, t, n) {\n e.exports = !n(10) && !n(11)(function () {\n return 7 != Object.defineProperty(n(45)(\"div\"), \"a\", {\n get: function get() {\n return 7;\n }\n }).a;\n });\n }, function (e, t, n) {\n var r = n(17),\n a = n(5).document,\n o = r(a) && r(a.createElement);\n\n e.exports = function (e) {\n return o ? a.createElement(e) : {};\n };\n }, function (e, t, n) {\n e.exports = n(8);\n }, function (e, t, n) {\n var r = n(16),\n a = n(74),\n o = n(33),\n i = n(31)(\"IE_PROTO\"),\n s = function s() {},\n _u = function u() {\n var e,\n t = n(45)(\"iframe\"),\n r = o.length;\n\n for (t.style.display = \"none\", n(78).appendChild(t), t.src = \"javascript:\", e = t.contentWindow.document, e.open(), e.write(\"<script>document.F=Object<\\/script>\"), e.close(), _u = e.F; r--;) {\n delete _u.prototype[o[r]];\n }\n\n return _u();\n };\n\n e.exports = Object.create || function (e, t) {\n var n;\n return null !== e ? (s.prototype = r(e), n = new s(), s.prototype = null, n[i] = e) : n = _u(), void 0 === t ? n : a(n, t);\n };\n }, function (e, t, n) {\n var r = n(7),\n a = n(12),\n o = n(75)(!1),\n i = n(31)(\"IE_PROTO\");\n\n e.exports = function (e, t) {\n var n,\n s = a(e),\n u = 0,\n l = [];\n\n for (n in s) {\n n != i && r(s, n) && l.push(n);\n }\n\n for (; t.length > u;) {\n r(s, n = t[u++]) && (~o(l, n) || l.push(n));\n }\n\n return l;\n };\n }, function (e, t, n) {\n var r = n(30);\n e.exports = Object(\"z\").propertyIsEnumerable(0) ? Object : function (e) {\n return \"String\" == r(e) ? e.split(\"\") : Object(e);\n };\n }, function (e, t, n) {\n var r = n(48),\n a = n(33).concat(\"length\", \"prototype\");\n\n t.f = Object.getOwnPropertyNames || function (e) {\n return r(e, a);\n };\n }, function (e, t, n) {\n var r = n(30),\n a = n(3)(\"toStringTag\"),\n o = \"Arguments\" == r(function () {\n return arguments;\n }()),\n i = function i(e, t) {\n try {\n return e[t];\n } catch (e) {}\n };\n\n e.exports = function (e) {\n var t, n, s;\n return void 0 === e ? \"Undefined\" : null === e ? \"Null\" : \"string\" == typeof (n = i(t = Object(e), a)) ? n : o ? r(t) : \"Object\" == (s = r(t)) && \"function\" == typeof t.callee ? \"Arguments\" : s;\n };\n }, function (e, t) {\n var n;\n\n n = function () {\n return this;\n }();\n\n try {\n n = n || Function(\"return this\")() || (0, eval)(\"this\");\n } catch (e) {\n \"object\" == (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) && (n = window);\n }\n\n e.exports = n;\n }, function (e, t) {\n function n(e) {\n return e.match(r);\n }\n\n var r = /-?\\d+(\\.\\d+)?%?/g;\n e.exports = n;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var r = n(4);\n\n t.default = function (e) {\n var t = (0, r.toType)(e),\n n = void 0;\n\n switch (t) {\n case \"undefined\":\n n = \"undefined\";\n break;\n\n case \"nan\":\n n = \"NaN\";\n break;\n\n case \"string\":\n n = e;\n break;\n\n case \"date\":\n case \"function\":\n case \"regexp\":\n n = e.toString();\n break;\n\n default:\n try {\n n = JSON.stringify(e, null, \" \");\n } catch (e) {\n n = \"\";\n }\n\n }\n\n return n;\n };\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(4),\n d = n(54),\n p = (r(d), n(15)),\n b = n(1),\n h = r(b),\n y = function (e) {\n function t(e) {\n a(this, t);\n var n = o(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));\n return n.copiedTimer = null, n.handleCopy = function () {\n var e = document.createElement(\"textarea\"),\n t = n.props,\n r = t.clickCallback,\n a = t.src,\n o = t.namespace;\n e.innerHTML = JSON.stringify(n.clipboardValue(a), null, \" \"), document.body.appendChild(e), e.select(), document.execCommand(\"copy\"), document.body.removeChild(e), n.copiedTimer = setTimeout(function () {\n n.setState({\n copied: !1\n });\n }, 5500), n.setState({\n copied: !0\n }, function () {\n \"function\" == typeof r && r({\n src: a,\n namespace: o,\n name: o[o.length - 1]\n });\n });\n }, n.getClippyIcon = function () {\n var e = n.props.theme;\n return n.state.copied ? c.default.createElement(\"span\", null, c.default.createElement(p.Clippy, s({\n className: \"copy-icon\"\n }, (0, h.default)(e, \"copy-icon\"))), c.default.createElement(\"span\", (0, h.default)(e, \"copy-icon-copied\"), \"✔\")) : c.default.createElement(p.Clippy, s({\n className: \"copy-icon\"\n }, (0, h.default)(e, \"copy-icon\")));\n }, n.clipboardValue = function (e) {\n switch ((0, f.toType)(e)) {\n case \"function\":\n case \"regexp\":\n return e.toString();\n\n default:\n return e;\n }\n }, n.state = {\n copied: !1\n }, n;\n }\n\n return i(t, e), u(t, [{\n key: \"componentWillUnmount\",\n value: function value() {\n this.copiedTimer && (clearTimeout(this.copiedTimer), this.copiedTimer = null);\n }\n }, {\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = (e.src, e.theme),\n n = e.hidden,\n r = (0, h.default)(t, \"copy-to-clipboard\").style,\n a = \"inline\";\n return n && (a = \"none\"), c.default.createElement(\"span\", {\n className: \"copy-to-clipboard-container\"\n }, c.default.createElement(\"span\", {\n style: s({}, r, {\n display: a\n }),\n onClick: this.handleCopy\n }, this.getClippyIcon()));\n }\n }]), t;\n }(c.default.PureComponent);\n\n t.default = y;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e) {\n if (Array.isArray(e)) {\n for (var t = 0, n = Array(e.length); t < e.length; t++) {\n n[t] = e[t];\n }\n\n return n;\n }\n\n return Array.from(e);\n }\n\n function o(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function s(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var u = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n l = n(0),\n c = r(l),\n f = n(14),\n d = r(f),\n p = n(55),\n b = r(p),\n h = n(4),\n y = n(15),\n v = n(1),\n m = r(v),\n g = function (e) {\n function t() {\n var e, n, r, s;\n o(this, t);\n\n for (var l = arguments.length, f = Array(l), p = 0; p < l; p++) {\n f[p] = arguments[p];\n }\n\n return n = r = i(this, (e = t.__proto__ || Object.getPrototypeOf(t)).call.apply(e, [this].concat(f))), r.getObjectSize = function () {\n var e = r.props,\n t = e.size,\n n = e.theme;\n if (e.displayObjectSize) return c.default.createElement(\"span\", u({\n className: \"object-size\"\n }, (0, m.default)(n, \"object-size\")), t, \" item\", 1 === t ? \"\" : \"s\");\n }, r.getAddAttribute = function () {\n var e = r.props,\n t = e.theme,\n n = e.namespace,\n o = e.name,\n i = e.src,\n s = e.rjvId,\n l = e.depth;\n return c.default.createElement(\"span\", {\n className: \"click-to-add\",\n style: {\n verticalAlign: \"top\"\n }\n }, c.default.createElement(y.AddCircle, u({\n className: \"click-to-add-icon\"\n }, (0, m.default)(t, \"addVarIcon\"), {\n onClick: function onClick() {\n var e = {\n name: l > 0 ? o : null,\n namespace: n.splice(0, n.length - 1),\n existing_value: i,\n variable_removed: !1,\n key_name: null\n };\n \"object\" === (0, h.toType)(i) ? d.default.dispatch({\n name: \"ADD_VARIABLE_KEY_REQUEST\",\n rjvId: s,\n data: e\n }) : d.default.dispatch({\n name: \"VARIABLE_ADDED\",\n rjvId: s,\n data: u({}, e, {\n new_value: [].concat(a(i), [null])\n })\n });\n }\n })));\n }, r.getRemoveObject = function () {\n var e = r.props,\n t = e.theme,\n n = (e.hover, e.namespace),\n a = e.name,\n o = e.src,\n i = e.rjvId;\n if (1 !== n.length) return c.default.createElement(\"span\", {\n className: \"click-to-remove\"\n }, c.default.createElement(y.RemoveCircle, u({\n className: \"click-to-remove-icon\"\n }, (0, m.default)(t, \"removeVarIcon\"), {\n onClick: function onClick() {\n d.default.dispatch({\n name: \"VARIABLE_REMOVED\",\n rjvId: i,\n data: {\n name: a,\n namespace: n.splice(0, n.length - 1),\n existing_value: o,\n variable_removed: !0\n }\n });\n }\n })));\n }, r.render = function () {\n var e = r.props,\n t = e.theme,\n n = e.onDelete,\n a = e.onAdd,\n o = e.enableClipboard,\n i = e.src,\n s = e.namespace;\n return c.default.createElement(\"div\", u({}, (0, m.default)(t, \"object-meta-data\"), {\n className: \"object-meta-data\",\n onClick: function onClick(e) {\n e.stopPropagation();\n }\n }), r.getObjectSize(), o ? c.default.createElement(b.default, u({\n clickCallback: o\n }, {\n src: i,\n theme: t,\n namespace: s\n })) : null, !1 !== a ? r.getAddAttribute() : null, !1 !== n ? r.getRemoveObject() : null);\n }, s = n, i(r, s);\n }\n\n return s(t, e), t;\n }(c.default.PureComponent);\n\n t.default = g;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e) {\n if (Array.isArray(e)) {\n for (var t = 0, n = Array(e.length); t < e.length; t++) {\n n[t] = e[t];\n }\n\n return n;\n }\n\n return Array.from(e);\n }\n\n function o(e, t) {\n var n = {};\n\n for (var r in e) {\n t.indexOf(r) >= 0 || Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]);\n }\n\n return n;\n }\n\n function i(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function s(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function u(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var l = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n c = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n f = n(0),\n d = r(f),\n p = n(1),\n b = r(p),\n h = n(56),\n y = r(h),\n v = n(58),\n m = r(v),\n g = n(25),\n _ = r(g),\n j = n(59),\n O = function (e) {\n function t(e) {\n i(this, t);\n var n = s(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));\n return n.toggleCollapsed = function (e) {\n var t = [];\n\n for (var r in n.state.expanded) {\n t.push(n.state.expanded[r]);\n }\n\n t[e] = !t[e], n.setState({\n expanded: t\n });\n }, n.state = {\n expanded: []\n }, n;\n }\n\n return u(t, e), c(t, [{\n key: \"getExpandedIcon\",\n value: function value(e) {\n var t = this.props,\n n = t.theme,\n r = t.iconStyle;\n return this.state.expanded[e] ? d.default.createElement(j.ExpandedIcon, {\n theme: n,\n iconStyle: r\n }) : d.default.createElement(j.CollapsedIcon, {\n theme: n,\n iconStyle: r\n });\n }\n }, {\n key: \"render\",\n value: function value() {\n var e = this,\n t = this.props,\n n = t.src,\n r = t.groupArraysAfterLength,\n i = (t.depth, t.name),\n s = t.theme,\n u = t.jsvRoot,\n c = t.namespace,\n f = (t.parent_type, o(t, [\"src\", \"groupArraysAfterLength\", \"depth\", \"name\", \"theme\", \"jsvRoot\", \"namespace\", \"parent_type\"])),\n p = 0,\n h = 5 * this.props.indentWidth;\n u || (p = 5 * this.props.indentWidth);\n var v = r,\n g = Math.ceil(n.length / v);\n return d.default.createElement(\"div\", l({\n className: \"object-key-val\"\n }, (0, b.default)(s, u ? \"jsv-root\" : \"objectKeyVal\", {\n paddingLeft: p\n })), d.default.createElement(m.default, this.props), d.default.createElement(\"span\", null, d.default.createElement(y.default, l({\n size: n.length\n }, this.props))), [].concat(a(Array(g))).map(function (t, r) {\n return d.default.createElement(\"div\", l({\n key: r,\n className: \"object-key-val array-group\"\n }, (0, b.default)(s, \"objectKeyVal\", {\n marginLeft: 6,\n paddingLeft: h\n })), d.default.createElement(\"span\", (0, b.default)(s, \"brace-row\"), d.default.createElement(\"div\", l({\n className: \"icon-container\"\n }, (0, b.default)(s, \"icon-container\"), {\n onClick: function onClick(t) {\n e.toggleCollapsed(r);\n }\n }), e.getExpandedIcon(r)), e.state.expanded[r] ? d.default.createElement(_.default, l({\n key: i + r,\n depth: 0,\n name: !1,\n collapsed: !1,\n groupArraysAfterLength: v,\n index_offset: r * v,\n src: n.slice(r * v, r * v + v),\n namespace: c,\n type: \"array\",\n parent_type: \"array_group\",\n theme: s\n }, f)) : d.default.createElement(\"span\", l({}, (0, b.default)(s, \"brace\"), {\n onClick: function onClick(t) {\n e.toggleCollapsed(r);\n },\n className: \"array-group-brace\"\n }), \"[\", d.default.createElement(\"div\", l({}, (0, b.default)(s, \"array-group-meta-data\"), {\n className: \"array-group-meta-data\"\n }), d.default.createElement(\"span\", l({\n className: \"object-size\"\n }, (0, b.default)(s, \"object-size\")), r * v, \" - \", r * v + v > n.length ? n.length : r * v + v)), \"]\")));\n }));\n }\n }]), t;\n }(d.default.PureComponent);\n\n t.default = O;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e) {\n var t = e.parent_type,\n n = e.namespace,\n r = e.theme,\n a = e.jsvRoot,\n i = e.name,\n u = e.name ? e.name : \"\";\n return !a || !1 !== i && null !== i ? \"array\" == t ? s.default.createElement(\"span\", o({}, (0, l.default)(r, \"array-key\"), {\n key: n\n }), s.default.createElement(\"span\", {\n className: \"array-key\"\n }, u), s.default.createElement(\"span\", (0, l.default)(r, \"colon\"), \":\")) : s.default.createElement(\"span\", o({}, (0, l.default)(r, \"object-name\"), {\n key: n\n }), s.default.createElement(\"span\", {\n className: \"object-key\"\n }, s.default.createElement(\"span\", {\n style: {\n verticalAlign: \"top\"\n }\n }, '\"'), s.default.createElement(\"span\", null, u), s.default.createElement(\"span\", {\n style: {\n verticalAlign: \"top\"\n }\n }, '\"')), s.default.createElement(\"span\", (0, l.default)(r, \"colon\"), \":\")) : s.default.createElement(\"span\", null);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var o = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n };\n\n t.default = a;\n var i = n(0),\n s = r(i),\n u = n(1),\n l = r(u);\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e) {\n var t = e.theme;\n\n switch (e.iconStyle) {\n case \"triangle\":\n return u.default.createElement(f.ArrowDown, i({}, (0, c.default)(t, \"expanded-icon\"), {\n className: \"expanded-icon\"\n }));\n\n case \"square\":\n return u.default.createElement(f.SquareMinus, i({}, (0, c.default)(t, \"expanded-icon\"), {\n className: \"expanded-icon\"\n }));\n\n default:\n return u.default.createElement(f.CircleMinus, i({}, (0, c.default)(t, \"expanded-icon\"), {\n className: \"expanded-icon\"\n }));\n }\n }\n\n function o(e) {\n var t = e.theme;\n\n switch (e.iconStyle) {\n case \"triangle\":\n return u.default.createElement(f.ArrowRight, i({}, (0, c.default)(t, \"collapsed-icon\"), {\n className: \"collapsed-icon\"\n }));\n\n case \"square\":\n return u.default.createElement(f.SquarePlus, i({}, (0, c.default)(t, \"collapsed-icon\"), {\n className: \"collapsed-icon\"\n }));\n\n default:\n return u.default.createElement(f.CirclePlus, i({}, (0, c.default)(t, \"collapsed-icon\"), {\n className: \"collapsed-icon\"\n }));\n }\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var i = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n };\n\n t.ExpandedIcon = a, t.CollapsedIcon = o;\n var s = n(0),\n u = r(s),\n l = n(1),\n c = r(l),\n f = n(15);\n }, function (e, t, n) {\n e.exports = n(61);\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(41),\n d = n(62),\n p = r(d),\n b = n(177),\n h = r(b),\n y = n(179),\n v = r(y),\n m = n(4),\n g = n(13),\n _ = r(g),\n j = n(1),\n O = r(j);\n\n n(180);\n\n var E = function (e) {\n function t(e) {\n a(this, t);\n var n = o(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));\n return n.rjvId = Date.now().toString(), n.getListeners = function () {\n return {\n reset: n.resetState,\n \"variable-update\": n.updateSrc,\n \"add-key-request\": n.addKeyRequest\n };\n }, n.updateSrc = function () {\n var e = _.default.get(n.rjvId, \"action\", \"variable-update\"),\n t = e.name,\n r = e.namespace,\n a = e.new_value,\n o = e.existing_value,\n i = (e.variable_removed, e.updated_src),\n s = e.type,\n u = n.props,\n l = u.onEdit,\n c = u.onDelete,\n f = u.onAdd,\n d = n.state.src,\n p = void 0,\n b = {\n existing_src: d,\n new_value: a,\n updated_src: i,\n name: t,\n namespace: r,\n existing_value: o\n };\n\n switch (s) {\n case \"variable-added\":\n p = f(b);\n break;\n\n case \"variable-edited\":\n p = l(b);\n break;\n\n case \"variable-removed\":\n p = c(b);\n }\n\n !1 !== p ? (_.default.set(n.rjvId, \"global\", \"src\", i), n.setState({\n src: i\n })) : n.setState({\n validationFailure: !0\n });\n }, n.addKeyRequest = function () {\n n.setState({\n addKeyRequest: !0\n });\n }, n.resetState = function () {\n n.setState({\n validationFailure: !1,\n addKeyRequest: !1\n });\n }, n.state = {\n addKeyRequest: !1,\n editKeyRequest: !1,\n validationFailure: !1,\n src: t.defaultProps.src,\n name: t.defaultProps.name,\n theme: t.defaultProps.theme,\n validationMessage: t.defaultProps.validationMessage,\n prevSrc: t.defaultProps.src,\n prevName: t.defaultProps.name,\n prevTheme: t.defaultProps.theme\n }, n;\n }\n\n return i(t, e), u(t, [{\n key: \"componentDidMount\",\n value: function value() {\n _.default.set(this.rjvId, \"global\", \"src\", this.state.src);\n\n var e = this.getListeners();\n\n for (var t in e) {\n _.default.on(t + \"-\" + this.rjvId, e[t]);\n }\n\n this.setState({\n addKeyRequest: !1,\n editKeyRequest: !1\n });\n }\n }, {\n key: \"componentDidUpdate\",\n value: function value(e, t) {\n !1 !== t.addKeyRequest && this.setState({\n addKeyRequest: !1\n }), !1 !== t.editKeyRequest && this.setState({\n editKeyRequest: !1\n }), e.src !== this.state.src && _.default.set(this.rjvId, \"global\", \"src\", this.state.src);\n }\n }, {\n key: \"componentWillUnmount\",\n value: function value() {\n var e = this.getListeners();\n\n for (var t in e) {\n _.default.removeListener(t + \"-\" + this.rjvId, e[t]);\n }\n }\n }, {\n key: \"render\",\n value: function value() {\n var e = this.state,\n t = e.validationFailure,\n n = e.validationMessage,\n r = e.addKeyRequest,\n a = e.theme,\n o = e.src,\n i = e.name,\n u = this.props,\n l = u.style,\n f = u.defaultValue;\n return c.default.createElement(\"div\", {\n className: \"react-json-view\",\n style: s({}, (0, O.default)(a, \"app-container\").style, l)\n }, c.default.createElement(v.default, {\n message: n,\n active: t,\n theme: a,\n rjvId: this.rjvId\n }), c.default.createElement(p.default, s({}, this.props, {\n src: o,\n name: i,\n theme: a,\n type: (0, m.toType)(o),\n rjvId: this.rjvId\n })), c.default.createElement(h.default, {\n active: r,\n theme: a,\n rjvId: this.rjvId,\n defaultValue: f\n }));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function value(e, n) {\n if (e.src !== n.prevSrc || e.name !== n.prevName || e.theme !== n.prevTheme) {\n var r = {\n src: e.src,\n name: e.name,\n theme: e.theme,\n validationMessage: e.validationMessage,\n prevSrc: e.src,\n prevName: e.name,\n prevTheme: e.theme\n };\n return t.validateState(r);\n }\n\n return null;\n }\n }]), t;\n }(c.default.PureComponent);\n\n E.defaultProps = {\n src: {},\n name: \"root\",\n theme: \"rjv-default\",\n collapsed: !1,\n collapseStringsAfterLength: !1,\n shouldCollapse: !1,\n sortKeys: !1,\n groupArraysAfterLength: 100,\n indentWidth: 4,\n enableClipboard: !0,\n displayObjectSize: !0,\n displayDataTypes: !0,\n onEdit: !1,\n onDelete: !1,\n onAdd: !1,\n onSelect: !1,\n iconStyle: \"triangle\",\n style: {},\n validationMessage: \"Validation Error\",\n defaultValue: null\n }, E.validateState = function (e) {\n var t = {};\n return \"object\" !== (0, m.toType)(e.theme) || (0, m.isTheme)(e.theme) || (console.error(\"react-json-view error:\", \"theme prop must be a theme name or valid base-16 theme object.\", 'defaulting to \"rjv-default\" theme'), t.theme = \"rjv-default\"), \"object\" !== (0, m.toType)(e.src) && \"array\" !== (0, m.toType)(e.src) && (console.error(\"react-json-view error:\", \"src property must be a valid json object\"), t.name = \"ERROR\", t.src = {\n message: \"src property must be a valid json object\"\n }), s({}, e, t);\n }, (0, f.polyfill)(E), t.default = E;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = n(0),\n l = r(u),\n c = n(25),\n f = r(c),\n d = n(57),\n p = r(d),\n b = function (e) {\n function t() {\n var e, n, r, i;\n a(this, t);\n\n for (var u = arguments.length, c = Array(u), d = 0; d < u; d++) {\n c[d] = arguments[d];\n }\n\n return n = r = o(this, (e = t.__proto__ || Object.getPrototypeOf(t)).call.apply(e, [this].concat(c))), r.render = function () {\n var e = r,\n t = e.props,\n n = [t.name],\n a = f.default;\n return t.groupArraysAfterLength && t.src.length > t.groupArraysAfterLength && (a = p.default), l.default.createElement(\"div\", {\n className: \"pretty-json-container object-container\"\n }, l.default.createElement(\"div\", {\n className: \"object-content\"\n }, l.default.createElement(a, s({\n namespace: n,\n depth: 0,\n jsvRoot: !0\n }, t))));\n }, i = n, o(r, i);\n }\n\n return i(t, e), t;\n }(l.default.PureComponent);\n\n t.default = b;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(6),\n d = r(f),\n p = n(1),\n b = r(p),\n h = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), u(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props;\n return c.default.createElement(\"div\", (0, b.default)(e.theme, \"boolean\"), c.default.createElement(d.default, s({\n type_name: \"bool\"\n }, e)), e.value ? \"true\" : \"false\");\n }\n }]), t;\n }(c.default.PureComponent);\n\n t.default = h;\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.rjv_default = {\n scheme: \"rjv-default\",\n author: \"mac gainor\",\n base00: \"rgba(0, 0, 0, 0)\",\n base01: \"rgb(245, 245, 245)\",\n base02: \"rgb(235, 235, 235)\",\n base03: \"#93a1a1\",\n base04: \"rgba(0, 0, 0, 0.3)\",\n base05: \"#586e75\",\n base06: \"#073642\",\n base07: \"#002b36\",\n base08: \"#d33682\",\n base09: \"#cb4b16\",\n base0A: \"#dc322f\",\n base0B: \"#859900\",\n base0C: \"#6c71c4\",\n base0D: \"#586e75\",\n base0E: \"#2aa198\",\n base0F: \"#268bd2\"\n }, t.rjv_grey = {\n scheme: \"rjv-grey\",\n author: \"mac gainor\",\n base00: \"rgba(1, 1, 1, 0)\",\n base01: \"rgba(1, 1, 1, 0.1)\",\n base02: \"rgba(0, 0, 0, 0.2)\",\n base03: \"rgba(1, 1, 1, 0.3)\",\n base04: \"rgba(0, 0, 0, 0.4)\",\n base05: \"rgba(1, 1, 1, 0.5)\",\n base06: \"rgba(1, 1, 1, 0.6)\",\n base07: \"rgba(1, 1, 1, 0.7)\",\n base08: \"rgba(1, 1, 1, 0.8)\",\n base09: \"rgba(1, 1, 1, 0.8)\",\n base0A: \"rgba(1, 1, 1, 0.8)\",\n base0B: \"rgba(1, 1, 1, 0.8)\",\n base0C: \"rgba(1, 1, 1, 0.8)\",\n base0D: \"rgba(1, 1, 1, 0.8)\",\n base0E: \"rgba(1, 1, 1, 0.8)\",\n base0F: \"rgba(1, 1, 1, 0.8)\"\n };\n }, function (e, t, n) {\n \"use strict\";\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.default = {\n white: \"#fff\",\n black: \"#000\",\n transparent: \"rgba(1, 1, 1, 0)\",\n globalFontFamily: \"monospace\",\n globalCursor: \"default\",\n indentBlockWidth: \"5px\",\n braceFontWeight: \"bold\",\n braceCursor: \"pointer\",\n ellipsisFontSize: \"18px\",\n ellipsisLineHeight: \"10px\",\n ellipsisCursor: \"pointer\",\n keyMargin: \"0px 5px\",\n keyLetterSpacing: \"0.5px\",\n keyFontStyle: \"none\",\n keyBorderRadius: \"3px\",\n keyColonWeight: \"bold\",\n keyVerticalAlign: \"top\",\n keyOpacity: \"0.85\",\n keyOpacityHover: \"1\",\n keyValPaddingTop: \"3px\",\n keyValPaddingBottom: \"3px\",\n keyValPaddingRight: \"5px\",\n keyValBorderLeft: \"1px solid\",\n keyValBorderHover: \"2px solid\",\n keyValPaddingHover: \"3px 5px 3px 4px\",\n pushedContentMarginLeft: \"6px\",\n variableValuePaddingRight: \"6px\",\n nullFontSize: \"11px\",\n nullFontWeight: \"bold\",\n nullPadding: \"1px 2px\",\n nullBorderRadius: \"3px\",\n nanFontSize: \"11px\",\n nanFontWeight: \"bold\",\n nanPadding: \"1px 2px\",\n nanBorderRadius: \"3px\",\n undefinedFontSize: \"11px\",\n undefinedFontWeight: \"bold\",\n undefinedPadding: \"1px 2px\",\n undefinedBorderRadius: \"3px\",\n dataTypeFontSize: \"11px\",\n dataTypeMarginRight: \"4px\",\n datatypeOpacity: \"0.8\",\n objectSizeBorderRadius: \"3px\",\n objectSizeFontStyle: \"italic\",\n objectSizeMargin: \"0px 6px 0px 0px\",\n clipboardCursor: \"pointer\",\n clipboardCheckMarginLeft: \"-12px\",\n metaDataPadding: \"0px 0px 0px 10px\",\n arrayGroupMetaPadding: \"0px 0px 0px 4px\",\n iconContainerWidth: \"17px\",\n tooltipPadding: \"4px\",\n editInputHeight: \"25px\",\n editInputMinWidth: \"130px\",\n editInputBorderRadius: \"2px\",\n editInputPadding: \"5px\",\n editInputMarginRight: \"4px\",\n editInputFontFamily: \"monospace\",\n iconCursor: \"pointer\",\n iconFontSize: \"15px\",\n iconPaddingRight: \"1px\",\n dateValueMarginLeft: \"2px\",\n iconMarginRight: \"3px\",\n detectedRowPaddingTop: \"3px\",\n addKeyCoverBackground: \"rgba(255, 255, 255, 0.3)\",\n addKeyCoverPosition: \"absolute\",\n addKeyCoverPositionPx: \"0px\",\n addKeyModalWidth: \"200px\",\n addKeyModalMargin: \"auto\",\n addKeyModalPadding: \"10px\",\n addKeyModalRadius: \"3px\"\n };\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.getBase16Theme = t.createStyling = t.invertTheme = void 0;\n\n var a = n(67),\n o = r(a),\n i = n(94),\n s = r(i),\n u = n(99),\n l = r(u),\n c = n(107),\n f = r(c),\n d = n(111),\n p = r(d),\n b = n(112),\n h = function (e) {\n if (e && e.__esModule) return e;\n var t = {};\n if (null != e) for (var n in e) {\n Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);\n }\n return t.default = e, t;\n }(b),\n y = n(150),\n v = r(y),\n m = n(151),\n g = r(m),\n _ = n(156),\n j = r(_),\n O = n(157),\n E = h.default,\n w = (0, f.default)(E),\n x = function x(e) {\n return e < .25 ? 1 : e < .5 ? .9 - e : 1.1 - e;\n },\n C = (0, j.default)(g.default, O.rgb2yuv, function (e) {\n var t = (0, l.default)(e, 3),\n n = t[0],\n r = t[1],\n a = t[2];\n return [x(n), r, a];\n }, O.yuv2rgb, v.default),\n k = function k(e) {\n return function (t) {\n return {\n className: [t.className, e.className].filter(Boolean).join(\" \"),\n style: (0, s.default)({}, t.style || {}, e.style || {})\n };\n };\n },\n P = function P(e, t) {\n if (void 0 === e) return t;\n if (void 0 === t) return e;\n var n = void 0 === e ? \"undefined\" : (0, o.default)(e),\n r = void 0 === t ? \"undefined\" : (0, o.default)(t);\n\n switch (n) {\n case \"string\":\n switch (r) {\n case \"string\":\n return [t, e].filter(Boolean).join(\" \");\n\n case \"object\":\n return k({\n className: e,\n style: t\n });\n\n case \"function\":\n return function (n) {\n for (var r = arguments.length, a = Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++) {\n a[o - 1] = arguments[o];\n }\n\n return k({\n className: e\n })(t.apply(void 0, [n].concat(a)));\n };\n }\n\n case \"object\":\n switch (r) {\n case \"string\":\n return k({\n className: t,\n style: e\n });\n\n case \"object\":\n return (0, s.default)({}, t, e);\n\n case \"function\":\n return function (n) {\n for (var r = arguments.length, a = Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++) {\n a[o - 1] = arguments[o];\n }\n\n return k({\n style: e\n })(t.apply(void 0, [n].concat(a)));\n };\n }\n\n case \"function\":\n switch (r) {\n case \"string\":\n return function (n) {\n for (var r = arguments.length, a = Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++) {\n a[o - 1] = arguments[o];\n }\n\n return e.apply(void 0, [k(n)({\n className: t\n })].concat(a));\n };\n\n case \"object\":\n return function (n) {\n for (var r = arguments.length, a = Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++) {\n a[o - 1] = arguments[o];\n }\n\n return e.apply(void 0, [k(n)({\n style: t\n })].concat(a));\n };\n\n case \"function\":\n return function (n) {\n for (var r = arguments.length, a = Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++) {\n a[o - 1] = arguments[o];\n }\n\n return e.apply(void 0, [t.apply(void 0, [n].concat(a))].concat(a));\n };\n }\n\n }\n },\n S = function S(e, t) {\n var n = (0, f.default)(t);\n\n for (var r in e) {\n -1 === n.indexOf(r) && n.push(r);\n }\n\n return n.reduce(function (n, r) {\n return n[r] = P(e[r], t[r]), n;\n }, {});\n },\n M = function M(e, t) {\n for (var n = arguments.length, r = Array(n > 2 ? n - 2 : 0), a = 2; a < n; a++) {\n r[a - 2] = arguments[a];\n }\n\n if (null === t) return e;\n Array.isArray(t) || (t = [t]);\n var i = t.map(function (t) {\n return e[t];\n }).filter(Boolean),\n u = i.reduce(function (e, t) {\n return \"string\" == typeof t ? e.className = [e.className, t].filter(Boolean).join(\" \") : \"object\" === (void 0 === t ? \"undefined\" : (0, o.default)(t)) ? e.style = (0, s.default)({}, e.style, t) : \"function\" == typeof t && (e = (0, s.default)({}, e, t.apply(void 0, [e].concat(r)))), e;\n }, {\n className: \"\",\n style: {}\n });\n return u.className || delete u.className, 0 === (0, f.default)(u.style).length && delete u.style, u;\n },\n A = t.invertTheme = function (e) {\n return (0, f.default)(e).reduce(function (t, n) {\n return t[n] = /^base/.test(n) ? C(e[n]) : \"scheme\" === n ? e[n] + \":inverted\" : e[n], t;\n }, {});\n },\n R = (t.createStyling = (0, p.default)(function (e) {\n for (var t = arguments.length, n = Array(t > 3 ? t - 3 : 0), r = 3; r < t; r++) {\n n[r - 3] = arguments[r];\n }\n\n var a = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},\n o = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},\n i = a.defaultBase16,\n u = void 0 === i ? E : i,\n l = a.base16Themes,\n c = void 0 === l ? null : l,\n d = R(o, c);\n d && (o = (0, s.default)({}, d, o));\n var b = w.reduce(function (e, t) {\n return e[t] = o[t] || u[t], e;\n }, {}),\n h = (0, f.default)(o).reduce(function (e, t) {\n return -1 === w.indexOf(t) ? (e[t] = o[t], e) : e;\n }, {}),\n y = e(b),\n v = S(h, y);\n return (0, p.default)(M, 2).apply(void 0, [v].concat(n));\n }, 3), t.getBase16Theme = function (e, t) {\n if (e && e.extend && (e = e.extend), \"string\" == typeof e) {\n var n = e.split(\":\"),\n r = (0, l.default)(n, 2),\n a = r[0],\n o = r[1];\n e = (t || {})[a] || h[a], \"inverted\" === o && (e = A(e));\n }\n\n return e && e.hasOwnProperty(\"base00\") ? e : void 0;\n });\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n t.__esModule = !0;\n var a = n(68),\n o = r(a),\n i = n(83),\n s = r(i),\n u = \"function\" == typeof s.default && \"symbol\" == _typeof(o.default) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof s.default && e.constructor === s.default && e !== s.default.prototype ? \"symbol\" : _typeof(e);\n };\n t.default = \"function\" == typeof s.default && \"symbol\" === u(o.default) ? function (e) {\n return void 0 === e ? \"undefined\" : u(e);\n } : function (e) {\n return e && \"function\" == typeof s.default && e.constructor === s.default && e !== s.default.prototype ? \"symbol\" : void 0 === e ? \"undefined\" : u(e);\n };\n }, function (e, t, n) {\n e.exports = {\n default: n(69),\n __esModule: !0\n };\n }, function (e, t, n) {\n n(26), n(36), e.exports = n(37).f(\"iterator\");\n }, function (e, t, n) {\n var r = n(27),\n a = n(28);\n\n e.exports = function (e) {\n return function (t, n) {\n var o,\n i,\n s = String(a(t)),\n u = r(n),\n l = s.length;\n return u < 0 || u >= l ? e ? \"\" : void 0 : (o = s.charCodeAt(u), o < 55296 || o > 56319 || u + 1 === l || (i = s.charCodeAt(u + 1)) < 56320 || i > 57343 ? e ? s.charAt(u) : o : e ? s.slice(u, u + 2) : i - 56320 + (o - 55296 << 10) + 65536);\n };\n };\n }, function (e, t, n) {\n var r = n(72);\n\n e.exports = function (e, t, n) {\n if (r(e), void 0 === t) return e;\n\n switch (n) {\n case 1:\n return function (n) {\n return e.call(t, n);\n };\n\n case 2:\n return function (n, r) {\n return e.call(t, n, r);\n };\n\n case 3:\n return function (n, r, a) {\n return e.call(t, n, r, a);\n };\n }\n\n return function () {\n return e.apply(t, arguments);\n };\n };\n }, function (e, t) {\n e.exports = function (e) {\n if (\"function\" != typeof e) throw TypeError(e + \" is not a function!\");\n return e;\n };\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(47),\n a = n(22),\n o = n(34),\n i = {};\n n(8)(i, n(3)(\"iterator\"), function () {\n return this;\n }), e.exports = function (e, t, n) {\n e.prototype = r(i, {\n next: a(1, n)\n }), o(e, t + \" Iterator\");\n };\n }, function (e, t, n) {\n var r = n(9),\n a = n(16),\n o = n(19);\n e.exports = n(10) ? Object.defineProperties : function (e, t) {\n a(e);\n\n for (var n, i = o(t), s = i.length, u = 0; s > u;) {\n r.f(e, n = i[u++], t[n]);\n }\n\n return e;\n };\n }, function (e, t, n) {\n var r = n(12),\n a = n(76),\n o = n(77);\n\n e.exports = function (e) {\n return function (t, n, i) {\n var s,\n u = r(t),\n l = a(u.length),\n c = o(i, l);\n\n if (e && n != n) {\n for (; l > c;) {\n if ((s = u[c++]) != s) return !0;\n }\n } else for (; l > c; c++) {\n if ((e || c in u) && u[c] === n) return e || c || 0;\n }\n\n return !e && -1;\n };\n };\n }, function (e, t, n) {\n var r = n(27),\n a = Math.min;\n\n e.exports = function (e) {\n return e > 0 ? a(r(e), 9007199254740991) : 0;\n };\n }, function (e, t, n) {\n var r = n(27),\n a = Math.max,\n o = Math.min;\n\n e.exports = function (e, t) {\n return e = r(e), e < 0 ? a(e + t, 0) : o(e, t);\n };\n }, function (e, t, n) {\n var r = n(5).document;\n e.exports = r && r.documentElement;\n }, function (e, t, n) {\n var r = n(7),\n a = n(35),\n o = n(31)(\"IE_PROTO\"),\n i = Object.prototype;\n\n e.exports = Object.getPrototypeOf || function (e) {\n return e = a(e), r(e, o) ? e[o] : \"function\" == typeof e.constructor && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? i : null;\n };\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(81),\n a = n(82),\n o = n(18),\n i = n(12);\n e.exports = n(43)(Array, \"Array\", function (e, t) {\n this._t = i(e), this._i = 0, this._k = t;\n }, function () {\n var e = this._t,\n t = this._k,\n n = this._i++;\n return !e || n >= e.length ? (this._t = void 0, a(1)) : \"keys\" == t ? a(0, n) : \"values\" == t ? a(0, e[n]) : a(0, [n, e[n]]);\n }, \"values\"), o.Arguments = o.Array, r(\"keys\"), r(\"values\"), r(\"entries\");\n }, function (e, t) {\n e.exports = function () {};\n }, function (e, t) {\n e.exports = function (e, t) {\n return {\n value: t,\n done: !!e\n };\n };\n }, function (e, t, n) {\n e.exports = {\n default: n(84),\n __esModule: !0\n };\n }, function (e, t, n) {\n n(85), n(91), n(92), n(93), e.exports = n(2).Symbol;\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(5),\n a = n(7),\n o = n(10),\n i = n(21),\n s = n(46),\n u = n(86).KEY,\n l = n(11),\n c = n(32),\n f = n(34),\n d = n(23),\n p = n(3),\n b = n(37),\n h = n(38),\n y = n(87),\n v = n(88),\n m = n(16),\n g = n(17),\n _ = n(12),\n j = n(29),\n O = n(22),\n E = n(47),\n w = n(89),\n x = n(90),\n C = n(9),\n k = n(19),\n P = x.f,\n S = C.f,\n M = w.f,\n _A = r.Symbol,\n R = r.JSON,\n F = R && R.stringify,\n D = p(\"_hidden\"),\n T = p(\"toPrimitive\"),\n I = {}.propertyIsEnumerable,\n L = c(\"symbol-registry\"),\n B = c(\"symbols\"),\n N = c(\"op-symbols\"),\n z = Object.prototype,\n q = \"function\" == typeof _A,\n V = r.QObject,\n U = !V || !V.prototype || !V.prototype.findChild,\n K = o && l(function () {\n return 7 != E(S({}, \"a\", {\n get: function get() {\n return S(this, \"a\", {\n value: 7\n }).a;\n }\n })).a;\n }) ? function (e, t, n) {\n var r = P(z, t);\n r && delete z[t], S(e, t, n), r && e !== z && S(z, t, r);\n } : S,\n W = function W(e) {\n var t = B[e] = E(_A.prototype);\n return t._k = e, t;\n },\n H = q && \"symbol\" == _typeof(_A.iterator) ? function (e) {\n return \"symbol\" == _typeof(e);\n } : function (e) {\n return e instanceof _A;\n },\n J = function J(e, t, n) {\n return e === z && J(N, t, n), m(e), t = j(t, !0), m(n), a(B, t) ? (n.enumerable ? (a(e, D) && e[D][t] && (e[D][t] = !1), n = E(n, {\n enumerable: O(0, !1)\n })) : (a(e, D) || S(e, D, O(1, {})), e[D][t] = !0), K(e, t, n)) : S(e, t, n);\n },\n G = function G(e, t) {\n m(e);\n\n for (var n, r = y(t = _(t)), a = 0, o = r.length; o > a;) {\n J(e, n = r[a++], t[n]);\n }\n\n return e;\n },\n $ = function $(e, t) {\n return void 0 === t ? E(e) : G(E(e), t);\n },\n Y = function Y(e) {\n var t = I.call(this, e = j(e, !0));\n return !(this === z && a(B, e) && !a(N, e)) && (!(t || !a(this, e) || !a(B, e) || a(this, D) && this[D][e]) || t);\n },\n Q = function Q(e, t) {\n if (e = _(e), t = j(t, !0), e !== z || !a(B, t) || a(N, t)) {\n var n = P(e, t);\n return !n || !a(B, t) || a(e, D) && e[D][t] || (n.enumerable = !0), n;\n }\n },\n Z = function Z(e) {\n for (var t, n = M(_(e)), r = [], o = 0; n.length > o;) {\n a(B, t = n[o++]) || t == D || t == u || r.push(t);\n }\n\n return r;\n },\n X = function X(e) {\n for (var t, n = e === z, r = M(n ? N : _(e)), o = [], i = 0; r.length > i;) {\n !a(B, t = r[i++]) || n && !a(z, t) || o.push(B[t]);\n }\n\n return o;\n };\n\n q || (_A = function A() {\n if (this instanceof _A) throw TypeError(\"Symbol is not a constructor!\");\n\n var e = d(arguments.length > 0 ? arguments[0] : void 0),\n t = function t(n) {\n this === z && t.call(N, n), a(this, D) && a(this[D], e) && (this[D][e] = !1), K(this, e, O(1, n));\n };\n\n return o && U && K(z, e, {\n configurable: !0,\n set: t\n }), W(e);\n }, s(_A.prototype, \"toString\", function () {\n return this._k;\n }), x.f = Q, C.f = J, n(50).f = w.f = Z, n(24).f = Y, n(39).f = X, o && !n(20) && s(z, \"propertyIsEnumerable\", Y, !0), b.f = function (e) {\n return W(p(e));\n }), i(i.G + i.W + i.F * !q, {\n Symbol: _A\n });\n\n for (var ee = \"hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables\".split(\",\"), te = 0; ee.length > te;) {\n p(ee[te++]);\n }\n\n for (var ne = k(p.store), re = 0; ne.length > re;) {\n h(ne[re++]);\n }\n\n i(i.S + i.F * !q, \"Symbol\", {\n for: function _for(e) {\n return a(L, e += \"\") ? L[e] : L[e] = _A(e);\n },\n keyFor: function keyFor(e) {\n if (!H(e)) throw TypeError(e + \" is not a symbol!\");\n\n for (var t in L) {\n if (L[t] === e) return t;\n }\n },\n useSetter: function useSetter() {\n U = !0;\n },\n useSimple: function useSimple() {\n U = !1;\n }\n }), i(i.S + i.F * !q, \"Object\", {\n create: $,\n defineProperty: J,\n defineProperties: G,\n getOwnPropertyDescriptor: Q,\n getOwnPropertyNames: Z,\n getOwnPropertySymbols: X\n }), R && i(i.S + i.F * (!q || l(function () {\n var e = _A();\n\n return \"[null]\" != F([e]) || \"{}\" != F({\n a: e\n }) || \"{}\" != F(Object(e));\n })), \"JSON\", {\n stringify: function stringify(e) {\n for (var t, n, r = [e], a = 1; arguments.length > a;) {\n r.push(arguments[a++]);\n }\n\n if (n = t = r[1], (g(t) || void 0 !== e) && !H(e)) return v(t) || (t = function t(e, _t2) {\n if (\"function\" == typeof n && (_t2 = n.call(this, e, _t2)), !H(_t2)) return _t2;\n }), r[1] = t, F.apply(R, r);\n }\n }), _A.prototype[T] || n(8)(_A.prototype, T, _A.prototype.valueOf), f(_A, \"Symbol\"), f(Math, \"Math\", !0), f(r.JSON, \"JSON\", !0);\n }, function (e, t, n) {\n var r = n(23)(\"meta\"),\n a = n(17),\n o = n(7),\n i = n(9).f,\n s = 0,\n u = Object.isExtensible || function () {\n return !0;\n },\n l = !n(11)(function () {\n return u(Object.preventExtensions({}));\n }),\n c = function c(e) {\n i(e, r, {\n value: {\n i: \"O\" + ++s,\n w: {}\n }\n });\n },\n f = function f(e, t) {\n if (!a(e)) return \"symbol\" == _typeof(e) ? e : (\"string\" == typeof e ? \"S\" : \"P\") + e;\n\n if (!o(e, r)) {\n if (!u(e)) return \"F\";\n if (!t) return \"E\";\n c(e);\n }\n\n return e[r].i;\n },\n d = function d(e, t) {\n if (!o(e, r)) {\n if (!u(e)) return !0;\n if (!t) return !1;\n c(e);\n }\n\n return e[r].w;\n },\n p = function p(e) {\n return l && b.NEED && u(e) && !o(e, r) && c(e), e;\n },\n b = e.exports = {\n KEY: r,\n NEED: !1,\n fastKey: f,\n getWeak: d,\n onFreeze: p\n };\n }, function (e, t, n) {\n var r = n(19),\n a = n(39),\n o = n(24);\n\n e.exports = function (e) {\n var t = r(e),\n n = a.f;\n if (n) for (var i, s = n(e), u = o.f, l = 0; s.length > l;) {\n u.call(e, i = s[l++]) && t.push(i);\n }\n return t;\n };\n }, function (e, t, n) {\n var r = n(30);\n\n e.exports = Array.isArray || function (e) {\n return \"Array\" == r(e);\n };\n }, function (e, t, n) {\n var r = n(12),\n a = n(50).f,\n o = {}.toString,\n i = \"object\" == (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [],\n s = function s(e) {\n try {\n return a(e);\n } catch (e) {\n return i.slice();\n }\n };\n\n e.exports.f = function (e) {\n return i && \"[object Window]\" == o.call(e) ? s(e) : a(r(e));\n };\n }, function (e, t, n) {\n var r = n(24),\n a = n(22),\n o = n(12),\n i = n(29),\n s = n(7),\n u = n(44),\n l = Object.getOwnPropertyDescriptor;\n t.f = n(10) ? l : function (e, t) {\n if (e = o(e), t = i(t, !0), u) try {\n return l(e, t);\n } catch (e) {}\n if (s(e, t)) return a(!r.f.call(e, t), e[t]);\n };\n }, function (e, t) {}, function (e, t, n) {\n n(38)(\"asyncIterator\");\n }, function (e, t, n) {\n n(38)(\"observable\");\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0;\n\n var r = n(95),\n a = function (e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }(r);\n\n t.default = a.default || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n };\n }, function (e, t, n) {\n e.exports = {\n default: n(96),\n __esModule: !0\n };\n }, function (e, t, n) {\n n(97), e.exports = n(2).Object.assign;\n }, function (e, t, n) {\n var r = n(21);\n r(r.S + r.F, \"Object\", {\n assign: n(98)\n });\n }, function (e, t, n) {\n \"use strict\";\n\n var r = n(19),\n a = n(39),\n o = n(24),\n i = n(35),\n s = n(49),\n u = Object.assign;\n e.exports = !u || n(11)(function () {\n var e = {},\n t = {},\n n = Symbol(),\n r = \"abcdefghijklmnopqrst\";\n return e[n] = 7, r.split(\"\").forEach(function (e) {\n t[e] = e;\n }), 7 != u({}, e)[n] || Object.keys(u({}, t)).join(\"\") != r;\n }) ? function (e, t) {\n for (var n = i(e), u = arguments.length, l = 1, c = a.f, f = o.f; u > l;) {\n for (var d, p = s(arguments[l++]), b = c ? r(p).concat(c(p)) : r(p), h = b.length, y = 0; h > y;) {\n f.call(p, d = b[y++]) && (n[d] = p[d]);\n }\n }\n\n return n;\n } : u;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n t.__esModule = !0;\n var a = n(100),\n o = r(a),\n i = n(103),\n s = r(i);\n\n t.default = function () {\n function e(e, t) {\n var n = [],\n r = !0,\n a = !1,\n o = void 0;\n\n try {\n for (var i, u = (0, s.default)(e); !(r = (i = u.next()).done) && (n.push(i.value), !t || n.length !== t); r = !0) {\n ;\n }\n } catch (e) {\n a = !0, o = e;\n } finally {\n try {\n !r && u.return && u.return();\n } finally {\n if (a) throw o;\n }\n }\n\n return n;\n }\n\n return function (t, n) {\n if (Array.isArray(t)) return t;\n if ((0, o.default)(Object(t))) return e(t, n);\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n };\n }();\n }, function (e, t, n) {\n e.exports = {\n default: n(101),\n __esModule: !0\n };\n }, function (e, t, n) {\n n(36), n(26), e.exports = n(102);\n }, function (e, t, n) {\n var r = n(51),\n a = n(3)(\"iterator\"),\n o = n(18);\n\n e.exports = n(2).isIterable = function (e) {\n var t = Object(e);\n return void 0 !== t[a] || \"@@iterator\" in t || o.hasOwnProperty(r(t));\n };\n }, function (e, t, n) {\n e.exports = {\n default: n(104),\n __esModule: !0\n };\n }, function (e, t, n) {\n n(36), n(26), e.exports = n(105);\n }, function (e, t, n) {\n var r = n(16),\n a = n(106);\n\n e.exports = n(2).getIterator = function (e) {\n var t = a(e);\n if (\"function\" != typeof t) throw TypeError(e + \" is not iterable!\");\n return r(t.call(e));\n };\n }, function (e, t, n) {\n var r = n(51),\n a = n(3)(\"iterator\"),\n o = n(18);\n\n e.exports = n(2).getIteratorMethod = function (e) {\n if (void 0 != e) return e[a] || e[\"@@iterator\"] || o[r(e)];\n };\n }, function (e, t, n) {\n e.exports = {\n default: n(108),\n __esModule: !0\n };\n }, function (e, t, n) {\n n(109), e.exports = n(2).Object.keys;\n }, function (e, t, n) {\n var r = n(35),\n a = n(19);\n n(110)(\"keys\", function () {\n return function (e) {\n return a(r(e));\n };\n });\n }, function (e, t, n) {\n var r = n(21),\n a = n(2),\n o = n(11);\n\n e.exports = function (e, t) {\n var n = (a.Object || {})[e] || Object[e],\n i = {};\n i[e] = t(n), r(r.S + r.F * o(function () {\n n(1);\n }), \"Object\", i);\n };\n }, function (e, t, n) {\n (function (t) {\n function n(e, t, n) {\n switch (n.length) {\n case 0:\n return e.call(t);\n\n case 1:\n return e.call(t, n[0]);\n\n case 2:\n return e.call(t, n[0], n[1]);\n\n case 3:\n return e.call(t, n[0], n[1], n[2]);\n }\n\n return e.apply(t, n);\n }\n\n function r(e, t) {\n for (var n = -1, r = e ? e.length : 0; ++n < r && !1 !== t(e[n], n, e);) {\n ;\n }\n\n return e;\n }\n\n function a(e, t) {\n return !!(e ? e.length : 0) && i(e, t, 0) > -1;\n }\n\n function o(e, t, n, r) {\n for (var a = e.length, o = n + (r ? 1 : -1); r ? o-- : ++o < a;) {\n if (t(e[o], o, e)) return o;\n }\n\n return -1;\n }\n\n function i(e, t, n) {\n if (t !== t) return o(e, s, n);\n\n for (var r = n - 1, a = e.length; ++r < a;) {\n if (e[r] === t) return r;\n }\n\n return -1;\n }\n\n function s(e) {\n return e !== e;\n }\n\n function u(e, t) {\n for (var n = e.length, r = 0; n--;) {\n e[n] === t && r++;\n }\n\n return r;\n }\n\n function l(e, t) {\n return null == e ? void 0 : e[t];\n }\n\n function c(e) {\n var t = !1;\n if (null != e && \"function\" != typeof e.toString) try {\n t = !!(e + \"\");\n } catch (e) {}\n return t;\n }\n\n function f(e, t) {\n for (var n = -1, r = e.length, a = 0, o = []; ++n < r;) {\n var i = e[n];\n i !== t && i !== K || (e[n] = K, o[a++] = n);\n }\n\n return o;\n }\n\n function d(e) {\n return T(e) ? Me(e) : {};\n }\n\n function p(e) {\n return !(!T(e) || S(e)) && (D(e) || c(e) ? Se : he).test(A(e));\n }\n\n function b(e, t, n, r) {\n for (var a = -1, o = e.length, i = n.length, s = -1, u = t.length, l = Ae(o - i, 0), c = Array(u + l), f = !r; ++s < u;) {\n c[s] = t[s];\n }\n\n for (; ++a < i;) {\n (f || a < o) && (c[n[a]] = e[a]);\n }\n\n for (; l--;) {\n c[s++] = e[a++];\n }\n\n return c;\n }\n\n function h(e, t, n, r) {\n for (var a = -1, o = e.length, i = -1, s = n.length, u = -1, l = t.length, c = Ae(o - s, 0), f = Array(c + l), d = !r; ++a < c;) {\n f[a] = e[a];\n }\n\n for (var p = a; ++u < l;) {\n f[p + u] = t[u];\n }\n\n for (; ++i < s;) {\n (d || a < o) && (f[p + n[i]] = e[a++]);\n }\n\n return f;\n }\n\n function y(e, t) {\n var n = -1,\n r = e.length;\n\n for (t || (t = Array(r)); ++n < r;) {\n t[n] = e[n];\n }\n\n return t;\n }\n\n function v(e, t, n) {\n function r() {\n return (this && this !== je && this instanceof r ? o : e).apply(a ? n : this, arguments);\n }\n\n var a = t & W,\n o = m(e);\n return r;\n }\n\n function m(e) {\n return function () {\n var t = arguments;\n\n switch (t.length) {\n case 0:\n return new e();\n\n case 1:\n return new e(t[0]);\n\n case 2:\n return new e(t[0], t[1]);\n\n case 3:\n return new e(t[0], t[1], t[2]);\n\n case 4:\n return new e(t[0], t[1], t[2], t[3]);\n\n case 5:\n return new e(t[0], t[1], t[2], t[3], t[4]);\n\n case 6:\n return new e(t[0], t[1], t[2], t[3], t[4], t[5]);\n\n case 7:\n return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6]);\n }\n\n var n = d(e.prototype),\n r = e.apply(n, t);\n return T(r) ? r : n;\n };\n }\n\n function g(e, t, r) {\n function a() {\n for (var i = arguments.length, s = Array(i), u = i, l = w(a); u--;) {\n s[u] = arguments[u];\n }\n\n var c = i < 3 && s[0] !== l && s[i - 1] !== l ? [] : f(s, l);\n return (i -= c.length) < r ? O(e, t, _, a.placeholder, void 0, s, c, void 0, void 0, r - i) : n(this && this !== je && this instanceof a ? o : e, this, s);\n }\n\n var o = m(e);\n return a;\n }\n\n function _(e, t, n, r, a, o, i, s, l, c) {\n function d() {\n for (var x = arguments.length, C = Array(x), k = x; k--;) {\n C[k] = arguments[k];\n }\n\n if (g) var P = w(d),\n S = u(C, P);\n\n if (r && (C = b(C, r, a, g)), o && (C = h(C, o, i, g)), x -= S, g && x < c) {\n var A = f(C, P);\n return O(e, t, _, d.placeholder, n, C, A, s, l, c - x);\n }\n\n var R = y ? n : this,\n F = v ? R[e] : e;\n return x = C.length, s ? C = M(C, s) : j && x > 1 && C.reverse(), p && l < x && (C.length = l), this && this !== je && this instanceof d && (F = E || m(F)), F.apply(R, C);\n }\n\n var p = t & Z,\n y = t & W,\n v = t & H,\n g = t & (G | $),\n j = t & X,\n E = v ? void 0 : m(e);\n return d;\n }\n\n function j(e, t, r, a) {\n function o() {\n for (var t = -1, u = arguments.length, l = -1, c = a.length, f = Array(c + u), d = this && this !== je && this instanceof o ? s : e; ++l < c;) {\n f[l] = a[l];\n }\n\n for (; u--;) {\n f[l++] = arguments[++t];\n }\n\n return n(d, i ? r : this, f);\n }\n\n var i = t & W,\n s = m(e);\n return o;\n }\n\n function O(e, t, n, r, a, o, i, s, u, l) {\n var c = t & G,\n f = c ? i : void 0,\n d = c ? void 0 : i,\n p = c ? o : void 0,\n b = c ? void 0 : o;\n t |= c ? Y : Q, (t &= ~(c ? Q : Y)) & J || (t &= ~(W | H));\n var h = n(e, t, a, p, f, b, d, s, u, l);\n return h.placeholder = r, De(h, e, t);\n }\n\n function E(e, t, n, r, a, o, i, s) {\n var u = t & H;\n if (!u && \"function\" != typeof e) throw new TypeError(U);\n var l = r ? r.length : 0;\n\n if (l || (t &= ~(Y | Q), r = a = void 0), i = void 0 === i ? i : Ae(N(i), 0), s = void 0 === s ? s : N(s), l -= a ? a.length : 0, t & Q) {\n var c = r,\n f = a;\n r = a = void 0;\n }\n\n var d = [e, t, n, r, a, c, f, o, i, s];\n if (e = d[0], t = d[1], n = d[2], r = d[3], a = d[4], s = d[9] = null == d[9] ? u ? 0 : e.length : Ae(d[9] - l, 0), !s && t & (G | $) && (t &= ~(G | $)), t && t != W) p = t == G || t == $ ? g(e, t, s) : t != Y && t != (W | Y) || a.length ? _.apply(void 0, d) : j(e, t, n, r);else var p = v(e, t, n);\n return De(p, e, t);\n }\n\n function w(e) {\n return e.placeholder;\n }\n\n function x(e, t) {\n var n = l(e, t);\n return p(n) ? n : void 0;\n }\n\n function C(e) {\n var t = e.match(fe);\n return t ? t[1].split(de) : [];\n }\n\n function k(e, t) {\n var n = t.length,\n r = n - 1;\n return t[r] = (n > 1 ? \"& \" : \"\") + t[r], t = t.join(n > 2 ? \", \" : \" \"), e.replace(ce, \"{\\n/* [wrapped with \" + t + \"] */\\n\");\n }\n\n function P(e, t) {\n return !!(t = null == t ? te : t) && (\"number\" == typeof e || ve.test(e)) && e > -1 && e % 1 == 0 && e < t;\n }\n\n function S(e) {\n return !!xe && xe in e;\n }\n\n function M(e, t) {\n for (var n = e.length, r = Re(t.length, n), a = y(e); r--;) {\n var o = t[r];\n e[r] = P(o, n) ? a[o] : void 0;\n }\n\n return e;\n }\n\n function A(e) {\n if (null != e) {\n try {\n return Ce.call(e);\n } catch (e) {}\n\n try {\n return e + \"\";\n } catch (e) {}\n }\n\n return \"\";\n }\n\n function R(e, t) {\n return r(ae, function (n) {\n var r = \"_.\" + n[0];\n t & n[1] && !a(e, r) && e.push(r);\n }), e.sort();\n }\n\n function F(e, t, n) {\n t = n ? void 0 : t;\n var r = E(e, G, void 0, void 0, void 0, void 0, void 0, t);\n return r.placeholder = F.placeholder, r;\n }\n\n function D(e) {\n var t = T(e) ? Pe.call(e) : \"\";\n return t == oe || t == ie;\n }\n\n function T(e) {\n var t = _typeof(e);\n\n return !!e && (\"object\" == t || \"function\" == t);\n }\n\n function I(e) {\n return !!e && \"object\" == _typeof(e);\n }\n\n function L(e) {\n return \"symbol\" == _typeof(e) || I(e) && Pe.call(e) == se;\n }\n\n function B(e) {\n return e ? (e = z(e)) === ee || e === -ee ? (e < 0 ? -1 : 1) * ne : e === e ? e : 0 : 0 === e ? e : 0;\n }\n\n function N(e) {\n var t = B(e),\n n = t % 1;\n return t === t ? n ? t - n : t : 0;\n }\n\n function z(e) {\n if (\"number\" == typeof e) return e;\n if (L(e)) return re;\n\n if (T(e)) {\n var t = \"function\" == typeof e.valueOf ? e.valueOf() : e;\n e = T(t) ? t + \"\" : t;\n }\n\n if (\"string\" != typeof e) return 0 === e ? e : +e;\n e = e.replace(le, \"\");\n var n = be.test(e);\n return n || ye.test(e) ? me(e.slice(2), n ? 2 : 8) : pe.test(e) ? re : +e;\n }\n\n function q(e) {\n return function () {\n return e;\n };\n }\n\n function V(e) {\n return e;\n }\n\n var U = \"Expected a function\",\n K = \"__lodash_placeholder__\",\n W = 1,\n H = 2,\n J = 4,\n G = 8,\n $ = 16,\n Y = 32,\n Q = 64,\n Z = 128,\n X = 512,\n ee = 1 / 0,\n te = 9007199254740991,\n ne = 1.7976931348623157e308,\n re = NaN,\n ae = [[\"ary\", Z], [\"bind\", W], [\"bindKey\", H], [\"curry\", G], [\"curryRight\", $], [\"flip\", X], [\"partial\", Y], [\"partialRight\", Q], [\"rearg\", 256]],\n oe = \"[object Function]\",\n ie = \"[object GeneratorFunction]\",\n se = \"[object Symbol]\",\n ue = /[\\\\^$.*+?()[\\]{}|]/g,\n le = /^\\s+|\\s+$/g,\n ce = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n fe = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n de = /,? & /,\n pe = /^[-+]0x[0-9a-f]+$/i,\n be = /^0b[01]+$/i,\n he = /^\\[object .+?Constructor\\]$/,\n ye = /^0o[0-7]+$/i,\n ve = /^(?:0|[1-9]\\d*)$/,\n me = parseInt,\n ge = \"object\" == _typeof(t) && t && t.Object === Object && t,\n _e = \"object\" == (typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) && self && self.Object === Object && self,\n je = ge || _e || Function(\"return this\")(),\n Oe = Function.prototype,\n Ee = Object.prototype,\n we = je[\"__core-js_shared__\"],\n xe = function () {\n var e = /[^.]+$/.exec(we && we.keys && we.keys.IE_PROTO || \"\");\n return e ? \"Symbol(src)_1.\" + e : \"\";\n }(),\n Ce = Oe.toString,\n ke = Ee.hasOwnProperty,\n Pe = Ee.toString,\n Se = RegExp(\"^\" + Ce.call(ke).replace(ue, \"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, \"$1.*?\") + \"$\"),\n Me = Object.create,\n Ae = Math.max,\n Re = Math.min,\n Fe = function () {\n var e = x(Object, \"defineProperty\"),\n t = x.name;\n return t && t.length > 2 ? e : void 0;\n }(),\n De = Fe ? function (e, t, n) {\n var r = t + \"\";\n return Fe(e, \"toString\", {\n configurable: !0,\n enumerable: !1,\n value: q(k(r, R(C(r), n)))\n });\n } : V;\n\n F.placeholder = {}, e.exports = F;\n }).call(t, n(52));\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e.default : e;\n }\n\n t.__esModule = !0;\n var a = n(113);\n t.threezerotwofour = r(a);\n var o = n(114);\n t.apathy = r(o);\n var i = n(115);\n t.ashes = r(i);\n var s = n(116);\n t.atelierDune = r(s);\n var u = n(117);\n t.atelierForest = r(u);\n var l = n(118);\n t.atelierHeath = r(l);\n var c = n(119);\n t.atelierLakeside = r(c);\n var f = n(120);\n t.atelierSeaside = r(f);\n var d = n(121);\n t.bespin = r(d);\n var p = n(122);\n t.brewer = r(p);\n var b = n(123);\n t.bright = r(b);\n var h = n(124);\n t.chalk = r(h);\n var y = n(125);\n t.codeschool = r(y);\n var v = n(126);\n t.colors = r(v);\n var m = n(127);\n t.default = r(m);\n var g = n(128);\n t.eighties = r(g);\n\n var _ = n(129);\n\n t.embers = r(_);\n var j = n(130);\n t.flat = r(j);\n var O = n(131);\n t.google = r(O);\n var E = n(132);\n t.grayscale = r(E);\n var w = n(133);\n t.greenscreen = r(w);\n var x = n(134);\n t.harmonic = r(x);\n var C = n(135);\n t.hopscotch = r(C);\n var k = n(136);\n t.isotope = r(k);\n var P = n(137);\n t.marrakesh = r(P);\n var S = n(138);\n t.mocha = r(S);\n var M = n(139);\n t.monokai = r(M);\n var A = n(140);\n t.ocean = r(A);\n var R = n(141);\n t.paraiso = r(R);\n var F = n(142);\n t.pop = r(F);\n var D = n(143);\n t.railscasts = r(D);\n var T = n(144);\n t.shapeshifter = r(T);\n var I = n(145);\n t.solarized = r(I);\n var L = n(146);\n t.summerfruit = r(L);\n var B = n(147);\n t.tomorrow = r(B);\n var N = n(148);\n t.tube = r(N);\n var z = n(149);\n t.twilight = r(z);\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"threezerotwofour\",\n author: \"jan t. sott (http://github.com/idleberg)\",\n base00: \"#090300\",\n base01: \"#3a3432\",\n base02: \"#4a4543\",\n base03: \"#5c5855\",\n base04: \"#807d7c\",\n base05: \"#a5a2a2\",\n base06: \"#d6d5d4\",\n base07: \"#f7f7f7\",\n base08: \"#db2d20\",\n base09: \"#e8bbd0\",\n base0A: \"#fded02\",\n base0B: \"#01a252\",\n base0C: \"#b5e4f4\",\n base0D: \"#01a0e4\",\n base0E: \"#a16a94\",\n base0F: \"#cdab53\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"apathy\",\n author: \"jannik siebert (https://github.com/janniks)\",\n base00: \"#031A16\",\n base01: \"#0B342D\",\n base02: \"#184E45\",\n base03: \"#2B685E\",\n base04: \"#5F9C92\",\n base05: \"#81B5AC\",\n base06: \"#A7CEC8\",\n base07: \"#D2E7E4\",\n base08: \"#3E9688\",\n base09: \"#3E7996\",\n base0A: \"#3E4C96\",\n base0B: \"#883E96\",\n base0C: \"#963E4C\",\n base0D: \"#96883E\",\n base0E: \"#4C963E\",\n base0F: \"#3E965B\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"ashes\",\n author: \"jannik siebert (https://github.com/janniks)\",\n base00: \"#1C2023\",\n base01: \"#393F45\",\n base02: \"#565E65\",\n base03: \"#747C84\",\n base04: \"#ADB3BA\",\n base05: \"#C7CCD1\",\n base06: \"#DFE2E5\",\n base07: \"#F3F4F5\",\n base08: \"#C7AE95\",\n base09: \"#C7C795\",\n base0A: \"#AEC795\",\n base0B: \"#95C7AE\",\n base0C: \"#95AEC7\",\n base0D: \"#AE95C7\",\n base0E: \"#C795AE\",\n base0F: \"#C79595\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"atelier dune\",\n author: \"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)\",\n base00: \"#20201d\",\n base01: \"#292824\",\n base02: \"#6e6b5e\",\n base03: \"#7d7a68\",\n base04: \"#999580\",\n base05: \"#a6a28c\",\n base06: \"#e8e4cf\",\n base07: \"#fefbec\",\n base08: \"#d73737\",\n base09: \"#b65611\",\n base0A: \"#cfb017\",\n base0B: \"#60ac39\",\n base0C: \"#1fad83\",\n base0D: \"#6684e1\",\n base0E: \"#b854d4\",\n base0F: \"#d43552\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"atelier forest\",\n author: \"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)\",\n base00: \"#1b1918\",\n base01: \"#2c2421\",\n base02: \"#68615e\",\n base03: \"#766e6b\",\n base04: \"#9c9491\",\n base05: \"#a8a19f\",\n base06: \"#e6e2e0\",\n base07: \"#f1efee\",\n base08: \"#f22c40\",\n base09: \"#df5320\",\n base0A: \"#d5911a\",\n base0B: \"#5ab738\",\n base0C: \"#00ad9c\",\n base0D: \"#407ee7\",\n base0E: \"#6666ea\",\n base0F: \"#c33ff3\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"atelier heath\",\n author: \"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)\",\n base00: \"#1b181b\",\n base01: \"#292329\",\n base02: \"#695d69\",\n base03: \"#776977\",\n base04: \"#9e8f9e\",\n base05: \"#ab9bab\",\n base06: \"#d8cad8\",\n base07: \"#f7f3f7\",\n base08: \"#ca402b\",\n base09: \"#a65926\",\n base0A: \"#bb8a35\",\n base0B: \"#379a37\",\n base0C: \"#159393\",\n base0D: \"#516aec\",\n base0E: \"#7b59c0\",\n base0F: \"#cc33cc\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"atelier lakeside\",\n author: \"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)\",\n base00: \"#161b1d\",\n base01: \"#1f292e\",\n base02: \"#516d7b\",\n base03: \"#5a7b8c\",\n base04: \"#7195a8\",\n base05: \"#7ea2b4\",\n base06: \"#c1e4f6\",\n base07: \"#ebf8ff\",\n base08: \"#d22d72\",\n base09: \"#935c25\",\n base0A: \"#8a8a0f\",\n base0B: \"#568c3b\",\n base0C: \"#2d8f6f\",\n base0D: \"#257fad\",\n base0E: \"#5d5db1\",\n base0F: \"#b72dd2\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"atelier seaside\",\n author: \"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)\",\n base00: \"#131513\",\n base01: \"#242924\",\n base02: \"#5e6e5e\",\n base03: \"#687d68\",\n base04: \"#809980\",\n base05: \"#8ca68c\",\n base06: \"#cfe8cf\",\n base07: \"#f0fff0\",\n base08: \"#e6193c\",\n base09: \"#87711d\",\n base0A: \"#c3c322\",\n base0B: \"#29a329\",\n base0C: \"#1999b3\",\n base0D: \"#3d62f5\",\n base0E: \"#ad2bee\",\n base0F: \"#e619c3\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"bespin\",\n author: \"jan t. sott\",\n base00: \"#28211c\",\n base01: \"#36312e\",\n base02: \"#5e5d5c\",\n base03: \"#666666\",\n base04: \"#797977\",\n base05: \"#8a8986\",\n base06: \"#9d9b97\",\n base07: \"#baae9e\",\n base08: \"#cf6a4c\",\n base09: \"#cf7d34\",\n base0A: \"#f9ee98\",\n base0B: \"#54be0d\",\n base0C: \"#afc4db\",\n base0D: \"#5ea6ea\",\n base0E: \"#9b859d\",\n base0F: \"#937121\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"brewer\",\n author: \"timothée poisot (http://github.com/tpoisot)\",\n base00: \"#0c0d0e\",\n base01: \"#2e2f30\",\n base02: \"#515253\",\n base03: \"#737475\",\n base04: \"#959697\",\n base05: \"#b7b8b9\",\n base06: \"#dadbdc\",\n base07: \"#fcfdfe\",\n base08: \"#e31a1c\",\n base09: \"#e6550d\",\n base0A: \"#dca060\",\n base0B: \"#31a354\",\n base0C: \"#80b1d3\",\n base0D: \"#3182bd\",\n base0E: \"#756bb1\",\n base0F: \"#b15928\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"bright\",\n author: \"chris kempson (http://chriskempson.com)\",\n base00: \"#000000\",\n base01: \"#303030\",\n base02: \"#505050\",\n base03: \"#b0b0b0\",\n base04: \"#d0d0d0\",\n base05: \"#e0e0e0\",\n base06: \"#f5f5f5\",\n base07: \"#ffffff\",\n base08: \"#fb0120\",\n base09: \"#fc6d24\",\n base0A: \"#fda331\",\n base0B: \"#a1c659\",\n base0C: \"#76c7b7\",\n base0D: \"#6fb3d2\",\n base0E: \"#d381c3\",\n base0F: \"#be643c\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"chalk\",\n author: \"chris kempson (http://chriskempson.com)\",\n base00: \"#151515\",\n base01: \"#202020\",\n base02: \"#303030\",\n base03: \"#505050\",\n base04: \"#b0b0b0\",\n base05: \"#d0d0d0\",\n base06: \"#e0e0e0\",\n base07: \"#f5f5f5\",\n base08: \"#fb9fb1\",\n base09: \"#eda987\",\n base0A: \"#ddb26f\",\n base0B: \"#acc267\",\n base0C: \"#12cfc0\",\n base0D: \"#6fc2ef\",\n base0E: \"#e1a3ee\",\n base0F: \"#deaf8f\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"codeschool\",\n author: \"brettof86\",\n base00: \"#232c31\",\n base01: \"#1c3657\",\n base02: \"#2a343a\",\n base03: \"#3f4944\",\n base04: \"#84898c\",\n base05: \"#9ea7a6\",\n base06: \"#a7cfa3\",\n base07: \"#b5d8f6\",\n base08: \"#2a5491\",\n base09: \"#43820d\",\n base0A: \"#a03b1e\",\n base0B: \"#237986\",\n base0C: \"#b02f30\",\n base0D: \"#484d79\",\n base0E: \"#c59820\",\n base0F: \"#c98344\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"colors\",\n author: \"mrmrs (http://clrs.cc)\",\n base00: \"#111111\",\n base01: \"#333333\",\n base02: \"#555555\",\n base03: \"#777777\",\n base04: \"#999999\",\n base05: \"#bbbbbb\",\n base06: \"#dddddd\",\n base07: \"#ffffff\",\n base08: \"#ff4136\",\n base09: \"#ff851b\",\n base0A: \"#ffdc00\",\n base0B: \"#2ecc40\",\n base0C: \"#7fdbff\",\n base0D: \"#0074d9\",\n base0E: \"#b10dc9\",\n base0F: \"#85144b\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"default\",\n author: \"chris kempson (http://chriskempson.com)\",\n base00: \"#181818\",\n base01: \"#282828\",\n base02: \"#383838\",\n base03: \"#585858\",\n base04: \"#b8b8b8\",\n base05: \"#d8d8d8\",\n base06: \"#e8e8e8\",\n base07: \"#f8f8f8\",\n base08: \"#ab4642\",\n base09: \"#dc9656\",\n base0A: \"#f7ca88\",\n base0B: \"#a1b56c\",\n base0C: \"#86c1b9\",\n base0D: \"#7cafc2\",\n base0E: \"#ba8baf\",\n base0F: \"#a16946\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"eighties\",\n author: \"chris kempson (http://chriskempson.com)\",\n base00: \"#2d2d2d\",\n base01: \"#393939\",\n base02: \"#515151\",\n base03: \"#747369\",\n base04: \"#a09f93\",\n base05: \"#d3d0c8\",\n base06: \"#e8e6df\",\n base07: \"#f2f0ec\",\n base08: \"#f2777a\",\n base09: \"#f99157\",\n base0A: \"#ffcc66\",\n base0B: \"#99cc99\",\n base0C: \"#66cccc\",\n base0D: \"#6699cc\",\n base0E: \"#cc99cc\",\n base0F: \"#d27b53\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"embers\",\n author: \"jannik siebert (https://github.com/janniks)\",\n base00: \"#16130F\",\n base01: \"#2C2620\",\n base02: \"#433B32\",\n base03: \"#5A5047\",\n base04: \"#8A8075\",\n base05: \"#A39A90\",\n base06: \"#BEB6AE\",\n base07: \"#DBD6D1\",\n base08: \"#826D57\",\n base09: \"#828257\",\n base0A: \"#6D8257\",\n base0B: \"#57826D\",\n base0C: \"#576D82\",\n base0D: \"#6D5782\",\n base0E: \"#82576D\",\n base0F: \"#825757\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"flat\",\n author: \"chris kempson (http://chriskempson.com)\",\n base00: \"#2C3E50\",\n base01: \"#34495E\",\n base02: \"#7F8C8D\",\n base03: \"#95A5A6\",\n base04: \"#BDC3C7\",\n base05: \"#e0e0e0\",\n base06: \"#f5f5f5\",\n base07: \"#ECF0F1\",\n base08: \"#E74C3C\",\n base09: \"#E67E22\",\n base0A: \"#F1C40F\",\n base0B: \"#2ECC71\",\n base0C: \"#1ABC9C\",\n base0D: \"#3498DB\",\n base0E: \"#9B59B6\",\n base0F: \"#be643c\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"google\",\n author: \"seth wright (http://sethawright.com)\",\n base00: \"#1d1f21\",\n base01: \"#282a2e\",\n base02: \"#373b41\",\n base03: \"#969896\",\n base04: \"#b4b7b4\",\n base05: \"#c5c8c6\",\n base06: \"#e0e0e0\",\n base07: \"#ffffff\",\n base08: \"#CC342B\",\n base09: \"#F96A38\",\n base0A: \"#FBA922\",\n base0B: \"#198844\",\n base0C: \"#3971ED\",\n base0D: \"#3971ED\",\n base0E: \"#A36AC7\",\n base0F: \"#3971ED\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"grayscale\",\n author: \"alexandre gavioli (https://github.com/alexx2/)\",\n base00: \"#101010\",\n base01: \"#252525\",\n base02: \"#464646\",\n base03: \"#525252\",\n base04: \"#ababab\",\n base05: \"#b9b9b9\",\n base06: \"#e3e3e3\",\n base07: \"#f7f7f7\",\n base08: \"#7c7c7c\",\n base09: \"#999999\",\n base0A: \"#a0a0a0\",\n base0B: \"#8e8e8e\",\n base0C: \"#868686\",\n base0D: \"#686868\",\n base0E: \"#747474\",\n base0F: \"#5e5e5e\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"green screen\",\n author: \"chris kempson (http://chriskempson.com)\",\n base00: \"#001100\",\n base01: \"#003300\",\n base02: \"#005500\",\n base03: \"#007700\",\n base04: \"#009900\",\n base05: \"#00bb00\",\n base06: \"#00dd00\",\n base07: \"#00ff00\",\n base08: \"#007700\",\n base09: \"#009900\",\n base0A: \"#007700\",\n base0B: \"#00bb00\",\n base0C: \"#005500\",\n base0D: \"#009900\",\n base0E: \"#00bb00\",\n base0F: \"#005500\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"harmonic16\",\n author: \"jannik siebert (https://github.com/janniks)\",\n base00: \"#0b1c2c\",\n base01: \"#223b54\",\n base02: \"#405c79\",\n base03: \"#627e99\",\n base04: \"#aabcce\",\n base05: \"#cbd6e2\",\n base06: \"#e5ebf1\",\n base07: \"#f7f9fb\",\n base08: \"#bf8b56\",\n base09: \"#bfbf56\",\n base0A: \"#8bbf56\",\n base0B: \"#56bf8b\",\n base0C: \"#568bbf\",\n base0D: \"#8b56bf\",\n base0E: \"#bf568b\",\n base0F: \"#bf5656\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"hopscotch\",\n author: \"jan t. sott\",\n base00: \"#322931\",\n base01: \"#433b42\",\n base02: \"#5c545b\",\n base03: \"#797379\",\n base04: \"#989498\",\n base05: \"#b9b5b8\",\n base06: \"#d5d3d5\",\n base07: \"#ffffff\",\n base08: \"#dd464c\",\n base09: \"#fd8b19\",\n base0A: \"#fdcc59\",\n base0B: \"#8fc13e\",\n base0C: \"#149b93\",\n base0D: \"#1290bf\",\n base0E: \"#c85e7c\",\n base0F: \"#b33508\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"isotope\",\n author: \"jan t. sott\",\n base00: \"#000000\",\n base01: \"#404040\",\n base02: \"#606060\",\n base03: \"#808080\",\n base04: \"#c0c0c0\",\n base05: \"#d0d0d0\",\n base06: \"#e0e0e0\",\n base07: \"#ffffff\",\n base08: \"#ff0000\",\n base09: \"#ff9900\",\n base0A: \"#ff0099\",\n base0B: \"#33ff00\",\n base0C: \"#00ffff\",\n base0D: \"#0066ff\",\n base0E: \"#cc00ff\",\n base0F: \"#3300ff\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"marrakesh\",\n author: \"alexandre gavioli (http://github.com/alexx2/)\",\n base00: \"#201602\",\n base01: \"#302e00\",\n base02: \"#5f5b17\",\n base03: \"#6c6823\",\n base04: \"#86813b\",\n base05: \"#948e48\",\n base06: \"#ccc37a\",\n base07: \"#faf0a5\",\n base08: \"#c35359\",\n base09: \"#b36144\",\n base0A: \"#a88339\",\n base0B: \"#18974e\",\n base0C: \"#75a738\",\n base0D: \"#477ca1\",\n base0E: \"#8868b3\",\n base0F: \"#b3588e\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"mocha\",\n author: \"chris kempson (http://chriskempson.com)\",\n base00: \"#3B3228\",\n base01: \"#534636\",\n base02: \"#645240\",\n base03: \"#7e705a\",\n base04: \"#b8afad\",\n base05: \"#d0c8c6\",\n base06: \"#e9e1dd\",\n base07: \"#f5eeeb\",\n base08: \"#cb6077\",\n base09: \"#d28b71\",\n base0A: \"#f4bc87\",\n base0B: \"#beb55b\",\n base0C: \"#7bbda4\",\n base0D: \"#8ab3b5\",\n base0E: \"#a89bb9\",\n base0F: \"#bb9584\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"monokai\",\n author: \"wimer hazenberg (http://www.monokai.nl)\",\n base00: \"#272822\",\n base01: \"#383830\",\n base02: \"#49483e\",\n base03: \"#75715e\",\n base04: \"#a59f85\",\n base05: \"#f8f8f2\",\n base06: \"#f5f4f1\",\n base07: \"#f9f8f5\",\n base08: \"#f92672\",\n base09: \"#fd971f\",\n base0A: \"#f4bf75\",\n base0B: \"#a6e22e\",\n base0C: \"#a1efe4\",\n base0D: \"#66d9ef\",\n base0E: \"#ae81ff\",\n base0F: \"#cc6633\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"ocean\",\n author: \"chris kempson (http://chriskempson.com)\",\n base00: \"#2b303b\",\n base01: \"#343d46\",\n base02: \"#4f5b66\",\n base03: \"#65737e\",\n base04: \"#a7adba\",\n base05: \"#c0c5ce\",\n base06: \"#dfe1e8\",\n base07: \"#eff1f5\",\n base08: \"#bf616a\",\n base09: \"#d08770\",\n base0A: \"#ebcb8b\",\n base0B: \"#a3be8c\",\n base0C: \"#96b5b4\",\n base0D: \"#8fa1b3\",\n base0E: \"#b48ead\",\n base0F: \"#ab7967\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"paraiso\",\n author: \"jan t. sott\",\n base00: \"#2f1e2e\",\n base01: \"#41323f\",\n base02: \"#4f424c\",\n base03: \"#776e71\",\n base04: \"#8d8687\",\n base05: \"#a39e9b\",\n base06: \"#b9b6b0\",\n base07: \"#e7e9db\",\n base08: \"#ef6155\",\n base09: \"#f99b15\",\n base0A: \"#fec418\",\n base0B: \"#48b685\",\n base0C: \"#5bc4bf\",\n base0D: \"#06b6ef\",\n base0E: \"#815ba4\",\n base0F: \"#e96ba8\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"pop\",\n author: \"chris kempson (http://chriskempson.com)\",\n base00: \"#000000\",\n base01: \"#202020\",\n base02: \"#303030\",\n base03: \"#505050\",\n base04: \"#b0b0b0\",\n base05: \"#d0d0d0\",\n base06: \"#e0e0e0\",\n base07: \"#ffffff\",\n base08: \"#eb008a\",\n base09: \"#f29333\",\n base0A: \"#f8ca12\",\n base0B: \"#37b349\",\n base0C: \"#00aabb\",\n base0D: \"#0e5a94\",\n base0E: \"#b31e8d\",\n base0F: \"#7a2d00\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"railscasts\",\n author: \"ryan bates (http://railscasts.com)\",\n base00: \"#2b2b2b\",\n base01: \"#272935\",\n base02: \"#3a4055\",\n base03: \"#5a647e\",\n base04: \"#d4cfc9\",\n base05: \"#e6e1dc\",\n base06: \"#f4f1ed\",\n base07: \"#f9f7f3\",\n base08: \"#da4939\",\n base09: \"#cc7833\",\n base0A: \"#ffc66d\",\n base0B: \"#a5c261\",\n base0C: \"#519f50\",\n base0D: \"#6d9cbe\",\n base0E: \"#b6b3eb\",\n base0F: \"#bc9458\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"shapeshifter\",\n author: \"tyler benziger (http://tybenz.com)\",\n base00: \"#000000\",\n base01: \"#040404\",\n base02: \"#102015\",\n base03: \"#343434\",\n base04: \"#555555\",\n base05: \"#ababab\",\n base06: \"#e0e0e0\",\n base07: \"#f9f9f9\",\n base08: \"#e92f2f\",\n base09: \"#e09448\",\n base0A: \"#dddd13\",\n base0B: \"#0ed839\",\n base0C: \"#23edda\",\n base0D: \"#3b48e3\",\n base0E: \"#f996e2\",\n base0F: \"#69542d\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"solarized\",\n author: \"ethan schoonover (http://ethanschoonover.com/solarized)\",\n base00: \"#002b36\",\n base01: \"#073642\",\n base02: \"#586e75\",\n base03: \"#657b83\",\n base04: \"#839496\",\n base05: \"#93a1a1\",\n base06: \"#eee8d5\",\n base07: \"#fdf6e3\",\n base08: \"#dc322f\",\n base09: \"#cb4b16\",\n base0A: \"#b58900\",\n base0B: \"#859900\",\n base0C: \"#2aa198\",\n base0D: \"#268bd2\",\n base0E: \"#6c71c4\",\n base0F: \"#d33682\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"summerfruit\",\n author: \"christopher corley (http://cscorley.github.io/)\",\n base00: \"#151515\",\n base01: \"#202020\",\n base02: \"#303030\",\n base03: \"#505050\",\n base04: \"#B0B0B0\",\n base05: \"#D0D0D0\",\n base06: \"#E0E0E0\",\n base07: \"#FFFFFF\",\n base08: \"#FF0086\",\n base09: \"#FD8900\",\n base0A: \"#ABA800\",\n base0B: \"#00C918\",\n base0C: \"#1faaaa\",\n base0D: \"#3777E6\",\n base0E: \"#AD00A1\",\n base0F: \"#cc6633\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"tomorrow\",\n author: \"chris kempson (http://chriskempson.com)\",\n base00: \"#1d1f21\",\n base01: \"#282a2e\",\n base02: \"#373b41\",\n base03: \"#969896\",\n base04: \"#b4b7b4\",\n base05: \"#c5c8c6\",\n base06: \"#e0e0e0\",\n base07: \"#ffffff\",\n base08: \"#cc6666\",\n base09: \"#de935f\",\n base0A: \"#f0c674\",\n base0B: \"#b5bd68\",\n base0C: \"#8abeb7\",\n base0D: \"#81a2be\",\n base0E: \"#b294bb\",\n base0F: \"#a3685a\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"london tube\",\n author: \"jan t. sott\",\n base00: \"#231f20\",\n base01: \"#1c3f95\",\n base02: \"#5a5758\",\n base03: \"#737171\",\n base04: \"#959ca1\",\n base05: \"#d9d8d8\",\n base06: \"#e7e7e8\",\n base07: \"#ffffff\",\n base08: \"#ee2e24\",\n base09: \"#f386a1\",\n base0A: \"#ffd204\",\n base0B: \"#00853e\",\n base0C: \"#85cebc\",\n base0D: \"#009ddc\",\n base0E: \"#98005d\",\n base0F: \"#b06110\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n \"use strict\";\n\n t.__esModule = !0, t.default = {\n scheme: \"twilight\",\n author: \"david hart (http://hart-dev.com)\",\n base00: \"#1e1e1e\",\n base01: \"#323537\",\n base02: \"#464b50\",\n base03: \"#5f5a60\",\n base04: \"#838184\",\n base05: \"#a7a7a7\",\n base06: \"#c3c3c3\",\n base07: \"#ffffff\",\n base08: \"#cf6a4c\",\n base09: \"#cda869\",\n base0A: \"#f9ee98\",\n base0B: \"#8f9d6a\",\n base0C: \"#afc4db\",\n base0D: \"#7587a6\",\n base0E: \"#9b859d\",\n base0F: \"#9b703f\"\n }, e.exports = t.default;\n }, function (e, t, n) {\n function r(e) {\n var t = Math.round(o(e, 0, 255)),\n n = t.toString(16);\n return 1 == n.length ? \"0\" + n : n;\n }\n\n function a(e) {\n var t = 4 === e.length ? r(255 * e[3]) : \"\";\n return \"#\" + r(e[0]) + r(e[1]) + r(e[2]) + t;\n }\n\n var o = n(40);\n e.exports = a;\n }, function (e, t, n) {\n function r(e) {\n var t = o(e),\n n = u(t);\n return 4 === t.length && n.push(t[3]), n;\n }\n\n function a(e) {\n for (var t in l) {\n if (0 === e.indexOf(t)) return l[t](e);\n }\n }\n\n var o = n(152),\n i = n(153),\n s = n(154),\n u = n(155),\n l = {\n \"#\": i,\n hsl: r,\n rgb: s\n };\n a.rgb = s, a.hsl = o, a.hex = i, e.exports = a;\n }, function (e, t, n) {\n function r(e, t) {\n switch (e = parseFloat(e), t) {\n case 0:\n return i(e, 0, 360);\n\n case 1:\n case 2:\n return i(e, 0, 100);\n\n case 3:\n return i(e, 0, 1);\n }\n }\n\n function a(e) {\n return o(e).map(r);\n }\n\n var o = n(53),\n i = n(40);\n e.exports = a;\n }, function (e, t) {\n function n(e) {\n for (var t = \"#\", n = 1; n < e.length; n++) {\n var r = e.charAt(n);\n t += r + r;\n }\n\n return t;\n }\n\n function r(e) {\n 4 !== e.length && 5 !== e.length || (e = n(e));\n var t = [parseInt(e.substring(1, 3), 16), parseInt(e.substring(3, 5), 16), parseInt(e.substring(5, 7), 16)];\n\n if (9 === e.length) {\n var r = parseFloat((parseInt(e.substring(7, 9), 16) / 255).toFixed(2));\n t.push(r);\n }\n\n return t;\n }\n\n e.exports = r;\n }, function (e, t, n) {\n function r(e, t) {\n return t < 3 ? -1 != e.indexOf(\"%\") ? Math.round(255 * i(parseInt(e, 10), 0, 100) / 100) : i(parseInt(e, 10), 0, 255) : i(parseFloat(e), 0, 1);\n }\n\n function a(e) {\n return o(e).map(r);\n }\n\n var o = n(53),\n i = n(40);\n e.exports = a;\n }, function (e, t) {\n function n(e) {\n var t,\n n,\n r,\n a,\n o,\n i = e[0] / 360,\n s = e[1] / 100,\n u = e[2] / 100;\n if (0 == s) return o = 255 * u, [o, o, o];\n n = u < .5 ? u * (1 + s) : u + s - u * s, t = 2 * u - n, a = [0, 0, 0];\n\n for (var l = 0; l < 3; l++) {\n r = i + 1 / 3 * -(l - 1), r < 0 && r++, r > 1 && r--, o = 6 * r < 1 ? t + 6 * (n - t) * r : 2 * r < 1 ? n : 3 * r < 2 ? t + (n - t) * (2 / 3 - r) * 6 : t, a[l] = 255 * o;\n }\n\n return a;\n }\n\n e.exports = n;\n }, function (e, t, n) {\n (function (t) {\n function n(e, t, n) {\n switch (n.length) {\n case 0:\n return e.call(t);\n\n case 1:\n return e.call(t, n[0]);\n\n case 2:\n return e.call(t, n[0], n[1]);\n\n case 3:\n return e.call(t, n[0], n[1], n[2]);\n }\n\n return e.apply(t, n);\n }\n\n function r(e, t) {\n for (var n = -1, r = t.length, a = e.length; ++n < r;) {\n e[a + n] = t[n];\n }\n\n return e;\n }\n\n function a(e, t, n, o, s) {\n var u = -1,\n l = e.length;\n\n for (n || (n = i), s || (s = []); ++u < l;) {\n var c = e[u];\n t > 0 && n(c) ? t > 1 ? a(c, t - 1, n, o, s) : r(s, c) : o || (s[s.length] = c);\n }\n\n return s;\n }\n\n function o(e, t) {\n return t = k(void 0 === t ? e.length - 1 : t, 0), function () {\n for (var r = arguments, a = -1, o = k(r.length - t, 0), i = Array(o); ++a < o;) {\n i[a] = r[t + a];\n }\n\n a = -1;\n\n for (var s = Array(t + 1); ++a < t;) {\n s[a] = r[a];\n }\n\n return s[t] = i, n(e, this, s);\n };\n }\n\n function i(e) {\n return P(e) || s(e) || !!(C && e && e[C]);\n }\n\n function s(e) {\n return l(e) && O.call(e, \"callee\") && (!x.call(e, \"callee\") || E.call(e) == h);\n }\n\n function u(e) {\n return null != e && f(e.length) && !c(e);\n }\n\n function l(e) {\n return p(e) && u(e);\n }\n\n function c(e) {\n var t = d(e) ? E.call(e) : \"\";\n return t == y || t == v;\n }\n\n function f(e) {\n return \"number\" == typeof e && e > -1 && e % 1 == 0 && e <= b;\n }\n\n function d(e) {\n var t = _typeof(e);\n\n return !!e && (\"object\" == t || \"function\" == t);\n }\n\n function p(e) {\n return !!e && \"object\" == _typeof(e);\n }\n\n var b = 9007199254740991,\n h = \"[object Arguments]\",\n y = \"[object Function]\",\n v = \"[object GeneratorFunction]\",\n m = \"object\" == _typeof(t) && t && t.Object === Object && t,\n g = \"object\" == (typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) && self && self.Object === Object && self,\n _ = m || g || Function(\"return this\")(),\n j = Object.prototype,\n O = j.hasOwnProperty,\n E = j.toString,\n w = _.Symbol,\n x = j.propertyIsEnumerable,\n C = w ? w.isConcatSpreadable : void 0,\n k = Math.max,\n P = Array.isArray,\n S = function (e) {\n return o(function (e) {\n e = a(e, 1);\n var t = e.length,\n n = t;\n\n for (void 0; n--;) {\n if (\"function\" != typeof e[n]) throw new TypeError(\"Expected a function\");\n }\n\n return function () {\n for (var n = 0, r = t ? e[n].apply(this, arguments) : arguments[0]; ++n < t;) {\n r = e[n].call(this, r);\n }\n\n return r;\n };\n });\n }();\n\n e.exports = S;\n }).call(t, n(52));\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n var t,\n n,\n r,\n a = e[0],\n o = e[1],\n i = e[2];\n return t = 1 * a + 0 * o + 1.13983 * i, n = 1 * a + -.39465 * o + -.5806 * i, r = 1 * a + 2.02311 * o + 0 * i, t = Math.min(Math.max(0, t), 1), n = Math.min(Math.max(0, n), 1), r = Math.min(Math.max(0, r), 1), [255 * t, 255 * n, 255 * r];\n }\n\n function a(e) {\n var t = e[0] / 255,\n n = e[1] / 255,\n r = e[2] / 255;\n return [.299 * t + .587 * n + .114 * r, -.14713 * t + -.28886 * n + .436 * r, .615 * t + -.51499 * n + -.10001 * r];\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.yuv2rgb = r, t.rgb2yuv = a;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(6),\n d = r(f),\n p = n(1),\n b = r(p),\n h = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), u(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = {\n weekday: \"short\",\n year: \"numeric\",\n month: \"short\",\n day: \"numeric\",\n hour: \"2-digit\",\n minute: \"2-digit\"\n };\n return c.default.createElement(\"div\", (0, b.default)(e.theme, \"date\"), c.default.createElement(d.default, s({\n type_name: \"date\"\n }, e)), c.default.createElement(\"span\", s({\n className: \"date-value\"\n }, (0, b.default)(e.theme, \"date-value\")), e.value.toLocaleTimeString(\"en-us\", t)));\n }\n }]), t;\n }(c.default.PureComponent);\n\n t.default = h;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(6),\n d = r(f),\n p = n(1),\n b = r(p),\n h = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), u(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props;\n return c.default.createElement(\"div\", (0, b.default)(e.theme, \"float\"), c.default.createElement(d.default, s({\n type_name: \"float\"\n }, e)), this.props.value);\n }\n }]), t;\n }(c.default.PureComponent);\n\n t.default = h;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(6),\n d = r(f),\n p = n(1),\n b = r(p),\n h = n(13),\n y = r(h),\n v = function (e) {\n function t(e) {\n a(this, t);\n var n = o(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));\n return m.call(n), n.state = {\n collapsed: y.default.get(e.rjvId, e.namespace, \"collapsed\", !0)\n }, n;\n }\n\n return i(t, e), u(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = this.state.collapsed;\n return c.default.createElement(\"div\", (0, b.default)(e.theme, \"function\"), c.default.createElement(d.default, s({\n type_name: \"function\"\n }, e)), c.default.createElement(\"span\", s({}, (0, b.default)(e.theme, \"function-value\"), {\n className: \"rjv-function-container\",\n onClick: this.toggleCollapsed\n }), this.getFunctionDisplay(t)));\n }\n }]), t;\n }(c.default.PureComponent),\n m = function m() {\n var e = this;\n this.toggleCollapsed = function () {\n e.setState({\n collapsed: !e.state.collapsed\n }, function () {\n y.default.set(e.props.rjvId, e.props.namespace, \"collapsed\", e.state.collapsed);\n });\n }, this.getFunctionDisplay = function (t) {\n var n = e.props;\n return t ? c.default.createElement(\"span\", null, e.props.value.toString().slice(9, -1).replace(/\\{[\\s\\S]+/, \"\"), c.default.createElement(\"span\", {\n className: \"function-collapsed\",\n style: {\n fontWeight: \"bold\"\n }\n }, c.default.createElement(\"span\", null, \"{\"), c.default.createElement(\"span\", (0, b.default)(n.theme, \"ellipsis\"), \"...\"), c.default.createElement(\"span\", null, \"}\"))) : e.props.value.toString().slice(9, -1);\n };\n };\n\n t.default = v;\n }, function (e, t) {\n function n() {\n this._events = this._events || {}, this._maxListeners = this._maxListeners || void 0;\n }\n\n function r(e) {\n return \"function\" == typeof e;\n }\n\n function a(e) {\n return \"number\" == typeof e;\n }\n\n function o(e) {\n return \"object\" == _typeof(e) && null !== e;\n }\n\n function i(e) {\n return void 0 === e;\n }\n\n e.exports = n, n.EventEmitter = n, n.prototype._events = void 0, n.prototype._maxListeners = void 0, n.defaultMaxListeners = 10, n.prototype.setMaxListeners = function (e) {\n if (!a(e) || e < 0 || isNaN(e)) throw TypeError(\"n must be a positive number\");\n return this._maxListeners = e, this;\n }, n.prototype.emit = function (e) {\n var t, n, a, s, u, l;\n\n if (this._events || (this._events = {}), \"error\" === e && (!this._events.error || o(this._events.error) && !this._events.error.length)) {\n if ((t = arguments[1]) instanceof Error) throw t;\n var c = new Error('Uncaught, unspecified \"error\" event. (' + t + \")\");\n throw c.context = t, c;\n }\n\n if (n = this._events[e], i(n)) return !1;\n if (r(n)) switch (arguments.length) {\n case 1:\n n.call(this);\n break;\n\n case 2:\n n.call(this, arguments[1]);\n break;\n\n case 3:\n n.call(this, arguments[1], arguments[2]);\n break;\n\n default:\n s = Array.prototype.slice.call(arguments, 1), n.apply(this, s);\n } else if (o(n)) for (s = Array.prototype.slice.call(arguments, 1), l = n.slice(), a = l.length, u = 0; u < a; u++) {\n l[u].apply(this, s);\n }\n return !0;\n }, n.prototype.addListener = function (e, t) {\n var a;\n if (!r(t)) throw TypeError(\"listener must be a function\");\n return this._events || (this._events = {}), this._events.newListener && this.emit(\"newListener\", e, r(t.listener) ? t.listener : t), this._events[e] ? o(this._events[e]) ? this._events[e].push(t) : this._events[e] = [this._events[e], t] : this._events[e] = t, o(this._events[e]) && !this._events[e].warned && (a = i(this._maxListeners) ? n.defaultMaxListeners : this._maxListeners) && a > 0 && this._events[e].length > a && (this._events[e].warned = !0, console.error(\"(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.\", this._events[e].length), \"function\" == typeof console.trace && console.trace()), this;\n }, n.prototype.on = n.prototype.addListener, n.prototype.once = function (e, t) {\n function n() {\n this.removeListener(e, n), a || (a = !0, t.apply(this, arguments));\n }\n\n if (!r(t)) throw TypeError(\"listener must be a function\");\n var a = !1;\n return n.listener = t, this.on(e, n), this;\n }, n.prototype.removeListener = function (e, t) {\n var n, a, i, s;\n if (!r(t)) throw TypeError(\"listener must be a function\");\n if (!this._events || !this._events[e]) return this;\n if (n = this._events[e], i = n.length, a = -1, n === t || r(n.listener) && n.listener === t) delete this._events[e], this._events.removeListener && this.emit(\"removeListener\", e, t);else if (o(n)) {\n for (s = i; s-- > 0;) {\n if (n[s] === t || n[s].listener && n[s].listener === t) {\n a = s;\n break;\n }\n }\n\n if (a < 0) return this;\n 1 === n.length ? (n.length = 0, delete this._events[e]) : n.splice(a, 1), this._events.removeListener && this.emit(\"removeListener\", e, t);\n }\n return this;\n }, n.prototype.removeAllListeners = function (e) {\n var t, n;\n if (!this._events) return this;\n if (!this._events.removeListener) return 0 === arguments.length ? this._events = {} : this._events[e] && delete this._events[e], this;\n\n if (0 === arguments.length) {\n for (t in this._events) {\n \"removeListener\" !== t && this.removeAllListeners(t);\n }\n\n return this.removeAllListeners(\"removeListener\"), this._events = {}, this;\n }\n\n if (n = this._events[e], r(n)) this.removeListener(e, n);else if (n) for (; n.length;) {\n this.removeListener(e, n[n.length - 1]);\n }\n return delete this._events[e], this;\n }, n.prototype.listeners = function (e) {\n return this._events && this._events[e] ? r(this._events[e]) ? [this._events[e]] : this._events[e].slice() : [];\n }, n.prototype.listenerCount = function (e) {\n if (this._events) {\n var t = this._events[e];\n if (r(t)) return 1;\n if (t) return t.length;\n }\n\n return 0;\n }, n.listenerCount = function (e, t) {\n return e.listenerCount(t);\n };\n }, function (e, t, n) {\n e.exports.Dispatcher = n(163);\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n t.__esModule = !0;\n\n var a = n(164),\n o = function () {\n function e() {\n r(this, e), this._callbacks = {}, this._isDispatching = !1, this._isHandled = {}, this._isPending = {}, this._lastID = 1;\n }\n\n return e.prototype.register = function (e) {\n var t = \"ID_\" + this._lastID++;\n return this._callbacks[t] = e, t;\n }, e.prototype.unregister = function (e) {\n this._callbacks[e] || a(!1), delete this._callbacks[e];\n }, e.prototype.waitFor = function (e) {\n this._isDispatching || a(!1);\n\n for (var t = 0; t < e.length; t++) {\n var n = e[t];\n this._isPending[n] ? this._isHandled[n] || a(!1) : (this._callbacks[n] || a(!1), this._invokeCallback(n));\n }\n }, e.prototype.dispatch = function (e) {\n this._isDispatching && a(!1), this._startDispatching(e);\n\n try {\n for (var t in this._callbacks) {\n this._isPending[t] || this._invokeCallback(t);\n }\n } finally {\n this._stopDispatching();\n }\n }, e.prototype.isDispatching = function () {\n return this._isDispatching;\n }, e.prototype._invokeCallback = function (e) {\n this._isPending[e] = !0, this._callbacks[e](this._pendingPayload), this._isHandled[e] = !0;\n }, e.prototype._startDispatching = function (e) {\n for (var t in this._callbacks) {\n this._isPending[t] = !1, this._isHandled[t] = !1;\n }\n\n this._pendingPayload = e, this._isDispatching = !0;\n }, e.prototype._stopDispatching = function () {\n delete this._pendingPayload, this._isDispatching = !1;\n }, e;\n }();\n\n e.exports = o;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e, t, n, r, o, i, s, u) {\n if (a(t), !e) {\n var l;\n if (void 0 === t) l = new Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else {\n var c = [n, r, o, i, s, u],\n f = 0;\n l = new Error(t.replace(/%s/g, function () {\n return c[f++];\n })), l.name = \"Invariant Violation\";\n }\n throw l.framesToPop = 1, l;\n }\n }\n\n var a = function a(e) {};\n\n e.exports = r;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n u = n(0),\n l = r(u),\n c = n(1),\n f = r(c),\n d = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), s(t, [{\n key: \"render\",\n value: function value() {\n return l.default.createElement(\"div\", (0, f.default)(this.props.theme, \"nan\"), \"NaN\");\n }\n }]), t;\n }(l.default.PureComponent);\n\n t.default = d;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n u = n(0),\n l = r(u),\n c = n(1),\n f = r(c),\n d = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), s(t, [{\n key: \"render\",\n value: function value() {\n return l.default.createElement(\"div\", (0, f.default)(this.props.theme, \"null\"), \"NULL\");\n }\n }]), t;\n }(l.default.PureComponent);\n\n t.default = d;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(6),\n d = r(f),\n p = n(1),\n b = r(p),\n h = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), u(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props;\n return c.default.createElement(\"div\", (0, b.default)(e.theme, \"integer\"), c.default.createElement(d.default, s({\n type_name: \"int\"\n }, e)), this.props.value);\n }\n }]), t;\n }(c.default.PureComponent);\n\n t.default = h;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(6),\n d = r(f),\n p = n(1),\n b = r(p),\n h = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), u(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props;\n return c.default.createElement(\"div\", (0, b.default)(e.theme, \"regexp\"), c.default.createElement(d.default, s({\n type_name: \"regexp\"\n }, e)), this.props.value.toString());\n }\n }]), t;\n }(c.default.PureComponent);\n\n t.default = h;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(6),\n d = r(f),\n p = n(4),\n b = n(1),\n h = r(b),\n y = n(13),\n v = r(y),\n m = function (e) {\n function t(e) {\n a(this, t);\n var n = o(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));\n return n.toggleCollapsed = function () {\n n.setState({\n collapsed: !n.state.collapsed\n }, function () {\n v.default.set(n.props.rjvId, n.props.namespace, \"collapsed\", n.state.collapsed);\n });\n }, n.state = {\n collapsed: v.default.get(e.rjvId, e.namespace, \"collapsed\", !0)\n }, n;\n }\n\n return i(t, e), u(t, [{\n key: \"render\",\n value: function value() {\n var e = (this.state.collapsed, this.props),\n t = e.collapseStringsAfterLength,\n n = e.theme,\n r = e.value,\n a = \"integer\" === (0, p.toType)(t),\n o = {\n style: {\n cursor: \"default\"\n }\n };\n return a && r.length > t && (o.style.cursor = \"pointer\", this.state.collapsed && (r = c.default.createElement(\"span\", null, r.substring(0, t), c.default.createElement(\"span\", (0, h.default)(n, \"ellipsis\"), \" ...\")))), c.default.createElement(\"div\", (0, h.default)(n, \"string\"), c.default.createElement(d.default, s({\n type_name: \"string\"\n }, e)), c.default.createElement(\"span\", s({\n className: \"string-value\"\n }, o, {\n onClick: this.toggleCollapsed\n }), '\"', r, '\"'));\n }\n }]), t;\n }(c.default.PureComponent);\n\n t.default = m;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n u = n(0),\n l = r(u),\n c = n(1),\n f = r(c),\n d = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), s(t, [{\n key: \"render\",\n value: function value() {\n return l.default.createElement(\"div\", (0, f.default)(this.props.theme, \"undefined\"), \"undefined\");\n }\n }]), t;\n }(l.default.PureComponent);\n\n t.default = d;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e) {\n if (Array.isArray(e)) {\n for (var t = 0, n = Array(e.length); t < e.length; t++) {\n n[t] = e[t];\n }\n\n return n;\n }\n\n return Array.from(e);\n }\n\n function o(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function s(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var u = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n l = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n c = n(0),\n f = r(c),\n d = n(172),\n p = r(d),\n b = (n(4), n(14)),\n h = r(b),\n y = n(176),\n v = r(y),\n m = n(54),\n g = r(m),\n _ = n(55),\n j = r(_),\n O = n(42),\n E = n(15),\n w = n(1),\n x = r(w),\n C = function (e) {\n function t(e) {\n o(this, t);\n var n = i(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));\n return k.call(n), n.state = {\n editMode: !1,\n editValue: \"\",\n renameKey: !1,\n parsedInput: {\n type: !1,\n value: null\n }\n }, n;\n }\n\n return s(t, e), l(t, [{\n key: \"render\",\n value: function value() {\n var e = this,\n t = this.props,\n n = t.variable,\n r = (t.src, t.singleIndent),\n o = t.type,\n i = t.theme,\n s = t.namespace,\n l = t.indentWidth,\n c = t.enableClipboard,\n d = t.onEdit,\n p = t.onDelete,\n b = t.onSelect,\n h = (t.rjvId, this.state.editMode);\n return f.default.createElement(\"div\", u({}, (0, x.default)(i, \"objectKeyVal\", {\n paddingLeft: l * r\n }), {\n className: \"variable-row\",\n key: n.name\n }), \"array\" == o ? f.default.createElement(\"span\", u({}, (0, x.default)(i, \"array-key\"), {\n key: n.name + \"_\" + s\n }), n.name, f.default.createElement(\"div\", (0, x.default)(i, \"colon\"), \":\")) : f.default.createElement(\"span\", null, f.default.createElement(\"span\", u({}, (0, x.default)(i, \"object-name\"), {\n className: \"object-key\",\n key: n.name + \"_\" + s\n }), f.default.createElement(\"span\", {\n style: {\n verticalAlign: \"top\"\n }\n }, '\"'), f.default.createElement(\"span\", {\n style: {\n display: \"inline-block\"\n }\n }, n.name), f.default.createElement(\"span\", {\n style: {\n verticalAlign: \"top\"\n }\n }, '\"')), f.default.createElement(\"span\", (0, x.default)(i, \"colon\"), \":\")), f.default.createElement(\"div\", u({\n className: \"variable-value\",\n onClick: !1 === b && !1 === d ? null : function (t) {\n var r = [].concat(a(s));\n (t.ctrlKey || t.metaKey) && !1 !== d ? e.prepopInput(n) : !1 !== b && (r.shift(), b(u({}, n, {\n namespace: r\n })));\n }\n }, (0, x.default)(i, \"variableValue\", {\n cursor: !1 === b ? \"default\" : \"pointer\"\n })), this.getValue(n, h)), c ? f.default.createElement(j.default, u({\n hidden: h,\n src: n.value,\n clickCallback: c\n }, {\n theme: i,\n namespace: s\n })) : null, !1 !== d && 0 == h ? this.getEditIcon() : null, !1 !== p && 0 == h ? this.getRemoveIcon() : null);\n }\n }]), t;\n }(f.default.PureComponent),\n k = function k() {\n var e = this;\n this.getEditIcon = function () {\n var t = e.props,\n n = t.variable,\n r = t.theme;\n return f.default.createElement(\"div\", {\n className: \"click-to-edit\",\n style: {\n verticalAlign: \"top\"\n }\n }, f.default.createElement(E.Edit, u({\n className: \"click-to-edit-icon\"\n }, (0, x.default)(r, \"editVarIcon\"), {\n onClick: function onClick() {\n e.prepopInput(n);\n }\n })));\n }, this.prepopInput = function (t) {\n if (!1 !== e.props.onEdit) {\n var n = (0, g.default)(t.value),\n r = (0, v.default)(n);\n e.setState({\n editMode: !0,\n editValue: n,\n parsedInput: {\n type: r.type,\n value: r.value\n }\n });\n }\n }, this.getRemoveIcon = function () {\n var t = e.props,\n n = t.variable,\n r = t.namespace,\n a = t.theme,\n o = t.rjvId;\n return f.default.createElement(\"div\", {\n className: \"click-to-remove\",\n style: {\n verticalAlign: \"top\"\n }\n }, f.default.createElement(E.RemoveCircle, u({\n className: \"click-to-remove-icon\"\n }, (0, x.default)(a, \"removeVarIcon\"), {\n onClick: function onClick() {\n h.default.dispatch({\n name: \"VARIABLE_REMOVED\",\n rjvId: o,\n data: {\n name: n.name,\n namespace: r,\n existing_value: n.value,\n variable_removed: !0\n }\n });\n }\n })));\n }, this.getValue = function (t, n) {\n var r = !n && t.type,\n a = e.props;\n\n switch (r) {\n case !1:\n return e.getEditInput();\n\n case \"string\":\n return f.default.createElement(O.JsonString, u({\n value: t.value\n }, a));\n\n case \"integer\":\n return f.default.createElement(O.JsonInteger, u({\n value: t.value\n }, a));\n\n case \"float\":\n return f.default.createElement(O.JsonFloat, u({\n value: t.value\n }, a));\n\n case \"boolean\":\n return f.default.createElement(O.JsonBoolean, u({\n value: t.value\n }, a));\n\n case \"function\":\n return f.default.createElement(O.JsonFunction, u({\n value: t.value\n }, a));\n\n case \"null\":\n return f.default.createElement(O.JsonNull, a);\n\n case \"nan\":\n return f.default.createElement(O.JsonNan, a);\n\n case \"undefined\":\n return f.default.createElement(O.JsonUndefined, a);\n\n case \"date\":\n return f.default.createElement(O.JsonDate, u({\n value: t.value\n }, a));\n\n case \"regexp\":\n return f.default.createElement(O.JsonRegexp, u({\n value: t.value\n }, a));\n\n default:\n return f.default.createElement(\"div\", {\n className: \"object-value\"\n }, JSON.stringify(t.value));\n }\n }, this.getEditInput = function () {\n var t = e.props.theme,\n n = e.state.editValue;\n return f.default.createElement(\"div\", null, f.default.createElement(p.default, u({\n type: \"text\",\n inputRef: function inputRef(e) {\n return e && e.focus();\n },\n value: n,\n className: \"variable-editor\",\n onChange: function onChange(t) {\n var n = t.target.value,\n r = (0, v.default)(n);\n e.setState({\n editValue: n,\n parsedInput: {\n type: r.type,\n value: r.value\n }\n });\n },\n onKeyDown: function onKeyDown(t) {\n switch (t.key) {\n case \"Escape\":\n e.setState({\n editMode: !1,\n editValue: \"\"\n });\n break;\n\n case \"Enter\":\n (t.ctrlKey || t.metaKey) && e.submitEdit(!0);\n }\n\n t.stopPropagation();\n },\n placeholder: \"update this value\"\n }, (0, x.default)(t, \"edit-input\"))), f.default.createElement(\"div\", (0, x.default)(t, \"edit-icon-container\"), f.default.createElement(E.RemoveCircle, u({\n className: \"edit-cancel\"\n }, (0, x.default)(t, \"cancel-icon\"), {\n onClick: function onClick() {\n e.setState({\n editMode: !1,\n editValue: \"\"\n });\n }\n })), f.default.createElement(E.CheckCircle, u({\n className: \"edit-check string-value\"\n }, (0, x.default)(t, \"check-icon\"), {\n onClick: function onClick() {\n e.submitEdit();\n }\n })), f.default.createElement(\"div\", null, e.showDetected())));\n }, this.submitEdit = function (t) {\n var n = e.props,\n r = n.variable,\n a = n.namespace,\n o = n.rjvId,\n i = e.state,\n s = i.editValue,\n u = i.parsedInput,\n l = s;\n t && u.type && (l = u.value), e.setState({\n editMode: !1\n }), h.default.dispatch({\n name: \"VARIABLE_UPDATED\",\n rjvId: o,\n data: {\n name: r.name,\n namespace: a,\n existing_value: r.value,\n new_value: l,\n variable_removed: !1\n }\n });\n }, this.showDetected = function () {\n var t = e.props,\n n = t.theme,\n r = (t.variable, t.namespace, t.rjvId, e.state.parsedInput),\n a = (r.type, r.value, e.getDetectedInput());\n if (a) return f.default.createElement(\"div\", null, f.default.createElement(\"div\", (0, x.default)(n, \"detected-row\"), a, f.default.createElement(E.CheckCircle, {\n className: \"edit-check detected\",\n style: u({\n verticalAlign: \"top\",\n paddingLeft: \"3px\"\n }, (0, x.default)(n, \"check-icon\").style),\n onClick: function onClick() {\n e.submitEdit(!0);\n }\n })));\n }, this.getDetectedInput = function () {\n var t = e.state.parsedInput,\n n = t.type,\n r = t.value,\n a = e.props,\n o = a.theme;\n if (!1 !== n) switch (n.toLowerCase()) {\n case \"object\":\n return f.default.createElement(\"span\", null, f.default.createElement(\"span\", {\n style: u({}, (0, x.default)(o, \"brace\").style, {\n cursor: \"default\"\n })\n }, \"{\"), f.default.createElement(\"span\", {\n style: u({}, (0, x.default)(o, \"ellipsis\").style, {\n cursor: \"default\"\n })\n }, \"...\"), f.default.createElement(\"span\", {\n style: u({}, (0, x.default)(o, \"brace\").style, {\n cursor: \"default\"\n })\n }, \"}\"));\n\n case \"array\":\n return f.default.createElement(\"span\", null, f.default.createElement(\"span\", {\n style: u({}, (0, x.default)(o, \"brace\").style, {\n cursor: \"default\"\n })\n }, \"[\"), f.default.createElement(\"span\", {\n style: u({}, (0, x.default)(o, \"ellipsis\").style, {\n cursor: \"default\"\n })\n }, \"...\"), f.default.createElement(\"span\", {\n style: u({}, (0, x.default)(o, \"brace\").style, {\n cursor: \"default\"\n })\n }, \"]\"));\n\n case \"string\":\n return f.default.createElement(O.JsonString, u({\n value: r\n }, a));\n\n case \"integer\":\n return f.default.createElement(O.JsonInteger, u({\n value: r\n }, a));\n\n case \"float\":\n return f.default.createElement(O.JsonFloat, u({\n value: r\n }, a));\n\n case \"boolean\":\n return f.default.createElement(O.JsonBoolean, u({\n value: r\n }, a));\n\n case \"function\":\n return f.default.createElement(O.JsonFunction, u({\n value: r\n }, a));\n\n case \"null\":\n return f.default.createElement(O.JsonNull, a);\n\n case \"nan\":\n return f.default.createElement(O.JsonNan, a);\n\n case \"undefined\":\n return f.default.createElement(O.JsonUndefined, a);\n\n case \"date\":\n return f.default.createElement(O.JsonDate, u({\n value: new Date(r)\n }, a));\n }\n };\n };\n\n t.default = C;\n }, function (e, t, n) {\n \"use strict\";\n\n function r() {\n return r = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n }, r.apply(this, arguments);\n }\n\n function a(e, t) {\n e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;\n }\n\n function o(e, t) {\n if (null == e) return {};\n var n,\n r,\n a = {},\n o = Object.keys(e);\n\n for (r = 0; r < o.length; r++) {\n n = o[r], t.indexOf(n) >= 0 || (a[n] = e[n]);\n }\n\n if (Object.getOwnPropertySymbols) {\n var i = Object.getOwnPropertySymbols(e);\n\n for (r = 0; r < i.length; r++) {\n n = i[r], t.indexOf(n) >= 0 || Object.prototype.propertyIsEnumerable.call(e, n) && (a[n] = e[n]);\n }\n }\n\n return a;\n }\n\n function i(e, t, n, r, a) {\n void 0 === n && (n = !1), void 0 === r && (r = null), void 0 === a && (a = null), null === v.parentNode && document.body.appendChild(v);\n var o = s(e, t, n);\n if (null === o) return null;\n var i = o.paddingSize,\n u = o.borderSize,\n l = o.boxSizing,\n c = o.sizingStyle;\n Object.keys(c).forEach(function (e) {\n v.style[e] = c[e];\n }), m(v), v.value = e.value || e.placeholder || \"x\";\n var f = -1 / 0,\n d = 1 / 0,\n p = v.scrollHeight;\n \"border-box\" === l ? p += u : \"content-box\" === l && (p -= i), v.value = \"x\";\n var b = v.scrollHeight - i;\n return null === r && null === a || (null !== r && (f = b * r, \"border-box\" === l && (f = f + i + u), p = Math.max(f, p)), null !== a && (d = b * a, \"border-box\" === l && (d = d + i + u), p = Math.min(d, p))), {\n height: p,\n minHeight: f,\n maxHeight: d,\n rowCount: Math.floor(p / b)\n };\n }\n\n function s(e, t, n) {\n if (void 0 === n && (n = !1), n && y[t]) return y[t];\n var r = window.getComputedStyle(e);\n if (null === r) return null;\n var a = h.reduce(function (e, t) {\n return e[t] = r.getPropertyValue(t), e;\n }, {}),\n o = a[\"box-sizing\"];\n if (\"\" === o) return null;\n p && \"border-box\" === o && (a.width = parseFloat(a.width) + parseFloat(r[\"border-right-width\"]) + parseFloat(r[\"border-left-width\"]) + parseFloat(r[\"padding-right\"]) + parseFloat(r[\"padding-left\"]) + \"px\");\n var i = parseFloat(a[\"padding-bottom\"]) + parseFloat(a[\"padding-top\"]),\n s = parseFloat(a[\"border-bottom-width\"]) + parseFloat(a[\"border-top-width\"]),\n u = {\n sizingStyle: a,\n paddingSize: i,\n borderSize: s,\n boxSizing: o\n };\n return n && (y[t] = u), u;\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var u = n(0),\n l = n.n(u),\n c = n(173),\n f = n.n(c),\n d = (Object.setPrototypeOf, \"object\" == (typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) && Reflect.construct, \"undefined\" != typeof window && \"undefined\" != typeof document),\n p = !!d && !!document.documentElement.currentStyle,\n b = {\n \"min-height\": \"0\",\n \"max-height\": \"none\",\n height: \"0\",\n visibility: \"hidden\",\n overflow: \"hidden\",\n position: \"absolute\",\n \"z-index\": \"-1000\",\n top: \"0\",\n right: \"0\"\n },\n h = [\"letter-spacing\", \"line-height\", \"font-family\", \"font-weight\", \"font-size\", \"font-style\", \"tab-size\", \"text-rendering\", \"text-transform\", \"width\", \"text-indent\", \"padding-top\", \"padding-right\", \"padding-bottom\", \"padding-left\", \"border-top-width\", \"border-right-width\", \"border-bottom-width\", \"border-left-width\", \"box-sizing\"],\n y = {},\n v = d && document.createElement(\"textarea\"),\n m = function m(e) {\n Object.keys(b).forEach(function (t) {\n e.style.setProperty(t, b[t], \"important\");\n });\n };\n\n d && m(v);\n\n var g = function g(e) {\n return delete y[e];\n },\n _ = function (e) {\n return void 0 === e && (e = 0), function () {\n return ++e;\n };\n }(),\n j = function j() {},\n O = d && window.requestAnimationFrame ? [window.requestAnimationFrame, window.cancelAnimationFrame] : [setTimeout, clearTimeout],\n E = O[0],\n w = O[1],\n x = function (e) {\n function t(t) {\n var n;\n return n = e.call(this, t) || this, n._resizeLock = !1, n._onRootDOMNode = function (e) {\n n._rootDOMNode = e, n.props.inputRef(e);\n }, n._onChange = function (e) {\n n._controlled || n._resizeComponent(), n.props.onChange(e);\n }, n._resizeComponent = function (e) {\n if (void 0 === e && (e = j), void 0 === n._rootDOMNode) return void e();\n var t = i(n._rootDOMNode, n._uid, n.props.useCacheForDOMMeasurements, n.props.minRows, n.props.maxRows);\n if (null === t) return void e();\n var r = t.height,\n a = t.minHeight,\n o = t.maxHeight,\n s = t.rowCount;\n if (n.rowCount = s, n.state.height !== r || n.state.minHeight !== a || n.state.maxHeight !== o) return void n.setState({\n height: r,\n minHeight: a,\n maxHeight: o\n }, e);\n e();\n }, n.state = {\n height: t.style && t.style.height || 0,\n minHeight: -1 / 0,\n maxHeight: 1 / 0\n }, n._uid = _(), n._controlled = \"string\" == typeof t.value, n;\n }\n\n a(t, e);\n var n = t.prototype;\n return n.render = function () {\n var e = this.props,\n t = (e.inputRef, e.maxRows, e.minRows, e.onHeightChange, e.useCacheForDOMMeasurements, o(e, [\"inputRef\", \"maxRows\", \"minRows\", \"onHeightChange\", \"useCacheForDOMMeasurements\"]));\n return t.style = r({}, t.style, {\n height: this.state.height\n }), Math.max(t.style.maxHeight || 1 / 0, this.state.maxHeight) < this.state.height && (t.style.overflow = \"hidden\"), l.a.createElement(\"textarea\", r({}, t, {\n onChange: this._onChange,\n ref: this._onRootDOMNode\n }));\n }, n.componentDidMount = function () {\n var e = this;\n this._resizeComponent(), this._resizeListener = function () {\n e._resizeLock || (e._resizeLock = !0, e._resizeComponent(function () {\n return e._resizeLock = !1;\n }));\n }, window.addEventListener(\"resize\", this._resizeListener);\n }, n.componentDidUpdate = function (e, t) {\n var n = this;\n e !== this.props && (this._clearNextFrame(), this._onNextFrameActionId = E(function () {\n return n._resizeComponent();\n })), this.state.height !== t.height && this.props.onHeightChange(this.state.height, this);\n }, n.componentWillUnmount = function () {\n this._clearNextFrame(), window.removeEventListener(\"resize\", this._resizeListener), g(this._uid);\n }, n._clearNextFrame = function () {\n w(this._onNextFrameActionId);\n }, t;\n }(l.a.Component);\n\n x.propTypes = {\n inputRef: f.a.func,\n maxRows: f.a.number,\n minRows: f.a.number,\n onChange: f.a.func,\n onHeightChange: f.a.func,\n useCacheForDOMMeasurements: f.a.bool,\n value: f.a.string\n }, x.defaultProps = {\n inputRef: j,\n onChange: j,\n onHeightChange: j,\n useCacheForDOMMeasurements: !1\n }, t.default = x;\n }, function (e, t, n) {\n e.exports = n(174)();\n }, function (e, t, n) {\n \"use strict\";\n\n function r() {}\n\n var a = n(175);\n\n e.exports = function () {\n function e(e, t, n, r, o, i) {\n if (i !== a) {\n var s = new Error(\"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types\");\n throw s.name = \"Invariant Violation\", s;\n }\n }\n\n function t() {\n return e;\n }\n\n e.isRequired = e;\n var n = {\n array: e,\n bool: e,\n func: e,\n number: e,\n object: e,\n string: e,\n symbol: e,\n any: e,\n arrayOf: t,\n element: e,\n instanceOf: t,\n node: e,\n objectOf: t,\n oneOf: t,\n oneOfType: t,\n shape: t,\n exact: t\n };\n return n.checkPropTypes = r, n.PropTypes = n, n;\n };\n }, function (e, t, n) {\n \"use strict\";\n\n e.exports = \"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\";\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n e = e.trim();\n\n try {\n if (e = JSON.stringify(JSON.parse(e)), \"[\" === e[0]) return a(\"array\", JSON.parse(e));\n if (\"{\" === e[0]) return a(\"object\", JSON.parse(e));\n if (e.match(/\\-?\\d+\\.\\d+/) && e.match(/\\-?\\d+\\.\\d+/)[0] === e) return a(\"float\", parseFloat(e));\n if (e.match(/\\-?\\d+/) && e.match(/\\-?\\d+/)[0] === e) return a(\"integer\", parseInt(e));\n } catch (e) {}\n\n switch (e = e.toLowerCase()) {\n case \"undefined\":\n return a(\"undefined\", void 0);\n\n case \"nan\":\n return a(\"nan\", NaN);\n\n case \"null\":\n return a(\"null\", null);\n\n case \"true\":\n return a(\"boolean\", !0);\n\n case \"false\":\n return a(\"boolean\", !1);\n\n default:\n if (e = Date.parse(e)) return a(\"date\", new Date(e));\n }\n\n return a(!1, null);\n }\n\n function a(e, t) {\n return {\n type: e,\n value: t\n };\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.default = r;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(14),\n d = r(f),\n p = n(13),\n b = r(p),\n h = n(178),\n y = r(h),\n v = n(1),\n m = (r(v), function (e) {\n function t() {\n var e, n, r, i;\n a(this, t);\n\n for (var u = arguments.length, l = Array(u), c = 0; c < u; c++) {\n l[c] = arguments[c];\n }\n\n return n = r = o(this, (e = t.__proto__ || Object.getPrototypeOf(t)).call.apply(e, [this].concat(l))), r.isValid = function (e) {\n var t = r.props.rjvId,\n n = b.default.get(t, \"action\", \"new-key-request\");\n return \"\" != e && -1 === Object.keys(n.existing_value).indexOf(e);\n }, r.submit = function (e) {\n var t = r.props.rjvId,\n n = b.default.get(t, \"action\", \"new-key-request\");\n n.new_value = s({}, n.existing_value), n.new_value[e] = r.props.defaultValue, d.default.dispatch({\n name: \"VARIABLE_ADDED\",\n rjvId: t,\n data: n\n });\n }, i = n, o(r, i);\n }\n\n return i(t, e), u(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.active,\n n = e.theme,\n r = e.rjvId;\n return t ? c.default.createElement(y.default, {\n rjvId: r,\n theme: n,\n isValid: this.isValid,\n submit: this.submit\n }) : null;\n }\n }]), t;\n }(c.default.PureComponent));\n\n t.default = m;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(14),\n d = r(f),\n p = n(15),\n b = n(1),\n h = r(b),\n y = function (e) {\n function t(e) {\n a(this, t);\n var n = o(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));\n return n.closeModal = function () {\n d.default.dispatch({\n rjvId: n.props.rjvId,\n name: \"RESET\"\n });\n }, n.submit = function () {\n n.props.submit(n.state.input);\n }, n.state = {\n input: e.input ? e.input : \"\"\n }, n;\n }\n\n return i(t, e), u(t, [{\n key: \"render\",\n value: function value() {\n var e = this,\n t = this.props,\n n = t.theme,\n r = t.rjvId,\n a = t.isValid,\n o = this.state.input,\n i = a(o);\n return c.default.createElement(\"div\", s({\n className: \"key-modal-request\"\n }, (0, h.default)(n, \"key-modal-request\"), {\n onClick: this.closeModal\n }), c.default.createElement(\"div\", s({}, (0, h.default)(n, \"key-modal\"), {\n onClick: function onClick(e) {\n e.stopPropagation();\n }\n }), c.default.createElement(\"div\", (0, h.default)(n, \"key-modal-label\"), \"Key Name:\"), c.default.createElement(\"div\", {\n style: {\n position: \"relative\"\n }\n }, c.default.createElement(\"input\", s({}, (0, h.default)(n, \"key-modal-input\"), {\n className: \"key-modal-input\",\n ref: function ref(e) {\n return e && e.focus();\n },\n spellCheck: !1,\n value: o,\n placeholder: \"...\",\n onChange: function onChange(t) {\n e.setState({\n input: t.target.value\n });\n },\n onKeyPress: function onKeyPress(t) {\n i && \"Enter\" === t.key ? e.submit() : \"Escape\" === t.key && e.closeModal();\n }\n })), i ? c.default.createElement(p.CheckCircle, s({}, (0, h.default)(n, \"key-modal-submit\"), {\n className: \"key-modal-submit\",\n onClick: function onClick(t) {\n return e.submit();\n }\n })) : null), c.default.createElement(\"span\", (0, h.default)(n, \"key-modal-cancel\"), c.default.createElement(p.Add, s({}, (0, h.default)(n, \"key-modal-cancel-icon\"), {\n className: \"key-modal-cancel\",\n onClick: function onClick() {\n d.default.dispatch({\n rjvId: r,\n name: \"RESET\"\n });\n }\n })))));\n }\n }]), t;\n }(c.default.PureComponent);\n\n t.default = y;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function a(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function o(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function i(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n\n var s = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var r in n) {\n Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);\n }\n }\n\n return e;\n },\n u = function () {\n function e(e, t) {\n for (var n = 0; n < t.length; n++) {\n var r = t[n];\n r.enumerable = r.enumerable || !1, r.configurable = !0, \"value\" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);\n }\n }\n\n return function (t, n, r) {\n return n && e(t.prototype, n), r && e(t, r), t;\n };\n }(),\n l = n(0),\n c = r(l),\n f = n(14),\n d = r(f),\n p = n(13),\n b = (r(p), n(15)),\n h = n(1),\n y = r(h),\n v = function (e) {\n function t() {\n return a(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));\n }\n\n return i(t, e), u(t, [{\n key: \"render\",\n value: function value() {\n var e = this.props,\n t = e.message,\n n = e.active,\n r = e.theme,\n a = e.rjvId;\n return n ? c.default.createElement(\"div\", s({\n className: \"validation-failure\"\n }, (0, y.default)(r, \"validation-failure\"), {\n onClick: function onClick() {\n d.default.dispatch({\n rjvId: a,\n name: \"RESET\"\n });\n }\n }), c.default.createElement(\"span\", (0, y.default)(r, \"validation-failure-label\"), t), c.default.createElement(b.Add, (0, y.default)(r, \"validation-failure-clear\"))) : null;\n }\n }]), t;\n }(c.default.PureComponent);\n\n t.default = v;\n }, function (e, t, n) {\n var r = n(181);\n \"string\" == typeof r && (r = [[e.i, r, \"\"]]);\n var a = {};\n a.transform = void 0, n(183)(r, a), r.locals && (e.exports = r.locals);\n }, function (e, t, n) {\n t = e.exports = n(182)(!1), t.push([e.i, \".react-json-view .copy-to-clipboard-container{vertical-align:top;display:none}.react-json-view .click-to-add,.react-json-view .click-to-edit,.react-json-view .click-to-remove{display:none}.react-json-view .object-content .variable-row:hover .click-to-edit,.react-json-view .object-content .variable-row:hover .click-to-remove,.react-json-view .object-key-val:hover>span>.object-meta-data>.click-to-add,.react-json-view .object-key-val:hover>span>.object-meta-data>.click-to-remove,.react-json-view .object-key-val:hover>span>.object-meta-data>.copy-to-clipboard-container,.react-json-view .variable-row:hover .copy-to-clipboard-container{display:inline-block}\", \"\"]);\n }, function (e, t) {\n function n(e, t) {\n var n = e[1] || \"\",\n a = e[3];\n if (!a) return n;\n\n if (t && \"function\" == typeof btoa) {\n var o = r(a);\n return [n].concat(a.sources.map(function (e) {\n return \"/*# sourceURL=\" + a.sourceRoot + e + \" */\";\n })).concat([o]).join(\"\\n\");\n }\n\n return [n].join(\"\\n\");\n }\n\n function r(e) {\n return \"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,\" + btoa(unescape(encodeURIComponent(JSON.stringify(e)))) + \" */\";\n }\n\n e.exports = function (e) {\n var t = [];\n return t.toString = function () {\n return this.map(function (t) {\n var r = n(t, e);\n return t[2] ? \"@media \" + t[2] + \"{\" + r + \"}\" : r;\n }).join(\"\");\n }, t.i = function (e, n) {\n \"string\" == typeof e && (e = [[null, e, \"\"]]);\n\n for (var r = {}, a = 0; a < this.length; a++) {\n var o = this[a][0];\n \"number\" == typeof o && (r[o] = !0);\n }\n\n for (a = 0; a < e.length; a++) {\n var i = e[a];\n \"number\" == typeof i[0] && r[i[0]] || (n && !i[2] ? i[2] = n : n && (i[2] = \"(\" + i[2] + \") and (\" + n + \")\"), t.push(i));\n }\n }, t;\n };\n }, function (e, t, n) {\n function r(e, t) {\n for (var n = 0; n < e.length; n++) {\n var r = e[n],\n a = b[r.id];\n\n if (a) {\n a.refs++;\n\n for (var o = 0; o < a.parts.length; o++) {\n a.parts[o](r.parts[o]);\n }\n\n for (; o < r.parts.length; o++) {\n a.parts.push(c(r.parts[o], t));\n }\n } else {\n for (var i = [], o = 0; o < r.parts.length; o++) {\n i.push(c(r.parts[o], t));\n }\n\n b[r.id] = {\n id: r.id,\n refs: 1,\n parts: i\n };\n }\n }\n }\n\n function a(e, t) {\n for (var n = [], r = {}, a = 0; a < e.length; a++) {\n var o = e[a],\n i = t.base ? o[0] + t.base : o[0],\n s = o[1],\n u = o[2],\n l = o[3],\n c = {\n css: s,\n media: u,\n sourceMap: l\n };\n r[i] ? r[i].parts.push(c) : n.push(r[i] = {\n id: i,\n parts: [c]\n });\n }\n\n return n;\n }\n\n function o(e, t) {\n var n = y(e.insertInto);\n if (!n) throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.\");\n var r = g[g.length - 1];\n if (\"top\" === e.insertAt) r ? r.nextSibling ? n.insertBefore(t, r.nextSibling) : n.appendChild(t) : n.insertBefore(t, n.firstChild), g.push(t);else {\n if (\"bottom\" !== e.insertAt) throw new Error(\"Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.\");\n n.appendChild(t);\n }\n }\n\n function i(e) {\n if (null === e.parentNode) return !1;\n e.parentNode.removeChild(e);\n var t = g.indexOf(e);\n t >= 0 && g.splice(t, 1);\n }\n\n function s(e) {\n var t = document.createElement(\"style\");\n return e.attrs.type = \"text/css\", l(t, e.attrs), o(e, t), t;\n }\n\n function u(e) {\n var t = document.createElement(\"link\");\n return e.attrs.type = \"text/css\", e.attrs.rel = \"stylesheet\", l(t, e.attrs), o(e, t), t;\n }\n\n function l(e, t) {\n Object.keys(t).forEach(function (n) {\n e.setAttribute(n, t[n]);\n });\n }\n\n function c(e, t) {\n var n, r, a, o;\n\n if (t.transform && e.css) {\n if (!(o = t.transform(e.css))) return function () {};\n e.css = o;\n }\n\n if (t.singleton) {\n var l = m++;\n n = v || (v = s(t)), r = f.bind(null, n, l, !1), a = f.bind(null, n, l, !0);\n } else e.sourceMap && \"function\" == typeof URL && \"function\" == typeof URL.createObjectURL && \"function\" == typeof URL.revokeObjectURL && \"function\" == typeof Blob && \"function\" == typeof btoa ? (n = u(t), r = p.bind(null, n, t), a = function a() {\n i(n), n.href && URL.revokeObjectURL(n.href);\n }) : (n = s(t), r = d.bind(null, n), a = function a() {\n i(n);\n });\n\n return r(e), function (t) {\n if (t) {\n if (t.css === e.css && t.media === e.media && t.sourceMap === e.sourceMap) return;\n r(e = t);\n } else a();\n };\n }\n\n function f(e, t, n, r) {\n var a = n ? \"\" : r.css;\n if (e.styleSheet) e.styleSheet.cssText = j(t, a);else {\n var o = document.createTextNode(a),\n i = e.childNodes;\n i[t] && e.removeChild(i[t]), i.length ? e.insertBefore(o, i[t]) : e.appendChild(o);\n }\n }\n\n function d(e, t) {\n var n = t.css,\n r = t.media;\n if (r && e.setAttribute(\"media\", r), e.styleSheet) e.styleSheet.cssText = n;else {\n for (; e.firstChild;) {\n e.removeChild(e.firstChild);\n }\n\n e.appendChild(document.createTextNode(n));\n }\n }\n\n function p(e, t, n) {\n var r = n.css,\n a = n.sourceMap,\n o = void 0 === t.convertToAbsoluteUrls && a;\n (t.convertToAbsoluteUrls || o) && (r = _(r)), a && (r += \"\\n/*# sourceMappingURL=data:application/json;base64,\" + btoa(unescape(encodeURIComponent(JSON.stringify(a)))) + \" */\");\n var i = new Blob([r], {\n type: \"text/css\"\n }),\n s = e.href;\n e.href = URL.createObjectURL(i), s && URL.revokeObjectURL(s);\n }\n\n var b = {},\n h = function (e) {\n var t;\n return function () {\n return void 0 === t && (t = e.apply(this, arguments)), t;\n };\n }(function () {\n return window && document && document.all && !window.atob;\n }),\n y = function (e) {\n var t = {};\n return function (n) {\n return void 0 === t[n] && (t[n] = e.call(this, n)), t[n];\n };\n }(function (e) {\n return document.querySelector(e);\n }),\n v = null,\n m = 0,\n g = [],\n _ = n(184);\n\n e.exports = function (e, t) {\n if (\"undefined\" != typeof DEBUG && DEBUG && \"object\" != (typeof document === \"undefined\" ? \"undefined\" : _typeof(document))) throw new Error(\"The style-loader cannot be used in a non-browser environment\");\n t = t || {}, t.attrs = \"object\" == _typeof(t.attrs) ? t.attrs : {}, t.singleton || (t.singleton = h()), t.insertInto || (t.insertInto = \"head\"), t.insertAt || (t.insertAt = \"bottom\");\n var n = a(e, t);\n return r(n, t), function (e) {\n for (var o = [], i = 0; i < n.length; i++) {\n var s = n[i],\n u = b[s.id];\n u.refs--, o.push(u);\n }\n\n e && r(a(e, t), t);\n\n for (var i = 0; i < o.length; i++) {\n var u = o[i];\n\n if (0 === u.refs) {\n for (var l = 0; l < u.parts.length; l++) {\n u.parts[l]();\n }\n\n delete b[u.id];\n }\n }\n };\n };\n\n var j = function () {\n var e = [];\n return function (t, n) {\n return e[t] = n, e.filter(Boolean).join(\"\\n\");\n };\n }();\n }, function (e, t) {\n e.exports = function (e) {\n var t = \"undefined\" != typeof window && window.location;\n if (!t) throw new Error(\"fixUrls requires window.location\");\n if (!e || \"string\" != typeof e) return e;\n var n = t.protocol + \"//\" + t.host,\n r = n + t.pathname.replace(/\\/[^\\/]*$/, \"/\");\n return e.replace(/url\\s*\\(((?:[^)(]|\\((?:[^)(]+|\\([^)(]*\\))*\\))*)\\)/gi, function (e, t) {\n var a = t.trim().replace(/^\"(.*)\"$/, function (e, t) {\n return t;\n }).replace(/^'(.*)'$/, function (e, t) {\n return t;\n });\n if (/^(#|data:|http:\\/\\/|https:\\/\\/|file:\\/\\/\\/)/i.test(a)) return e;\n var o;\n return o = 0 === a.indexOf(\"//\") ? a : 0 === a.indexOf(\"/\") ? n + a : r + a.replace(/^\\.\\//, \"\"), \"url(\" + JSON.stringify(o) + \")\";\n });\n };\n }]);\n});","var baseAssignValue = require('./_baseAssignValue'),\n createAggregator = require('./_createAggregator');\n/**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n\n\nvar keyBy = createAggregator(function (result, value, key) {\n baseAssignValue(result, key, value);\n});\nmodule.exports = keyBy;","module.exports = __webpack_public_path__ + \"media/images/call/out-successful-2cd133f1cf812a1834f443f77938ceae.svg\";","module.exports = __webpack_public_path__ + \"media/images/call/out-failed-a33d6a26b8e0cfc0820f4ef1da84e748.svg\";","module.exports = __webpack_public_path__ + \"media/images/call/in-successful-efded264baffb26baf86b843ccca2d0d.svg\";","module.exports = __webpack_public_path__ + \"media/images/call/in-failed-7144fc742d2e9fff59d0c3f79a27eeb0.svg\";","/** @license React v16.13.1\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\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'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar l = require(\"object-assign\"),\n n = \"function\" === typeof Symbol && Symbol.for,\n p = n ? Symbol.for(\"react.element\") : 60103,\n q = n ? Symbol.for(\"react.portal\") : 60106,\n r = n ? Symbol.for(\"react.fragment\") : 60107,\n t = n ? Symbol.for(\"react.strict_mode\") : 60108,\n u = n ? Symbol.for(\"react.profiler\") : 60114,\n v = n ? Symbol.for(\"react.provider\") : 60109,\n w = n ? Symbol.for(\"react.context\") : 60110,\n x = n ? Symbol.for(\"react.forward_ref\") : 60112,\n y = n ? Symbol.for(\"react.suspense\") : 60113,\n z = n ? Symbol.for(\"react.memo\") : 60115,\n A = n ? Symbol.for(\"react.lazy\") : 60116,\n B = \"function\" === typeof Symbol && Symbol.iterator;\n\nfunction C(a) {\n for (var b = \"https://reactjs.org/docs/error-decoder.html?invariant=\" + a, c = 1; c < arguments.length; c++) {\n b += \"&args[]=\" + encodeURIComponent(arguments[c]);\n }\n\n return \"Minified React error #\" + a + \"; visit \" + b + \" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\";\n}\n\nvar D = {\n isMounted: function isMounted() {\n return !1;\n },\n enqueueForceUpdate: function enqueueForceUpdate() {},\n enqueueReplaceState: function enqueueReplaceState() {},\n enqueueSetState: function enqueueSetState() {}\n},\n E = {};\n\nfunction F(a, b, c) {\n this.props = a;\n this.context = b;\n this.refs = E;\n this.updater = c || D;\n}\n\nF.prototype.isReactComponent = {};\n\nF.prototype.setState = function (a, b) {\n if (\"object\" !== _typeof(a) && \"function\" !== typeof a && null != a) throw Error(C(85));\n this.updater.enqueueSetState(this, a, b, \"setState\");\n};\n\nF.prototype.forceUpdate = function (a) {\n this.updater.enqueueForceUpdate(this, a, \"forceUpdate\");\n};\n\nfunction G() {}\n\nG.prototype = F.prototype;\n\nfunction H(a, b, c) {\n this.props = a;\n this.context = b;\n this.refs = E;\n this.updater = c || D;\n}\n\nvar I = H.prototype = new G();\nI.constructor = H;\nl(I, F.prototype);\nI.isPureReactComponent = !0;\nvar J = {\n current: null\n},\n K = Object.prototype.hasOwnProperty,\n L = {\n key: !0,\n ref: !0,\n __self: !0,\n __source: !0\n};\n\nfunction M(a, b, c) {\n var e,\n d = {},\n g = null,\n k = null;\n if (null != b) for (e in void 0 !== b.ref && (k = b.ref), void 0 !== b.key && (g = \"\" + b.key), b) {\n K.call(b, e) && !L.hasOwnProperty(e) && (d[e] = b[e]);\n }\n var f = arguments.length - 2;\n if (1 === f) d.children = c;else if (1 < f) {\n for (var h = Array(f), m = 0; m < f; m++) {\n h[m] = arguments[m + 2];\n }\n\n d.children = h;\n }\n if (a && a.defaultProps) for (e in f = a.defaultProps, f) {\n void 0 === d[e] && (d[e] = f[e]);\n }\n return {\n $$typeof: p,\n type: a,\n key: g,\n ref: k,\n props: d,\n _owner: J.current\n };\n}\n\nfunction N(a, b) {\n return {\n $$typeof: p,\n type: a.type,\n key: b,\n ref: a.ref,\n props: a.props,\n _owner: a._owner\n };\n}\n\nfunction O(a) {\n return \"object\" === _typeof(a) && null !== a && a.$$typeof === p;\n}\n\nfunction escape(a) {\n var b = {\n \"=\": \"=0\",\n \":\": \"=2\"\n };\n return \"$\" + (\"\" + a).replace(/[=:]/g, function (a) {\n return b[a];\n });\n}\n\nvar P = /\\/+/g,\n Q = [];\n\nfunction R(a, b, c, e) {\n if (Q.length) {\n var d = Q.pop();\n d.result = a;\n d.keyPrefix = b;\n d.func = c;\n d.context = e;\n d.count = 0;\n return d;\n }\n\n return {\n result: a,\n keyPrefix: b,\n func: c,\n context: e,\n count: 0\n };\n}\n\nfunction S(a) {\n a.result = null;\n a.keyPrefix = null;\n a.func = null;\n a.context = null;\n a.count = 0;\n 10 > Q.length && Q.push(a);\n}\n\nfunction T(a, b, c, e) {\n var d = _typeof(a);\n\n if (\"undefined\" === d || \"boolean\" === d) a = null;\n var g = !1;\n if (null === a) g = !0;else switch (d) {\n case \"string\":\n case \"number\":\n g = !0;\n break;\n\n case \"object\":\n switch (a.$$typeof) {\n case p:\n case q:\n g = !0;\n }\n\n }\n if (g) return c(e, a, \"\" === b ? \".\" + U(a, 0) : b), 1;\n g = 0;\n b = \"\" === b ? \".\" : b + \":\";\n if (Array.isArray(a)) for (var k = 0; k < a.length; k++) {\n d = a[k];\n var f = b + U(d, k);\n g += T(d, f, c, e);\n } else if (null === a || \"object\" !== _typeof(a) ? f = null : (f = B && a[B] || a[\"@@iterator\"], f = \"function\" === typeof f ? f : null), \"function\" === typeof f) for (a = f.call(a), k = 0; !(d = a.next()).done;) {\n d = d.value, f = b + U(d, k++), g += T(d, f, c, e);\n } else if (\"object\" === d) throw c = \"\" + a, Error(C(31, \"[object Object]\" === c ? \"object with keys {\" + Object.keys(a).join(\", \") + \"}\" : c, \"\"));\n return g;\n}\n\nfunction V(a, b, c) {\n return null == a ? 0 : T(a, \"\", b, c);\n}\n\nfunction U(a, b) {\n return \"object\" === _typeof(a) && null !== a && null != a.key ? escape(a.key) : b.toString(36);\n}\n\nfunction W(a, b) {\n a.func.call(a.context, b, a.count++);\n}\n\nfunction aa(a, b, c) {\n var e = a.result,\n d = a.keyPrefix;\n a = a.func.call(a.context, b, a.count++);\n Array.isArray(a) ? X(a, e, c, function (a) {\n return a;\n }) : null != a && (O(a) && (a = N(a, d + (!a.key || b && b.key === a.key ? \"\" : (\"\" + a.key).replace(P, \"$&/\") + \"/\") + c)), e.push(a));\n}\n\nfunction X(a, b, c, e, d) {\n var g = \"\";\n null != c && (g = (\"\" + c).replace(P, \"$&/\") + \"/\");\n b = R(b, g, e, d);\n V(a, aa, b);\n S(b);\n}\n\nvar Y = {\n current: null\n};\n\nfunction Z() {\n var a = Y.current;\n if (null === a) throw Error(C(321));\n return a;\n}\n\nvar ba = {\n ReactCurrentDispatcher: Y,\n ReactCurrentBatchConfig: {\n suspense: null\n },\n ReactCurrentOwner: J,\n IsSomeRendererActing: {\n current: !1\n },\n assign: l\n};\nexports.Children = {\n map: function map(a, b, c) {\n if (null == a) return a;\n var e = [];\n X(a, e, null, b, c);\n return e;\n },\n forEach: function forEach(a, b, c) {\n if (null == a) return a;\n b = R(null, null, b, c);\n V(a, W, b);\n S(b);\n },\n count: function count(a) {\n return V(a, function () {\n return null;\n }, null);\n },\n toArray: function toArray(a) {\n var b = [];\n X(a, b, null, function (a) {\n return a;\n });\n return b;\n },\n only: function only(a) {\n if (!O(a)) throw Error(C(143));\n return a;\n }\n};\nexports.Component = F;\nexports.Fragment = r;\nexports.Profiler = u;\nexports.PureComponent = H;\nexports.StrictMode = t;\nexports.Suspense = y;\nexports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ba;\n\nexports.cloneElement = function (a, b, c) {\n if (null === a || void 0 === a) throw Error(C(267, a));\n var e = l({}, a.props),\n d = a.key,\n g = a.ref,\n k = a._owner;\n\n if (null != b) {\n void 0 !== b.ref && (g = b.ref, k = J.current);\n void 0 !== b.key && (d = \"\" + b.key);\n if (a.type && a.type.defaultProps) var f = a.type.defaultProps;\n\n for (h in b) {\n K.call(b, h) && !L.hasOwnProperty(h) && (e[h] = void 0 === b[h] && void 0 !== f ? f[h] : b[h]);\n }\n }\n\n var h = arguments.length - 2;\n if (1 === h) e.children = c;else if (1 < h) {\n f = Array(h);\n\n for (var m = 0; m < h; m++) {\n f[m] = arguments[m + 2];\n }\n\n e.children = f;\n }\n return {\n $$typeof: p,\n type: a.type,\n key: d,\n ref: g,\n props: e,\n _owner: k\n };\n};\n\nexports.createContext = function (a, b) {\n void 0 === b && (b = null);\n a = {\n $$typeof: w,\n _calculateChangedBits: b,\n _currentValue: a,\n _currentValue2: a,\n _threadCount: 0,\n Provider: null,\n Consumer: null\n };\n a.Provider = {\n $$typeof: v,\n _context: a\n };\n return a.Consumer = a;\n};\n\nexports.createElement = M;\n\nexports.createFactory = function (a) {\n var b = M.bind(null, a);\n b.type = a;\n return b;\n};\n\nexports.createRef = function () {\n return {\n current: null\n };\n};\n\nexports.forwardRef = function (a) {\n return {\n $$typeof: x,\n render: a\n };\n};\n\nexports.isValidElement = O;\n\nexports.lazy = function (a) {\n return {\n $$typeof: A,\n _ctor: a,\n _status: -1,\n _result: null\n };\n};\n\nexports.memo = function (a, b) {\n return {\n $$typeof: z,\n type: a,\n compare: void 0 === b ? null : b\n };\n};\n\nexports.useCallback = function (a, b) {\n return Z().useCallback(a, b);\n};\n\nexports.useContext = function (a, b) {\n return Z().useContext(a, b);\n};\n\nexports.useDebugValue = function () {};\n\nexports.useEffect = function (a, b) {\n return Z().useEffect(a, b);\n};\n\nexports.useImperativeHandle = function (a, b, c) {\n return Z().useImperativeHandle(a, b, c);\n};\n\nexports.useLayoutEffect = function (a, b) {\n return Z().useLayoutEffect(a, b);\n};\n\nexports.useMemo = function (a, b) {\n return Z().useMemo(a, b);\n};\n\nexports.useReducer = function (a, b, c) {\n return Z().useReducer(a, b, c);\n};\n\nexports.useRef = function (a) {\n return Z().useRef(a);\n};\n\nexports.useState = function (a) {\n return Z().useState(a);\n};\n\nexports.version = \"16.13.1\";","/** @license React v16.13.1\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\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/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar aa = require(\"react\"),\n n = require(\"object-assign\"),\n r = require(\"scheduler\");\n\nfunction u(a) {\n for (var b = \"https://reactjs.org/docs/error-decoder.html?invariant=\" + a, c = 1; c < arguments.length; c++) {\n b += \"&args[]=\" + encodeURIComponent(arguments[c]);\n }\n\n return \"Minified React error #\" + a + \"; visit \" + b + \" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\";\n}\n\nif (!aa) throw Error(u(227));\n\nfunction ba(a, b, c, d, e, f, g, h, k) {\n var l = Array.prototype.slice.call(arguments, 3);\n\n try {\n b.apply(c, l);\n } catch (m) {\n this.onError(m);\n }\n}\n\nvar da = !1,\n ea = null,\n fa = !1,\n ha = null,\n ia = {\n onError: function onError(a) {\n da = !0;\n ea = a;\n }\n};\n\nfunction ja(a, b, c, d, e, f, g, h, k) {\n da = !1;\n ea = null;\n ba.apply(ia, arguments);\n}\n\nfunction ka(a, b, c, d, e, f, g, h, k) {\n ja.apply(this, arguments);\n\n if (da) {\n if (da) {\n var l = ea;\n da = !1;\n ea = null;\n } else throw Error(u(198));\n\n fa || (fa = !0, ha = l);\n }\n}\n\nvar la = null,\n ma = null,\n na = null;\n\nfunction oa(a, b, c) {\n var d = a.type || \"unknown-event\";\n a.currentTarget = na(c);\n ka(d, b, void 0, a);\n a.currentTarget = null;\n}\n\nvar pa = null,\n qa = {};\n\nfunction ra() {\n if (pa) for (var a in qa) {\n var b = qa[a],\n c = pa.indexOf(a);\n if (!(-1 < c)) throw Error(u(96, a));\n\n if (!sa[c]) {\n if (!b.extractEvents) throw Error(u(97, a));\n sa[c] = b;\n c = b.eventTypes;\n\n for (var d in c) {\n var e = void 0;\n var f = c[d],\n g = b,\n h = d;\n if (ta.hasOwnProperty(h)) throw Error(u(99, h));\n ta[h] = f;\n var k = f.phasedRegistrationNames;\n\n if (k) {\n for (e in k) {\n k.hasOwnProperty(e) && ua(k[e], g, h);\n }\n\n e = !0;\n } else f.registrationName ? (ua(f.registrationName, g, h), e = !0) : e = !1;\n\n if (!e) throw Error(u(98, d, a));\n }\n }\n }\n}\n\nfunction ua(a, b, c) {\n if (va[a]) throw Error(u(100, a));\n va[a] = b;\n wa[a] = b.eventTypes[c].dependencies;\n}\n\nvar sa = [],\n ta = {},\n va = {},\n wa = {};\n\nfunction xa(a) {\n var b = !1,\n c;\n\n for (c in a) {\n if (a.hasOwnProperty(c)) {\n var d = a[c];\n\n if (!qa.hasOwnProperty(c) || qa[c] !== d) {\n if (qa[c]) throw Error(u(102, c));\n qa[c] = d;\n b = !0;\n }\n }\n }\n\n b && ra();\n}\n\nvar ya = !(\"undefined\" === typeof window || \"undefined\" === typeof window.document || \"undefined\" === typeof window.document.createElement),\n za = null,\n Aa = null,\n Ba = null;\n\nfunction Ca(a) {\n if (a = ma(a)) {\n if (\"function\" !== typeof za) throw Error(u(280));\n var b = a.stateNode;\n b && (b = la(b), za(a.stateNode, a.type, b));\n }\n}\n\nfunction Da(a) {\n Aa ? Ba ? Ba.push(a) : Ba = [a] : Aa = a;\n}\n\nfunction Ea() {\n if (Aa) {\n var a = Aa,\n b = Ba;\n Ba = Aa = null;\n Ca(a);\n if (b) for (a = 0; a < b.length; a++) {\n Ca(b[a]);\n }\n }\n}\n\nfunction Fa(a, b) {\n return a(b);\n}\n\nfunction Ga(a, b, c, d, e) {\n return a(b, c, d, e);\n}\n\nfunction Ha() {}\n\nvar Ia = Fa,\n Ja = !1,\n Ka = !1;\n\nfunction La() {\n if (null !== Aa || null !== Ba) Ha(), Ea();\n}\n\nfunction Ma(a, b, c) {\n if (Ka) return a(b, c);\n Ka = !0;\n\n try {\n return Ia(a, b, c);\n } finally {\n Ka = !1, La();\n }\n}\n\nvar Na = /^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,\n Oa = Object.prototype.hasOwnProperty,\n Pa = {},\n Qa = {};\n\nfunction Ra(a) {\n if (Oa.call(Qa, a)) return !0;\n if (Oa.call(Pa, a)) return !1;\n if (Na.test(a)) return Qa[a] = !0;\n Pa[a] = !0;\n return !1;\n}\n\nfunction Sa(a, b, c, d) {\n if (null !== c && 0 === c.type) return !1;\n\n switch (_typeof(b)) {\n case \"function\":\n case \"symbol\":\n return !0;\n\n case \"boolean\":\n if (d) return !1;\n if (null !== c) return !c.acceptsBooleans;\n a = a.toLowerCase().slice(0, 5);\n return \"data-\" !== a && \"aria-\" !== a;\n\n default:\n return !1;\n }\n}\n\nfunction Ta(a, b, c, d) {\n if (null === b || \"undefined\" === typeof b || Sa(a, b, c, d)) return !0;\n if (d) return !1;\n if (null !== c) switch (c.type) {\n case 3:\n return !b;\n\n case 4:\n return !1 === b;\n\n case 5:\n return isNaN(b);\n\n case 6:\n return isNaN(b) || 1 > b;\n }\n return !1;\n}\n\nfunction v(a, b, c, d, e, f) {\n this.acceptsBooleans = 2 === b || 3 === b || 4 === b;\n this.attributeName = d;\n this.attributeNamespace = e;\n this.mustUseProperty = c;\n this.propertyName = a;\n this.type = b;\n this.sanitizeURL = f;\n}\n\nvar C = {};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function (a) {\n C[a] = new v(a, 0, !1, a, null, !1);\n});\n[[\"acceptCharset\", \"accept-charset\"], [\"className\", \"class\"], [\"htmlFor\", \"for\"], [\"httpEquiv\", \"http-equiv\"]].forEach(function (a) {\n var b = a[0];\n C[b] = new v(b, 1, !1, a[1], null, !1);\n});\n[\"contentEditable\", \"draggable\", \"spellCheck\", \"value\"].forEach(function (a) {\n C[a] = new v(a, 2, !1, a.toLowerCase(), null, !1);\n});\n[\"autoReverse\", \"externalResourcesRequired\", \"focusable\", \"preserveAlpha\"].forEach(function (a) {\n C[a] = new v(a, 2, !1, a, null, !1);\n});\n\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function (a) {\n C[a] = new v(a, 3, !1, a.toLowerCase(), null, !1);\n});\n[\"checked\", \"multiple\", \"muted\", \"selected\"].forEach(function (a) {\n C[a] = new v(a, 3, !0, a, null, !1);\n});\n[\"capture\", \"download\"].forEach(function (a) {\n C[a] = new v(a, 4, !1, a, null, !1);\n});\n[\"cols\", \"rows\", \"size\", \"span\"].forEach(function (a) {\n C[a] = new v(a, 6, !1, a, null, !1);\n});\n[\"rowSpan\", \"start\"].forEach(function (a) {\n C[a] = new v(a, 5, !1, a.toLowerCase(), null, !1);\n});\nvar Ua = /[\\-:]([a-z])/g;\n\nfunction Va(a) {\n return a[1].toUpperCase();\n}\n\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function (a) {\n var b = a.replace(Ua, Va);\n C[b] = new v(b, 1, !1, a, null, !1);\n});\n\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function (a) {\n var b = a.replace(Ua, Va);\n C[b] = new v(b, 1, !1, a, \"http://www.w3.org/1999/xlink\", !1);\n});\n[\"xml:base\", \"xml:lang\", \"xml:space\"].forEach(function (a) {\n var b = a.replace(Ua, Va);\n C[b] = new v(b, 1, !1, a, \"http://www.w3.org/XML/1998/namespace\", !1);\n});\n[\"tabIndex\", \"crossOrigin\"].forEach(function (a) {\n C[a] = new v(a, 1, !1, a.toLowerCase(), null, !1);\n});\nC.xlinkHref = new v(\"xlinkHref\", 1, !1, \"xlink:href\", \"http://www.w3.org/1999/xlink\", !0);\n[\"src\", \"href\", \"action\", \"formAction\"].forEach(function (a) {\n C[a] = new v(a, 1, !1, a.toLowerCase(), null, !0);\n});\nvar Wa = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\nWa.hasOwnProperty(\"ReactCurrentDispatcher\") || (Wa.ReactCurrentDispatcher = {\n current: null\n});\nWa.hasOwnProperty(\"ReactCurrentBatchConfig\") || (Wa.ReactCurrentBatchConfig = {\n suspense: null\n});\n\nfunction Xa(a, b, c, d) {\n var e = C.hasOwnProperty(b) ? C[b] : null;\n var f = null !== e ? 0 === e.type : d ? !1 : !(2 < b.length) || \"o\" !== b[0] && \"O\" !== b[0] || \"n\" !== b[1] && \"N\" !== b[1] ? !1 : !0;\n f || (Ta(b, c, e, d) && (c = null), d || null === e ? Ra(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, \"\" + c)) : e.mustUseProperty ? a[e.propertyName] = null === c ? 3 === e.type ? !1 : \"\" : c : (b = e.attributeName, d = e.attributeNamespace, null === c ? a.removeAttribute(b) : (e = e.type, c = 3 === e || 4 === e && !0 === c ? \"\" : \"\" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c))));\n}\n\nvar Ya = /^(.*)[\\\\\\/]/,\n E = \"function\" === typeof Symbol && Symbol.for,\n Za = E ? Symbol.for(\"react.element\") : 60103,\n $a = E ? Symbol.for(\"react.portal\") : 60106,\n ab = E ? Symbol.for(\"react.fragment\") : 60107,\n bb = E ? Symbol.for(\"react.strict_mode\") : 60108,\n cb = E ? Symbol.for(\"react.profiler\") : 60114,\n db = E ? Symbol.for(\"react.provider\") : 60109,\n eb = E ? Symbol.for(\"react.context\") : 60110,\n fb = E ? Symbol.for(\"react.concurrent_mode\") : 60111,\n gb = E ? Symbol.for(\"react.forward_ref\") : 60112,\n hb = E ? Symbol.for(\"react.suspense\") : 60113,\n ib = E ? Symbol.for(\"react.suspense_list\") : 60120,\n jb = E ? Symbol.for(\"react.memo\") : 60115,\n kb = E ? Symbol.for(\"react.lazy\") : 60116,\n lb = E ? Symbol.for(\"react.block\") : 60121,\n mb = \"function\" === typeof Symbol && Symbol.iterator;\n\nfunction nb(a) {\n if (null === a || \"object\" !== _typeof(a)) return null;\n a = mb && a[mb] || a[\"@@iterator\"];\n return \"function\" === typeof a ? a : null;\n}\n\nfunction ob(a) {\n if (-1 === a._status) {\n a._status = 0;\n var b = a._ctor;\n b = b();\n a._result = b;\n b.then(function (b) {\n 0 === a._status && (b = b.default, a._status = 1, a._result = b);\n }, function (b) {\n 0 === a._status && (a._status = 2, a._result = b);\n });\n }\n}\n\nfunction pb(a) {\n if (null == a) return null;\n if (\"function\" === typeof a) return a.displayName || a.name || null;\n if (\"string\" === typeof a) return a;\n\n switch (a) {\n case ab:\n return \"Fragment\";\n\n case $a:\n return \"Portal\";\n\n case cb:\n return \"Profiler\";\n\n case bb:\n return \"StrictMode\";\n\n case hb:\n return \"Suspense\";\n\n case ib:\n return \"SuspenseList\";\n }\n\n if (\"object\" === _typeof(a)) switch (a.$$typeof) {\n case eb:\n return \"Context.Consumer\";\n\n case db:\n return \"Context.Provider\";\n\n case gb:\n var b = a.render;\n b = b.displayName || b.name || \"\";\n return a.displayName || (\"\" !== b ? \"ForwardRef(\" + b + \")\" : \"ForwardRef\");\n\n case jb:\n return pb(a.type);\n\n case lb:\n return pb(a.render);\n\n case kb:\n if (a = 1 === a._status ? a._result : null) return pb(a);\n }\n return null;\n}\n\nfunction qb(a) {\n var b = \"\";\n\n do {\n a: switch (a.tag) {\n case 3:\n case 4:\n case 6:\n case 7:\n case 10:\n case 9:\n var c = \"\";\n break a;\n\n default:\n var d = a._debugOwner,\n e = a._debugSource,\n f = pb(a.type);\n c = null;\n d && (c = pb(d.type));\n d = f;\n f = \"\";\n e ? f = \" (at \" + e.fileName.replace(Ya, \"\") + \":\" + e.lineNumber + \")\" : c && (f = \" (created by \" + c + \")\");\n c = \"\\n in \" + (d || \"Unknown\") + f;\n }\n\n b += c;\n a = a.return;\n } while (a);\n\n return b;\n}\n\nfunction rb(a) {\n switch (_typeof(a)) {\n case \"boolean\":\n case \"number\":\n case \"object\":\n case \"string\":\n case \"undefined\":\n return a;\n\n default:\n return \"\";\n }\n}\n\nfunction sb(a) {\n var b = a.type;\n return (a = a.nodeName) && \"input\" === a.toLowerCase() && (\"checkbox\" === b || \"radio\" === b);\n}\n\nfunction tb(a) {\n var b = sb(a) ? \"checked\" : \"value\",\n c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b),\n d = \"\" + a[b];\n\n if (!a.hasOwnProperty(b) && \"undefined\" !== typeof c && \"function\" === typeof c.get && \"function\" === typeof c.set) {\n var e = c.get,\n f = c.set;\n Object.defineProperty(a, b, {\n configurable: !0,\n get: function get() {\n return e.call(this);\n },\n set: function set(a) {\n d = \"\" + a;\n f.call(this, a);\n }\n });\n Object.defineProperty(a, b, {\n enumerable: c.enumerable\n });\n return {\n getValue: function getValue() {\n return d;\n },\n setValue: function setValue(a) {\n d = \"\" + a;\n },\n stopTracking: function stopTracking() {\n a._valueTracker = null;\n delete a[b];\n }\n };\n }\n}\n\nfunction xb(a) {\n a._valueTracker || (a._valueTracker = tb(a));\n}\n\nfunction yb(a) {\n if (!a) return !1;\n var b = a._valueTracker;\n if (!b) return !0;\n var c = b.getValue();\n var d = \"\";\n a && (d = sb(a) ? a.checked ? \"true\" : \"false\" : a.value);\n a = d;\n return a !== c ? (b.setValue(a), !0) : !1;\n}\n\nfunction zb(a, b) {\n var c = b.checked;\n return n({}, b, {\n defaultChecked: void 0,\n defaultValue: void 0,\n value: void 0,\n checked: null != c ? c : a._wrapperState.initialChecked\n });\n}\n\nfunction Ab(a, b) {\n var c = null == b.defaultValue ? \"\" : b.defaultValue,\n d = null != b.checked ? b.checked : b.defaultChecked;\n c = rb(null != b.value ? b.value : c);\n a._wrapperState = {\n initialChecked: d,\n initialValue: c,\n controlled: \"checkbox\" === b.type || \"radio\" === b.type ? null != b.checked : null != b.value\n };\n}\n\nfunction Bb(a, b) {\n b = b.checked;\n null != b && Xa(a, \"checked\", b, !1);\n}\n\nfunction Cb(a, b) {\n Bb(a, b);\n var c = rb(b.value),\n d = b.type;\n if (null != c) {\n if (\"number\" === d) {\n if (0 === c && \"\" === a.value || a.value != c) a.value = \"\" + c;\n } else a.value !== \"\" + c && (a.value = \"\" + c);\n } else if (\"submit\" === d || \"reset\" === d) {\n a.removeAttribute(\"value\");\n return;\n }\n b.hasOwnProperty(\"value\") ? Db(a, b.type, c) : b.hasOwnProperty(\"defaultValue\") && Db(a, b.type, rb(b.defaultValue));\n null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked);\n}\n\nfunction Eb(a, b, c) {\n if (b.hasOwnProperty(\"value\") || b.hasOwnProperty(\"defaultValue\")) {\n var d = b.type;\n if (!(\"submit\" !== d && \"reset\" !== d || void 0 !== b.value && null !== b.value)) return;\n b = \"\" + a._wrapperState.initialValue;\n c || b === a.value || (a.value = b);\n a.defaultValue = b;\n }\n\n c = a.name;\n \"\" !== c && (a.name = \"\");\n a.defaultChecked = !!a._wrapperState.initialChecked;\n \"\" !== c && (a.name = c);\n}\n\nfunction Db(a, b, c) {\n if (\"number\" !== b || a.ownerDocument.activeElement !== a) null == c ? a.defaultValue = \"\" + a._wrapperState.initialValue : a.defaultValue !== \"\" + c && (a.defaultValue = \"\" + c);\n}\n\nfunction Fb(a) {\n var b = \"\";\n aa.Children.forEach(a, function (a) {\n null != a && (b += a);\n });\n return b;\n}\n\nfunction Gb(a, b) {\n a = n({\n children: void 0\n }, b);\n if (b = Fb(b.children)) a.children = b;\n return a;\n}\n\nfunction Hb(a, b, c, d) {\n a = a.options;\n\n if (b) {\n b = {};\n\n for (var e = 0; e < c.length; e++) {\n b[\"$\" + c[e]] = !0;\n }\n\n for (c = 0; c < a.length; c++) {\n e = b.hasOwnProperty(\"$\" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = !0);\n }\n } else {\n c = \"\" + rb(c);\n b = null;\n\n for (e = 0; e < a.length; e++) {\n if (a[e].value === c) {\n a[e].selected = !0;\n d && (a[e].defaultSelected = !0);\n return;\n }\n\n null !== b || a[e].disabled || (b = a[e]);\n }\n\n null !== b && (b.selected = !0);\n }\n}\n\nfunction Ib(a, b) {\n if (null != b.dangerouslySetInnerHTML) throw Error(u(91));\n return n({}, b, {\n value: void 0,\n defaultValue: void 0,\n children: \"\" + a._wrapperState.initialValue\n });\n}\n\nfunction Jb(a, b) {\n var c = b.value;\n\n if (null == c) {\n c = b.children;\n b = b.defaultValue;\n\n if (null != c) {\n if (null != b) throw Error(u(92));\n\n if (Array.isArray(c)) {\n if (!(1 >= c.length)) throw Error(u(93));\n c = c[0];\n }\n\n b = c;\n }\n\n null == b && (b = \"\");\n c = b;\n }\n\n a._wrapperState = {\n initialValue: rb(c)\n };\n}\n\nfunction Kb(a, b) {\n var c = rb(b.value),\n d = rb(b.defaultValue);\n null != c && (c = \"\" + c, c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c));\n null != d && (a.defaultValue = \"\" + d);\n}\n\nfunction Lb(a) {\n var b = a.textContent;\n b === a._wrapperState.initialValue && \"\" !== b && null !== b && (a.value = b);\n}\n\nvar Mb = {\n html: \"http://www.w3.org/1999/xhtml\",\n mathml: \"http://www.w3.org/1998/Math/MathML\",\n svg: \"http://www.w3.org/2000/svg\"\n};\n\nfunction Nb(a) {\n switch (a) {\n case \"svg\":\n return \"http://www.w3.org/2000/svg\";\n\n case \"math\":\n return \"http://www.w3.org/1998/Math/MathML\";\n\n default:\n return \"http://www.w3.org/1999/xhtml\";\n }\n}\n\nfunction Ob(a, b) {\n return null == a || \"http://www.w3.org/1999/xhtml\" === a ? Nb(b) : \"http://www.w3.org/2000/svg\" === a && \"foreignObject\" === b ? \"http://www.w3.org/1999/xhtml\" : a;\n}\n\nvar Pb,\n Qb = function (a) {\n return \"undefined\" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function (b, c, d, e) {\n MSApp.execUnsafeLocalFunction(function () {\n return a(b, c, d, e);\n });\n } : a;\n}(function (a, b) {\n if (a.namespaceURI !== Mb.svg || \"innerHTML\" in a) a.innerHTML = b;else {\n Pb = Pb || document.createElement(\"div\");\n Pb.innerHTML = \"<svg>\" + b.valueOf().toString() + \"</svg>\";\n\n for (b = Pb.firstChild; a.firstChild;) {\n a.removeChild(a.firstChild);\n }\n\n for (; b.firstChild;) {\n a.appendChild(b.firstChild);\n }\n }\n});\n\nfunction Rb(a, b) {\n if (b) {\n var c = a.firstChild;\n\n if (c && c === a.lastChild && 3 === c.nodeType) {\n c.nodeValue = b;\n return;\n }\n }\n\n a.textContent = b;\n}\n\nfunction Sb(a, b) {\n var c = {};\n c[a.toLowerCase()] = b.toLowerCase();\n c[\"Webkit\" + a] = \"webkit\" + b;\n c[\"Moz\" + a] = \"moz\" + b;\n return c;\n}\n\nvar Tb = {\n animationend: Sb(\"Animation\", \"AnimationEnd\"),\n animationiteration: Sb(\"Animation\", \"AnimationIteration\"),\n animationstart: Sb(\"Animation\", \"AnimationStart\"),\n transitionend: Sb(\"Transition\", \"TransitionEnd\")\n},\n Ub = {},\n Vb = {};\nya && (Vb = document.createElement(\"div\").style, \"AnimationEvent\" in window || (delete Tb.animationend.animation, delete Tb.animationiteration.animation, delete Tb.animationstart.animation), \"TransitionEvent\" in window || delete Tb.transitionend.transition);\n\nfunction Wb(a) {\n if (Ub[a]) return Ub[a];\n if (!Tb[a]) return a;\n var b = Tb[a],\n c;\n\n for (c in b) {\n if (b.hasOwnProperty(c) && c in Vb) return Ub[a] = b[c];\n }\n\n return a;\n}\n\nvar Xb = Wb(\"animationend\"),\n Yb = Wb(\"animationiteration\"),\n Zb = Wb(\"animationstart\"),\n $b = Wb(\"transitionend\"),\n ac = \"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),\n bc = new (\"function\" === typeof WeakMap ? WeakMap : Map)();\n\nfunction cc(a) {\n var b = bc.get(a);\n void 0 === b && (b = new Map(), bc.set(a, b));\n return b;\n}\n\nfunction dc(a) {\n var b = a,\n c = a;\n if (a.alternate) for (; b.return;) {\n b = b.return;\n } else {\n a = b;\n\n do {\n b = a, 0 !== (b.effectTag & 1026) && (c = b.return), a = b.return;\n } while (a);\n }\n return 3 === b.tag ? c : null;\n}\n\nfunction ec(a) {\n if (13 === a.tag) {\n var b = a.memoizedState;\n null === b && (a = a.alternate, null !== a && (b = a.memoizedState));\n if (null !== b) return b.dehydrated;\n }\n\n return null;\n}\n\nfunction fc(a) {\n if (dc(a) !== a) throw Error(u(188));\n}\n\nfunction gc(a) {\n var b = a.alternate;\n\n if (!b) {\n b = dc(a);\n if (null === b) throw Error(u(188));\n return b !== a ? null : a;\n }\n\n for (var c = a, d = b;;) {\n var e = c.return;\n if (null === e) break;\n var f = e.alternate;\n\n if (null === f) {\n d = e.return;\n\n if (null !== d) {\n c = d;\n continue;\n }\n\n break;\n }\n\n if (e.child === f.child) {\n for (f = e.child; f;) {\n if (f === c) return fc(e), a;\n if (f === d) return fc(e), b;\n f = f.sibling;\n }\n\n throw Error(u(188));\n }\n\n if (c.return !== d.return) c = e, d = f;else {\n for (var g = !1, h = e.child; h;) {\n if (h === c) {\n g = !0;\n c = e;\n d = f;\n break;\n }\n\n if (h === d) {\n g = !0;\n d = e;\n c = f;\n break;\n }\n\n h = h.sibling;\n }\n\n if (!g) {\n for (h = f.child; h;) {\n if (h === c) {\n g = !0;\n c = f;\n d = e;\n break;\n }\n\n if (h === d) {\n g = !0;\n d = f;\n c = e;\n break;\n }\n\n h = h.sibling;\n }\n\n if (!g) throw Error(u(189));\n }\n }\n if (c.alternate !== d) throw Error(u(190));\n }\n\n if (3 !== c.tag) throw Error(u(188));\n return c.stateNode.current === c ? a : b;\n}\n\nfunction hc(a) {\n a = gc(a);\n if (!a) return null;\n\n for (var b = a;;) {\n if (5 === b.tag || 6 === b.tag) return b;\n if (b.child) b.child.return = b, b = b.child;else {\n if (b === a) break;\n\n for (; !b.sibling;) {\n if (!b.return || b.return === a) return null;\n b = b.return;\n }\n\n b.sibling.return = b.return;\n b = b.sibling;\n }\n }\n\n return null;\n}\n\nfunction ic(a, b) {\n if (null == b) throw Error(u(30));\n if (null == a) return b;\n\n if (Array.isArray(a)) {\n if (Array.isArray(b)) return a.push.apply(a, b), a;\n a.push(b);\n return a;\n }\n\n return Array.isArray(b) ? [a].concat(b) : [a, b];\n}\n\nfunction jc(a, b, c) {\n Array.isArray(a) ? a.forEach(b, c) : a && b.call(c, a);\n}\n\nvar kc = null;\n\nfunction lc(a) {\n if (a) {\n var b = a._dispatchListeners,\n c = a._dispatchInstances;\n if (Array.isArray(b)) for (var d = 0; d < b.length && !a.isPropagationStopped(); d++) {\n oa(a, b[d], c[d]);\n } else b && oa(a, b, c);\n a._dispatchListeners = null;\n a._dispatchInstances = null;\n a.isPersistent() || a.constructor.release(a);\n }\n}\n\nfunction mc(a) {\n null !== a && (kc = ic(kc, a));\n a = kc;\n kc = null;\n\n if (a) {\n jc(a, lc);\n if (kc) throw Error(u(95));\n if (fa) throw a = ha, fa = !1, ha = null, a;\n }\n}\n\nfunction nc(a) {\n a = a.target || a.srcElement || window;\n a.correspondingUseElement && (a = a.correspondingUseElement);\n return 3 === a.nodeType ? a.parentNode : a;\n}\n\nfunction oc(a) {\n if (!ya) return !1;\n a = \"on\" + a;\n var b = (a in document);\n b || (b = document.createElement(\"div\"), b.setAttribute(a, \"return;\"), b = \"function\" === typeof b[a]);\n return b;\n}\n\nvar pc = [];\n\nfunction qc(a) {\n a.topLevelType = null;\n a.nativeEvent = null;\n a.targetInst = null;\n a.ancestors.length = 0;\n 10 > pc.length && pc.push(a);\n}\n\nfunction rc(a, b, c, d) {\n if (pc.length) {\n var e = pc.pop();\n e.topLevelType = a;\n e.eventSystemFlags = d;\n e.nativeEvent = b;\n e.targetInst = c;\n return e;\n }\n\n return {\n topLevelType: a,\n eventSystemFlags: d,\n nativeEvent: b,\n targetInst: c,\n ancestors: []\n };\n}\n\nfunction sc(a) {\n var b = a.targetInst,\n c = b;\n\n do {\n if (!c) {\n a.ancestors.push(c);\n break;\n }\n\n var d = c;\n if (3 === d.tag) d = d.stateNode.containerInfo;else {\n for (; d.return;) {\n d = d.return;\n }\n\n d = 3 !== d.tag ? null : d.stateNode.containerInfo;\n }\n if (!d) break;\n b = c.tag;\n 5 !== b && 6 !== b || a.ancestors.push(c);\n c = tc(d);\n } while (c);\n\n for (c = 0; c < a.ancestors.length; c++) {\n b = a.ancestors[c];\n var e = nc(a.nativeEvent);\n d = a.topLevelType;\n var f = a.nativeEvent,\n g = a.eventSystemFlags;\n 0 === c && (g |= 64);\n\n for (var h = null, k = 0; k < sa.length; k++) {\n var l = sa[k];\n l && (l = l.extractEvents(d, b, f, e, g)) && (h = ic(h, l));\n }\n\n mc(h);\n }\n}\n\nfunction uc(a, b, c) {\n if (!c.has(a)) {\n switch (a) {\n case \"scroll\":\n vc(b, \"scroll\", !0);\n break;\n\n case \"focus\":\n case \"blur\":\n vc(b, \"focus\", !0);\n vc(b, \"blur\", !0);\n c.set(\"blur\", null);\n c.set(\"focus\", null);\n break;\n\n case \"cancel\":\n case \"close\":\n oc(a) && vc(b, a, !0);\n break;\n\n case \"invalid\":\n case \"submit\":\n case \"reset\":\n break;\n\n default:\n -1 === ac.indexOf(a) && F(a, b);\n }\n\n c.set(a, null);\n }\n}\n\nvar wc,\n xc,\n yc,\n zc = !1,\n Ac = [],\n Bc = null,\n Cc = null,\n Dc = null,\n Ec = new Map(),\n Fc = new Map(),\n Gc = [],\n Hc = \"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit\".split(\" \"),\n Ic = \"focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture\".split(\" \");\n\nfunction Jc(a, b) {\n var c = cc(b);\n Hc.forEach(function (a) {\n uc(a, b, c);\n });\n Ic.forEach(function (a) {\n uc(a, b, c);\n });\n}\n\nfunction Kc(a, b, c, d, e) {\n return {\n blockedOn: a,\n topLevelType: b,\n eventSystemFlags: c | 32,\n nativeEvent: e,\n container: d\n };\n}\n\nfunction Lc(a, b) {\n switch (a) {\n case \"focus\":\n case \"blur\":\n Bc = null;\n break;\n\n case \"dragenter\":\n case \"dragleave\":\n Cc = null;\n break;\n\n case \"mouseover\":\n case \"mouseout\":\n Dc = null;\n break;\n\n case \"pointerover\":\n case \"pointerout\":\n Ec.delete(b.pointerId);\n break;\n\n case \"gotpointercapture\":\n case \"lostpointercapture\":\n Fc.delete(b.pointerId);\n }\n}\n\nfunction Mc(a, b, c, d, e, f) {\n if (null === a || a.nativeEvent !== f) return a = Kc(b, c, d, e, f), null !== b && (b = Nc(b), null !== b && xc(b)), a;\n a.eventSystemFlags |= d;\n return a;\n}\n\nfunction Oc(a, b, c, d, e) {\n switch (b) {\n case \"focus\":\n return Bc = Mc(Bc, a, b, c, d, e), !0;\n\n case \"dragenter\":\n return Cc = Mc(Cc, a, b, c, d, e), !0;\n\n case \"mouseover\":\n return Dc = Mc(Dc, a, b, c, d, e), !0;\n\n case \"pointerover\":\n var f = e.pointerId;\n Ec.set(f, Mc(Ec.get(f) || null, a, b, c, d, e));\n return !0;\n\n case \"gotpointercapture\":\n return f = e.pointerId, Fc.set(f, Mc(Fc.get(f) || null, a, b, c, d, e)), !0;\n }\n\n return !1;\n}\n\nfunction Pc(a) {\n var b = tc(a.target);\n\n if (null !== b) {\n var c = dc(b);\n if (null !== c) if (b = c.tag, 13 === b) {\n if (b = ec(c), null !== b) {\n a.blockedOn = b;\n r.unstable_runWithPriority(a.priority, function () {\n yc(c);\n });\n return;\n }\n } else if (3 === b && c.stateNode.hydrate) {\n a.blockedOn = 3 === c.tag ? c.stateNode.containerInfo : null;\n return;\n }\n }\n\n a.blockedOn = null;\n}\n\nfunction Qc(a) {\n if (null !== a.blockedOn) return !1;\n var b = Rc(a.topLevelType, a.eventSystemFlags, a.container, a.nativeEvent);\n\n if (null !== b) {\n var c = Nc(b);\n null !== c && xc(c);\n a.blockedOn = b;\n return !1;\n }\n\n return !0;\n}\n\nfunction Sc(a, b, c) {\n Qc(a) && c.delete(b);\n}\n\nfunction Tc() {\n for (zc = !1; 0 < Ac.length;) {\n var a = Ac[0];\n\n if (null !== a.blockedOn) {\n a = Nc(a.blockedOn);\n null !== a && wc(a);\n break;\n }\n\n var b = Rc(a.topLevelType, a.eventSystemFlags, a.container, a.nativeEvent);\n null !== b ? a.blockedOn = b : Ac.shift();\n }\n\n null !== Bc && Qc(Bc) && (Bc = null);\n null !== Cc && Qc(Cc) && (Cc = null);\n null !== Dc && Qc(Dc) && (Dc = null);\n Ec.forEach(Sc);\n Fc.forEach(Sc);\n}\n\nfunction Uc(a, b) {\n a.blockedOn === b && (a.blockedOn = null, zc || (zc = !0, r.unstable_scheduleCallback(r.unstable_NormalPriority, Tc)));\n}\n\nfunction Vc(a) {\n function b(b) {\n return Uc(b, a);\n }\n\n if (0 < Ac.length) {\n Uc(Ac[0], a);\n\n for (var c = 1; c < Ac.length; c++) {\n var d = Ac[c];\n d.blockedOn === a && (d.blockedOn = null);\n }\n }\n\n null !== Bc && Uc(Bc, a);\n null !== Cc && Uc(Cc, a);\n null !== Dc && Uc(Dc, a);\n Ec.forEach(b);\n Fc.forEach(b);\n\n for (c = 0; c < Gc.length; c++) {\n d = Gc[c], d.blockedOn === a && (d.blockedOn = null);\n }\n\n for (; 0 < Gc.length && (c = Gc[0], null === c.blockedOn);) {\n Pc(c), null === c.blockedOn && Gc.shift();\n }\n}\n\nvar Wc = {},\n Yc = new Map(),\n Zc = new Map(),\n $c = [\"abort\", \"abort\", Xb, \"animationEnd\", Yb, \"animationIteration\", Zb, \"animationStart\", \"canplay\", \"canPlay\", \"canplaythrough\", \"canPlayThrough\", \"durationchange\", \"durationChange\", \"emptied\", \"emptied\", \"encrypted\", \"encrypted\", \"ended\", \"ended\", \"error\", \"error\", \"gotpointercapture\", \"gotPointerCapture\", \"load\", \"load\", \"loadeddata\", \"loadedData\", \"loadedmetadata\", \"loadedMetadata\", \"loadstart\", \"loadStart\", \"lostpointercapture\", \"lostPointerCapture\", \"playing\", \"playing\", \"progress\", \"progress\", \"seeking\", \"seeking\", \"stalled\", \"stalled\", \"suspend\", \"suspend\", \"timeupdate\", \"timeUpdate\", $b, \"transitionEnd\", \"waiting\", \"waiting\"];\n\nfunction ad(a, b) {\n for (var c = 0; c < a.length; c += 2) {\n var d = a[c],\n e = a[c + 1],\n f = \"on\" + (e[0].toUpperCase() + e.slice(1));\n f = {\n phasedRegistrationNames: {\n bubbled: f,\n captured: f + \"Capture\"\n },\n dependencies: [d],\n eventPriority: b\n };\n Zc.set(d, b);\n Yc.set(d, f);\n Wc[e] = f;\n }\n}\n\nad(\"blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange\".split(\" \"), 0);\nad(\"drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel\".split(\" \"), 1);\nad($c, 2);\n\nfor (var bd = \"change selectionchange textInput compositionstart compositionend compositionupdate\".split(\" \"), cd = 0; cd < bd.length; cd++) {\n Zc.set(bd[cd], 0);\n}\n\nvar dd = r.unstable_UserBlockingPriority,\n ed = r.unstable_runWithPriority,\n fd = !0;\n\nfunction F(a, b) {\n vc(b, a, !1);\n}\n\nfunction vc(a, b, c) {\n var d = Zc.get(b);\n\n switch (void 0 === d ? 2 : d) {\n case 0:\n d = gd.bind(null, b, 1, a);\n break;\n\n case 1:\n d = hd.bind(null, b, 1, a);\n break;\n\n default:\n d = id.bind(null, b, 1, a);\n }\n\n c ? a.addEventListener(b, d, !0) : a.addEventListener(b, d, !1);\n}\n\nfunction gd(a, b, c, d) {\n Ja || Ha();\n var e = id,\n f = Ja;\n Ja = !0;\n\n try {\n Ga(e, a, b, c, d);\n } finally {\n (Ja = f) || La();\n }\n}\n\nfunction hd(a, b, c, d) {\n ed(dd, id.bind(null, a, b, c, d));\n}\n\nfunction id(a, b, c, d) {\n if (fd) if (0 < Ac.length && -1 < Hc.indexOf(a)) a = Kc(null, a, b, c, d), Ac.push(a);else {\n var e = Rc(a, b, c, d);\n if (null === e) Lc(a, d);else if (-1 < Hc.indexOf(a)) a = Kc(e, a, b, c, d), Ac.push(a);else if (!Oc(e, a, b, c, d)) {\n Lc(a, d);\n a = rc(a, d, null, b);\n\n try {\n Ma(sc, a);\n } finally {\n qc(a);\n }\n }\n }\n}\n\nfunction Rc(a, b, c, d) {\n c = nc(d);\n c = tc(c);\n\n if (null !== c) {\n var e = dc(c);\n if (null === e) c = null;else {\n var f = e.tag;\n\n if (13 === f) {\n c = ec(e);\n if (null !== c) return c;\n c = null;\n } else if (3 === f) {\n if (e.stateNode.hydrate) return 3 === e.tag ? e.stateNode.containerInfo : null;\n c = null;\n } else e !== c && (c = null);\n }\n }\n\n a = rc(a, d, c, b);\n\n try {\n Ma(sc, a);\n } finally {\n qc(a);\n }\n\n return null;\n}\n\nvar jd = {\n animationIterationCount: !0,\n borderImageOutset: !0,\n borderImageSlice: !0,\n borderImageWidth: !0,\n boxFlex: !0,\n boxFlexGroup: !0,\n boxOrdinalGroup: !0,\n columnCount: !0,\n columns: !0,\n flex: !0,\n flexGrow: !0,\n flexPositive: !0,\n flexShrink: !0,\n flexNegative: !0,\n flexOrder: !0,\n gridArea: !0,\n gridRow: !0,\n gridRowEnd: !0,\n gridRowSpan: !0,\n gridRowStart: !0,\n gridColumn: !0,\n gridColumnEnd: !0,\n gridColumnSpan: !0,\n gridColumnStart: !0,\n fontWeight: !0,\n lineClamp: !0,\n lineHeight: !0,\n opacity: !0,\n order: !0,\n orphans: !0,\n tabSize: !0,\n widows: !0,\n zIndex: !0,\n zoom: !0,\n fillOpacity: !0,\n floodOpacity: !0,\n stopOpacity: !0,\n strokeDasharray: !0,\n strokeDashoffset: !0,\n strokeMiterlimit: !0,\n strokeOpacity: !0,\n strokeWidth: !0\n},\n kd = [\"Webkit\", \"ms\", \"Moz\", \"O\"];\nObject.keys(jd).forEach(function (a) {\n kd.forEach(function (b) {\n b = b + a.charAt(0).toUpperCase() + a.substring(1);\n jd[b] = jd[a];\n });\n});\n\nfunction ld(a, b, c) {\n return null == b || \"boolean\" === typeof b || \"\" === b ? \"\" : c || \"number\" !== typeof b || 0 === b || jd.hasOwnProperty(a) && jd[a] ? (\"\" + b).trim() : b + \"px\";\n}\n\nfunction md(a, b) {\n a = a.style;\n\n for (var c in b) {\n if (b.hasOwnProperty(c)) {\n var d = 0 === c.indexOf(\"--\"),\n e = ld(c, b[c], d);\n \"float\" === c && (c = \"cssFloat\");\n d ? a.setProperty(c, e) : a[c] = e;\n }\n }\n}\n\nvar nd = n({\n menuitem: !0\n}, {\n area: !0,\n base: !0,\n br: !0,\n col: !0,\n embed: !0,\n hr: !0,\n img: !0,\n input: !0,\n keygen: !0,\n link: !0,\n meta: !0,\n param: !0,\n source: !0,\n track: !0,\n wbr: !0\n});\n\nfunction od(a, b) {\n if (b) {\n if (nd[a] && (null != b.children || null != b.dangerouslySetInnerHTML)) throw Error(u(137, a, \"\"));\n\n if (null != b.dangerouslySetInnerHTML) {\n if (null != b.children) throw Error(u(60));\n if (!(\"object\" === _typeof(b.dangerouslySetInnerHTML) && \"__html\" in b.dangerouslySetInnerHTML)) throw Error(u(61));\n }\n\n if (null != b.style && \"object\" !== _typeof(b.style)) throw Error(u(62, \"\"));\n }\n}\n\nfunction pd(a, b) {\n if (-1 === a.indexOf(\"-\")) return \"string\" === typeof b.is;\n\n switch (a) {\n case \"annotation-xml\":\n case \"color-profile\":\n case \"font-face\":\n case \"font-face-src\":\n case \"font-face-uri\":\n case \"font-face-format\":\n case \"font-face-name\":\n case \"missing-glyph\":\n return !1;\n\n default:\n return !0;\n }\n}\n\nvar qd = Mb.html;\n\nfunction rd(a, b) {\n a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument;\n var c = cc(a);\n b = wa[b];\n\n for (var d = 0; d < b.length; d++) {\n uc(b[d], a, c);\n }\n}\n\nfunction sd() {}\n\nfunction td(a) {\n a = a || (\"undefined\" !== typeof document ? document : void 0);\n if (\"undefined\" === typeof a) return null;\n\n try {\n return a.activeElement || a.body;\n } catch (b) {\n return a.body;\n }\n}\n\nfunction ud(a) {\n for (; a && a.firstChild;) {\n a = a.firstChild;\n }\n\n return a;\n}\n\nfunction vd(a, b) {\n var c = ud(a);\n a = 0;\n\n for (var d; c;) {\n if (3 === c.nodeType) {\n d = a + c.textContent.length;\n if (a <= b && d >= b) return {\n node: c,\n offset: b - a\n };\n a = d;\n }\n\n a: {\n for (; c;) {\n if (c.nextSibling) {\n c = c.nextSibling;\n break a;\n }\n\n c = c.parentNode;\n }\n\n c = void 0;\n }\n\n c = ud(c);\n }\n}\n\nfunction wd(a, b) {\n return a && b ? a === b ? !0 : a && 3 === a.nodeType ? !1 : b && 3 === b.nodeType ? wd(a, b.parentNode) : \"contains\" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : !1 : !1;\n}\n\nfunction xd() {\n for (var a = window, b = td(); b instanceof a.HTMLIFrameElement;) {\n try {\n var c = \"string\" === typeof b.contentWindow.location.href;\n } catch (d) {\n c = !1;\n }\n\n if (c) a = b.contentWindow;else break;\n b = td(a.document);\n }\n\n return b;\n}\n\nfunction yd(a) {\n var b = a && a.nodeName && a.nodeName.toLowerCase();\n return b && (\"input\" === b && (\"text\" === a.type || \"search\" === a.type || \"tel\" === a.type || \"url\" === a.type || \"password\" === a.type) || \"textarea\" === b || \"true\" === a.contentEditable);\n}\n\nvar zd = \"$\",\n Ad = \"/$\",\n Bd = \"$?\",\n Cd = \"$!\",\n Dd = null,\n Ed = null;\n\nfunction Fd(a, b) {\n switch (a) {\n case \"button\":\n case \"input\":\n case \"select\":\n case \"textarea\":\n return !!b.autoFocus;\n }\n\n return !1;\n}\n\nfunction Gd(a, b) {\n return \"textarea\" === a || \"option\" === a || \"noscript\" === a || \"string\" === typeof b.children || \"number\" === typeof b.children || \"object\" === _typeof(b.dangerouslySetInnerHTML) && null !== b.dangerouslySetInnerHTML && null != b.dangerouslySetInnerHTML.__html;\n}\n\nvar Hd = \"function\" === typeof setTimeout ? setTimeout : void 0,\n Id = \"function\" === typeof clearTimeout ? clearTimeout : void 0;\n\nfunction Jd(a) {\n for (; null != a; a = a.nextSibling) {\n var b = a.nodeType;\n if (1 === b || 3 === b) break;\n }\n\n return a;\n}\n\nfunction Kd(a) {\n a = a.previousSibling;\n\n for (var b = 0; a;) {\n if (8 === a.nodeType) {\n var c = a.data;\n\n if (c === zd || c === Cd || c === Bd) {\n if (0 === b) return a;\n b--;\n } else c === Ad && b++;\n }\n\n a = a.previousSibling;\n }\n\n return null;\n}\n\nvar Ld = Math.random().toString(36).slice(2),\n Md = \"__reactInternalInstance$\" + Ld,\n Nd = \"__reactEventHandlers$\" + Ld,\n Od = \"__reactContainere$\" + Ld;\n\nfunction tc(a) {\n var b = a[Md];\n if (b) return b;\n\n for (var c = a.parentNode; c;) {\n if (b = c[Od] || c[Md]) {\n c = b.alternate;\n if (null !== b.child || null !== c && null !== c.child) for (a = Kd(a); null !== a;) {\n if (c = a[Md]) return c;\n a = Kd(a);\n }\n return b;\n }\n\n a = c;\n c = a.parentNode;\n }\n\n return null;\n}\n\nfunction Nc(a) {\n a = a[Md] || a[Od];\n return !a || 5 !== a.tag && 6 !== a.tag && 13 !== a.tag && 3 !== a.tag ? null : a;\n}\n\nfunction Pd(a) {\n if (5 === a.tag || 6 === a.tag) return a.stateNode;\n throw Error(u(33));\n}\n\nfunction Qd(a) {\n return a[Nd] || null;\n}\n\nfunction Rd(a) {\n do {\n a = a.return;\n } while (a && 5 !== a.tag);\n\n return a ? a : null;\n}\n\nfunction Sd(a, b) {\n var c = a.stateNode;\n if (!c) return null;\n var d = la(c);\n if (!d) return null;\n c = d[b];\n\n a: switch (b) {\n case \"onClick\":\n case \"onClickCapture\":\n case \"onDoubleClick\":\n case \"onDoubleClickCapture\":\n case \"onMouseDown\":\n case \"onMouseDownCapture\":\n case \"onMouseMove\":\n case \"onMouseMoveCapture\":\n case \"onMouseUp\":\n case \"onMouseUpCapture\":\n case \"onMouseEnter\":\n (d = !d.disabled) || (a = a.type, d = !(\"button\" === a || \"input\" === a || \"select\" === a || \"textarea\" === a));\n a = !d;\n break a;\n\n default:\n a = !1;\n }\n\n if (a) return null;\n if (c && \"function\" !== typeof c) throw Error(u(231, b, _typeof(c)));\n return c;\n}\n\nfunction Td(a, b, c) {\n if (b = Sd(a, c.dispatchConfig.phasedRegistrationNames[b])) c._dispatchListeners = ic(c._dispatchListeners, b), c._dispatchInstances = ic(c._dispatchInstances, a);\n}\n\nfunction Ud(a) {\n if (a && a.dispatchConfig.phasedRegistrationNames) {\n for (var b = a._targetInst, c = []; b;) {\n c.push(b), b = Rd(b);\n }\n\n for (b = c.length; 0 < b--;) {\n Td(c[b], \"captured\", a);\n }\n\n for (b = 0; b < c.length; b++) {\n Td(c[b], \"bubbled\", a);\n }\n }\n}\n\nfunction Vd(a, b, c) {\n a && c && c.dispatchConfig.registrationName && (b = Sd(a, c.dispatchConfig.registrationName)) && (c._dispatchListeners = ic(c._dispatchListeners, b), c._dispatchInstances = ic(c._dispatchInstances, a));\n}\n\nfunction Wd(a) {\n a && a.dispatchConfig.registrationName && Vd(a._targetInst, null, a);\n}\n\nfunction Xd(a) {\n jc(a, Ud);\n}\n\nvar Yd = null,\n Zd = null,\n $d = null;\n\nfunction ae() {\n if ($d) return $d;\n var a,\n b = Zd,\n c = b.length,\n d,\n e = \"value\" in Yd ? Yd.value : Yd.textContent,\n f = e.length;\n\n for (a = 0; a < c && b[a] === e[a]; a++) {\n ;\n }\n\n var g = c - a;\n\n for (d = 1; d <= g && b[c - d] === e[f - d]; d++) {\n ;\n }\n\n return $d = e.slice(a, 1 < d ? 1 - d : void 0);\n}\n\nfunction be() {\n return !0;\n}\n\nfunction ce() {\n return !1;\n}\n\nfunction G(a, b, c, d) {\n this.dispatchConfig = a;\n this._targetInst = b;\n this.nativeEvent = c;\n a = this.constructor.Interface;\n\n for (var e in a) {\n a.hasOwnProperty(e) && ((b = a[e]) ? this[e] = b(c) : \"target\" === e ? this.target = d : this[e] = c[e]);\n }\n\n this.isDefaultPrevented = (null != c.defaultPrevented ? c.defaultPrevented : !1 === c.returnValue) ? be : ce;\n this.isPropagationStopped = ce;\n return this;\n}\n\nn(G.prototype, {\n preventDefault: function preventDefault() {\n this.defaultPrevented = !0;\n var a = this.nativeEvent;\n a && (a.preventDefault ? a.preventDefault() : \"unknown\" !== typeof a.returnValue && (a.returnValue = !1), this.isDefaultPrevented = be);\n },\n stopPropagation: function stopPropagation() {\n var a = this.nativeEvent;\n a && (a.stopPropagation ? a.stopPropagation() : \"unknown\" !== typeof a.cancelBubble && (a.cancelBubble = !0), this.isPropagationStopped = be);\n },\n persist: function persist() {\n this.isPersistent = be;\n },\n isPersistent: ce,\n destructor: function destructor() {\n var a = this.constructor.Interface,\n b;\n\n for (b in a) {\n this[b] = null;\n }\n\n this.nativeEvent = this._targetInst = this.dispatchConfig = null;\n this.isPropagationStopped = this.isDefaultPrevented = ce;\n this._dispatchInstances = this._dispatchListeners = null;\n }\n});\nG.Interface = {\n type: null,\n target: null,\n currentTarget: function currentTarget() {\n return null;\n },\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function timeStamp(a) {\n return a.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\n\nG.extend = function (a) {\n function b() {}\n\n function c() {\n return d.apply(this, arguments);\n }\n\n var d = this;\n b.prototype = d.prototype;\n var e = new b();\n n(e, c.prototype);\n c.prototype = e;\n c.prototype.constructor = c;\n c.Interface = n({}, d.Interface, a);\n c.extend = d.extend;\n de(c);\n return c;\n};\n\nde(G);\n\nfunction ee(a, b, c, d) {\n if (this.eventPool.length) {\n var e = this.eventPool.pop();\n this.call(e, a, b, c, d);\n return e;\n }\n\n return new this(a, b, c, d);\n}\n\nfunction fe(a) {\n if (!(a instanceof this)) throw Error(u(279));\n a.destructor();\n 10 > this.eventPool.length && this.eventPool.push(a);\n}\n\nfunction de(a) {\n a.eventPool = [];\n a.getPooled = ee;\n a.release = fe;\n}\n\nvar ge = G.extend({\n data: null\n}),\n he = G.extend({\n data: null\n}),\n ie = [9, 13, 27, 32],\n je = ya && \"CompositionEvent\" in window,\n ke = null;\nya && \"documentMode\" in document && (ke = document.documentMode);\nvar le = ya && \"TextEvent\" in window && !ke,\n me = ya && (!je || ke && 8 < ke && 11 >= ke),\n ne = String.fromCharCode(32),\n oe = {\n beforeInput: {\n phasedRegistrationNames: {\n bubbled: \"onBeforeInput\",\n captured: \"onBeforeInputCapture\"\n },\n dependencies: [\"compositionend\", \"keypress\", \"textInput\", \"paste\"]\n },\n compositionEnd: {\n phasedRegistrationNames: {\n bubbled: \"onCompositionEnd\",\n captured: \"onCompositionEndCapture\"\n },\n dependencies: \"blur compositionend keydown keypress keyup mousedown\".split(\" \")\n },\n compositionStart: {\n phasedRegistrationNames: {\n bubbled: \"onCompositionStart\",\n captured: \"onCompositionStartCapture\"\n },\n dependencies: \"blur compositionstart keydown keypress keyup mousedown\".split(\" \")\n },\n compositionUpdate: {\n phasedRegistrationNames: {\n bubbled: \"onCompositionUpdate\",\n captured: \"onCompositionUpdateCapture\"\n },\n dependencies: \"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")\n }\n},\n pe = !1;\n\nfunction qe(a, b) {\n switch (a) {\n case \"keyup\":\n return -1 !== ie.indexOf(b.keyCode);\n\n case \"keydown\":\n return 229 !== b.keyCode;\n\n case \"keypress\":\n case \"mousedown\":\n case \"blur\":\n return !0;\n\n default:\n return !1;\n }\n}\n\nfunction re(a) {\n a = a.detail;\n return \"object\" === _typeof(a) && \"data\" in a ? a.data : null;\n}\n\nvar se = !1;\n\nfunction te(a, b) {\n switch (a) {\n case \"compositionend\":\n return re(b);\n\n case \"keypress\":\n if (32 !== b.which) return null;\n pe = !0;\n return ne;\n\n case \"textInput\":\n return a = b.data, a === ne && pe ? null : a;\n\n default:\n return null;\n }\n}\n\nfunction ue(a, b) {\n if (se) return \"compositionend\" === a || !je && qe(a, b) ? (a = ae(), $d = Zd = Yd = null, se = !1, a) : null;\n\n switch (a) {\n case \"paste\":\n return null;\n\n case \"keypress\":\n if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) {\n if (b.char && 1 < b.char.length) return b.char;\n if (b.which) return String.fromCharCode(b.which);\n }\n\n return null;\n\n case \"compositionend\":\n return me && \"ko\" !== b.locale ? null : b.data;\n\n default:\n return null;\n }\n}\n\nvar ve = {\n eventTypes: oe,\n extractEvents: function extractEvents(a, b, c, d) {\n var e;\n if (je) b: {\n switch (a) {\n case \"compositionstart\":\n var f = oe.compositionStart;\n break b;\n\n case \"compositionend\":\n f = oe.compositionEnd;\n break b;\n\n case \"compositionupdate\":\n f = oe.compositionUpdate;\n break b;\n }\n\n f = void 0;\n } else se ? qe(a, c) && (f = oe.compositionEnd) : \"keydown\" === a && 229 === c.keyCode && (f = oe.compositionStart);\n f ? (me && \"ko\" !== c.locale && (se || f !== oe.compositionStart ? f === oe.compositionEnd && se && (e = ae()) : (Yd = d, Zd = \"value\" in Yd ? Yd.value : Yd.textContent, se = !0)), f = ge.getPooled(f, b, c, d), e ? f.data = e : (e = re(c), null !== e && (f.data = e)), Xd(f), e = f) : e = null;\n (a = le ? te(a, c) : ue(a, c)) ? (b = he.getPooled(oe.beforeInput, b, c, d), b.data = a, Xd(b)) : b = null;\n return null === e ? b : null === b ? e : [e, b];\n }\n},\n we = {\n color: !0,\n date: !0,\n datetime: !0,\n \"datetime-local\": !0,\n email: !0,\n month: !0,\n number: !0,\n password: !0,\n range: !0,\n search: !0,\n tel: !0,\n text: !0,\n time: !0,\n url: !0,\n week: !0\n};\n\nfunction xe(a) {\n var b = a && a.nodeName && a.nodeName.toLowerCase();\n return \"input\" === b ? !!we[a.type] : \"textarea\" === b ? !0 : !1;\n}\n\nvar ye = {\n change: {\n phasedRegistrationNames: {\n bubbled: \"onChange\",\n captured: \"onChangeCapture\"\n },\n dependencies: \"blur change click focus input keydown keyup selectionchange\".split(\" \")\n }\n};\n\nfunction ze(a, b, c) {\n a = G.getPooled(ye.change, a, b, c);\n a.type = \"change\";\n Da(c);\n Xd(a);\n return a;\n}\n\nvar Ae = null,\n Be = null;\n\nfunction Ce(a) {\n mc(a);\n}\n\nfunction De(a) {\n var b = Pd(a);\n if (yb(b)) return a;\n}\n\nfunction Ee(a, b) {\n if (\"change\" === a) return b;\n}\n\nvar Fe = !1;\nya && (Fe = oc(\"input\") && (!document.documentMode || 9 < document.documentMode));\n\nfunction Ge() {\n Ae && (Ae.detachEvent(\"onpropertychange\", He), Be = Ae = null);\n}\n\nfunction He(a) {\n if (\"value\" === a.propertyName && De(Be)) if (a = ze(Be, a, nc(a)), Ja) mc(a);else {\n Ja = !0;\n\n try {\n Fa(Ce, a);\n } finally {\n Ja = !1, La();\n }\n }\n}\n\nfunction Ie(a, b, c) {\n \"focus\" === a ? (Ge(), Ae = b, Be = c, Ae.attachEvent(\"onpropertychange\", He)) : \"blur\" === a && Ge();\n}\n\nfunction Je(a) {\n if (\"selectionchange\" === a || \"keyup\" === a || \"keydown\" === a) return De(Be);\n}\n\nfunction Ke(a, b) {\n if (\"click\" === a) return De(b);\n}\n\nfunction Le(a, b) {\n if (\"input\" === a || \"change\" === a) return De(b);\n}\n\nvar Me = {\n eventTypes: ye,\n _isInputEventSupported: Fe,\n extractEvents: function extractEvents(a, b, c, d) {\n var e = b ? Pd(b) : window,\n f = e.nodeName && e.nodeName.toLowerCase();\n if (\"select\" === f || \"input\" === f && \"file\" === e.type) var g = Ee;else if (xe(e)) {\n if (Fe) g = Le;else {\n g = Je;\n var h = Ie;\n }\n } else (f = e.nodeName) && \"input\" === f.toLowerCase() && (\"checkbox\" === e.type || \"radio\" === e.type) && (g = Ke);\n if (g && (g = g(a, b))) return ze(g, c, d);\n h && h(a, e, b);\n \"blur\" === a && (a = e._wrapperState) && a.controlled && \"number\" === e.type && Db(e, \"number\", e.value);\n }\n},\n Ne = G.extend({\n view: null,\n detail: null\n}),\n Oe = {\n Alt: \"altKey\",\n Control: \"ctrlKey\",\n Meta: \"metaKey\",\n Shift: \"shiftKey\"\n};\n\nfunction Pe(a) {\n var b = this.nativeEvent;\n return b.getModifierState ? b.getModifierState(a) : (a = Oe[a]) ? !!b[a] : !1;\n}\n\nfunction Qe() {\n return Pe;\n}\n\nvar Re = 0,\n Se = 0,\n Te = !1,\n Ue = !1,\n Ve = Ne.extend({\n screenX: null,\n screenY: null,\n clientX: null,\n clientY: null,\n pageX: null,\n pageY: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n getModifierState: Qe,\n button: null,\n buttons: null,\n relatedTarget: function relatedTarget(a) {\n return a.relatedTarget || (a.fromElement === a.srcElement ? a.toElement : a.fromElement);\n },\n movementX: function movementX(a) {\n if (\"movementX\" in a) return a.movementX;\n var b = Re;\n Re = a.screenX;\n return Te ? \"mousemove\" === a.type ? a.screenX - b : 0 : (Te = !0, 0);\n },\n movementY: function movementY(a) {\n if (\"movementY\" in a) return a.movementY;\n var b = Se;\n Se = a.screenY;\n return Ue ? \"mousemove\" === a.type ? a.screenY - b : 0 : (Ue = !0, 0);\n }\n}),\n We = Ve.extend({\n pointerId: null,\n width: null,\n height: null,\n pressure: null,\n tangentialPressure: null,\n tiltX: null,\n tiltY: null,\n twist: null,\n pointerType: null,\n isPrimary: null\n}),\n Xe = {\n mouseEnter: {\n registrationName: \"onMouseEnter\",\n dependencies: [\"mouseout\", \"mouseover\"]\n },\n mouseLeave: {\n registrationName: \"onMouseLeave\",\n dependencies: [\"mouseout\", \"mouseover\"]\n },\n pointerEnter: {\n registrationName: \"onPointerEnter\",\n dependencies: [\"pointerout\", \"pointerover\"]\n },\n pointerLeave: {\n registrationName: \"onPointerLeave\",\n dependencies: [\"pointerout\", \"pointerover\"]\n }\n},\n Ye = {\n eventTypes: Xe,\n extractEvents: function extractEvents(a, b, c, d, e) {\n var f = \"mouseover\" === a || \"pointerover\" === a,\n g = \"mouseout\" === a || \"pointerout\" === a;\n if (f && 0 === (e & 32) && (c.relatedTarget || c.fromElement) || !g && !f) return null;\n f = d.window === d ? d : (f = d.ownerDocument) ? f.defaultView || f.parentWindow : window;\n\n if (g) {\n if (g = b, b = (b = c.relatedTarget || c.toElement) ? tc(b) : null, null !== b) {\n var h = dc(b);\n if (b !== h || 5 !== b.tag && 6 !== b.tag) b = null;\n }\n } else g = null;\n\n if (g === b) return null;\n\n if (\"mouseout\" === a || \"mouseover\" === a) {\n var k = Ve;\n var l = Xe.mouseLeave;\n var m = Xe.mouseEnter;\n var p = \"mouse\";\n } else if (\"pointerout\" === a || \"pointerover\" === a) k = We, l = Xe.pointerLeave, m = Xe.pointerEnter, p = \"pointer\";\n\n a = null == g ? f : Pd(g);\n f = null == b ? f : Pd(b);\n l = k.getPooled(l, g, c, d);\n l.type = p + \"leave\";\n l.target = a;\n l.relatedTarget = f;\n c = k.getPooled(m, b, c, d);\n c.type = p + \"enter\";\n c.target = f;\n c.relatedTarget = a;\n d = g;\n p = b;\n if (d && p) a: {\n k = d;\n m = p;\n g = 0;\n\n for (a = k; a; a = Rd(a)) {\n g++;\n }\n\n a = 0;\n\n for (b = m; b; b = Rd(b)) {\n a++;\n }\n\n for (; 0 < g - a;) {\n k = Rd(k), g--;\n }\n\n for (; 0 < a - g;) {\n m = Rd(m), a--;\n }\n\n for (; g--;) {\n if (k === m || k === m.alternate) break a;\n k = Rd(k);\n m = Rd(m);\n }\n\n k = null;\n } else k = null;\n m = k;\n\n for (k = []; d && d !== m;) {\n g = d.alternate;\n if (null !== g && g === m) break;\n k.push(d);\n d = Rd(d);\n }\n\n for (d = []; p && p !== m;) {\n g = p.alternate;\n if (null !== g && g === m) break;\n d.push(p);\n p = Rd(p);\n }\n\n for (p = 0; p < k.length; p++) {\n Vd(k[p], \"bubbled\", l);\n }\n\n for (p = d.length; 0 < p--;) {\n Vd(d[p], \"captured\", c);\n }\n\n return 0 === (e & 64) ? [l] : [l, c];\n }\n};\n\nfunction Ze(a, b) {\n return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;\n}\n\nvar $e = \"function\" === typeof Object.is ? Object.is : Ze,\n af = Object.prototype.hasOwnProperty;\n\nfunction bf(a, b) {\n if ($e(a, b)) return !0;\n if (\"object\" !== _typeof(a) || null === a || \"object\" !== _typeof(b) || null === b) return !1;\n var c = Object.keys(a),\n d = Object.keys(b);\n if (c.length !== d.length) return !1;\n\n for (d = 0; d < c.length; d++) {\n if (!af.call(b, c[d]) || !$e(a[c[d]], b[c[d]])) return !1;\n }\n\n return !0;\n}\n\nvar cf = ya && \"documentMode\" in document && 11 >= document.documentMode,\n df = {\n select: {\n phasedRegistrationNames: {\n bubbled: \"onSelect\",\n captured: \"onSelectCapture\"\n },\n dependencies: \"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")\n }\n},\n ef = null,\n ff = null,\n gf = null,\n hf = !1;\n\nfunction jf(a, b) {\n var c = b.window === b ? b.document : 9 === b.nodeType ? b : b.ownerDocument;\n if (hf || null == ef || ef !== td(c)) return null;\n c = ef;\n \"selectionStart\" in c && yd(c) ? c = {\n start: c.selectionStart,\n end: c.selectionEnd\n } : (c = (c.ownerDocument && c.ownerDocument.defaultView || window).getSelection(), c = {\n anchorNode: c.anchorNode,\n anchorOffset: c.anchorOffset,\n focusNode: c.focusNode,\n focusOffset: c.focusOffset\n });\n return gf && bf(gf, c) ? null : (gf = c, a = G.getPooled(df.select, ff, a, b), a.type = \"select\", a.target = ef, Xd(a), a);\n}\n\nvar kf = {\n eventTypes: df,\n extractEvents: function extractEvents(a, b, c, d, e, f) {\n e = f || (d.window === d ? d.document : 9 === d.nodeType ? d : d.ownerDocument);\n\n if (!(f = !e)) {\n a: {\n e = cc(e);\n f = wa.onSelect;\n\n for (var g = 0; g < f.length; g++) {\n if (!e.has(f[g])) {\n e = !1;\n break a;\n }\n }\n\n e = !0;\n }\n\n f = !e;\n }\n\n if (f) return null;\n e = b ? Pd(b) : window;\n\n switch (a) {\n case \"focus\":\n if (xe(e) || \"true\" === e.contentEditable) ef = e, ff = b, gf = null;\n break;\n\n case \"blur\":\n gf = ff = ef = null;\n break;\n\n case \"mousedown\":\n hf = !0;\n break;\n\n case \"contextmenu\":\n case \"mouseup\":\n case \"dragend\":\n return hf = !1, jf(c, d);\n\n case \"selectionchange\":\n if (cf) break;\n\n case \"keydown\":\n case \"keyup\":\n return jf(c, d);\n }\n\n return null;\n }\n},\n lf = G.extend({\n animationName: null,\n elapsedTime: null,\n pseudoElement: null\n}),\n mf = G.extend({\n clipboardData: function clipboardData(a) {\n return \"clipboardData\" in a ? a.clipboardData : window.clipboardData;\n }\n}),\n nf = Ne.extend({\n relatedTarget: null\n});\n\nfunction of(a) {\n var b = a.keyCode;\n \"charCode\" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b;\n 10 === a && (a = 13);\n return 32 <= a || 13 === a ? a : 0;\n}\n\nvar pf = {\n Esc: \"Escape\",\n Spacebar: \" \",\n Left: \"ArrowLeft\",\n Up: \"ArrowUp\",\n Right: \"ArrowRight\",\n Down: \"ArrowDown\",\n Del: \"Delete\",\n Win: \"OS\",\n Menu: \"ContextMenu\",\n Apps: \"ContextMenu\",\n Scroll: \"ScrollLock\",\n MozPrintableKey: \"Unidentified\"\n},\n qf = {\n 8: \"Backspace\",\n 9: \"Tab\",\n 12: \"Clear\",\n 13: \"Enter\",\n 16: \"Shift\",\n 17: \"Control\",\n 18: \"Alt\",\n 19: \"Pause\",\n 20: \"CapsLock\",\n 27: \"Escape\",\n 32: \" \",\n 33: \"PageUp\",\n 34: \"PageDown\",\n 35: \"End\",\n 36: \"Home\",\n 37: \"ArrowLeft\",\n 38: \"ArrowUp\",\n 39: \"ArrowRight\",\n 40: \"ArrowDown\",\n 45: \"Insert\",\n 46: \"Delete\",\n 112: \"F1\",\n 113: \"F2\",\n 114: \"F3\",\n 115: \"F4\",\n 116: \"F5\",\n 117: \"F6\",\n 118: \"F7\",\n 119: \"F8\",\n 120: \"F9\",\n 121: \"F10\",\n 122: \"F11\",\n 123: \"F12\",\n 144: \"NumLock\",\n 145: \"ScrollLock\",\n 224: \"Meta\"\n},\n rf = Ne.extend({\n key: function key(a) {\n if (a.key) {\n var b = pf[a.key] || a.key;\n if (\"Unidentified\" !== b) return b;\n }\n\n return \"keypress\" === a.type ? (a = of(a), 13 === a ? \"Enter\" : String.fromCharCode(a)) : \"keydown\" === a.type || \"keyup\" === a.type ? qf[a.keyCode] || \"Unidentified\" : \"\";\n },\n location: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n repeat: null,\n locale: null,\n getModifierState: Qe,\n charCode: function charCode(a) {\n return \"keypress\" === a.type ? of(a) : 0;\n },\n keyCode: function keyCode(a) {\n return \"keydown\" === a.type || \"keyup\" === a.type ? a.keyCode : 0;\n },\n which: function which(a) {\n return \"keypress\" === a.type ? of(a) : \"keydown\" === a.type || \"keyup\" === a.type ? a.keyCode : 0;\n }\n}),\n sf = Ve.extend({\n dataTransfer: null\n}),\n tf = Ne.extend({\n touches: null,\n targetTouches: null,\n changedTouches: null,\n altKey: null,\n metaKey: null,\n ctrlKey: null,\n shiftKey: null,\n getModifierState: Qe\n}),\n uf = G.extend({\n propertyName: null,\n elapsedTime: null,\n pseudoElement: null\n}),\n vf = Ve.extend({\n deltaX: function deltaX(a) {\n return \"deltaX\" in a ? a.deltaX : \"wheelDeltaX\" in a ? -a.wheelDeltaX : 0;\n },\n deltaY: function deltaY(a) {\n return \"deltaY\" in a ? a.deltaY : \"wheelDeltaY\" in a ? -a.wheelDeltaY : \"wheelDelta\" in a ? -a.wheelDelta : 0;\n },\n deltaZ: null,\n deltaMode: null\n}),\n wf = {\n eventTypes: Wc,\n extractEvents: function extractEvents(a, b, c, d) {\n var e = Yc.get(a);\n if (!e) return null;\n\n switch (a) {\n case \"keypress\":\n if (0 === of(c)) return null;\n\n case \"keydown\":\n case \"keyup\":\n a = rf;\n break;\n\n case \"blur\":\n case \"focus\":\n a = nf;\n break;\n\n case \"click\":\n if (2 === c.button) return null;\n\n case \"auxclick\":\n case \"dblclick\":\n case \"mousedown\":\n case \"mousemove\":\n case \"mouseup\":\n case \"mouseout\":\n case \"mouseover\":\n case \"contextmenu\":\n a = Ve;\n break;\n\n case \"drag\":\n case \"dragend\":\n case \"dragenter\":\n case \"dragexit\":\n case \"dragleave\":\n case \"dragover\":\n case \"dragstart\":\n case \"drop\":\n a = sf;\n break;\n\n case \"touchcancel\":\n case \"touchend\":\n case \"touchmove\":\n case \"touchstart\":\n a = tf;\n break;\n\n case Xb:\n case Yb:\n case Zb:\n a = lf;\n break;\n\n case $b:\n a = uf;\n break;\n\n case \"scroll\":\n a = Ne;\n break;\n\n case \"wheel\":\n a = vf;\n break;\n\n case \"copy\":\n case \"cut\":\n case \"paste\":\n a = mf;\n break;\n\n case \"gotpointercapture\":\n case \"lostpointercapture\":\n case \"pointercancel\":\n case \"pointerdown\":\n case \"pointermove\":\n case \"pointerout\":\n case \"pointerover\":\n case \"pointerup\":\n a = We;\n break;\n\n default:\n a = G;\n }\n\n b = a.getPooled(e, b, c, d);\n Xd(b);\n return b;\n }\n};\nif (pa) throw Error(u(101));\npa = Array.prototype.slice.call(\"ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin\".split(\" \"));\nra();\nvar xf = Nc;\nla = Qd;\nma = xf;\nna = Pd;\nxa({\n SimpleEventPlugin: wf,\n EnterLeaveEventPlugin: Ye,\n ChangeEventPlugin: Me,\n SelectEventPlugin: kf,\n BeforeInputEventPlugin: ve\n});\nvar yf = [],\n zf = -1;\n\nfunction H(a) {\n 0 > zf || (a.current = yf[zf], yf[zf] = null, zf--);\n}\n\nfunction I(a, b) {\n zf++;\n yf[zf] = a.current;\n a.current = b;\n}\n\nvar Af = {},\n J = {\n current: Af\n},\n K = {\n current: !1\n},\n Bf = Af;\n\nfunction Cf(a, b) {\n var c = a.type.contextTypes;\n if (!c) return Af;\n var d = a.stateNode;\n if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;\n var e = {},\n f;\n\n for (f in c) {\n e[f] = b[f];\n }\n\n d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);\n return e;\n}\n\nfunction L(a) {\n a = a.childContextTypes;\n return null !== a && void 0 !== a;\n}\n\nfunction Df() {\n H(K);\n H(J);\n}\n\nfunction Ef(a, b, c) {\n if (J.current !== Af) throw Error(u(168));\n I(J, b);\n I(K, c);\n}\n\nfunction Ff(a, b, c) {\n var d = a.stateNode;\n a = b.childContextTypes;\n if (\"function\" !== typeof d.getChildContext) return c;\n d = d.getChildContext();\n\n for (var e in d) {\n if (!(e in a)) throw Error(u(108, pb(b) || \"Unknown\", e));\n }\n\n return n({}, c, {}, d);\n}\n\nfunction Gf(a) {\n a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || Af;\n Bf = J.current;\n I(J, a);\n I(K, K.current);\n return !0;\n}\n\nfunction Hf(a, b, c) {\n var d = a.stateNode;\n if (!d) throw Error(u(169));\n c ? (a = Ff(a, b, Bf), d.__reactInternalMemoizedMergedChildContext = a, H(K), H(J), I(J, a)) : H(K);\n I(K, c);\n}\n\nvar If = r.unstable_runWithPriority,\n Jf = r.unstable_scheduleCallback,\n Kf = r.unstable_cancelCallback,\n Lf = r.unstable_requestPaint,\n Mf = r.unstable_now,\n Nf = r.unstable_getCurrentPriorityLevel,\n Of = r.unstable_ImmediatePriority,\n Pf = r.unstable_UserBlockingPriority,\n Qf = r.unstable_NormalPriority,\n Rf = r.unstable_LowPriority,\n Sf = r.unstable_IdlePriority,\n Tf = {},\n Uf = r.unstable_shouldYield,\n Vf = void 0 !== Lf ? Lf : function () {},\n Wf = null,\n Xf = null,\n Yf = !1,\n Zf = Mf(),\n $f = 1E4 > Zf ? Mf : function () {\n return Mf() - Zf;\n};\n\nfunction ag() {\n switch (Nf()) {\n case Of:\n return 99;\n\n case Pf:\n return 98;\n\n case Qf:\n return 97;\n\n case Rf:\n return 96;\n\n case Sf:\n return 95;\n\n default:\n throw Error(u(332));\n }\n}\n\nfunction bg(a) {\n switch (a) {\n case 99:\n return Of;\n\n case 98:\n return Pf;\n\n case 97:\n return Qf;\n\n case 96:\n return Rf;\n\n case 95:\n return Sf;\n\n default:\n throw Error(u(332));\n }\n}\n\nfunction cg(a, b) {\n a = bg(a);\n return If(a, b);\n}\n\nfunction dg(a, b, c) {\n a = bg(a);\n return Jf(a, b, c);\n}\n\nfunction eg(a) {\n null === Wf ? (Wf = [a], Xf = Jf(Of, fg)) : Wf.push(a);\n return Tf;\n}\n\nfunction gg() {\n if (null !== Xf) {\n var a = Xf;\n Xf = null;\n Kf(a);\n }\n\n fg();\n}\n\nfunction fg() {\n if (!Yf && null !== Wf) {\n Yf = !0;\n var a = 0;\n\n try {\n var b = Wf;\n cg(99, function () {\n for (; a < b.length; a++) {\n var c = b[a];\n\n do {\n c = c(!0);\n } while (null !== c);\n }\n });\n Wf = null;\n } catch (c) {\n throw null !== Wf && (Wf = Wf.slice(a + 1)), Jf(Of, gg), c;\n } finally {\n Yf = !1;\n }\n }\n}\n\nfunction hg(a, b, c) {\n c /= 10;\n return 1073741821 - (((1073741821 - a + b / 10) / c | 0) + 1) * c;\n}\n\nfunction ig(a, b) {\n if (a && a.defaultProps) {\n b = n({}, b);\n a = a.defaultProps;\n\n for (var c in a) {\n void 0 === b[c] && (b[c] = a[c]);\n }\n }\n\n return b;\n}\n\nvar jg = {\n current: null\n},\n kg = null,\n lg = null,\n mg = null;\n\nfunction ng() {\n mg = lg = kg = null;\n}\n\nfunction og(a) {\n var b = jg.current;\n H(jg);\n a.type._context._currentValue = b;\n}\n\nfunction pg(a, b) {\n for (; null !== a;) {\n var c = a.alternate;\n if (a.childExpirationTime < b) a.childExpirationTime = b, null !== c && c.childExpirationTime < b && (c.childExpirationTime = b);else if (null !== c && c.childExpirationTime < b) c.childExpirationTime = b;else break;\n a = a.return;\n }\n}\n\nfunction qg(a, b) {\n kg = a;\n mg = lg = null;\n a = a.dependencies;\n null !== a && null !== a.firstContext && (a.expirationTime >= b && (rg = !0), a.firstContext = null);\n}\n\nfunction sg(a, b) {\n if (mg !== a && !1 !== b && 0 !== b) {\n if (\"number\" !== typeof b || 1073741823 === b) mg = a, b = 1073741823;\n b = {\n context: a,\n observedBits: b,\n next: null\n };\n\n if (null === lg) {\n if (null === kg) throw Error(u(308));\n lg = b;\n kg.dependencies = {\n expirationTime: 0,\n firstContext: b,\n responders: null\n };\n } else lg = lg.next = b;\n }\n\n return a._currentValue;\n}\n\nvar tg = !1;\n\nfunction ug(a) {\n a.updateQueue = {\n baseState: a.memoizedState,\n baseQueue: null,\n shared: {\n pending: null\n },\n effects: null\n };\n}\n\nfunction vg(a, b) {\n a = a.updateQueue;\n b.updateQueue === a && (b.updateQueue = {\n baseState: a.baseState,\n baseQueue: a.baseQueue,\n shared: a.shared,\n effects: a.effects\n });\n}\n\nfunction wg(a, b) {\n a = {\n expirationTime: a,\n suspenseConfig: b,\n tag: 0,\n payload: null,\n callback: null,\n next: null\n };\n return a.next = a;\n}\n\nfunction xg(a, b) {\n a = a.updateQueue;\n\n if (null !== a) {\n a = a.shared;\n var c = a.pending;\n null === c ? b.next = b : (b.next = c.next, c.next = b);\n a.pending = b;\n }\n}\n\nfunction yg(a, b) {\n var c = a.alternate;\n null !== c && vg(c, a);\n a = a.updateQueue;\n c = a.baseQueue;\n null === c ? (a.baseQueue = b.next = b, b.next = b) : (b.next = c.next, c.next = b);\n}\n\nfunction zg(a, b, c, d) {\n var e = a.updateQueue;\n tg = !1;\n var f = e.baseQueue,\n g = e.shared.pending;\n\n if (null !== g) {\n if (null !== f) {\n var h = f.next;\n f.next = g.next;\n g.next = h;\n }\n\n f = g;\n e.shared.pending = null;\n h = a.alternate;\n null !== h && (h = h.updateQueue, null !== h && (h.baseQueue = g));\n }\n\n if (null !== f) {\n h = f.next;\n var k = e.baseState,\n l = 0,\n m = null,\n p = null,\n x = null;\n\n if (null !== h) {\n var z = h;\n\n do {\n g = z.expirationTime;\n\n if (g < d) {\n var ca = {\n expirationTime: z.expirationTime,\n suspenseConfig: z.suspenseConfig,\n tag: z.tag,\n payload: z.payload,\n callback: z.callback,\n next: null\n };\n null === x ? (p = x = ca, m = k) : x = x.next = ca;\n g > l && (l = g);\n } else {\n null !== x && (x = x.next = {\n expirationTime: 1073741823,\n suspenseConfig: z.suspenseConfig,\n tag: z.tag,\n payload: z.payload,\n callback: z.callback,\n next: null\n });\n Ag(g, z.suspenseConfig);\n\n a: {\n var D = a,\n t = z;\n g = b;\n ca = c;\n\n switch (t.tag) {\n case 1:\n D = t.payload;\n\n if (\"function\" === typeof D) {\n k = D.call(ca, k, g);\n break a;\n }\n\n k = D;\n break a;\n\n case 3:\n D.effectTag = D.effectTag & -4097 | 64;\n\n case 0:\n D = t.payload;\n g = \"function\" === typeof D ? D.call(ca, k, g) : D;\n if (null === g || void 0 === g) break a;\n k = n({}, k, g);\n break a;\n\n case 2:\n tg = !0;\n }\n }\n\n null !== z.callback && (a.effectTag |= 32, g = e.effects, null === g ? e.effects = [z] : g.push(z));\n }\n\n z = z.next;\n if (null === z || z === h) if (g = e.shared.pending, null === g) break;else z = f.next = g.next, g.next = h, e.baseQueue = f = g, e.shared.pending = null;\n } while (1);\n }\n\n null === x ? m = k : x.next = p;\n e.baseState = m;\n e.baseQueue = x;\n Bg(l);\n a.expirationTime = l;\n a.memoizedState = k;\n }\n}\n\nfunction Cg(a, b, c) {\n a = b.effects;\n b.effects = null;\n if (null !== a) for (b = 0; b < a.length; b++) {\n var d = a[b],\n e = d.callback;\n\n if (null !== e) {\n d.callback = null;\n d = e;\n e = c;\n if (\"function\" !== typeof d) throw Error(u(191, d));\n d.call(e);\n }\n }\n}\n\nvar Dg = Wa.ReactCurrentBatchConfig,\n Eg = new aa.Component().refs;\n\nfunction Fg(a, b, c, d) {\n b = a.memoizedState;\n c = c(d, b);\n c = null === c || void 0 === c ? b : n({}, b, c);\n a.memoizedState = c;\n 0 === a.expirationTime && (a.updateQueue.baseState = c);\n}\n\nvar Jg = {\n isMounted: function isMounted(a) {\n return (a = a._reactInternalFiber) ? dc(a) === a : !1;\n },\n enqueueSetState: function enqueueSetState(a, b, c) {\n a = a._reactInternalFiber;\n var d = Gg(),\n e = Dg.suspense;\n d = Hg(d, a, e);\n e = wg(d, e);\n e.payload = b;\n void 0 !== c && null !== c && (e.callback = c);\n xg(a, e);\n Ig(a, d);\n },\n enqueueReplaceState: function enqueueReplaceState(a, b, c) {\n a = a._reactInternalFiber;\n var d = Gg(),\n e = Dg.suspense;\n d = Hg(d, a, e);\n e = wg(d, e);\n e.tag = 1;\n e.payload = b;\n void 0 !== c && null !== c && (e.callback = c);\n xg(a, e);\n Ig(a, d);\n },\n enqueueForceUpdate: function enqueueForceUpdate(a, b) {\n a = a._reactInternalFiber;\n var c = Gg(),\n d = Dg.suspense;\n c = Hg(c, a, d);\n d = wg(c, d);\n d.tag = 2;\n void 0 !== b && null !== b && (d.callback = b);\n xg(a, d);\n Ig(a, c);\n }\n};\n\nfunction Kg(a, b, c, d, e, f, g) {\n a = a.stateNode;\n return \"function\" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !bf(c, d) || !bf(e, f) : !0;\n}\n\nfunction Lg(a, b, c) {\n var d = !1,\n e = Af;\n var f = b.contextType;\n \"object\" === _typeof(f) && null !== f ? f = sg(f) : (e = L(b) ? Bf : J.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? Cf(a, e) : Af);\n b = new b(c, f);\n a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;\n b.updater = Jg;\n a.stateNode = b;\n b._reactInternalFiber = a;\n d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f);\n return b;\n}\n\nfunction Mg(a, b, c, d) {\n a = b.state;\n \"function\" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);\n \"function\" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);\n b.state !== a && Jg.enqueueReplaceState(b, b.state, null);\n}\n\nfunction Ng(a, b, c, d) {\n var e = a.stateNode;\n e.props = c;\n e.state = a.memoizedState;\n e.refs = Eg;\n ug(a);\n var f = b.contextType;\n \"object\" === _typeof(f) && null !== f ? e.context = sg(f) : (f = L(b) ? Bf : J.current, e.context = Cf(a, f));\n zg(a, c, e, d);\n e.state = a.memoizedState;\n f = b.getDerivedStateFromProps;\n \"function\" === typeof f && (Fg(a, b, f, c), e.state = a.memoizedState);\n \"function\" === typeof b.getDerivedStateFromProps || \"function\" === typeof e.getSnapshotBeforeUpdate || \"function\" !== typeof e.UNSAFE_componentWillMount && \"function\" !== typeof e.componentWillMount || (b = e.state, \"function\" === typeof e.componentWillMount && e.componentWillMount(), \"function\" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && Jg.enqueueReplaceState(e, e.state, null), zg(a, c, e, d), e.state = a.memoizedState);\n \"function\" === typeof e.componentDidMount && (a.effectTag |= 4);\n}\n\nvar Og = Array.isArray;\n\nfunction Pg(a, b, c) {\n a = c.ref;\n\n if (null !== a && \"function\" !== typeof a && \"object\" !== _typeof(a)) {\n if (c._owner) {\n c = c._owner;\n\n if (c) {\n if (1 !== c.tag) throw Error(u(309));\n var d = c.stateNode;\n }\n\n if (!d) throw Error(u(147, a));\n var e = \"\" + a;\n if (null !== b && null !== b.ref && \"function\" === typeof b.ref && b.ref._stringRef === e) return b.ref;\n\n b = function b(a) {\n var b = d.refs;\n b === Eg && (b = d.refs = {});\n null === a ? delete b[e] : b[e] = a;\n };\n\n b._stringRef = e;\n return b;\n }\n\n if (\"string\" !== typeof a) throw Error(u(284));\n if (!c._owner) throw Error(u(290, a));\n }\n\n return a;\n}\n\nfunction Qg(a, b) {\n if (\"textarea\" !== a.type) throw Error(u(31, \"[object Object]\" === Object.prototype.toString.call(b) ? \"object with keys {\" + Object.keys(b).join(\", \") + \"}\" : b, \"\"));\n}\n\nfunction Rg(a) {\n function b(b, c) {\n if (a) {\n var d = b.lastEffect;\n null !== d ? (d.nextEffect = c, b.lastEffect = c) : b.firstEffect = b.lastEffect = c;\n c.nextEffect = null;\n c.effectTag = 8;\n }\n }\n\n function c(c, d) {\n if (!a) return null;\n\n for (; null !== d;) {\n b(c, d), d = d.sibling;\n }\n\n return null;\n }\n\n function d(a, b) {\n for (a = new Map(); null !== b;) {\n null !== b.key ? a.set(b.key, b) : a.set(b.index, b), b = b.sibling;\n }\n\n return a;\n }\n\n function e(a, b) {\n a = Sg(a, b);\n a.index = 0;\n a.sibling = null;\n return a;\n }\n\n function f(b, c, d) {\n b.index = d;\n if (!a) return c;\n d = b.alternate;\n if (null !== d) return d = d.index, d < c ? (b.effectTag = 2, c) : d;\n b.effectTag = 2;\n return c;\n }\n\n function g(b) {\n a && null === b.alternate && (b.effectTag = 2);\n return b;\n }\n\n function h(a, b, c, d) {\n if (null === b || 6 !== b.tag) return b = Tg(c, a.mode, d), b.return = a, b;\n b = e(b, c);\n b.return = a;\n return b;\n }\n\n function k(a, b, c, d) {\n if (null !== b && b.elementType === c.type) return d = e(b, c.props), d.ref = Pg(a, b, c), d.return = a, d;\n d = Ug(c.type, c.key, c.props, null, a.mode, d);\n d.ref = Pg(a, b, c);\n d.return = a;\n return d;\n }\n\n function l(a, b, c, d) {\n if (null === b || 4 !== b.tag || b.stateNode.containerInfo !== c.containerInfo || b.stateNode.implementation !== c.implementation) return b = Vg(c, a.mode, d), b.return = a, b;\n b = e(b, c.children || []);\n b.return = a;\n return b;\n }\n\n function m(a, b, c, d, f) {\n if (null === b || 7 !== b.tag) return b = Wg(c, a.mode, d, f), b.return = a, b;\n b = e(b, c);\n b.return = a;\n return b;\n }\n\n function p(a, b, c) {\n if (\"string\" === typeof b || \"number\" === typeof b) return b = Tg(\"\" + b, a.mode, c), b.return = a, b;\n\n if (\"object\" === _typeof(b) && null !== b) {\n switch (b.$$typeof) {\n case Za:\n return c = Ug(b.type, b.key, b.props, null, a.mode, c), c.ref = Pg(a, null, b), c.return = a, c;\n\n case $a:\n return b = Vg(b, a.mode, c), b.return = a, b;\n }\n\n if (Og(b) || nb(b)) return b = Wg(b, a.mode, c, null), b.return = a, b;\n Qg(a, b);\n }\n\n return null;\n }\n\n function x(a, b, c, d) {\n var e = null !== b ? b.key : null;\n if (\"string\" === typeof c || \"number\" === typeof c) return null !== e ? null : h(a, b, \"\" + c, d);\n\n if (\"object\" === _typeof(c) && null !== c) {\n switch (c.$$typeof) {\n case Za:\n return c.key === e ? c.type === ab ? m(a, b, c.props.children, d, e) : k(a, b, c, d) : null;\n\n case $a:\n return c.key === e ? l(a, b, c, d) : null;\n }\n\n if (Og(c) || nb(c)) return null !== e ? null : m(a, b, c, d, null);\n Qg(a, c);\n }\n\n return null;\n }\n\n function z(a, b, c, d, e) {\n if (\"string\" === typeof d || \"number\" === typeof d) return a = a.get(c) || null, h(b, a, \"\" + d, e);\n\n if (\"object\" === _typeof(d) && null !== d) {\n switch (d.$$typeof) {\n case Za:\n return a = a.get(null === d.key ? c : d.key) || null, d.type === ab ? m(b, a, d.props.children, e, d.key) : k(b, a, d, e);\n\n case $a:\n return a = a.get(null === d.key ? c : d.key) || null, l(b, a, d, e);\n }\n\n if (Og(d) || nb(d)) return a = a.get(c) || null, m(b, a, d, e, null);\n Qg(b, d);\n }\n\n return null;\n }\n\n function ca(e, g, h, k) {\n for (var l = null, t = null, m = g, y = g = 0, A = null; null !== m && y < h.length; y++) {\n m.index > y ? (A = m, m = null) : A = m.sibling;\n var q = x(e, m, h[y], k);\n\n if (null === q) {\n null === m && (m = A);\n break;\n }\n\n a && m && null === q.alternate && b(e, m);\n g = f(q, g, y);\n null === t ? l = q : t.sibling = q;\n t = q;\n m = A;\n }\n\n if (y === h.length) return c(e, m), l;\n\n if (null === m) {\n for (; y < h.length; y++) {\n m = p(e, h[y], k), null !== m && (g = f(m, g, y), null === t ? l = m : t.sibling = m, t = m);\n }\n\n return l;\n }\n\n for (m = d(e, m); y < h.length; y++) {\n A = z(m, e, y, h[y], k), null !== A && (a && null !== A.alternate && m.delete(null === A.key ? y : A.key), g = f(A, g, y), null === t ? l = A : t.sibling = A, t = A);\n }\n\n a && m.forEach(function (a) {\n return b(e, a);\n });\n return l;\n }\n\n function D(e, g, h, l) {\n var k = nb(h);\n if (\"function\" !== typeof k) throw Error(u(150));\n h = k.call(h);\n if (null == h) throw Error(u(151));\n\n for (var m = k = null, t = g, y = g = 0, A = null, q = h.next(); null !== t && !q.done; y++, q = h.next()) {\n t.index > y ? (A = t, t = null) : A = t.sibling;\n var D = x(e, t, q.value, l);\n\n if (null === D) {\n null === t && (t = A);\n break;\n }\n\n a && t && null === D.alternate && b(e, t);\n g = f(D, g, y);\n null === m ? k = D : m.sibling = D;\n m = D;\n t = A;\n }\n\n if (q.done) return c(e, t), k;\n\n if (null === t) {\n for (; !q.done; y++, q = h.next()) {\n q = p(e, q.value, l), null !== q && (g = f(q, g, y), null === m ? k = q : m.sibling = q, m = q);\n }\n\n return k;\n }\n\n for (t = d(e, t); !q.done; y++, q = h.next()) {\n q = z(t, e, y, q.value, l), null !== q && (a && null !== q.alternate && t.delete(null === q.key ? y : q.key), g = f(q, g, y), null === m ? k = q : m.sibling = q, m = q);\n }\n\n a && t.forEach(function (a) {\n return b(e, a);\n });\n return k;\n }\n\n return function (a, d, f, h) {\n var k = \"object\" === _typeof(f) && null !== f && f.type === ab && null === f.key;\n k && (f = f.props.children);\n var l = \"object\" === _typeof(f) && null !== f;\n if (l) switch (f.$$typeof) {\n case Za:\n a: {\n l = f.key;\n\n for (k = d; null !== k;) {\n if (k.key === l) {\n switch (k.tag) {\n case 7:\n if (f.type === ab) {\n c(a, k.sibling);\n d = e(k, f.props.children);\n d.return = a;\n a = d;\n break a;\n }\n\n break;\n\n default:\n if (k.elementType === f.type) {\n c(a, k.sibling);\n d = e(k, f.props);\n d.ref = Pg(a, k, f);\n d.return = a;\n a = d;\n break a;\n }\n\n }\n\n c(a, k);\n break;\n } else b(a, k);\n\n k = k.sibling;\n }\n\n f.type === ab ? (d = Wg(f.props.children, a.mode, h, f.key), d.return = a, a = d) : (h = Ug(f.type, f.key, f.props, null, a.mode, h), h.ref = Pg(a, d, f), h.return = a, a = h);\n }\n\n return g(a);\n\n case $a:\n a: {\n for (k = f.key; null !== d;) {\n if (d.key === k) {\n if (4 === d.tag && d.stateNode.containerInfo === f.containerInfo && d.stateNode.implementation === f.implementation) {\n c(a, d.sibling);\n d = e(d, f.children || []);\n d.return = a;\n a = d;\n break a;\n } else {\n c(a, d);\n break;\n }\n } else b(a, d);\n d = d.sibling;\n }\n\n d = Vg(f, a.mode, h);\n d.return = a;\n a = d;\n }\n\n return g(a);\n }\n if (\"string\" === typeof f || \"number\" === typeof f) return f = \"\" + f, null !== d && 6 === d.tag ? (c(a, d.sibling), d = e(d, f), d.return = a, a = d) : (c(a, d), d = Tg(f, a.mode, h), d.return = a, a = d), g(a);\n if (Og(f)) return ca(a, d, f, h);\n if (nb(f)) return D(a, d, f, h);\n l && Qg(a, f);\n if (\"undefined\" === typeof f && !k) switch (a.tag) {\n case 1:\n case 0:\n throw a = a.type, Error(u(152, a.displayName || a.name || \"Component\"));\n }\n return c(a, d);\n };\n}\n\nvar Xg = Rg(!0),\n Yg = Rg(!1),\n Zg = {},\n $g = {\n current: Zg\n},\n ah = {\n current: Zg\n},\n bh = {\n current: Zg\n};\n\nfunction ch(a) {\n if (a === Zg) throw Error(u(174));\n return a;\n}\n\nfunction dh(a, b) {\n I(bh, b);\n I(ah, a);\n I($g, Zg);\n a = b.nodeType;\n\n switch (a) {\n case 9:\n case 11:\n b = (b = b.documentElement) ? b.namespaceURI : Ob(null, \"\");\n break;\n\n default:\n a = 8 === a ? b.parentNode : b, b = a.namespaceURI || null, a = a.tagName, b = Ob(b, a);\n }\n\n H($g);\n I($g, b);\n}\n\nfunction eh() {\n H($g);\n H(ah);\n H(bh);\n}\n\nfunction fh(a) {\n ch(bh.current);\n var b = ch($g.current);\n var c = Ob(b, a.type);\n b !== c && (I(ah, a), I($g, c));\n}\n\nfunction gh(a) {\n ah.current === a && (H($g), H(ah));\n}\n\nvar M = {\n current: 0\n};\n\nfunction hh(a) {\n for (var b = a; null !== b;) {\n if (13 === b.tag) {\n var c = b.memoizedState;\n if (null !== c && (c = c.dehydrated, null === c || c.data === Bd || c.data === Cd)) return b;\n } else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) {\n if (0 !== (b.effectTag & 64)) return b;\n } else if (null !== b.child) {\n b.child.return = b;\n b = b.child;\n continue;\n }\n\n if (b === a) break;\n\n for (; null === b.sibling;) {\n if (null === b.return || b.return === a) return null;\n b = b.return;\n }\n\n b.sibling.return = b.return;\n b = b.sibling;\n }\n\n return null;\n}\n\nfunction ih(a, b) {\n return {\n responder: a,\n props: b\n };\n}\n\nvar jh = Wa.ReactCurrentDispatcher,\n kh = Wa.ReactCurrentBatchConfig,\n lh = 0,\n N = null,\n O = null,\n P = null,\n mh = !1;\n\nfunction Q() {\n throw Error(u(321));\n}\n\nfunction nh(a, b) {\n if (null === b) return !1;\n\n for (var c = 0; c < b.length && c < a.length; c++) {\n if (!$e(a[c], b[c])) return !1;\n }\n\n return !0;\n}\n\nfunction oh(a, b, c, d, e, f) {\n lh = f;\n N = b;\n b.memoizedState = null;\n b.updateQueue = null;\n b.expirationTime = 0;\n jh.current = null === a || null === a.memoizedState ? ph : qh;\n a = c(d, e);\n\n if (b.expirationTime === lh) {\n f = 0;\n\n do {\n b.expirationTime = 0;\n if (!(25 > f)) throw Error(u(301));\n f += 1;\n P = O = null;\n b.updateQueue = null;\n jh.current = rh;\n a = c(d, e);\n } while (b.expirationTime === lh);\n }\n\n jh.current = sh;\n b = null !== O && null !== O.next;\n lh = 0;\n P = O = N = null;\n mh = !1;\n if (b) throw Error(u(300));\n return a;\n}\n\nfunction th() {\n var a = {\n memoizedState: null,\n baseState: null,\n baseQueue: null,\n queue: null,\n next: null\n };\n null === P ? N.memoizedState = P = a : P = P.next = a;\n return P;\n}\n\nfunction uh() {\n if (null === O) {\n var a = N.alternate;\n a = null !== a ? a.memoizedState : null;\n } else a = O.next;\n\n var b = null === P ? N.memoizedState : P.next;\n if (null !== b) P = b, O = a;else {\n if (null === a) throw Error(u(310));\n O = a;\n a = {\n memoizedState: O.memoizedState,\n baseState: O.baseState,\n baseQueue: O.baseQueue,\n queue: O.queue,\n next: null\n };\n null === P ? N.memoizedState = P = a : P = P.next = a;\n }\n return P;\n}\n\nfunction vh(a, b) {\n return \"function\" === typeof b ? b(a) : b;\n}\n\nfunction wh(a) {\n var b = uh(),\n c = b.queue;\n if (null === c) throw Error(u(311));\n c.lastRenderedReducer = a;\n var d = O,\n e = d.baseQueue,\n f = c.pending;\n\n if (null !== f) {\n if (null !== e) {\n var g = e.next;\n e.next = f.next;\n f.next = g;\n }\n\n d.baseQueue = e = f;\n c.pending = null;\n }\n\n if (null !== e) {\n e = e.next;\n d = d.baseState;\n var h = g = f = null,\n k = e;\n\n do {\n var l = k.expirationTime;\n\n if (l < lh) {\n var m = {\n expirationTime: k.expirationTime,\n suspenseConfig: k.suspenseConfig,\n action: k.action,\n eagerReducer: k.eagerReducer,\n eagerState: k.eagerState,\n next: null\n };\n null === h ? (g = h = m, f = d) : h = h.next = m;\n l > N.expirationTime && (N.expirationTime = l, Bg(l));\n } else null !== h && (h = h.next = {\n expirationTime: 1073741823,\n suspenseConfig: k.suspenseConfig,\n action: k.action,\n eagerReducer: k.eagerReducer,\n eagerState: k.eagerState,\n next: null\n }), Ag(l, k.suspenseConfig), d = k.eagerReducer === a ? k.eagerState : a(d, k.action);\n\n k = k.next;\n } while (null !== k && k !== e);\n\n null === h ? f = d : h.next = g;\n $e(d, b.memoizedState) || (rg = !0);\n b.memoizedState = d;\n b.baseState = f;\n b.baseQueue = h;\n c.lastRenderedState = d;\n }\n\n return [b.memoizedState, c.dispatch];\n}\n\nfunction xh(a) {\n var b = uh(),\n c = b.queue;\n if (null === c) throw Error(u(311));\n c.lastRenderedReducer = a;\n var d = c.dispatch,\n e = c.pending,\n f = b.memoizedState;\n\n if (null !== e) {\n c.pending = null;\n var g = e = e.next;\n\n do {\n f = a(f, g.action), g = g.next;\n } while (g !== e);\n\n $e(f, b.memoizedState) || (rg = !0);\n b.memoizedState = f;\n null === b.baseQueue && (b.baseState = f);\n c.lastRenderedState = f;\n }\n\n return [f, d];\n}\n\nfunction yh(a) {\n var b = th();\n \"function\" === typeof a && (a = a());\n b.memoizedState = b.baseState = a;\n a = b.queue = {\n pending: null,\n dispatch: null,\n lastRenderedReducer: vh,\n lastRenderedState: a\n };\n a = a.dispatch = zh.bind(null, N, a);\n return [b.memoizedState, a];\n}\n\nfunction Ah(a, b, c, d) {\n a = {\n tag: a,\n create: b,\n destroy: c,\n deps: d,\n next: null\n };\n b = N.updateQueue;\n null === b ? (b = {\n lastEffect: null\n }, N.updateQueue = b, b.lastEffect = a.next = a) : (c = b.lastEffect, null === c ? b.lastEffect = a.next = a : (d = c.next, c.next = a, a.next = d, b.lastEffect = a));\n return a;\n}\n\nfunction Bh() {\n return uh().memoizedState;\n}\n\nfunction Ch(a, b, c, d) {\n var e = th();\n N.effectTag |= a;\n e.memoizedState = Ah(1 | b, c, void 0, void 0 === d ? null : d);\n}\n\nfunction Dh(a, b, c, d) {\n var e = uh();\n d = void 0 === d ? null : d;\n var f = void 0;\n\n if (null !== O) {\n var g = O.memoizedState;\n f = g.destroy;\n\n if (null !== d && nh(d, g.deps)) {\n Ah(b, c, f, d);\n return;\n }\n }\n\n N.effectTag |= a;\n e.memoizedState = Ah(1 | b, c, f, d);\n}\n\nfunction Eh(a, b) {\n return Ch(516, 4, a, b);\n}\n\nfunction Fh(a, b) {\n return Dh(516, 4, a, b);\n}\n\nfunction Gh(a, b) {\n return Dh(4, 2, a, b);\n}\n\nfunction Hh(a, b) {\n if (\"function\" === typeof b) return a = a(), b(a), function () {\n b(null);\n };\n if (null !== b && void 0 !== b) return a = a(), b.current = a, function () {\n b.current = null;\n };\n}\n\nfunction Ih(a, b, c) {\n c = null !== c && void 0 !== c ? c.concat([a]) : null;\n return Dh(4, 2, Hh.bind(null, b, a), c);\n}\n\nfunction Jh() {}\n\nfunction Kh(a, b) {\n th().memoizedState = [a, void 0 === b ? null : b];\n return a;\n}\n\nfunction Lh(a, b) {\n var c = uh();\n b = void 0 === b ? null : b;\n var d = c.memoizedState;\n if (null !== d && null !== b && nh(b, d[1])) return d[0];\n c.memoizedState = [a, b];\n return a;\n}\n\nfunction Mh(a, b) {\n var c = uh();\n b = void 0 === b ? null : b;\n var d = c.memoizedState;\n if (null !== d && null !== b && nh(b, d[1])) return d[0];\n a = a();\n c.memoizedState = [a, b];\n return a;\n}\n\nfunction Nh(a, b, c) {\n var d = ag();\n cg(98 > d ? 98 : d, function () {\n a(!0);\n });\n cg(97 < d ? 97 : d, function () {\n var d = kh.suspense;\n kh.suspense = void 0 === b ? null : b;\n\n try {\n a(!1), c();\n } finally {\n kh.suspense = d;\n }\n });\n}\n\nfunction zh(a, b, c) {\n var d = Gg(),\n e = Dg.suspense;\n d = Hg(d, a, e);\n e = {\n expirationTime: d,\n suspenseConfig: e,\n action: c,\n eagerReducer: null,\n eagerState: null,\n next: null\n };\n var f = b.pending;\n null === f ? e.next = e : (e.next = f.next, f.next = e);\n b.pending = e;\n f = a.alternate;\n if (a === N || null !== f && f === N) mh = !0, e.expirationTime = lh, N.expirationTime = lh;else {\n if (0 === a.expirationTime && (null === f || 0 === f.expirationTime) && (f = b.lastRenderedReducer, null !== f)) try {\n var g = b.lastRenderedState,\n h = f(g, c);\n e.eagerReducer = f;\n e.eagerState = h;\n if ($e(h, g)) return;\n } catch (k) {} finally {}\n Ig(a, d);\n }\n}\n\nvar sh = {\n readContext: sg,\n useCallback: Q,\n useContext: Q,\n useEffect: Q,\n useImperativeHandle: Q,\n useLayoutEffect: Q,\n useMemo: Q,\n useReducer: Q,\n useRef: Q,\n useState: Q,\n useDebugValue: Q,\n useResponder: Q,\n useDeferredValue: Q,\n useTransition: Q\n},\n ph = {\n readContext: sg,\n useCallback: Kh,\n useContext: sg,\n useEffect: Eh,\n useImperativeHandle: function useImperativeHandle(a, b, c) {\n c = null !== c && void 0 !== c ? c.concat([a]) : null;\n return Ch(4, 2, Hh.bind(null, b, a), c);\n },\n useLayoutEffect: function useLayoutEffect(a, b) {\n return Ch(4, 2, a, b);\n },\n useMemo: function useMemo(a, b) {\n var c = th();\n b = void 0 === b ? null : b;\n a = a();\n c.memoizedState = [a, b];\n return a;\n },\n useReducer: function useReducer(a, b, c) {\n var d = th();\n b = void 0 !== c ? c(b) : b;\n d.memoizedState = d.baseState = b;\n a = d.queue = {\n pending: null,\n dispatch: null,\n lastRenderedReducer: a,\n lastRenderedState: b\n };\n a = a.dispatch = zh.bind(null, N, a);\n return [d.memoizedState, a];\n },\n useRef: function useRef(a) {\n var b = th();\n a = {\n current: a\n };\n return b.memoizedState = a;\n },\n useState: yh,\n useDebugValue: Jh,\n useResponder: ih,\n useDeferredValue: function useDeferredValue(a, b) {\n var c = yh(a),\n d = c[0],\n e = c[1];\n Eh(function () {\n var c = kh.suspense;\n kh.suspense = void 0 === b ? null : b;\n\n try {\n e(a);\n } finally {\n kh.suspense = c;\n }\n }, [a, b]);\n return d;\n },\n useTransition: function useTransition(a) {\n var b = yh(!1),\n c = b[0];\n b = b[1];\n return [Kh(Nh.bind(null, b, a), [b, a]), c];\n }\n},\n qh = {\n readContext: sg,\n useCallback: Lh,\n useContext: sg,\n useEffect: Fh,\n useImperativeHandle: Ih,\n useLayoutEffect: Gh,\n useMemo: Mh,\n useReducer: wh,\n useRef: Bh,\n useState: function useState() {\n return wh(vh);\n },\n useDebugValue: Jh,\n useResponder: ih,\n useDeferredValue: function useDeferredValue(a, b) {\n var c = wh(vh),\n d = c[0],\n e = c[1];\n Fh(function () {\n var c = kh.suspense;\n kh.suspense = void 0 === b ? null : b;\n\n try {\n e(a);\n } finally {\n kh.suspense = c;\n }\n }, [a, b]);\n return d;\n },\n useTransition: function useTransition(a) {\n var b = wh(vh),\n c = b[0];\n b = b[1];\n return [Lh(Nh.bind(null, b, a), [b, a]), c];\n }\n},\n rh = {\n readContext: sg,\n useCallback: Lh,\n useContext: sg,\n useEffect: Fh,\n useImperativeHandle: Ih,\n useLayoutEffect: Gh,\n useMemo: Mh,\n useReducer: xh,\n useRef: Bh,\n useState: function useState() {\n return xh(vh);\n },\n useDebugValue: Jh,\n useResponder: ih,\n useDeferredValue: function useDeferredValue(a, b) {\n var c = xh(vh),\n d = c[0],\n e = c[1];\n Fh(function () {\n var c = kh.suspense;\n kh.suspense = void 0 === b ? null : b;\n\n try {\n e(a);\n } finally {\n kh.suspense = c;\n }\n }, [a, b]);\n return d;\n },\n useTransition: function useTransition(a) {\n var b = xh(vh),\n c = b[0];\n b = b[1];\n return [Lh(Nh.bind(null, b, a), [b, a]), c];\n }\n},\n Oh = null,\n Ph = null,\n Qh = !1;\n\nfunction Rh(a, b) {\n var c = Sh(5, null, null, 0);\n c.elementType = \"DELETED\";\n c.type = \"DELETED\";\n c.stateNode = b;\n c.return = a;\n c.effectTag = 8;\n null !== a.lastEffect ? (a.lastEffect.nextEffect = c, a.lastEffect = c) : a.firstEffect = a.lastEffect = c;\n}\n\nfunction Th(a, b) {\n switch (a.tag) {\n case 5:\n var c = a.type;\n b = 1 !== b.nodeType || c.toLowerCase() !== b.nodeName.toLowerCase() ? null : b;\n return null !== b ? (a.stateNode = b, !0) : !1;\n\n case 6:\n return b = \"\" === a.pendingProps || 3 !== b.nodeType ? null : b, null !== b ? (a.stateNode = b, !0) : !1;\n\n case 13:\n return !1;\n\n default:\n return !1;\n }\n}\n\nfunction Uh(a) {\n if (Qh) {\n var b = Ph;\n\n if (b) {\n var c = b;\n\n if (!Th(a, b)) {\n b = Jd(c.nextSibling);\n\n if (!b || !Th(a, b)) {\n a.effectTag = a.effectTag & -1025 | 2;\n Qh = !1;\n Oh = a;\n return;\n }\n\n Rh(Oh, c);\n }\n\n Oh = a;\n Ph = Jd(b.firstChild);\n } else a.effectTag = a.effectTag & -1025 | 2, Qh = !1, Oh = a;\n }\n}\n\nfunction Vh(a) {\n for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag;) {\n a = a.return;\n }\n\n Oh = a;\n}\n\nfunction Wh(a) {\n if (a !== Oh) return !1;\n if (!Qh) return Vh(a), Qh = !0, !1;\n var b = a.type;\n if (5 !== a.tag || \"head\" !== b && \"body\" !== b && !Gd(b, a.memoizedProps)) for (b = Ph; b;) {\n Rh(a, b), b = Jd(b.nextSibling);\n }\n Vh(a);\n\n if (13 === a.tag) {\n a = a.memoizedState;\n a = null !== a ? a.dehydrated : null;\n if (!a) throw Error(u(317));\n\n a: {\n a = a.nextSibling;\n\n for (b = 0; a;) {\n if (8 === a.nodeType) {\n var c = a.data;\n\n if (c === Ad) {\n if (0 === b) {\n Ph = Jd(a.nextSibling);\n break a;\n }\n\n b--;\n } else c !== zd && c !== Cd && c !== Bd || b++;\n }\n\n a = a.nextSibling;\n }\n\n Ph = null;\n }\n } else Ph = Oh ? Jd(a.stateNode.nextSibling) : null;\n\n return !0;\n}\n\nfunction Xh() {\n Ph = Oh = null;\n Qh = !1;\n}\n\nvar Yh = Wa.ReactCurrentOwner,\n rg = !1;\n\nfunction R(a, b, c, d) {\n b.child = null === a ? Yg(b, null, c, d) : Xg(b, a.child, c, d);\n}\n\nfunction Zh(a, b, c, d, e) {\n c = c.render;\n var f = b.ref;\n qg(b, e);\n d = oh(a, b, c, d, f, e);\n if (null !== a && !rg) return b.updateQueue = a.updateQueue, b.effectTag &= -517, a.expirationTime <= e && (a.expirationTime = 0), $h(a, b, e);\n b.effectTag |= 1;\n R(a, b, d, e);\n return b.child;\n}\n\nfunction ai(a, b, c, d, e, f) {\n if (null === a) {\n var g = c.type;\n if (\"function\" === typeof g && !bi(g) && void 0 === g.defaultProps && null === c.compare && void 0 === c.defaultProps) return b.tag = 15, b.type = g, ci(a, b, g, d, e, f);\n a = Ug(c.type, null, d, null, b.mode, f);\n a.ref = b.ref;\n a.return = b;\n return b.child = a;\n }\n\n g = a.child;\n if (e < f && (e = g.memoizedProps, c = c.compare, c = null !== c ? c : bf, c(e, d) && a.ref === b.ref)) return $h(a, b, f);\n b.effectTag |= 1;\n a = Sg(g, d);\n a.ref = b.ref;\n a.return = b;\n return b.child = a;\n}\n\nfunction ci(a, b, c, d, e, f) {\n return null !== a && bf(a.memoizedProps, d) && a.ref === b.ref && (rg = !1, e < f) ? (b.expirationTime = a.expirationTime, $h(a, b, f)) : di(a, b, c, d, f);\n}\n\nfunction ei(a, b) {\n var c = b.ref;\n if (null === a && null !== c || null !== a && a.ref !== c) b.effectTag |= 128;\n}\n\nfunction di(a, b, c, d, e) {\n var f = L(c) ? Bf : J.current;\n f = Cf(b, f);\n qg(b, e);\n c = oh(a, b, c, d, f, e);\n if (null !== a && !rg) return b.updateQueue = a.updateQueue, b.effectTag &= -517, a.expirationTime <= e && (a.expirationTime = 0), $h(a, b, e);\n b.effectTag |= 1;\n R(a, b, c, e);\n return b.child;\n}\n\nfunction fi(a, b, c, d, e) {\n if (L(c)) {\n var f = !0;\n Gf(b);\n } else f = !1;\n\n qg(b, e);\n if (null === b.stateNode) null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2), Lg(b, c, d), Ng(b, c, d, e), d = !0;else if (null === a) {\n var g = b.stateNode,\n h = b.memoizedProps;\n g.props = h;\n var k = g.context,\n l = c.contextType;\n \"object\" === _typeof(l) && null !== l ? l = sg(l) : (l = L(c) ? Bf : J.current, l = Cf(b, l));\n var m = c.getDerivedStateFromProps,\n p = \"function\" === typeof m || \"function\" === typeof g.getSnapshotBeforeUpdate;\n p || \"function\" !== typeof g.UNSAFE_componentWillReceiveProps && \"function\" !== typeof g.componentWillReceiveProps || (h !== d || k !== l) && Mg(b, g, d, l);\n tg = !1;\n var x = b.memoizedState;\n g.state = x;\n zg(b, d, g, e);\n k = b.memoizedState;\n h !== d || x !== k || K.current || tg ? (\"function\" === typeof m && (Fg(b, c, m, d), k = b.memoizedState), (h = tg || Kg(b, c, h, d, x, k, l)) ? (p || \"function\" !== typeof g.UNSAFE_componentWillMount && \"function\" !== typeof g.componentWillMount || (\"function\" === typeof g.componentWillMount && g.componentWillMount(), \"function\" === typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), \"function\" === typeof g.componentDidMount && (b.effectTag |= 4)) : (\"function\" === typeof g.componentDidMount && (b.effectTag |= 4), b.memoizedProps = d, b.memoizedState = k), g.props = d, g.state = k, g.context = l, d = h) : (\"function\" === typeof g.componentDidMount && (b.effectTag |= 4), d = !1);\n } else g = b.stateNode, vg(a, b), h = b.memoizedProps, g.props = b.type === b.elementType ? h : ig(b.type, h), k = g.context, l = c.contextType, \"object\" === _typeof(l) && null !== l ? l = sg(l) : (l = L(c) ? Bf : J.current, l = Cf(b, l)), m = c.getDerivedStateFromProps, (p = \"function\" === typeof m || \"function\" === typeof g.getSnapshotBeforeUpdate) || \"function\" !== typeof g.UNSAFE_componentWillReceiveProps && \"function\" !== typeof g.componentWillReceiveProps || (h !== d || k !== l) && Mg(b, g, d, l), tg = !1, k = b.memoizedState, g.state = k, zg(b, d, g, e), x = b.memoizedState, h !== d || k !== x || K.current || tg ? (\"function\" === typeof m && (Fg(b, c, m, d), x = b.memoizedState), (m = tg || Kg(b, c, h, d, k, x, l)) ? (p || \"function\" !== typeof g.UNSAFE_componentWillUpdate && \"function\" !== typeof g.componentWillUpdate || (\"function\" === typeof g.componentWillUpdate && g.componentWillUpdate(d, x, l), \"function\" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, x, l)), \"function\" === typeof g.componentDidUpdate && (b.effectTag |= 4), \"function\" === typeof g.getSnapshotBeforeUpdate && (b.effectTag |= 256)) : (\"function\" !== typeof g.componentDidUpdate || h === a.memoizedProps && k === a.memoizedState || (b.effectTag |= 4), \"function\" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && k === a.memoizedState || (b.effectTag |= 256), b.memoizedProps = d, b.memoizedState = x), g.props = d, g.state = x, g.context = l, d = m) : (\"function\" !== typeof g.componentDidUpdate || h === a.memoizedProps && k === a.memoizedState || (b.effectTag |= 4), \"function\" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && k === a.memoizedState || (b.effectTag |= 256), d = !1);\n return gi(a, b, c, d, f, e);\n}\n\nfunction gi(a, b, c, d, e, f) {\n ei(a, b);\n var g = 0 !== (b.effectTag & 64);\n if (!d && !g) return e && Hf(b, c, !1), $h(a, b, f);\n d = b.stateNode;\n Yh.current = b;\n var h = g && \"function\" !== typeof c.getDerivedStateFromError ? null : d.render();\n b.effectTag |= 1;\n null !== a && g ? (b.child = Xg(b, a.child, null, f), b.child = Xg(b, null, h, f)) : R(a, b, h, f);\n b.memoizedState = d.state;\n e && Hf(b, c, !0);\n return b.child;\n}\n\nfunction hi(a) {\n var b = a.stateNode;\n b.pendingContext ? Ef(a, b.pendingContext, b.pendingContext !== b.context) : b.context && Ef(a, b.context, !1);\n dh(a, b.containerInfo);\n}\n\nvar ii = {\n dehydrated: null,\n retryTime: 0\n};\n\nfunction ji(a, b, c) {\n var d = b.mode,\n e = b.pendingProps,\n f = M.current,\n g = !1,\n h;\n (h = 0 !== (b.effectTag & 64)) || (h = 0 !== (f & 2) && (null === a || null !== a.memoizedState));\n h ? (g = !0, b.effectTag &= -65) : null !== a && null === a.memoizedState || void 0 === e.fallback || !0 === e.unstable_avoidThisFallback || (f |= 1);\n I(M, f & 1);\n\n if (null === a) {\n void 0 !== e.fallback && Uh(b);\n\n if (g) {\n g = e.fallback;\n e = Wg(null, d, 0, null);\n e.return = b;\n if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a;) {\n a.return = e, a = a.sibling;\n }\n c = Wg(g, d, c, null);\n c.return = b;\n e.sibling = c;\n b.memoizedState = ii;\n b.child = e;\n return c;\n }\n\n d = e.children;\n b.memoizedState = null;\n return b.child = Yg(b, null, d, c);\n }\n\n if (null !== a.memoizedState) {\n a = a.child;\n d = a.sibling;\n\n if (g) {\n e = e.fallback;\n c = Sg(a, a.pendingProps);\n c.return = b;\n if (0 === (b.mode & 2) && (g = null !== b.memoizedState ? b.child.child : b.child, g !== a.child)) for (c.child = g; null !== g;) {\n g.return = c, g = g.sibling;\n }\n d = Sg(d, e);\n d.return = b;\n c.sibling = d;\n c.childExpirationTime = 0;\n b.memoizedState = ii;\n b.child = c;\n return d;\n }\n\n c = Xg(b, a.child, e.children, c);\n b.memoizedState = null;\n return b.child = c;\n }\n\n a = a.child;\n\n if (g) {\n g = e.fallback;\n e = Wg(null, d, 0, null);\n e.return = b;\n e.child = a;\n null !== a && (a.return = e);\n if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a;) {\n a.return = e, a = a.sibling;\n }\n c = Wg(g, d, c, null);\n c.return = b;\n e.sibling = c;\n c.effectTag |= 2;\n e.childExpirationTime = 0;\n b.memoizedState = ii;\n b.child = e;\n return c;\n }\n\n b.memoizedState = null;\n return b.child = Xg(b, a, e.children, c);\n}\n\nfunction ki(a, b) {\n a.expirationTime < b && (a.expirationTime = b);\n var c = a.alternate;\n null !== c && c.expirationTime < b && (c.expirationTime = b);\n pg(a.return, b);\n}\n\nfunction li(a, b, c, d, e, f) {\n var g = a.memoizedState;\n null === g ? a.memoizedState = {\n isBackwards: b,\n rendering: null,\n renderingStartTime: 0,\n last: d,\n tail: c,\n tailExpiration: 0,\n tailMode: e,\n lastEffect: f\n } : (g.isBackwards = b, g.rendering = null, g.renderingStartTime = 0, g.last = d, g.tail = c, g.tailExpiration = 0, g.tailMode = e, g.lastEffect = f);\n}\n\nfunction mi(a, b, c) {\n var d = b.pendingProps,\n e = d.revealOrder,\n f = d.tail;\n R(a, b, d.children, c);\n d = M.current;\n if (0 !== (d & 2)) d = d & 1 | 2, b.effectTag |= 64;else {\n if (null !== a && 0 !== (a.effectTag & 64)) a: for (a = b.child; null !== a;) {\n if (13 === a.tag) null !== a.memoizedState && ki(a, c);else if (19 === a.tag) ki(a, c);else if (null !== a.child) {\n a.child.return = a;\n a = a.child;\n continue;\n }\n if (a === b) break a;\n\n for (; null === a.sibling;) {\n if (null === a.return || a.return === b) break a;\n a = a.return;\n }\n\n a.sibling.return = a.return;\n a = a.sibling;\n }\n d &= 1;\n }\n I(M, d);\n if (0 === (b.mode & 2)) b.memoizedState = null;else switch (e) {\n case \"forwards\":\n c = b.child;\n\n for (e = null; null !== c;) {\n a = c.alternate, null !== a && null === hh(a) && (e = c), c = c.sibling;\n }\n\n c = e;\n null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null);\n li(b, !1, e, c, f, b.lastEffect);\n break;\n\n case \"backwards\":\n c = null;\n e = b.child;\n\n for (b.child = null; null !== e;) {\n a = e.alternate;\n\n if (null !== a && null === hh(a)) {\n b.child = e;\n break;\n }\n\n a = e.sibling;\n e.sibling = c;\n c = e;\n e = a;\n }\n\n li(b, !0, c, null, f, b.lastEffect);\n break;\n\n case \"together\":\n li(b, !1, null, null, void 0, b.lastEffect);\n break;\n\n default:\n b.memoizedState = null;\n }\n return b.child;\n}\n\nfunction $h(a, b, c) {\n null !== a && (b.dependencies = a.dependencies);\n var d = b.expirationTime;\n 0 !== d && Bg(d);\n if (b.childExpirationTime < c) return null;\n if (null !== a && b.child !== a.child) throw Error(u(153));\n\n if (null !== b.child) {\n a = b.child;\n c = Sg(a, a.pendingProps);\n b.child = c;\n\n for (c.return = b; null !== a.sibling;) {\n a = a.sibling, c = c.sibling = Sg(a, a.pendingProps), c.return = b;\n }\n\n c.sibling = null;\n }\n\n return b.child;\n}\n\nvar ni, oi, pi, qi;\n\nni = function ni(a, b) {\n for (var c = b.child; null !== c;) {\n if (5 === c.tag || 6 === c.tag) a.appendChild(c.stateNode);else if (4 !== c.tag && null !== c.child) {\n c.child.return = c;\n c = c.child;\n continue;\n }\n if (c === b) break;\n\n for (; null === c.sibling;) {\n if (null === c.return || c.return === b) return;\n c = c.return;\n }\n\n c.sibling.return = c.return;\n c = c.sibling;\n }\n};\n\noi = function oi() {};\n\npi = function pi(a, b, c, d, e) {\n var f = a.memoizedProps;\n\n if (f !== d) {\n var g = b.stateNode;\n ch($g.current);\n a = null;\n\n switch (c) {\n case \"input\":\n f = zb(g, f);\n d = zb(g, d);\n a = [];\n break;\n\n case \"option\":\n f = Gb(g, f);\n d = Gb(g, d);\n a = [];\n break;\n\n case \"select\":\n f = n({}, f, {\n value: void 0\n });\n d = n({}, d, {\n value: void 0\n });\n a = [];\n break;\n\n case \"textarea\":\n f = Ib(g, f);\n d = Ib(g, d);\n a = [];\n break;\n\n default:\n \"function\" !== typeof f.onClick && \"function\" === typeof d.onClick && (g.onclick = sd);\n }\n\n od(c, d);\n var h, k;\n c = null;\n\n for (h in f) {\n if (!d.hasOwnProperty(h) && f.hasOwnProperty(h) && null != f[h]) if (\"style\" === h) for (k in g = f[h], g) {\n g.hasOwnProperty(k) && (c || (c = {}), c[k] = \"\");\n } else \"dangerouslySetInnerHTML\" !== h && \"children\" !== h && \"suppressContentEditableWarning\" !== h && \"suppressHydrationWarning\" !== h && \"autoFocus\" !== h && (va.hasOwnProperty(h) ? a || (a = []) : (a = a || []).push(h, null));\n }\n\n for (h in d) {\n var l = d[h];\n g = null != f ? f[h] : void 0;\n if (d.hasOwnProperty(h) && l !== g && (null != l || null != g)) if (\"style\" === h) {\n if (g) {\n for (k in g) {\n !g.hasOwnProperty(k) || l && l.hasOwnProperty(k) || (c || (c = {}), c[k] = \"\");\n }\n\n for (k in l) {\n l.hasOwnProperty(k) && g[k] !== l[k] && (c || (c = {}), c[k] = l[k]);\n }\n } else c || (a || (a = []), a.push(h, c)), c = l;\n } else \"dangerouslySetInnerHTML\" === h ? (l = l ? l.__html : void 0, g = g ? g.__html : void 0, null != l && g !== l && (a = a || []).push(h, l)) : \"children\" === h ? g === l || \"string\" !== typeof l && \"number\" !== typeof l || (a = a || []).push(h, \"\" + l) : \"suppressContentEditableWarning\" !== h && \"suppressHydrationWarning\" !== h && (va.hasOwnProperty(h) ? (null != l && rd(e, h), a || g === l || (a = [])) : (a = a || []).push(h, l));\n }\n\n c && (a = a || []).push(\"style\", c);\n e = a;\n if (b.updateQueue = e) b.effectTag |= 4;\n }\n};\n\nqi = function qi(a, b, c, d) {\n c !== d && (b.effectTag |= 4);\n};\n\nfunction ri(a, b) {\n switch (a.tailMode) {\n case \"hidden\":\n b = a.tail;\n\n for (var c = null; null !== b;) {\n null !== b.alternate && (c = b), b = b.sibling;\n }\n\n null === c ? a.tail = null : c.sibling = null;\n break;\n\n case \"collapsed\":\n c = a.tail;\n\n for (var d = null; null !== c;) {\n null !== c.alternate && (d = c), c = c.sibling;\n }\n\n null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null;\n }\n}\n\nfunction si(a, b, c) {\n var d = b.pendingProps;\n\n switch (b.tag) {\n case 2:\n case 16:\n case 15:\n case 0:\n case 11:\n case 7:\n case 8:\n case 12:\n case 9:\n case 14:\n return null;\n\n case 1:\n return L(b.type) && Df(), null;\n\n case 3:\n return eh(), H(K), H(J), c = b.stateNode, c.pendingContext && (c.context = c.pendingContext, c.pendingContext = null), null !== a && null !== a.child || !Wh(b) || (b.effectTag |= 4), oi(b), null;\n\n case 5:\n gh(b);\n c = ch(bh.current);\n var e = b.type;\n if (null !== a && null != b.stateNode) pi(a, b, e, d, c), a.ref !== b.ref && (b.effectTag |= 128);else {\n if (!d) {\n if (null === b.stateNode) throw Error(u(166));\n return null;\n }\n\n a = ch($g.current);\n\n if (Wh(b)) {\n d = b.stateNode;\n e = b.type;\n var f = b.memoizedProps;\n d[Md] = b;\n d[Nd] = f;\n\n switch (e) {\n case \"iframe\":\n case \"object\":\n case \"embed\":\n F(\"load\", d);\n break;\n\n case \"video\":\n case \"audio\":\n for (a = 0; a < ac.length; a++) {\n F(ac[a], d);\n }\n\n break;\n\n case \"source\":\n F(\"error\", d);\n break;\n\n case \"img\":\n case \"image\":\n case \"link\":\n F(\"error\", d);\n F(\"load\", d);\n break;\n\n case \"form\":\n F(\"reset\", d);\n F(\"submit\", d);\n break;\n\n case \"details\":\n F(\"toggle\", d);\n break;\n\n case \"input\":\n Ab(d, f);\n F(\"invalid\", d);\n rd(c, \"onChange\");\n break;\n\n case \"select\":\n d._wrapperState = {\n wasMultiple: !!f.multiple\n };\n F(\"invalid\", d);\n rd(c, \"onChange\");\n break;\n\n case \"textarea\":\n Jb(d, f), F(\"invalid\", d), rd(c, \"onChange\");\n }\n\n od(e, f);\n a = null;\n\n for (var g in f) {\n if (f.hasOwnProperty(g)) {\n var h = f[g];\n \"children\" === g ? \"string\" === typeof h ? d.textContent !== h && (a = [\"children\", h]) : \"number\" === typeof h && d.textContent !== \"\" + h && (a = [\"children\", \"\" + h]) : va.hasOwnProperty(g) && null != h && rd(c, g);\n }\n }\n\n switch (e) {\n case \"input\":\n xb(d);\n Eb(d, f, !0);\n break;\n\n case \"textarea\":\n xb(d);\n Lb(d);\n break;\n\n case \"select\":\n case \"option\":\n break;\n\n default:\n \"function\" === typeof f.onClick && (d.onclick = sd);\n }\n\n c = a;\n b.updateQueue = c;\n null !== c && (b.effectTag |= 4);\n } else {\n g = 9 === c.nodeType ? c : c.ownerDocument;\n a === qd && (a = Nb(e));\n a === qd ? \"script\" === e ? (a = g.createElement(\"div\"), a.innerHTML = \"<script>\\x3c/script>\", a = a.removeChild(a.firstChild)) : \"string\" === typeof d.is ? a = g.createElement(e, {\n is: d.is\n }) : (a = g.createElement(e), \"select\" === e && (g = a, d.multiple ? g.multiple = !0 : d.size && (g.size = d.size))) : a = g.createElementNS(a, e);\n a[Md] = b;\n a[Nd] = d;\n ni(a, b, !1, !1);\n b.stateNode = a;\n g = pd(e, d);\n\n switch (e) {\n case \"iframe\":\n case \"object\":\n case \"embed\":\n F(\"load\", a);\n h = d;\n break;\n\n case \"video\":\n case \"audio\":\n for (h = 0; h < ac.length; h++) {\n F(ac[h], a);\n }\n\n h = d;\n break;\n\n case \"source\":\n F(\"error\", a);\n h = d;\n break;\n\n case \"img\":\n case \"image\":\n case \"link\":\n F(\"error\", a);\n F(\"load\", a);\n h = d;\n break;\n\n case \"form\":\n F(\"reset\", a);\n F(\"submit\", a);\n h = d;\n break;\n\n case \"details\":\n F(\"toggle\", a);\n h = d;\n break;\n\n case \"input\":\n Ab(a, d);\n h = zb(a, d);\n F(\"invalid\", a);\n rd(c, \"onChange\");\n break;\n\n case \"option\":\n h = Gb(a, d);\n break;\n\n case \"select\":\n a._wrapperState = {\n wasMultiple: !!d.multiple\n };\n h = n({}, d, {\n value: void 0\n });\n F(\"invalid\", a);\n rd(c, \"onChange\");\n break;\n\n case \"textarea\":\n Jb(a, d);\n h = Ib(a, d);\n F(\"invalid\", a);\n rd(c, \"onChange\");\n break;\n\n default:\n h = d;\n }\n\n od(e, h);\n var k = h;\n\n for (f in k) {\n if (k.hasOwnProperty(f)) {\n var l = k[f];\n \"style\" === f ? md(a, l) : \"dangerouslySetInnerHTML\" === f ? (l = l ? l.__html : void 0, null != l && Qb(a, l)) : \"children\" === f ? \"string\" === typeof l ? (\"textarea\" !== e || \"\" !== l) && Rb(a, l) : \"number\" === typeof l && Rb(a, \"\" + l) : \"suppressContentEditableWarning\" !== f && \"suppressHydrationWarning\" !== f && \"autoFocus\" !== f && (va.hasOwnProperty(f) ? null != l && rd(c, f) : null != l && Xa(a, f, l, g));\n }\n }\n\n switch (e) {\n case \"input\":\n xb(a);\n Eb(a, d, !1);\n break;\n\n case \"textarea\":\n xb(a);\n Lb(a);\n break;\n\n case \"option\":\n null != d.value && a.setAttribute(\"value\", \"\" + rb(d.value));\n break;\n\n case \"select\":\n a.multiple = !!d.multiple;\n c = d.value;\n null != c ? Hb(a, !!d.multiple, c, !1) : null != d.defaultValue && Hb(a, !!d.multiple, d.defaultValue, !0);\n break;\n\n default:\n \"function\" === typeof h.onClick && (a.onclick = sd);\n }\n\n Fd(e, d) && (b.effectTag |= 4);\n }\n\n null !== b.ref && (b.effectTag |= 128);\n }\n return null;\n\n case 6:\n if (a && null != b.stateNode) qi(a, b, a.memoizedProps, d);else {\n if (\"string\" !== typeof d && null === b.stateNode) throw Error(u(166));\n c = ch(bh.current);\n ch($g.current);\n Wh(b) ? (c = b.stateNode, d = b.memoizedProps, c[Md] = b, c.nodeValue !== d && (b.effectTag |= 4)) : (c = (9 === c.nodeType ? c : c.ownerDocument).createTextNode(d), c[Md] = b, b.stateNode = c);\n }\n return null;\n\n case 13:\n H(M);\n d = b.memoizedState;\n if (0 !== (b.effectTag & 64)) return b.expirationTime = c, b;\n c = null !== d;\n d = !1;\n null === a ? void 0 !== b.memoizedProps.fallback && Wh(b) : (e = a.memoizedState, d = null !== e, c || null === e || (e = a.child.sibling, null !== e && (f = b.firstEffect, null !== f ? (b.firstEffect = e, e.nextEffect = f) : (b.firstEffect = b.lastEffect = e, e.nextEffect = null), e.effectTag = 8)));\n if (c && !d && 0 !== (b.mode & 2)) if (null === a && !0 !== b.memoizedProps.unstable_avoidThisFallback || 0 !== (M.current & 1)) S === ti && (S = ui);else {\n if (S === ti || S === ui) S = vi;\n 0 !== wi && null !== T && (xi(T, U), yi(T, wi));\n }\n if (c || d) b.effectTag |= 4;\n return null;\n\n case 4:\n return eh(), oi(b), null;\n\n case 10:\n return og(b), null;\n\n case 17:\n return L(b.type) && Df(), null;\n\n case 19:\n H(M);\n d = b.memoizedState;\n if (null === d) return null;\n e = 0 !== (b.effectTag & 64);\n f = d.rendering;\n if (null === f) {\n if (e) ri(d, !1);else {\n if (S !== ti || null !== a && 0 !== (a.effectTag & 64)) for (f = b.child; null !== f;) {\n a = hh(f);\n\n if (null !== a) {\n b.effectTag |= 64;\n ri(d, !1);\n e = a.updateQueue;\n null !== e && (b.updateQueue = e, b.effectTag |= 4);\n null === d.lastEffect && (b.firstEffect = null);\n b.lastEffect = d.lastEffect;\n\n for (d = b.child; null !== d;) {\n e = d, f = c, e.effectTag &= 2, e.nextEffect = null, e.firstEffect = null, e.lastEffect = null, a = e.alternate, null === a ? (e.childExpirationTime = 0, e.expirationTime = f, e.child = null, e.memoizedProps = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null) : (e.childExpirationTime = a.childExpirationTime, e.expirationTime = a.expirationTime, e.child = a.child, e.memoizedProps = a.memoizedProps, e.memoizedState = a.memoizedState, e.updateQueue = a.updateQueue, f = a.dependencies, e.dependencies = null === f ? null : {\n expirationTime: f.expirationTime,\n firstContext: f.firstContext,\n responders: f.responders\n }), d = d.sibling;\n }\n\n I(M, M.current & 1 | 2);\n return b.child;\n }\n\n f = f.sibling;\n }\n }\n } else {\n if (!e) if (a = hh(f), null !== a) {\n if (b.effectTag |= 64, e = !0, c = a.updateQueue, null !== c && (b.updateQueue = c, b.effectTag |= 4), ri(d, !0), null === d.tail && \"hidden\" === d.tailMode && !f.alternate) return b = b.lastEffect = d.lastEffect, null !== b && (b.nextEffect = null), null;\n } else 2 * $f() - d.renderingStartTime > d.tailExpiration && 1 < c && (b.effectTag |= 64, e = !0, ri(d, !1), b.expirationTime = b.childExpirationTime = c - 1);\n d.isBackwards ? (f.sibling = b.child, b.child = f) : (c = d.last, null !== c ? c.sibling = f : b.child = f, d.last = f);\n }\n return null !== d.tail ? (0 === d.tailExpiration && (d.tailExpiration = $f() + 500), c = d.tail, d.rendering = c, d.tail = c.sibling, d.lastEffect = b.lastEffect, d.renderingStartTime = $f(), c.sibling = null, b = M.current, I(M, e ? b & 1 | 2 : b & 1), c) : null;\n }\n\n throw Error(u(156, b.tag));\n}\n\nfunction zi(a) {\n switch (a.tag) {\n case 1:\n L(a.type) && Df();\n var b = a.effectTag;\n return b & 4096 ? (a.effectTag = b & -4097 | 64, a) : null;\n\n case 3:\n eh();\n H(K);\n H(J);\n b = a.effectTag;\n if (0 !== (b & 64)) throw Error(u(285));\n a.effectTag = b & -4097 | 64;\n return a;\n\n case 5:\n return gh(a), null;\n\n case 13:\n return H(M), b = a.effectTag, b & 4096 ? (a.effectTag = b & -4097 | 64, a) : null;\n\n case 19:\n return H(M), null;\n\n case 4:\n return eh(), null;\n\n case 10:\n return og(a), null;\n\n default:\n return null;\n }\n}\n\nfunction Ai(a, b) {\n return {\n value: a,\n source: b,\n stack: qb(b)\n };\n}\n\nvar Bi = \"function\" === typeof WeakSet ? WeakSet : Set;\n\nfunction Ci(a, b) {\n var c = b.source,\n d = b.stack;\n null === d && null !== c && (d = qb(c));\n null !== c && pb(c.type);\n b = b.value;\n null !== a && 1 === a.tag && pb(a.type);\n\n try {\n console.error(b);\n } catch (e) {\n setTimeout(function () {\n throw e;\n });\n }\n}\n\nfunction Di(a, b) {\n try {\n b.props = a.memoizedProps, b.state = a.memoizedState, b.componentWillUnmount();\n } catch (c) {\n Ei(a, c);\n }\n}\n\nfunction Fi(a) {\n var b = a.ref;\n if (null !== b) if (\"function\" === typeof b) try {\n b(null);\n } catch (c) {\n Ei(a, c);\n } else b.current = null;\n}\n\nfunction Gi(a, b) {\n switch (b.tag) {\n case 0:\n case 11:\n case 15:\n case 22:\n return;\n\n case 1:\n if (b.effectTag & 256 && null !== a) {\n var c = a.memoizedProps,\n d = a.memoizedState;\n a = b.stateNode;\n b = a.getSnapshotBeforeUpdate(b.elementType === b.type ? c : ig(b.type, c), d);\n a.__reactInternalSnapshotBeforeUpdate = b;\n }\n\n return;\n\n case 3:\n case 5:\n case 6:\n case 4:\n case 17:\n return;\n }\n\n throw Error(u(163));\n}\n\nfunction Hi(a, b) {\n b = b.updateQueue;\n b = null !== b ? b.lastEffect : null;\n\n if (null !== b) {\n var c = b = b.next;\n\n do {\n if ((c.tag & a) === a) {\n var d = c.destroy;\n c.destroy = void 0;\n void 0 !== d && d();\n }\n\n c = c.next;\n } while (c !== b);\n }\n}\n\nfunction Ii(a, b) {\n b = b.updateQueue;\n b = null !== b ? b.lastEffect : null;\n\n if (null !== b) {\n var c = b = b.next;\n\n do {\n if ((c.tag & a) === a) {\n var d = c.create;\n c.destroy = d();\n }\n\n c = c.next;\n } while (c !== b);\n }\n}\n\nfunction Ji(a, b, c) {\n switch (c.tag) {\n case 0:\n case 11:\n case 15:\n case 22:\n Ii(3, c);\n return;\n\n case 1:\n a = c.stateNode;\n if (c.effectTag & 4) if (null === b) a.componentDidMount();else {\n var d = c.elementType === c.type ? b.memoizedProps : ig(c.type, b.memoizedProps);\n a.componentDidUpdate(d, b.memoizedState, a.__reactInternalSnapshotBeforeUpdate);\n }\n b = c.updateQueue;\n null !== b && Cg(c, b, a);\n return;\n\n case 3:\n b = c.updateQueue;\n\n if (null !== b) {\n a = null;\n if (null !== c.child) switch (c.child.tag) {\n case 5:\n a = c.child.stateNode;\n break;\n\n case 1:\n a = c.child.stateNode;\n }\n Cg(c, b, a);\n }\n\n return;\n\n case 5:\n a = c.stateNode;\n null === b && c.effectTag & 4 && Fd(c.type, c.memoizedProps) && a.focus();\n return;\n\n case 6:\n return;\n\n case 4:\n return;\n\n case 12:\n return;\n\n case 13:\n null === c.memoizedState && (c = c.alternate, null !== c && (c = c.memoizedState, null !== c && (c = c.dehydrated, null !== c && Vc(c))));\n return;\n\n case 19:\n case 17:\n case 20:\n case 21:\n return;\n }\n\n throw Error(u(163));\n}\n\nfunction Ki(a, b, c) {\n \"function\" === typeof Li && Li(b);\n\n switch (b.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n case 22:\n a = b.updateQueue;\n\n if (null !== a && (a = a.lastEffect, null !== a)) {\n var d = a.next;\n cg(97 < c ? 97 : c, function () {\n var a = d;\n\n do {\n var c = a.destroy;\n\n if (void 0 !== c) {\n var g = b;\n\n try {\n c();\n } catch (h) {\n Ei(g, h);\n }\n }\n\n a = a.next;\n } while (a !== d);\n });\n }\n\n break;\n\n case 1:\n Fi(b);\n c = b.stateNode;\n \"function\" === typeof c.componentWillUnmount && Di(b, c);\n break;\n\n case 5:\n Fi(b);\n break;\n\n case 4:\n Mi(a, b, c);\n }\n}\n\nfunction Ni(a) {\n var b = a.alternate;\n a.return = null;\n a.child = null;\n a.memoizedState = null;\n a.updateQueue = null;\n a.dependencies = null;\n a.alternate = null;\n a.firstEffect = null;\n a.lastEffect = null;\n a.pendingProps = null;\n a.memoizedProps = null;\n a.stateNode = null;\n null !== b && Ni(b);\n}\n\nfunction Oi(a) {\n return 5 === a.tag || 3 === a.tag || 4 === a.tag;\n}\n\nfunction Pi(a) {\n a: {\n for (var b = a.return; null !== b;) {\n if (Oi(b)) {\n var c = b;\n break a;\n }\n\n b = b.return;\n }\n\n throw Error(u(160));\n }\n\n b = c.stateNode;\n\n switch (c.tag) {\n case 5:\n var d = !1;\n break;\n\n case 3:\n b = b.containerInfo;\n d = !0;\n break;\n\n case 4:\n b = b.containerInfo;\n d = !0;\n break;\n\n default:\n throw Error(u(161));\n }\n\n c.effectTag & 16 && (Rb(b, \"\"), c.effectTag &= -17);\n\n a: b: for (c = a;;) {\n for (; null === c.sibling;) {\n if (null === c.return || Oi(c.return)) {\n c = null;\n break a;\n }\n\n c = c.return;\n }\n\n c.sibling.return = c.return;\n\n for (c = c.sibling; 5 !== c.tag && 6 !== c.tag && 18 !== c.tag;) {\n if (c.effectTag & 2) continue b;\n if (null === c.child || 4 === c.tag) continue b;else c.child.return = c, c = c.child;\n }\n\n if (!(c.effectTag & 2)) {\n c = c.stateNode;\n break a;\n }\n }\n\n d ? Qi(a, c, b) : Ri(a, c, b);\n}\n\nfunction Qi(a, b, c) {\n var d = a.tag,\n e = 5 === d || 6 === d;\n if (e) a = e ? a.stateNode : a.stateNode.instance, b ? 8 === c.nodeType ? c.parentNode.insertBefore(a, b) : c.insertBefore(a, b) : (8 === c.nodeType ? (b = c.parentNode, b.insertBefore(a, c)) : (b = c, b.appendChild(a)), c = c._reactRootContainer, null !== c && void 0 !== c || null !== b.onclick || (b.onclick = sd));else if (4 !== d && (a = a.child, null !== a)) for (Qi(a, b, c), a = a.sibling; null !== a;) {\n Qi(a, b, c), a = a.sibling;\n }\n}\n\nfunction Ri(a, b, c) {\n var d = a.tag,\n e = 5 === d || 6 === d;\n if (e) a = e ? a.stateNode : a.stateNode.instance, b ? c.insertBefore(a, b) : c.appendChild(a);else if (4 !== d && (a = a.child, null !== a)) for (Ri(a, b, c), a = a.sibling; null !== a;) {\n Ri(a, b, c), a = a.sibling;\n }\n}\n\nfunction Mi(a, b, c) {\n for (var d = b, e = !1, f, g;;) {\n if (!e) {\n e = d.return;\n\n a: for (;;) {\n if (null === e) throw Error(u(160));\n f = e.stateNode;\n\n switch (e.tag) {\n case 5:\n g = !1;\n break a;\n\n case 3:\n f = f.containerInfo;\n g = !0;\n break a;\n\n case 4:\n f = f.containerInfo;\n g = !0;\n break a;\n }\n\n e = e.return;\n }\n\n e = !0;\n }\n\n if (5 === d.tag || 6 === d.tag) {\n a: for (var h = a, k = d, l = c, m = k;;) {\n if (Ki(h, m, l), null !== m.child && 4 !== m.tag) m.child.return = m, m = m.child;else {\n if (m === k) break a;\n\n for (; null === m.sibling;) {\n if (null === m.return || m.return === k) break a;\n m = m.return;\n }\n\n m.sibling.return = m.return;\n m = m.sibling;\n }\n }\n\n g ? (h = f, k = d.stateNode, 8 === h.nodeType ? h.parentNode.removeChild(k) : h.removeChild(k)) : f.removeChild(d.stateNode);\n } else if (4 === d.tag) {\n if (null !== d.child) {\n f = d.stateNode.containerInfo;\n g = !0;\n d.child.return = d;\n d = d.child;\n continue;\n }\n } else if (Ki(a, d, c), null !== d.child) {\n d.child.return = d;\n d = d.child;\n continue;\n }\n\n if (d === b) break;\n\n for (; null === d.sibling;) {\n if (null === d.return || d.return === b) return;\n d = d.return;\n 4 === d.tag && (e = !1);\n }\n\n d.sibling.return = d.return;\n d = d.sibling;\n }\n}\n\nfunction Si(a, b) {\n switch (b.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n case 22:\n Hi(3, b);\n return;\n\n case 1:\n return;\n\n case 5:\n var c = b.stateNode;\n\n if (null != c) {\n var d = b.memoizedProps,\n e = null !== a ? a.memoizedProps : d;\n a = b.type;\n var f = b.updateQueue;\n b.updateQueue = null;\n\n if (null !== f) {\n c[Nd] = d;\n \"input\" === a && \"radio\" === d.type && null != d.name && Bb(c, d);\n pd(a, e);\n b = pd(a, d);\n\n for (e = 0; e < f.length; e += 2) {\n var g = f[e],\n h = f[e + 1];\n \"style\" === g ? md(c, h) : \"dangerouslySetInnerHTML\" === g ? Qb(c, h) : \"children\" === g ? Rb(c, h) : Xa(c, g, h, b);\n }\n\n switch (a) {\n case \"input\":\n Cb(c, d);\n break;\n\n case \"textarea\":\n Kb(c, d);\n break;\n\n case \"select\":\n b = c._wrapperState.wasMultiple, c._wrapperState.wasMultiple = !!d.multiple, a = d.value, null != a ? Hb(c, !!d.multiple, a, !1) : b !== !!d.multiple && (null != d.defaultValue ? Hb(c, !!d.multiple, d.defaultValue, !0) : Hb(c, !!d.multiple, d.multiple ? [] : \"\", !1));\n }\n }\n }\n\n return;\n\n case 6:\n if (null === b.stateNode) throw Error(u(162));\n b.stateNode.nodeValue = b.memoizedProps;\n return;\n\n case 3:\n b = b.stateNode;\n b.hydrate && (b.hydrate = !1, Vc(b.containerInfo));\n return;\n\n case 12:\n return;\n\n case 13:\n c = b;\n null === b.memoizedState ? d = !1 : (d = !0, c = b.child, Ti = $f());\n if (null !== c) a: for (a = c;;) {\n if (5 === a.tag) f = a.stateNode, d ? (f = f.style, \"function\" === typeof f.setProperty ? f.setProperty(\"display\", \"none\", \"important\") : f.display = \"none\") : (f = a.stateNode, e = a.memoizedProps.style, e = void 0 !== e && null !== e && e.hasOwnProperty(\"display\") ? e.display : null, f.style.display = ld(\"display\", e));else if (6 === a.tag) a.stateNode.nodeValue = d ? \"\" : a.memoizedProps;else if (13 === a.tag && null !== a.memoizedState && null === a.memoizedState.dehydrated) {\n f = a.child.sibling;\n f.return = a;\n a = f;\n continue;\n } else if (null !== a.child) {\n a.child.return = a;\n a = a.child;\n continue;\n }\n if (a === c) break;\n\n for (; null === a.sibling;) {\n if (null === a.return || a.return === c) break a;\n a = a.return;\n }\n\n a.sibling.return = a.return;\n a = a.sibling;\n }\n Ui(b);\n return;\n\n case 19:\n Ui(b);\n return;\n\n case 17:\n return;\n }\n\n throw Error(u(163));\n}\n\nfunction Ui(a) {\n var b = a.updateQueue;\n\n if (null !== b) {\n a.updateQueue = null;\n var c = a.stateNode;\n null === c && (c = a.stateNode = new Bi());\n b.forEach(function (b) {\n var d = Vi.bind(null, a, b);\n c.has(b) || (c.add(b), b.then(d, d));\n });\n }\n}\n\nvar Wi = \"function\" === typeof WeakMap ? WeakMap : Map;\n\nfunction Xi(a, b, c) {\n c = wg(c, null);\n c.tag = 3;\n c.payload = {\n element: null\n };\n var d = b.value;\n\n c.callback = function () {\n Yi || (Yi = !0, Zi = d);\n Ci(a, b);\n };\n\n return c;\n}\n\nfunction $i(a, b, c) {\n c = wg(c, null);\n c.tag = 3;\n var d = a.type.getDerivedStateFromError;\n\n if (\"function\" === typeof d) {\n var e = b.value;\n\n c.payload = function () {\n Ci(a, b);\n return d(e);\n };\n }\n\n var f = a.stateNode;\n null !== f && \"function\" === typeof f.componentDidCatch && (c.callback = function () {\n \"function\" !== typeof d && (null === aj ? aj = new Set([this]) : aj.add(this), Ci(a, b));\n var c = b.stack;\n this.componentDidCatch(b.value, {\n componentStack: null !== c ? c : \"\"\n });\n });\n return c;\n}\n\nvar bj = Math.ceil,\n cj = Wa.ReactCurrentDispatcher,\n dj = Wa.ReactCurrentOwner,\n V = 0,\n ej = 8,\n fj = 16,\n gj = 32,\n ti = 0,\n hj = 1,\n ij = 2,\n ui = 3,\n vi = 4,\n jj = 5,\n W = V,\n T = null,\n X = null,\n U = 0,\n S = ti,\n kj = null,\n lj = 1073741823,\n mj = 1073741823,\n nj = null,\n wi = 0,\n oj = !1,\n Ti = 0,\n pj = 500,\n Y = null,\n Yi = !1,\n Zi = null,\n aj = null,\n qj = !1,\n rj = null,\n sj = 90,\n tj = null,\n uj = 0,\n vj = null,\n wj = 0;\n\nfunction Gg() {\n return (W & (fj | gj)) !== V ? 1073741821 - ($f() / 10 | 0) : 0 !== wj ? wj : wj = 1073741821 - ($f() / 10 | 0);\n}\n\nfunction Hg(a, b, c) {\n b = b.mode;\n if (0 === (b & 2)) return 1073741823;\n var d = ag();\n if (0 === (b & 4)) return 99 === d ? 1073741823 : 1073741822;\n if ((W & fj) !== V) return U;\n if (null !== c) a = hg(a, c.timeoutMs | 0 || 5E3, 250);else switch (d) {\n case 99:\n a = 1073741823;\n break;\n\n case 98:\n a = hg(a, 150, 100);\n break;\n\n case 97:\n case 96:\n a = hg(a, 5E3, 250);\n break;\n\n case 95:\n a = 2;\n break;\n\n default:\n throw Error(u(326));\n }\n null !== T && a === U && --a;\n return a;\n}\n\nfunction Ig(a, b) {\n if (50 < uj) throw uj = 0, vj = null, Error(u(185));\n a = xj(a, b);\n\n if (null !== a) {\n var c = ag();\n 1073741823 === b ? (W & ej) !== V && (W & (fj | gj)) === V ? yj(a) : (Z(a), W === V && gg()) : Z(a);\n (W & 4) === V || 98 !== c && 99 !== c || (null === tj ? tj = new Map([[a, b]]) : (c = tj.get(a), (void 0 === c || c > b) && tj.set(a, b)));\n }\n}\n\nfunction xj(a, b) {\n a.expirationTime < b && (a.expirationTime = b);\n var c = a.alternate;\n null !== c && c.expirationTime < b && (c.expirationTime = b);\n var d = a.return,\n e = null;\n if (null === d && 3 === a.tag) e = a.stateNode;else for (; null !== d;) {\n c = d.alternate;\n d.childExpirationTime < b && (d.childExpirationTime = b);\n null !== c && c.childExpirationTime < b && (c.childExpirationTime = b);\n\n if (null === d.return && 3 === d.tag) {\n e = d.stateNode;\n break;\n }\n\n d = d.return;\n }\n null !== e && (T === e && (Bg(b), S === vi && xi(e, U)), yi(e, b));\n return e;\n}\n\nfunction zj(a) {\n var b = a.lastExpiredTime;\n if (0 !== b) return b;\n b = a.firstPendingTime;\n if (!Aj(a, b)) return b;\n var c = a.lastPingedTime;\n a = a.nextKnownPendingLevel;\n a = c > a ? c : a;\n return 2 >= a && b !== a ? 0 : a;\n}\n\nfunction Z(a) {\n if (0 !== a.lastExpiredTime) a.callbackExpirationTime = 1073741823, a.callbackPriority = 99, a.callbackNode = eg(yj.bind(null, a));else {\n var b = zj(a),\n c = a.callbackNode;\n if (0 === b) null !== c && (a.callbackNode = null, a.callbackExpirationTime = 0, a.callbackPriority = 90);else {\n var d = Gg();\n 1073741823 === b ? d = 99 : 1 === b || 2 === b ? d = 95 : (d = 10 * (1073741821 - b) - 10 * (1073741821 - d), d = 0 >= d ? 99 : 250 >= d ? 98 : 5250 >= d ? 97 : 95);\n\n if (null !== c) {\n var e = a.callbackPriority;\n if (a.callbackExpirationTime === b && e >= d) return;\n c !== Tf && Kf(c);\n }\n\n a.callbackExpirationTime = b;\n a.callbackPriority = d;\n b = 1073741823 === b ? eg(yj.bind(null, a)) : dg(d, Bj.bind(null, a), {\n timeout: 10 * (1073741821 - b) - $f()\n });\n a.callbackNode = b;\n }\n }\n}\n\nfunction Bj(a, b) {\n wj = 0;\n if (b) return b = Gg(), Cj(a, b), Z(a), null;\n var c = zj(a);\n\n if (0 !== c) {\n b = a.callbackNode;\n if ((W & (fj | gj)) !== V) throw Error(u(327));\n Dj();\n a === T && c === U || Ej(a, c);\n\n if (null !== X) {\n var d = W;\n W |= fj;\n var e = Fj();\n\n do {\n try {\n Gj();\n break;\n } catch (h) {\n Hj(a, h);\n }\n } while (1);\n\n ng();\n W = d;\n cj.current = e;\n if (S === hj) throw b = kj, Ej(a, c), xi(a, c), Z(a), b;\n if (null === X) switch (e = a.finishedWork = a.current.alternate, a.finishedExpirationTime = c, d = S, T = null, d) {\n case ti:\n case hj:\n throw Error(u(345));\n\n case ij:\n Cj(a, 2 < c ? 2 : c);\n break;\n\n case ui:\n xi(a, c);\n d = a.lastSuspendedTime;\n c === d && (a.nextKnownPendingLevel = Ij(e));\n\n if (1073741823 === lj && (e = Ti + pj - $f(), 10 < e)) {\n if (oj) {\n var f = a.lastPingedTime;\n\n if (0 === f || f >= c) {\n a.lastPingedTime = c;\n Ej(a, c);\n break;\n }\n }\n\n f = zj(a);\n if (0 !== f && f !== c) break;\n\n if (0 !== d && d !== c) {\n a.lastPingedTime = d;\n break;\n }\n\n a.timeoutHandle = Hd(Jj.bind(null, a), e);\n break;\n }\n\n Jj(a);\n break;\n\n case vi:\n xi(a, c);\n d = a.lastSuspendedTime;\n c === d && (a.nextKnownPendingLevel = Ij(e));\n\n if (oj && (e = a.lastPingedTime, 0 === e || e >= c)) {\n a.lastPingedTime = c;\n Ej(a, c);\n break;\n }\n\n e = zj(a);\n if (0 !== e && e !== c) break;\n\n if (0 !== d && d !== c) {\n a.lastPingedTime = d;\n break;\n }\n\n 1073741823 !== mj ? d = 10 * (1073741821 - mj) - $f() : 1073741823 === lj ? d = 0 : (d = 10 * (1073741821 - lj) - 5E3, e = $f(), c = 10 * (1073741821 - c) - e, d = e - d, 0 > d && (d = 0), d = (120 > d ? 120 : 480 > d ? 480 : 1080 > d ? 1080 : 1920 > d ? 1920 : 3E3 > d ? 3E3 : 4320 > d ? 4320 : 1960 * bj(d / 1960)) - d, c < d && (d = c));\n\n if (10 < d) {\n a.timeoutHandle = Hd(Jj.bind(null, a), d);\n break;\n }\n\n Jj(a);\n break;\n\n case jj:\n if (1073741823 !== lj && null !== nj) {\n f = lj;\n var g = nj;\n d = g.busyMinDurationMs | 0;\n 0 >= d ? d = 0 : (e = g.busyDelayMs | 0, f = $f() - (10 * (1073741821 - f) - (g.timeoutMs | 0 || 5E3)), d = f <= e ? 0 : e + d - f);\n\n if (10 < d) {\n xi(a, c);\n a.timeoutHandle = Hd(Jj.bind(null, a), d);\n break;\n }\n }\n\n Jj(a);\n break;\n\n default:\n throw Error(u(329));\n }\n Z(a);\n if (a.callbackNode === b) return Bj.bind(null, a);\n }\n }\n\n return null;\n}\n\nfunction yj(a) {\n var b = a.lastExpiredTime;\n b = 0 !== b ? b : 1073741823;\n if ((W & (fj | gj)) !== V) throw Error(u(327));\n Dj();\n a === T && b === U || Ej(a, b);\n\n if (null !== X) {\n var c = W;\n W |= fj;\n var d = Fj();\n\n do {\n try {\n Kj();\n break;\n } catch (e) {\n Hj(a, e);\n }\n } while (1);\n\n ng();\n W = c;\n cj.current = d;\n if (S === hj) throw c = kj, Ej(a, b), xi(a, b), Z(a), c;\n if (null !== X) throw Error(u(261));\n a.finishedWork = a.current.alternate;\n a.finishedExpirationTime = b;\n T = null;\n Jj(a);\n Z(a);\n }\n\n return null;\n}\n\nfunction Lj() {\n if (null !== tj) {\n var a = tj;\n tj = null;\n a.forEach(function (a, c) {\n Cj(c, a);\n Z(c);\n });\n gg();\n }\n}\n\nfunction Mj(a, b) {\n var c = W;\n W |= 1;\n\n try {\n return a(b);\n } finally {\n W = c, W === V && gg();\n }\n}\n\nfunction Nj(a, b) {\n var c = W;\n W &= -2;\n W |= ej;\n\n try {\n return a(b);\n } finally {\n W = c, W === V && gg();\n }\n}\n\nfunction Ej(a, b) {\n a.finishedWork = null;\n a.finishedExpirationTime = 0;\n var c = a.timeoutHandle;\n -1 !== c && (a.timeoutHandle = -1, Id(c));\n if (null !== X) for (c = X.return; null !== c;) {\n var d = c;\n\n switch (d.tag) {\n case 1:\n d = d.type.childContextTypes;\n null !== d && void 0 !== d && Df();\n break;\n\n case 3:\n eh();\n H(K);\n H(J);\n break;\n\n case 5:\n gh(d);\n break;\n\n case 4:\n eh();\n break;\n\n case 13:\n H(M);\n break;\n\n case 19:\n H(M);\n break;\n\n case 10:\n og(d);\n }\n\n c = c.return;\n }\n T = a;\n X = Sg(a.current, null);\n U = b;\n S = ti;\n kj = null;\n mj = lj = 1073741823;\n nj = null;\n wi = 0;\n oj = !1;\n}\n\nfunction Hj(a, b) {\n do {\n try {\n ng();\n jh.current = sh;\n if (mh) for (var c = N.memoizedState; null !== c;) {\n var d = c.queue;\n null !== d && (d.pending = null);\n c = c.next;\n }\n lh = 0;\n P = O = N = null;\n mh = !1;\n if (null === X || null === X.return) return S = hj, kj = b, X = null;\n\n a: {\n var e = a,\n f = X.return,\n g = X,\n h = b;\n b = U;\n g.effectTag |= 2048;\n g.firstEffect = g.lastEffect = null;\n\n if (null !== h && \"object\" === _typeof(h) && \"function\" === typeof h.then) {\n var k = h;\n\n if (0 === (g.mode & 2)) {\n var l = g.alternate;\n l ? (g.updateQueue = l.updateQueue, g.memoizedState = l.memoizedState, g.expirationTime = l.expirationTime) : (g.updateQueue = null, g.memoizedState = null);\n }\n\n var m = 0 !== (M.current & 1),\n p = f;\n\n do {\n var x;\n\n if (x = 13 === p.tag) {\n var z = p.memoizedState;\n if (null !== z) x = null !== z.dehydrated ? !0 : !1;else {\n var ca = p.memoizedProps;\n x = void 0 === ca.fallback ? !1 : !0 !== ca.unstable_avoidThisFallback ? !0 : m ? !1 : !0;\n }\n }\n\n if (x) {\n var D = p.updateQueue;\n\n if (null === D) {\n var t = new Set();\n t.add(k);\n p.updateQueue = t;\n } else D.add(k);\n\n if (0 === (p.mode & 2)) {\n p.effectTag |= 64;\n g.effectTag &= -2981;\n if (1 === g.tag) if (null === g.alternate) g.tag = 17;else {\n var y = wg(1073741823, null);\n y.tag = 2;\n xg(g, y);\n }\n g.expirationTime = 1073741823;\n break a;\n }\n\n h = void 0;\n g = b;\n var A = e.pingCache;\n null === A ? (A = e.pingCache = new Wi(), h = new Set(), A.set(k, h)) : (h = A.get(k), void 0 === h && (h = new Set(), A.set(k, h)));\n\n if (!h.has(g)) {\n h.add(g);\n var q = Oj.bind(null, e, k, g);\n k.then(q, q);\n }\n\n p.effectTag |= 4096;\n p.expirationTime = b;\n break a;\n }\n\n p = p.return;\n } while (null !== p);\n\n h = Error((pb(g.type) || \"A React component\") + \" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.\" + qb(g));\n }\n\n S !== jj && (S = ij);\n h = Ai(h, g);\n p = f;\n\n do {\n switch (p.tag) {\n case 3:\n k = h;\n p.effectTag |= 4096;\n p.expirationTime = b;\n var B = Xi(p, k, b);\n yg(p, B);\n break a;\n\n case 1:\n k = h;\n var w = p.type,\n ub = p.stateNode;\n\n if (0 === (p.effectTag & 64) && (\"function\" === typeof w.getDerivedStateFromError || null !== ub && \"function\" === typeof ub.componentDidCatch && (null === aj || !aj.has(ub)))) {\n p.effectTag |= 4096;\n p.expirationTime = b;\n var vb = $i(p, k, b);\n yg(p, vb);\n break a;\n }\n\n }\n\n p = p.return;\n } while (null !== p);\n }\n\n X = Pj(X);\n } catch (Xc) {\n b = Xc;\n continue;\n }\n\n break;\n } while (1);\n}\n\nfunction Fj() {\n var a = cj.current;\n cj.current = sh;\n return null === a ? sh : a;\n}\n\nfunction Ag(a, b) {\n a < lj && 2 < a && (lj = a);\n null !== b && a < mj && 2 < a && (mj = a, nj = b);\n}\n\nfunction Bg(a) {\n a > wi && (wi = a);\n}\n\nfunction Kj() {\n for (; null !== X;) {\n X = Qj(X);\n }\n}\n\nfunction Gj() {\n for (; null !== X && !Uf();) {\n X = Qj(X);\n }\n}\n\nfunction Qj(a) {\n var b = Rj(a.alternate, a, U);\n a.memoizedProps = a.pendingProps;\n null === b && (b = Pj(a));\n dj.current = null;\n return b;\n}\n\nfunction Pj(a) {\n X = a;\n\n do {\n var b = X.alternate;\n a = X.return;\n\n if (0 === (X.effectTag & 2048)) {\n b = si(b, X, U);\n\n if (1 === U || 1 !== X.childExpirationTime) {\n for (var c = 0, d = X.child; null !== d;) {\n var e = d.expirationTime,\n f = d.childExpirationTime;\n e > c && (c = e);\n f > c && (c = f);\n d = d.sibling;\n }\n\n X.childExpirationTime = c;\n }\n\n if (null !== b) return b;\n null !== a && 0 === (a.effectTag & 2048) && (null === a.firstEffect && (a.firstEffect = X.firstEffect), null !== X.lastEffect && (null !== a.lastEffect && (a.lastEffect.nextEffect = X.firstEffect), a.lastEffect = X.lastEffect), 1 < X.effectTag && (null !== a.lastEffect ? a.lastEffect.nextEffect = X : a.firstEffect = X, a.lastEffect = X));\n } else {\n b = zi(X);\n if (null !== b) return b.effectTag &= 2047, b;\n null !== a && (a.firstEffect = a.lastEffect = null, a.effectTag |= 2048);\n }\n\n b = X.sibling;\n if (null !== b) return b;\n X = a;\n } while (null !== X);\n\n S === ti && (S = jj);\n return null;\n}\n\nfunction Ij(a) {\n var b = a.expirationTime;\n a = a.childExpirationTime;\n return b > a ? b : a;\n}\n\nfunction Jj(a) {\n var b = ag();\n cg(99, Sj.bind(null, a, b));\n return null;\n}\n\nfunction Sj(a, b) {\n do {\n Dj();\n } while (null !== rj);\n\n if ((W & (fj | gj)) !== V) throw Error(u(327));\n var c = a.finishedWork,\n d = a.finishedExpirationTime;\n if (null === c) return null;\n a.finishedWork = null;\n a.finishedExpirationTime = 0;\n if (c === a.current) throw Error(u(177));\n a.callbackNode = null;\n a.callbackExpirationTime = 0;\n a.callbackPriority = 90;\n a.nextKnownPendingLevel = 0;\n var e = Ij(c);\n a.firstPendingTime = e;\n d <= a.lastSuspendedTime ? a.firstSuspendedTime = a.lastSuspendedTime = a.nextKnownPendingLevel = 0 : d <= a.firstSuspendedTime && (a.firstSuspendedTime = d - 1);\n d <= a.lastPingedTime && (a.lastPingedTime = 0);\n d <= a.lastExpiredTime && (a.lastExpiredTime = 0);\n a === T && (X = T = null, U = 0);\n 1 < c.effectTag ? null !== c.lastEffect ? (c.lastEffect.nextEffect = c, e = c.firstEffect) : e = c : e = c.firstEffect;\n\n if (null !== e) {\n var f = W;\n W |= gj;\n dj.current = null;\n Dd = fd;\n var g = xd();\n\n if (yd(g)) {\n if (\"selectionStart\" in g) var h = {\n start: g.selectionStart,\n end: g.selectionEnd\n };else a: {\n h = (h = g.ownerDocument) && h.defaultView || window;\n var k = h.getSelection && h.getSelection();\n\n if (k && 0 !== k.rangeCount) {\n h = k.anchorNode;\n var l = k.anchorOffset,\n m = k.focusNode;\n k = k.focusOffset;\n\n try {\n h.nodeType, m.nodeType;\n } catch (wb) {\n h = null;\n break a;\n }\n\n var p = 0,\n x = -1,\n z = -1,\n ca = 0,\n D = 0,\n t = g,\n y = null;\n\n b: for (;;) {\n for (var A;;) {\n t !== h || 0 !== l && 3 !== t.nodeType || (x = p + l);\n t !== m || 0 !== k && 3 !== t.nodeType || (z = p + k);\n 3 === t.nodeType && (p += t.nodeValue.length);\n if (null === (A = t.firstChild)) break;\n y = t;\n t = A;\n }\n\n for (;;) {\n if (t === g) break b;\n y === h && ++ca === l && (x = p);\n y === m && ++D === k && (z = p);\n if (null !== (A = t.nextSibling)) break;\n t = y;\n y = t.parentNode;\n }\n\n t = A;\n }\n\n h = -1 === x || -1 === z ? null : {\n start: x,\n end: z\n };\n } else h = null;\n }\n h = h || {\n start: 0,\n end: 0\n };\n } else h = null;\n\n Ed = {\n activeElementDetached: null,\n focusedElem: g,\n selectionRange: h\n };\n fd = !1;\n Y = e;\n\n do {\n try {\n Tj();\n } catch (wb) {\n if (null === Y) throw Error(u(330));\n Ei(Y, wb);\n Y = Y.nextEffect;\n }\n } while (null !== Y);\n\n Y = e;\n\n do {\n try {\n for (g = a, h = b; null !== Y;) {\n var q = Y.effectTag;\n q & 16 && Rb(Y.stateNode, \"\");\n\n if (q & 128) {\n var B = Y.alternate;\n\n if (null !== B) {\n var w = B.ref;\n null !== w && (\"function\" === typeof w ? w(null) : w.current = null);\n }\n }\n\n switch (q & 1038) {\n case 2:\n Pi(Y);\n Y.effectTag &= -3;\n break;\n\n case 6:\n Pi(Y);\n Y.effectTag &= -3;\n Si(Y.alternate, Y);\n break;\n\n case 1024:\n Y.effectTag &= -1025;\n break;\n\n case 1028:\n Y.effectTag &= -1025;\n Si(Y.alternate, Y);\n break;\n\n case 4:\n Si(Y.alternate, Y);\n break;\n\n case 8:\n l = Y, Mi(g, l, h), Ni(l);\n }\n\n Y = Y.nextEffect;\n }\n } catch (wb) {\n if (null === Y) throw Error(u(330));\n Ei(Y, wb);\n Y = Y.nextEffect;\n }\n } while (null !== Y);\n\n w = Ed;\n B = xd();\n q = w.focusedElem;\n h = w.selectionRange;\n\n if (B !== q && q && q.ownerDocument && wd(q.ownerDocument.documentElement, q)) {\n null !== h && yd(q) && (B = h.start, w = h.end, void 0 === w && (w = B), \"selectionStart\" in q ? (q.selectionStart = B, q.selectionEnd = Math.min(w, q.value.length)) : (w = (B = q.ownerDocument || document) && B.defaultView || window, w.getSelection && (w = w.getSelection(), l = q.textContent.length, g = Math.min(h.start, l), h = void 0 === h.end ? g : Math.min(h.end, l), !w.extend && g > h && (l = h, h = g, g = l), l = vd(q, g), m = vd(q, h), l && m && (1 !== w.rangeCount || w.anchorNode !== l.node || w.anchorOffset !== l.offset || w.focusNode !== m.node || w.focusOffset !== m.offset) && (B = B.createRange(), B.setStart(l.node, l.offset), w.removeAllRanges(), g > h ? (w.addRange(B), w.extend(m.node, m.offset)) : (B.setEnd(m.node, m.offset), w.addRange(B))))));\n B = [];\n\n for (w = q; w = w.parentNode;) {\n 1 === w.nodeType && B.push({\n element: w,\n left: w.scrollLeft,\n top: w.scrollTop\n });\n }\n\n \"function\" === typeof q.focus && q.focus();\n\n for (q = 0; q < B.length; q++) {\n w = B[q], w.element.scrollLeft = w.left, w.element.scrollTop = w.top;\n }\n }\n\n fd = !!Dd;\n Ed = Dd = null;\n a.current = c;\n Y = e;\n\n do {\n try {\n for (q = a; null !== Y;) {\n var ub = Y.effectTag;\n ub & 36 && Ji(q, Y.alternate, Y);\n\n if (ub & 128) {\n B = void 0;\n var vb = Y.ref;\n\n if (null !== vb) {\n var Xc = Y.stateNode;\n\n switch (Y.tag) {\n case 5:\n B = Xc;\n break;\n\n default:\n B = Xc;\n }\n\n \"function\" === typeof vb ? vb(B) : vb.current = B;\n }\n }\n\n Y = Y.nextEffect;\n }\n } catch (wb) {\n if (null === Y) throw Error(u(330));\n Ei(Y, wb);\n Y = Y.nextEffect;\n }\n } while (null !== Y);\n\n Y = null;\n Vf();\n W = f;\n } else a.current = c;\n\n if (qj) qj = !1, rj = a, sj = b;else for (Y = e; null !== Y;) {\n b = Y.nextEffect, Y.nextEffect = null, Y = b;\n }\n b = a.firstPendingTime;\n 0 === b && (aj = null);\n 1073741823 === b ? a === vj ? uj++ : (uj = 0, vj = a) : uj = 0;\n \"function\" === typeof Uj && Uj(c.stateNode, d);\n Z(a);\n if (Yi) throw Yi = !1, a = Zi, Zi = null, a;\n if ((W & ej) !== V) return null;\n gg();\n return null;\n}\n\nfunction Tj() {\n for (; null !== Y;) {\n var a = Y.effectTag;\n 0 !== (a & 256) && Gi(Y.alternate, Y);\n 0 === (a & 512) || qj || (qj = !0, dg(97, function () {\n Dj();\n return null;\n }));\n Y = Y.nextEffect;\n }\n}\n\nfunction Dj() {\n if (90 !== sj) {\n var a = 97 < sj ? 97 : sj;\n sj = 90;\n return cg(a, Vj);\n }\n}\n\nfunction Vj() {\n if (null === rj) return !1;\n var a = rj;\n rj = null;\n if ((W & (fj | gj)) !== V) throw Error(u(331));\n var b = W;\n W |= gj;\n\n for (a = a.current.firstEffect; null !== a;) {\n try {\n var c = a;\n if (0 !== (c.effectTag & 512)) switch (c.tag) {\n case 0:\n case 11:\n case 15:\n case 22:\n Hi(5, c), Ii(5, c);\n }\n } catch (d) {\n if (null === a) throw Error(u(330));\n Ei(a, d);\n }\n\n c = a.nextEffect;\n a.nextEffect = null;\n a = c;\n }\n\n W = b;\n gg();\n return !0;\n}\n\nfunction Wj(a, b, c) {\n b = Ai(c, b);\n b = Xi(a, b, 1073741823);\n xg(a, b);\n a = xj(a, 1073741823);\n null !== a && Z(a);\n}\n\nfunction Ei(a, b) {\n if (3 === a.tag) Wj(a, a, b);else for (var c = a.return; null !== c;) {\n if (3 === c.tag) {\n Wj(c, a, b);\n break;\n } else if (1 === c.tag) {\n var d = c.stateNode;\n\n if (\"function\" === typeof c.type.getDerivedStateFromError || \"function\" === typeof d.componentDidCatch && (null === aj || !aj.has(d))) {\n a = Ai(b, a);\n a = $i(c, a, 1073741823);\n xg(c, a);\n c = xj(c, 1073741823);\n null !== c && Z(c);\n break;\n }\n }\n\n c = c.return;\n }\n}\n\nfunction Oj(a, b, c) {\n var d = a.pingCache;\n null !== d && d.delete(b);\n T === a && U === c ? S === vi || S === ui && 1073741823 === lj && $f() - Ti < pj ? Ej(a, U) : oj = !0 : Aj(a, c) && (b = a.lastPingedTime, 0 !== b && b < c || (a.lastPingedTime = c, Z(a)));\n}\n\nfunction Vi(a, b) {\n var c = a.stateNode;\n null !== c && c.delete(b);\n b = 0;\n 0 === b && (b = Gg(), b = Hg(b, a, null));\n a = xj(a, b);\n null !== a && Z(a);\n}\n\nvar Rj;\n\nRj = function Rj(a, b, c) {\n var d = b.expirationTime;\n\n if (null !== a) {\n var e = b.pendingProps;\n if (a.memoizedProps !== e || K.current) rg = !0;else {\n if (d < c) {\n rg = !1;\n\n switch (b.tag) {\n case 3:\n hi(b);\n Xh();\n break;\n\n case 5:\n fh(b);\n if (b.mode & 4 && 1 !== c && e.hidden) return b.expirationTime = b.childExpirationTime = 1, null;\n break;\n\n case 1:\n L(b.type) && Gf(b);\n break;\n\n case 4:\n dh(b, b.stateNode.containerInfo);\n break;\n\n case 10:\n d = b.memoizedProps.value;\n e = b.type._context;\n I(jg, e._currentValue);\n e._currentValue = d;\n break;\n\n case 13:\n if (null !== b.memoizedState) {\n d = b.child.childExpirationTime;\n if (0 !== d && d >= c) return ji(a, b, c);\n I(M, M.current & 1);\n b = $h(a, b, c);\n return null !== b ? b.sibling : null;\n }\n\n I(M, M.current & 1);\n break;\n\n case 19:\n d = b.childExpirationTime >= c;\n\n if (0 !== (a.effectTag & 64)) {\n if (d) return mi(a, b, c);\n b.effectTag |= 64;\n }\n\n e = b.memoizedState;\n null !== e && (e.rendering = null, e.tail = null);\n I(M, M.current);\n if (!d) return null;\n }\n\n return $h(a, b, c);\n }\n\n rg = !1;\n }\n } else rg = !1;\n\n b.expirationTime = 0;\n\n switch (b.tag) {\n case 2:\n d = b.type;\n null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2);\n a = b.pendingProps;\n e = Cf(b, J.current);\n qg(b, c);\n e = oh(null, b, d, a, e, c);\n b.effectTag |= 1;\n\n if (\"object\" === _typeof(e) && null !== e && \"function\" === typeof e.render && void 0 === e.$$typeof) {\n b.tag = 1;\n b.memoizedState = null;\n b.updateQueue = null;\n\n if (L(d)) {\n var f = !0;\n Gf(b);\n } else f = !1;\n\n b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null;\n ug(b);\n var g = d.getDerivedStateFromProps;\n \"function\" === typeof g && Fg(b, d, g, a);\n e.updater = Jg;\n b.stateNode = e;\n e._reactInternalFiber = b;\n Ng(b, d, a, c);\n b = gi(null, b, d, !0, f, c);\n } else b.tag = 0, R(null, b, e, c), b = b.child;\n\n return b;\n\n case 16:\n a: {\n e = b.elementType;\n null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2);\n a = b.pendingProps;\n ob(e);\n if (1 !== e._status) throw e._result;\n e = e._result;\n b.type = e;\n f = b.tag = Xj(e);\n a = ig(e, a);\n\n switch (f) {\n case 0:\n b = di(null, b, e, a, c);\n break a;\n\n case 1:\n b = fi(null, b, e, a, c);\n break a;\n\n case 11:\n b = Zh(null, b, e, a, c);\n break a;\n\n case 14:\n b = ai(null, b, e, ig(e.type, a), d, c);\n break a;\n }\n\n throw Error(u(306, e, \"\"));\n }\n\n return b;\n\n case 0:\n return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : ig(d, e), di(a, b, d, e, c);\n\n case 1:\n return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : ig(d, e), fi(a, b, d, e, c);\n\n case 3:\n hi(b);\n d = b.updateQueue;\n if (null === a || null === d) throw Error(u(282));\n d = b.pendingProps;\n e = b.memoizedState;\n e = null !== e ? e.element : null;\n vg(a, b);\n zg(b, d, null, c);\n d = b.memoizedState.element;\n if (d === e) Xh(), b = $h(a, b, c);else {\n if (e = b.stateNode.hydrate) Ph = Jd(b.stateNode.containerInfo.firstChild), Oh = b, e = Qh = !0;\n if (e) for (c = Yg(b, null, d, c), b.child = c; c;) {\n c.effectTag = c.effectTag & -3 | 1024, c = c.sibling;\n } else R(a, b, d, c), Xh();\n b = b.child;\n }\n return b;\n\n case 5:\n return fh(b), null === a && Uh(b), d = b.type, e = b.pendingProps, f = null !== a ? a.memoizedProps : null, g = e.children, Gd(d, e) ? g = null : null !== f && Gd(d, f) && (b.effectTag |= 16), ei(a, b), b.mode & 4 && 1 !== c && e.hidden ? (b.expirationTime = b.childExpirationTime = 1, b = null) : (R(a, b, g, c), b = b.child), b;\n\n case 6:\n return null === a && Uh(b), null;\n\n case 13:\n return ji(a, b, c);\n\n case 4:\n return dh(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = Xg(b, null, d, c) : R(a, b, d, c), b.child;\n\n case 11:\n return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : ig(d, e), Zh(a, b, d, e, c);\n\n case 7:\n return R(a, b, b.pendingProps, c), b.child;\n\n case 8:\n return R(a, b, b.pendingProps.children, c), b.child;\n\n case 12:\n return R(a, b, b.pendingProps.children, c), b.child;\n\n case 10:\n a: {\n d = b.type._context;\n e = b.pendingProps;\n g = b.memoizedProps;\n f = e.value;\n var h = b.type._context;\n I(jg, h._currentValue);\n h._currentValue = f;\n if (null !== g) if (h = g.value, f = $e(h, f) ? 0 : (\"function\" === typeof d._calculateChangedBits ? d._calculateChangedBits(h, f) : 1073741823) | 0, 0 === f) {\n if (g.children === e.children && !K.current) {\n b = $h(a, b, c);\n break a;\n }\n } else for (h = b.child, null !== h && (h.return = b); null !== h;) {\n var k = h.dependencies;\n\n if (null !== k) {\n g = h.child;\n\n for (var l = k.firstContext; null !== l;) {\n if (l.context === d && 0 !== (l.observedBits & f)) {\n 1 === h.tag && (l = wg(c, null), l.tag = 2, xg(h, l));\n h.expirationTime < c && (h.expirationTime = c);\n l = h.alternate;\n null !== l && l.expirationTime < c && (l.expirationTime = c);\n pg(h.return, c);\n k.expirationTime < c && (k.expirationTime = c);\n break;\n }\n\n l = l.next;\n }\n } else g = 10 === h.tag ? h.type === b.type ? null : h.child : h.child;\n\n if (null !== g) g.return = h;else for (g = h; null !== g;) {\n if (g === b) {\n g = null;\n break;\n }\n\n h = g.sibling;\n\n if (null !== h) {\n h.return = g.return;\n g = h;\n break;\n }\n\n g = g.return;\n }\n h = g;\n }\n R(a, b, e.children, c);\n b = b.child;\n }\n\n return b;\n\n case 9:\n return e = b.type, f = b.pendingProps, d = f.children, qg(b, c), e = sg(e, f.unstable_observedBits), d = d(e), b.effectTag |= 1, R(a, b, d, c), b.child;\n\n case 14:\n return e = b.type, f = ig(e, b.pendingProps), f = ig(e.type, f), ai(a, b, e, f, d, c);\n\n case 15:\n return ci(a, b, b.type, b.pendingProps, d, c);\n\n case 17:\n return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : ig(d, e), null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2), b.tag = 1, L(d) ? (a = !0, Gf(b)) : a = !1, qg(b, c), Lg(b, d, e), Ng(b, d, e, c), gi(null, b, d, !0, a, c);\n\n case 19:\n return mi(a, b, c);\n }\n\n throw Error(u(156, b.tag));\n};\n\nvar Uj = null,\n Li = null;\n\nfunction Yj(a) {\n if (\"undefined\" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;\n var b = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (b.isDisabled || !b.supportsFiber) return !0;\n\n try {\n var c = b.inject(a);\n\n Uj = function Uj(a) {\n try {\n b.onCommitFiberRoot(c, a, void 0, 64 === (a.current.effectTag & 64));\n } catch (e) {}\n };\n\n Li = function Li(a) {\n try {\n b.onCommitFiberUnmount(c, a);\n } catch (e) {}\n };\n } catch (d) {}\n\n return !0;\n}\n\nfunction Zj(a, b, c, d) {\n this.tag = a;\n this.key = c;\n this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;\n this.index = 0;\n this.ref = null;\n this.pendingProps = b;\n this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;\n this.mode = d;\n this.effectTag = 0;\n this.lastEffect = this.firstEffect = this.nextEffect = null;\n this.childExpirationTime = this.expirationTime = 0;\n this.alternate = null;\n}\n\nfunction Sh(a, b, c, d) {\n return new Zj(a, b, c, d);\n}\n\nfunction bi(a) {\n a = a.prototype;\n return !(!a || !a.isReactComponent);\n}\n\nfunction Xj(a) {\n if (\"function\" === typeof a) return bi(a) ? 1 : 0;\n\n if (void 0 !== a && null !== a) {\n a = a.$$typeof;\n if (a === gb) return 11;\n if (a === jb) return 14;\n }\n\n return 2;\n}\n\nfunction Sg(a, b) {\n var c = a.alternate;\n null === c ? (c = Sh(a.tag, b, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = b, c.effectTag = 0, c.nextEffect = null, c.firstEffect = null, c.lastEffect = null);\n c.childExpirationTime = a.childExpirationTime;\n c.expirationTime = a.expirationTime;\n c.child = a.child;\n c.memoizedProps = a.memoizedProps;\n c.memoizedState = a.memoizedState;\n c.updateQueue = a.updateQueue;\n b = a.dependencies;\n c.dependencies = null === b ? null : {\n expirationTime: b.expirationTime,\n firstContext: b.firstContext,\n responders: b.responders\n };\n c.sibling = a.sibling;\n c.index = a.index;\n c.ref = a.ref;\n return c;\n}\n\nfunction Ug(a, b, c, d, e, f) {\n var g = 2;\n d = a;\n if (\"function\" === typeof a) bi(a) && (g = 1);else if (\"string\" === typeof a) g = 5;else a: switch (a) {\n case ab:\n return Wg(c.children, e, f, b);\n\n case fb:\n g = 8;\n e |= 7;\n break;\n\n case bb:\n g = 8;\n e |= 1;\n break;\n\n case cb:\n return a = Sh(12, c, b, e | 8), a.elementType = cb, a.type = cb, a.expirationTime = f, a;\n\n case hb:\n return a = Sh(13, c, b, e), a.type = hb, a.elementType = hb, a.expirationTime = f, a;\n\n case ib:\n return a = Sh(19, c, b, e), a.elementType = ib, a.expirationTime = f, a;\n\n default:\n if (\"object\" === _typeof(a) && null !== a) switch (a.$$typeof) {\n case db:\n g = 10;\n break a;\n\n case eb:\n g = 9;\n break a;\n\n case gb:\n g = 11;\n break a;\n\n case jb:\n g = 14;\n break a;\n\n case kb:\n g = 16;\n d = null;\n break a;\n\n case lb:\n g = 22;\n break a;\n }\n throw Error(u(130, null == a ? a : _typeof(a), \"\"));\n }\n b = Sh(g, c, b, e);\n b.elementType = a;\n b.type = d;\n b.expirationTime = f;\n return b;\n}\n\nfunction Wg(a, b, c, d) {\n a = Sh(7, a, d, b);\n a.expirationTime = c;\n return a;\n}\n\nfunction Tg(a, b, c) {\n a = Sh(6, a, null, b);\n a.expirationTime = c;\n return a;\n}\n\nfunction Vg(a, b, c) {\n b = Sh(4, null !== a.children ? a.children : [], a.key, b);\n b.expirationTime = c;\n b.stateNode = {\n containerInfo: a.containerInfo,\n pendingChildren: null,\n implementation: a.implementation\n };\n return b;\n}\n\nfunction ak(a, b, c) {\n this.tag = b;\n this.current = null;\n this.containerInfo = a;\n this.pingCache = this.pendingChildren = null;\n this.finishedExpirationTime = 0;\n this.finishedWork = null;\n this.timeoutHandle = -1;\n this.pendingContext = this.context = null;\n this.hydrate = c;\n this.callbackNode = null;\n this.callbackPriority = 90;\n this.lastExpiredTime = this.lastPingedTime = this.nextKnownPendingLevel = this.lastSuspendedTime = this.firstSuspendedTime = this.firstPendingTime = 0;\n}\n\nfunction Aj(a, b) {\n var c = a.firstSuspendedTime;\n a = a.lastSuspendedTime;\n return 0 !== c && c >= b && a <= b;\n}\n\nfunction xi(a, b) {\n var c = a.firstSuspendedTime,\n d = a.lastSuspendedTime;\n c < b && (a.firstSuspendedTime = b);\n if (d > b || 0 === c) a.lastSuspendedTime = b;\n b <= a.lastPingedTime && (a.lastPingedTime = 0);\n b <= a.lastExpiredTime && (a.lastExpiredTime = 0);\n}\n\nfunction yi(a, b) {\n b > a.firstPendingTime && (a.firstPendingTime = b);\n var c = a.firstSuspendedTime;\n 0 !== c && (b >= c ? a.firstSuspendedTime = a.lastSuspendedTime = a.nextKnownPendingLevel = 0 : b >= a.lastSuspendedTime && (a.lastSuspendedTime = b + 1), b > a.nextKnownPendingLevel && (a.nextKnownPendingLevel = b));\n}\n\nfunction Cj(a, b) {\n var c = a.lastExpiredTime;\n if (0 === c || c > b) a.lastExpiredTime = b;\n}\n\nfunction bk(a, b, c, d) {\n var e = b.current,\n f = Gg(),\n g = Dg.suspense;\n f = Hg(f, e, g);\n\n a: if (c) {\n c = c._reactInternalFiber;\n\n b: {\n if (dc(c) !== c || 1 !== c.tag) throw Error(u(170));\n var h = c;\n\n do {\n switch (h.tag) {\n case 3:\n h = h.stateNode.context;\n break b;\n\n case 1:\n if (L(h.type)) {\n h = h.stateNode.__reactInternalMemoizedMergedChildContext;\n break b;\n }\n\n }\n\n h = h.return;\n } while (null !== h);\n\n throw Error(u(171));\n }\n\n if (1 === c.tag) {\n var k = c.type;\n\n if (L(k)) {\n c = Ff(c, k, h);\n break a;\n }\n }\n\n c = h;\n } else c = Af;\n\n null === b.context ? b.context = c : b.pendingContext = c;\n b = wg(f, g);\n b.payload = {\n element: a\n };\n d = void 0 === d ? null : d;\n null !== d && (b.callback = d);\n xg(e, b);\n Ig(e, f);\n return f;\n}\n\nfunction ck(a) {\n a = a.current;\n if (!a.child) return null;\n\n switch (a.child.tag) {\n case 5:\n return a.child.stateNode;\n\n default:\n return a.child.stateNode;\n }\n}\n\nfunction dk(a, b) {\n a = a.memoizedState;\n null !== a && null !== a.dehydrated && a.retryTime < b && (a.retryTime = b);\n}\n\nfunction ek(a, b) {\n dk(a, b);\n (a = a.alternate) && dk(a, b);\n}\n\nfunction fk(a, b, c) {\n c = null != c && !0 === c.hydrate;\n var d = new ak(a, b, c),\n e = Sh(3, null, null, 2 === b ? 7 : 1 === b ? 3 : 0);\n d.current = e;\n e.stateNode = d;\n ug(e);\n a[Od] = d.current;\n c && 0 !== b && Jc(a, 9 === a.nodeType ? a : a.ownerDocument);\n this._internalRoot = d;\n}\n\nfk.prototype.render = function (a) {\n bk(a, this._internalRoot, null, null);\n};\n\nfk.prototype.unmount = function () {\n var a = this._internalRoot,\n b = a.containerInfo;\n bk(null, a, null, function () {\n b[Od] = null;\n });\n};\n\nfunction gk(a) {\n return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType && (8 !== a.nodeType || \" react-mount-point-unstable \" !== a.nodeValue));\n}\n\nfunction hk(a, b) {\n b || (b = a ? 9 === a.nodeType ? a.documentElement : a.firstChild : null, b = !(!b || 1 !== b.nodeType || !b.hasAttribute(\"data-reactroot\")));\n if (!b) for (var c; c = a.lastChild;) {\n a.removeChild(c);\n }\n return new fk(a, 0, b ? {\n hydrate: !0\n } : void 0);\n}\n\nfunction ik(a, b, c, d, e) {\n var f = c._reactRootContainer;\n\n if (f) {\n var g = f._internalRoot;\n\n if (\"function\" === typeof e) {\n var h = e;\n\n e = function e() {\n var a = ck(g);\n h.call(a);\n };\n }\n\n bk(b, g, a, e);\n } else {\n f = c._reactRootContainer = hk(c, d);\n g = f._internalRoot;\n\n if (\"function\" === typeof e) {\n var k = e;\n\n e = function e() {\n var a = ck(g);\n k.call(a);\n };\n }\n\n Nj(function () {\n bk(b, g, a, e);\n });\n }\n\n return ck(g);\n}\n\nfunction jk(a, b, c) {\n var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n return {\n $$typeof: $a,\n key: null == d ? null : \"\" + d,\n children: a,\n containerInfo: b,\n implementation: c\n };\n}\n\nwc = function wc(a) {\n if (13 === a.tag) {\n var b = hg(Gg(), 150, 100);\n Ig(a, b);\n ek(a, b);\n }\n};\n\nxc = function xc(a) {\n 13 === a.tag && (Ig(a, 3), ek(a, 3));\n};\n\nyc = function yc(a) {\n if (13 === a.tag) {\n var b = Gg();\n b = Hg(b, a, null);\n Ig(a, b);\n ek(a, b);\n }\n};\n\nza = function za(a, b, c) {\n switch (b) {\n case \"input\":\n Cb(a, c);\n b = c.name;\n\n if (\"radio\" === c.type && null != b) {\n for (c = a; c.parentNode;) {\n c = c.parentNode;\n }\n\n c = c.querySelectorAll(\"input[name=\" + JSON.stringify(\"\" + b) + '][type=\"radio\"]');\n\n for (b = 0; b < c.length; b++) {\n var d = c[b];\n\n if (d !== a && d.form === a.form) {\n var e = Qd(d);\n if (!e) throw Error(u(90));\n yb(d);\n Cb(d, e);\n }\n }\n }\n\n break;\n\n case \"textarea\":\n Kb(a, c);\n break;\n\n case \"select\":\n b = c.value, null != b && Hb(a, !!c.multiple, b, !1);\n }\n};\n\nFa = Mj;\n\nGa = function Ga(a, b, c, d, e) {\n var f = W;\n W |= 4;\n\n try {\n return cg(98, a.bind(null, b, c, d, e));\n } finally {\n W = f, W === V && gg();\n }\n};\n\nHa = function Ha() {\n (W & (1 | fj | gj)) === V && (Lj(), Dj());\n};\n\nIa = function Ia(a, b) {\n var c = W;\n W |= 2;\n\n try {\n return a(b);\n } finally {\n W = c, W === V && gg();\n }\n};\n\nfunction kk(a, b) {\n var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;\n if (!gk(b)) throw Error(u(200));\n return jk(a, b, null, c);\n}\n\nvar lk = {\n Events: [Nc, Pd, Qd, xa, ta, Xd, function (a) {\n jc(a, Wd);\n }, Da, Ea, id, mc, Dj, {\n current: !1\n }]\n};\n\n(function (a) {\n var b = a.findFiberByHostInstance;\n return Yj(n({}, a, {\n overrideHookState: null,\n overrideProps: null,\n setSuspenseHandler: null,\n scheduleUpdate: null,\n currentDispatcherRef: Wa.ReactCurrentDispatcher,\n findHostInstanceByFiber: function findHostInstanceByFiber(a) {\n a = hc(a);\n return null === a ? null : a.stateNode;\n },\n findFiberByHostInstance: function findFiberByHostInstance(a) {\n return b ? b(a) : null;\n },\n findHostInstancesForRefresh: null,\n scheduleRefresh: null,\n scheduleRoot: null,\n setRefreshHandler: null,\n getCurrentFiber: null\n }));\n})({\n findFiberByHostInstance: tc,\n bundleType: 0,\n version: \"16.13.1\",\n rendererPackageName: \"react-dom\"\n});\n\nexports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = lk;\nexports.createPortal = kk;\n\nexports.findDOMNode = function (a) {\n if (null == a) return null;\n if (1 === a.nodeType) return a;\n var b = a._reactInternalFiber;\n\n if (void 0 === b) {\n if (\"function\" === typeof a.render) throw Error(u(188));\n throw Error(u(268, Object.keys(a)));\n }\n\n a = hc(b);\n a = null === a ? null : a.stateNode;\n return a;\n};\n\nexports.flushSync = function (a, b) {\n if ((W & (fj | gj)) !== V) throw Error(u(187));\n var c = W;\n W |= 1;\n\n try {\n return cg(99, a.bind(null, b));\n } finally {\n W = c, gg();\n }\n};\n\nexports.hydrate = function (a, b, c) {\n if (!gk(b)) throw Error(u(200));\n return ik(null, a, b, !0, c);\n};\n\nexports.render = function (a, b, c) {\n if (!gk(b)) throw Error(u(200));\n return ik(null, a, b, !1, c);\n};\n\nexports.unmountComponentAtNode = function (a) {\n if (!gk(a)) throw Error(u(40));\n return a._reactRootContainer ? (Nj(function () {\n ik(null, null, a, !1, function () {\n a._reactRootContainer = null;\n a[Od] = null;\n });\n }), !0) : !1;\n};\n\nexports.unstable_batchedUpdates = Mj;\n\nexports.unstable_createPortal = function (a, b) {\n return kk(a, b, 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null);\n};\n\nexports.unstable_renderSubtreeIntoContainer = function (a, b, c, d) {\n if (!gk(c)) throw Error(u(200));\n if (null == a || void 0 === a._reactInternalFiber) throw Error(u(38));\n return ik(a, b, c, !1, d);\n};\n\nexports.version = \"16.13.1\";","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}","/** @license React v0.19.1\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\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'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar _f, g, h, k, l;\n\nif (\"undefined\" === typeof window || \"function\" !== typeof MessageChannel) {\n var p = null,\n q = null,\n t = function t() {\n if (null !== p) try {\n var a = exports.unstable_now();\n p(!0, a);\n p = null;\n } catch (b) {\n throw setTimeout(t, 0), b;\n }\n },\n u = Date.now();\n\n exports.unstable_now = function () {\n return Date.now() - u;\n };\n\n _f = function f(a) {\n null !== p ? setTimeout(_f, 0, a) : (p = a, setTimeout(t, 0));\n };\n\n g = function g(a, b) {\n q = setTimeout(a, b);\n };\n\n h = function h() {\n clearTimeout(q);\n };\n\n k = function k() {\n return !1;\n };\n\n l = exports.unstable_forceFrameRate = function () {};\n} else {\n var w = window.performance,\n x = window.Date,\n y = window.setTimeout,\n z = window.clearTimeout;\n\n if (\"undefined\" !== typeof console) {\n var A = window.cancelAnimationFrame;\n \"function\" !== typeof window.requestAnimationFrame && console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\");\n \"function\" !== typeof A && console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\");\n }\n\n if (\"object\" === _typeof(w) && \"function\" === typeof w.now) exports.unstable_now = function () {\n return w.now();\n };else {\n var B = x.now();\n\n exports.unstable_now = function () {\n return x.now() - B;\n };\n }\n var C = !1,\n D = null,\n E = -1,\n F = 5,\n G = 0;\n\n k = function k() {\n return exports.unstable_now() >= G;\n };\n\n l = function l() {};\n\n exports.unstable_forceFrameRate = function (a) {\n 0 > a || 125 < a ? console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported\") : F = 0 < a ? Math.floor(1E3 / a) : 5;\n };\n\n var H = new MessageChannel(),\n I = H.port2;\n\n H.port1.onmessage = function () {\n if (null !== D) {\n var a = exports.unstable_now();\n G = a + F;\n\n try {\n D(!0, a) ? I.postMessage(null) : (C = !1, D = null);\n } catch (b) {\n throw I.postMessage(null), b;\n }\n } else C = !1;\n };\n\n _f = function _f(a) {\n D = a;\n C || (C = !0, I.postMessage(null));\n };\n\n g = function g(a, b) {\n E = y(function () {\n a(exports.unstable_now());\n }, b);\n };\n\n h = function h() {\n z(E);\n E = -1;\n };\n}\n\nfunction J(a, b) {\n var c = a.length;\n a.push(b);\n\n a: for (;;) {\n var d = c - 1 >>> 1,\n e = a[d];\n if (void 0 !== e && 0 < K(e, b)) a[d] = b, a[c] = e, c = d;else break a;\n }\n}\n\nfunction L(a) {\n a = a[0];\n return void 0 === a ? null : a;\n}\n\nfunction M(a) {\n var b = a[0];\n\n if (void 0 !== b) {\n var c = a.pop();\n\n if (c !== b) {\n a[0] = c;\n\n a: for (var d = 0, e = a.length; d < e;) {\n var m = 2 * (d + 1) - 1,\n n = a[m],\n v = m + 1,\n r = a[v];\n if (void 0 !== n && 0 > K(n, c)) void 0 !== r && 0 > K(r, n) ? (a[d] = r, a[v] = c, d = v) : (a[d] = n, a[m] = c, d = m);else if (void 0 !== r && 0 > K(r, c)) a[d] = r, a[v] = c, d = v;else break a;\n }\n }\n\n return b;\n }\n\n return null;\n}\n\nfunction K(a, b) {\n var c = a.sortIndex - b.sortIndex;\n return 0 !== c ? c : a.id - b.id;\n}\n\nvar N = [],\n O = [],\n P = 1,\n Q = null,\n R = 3,\n S = !1,\n T = !1,\n U = !1;\n\nfunction V(a) {\n for (var b = L(O); null !== b;) {\n if (null === b.callback) M(O);else if (b.startTime <= a) M(O), b.sortIndex = b.expirationTime, J(N, b);else break;\n b = L(O);\n }\n}\n\nfunction W(a) {\n U = !1;\n V(a);\n if (!T) if (null !== L(N)) T = !0, _f(X);else {\n var b = L(O);\n null !== b && g(W, b.startTime - a);\n }\n}\n\nfunction X(a, b) {\n T = !1;\n U && (U = !1, h());\n S = !0;\n var c = R;\n\n try {\n V(b);\n\n for (Q = L(N); null !== Q && (!(Q.expirationTime > b) || a && !k());) {\n var d = Q.callback;\n\n if (null !== d) {\n Q.callback = null;\n R = Q.priorityLevel;\n var e = d(Q.expirationTime <= b);\n b = exports.unstable_now();\n \"function\" === typeof e ? Q.callback = e : Q === L(N) && M(N);\n V(b);\n } else M(N);\n\n Q = L(N);\n }\n\n if (null !== Q) var m = !0;else {\n var n = L(O);\n null !== n && g(W, n.startTime - b);\n m = !1;\n }\n return m;\n } finally {\n Q = null, R = c, S = !1;\n }\n}\n\nfunction Y(a) {\n switch (a) {\n case 1:\n return -1;\n\n case 2:\n return 250;\n\n case 5:\n return 1073741823;\n\n case 4:\n return 1E4;\n\n default:\n return 5E3;\n }\n}\n\nvar Z = l;\nexports.unstable_IdlePriority = 5;\nexports.unstable_ImmediatePriority = 1;\nexports.unstable_LowPriority = 4;\nexports.unstable_NormalPriority = 3;\nexports.unstable_Profiling = null;\nexports.unstable_UserBlockingPriority = 2;\n\nexports.unstable_cancelCallback = function (a) {\n a.callback = null;\n};\n\nexports.unstable_continueExecution = function () {\n T || S || (T = !0, _f(X));\n};\n\nexports.unstable_getCurrentPriorityLevel = function () {\n return R;\n};\n\nexports.unstable_getFirstCallbackNode = function () {\n return L(N);\n};\n\nexports.unstable_next = function (a) {\n switch (R) {\n case 1:\n case 2:\n case 3:\n var b = 3;\n break;\n\n default:\n b = R;\n }\n\n var c = R;\n R = b;\n\n try {\n return a();\n } finally {\n R = c;\n }\n};\n\nexports.unstable_pauseExecution = function () {};\n\nexports.unstable_requestPaint = Z;\n\nexports.unstable_runWithPriority = function (a, b) {\n switch (a) {\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n break;\n\n default:\n a = 3;\n }\n\n var c = R;\n R = a;\n\n try {\n return b();\n } finally {\n R = c;\n }\n};\n\nexports.unstable_scheduleCallback = function (a, b, c) {\n var d = exports.unstable_now();\n\n if (\"object\" === _typeof(c) && null !== c) {\n var e = c.delay;\n e = \"number\" === typeof e && 0 < e ? d + e : d;\n c = \"number\" === typeof c.timeout ? c.timeout : Y(a);\n } else c = Y(a), e = d;\n\n c = e + c;\n a = {\n id: P++,\n callback: b,\n priorityLevel: a,\n startTime: e,\n expirationTime: c,\n sortIndex: -1\n };\n e > d ? (a.sortIndex = e, J(O, a), null === L(N) && a === L(O) && (U ? h() : U = !0, g(W, e - d))) : (a.sortIndex = c, J(N, a), T || S || (T = !0, _f(X)));\n return a;\n};\n\nexports.unstable_shouldYield = function () {\n var a = exports.unstable_now();\n V(a);\n var b = L(N);\n return b !== Q && null !== Q && null !== b && null !== b.callback && b.startTime <= a && b.expirationTime < Q.expirationTime || k();\n};\n\nexports.unstable_wrapCallback = function (a) {\n var b = R;\n return function () {\n var c = R;\n R = b;\n\n try {\n return a.apply(this, arguments);\n } finally {\n R = c;\n }\n };\n};","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\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'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar b = \"function\" === typeof Symbol && Symbol.for,\n c = b ? Symbol.for(\"react.element\") : 60103,\n d = b ? Symbol.for(\"react.portal\") : 60106,\n e = b ? Symbol.for(\"react.fragment\") : 60107,\n f = b ? Symbol.for(\"react.strict_mode\") : 60108,\n g = b ? Symbol.for(\"react.profiler\") : 60114,\n h = b ? Symbol.for(\"react.provider\") : 60109,\n k = b ? Symbol.for(\"react.context\") : 60110,\n l = b ? Symbol.for(\"react.async_mode\") : 60111,\n m = b ? Symbol.for(\"react.concurrent_mode\") : 60111,\n n = b ? Symbol.for(\"react.forward_ref\") : 60112,\n p = b ? Symbol.for(\"react.suspense\") : 60113,\n q = b ? Symbol.for(\"react.suspense_list\") : 60120,\n r = b ? Symbol.for(\"react.memo\") : 60115,\n t = b ? Symbol.for(\"react.lazy\") : 60116,\n v = b ? Symbol.for(\"react.block\") : 60121,\n w = b ? Symbol.for(\"react.fundamental\") : 60117,\n x = b ? Symbol.for(\"react.responder\") : 60118,\n y = b ? Symbol.for(\"react.scope\") : 60119;\n\nfunction z(a) {\n if (\"object\" === _typeof(a) && null !== a) {\n var u = a.$$typeof;\n\n switch (u) {\n case c:\n switch (a = a.type, a) {\n case l:\n case m:\n case e:\n case g:\n case f:\n case p:\n return a;\n\n default:\n switch (a = a && a.$$typeof, a) {\n case k:\n case n:\n case t:\n case r:\n case h:\n return a;\n\n default:\n return u;\n }\n\n }\n\n case d:\n return u;\n }\n }\n}\n\nfunction A(a) {\n return z(a) === m;\n}\n\nexports.AsyncMode = l;\nexports.ConcurrentMode = m;\nexports.ContextConsumer = k;\nexports.ContextProvider = h;\nexports.Element = c;\nexports.ForwardRef = n;\nexports.Fragment = e;\nexports.Lazy = t;\nexports.Memo = r;\nexports.Portal = d;\nexports.Profiler = g;\nexports.StrictMode = f;\nexports.Suspense = p;\n\nexports.isAsyncMode = function (a) {\n return A(a) || z(a) === l;\n};\n\nexports.isConcurrentMode = A;\n\nexports.isContextConsumer = function (a) {\n return z(a) === k;\n};\n\nexports.isContextProvider = function (a) {\n return z(a) === h;\n};\n\nexports.isElement = function (a) {\n return \"object\" === _typeof(a) && null !== a && a.$$typeof === c;\n};\n\nexports.isForwardRef = function (a) {\n return z(a) === n;\n};\n\nexports.isFragment = function (a) {\n return z(a) === e;\n};\n\nexports.isLazy = function (a) {\n return z(a) === t;\n};\n\nexports.isMemo = function (a) {\n return z(a) === r;\n};\n\nexports.isPortal = function (a) {\n return z(a) === d;\n};\n\nexports.isProfiler = function (a) {\n return z(a) === g;\n};\n\nexports.isStrictMode = function (a) {\n return z(a) === f;\n};\n\nexports.isSuspense = function (a) {\n return z(a) === p;\n};\n\nexports.isValidElementType = function (a) {\n return \"string\" === typeof a || \"function\" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || \"object\" === _typeof(a) && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);\n};\n\nexports.typeOf = z;","module.exports = function (originalModule) {\n if (!originalModule.webpackPolyfill) {\n var module = Object.create(originalModule); // module.parent = undefined by default\n\n if (!module.children) module.children = [];\n Object.defineProperty(module, \"loaded\", {\n enumerable: true,\n get: function get() {\n return module.l;\n }\n });\n Object.defineProperty(module, \"id\", {\n enumerable: true,\n get: function get() {\n return module.i;\n }\n });\n Object.defineProperty(module, \"exports\", {\n enumerable: true\n });\n module.webpackPolyfill = 1;\n }\n\n return module;\n};","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n!function (_, t) {\n \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) && \"undefined\" != typeof module ? module.exports = t(require(\"dayjs\")) : \"function\" == typeof define && define.amd ? define([\"dayjs\"], t) : _.dayjs_locale_ru = t(_.dayjs);\n}(this, function (_) {\n \"use strict\";\n\n _ = _ && _.hasOwnProperty(\"default\") ? _.default : _;\n var t = \"ÑнварÑ_февралÑ_марта_апрелÑ_маÑ_июнÑ_июлÑ_авгуÑта_ÑентÑбрÑ_октÑбрÑ_ноÑбрÑ_декабрÑ\".split(\"_\"),\n e = \"Ñнварь_февраль_март_апрель_май_июнь_июль_авгуÑÑ‚_ÑентÑбрь_октÑбрь_ноÑбрь_декабрь\".split(\"_\"),\n n = \"Ñнв._февр._мар._апр._маÑ_июнÑ_июлÑ_авг._Ñент._окт._ноÑб._дек.\".split(\"_\"),\n s = \"Ñнв._февр._март_апр._май_июнь_июль_авг._Ñент._окт._ноÑб._дек.\".split(\"_\"),\n o = /D[oD]?(\\[[^[\\]]*\\]|\\s)+MMMM?/;\n\n function r(_, t, e) {\n var n, s;\n return \"m\" === e ? t ? \"минута\" : \"минуту\" : _ + \" \" + (n = +_, s = {\n mm: t ? \"минута_минуты_минут\" : \"минуту_минуты_минут\",\n hh: \"чаÑ_чаÑа_чаÑов\",\n dd: \"день_днÑ_дней\",\n MM: \"меÑÑц_меÑÑца_меÑÑцев\",\n yy: \"год_года_лет\"\n }[e].split(\"_\"), n % 10 == 1 && n % 100 != 11 ? s[0] : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? s[1] : s[2]);\n }\n\n var d = {\n name: \"ru\",\n weekdays: \"воÑкреÑенье_понедельник_вторник_Ñреда_четверг_пÑтница_Ñуббота\".split(\"_\"),\n weekdaysShort: \"вÑк_пнд_втр_Ñрд_чтв_птн_Ñбт\".split(\"_\"),\n weekdaysMin: \"вÑ_пн_вт_ÑÑ€_чт_пт_Ñб\".split(\"_\"),\n months: function months(_, n) {\n return o.test(n) ? t[_.month()] : e[_.month()];\n },\n monthsShort: function monthsShort(_, t) {\n return o.test(t) ? n[_.month()] : s[_.month()];\n },\n weekStart: 1,\n formats: {\n LT: \"H:mm\",\n LTS: \"H:mm:ss\",\n L: \"DD.MM.YYYY\",\n LL: \"D MMMM YYYY г.\",\n LLL: \"D MMMM YYYY г., H:mm\",\n LLLL: \"dddd, D MMMM YYYY г., H:mm\"\n },\n relativeTime: {\n future: \"через %s\",\n past: \"%s назад\",\n s: \"неÑколько Ñекунд\",\n m: r,\n mm: r,\n h: \"чаÑ\",\n hh: r,\n d: \"день\",\n dd: r,\n M: \"меÑÑц\",\n MM: r,\n y: \"год\",\n yy: r\n },\n ordinal: function ordinal(_) {\n return _;\n }\n };\n return _.locale(d, null, !0), d;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n!function (e, t) {\n \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) && \"undefined\" != typeof module ? t(exports) : \"function\" == typeof define && define.amd ? define([\"exports\"], t) : t(e.reduxLogger = e.reduxLogger || {});\n}(this, function (e) {\n \"use strict\";\n\n function t(e, t) {\n e.super_ = t, e.prototype = Object.create(t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n });\n }\n\n function r(e, t) {\n Object.defineProperty(this, \"kind\", {\n value: e,\n enumerable: !0\n }), t && t.length && Object.defineProperty(this, \"path\", {\n value: t,\n enumerable: !0\n });\n }\n\n function n(e, t, r) {\n n.super_.call(this, \"E\", e), Object.defineProperty(this, \"lhs\", {\n value: t,\n enumerable: !0\n }), Object.defineProperty(this, \"rhs\", {\n value: r,\n enumerable: !0\n });\n }\n\n function o(e, t) {\n o.super_.call(this, \"N\", e), Object.defineProperty(this, \"rhs\", {\n value: t,\n enumerable: !0\n });\n }\n\n function i(e, t) {\n i.super_.call(this, \"D\", e), Object.defineProperty(this, \"lhs\", {\n value: t,\n enumerable: !0\n });\n }\n\n function a(e, t, r) {\n a.super_.call(this, \"A\", e), Object.defineProperty(this, \"index\", {\n value: t,\n enumerable: !0\n }), Object.defineProperty(this, \"item\", {\n value: r,\n enumerable: !0\n });\n }\n\n function f(e, t, r) {\n var n = e.slice((r || t) + 1 || e.length);\n return e.length = t < 0 ? e.length + t : t, e.push.apply(e, n), e;\n }\n\n function u(e) {\n var t = \"undefined\" == typeof e ? \"undefined\" : N(e);\n return \"object\" !== t ? t : e === Math ? \"math\" : null === e ? \"null\" : Array.isArray(e) ? \"array\" : \"[object Date]\" === Object.prototype.toString.call(e) ? \"date\" : \"function\" == typeof e.toString && /^\\/.*\\//.test(e.toString()) ? \"regexp\" : \"object\";\n }\n\n function l(e, t, r, c, s, d, p) {\n s = s || [], p = p || [];\n var g = s.slice(0);\n\n if (\"undefined\" != typeof d) {\n if (c) {\n if (\"function\" == typeof c && c(g, d)) return;\n\n if (\"object\" === (\"undefined\" == typeof c ? \"undefined\" : N(c))) {\n if (c.prefilter && c.prefilter(g, d)) return;\n\n if (c.normalize) {\n var h = c.normalize(g, d, e, t);\n h && (e = h[0], t = h[1]);\n }\n }\n }\n\n g.push(d);\n }\n\n \"regexp\" === u(e) && \"regexp\" === u(t) && (e = e.toString(), t = t.toString());\n var y = \"undefined\" == typeof e ? \"undefined\" : N(e),\n v = \"undefined\" == typeof t ? \"undefined\" : N(t),\n b = \"undefined\" !== y || p && p[p.length - 1].lhs && p[p.length - 1].lhs.hasOwnProperty(d),\n m = \"undefined\" !== v || p && p[p.length - 1].rhs && p[p.length - 1].rhs.hasOwnProperty(d);\n if (!b && m) r(new o(g, t));else if (!m && b) r(new i(g, e));else if (u(e) !== u(t)) r(new n(g, e, t));else if (\"date\" === u(e) && e - t !== 0) r(new n(g, e, t));else if (\"object\" === y && null !== e && null !== t) {\n if (p.filter(function (t) {\n return t.lhs === e;\n }).length) e !== t && r(new n(g, e, t));else {\n if (p.push({\n lhs: e,\n rhs: t\n }), Array.isArray(e)) {\n var w;\n e.length;\n\n for (w = 0; w < e.length; w++) {\n w >= t.length ? r(new a(g, w, new i(void 0, e[w]))) : l(e[w], t[w], r, c, g, w, p);\n }\n\n for (; w < t.length;) {\n r(new a(g, w, new o(void 0, t[w++])));\n }\n } else {\n var x = Object.keys(e),\n S = Object.keys(t);\n x.forEach(function (n, o) {\n var i = S.indexOf(n);\n i >= 0 ? (l(e[n], t[n], r, c, g, n, p), S = f(S, i)) : l(e[n], void 0, r, c, g, n, p);\n }), S.forEach(function (e) {\n l(void 0, t[e], r, c, g, e, p);\n });\n }\n\n p.length = p.length - 1;\n }\n } else e !== t && (\"number\" === y && isNaN(e) && isNaN(t) || r(new n(g, e, t)));\n }\n\n function c(e, t, r, n) {\n return n = n || [], l(e, t, function (e) {\n e && n.push(e);\n }, r), n.length ? n : void 0;\n }\n\n function s(e, t, r) {\n if (r.path && r.path.length) {\n var n,\n o = e[t],\n i = r.path.length - 1;\n\n for (n = 0; n < i; n++) {\n o = o[r.path[n]];\n }\n\n switch (r.kind) {\n case \"A\":\n s(o[r.path[n]], r.index, r.item);\n break;\n\n case \"D\":\n delete o[r.path[n]];\n break;\n\n case \"E\":\n case \"N\":\n o[r.path[n]] = r.rhs;\n }\n } else switch (r.kind) {\n case \"A\":\n s(e[t], r.index, r.item);\n break;\n\n case \"D\":\n e = f(e, t);\n break;\n\n case \"E\":\n case \"N\":\n e[t] = r.rhs;\n }\n\n return e;\n }\n\n function d(e, t, r) {\n if (e && t && r && r.kind) {\n for (var n = e, o = -1, i = r.path ? r.path.length - 1 : 0; ++o < i;) {\n \"undefined\" == typeof n[r.path[o]] && (n[r.path[o]] = \"number\" == typeof r.path[o] ? [] : {}), n = n[r.path[o]];\n }\n\n switch (r.kind) {\n case \"A\":\n s(r.path ? n[r.path[o]] : n, r.index, r.item);\n break;\n\n case \"D\":\n delete n[r.path[o]];\n break;\n\n case \"E\":\n case \"N\":\n n[r.path[o]] = r.rhs;\n }\n }\n }\n\n function p(e, t, r) {\n if (r.path && r.path.length) {\n var n,\n o = e[t],\n i = r.path.length - 1;\n\n for (n = 0; n < i; n++) {\n o = o[r.path[n]];\n }\n\n switch (r.kind) {\n case \"A\":\n p(o[r.path[n]], r.index, r.item);\n break;\n\n case \"D\":\n o[r.path[n]] = r.lhs;\n break;\n\n case \"E\":\n o[r.path[n]] = r.lhs;\n break;\n\n case \"N\":\n delete o[r.path[n]];\n }\n } else switch (r.kind) {\n case \"A\":\n p(e[t], r.index, r.item);\n break;\n\n case \"D\":\n e[t] = r.lhs;\n break;\n\n case \"E\":\n e[t] = r.lhs;\n break;\n\n case \"N\":\n e = f(e, t);\n }\n\n return e;\n }\n\n function g(e, t, r) {\n if (e && t && r && r.kind) {\n var n,\n o,\n i = e;\n\n for (o = r.path.length - 1, n = 0; n < o; n++) {\n \"undefined\" == typeof i[r.path[n]] && (i[r.path[n]] = {}), i = i[r.path[n]];\n }\n\n switch (r.kind) {\n case \"A\":\n p(i[r.path[n]], r.index, r.item);\n break;\n\n case \"D\":\n i[r.path[n]] = r.lhs;\n break;\n\n case \"E\":\n i[r.path[n]] = r.lhs;\n break;\n\n case \"N\":\n delete i[r.path[n]];\n }\n }\n }\n\n function h(e, t, r) {\n if (e && t) {\n var n = function n(_n) {\n r && !r(e, t, _n) || d(e, t, _n);\n };\n\n l(e, t, n);\n }\n }\n\n function y(e) {\n return \"color: \" + F[e].color + \"; font-weight: bold\";\n }\n\n function v(e) {\n var t = e.kind,\n r = e.path,\n n = e.lhs,\n o = e.rhs,\n i = e.index,\n a = e.item;\n\n switch (t) {\n case \"E\":\n return [r.join(\".\"), n, \"→\", o];\n\n case \"N\":\n return [r.join(\".\"), o];\n\n case \"D\":\n return [r.join(\".\")];\n\n case \"A\":\n return [r.join(\".\") + \"[\" + i + \"]\", a];\n\n default:\n return [];\n }\n }\n\n function b(e, t, r, n) {\n var o = c(e, t);\n\n try {\n n ? r.groupCollapsed(\"diff\") : r.group(\"diff\");\n } catch (e) {\n r.log(\"diff\");\n }\n\n o ? o.forEach(function (e) {\n var t = e.kind,\n n = v(e);\n r.log.apply(r, [\"%c \" + F[t].text, y(t)].concat(P(n)));\n }) : r.log(\"—— no diff ——\");\n\n try {\n r.groupEnd();\n } catch (e) {\n r.log(\"—— diff end —— \");\n }\n }\n\n function m(e, t, r, n) {\n switch (\"undefined\" == typeof e ? \"undefined\" : N(e)) {\n case \"object\":\n return \"function\" == typeof e[n] ? e[n].apply(e, P(r)) : e[n];\n\n case \"function\":\n return e(t);\n\n default:\n return e;\n }\n }\n\n function w(e) {\n var t = e.timestamp,\n r = e.duration;\n return function (e, n, o) {\n var i = [\"action\"];\n return i.push(\"%c\" + String(e.type)), t && i.push(\"%c@ \" + n), r && i.push(\"%c(in \" + o.toFixed(2) + \" ms)\"), i.join(\" \");\n };\n }\n\n function x(e, t) {\n var r = t.logger,\n n = t.actionTransformer,\n o = t.titleFormatter,\n i = void 0 === o ? w(t) : o,\n a = t.collapsed,\n f = t.colors,\n u = t.level,\n l = t.diff,\n c = \"undefined\" == typeof t.titleFormatter;\n e.forEach(function (o, s) {\n var d = o.started,\n p = o.startedTime,\n g = o.action,\n h = o.prevState,\n y = o.error,\n v = o.took,\n w = o.nextState,\n x = e[s + 1];\n x && (w = x.prevState, v = x.started - d);\n var S = n(g),\n k = \"function\" == typeof a ? a(function () {\n return w;\n }, g, o) : a,\n j = D(p),\n E = f.title ? \"color: \" + f.title(S) + \";\" : \"\",\n A = [\"color: gray; font-weight: lighter;\"];\n A.push(E), t.timestamp && A.push(\"color: gray; font-weight: lighter;\"), t.duration && A.push(\"color: gray; font-weight: lighter;\");\n var O = i(S, j, v);\n\n try {\n k ? f.title && c ? r.groupCollapsed.apply(r, [\"%c \" + O].concat(A)) : r.groupCollapsed(O) : f.title && c ? r.group.apply(r, [\"%c \" + O].concat(A)) : r.group(O);\n } catch (e) {\n r.log(O);\n }\n\n var N = m(u, S, [h], \"prevState\"),\n P = m(u, S, [S], \"action\"),\n C = m(u, S, [y, h], \"error\"),\n F = m(u, S, [w], \"nextState\");\n if (N) if (f.prevState) {\n var L = \"color: \" + f.prevState(h) + \"; font-weight: bold\";\n r[N](\"%c prev state\", L, h);\n } else r[N](\"prev state\", h);\n if (P) if (f.action) {\n var T = \"color: \" + f.action(S) + \"; font-weight: bold\";\n r[P](\"%c action \", T, S);\n } else r[P](\"action \", S);\n if (y && C) if (f.error) {\n var M = \"color: \" + f.error(y, h) + \"; font-weight: bold;\";\n r[C](\"%c error \", M, y);\n } else r[C](\"error \", y);\n if (F) if (f.nextState) {\n var _ = \"color: \" + f.nextState(w) + \"; font-weight: bold\";\n\n r[F](\"%c next state\", _, w);\n } else r[F](\"next state\", w);\n l && b(h, w, r, k);\n\n try {\n r.groupEnd();\n } catch (e) {\n r.log(\"—— log end ——\");\n }\n });\n }\n\n function S() {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},\n t = Object.assign({}, L, e),\n r = t.logger,\n n = t.stateTransformer,\n o = t.errorTransformer,\n i = t.predicate,\n a = t.logErrors,\n f = t.diffPredicate;\n if (\"undefined\" == typeof r) return function () {\n return function (e) {\n return function (t) {\n return e(t);\n };\n };\n };\n if (e.getState && e.dispatch) return console.error(\"[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\\n// Logger with default options\\nimport { logger } from 'redux-logger'\\nconst store = createStore(\\n reducer,\\n applyMiddleware(logger)\\n)\\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\\nimport createLogger from 'redux-logger'\\nconst logger = createLogger({\\n // ...options\\n});\\nconst store = createStore(\\n reducer,\\n applyMiddleware(logger)\\n)\\n\"), function () {\n return function (e) {\n return function (t) {\n return e(t);\n };\n };\n };\n var u = [];\n return function (e) {\n var r = e.getState;\n return function (e) {\n return function (l) {\n if (\"function\" == typeof i && !i(r, l)) return e(l);\n var c = {};\n u.push(c), c.started = O.now(), c.startedTime = new Date(), c.prevState = n(r()), c.action = l;\n var s = void 0;\n if (a) try {\n s = e(l);\n } catch (e) {\n c.error = o(e);\n } else s = e(l);\n c.took = O.now() - c.started, c.nextState = n(r());\n var d = t.diff && \"function\" == typeof f ? f(r, l) : t.diff;\n if (x(u, Object.assign({}, t, {\n diff: d\n })), u.length = 0, c.error) throw c.error;\n return s;\n };\n };\n };\n }\n\n var k,\n j,\n E = function E(e, t) {\n return new Array(t + 1).join(e);\n },\n A = function A(e, t) {\n return E(\"0\", t - e.toString().length) + e;\n },\n D = function D(e) {\n return A(e.getHours(), 2) + \":\" + A(e.getMinutes(), 2) + \":\" + A(e.getSeconds(), 2) + \".\" + A(e.getMilliseconds(), 3);\n },\n O = \"undefined\" != typeof performance && null !== performance && \"function\" == typeof performance.now ? performance : Date,\n N = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n return _typeof(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n },\n P = function P(e) {\n if (Array.isArray(e)) {\n for (var t = 0, r = Array(e.length); t < e.length; t++) {\n r[t] = e[t];\n }\n\n return r;\n }\n\n return Array.from(e);\n },\n C = [];\n\n k = \"object\" === (\"undefined\" == typeof global ? \"undefined\" : N(global)) && global ? global : \"undefined\" != typeof window ? window : {}, j = k.DeepDiff, j && C.push(function () {\n \"undefined\" != typeof j && k.DeepDiff === c && (k.DeepDiff = j, j = void 0);\n }), t(n, r), t(o, r), t(i, r), t(a, r), Object.defineProperties(c, {\n diff: {\n value: c,\n enumerable: !0\n },\n observableDiff: {\n value: l,\n enumerable: !0\n },\n applyDiff: {\n value: h,\n enumerable: !0\n },\n applyChange: {\n value: d,\n enumerable: !0\n },\n revertChange: {\n value: g,\n enumerable: !0\n },\n isConflict: {\n value: function value() {\n return \"undefined\" != typeof j;\n },\n enumerable: !0\n },\n noConflict: {\n value: function value() {\n return C && (C.forEach(function (e) {\n e();\n }), C = null), c;\n },\n enumerable: !0\n }\n });\n\n var F = {\n E: {\n color: \"#2196F3\",\n text: \"CHANGED:\"\n },\n N: {\n color: \"#4CAF50\",\n text: \"ADDED:\"\n },\n D: {\n color: \"#F44336\",\n text: \"DELETED:\"\n },\n A: {\n color: \"#2196F3\",\n text: \"ARRAY:\"\n }\n },\n L = {\n level: \"log\",\n logger: console,\n logErrors: !0,\n collapsed: void 0,\n predicate: void 0,\n duration: !1,\n timestamp: !0,\n stateTransformer: function stateTransformer(e) {\n return e;\n },\n actionTransformer: function actionTransformer(e) {\n return e;\n },\n errorTransformer: function errorTransformer(e) {\n return e;\n },\n colors: {\n title: function title() {\n return \"inherit\";\n },\n prevState: function prevState() {\n return \"#9E9E9E\";\n },\n action: function action() {\n return \"#03A9F4\";\n },\n nextState: function nextState() {\n return \"#4CAF50\";\n },\n error: function error() {\n return \"#F20404\";\n }\n },\n diff: !1,\n diffPredicate: void 0,\n transformer: void 0\n },\n T = function T() {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},\n t = e.dispatch,\n r = e.getState;\n return \"function\" == typeof t || \"function\" == typeof r ? S()({\n dispatch: t,\n getState: r\n }) : void console.error(\"\\n[redux-logger v3] BREAKING CHANGE\\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\\n[redux-logger v3] Change\\n[redux-logger v3] import createLogger from 'redux-logger'\\n[redux-logger v3] to\\n[redux-logger v3] import { createLogger } from 'redux-logger'\\n\");\n };\n\n e.defaults = L, e.createLogger = S, e.logger = T, e.default = T, Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n});","'use strict';\n\nvar utils = require('./utils');\n\nvar bind = require('./helpers/bind');\n\nvar Axios = require('./core/Axios');\n\nvar mergeConfig = require('./core/mergeConfig');\n\nvar defaults = require('./defaults');\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\n\n\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context); // Copy axios.prototype to instance\n\n utils.extend(instance, Axios.prototype, context); // Copy context to instance\n\n utils.extend(instance, context);\n return instance;\n} // Create the default instance to be exported\n\n\nvar axios = createInstance(defaults); // Expose Axios class to allow class inheritance\n\naxios.Axios = Axios; // Factory for creating new instances\n\naxios.create = function create(instanceConfig) {\n return createInstance(mergeConfig(axios.defaults, instanceConfig));\n}; // Expose Cancel & CancelToken\n\n\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel'); // Expose all/spread\n\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = require('./helpers/spread');\nmodule.exports = axios; // Allow use of default import syntax in TypeScript\n\nmodule.exports.default = axios;","'use strict';\n\nvar utils = require('./../utils');\n\nvar buildURL = require('../helpers/buildURL');\n\nvar InterceptorManager = require('./InterceptorManager');\n\nvar dispatchRequest = require('./dispatchRequest');\n\nvar mergeConfig = require('./mergeConfig');\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\n\n\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\n\n\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config); // Set config.method\n\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n } // Hook up interceptors middleware\n\n\n var chain = [dispatchRequest, undefined];\n var promise = Promise.resolve(config);\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n chain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n chain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n}; // Provide aliases for supported request methods\n\n\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function (url, config) {\n return this.request(utils.merge(config || {}, {\n method: method,\n url: url\n }));\n };\n});\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function (url, data, config) {\n return this.request(utils.merge(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\nmodule.exports = Axios;","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\n\n\nInterceptorManager.prototype.use = function use(fulfilled, rejected) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected\n });\n return this.handlers.length - 1;\n};\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\n\n\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\n\n\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;","'use strict';\n\nvar utils = require('./../utils');\n\nvar transformData = require('./transformData');\n\nvar isCancel = require('../cancel/isCancel');\n\nvar defaults = require('../defaults');\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\n\n\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\n\n\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config); // Ensure headers exist\n\n config.headers = config.headers || {}; // Transform request data\n\n config.data = transformData(config.data, config.headers, config.transformRequest); // Flatten headers\n\n config.headers = utils.merge(config.headers.common || {}, config.headers[config.method] || {}, config.headers);\n utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], function cleanHeaderConfig(method) {\n delete config.headers[method];\n });\n var adapter = config.adapter || defaults.adapter;\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config); // Transform response data\n\n response.data = transformData(response.data, response.headers, config.transformResponse);\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config); // Transform response data\n\n if (reason && reason.response) {\n reason.response.data = transformData(reason.response.data, reason.response.headers, config.transformResponse);\n }\n }\n\n return Promise.reject(reason);\n });\n};","'use strict';\n\nvar utils = require('./../utils');\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\n\n\nmodule.exports = function transformData(data, headers, fns) {\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn(data, headers);\n });\n return data;\n};","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};","'use strict';\n\nvar createError = require('./createError');\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\n\n\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n\n if (!validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError('Request failed with status code ' + response.status, response.config, null, response.request, response));\n }\n};","'use strict';\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\n\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function () {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code\n };\n };\n\n return error;\n};","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\n\nvar combineURLs = require('../helpers/combineURLs');\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\n\n\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n\n return requestedURL;\n};","'use strict';\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\n\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"<scheme>://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};","'use strict';\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\n\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '') : baseURL;\n};","'use strict';\n\nvar utils = require('./../utils'); // Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\n\n\nvar ignoreDuplicateOf = ['age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent'];\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\n\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) {\n return parsed;\n }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n return parsed;\n};","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = utils.isStandardBrowserEnv() ? // Standard browser envs have full support of the APIs needed to test\n// whether the request URL is of the same origin as current location.\nfunction standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href); // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: urlParsingNode.pathname.charAt(0) === '/' ? urlParsingNode.pathname : '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n\n return function isURLSameOrigin(requestURL) {\n var parsed = utils.isString(requestURL) ? resolveURL(requestURL) : requestURL;\n return parsed.protocol === originURL.protocol && parsed.host === originURL.host;\n };\n}() : // Non standard browser envs (web workers, react-native) lack needed support.\nfunction nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n}();","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = utils.isStandardBrowserEnv() ? // Standard browser envs support document.cookie\nfunction standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return match ? decodeURIComponent(match[3]) : null;\n },\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n}() : // Non standard browser env (web workers, react-native) lack needed support.\nfunction nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() {\n return null;\n },\n remove: function remove() {}\n };\n}();","'use strict';\n\nvar Cancel = require('./Cancel');\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\n\n\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\n\n\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n\n\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;","'use strict';\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\n\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};","/**\n * Copyright (c) 2013-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'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\n\nfunction emptyFunctionWithReset() {}\n\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function () {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n\n var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n ;\n shim.isRequired = shim;\n\n function getShim() {\n return shim;\n }\n\n ; // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n ReactPropTypes.PropTypes = ReactPropTypes;\n return ReactPropTypes;\n};","/**\n * Copyright (c) 2013-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'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\nmodule.exports = ReactPropTypesSecret;","module.exports = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};","var tabbable = require('tabbable');\n\nvar xtend = require('xtend');\n\nvar listeningFocusTrap = null;\n\nfunction focusTrap(element, userOptions) {\n var doc = document;\n var container = typeof element === 'string' ? doc.querySelector(element) : element;\n var config = xtend({\n returnFocusOnDeactivate: true,\n escapeDeactivates: true\n }, userOptions);\n var state = {\n firstTabbableNode: null,\n lastTabbableNode: null,\n nodeFocusedBeforeActivation: null,\n mostRecentlyFocusedNode: null,\n active: false,\n paused: false\n };\n var trap = {\n activate: activate,\n deactivate: deactivate,\n pause: pause,\n unpause: unpause\n };\n return trap;\n\n function activate(activateOptions) {\n if (state.active) return;\n updateTabbableNodes();\n state.active = true;\n state.paused = false;\n state.nodeFocusedBeforeActivation = doc.activeElement;\n var onActivate = activateOptions && activateOptions.onActivate ? activateOptions.onActivate : config.onActivate;\n\n if (onActivate) {\n onActivate();\n }\n\n addListeners();\n return trap;\n }\n\n function deactivate(deactivateOptions) {\n if (!state.active) return;\n removeListeners();\n state.active = false;\n state.paused = false;\n var onDeactivate = deactivateOptions && deactivateOptions.onDeactivate !== undefined ? deactivateOptions.onDeactivate : config.onDeactivate;\n\n if (onDeactivate) {\n onDeactivate();\n }\n\n var returnFocus = deactivateOptions && deactivateOptions.returnFocus !== undefined ? deactivateOptions.returnFocus : config.returnFocusOnDeactivate;\n\n if (returnFocus) {\n delay(function () {\n tryFocus(state.nodeFocusedBeforeActivation);\n });\n }\n\n return trap;\n }\n\n function pause() {\n if (state.paused || !state.active) return;\n state.paused = true;\n removeListeners();\n }\n\n function unpause() {\n if (!state.paused || !state.active) return;\n state.paused = false;\n addListeners();\n }\n\n function addListeners() {\n if (!state.active) return; // There can be only one listening focus trap at a time\n\n if (listeningFocusTrap) {\n listeningFocusTrap.pause();\n }\n\n listeningFocusTrap = trap;\n updateTabbableNodes(); // Delay ensures that the focused element doesn't capture the event\n // that caused the focus trap activation.\n\n delay(function () {\n tryFocus(getInitialFocusNode());\n });\n doc.addEventListener('focusin', checkFocusIn, true);\n doc.addEventListener('mousedown', checkPointerDown, true);\n doc.addEventListener('touchstart', checkPointerDown, true);\n doc.addEventListener('click', checkClick, true);\n doc.addEventListener('keydown', checkKey, true);\n return trap;\n }\n\n function removeListeners() {\n if (!state.active || listeningFocusTrap !== trap) return;\n doc.removeEventListener('focusin', checkFocusIn, true);\n doc.removeEventListener('mousedown', checkPointerDown, true);\n doc.removeEventListener('touchstart', checkPointerDown, true);\n doc.removeEventListener('click', checkClick, true);\n doc.removeEventListener('keydown', checkKey, true);\n listeningFocusTrap = null;\n return trap;\n }\n\n function getNodeForOption(optionName) {\n var optionValue = config[optionName];\n var node = optionValue;\n\n if (!optionValue) {\n return null;\n }\n\n if (typeof optionValue === 'string') {\n node = doc.querySelector(optionValue);\n\n if (!node) {\n throw new Error('`' + optionName + '` refers to no known node');\n }\n }\n\n if (typeof optionValue === 'function') {\n node = optionValue();\n\n if (!node) {\n throw new Error('`' + optionName + '` did not return a node');\n }\n }\n\n return node;\n }\n\n function getInitialFocusNode() {\n var node;\n\n if (getNodeForOption('initialFocus') !== null) {\n node = getNodeForOption('initialFocus');\n } else if (container.contains(doc.activeElement)) {\n node = doc.activeElement;\n } else {\n node = state.firstTabbableNode || getNodeForOption('fallbackFocus');\n }\n\n if (!node) {\n throw new Error(\"You can't have a focus-trap without at least one focusable element\");\n }\n\n return node;\n } // This needs to be done on mousedown and touchstart instead of click\n // so that it precedes the focus event.\n\n\n function checkPointerDown(e) {\n if (container.contains(e.target)) return;\n\n if (config.clickOutsideDeactivates) {\n deactivate({\n returnFocus: !tabbable.isFocusable(e.target)\n });\n } else {\n e.preventDefault();\n }\n } // In case focus escapes the trap for some strange reason, pull it back in.\n\n\n function checkFocusIn(e) {\n // In Firefox when you Tab out of an iframe the Document is briefly focused.\n if (container.contains(e.target) || e.target instanceof Document) {\n return;\n }\n\n e.stopImmediatePropagation();\n tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());\n }\n\n function checkKey(e) {\n if (config.escapeDeactivates !== false && isEscapeEvent(e)) {\n e.preventDefault();\n deactivate();\n return;\n }\n\n if (isTabEvent(e)) {\n checkTab(e);\n return;\n }\n } // Hijack Tab events on the first and last focusable nodes of the trap,\n // in order to prevent focus from escaping. If it escapes for even a\n // moment it can end up scrolling the page and causing confusion so we\n // kind of need to capture the action at the keydown phase.\n\n\n function checkTab(e) {\n updateTabbableNodes();\n\n if (e.shiftKey && e.target === state.firstTabbableNode) {\n e.preventDefault();\n tryFocus(state.lastTabbableNode);\n return;\n }\n\n if (!e.shiftKey && e.target === state.lastTabbableNode) {\n e.preventDefault();\n tryFocus(state.firstTabbableNode);\n return;\n }\n }\n\n function checkClick(e) {\n if (config.clickOutsideDeactivates) return;\n if (container.contains(e.target)) return;\n e.preventDefault();\n e.stopImmediatePropagation();\n }\n\n function updateTabbableNodes() {\n var tabbableNodes = tabbable(container);\n state.firstTabbableNode = tabbableNodes[0] || getInitialFocusNode();\n state.lastTabbableNode = tabbableNodes[tabbableNodes.length - 1] || getInitialFocusNode();\n }\n\n function tryFocus(node) {\n if (node === doc.activeElement) return;\n\n if (!node || !node.focus) {\n tryFocus(getInitialFocusNode());\n return;\n }\n\n node.focus();\n state.mostRecentlyFocusedNode = node;\n\n if (isSelectableInput(node)) {\n node.select();\n }\n }\n}\n\nfunction isSelectableInput(node) {\n return node.tagName && node.tagName.toLowerCase() === 'input' && typeof node.select === 'function';\n}\n\nfunction isEscapeEvent(e) {\n return e.key === 'Escape' || e.key === 'Esc' || e.keyCode === 27;\n}\n\nfunction isTabEvent(e) {\n return e.key === 'Tab' || e.keyCode === 9;\n}\n\nfunction delay(fn) {\n return setTimeout(fn, 0);\n}\n\nmodule.exports = focusTrap;","var candidateSelectors = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable=\"false\"])'];\nvar candidateSelector = candidateSelectors.join(',');\nvar matches = typeof Element === 'undefined' ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\n\nfunction tabbable(el, options) {\n options = options || {};\n var elementDocument = el.ownerDocument || el;\n var regularTabbables = [];\n var orderedTabbables = [];\n var untouchabilityChecker = new UntouchabilityChecker(elementDocument);\n var candidates = el.querySelectorAll(candidateSelector);\n\n if (options.includeContainer) {\n if (matches.call(el, candidateSelector)) {\n candidates = Array.prototype.slice.apply(candidates);\n candidates.unshift(el);\n }\n }\n\n var i, candidate, candidateTabindex;\n\n for (i = 0; i < candidates.length; i++) {\n candidate = candidates[i];\n if (!isNodeMatchingSelectorTabbable(candidate, untouchabilityChecker)) continue;\n candidateTabindex = getTabindex(candidate);\n\n if (candidateTabindex === 0) {\n regularTabbables.push(candidate);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n node: candidate\n });\n }\n }\n\n var tabbableNodes = orderedTabbables.sort(sortOrderedTabbables).map(function (a) {\n return a.node;\n }).concat(regularTabbables);\n return tabbableNodes;\n}\n\ntabbable.isTabbable = isTabbable;\ntabbable.isFocusable = isFocusable;\n\nfunction isNodeMatchingSelectorTabbable(node, untouchabilityChecker) {\n if (!isNodeMatchingSelectorFocusable(node, untouchabilityChecker) || isNonTabbableRadio(node) || getTabindex(node) < 0) {\n return false;\n }\n\n return true;\n}\n\nfunction isTabbable(node, untouchabilityChecker) {\n if (!node) throw new Error('No node provided');\n if (matches.call(node, candidateSelector) === false) return false;\n return isNodeMatchingSelectorTabbable(node, untouchabilityChecker);\n}\n\nfunction isNodeMatchingSelectorFocusable(node, untouchabilityChecker) {\n untouchabilityChecker = untouchabilityChecker || new UntouchabilityChecker(node.ownerDocument || node);\n\n if (node.disabled || isHiddenInput(node) || untouchabilityChecker.isUntouchable(node)) {\n return false;\n }\n\n return true;\n}\n\nvar focusableCandidateSelector = candidateSelectors.concat('iframe').join(',');\n\nfunction isFocusable(node, untouchabilityChecker) {\n if (!node) throw new Error('No node provided');\n if (matches.call(node, focusableCandidateSelector) === false) return false;\n return isNodeMatchingSelectorFocusable(node, untouchabilityChecker);\n}\n\nfunction getTabindex(node) {\n var tabindexAttr = parseInt(node.getAttribute('tabindex'), 10);\n if (!isNaN(tabindexAttr)) return tabindexAttr; // Browsers do not return `tabIndex` correctly for contentEditable nodes;\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n\n if (isContentEditable(node)) return 0;\n return node.tabIndex;\n}\n\nfunction sortOrderedTabbables(a, b) {\n return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n} // Array.prototype.find not available in IE.\n\n\nfunction find(list, predicate) {\n for (var i = 0, length = list.length; i < length; i++) {\n if (predicate(list[i])) return list[i];\n }\n}\n\nfunction isContentEditable(node) {\n return node.contentEditable === 'true';\n}\n\nfunction isInput(node) {\n return node.tagName === 'INPUT';\n}\n\nfunction isHiddenInput(node) {\n return isInput(node) && node.type === 'hidden';\n}\n\nfunction isRadio(node) {\n return isInput(node) && node.type === 'radio';\n}\n\nfunction isNonTabbableRadio(node) {\n return isRadio(node) && !isTabbableRadio(node);\n}\n\nfunction getCheckedRadio(nodes) {\n for (var i = 0; i < nodes.length; i++) {\n if (nodes[i].checked) {\n return nodes[i];\n }\n }\n}\n\nfunction isTabbableRadio(node) {\n if (!node.name) return true; // This won't account for the edge case where you have radio groups with the same\n // in separate forms on the same page.\n\n var radioSet = node.ownerDocument.querySelectorAll('input[type=\"radio\"][name=\"' + node.name + '\"]');\n var checked = getCheckedRadio(radioSet);\n return !checked || checked === node;\n} // An element is \"untouchable\" if *it or one of its ancestors* has\n// `visibility: hidden` or `display: none`.\n\n\nfunction UntouchabilityChecker(elementDocument) {\n this.doc = elementDocument; // Node cache must be refreshed on every check, in case\n // the content of the element has changed. The cache contains tuples\n // mapping nodes to their boolean result.\n\n this.cache = [];\n} // getComputedStyle accurately reflects `visibility: hidden` of ancestors\n// but not `display: none`, so we need to recursively check parents.\n\n\nUntouchabilityChecker.prototype.hasDisplayNone = function hasDisplayNone(node, nodeComputedStyle) {\n if (node.nodeType !== Node.ELEMENT_NODE) return false; // Search for a cached result.\n\n var cached = find(this.cache, function (item) {\n return item === node;\n });\n if (cached) return cached[1];\n nodeComputedStyle = nodeComputedStyle || this.doc.defaultView.getComputedStyle(node);\n var result = false;\n\n if (nodeComputedStyle.display === 'none') {\n result = true;\n } else if (node.parentNode) {\n result = this.hasDisplayNone(node.parentNode);\n }\n\n this.cache.push([node, result]);\n return result;\n};\n\nUntouchabilityChecker.prototype.isUntouchable = function isUntouchable(node) {\n if (node === this.doc.documentElement) return false;\n var computedStyle = this.doc.defaultView.getComputedStyle(node);\n if (this.hasDisplayNone(node, computedStyle)) return true;\n return computedStyle.visibility === 'hidden';\n};\n\nmodule.exports = tabbable;","module.exports = extend;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction extend() {\n var target = {};\n\n for (var i = 0; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n}","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\", \"./loader\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"), require(\"./loader\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes, global.loader);\n global.index = mod.exports;\n }\n})(this, function (exports, _react, _propTypes, _loader) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = Loader;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var _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 var _slicedToArray = function () {\n function sliceIterator(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"]) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n }\n\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }\n };\n }();\n\n var componentNames = [\"Audio\", \"BallTriangle\", \"Bars\", \"Circles\", \"Grid\", \"Hearts\", \"Oval\", \"Puff\", \"Rings\", \"TailSpin\", \"ThreeDots\", \"Watch\", \"RevolvingDot\", \"Triangle\", \"Plane\", \"MutatingDots\", \"CradleLoader\"];\n\n function componentName(type) {\n if (componentNames.includes(type)) {\n return _loader.Spinner[type];\n }\n\n return _loader.Spinner.Audio;\n }\n /**\n * @return {null}\n */\n\n\n function Loader(props) {\n var _useState = (0, _react.useState)(true),\n _useState2 = _slicedToArray(_useState, 2),\n display = _useState2[0],\n setDisplay = _useState2[1];\n\n (0, _react.useEffect)(function () {\n var timer = void 0;\n\n if (props.timeout && props.timeout > 0) {\n timer = setTimeout(function () {\n setDisplay(false);\n }, props.timeout);\n }\n\n return function () {\n if (timer) clearTimeout(timer);\n };\n });\n\n if (!props.visible || props.visible === \"false\") {\n return null;\n }\n\n return display ? _react2.default.createElement(\"div\", {\n \"aria-busy\": \"true\",\n className: props.className,\n style: props.style\n }, _react2.default.createElement(componentName(props.type), _extends({}, props))) : null;\n }\n\n Loader.propTypes = {\n type: _propTypes2.default.oneOf([].concat(componentNames)),\n style: _propTypes2.default.objectOf(_propTypes2.default.string),\n className: _propTypes2.default.string,\n visible: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.string]),\n timeout: _propTypes2.default.number\n };\n Loader.defaultProps = {\n type: \"Audio\",\n style: {},\n className: \"\",\n visible: true,\n timeout: 0\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"./Circles\", \"./Watch\", \"./Audio\", \"./BallTriangle\", \"./Bars\", \"./CradleLoader\", \"./Grid\", \"./Hearts\", \"./MutatingDots\", \"./Oval\", \"./Plane\", \"./Puff\", \"./RevolvingDot\", \"./Rings\", \"./TailSpin\", \"./ThreeDots\", \"./Triangle\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"./Circles\"), require(\"./Watch\"), require(\"./Audio\"), require(\"./BallTriangle\"), require(\"./Bars\"), require(\"./CradleLoader\"), require(\"./Grid\"), require(\"./Hearts\"), require(\"./MutatingDots\"), require(\"./Oval\"), require(\"./Plane\"), require(\"./Puff\"), require(\"./RevolvingDot\"), require(\"./Rings\"), require(\"./TailSpin\"), require(\"./ThreeDots\"), require(\"./Triangle\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.Circles, global.Watch, global.Audio, global.BallTriangle, global.Bars, global.CradleLoader, global.Grid, global.Hearts, global.MutatingDots, global.Oval, global.Plane, global.Puff, global.RevolvingDot, global.Rings, global.TailSpin, global.ThreeDots, global.Triangle);\n global.index = mod.exports;\n }\n})(this, function (exports, _Circles, _Watch, _Audio, _BallTriangle, _Bars, _CradleLoader, _Grid, _Hearts, _MutatingDots, _Oval, _Plane, _Puff, _RevolvingDot, _Rings, _TailSpin, _ThreeDots, _Triangle) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Spinner = undefined;\n var Spinner = exports.Spinner = {\n Circles: _Circles.Circles,\n Audio: _Audio.Audio,\n BallTriangle: _BallTriangle.BallTriangle,\n Bars: _Bars.Bars,\n CradleLoader: _CradleLoader.CradleLoader,\n Grid: _Grid.Grid,\n Hearts: _Hearts.Hearts,\n MutatingDots: _MutatingDots.MutatingDots,\n Oval: _Oval.Oval,\n Plane: _Plane.Plane,\n Puff: _Puff.Puff,\n RevolvingDot: _RevolvingDot.RevolvingDot,\n Rings: _Rings.Rings,\n TailSpin: _TailSpin.TailSpin,\n ThreeDots: _ThreeDots.ThreeDots,\n Triangle: _Triangle.Triangle,\n Watch: _Watch.Watch\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.Circles = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Circles = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Circles = exports.Circles = function Circles(props) {\n return _react2.default.createElement(\"svg\", {\n width: props.width,\n height: props.height,\n viewBox: \"0 0 135 135\",\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: props.color,\n \"aria-label\": props.label\n }, _react2.default.createElement(\"path\", {\n d: \"M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z\"\n }, _react2.default.createElement(\"animateTransform\", {\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 67 67\",\n to: \"-360 67 67\",\n dur: \"2.5s\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"path\", {\n d: \"M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z\"\n }, _react2.default.createElement(\"animateTransform\", {\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 67 67\",\n to: \"360 67 67\",\n dur: \"8s\",\n repeatCount: \"indefinite\"\n })));\n };\n\n Circles.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n Circles.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.Watch = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Watch = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Watch = exports.Watch = function Watch(props) {\n return _react2.default.createElement(\"svg\", {\n width: props.width,\n height: props.height,\n version: \"1.1\",\n id: \"L2\",\n xmlns: \"http://www.w3.org/2000/svg\",\n x: \"0px\",\n y: \"0px\",\n viewBox: \"0 0 100 100\",\n enableBackground: \"new 0 0 100 100\",\n xmlSpace: \"preserve\",\n \"aria-label\": props.label\n }, _react2.default.createElement(\"circle\", {\n fill: \"none\",\n stroke: props.color,\n strokeWidth: \"4\",\n strokeMiterlimit: \"10\",\n cx: \"50\",\n cy: \"50\",\n r: \"48\"\n }), _react2.default.createElement(\"line\", {\n fill: \"none\",\n strokeLinecap: \"round\",\n stroke: props.color,\n strokeWidth: \"4\",\n strokeMiterlimit: \"10\",\n x1: \"50\",\n y1: \"50\",\n x2: \"85\",\n y2: \"50.5\"\n }, _react2.default.createElement(\"animateTransform\", {\n attributeName: \"transform\",\n dur: \"2s\",\n type: \"rotate\",\n from: \"0 50 50\",\n to: \"360 50 50\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"line\", {\n fill: \"none\",\n strokeLinecap: \"round\",\n stroke: props.color,\n strokeWidth: \"4\",\n strokeMiterlimit: \"10\",\n x1: \"50\",\n y1: \"50\",\n x2: \"49.5\",\n y2: \"74\"\n }, _react2.default.createElement(\"animateTransform\", {\n attributeName: \"transform\",\n dur: \"15s\",\n type: \"rotate\",\n from: \"0 50 50\",\n to: \"360 50 50\",\n repeatCount: \"indefinite\"\n })));\n };\n\n Watch.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n Watch.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.Audio = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Audio = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Audio = exports.Audio = function Audio(props) {\n return _react2.default.createElement(\"svg\", {\n height: props.height,\n width: props.width,\n fill: props.color,\n viewBox: \"0 0 55 80\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"aria-label\": props.label\n }, _react2.default.createElement(\"g\", {\n transform: \"matrix(1 0 0 -1 0 80)\"\n }, _react2.default.createElement(\"rect\", {\n width: \"10\",\n height: \"20\",\n rx: \"3\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"height\",\n begin: \"0s\",\n dur: \"4.3s\",\n values: \"20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"rect\", {\n x: \"15\",\n width: \"10\",\n height: \"80\",\n rx: \"3\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"height\",\n begin: \"0s\",\n dur: \"2s\",\n values: \"80;55;33;5;75;23;73;33;12;14;60;80\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"rect\", {\n x: \"30\",\n width: \"10\",\n height: \"50\",\n rx: \"3\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"height\",\n begin: \"0s\",\n dur: \"1.4s\",\n values: \"50;34;78;23;56;23;34;76;80;54;21;50\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"rect\", {\n x: \"45\",\n width: \"10\",\n height: \"30\",\n rx: \"3\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"height\",\n begin: \"0s\",\n dur: \"2s\",\n values: \"30;45;13;80;56;72;45;76;34;23;67;30\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }))));\n };\n\n Audio.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n Audio.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.BallTriangle = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.BallTriangle = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var BallTriangle = exports.BallTriangle = function BallTriangle(props) {\n return _react2.default.createElement(\"svg\", {\n height: props.height,\n width: props.width,\n stroke: props.color,\n viewBox: \"0 0 57 57\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"aria-label\": props.label\n }, _react2.default.createElement(\"g\", {\n fill: \"none\",\n fillRule: \"evenodd\"\n }, _react2.default.createElement(\"g\", {\n transform: \"translate(1 1)\",\n strokeWidth: \"2\"\n }, _react2.default.createElement(\"circle\", {\n cx: \"5\",\n cy: \"50\",\n r: \"5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"cy\",\n begin: \"0s\",\n dur: \"2.2s\",\n values: \"50;5;50;50\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"cx\",\n begin: \"0s\",\n dur: \"2.2s\",\n values: \"5;27;49;5\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"27\",\n cy: \"5\",\n r: \"5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"cy\",\n begin: \"0s\",\n dur: \"2.2s\",\n from: \"5\",\n to: \"5\",\n values: \"5;50;50;5\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"cx\",\n begin: \"0s\",\n dur: \"2.2s\",\n from: \"27\",\n to: \"27\",\n values: \"27;49;5;27\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"49\",\n cy: \"50\",\n r: \"5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"cy\",\n begin: \"0s\",\n dur: \"2.2s\",\n values: \"50;50;5;50\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"cx\",\n from: \"49\",\n to: \"49\",\n begin: \"0s\",\n dur: \"2.2s\",\n values: \"49;5;27;49\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })))));\n };\n\n BallTriangle.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n BallTriangle.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.Bars = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Bars = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Bars = exports.Bars = function Bars(props) {\n return _react2.default.createElement(\"svg\", {\n width: props.width,\n height: props.height,\n fill: props.color,\n viewBox: \"0 0 135 140\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"aria-label\": props.label\n }, _react2.default.createElement(\"rect\", {\n y: \"10\",\n width: \"15\",\n height: \"120\",\n rx: \"6\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"height\",\n begin: \"0.5s\",\n dur: \"1s\",\n values: \"120;110;100;90;80;70;60;50;40;140;120\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"y\",\n begin: \"0.5s\",\n dur: \"1s\",\n values: \"10;15;20;25;30;35;40;45;50;0;10\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"rect\", {\n x: \"30\",\n y: \"10\",\n width: \"15\",\n height: \"120\",\n rx: \"6\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"height\",\n begin: \"0.25s\",\n dur: \"1s\",\n values: \"120;110;100;90;80;70;60;50;40;140;120\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"y\",\n begin: \"0.25s\",\n dur: \"1s\",\n values: \"10;15;20;25;30;35;40;45;50;0;10\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"rect\", {\n x: \"60\",\n width: \"15\",\n height: \"140\",\n rx: \"6\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"height\",\n begin: \"0s\",\n dur: \"1s\",\n values: \"120;110;100;90;80;70;60;50;40;140;120\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"y\",\n begin: \"0s\",\n dur: \"1s\",\n values: \"10;15;20;25;30;35;40;45;50;0;10\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"rect\", {\n x: \"90\",\n y: \"10\",\n width: \"15\",\n height: \"120\",\n rx: \"6\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"height\",\n begin: \"0.25s\",\n dur: \"1s\",\n values: \"120;110;100;90;80;70;60;50;40;140;120\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"y\",\n begin: \"0.25s\",\n dur: \"1s\",\n values: \"10;15;20;25;30;35;40;45;50;0;10\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"rect\", {\n x: \"120\",\n y: \"10\",\n width: \"15\",\n height: \"120\",\n rx: \"6\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"height\",\n begin: \"0.5s\",\n dur: \"1s\",\n values: \"120;110;100;90;80;70;60;50;40;140;120\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"y\",\n begin: \"0.5s\",\n dur: \"1s\",\n values: \"10;15;20;25;30;35;40;45;50;0;10\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })));\n };\n\n Bars.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n Bars.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.CradleLoader = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.CradleLoader = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var CradleLoader = exports.CradleLoader = function CradleLoader(props) {\n return _react2.default.createElement(\"div\", {\n \"aria-label\": props.label,\n role: \"presentation\",\n className: \"container\"\n }, _react2.default.createElement(\"div\", {\n className: \"react-spinner-loader-swing\"\n }, _react2.default.createElement(\"div\", {\n className: \"react-spinner-loader-swing-l\"\n }), _react2.default.createElement(\"div\", null), _react2.default.createElement(\"div\", null), _react2.default.createElement(\"div\", null), _react2.default.createElement(\"div\", null), _react2.default.createElement(\"div\", null), _react2.default.createElement(\"div\", {\n className: \"react-spinner-loader-swing-r\"\n })), _react2.default.createElement(\"div\", {\n className: \"react-spinner-loader-shadow\"\n }, _react2.default.createElement(\"div\", {\n className: \"react-spinner-loader-shadow-l\"\n }), _react2.default.createElement(\"div\", null), _react2.default.createElement(\"div\", null), _react2.default.createElement(\"div\", null), _react2.default.createElement(\"div\", null), _react2.default.createElement(\"div\", null), _react2.default.createElement(\"div\", {\n className: \"react-spinner-loader-shadow-r\"\n })));\n };\n\n CradleLoader.propTypes = {\n label: _propTypes2.default.string\n };\n CradleLoader.defaultProps = {\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.Grid = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Grid = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Grid = exports.Grid = function Grid(props) {\n return _react2.default.createElement(\"svg\", {\n width: props.width,\n height: props.height,\n viewBox: \"0 0 105 105\",\n fill: props.color,\n \"aria-label\": props.label\n }, _react2.default.createElement(\"circle\", {\n cx: \"12.5\",\n cy: \"12.5\",\n r: \"12.5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"fill-opacity\",\n begin: \"0s\",\n dur: \"1s\",\n values: \"1;.2;1\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"12.5\",\n cy: \"52.5\",\n r: \"12.5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"fill-opacity\",\n begin: \"100ms\",\n dur: \"1s\",\n values: \"1;.2;1\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"52.5\",\n cy: \"12.5\",\n r: \"12.5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"fill-opacity\",\n begin: \"300ms\",\n dur: \"1s\",\n values: \"1;.2;1\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"52.5\",\n cy: \"52.5\",\n r: \"12.5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"fill-opacity\",\n begin: \"600ms\",\n dur: \"1s\",\n values: \"1;.2;1\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"92.5\",\n cy: \"12.5\",\n r: \"12.5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"fill-opacity\",\n begin: \"800ms\",\n dur: \"1s\",\n values: \"1;.2;1\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"92.5\",\n cy: \"52.5\",\n r: \"12.5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"fill-opacity\",\n begin: \"400ms\",\n dur: \"1s\",\n values: \"1;.2;1\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"12.5\",\n cy: \"92.5\",\n r: \"12.5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"fill-opacity\",\n begin: \"700ms\",\n dur: \"1s\",\n values: \"1;.2;1\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"52.5\",\n cy: \"92.5\",\n r: \"12.5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"fill-opacity\",\n begin: \"500ms\",\n dur: \"1s\",\n values: \"1;.2;1\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"92.5\",\n cy: \"92.5\",\n r: \"12.5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"fill-opacity\",\n begin: \"200ms\",\n dur: \"1s\",\n values: \"1;.2;1\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })));\n };\n\n Grid.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n Grid.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.Hearts = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Hearts = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Hearts = exports.Hearts = function Hearts(props) {\n return _react2.default.createElement(\"svg\", {\n width: props.width,\n height: props.height,\n viewBox: \"0 0 140 64\",\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: props.color,\n \"aria-label\": props.label\n }, _react2.default.createElement(\"path\", {\n d: \"M30.262 57.02L7.195 40.723c-5.84-3.976-7.56-12.06-3.842-18.063 3.715-6 11.467-7.65 17.306-3.68l4.52 3.76 2.6-5.274c3.717-6.002 11.47-7.65 17.305-3.68 5.84 3.97 7.56 12.054 3.842 18.062L34.49 56.118c-.897 1.512-2.793 1.915-4.228.9z\",\n attributeName: \"fill-opacity\",\n from: \"0\",\n to: \".5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"fill-opacity\",\n begin: \"0s\",\n dur: \"1.4s\",\n values: \"0.5;1;0.5\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"path\", {\n d: \"M105.512 56.12l-14.44-24.272c-3.716-6.008-1.996-14.093 3.843-18.062 5.835-3.97 13.588-2.322 17.306 3.68l2.6 5.274 4.52-3.76c5.84-3.97 13.592-2.32 17.307 3.68 3.718 6.003 1.998 14.088-3.842 18.064L109.74 57.02c-1.434 1.014-3.33.61-4.228-.9z\",\n attributeName: \"fill-opacity\",\n from: \"0\",\n to: \".5\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"fill-opacity\",\n begin: \"0.7s\",\n dur: \"1.4s\",\n values: \"0.5;1;0.5\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"path\", {\n d: \"M67.408 57.834l-23.01-24.98c-5.864-6.15-5.864-16.108 0-22.248 5.86-6.14 15.37-6.14 21.234 0L70 16.168l4.368-5.562c5.863-6.14 15.375-6.14 21.235 0 5.863 6.14 5.863 16.098 0 22.247l-23.007 24.98c-1.43 1.556-3.757 1.556-5.188 0z\"\n }));\n };\n\n Hearts.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n Hearts.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.MutatingDots = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.MutatingDots = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var MutatingDots = exports.MutatingDots = function MutatingDots(props) {\n return _react2.default.createElement(\"svg\", {\n id: \"goo-loader\",\n width: props.width,\n height: 90,\n fill: props.color,\n \"aria-label\": props.label\n }, _react2.default.createElement(\"filter\", {\n id: \"fancy-goo\"\n }, _react2.default.createElement(\"feGaussianBlur\", {\n \"in\": \"SourceGraphic\",\n stdDeviation: \"6\",\n result: \"blur\"\n }), _react2.default.createElement(\"feColorMatrix\", {\n \"in\": \"blur\",\n mode: \"matrix\",\n values: \"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 19 -9\",\n result: \"goo\"\n }), _react2.default.createElement(\"feComposite\", {\n \"in\": \"SourceGraphic\",\n in2: \"goo\",\n operator: \"atop\"\n })), _react2.default.createElement(\"g\", {\n filter: \"url(#fancy-goo)\"\n }, _react2.default.createElement(\"animateTransform\", {\n id: \"mainAnim\",\n attributeName: \"transform\",\n attributeType: \"XML\",\n type: \"rotate\",\n from: \"0 50 50\",\n to: \"359 50 50\",\n dur: \"1.2s\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"circle\", {\n cx: \"50%\",\n cy: \"40\",\n r: \"11\"\n }, _react2.default.createElement(\"animate\", {\n id: \"cAnim1\",\n attributeType: \"XML\",\n attributeName: \"cy\",\n dur: \"0.6s\",\n begin: \"0;cAnim1.end+0.2s\",\n calcMode: \"spline\",\n values: \"40;20;40\",\n keyTimes: \"0;0.3;1\",\n keySplines: \"0.175, 0.885, 0.320, 1.5; 0.175, 0.885, 0.320, 1.5\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"50%\",\n cy: \"60\",\n r: \"11\"\n }, _react2.default.createElement(\"animate\", {\n id: \"cAnim2\",\n attributeType: \"XML\",\n attributeName: \"cy\",\n dur: \"0.6s\",\n begin: \"0.4s;cAnim2.end+0.2s\",\n calcMode: \"spline\",\n values: \"60;80;60\",\n keyTimes: \"0;0.3;1\",\n keySplines: \"0.175, 0.885, 0.320, 1.5;0.175, 0.885, 0.320, 1.5\"\n }))));\n };\n\n MutatingDots.propTypes = {\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n MutatingDots.defaultProps = {\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.Oval = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Oval = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Oval = exports.Oval = function Oval(props) {\n return _react2.default.createElement(\"svg\", {\n width: props.width,\n height: props.height,\n viewBox: \"0 0 38 38\",\n xmlns: \"http://www.w3.org/2000/svg\",\n stroke: props.color,\n \"aria-label\": props.label\n }, _react2.default.createElement(\"g\", {\n fill: \"none\",\n fillRule: \"evenodd\"\n }, _react2.default.createElement(\"g\", {\n transform: \"translate(1 1)\",\n strokeWidth: \"2\"\n }, _react2.default.createElement(\"circle\", {\n strokeOpacity: \".5\",\n cx: \"18\",\n cy: \"18\",\n r: \"18\"\n }), _react2.default.createElement(\"path\", {\n d: \"M36 18c0-9.94-8.06-18-18-18\"\n }, _react2.default.createElement(\"animateTransform\", {\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 18 18\",\n to: \"360 18 18\",\n dur: \"1s\",\n repeatCount: \"indefinite\"\n })))));\n };\n\n Oval.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n Oval.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.Plane = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Plane = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Plane = exports.Plane = function Plane(props) {\n return _react2.default.createElement(\"svg\", {\n className: \"react-spinner-loader-svg-calLoader\",\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"230\",\n height: \"230\",\n \"aria-label\": props.label\n }, _react2.default.createElement(\"desc\", null, \"Plane animation. Loading \"), _react2.default.createElement(\"path\", {\n className: \"react-spinner-loader-cal-loader__path\",\n style: {\n stroke: props.secondaryColor\n },\n d: \"M86.429 40c63.616-20.04 101.511 25.08 107.265 61.93 6.487 41.54-18.593 76.99-50.6 87.643-59.46 19.791-101.262-23.577-107.142-62.616C29.398 83.441 59.945 48.343 86.43 40z\",\n fill: \"none\",\n stroke: \"#0099cc\",\n strokeWidth: \"4\",\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n strokeDasharray: \"10 10 10 10 10 10 10 432\",\n strokeDashoffset: \"77\"\n }), _react2.default.createElement(\"path\", {\n className: \"cal-loader__plane\",\n style: {\n fill: props.color\n },\n d: \"M141.493 37.93c-1.087-.927-2.942-2.002-4.32-2.501-2.259-.824-3.252-.955-9.293-1.172-4.017-.146-5.197-.23-5.47-.37-.766-.407-1.526-1.448-7.114-9.773-4.8-7.145-5.344-7.914-6.327-8.976-1.214-1.306-1.396-1.378-3.79-1.473-1.036-.04-2-.043-2.153-.002-.353.1-.87.586-1 .952-.139.399-.076.71.431 2.22.241.72 1.029 3.386 1.742 5.918 1.644 5.844 2.378 8.343 2.863 9.705.206.601.33 1.1.275 1.125-.24.097-10.56 1.066-11.014 1.032a3.532 3.532 0 0 1-1.002-.276l-.487-.246-2.044-2.613c-2.234-2.87-2.228-2.864-3.35-3.309-.717-.287-2.82-.386-3.276-.163-.457.237-.727.644-.737 1.152-.018.39.167.805 1.916 4.373 1.06 2.166 1.964 4.083 1.998 4.27.04.179.004.521-.076.75-.093.228-1.109 2.064-2.269 4.088-1.921 3.34-2.11 3.711-2.123 4.107-.008.25.061.557.168.725.328.512.72.644 1.966.676 1.32.029 2.352-.236 3.05-.762.222-.171 1.275-1.313 2.412-2.611 1.918-2.185 2.048-2.32 2.45-2.505.241-.111.601-.232.82-.271.267-.058 2.213.201 5.912.8 3.036.48 5.525.894 5.518.914 0 .026-.121.306-.27.638-.54 1.198-1.515 3.842-3.35 9.021-1.029 2.913-2.107 5.897-2.4 6.62-.703 1.748-.725 1.833-.594 2.286.137.46.45.833.872 1.012.41.177 3.823.24 4.37.085.852-.25 1.44-.688 2.312-1.724 1.166-1.39 3.169-3.948 6.771-8.661 5.8-7.583 6.561-8.49 7.387-8.702.233-.065 2.828-.056 5.784.011 5.827.138 6.64.09 8.62-.5 2.24-.67 4.035-1.65 5.517-3.016 1.136-1.054 1.135-1.014.207-1.962-.357-.38-.767-.777-.902-.893z\",\n fill: \"#000033\"\n }));\n };\n\n Plane.propTypes = {\n secondaryColor: _propTypes2.default.string,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n Plane.defaultProps = {\n secondaryColor: \"grey\",\n color: \"#FFA500\",\n label: \"async-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.Puff = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Puff = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Puff = exports.Puff = function Puff(props) {\n return _react2.default.createElement(\"svg\", {\n width: props.width,\n height: props.height,\n viewBox: \"0 0 44 44\",\n xmlns: \"http://www.w3.org/2000/svg\",\n stroke: props.color,\n \"aria-label\": props.label\n }, _react2.default.createElement(\"g\", {\n fill: \"none\",\n fillRule: \"evenodd\",\n strokeWidth: \"2\"\n }, _react2.default.createElement(\"circle\", {\n cx: \"22\",\n cy: \"22\",\n r: \"1\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"r\",\n begin: \"0s\",\n dur: \"1.8s\",\n values: \"1; 20\",\n calcMode: \"spline\",\n keyTimes: \"0; 1\",\n keySplines: \"0.165, 0.84, 0.44, 1\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"strokeOpacity\",\n begin: \"0s\",\n dur: \"1.8s\",\n values: \"1; 0\",\n calcMode: \"spline\",\n keyTimes: \"0; 1\",\n keySplines: \"0.3, 0.61, 0.355, 1\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"22\",\n cy: \"22\",\n r: \"1\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"r\",\n begin: \"-0.9s\",\n dur: \"1.8s\",\n values: \"1; 20\",\n calcMode: \"spline\",\n keyTimes: \"0; 1\",\n keySplines: \"0.165, 0.84, 0.44, 1\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"strokeOpacity\",\n begin: \"-0.9s\",\n dur: \"1.8s\",\n values: \"1; 0\",\n calcMode: \"spline\",\n keyTimes: \"0; 1\",\n keySplines: \"0.3, 0.61, 0.355, 1\",\n repeatCount: \"indefinite\"\n }))));\n };\n\n Puff.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n Puff.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.RevolvingDot = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.RevolvingDot = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var RevolvingDot = exports.RevolvingDot = function RevolvingDot(props) {\n return _react2.default.createElement(\"svg\", {\n version: \"1.1\",\n width: props.width,\n height: props.height,\n xmlns: \"http://www.w3.org/2000/svg\",\n x: \"0px\",\n y: \"0px\",\n \"aria-label\": props.label\n }, _react2.default.createElement(\"circle\", {\n fill: \"none\",\n stroke: props.color,\n strokeWidth: \"4\",\n cx: \"50\",\n cy: \"50\",\n r: \"44\",\n style: {\n opacity: 0.5\n }\n }), _react2.default.createElement(\"circle\", {\n fill: props.color,\n stroke: props.color,\n strokeWidth: \"3\",\n cx: \"8\",\n cy: \"54\",\n r: \"6\"\n }, _react2.default.createElement(\"animateTransform\", {\n attributeName: \"transform\",\n dur: \"2s\",\n type: \"rotate\",\n from: \"0 50 48\",\n to: \"360 50 52\",\n repeatCount: \"indefinite\"\n })));\n };\n\n RevolvingDot.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n RevolvingDot.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.Rings = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Rings = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Rings = exports.Rings = function Rings(props) {\n return _react2.default.createElement(\"svg\", {\n width: props.width,\n height: props.height,\n viewBox: \"0 0 45 45\",\n xmlns: \"http://www.w3.org/2000/svg\",\n stroke: props.color,\n \"aria-label\": props.label\n }, _react2.default.createElement(\"g\", {\n fill: \"none\",\n fillRule: \"evenodd\",\n transform: \"translate(1 1)\",\n strokeWidth: \"2\"\n }, _react2.default.createElement(\"circle\", {\n cx: \"22\",\n cy: \"22\",\n r: \"6\",\n strokeOpacity: \"0\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"r\",\n begin: \"1.5s\",\n dur: \"3s\",\n values: \"6;22\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"stroke-opacity\",\n begin: \"1.5s\",\n dur: \"3s\",\n values: \"1;0\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"stroke-width\",\n begin: \"1.5s\",\n dur: \"3s\",\n values: \"2;0\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"22\",\n cy: \"22\",\n r: \"6\",\n strokeOpacity: \"0\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"r\",\n begin: \"3s\",\n dur: \"3s\",\n values: \"6;22\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"strokeOpacity\",\n begin: \"3s\",\n dur: \"3s\",\n values: \"1;0\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"strokeWidth\",\n begin: \"3s\",\n dur: \"3s\",\n values: \"2;0\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"22\",\n cy: \"22\",\n r: \"8\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"r\",\n begin: \"0s\",\n dur: \"1.5s\",\n values: \"6;1;2;3;4;5;6\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }))));\n };\n\n Rings.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n Rings.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.TailSpin = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.TailSpin = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var TailSpin = exports.TailSpin = function TailSpin(props) {\n return _react2.default.createElement(\"svg\", {\n width: props.width,\n height: props.height,\n viewBox: \"0 0 38 38\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"aria-label\": props.label\n }, _react2.default.createElement(\"defs\", null, _react2.default.createElement(\"linearGradient\", {\n x1: \"8.042%\",\n y1: \"0%\",\n x2: \"65.682%\",\n y2: \"23.865%\",\n id: \"a\"\n }, _react2.default.createElement(\"stop\", {\n stopColor: props.color,\n stopOpacity: \"0\",\n offset: \"0%\"\n }), _react2.default.createElement(\"stop\", {\n stopColor: props.color,\n stopOpacity: \".631\",\n offset: \"63.146%\"\n }), _react2.default.createElement(\"stop\", {\n stopColor: props.color,\n offset: \"100%\"\n }))), _react2.default.createElement(\"g\", {\n fill: \"none\",\n fillRule: \"evenodd\"\n }, _react2.default.createElement(\"g\", {\n transform: \"translate(1 1)\"\n }, _react2.default.createElement(\"path\", {\n d: \"M36 18c0-9.94-8.06-18-18-18\",\n id: \"Oval-2\",\n stroke: props.color,\n strokeWidth: \"2\"\n }, _react2.default.createElement(\"animateTransform\", {\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 18 18\",\n to: \"360 18 18\",\n dur: \"0.9s\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n fill: \"#fff\",\n cx: \"36\",\n cy: \"18\",\n r: \"1\"\n }, _react2.default.createElement(\"animateTransform\", {\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 18 18\",\n to: \"360 18 18\",\n dur: \"0.9s\",\n repeatCount: \"indefinite\"\n })))));\n };\n\n TailSpin.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n TailSpin.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.ThreeDots = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.ThreeDots = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var ThreeDots = exports.ThreeDots = function ThreeDots(props) {\n return _react2.default.createElement(\"svg\", {\n width: props.width,\n height: props.height,\n viewBox: \"0 0 120 30\",\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: props.color,\n \"aria-label\": props.label\n }, _react2.default.createElement(\"circle\", {\n cx: \"15\",\n cy: \"15\",\n r: \"15\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"r\",\n from: \"15\",\n to: \"15\",\n begin: \"0s\",\n dur: \"0.8s\",\n values: \"15;9;15\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"fillOpacity\",\n from: \"1\",\n to: \"1\",\n begin: \"0s\",\n dur: \"0.8s\",\n values: \"1;.5;1\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"60\",\n cy: \"15\",\n r: \"9\",\n attributeName: \"fillOpacity\",\n from: \"1\",\n to: \"0.3\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"r\",\n from: \"9\",\n to: \"9\",\n begin: \"0s\",\n dur: \"0.8s\",\n values: \"9;15;9\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"fillOpacity\",\n from: \"0.5\",\n to: \"0.5\",\n begin: \"0s\",\n dur: \"0.8s\",\n values: \".5;1;.5\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })), _react2.default.createElement(\"circle\", {\n cx: \"105\",\n cy: \"15\",\n r: \"15\"\n }, _react2.default.createElement(\"animate\", {\n attributeName: \"r\",\n from: \"15\",\n to: \"15\",\n begin: \"0s\",\n dur: \"0.8s\",\n values: \"15;9;15\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n }), _react2.default.createElement(\"animate\", {\n attributeName: \"fillOpacity\",\n from: \"1\",\n to: \"1\",\n begin: \"0s\",\n dur: \"0.8s\",\n values: \"1;.5;1\",\n calcMode: \"linear\",\n repeatCount: \"indefinite\"\n })));\n };\n\n ThreeDots.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n ThreeDots.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define([\"exports\", \"react\", \"prop-types\"], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require(\"react\"), require(\"prop-types\"));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.Triangle = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Triangle = undefined;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n var Triangle = exports.Triangle = function Triangle(props) {\n return _react2.default.createElement(\"div\", {\n className: \"react-spinner-loader-svg\"\n }, _react2.default.createElement(\"svg\", {\n id: \"triangle\",\n width: props.width,\n height: props.height,\n viewBox: \"-3 -4 39 39\",\n \"aria-label\": props.label\n }, _react2.default.createElement(\"polygon\", {\n fill: \"transparent\",\n stroke: props.color,\n strokeWidth: \"1\",\n points: \"16,0 32,32 0,32\"\n })));\n };\n\n Triangle.propTypes = {\n height: _propTypes2.default.number,\n width: _propTypes2.default.number,\n color: _propTypes2.default.string,\n label: _propTypes2.default.string\n };\n Triangle.defaultProps = {\n height: 80,\n width: 80,\n color: \"green\",\n label: \"audio-loading\"\n };\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/* flatpickr v4.6.3, @license MIT */\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.flatpickr = factory());\n})(this, function () {\n 'use strict';\n /*! *****************************************************************************\r\n Copyright (c) Microsoft Corporation. All rights reserved.\r\n Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\n this file except in compliance with the License. You may obtain a copy of the\r\n License at http://www.apache.org/licenses/LICENSE-2.0\r\n THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\n WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\n MERCHANTABLITY OR NON-INFRINGEMENT.\r\n See the Apache Version 2.0 License for specific language governing permissions\r\n and limitations under the License.\r\n ***************************************************************************** */\n\n var _assign = function __assign() {\n _assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return _assign.apply(this, arguments);\n };\n\n var HOOKS = [\"onChange\", \"onClose\", \"onDayCreate\", \"onDestroy\", \"onKeyDown\", \"onMonthChange\", \"onOpen\", \"onParseConfig\", \"onReady\", \"onValueUpdate\", \"onYearChange\", \"onPreCalendarPosition\"];\n var defaults = {\n _disable: [],\n _enable: [],\n allowInput: false,\n altFormat: \"F j, Y\",\n altInput: false,\n altInputClass: \"form-control input\",\n animate: (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\" && window.navigator.userAgent.indexOf(\"MSIE\") === -1,\n ariaDateFormat: \"F j, Y\",\n clickOpens: true,\n closeOnSelect: true,\n conjunction: \", \",\n dateFormat: \"Y-m-d\",\n defaultHour: 12,\n defaultMinute: 0,\n defaultSeconds: 0,\n disable: [],\n disableMobile: false,\n enable: [],\n enableSeconds: false,\n enableTime: false,\n errorHandler: function errorHandler(err) {\n return typeof console !== \"undefined\" && console.warn(err);\n },\n getWeek: function getWeek(givenDate) {\n var date = new Date(givenDate.getTime());\n date.setHours(0, 0, 0, 0); // Thursday in current week decides the year.\n\n date.setDate(date.getDate() + 3 - (date.getDay() + 6) % 7); // January 4 is always in week 1.\n\n var week1 = new Date(date.getFullYear(), 0, 4); // Adjust to Thursday in week 1 and count number of weeks from date to week1.\n\n return 1 + Math.round(((date.getTime() - week1.getTime()) / 86400000 - 3 + (week1.getDay() + 6) % 7) / 7);\n },\n hourIncrement: 1,\n ignoredFocusElements: [],\n inline: false,\n locale: \"default\",\n minuteIncrement: 5,\n mode: \"single\",\n monthSelectorType: \"dropdown\",\n nextArrow: \"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>\",\n noCalendar: false,\n now: new Date(),\n onChange: [],\n onClose: [],\n onDayCreate: [],\n onDestroy: [],\n onKeyDown: [],\n onMonthChange: [],\n onOpen: [],\n onParseConfig: [],\n onReady: [],\n onValueUpdate: [],\n onYearChange: [],\n onPreCalendarPosition: [],\n plugins: [],\n position: \"auto\",\n positionElement: undefined,\n prevArrow: \"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>\",\n shorthandCurrentMonth: false,\n showMonths: 1,\n static: false,\n time_24hr: false,\n weekNumbers: false,\n wrap: false\n };\n var english = {\n weekdays: {\n shorthand: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n longhand: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n months: {\n shorthand: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n longhand: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"]\n },\n daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],\n firstDayOfWeek: 0,\n ordinal: function ordinal(nth) {\n var s = nth % 100;\n if (s > 3 && s < 21) return \"th\";\n\n switch (s % 10) {\n case 1:\n return \"st\";\n\n case 2:\n return \"nd\";\n\n case 3:\n return \"rd\";\n\n default:\n return \"th\";\n }\n },\n rangeSeparator: \" to \",\n weekAbbreviation: \"Wk\",\n scrollTitle: \"Scroll to increment\",\n toggleTitle: \"Click to toggle\",\n amPM: [\"AM\", \"PM\"],\n yearAriaLabel: \"Year\",\n hourAriaLabel: \"Hour\",\n minuteAriaLabel: \"Minute\",\n time_24hr: false\n };\n\n var pad = function pad(number) {\n return (\"0\" + number).slice(-2);\n };\n\n var int = function int(bool) {\n return bool === true ? 1 : 0;\n };\n /* istanbul ignore next */\n\n\n function debounce(func, wait, immediate) {\n if (immediate === void 0) {\n immediate = false;\n }\n\n var timeout;\n return function () {\n var context = this,\n args = arguments;\n timeout !== null && clearTimeout(timeout);\n timeout = window.setTimeout(function () {\n timeout = null;\n if (!immediate) func.apply(context, args);\n }, wait);\n if (immediate && !timeout) func.apply(context, args);\n };\n }\n\n var arrayify = function arrayify(obj) {\n return obj instanceof Array ? obj : [obj];\n };\n\n function toggleClass(elem, className, bool) {\n if (bool === true) return elem.classList.add(className);\n elem.classList.remove(className);\n }\n\n function createElement(tag, className, content) {\n var e = window.document.createElement(tag);\n className = className || \"\";\n content = content || \"\";\n e.className = className;\n if (content !== undefined) e.textContent = content;\n return e;\n }\n\n function clearNode(node) {\n while (node.firstChild) {\n node.removeChild(node.firstChild);\n }\n }\n\n function findParent(node, condition) {\n if (condition(node)) return node;else if (node.parentNode) return findParent(node.parentNode, condition);\n return undefined; // nothing found\n }\n\n function createNumberInput(inputClassName, opts) {\n var wrapper = createElement(\"div\", \"numInputWrapper\"),\n numInput = createElement(\"input\", \"numInput \" + inputClassName),\n arrowUp = createElement(\"span\", \"arrowUp\"),\n arrowDown = createElement(\"span\", \"arrowDown\");\n\n if (navigator.userAgent.indexOf(\"MSIE 9.0\") === -1) {\n numInput.type = \"number\";\n } else {\n numInput.type = \"text\";\n numInput.pattern = \"\\\\d*\";\n }\n\n if (opts !== undefined) for (var key in opts) {\n numInput.setAttribute(key, opts[key]);\n }\n wrapper.appendChild(numInput);\n wrapper.appendChild(arrowUp);\n wrapper.appendChild(arrowDown);\n return wrapper;\n }\n\n function getEventTarget(event) {\n if (typeof event.composedPath === \"function\") {\n var path = event.composedPath();\n return path[0];\n }\n\n return event.target;\n }\n\n var doNothing = function doNothing() {\n return undefined;\n };\n\n var monthToStr = function monthToStr(monthNumber, shorthand, locale) {\n return locale.months[shorthand ? \"shorthand\" : \"longhand\"][monthNumber];\n };\n\n var revFormat = {\n D: doNothing,\n F: function F(dateObj, monthName, locale) {\n dateObj.setMonth(locale.months.longhand.indexOf(monthName));\n },\n G: function G(dateObj, hour) {\n dateObj.setHours(parseFloat(hour));\n },\n H: function H(dateObj, hour) {\n dateObj.setHours(parseFloat(hour));\n },\n J: function J(dateObj, day) {\n dateObj.setDate(parseFloat(day));\n },\n K: function K(dateObj, amPM, locale) {\n dateObj.setHours(dateObj.getHours() % 12 + 12 * int(new RegExp(locale.amPM[1], \"i\").test(amPM)));\n },\n M: function M(dateObj, shortMonth, locale) {\n dateObj.setMonth(locale.months.shorthand.indexOf(shortMonth));\n },\n S: function S(dateObj, seconds) {\n dateObj.setSeconds(parseFloat(seconds));\n },\n U: function U(_, unixSeconds) {\n return new Date(parseFloat(unixSeconds) * 1000);\n },\n W: function W(dateObj, weekNum, locale) {\n var weekNumber = parseInt(weekNum);\n var date = new Date(dateObj.getFullYear(), 0, 2 + (weekNumber - 1) * 7, 0, 0, 0, 0);\n date.setDate(date.getDate() - date.getDay() + locale.firstDayOfWeek);\n return date;\n },\n Y: function Y(dateObj, year) {\n dateObj.setFullYear(parseFloat(year));\n },\n Z: function Z(_, ISODate) {\n return new Date(ISODate);\n },\n d: function d(dateObj, day) {\n dateObj.setDate(parseFloat(day));\n },\n h: function h(dateObj, hour) {\n dateObj.setHours(parseFloat(hour));\n },\n i: function i(dateObj, minutes) {\n dateObj.setMinutes(parseFloat(minutes));\n },\n j: function j(dateObj, day) {\n dateObj.setDate(parseFloat(day));\n },\n l: doNothing,\n m: function m(dateObj, month) {\n dateObj.setMonth(parseFloat(month) - 1);\n },\n n: function n(dateObj, month) {\n dateObj.setMonth(parseFloat(month) - 1);\n },\n s: function s(dateObj, seconds) {\n dateObj.setSeconds(parseFloat(seconds));\n },\n u: function u(_, unixMillSeconds) {\n return new Date(parseFloat(unixMillSeconds));\n },\n w: doNothing,\n y: function y(dateObj, year) {\n dateObj.setFullYear(2000 + parseFloat(year));\n }\n };\n var tokenRegex = {\n D: \"(\\\\w+)\",\n F: \"(\\\\w+)\",\n G: \"(\\\\d\\\\d|\\\\d)\",\n H: \"(\\\\d\\\\d|\\\\d)\",\n J: \"(\\\\d\\\\d|\\\\d)\\\\w+\",\n K: \"\",\n M: \"(\\\\w+)\",\n S: \"(\\\\d\\\\d|\\\\d)\",\n U: \"(.+)\",\n W: \"(\\\\d\\\\d|\\\\d)\",\n Y: \"(\\\\d{4})\",\n Z: \"(.+)\",\n d: \"(\\\\d\\\\d|\\\\d)\",\n h: \"(\\\\d\\\\d|\\\\d)\",\n i: \"(\\\\d\\\\d|\\\\d)\",\n j: \"(\\\\d\\\\d|\\\\d)\",\n l: \"(\\\\w+)\",\n m: \"(\\\\d\\\\d|\\\\d)\",\n n: \"(\\\\d\\\\d|\\\\d)\",\n s: \"(\\\\d\\\\d|\\\\d)\",\n u: \"(.+)\",\n w: \"(\\\\d\\\\d|\\\\d)\",\n y: \"(\\\\d{2})\"\n };\n var formats = {\n // get the date in UTC\n Z: function Z(date) {\n return date.toISOString();\n },\n // weekday name, short, e.g. Thu\n D: function D(date, locale, options) {\n return locale.weekdays.shorthand[formats.w(date, locale, options)];\n },\n // full month name e.g. January\n F: function F(date, locale, options) {\n return monthToStr(formats.n(date, locale, options) - 1, false, locale);\n },\n // padded hour 1-12\n G: function G(date, locale, options) {\n return pad(formats.h(date, locale, options));\n },\n // hours with leading zero e.g. 03\n H: function H(date) {\n return pad(date.getHours());\n },\n // day (1-30) with ordinal suffix e.g. 1st, 2nd\n J: function J(date, locale) {\n return locale.ordinal !== undefined ? date.getDate() + locale.ordinal(date.getDate()) : date.getDate();\n },\n // AM/PM\n K: function K(date, locale) {\n return locale.amPM[int(date.getHours() > 11)];\n },\n // shorthand month e.g. Jan, Sep, Oct, etc\n M: function M(date, locale) {\n return monthToStr(date.getMonth(), true, locale);\n },\n // seconds 00-59\n S: function S(date) {\n return pad(date.getSeconds());\n },\n // unix timestamp\n U: function U(date) {\n return date.getTime() / 1000;\n },\n W: function W(date, _, options) {\n return options.getWeek(date);\n },\n // full year e.g. 2016\n Y: function Y(date) {\n return date.getFullYear();\n },\n // day in month, padded (01-30)\n d: function d(date) {\n return pad(date.getDate());\n },\n // hour from 1-12 (am/pm)\n h: function h(date) {\n return date.getHours() % 12 ? date.getHours() % 12 : 12;\n },\n // minutes, padded with leading zero e.g. 09\n i: function i(date) {\n return pad(date.getMinutes());\n },\n // day in month (1-30)\n j: function j(date) {\n return date.getDate();\n },\n // weekday name, full, e.g. Thursday\n l: function l(date, locale) {\n return locale.weekdays.longhand[date.getDay()];\n },\n // padded month number (01-12)\n m: function m(date) {\n return pad(date.getMonth() + 1);\n },\n // the month number (1-12)\n n: function n(date) {\n return date.getMonth() + 1;\n },\n // seconds 0-59\n s: function s(date) {\n return date.getSeconds();\n },\n // Unix Milliseconds\n u: function u(date) {\n return date.getTime();\n },\n // number of the day of the week\n w: function w(date) {\n return date.getDay();\n },\n // last two digits of year e.g. 16 for 2016\n y: function y(date) {\n return String(date.getFullYear()).substring(2);\n }\n };\n\n var createDateFormatter = function createDateFormatter(_a) {\n var _b = _a.config,\n config = _b === void 0 ? defaults : _b,\n _c = _a.l10n,\n l10n = _c === void 0 ? english : _c;\n return function (dateObj, frmt, overrideLocale) {\n var locale = overrideLocale || l10n;\n\n if (config.formatDate !== undefined) {\n return config.formatDate(dateObj, frmt, locale);\n }\n\n return frmt.split(\"\").map(function (c, i, arr) {\n return formats[c] && arr[i - 1] !== \"\\\\\" ? formats[c](dateObj, locale, config) : c !== \"\\\\\" ? c : \"\";\n }).join(\"\");\n };\n };\n\n var createDateParser = function createDateParser(_a) {\n var _b = _a.config,\n config = _b === void 0 ? defaults : _b,\n _c = _a.l10n,\n l10n = _c === void 0 ? english : _c;\n return function (date, givenFormat, timeless, customLocale) {\n if (date !== 0 && !date) return undefined;\n var locale = customLocale || l10n;\n var parsedDate;\n var dateOrig = date;\n if (date instanceof Date) parsedDate = new Date(date.getTime());else if (typeof date !== \"string\" && date.toFixed !== undefined // timestamp\n ) // create a copy\n parsedDate = new Date(date);else if (typeof date === \"string\") {\n // date string\n var format = givenFormat || (config || defaults).dateFormat;\n var datestr = String(date).trim();\n\n if (datestr === \"today\") {\n parsedDate = new Date();\n timeless = true;\n } else if (/Z$/.test(datestr) || /GMT$/.test(datestr) // datestrings w/ timezone\n ) parsedDate = new Date(date);else if (config && config.parseDate) parsedDate = config.parseDate(date, format);else {\n parsedDate = !config || !config.noCalendar ? new Date(new Date().getFullYear(), 0, 1, 0, 0, 0, 0) : new Date(new Date().setHours(0, 0, 0, 0));\n var matched = void 0,\n ops = [];\n\n for (var i = 0, matchIndex = 0, regexStr = \"\"; i < format.length; i++) {\n var token_1 = format[i];\n var isBackSlash = token_1 === \"\\\\\";\n var escaped = format[i - 1] === \"\\\\\" || isBackSlash;\n\n if (tokenRegex[token_1] && !escaped) {\n regexStr += tokenRegex[token_1];\n var match = new RegExp(regexStr).exec(date);\n\n if (match && (matched = true)) {\n ops[token_1 !== \"Y\" ? \"push\" : \"unshift\"]({\n fn: revFormat[token_1],\n val: match[++matchIndex]\n });\n }\n } else if (!isBackSlash) regexStr += \".\"; // don't really care\n\n\n ops.forEach(function (_a) {\n var fn = _a.fn,\n val = _a.val;\n return parsedDate = fn(parsedDate, val, locale) || parsedDate;\n });\n }\n\n parsedDate = matched ? parsedDate : undefined;\n }\n }\n /* istanbul ignore next */\n\n if (!(parsedDate instanceof Date && !isNaN(parsedDate.getTime()))) {\n config.errorHandler(new Error(\"Invalid date provided: \" + dateOrig));\n return undefined;\n }\n\n if (timeless === true) parsedDate.setHours(0, 0, 0, 0);\n return parsedDate;\n };\n };\n /**\n * Compute the difference in dates, measured in ms\n */\n\n\n function compareDates(date1, date2, timeless) {\n if (timeless === void 0) {\n timeless = true;\n }\n\n if (timeless !== false) {\n return new Date(date1.getTime()).setHours(0, 0, 0, 0) - new Date(date2.getTime()).setHours(0, 0, 0, 0);\n }\n\n return date1.getTime() - date2.getTime();\n }\n\n var isBetween = function isBetween(ts, ts1, ts2) {\n return ts > Math.min(ts1, ts2) && ts < Math.max(ts1, ts2);\n };\n\n var duration = {\n DAY: 86400000\n };\n\n if (typeof Object.assign !== \"function\") {\n Object.assign = function (target) {\n var args = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n\n if (!target) {\n throw TypeError(\"Cannot convert undefined or null to object\");\n }\n\n var _loop_1 = function _loop_1(source) {\n if (source) {\n Object.keys(source).forEach(function (key) {\n return target[key] = source[key];\n });\n }\n };\n\n for (var _a = 0, args_1 = args; _a < args_1.length; _a++) {\n var source = args_1[_a];\n\n _loop_1(source);\n }\n\n return target;\n };\n }\n\n var DEBOUNCED_CHANGE_MS = 300;\n\n function FlatpickrInstance(element, instanceConfig) {\n var self = {\n config: _assign({}, defaults, flatpickr.defaultConfig),\n l10n: english\n };\n self.parseDate = createDateParser({\n config: self.config,\n l10n: self.l10n\n });\n self._handlers = [];\n self.pluginElements = [];\n self.loadedPlugins = [];\n self._bind = bind;\n self._setHoursFromDate = setHoursFromDate;\n self._positionCalendar = positionCalendar;\n self.changeMonth = changeMonth;\n self.changeYear = changeYear;\n self.clear = clear;\n self.close = close;\n self._createElement = createElement;\n self.destroy = destroy;\n self.isEnabled = isEnabled;\n self.jumpToDate = jumpToDate;\n self.open = open;\n self.redraw = redraw;\n self.set = set;\n self.setDate = setDate;\n self.toggle = toggle;\n\n function setupHelperFunctions() {\n self.utils = {\n getDaysInMonth: function getDaysInMonth(month, yr) {\n if (month === void 0) {\n month = self.currentMonth;\n }\n\n if (yr === void 0) {\n yr = self.currentYear;\n }\n\n if (month === 1 && (yr % 4 === 0 && yr % 100 !== 0 || yr % 400 === 0)) return 29;\n return self.l10n.daysInMonth[month];\n }\n };\n }\n\n function init() {\n self.element = self.input = element;\n self.isOpen = false;\n parseConfig();\n setupLocale();\n setupInputs();\n setupDates();\n setupHelperFunctions();\n if (!self.isMobile) build();\n bindEvents();\n\n if (self.selectedDates.length || self.config.noCalendar) {\n if (self.config.enableTime) {\n setHoursFromDate(self.config.noCalendar ? self.latestSelectedDateObj || self.config.minDate : undefined);\n }\n\n updateValue(false);\n }\n\n setCalendarWidth();\n self.showTimeInput = self.selectedDates.length > 0 || self.config.noCalendar;\n var isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\n /* TODO: investigate this further\n Currently, there is weird positioning behavior in safari causing pages\n to scroll up. https://github.com/chmln/flatpickr/issues/563\n However, most browsers are not Safari and positioning is expensive when used\n in scale. https://github.com/chmln/flatpickr/issues/1096\n */\n\n if (!self.isMobile && isSafari) {\n positionCalendar();\n }\n\n triggerEvent(\"onReady\");\n }\n\n function bindToInstance(fn) {\n return fn.bind(self);\n }\n\n function setCalendarWidth() {\n var config = self.config;\n if (config.weekNumbers === false && config.showMonths === 1) return;else if (config.noCalendar !== true) {\n window.requestAnimationFrame(function () {\n if (self.calendarContainer !== undefined) {\n self.calendarContainer.style.visibility = \"hidden\";\n self.calendarContainer.style.display = \"block\";\n }\n\n if (self.daysContainer !== undefined) {\n var daysWidth = (self.days.offsetWidth + 1) * config.showMonths;\n self.daysContainer.style.width = daysWidth + \"px\";\n self.calendarContainer.style.width = daysWidth + (self.weekWrapper !== undefined ? self.weekWrapper.offsetWidth : 0) + \"px\";\n self.calendarContainer.style.removeProperty(\"visibility\");\n self.calendarContainer.style.removeProperty(\"display\");\n }\n });\n }\n }\n /**\n * The handler for all events targeting the time inputs\n */\n\n\n function updateTime(e) {\n if (self.selectedDates.length === 0) {\n setDefaultTime();\n }\n\n if (e !== undefined && e.type !== \"blur\") {\n timeWrapper(e);\n }\n\n var prevValue = self._input.value;\n setHoursFromInputs();\n updateValue();\n\n if (self._input.value !== prevValue) {\n self._debouncedChange();\n }\n }\n\n function ampm2military(hour, amPM) {\n return hour % 12 + 12 * int(amPM === self.l10n.amPM[1]);\n }\n\n function military2ampm(hour) {\n switch (hour % 24) {\n case 0:\n case 12:\n return 12;\n\n default:\n return hour % 12;\n }\n }\n /**\n * Syncs the selected date object time with user's time input\n */\n\n\n function setHoursFromInputs() {\n if (self.hourElement === undefined || self.minuteElement === undefined) return;\n var hours = (parseInt(self.hourElement.value.slice(-2), 10) || 0) % 24,\n minutes = (parseInt(self.minuteElement.value, 10) || 0) % 60,\n seconds = self.secondElement !== undefined ? (parseInt(self.secondElement.value, 10) || 0) % 60 : 0;\n\n if (self.amPM !== undefined) {\n hours = ampm2military(hours, self.amPM.textContent);\n }\n\n var limitMinHours = self.config.minTime !== undefined || self.config.minDate && self.minDateHasTime && self.latestSelectedDateObj && compareDates(self.latestSelectedDateObj, self.config.minDate, true) === 0;\n var limitMaxHours = self.config.maxTime !== undefined || self.config.maxDate && self.maxDateHasTime && self.latestSelectedDateObj && compareDates(self.latestSelectedDateObj, self.config.maxDate, true) === 0;\n\n if (limitMaxHours) {\n var maxTime = self.config.maxTime !== undefined ? self.config.maxTime : self.config.maxDate;\n hours = Math.min(hours, maxTime.getHours());\n if (hours === maxTime.getHours()) minutes = Math.min(minutes, maxTime.getMinutes());\n if (minutes === maxTime.getMinutes()) seconds = Math.min(seconds, maxTime.getSeconds());\n }\n\n if (limitMinHours) {\n var minTime = self.config.minTime !== undefined ? self.config.minTime : self.config.minDate;\n hours = Math.max(hours, minTime.getHours());\n if (hours === minTime.getHours()) minutes = Math.max(minutes, minTime.getMinutes());\n if (minutes === minTime.getMinutes()) seconds = Math.max(seconds, minTime.getSeconds());\n }\n\n setHours(hours, minutes, seconds);\n }\n /**\n * Syncs time input values with a date\n */\n\n\n function setHoursFromDate(dateObj) {\n var date = dateObj || self.latestSelectedDateObj;\n if (date) setHours(date.getHours(), date.getMinutes(), date.getSeconds());\n }\n\n function setDefaultHours() {\n var hours = self.config.defaultHour;\n var minutes = self.config.defaultMinute;\n var seconds = self.config.defaultSeconds;\n\n if (self.config.minDate !== undefined) {\n var minHr = self.config.minDate.getHours();\n var minMinutes = self.config.minDate.getMinutes();\n hours = Math.max(hours, minHr);\n if (hours === minHr) minutes = Math.max(minMinutes, minutes);\n if (hours === minHr && minutes === minMinutes) seconds = self.config.minDate.getSeconds();\n }\n\n if (self.config.maxDate !== undefined) {\n var maxHr = self.config.maxDate.getHours();\n var maxMinutes = self.config.maxDate.getMinutes();\n hours = Math.min(hours, maxHr);\n if (hours === maxHr) minutes = Math.min(maxMinutes, minutes);\n if (hours === maxHr && minutes === maxMinutes) seconds = self.config.maxDate.getSeconds();\n }\n\n setHours(hours, minutes, seconds);\n }\n /**\n * Sets the hours, minutes, and optionally seconds\n * of the latest selected date object and the\n * corresponding time inputs\n * @param {Number} hours the hour. whether its military\n * or am-pm gets inferred from config\n * @param {Number} minutes the minutes\n * @param {Number} seconds the seconds (optional)\n */\n\n\n function setHours(hours, minutes, seconds) {\n if (self.latestSelectedDateObj !== undefined) {\n self.latestSelectedDateObj.setHours(hours % 24, minutes, seconds || 0, 0);\n }\n\n if (!self.hourElement || !self.minuteElement || self.isMobile) return;\n self.hourElement.value = pad(!self.config.time_24hr ? (12 + hours) % 12 + 12 * int(hours % 12 === 0) : hours);\n self.minuteElement.value = pad(minutes);\n if (self.amPM !== undefined) self.amPM.textContent = self.l10n.amPM[int(hours >= 12)];\n if (self.secondElement !== undefined) self.secondElement.value = pad(seconds);\n }\n /**\n * Handles the year input and incrementing events\n * @param {Event} event the keyup or increment event\n */\n\n\n function onYearInput(event) {\n var year = parseInt(event.target.value) + (event.delta || 0);\n\n if (year / 1000 > 1 || event.key === \"Enter\" && !/[^\\d]/.test(year.toString())) {\n changeYear(year);\n }\n }\n /**\n * Essentially addEventListener + tracking\n * @param {Element} element the element to addEventListener to\n * @param {String} event the event name\n * @param {Function} handler the event handler\n */\n\n\n function bind(element, event, handler, options) {\n if (event instanceof Array) return event.forEach(function (ev) {\n return bind(element, ev, handler, options);\n });\n if (element instanceof Array) return element.forEach(function (el) {\n return bind(el, event, handler, options);\n });\n element.addEventListener(event, handler, options);\n\n self._handlers.push({\n element: element,\n event: event,\n handler: handler,\n options: options\n });\n }\n /**\n * A mousedown handler which mimics click.\n * Minimizes latency, since we don't need to wait for mouseup in most cases.\n * Also, avoids handling right clicks.\n *\n * @param {Function} handler the event handler\n */\n\n\n function onClick(handler) {\n return function (evt) {\n evt.which === 1 && handler(evt);\n };\n }\n\n function triggerChange() {\n triggerEvent(\"onChange\");\n }\n /**\n * Adds all the necessary event listeners\n */\n\n\n function bindEvents() {\n if (self.config.wrap) {\n [\"open\", \"close\", \"toggle\", \"clear\"].forEach(function (evt) {\n Array.prototype.forEach.call(self.element.querySelectorAll(\"[data-\" + evt + \"]\"), function (el) {\n return bind(el, \"click\", self[evt]);\n });\n });\n }\n\n if (self.isMobile) {\n setupMobile();\n return;\n }\n\n var debouncedResize = debounce(onResize, 50);\n self._debouncedChange = debounce(triggerChange, DEBOUNCED_CHANGE_MS);\n if (self.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent)) bind(self.daysContainer, \"mouseover\", function (e) {\n if (self.config.mode === \"range\") onMouseOver(e.target);\n });\n bind(window.document.body, \"keydown\", onKeyDown);\n if (!self.config.inline && !self.config.static) bind(window, \"resize\", debouncedResize);\n if (window.ontouchstart !== undefined) bind(window.document, \"touchstart\", documentClick);else bind(window.document, \"mousedown\", onClick(documentClick));\n bind(window.document, \"focus\", documentClick, {\n capture: true\n });\n\n if (self.config.clickOpens === true) {\n bind(self._input, \"focus\", self.open);\n bind(self._input, \"mousedown\", onClick(self.open));\n }\n\n if (self.daysContainer !== undefined) {\n bind(self.monthNav, \"mousedown\", onClick(onMonthNavClick));\n bind(self.monthNav, [\"keyup\", \"increment\"], onYearInput);\n bind(self.daysContainer, \"mousedown\", onClick(selectDate));\n }\n\n if (self.timeContainer !== undefined && self.minuteElement !== undefined && self.hourElement !== undefined) {\n var selText = function selText(e) {\n return e.target.select();\n };\n\n bind(self.timeContainer, [\"increment\"], updateTime);\n bind(self.timeContainer, \"blur\", updateTime, {\n capture: true\n });\n bind(self.timeContainer, \"mousedown\", onClick(timeIncrement));\n bind([self.hourElement, self.minuteElement], [\"focus\", \"click\"], selText);\n if (self.secondElement !== undefined) bind(self.secondElement, \"focus\", function () {\n return self.secondElement && self.secondElement.select();\n });\n\n if (self.amPM !== undefined) {\n bind(self.amPM, \"mousedown\", onClick(function (e) {\n updateTime(e);\n triggerChange();\n }));\n }\n }\n }\n /**\n * Set the calendar view to a particular date.\n * @param {Date} jumpDate the date to set the view to\n * @param {boolean} triggerChange if change events should be triggered\n */\n\n\n function jumpToDate(jumpDate, triggerChange) {\n var jumpTo = jumpDate !== undefined ? self.parseDate(jumpDate) : self.latestSelectedDateObj || (self.config.minDate && self.config.minDate > self.now ? self.config.minDate : self.config.maxDate && self.config.maxDate < self.now ? self.config.maxDate : self.now);\n var oldYear = self.currentYear;\n var oldMonth = self.currentMonth;\n\n try {\n if (jumpTo !== undefined) {\n self.currentYear = jumpTo.getFullYear();\n self.currentMonth = jumpTo.getMonth();\n }\n } catch (e) {\n /* istanbul ignore next */\n e.message = \"Invalid date supplied: \" + jumpTo;\n self.config.errorHandler(e);\n }\n\n if (triggerChange && self.currentYear !== oldYear) {\n triggerEvent(\"onYearChange\");\n buildMonthSwitch();\n }\n\n if (triggerChange && (self.currentYear !== oldYear || self.currentMonth !== oldMonth)) {\n triggerEvent(\"onMonthChange\");\n }\n\n self.redraw();\n }\n /**\n * The up/down arrow handler for time inputs\n * @param {Event} e the click event\n */\n\n\n function timeIncrement(e) {\n if (~e.target.className.indexOf(\"arrow\")) incrementNumInput(e, e.target.classList.contains(\"arrowUp\") ? 1 : -1);\n }\n /**\n * Increments/decrements the value of input associ-\n * ated with the up/down arrow by dispatching an\n * \"increment\" event on the input.\n *\n * @param {Event} e the click event\n * @param {Number} delta the diff (usually 1 or -1)\n * @param {Element} inputElem the input element\n */\n\n\n function incrementNumInput(e, delta, inputElem) {\n var target = e && e.target;\n var input = inputElem || target && target.parentNode && target.parentNode.firstChild;\n var event = createEvent(\"increment\");\n event.delta = delta;\n input && input.dispatchEvent(event);\n }\n\n function build() {\n var fragment = window.document.createDocumentFragment();\n self.calendarContainer = createElement(\"div\", \"flatpickr-calendar\");\n self.calendarContainer.tabIndex = -1;\n\n if (!self.config.noCalendar) {\n fragment.appendChild(buildMonthNav());\n self.innerContainer = createElement(\"div\", \"flatpickr-innerContainer\");\n\n if (self.config.weekNumbers) {\n var _a = buildWeeks(),\n weekWrapper = _a.weekWrapper,\n weekNumbers = _a.weekNumbers;\n\n self.innerContainer.appendChild(weekWrapper);\n self.weekNumbers = weekNumbers;\n self.weekWrapper = weekWrapper;\n }\n\n self.rContainer = createElement(\"div\", \"flatpickr-rContainer\");\n self.rContainer.appendChild(buildWeekdays());\n\n if (!self.daysContainer) {\n self.daysContainer = createElement(\"div\", \"flatpickr-days\");\n self.daysContainer.tabIndex = -1;\n }\n\n buildDays();\n self.rContainer.appendChild(self.daysContainer);\n self.innerContainer.appendChild(self.rContainer);\n fragment.appendChild(self.innerContainer);\n }\n\n if (self.config.enableTime) {\n fragment.appendChild(buildTime());\n }\n\n toggleClass(self.calendarContainer, \"rangeMode\", self.config.mode === \"range\");\n toggleClass(self.calendarContainer, \"animate\", self.config.animate === true);\n toggleClass(self.calendarContainer, \"multiMonth\", self.config.showMonths > 1);\n self.calendarContainer.appendChild(fragment);\n var customAppend = self.config.appendTo !== undefined && self.config.appendTo.nodeType !== undefined;\n\n if (self.config.inline || self.config.static) {\n self.calendarContainer.classList.add(self.config.inline ? \"inline\" : \"static\");\n\n if (self.config.inline) {\n if (!customAppend && self.element.parentNode) self.element.parentNode.insertBefore(self.calendarContainer, self._input.nextSibling);else if (self.config.appendTo !== undefined) self.config.appendTo.appendChild(self.calendarContainer);\n }\n\n if (self.config.static) {\n var wrapper = createElement(\"div\", \"flatpickr-wrapper\");\n if (self.element.parentNode) self.element.parentNode.insertBefore(wrapper, self.element);\n wrapper.appendChild(self.element);\n if (self.altInput) wrapper.appendChild(self.altInput);\n wrapper.appendChild(self.calendarContainer);\n }\n }\n\n if (!self.config.static && !self.config.inline) (self.config.appendTo !== undefined ? self.config.appendTo : window.document.body).appendChild(self.calendarContainer);\n }\n\n function createDay(className, date, dayNumber, i) {\n var dateIsEnabled = isEnabled(date, true),\n dayElement = createElement(\"span\", \"flatpickr-day \" + className, date.getDate().toString());\n dayElement.dateObj = date;\n dayElement.$i = i;\n dayElement.setAttribute(\"aria-label\", self.formatDate(date, self.config.ariaDateFormat));\n\n if (className.indexOf(\"hidden\") === -1 && compareDates(date, self.now) === 0) {\n self.todayDateElem = dayElement;\n dayElement.classList.add(\"today\");\n dayElement.setAttribute(\"aria-current\", \"date\");\n }\n\n if (dateIsEnabled) {\n dayElement.tabIndex = -1;\n\n if (isDateSelected(date)) {\n dayElement.classList.add(\"selected\");\n self.selectedDateElem = dayElement;\n\n if (self.config.mode === \"range\") {\n toggleClass(dayElement, \"startRange\", self.selectedDates[0] && compareDates(date, self.selectedDates[0], true) === 0);\n toggleClass(dayElement, \"endRange\", self.selectedDates[1] && compareDates(date, self.selectedDates[1], true) === 0);\n if (className === \"nextMonthDay\") dayElement.classList.add(\"inRange\");\n }\n }\n } else {\n dayElement.classList.add(\"flatpickr-disabled\");\n }\n\n if (self.config.mode === \"range\") {\n if (isDateInRange(date) && !isDateSelected(date)) dayElement.classList.add(\"inRange\");\n }\n\n if (self.weekNumbers && self.config.showMonths === 1 && className !== \"prevMonthDay\" && dayNumber % 7 === 1) {\n self.weekNumbers.insertAdjacentHTML(\"beforeend\", \"<span class='flatpickr-day'>\" + self.config.getWeek(date) + \"</span>\");\n }\n\n triggerEvent(\"onDayCreate\", dayElement);\n return dayElement;\n }\n\n function focusOnDayElem(targetNode) {\n targetNode.focus();\n if (self.config.mode === \"range\") onMouseOver(targetNode);\n }\n\n function getFirstAvailableDay(delta) {\n var startMonth = delta > 0 ? 0 : self.config.showMonths - 1;\n var endMonth = delta > 0 ? self.config.showMonths : -1;\n\n for (var m = startMonth; m != endMonth; m += delta) {\n var month = self.daysContainer.children[m];\n var startIndex = delta > 0 ? 0 : month.children.length - 1;\n var endIndex = delta > 0 ? month.children.length : -1;\n\n for (var i = startIndex; i != endIndex; i += delta) {\n var c = month.children[i];\n if (c.className.indexOf(\"hidden\") === -1 && isEnabled(c.dateObj)) return c;\n }\n }\n\n return undefined;\n }\n\n function getNextAvailableDay(current, delta) {\n var givenMonth = current.className.indexOf(\"Month\") === -1 ? current.dateObj.getMonth() : self.currentMonth;\n var endMonth = delta > 0 ? self.config.showMonths : -1;\n var loopDelta = delta > 0 ? 1 : -1;\n\n for (var m = givenMonth - self.currentMonth; m != endMonth; m += loopDelta) {\n var month = self.daysContainer.children[m];\n var startIndex = givenMonth - self.currentMonth === m ? current.$i + delta : delta < 0 ? month.children.length - 1 : 0;\n var numMonthDays = month.children.length;\n\n for (var i = startIndex; i >= 0 && i < numMonthDays && i != (delta > 0 ? numMonthDays : -1); i += loopDelta) {\n var c = month.children[i];\n if (c.className.indexOf(\"hidden\") === -1 && isEnabled(c.dateObj) && Math.abs(current.$i - i) >= Math.abs(delta)) return focusOnDayElem(c);\n }\n }\n\n self.changeMonth(loopDelta);\n focusOnDay(getFirstAvailableDay(loopDelta), 0);\n return undefined;\n }\n\n function focusOnDay(current, offset) {\n var dayFocused = isInView(document.activeElement || document.body);\n var startElem = current !== undefined ? current : dayFocused ? document.activeElement : self.selectedDateElem !== undefined && isInView(self.selectedDateElem) ? self.selectedDateElem : self.todayDateElem !== undefined && isInView(self.todayDateElem) ? self.todayDateElem : getFirstAvailableDay(offset > 0 ? 1 : -1);\n if (startElem === undefined) return self._input.focus();\n if (!dayFocused) return focusOnDayElem(startElem);\n getNextAvailableDay(startElem, offset);\n }\n\n function buildMonthDays(year, month) {\n var firstOfMonth = (new Date(year, month, 1).getDay() - self.l10n.firstDayOfWeek + 7) % 7;\n var prevMonthDays = self.utils.getDaysInMonth((month - 1 + 12) % 12);\n var daysInMonth = self.utils.getDaysInMonth(month),\n days = window.document.createDocumentFragment(),\n isMultiMonth = self.config.showMonths > 1,\n prevMonthDayClass = isMultiMonth ? \"prevMonthDay hidden\" : \"prevMonthDay\",\n nextMonthDayClass = isMultiMonth ? \"nextMonthDay hidden\" : \"nextMonthDay\";\n var dayNumber = prevMonthDays + 1 - firstOfMonth,\n dayIndex = 0; // prepend days from the ending of previous month\n\n for (; dayNumber <= prevMonthDays; dayNumber++, dayIndex++) {\n days.appendChild(createDay(prevMonthDayClass, new Date(year, month - 1, dayNumber), dayNumber, dayIndex));\n } // Start at 1 since there is no 0th day\n\n\n for (dayNumber = 1; dayNumber <= daysInMonth; dayNumber++, dayIndex++) {\n days.appendChild(createDay(\"\", new Date(year, month, dayNumber), dayNumber, dayIndex));\n } // append days from the next month\n\n\n for (var dayNum = daysInMonth + 1; dayNum <= 42 - firstOfMonth && (self.config.showMonths === 1 || dayIndex % 7 !== 0); dayNum++, dayIndex++) {\n days.appendChild(createDay(nextMonthDayClass, new Date(year, month + 1, dayNum % daysInMonth), dayNum, dayIndex));\n } //updateNavigationCurrentMonth();\n\n\n var dayContainer = createElement(\"div\", \"dayContainer\");\n dayContainer.appendChild(days);\n return dayContainer;\n }\n\n function buildDays() {\n if (self.daysContainer === undefined) {\n return;\n }\n\n clearNode(self.daysContainer); // TODO: week numbers for each month\n\n if (self.weekNumbers) clearNode(self.weekNumbers);\n var frag = document.createDocumentFragment();\n\n for (var i = 0; i < self.config.showMonths; i++) {\n var d = new Date(self.currentYear, self.currentMonth, 1);\n d.setMonth(self.currentMonth + i);\n frag.appendChild(buildMonthDays(d.getFullYear(), d.getMonth()));\n }\n\n self.daysContainer.appendChild(frag);\n self.days = self.daysContainer.firstChild;\n\n if (self.config.mode === \"range\" && self.selectedDates.length === 1) {\n onMouseOver();\n }\n }\n\n function buildMonthSwitch() {\n if (self.config.showMonths > 1 || self.config.monthSelectorType !== \"dropdown\") return;\n\n var shouldBuildMonth = function shouldBuildMonth(month) {\n if (self.config.minDate !== undefined && self.currentYear === self.config.minDate.getFullYear() && month < self.config.minDate.getMonth()) {\n return false;\n }\n\n return !(self.config.maxDate !== undefined && self.currentYear === self.config.maxDate.getFullYear() && month > self.config.maxDate.getMonth());\n };\n\n self.monthsDropdownContainer.tabIndex = -1;\n self.monthsDropdownContainer.innerHTML = \"\";\n\n for (var i = 0; i < 12; i++) {\n if (!shouldBuildMonth(i)) continue;\n var month = createElement(\"option\", \"flatpickr-monthDropdown-month\");\n month.value = new Date(self.currentYear, i).getMonth().toString();\n month.textContent = monthToStr(i, self.config.shorthandCurrentMonth, self.l10n);\n month.tabIndex = -1;\n\n if (self.currentMonth === i) {\n month.selected = true;\n }\n\n self.monthsDropdownContainer.appendChild(month);\n }\n }\n\n function buildMonth() {\n var container = createElement(\"div\", \"flatpickr-month\");\n var monthNavFragment = window.document.createDocumentFragment();\n var monthElement;\n\n if (self.config.showMonths > 1 || self.config.monthSelectorType === \"static\") {\n monthElement = createElement(\"span\", \"cur-month\");\n } else {\n self.monthsDropdownContainer = createElement(\"select\", \"flatpickr-monthDropdown-months\");\n bind(self.monthsDropdownContainer, \"change\", function (e) {\n var target = e.target;\n var selectedMonth = parseInt(target.value, 10);\n self.changeMonth(selectedMonth - self.currentMonth);\n triggerEvent(\"onMonthChange\");\n });\n buildMonthSwitch();\n monthElement = self.monthsDropdownContainer;\n }\n\n var yearInput = createNumberInput(\"cur-year\", {\n tabindex: \"-1\"\n });\n var yearElement = yearInput.getElementsByTagName(\"input\")[0];\n yearElement.setAttribute(\"aria-label\", self.l10n.yearAriaLabel);\n\n if (self.config.minDate) {\n yearElement.setAttribute(\"min\", self.config.minDate.getFullYear().toString());\n }\n\n if (self.config.maxDate) {\n yearElement.setAttribute(\"max\", self.config.maxDate.getFullYear().toString());\n yearElement.disabled = !!self.config.minDate && self.config.minDate.getFullYear() === self.config.maxDate.getFullYear();\n }\n\n var currentMonth = createElement(\"div\", \"flatpickr-current-month\");\n currentMonth.appendChild(monthElement);\n currentMonth.appendChild(yearInput);\n monthNavFragment.appendChild(currentMonth);\n container.appendChild(monthNavFragment);\n return {\n container: container,\n yearElement: yearElement,\n monthElement: monthElement\n };\n }\n\n function buildMonths() {\n clearNode(self.monthNav);\n self.monthNav.appendChild(self.prevMonthNav);\n\n if (self.config.showMonths) {\n self.yearElements = [];\n self.monthElements = [];\n }\n\n for (var m = self.config.showMonths; m--;) {\n var month = buildMonth();\n self.yearElements.push(month.yearElement);\n self.monthElements.push(month.monthElement);\n self.monthNav.appendChild(month.container);\n }\n\n self.monthNav.appendChild(self.nextMonthNav);\n }\n\n function buildMonthNav() {\n self.monthNav = createElement(\"div\", \"flatpickr-months\");\n self.yearElements = [];\n self.monthElements = [];\n self.prevMonthNav = createElement(\"span\", \"flatpickr-prev-month\");\n self.prevMonthNav.innerHTML = self.config.prevArrow;\n self.nextMonthNav = createElement(\"span\", \"flatpickr-next-month\");\n self.nextMonthNav.innerHTML = self.config.nextArrow;\n buildMonths();\n Object.defineProperty(self, \"_hidePrevMonthArrow\", {\n get: function get() {\n return self.__hidePrevMonthArrow;\n },\n set: function set(bool) {\n if (self.__hidePrevMonthArrow !== bool) {\n toggleClass(self.prevMonthNav, \"flatpickr-disabled\", bool);\n self.__hidePrevMonthArrow = bool;\n }\n }\n });\n Object.defineProperty(self, \"_hideNextMonthArrow\", {\n get: function get() {\n return self.__hideNextMonthArrow;\n },\n set: function set(bool) {\n if (self.__hideNextMonthArrow !== bool) {\n toggleClass(self.nextMonthNav, \"flatpickr-disabled\", bool);\n self.__hideNextMonthArrow = bool;\n }\n }\n });\n self.currentYearElement = self.yearElements[0];\n updateNavigationCurrentMonth();\n return self.monthNav;\n }\n\n function buildTime() {\n self.calendarContainer.classList.add(\"hasTime\");\n if (self.config.noCalendar) self.calendarContainer.classList.add(\"noCalendar\");\n self.timeContainer = createElement(\"div\", \"flatpickr-time\");\n self.timeContainer.tabIndex = -1;\n var separator = createElement(\"span\", \"flatpickr-time-separator\", \":\");\n var hourInput = createNumberInput(\"flatpickr-hour\", {\n \"aria-label\": self.l10n.hourAriaLabel\n });\n self.hourElement = hourInput.getElementsByTagName(\"input\")[0];\n var minuteInput = createNumberInput(\"flatpickr-minute\", {\n \"aria-label\": self.l10n.minuteAriaLabel\n });\n self.minuteElement = minuteInput.getElementsByTagName(\"input\")[0];\n self.hourElement.tabIndex = self.minuteElement.tabIndex = -1;\n self.hourElement.value = pad(self.latestSelectedDateObj ? self.latestSelectedDateObj.getHours() : self.config.time_24hr ? self.config.defaultHour : military2ampm(self.config.defaultHour));\n self.minuteElement.value = pad(self.latestSelectedDateObj ? self.latestSelectedDateObj.getMinutes() : self.config.defaultMinute);\n self.hourElement.setAttribute(\"step\", self.config.hourIncrement.toString());\n self.minuteElement.setAttribute(\"step\", self.config.minuteIncrement.toString());\n self.hourElement.setAttribute(\"min\", self.config.time_24hr ? \"0\" : \"1\");\n self.hourElement.setAttribute(\"max\", self.config.time_24hr ? \"23\" : \"12\");\n self.minuteElement.setAttribute(\"min\", \"0\");\n self.minuteElement.setAttribute(\"max\", \"59\");\n self.timeContainer.appendChild(hourInput);\n self.timeContainer.appendChild(separator);\n self.timeContainer.appendChild(minuteInput);\n if (self.config.time_24hr) self.timeContainer.classList.add(\"time24hr\");\n\n if (self.config.enableSeconds) {\n self.timeContainer.classList.add(\"hasSeconds\");\n var secondInput = createNumberInput(\"flatpickr-second\");\n self.secondElement = secondInput.getElementsByTagName(\"input\")[0];\n self.secondElement.value = pad(self.latestSelectedDateObj ? self.latestSelectedDateObj.getSeconds() : self.config.defaultSeconds);\n self.secondElement.setAttribute(\"step\", self.minuteElement.getAttribute(\"step\"));\n self.secondElement.setAttribute(\"min\", \"0\");\n self.secondElement.setAttribute(\"max\", \"59\");\n self.timeContainer.appendChild(createElement(\"span\", \"flatpickr-time-separator\", \":\"));\n self.timeContainer.appendChild(secondInput);\n }\n\n if (!self.config.time_24hr) {\n // add self.amPM if appropriate\n self.amPM = createElement(\"span\", \"flatpickr-am-pm\", self.l10n.amPM[int((self.latestSelectedDateObj ? self.hourElement.value : self.config.defaultHour) > 11)]);\n self.amPM.title = self.l10n.toggleTitle;\n self.amPM.tabIndex = -1;\n self.timeContainer.appendChild(self.amPM);\n }\n\n return self.timeContainer;\n }\n\n function buildWeekdays() {\n if (!self.weekdayContainer) self.weekdayContainer = createElement(\"div\", \"flatpickr-weekdays\");else clearNode(self.weekdayContainer);\n\n for (var i = self.config.showMonths; i--;) {\n var container = createElement(\"div\", \"flatpickr-weekdaycontainer\");\n self.weekdayContainer.appendChild(container);\n }\n\n updateWeekdays();\n return self.weekdayContainer;\n }\n\n function updateWeekdays() {\n if (!self.weekdayContainer) {\n return;\n }\n\n var firstDayOfWeek = self.l10n.firstDayOfWeek;\n var weekdays = self.l10n.weekdays.shorthand.slice();\n\n if (firstDayOfWeek > 0 && firstDayOfWeek < weekdays.length) {\n weekdays = weekdays.splice(firstDayOfWeek, weekdays.length).concat(weekdays.splice(0, firstDayOfWeek));\n }\n\n for (var i = self.config.showMonths; i--;) {\n self.weekdayContainer.children[i].innerHTML = \"\\n <span class='flatpickr-weekday'>\\n \" + weekdays.join(\"</span><span class='flatpickr-weekday'>\") + \"\\n </span>\\n \";\n }\n }\n /* istanbul ignore next */\n\n\n function buildWeeks() {\n self.calendarContainer.classList.add(\"hasWeeks\");\n var weekWrapper = createElement(\"div\", \"flatpickr-weekwrapper\");\n weekWrapper.appendChild(createElement(\"span\", \"flatpickr-weekday\", self.l10n.weekAbbreviation));\n var weekNumbers = createElement(\"div\", \"flatpickr-weeks\");\n weekWrapper.appendChild(weekNumbers);\n return {\n weekWrapper: weekWrapper,\n weekNumbers: weekNumbers\n };\n }\n\n function changeMonth(value, isOffset) {\n if (isOffset === void 0) {\n isOffset = true;\n }\n\n var delta = isOffset ? value : value - self.currentMonth;\n if (delta < 0 && self._hidePrevMonthArrow === true || delta > 0 && self._hideNextMonthArrow === true) return;\n self.currentMonth += delta;\n\n if (self.currentMonth < 0 || self.currentMonth > 11) {\n self.currentYear += self.currentMonth > 11 ? 1 : -1;\n self.currentMonth = (self.currentMonth + 12) % 12;\n triggerEvent(\"onYearChange\");\n buildMonthSwitch();\n }\n\n buildDays();\n triggerEvent(\"onMonthChange\");\n updateNavigationCurrentMonth();\n }\n\n function clear(triggerChangeEvent, toInitial) {\n if (triggerChangeEvent === void 0) {\n triggerChangeEvent = true;\n }\n\n if (toInitial === void 0) {\n toInitial = true;\n }\n\n self.input.value = \"\";\n if (self.altInput !== undefined) self.altInput.value = \"\";\n if (self.mobileInput !== undefined) self.mobileInput.value = \"\";\n self.selectedDates = [];\n self.latestSelectedDateObj = undefined;\n\n if (toInitial === true) {\n self.currentYear = self._initialDate.getFullYear();\n self.currentMonth = self._initialDate.getMonth();\n }\n\n self.showTimeInput = false;\n\n if (self.config.enableTime === true) {\n setDefaultHours();\n }\n\n self.redraw();\n if (triggerChangeEvent) // triggerChangeEvent is true (default) or an Event\n triggerEvent(\"onChange\");\n }\n\n function close() {\n self.isOpen = false;\n\n if (!self.isMobile) {\n if (self.calendarContainer !== undefined) {\n self.calendarContainer.classList.remove(\"open\");\n }\n\n if (self._input !== undefined) {\n self._input.classList.remove(\"active\");\n }\n }\n\n triggerEvent(\"onClose\");\n }\n\n function destroy() {\n if (self.config !== undefined) triggerEvent(\"onDestroy\");\n\n for (var i = self._handlers.length; i--;) {\n var h = self._handlers[i];\n h.element.removeEventListener(h.event, h.handler, h.options);\n }\n\n self._handlers = [];\n\n if (self.mobileInput) {\n if (self.mobileInput.parentNode) self.mobileInput.parentNode.removeChild(self.mobileInput);\n self.mobileInput = undefined;\n } else if (self.calendarContainer && self.calendarContainer.parentNode) {\n if (self.config.static && self.calendarContainer.parentNode) {\n var wrapper = self.calendarContainer.parentNode;\n wrapper.lastChild && wrapper.removeChild(wrapper.lastChild);\n\n if (wrapper.parentNode) {\n while (wrapper.firstChild) {\n wrapper.parentNode.insertBefore(wrapper.firstChild, wrapper);\n }\n\n wrapper.parentNode.removeChild(wrapper);\n }\n } else self.calendarContainer.parentNode.removeChild(self.calendarContainer);\n }\n\n if (self.altInput) {\n self.input.type = \"text\";\n if (self.altInput.parentNode) self.altInput.parentNode.removeChild(self.altInput);\n delete self.altInput;\n }\n\n if (self.input) {\n self.input.type = self.input._type;\n self.input.classList.remove(\"flatpickr-input\");\n self.input.removeAttribute(\"readonly\");\n self.input.value = \"\";\n }\n\n [\"_showTimeInput\", \"latestSelectedDateObj\", \"_hideNextMonthArrow\", \"_hidePrevMonthArrow\", \"__hideNextMonthArrow\", \"__hidePrevMonthArrow\", \"isMobile\", \"isOpen\", \"selectedDateElem\", \"minDateHasTime\", \"maxDateHasTime\", \"days\", \"daysContainer\", \"_input\", \"_positionElement\", \"innerContainer\", \"rContainer\", \"monthNav\", \"todayDateElem\", \"calendarContainer\", \"weekdayContainer\", \"prevMonthNav\", \"nextMonthNav\", \"monthsDropdownContainer\", \"currentMonthElement\", \"currentYearElement\", \"navigationCurrentMonth\", \"selectedDateElem\", \"config\"].forEach(function (k) {\n try {\n delete self[k];\n } catch (_) {}\n });\n }\n\n function isCalendarElem(elem) {\n if (self.config.appendTo && self.config.appendTo.contains(elem)) return true;\n return self.calendarContainer.contains(elem);\n }\n\n function documentClick(e) {\n if (self.isOpen && !self.config.inline) {\n var eventTarget_1 = getEventTarget(e);\n var isCalendarElement = isCalendarElem(eventTarget_1);\n var isInput = eventTarget_1 === self.input || eventTarget_1 === self.altInput || self.element.contains(eventTarget_1) || // web components\n // e.path is not present in all browsers. circumventing typechecks\n e.path && e.path.indexOf && (~e.path.indexOf(self.input) || ~e.path.indexOf(self.altInput));\n var lostFocus = e.type === \"blur\" ? isInput && e.relatedTarget && !isCalendarElem(e.relatedTarget) : !isInput && !isCalendarElement && !isCalendarElem(e.relatedTarget);\n var isIgnored = !self.config.ignoredFocusElements.some(function (elem) {\n return elem.contains(eventTarget_1);\n });\n\n if (lostFocus && isIgnored) {\n if (self.timeContainer !== undefined && self.minuteElement !== undefined && self.hourElement !== undefined) {\n updateTime();\n }\n\n self.close();\n\n if (self.config.mode === \"range\" && self.selectedDates.length === 1) {\n self.clear(false);\n self.redraw();\n }\n }\n }\n }\n\n function changeYear(newYear) {\n if (!newYear || self.config.minDate && newYear < self.config.minDate.getFullYear() || self.config.maxDate && newYear > self.config.maxDate.getFullYear()) return;\n var newYearNum = newYear,\n isNewYear = self.currentYear !== newYearNum;\n self.currentYear = newYearNum || self.currentYear;\n\n if (self.config.maxDate && self.currentYear === self.config.maxDate.getFullYear()) {\n self.currentMonth = Math.min(self.config.maxDate.getMonth(), self.currentMonth);\n } else if (self.config.minDate && self.currentYear === self.config.minDate.getFullYear()) {\n self.currentMonth = Math.max(self.config.minDate.getMonth(), self.currentMonth);\n }\n\n if (isNewYear) {\n self.redraw();\n triggerEvent(\"onYearChange\");\n buildMonthSwitch();\n }\n }\n\n function isEnabled(date, timeless) {\n if (timeless === void 0) {\n timeless = true;\n }\n\n var dateToCheck = self.parseDate(date, undefined, timeless); // timeless\n\n if (self.config.minDate && dateToCheck && compareDates(dateToCheck, self.config.minDate, timeless !== undefined ? timeless : !self.minDateHasTime) < 0 || self.config.maxDate && dateToCheck && compareDates(dateToCheck, self.config.maxDate, timeless !== undefined ? timeless : !self.maxDateHasTime) > 0) return false;\n if (self.config.enable.length === 0 && self.config.disable.length === 0) return true;\n if (dateToCheck === undefined) return false;\n var bool = self.config.enable.length > 0,\n array = bool ? self.config.enable : self.config.disable;\n\n for (var i = 0, d = void 0; i < array.length; i++) {\n d = array[i];\n if (typeof d === \"function\" && d(dateToCheck) // disabled by function\n ) return bool;else if (d instanceof Date && dateToCheck !== undefined && d.getTime() === dateToCheck.getTime()) // disabled by date\n return bool;else if (typeof d === \"string\" && dateToCheck !== undefined) {\n // disabled by date string\n var parsed = self.parseDate(d, undefined, true);\n return parsed && parsed.getTime() === dateToCheck.getTime() ? bool : !bool;\n } else if ( // disabled by range\n _typeof(d) === \"object\" && dateToCheck !== undefined && d.from && d.to && dateToCheck.getTime() >= d.from.getTime() && dateToCheck.getTime() <= d.to.getTime()) return bool;\n }\n\n return !bool;\n }\n\n function isInView(elem) {\n if (self.daysContainer !== undefined) return elem.className.indexOf(\"hidden\") === -1 && self.daysContainer.contains(elem);\n return false;\n }\n\n function onKeyDown(e) {\n // e.key e.keyCode\n // \"Backspace\" 8\n // \"Tab\" 9\n // \"Enter\" 13\n // \"Escape\" (IE \"Esc\") 27\n // \"ArrowLeft\" (IE \"Left\") 37\n // \"ArrowUp\" (IE \"Up\") 38\n // \"ArrowRight\" (IE \"Right\") 39\n // \"ArrowDown\" (IE \"Down\") 40\n // \"Delete\" (IE \"Del\") 46\n var isInput = e.target === self._input;\n var allowInput = self.config.allowInput;\n var allowKeydown = self.isOpen && (!allowInput || !isInput);\n var allowInlineKeydown = self.config.inline && isInput && !allowInput;\n\n if (e.keyCode === 13 && isInput) {\n if (allowInput) {\n self.setDate(self._input.value, true, e.target === self.altInput ? self.config.altFormat : self.config.dateFormat);\n return e.target.blur();\n } else {\n self.open();\n }\n } else if (isCalendarElem(e.target) || allowKeydown || allowInlineKeydown) {\n var isTimeObj = !!self.timeContainer && self.timeContainer.contains(e.target);\n\n switch (e.keyCode) {\n case 13:\n if (isTimeObj) {\n e.preventDefault();\n updateTime();\n focusAndClose();\n } else selectDate(e);\n\n break;\n\n case 27:\n // escape\n e.preventDefault();\n focusAndClose();\n break;\n\n case 8:\n case 46:\n if (isInput && !self.config.allowInput) {\n e.preventDefault();\n self.clear();\n }\n\n break;\n\n case 37:\n case 39:\n if (!isTimeObj && !isInput) {\n e.preventDefault();\n\n if (self.daysContainer !== undefined && (allowInput === false || document.activeElement && isInView(document.activeElement))) {\n var delta_1 = e.keyCode === 39 ? 1 : -1;\n if (!e.ctrlKey) focusOnDay(undefined, delta_1);else {\n e.stopPropagation();\n changeMonth(delta_1);\n focusOnDay(getFirstAvailableDay(1), 0);\n }\n }\n } else if (self.hourElement) self.hourElement.focus();\n\n break;\n\n case 38:\n case 40:\n e.preventDefault();\n var delta = e.keyCode === 40 ? 1 : -1;\n\n if (self.daysContainer && e.target.$i !== undefined || e.target === self.input || e.target === self.altInput) {\n if (e.ctrlKey) {\n e.stopPropagation();\n changeYear(self.currentYear - delta);\n focusOnDay(getFirstAvailableDay(1), 0);\n } else if (!isTimeObj) focusOnDay(undefined, delta * 7);\n } else if (e.target === self.currentYearElement) {\n changeYear(self.currentYear - delta);\n } else if (self.config.enableTime) {\n if (!isTimeObj && self.hourElement) self.hourElement.focus();\n updateTime(e);\n\n self._debouncedChange();\n }\n\n break;\n\n case 9:\n if (isTimeObj) {\n var elems = [self.hourElement, self.minuteElement, self.secondElement, self.amPM].concat(self.pluginElements).filter(function (x) {\n return x;\n });\n var i = elems.indexOf(e.target);\n\n if (i !== -1) {\n var target = elems[i + (e.shiftKey ? -1 : 1)];\n e.preventDefault();\n\n (target || self._input).focus();\n }\n } else if (!self.config.noCalendar && self.daysContainer && self.daysContainer.contains(e.target) && e.shiftKey) {\n e.preventDefault();\n\n self._input.focus();\n }\n\n break;\n\n default:\n break;\n }\n }\n\n if (self.amPM !== undefined && e.target === self.amPM) {\n switch (e.key) {\n case self.l10n.amPM[0].charAt(0):\n case self.l10n.amPM[0].charAt(0).toLowerCase():\n self.amPM.textContent = self.l10n.amPM[0];\n setHoursFromInputs();\n updateValue();\n break;\n\n case self.l10n.amPM[1].charAt(0):\n case self.l10n.amPM[1].charAt(0).toLowerCase():\n self.amPM.textContent = self.l10n.amPM[1];\n setHoursFromInputs();\n updateValue();\n break;\n }\n }\n\n if (isInput || isCalendarElem(e.target)) {\n triggerEvent(\"onKeyDown\", e);\n }\n }\n\n function onMouseOver(elem) {\n if (self.selectedDates.length !== 1 || elem && (!elem.classList.contains(\"flatpickr-day\") || elem.classList.contains(\"flatpickr-disabled\"))) return;\n var hoverDate = elem ? elem.dateObj.getTime() : self.days.firstElementChild.dateObj.getTime(),\n initialDate = self.parseDate(self.selectedDates[0], undefined, true).getTime(),\n rangeStartDate = Math.min(hoverDate, self.selectedDates[0].getTime()),\n rangeEndDate = Math.max(hoverDate, self.selectedDates[0].getTime());\n var containsDisabled = false;\n var minRange = 0,\n maxRange = 0;\n\n for (var t = rangeStartDate; t < rangeEndDate; t += duration.DAY) {\n if (!isEnabled(new Date(t), true)) {\n containsDisabled = containsDisabled || t > rangeStartDate && t < rangeEndDate;\n if (t < initialDate && (!minRange || t > minRange)) minRange = t;else if (t > initialDate && (!maxRange || t < maxRange)) maxRange = t;\n }\n }\n\n for (var m = 0; m < self.config.showMonths; m++) {\n var month = self.daysContainer.children[m];\n\n var _loop_1 = function _loop_1(i, l) {\n var dayElem = month.children[i],\n date = dayElem.dateObj;\n var timestamp = date.getTime();\n var outOfRange = minRange > 0 && timestamp < minRange || maxRange > 0 && timestamp > maxRange;\n\n if (outOfRange) {\n dayElem.classList.add(\"notAllowed\");\n [\"inRange\", \"startRange\", \"endRange\"].forEach(function (c) {\n dayElem.classList.remove(c);\n });\n return \"continue\";\n } else if (containsDisabled && !outOfRange) return \"continue\";\n\n [\"startRange\", \"inRange\", \"endRange\", \"notAllowed\"].forEach(function (c) {\n dayElem.classList.remove(c);\n });\n\n if (elem !== undefined) {\n elem.classList.add(hoverDate <= self.selectedDates[0].getTime() ? \"startRange\" : \"endRange\");\n if (initialDate < hoverDate && timestamp === initialDate) dayElem.classList.add(\"startRange\");else if (initialDate > hoverDate && timestamp === initialDate) dayElem.classList.add(\"endRange\");\n if (timestamp >= minRange && (maxRange === 0 || timestamp <= maxRange) && isBetween(timestamp, initialDate, hoverDate)) dayElem.classList.add(\"inRange\");\n }\n };\n\n for (var i = 0, l = month.children.length; i < l; i++) {\n _loop_1(i, l);\n }\n }\n }\n\n function onResize() {\n if (self.isOpen && !self.config.static && !self.config.inline) positionCalendar();\n }\n\n function setDefaultTime() {\n self.setDate(self.config.minDate !== undefined ? new Date(self.config.minDate.getTime()) : new Date(), true);\n setDefaultHours();\n updateValue();\n }\n\n function open(e, positionElement) {\n if (positionElement === void 0) {\n positionElement = self._positionElement;\n }\n\n if (self.isMobile === true) {\n if (e) {\n e.preventDefault();\n e.target && e.target.blur();\n }\n\n if (self.mobileInput !== undefined) {\n self.mobileInput.focus();\n self.mobileInput.click();\n }\n\n triggerEvent(\"onOpen\");\n return;\n }\n\n if (self._input.disabled || self.config.inline) return;\n var wasOpen = self.isOpen;\n self.isOpen = true;\n\n if (!wasOpen) {\n self.calendarContainer.classList.add(\"open\");\n\n self._input.classList.add(\"active\");\n\n triggerEvent(\"onOpen\");\n positionCalendar(positionElement);\n }\n\n if (self.config.enableTime === true && self.config.noCalendar === true) {\n if (self.selectedDates.length === 0) {\n setDefaultTime();\n }\n\n if (self.config.allowInput === false && (e === undefined || !self.timeContainer.contains(e.relatedTarget))) {\n setTimeout(function () {\n return self.hourElement.select();\n }, 50);\n }\n }\n }\n\n function minMaxDateSetter(type) {\n return function (date) {\n var dateObj = self.config[\"_\" + type + \"Date\"] = self.parseDate(date, self.config.dateFormat);\n var inverseDateObj = self.config[\"_\" + (type === \"min\" ? \"max\" : \"min\") + \"Date\"];\n\n if (dateObj !== undefined) {\n self[type === \"min\" ? \"minDateHasTime\" : \"maxDateHasTime\"] = dateObj.getHours() > 0 || dateObj.getMinutes() > 0 || dateObj.getSeconds() > 0;\n }\n\n if (self.selectedDates) {\n self.selectedDates = self.selectedDates.filter(function (d) {\n return isEnabled(d);\n });\n if (!self.selectedDates.length && type === \"min\") setHoursFromDate(dateObj);\n updateValue();\n }\n\n if (self.daysContainer) {\n redraw();\n if (dateObj !== undefined) self.currentYearElement[type] = dateObj.getFullYear().toString();else self.currentYearElement.removeAttribute(type);\n self.currentYearElement.disabled = !!inverseDateObj && dateObj !== undefined && inverseDateObj.getFullYear() === dateObj.getFullYear();\n }\n };\n }\n\n function parseConfig() {\n var boolOpts = [\"wrap\", \"weekNumbers\", \"allowInput\", \"clickOpens\", \"time_24hr\", \"enableTime\", \"noCalendar\", \"altInput\", \"shorthandCurrentMonth\", \"inline\", \"static\", \"enableSeconds\", \"disableMobile\"];\n\n var userConfig = _assign({}, instanceConfig, JSON.parse(JSON.stringify(element.dataset || {})));\n\n var formats = {};\n self.config.parseDate = userConfig.parseDate;\n self.config.formatDate = userConfig.formatDate;\n Object.defineProperty(self.config, \"enable\", {\n get: function get() {\n return self.config._enable;\n },\n set: function set(dates) {\n self.config._enable = parseDateRules(dates);\n }\n });\n Object.defineProperty(self.config, \"disable\", {\n get: function get() {\n return self.config._disable;\n },\n set: function set(dates) {\n self.config._disable = parseDateRules(dates);\n }\n });\n var timeMode = userConfig.mode === \"time\";\n\n if (!userConfig.dateFormat && (userConfig.enableTime || timeMode)) {\n var defaultDateFormat = flatpickr.defaultConfig.dateFormat || defaults.dateFormat;\n formats.dateFormat = userConfig.noCalendar || timeMode ? \"H:i\" + (userConfig.enableSeconds ? \":S\" : \"\") : defaultDateFormat + \" H:i\" + (userConfig.enableSeconds ? \":S\" : \"\");\n }\n\n if (userConfig.altInput && (userConfig.enableTime || timeMode) && !userConfig.altFormat) {\n var defaultAltFormat = flatpickr.defaultConfig.altFormat || defaults.altFormat;\n formats.altFormat = userConfig.noCalendar || timeMode ? \"h:i\" + (userConfig.enableSeconds ? \":S K\" : \" K\") : defaultAltFormat + (\" h:i\" + (userConfig.enableSeconds ? \":S\" : \"\") + \" K\");\n }\n\n if (!userConfig.altInputClass) {\n self.config.altInputClass = self.input.className + \" \" + self.config.altInputClass;\n }\n\n Object.defineProperty(self.config, \"minDate\", {\n get: function get() {\n return self.config._minDate;\n },\n set: minMaxDateSetter(\"min\")\n });\n Object.defineProperty(self.config, \"maxDate\", {\n get: function get() {\n return self.config._maxDate;\n },\n set: minMaxDateSetter(\"max\")\n });\n\n var minMaxTimeSetter = function minMaxTimeSetter(type) {\n return function (val) {\n self.config[type === \"min\" ? \"_minTime\" : \"_maxTime\"] = self.parseDate(val, \"H:i:S\");\n };\n };\n\n Object.defineProperty(self.config, \"minTime\", {\n get: function get() {\n return self.config._minTime;\n },\n set: minMaxTimeSetter(\"min\")\n });\n Object.defineProperty(self.config, \"maxTime\", {\n get: function get() {\n return self.config._maxTime;\n },\n set: minMaxTimeSetter(\"max\")\n });\n\n if (userConfig.mode === \"time\") {\n self.config.noCalendar = true;\n self.config.enableTime = true;\n }\n\n Object.assign(self.config, formats, userConfig);\n\n for (var i = 0; i < boolOpts.length; i++) {\n self.config[boolOpts[i]] = self.config[boolOpts[i]] === true || self.config[boolOpts[i]] === \"true\";\n }\n\n HOOKS.filter(function (hook) {\n return self.config[hook] !== undefined;\n }).forEach(function (hook) {\n self.config[hook] = arrayify(self.config[hook] || []).map(bindToInstance);\n });\n self.isMobile = !self.config.disableMobile && !self.config.inline && self.config.mode === \"single\" && !self.config.disable.length && !self.config.enable.length && !self.config.weekNumbers && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\n\n for (var i = 0; i < self.config.plugins.length; i++) {\n var pluginConf = self.config.plugins[i](self) || {};\n\n for (var key in pluginConf) {\n if (HOOKS.indexOf(key) > -1) {\n self.config[key] = arrayify(pluginConf[key]).map(bindToInstance).concat(self.config[key]);\n } else if (typeof userConfig[key] === \"undefined\") self.config[key] = pluginConf[key];\n }\n }\n\n triggerEvent(\"onParseConfig\");\n }\n\n function setupLocale() {\n if (_typeof(self.config.locale) !== \"object\" && typeof flatpickr.l10ns[self.config.locale] === \"undefined\") self.config.errorHandler(new Error(\"flatpickr: invalid locale \" + self.config.locale));\n self.l10n = _assign({}, flatpickr.l10ns[\"default\"], _typeof(self.config.locale) === \"object\" ? self.config.locale : self.config.locale !== \"default\" ? flatpickr.l10ns[self.config.locale] : undefined);\n tokenRegex.K = \"(\" + self.l10n.amPM[0] + \"|\" + self.l10n.amPM[1] + \"|\" + self.l10n.amPM[0].toLowerCase() + \"|\" + self.l10n.amPM[1].toLowerCase() + \")\";\n\n var userConfig = _assign({}, instanceConfig, JSON.parse(JSON.stringify(element.dataset || {})));\n\n if (userConfig.time_24hr === undefined && flatpickr.defaultConfig.time_24hr === undefined) {\n self.config.time_24hr = self.l10n.time_24hr;\n }\n\n self.formatDate = createDateFormatter(self);\n self.parseDate = createDateParser({\n config: self.config,\n l10n: self.l10n\n });\n }\n\n function positionCalendar(customPositionElement) {\n if (self.calendarContainer === undefined) return;\n triggerEvent(\"onPreCalendarPosition\");\n var positionElement = customPositionElement || self._positionElement;\n var calendarHeight = Array.prototype.reduce.call(self.calendarContainer.children, function (acc, child) {\n return acc + child.offsetHeight;\n }, 0),\n calendarWidth = self.calendarContainer.offsetWidth,\n configPos = self.config.position.split(\" \"),\n configPosVertical = configPos[0],\n configPosHorizontal = configPos.length > 1 ? configPos[1] : null,\n inputBounds = positionElement.getBoundingClientRect(),\n distanceFromBottom = window.innerHeight - inputBounds.bottom,\n showOnTop = configPosVertical === \"above\" || configPosVertical !== \"below\" && distanceFromBottom < calendarHeight && inputBounds.top > calendarHeight;\n var top = window.pageYOffset + inputBounds.top + (!showOnTop ? positionElement.offsetHeight + 2 : -calendarHeight - 2);\n toggleClass(self.calendarContainer, \"arrowTop\", !showOnTop);\n toggleClass(self.calendarContainer, \"arrowBottom\", showOnTop);\n if (self.config.inline) return;\n var left = window.pageXOffset + inputBounds.left - (configPosHorizontal != null && configPosHorizontal === \"center\" ? (calendarWidth - inputBounds.width) / 2 : 0);\n var right = window.document.body.offsetWidth - (window.pageXOffset + inputBounds.right);\n var rightMost = left + calendarWidth > window.document.body.offsetWidth;\n var centerMost = right + calendarWidth > window.document.body.offsetWidth;\n toggleClass(self.calendarContainer, \"rightMost\", rightMost);\n if (self.config.static) return;\n self.calendarContainer.style.top = top + \"px\";\n\n if (!rightMost) {\n self.calendarContainer.style.left = left + \"px\";\n self.calendarContainer.style.right = \"auto\";\n } else if (!centerMost) {\n self.calendarContainer.style.left = \"auto\";\n self.calendarContainer.style.right = right + \"px\";\n } else {\n var doc = document.styleSheets[0]; // some testing environments don't have css support\n\n if (doc === undefined) return;\n var bodyWidth = window.document.body.offsetWidth;\n var centerLeft = Math.max(0, bodyWidth / 2 - calendarWidth / 2);\n var centerBefore = \".flatpickr-calendar.centerMost:before\";\n var centerAfter = \".flatpickr-calendar.centerMost:after\";\n var centerIndex = doc.cssRules.length;\n var centerStyle = \"{left:\" + inputBounds.left + \"px;right:auto;}\";\n toggleClass(self.calendarContainer, \"rightMost\", false);\n toggleClass(self.calendarContainer, \"centerMost\", true);\n doc.insertRule(centerBefore + \",\" + centerAfter + centerStyle, centerIndex);\n self.calendarContainer.style.left = centerLeft + \"px\";\n self.calendarContainer.style.right = \"auto\";\n }\n }\n\n function redraw() {\n if (self.config.noCalendar || self.isMobile) return;\n updateNavigationCurrentMonth();\n buildDays();\n }\n\n function focusAndClose() {\n self._input.focus();\n\n if (window.navigator.userAgent.indexOf(\"MSIE\") !== -1 || navigator.msMaxTouchPoints !== undefined) {\n // hack - bugs in the way IE handles focus keeps the calendar open\n setTimeout(self.close, 0);\n } else {\n self.close();\n }\n }\n\n function selectDate(e) {\n e.preventDefault();\n e.stopPropagation();\n\n var isSelectable = function isSelectable(day) {\n return day.classList && day.classList.contains(\"flatpickr-day\") && !day.classList.contains(\"flatpickr-disabled\") && !day.classList.contains(\"notAllowed\");\n };\n\n var t = findParent(e.target, isSelectable);\n if (t === undefined) return;\n var target = t;\n var selectedDate = self.latestSelectedDateObj = new Date(target.dateObj.getTime());\n var shouldChangeMonth = (selectedDate.getMonth() < self.currentMonth || selectedDate.getMonth() > self.currentMonth + self.config.showMonths - 1) && self.config.mode !== \"range\";\n self.selectedDateElem = target;\n if (self.config.mode === \"single\") self.selectedDates = [selectedDate];else if (self.config.mode === \"multiple\") {\n var selectedIndex = isDateSelected(selectedDate);\n if (selectedIndex) self.selectedDates.splice(parseInt(selectedIndex), 1);else self.selectedDates.push(selectedDate);\n } else if (self.config.mode === \"range\") {\n if (self.selectedDates.length === 2) {\n self.clear(false, false);\n }\n\n self.latestSelectedDateObj = selectedDate;\n self.selectedDates.push(selectedDate); // unless selecting same date twice, sort ascendingly\n\n if (compareDates(selectedDate, self.selectedDates[0], true) !== 0) self.selectedDates.sort(function (a, b) {\n return a.getTime() - b.getTime();\n });\n }\n setHoursFromInputs();\n\n if (shouldChangeMonth) {\n var isNewYear = self.currentYear !== selectedDate.getFullYear();\n self.currentYear = selectedDate.getFullYear();\n self.currentMonth = selectedDate.getMonth();\n\n if (isNewYear) {\n triggerEvent(\"onYearChange\");\n buildMonthSwitch();\n }\n\n triggerEvent(\"onMonthChange\");\n }\n\n updateNavigationCurrentMonth();\n buildDays();\n updateValue();\n if (self.config.enableTime) setTimeout(function () {\n return self.showTimeInput = true;\n }, 50); // maintain focus\n\n if (!shouldChangeMonth && self.config.mode !== \"range\" && self.config.showMonths === 1) focusOnDayElem(target);else if (self.selectedDateElem !== undefined && self.hourElement === undefined) {\n self.selectedDateElem && self.selectedDateElem.focus();\n }\n if (self.hourElement !== undefined) self.hourElement !== undefined && self.hourElement.focus();\n\n if (self.config.closeOnSelect) {\n var single = self.config.mode === \"single\" && !self.config.enableTime;\n var range = self.config.mode === \"range\" && self.selectedDates.length === 2 && !self.config.enableTime;\n\n if (single || range) {\n focusAndClose();\n }\n }\n\n triggerChange();\n }\n\n var CALLBACKS = {\n locale: [setupLocale, updateWeekdays],\n showMonths: [buildMonths, setCalendarWidth, buildWeekdays],\n minDate: [jumpToDate],\n maxDate: [jumpToDate]\n };\n\n function set(option, value) {\n if (option !== null && _typeof(option) === \"object\") {\n Object.assign(self.config, option);\n\n for (var key in option) {\n if (CALLBACKS[key] !== undefined) CALLBACKS[key].forEach(function (x) {\n return x();\n });\n }\n } else {\n self.config[option] = value;\n if (CALLBACKS[option] !== undefined) CALLBACKS[option].forEach(function (x) {\n return x();\n });else if (HOOKS.indexOf(option) > -1) self.config[option] = arrayify(value);\n }\n\n self.redraw();\n updateValue(false);\n }\n\n function setSelectedDate(inputDate, format) {\n var dates = [];\n if (inputDate instanceof Array) dates = inputDate.map(function (d) {\n return self.parseDate(d, format);\n });else if (inputDate instanceof Date || typeof inputDate === \"number\") dates = [self.parseDate(inputDate, format)];else if (typeof inputDate === \"string\") {\n switch (self.config.mode) {\n case \"single\":\n case \"time\":\n dates = [self.parseDate(inputDate, format)];\n break;\n\n case \"multiple\":\n dates = inputDate.split(self.config.conjunction).map(function (date) {\n return self.parseDate(date, format);\n });\n break;\n\n case \"range\":\n dates = inputDate.split(self.l10n.rangeSeparator).map(function (date) {\n return self.parseDate(date, format);\n });\n break;\n\n default:\n break;\n }\n } else self.config.errorHandler(new Error(\"Invalid date supplied: \" + JSON.stringify(inputDate)));\n self.selectedDates = dates.filter(function (d) {\n return d instanceof Date && isEnabled(d, false);\n });\n if (self.config.mode === \"range\") self.selectedDates.sort(function (a, b) {\n return a.getTime() - b.getTime();\n });\n }\n\n function setDate(date, triggerChange, format) {\n if (triggerChange === void 0) {\n triggerChange = false;\n }\n\n if (format === void 0) {\n format = self.config.dateFormat;\n }\n\n if (date !== 0 && !date || date instanceof Array && date.length === 0) return self.clear(triggerChange);\n setSelectedDate(date, format);\n self.showTimeInput = self.selectedDates.length > 0;\n self.latestSelectedDateObj = self.selectedDates[self.selectedDates.length - 1];\n self.redraw();\n jumpToDate();\n setHoursFromDate();\n\n if (self.selectedDates.length === 0) {\n self.clear(false);\n }\n\n updateValue(triggerChange);\n if (triggerChange) triggerEvent(\"onChange\");\n }\n\n function parseDateRules(arr) {\n return arr.slice().map(function (rule) {\n if (typeof rule === \"string\" || typeof rule === \"number\" || rule instanceof Date) {\n return self.parseDate(rule, undefined, true);\n } else if (rule && _typeof(rule) === \"object\" && rule.from && rule.to) return {\n from: self.parseDate(rule.from, undefined),\n to: self.parseDate(rule.to, undefined)\n };\n\n return rule;\n }).filter(function (x) {\n return x;\n }); // remove falsy values\n }\n\n function setupDates() {\n self.selectedDates = [];\n self.now = self.parseDate(self.config.now) || new Date(); // Workaround IE11 setting placeholder as the input's value\n\n var preloadedDate = self.config.defaultDate || ((self.input.nodeName === \"INPUT\" || self.input.nodeName === \"TEXTAREA\") && self.input.placeholder && self.input.value === self.input.placeholder ? null : self.input.value);\n if (preloadedDate) setSelectedDate(preloadedDate, self.config.dateFormat);\n self._initialDate = self.selectedDates.length > 0 ? self.selectedDates[0] : self.config.minDate && self.config.minDate.getTime() > self.now.getTime() ? self.config.minDate : self.config.maxDate && self.config.maxDate.getTime() < self.now.getTime() ? self.config.maxDate : self.now;\n self.currentYear = self._initialDate.getFullYear();\n self.currentMonth = self._initialDate.getMonth();\n if (self.selectedDates.length > 0) self.latestSelectedDateObj = self.selectedDates[0];\n if (self.config.minTime !== undefined) self.config.minTime = self.parseDate(self.config.minTime, \"H:i\");\n if (self.config.maxTime !== undefined) self.config.maxTime = self.parseDate(self.config.maxTime, \"H:i\");\n self.minDateHasTime = !!self.config.minDate && (self.config.minDate.getHours() > 0 || self.config.minDate.getMinutes() > 0 || self.config.minDate.getSeconds() > 0);\n self.maxDateHasTime = !!self.config.maxDate && (self.config.maxDate.getHours() > 0 || self.config.maxDate.getMinutes() > 0 || self.config.maxDate.getSeconds() > 0);\n Object.defineProperty(self, \"showTimeInput\", {\n get: function get() {\n return self._showTimeInput;\n },\n set: function set(bool) {\n self._showTimeInput = bool;\n if (self.calendarContainer) toggleClass(self.calendarContainer, \"showTimeInput\", bool);\n self.isOpen && positionCalendar();\n }\n });\n }\n\n function setupInputs() {\n self.input = self.config.wrap ? element.querySelector(\"[data-input]\") : element;\n /* istanbul ignore next */\n\n if (!self.input) {\n self.config.errorHandler(new Error(\"Invalid input element specified\"));\n return;\n } // hack: store previous type to restore it after destroy()\n\n\n self.input._type = self.input.type;\n self.input.type = \"text\";\n self.input.classList.add(\"flatpickr-input\");\n self._input = self.input;\n\n if (self.config.altInput) {\n // replicate self.element\n self.altInput = createElement(self.input.nodeName, self.config.altInputClass);\n self._input = self.altInput;\n self.altInput.placeholder = self.input.placeholder;\n self.altInput.disabled = self.input.disabled;\n self.altInput.required = self.input.required;\n self.altInput.tabIndex = self.input.tabIndex;\n self.altInput.type = \"text\";\n self.input.setAttribute(\"type\", \"hidden\");\n if (!self.config.static && self.input.parentNode) self.input.parentNode.insertBefore(self.altInput, self.input.nextSibling);\n }\n\n if (!self.config.allowInput) self._input.setAttribute(\"readonly\", \"readonly\");\n self._positionElement = self.config.positionElement || self._input;\n }\n\n function setupMobile() {\n var inputType = self.config.enableTime ? self.config.noCalendar ? \"time\" : \"datetime-local\" : \"date\";\n self.mobileInput = createElement(\"input\", self.input.className + \" flatpickr-mobile\");\n self.mobileInput.step = self.input.getAttribute(\"step\") || \"any\";\n self.mobileInput.tabIndex = 1;\n self.mobileInput.type = inputType;\n self.mobileInput.disabled = self.input.disabled;\n self.mobileInput.required = self.input.required;\n self.mobileInput.placeholder = self.input.placeholder;\n self.mobileFormatStr = inputType === \"datetime-local\" ? \"Y-m-d\\\\TH:i:S\" : inputType === \"date\" ? \"Y-m-d\" : \"H:i:S\";\n\n if (self.selectedDates.length > 0) {\n self.mobileInput.defaultValue = self.mobileInput.value = self.formatDate(self.selectedDates[0], self.mobileFormatStr);\n }\n\n if (self.config.minDate) self.mobileInput.min = self.formatDate(self.config.minDate, \"Y-m-d\");\n if (self.config.maxDate) self.mobileInput.max = self.formatDate(self.config.maxDate, \"Y-m-d\");\n self.input.type = \"hidden\";\n if (self.altInput !== undefined) self.altInput.type = \"hidden\";\n\n try {\n if (self.input.parentNode) self.input.parentNode.insertBefore(self.mobileInput, self.input.nextSibling);\n } catch (_a) {}\n\n bind(self.mobileInput, \"change\", function (e) {\n self.setDate(e.target.value, false, self.mobileFormatStr);\n triggerEvent(\"onChange\");\n triggerEvent(\"onClose\");\n });\n }\n\n function toggle(e) {\n if (self.isOpen === true) return self.close();\n self.open(e);\n }\n\n function triggerEvent(event, data) {\n // If the instance has been destroyed already, all hooks have been removed\n if (self.config === undefined) return;\n var hooks = self.config[event];\n\n if (hooks !== undefined && hooks.length > 0) {\n for (var i = 0; hooks[i] && i < hooks.length; i++) {\n hooks[i](self.selectedDates, self.input.value, self, data);\n }\n }\n\n if (event === \"onChange\") {\n self.input.dispatchEvent(createEvent(\"change\")); // many front-end frameworks bind to the input event\n\n self.input.dispatchEvent(createEvent(\"input\"));\n }\n }\n\n function createEvent(name) {\n var e = document.createEvent(\"Event\");\n e.initEvent(name, true, true);\n return e;\n }\n\n function isDateSelected(date) {\n for (var i = 0; i < self.selectedDates.length; i++) {\n if (compareDates(self.selectedDates[i], date) === 0) return \"\" + i;\n }\n\n return false;\n }\n\n function isDateInRange(date) {\n if (self.config.mode !== \"range\" || self.selectedDates.length < 2) return false;\n return compareDates(date, self.selectedDates[0]) >= 0 && compareDates(date, self.selectedDates[1]) <= 0;\n }\n\n function updateNavigationCurrentMonth() {\n if (self.config.noCalendar || self.isMobile || !self.monthNav) return;\n self.yearElements.forEach(function (yearElement, i) {\n var d = new Date(self.currentYear, self.currentMonth, 1);\n d.setMonth(self.currentMonth + i);\n\n if (self.config.showMonths > 1 || self.config.monthSelectorType === \"static\") {\n self.monthElements[i].textContent = monthToStr(d.getMonth(), self.config.shorthandCurrentMonth, self.l10n) + \" \";\n } else {\n self.monthsDropdownContainer.value = d.getMonth().toString();\n }\n\n yearElement.value = d.getFullYear().toString();\n });\n self._hidePrevMonthArrow = self.config.minDate !== undefined && (self.currentYear === self.config.minDate.getFullYear() ? self.currentMonth <= self.config.minDate.getMonth() : self.currentYear < self.config.minDate.getFullYear());\n self._hideNextMonthArrow = self.config.maxDate !== undefined && (self.currentYear === self.config.maxDate.getFullYear() ? self.currentMonth + 1 > self.config.maxDate.getMonth() : self.currentYear > self.config.maxDate.getFullYear());\n }\n\n function getDateStr(format) {\n return self.selectedDates.map(function (dObj) {\n return self.formatDate(dObj, format);\n }).filter(function (d, i, arr) {\n return self.config.mode !== \"range\" || self.config.enableTime || arr.indexOf(d) === i;\n }).join(self.config.mode !== \"range\" ? self.config.conjunction : self.l10n.rangeSeparator);\n }\n /**\n * Updates the values of inputs associated with the calendar\n */\n\n\n function updateValue(triggerChange) {\n if (triggerChange === void 0) {\n triggerChange = true;\n }\n\n if (self.mobileInput !== undefined && self.mobileFormatStr) {\n self.mobileInput.value = self.latestSelectedDateObj !== undefined ? self.formatDate(self.latestSelectedDateObj, self.mobileFormatStr) : \"\";\n }\n\n self.input.value = getDateStr(self.config.dateFormat);\n\n if (self.altInput !== undefined) {\n self.altInput.value = getDateStr(self.config.altFormat);\n }\n\n if (triggerChange !== false) triggerEvent(\"onValueUpdate\");\n }\n\n function onMonthNavClick(e) {\n var isPrevMonth = self.prevMonthNav.contains(e.target);\n var isNextMonth = self.nextMonthNav.contains(e.target);\n\n if (isPrevMonth || isNextMonth) {\n changeMonth(isPrevMonth ? -1 : 1);\n } else if (self.yearElements.indexOf(e.target) >= 0) {\n e.target.select();\n } else if (e.target.classList.contains(\"arrowUp\")) {\n self.changeYear(self.currentYear + 1);\n } else if (e.target.classList.contains(\"arrowDown\")) {\n self.changeYear(self.currentYear - 1);\n }\n }\n\n function timeWrapper(e) {\n e.preventDefault();\n var isKeyDown = e.type === \"keydown\",\n input = e.target;\n\n if (self.amPM !== undefined && e.target === self.amPM) {\n self.amPM.textContent = self.l10n.amPM[int(self.amPM.textContent === self.l10n.amPM[0])];\n }\n\n var min = parseFloat(input.getAttribute(\"min\")),\n max = parseFloat(input.getAttribute(\"max\")),\n step = parseFloat(input.getAttribute(\"step\")),\n curValue = parseInt(input.value, 10),\n delta = e.delta || (isKeyDown ? e.which === 38 ? 1 : -1 : 0);\n var newValue = curValue + step * delta;\n\n if (typeof input.value !== \"undefined\" && input.value.length === 2) {\n var isHourElem = input === self.hourElement,\n isMinuteElem = input === self.minuteElement;\n\n if (newValue < min) {\n newValue = max + newValue + int(!isHourElem) + (int(isHourElem) && int(!self.amPM));\n if (isMinuteElem) incrementNumInput(undefined, -1, self.hourElement);\n } else if (newValue > max) {\n newValue = input === self.hourElement ? newValue - max - int(!self.amPM) : min;\n if (isMinuteElem) incrementNumInput(undefined, 1, self.hourElement);\n }\n\n if (self.amPM && isHourElem && (step === 1 ? newValue + curValue === 23 : Math.abs(newValue - curValue) > step)) {\n self.amPM.textContent = self.l10n.amPM[int(self.amPM.textContent === self.l10n.amPM[0])];\n }\n\n input.value = pad(newValue);\n }\n }\n\n init();\n return self;\n }\n /* istanbul ignore next */\n\n\n function _flatpickr(nodeList, config) {\n // static list\n var nodes = Array.prototype.slice.call(nodeList).filter(function (x) {\n return x instanceof HTMLElement;\n });\n var instances = [];\n\n for (var i = 0; i < nodes.length; i++) {\n var node = nodes[i];\n\n try {\n if (node.getAttribute(\"data-fp-omit\") !== null) continue;\n\n if (node._flatpickr !== undefined) {\n node._flatpickr.destroy();\n\n node._flatpickr = undefined;\n }\n\n node._flatpickr = FlatpickrInstance(node, config || {});\n instances.push(node._flatpickr);\n } catch (e) {\n console.error(e);\n }\n }\n\n return instances.length === 1 ? instances[0] : instances;\n }\n /* istanbul ignore next */\n\n\n if (typeof HTMLElement !== \"undefined\" && typeof HTMLCollection !== \"undefined\" && typeof NodeList !== \"undefined\") {\n // browser env\n HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function (config) {\n return _flatpickr(this, config);\n };\n\n HTMLElement.prototype.flatpickr = function (config) {\n return _flatpickr([this], config);\n };\n }\n /* istanbul ignore next */\n\n\n var flatpickr = function flatpickr(selector, config) {\n if (typeof selector === \"string\") {\n return _flatpickr(window.document.querySelectorAll(selector), config);\n } else if (selector instanceof Node) {\n return _flatpickr([selector], config);\n } else {\n return _flatpickr(selector, config);\n }\n };\n /* istanbul ignore next */\n\n\n flatpickr.defaultConfig = {};\n flatpickr.l10ns = {\n en: _assign({}, english),\n \"default\": _assign({}, english)\n };\n\n flatpickr.localize = function (l10n) {\n flatpickr.l10ns[\"default\"] = _assign({}, flatpickr.l10ns[\"default\"], l10n);\n };\n\n flatpickr.setDefaults = function (config) {\n flatpickr.defaultConfig = _assign({}, flatpickr.defaultConfig, config);\n };\n\n flatpickr.parseDate = createDateParser({});\n flatpickr.formatDate = createDateFormatter({});\n flatpickr.compareDates = compareDates;\n /* istanbul ignore next */\n\n if (typeof jQuery !== \"undefined\" && typeof jQuery.fn !== \"undefined\") {\n jQuery.fn.flatpickr = function (config) {\n return _flatpickr(this, config);\n };\n } // eslint-disable-next-line @typescript-eslint/camelcase\n\n\n Date.prototype.fp_incr = function (days) {\n return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof days === \"string\" ? parseInt(days, 10) : days));\n };\n\n if (typeof window !== \"undefined\") {\n window.flatpickr = flatpickr;\n }\n\n return flatpickr;\n});","var matches = require('matches-selector');\n\nmodule.exports = function (element, selector, checkYoSelf) {\n var parent = checkYoSelf ? element : element.parentNode;\n\n while (parent && parent !== document) {\n if (matches(parent, selector)) return parent;\n parent = parent.parentNode;\n }\n};","/**\r\n * Element prototype.\r\n */\nvar proto = Element.prototype;\n/**\r\n * Vendor function.\r\n */\n\nvar vendor = proto.matchesSelector || proto.webkitMatchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector || proto.oMatchesSelector;\n/**\r\n * Expose `match()`.\r\n */\n\nmodule.exports = match;\n/**\r\n * Match `el` to `selector`.\r\n *\r\n * @param {Element} el\r\n * @param {String} selector\r\n * @return {Boolean}\r\n * @api public\r\n */\n\nfunction match(el, selector) {\n if (vendor) return vendor.call(el, selector);\n var nodes = el.parentNode.querySelectorAll(selector);\n\n for (var i = 0; i < nodes.length; ++i) {\n if (nodes[i] == el) return true;\n }\n\n return false;\n}","module.exports = require('./src/PathFinding');","module.exports = {\n 'Heap': require('heap'),\n 'Node': require('./core/Node'),\n 'Grid': require('./core/Grid'),\n 'Util': require('./core/Util'),\n 'DiagonalMovement': require('./core/DiagonalMovement'),\n 'Heuristic': require('./core/Heuristic'),\n 'AStarFinder': require('./finders/AStarFinder'),\n 'BestFirstFinder': require('./finders/BestFirstFinder'),\n 'BreadthFirstFinder': require('./finders/BreadthFirstFinder'),\n 'DijkstraFinder': require('./finders/DijkstraFinder'),\n 'BiAStarFinder': require('./finders/BiAStarFinder'),\n 'BiBestFirstFinder': require('./finders/BiBestFirstFinder'),\n 'BiBreadthFirstFinder': require('./finders/BiBreadthFirstFinder'),\n 'BiDijkstraFinder': require('./finders/BiDijkstraFinder'),\n 'IDAStarFinder': require('./finders/IDAStarFinder'),\n 'JumpPointFinder': require('./finders/JumpPointFinder')\n};","// Generated by CoffeeScript 1.8.0\n(function () {\n var Heap, defaultCmp, floor, heapify, heappop, heappush, heappushpop, heapreplace, insort, min, nlargest, nsmallest, updateItem, _siftdown, _siftup;\n\n floor = Math.floor, min = Math.min;\n /*\n Default comparison function to be used\n */\n\n defaultCmp = function defaultCmp(x, y) {\n if (x < y) {\n return -1;\n }\n\n if (x > y) {\n return 1;\n }\n\n return 0;\n };\n /*\n Insert item x in list a, and keep it sorted assuming a is sorted.\n \n If x is already in a, insert it to the right of the rightmost x.\n \n Optional args lo (default 0) and hi (default a.length) bound the slice\n of a to be searched.\n */\n\n\n insort = function insort(a, x, lo, hi, cmp) {\n var mid;\n\n if (lo == null) {\n lo = 0;\n }\n\n if (cmp == null) {\n cmp = defaultCmp;\n }\n\n if (lo < 0) {\n throw new Error('lo must be non-negative');\n }\n\n if (hi == null) {\n hi = a.length;\n }\n\n while (lo < hi) {\n mid = floor((lo + hi) / 2);\n\n if (cmp(x, a[mid]) < 0) {\n hi = mid;\n } else {\n lo = mid + 1;\n }\n }\n\n return [].splice.apply(a, [lo, lo - lo].concat(x)), x;\n };\n /*\n Push item onto heap, maintaining the heap invariant.\n */\n\n\n heappush = function heappush(array, item, cmp) {\n if (cmp == null) {\n cmp = defaultCmp;\n }\n\n array.push(item);\n return _siftdown(array, 0, array.length - 1, cmp);\n };\n /*\n Pop the smallest item off the heap, maintaining the heap invariant.\n */\n\n\n heappop = function heappop(array, cmp) {\n var lastelt, returnitem;\n\n if (cmp == null) {\n cmp = defaultCmp;\n }\n\n lastelt = array.pop();\n\n if (array.length) {\n returnitem = array[0];\n array[0] = lastelt;\n\n _siftup(array, 0, cmp);\n } else {\n returnitem = lastelt;\n }\n\n return returnitem;\n };\n /*\n Pop and return the current smallest value, and add the new item.\n \n This is more efficient than heappop() followed by heappush(), and can be\n more appropriate when using a fixed size heap. Note that the value\n returned may be larger than item! That constrains reasonable use of\n this routine unless written as part of a conditional replacement:\n if item > array[0]\n item = heapreplace(array, item)\n */\n\n\n heapreplace = function heapreplace(array, item, cmp) {\n var returnitem;\n\n if (cmp == null) {\n cmp = defaultCmp;\n }\n\n returnitem = array[0];\n array[0] = item;\n\n _siftup(array, 0, cmp);\n\n return returnitem;\n };\n /*\n Fast version of a heappush followed by a heappop.\n */\n\n\n heappushpop = function heappushpop(array, item, cmp) {\n var _ref;\n\n if (cmp == null) {\n cmp = defaultCmp;\n }\n\n if (array.length && cmp(array[0], item) < 0) {\n _ref = [array[0], item], item = _ref[0], array[0] = _ref[1];\n\n _siftup(array, 0, cmp);\n }\n\n return item;\n };\n /*\n Transform list into a heap, in-place, in O(array.length) time.\n */\n\n\n heapify = function heapify(array, cmp) {\n var i, _i, _j, _len, _ref, _ref1, _results, _results1;\n\n if (cmp == null) {\n cmp = defaultCmp;\n }\n\n _ref1 = function () {\n _results1 = [];\n\n for (var _j = 0, _ref = floor(array.length / 2); 0 <= _ref ? _j < _ref : _j > _ref; 0 <= _ref ? _j++ : _j--) {\n _results1.push(_j);\n }\n\n return _results1;\n }.apply(this).reverse();\n\n _results = [];\n\n for (_i = 0, _len = _ref1.length; _i < _len; _i++) {\n i = _ref1[_i];\n\n _results.push(_siftup(array, i, cmp));\n }\n\n return _results;\n };\n /*\n Update the position of the given item in the heap.\n This function should be called every time the item is being modified.\n */\n\n\n updateItem = function updateItem(array, item, cmp) {\n var pos;\n\n if (cmp == null) {\n cmp = defaultCmp;\n }\n\n pos = array.indexOf(item);\n\n if (pos === -1) {\n return;\n }\n\n _siftdown(array, 0, pos, cmp);\n\n return _siftup(array, pos, cmp);\n };\n /*\n Find the n largest elements in a dataset.\n */\n\n\n nlargest = function nlargest(array, n, cmp) {\n var elem, result, _i, _len, _ref;\n\n if (cmp == null) {\n cmp = defaultCmp;\n }\n\n result = array.slice(0, n);\n\n if (!result.length) {\n return result;\n }\n\n heapify(result, cmp);\n _ref = array.slice(n);\n\n for (_i = 0, _len = _ref.length; _i < _len; _i++) {\n elem = _ref[_i];\n heappushpop(result, elem, cmp);\n }\n\n return result.sort(cmp).reverse();\n };\n /*\n Find the n smallest elements in a dataset.\n */\n\n\n nsmallest = function nsmallest(array, n, cmp) {\n var elem, i, los, result, _i, _j, _len, _ref, _ref1, _results;\n\n if (cmp == null) {\n cmp = defaultCmp;\n }\n\n if (n * 10 <= array.length) {\n result = array.slice(0, n).sort(cmp);\n\n if (!result.length) {\n return result;\n }\n\n los = result[result.length - 1];\n _ref = array.slice(n);\n\n for (_i = 0, _len = _ref.length; _i < _len; _i++) {\n elem = _ref[_i];\n\n if (cmp(elem, los) < 0) {\n insort(result, elem, 0, null, cmp);\n result.pop();\n los = result[result.length - 1];\n }\n }\n\n return result;\n }\n\n heapify(array, cmp);\n _results = [];\n\n for (i = _j = 0, _ref1 = min(n, array.length); 0 <= _ref1 ? _j < _ref1 : _j > _ref1; i = 0 <= _ref1 ? ++_j : --_j) {\n _results.push(heappop(array, cmp));\n }\n\n return _results;\n };\n\n _siftdown = function _siftdown(array, startpos, pos, cmp) {\n var newitem, parent, parentpos;\n\n if (cmp == null) {\n cmp = defaultCmp;\n }\n\n newitem = array[pos];\n\n while (pos > startpos) {\n parentpos = pos - 1 >> 1;\n parent = array[parentpos];\n\n if (cmp(newitem, parent) < 0) {\n array[pos] = parent;\n pos = parentpos;\n continue;\n }\n\n break;\n }\n\n return array[pos] = newitem;\n };\n\n _siftup = function _siftup(array, pos, cmp) {\n var childpos, endpos, newitem, rightpos, startpos;\n\n if (cmp == null) {\n cmp = defaultCmp;\n }\n\n endpos = array.length;\n startpos = pos;\n newitem = array[pos];\n childpos = 2 * pos + 1;\n\n while (childpos < endpos) {\n rightpos = childpos + 1;\n\n if (rightpos < endpos && !(cmp(array[childpos], array[rightpos]) < 0)) {\n childpos = rightpos;\n }\n\n array[pos] = array[childpos];\n pos = childpos;\n childpos = 2 * pos + 1;\n }\n\n array[pos] = newitem;\n return _siftdown(array, startpos, pos, cmp);\n };\n\n Heap = function () {\n Heap.push = heappush;\n Heap.pop = heappop;\n Heap.replace = heapreplace;\n Heap.pushpop = heappushpop;\n Heap.heapify = heapify;\n Heap.updateItem = updateItem;\n Heap.nlargest = nlargest;\n Heap.nsmallest = nsmallest;\n\n function Heap(cmp) {\n this.cmp = cmp != null ? cmp : defaultCmp;\n this.nodes = [];\n }\n\n Heap.prototype.push = function (x) {\n return heappush(this.nodes, x, this.cmp);\n };\n\n Heap.prototype.pop = function () {\n return heappop(this.nodes, this.cmp);\n };\n\n Heap.prototype.peek = function () {\n return this.nodes[0];\n };\n\n Heap.prototype.contains = function (x) {\n return this.nodes.indexOf(x) !== -1;\n };\n\n Heap.prototype.replace = function (x) {\n return heapreplace(this.nodes, x, this.cmp);\n };\n\n Heap.prototype.pushpop = function (x) {\n return heappushpop(this.nodes, x, this.cmp);\n };\n\n Heap.prototype.heapify = function () {\n return heapify(this.nodes, this.cmp);\n };\n\n Heap.prototype.updateItem = function (x) {\n return updateItem(this.nodes, x, this.cmp);\n };\n\n Heap.prototype.clear = function () {\n return this.nodes = [];\n };\n\n Heap.prototype.empty = function () {\n return this.nodes.length === 0;\n };\n\n Heap.prototype.size = function () {\n return this.nodes.length;\n };\n\n Heap.prototype.clone = function () {\n var heap;\n heap = new Heap();\n heap.nodes = this.nodes.slice(0);\n return heap;\n };\n\n Heap.prototype.toArray = function () {\n return this.nodes.slice(0);\n };\n\n Heap.prototype.insert = Heap.prototype.push;\n Heap.prototype.top = Heap.prototype.peek;\n Heap.prototype.front = Heap.prototype.peek;\n Heap.prototype.has = Heap.prototype.contains;\n Heap.prototype.copy = Heap.prototype.clone;\n return Heap;\n }();\n\n if (typeof module !== \"undefined\" && module !== null ? module.exports : void 0) {\n module.exports = Heap;\n } else {\n window.Heap = Heap;\n }\n}).call(this);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar Node = require('./Node');\n\nvar DiagonalMovement = require('./DiagonalMovement');\n/**\r\n * The Grid class, which serves as the encapsulation of the layout of the nodes.\r\n * @constructor\r\n * @param {number|Array<Array<(number|boolean)>>} width_or_matrix Number of columns of the grid, or matrix\r\n * @param {number} height Number of rows of the grid.\r\n * @param {Array<Array<(number|boolean)>>} [matrix] - A 0-1 matrix\r\n * representing the walkable status of the nodes(0 or false for walkable).\r\n * If the matrix is not supplied, all the nodes will be walkable. */\n\n\nfunction Grid(width_or_matrix, height, matrix) {\n var width;\n\n if (_typeof(width_or_matrix) !== 'object') {\n width = width_or_matrix;\n } else {\n height = width_or_matrix.length;\n width = width_or_matrix[0].length;\n matrix = width_or_matrix;\n }\n /**\r\n * The number of columns of the grid.\r\n * @type number\r\n */\n\n\n this.width = width;\n /**\r\n * The number of rows of the grid.\r\n * @type number\r\n */\n\n this.height = height;\n /**\r\n * A 2D array of nodes.\r\n */\n\n this.nodes = this._buildNodes(width, height, matrix);\n}\n/**\r\n * Build and return the nodes.\r\n * @private\r\n * @param {number} width\r\n * @param {number} height\r\n * @param {Array<Array<number|boolean>>} [matrix] - A 0-1 matrix representing\r\n * the walkable status of the nodes.\r\n * @see Grid\r\n */\n\n\nGrid.prototype._buildNodes = function (width, height, matrix) {\n var i,\n j,\n nodes = new Array(height);\n\n for (i = 0; i < height; ++i) {\n nodes[i] = new Array(width);\n\n for (j = 0; j < width; ++j) {\n nodes[i][j] = new Node(j, i);\n }\n }\n\n if (matrix === undefined) {\n return nodes;\n }\n\n if (matrix.length !== height || matrix[0].length !== width) {\n throw new Error('Matrix size does not fit');\n }\n\n for (i = 0; i < height; ++i) {\n for (j = 0; j < width; ++j) {\n if (matrix[i][j]) {\n // 0, false, null will be walkable\n // while others will be un-walkable\n nodes[i][j].walkable = false;\n }\n }\n }\n\n return nodes;\n};\n\nGrid.prototype.getNodeAt = function (x, y) {\n return this.nodes[y][x];\n};\n/**\r\n * Determine whether the node at the given position is walkable.\r\n * (Also returns false if the position is outside the grid.)\r\n * @param {number} x - The x coordinate of the node.\r\n * @param {number} y - The y coordinate of the node.\r\n * @return {boolean} - The walkability of the node.\r\n */\n\n\nGrid.prototype.isWalkableAt = function (x, y) {\n return this.isInside(x, y) && this.nodes[y][x].walkable;\n};\n/**\r\n * Determine whether the position is inside the grid.\r\n * XXX: `grid.isInside(x, y)` is wierd to read.\r\n * It should be `(x, y) is inside grid`, but I failed to find a better\r\n * name for this method.\r\n * @param {number} x\r\n * @param {number} y\r\n * @return {boolean}\r\n */\n\n\nGrid.prototype.isInside = function (x, y) {\n return x >= 0 && x < this.width && y >= 0 && y < this.height;\n};\n/**\r\n * Set whether the node on the given position is walkable.\r\n * NOTE: throws exception if the coordinate is not inside the grid.\r\n * @param {number} x - The x coordinate of the node.\r\n * @param {number} y - The y coordinate of the node.\r\n * @param {boolean} walkable - Whether the position is walkable.\r\n */\n\n\nGrid.prototype.setWalkableAt = function (x, y, walkable) {\n this.nodes[y][x].walkable = walkable;\n};\n/**\r\n * Get the neighbors of the given node.\r\n *\r\n * offsets diagonalOffsets:\r\n * +---+---+---+ +---+---+---+\r\n * | | 0 | | | 0 | | 1 |\r\n * +---+---+---+ +---+---+---+\r\n * | 3 | | 1 | | | | |\r\n * +---+---+---+ +---+---+---+\r\n * | | 2 | | | 3 | | 2 |\r\n * +---+---+---+ +---+---+---+\r\n *\r\n * When allowDiagonal is true, if offsets[i] is valid, then\r\n * diagonalOffsets[i] and\r\n * diagonalOffsets[(i + 1) % 4] is valid.\r\n * @param {Node} node\r\n * @param {DiagonalMovement} diagonalMovement\r\n */\n\n\nGrid.prototype.getNeighbors = function (node, diagonalMovement) {\n var x = node.x,\n y = node.y,\n neighbors = [],\n s0 = false,\n d0 = false,\n s1 = false,\n d1 = false,\n s2 = false,\n d2 = false,\n s3 = false,\n d3 = false,\n nodes = this.nodes; // ↑\n\n if (this.isWalkableAt(x, y - 1)) {\n neighbors.push(nodes[y - 1][x]);\n s0 = true;\n } // →\n\n\n if (this.isWalkableAt(x + 1, y)) {\n neighbors.push(nodes[y][x + 1]);\n s1 = true;\n } // ↓\n\n\n if (this.isWalkableAt(x, y + 1)) {\n neighbors.push(nodes[y + 1][x]);\n s2 = true;\n } // â†\n\n\n if (this.isWalkableAt(x - 1, y)) {\n neighbors.push(nodes[y][x - 1]);\n s3 = true;\n }\n\n if (diagonalMovement === DiagonalMovement.Never) {\n return neighbors;\n }\n\n if (diagonalMovement === DiagonalMovement.OnlyWhenNoObstacles) {\n d0 = s3 && s0;\n d1 = s0 && s1;\n d2 = s1 && s2;\n d3 = s2 && s3;\n } else if (diagonalMovement === DiagonalMovement.IfAtMostOneObstacle) {\n d0 = s3 || s0;\n d1 = s0 || s1;\n d2 = s1 || s2;\n d3 = s2 || s3;\n } else if (diagonalMovement === DiagonalMovement.Always) {\n d0 = true;\n d1 = true;\n d2 = true;\n d3 = true;\n } else {\n throw new Error('Incorrect value of diagonalMovement');\n } // ↖\n\n\n if (d0 && this.isWalkableAt(x - 1, y - 1)) {\n neighbors.push(nodes[y - 1][x - 1]);\n } // ↗\n\n\n if (d1 && this.isWalkableAt(x + 1, y - 1)) {\n neighbors.push(nodes[y - 1][x + 1]);\n } // ↘\n\n\n if (d2 && this.isWalkableAt(x + 1, y + 1)) {\n neighbors.push(nodes[y + 1][x + 1]);\n } // ↙\n\n\n if (d3 && this.isWalkableAt(x - 1, y + 1)) {\n neighbors.push(nodes[y + 1][x - 1]);\n }\n\n return neighbors;\n};\n/**\r\n * Get a clone of this grid.\r\n * @return {Grid} Cloned grid.\r\n */\n\n\nGrid.prototype.clone = function () {\n var i,\n j,\n width = this.width,\n height = this.height,\n thisNodes = this.nodes,\n newGrid = new Grid(width, height),\n newNodes = new Array(height);\n\n for (i = 0; i < height; ++i) {\n newNodes[i] = new Array(width);\n\n for (j = 0; j < width; ++j) {\n newNodes[i][j] = new Node(j, i, thisNodes[i][j].walkable);\n }\n }\n\n newGrid.nodes = newNodes;\n return newGrid;\n};\n\nmodule.exports = Grid;","var AStarFinder = require('./AStarFinder');\n/**\r\n * Best-First-Search path-finder.\r\n * @constructor\r\n * @extends AStarFinder\r\n * @param {Object} opt\r\n * @param {boolean} opt.allowDiagonal Whether diagonal movement is allowed.\r\n * Deprecated, use diagonalMovement instead.\r\n * @param {boolean} opt.dontCrossCorners Disallow diagonal movement touching\r\n * block corners. Deprecated, use diagonalMovement instead.\r\n * @param {DiagonalMovement} opt.diagonalMovement Allowed diagonal movement.\r\n * @param {function} opt.heuristic Heuristic function to estimate the distance\r\n * (defaults to manhattan).\r\n */\n\n\nfunction BestFirstFinder(opt) {\n AStarFinder.call(this, opt);\n var orig = this.heuristic;\n\n this.heuristic = function (dx, dy) {\n return orig(dx, dy) * 1000000;\n };\n}\n\nBestFirstFinder.prototype = new AStarFinder();\nBestFirstFinder.prototype.constructor = BestFirstFinder;\nmodule.exports = BestFirstFinder;","var Util = require('../core/Util');\n\nvar DiagonalMovement = require('../core/DiagonalMovement');\n/**\r\n * Breadth-First-Search path finder.\r\n * @constructor\r\n * @param {Object} opt\r\n * @param {boolean} opt.allowDiagonal Whether diagonal movement is allowed.\r\n * Deprecated, use diagonalMovement instead.\r\n * @param {boolean} opt.dontCrossCorners Disallow diagonal movement touching\r\n * block corners. Deprecated, use diagonalMovement instead.\r\n * @param {DiagonalMovement} opt.diagonalMovement Allowed diagonal movement.\r\n */\n\n\nfunction BreadthFirstFinder(opt) {\n opt = opt || {};\n this.allowDiagonal = opt.allowDiagonal;\n this.dontCrossCorners = opt.dontCrossCorners;\n this.diagonalMovement = opt.diagonalMovement;\n\n if (!this.diagonalMovement) {\n if (!this.allowDiagonal) {\n this.diagonalMovement = DiagonalMovement.Never;\n } else {\n if (this.dontCrossCorners) {\n this.diagonalMovement = DiagonalMovement.OnlyWhenNoObstacles;\n } else {\n this.diagonalMovement = DiagonalMovement.IfAtMostOneObstacle;\n }\n }\n }\n}\n/**\r\n * Find and return the the path.\r\n * @return {Array<Array<number>>} The path, including both start and\r\n * end positions.\r\n */\n\n\nBreadthFirstFinder.prototype.findPath = function (startX, startY, endX, endY, grid) {\n var openList = [],\n diagonalMovement = this.diagonalMovement,\n startNode = grid.getNodeAt(startX, startY),\n endNode = grid.getNodeAt(endX, endY),\n neighbors,\n neighbor,\n node,\n i,\n l; // push the start pos into the queue\n\n openList.push(startNode);\n startNode.opened = true; // while the queue is not empty\n\n while (openList.length) {\n // take the front node from the queue\n node = openList.shift();\n node.closed = true; // reached the end position\n\n if (node === endNode) {\n return Util.backtrace(endNode);\n }\n\n neighbors = grid.getNeighbors(node, diagonalMovement);\n\n for (i = 0, l = neighbors.length; i < l; ++i) {\n neighbor = neighbors[i]; // skip this neighbor if it has been inspected before\n\n if (neighbor.closed || neighbor.opened) {\n continue;\n }\n\n openList.push(neighbor);\n neighbor.opened = true;\n neighbor.parent = node;\n }\n } // fail to find the path\n\n\n return [];\n};\n\nmodule.exports = BreadthFirstFinder;","var AStarFinder = require('./AStarFinder');\n/**\r\n * Dijkstra path-finder.\r\n * @constructor\r\n * @extends AStarFinder\r\n * @param {Object} opt\r\n * @param {boolean} opt.allowDiagonal Whether diagonal movement is allowed.\r\n * Deprecated, use diagonalMovement instead.\r\n * @param {boolean} opt.dontCrossCorners Disallow diagonal movement touching\r\n * block corners. Deprecated, use diagonalMovement instead.\r\n * @param {DiagonalMovement} opt.diagonalMovement Allowed diagonal movement.\r\n */\n\n\nfunction DijkstraFinder(opt) {\n AStarFinder.call(this, opt);\n\n this.heuristic = function (dx, dy) {\n return 0;\n };\n}\n\nDijkstraFinder.prototype = new AStarFinder();\nDijkstraFinder.prototype.constructor = DijkstraFinder;\nmodule.exports = DijkstraFinder;","var BiAStarFinder = require('./BiAStarFinder');\n/**\r\n * Bi-direcitional Best-First-Search path-finder.\r\n * @constructor\r\n * @extends BiAStarFinder\r\n * @param {Object} opt\r\n * @param {boolean} opt.allowDiagonal Whether diagonal movement is allowed.\r\n * Deprecated, use diagonalMovement instead.\r\n * @param {boolean} opt.dontCrossCorners Disallow diagonal movement touching\r\n * block corners. Deprecated, use diagonalMovement instead.\r\n * @param {DiagonalMovement} opt.diagonalMovement Allowed diagonal movement.\r\n * @param {function} opt.heuristic Heuristic function to estimate the distance\r\n * (defaults to manhattan).\r\n */\n\n\nfunction BiBestFirstFinder(opt) {\n BiAStarFinder.call(this, opt);\n var orig = this.heuristic;\n\n this.heuristic = function (dx, dy) {\n return orig(dx, dy) * 1000000;\n };\n}\n\nBiBestFirstFinder.prototype = new BiAStarFinder();\nBiBestFirstFinder.prototype.constructor = BiBestFirstFinder;\nmodule.exports = BiBestFirstFinder;","var Util = require('../core/Util');\n\nvar DiagonalMovement = require('../core/DiagonalMovement');\n/**\r\n * Bi-directional Breadth-First-Search path finder.\r\n * @constructor\r\n * @param {object} opt\r\n * @param {boolean} opt.allowDiagonal Whether diagonal movement is allowed.\r\n * Deprecated, use diagonalMovement instead.\r\n * @param {boolean} opt.dontCrossCorners Disallow diagonal movement touching\r\n * block corners. Deprecated, use diagonalMovement instead.\r\n * @param {DiagonalMovement} opt.diagonalMovement Allowed diagonal movement.\r\n */\n\n\nfunction BiBreadthFirstFinder(opt) {\n opt = opt || {};\n this.allowDiagonal = opt.allowDiagonal;\n this.dontCrossCorners = opt.dontCrossCorners;\n this.diagonalMovement = opt.diagonalMovement;\n\n if (!this.diagonalMovement) {\n if (!this.allowDiagonal) {\n this.diagonalMovement = DiagonalMovement.Never;\n } else {\n if (this.dontCrossCorners) {\n this.diagonalMovement = DiagonalMovement.OnlyWhenNoObstacles;\n } else {\n this.diagonalMovement = DiagonalMovement.IfAtMostOneObstacle;\n }\n }\n }\n}\n/**\r\n * Find and return the the path.\r\n * @return {Array<Array<number>>} The path, including both start and\r\n * end positions.\r\n */\n\n\nBiBreadthFirstFinder.prototype.findPath = function (startX, startY, endX, endY, grid) {\n var startNode = grid.getNodeAt(startX, startY),\n endNode = grid.getNodeAt(endX, endY),\n startOpenList = [],\n endOpenList = [],\n neighbors,\n neighbor,\n node,\n diagonalMovement = this.diagonalMovement,\n BY_START = 0,\n BY_END = 1,\n i,\n l; // push the start and end nodes into the queues\n\n startOpenList.push(startNode);\n startNode.opened = true;\n startNode.by = BY_START;\n endOpenList.push(endNode);\n endNode.opened = true;\n endNode.by = BY_END; // while both the queues are not empty\n\n while (startOpenList.length && endOpenList.length) {\n // expand start open list\n node = startOpenList.shift();\n node.closed = true;\n neighbors = grid.getNeighbors(node, diagonalMovement);\n\n for (i = 0, l = neighbors.length; i < l; ++i) {\n neighbor = neighbors[i];\n\n if (neighbor.closed) {\n continue;\n }\n\n if (neighbor.opened) {\n // if this node has been inspected by the reversed search,\n // then a path is found.\n if (neighbor.by === BY_END) {\n return Util.biBacktrace(node, neighbor);\n }\n\n continue;\n }\n\n startOpenList.push(neighbor);\n neighbor.parent = node;\n neighbor.opened = true;\n neighbor.by = BY_START;\n } // expand end open list\n\n\n node = endOpenList.shift();\n node.closed = true;\n neighbors = grid.getNeighbors(node, diagonalMovement);\n\n for (i = 0, l = neighbors.length; i < l; ++i) {\n neighbor = neighbors[i];\n\n if (neighbor.closed) {\n continue;\n }\n\n if (neighbor.opened) {\n if (neighbor.by === BY_START) {\n return Util.biBacktrace(neighbor, node);\n }\n\n continue;\n }\n\n endOpenList.push(neighbor);\n neighbor.parent = node;\n neighbor.opened = true;\n neighbor.by = BY_END;\n }\n } // fail to find the path\n\n\n return [];\n};\n\nmodule.exports = BiBreadthFirstFinder;","var BiAStarFinder = require('./BiAStarFinder');\n/**\r\n * Bi-directional Dijkstra path-finder.\r\n * @constructor\r\n * @extends BiAStarFinder\r\n * @param {Object} opt\r\n * @param {boolean} opt.allowDiagonal Whether diagonal movement is allowed.\r\n * Deprecated, use diagonalMovement instead.\r\n * @param {boolean} opt.dontCrossCorners Disallow diagonal movement touching\r\n * block corners. Deprecated, use diagonalMovement instead.\r\n * @param {DiagonalMovement} opt.diagonalMovement Allowed diagonal movement.\r\n */\n\n\nfunction BiDijkstraFinder(opt) {\n BiAStarFinder.call(this, opt);\n\n this.heuristic = function (dx, dy) {\n return 0;\n };\n}\n\nBiDijkstraFinder.prototype = new BiAStarFinder();\nBiDijkstraFinder.prototype.constructor = BiDijkstraFinder;\nmodule.exports = BiDijkstraFinder;","var Util = require('../core/Util');\n\nvar Heuristic = require('../core/Heuristic');\n\nvar Node = require('../core/Node');\n\nvar DiagonalMovement = require('../core/DiagonalMovement');\n/**\r\n * Iterative Deeping A Star (IDA*) path-finder.\r\n *\r\n * Recursion based on:\r\n * http://www.apl.jhu.edu/~hall/AI-Programming/IDA-Star.html\r\n *\r\n * Path retracing based on:\r\n * V. Nageshwara Rao, Vipin Kumar and K. Ramesh\r\n * \"A Parallel Implementation of Iterative-Deeping-A*\", January 1987.\r\n * ftp://ftp.cs.utexas.edu/.snapshot/hourly.1/pub/AI-Lab/tech-reports/UT-AI-TR-87-46.pdf\r\n *\r\n * @author Gerard Meier (www.gerardmeier.com)\r\n *\r\n * @constructor\r\n * @param {Object} opt\r\n * @param {boolean} opt.allowDiagonal Whether diagonal movement is allowed.\r\n * Deprecated, use diagonalMovement instead.\r\n * @param {boolean} opt.dontCrossCorners Disallow diagonal movement touching\r\n * block corners. Deprecated, use diagonalMovement instead.\r\n * @param {DiagonalMovement} opt.diagonalMovement Allowed diagonal movement.\r\n * @param {function} opt.heuristic Heuristic function to estimate the distance\r\n * (defaults to manhattan).\r\n * @param {number} opt.weight Weight to apply to the heuristic to allow for\r\n * suboptimal paths, in order to speed up the search.\r\n * @param {boolean} opt.trackRecursion Whether to track recursion for\r\n * statistical purposes.\r\n * @param {number} opt.timeLimit Maximum execution time. Use <= 0 for infinite.\r\n */\n\n\nfunction IDAStarFinder(opt) {\n opt = opt || {};\n this.allowDiagonal = opt.allowDiagonal;\n this.dontCrossCorners = opt.dontCrossCorners;\n this.diagonalMovement = opt.diagonalMovement;\n this.heuristic = opt.heuristic || Heuristic.manhattan;\n this.weight = opt.weight || 1;\n this.trackRecursion = opt.trackRecursion || false;\n this.timeLimit = opt.timeLimit || Infinity; // Default: no time limit.\n\n if (!this.diagonalMovement) {\n if (!this.allowDiagonal) {\n this.diagonalMovement = DiagonalMovement.Never;\n } else {\n if (this.dontCrossCorners) {\n this.diagonalMovement = DiagonalMovement.OnlyWhenNoObstacles;\n } else {\n this.diagonalMovement = DiagonalMovement.IfAtMostOneObstacle;\n }\n }\n } // When diagonal movement is allowed the manhattan heuristic is not\n // admissible, it should be octile instead\n\n\n if (this.diagonalMovement === DiagonalMovement.Never) {\n this.heuristic = opt.heuristic || Heuristic.manhattan;\n } else {\n this.heuristic = opt.heuristic || Heuristic.octile;\n }\n}\n/**\r\n * Find and return the the path. When an empty array is returned, either\r\n * no path is possible, or the maximum execution time is reached.\r\n *\r\n * @return {Array<Array<number>>} The path, including both start and\r\n * end positions.\r\n */\n\n\nIDAStarFinder.prototype.findPath = function (startX, startY, endX, endY, grid) {\n // Used for statistics:\n var nodesVisited = 0; // Execution time limitation:\n\n var startTime = new Date().getTime(); // Heuristic helper:\n\n var h = function (a, b) {\n return this.heuristic(Math.abs(b.x - a.x), Math.abs(b.y - a.y));\n }.bind(this); // Step cost from a to b:\n\n\n var cost = function cost(a, b) {\n return a.x === b.x || a.y === b.y ? 1 : Math.SQRT2;\n };\n /**\r\n * IDA* search implementation.\r\n *\r\n * @param {Node} The node currently expanding from.\r\n * @param {number} Cost to reach the given node.\r\n * @param {number} Maximum search depth (cut-off value).\r\n * @param {Array<Array<number>>} The found route.\r\n * @param {number} Recursion depth.\r\n *\r\n * @return {Object} either a number with the new optimal cut-off depth,\r\n * or a valid node instance, in which case a path was found.\r\n */\n\n\n var search = function (node, g, cutoff, route, depth) {\n nodesVisited++; // Enforce timelimit:\n\n if (this.timeLimit > 0 && new Date().getTime() - startTime > this.timeLimit * 1000) {\n // Enforced as \"path-not-found\".\n return Infinity;\n }\n\n var f = g + h(node, end) * this.weight; // We've searched too deep for this iteration.\n\n if (f > cutoff) {\n return f;\n }\n\n if (node == end) {\n route[depth] = [node.x, node.y];\n return node;\n }\n\n var min, t, k, neighbour;\n var neighbours = grid.getNeighbors(node, this.diagonalMovement); // Sort the neighbours, gives nicer paths. But, this deviates\n // from the original algorithm - so I left it out.\n //neighbours.sort(function(a, b){\n // return h(a, end) - h(b, end);\n //});\n\n /*jshint -W084 */\n //Disable warning: Expected a conditional expression and instead saw an assignment\n\n for (k = 0, min = Infinity; neighbour = neighbours[k]; ++k) {\n /*jshint +W084 */\n //Enable warning: Expected a conditional expression and instead saw an assignment\n if (this.trackRecursion) {\n // Retain a copy for visualisation. Due to recursion, this\n // node may be part of other paths too.\n neighbour.retainCount = neighbour.retainCount + 1 || 1;\n\n if (neighbour.tested !== true) {\n neighbour.tested = true;\n }\n }\n\n t = search(neighbour, g + cost(node, neighbour), cutoff, route, depth + 1);\n\n if (t instanceof Node) {\n route[depth] = [node.x, node.y]; // For a typical A* linked list, this would work:\n // neighbour.parent = node;\n\n return t;\n } // Decrement count, then determine whether it's actually closed.\n\n\n if (this.trackRecursion && --neighbour.retainCount === 0) {\n neighbour.tested = false;\n }\n\n if (t < min) {\n min = t;\n }\n }\n\n return min;\n }.bind(this); // Node instance lookups:\n\n\n var start = grid.getNodeAt(startX, startY);\n var end = grid.getNodeAt(endX, endY); // Initial search depth, given the typical heuristic contraints,\n // there should be no cheaper route possible.\n\n var cutOff = h(start, end);\n var j, route, t; // With an overflow protection.\n\n for (j = 0; true; ++j) {\n route = []; // Search till cut-off depth:\n\n t = search(start, 0, cutOff, route, 0); // Route not possible, or not found in time limit.\n\n if (t === Infinity) {\n return [];\n } // If t is a node, it's also the end node. Route is now\n // populated with a valid path to the end node.\n\n\n if (t instanceof Node) {\n return route;\n } // Try again, this time with a deeper cut-off. The t score\n // is the closest we got to the end node.\n\n\n cutOff = t;\n } // This _should_ never to be reached.\n\n\n return [];\n};\n\nmodule.exports = IDAStarFinder;","/**\r\n * @author aniero / https://github.com/aniero\r\n */\nvar DiagonalMovement = require('../core/DiagonalMovement');\n\nvar JPFNeverMoveDiagonally = require('./JPFNeverMoveDiagonally');\n\nvar JPFAlwaysMoveDiagonally = require('./JPFAlwaysMoveDiagonally');\n\nvar JPFMoveDiagonallyIfNoObstacles = require('./JPFMoveDiagonallyIfNoObstacles');\n\nvar JPFMoveDiagonallyIfAtMostOneObstacle = require('./JPFMoveDiagonallyIfAtMostOneObstacle');\n/**\r\n * Path finder using the Jump Point Search algorithm\r\n * @param {Object} opt\r\n * @param {function} opt.heuristic Heuristic function to estimate the distance\r\n * (defaults to manhattan).\r\n * @param {DiagonalMovement} opt.diagonalMovement Condition under which diagonal\r\n * movement will be allowed.\r\n */\n\n\nfunction JumpPointFinder(opt) {\n opt = opt || {};\n\n if (opt.diagonalMovement === DiagonalMovement.Never) {\n return new JPFNeverMoveDiagonally(opt);\n } else if (opt.diagonalMovement === DiagonalMovement.Always) {\n return new JPFAlwaysMoveDiagonally(opt);\n } else if (opt.diagonalMovement === DiagonalMovement.OnlyWhenNoObstacles) {\n return new JPFMoveDiagonallyIfNoObstacles(opt);\n } else {\n return new JPFMoveDiagonallyIfAtMostOneObstacle(opt);\n }\n}\n\nmodule.exports = JumpPointFinder;","/**\r\n * @author imor / https://github.com/imor\r\n */\nvar JumpPointFinderBase = require('./JumpPointFinderBase');\n\nvar DiagonalMovement = require('../core/DiagonalMovement');\n/**\r\n * Path finder using the Jump Point Search algorithm allowing only horizontal\r\n * or vertical movements.\r\n */\n\n\nfunction JPFNeverMoveDiagonally(opt) {\n JumpPointFinderBase.call(this, opt);\n}\n\nJPFNeverMoveDiagonally.prototype = new JumpPointFinderBase();\nJPFNeverMoveDiagonally.prototype.constructor = JPFNeverMoveDiagonally;\n/**\r\n * Search recursively in the direction (parent -> child), stopping only when a\r\n * jump point is found.\r\n * @protected\r\n * @return {Array<Array<number>>} The x, y coordinate of the jump point\r\n * found, or null if not found\r\n */\n\nJPFNeverMoveDiagonally.prototype._jump = function (x, y, px, py) {\n var grid = this.grid,\n dx = x - px,\n dy = y - py;\n\n if (!grid.isWalkableAt(x, y)) {\n return null;\n }\n\n if (this.trackJumpRecursion === true) {\n grid.getNodeAt(x, y).tested = true;\n }\n\n if (grid.getNodeAt(x, y) === this.endNode) {\n return [x, y];\n }\n\n if (dx !== 0) {\n if (grid.isWalkableAt(x, y - 1) && !grid.isWalkableAt(x - dx, y - 1) || grid.isWalkableAt(x, y + 1) && !grid.isWalkableAt(x - dx, y + 1)) {\n return [x, y];\n }\n } else if (dy !== 0) {\n if (grid.isWalkableAt(x - 1, y) && !grid.isWalkableAt(x - 1, y - dy) || grid.isWalkableAt(x + 1, y) && !grid.isWalkableAt(x + 1, y - dy)) {\n return [x, y];\n } //When moving vertically, must check for horizontal jump points\n\n\n if (this._jump(x + 1, y, x, y) || this._jump(x - 1, y, x, y)) {\n return [x, y];\n }\n } else {\n throw new Error(\"Only horizontal and vertical movements are allowed\");\n }\n\n return this._jump(x + dx, y + dy, x, y);\n};\n/**\r\n * Find the neighbors for the given node. If the node has a parent,\r\n * prune the neighbors based on the jump point search algorithm, otherwise\r\n * return all available neighbors.\r\n * @return {Array<Array<number>>} The neighbors found.\r\n */\n\n\nJPFNeverMoveDiagonally.prototype._findNeighbors = function (node) {\n var parent = node.parent,\n x = node.x,\n y = node.y,\n grid = this.grid,\n px,\n py,\n nx,\n ny,\n dx,\n dy,\n neighbors = [],\n neighborNodes,\n neighborNode,\n i,\n l; // directed pruning: can ignore most neighbors, unless forced.\n\n if (parent) {\n px = parent.x;\n py = parent.y; // get the normalized direction of travel\n\n dx = (x - px) / Math.max(Math.abs(x - px), 1);\n dy = (y - py) / Math.max(Math.abs(y - py), 1);\n\n if (dx !== 0) {\n if (grid.isWalkableAt(x, y - 1)) {\n neighbors.push([x, y - 1]);\n }\n\n if (grid.isWalkableAt(x, y + 1)) {\n neighbors.push([x, y + 1]);\n }\n\n if (grid.isWalkableAt(x + dx, y)) {\n neighbors.push([x + dx, y]);\n }\n } else if (dy !== 0) {\n if (grid.isWalkableAt(x - 1, y)) {\n neighbors.push([x - 1, y]);\n }\n\n if (grid.isWalkableAt(x + 1, y)) {\n neighbors.push([x + 1, y]);\n }\n\n if (grid.isWalkableAt(x, y + dy)) {\n neighbors.push([x, y + dy]);\n }\n }\n } // return all neighbors\n else {\n neighborNodes = grid.getNeighbors(node, DiagonalMovement.Never);\n\n for (i = 0, l = neighborNodes.length; i < l; ++i) {\n neighborNode = neighborNodes[i];\n neighbors.push([neighborNode.x, neighborNode.y]);\n }\n }\n\n return neighbors;\n};\n\nmodule.exports = JPFNeverMoveDiagonally;","/**\r\n * @author imor / https://github.com/imor\r\n */\nvar JumpPointFinderBase = require('./JumpPointFinderBase');\n\nvar DiagonalMovement = require('../core/DiagonalMovement');\n/**\r\n * Path finder using the Jump Point Search algorithm which always moves\r\n * diagonally irrespective of the number of obstacles.\r\n */\n\n\nfunction JPFAlwaysMoveDiagonally(opt) {\n JumpPointFinderBase.call(this, opt);\n}\n\nJPFAlwaysMoveDiagonally.prototype = new JumpPointFinderBase();\nJPFAlwaysMoveDiagonally.prototype.constructor = JPFAlwaysMoveDiagonally;\n/**\r\n * Search recursively in the direction (parent -> child), stopping only when a\r\n * jump point is found.\r\n * @protected\r\n * @return {Array<Array<number>>} The x, y coordinate of the jump point\r\n * found, or null if not found\r\n */\n\nJPFAlwaysMoveDiagonally.prototype._jump = function (x, y, px, py) {\n var grid = this.grid,\n dx = x - px,\n dy = y - py;\n\n if (!grid.isWalkableAt(x, y)) {\n return null;\n }\n\n if (this.trackJumpRecursion === true) {\n grid.getNodeAt(x, y).tested = true;\n }\n\n if (grid.getNodeAt(x, y) === this.endNode) {\n return [x, y];\n } // check for forced neighbors\n // along the diagonal\n\n\n if (dx !== 0 && dy !== 0) {\n if (grid.isWalkableAt(x - dx, y + dy) && !grid.isWalkableAt(x - dx, y) || grid.isWalkableAt(x + dx, y - dy) && !grid.isWalkableAt(x, y - dy)) {\n return [x, y];\n } // when moving diagonally, must check for vertical/horizontal jump points\n\n\n if (this._jump(x + dx, y, x, y) || this._jump(x, y + dy, x, y)) {\n return [x, y];\n }\n } // horizontally/vertically\n else {\n if (dx !== 0) {\n // moving along x\n if (grid.isWalkableAt(x + dx, y + 1) && !grid.isWalkableAt(x, y + 1) || grid.isWalkableAt(x + dx, y - 1) && !grid.isWalkableAt(x, y - 1)) {\n return [x, y];\n }\n } else {\n if (grid.isWalkableAt(x + 1, y + dy) && !grid.isWalkableAt(x + 1, y) || grid.isWalkableAt(x - 1, y + dy) && !grid.isWalkableAt(x - 1, y)) {\n return [x, y];\n }\n }\n }\n\n return this._jump(x + dx, y + dy, x, y);\n};\n/**\r\n * Find the neighbors for the given node. If the node has a parent,\r\n * prune the neighbors based on the jump point search algorithm, otherwise\r\n * return all available neighbors.\r\n * @return {Array<Array<number>>} The neighbors found.\r\n */\n\n\nJPFAlwaysMoveDiagonally.prototype._findNeighbors = function (node) {\n var parent = node.parent,\n x = node.x,\n y = node.y,\n grid = this.grid,\n px,\n py,\n nx,\n ny,\n dx,\n dy,\n neighbors = [],\n neighborNodes,\n neighborNode,\n i,\n l; // directed pruning: can ignore most neighbors, unless forced.\n\n if (parent) {\n px = parent.x;\n py = parent.y; // get the normalized direction of travel\n\n dx = (x - px) / Math.max(Math.abs(x - px), 1);\n dy = (y - py) / Math.max(Math.abs(y - py), 1); // search diagonally\n\n if (dx !== 0 && dy !== 0) {\n if (grid.isWalkableAt(x, y + dy)) {\n neighbors.push([x, y + dy]);\n }\n\n if (grid.isWalkableAt(x + dx, y)) {\n neighbors.push([x + dx, y]);\n }\n\n if (grid.isWalkableAt(x + dx, y + dy)) {\n neighbors.push([x + dx, y + dy]);\n }\n\n if (!grid.isWalkableAt(x - dx, y)) {\n neighbors.push([x - dx, y + dy]);\n }\n\n if (!grid.isWalkableAt(x, y - dy)) {\n neighbors.push([x + dx, y - dy]);\n }\n } // search horizontally/vertically\n else {\n if (dx === 0) {\n if (grid.isWalkableAt(x, y + dy)) {\n neighbors.push([x, y + dy]);\n }\n\n if (!grid.isWalkableAt(x + 1, y)) {\n neighbors.push([x + 1, y + dy]);\n }\n\n if (!grid.isWalkableAt(x - 1, y)) {\n neighbors.push([x - 1, y + dy]);\n }\n } else {\n if (grid.isWalkableAt(x + dx, y)) {\n neighbors.push([x + dx, y]);\n }\n\n if (!grid.isWalkableAt(x, y + 1)) {\n neighbors.push([x + dx, y + 1]);\n }\n\n if (!grid.isWalkableAt(x, y - 1)) {\n neighbors.push([x + dx, y - 1]);\n }\n }\n }\n } // return all neighbors\n else {\n neighborNodes = grid.getNeighbors(node, DiagonalMovement.Always);\n\n for (i = 0, l = neighborNodes.length; i < l; ++i) {\n neighborNode = neighborNodes[i];\n neighbors.push([neighborNode.x, neighborNode.y]);\n }\n }\n\n return neighbors;\n};\n\nmodule.exports = JPFAlwaysMoveDiagonally;","/**\r\n * @author imor / https://github.com/imor\r\n */\nvar JumpPointFinderBase = require('./JumpPointFinderBase');\n\nvar DiagonalMovement = require('../core/DiagonalMovement');\n/**\r\n * Path finder using the Jump Point Search algorithm which moves\r\n * diagonally only when there are no obstacles.\r\n */\n\n\nfunction JPFMoveDiagonallyIfNoObstacles(opt) {\n JumpPointFinderBase.call(this, opt);\n}\n\nJPFMoveDiagonallyIfNoObstacles.prototype = new JumpPointFinderBase();\nJPFMoveDiagonallyIfNoObstacles.prototype.constructor = JPFMoveDiagonallyIfNoObstacles;\n/**\r\n * Search recursively in the direction (parent -> child), stopping only when a\r\n * jump point is found.\r\n * @protected\r\n * @return {Array<Array<number>>} The x, y coordinate of the jump point\r\n * found, or null if not found\r\n */\n\nJPFMoveDiagonallyIfNoObstacles.prototype._jump = function (x, y, px, py) {\n var grid = this.grid,\n dx = x - px,\n dy = y - py;\n\n if (!grid.isWalkableAt(x, y)) {\n return null;\n }\n\n if (this.trackJumpRecursion === true) {\n grid.getNodeAt(x, y).tested = true;\n }\n\n if (grid.getNodeAt(x, y) === this.endNode) {\n return [x, y];\n } // check for forced neighbors\n // along the diagonal\n\n\n if (dx !== 0 && dy !== 0) {\n // if ((grid.isWalkableAt(x - dx, y + dy) && !grid.isWalkableAt(x - dx, y)) ||\n // (grid.isWalkableAt(x + dx, y - dy) && !grid.isWalkableAt(x, y - dy))) {\n // return [x, y];\n // }\n // when moving diagonally, must check for vertical/horizontal jump points\n if (this._jump(x + dx, y, x, y) || this._jump(x, y + dy, x, y)) {\n return [x, y];\n }\n } // horizontally/vertically\n else {\n if (dx !== 0) {\n if (grid.isWalkableAt(x, y - 1) && !grid.isWalkableAt(x - dx, y - 1) || grid.isWalkableAt(x, y + 1) && !grid.isWalkableAt(x - dx, y + 1)) {\n return [x, y];\n }\n } else if (dy !== 0) {\n if (grid.isWalkableAt(x - 1, y) && !grid.isWalkableAt(x - 1, y - dy) || grid.isWalkableAt(x + 1, y) && !grid.isWalkableAt(x + 1, y - dy)) {\n return [x, y];\n } // When moving vertically, must check for horizontal jump points\n // if (this._jump(x + 1, y, x, y) || this._jump(x - 1, y, x, y)) {\n // return [x, y];\n // }\n\n }\n } // moving diagonally, must make sure one of the vertical/horizontal\n // neighbors is open to allow the path\n\n\n if (grid.isWalkableAt(x + dx, y) && grid.isWalkableAt(x, y + dy)) {\n return this._jump(x + dx, y + dy, x, y);\n } else {\n return null;\n }\n};\n/**\r\n * Find the neighbors for the given node. If the node has a parent,\r\n * prune the neighbors based on the jump point search algorithm, otherwise\r\n * return all available neighbors.\r\n * @return {Array<Array<number>>} The neighbors found.\r\n */\n\n\nJPFMoveDiagonallyIfNoObstacles.prototype._findNeighbors = function (node) {\n var parent = node.parent,\n x = node.x,\n y = node.y,\n grid = this.grid,\n px,\n py,\n nx,\n ny,\n dx,\n dy,\n neighbors = [],\n neighborNodes,\n neighborNode,\n i,\n l; // directed pruning: can ignore most neighbors, unless forced.\n\n if (parent) {\n px = parent.x;\n py = parent.y; // get the normalized direction of travel\n\n dx = (x - px) / Math.max(Math.abs(x - px), 1);\n dy = (y - py) / Math.max(Math.abs(y - py), 1); // search diagonally\n\n if (dx !== 0 && dy !== 0) {\n if (grid.isWalkableAt(x, y + dy)) {\n neighbors.push([x, y + dy]);\n }\n\n if (grid.isWalkableAt(x + dx, y)) {\n neighbors.push([x + dx, y]);\n }\n\n if (grid.isWalkableAt(x, y + dy) && grid.isWalkableAt(x + dx, y)) {\n neighbors.push([x + dx, y + dy]);\n }\n } // search horizontally/vertically\n else {\n var isNextWalkable;\n\n if (dx !== 0) {\n isNextWalkable = grid.isWalkableAt(x + dx, y);\n var isTopWalkable = grid.isWalkableAt(x, y + 1);\n var isBottomWalkable = grid.isWalkableAt(x, y - 1);\n\n if (isNextWalkable) {\n neighbors.push([x + dx, y]);\n\n if (isTopWalkable) {\n neighbors.push([x + dx, y + 1]);\n }\n\n if (isBottomWalkable) {\n neighbors.push([x + dx, y - 1]);\n }\n }\n\n if (isTopWalkable) {\n neighbors.push([x, y + 1]);\n }\n\n if (isBottomWalkable) {\n neighbors.push([x, y - 1]);\n }\n } else if (dy !== 0) {\n isNextWalkable = grid.isWalkableAt(x, y + dy);\n var isRightWalkable = grid.isWalkableAt(x + 1, y);\n var isLeftWalkable = grid.isWalkableAt(x - 1, y);\n\n if (isNextWalkable) {\n neighbors.push([x, y + dy]);\n\n if (isRightWalkable) {\n neighbors.push([x + 1, y + dy]);\n }\n\n if (isLeftWalkable) {\n neighbors.push([x - 1, y + dy]);\n }\n }\n\n if (isRightWalkable) {\n neighbors.push([x + 1, y]);\n }\n\n if (isLeftWalkable) {\n neighbors.push([x - 1, y]);\n }\n }\n }\n } // return all neighbors\n else {\n neighborNodes = grid.getNeighbors(node, DiagonalMovement.OnlyWhenNoObstacles);\n\n for (i = 0, l = neighborNodes.length; i < l; ++i) {\n neighborNode = neighborNodes[i];\n neighbors.push([neighborNode.x, neighborNode.y]);\n }\n }\n\n return neighbors;\n};\n\nmodule.exports = JPFMoveDiagonallyIfNoObstacles;","/**\r\n * @author imor / https://github.com/imor\r\n */\nvar JumpPointFinderBase = require('./JumpPointFinderBase');\n\nvar DiagonalMovement = require('../core/DiagonalMovement');\n/**\r\n * Path finder using the Jump Point Search algorithm which moves\r\n * diagonally only when there is at most one obstacle.\r\n */\n\n\nfunction JPFMoveDiagonallyIfAtMostOneObstacle(opt) {\n JumpPointFinderBase.call(this, opt);\n}\n\nJPFMoveDiagonallyIfAtMostOneObstacle.prototype = new JumpPointFinderBase();\nJPFMoveDiagonallyIfAtMostOneObstacle.prototype.constructor = JPFMoveDiagonallyIfAtMostOneObstacle;\n/**\r\n * Search recursively in the direction (parent -> child), stopping only when a\r\n * jump point is found.\r\n * @protected\r\n * @return {Array<Array<number>>} The x, y coordinate of the jump point\r\n * found, or null if not found\r\n */\n\nJPFMoveDiagonallyIfAtMostOneObstacle.prototype._jump = function (x, y, px, py) {\n var grid = this.grid,\n dx = x - px,\n dy = y - py;\n\n if (!grid.isWalkableAt(x, y)) {\n return null;\n }\n\n if (this.trackJumpRecursion === true) {\n grid.getNodeAt(x, y).tested = true;\n }\n\n if (grid.getNodeAt(x, y) === this.endNode) {\n return [x, y];\n } // check for forced neighbors\n // along the diagonal\n\n\n if (dx !== 0 && dy !== 0) {\n if (grid.isWalkableAt(x - dx, y + dy) && !grid.isWalkableAt(x - dx, y) || grid.isWalkableAt(x + dx, y - dy) && !grid.isWalkableAt(x, y - dy)) {\n return [x, y];\n } // when moving diagonally, must check for vertical/horizontal jump points\n\n\n if (this._jump(x + dx, y, x, y) || this._jump(x, y + dy, x, y)) {\n return [x, y];\n }\n } // horizontally/vertically\n else {\n if (dx !== 0) {\n // moving along x\n if (grid.isWalkableAt(x + dx, y + 1) && !grid.isWalkableAt(x, y + 1) || grid.isWalkableAt(x + dx, y - 1) && !grid.isWalkableAt(x, y - 1)) {\n return [x, y];\n }\n } else {\n if (grid.isWalkableAt(x + 1, y + dy) && !grid.isWalkableAt(x + 1, y) || grid.isWalkableAt(x - 1, y + dy) && !grid.isWalkableAt(x - 1, y)) {\n return [x, y];\n }\n }\n } // moving diagonally, must make sure one of the vertical/horizontal\n // neighbors is open to allow the path\n\n\n if (grid.isWalkableAt(x + dx, y) || grid.isWalkableAt(x, y + dy)) {\n return this._jump(x + dx, y + dy, x, y);\n } else {\n return null;\n }\n};\n/**\r\n * Find the neighbors for the given node. If the node has a parent,\r\n * prune the neighbors based on the jump point search algorithm, otherwise\r\n * return all available neighbors.\r\n * @return {Array<Array<number>>} The neighbors found.\r\n */\n\n\nJPFMoveDiagonallyIfAtMostOneObstacle.prototype._findNeighbors = function (node) {\n var parent = node.parent,\n x = node.x,\n y = node.y,\n grid = this.grid,\n px,\n py,\n nx,\n ny,\n dx,\n dy,\n neighbors = [],\n neighborNodes,\n neighborNode,\n i,\n l; // directed pruning: can ignore most neighbors, unless forced.\n\n if (parent) {\n px = parent.x;\n py = parent.y; // get the normalized direction of travel\n\n dx = (x - px) / Math.max(Math.abs(x - px), 1);\n dy = (y - py) / Math.max(Math.abs(y - py), 1); // search diagonally\n\n if (dx !== 0 && dy !== 0) {\n if (grid.isWalkableAt(x, y + dy)) {\n neighbors.push([x, y + dy]);\n }\n\n if (grid.isWalkableAt(x + dx, y)) {\n neighbors.push([x + dx, y]);\n }\n\n if (grid.isWalkableAt(x, y + dy) || grid.isWalkableAt(x + dx, y)) {\n neighbors.push([x + dx, y + dy]);\n }\n\n if (!grid.isWalkableAt(x - dx, y) && grid.isWalkableAt(x, y + dy)) {\n neighbors.push([x - dx, y + dy]);\n }\n\n if (!grid.isWalkableAt(x, y - dy) && grid.isWalkableAt(x + dx, y)) {\n neighbors.push([x + dx, y - dy]);\n }\n } // search horizontally/vertically\n else {\n if (dx === 0) {\n if (grid.isWalkableAt(x, y + dy)) {\n neighbors.push([x, y + dy]);\n\n if (!grid.isWalkableAt(x + 1, y)) {\n neighbors.push([x + 1, y + dy]);\n }\n\n if (!grid.isWalkableAt(x - 1, y)) {\n neighbors.push([x - 1, y + dy]);\n }\n }\n } else {\n if (grid.isWalkableAt(x + dx, y)) {\n neighbors.push([x + dx, y]);\n\n if (!grid.isWalkableAt(x, y + 1)) {\n neighbors.push([x + dx, y + 1]);\n }\n\n if (!grid.isWalkableAt(x, y - 1)) {\n neighbors.push([x + dx, y - 1]);\n }\n }\n }\n }\n } // return all neighbors\n else {\n neighborNodes = grid.getNeighbors(node, DiagonalMovement.IfAtMostOneObstacle);\n\n for (i = 0, l = neighborNodes.length; i < l; ++i) {\n neighborNode = neighborNodes[i];\n neighbors.push([neighborNode.x, neighborNode.y]);\n }\n }\n\n return neighbors;\n};\n\nmodule.exports = JPFMoveDiagonallyIfAtMostOneObstacle;","'use strict';\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nvar _slicedToArray = function () {\n function sliceIterator(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i['return']) _i['return']();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n }\n\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError('Invalid attempt to destructure non-iterable instance');\n }\n };\n}();\n\nvar _geom = require('./geom');\n\nvar Path = function Path(init) {\n var _instructions = init || [];\n\n var push = function push(arr, el) {\n var copy = arr.slice(0, arr.length);\n copy.push(el);\n return copy;\n };\n\n var areEqualPoints = function areEqualPoints(_ref, _ref3) {\n var _ref2 = _slicedToArray(_ref, 2);\n\n var a1 = _ref2[0];\n var b1 = _ref2[1];\n\n var _ref32 = _slicedToArray(_ref3, 2);\n\n var a2 = _ref32[0];\n var b2 = _ref32[1];\n return a1 === a2 && b1 === b2;\n };\n\n var trimZeros = function trimZeros(string, char) {\n var l = string.length;\n\n while (string.charAt(l - 1) === '0') {\n l = l - 1;\n }\n\n if (string.charAt(l - 1) === '.') {\n l = l - 1;\n }\n\n return string.substr(0, l);\n };\n\n var round = function round(number, digits) {\n var str = number.toFixed(digits);\n return trimZeros(str);\n };\n\n var printInstrunction = function printInstrunction(_ref4) {\n var command = _ref4.command;\n var params = _ref4.params;\n var numbers = params.map(function (param) {\n return round(param, 6);\n });\n return command + ' ' + numbers.join(' ');\n };\n\n var point = function point(_ref5, prev) {\n var command = _ref5.command;\n var params = _ref5.params;\n\n switch (command) {\n case 'M':\n return [params[0], params[1]];\n\n case 'L':\n return [params[0], params[1]];\n\n case 'H':\n return [params[0], prev[1]];\n\n case 'V':\n return [prev[0], params[0]];\n\n case 'Z':\n return null;\n\n case 'C':\n return [params[4], params[5]];\n\n case 'S':\n return [params[2], params[3]];\n\n case 'Q':\n return [params[2], params[3]];\n\n case 'T':\n return [params[0], params[1]];\n\n case 'A':\n return [params[5], params[6]];\n }\n };\n\n var transformParams = function transformParams(instruction, matrix, prev) {\n var p = instruction.params;\n var transformer = {\n 'V': function V(instruction, matrix, prev) {\n var pts = [{\n x: prev[0],\n y: p[0]\n }];\n var newPts = (0, _geom.matrixTransform)(pts, matrix);\n\n if (newPts[0].x === (0, _geom.matrixTransform)([{\n x: prev[0],\n y: prev[1]\n }], matrix)[0].x) {\n return {\n command: 'V',\n params: [newPts[0].y]\n };\n } else {\n return {\n command: 'L',\n params: [newPts[0].x, newPts[0].y]\n };\n }\n },\n 'H': function H(instruction, matrix, prev) {\n var pts = [{\n x: p[0],\n y: prev[1]\n }];\n var newPts = (0, _geom.matrixTransform)(pts, matrix);\n\n if (newPts[0].y === (0, _geom.matrixTransform)([{\n x: prev[0],\n y: prev[1]\n }], matrix)[0].y) {\n return {\n command: 'H',\n params: [newPts[0].x]\n };\n } else {\n return {\n command: 'L',\n params: [newPts[0].x, newPts[0].y]\n };\n }\n },\n 'A': function A(instruction, matrix, prev) {\n // transform rx, ry, and x-axis rotation\n var r = (0, _geom.transformEllipse)(p[0], p[1], p[2], matrix);\n var sweepFlag = p[4];\n\n if (matrix[0] * matrix[3] - matrix[1] * matrix[2] < 0) {\n sweepFlag = sweepFlag ? '0' : '1';\n } // transform endpoint\n\n\n var pts = [{\n x: p[5],\n y: p[6]\n }];\n var newPts = (0, _geom.matrixTransform)(pts, matrix);\n\n if (r.isDegenerate) {\n return {\n command: 'L',\n params: [newPts[0].x, newPts[0].y]\n };\n } else {\n return {\n command: 'A',\n params: [r.rx, r.ry, r.ax, p[3], sweepFlag, newPts[0].x, newPts[0].y]\n };\n }\n },\n 'C': function C(instruction, matrix, prev) {\n var pts = [{\n x: p[0],\n y: p[1]\n }, {\n x: p[2],\n y: p[3]\n }, {\n x: p[4],\n y: p[5]\n }];\n var newPts = (0, _geom.matrixTransform)(pts, matrix);\n return {\n command: 'C',\n params: [newPts[0].x, newPts[0].y, newPts[1].x, newPts[1].y, newPts[2].x, newPts[2].y]\n };\n },\n 'Z': function Z(instruction, matrix, prev) {\n return {\n command: 'Z',\n params: []\n };\n },\n 'default': function _default(instruction, matrix, prev) {\n var pts = [{\n x: p[0],\n y: p[1]\n }];\n var newPts = (0, _geom.matrixTransform)(pts, matrix);\n var newParams = instruction.params.slice(0, instruction.params.length);\n newParams.splice(0, 2, newPts[0].x, newPts[0].y);\n return {\n command: instruction.command,\n params: newParams\n };\n }\n };\n\n if (transformer[instruction.command]) {\n return transformer[instruction.command](instruction, matrix, prev);\n } else {\n return transformer['default'](instruction, matrix, prev);\n }\n };\n\n var verbosify = function verbosify(keys, f) {\n return function (a) {\n var args = _typeof(a) === 'object' ? keys.map(function (k) {\n return a[k];\n }) : arguments;\n return f.apply(null, args);\n };\n };\n\n var plus = function plus(instruction) {\n return Path(push(_instructions, instruction));\n };\n\n return {\n moveto: verbosify(['x', 'y'], function (x, y) {\n return plus({\n command: 'M',\n params: [x, y]\n });\n }),\n lineto: verbosify(['x', 'y'], function (x, y) {\n return plus({\n command: 'L',\n params: [x, y]\n });\n }),\n hlineto: verbosify(['x'], function (x) {\n return plus({\n command: 'H',\n params: [x]\n });\n }),\n vlineto: verbosify(['y'], function (y) {\n return plus({\n command: 'V',\n params: [y]\n });\n }),\n closepath: function closepath() {\n return plus({\n command: 'Z',\n params: []\n });\n },\n curveto: verbosify(['x1', 'y1', 'x2', 'y2', 'x', 'y'], function (x1, y1, x2, y2, x, y) {\n return plus({\n command: 'C',\n params: [x1, y1, x2, y2, x, y]\n });\n }),\n smoothcurveto: verbosify(['x2', 'y2', 'x', 'y'], function (x2, y2, x, y) {\n return plus({\n command: 'S',\n params: [x2, y2, x, y]\n });\n }),\n qcurveto: verbosify(['x1', 'y1', 'x', 'y'], function (x1, y1, x, y) {\n return plus({\n command: 'Q',\n params: [x1, y1, x, y]\n });\n }),\n smoothqcurveto: verbosify(['x', 'y'], function (x, y) {\n return plus({\n command: 'T',\n params: [x, y]\n });\n }),\n arc: verbosify(['rx', 'ry', 'xrot', 'largeArcFlag', 'sweepFlag', 'x', 'y'], function (rx, ry, xrot, largeArcFlag, sweepFlag, x, y) {\n return plus({\n command: 'A',\n params: [rx, ry, xrot, largeArcFlag, sweepFlag, x, y]\n });\n }),\n translate: verbosify(['dx', 'dy'], function () {\n var dx = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];\n var dy = arguments.length <= 1 || arguments[1] === undefined ? 0 : arguments[1];\n\n if (dx !== 0 || dy !== 0) {\n var _ret = function () {\n var prev = [0, 0];\n var matrix = [1, 0, 0, 1, dx, dy];\n\n var newInstructions = _instructions.map(function (instruction) {\n var p = transformParams(instruction, matrix, prev);\n prev = point(instruction, prev);\n return p;\n });\n\n return {\n v: Path(newInstructions)\n };\n }();\n\n if (_typeof(_ret) === 'object') return _ret.v;\n } else {\n return Path(_instructions);\n }\n }),\n rotate: verbosify(['angle', 'rx', 'ry'], function (angle) {\n var rx = arguments.length <= 1 || arguments[1] === undefined ? 0 : arguments[1];\n var ry = arguments.length <= 2 || arguments[2] === undefined ? 0 : arguments[2];\n\n if (angle !== 0) {\n var _ret2 = function () {\n var prev = undefined;\n var matrix = undefined;\n var newInstructions = _instructions;\n\n if (rx !== 0 && ry !== 0) {\n prev = [0, 0];\n matrix = [1, 0, 0, 1, -rx, -ry];\n newInstructions = newInstructions.map(function (instruction) {\n var p = transformParams(instruction, matrix, prev);\n prev = point(instruction, prev);\n return p;\n });\n }\n\n var rad = angle * Math.PI / 180;\n var cos = Math.cos(rad);\n var sin = Math.sin(rad);\n prev = [0, 0];\n matrix = [cos, sin, -sin, cos, 0, 0];\n newInstructions = newInstructions.map(function (instruction) {\n var p = transformParams(instruction, matrix, prev);\n prev = point(instruction, prev);\n return p;\n });\n\n if (rx !== 0 && ry !== 0) {\n prev = [0, 0];\n matrix = [1, 0, 0, 1, rx, ry];\n newInstructions = newInstructions.map(function (instruction) {\n var p = transformParams(instruction, matrix, prev);\n prev = point(instruction, prev);\n return p;\n });\n }\n\n return {\n v: Path(newInstructions)\n };\n }();\n\n if (_typeof(_ret2) === 'object') return _ret2.v;\n } else {\n return Path(_instructions);\n }\n }),\n scale: verbosify(['sx', 'sy'], function () {\n var sx = arguments.length <= 0 || arguments[0] === undefined ? 1 : arguments[0];\n var sy = arguments.length <= 1 || arguments[1] === undefined ? sx : arguments[1];\n return function () {\n if (sx !== 1 || sy !== 1) {\n var _ret3 = function () {\n var prev = [0, 0];\n var matrix = [sx, 0, 0, sy, 0, 0];\n\n var newInstructions = _instructions.map(function (instruction) {\n var p = transformParams(instruction, matrix, prev);\n prev = point(instruction, prev);\n return p;\n });\n\n return {\n v: Path(newInstructions)\n };\n }();\n\n if (_typeof(_ret3) === 'object') return _ret3.v;\n } else {\n return Path(_instructions);\n }\n }();\n }),\n shearX: verbosify(['angle'], function () {\n var angle = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];\n\n if (angle !== 0) {\n var _ret4 = function () {\n var prev = [0, 0];\n var matrix = [1, 0, Math.tan(angle * Math.PI / 180), 1, 0, 0];\n\n var newInstructions = _instructions.map(function (instruction) {\n var p = transformParams(instruction, matrix, prev);\n prev = point(instruction, prev);\n return p;\n });\n\n return {\n v: Path(newInstructions)\n };\n }();\n\n if (_typeof(_ret4) === 'object') return _ret4.v;\n } else {\n return Path(_instructions);\n }\n }),\n shearY: verbosify(['angle'], function () {\n var angle = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];\n\n if (angle !== 0) {\n var _ret5 = function () {\n var prev = [0, 0];\n var matrix = [1, Math.tan(angle * Math.PI / 180), 0, 1, 0, 0];\n\n var newInstructions = _instructions.map(function (instruction) {\n var p = transformParams(instruction, matrix, prev);\n prev = point(instruction, prev);\n return p;\n });\n\n return {\n v: Path(newInstructions)\n };\n }();\n\n if (_typeof(_ret5) === 'object') return _ret5.v;\n } else {\n return Path(_instructions);\n }\n }),\n print: function print() {\n return _instructions.map(printInstrunction).join(' ');\n },\n toString: function toString() {\n return undefined.print();\n },\n points: function points() {\n var ps = [];\n var prev = [0, 0];\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = _instructions[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var instruction = _step.value;\n var p = point(instruction, prev);\n prev = p;\n\n if (p) {\n ps.push(p);\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator['return']) {\n _iterator['return']();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return ps;\n },\n instructions: function instructions() {\n return _instructions.slice(0, _instructions.length);\n },\n connect: function connect(path) {\n var ps = this.points();\n var last = ps[ps.length - 1];\n var first = path.points()[0];\n var newInstructions = undefined;\n\n if (_instructions[_instructions.length - 1].command !== 'Z') {\n newInstructions = path.instructions().slice(1);\n\n if (!areEqualPoints(last, first)) {\n newInstructions.unshift({\n command: \"L\",\n params: first\n });\n }\n } else {\n newInstructions = path.instructions();\n }\n\n return Path(this.instructions().concat(newInstructions));\n }\n };\n};\n\nexports['default'] = function () {\n return Path();\n};\n\nmodule.exports = exports['default'];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () {\n function sliceIterator(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"]) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n }\n\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }\n };\n}();\n\nvar sq = function sq(x) {\n return x * x;\n};\n\nvar distPointToPoint = function distPointToPoint(_ref, _ref3) {\n var _ref2 = _slicedToArray(_ref, 2);\n\n var ax = _ref2[0];\n var ay = _ref2[1];\n\n var _ref32 = _slicedToArray(_ref3, 2);\n\n var bx = _ref32[0];\n var by = _ref32[1];\n return Math.sqrt(sq(ax - bx) + sq(ay - by));\n};\n\nvar distPointToParabol = function distPointToParabol(a, f) {\n var p = distPointToPoint(a, f);\n return p == 0 ? Infinity : sq(p) / (2 * Math.abs(a[1] - f[1]));\n};\n\nvar circumCenter = function circumCenter(a, b, c) {\n var d = (a[0] - c[0]) * (b[1] - c[1]) - (b[0] - c[0]) * (a[1] - c[1]);\n if (d == 0) return [Infinity, Infinity];\n var xc = (((a[0] - c[0]) * (a[0] + c[0]) + (a[1] - c[1]) * (a[1] + c[1])) / 2 * (b[1] - c[1]) - ((b[0] - c[0]) * (b[0] + c[0]) + (b[1] - c[1]) * (b[1] + c[1])) / 2 * (a[1] - c[1])) / d;\n var yc = (((b[0] - c[0]) * (b[0] + c[0]) + (b[1] - c[1]) * (b[1] + c[1])) / 2 * (a[0] - c[0]) - ((a[0] - c[0]) * (a[0] + c[0]) + (a[1] - c[1]) * (a[1] + c[1])) / 2 * (b[0] - c[0])) / d;\n return [xc, yc];\n};\n\nvar parabolsCrossX = function parabolsCrossX(fa, fb, q) {\n if (fa[1] === fb[1]) return [(fa[0] + fb[0]) / 2, (fa[0] + fb[0]) / 2];\n var s1 = (fa[1] * fb[0] - fa[0] * fb[1] + fa[0] * q - fb[0] * q + Math.sqrt((fa[0] * fa[0] + fa[1] * fa[1] - 2 * fa[0] * fb[0] + fb[0] * fb[0] - 2 * fa[1] * fb[1] + fb[1] * fb[1]) * (fa[1] * fb[1] - fa[1] * q - fb[1] * q + q * q))) / (fa[1] - fb[1]);\n var s2 = (fa[1] * fb[0] - fa[0] * fb[1] + fa[0] * q - fb[0] * q - Math.sqrt((fa[0] * fa[0] + fa[1] * fa[1] - 2 * fa[0] * fb[0] + fb[0] * fb[0] - 2 * fa[1] * fb[1] + fb[1] * fb[1]) * (fa[1] * fb[1] - fa[1] * q - fb[1] * q + q * q))) / (fa[1] - fb[1]);\n return s1 < s2 ? [s1, s2] : [s2, s1];\n};\n\nvar doHalflinesCross = function doHalflinesCross(sa, sb) {\n var approx = arguments.length <= 2 || arguments[2] === undefined ? 1e-10 : arguments[2]; //sa, sb are Segment instance\n\n var dx = sb.ps[0] - sa.ps[0];\n var dy = sb.ps[1] - sa.ps[1];\n if (sa.m == Infinity) return sa.hp * (sb.m * dx - dy) <= approx && sb.vec[0] * dx <= approx;\n if (sb.m == Infinity) return sb.hp * (sa.m * dx - dy) >= -approx && sa.vec[0] * dx >= -approx;\n var det = sb.vec[0] * sa.vec[1] - sb.vec[1] * sa.vec[0];\n if (det === 0) return false;\n var u = (dy * sb.vec[0] - dx * sb.vec[1]) / det;\n var v = (dy * sa.vec[0] - dx * sa.vec[1]) / det;\n return u >= -approx && v >= approx || u >= approx && v >= -approx;\n};\n\nvar matrixTransform = function matrixTransform(points, matrix) {\n return points.map(function (point) {\n return {\n x: point.x * matrix[0] + point.y * matrix[2] + matrix[4],\n y: point.x * matrix[1] + point.y * matrix[3] + matrix[5]\n };\n });\n};\n\nvar transformEllipse = function transformEllipse(rx, ry, ax, m) {\n var torad = Math.PI / 180;\n var epsilon = 0.0000000001;\n var c = Math.cos(ax * torad),\n s = Math.sin(ax * torad);\n var ma = [rx * (m[0] * c + m[2] * s), rx * (m[1] * c + m[3] * s), ry * (-m[0] * s + m[2] * c), ry * (-m[1] * s + m[3] * c)];\n var J = ma[0] * ma[0] + ma[2] * ma[2],\n K = ma[1] * ma[1] + ma[3] * ma[3];\n var D = ((ma[0] - ma[3]) * (ma[0] - ma[3]) + (ma[2] + ma[1]) * (ma[2] + ma[1])) * ((ma[0] + ma[3]) * (ma[0] + ma[3]) + (ma[2] - ma[1]) * (ma[2] - ma[1]));\n var JK = (J + K) / 2;\n\n if (D < epsilon * JK) {\n return {\n rx: Math.sqrt(JK),\n ry: Math.sqrt(JK),\n ax: 0,\n isDegenerate: false\n };\n }\n\n var L = ma[0] * ma[1] + ma[2] * ma[3];\n D = Math.sqrt(D);\n var l1 = JK + D / 2,\n l2 = JK - D / 2;\n var newAx = undefined,\n newRx = undefined,\n newRy = undefined;\n newAx = Math.abs(L) < epsilon && Math.abs(l1 - K) < epsilon ? 90 : Math.atan(Math.abs(L) > Math.abs(l1 - K) ? (l1 - J) / L : L / (l1 - K)) * 180 / Math.PI;\n\n if (newAx >= 0) {\n newRx = Math.sqrt(l1);\n newRy = Math.sqrt(l2);\n } else {\n newAx += 90;\n newRx = Math.sqrt(l2);\n newRy = Math.sqrt(l1);\n }\n\n return {\n rx: newRx,\n ry: newRy,\n ax: newAx,\n isDegenerate: newRx < epsilon * newRy || newRy < epsilon * newRx\n };\n};\n\nexports[\"default\"] = {\n distPointToPoint: distPointToPoint,\n distPointToParabol: distPointToParabol,\n circumCenter: circumCenter,\n parabolsCrossX: parabolsCrossX,\n doHalflinesCross: doHalflinesCross,\n matrixTransform: matrixTransform,\n transformEllipse: transformEllipse\n};\nmodule.exports = exports[\"default\"];","var map = {\n\t\"./af\": 67,\n\t\"./af.js\": 67,\n\t\"./ar\": 68,\n\t\"./ar-dz\": 69,\n\t\"./ar-dz.js\": 69,\n\t\"./ar-kw\": 70,\n\t\"./ar-kw.js\": 70,\n\t\"./ar-ly\": 71,\n\t\"./ar-ly.js\": 71,\n\t\"./ar-ma\": 72,\n\t\"./ar-ma.js\": 72,\n\t\"./ar-sa\": 73,\n\t\"./ar-sa.js\": 73,\n\t\"./ar-tn\": 74,\n\t\"./ar-tn.js\": 74,\n\t\"./ar.js\": 68,\n\t\"./az\": 75,\n\t\"./az.js\": 75,\n\t\"./be\": 76,\n\t\"./be.js\": 76,\n\t\"./bg\": 77,\n\t\"./bg.js\": 77,\n\t\"./bm\": 78,\n\t\"./bm.js\": 78,\n\t\"./bn\": 79,\n\t\"./bn.js\": 79,\n\t\"./bo\": 80,\n\t\"./bo.js\": 80,\n\t\"./br\": 81,\n\t\"./br.js\": 81,\n\t\"./bs\": 82,\n\t\"./bs.js\": 82,\n\t\"./ca\": 83,\n\t\"./ca.js\": 83,\n\t\"./cs\": 84,\n\t\"./cs.js\": 84,\n\t\"./cv\": 85,\n\t\"./cv.js\": 85,\n\t\"./cy\": 86,\n\t\"./cy.js\": 86,\n\t\"./da\": 87,\n\t\"./da.js\": 87,\n\t\"./de\": 88,\n\t\"./de-at\": 89,\n\t\"./de-at.js\": 89,\n\t\"./de-ch\": 90,\n\t\"./de-ch.js\": 90,\n\t\"./de.js\": 88,\n\t\"./dv\": 91,\n\t\"./dv.js\": 91,\n\t\"./el\": 92,\n\t\"./el.js\": 92,\n\t\"./en-SG\": 93,\n\t\"./en-SG.js\": 93,\n\t\"./en-au\": 94,\n\t\"./en-au.js\": 94,\n\t\"./en-ca\": 95,\n\t\"./en-ca.js\": 95,\n\t\"./en-gb\": 96,\n\t\"./en-gb.js\": 96,\n\t\"./en-ie\": 97,\n\t\"./en-ie.js\": 97,\n\t\"./en-il\": 98,\n\t\"./en-il.js\": 98,\n\t\"./en-nz\": 99,\n\t\"./en-nz.js\": 99,\n\t\"./eo\": 100,\n\t\"./eo.js\": 100,\n\t\"./es\": 101,\n\t\"./es-do\": 102,\n\t\"./es-do.js\": 102,\n\t\"./es-us\": 103,\n\t\"./es-us.js\": 103,\n\t\"./es.js\": 101,\n\t\"./et\": 104,\n\t\"./et.js\": 104,\n\t\"./eu\": 105,\n\t\"./eu.js\": 105,\n\t\"./fa\": 106,\n\t\"./fa.js\": 106,\n\t\"./fi\": 107,\n\t\"./fi.js\": 107,\n\t\"./fo\": 108,\n\t\"./fo.js\": 108,\n\t\"./fr\": 109,\n\t\"./fr-ca\": 110,\n\t\"./fr-ca.js\": 110,\n\t\"./fr-ch\": 111,\n\t\"./fr-ch.js\": 111,\n\t\"./fr.js\": 109,\n\t\"./fy\": 112,\n\t\"./fy.js\": 112,\n\t\"./ga\": 113,\n\t\"./ga.js\": 113,\n\t\"./gd\": 114,\n\t\"./gd.js\": 114,\n\t\"./gl\": 115,\n\t\"./gl.js\": 115,\n\t\"./gom-latn\": 116,\n\t\"./gom-latn.js\": 116,\n\t\"./gu\": 117,\n\t\"./gu.js\": 117,\n\t\"./he\": 118,\n\t\"./he.js\": 118,\n\t\"./hi\": 119,\n\t\"./hi.js\": 119,\n\t\"./hr\": 120,\n\t\"./hr.js\": 120,\n\t\"./hu\": 121,\n\t\"./hu.js\": 121,\n\t\"./hy-am\": 122,\n\t\"./hy-am.js\": 122,\n\t\"./id\": 123,\n\t\"./id.js\": 123,\n\t\"./is\": 124,\n\t\"./is.js\": 124,\n\t\"./it\": 125,\n\t\"./it-ch\": 126,\n\t\"./it-ch.js\": 126,\n\t\"./it.js\": 125,\n\t\"./ja\": 127,\n\t\"./ja.js\": 127,\n\t\"./jv\": 128,\n\t\"./jv.js\": 128,\n\t\"./ka\": 129,\n\t\"./ka.js\": 129,\n\t\"./kk\": 130,\n\t\"./kk.js\": 130,\n\t\"./km\": 131,\n\t\"./km.js\": 131,\n\t\"./kn\": 132,\n\t\"./kn.js\": 132,\n\t\"./ko\": 133,\n\t\"./ko.js\": 133,\n\t\"./ku\": 134,\n\t\"./ku.js\": 134,\n\t\"./ky\": 135,\n\t\"./ky.js\": 135,\n\t\"./lb\": 136,\n\t\"./lb.js\": 136,\n\t\"./lo\": 137,\n\t\"./lo.js\": 137,\n\t\"./lt\": 138,\n\t\"./lt.js\": 138,\n\t\"./lv\": 139,\n\t\"./lv.js\": 139,\n\t\"./me\": 140,\n\t\"./me.js\": 140,\n\t\"./mi\": 141,\n\t\"./mi.js\": 141,\n\t\"./mk\": 142,\n\t\"./mk.js\": 142,\n\t\"./ml\": 143,\n\t\"./ml.js\": 143,\n\t\"./mn\": 144,\n\t\"./mn.js\": 144,\n\t\"./mr\": 145,\n\t\"./mr.js\": 145,\n\t\"./ms\": 146,\n\t\"./ms-my\": 147,\n\t\"./ms-my.js\": 147,\n\t\"./ms.js\": 146,\n\t\"./mt\": 148,\n\t\"./mt.js\": 148,\n\t\"./my\": 149,\n\t\"./my.js\": 149,\n\t\"./nb\": 150,\n\t\"./nb.js\": 150,\n\t\"./ne\": 151,\n\t\"./ne.js\": 151,\n\t\"./nl\": 152,\n\t\"./nl-be\": 153,\n\t\"./nl-be.js\": 153,\n\t\"./nl.js\": 152,\n\t\"./nn\": 154,\n\t\"./nn.js\": 154,\n\t\"./pa-in\": 155,\n\t\"./pa-in.js\": 155,\n\t\"./pl\": 156,\n\t\"./pl.js\": 156,\n\t\"./pt\": 157,\n\t\"./pt-br\": 158,\n\t\"./pt-br.js\": 158,\n\t\"./pt.js\": 157,\n\t\"./ro\": 159,\n\t\"./ro.js\": 159,\n\t\"./ru\": 160,\n\t\"./ru.js\": 160,\n\t\"./sd\": 161,\n\t\"./sd.js\": 161,\n\t\"./se\": 162,\n\t\"./se.js\": 162,\n\t\"./si\": 163,\n\t\"./si.js\": 163,\n\t\"./sk\": 164,\n\t\"./sk.js\": 164,\n\t\"./sl\": 165,\n\t\"./sl.js\": 165,\n\t\"./sq\": 166,\n\t\"./sq.js\": 166,\n\t\"./sr\": 167,\n\t\"./sr-cyrl\": 168,\n\t\"./sr-cyrl.js\": 168,\n\t\"./sr.js\": 167,\n\t\"./ss\": 169,\n\t\"./ss.js\": 169,\n\t\"./sv\": 170,\n\t\"./sv.js\": 170,\n\t\"./sw\": 171,\n\t\"./sw.js\": 171,\n\t\"./ta\": 172,\n\t\"./ta.js\": 172,\n\t\"./te\": 173,\n\t\"./te.js\": 173,\n\t\"./tet\": 174,\n\t\"./tet.js\": 174,\n\t\"./tg\": 175,\n\t\"./tg.js\": 175,\n\t\"./th\": 176,\n\t\"./th.js\": 176,\n\t\"./tl-ph\": 177,\n\t\"./tl-ph.js\": 177,\n\t\"./tlh\": 178,\n\t\"./tlh.js\": 178,\n\t\"./tr\": 179,\n\t\"./tr.js\": 179,\n\t\"./tzl\": 180,\n\t\"./tzl.js\": 180,\n\t\"./tzm\": 181,\n\t\"./tzm-latn\": 182,\n\t\"./tzm-latn.js\": 182,\n\t\"./tzm.js\": 181,\n\t\"./ug-cn\": 183,\n\t\"./ug-cn.js\": 183,\n\t\"./uk\": 184,\n\t\"./uk.js\": 184,\n\t\"./ur\": 185,\n\t\"./ur.js\": 185,\n\t\"./uz\": 186,\n\t\"./uz-latn\": 187,\n\t\"./uz-latn.js\": 187,\n\t\"./uz.js\": 186,\n\t\"./vi\": 188,\n\t\"./vi.js\": 188,\n\t\"./x-pseudo\": 189,\n\t\"./x-pseudo.js\": 189,\n\t\"./yo\": 190,\n\t\"./yo.js\": 190,\n\t\"./zh-cn\": 191,\n\t\"./zh-cn.js\": 191,\n\t\"./zh-hk\": 192,\n\t\"./zh-hk.js\": 192,\n\t\"./zh-tw\": 193,\n\t\"./zh-tw.js\": 193\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 297;","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n/** Used to compose bitmasks for value comparisons. */\n\n\nvar COMPARE_PARTIAL_FLAG = 1;\n/** `Object#toString` result references. */\n\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n/** Used for built-in method references. */\n\nvar objectProto = Object.prototype;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n\n objIsArr = true;\n objIsObj = false;\n }\n\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack());\n return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n stack || (stack = new Stack());\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n\n if (!isSameTag) {\n return false;\n }\n\n stack || (stack = new Stack());\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;","var assocIndexOf = require('./_assocIndexOf');\n/** Used for built-in method references. */\n\n\nvar arrayProto = Array.prototype;\n/** Built-in value references. */\n\nvar splice = arrayProto.splice;\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n\n var lastIndex = data.length - 1;\n\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;","var assocIndexOf = require('./_assocIndexOf');\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n\n\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;","var assocIndexOf = require('./_assocIndexOf');\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\n\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;","var assocIndexOf = require('./_assocIndexOf');\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n\n\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n\n return this;\n}\n\nmodule.exports = listCacheSet;","var ListCache = require('./_ListCache');\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n\n\nfunction stackClear() {\n this.__data__ = new ListCache();\n this.size = 0;\n}\n\nmodule.exports = stackClear;","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n/** Used as the size to enable large array optimizations. */\n\n\nvar LARGE_ARRAY_SIZE = 200;\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n\nfunction stackSet(key, value) {\n var data = this.__data__;\n\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n\n if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n\n data = this.__data__ = new MapCache(pairs);\n }\n\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n\n\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n/** Used to detect host constructors (Safari). */\n\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n/** Used for built-in method references. */\n\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n/** Used to resolve the decompiled source of functions. */\n\nvar funcToString = funcProto.toString;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/** Used to detect if a method is native. */\n\nvar reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&').replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;","var _Symbol = require('./_Symbol');\n/** Used for built-in method references. */\n\n\nvar objectProto = Object.prototype;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n\nvar nativeObjectToString = objectProto.toString;\n/** Built-in value references. */\n\nvar symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n\n return result;\n}\n\nmodule.exports = getRawTag;","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n\nvar nativeObjectToString = objectProto.toString;\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;","var coreJsData = require('./_coreJsData');\n/** Used to detect methods masquerading as native. */\n\n\nvar maskSrcKey = function () {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? 'Symbol(src)_1.' + uid : '';\n}();\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n\n\nfunction isMasked(func) {\n return !!maskSrcKey && maskSrcKey in func;\n}\n\nmodule.exports = isMasked;","var root = require('./_root');\n/** Used to detect overreaching core-js shims. */\n\n\nvar coreJsData = root['__core-js_shared__'];\nmodule.exports = coreJsData;","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n\n\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash(),\n 'map': new (Map || ListCache)(),\n 'string': new Hash()\n };\n}\n\nmodule.exports = mapCacheClear;","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n\n\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n this.clear();\n\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n} // Add methods to `Hash`.\n\n\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\nmodule.exports = Hash;","var nativeCreate = require('./_nativeCreate');\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n\n\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;","var nativeCreate = require('./_nativeCreate');\n/** Used to stand-in for `undefined` hash values. */\n\n\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n/** Used for built-in method references. */\n\nvar objectProto = Object.prototype;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n\nfunction hashGet(key) {\n var data = this.__data__;\n\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;","var nativeCreate = require('./_nativeCreate');\n/** Used for built-in method references. */\n\n\nvar objectProto = Object.prototype;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;","var nativeCreate = require('./_nativeCreate');\n/** Used to stand-in for `undefined` hash values. */\n\n\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = nativeCreate && value === undefined ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;","var getMapData = require('./_getMapData');\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n\n\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = _typeof(value);\n\n return type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean' ? value !== '__proto__' : value === null;\n}\n\nmodule.exports = isKeyable;","var getMapData = require('./_getMapData');\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n\n\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;","var getMapData = require('./_getMapData');\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n\n\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;","var getMapData = require('./_getMapData');\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n\n\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n\n\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n this.__data__ = new MapCache();\n\n while (++index < length) {\n this.add(values[index]);\n }\n} // Add methods to `SetCache`.\n\n\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\nmodule.exports = SetCache;","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n\n return this;\n}\n\nmodule.exports = setCacheAdd;","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n\n return false;\n}\n\nmodule.exports = arraySome;","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;","var _Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n/** Used to compose bitmasks for value comparisons. */\n\n\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n/** `Object#toString` result references. */\n\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n/** Used to convert symbols to primitives and strings. */\n\nvar symbolProto = _Symbol ? _Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {\n return false;\n }\n\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == other + '';\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n } // Assume cyclic values are equal.\n\n\n var stacked = stack.get(object);\n\n if (stacked) {\n return stacked == other;\n }\n\n bitmask |= COMPARE_UNORDERED_FLAG; // Recursively compare objects (susceptible to call stack limits).\n\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n\n }\n\n return false;\n}\n\nmodule.exports = equalByTag;","var root = require('./_root');\n/** Built-in value references. */\n\n\nvar Uint8Array = root.Uint8Array;\nmodule.exports = Uint8Array;","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n map.forEach(function (value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n set.forEach(function (value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;","var getAllKeys = require('./_getAllKeys');\n/** Used to compose bitmasks for value comparisons. */\n\n\nvar COMPARE_PARTIAL_FLAG = 1;\n/** Used for built-in method references. */\n\nvar objectProto = Object.prototype;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n\n var index = objLength;\n\n while (index--) {\n var key = objProps[index];\n\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n } // Assume cyclic values are equal.\n\n\n var stacked = stack.get(object);\n\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n var skipCtor = isPartial;\n\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);\n } // Recursively compare objects (susceptible to call stack limits).\n\n\n if (!(compared === undefined ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {\n result = false;\n break;\n }\n\n skipCtor || (skipCtor = key == 'constructor');\n }\n\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor; // Non `Object` object instances with different constructors are not equal.\n\n if (objCtor != othCtor && 'constructor' in object && 'constructor' in other && !(typeof objCtor == 'function' && objCtor instanceof objCtor && typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n\n\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n\n\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n\n return array;\n}\n\nmodule.exports = arrayPush;","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n/** Used for built-in method references. */\n\n\nvar objectProto = Object.prototype;\n/** Built-in value references. */\n\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n/* Built-in method references for those with the same name as other `lodash` methods. */\n\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n\nvar getSymbols = !nativeGetSymbols ? stubArray : function (object) {\n if (object == null) {\n return [];\n }\n\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function (symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\nmodule.exports = getSymbols;","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n\n return result;\n}\n\nmodule.exports = arrayFilter;","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n/** Used for built-in method references. */\n\n\nvar objectProto = Object.prototype;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && ( // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' || // Node.js 0.10 has enumerable non-index properties on buffers.\n isBuff && (key == 'offset' || key == 'parent') || // PhantomJS 2 has enumerable non-index properties on typed arrays.\n isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset') || // Skip index properties.\n isIndex(key, length)))) {\n result.push(key);\n }\n }\n\n return result;\n}\n\nmodule.exports = arrayLikeKeys;","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n\n return result;\n}\n\nmodule.exports = baseTimes;","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n/** `Object#toString` result references. */\n\n\nvar argsTag = '[object Arguments]';\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n/** `Object#toString` result references. */\n\n\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n/** Used to identify `toStringTag` values of typed arrays. */\n\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function (value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar freeGlobal = require('./_freeGlobal');\n/** Detect free variable `exports`. */\n\n\nvar freeExports = (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) == 'object' && exports && !exports.nodeType && exports;\n/** Detect free variable `module`. */\n\nvar freeModule = freeExports && (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) == 'object' && module && !module.nodeType && module;\n/** Detect the popular CommonJS extension `module.exports`. */\n\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n/** Detect free variable `process` from Node.js. */\n\nvar freeProcess = moduleExports && freeGlobal.process;\n/** Used to access faster Node.js helpers. */\n\nvar nodeUtil = function () {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n } // Legacy `process.binding('util')` for Node.js < 10.\n\n\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}();\n\nmodule.exports = nodeUtil;","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n/** Used for built-in method references. */\n\n\nvar objectProto = Object.prototype;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n\n var result = [];\n\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n\n return result;\n}\n\nmodule.exports = baseKeys;","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = typeof Ctor == 'function' && Ctor.prototype || objectProto;\n return value === proto;\n}\n\nmodule.exports = isPrototype;","var overArg = require('./_overArg');\n/* Built-in method references for those with the same name as other `lodash` methods. */\n\n\nvar nativeKeys = overArg(Object.keys, Object);\nmodule.exports = nativeKeys;","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function (arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n/** `Object#toString` result references. */\n\n\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\nvar dataViewTag = '[object DataView]';\n/** Used to detect maps, sets, and weakmaps. */\n\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n\nvar getTag = baseGetTag; // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n\nif (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise && getTag(Promise.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {\n getTag = function getTag(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString:\n return dataViewTag;\n\n case mapCtorString:\n return mapTag;\n\n case promiseCtorString:\n return promiseTag;\n\n case setCtorString:\n return setTag;\n\n case weakMapCtorString:\n return weakMapTag;\n }\n }\n\n return result;\n };\n}\n\nmodule.exports = getTag;","var getNative = require('./_getNative'),\n root = require('./_root');\n/* Built-in method references that are verified to be native. */\n\n\nvar DataView = getNative(root, 'DataView');\nmodule.exports = DataView;","var getNative = require('./_getNative'),\n root = require('./_root');\n/* Built-in method references that are verified to be native. */\n\n\nvar Promise = getNative(root, 'Promise');\nmodule.exports = Promise;","var getNative = require('./_getNative'),\n root = require('./_root');\n/* Built-in method references that are verified to be native. */\n\n\nvar Set = getNative(root, 'Set');\nmodule.exports = Set;","var getNative = require('./_getNative'),\n root = require('./_root');\n/* Built-in method references that are verified to be native. */\n\n\nvar WeakMap = getNative(root, 'WeakMap');\nmodule.exports = WeakMap;","var defineProperty = require('./_defineProperty');\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n\n\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;","var getNative = require('./_getNative');\n\nvar defineProperty = function () {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}();\n\nmodule.exports = defineProperty;","var arrayAggregator = require('./_arrayAggregator'),\n baseAggregator = require('./_baseAggregator'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n/**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n\n\nfunction createAggregator(setter, initializer) {\n return function (collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n return func(collection, setter, baseIteratee(iteratee, 2), accumulator);\n };\n}\n\nmodule.exports = createAggregator;","/**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\nfunction arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n\n return accumulator;\n}\n\nmodule.exports = arrayAggregator;","var baseEach = require('./_baseEach');\n/**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n\n\nfunction baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function (value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n}\n\nmodule.exports = baseAggregator;","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n\n\nvar baseEach = createBaseEach(baseForOwn);\nmodule.exports = baseEach;","var baseFor = require('./_baseFor'),\n keys = require('./keys');\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n\n\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;","var createBaseFor = require('./_createBaseFor');\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n\n\nvar baseFor = createBaseFor();\nmodule.exports = baseFor;","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function (object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n\n return object;\n };\n}\n\nmodule.exports = createBaseFor;","var isArrayLike = require('./isArrayLike');\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n\n\nfunction createBaseEach(eachFunc, fromRight) {\n return function (collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while (fromRight ? index-- : ++index < length) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n\n\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n\n if (value == null) {\n return identity;\n }\n\n if (_typeof(value) == 'object') {\n return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);\n }\n\n return property(value);\n}\n\nmodule.exports = baseIteratee;","var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n\n\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n\n return function (object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;","var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n/** Used to compose bitmasks for value comparisons. */\n\n\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n\n object = Object(object);\n\n while (index--) {\n var data = matchData[index];\n\n if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {\n return false;\n }\n }\n\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack();\n\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n\n if (!(result === undefined ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) : result)) {\n return false;\n }\n }\n }\n\n return true;\n}\n\nmodule.exports = baseIsMatch;","var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n\n\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n result[length] = [key, value, isStrictComparable(value)];\n }\n\n return result;\n}\n\nmodule.exports = getMatchData;","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n/** Used to compose bitmasks for value comparisons. */\n\n\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n\n return function (object) {\n var objValue = get(object, path);\n return objValue === undefined && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;","var baseGet = require('./_baseGet');\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n\n\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;","var memoizeCapped = require('./_memoizeCapped');\n/** Used to match property names within property paths. */\n\n\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n/** Used to match backslashes in property paths. */\n\nvar reEscapeChar = /\\\\(\\\\)?/g;\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n\nvar stringToPath = memoizeCapped(function (string) {\n var result = [];\n\n if (string.charCodeAt(0) === 46\n /* . */\n ) {\n result.push('');\n }\n\n string.replace(rePropName, function (match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : number || match);\n });\n return result;\n});\nmodule.exports = stringToPath;","var memoize = require('./memoize');\n/** Used as the maximum memoize cache size. */\n\n\nvar MAX_MEMOIZE_SIZE = 500;\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n\nfunction memoizeCapped(func) {\n var result = memoize(func, function (key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n\n return key;\n });\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;","var MapCache = require('./_MapCache');\n/** Error message constants. */\n\n\nvar FUNC_ERROR_TEXT = 'Expected a function';\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || resolver != null && typeof resolver != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n var memoized = function memoized() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n\n memoized.cache = new (memoize.Cache || MapCache)();\n return memoized;\n} // Expose `MapCache`.\n\n\nmemoize.Cache = MapCache;\nmodule.exports = memoize;","var baseToString = require('./_baseToString');\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n\n\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;","var _Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n/** Used as references for various `Number` constants. */\n\n\nvar INFINITY = 1 / 0;\n/** Used to convert symbols to primitives and strings. */\n\nvar symbolProto = _Symbol ? _Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n\n var result = value + '';\n return result == '0' && 1 / value == -INFINITY ? '-0' : result;\n}\n\nmodule.exports = baseToString;","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n\n return result;\n}\n\nmodule.exports = arrayMap;","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n\n\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;","var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n\n\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n\n object = object[key];\n }\n\n if (result || ++index != length) {\n return result;\n }\n\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;","var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\n\n\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function (object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;","var baseGet = require('./_baseGet');\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n\n\nfunction basePropertyDeep(path) {\n return function (object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;","import React from 'react';\nexport var ReactReduxContext = /*#__PURE__*/React.createContext(null);\n\nif (process.env.NODE_ENV !== 'production') {\n ReactReduxContext.displayName = 'ReactRedux';\n}\n\nexport default ReactReduxContext;","// Default to a dummy \"batch\" implementation that just runs the callback\nfunction defaultNoopBatch(callback) {\n callback();\n}\n\nvar batch = defaultNoopBatch; // Allow injecting another batching function later\n\nexport var setBatch = function setBatch(newBatch) {\n return batch = newBatch;\n}; // Supply a getter just to skip dealing with ESM bindings\n\nexport var getBatch = function getBatch() {\n return batch;\n};","import { getBatch } from './batch'; // encapsulates the subscription logic for connecting a component to the redux store, as\n// well as nesting subscriptions of descendant components, so that we can ensure the\n// ancestor components re-render before descendants\n\nvar nullListeners = {\n notify: function notify() {}\n};\n\nfunction createListenerCollection() {\n var batch = getBatch();\n var first = null;\n var last = null;\n return {\n clear: function clear() {\n first = null;\n last = null;\n },\n notify: function notify() {\n batch(function () {\n var listener = first;\n\n while (listener) {\n listener.callback();\n listener = listener.next;\n }\n });\n },\n get: function get() {\n var listeners = [];\n var listener = first;\n\n while (listener) {\n listeners.push(listener);\n listener = listener.next;\n }\n\n return listeners;\n },\n subscribe: function subscribe(callback) {\n var isSubscribed = true;\n var listener = last = {\n callback: callback,\n next: null,\n prev: last\n };\n\n if (listener.prev) {\n listener.prev.next = listener;\n } else {\n first = listener;\n }\n\n return function unsubscribe() {\n if (!isSubscribed || first === null) return;\n isSubscribed = false;\n\n if (listener.next) {\n listener.next.prev = listener.prev;\n } else {\n last = listener.prev;\n }\n\n if (listener.prev) {\n listener.prev.next = listener.next;\n } else {\n first = listener.next;\n }\n };\n }\n };\n}\n\nvar Subscription = /*#__PURE__*/function () {\n function Subscription(store, parentSub) {\n this.store = store;\n this.parentSub = parentSub;\n this.unsubscribe = null;\n this.listeners = nullListeners;\n this.handleChangeWrapper = this.handleChangeWrapper.bind(this);\n }\n\n var _proto = Subscription.prototype;\n\n _proto.addNestedSub = function addNestedSub(listener) {\n this.trySubscribe();\n return this.listeners.subscribe(listener);\n };\n\n _proto.notifyNestedSubs = function notifyNestedSubs() {\n this.listeners.notify();\n };\n\n _proto.handleChangeWrapper = function handleChangeWrapper() {\n if (this.onStateChange) {\n this.onStateChange();\n }\n };\n\n _proto.isSubscribed = function isSubscribed() {\n return Boolean(this.unsubscribe);\n };\n\n _proto.trySubscribe = function trySubscribe() {\n if (!this.unsubscribe) {\n this.unsubscribe = this.parentSub ? this.parentSub.addNestedSub(this.handleChangeWrapper) : this.store.subscribe(this.handleChangeWrapper);\n this.listeners = createListenerCollection();\n }\n };\n\n _proto.tryUnsubscribe = function tryUnsubscribe() {\n if (this.unsubscribe) {\n this.unsubscribe();\n this.unsubscribe = null;\n this.listeners.clear();\n this.listeners = nullListeners;\n }\n };\n\n return Subscription;\n}();\n\nexport { Subscription as default };","import React, { useMemo, useEffect } from 'react';\nimport { ReactReduxContext } from './Context';\nimport Subscription from '../utils/Subscription';\n\nfunction Provider(_ref) {\n var store = _ref.store,\n context = _ref.context,\n children = _ref.children;\n var contextValue = useMemo(function () {\n var subscription = new Subscription(store);\n subscription.onStateChange = subscription.notifyNestedSubs;\n return {\n store: store,\n subscription: subscription\n };\n }, [store]);\n var previousState = useMemo(function () {\n return store.getState();\n }, [store]);\n useEffect(function () {\n var subscription = contextValue.subscription;\n subscription.trySubscribe();\n\n if (previousState !== store.getState()) {\n subscription.notifyNestedSubs();\n }\n\n return function () {\n subscription.tryUnsubscribe();\n subscription.onStateChange = null;\n };\n }, [contextValue, previousState]);\n var Context = context || ReactReduxContext;\n return React.createElement(Context.Provider, {\n value: contextValue\n }, children);\n}\n\nif (process.env.NODE_ENV !== 'production') {}\n\nexport default Provider;","export default function _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}","export default function _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}","import { useEffect, useLayoutEffect } from 'react'; // React currently throws a warning when using useLayoutEffect on the server.\n// To get around it, we can conditionally useEffect on the server (no-op) and\n// useLayoutEffect in the browser. We need useLayoutEffect to ensure the store\n// subscription callback always has the selector from the latest render commit\n// available, otherwise a store update may happen between render and the effect,\n// which may cause missed updates; we also must ensure the store subscription\n// is created synchronously, otherwise a store update may occur before the\n// subscription is created and an inconsistent state may be observed\n\nexport var useIsomorphicLayoutEffect = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined' ? useLayoutEffect : useEffect;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport hoistStatics from 'hoist-non-react-statics';\nimport React, { useContext, useMemo, useRef, useReducer } from 'react';\nimport { isValidElementType, isContextConsumer } from 'react-is';\nimport Subscription from '../utils/Subscription';\nimport { useIsomorphicLayoutEffect } from '../utils/useIsomorphicLayoutEffect';\nimport { ReactReduxContext } from './Context'; // Define some constant arrays just to avoid re-creating these\n\nvar EMPTY_ARRAY = [];\nvar NO_SUBSCRIPTION_ARRAY = [null, null];\n\nvar stringifyComponent = function stringifyComponent(Comp) {\n try {\n return JSON.stringify(Comp);\n } catch (err) {\n return String(Comp);\n }\n};\n\nfunction storeStateUpdatesReducer(state, action) {\n var updateCount = state[1];\n return [action.payload, updateCount + 1];\n}\n\nfunction useIsomorphicLayoutEffectWithArgs(effectFunc, effectArgs, dependencies) {\n useIsomorphicLayoutEffect(function () {\n return effectFunc.apply(void 0, effectArgs);\n }, dependencies);\n}\n\nfunction captureWrapperProps(lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, actualChildProps, childPropsFromStoreUpdate, notifyNestedSubs) {\n // We want to capture the wrapper props and child props we used for later comparisons\n lastWrapperProps.current = wrapperProps;\n lastChildProps.current = actualChildProps;\n renderIsScheduled.current = false; // If the render was from a store update, clear out that reference and cascade the subscriber update\n\n if (childPropsFromStoreUpdate.current) {\n childPropsFromStoreUpdate.current = null;\n notifyNestedSubs();\n }\n}\n\nfunction subscribeUpdates(shouldHandleStateChanges, store, subscription, childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, childPropsFromStoreUpdate, notifyNestedSubs, forceComponentUpdateDispatch) {\n // If we're not subscribed to the store, nothing to do here\n if (!shouldHandleStateChanges) return; // Capture values for checking if and when this component unmounts\n\n var didUnsubscribe = false;\n var lastThrownError = null; // We'll run this callback every time a store subscription update propagates to this component\n\n var checkForUpdates = function checkForUpdates() {\n if (didUnsubscribe) {\n // Don't run stale listeners.\n // Redux doesn't guarantee unsubscriptions happen until next dispatch.\n return;\n }\n\n var latestStoreState = store.getState();\n var newChildProps, error;\n\n try {\n // Actually run the selector with the most recent store state and wrapper props\n // to determine what the child props should be\n newChildProps = childPropsSelector(latestStoreState, lastWrapperProps.current);\n } catch (e) {\n error = e;\n lastThrownError = e;\n }\n\n if (!error) {\n lastThrownError = null;\n } // If the child props haven't changed, nothing to do here - cascade the subscription update\n\n\n if (newChildProps === lastChildProps.current) {\n if (!renderIsScheduled.current) {\n notifyNestedSubs();\n }\n } else {\n // Save references to the new child props. Note that we track the \"child props from store update\"\n // as a ref instead of a useState/useReducer because we need a way to determine if that value has\n // been processed. If this went into useState/useReducer, we couldn't clear out the value without\n // forcing another re-render, which we don't want.\n lastChildProps.current = newChildProps;\n childPropsFromStoreUpdate.current = newChildProps;\n renderIsScheduled.current = true; // If the child props _did_ change (or we caught an error), this wrapper component needs to re-render\n\n forceComponentUpdateDispatch({\n type: 'STORE_UPDATED',\n payload: {\n error: error\n }\n });\n }\n }; // Actually subscribe to the nearest connected ancestor (or store)\n\n\n subscription.onStateChange = checkForUpdates;\n subscription.trySubscribe(); // Pull data from the store after first render in case the store has\n // changed since we began.\n\n checkForUpdates();\n\n var unsubscribeWrapper = function unsubscribeWrapper() {\n didUnsubscribe = true;\n subscription.tryUnsubscribe();\n subscription.onStateChange = null;\n\n if (lastThrownError) {\n // It's possible that we caught an error due to a bad mapState function, but the\n // parent re-rendered without this component and we're about to unmount.\n // This shouldn't happen as long as we do top-down subscriptions correctly, but\n // if we ever do those wrong, this throw will surface the error in our tests.\n // In that case, throw the error from here so it doesn't get lost.\n throw lastThrownError;\n }\n };\n\n return unsubscribeWrapper;\n}\n\nvar initStateUpdates = function initStateUpdates() {\n return [null, 0];\n};\n\nexport default function connectAdvanced(\n/*\r\n selectorFactory is a func that is responsible for returning the selector function used to\r\n compute new props from state, props, and dispatch. For example:\r\n export default connectAdvanced((dispatch, options) => (state, props) => ({\r\n thing: state.things[props.thingId],\r\n saveThing: fields => dispatch(actionCreators.saveThing(props.thingId, fields)),\r\n }))(YourComponent)\r\n Access to dispatch is provided to the factory so selectorFactories can bind actionCreators\r\n outside of their selector as an optimization. Options passed to connectAdvanced are passed to\r\n the selectorFactory, along with displayName and WrappedComponent, as the second argument.\r\n Note that selectorFactory is responsible for all caching/memoization of inbound and outbound\r\n props. Do not use connectAdvanced directly without memoizing results between calls to your\r\n selector, otherwise the Connect component will re-render on every state or props change.\r\n*/\nselectorFactory, // options object:\n_ref) {\n if (_ref === void 0) {\n _ref = {};\n }\n\n var _ref2 = _ref,\n _ref2$getDisplayName = _ref2.getDisplayName,\n getDisplayName = _ref2$getDisplayName === void 0 ? function (name) {\n return \"ConnectAdvanced(\" + name + \")\";\n } : _ref2$getDisplayName,\n _ref2$methodName = _ref2.methodName,\n methodName = _ref2$methodName === void 0 ? 'connectAdvanced' : _ref2$methodName,\n _ref2$renderCountProp = _ref2.renderCountProp,\n renderCountProp = _ref2$renderCountProp === void 0 ? undefined : _ref2$renderCountProp,\n _ref2$shouldHandleSta = _ref2.shouldHandleStateChanges,\n shouldHandleStateChanges = _ref2$shouldHandleSta === void 0 ? true : _ref2$shouldHandleSta,\n _ref2$storeKey = _ref2.storeKey,\n storeKey = _ref2$storeKey === void 0 ? 'store' : _ref2$storeKey,\n _ref2$withRef = _ref2.withRef,\n withRef = _ref2$withRef === void 0 ? false : _ref2$withRef,\n _ref2$forwardRef = _ref2.forwardRef,\n forwardRef = _ref2$forwardRef === void 0 ? false : _ref2$forwardRef,\n _ref2$context = _ref2.context,\n context = _ref2$context === void 0 ? ReactReduxContext : _ref2$context,\n connectOptions = _objectWithoutPropertiesLoose(_ref2, [\"getDisplayName\", \"methodName\", \"renderCountProp\", \"shouldHandleStateChanges\", \"storeKey\", \"withRef\", \"forwardRef\", \"context\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (renderCountProp !== undefined) {\n throw new Error(\"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension\");\n }\n\n if (withRef) {\n throw new Error('withRef is removed. To access the wrapped instance, use a ref on the connected component');\n }\n\n var customStoreWarningMessage = 'To use a custom Redux store for specific components, create a custom React context with ' + \"React.createContext(), and pass the context object to React Redux's Provider and specific components\" + ' like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. ' + 'You may also pass a {context : MyContext} option to connect';\n\n if (storeKey !== 'store') {\n throw new Error('storeKey has been removed and does not do anything. ' + customStoreWarningMessage);\n }\n }\n\n var Context = context;\n return function wrapWithConnect(WrappedComponent) {\n if (process.env.NODE_ENV !== 'production' && !isValidElementType(WrappedComponent)) {\n throw new Error(\"You must pass a component to the function returned by \" + (methodName + \". Instead received \" + stringifyComponent(WrappedComponent)));\n }\n\n var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';\n var displayName = getDisplayName(wrappedComponentName);\n\n var selectorFactoryOptions = _extends({}, connectOptions, {\n getDisplayName: getDisplayName,\n methodName: methodName,\n renderCountProp: renderCountProp,\n shouldHandleStateChanges: shouldHandleStateChanges,\n storeKey: storeKey,\n displayName: displayName,\n wrappedComponentName: wrappedComponentName,\n WrappedComponent: WrappedComponent\n });\n\n var pure = connectOptions.pure;\n\n function createChildSelector(store) {\n return selectorFactory(store.dispatch, selectorFactoryOptions);\n } // If we aren't running in \"pure\" mode, we don't want to memoize values.\n // To avoid conditionally calling hooks, we fall back to a tiny wrapper\n // that just executes the given callback immediately.\n\n\n var usePureOnlyMemo = pure ? useMemo : function (callback) {\n return callback();\n };\n\n function ConnectFunction(props) {\n var _useMemo = useMemo(function () {\n // Distinguish between actual \"data\" props that were passed to the wrapper component,\n // and values needed to control behavior (forwarded refs, alternate context instances).\n // To maintain the wrapperProps object reference, memoize this destructuring.\n var forwardedRef = props.forwardedRef,\n wrapperProps = _objectWithoutPropertiesLoose(props, [\"forwardedRef\"]);\n\n return [props.context, forwardedRef, wrapperProps];\n }, [props]),\n propsContext = _useMemo[0],\n forwardedRef = _useMemo[1],\n wrapperProps = _useMemo[2];\n\n var ContextToUse = useMemo(function () {\n // Users may optionally pass in a custom context instance to use instead of our ReactReduxContext.\n // Memoize the check that determines which context instance we should use.\n return propsContext && propsContext.Consumer && isContextConsumer(React.createElement(propsContext.Consumer, null)) ? propsContext : Context;\n }, [propsContext, Context]); // Retrieve the store and ancestor subscription via context, if available\n\n var contextValue = useContext(ContextToUse); // The store _must_ exist as either a prop or in context.\n // We'll check to see if it _looks_ like a Redux store first.\n // This allows us to pass through a `store` prop that is just a plain value.\n\n var didStoreComeFromProps = Boolean(props.store) && Boolean(props.store.getState) && Boolean(props.store.dispatch);\n var didStoreComeFromContext = Boolean(contextValue) && Boolean(contextValue.store);\n\n if (process.env.NODE_ENV !== 'production' && !didStoreComeFromProps && !didStoreComeFromContext) {\n throw new Error(\"Could not find \\\"store\\\" in the context of \" + (\"\\\"\" + displayName + \"\\\". Either wrap the root component in a <Provider>, \") + \"or pass a custom React context provider to <Provider> and the corresponding \" + (\"React context consumer to \" + displayName + \" in connect options.\"));\n } // Based on the previous check, one of these must be true\n\n\n var store = didStoreComeFromProps ? props.store : contextValue.store;\n var childPropsSelector = useMemo(function () {\n // The child props selector needs the store reference as an input.\n // Re-create this selector whenever the store changes.\n return createChildSelector(store);\n }, [store]);\n\n var _useMemo2 = useMemo(function () {\n if (!shouldHandleStateChanges) return NO_SUBSCRIPTION_ARRAY; // This Subscription's source should match where store came from: props vs. context. A component\n // connected to the store via props shouldn't use subscription from context, or vice versa.\n\n var subscription = new Subscription(store, didStoreComeFromProps ? null : contextValue.subscription); // `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in\n // the middle of the notification loop, where `subscription` will then be null. This can\n // probably be avoided if Subscription's listeners logic is changed to not call listeners\n // that have been unsubscribed in the middle of the notification loop.\n\n var notifyNestedSubs = subscription.notifyNestedSubs.bind(subscription);\n return [subscription, notifyNestedSubs];\n }, [store, didStoreComeFromProps, contextValue]),\n subscription = _useMemo2[0],\n notifyNestedSubs = _useMemo2[1]; // Determine what {store, subscription} value should be put into nested context, if necessary,\n // and memoize that value to avoid unnecessary context updates.\n\n\n var overriddenContextValue = useMemo(function () {\n if (didStoreComeFromProps) {\n // This component is directly subscribed to a store from props.\n // We don't want descendants reading from this store - pass down whatever\n // the existing context value is from the nearest connected ancestor.\n return contextValue;\n } // Otherwise, put this component's subscription instance into context, so that\n // connected descendants won't update until after this component is done\n\n\n return _extends({}, contextValue, {\n subscription: subscription\n });\n }, [didStoreComeFromProps, contextValue, subscription]); // We need to force this wrapper component to re-render whenever a Redux store update\n // causes a change to the calculated child component props (or we caught an error in mapState)\n\n var _useReducer = useReducer(storeStateUpdatesReducer, EMPTY_ARRAY, initStateUpdates),\n _useReducer$ = _useReducer[0],\n previousStateUpdateResult = _useReducer$[0],\n forceComponentUpdateDispatch = _useReducer[1]; // Propagate any mapState/mapDispatch errors upwards\n\n\n if (previousStateUpdateResult && previousStateUpdateResult.error) {\n throw previousStateUpdateResult.error;\n } // Set up refs to coordinate values between the subscription effect and the render logic\n\n\n var lastChildProps = useRef();\n var lastWrapperProps = useRef(wrapperProps);\n var childPropsFromStoreUpdate = useRef();\n var renderIsScheduled = useRef(false);\n var actualChildProps = usePureOnlyMemo(function () {\n // Tricky logic here:\n // - This render may have been triggered by a Redux store update that produced new child props\n // - However, we may have gotten new wrapper props after that\n // If we have new child props, and the same wrapper props, we know we should use the new child props as-is.\n // But, if we have new wrapper props, those might change the child props, so we have to recalculate things.\n // So, we'll use the child props from store update only if the wrapper props are the same as last time.\n if (childPropsFromStoreUpdate.current && wrapperProps === lastWrapperProps.current) {\n return childPropsFromStoreUpdate.current;\n } // TODO We're reading the store directly in render() here. Bad idea?\n // This will likely cause Bad Things (TM) to happen in Concurrent Mode.\n // Note that we do this because on renders _not_ caused by store updates, we need the latest store state\n // to determine what the child props should be.\n\n\n return childPropsSelector(store.getState(), wrapperProps);\n }, [store, previousStateUpdateResult, wrapperProps]); // We need this to execute synchronously every time we re-render. However, React warns\n // about useLayoutEffect in SSR, so we try to detect environment and fall back to\n // just useEffect instead to avoid the warning, since neither will run anyway.\n\n useIsomorphicLayoutEffectWithArgs(captureWrapperProps, [lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, actualChildProps, childPropsFromStoreUpdate, notifyNestedSubs]); // Our re-subscribe logic only runs when the store/subscription setup changes\n\n useIsomorphicLayoutEffectWithArgs(subscribeUpdates, [shouldHandleStateChanges, store, subscription, childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, childPropsFromStoreUpdate, notifyNestedSubs, forceComponentUpdateDispatch], [store, subscription, childPropsSelector]); // Now that all that's done, we can finally try to actually render the child component.\n // We memoize the elements for the rendered child component as an optimization.\n\n var renderedWrappedComponent = useMemo(function () {\n return React.createElement(WrappedComponent, _extends({}, actualChildProps, {\n ref: forwardedRef\n }));\n }, [forwardedRef, WrappedComponent, actualChildProps]); // If React sees the exact same element reference as last time, it bails out of re-rendering\n // that child, same as if it was wrapped in React.memo() or returned false from shouldComponentUpdate.\n\n var renderedChild = useMemo(function () {\n if (shouldHandleStateChanges) {\n // If this component is subscribed to store updates, we need to pass its own\n // subscription instance down to our descendants. That means rendering the same\n // Context instance, and putting a different value into the context.\n return React.createElement(ContextToUse.Provider, {\n value: overriddenContextValue\n }, renderedWrappedComponent);\n }\n\n return renderedWrappedComponent;\n }, [ContextToUse, renderedWrappedComponent, overriddenContextValue]);\n return renderedChild;\n } // If we're in \"pure\" mode, ensure our wrapper component only re-renders when incoming props have changed.\n\n\n var Connect = pure ? React.memo(ConnectFunction) : ConnectFunction;\n Connect.WrappedComponent = WrappedComponent;\n Connect.displayName = displayName;\n\n if (forwardRef) {\n var forwarded = React.forwardRef(function forwardConnectRef(props, ref) {\n return React.createElement(Connect, _extends({}, props, {\n forwardedRef: ref\n }));\n });\n forwarded.displayName = displayName;\n forwarded.WrappedComponent = WrappedComponent;\n return hoistStatics(forwarded, WrappedComponent);\n }\n\n return hoistStatics(Connect, WrappedComponent);\n };\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nfunction is(x, y) {\n if (x === y) {\n return x !== 0 || y !== 0 || 1 / x === 1 / y;\n } else {\n return x !== x && y !== y;\n }\n}\n\nexport default function shallowEqual(objA, objB) {\n if (is(objA, objB)) return true;\n\n if (_typeof(objA) !== 'object' || objA === null || _typeof(objB) !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) return false;\n\n for (var i = 0; i < keysA.length; i++) {\n if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {\n return false;\n }\n }\n\n return true;\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nimport $$observable from 'symbol-observable';\n/**\n * These are private action types reserved by Redux.\n * For any unknown actions, you must return the current state.\n * If the current state is undefined, you must return the initial state.\n * Do not reference these action types directly in your code.\n */\n\nvar randomString = function randomString() {\n return Math.random().toString(36).substring(7).split('').join('.');\n};\n\nvar ActionTypes = {\n INIT: \"@@redux/INIT\" + randomString(),\n REPLACE: \"@@redux/REPLACE\" + randomString(),\n PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {\n return \"@@redux/PROBE_UNKNOWN_ACTION\" + randomString();\n }\n};\n/**\n * @param {any} obj The object to inspect.\n * @returns {boolean} True if the argument appears to be a plain object.\n */\n\nfunction isPlainObject(obj) {\n if (_typeof(obj) !== 'object' || obj === null) return false;\n var proto = obj;\n\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n\n return Object.getPrototypeOf(obj) === proto;\n}\n/**\n * Creates a Redux store that holds the state tree.\n * The only way to change the data in the store is to call `dispatch()` on it.\n *\n * There should only be a single store in your app. To specify how different\n * parts of the state tree respond to actions, you may combine several reducers\n * into a single reducer function by using `combineReducers`.\n *\n * @param {Function} reducer A function that returns the next state tree, given\n * the current state tree and the action to handle.\n *\n * @param {any} [preloadedState] The initial state. You may optionally specify it\n * to hydrate the state from the server in universal apps, or to restore a\n * previously serialized user session.\n * If you use `combineReducers` to produce the root reducer function, this must be\n * an object with the same shape as `combineReducers` keys.\n *\n * @param {Function} [enhancer] The store enhancer. You may optionally specify it\n * to enhance the store with third-party capabilities such as middleware,\n * time travel, persistence, etc. The only store enhancer that ships with Redux\n * is `applyMiddleware()`.\n *\n * @returns {Store} A Redux store that lets you read the state, dispatch actions\n * and subscribe to changes.\n */\n\n\nfunction createStore(reducer, preloadedState, enhancer) {\n var _ref2;\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {\n throw new Error('It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function.');\n }\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {\n enhancer = preloadedState;\n preloadedState = undefined;\n }\n\n if (typeof enhancer !== 'undefined') {\n if (typeof enhancer !== 'function') {\n throw new Error('Expected the enhancer to be a function.');\n }\n\n return enhancer(createStore)(reducer, preloadedState);\n }\n\n if (typeof reducer !== 'function') {\n throw new Error('Expected the reducer to be a function.');\n }\n\n var currentReducer = reducer;\n var currentState = preloadedState;\n var currentListeners = [];\n var nextListeners = currentListeners;\n var isDispatching = false;\n /**\n * This makes a shallow copy of currentListeners so we can use\n * nextListeners as a temporary list while dispatching.\n *\n * This prevents any bugs around consumers calling\n * subscribe/unsubscribe in the middle of a dispatch.\n */\n\n function ensureCanMutateNextListeners() {\n if (nextListeners === currentListeners) {\n nextListeners = currentListeners.slice();\n }\n }\n /**\n * Reads the state tree managed by the store.\n *\n * @returns {any} The current state tree of your application.\n */\n\n\n function getState() {\n if (isDispatching) {\n throw new Error('You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.');\n }\n\n return currentState;\n }\n /**\n * Adds a change listener. It will be called any time an action is dispatched,\n * and some part of the state tree may potentially have changed. You may then\n * call `getState()` to read the current state tree inside the callback.\n *\n * You may call `dispatch()` from a change listener, with the following\n * caveats:\n *\n * 1. The subscriptions are snapshotted just before every `dispatch()` call.\n * If you subscribe or unsubscribe while the listeners are being invoked, this\n * will not have any effect on the `dispatch()` that is currently in progress.\n * However, the next `dispatch()` call, whether nested or not, will use a more\n * recent snapshot of the subscription list.\n *\n * 2. The listener should not expect to see all state changes, as the state\n * might have been updated multiple times during a nested `dispatch()` before\n * the listener is called. It is, however, guaranteed that all subscribers\n * registered before the `dispatch()` started will be called with the latest\n * state by the time it exits.\n *\n * @param {Function} listener A callback to be invoked on every dispatch.\n * @returns {Function} A function to remove this change listener.\n */\n\n\n function subscribe(listener) {\n if (typeof listener !== 'function') {\n throw new Error('Expected the listener to be a function.');\n }\n\n if (isDispatching) {\n throw new Error('You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api-reference/store#subscribelistener for more details.');\n }\n\n var isSubscribed = true;\n ensureCanMutateNextListeners();\n nextListeners.push(listener);\n return function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n\n if (isDispatching) {\n throw new Error('You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api-reference/store#subscribelistener for more details.');\n }\n\n isSubscribed = false;\n ensureCanMutateNextListeners();\n var index = nextListeners.indexOf(listener);\n nextListeners.splice(index, 1);\n currentListeners = null;\n };\n }\n /**\n * Dispatches an action. It is the only way to trigger a state change.\n *\n * The `reducer` function, used to create the store, will be called with the\n * current state tree and the given `action`. Its return value will\n * be considered the **next** state of the tree, and the change listeners\n * will be notified.\n *\n * The base implementation only supports plain object actions. If you want to\n * dispatch a Promise, an Observable, a thunk, or something else, you need to\n * wrap your store creating function into the corresponding middleware. For\n * example, see the documentation for the `redux-thunk` package. Even the\n * middleware will eventually dispatch plain object actions using this method.\n *\n * @param {Object} action A plain object representing “what changedâ€. It is\n * a good idea to keep actions serializable so you can record and replay user\n * sessions, or use the time travelling `redux-devtools`. An action must have\n * a `type` property which may not be `undefined`. It is a good idea to use\n * string constants for action types.\n *\n * @returns {Object} For convenience, the same action object you dispatched.\n *\n * Note that, if you use a custom middleware, it may wrap `dispatch()` to\n * return something else (for example, a Promise you can await).\n */\n\n\n function dispatch(action) {\n if (!isPlainObject(action)) {\n throw new Error('Actions must be plain objects. ' + 'Use custom middleware for async actions.');\n }\n\n if (typeof action.type === 'undefined') {\n throw new Error('Actions may not have an undefined \"type\" property. ' + 'Have you misspelled a constant?');\n }\n\n if (isDispatching) {\n throw new Error('Reducers may not dispatch actions.');\n }\n\n try {\n isDispatching = true;\n currentState = currentReducer(currentState, action);\n } finally {\n isDispatching = false;\n }\n\n var listeners = currentListeners = nextListeners;\n\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n listener();\n }\n\n return action;\n }\n /**\n * Replaces the reducer currently used by the store to calculate the state.\n *\n * You might need this if your app implements code splitting and you want to\n * load some of the reducers dynamically. You might also need this if you\n * implement a hot reloading mechanism for Redux.\n *\n * @param {Function} nextReducer The reducer for the store to use instead.\n * @returns {void}\n */\n\n\n function replaceReducer(nextReducer) {\n if (typeof nextReducer !== 'function') {\n throw new Error('Expected the nextReducer to be a function.');\n }\n\n currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT.\n // Any reducers that existed in both the new and old rootReducer\n // will receive the previous state. This effectively populates\n // the new state tree with any relevant data from the old one.\n\n dispatch({\n type: ActionTypes.REPLACE\n });\n }\n /**\n * Interoperability point for observable/reactive libraries.\n * @returns {observable} A minimal observable of state changes.\n * For more information, see the observable proposal:\n * https://github.com/tc39/proposal-observable\n */\n\n\n function observable() {\n var _ref;\n\n var outerSubscribe = subscribe;\n return _ref = {\n /**\n * The minimal observable subscription method.\n * @param {Object} observer Any object that can be used as an observer.\n * The observer object should have a `next` method.\n * @returns {subscription} An object with an `unsubscribe` method that can\n * be used to unsubscribe the observable from the store, and prevent further\n * emission of values from the observable.\n */\n subscribe: function subscribe(observer) {\n if (_typeof(observer) !== 'object' || observer === null) {\n throw new TypeError('Expected the observer to be an object.');\n }\n\n function observeState() {\n if (observer.next) {\n observer.next(getState());\n }\n }\n\n observeState();\n var unsubscribe = outerSubscribe(observeState);\n return {\n unsubscribe: unsubscribe\n };\n }\n }, _ref[$$observable] = function () {\n return this;\n }, _ref;\n } // When a store is created, an \"INIT\" action is dispatched so that every\n // reducer returns their initial state. This effectively populates\n // the initial state tree.\n\n\n dispatch({\n type: ActionTypes.INIT\n });\n return _ref2 = {\n dispatch: dispatch,\n subscribe: subscribe,\n getState: getState,\n replaceReducer: replaceReducer\n }, _ref2[$$observable] = observable, _ref2;\n}\n/**\n * Prints a warning in the console if it exists.\n *\n * @param {String} message The warning message.\n * @returns {void}\n */\n\n\nfunction warning(message) {\n /* eslint-disable no-console */\n if (typeof console !== 'undefined' && typeof console.error === 'function') {\n console.error(message);\n }\n /* eslint-enable no-console */\n\n\n try {\n // This error was thrown as a convenience so that if you enable\n // \"break on all exceptions\" in your console,\n // it would pause the execution at this line.\n throw new Error(message);\n } catch (e) {} // eslint-disable-line no-empty\n\n}\n\nfunction getUndefinedStateErrorMessage(key, action) {\n var actionType = action && action.type;\n var actionDescription = actionType && \"action \\\"\" + String(actionType) + \"\\\"\" || 'an action';\n return \"Given \" + actionDescription + \", reducer \\\"\" + key + \"\\\" returned undefined. \" + \"To ignore an action, you must explicitly return the previous state. \" + \"If you want this reducer to hold no value, you can return null instead of undefined.\";\n}\n\nfunction getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {\n var reducerKeys = Object.keys(reducers);\n var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';\n\n if (reducerKeys.length === 0) {\n return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';\n }\n\n if (!isPlainObject(inputState)) {\n return \"The \" + argumentName + \" has unexpected type of \\\"\" + {}.toString.call(inputState).match(/\\s([a-z|A-Z]+)/)[1] + \"\\\". Expected argument to be an object with the following \" + (\"keys: \\\"\" + reducerKeys.join('\", \"') + \"\\\"\");\n }\n\n var unexpectedKeys = Object.keys(inputState).filter(function (key) {\n return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];\n });\n unexpectedKeys.forEach(function (key) {\n unexpectedKeyCache[key] = true;\n });\n if (action && action.type === ActionTypes.REPLACE) return;\n\n if (unexpectedKeys.length > 0) {\n return \"Unexpected \" + (unexpectedKeys.length > 1 ? 'keys' : 'key') + \" \" + (\"\\\"\" + unexpectedKeys.join('\", \"') + \"\\\" found in \" + argumentName + \". \") + \"Expected to find one of the known reducer keys instead: \" + (\"\\\"\" + reducerKeys.join('\", \"') + \"\\\". Unexpected keys will be ignored.\");\n }\n}\n\nfunction assertReducerShape(reducers) {\n Object.keys(reducers).forEach(function (key) {\n var reducer = reducers[key];\n var initialState = reducer(undefined, {\n type: ActionTypes.INIT\n });\n\n if (typeof initialState === 'undefined') {\n throw new Error(\"Reducer \\\"\" + key + \"\\\" returned undefined during initialization. \" + \"If the state passed to the reducer is undefined, you must \" + \"explicitly return the initial state. The initial state may \" + \"not be undefined. If you don't want to set a value for this reducer, \" + \"you can use null instead of undefined.\");\n }\n\n if (typeof reducer(undefined, {\n type: ActionTypes.PROBE_UNKNOWN_ACTION()\n }) === 'undefined') {\n throw new Error(\"Reducer \\\"\" + key + \"\\\" returned undefined when probed with a random type. \" + (\"Don't try to handle \" + ActionTypes.INIT + \" or other actions in \\\"redux/*\\\" \") + \"namespace. They are considered private. Instead, you must return the \" + \"current state for any unknown actions, unless it is undefined, \" + \"in which case you must return the initial state, regardless of the \" + \"action type. The initial state may not be undefined, but can be null.\");\n }\n });\n}\n/**\n * Turns an object whose values are different reducer functions, into a single\n * reducer function. It will call every child reducer, and gather their results\n * into a single state object, whose keys correspond to the keys of the passed\n * reducer functions.\n *\n * @param {Object} reducers An object whose values correspond to different\n * reducer functions that need to be combined into one. One handy way to obtain\n * it is to use ES6 `import * as reducers` syntax. The reducers may never return\n * undefined for any action. Instead, they should return their initial state\n * if the state passed to them was undefined, and the current state for any\n * unrecognized action.\n *\n * @returns {Function} A reducer function that invokes every reducer inside the\n * passed object, and builds a state object with the same shape.\n */\n\n\nfunction combineReducers(reducers) {\n var reducerKeys = Object.keys(reducers);\n var finalReducers = {};\n\n for (var i = 0; i < reducerKeys.length; i++) {\n var key = reducerKeys[i];\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof reducers[key] === 'undefined') {\n warning(\"No reducer provided for key \\\"\" + key + \"\\\"\");\n }\n }\n\n if (typeof reducers[key] === 'function') {\n finalReducers[key] = reducers[key];\n }\n }\n\n var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same\n // keys multiple times.\n\n var unexpectedKeyCache;\n\n if (process.env.NODE_ENV !== 'production') {\n unexpectedKeyCache = {};\n }\n\n var shapeAssertionError;\n\n try {\n assertReducerShape(finalReducers);\n } catch (e) {\n shapeAssertionError = e;\n }\n\n return function combination(state, action) {\n if (state === void 0) {\n state = {};\n }\n\n if (shapeAssertionError) {\n throw shapeAssertionError;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);\n\n if (warningMessage) {\n warning(warningMessage);\n }\n }\n\n var hasChanged = false;\n var nextState = {};\n\n for (var _i = 0; _i < finalReducerKeys.length; _i++) {\n var _key = finalReducerKeys[_i];\n var reducer = finalReducers[_key];\n var previousStateForKey = state[_key];\n var nextStateForKey = reducer(previousStateForKey, action);\n\n if (typeof nextStateForKey === 'undefined') {\n var errorMessage = getUndefinedStateErrorMessage(_key, action);\n throw new Error(errorMessage);\n }\n\n nextState[_key] = nextStateForKey;\n hasChanged = hasChanged || nextStateForKey !== previousStateForKey;\n }\n\n hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;\n return hasChanged ? nextState : state;\n };\n}\n\nfunction bindActionCreator(actionCreator, dispatch) {\n return function () {\n return dispatch(actionCreator.apply(this, arguments));\n };\n}\n/**\n * Turns an object whose values are action creators, into an object with the\n * same keys, but with every function wrapped into a `dispatch` call so they\n * may be invoked directly. This is just a convenience method, as you can call\n * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.\n *\n * For convenience, you can also pass an action creator as the first argument,\n * and get a dispatch wrapped function in return.\n *\n * @param {Function|Object} actionCreators An object whose values are action\n * creator functions. One handy way to obtain it is to use ES6 `import * as`\n * syntax. You may also pass a single function.\n *\n * @param {Function} dispatch The `dispatch` function available on your Redux\n * store.\n *\n * @returns {Function|Object} The object mimicking the original object, but with\n * every action creator wrapped into the `dispatch` call. If you passed a\n * function as `actionCreators`, the return value will also be a single\n * function.\n */\n\n\nfunction bindActionCreators(actionCreators, dispatch) {\n if (typeof actionCreators === 'function') {\n return bindActionCreator(actionCreators, dispatch);\n }\n\n if (_typeof(actionCreators) !== 'object' || actionCreators === null) {\n throw new Error(\"bindActionCreators expected an object or a function, instead received \" + (actionCreators === null ? 'null' : _typeof(actionCreators)) + \". \" + \"Did you write \\\"import ActionCreators from\\\" instead of \\\"import * as ActionCreators from\\\"?\");\n }\n\n var boundActionCreators = {};\n\n for (var key in actionCreators) {\n var actionCreator = actionCreators[key];\n\n if (typeof actionCreator === 'function') {\n boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);\n }\n }\n\n return boundActionCreators;\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 ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n keys.push.apply(keys, Object.getOwnPropertySymbols(object));\n }\n\n if (enumerableOnly) keys = keys.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\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/**\n * Composes single-argument functions from right to left. The rightmost\n * function can take multiple arguments as it provides the signature for\n * the resulting composite function.\n *\n * @param {...Function} funcs The functions to compose.\n * @returns {Function} A function obtained by composing the argument functions\n * from right to left. For example, compose(f, g, h) is identical to doing\n * (...args) => f(g(h(...args))).\n */\n\n\nfunction compose() {\n for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n if (funcs.length === 0) {\n return function (arg) {\n return arg;\n };\n }\n\n if (funcs.length === 1) {\n return funcs[0];\n }\n\n return funcs.reduce(function (a, b) {\n return function () {\n return a(b.apply(void 0, arguments));\n };\n });\n}\n/**\n * Creates a store enhancer that applies middleware to the dispatch method\n * of the Redux store. This is handy for a variety of tasks, such as expressing\n * asynchronous actions in a concise manner, or logging every action payload.\n *\n * See `redux-thunk` package as an example of the Redux middleware.\n *\n * Because middleware is potentially asynchronous, this should be the first\n * store enhancer in the composition chain.\n *\n * Note that each middleware will be given the `dispatch` and `getState` functions\n * as named arguments.\n *\n * @param {...Function} middlewares The middleware chain to be applied.\n * @returns {Function} A store enhancer applying the middleware.\n */\n\n\nfunction applyMiddleware() {\n for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) {\n middlewares[_key] = arguments[_key];\n }\n\n return function (createStore) {\n return function () {\n var store = createStore.apply(void 0, arguments);\n\n var _dispatch = function dispatch() {\n throw new Error('Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.');\n };\n\n var middlewareAPI = {\n getState: store.getState,\n dispatch: function dispatch() {\n return _dispatch.apply(void 0, arguments);\n }\n };\n var chain = middlewares.map(function (middleware) {\n return middleware(middlewareAPI);\n });\n _dispatch = compose.apply(void 0, chain)(store.dispatch);\n return _objectSpread2({}, store, {\n dispatch: _dispatch\n });\n };\n };\n}\n/*\n * This is a dummy function to check if the function name has been altered by minification.\n * If the function has been minified and NODE_ENV !== 'production', warn the user.\n */\n\n\nfunction isCrushed() {}\n\nif (process.env.NODE_ENV !== 'production' && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {\n warning('You are currently using minified code outside of NODE_ENV === \"production\". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.');\n}\n\nexport { ActionTypes as __DO_NOT_USE__ActionTypes, applyMiddleware, bindActionCreators, combineReducers, compose, createStore };","import verifyPlainObject from '../utils/verifyPlainObject';\nexport function wrapMapToPropsConstant(getConstant) {\n return function initConstantSelector(dispatch, options) {\n var constant = getConstant(dispatch, options);\n\n function constantSelector() {\n return constant;\n }\n\n constantSelector.dependsOnOwnProps = false;\n return constantSelector;\n };\n} // dependsOnOwnProps is used by createMapToPropsProxy to determine whether to pass props as args\n// to the mapToProps function being wrapped. It is also used by makePurePropsSelector to determine\n// whether mapToProps needs to be invoked when props have changed.\n//\n// A length of one signals that mapToProps does not depend on props from the parent component.\n// A length of zero is assumed to mean mapToProps is getting args via arguments or ...args and\n// therefore not reporting its length accurately..\n\nexport function getDependsOnOwnProps(mapToProps) {\n return mapToProps.dependsOnOwnProps !== null && mapToProps.dependsOnOwnProps !== undefined ? Boolean(mapToProps.dependsOnOwnProps) : mapToProps.length !== 1;\n} // Used by whenMapStateToPropsIsFunction and whenMapDispatchToPropsIsFunction,\n// this function wraps mapToProps in a proxy function which does several things:\n//\n// * Detects whether the mapToProps function being called depends on props, which\n// is used by selectorFactory to decide if it should reinvoke on props changes.\n//\n// * On first call, handles mapToProps if returns another function, and treats that\n// new function as the true mapToProps for subsequent calls.\n//\n// * On first call, verifies the first result is a plain object, in order to warn\n// the developer that their mapToProps function is not returning a valid result.\n//\n\nexport function wrapMapToPropsFunc(mapToProps, methodName) {\n return function initProxySelector(dispatch, _ref) {\n var displayName = _ref.displayName;\n\n var proxy = function mapToPropsProxy(stateOrDispatch, ownProps) {\n return proxy.dependsOnOwnProps ? proxy.mapToProps(stateOrDispatch, ownProps) : proxy.mapToProps(stateOrDispatch);\n }; // allow detectFactoryAndVerify to get ownProps\n\n\n proxy.dependsOnOwnProps = true;\n\n proxy.mapToProps = function detectFactoryAndVerify(stateOrDispatch, ownProps) {\n proxy.mapToProps = mapToProps;\n proxy.dependsOnOwnProps = getDependsOnOwnProps(mapToProps);\n var props = proxy(stateOrDispatch, ownProps);\n\n if (typeof props === 'function') {\n proxy.mapToProps = props;\n proxy.dependsOnOwnProps = getDependsOnOwnProps(props);\n props = proxy(stateOrDispatch, ownProps);\n }\n\n if (process.env.NODE_ENV !== 'production') verifyPlainObject(props, displayName, methodName);\n return props;\n };\n\n return proxy;\n };\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nimport { bindActionCreators } from 'redux';\nimport { wrapMapToPropsConstant, wrapMapToPropsFunc } from './wrapMapToProps';\nexport function whenMapDispatchToPropsIsFunction(mapDispatchToProps) {\n return typeof mapDispatchToProps === 'function' ? wrapMapToPropsFunc(mapDispatchToProps, 'mapDispatchToProps') : undefined;\n}\nexport function whenMapDispatchToPropsIsMissing(mapDispatchToProps) {\n return !mapDispatchToProps ? wrapMapToPropsConstant(function (dispatch) {\n return {\n dispatch: dispatch\n };\n }) : undefined;\n}\nexport function whenMapDispatchToPropsIsObject(mapDispatchToProps) {\n return mapDispatchToProps && _typeof(mapDispatchToProps) === 'object' ? wrapMapToPropsConstant(function (dispatch) {\n return bindActionCreators(mapDispatchToProps, dispatch);\n }) : undefined;\n}\nexport default [whenMapDispatchToPropsIsFunction, whenMapDispatchToPropsIsMissing, whenMapDispatchToPropsIsObject];","import { wrapMapToPropsConstant, wrapMapToPropsFunc } from './wrapMapToProps';\nexport function whenMapStateToPropsIsFunction(mapStateToProps) {\n return typeof mapStateToProps === 'function' ? wrapMapToPropsFunc(mapStateToProps, 'mapStateToProps') : undefined;\n}\nexport function whenMapStateToPropsIsMissing(mapStateToProps) {\n return !mapStateToProps ? wrapMapToPropsConstant(function () {\n return {};\n }) : undefined;\n}\nexport default [whenMapStateToPropsIsFunction, whenMapStateToPropsIsMissing];","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport verifyPlainObject from '../utils/verifyPlainObject';\nexport function defaultMergeProps(stateProps, dispatchProps, ownProps) {\n return _extends({}, ownProps, {}, stateProps, {}, dispatchProps);\n}\nexport function wrapMergePropsFunc(mergeProps) {\n return function initMergePropsProxy(dispatch, _ref) {\n var displayName = _ref.displayName,\n pure = _ref.pure,\n areMergedPropsEqual = _ref.areMergedPropsEqual;\n var hasRunOnce = false;\n var mergedProps;\n return function mergePropsProxy(stateProps, dispatchProps, ownProps) {\n var nextMergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n\n if (hasRunOnce) {\n if (!pure || !areMergedPropsEqual(nextMergedProps, mergedProps)) mergedProps = nextMergedProps;\n } else {\n hasRunOnce = true;\n mergedProps = nextMergedProps;\n if (process.env.NODE_ENV !== 'production') verifyPlainObject(mergedProps, displayName, 'mergeProps');\n }\n\n return mergedProps;\n };\n };\n}\nexport function whenMergePropsIsFunction(mergeProps) {\n return typeof mergeProps === 'function' ? wrapMergePropsFunc(mergeProps) : undefined;\n}\nexport function whenMergePropsIsOmitted(mergeProps) {\n return !mergeProps ? function () {\n return defaultMergeProps;\n } : undefined;\n}\nexport default [whenMergePropsIsFunction, whenMergePropsIsOmitted];","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport verifySubselectors from './verifySubselectors';\nexport function impureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch) {\n return function impureFinalPropsSelector(state, ownProps) {\n return mergeProps(mapStateToProps(state, ownProps), mapDispatchToProps(dispatch, ownProps), ownProps);\n };\n}\nexport function pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, _ref) {\n var areStatesEqual = _ref.areStatesEqual,\n areOwnPropsEqual = _ref.areOwnPropsEqual,\n areStatePropsEqual = _ref.areStatePropsEqual;\n var hasRunAtLeastOnce = false;\n var state;\n var ownProps;\n var stateProps;\n var dispatchProps;\n var mergedProps;\n\n function handleFirstCall(firstState, firstOwnProps) {\n state = firstState;\n ownProps = firstOwnProps;\n stateProps = mapStateToProps(state, ownProps);\n dispatchProps = mapDispatchToProps(dispatch, ownProps);\n mergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n hasRunAtLeastOnce = true;\n return mergedProps;\n }\n\n function handleNewPropsAndNewState() {\n stateProps = mapStateToProps(state, ownProps);\n if (mapDispatchToProps.dependsOnOwnProps) dispatchProps = mapDispatchToProps(dispatch, ownProps);\n mergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n return mergedProps;\n }\n\n function handleNewProps() {\n if (mapStateToProps.dependsOnOwnProps) stateProps = mapStateToProps(state, ownProps);\n if (mapDispatchToProps.dependsOnOwnProps) dispatchProps = mapDispatchToProps(dispatch, ownProps);\n mergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n return mergedProps;\n }\n\n function handleNewState() {\n var nextStateProps = mapStateToProps(state, ownProps);\n var statePropsChanged = !areStatePropsEqual(nextStateProps, stateProps);\n stateProps = nextStateProps;\n if (statePropsChanged) mergedProps = mergeProps(stateProps, dispatchProps, ownProps);\n return mergedProps;\n }\n\n function handleSubsequentCalls(nextState, nextOwnProps) {\n var propsChanged = !areOwnPropsEqual(nextOwnProps, ownProps);\n var stateChanged = !areStatesEqual(nextState, state);\n state = nextState;\n ownProps = nextOwnProps;\n if (propsChanged && stateChanged) return handleNewPropsAndNewState();\n if (propsChanged) return handleNewProps();\n if (stateChanged) return handleNewState();\n return mergedProps;\n }\n\n return function pureFinalPropsSelector(nextState, nextOwnProps) {\n return hasRunAtLeastOnce ? handleSubsequentCalls(nextState, nextOwnProps) : handleFirstCall(nextState, nextOwnProps);\n };\n} // TODO: Add more comments\n// If pure is true, the selector returned by selectorFactory will memoize its results,\n// allowing connectAdvanced's shouldComponentUpdate to return false if final\n// props have not changed. If false, the selector will always return a new\n// object and shouldComponentUpdate will always return true.\n\nexport default function finalPropsSelectorFactory(dispatch, _ref2) {\n var initMapStateToProps = _ref2.initMapStateToProps,\n initMapDispatchToProps = _ref2.initMapDispatchToProps,\n initMergeProps = _ref2.initMergeProps,\n options = _objectWithoutPropertiesLoose(_ref2, [\"initMapStateToProps\", \"initMapDispatchToProps\", \"initMergeProps\"]);\n\n var mapStateToProps = initMapStateToProps(dispatch, options);\n var mapDispatchToProps = initMapDispatchToProps(dispatch, options);\n var mergeProps = initMergeProps(dispatch, options);\n\n if (process.env.NODE_ENV !== 'production') {\n verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps, options.displayName);\n }\n\n var selectorFactory = options.pure ? pureFinalPropsSelectorFactory : impureFinalPropsSelectorFactory;\n return selectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, options);\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport connectAdvanced from '../components/connectAdvanced';\nimport shallowEqual from '../utils/shallowEqual';\nimport defaultMapDispatchToPropsFactories from './mapDispatchToProps';\nimport defaultMapStateToPropsFactories from './mapStateToProps';\nimport defaultMergePropsFactories from './mergeProps';\nimport defaultSelectorFactory from './selectorFactory';\n/*\r\n connect is a facade over connectAdvanced. It turns its args into a compatible\r\n selectorFactory, which has the signature:\r\n\r\n (dispatch, options) => (nextState, nextOwnProps) => nextFinalProps\r\n \r\n connect passes its args to connectAdvanced as options, which will in turn pass them to\r\n selectorFactory each time a Connect component instance is instantiated or hot reloaded.\r\n\r\n selectorFactory returns a final props selector from its mapStateToProps,\r\n mapStateToPropsFactories, mapDispatchToProps, mapDispatchToPropsFactories, mergeProps,\r\n mergePropsFactories, and pure args.\r\n\r\n The resulting final props selector is called by the Connect component instance whenever\r\n it receives new props or store state.\r\n */\n\nfunction match(arg, factories, name) {\n for (var i = factories.length - 1; i >= 0; i--) {\n var result = factories[i](arg);\n if (result) return result;\n }\n\n return function (dispatch, options) {\n throw new Error(\"Invalid value of type \" + _typeof(arg) + \" for \" + name + \" argument when connecting component \" + options.wrappedComponentName + \".\");\n };\n}\n\nfunction strictEqual(a, b) {\n return a === b;\n} // createConnect with default args builds the 'official' connect behavior. Calling it with\n// different options opens up some testing and extensibility scenarios\n\n\nexport function createConnect(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n _ref$connectHOC = _ref.connectHOC,\n connectHOC = _ref$connectHOC === void 0 ? connectAdvanced : _ref$connectHOC,\n _ref$mapStateToPropsF = _ref.mapStateToPropsFactories,\n mapStateToPropsFactories = _ref$mapStateToPropsF === void 0 ? defaultMapStateToPropsFactories : _ref$mapStateToPropsF,\n _ref$mapDispatchToPro = _ref.mapDispatchToPropsFactories,\n mapDispatchToPropsFactories = _ref$mapDispatchToPro === void 0 ? defaultMapDispatchToPropsFactories : _ref$mapDispatchToPro,\n _ref$mergePropsFactor = _ref.mergePropsFactories,\n mergePropsFactories = _ref$mergePropsFactor === void 0 ? defaultMergePropsFactories : _ref$mergePropsFactor,\n _ref$selectorFactory = _ref.selectorFactory,\n selectorFactory = _ref$selectorFactory === void 0 ? defaultSelectorFactory : _ref$selectorFactory;\n\n return function connect(mapStateToProps, mapDispatchToProps, mergeProps, _ref2) {\n if (_ref2 === void 0) {\n _ref2 = {};\n }\n\n var _ref3 = _ref2,\n _ref3$pure = _ref3.pure,\n pure = _ref3$pure === void 0 ? true : _ref3$pure,\n _ref3$areStatesEqual = _ref3.areStatesEqual,\n areStatesEqual = _ref3$areStatesEqual === void 0 ? strictEqual : _ref3$areStatesEqual,\n _ref3$areOwnPropsEqua = _ref3.areOwnPropsEqual,\n areOwnPropsEqual = _ref3$areOwnPropsEqua === void 0 ? shallowEqual : _ref3$areOwnPropsEqua,\n _ref3$areStatePropsEq = _ref3.areStatePropsEqual,\n areStatePropsEqual = _ref3$areStatePropsEq === void 0 ? shallowEqual : _ref3$areStatePropsEq,\n _ref3$areMergedPropsE = _ref3.areMergedPropsEqual,\n areMergedPropsEqual = _ref3$areMergedPropsE === void 0 ? shallowEqual : _ref3$areMergedPropsE,\n extraOptions = _objectWithoutPropertiesLoose(_ref3, [\"pure\", \"areStatesEqual\", \"areOwnPropsEqual\", \"areStatePropsEqual\", \"areMergedPropsEqual\"]);\n\n var initMapStateToProps = match(mapStateToProps, mapStateToPropsFactories, 'mapStateToProps');\n var initMapDispatchToProps = match(mapDispatchToProps, mapDispatchToPropsFactories, 'mapDispatchToProps');\n var initMergeProps = match(mergeProps, mergePropsFactories, 'mergeProps');\n return connectHOC(selectorFactory, _extends({\n // used in error messages\n methodName: 'connect',\n // used to compute Connect's displayName from the wrapped component's displayName.\n getDisplayName: function getDisplayName(name) {\n return \"Connect(\" + name + \")\";\n },\n // if mapStateToProps is falsy, the Connect component doesn't subscribe to store state changes\n shouldHandleStateChanges: Boolean(mapStateToProps),\n // passed through to selectorFactory\n initMapStateToProps: initMapStateToProps,\n initMapDispatchToProps: initMapDispatchToProps,\n initMergeProps: initMergeProps,\n pure: pure,\n areStatesEqual: areStatesEqual,\n areOwnPropsEqual: areOwnPropsEqual,\n areStatePropsEqual: areStatePropsEqual,\n areMergedPropsEqual: areMergedPropsEqual\n }, extraOptions));\n };\n}\nexport default /*#__PURE__*/createConnect();","import { useReducer, useRef, useMemo, useContext } from 'react';\nimport { useReduxContext as useDefaultReduxContext } from './useReduxContext';\nimport Subscription from '../utils/Subscription';\nimport { useIsomorphicLayoutEffect } from '../utils/useIsomorphicLayoutEffect';\nimport { ReactReduxContext } from '../components/Context';\n\nvar refEquality = function refEquality(a, b) {\n return a === b;\n};\n\nfunction useSelectorWithStoreAndSubscription(selector, equalityFn, store, contextSub) {\n var _useReducer = useReducer(function (s) {\n return s + 1;\n }, 0),\n forceRender = _useReducer[1];\n\n var subscription = useMemo(function () {\n return new Subscription(store, contextSub);\n }, [store, contextSub]);\n var latestSubscriptionCallbackError = useRef();\n var latestSelector = useRef();\n var latestSelectedState = useRef();\n var selectedState;\n\n try {\n if (selector !== latestSelector.current || latestSubscriptionCallbackError.current) {\n selectedState = selector(store.getState());\n } else {\n selectedState = latestSelectedState.current;\n }\n } catch (err) {\n if (latestSubscriptionCallbackError.current) {\n err.message += \"\\nThe error may be correlated with this previous error:\\n\" + latestSubscriptionCallbackError.current.stack + \"\\n\\n\";\n }\n\n throw err;\n }\n\n useIsomorphicLayoutEffect(function () {\n latestSelector.current = selector;\n latestSelectedState.current = selectedState;\n latestSubscriptionCallbackError.current = undefined;\n });\n useIsomorphicLayoutEffect(function () {\n function checkForUpdates() {\n try {\n var newSelectedState = latestSelector.current(store.getState());\n\n if (equalityFn(newSelectedState, latestSelectedState.current)) {\n return;\n }\n\n latestSelectedState.current = newSelectedState;\n } catch (err) {\n // we ignore all errors here, since when the component\n // is re-rendered, the selectors are called again, and\n // will throw again, if neither props nor store state\n // changed\n latestSubscriptionCallbackError.current = err;\n }\n\n forceRender({});\n }\n\n subscription.onStateChange = checkForUpdates;\n subscription.trySubscribe();\n checkForUpdates();\n return function () {\n return subscription.tryUnsubscribe();\n };\n }, [store, subscription]);\n return selectedState;\n}\n/**\r\n * Hook factory, which creates a `useSelector` hook bound to a given context.\r\n *\r\n * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.\r\n * @returns {Function} A `useSelector` hook bound to the specified context.\r\n */\n\n\nexport function createSelectorHook(context) {\n if (context === void 0) {\n context = ReactReduxContext;\n }\n\n var useReduxContext = context === ReactReduxContext ? useDefaultReduxContext : function () {\n return useContext(context);\n };\n return function useSelector(selector, equalityFn) {\n if (equalityFn === void 0) {\n equalityFn = refEquality;\n }\n\n if (process.env.NODE_ENV !== 'production' && !selector) {\n throw new Error(\"You must pass a selector to useSelectors\");\n }\n\n var _useReduxContext = useReduxContext(),\n store = _useReduxContext.store,\n contextSub = _useReduxContext.subscription;\n\n return useSelectorWithStoreAndSubscription(selector, equalityFn, store, contextSub);\n };\n}\n/**\r\n * A hook to access the redux store's state. This hook takes a selector function\r\n * as an argument. The selector is called with the store state.\r\n *\r\n * This hook takes an optional equality comparison function as the second parameter\r\n * that allows you to customize the way the selected state is compared to determine\r\n * whether the component needs to be re-rendered.\r\n *\r\n * @param {Function} selector the selector function\r\n * @param {Function=} equalityFn the function that will be used to determine equality\r\n *\r\n * @returns {any} the selected state\r\n *\r\n * @example\r\n *\r\n * import React from 'react'\r\n * import { useSelector } from 'react-redux'\r\n *\r\n * export const CounterComponent = () => {\r\n * const counter = useSelector(state => state.counter)\r\n * return <div>{counter}</div>\r\n * }\r\n */\n\nexport var useSelector = /*#__PURE__*/createSelectorHook();","import Provider from './components/Provider';\nimport connectAdvanced from './components/connectAdvanced';\nimport { ReactReduxContext } from './components/Context';\nimport connect from './connect/connect';\nimport { useDispatch, createDispatchHook } from './hooks/useDispatch';\nimport { useSelector, createSelectorHook } from './hooks/useSelector';\nimport { useStore, createStoreHook } from './hooks/useStore';\nimport { setBatch } from './utils/batch';\nimport { unstable_batchedUpdates as batch } from './utils/reactBatchedUpdates';\nimport shallowEqual from './utils/shallowEqual';\nsetBatch(batch);\nexport { Provider, connectAdvanced, ReactReduxContext, connect, batch, useDispatch, createDispatchHook, useSelector, createSelectorHook, useStore, createStoreHook, shallowEqual };","function createThunkMiddleware(extraArgument) {\n return function (_ref) {\n var dispatch = _ref.dispatch,\n getState = _ref.getState;\n return function (next) {\n return function (action) {\n if (typeof action === 'function') {\n return action(dispatch, getState, extraArgument);\n }\n\n return next(action);\n };\n };\n };\n}\n\nvar thunk = createThunkMiddleware();\nthunk.withExtraArgument = createThunkMiddleware;\nexport default thunk;","import axios from 'axios';\n\n// AUTH\n\nexport const createUser = (phone, email, comment) => {\n const params = { phone, email, comment };\n return axios.post('/api/v1/user', params);\n};\n\nexport const sendCodeAuth = (phone, email, comment) => {\n const params = { phone, email, comment };\n return axios.post('/api/v1/user/send_code', params);\n};\n\nexport const verifyCodeAuth = (phone, code) => {\n const params = { phone, code };\n return axios.post('/api/v1/user/verify_code', params);\n};\n\nexport const authenticateUser = (email, password) => {\n const params = { user: { email, password } };\n return axios.post('/users/sign_in.json', params);\n // return axios.post('/api/v1/user/authenticate', params);\n};\n\n// USER\n\nexport const loadUser = (token) => {\n const params = { token };\n return axios.get('/api/v1/user', { params });\n};\n\nexport const logoutUser = (token) => {\n const params = { token };\n return axios.post('/api/v1/user/logout', params);\n};\n\nexport const updateUser = (token, user) => {\n const params = { ...user, token };\n return axios.put('/api/v1/user', params);\n};\n\n// FEATURES\n\nexport const loadFeatures = (token) => {\n const params = { token };\n return axios.get('/api/v1/features', { params });\n};\n\nexport const updateFeatures = (token, features) => {\n const params = { ...features, token };\n return axios.put('/api/v1/features/update_features', params);\n};\n\n// ACCOUNT\n\nexport const loadAccount = (token) => {\n const params = { token };\n return axios.get('/api/v1/account', { params });\n};\n\n// OPERATOR\n\nexport const loadOperator = (token) => {\n const params = { token };\n return axios.get('/api/v1/operators/current', { params });\n};\n\nexport const loadOperators = (token) => {\n const params = { token };\n return axios.get('/api/v1/operators', { params });\n};\n\nexport const createOperator = (token, operator) => {\n const params = { ...operator, token };\n return axios.post('/api/v1/operators', params);\n};\n\nexport const deleteOperator = (token, id) => {\n const params = { token };\n return axios.delete(`/api/v1/operators/${id}`, { params });\n};\n\n// SCENARIO\n\nexport const loadScenarios = (token) => {\n const params = { token };\n return axios.get('/api/v1/scenarios', { params });\n};\n\nexport const createScenario = (token, scenario) => {\n const params = { ...scenario, token };\n return axios.post('/api/v1/scenarios', params);\n};\n\nexport const loadScenario = (token, id) => {\n const params = { token };\n return axios.get(`/api/v1/scenarios/${id}`, { params });\n};\n\nexport const updateScenario = (token, scenario) => {\n const params = { ...scenario, token };\n return axios.put(`/api/v1/scenarios/${scenario.id}`, params);\n};\n\nexport const deleteScenario = (token, id) => {\n const params = { token };\n return axios.delete(`/api/v1/scenarios/${id}`, { params });\n};\n\nexport const duplicateScenario = (token, id) => {\n const params = { token };\n return axios.post(`/api/v1/scenarios/${id}/duplicate`, params);\n};\n\nexport const testingCallScenario = (token, id, data) => {\n const params = { token, data };\n return axios.post(`/api/v1/scenarios/${id}/testing_call`, params);\n};\n\n// CALL LIST\n\nexport const loadCallLists = (token, options) => {\n const params = {\n token,\n page: options.page\n };\n return axios.get('/api/v1/call_lists', { params });\n};\n\nexport const loadCallListsShort = (token) => {\n const params = { token, short: true };\n return axios.get('/api/v1/call_lists', { params });\n};\n\nexport const loadCallList = (token, id) => {\n const params = { token };\n return axios.get(`/api/v1/call_lists/${id}`, { params });\n};\n\nexport const deleteCallList = (token, id) => {\n const params = { token };\n return axios.delete(`/api/v1/call_lists/${id}`, { params });\n};\n\nexport const startCallList = (token, id) => {\n const params = { token };\n return axios.put(`/api/v1/call_lists/${id}/start`, params);\n};\n\nexport const stopCallList = (token, id) => {\n const params = { token };\n return axios.put(`/api/v1/call_lists/${id}/stop`, params);\n};\n\nexport const resumeCallList = (token, id) => {\n const params = { token };\n return axios.put(`/api/v1/call_lists/${id}/resume`, params);\n};\n\nexport const importSpreadsheet = (token, options) => {\n const formData = new FormData();\n formData.append('token', token);\n formData.append('file', options.file);\n formData.append('name', options.name);\n formData.append('scenario_id', options.scenarioId);\n formData.append('phone_number_id', options.phoneNumberId);\n formData.append('max_attempts', options.maxAttempts);\n formData.append('max_simultaneous', options.maxSimultaneous);\n formData.append('interval', options.interval);\n formData.append('start_at', options.startAt);\n\n const config = {\n headers: {\n 'content-type': 'multipart/form-data'\n }\n }\n return axios.post('/api/v1/call_lists/import_spreadsheet', formData, config);\n};\n\nexport const appendTaskCallList = (token, id, data) => {\n const params = { token, data };\n return axios.post(`/api/v1/call_lists/${id}/append_task`, params);\n};\n\n// TASKS\n\nexport const loadTasks = (token, callListId, page) => {\n const params = { token, page, call_list_id: callListId };\n return axios.get('/api/v1/tasks', { params });\n};\n\nexport const cancelTask = (token, id) => {\n const params = { token };\n return axios.post(`/api/v1/tasks/${id}/cancel`, params);\n};\n\n// PHONE NUMBER\n\nexport const loadPhoneNumbers = (token) => {\n const params = { token };\n return axios.get('/api/v1/phone_numbers', { params });\n};\n\nexport const requestPhoneNumberVerifyCode = (token, phoneNumber) => {\n const params = { token, phone_number: phoneNumber };\n return axios.post(`/api/v1/phone_numbers/request_code`, params);\n};\n\nexport const activatePhoneNumber = (token, phoneNumber, code) => {\n const params = { token, code, phone_number: phoneNumber };\n return axios.post(`/api/v1/phone_numbers/activate`, params);\n};\n\n// CALLS\n\nexport const loadCalls = (token, options) => {\n const params = {\n token,\n from: options.startDate,\n to: options.endDate,\n page: options.page,\n scenario_id: options.scenarioId,\n call_list_id: options.callListId,\n operator_id: options.operatorId,\n phone_number: options.phoneNumber,\n session_id: options.callId,\n };\n return axios.get('/api/v1/sessions', { params });\n};\n\nexport const loadCallsChart = (token, options) => {\n const params = {\n token,\n from: options.startDate,\n to: options.endDate,\n scenario_id: options.scenarioId,\n call_list_id: options.callListId,\n operator_id: options.operatorId,\n phone_number: options.phoneNumber,\n session_id: options.callId,\n measure: options.measure,\n property: options.property\n };\n return axios.get('/api/v1/sessions/chart', { params });\n};\n\n// AUDIOS\n\nexport const loadAudios = (token) => {\n const params = { token };\n return axios.get('/api/v1/audios', { params });\n};\n\nexport const uploadAudio = (token, file, name) => {\n const formData = new FormData();\n formData.append('token', token);\n formData.append('name', name);\n formData.append('file', file);\n\n const config = {\n headers: {\n 'content-type': 'multipart/form-data'\n }\n }\n return axios.post('/api/v1/audios/upload', formData, config);\n};\n\n// PAYMENTS\n\nexport const loadPayments = (token, from, to) => {\n const params = { token, from, to };\n return axios.get('/api/v1/payments', { params });\n};\n\n// INVOICES\n\nexport const createInvoice = (token, amount) => {\n const params = { token, amount };\n return axios.post('/api/v1/invoices', params);\n};\n\n// DASHBOARD\n\nexport const loadDashboardCalls = (token, from, to) => {\n const params = { token, from, to };\n return axios.get('/api/v1/dashboard/calls', { params });\n};\n\n\n// CONTACT ACTIVITIES\n\nexport const loadContactActivities = (token, contactId) => {\n const params = { token, contact_id: contactId };\n return axios.get('/api/v1/contact_activities', { params });\n}\n\n// CONTACTS\n\nexport const loadContacts = (token) => {\n const params = { token };\n return axios.get('/api/v1/contacts', { params });\n}\n\n// ACD QUEUES\n\nexport const loadAcdQueues = (token) => {\n const params = { token };\n return axios.get('/api/v1/acd_queues', { params });\n}\n\nexport const createAcdQueue = (token, acdQueue, operatorsIds) => {\n const params = { ...acdQueue, operators: operatorsIds, token };\n return axios.post('/api/v1/acd_queues', params);\n};\n\nexport const deleteAcdQueue = (token, id) => {\n const params = { token };\n return axios.delete(`/api/v1/acd_queues/${id}`, { params });\n};\n","import Cookies from 'js-cookie';\n\nconst KEY = 'speechrobot_user_token'\n\nexport const getUserToken = () => {\n return Cookies.get(KEY);\n};\n\nexport const setUserToken = token => {\n return Cookies.set(KEY, token);\n};\n\nexport const removeUserToken = () => {\n return Cookies.remove(KEY);\n};","import {\n createUser as ApiCreateUser,\n sendCodeAuth as ApiSendCodeAuth,\n verifyCodeAuth as ApiVerifyCodeAuth,\n authenticateUser as ApiAuthenticateUser,\n logoutUser as ApiLogoutUser\n} from 'api/speechrobot';\n\nimport {\n setUserToken,\n getUserToken,\n removeUserToken\n} from 'api/storage';\n\nconst SETUP_USER = 'auth/SETUP_USER';\n\nconst AUTHENTICATE = 'auth/AUTHENTICATE';\nconst AUTHENTICATE_SUCCESS = 'auth/AUTHENTICATE_SUCCESS';\nconst AUTHENTICATE_FAIL = 'auth/AUTHENTICATE_FAIL';\n\nconst LOGOUT = 'auth/LOGOUT';\nconst LOGOUT_SUCCESS = 'auth/LOGOUT_SUCCESS';\nconst LOGOUT_FAIL = 'auth/LOGOUT_FAIL';\n\nconst REGISTRATION = 'auth/REGISTRATION';\nconst REGISTRATION_SUCCESS = 'auth/REGISTRATION_SUCCESS';\nconst REGISTRATION_FAIL = 'auth/REGISTRATION_FAIL';\n\nconst SEND_CODE = 'auth/SEND_CODE';\nconst SEND_CODE_SUCCESS = 'auth/SEND_CODE_SUCCESS';\nconst SEND_CODE_FAIL = 'auth/SEND_CODE_FAIL';\n\nconst VERIFY_CODE = 'auth/VERIFY_CODE';\nconst VERIFY_CODE_SUCCESS = 'auth/VERIFY_CODE_SUCCESS';\nconst VERIFY_CODE_FAIL = 'auth/VERIFY_CODE_FAIL';\n\nexport const setup = () => {\n const token = getUserToken();\n return { type: SETUP_USER, payload: token };\n};\n\nexport const authenticate = (email, password) => {\n return (dispatch, _getState) => {\n dispatch({ type: AUTHENTICATE });\n return ApiAuthenticateUser(email, password)\n .then(response => {\n dispatch({ type: AUTHENTICATE_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: AUTHENTICATE_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const logout = () => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOGOUT });\n return ApiLogoutUser(token)\n .then(response => {\n dispatch({ type: LOGOUT_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOGOUT_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const createUser = (phone, email, comment) => {\n return (dispatch, _getState) => {\n dispatch({ type: REGISTRATION });\n ApiCreateUser(phone, email, comment)\n .then(response => {\n dispatch({ type: REGISTRATION_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: REGISTRATION_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const sendCode = (phone, email, comment) => {\n return (dispatch, _getState) => {\n dispatch({ type: SEND_CODE });\n ApiSendCodeAuth(phone, email, comment)\n .then(response => {\n dispatch({ type: SEND_CODE_SUCCESS });\n })\n .catch(error => {\n dispatch({ type: SEND_CODE_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const verifyCode = (phone, code) => {\n return (dispatch, _getState) => {\n dispatch({ type: VERIFY_CODE });\n ApiVerifyCodeAuth(phone, code)\n .then(response => {\n dispatch({ type: VERIFY_CODE_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: VERIFY_CODE_FAIL, payload: error.response.data });\n });\n };\n};\n\n// STATUS\n// auth_locked - в процеÑÑе логина\n// auth_success - уÑпешно залогинен\n// not_singed_in - не залогинен\n//\n// code_locked - в процеÑÑе отправки кода\n// code_success - отправлен\n// code_error - ошибка в отправке кода коде\n//\n// verify_error - ошибка при верификации номера\nconst INITIAL_STATE = {\n status: null,\n error: null,\n token: null\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case SETUP_USER: {\n const token = action.payload\n\n if (token) {\n return { ...state, status: 'auth_success', token: token };\n } else {\n return { ...state, status: 'not_singed_in' };\n }\n\n return state;\n }\n\n case REGISTRATION: {\n // status взÑÑ‚ÑŒ из SEND_CODE\n return { ...state, status: 'code_locked', error: null };\n }\n\n case REGISTRATION_SUCCESS: {\n const { token } = action.payload;\n setUserToken(token);\n return { ...state, status: 'auth_success', token: token };\n }\n\n case REGISTRATION_FAIL: {\n // status взÑÑ‚ÑŒ из SEND_CODE\n return { ...state, status: 'code_error', error: action.payload.error };\n }\n\n case SEND_CODE: {\n return { ...state, status: 'code_locked', error: null };\n }\n\n case SEND_CODE_SUCCESS: {\n return { ...state, status: 'code_success' };\n }\n\n case SEND_CODE_FAIL: {\n return { ...state, status: 'code_error', error: action.payload.error };\n }\n\n case VERIFY_CODE: {\n return { ...state, status: 'auth_locked', error: null };\n }\n\n case VERIFY_CODE_SUCCESS: {\n const { token } = action.payload;\n setUserToken(token);\n return { ...state, status: 'auth_success', token };\n }\n\n case VERIFY_CODE_FAIL: {\n return { ...state, status: 'verify_error', error: action.payload.error };\n }\n\n case AUTHENTICATE: {\n return { ...state, status: 'auth_locked', error: null };\n }\n\n case AUTHENTICATE_SUCCESS: {\n const { token } = action.payload;\n setUserToken(token);\n return { ...state, status: 'auth_success', token };\n }\n\n case AUTHENTICATE_FAIL: {\n return { ...state, status: 'not_singed_in', error: action.payload.error };\n }\n\n case LOGOUT: {\n removeUserToken();\n return { ...state, status: 'not_singed_in', token: null };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.auth;\n\nexport const getStatus = state => {\n return moduleState(state).status;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n\nexport const getToken = state => {\n return moduleState(state).token;\n};\n\nexport const isLoginStarted = state => {\n return getStatus(state) !== null;\n};\n\nexport const isLoginProcess = state => {\n return getStatus(state) === 'auth_locked';\n};\n\nexport const isLoginFinished = state => {\n const status = getStatus(state);\n return status === 'auth_success' || status === 'not_singed_in';\n};","import {\n loadAccount as ApiLoadAccount,\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_ACCOUNT = 'account/LOAD_ACCOUNT';\nconst LOAD_ACCOUNT_SUCCESS = 'account/LOAD_ACCOUNT_SUCCESS';\nconst LOAD_ACCOUNT_FAIL = 'account/LOAD_ACCOUNT_FAIL';\n\nexport const loadAccount = (id) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_ACCOUNT });\n return ApiLoadAccount(token, id)\n .then(response => {\n dispatch({ type: LOAD_ACCOUNT_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_ACCOUNT_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n item: null\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_ACCOUNT: {\n return { ...state, loading: true };\n }\n\n case LOAD_ACCOUNT_SUCCESS: {\n return { ...state, item: action.payload, loading: false };\n }\n\n case LOAD_ACCOUNT_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.account;\n\nexport const getAccount = state => {\n return moduleState(state).item;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadOperator as ApiLoadOperator,\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_OPERATOR = 'operator/LOAD_OPERATOR';\nconst LOAD_OPERATOR_SUCCESS = 'operator/LOAD_OPERATOR_SUCCESS';\nconst LOAD_OPERATOR_FAIL = 'operator/LOAD_OPERATOR_FAIL';\n\nexport const loadOperator = (id) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_OPERATOR });\n return ApiLoadOperator(token, id)\n .then(response => {\n dispatch({ type: LOAD_OPERATOR_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_OPERATOR_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n item: null\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_OPERATOR: {\n return { ...state, loading: true };\n }\n\n case LOAD_OPERATOR_SUCCESS: {\n return { ...state, item: action.payload, loading: false };\n }\n\n case LOAD_OPERATOR_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.operator;\n\nexport const getOperator = state => {\n return moduleState(state).item;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadOperators as ApiLoadOperators,\n createOperator as ApiCreateOperator,\n deleteOperator as ApiDeleteOperator\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_OPERATORS = 'operators/LOAD_OPERATORS';\nconst LOAD_OPERATORS_SUCCESS = 'operators/LOAD_OPERATORS_SUCCESS';\nconst LOAD_OPERATORS_FAIL = 'operators/LOAD_OPERATORS_FAIL';\n\nconst CREATE_OPERATOR = 'operators/CREATE_OPERATOR';\nconst CREATE_OPERATOR_SUCCESS = 'operators/CREATE_OPERATOR_SUCCESS';\nconst CREATE_OPERATOR_FAIL = 'operators/CREATE_OPERATOR_FAIL';\n\nconst DELETE_OPERATOR = 'operators/DELETE_OPERATOR';\nconst DELETE_OPERATOR_SUCCESS = 'operators/DELETE_OPERATOR_SUCCESS';\nconst DELETE_OPERATOR_FAIL = 'operators/DELETE_OPERATOR_FAIL';\n\nexport const loadOperators = () => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_OPERATORS });\n return ApiLoadOperators(token)\n .then(response => {\n dispatch({ type: LOAD_OPERATORS_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_OPERATORS_FAIL, payload: error });\n });\n };\n};\n\nexport const createOperator = (operator) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: CREATE_OPERATOR });\n return ApiCreateOperator(token, operator)\n .then(response => {\n dispatch({ type: CREATE_OPERATOR_SUCCESS, payload: response.data });\n return response.data;\n })\n .catch(error => {\n dispatch({ type: CREATE_OPERATOR_FAIL, payload: error.response.data });\n throw error.response.data.error;\n });\n };\n};\n\nexport const deleteOperator = (id) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({type: DELETE_OPERATOR});\n return ApiDeleteOperator(token, id)\n .then(response => {\n dispatch(loadOperators());\n dispatch({type: DELETE_OPERATOR_SUCCESS, payload: response.data});\n })\n .catch(error => {\n dispatch({type: DELETE_OPERATOR_FAIL, payload: error.response.data});\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n items: []\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_OPERATORS: {\n return { ...state, loading: true };\n }\n\n case LOAD_OPERATORS_SUCCESS: {\n return { ...state, items: action.payload, loading: false };\n }\n\n case LOAD_OPERATORS_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.operators;\n\nexport const getOperators = state => {\n return moduleState(state).items;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadScenarios as ApiLoadScenarios,\n createScenario as ApiCreateScenario,\n deleteScenario as ApiDeleteScenario,\n duplicateScenario as ApiDuplicateScenario\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_SCENARIOS = 'scenarios/LOAD_SCENARIOS';\nconst LOAD_SCENARIOS_SUCCESS = 'scenarios/LOAD_SCENARIOS_SUCCESS';\nconst LOAD_SCENARIOS_FAIL = 'scenarios/LOAD_SCENARIOS_FAIL';\n\nconst CREATE_SCENARIO = 'scenarios/CREATE_SCENARIO';\nconst CREATE_SCENARIO_SUCCESS = 'scenarios/CREATE_SCENARIO_SUCCESS';\nconst CREATE_SCENARIO_FAIL = 'scenarios/CREATE_SCENARIO_FAIL';\n\nconst DELETE_SCENARIO = 'scenarios/DELETE_SCENARIO';\nconst DELETE_SCENARIO_SUCCESS = 'scenarios/DELETE_SCENARIO_SUCCESS';\nconst DELETE_SCENARIO_FAIL = 'scenarios/DELETE_SCENARIO_FAIL';\n\nconst DUPLICATE_SCENARIO = 'scenarios/DUPLICATE_SCENARIO';\nconst DUPLICATE_SCENARIO_SUCCESS = 'scenarios/DUPLICATE_SCENARIO_SUCCESS';\nconst DUPLICATE_SCENARIO_FAIL = 'scenarios/DUPLICATE_SCENARIO_FAIL';\n\nexport const loadScenarios = () => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_SCENARIOS });\n return ApiLoadScenarios(token)\n .then(response => {\n dispatch({ type: LOAD_SCENARIOS_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_SCENARIOS_FAIL, payload: error });\n });\n };\n};\n\nexport const createScenario = (scenario) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: CREATE_SCENARIO });\n return ApiCreateScenario(token, scenario)\n .then(response => {\n dispatch({ type: CREATE_SCENARIO_SUCCESS, payload: response.data });\n\n return response.data;\n })\n .catch(error => {\n dispatch({ type: CREATE_SCENARIO_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const deleteScenario = (id) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: DELETE_SCENARIO });\n return ApiDeleteScenario(token, id)\n .then(response => {\n dispatch(loadScenarios());\n dispatch({ type: DELETE_SCENARIO_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: DELETE_SCENARIO_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const duplicateScenario = (id) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: DUPLICATE_SCENARIO });\n return ApiDuplicateScenario(token, id)\n .then(response => {\n dispatch(loadScenarios());\n dispatch({ type: DUPLICATE_SCENARIO_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: DUPLICATE_SCENARIO_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n items: []\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_SCENARIOS: {\n return { ...state, loading: true };\n }\n\n case LOAD_SCENARIOS_SUCCESS: {\n return { ...state, items: action.payload, loading: false };\n }\n\n case LOAD_SCENARIOS_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.scenarios;\n\nexport const getScenarios = state => {\n return moduleState(state).items;\n};\n\nexport const getIncomingScenarios = (state) => {\n return getScenarios(state).filter(scenario => scenario.scenario_type === 'incoming');\n};\n\nexport const getOutcomingScenarios = (state) => {\n return getScenarios(state).filter(scenario => scenario.scenario_type === 'outcoming');\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadScenario as ApiLoadScenario,\n updateScenario as ApiUpdateScenario\n} from 'api/speechrobot';\nimport { getToken } from \"./auth\";\n\nconst LOAD_SCENARIO = 'scenario/LOAD_SCENARIO';\nconst LOAD_SCENARIO_SUCCESS = 'scenario/LOAD_SCENARIO_SUCCESS';\nconst LOAD_SCENARIO_FAIL = 'scenario/LOAD_SCENARIO_FAIL';\n\nconst UPDATE_SCENARIO = 'scenario/UPDATE_SCENARIO';\nconst UPDATE_SCENARIO_SUCCESS = 'scenario/UPDATE_SCENARIO_SUCCESS';\nconst UPDATE_SCENARIO_FAIL = 'scenario/UPDATE_SCENARIO_FAIL';\n\nexport const loadScenario = (id) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_SCENARIO });\n return ApiLoadScenario(token, id)\n .then(response => {\n dispatch({ type: LOAD_SCENARIO_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_SCENARIO_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const updateScenario = (scenario) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: UPDATE_SCENARIO });\n return ApiUpdateScenario(token, scenario)\n .then(response => {\n dispatch({ type: UPDATE_SCENARIO_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: UPDATE_SCENARIO_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n item: null\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_SCENARIO: {\n return { ...state, loading: true, error: false, item: null };\n }\n\n case LOAD_SCENARIO_SUCCESS: {\n return { ...state, item: action.payload, loading: false };\n }\n\n case LOAD_SCENARIO_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n case UPDATE_SCENARIO: {\n return { ...state, loading: true, error: false };\n }\n\n case UPDATE_SCENARIO_SUCCESS: {\n return { ...state, item: action.payload, loading: false };\n }\n\n case UPDATE_SCENARIO_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.scenario;\n\nexport const getScenario = state => {\n return moduleState(state).item;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadCallLists as ApiLoadCallLists,\n deleteCallList as ApiDeleteCallList,\n importSpreadsheet as ApiImportSpreadsheet\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_CALL_LISTS = 'call_lists/LOAD_CALL_LISTS';\nconst LOAD_CALL_LISTS_SUCCESS = 'call_lists/LOAD_CALL_LISTS_SUCCESS';\nconst LOAD_CALL_LISTS_FAIL = 'call_lists/LOAD_CALL_LISTS_FAIL';\n\nconst DELETE_CALL_LIST = 'call_lists/DELETE_CALL_LIST';\nconst DELETE_CALL_LIST_SUCCESS = 'call_lists/DELETE_CALL_LIST_SUCCESS';\nconst DELETE_CALL_LIST_FAIL = 'call_lists/DELETE_CALL_LIST_FAIL';\n\nconst IMPORT_CALL_LIST = 'call_lists/IMPORT_CALL_LIST';\nconst IMPORT_CALL_LIST_SUCCESS = 'call_lists/IMPORT_CALL_LIST_SUCCESS';\nconst IMPORT_CALL_LIST_FAIL = 'call_lists/IMPORT_CALL_LIST_FAIL';\n\nexport const loadCallLists = (options) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_CALL_LISTS });\n return ApiLoadCallLists(token, options)\n .then(response => {\n dispatch({ type: LOAD_CALL_LISTS_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_CALL_LISTS_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const deleteCallList = (id) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: DELETE_CALL_LIST });\n return ApiDeleteCallList(token, id)\n .then(response => {\n dispatch(loadCallLists());\n dispatch({ type: DELETE_CALL_LIST_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: DELETE_CALL_LIST_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const importCallList = (options) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: IMPORT_CALL_LIST });\n return ApiImportSpreadsheet(token, options)\n .then(response => {\n dispatch({ type: IMPORT_CALL_LIST_SUCCESS, payload: response.data });\n return response.data;\n })\n .catch(error => {\n dispatch({ type: IMPORT_CALL_LIST_FAIL, payload: error.response.data });\n throw error;\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n page: 1,\n totalItems: 0,\n maxPages: 1,\n items: []\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_CALL_LISTS: {\n return { ...state, loading: true };\n }\n\n case LOAD_CALL_LISTS_SUCCESS: {\n return {\n ...state,\n items: action.payload.items,\n page: action.payload.page,\n totalItems: action.payload.total_items,\n maxPages: action.payload.max_pages,\n loading: false\n };\n }\n\n case LOAD_CALL_LISTS_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.call_lists;\n\nexport const getCallLists = state => {\n return moduleState(state).items;\n};\n\nexport const getPage = state => {\n return moduleState(state).page;\n};\n\nexport const getTotalCallLists = state => {\n return moduleState(state).totalItems;\n};\n\nexport const getMaxPages = state => {\n return moduleState(state).maxPages;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","class TinyEvents {\n constructor() {\n this.events = {};\n }\n\n emit (event, ...args) {\n (this.events[event] || []).forEach(handler => handler(...args));\n }\n\n on (event, handler) {\n this.events[event] = this.events[event] || [];\n this.events[event].push(handler);\n }\n\n once (event, handler) {\n const handlerWrap = (...args) => {\n this.off(event, handlerWrap);\n handler(...args);\n };\n\n this.on(event, handlerWrap);\n }\n\n off (event, handler) {\n this.events[event] = (this.events[event] || []).filter(i => i !== handler)\n }\n}\n\nexport default TinyEvents;\n\n\n","import actionCable from 'actioncable';\nimport TinyEvents from 'utils/TinyEvents';\n\nconst consumer = actionCable.createConsumer();\n\nclass CableSubscription {\n constructor(options) {\n const events = this._events = new TinyEvents();\n this.subsription = consumer.subscriptions.create(options, {\n connected() {\n events.emit('connected');\n },\n\n disconnected() {\n events.emit('disconnected');\n },\n\n received(data) {\n events.emit('received', data);\n }\n });\n }\n\n on(event, handler) {\n this._events.on(event, handler);\n }\n\n once(event, handler) {\n this._events.once(event, handler);\n }\n\n off(event, handler) {\n this._events.off(event, handler);\n }\n\n destroy() {\n consumer.subscriptions.remove(this.subsription);\n }\n}\n\nexport default CableSubscription;\n","import {\n loadCallList as ApiLoadCallList,\n startCallList as ApiStartCallList,\n stopCallList as ApiStopCallList,\n resumeCallList as ApiResumeCallList,\n} from 'api/speechrobot';\nimport CableSubscription from 'api/CableSubscription';\nimport { getToken } from './auth';\n\nconst LOAD_CALL_LIST = 'call_list/LOAD_CALL_LIST';\nconst LOAD_CALL_LIST_SUCCESS = 'call_list/LOAD_CALL_LIST_SUCCESS';\nconst LOAD_CALL_LIST_FAIL = 'call_list/LOAD_CALL_LIST_FAIL';\n\nconst UPDATE_CALL_LIST = 'call_list/UPDATE_CALL_LIST';\n\nvar subscription;\n\nexport const subscribeCallList = () => {\n return (dispatch, getState) => {\n const callList = getCallList(getState());\n subscription = new CableSubscription({ channel: 'CallListStatsChannel', uid: callList.id });\n subscription.on('received', (data) => {\n switch (data.type) {\n case 'update_stats': {\n dispatch({ type: UPDATE_CALL_LIST, payload: data });\n break;\n }\n\n default: {\n\n }\n }\n });\n };\n};\n\nexport const unsubscribeCallList = () => {\n if (subscription) {\n subscription.destroy();\n subscription = null;\n }\n\n // hack!\n return () => {};\n};\n\nexport const loadCallList = (id) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_CALL_LIST });\n return ApiLoadCallList(token, id)\n .then(response => {\n dispatch({ type: LOAD_CALL_LIST_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_CALL_LIST_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const startCallList = () => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n const callList = getCallList(getState());\n dispatch({ type: LOAD_CALL_LIST });\n return ApiStartCallList(token, callList.id)\n .then(response => {\n dispatch({ type: LOAD_CALL_LIST_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_CALL_LIST_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const stopCallList = () => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n const callList = getCallList(getState());\n dispatch({ type: LOAD_CALL_LIST });\n return ApiStopCallList(token, callList.id)\n .then(response => {\n dispatch({ type: LOAD_CALL_LIST_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_CALL_LIST_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const resumeCallList = () => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n const callList = getCallList(getState());\n dispatch({ type: LOAD_CALL_LIST });\n return ApiResumeCallList(token, callList.id)\n .then(response => {\n dispatch({ type: LOAD_CALL_LIST_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_CALL_LIST_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n item: null\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_CALL_LIST: {\n return { ...state, loading: true, error: false, item: null };\n }\n\n case LOAD_CALL_LIST_SUCCESS: {\n return { ...state, item: action.payload, loading: false };\n }\n\n case LOAD_CALL_LIST_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n case UPDATE_CALL_LIST: {\n return { ...state, item: action.payload.data };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.call_list;\n\nexport const getCallList = state => {\n return moduleState(state).item;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadTasks as ApiLoadTasks,\n cancelTask as ApiCancelTask\n} from 'api/speechrobot';\nimport CableSubscription from 'api/CableSubscription';\nimport { getToken } from './auth';\n\nconst LOAD_TASKS = 'tasks/LOAD_TASKS';\nconst LOAD_TASKS_SUCCESS = 'tasks/LOAD_TASKS_SUCCESS';\nconst LOAD_TASKS_FAIL = 'tasks/LOAD_TASKS_FAIL';\n\nconst CANCEL_TASK = 'tasks/CANCEL_TASK';\nconst CANCEL_TASK_SUCCESS = 'tasks/CANCEL_TASK_SUCCESS';\nconst CANCEL_TASK_FAIL = 'tasks/CANCEL_TASK_FAIL';\n\nconst UPDATE_TASK = 'tasks/UPDATE_TASK';\n\nvar subscription;\n\nexport const subscribeTasks = (callListId) => {\n return (dispatch, getState) => {\n subscription = new CableSubscription({ channel: 'CallListTasksChannel', uid: callListId });\n subscription.on('received', (data) => {\n switch (data.type) {\n case 'update_task': {\n dispatch({ type: UPDATE_TASK, payload: data });\n break;\n }\n\n default: {\n\n }\n }\n });\n };\n};\n\nexport const unsubscribeTasks = () => {\n if (subscription) {\n subscription.destroy();\n subscription = null;\n }\n\n // hack!\n return () => {};\n};\n\nexport const loadTasks = (callListId, page) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_TASKS });\n return ApiLoadTasks(token, callListId, page)\n .then(response => {\n dispatch({ type: LOAD_TASKS_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_TASKS_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const cancelTask = (id) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: CANCEL_TASK });\n return ApiCancelTask(token, id)\n .then(response => {\n dispatch({ type: CANCEL_TASK_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: CANCEL_TASK_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n page: 1,\n totalItems: 0,\n maxPages: 1,\n items: []\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_TASKS: {\n return { ...state, loading: true };\n }\n\n case LOAD_TASKS_SUCCESS: {\n return {\n ...state,\n items: action.payload.items,\n page: action.payload.page,\n totalItems: action.payload.total_items,\n maxPages: action.payload.max_pages,\n loading: false\n };\n }\n\n case LOAD_TASKS_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n case UPDATE_TASK: {\n const newItem = action.payload.data;\n const items = state.items.map((item) => {\n if (item.id === newItem.id) {\n return newItem;\n } else {\n return item;\n }\n });\n\n return {\n ...state,\n items: items,\n };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.tasks;\n\nexport const getTasks = state => {\n return moduleState(state).items;\n};\n\nexport const getPage = state => {\n return moduleState(state).page;\n};\n\nexport const getTotalTasks = state => {\n return moduleState(state).totalItems;\n};\n\nexport const getMaxPages = state => {\n return moduleState(state).maxPages;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n appendTaskCallList as ApiAppendTaskCallList\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst APPEND_TASK = 'task/APPEND_TASK';\nconst APPEND_TASK_SUCCESS = 'task/APPEND_TASK_SUCCESS';\nconst APPEND_TASK_FAIL = 'task/APPEND_TASK_FAIL';\n\nconst RESET_TASK = 'task/RESET_TASK';\n\nexport const appendTask = (call_list_id, data) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: APPEND_TASK });\n return ApiAppendTaskCallList(token, call_list_id, data)\n .then(response => {\n dispatch({ type: APPEND_TASK_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: APPEND_TASK_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const resetTask = () => {\n return { type: RESET_TASK };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n item: null\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case APPEND_TASK: {\n return { ...state, loading: true, item: null };\n }\n\n case APPEND_TASK_SUCCESS: {\n return { ...state, item: action.payload, loading: false };\n }\n\n case APPEND_TASK_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n case RESET_TASK: {\n return { ...state, error: false, loading: false, item: null };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.task;\n\nexport const getTask = state => {\n return moduleState(state).item;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadPhoneNumbers as ApiLoadPhoneNumbers\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_PHONE_NUMBERS = 'phone_numbers/LOAD_PHONE_NUMBERS';\nconst LOAD_PHONE_NUMBERS_SUCCESS = 'phone_numbers/LOAD_PHONE_NUMBERS_SUCCESS';\nconst LOAD_PHONE_NUMBERS_FAIL = 'phone_numbers/LOAD_PHONE_NUMBERS_FAIL';\n\nexport const loadPhoneNumbers = () => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_PHONE_NUMBERS });\n return ApiLoadPhoneNumbers(token)\n .then(response => {\n dispatch({ type: LOAD_PHONE_NUMBERS_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_PHONE_NUMBERS_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n items: []\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_PHONE_NUMBERS: {\n return { ...state, loading: true };\n }\n\n case LOAD_PHONE_NUMBERS_SUCCESS: {\n return { ...state, items: action.payload, loading: false };\n }\n\n case LOAD_PHONE_NUMBERS_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.phone_numbers;\n\nexport const getPhoneNumbers = state => {\n return moduleState(state).items;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n requestPhoneNumberVerifyCode as ApiRequestPhoneNumberVerifyCode,\n activatePhoneNumber as ApiActivatePhoneNumber\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst REQUEST_VERIFY_CODE = 'phone_number/REQUEST_VERIFY_CODE';\nconst REQUEST_VERIFY_CODE_SUCCESS = 'phone_number/REQUEST_VERIFY_CODE_SUCCESS';\nconst REQUEST_VERIFY_CODE_FAIL = 'phone_number/REQUEST_VERIFY_CODE_FAIL';\n\nconst ACTIVATE = 'phone_number/ACTIVATE';\nconst ACTIVATE_SUCCESS = 'phone_number/ACTIVATE_SUCCESS';\nconst ACTIVATE_FAIL = 'phone_number/ACTIVATE_FAIL';\n\nconst RESET_ACTIVATION = 'phone_number/RESET_ACTIVATION';\n\nexport const requestPhoneNumberVerifyCode = (phoneNumber) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: REQUEST_VERIFY_CODE });\n return ApiRequestPhoneNumberVerifyCode(token, phoneNumber)\n .then(response => {\n dispatch({ type: REQUEST_VERIFY_CODE_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: REQUEST_VERIFY_CODE_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const activatePhoneNumber = (phoneNumber, code) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: ACTIVATE });\n return ApiActivatePhoneNumber(token, phoneNumber, code)\n .then(response => {\n dispatch({ type: ACTIVATE_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: ACTIVATE_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const resetPhoneNumberActivation = () => {\n return { type: RESET_ACTIVATION };\n};\n\n// null\n// code_requested\n// code_sent\n// code_error\n\n// activate_requested\n// activate_successful\n// activate_failed\nconst INITIAL_STATE = {\n status: null,\n error: null\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case REQUEST_VERIFY_CODE: {\n return { ...state, status: 'code_requested', error: null };\n }\n\n case REQUEST_VERIFY_CODE_SUCCESS: {\n return { ...state, status: 'code_sent' };\n }\n\n case REQUEST_VERIFY_CODE_FAIL: {\n return { ...state, status: 'code_error', error: action.payload.error };\n }\n\n case ACTIVATE: {\n return { ...state, status: 'activate_requested', error: null };\n }\n\n case ACTIVATE_SUCCESS: {\n return { ...state, status: 'activate_successful' };\n }\n\n case ACTIVATE_FAIL: {\n return { ...state, status: 'activate_failed', error: action.payload.error };\n }\n\n case RESET_ACTIVATION: {\n return { ...state, status: null, error: null };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.phone_number;\n\nexport const getStatus = state => {\n return moduleState(state).status;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadCalls as ApiLoadCalls,\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_CALLS = 'calls/LOAD_CALLS';\nconst LOAD_CALLS_SUCCESS = 'calls/LOAD_CALLS_SUCCESS';\nconst LOAD_CALLS_FAIL = 'calls/LOAD_CALLS_FAIL';\n\nexport const loadCalls = (options) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_CALLS });\n return ApiLoadCalls(token, options)\n .then(response => {\n dispatch({ type: LOAD_CALLS_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_CALLS_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n page: 1,\n totalItems: 0,\n maxPages: 1,\n items: []\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_CALLS: {\n return { ...state, loading: true };\n }\n\n case LOAD_CALLS_SUCCESS: {\n return {\n ...state,\n items: action.payload.items,\n page: action.payload.page,\n totalItems: action.payload.total_items,\n maxPages: action.payload.max_pages,\n loading: false\n };\n }\n\n case LOAD_CALLS_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.calls;\n\nexport const getCalls = state => {\n return moduleState(state).items;\n};\n\nexport const getPage = state => {\n return moduleState(state).page;\n};\n\nexport const getTotalCalls = state => {\n return moduleState(state).totalItems;\n};\n\nexport const getMaxPages = state => {\n return moduleState(state).maxPages;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadCallsChart as ApiLoadCallsChart,\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_CALLS_CHART = 'calls_chart/LOAD_CALLS_CHART';\nconst LOAD_CALLS_CHART_SUCCESS = 'calls_chart/LOAD_CALLS_CHART_SUCCESS';\nconst LOAD_CALLS_CHART_FAIL = 'calls_chart/LOAD_CALLS_CHART_FAIL';\n\nexport const loadCallsChart = (options) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_CALLS_CHART });\n return ApiLoadCallsChart(token, options)\n .then(response => {\n dispatch({ type: LOAD_CALLS_CHART_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_CALLS_CHART_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n item: null\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_CALLS_CHART: {\n return { ...state, loading: true, error: false, item: null };\n }\n\n case LOAD_CALLS_CHART_SUCCESS: {\n return { ...state, item: action.payload, loading: false };\n }\n\n case LOAD_CALLS_CHART_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.calls_chart;\n\nexport const getCallsChart = state => {\n return moduleState(state).item;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadAudios as ApiLoadAudios\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_AUDIOS = 'audios/LOAD_AUDIOS';\nconst LOAD_AUDIOS_SUCCESS = 'audios/LOAD_AUDIOS_SUCCESS';\nconst LOAD_AUDIOS_FAIL = 'audios/LOAD_AUDIOS_FAIL';\n\nexport const loadAudios = () => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_AUDIOS });\n return ApiLoadAudios(token)\n .then(response => {\n dispatch({ type: LOAD_AUDIOS_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_AUDIOS_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n items: []\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_AUDIOS: {\n return { ...state, loading: true };\n }\n\n case LOAD_AUDIOS_SUCCESS: {\n return { ...state, items: action.payload, loading: false };\n }\n\n case LOAD_AUDIOS_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.audios;\n\nexport const getAudios = state => {\n return moduleState(state).items;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n uploadAudio as ApiUploadAudio\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst UPLOAD_AUDIO = 'audio/UPLOAD_AUDIO';\nconst UPLOAD_AUDIO_SUCCESS = 'audio/UPLOAD_AUDIO_SUCCESS';\nconst UPLOAD_AUDIO_FAIL = 'audio/UPLOAD_AUDIO_FAIL';\n\nconst RESET_AUDIO = 'audio/RESET_AUDIO';\n\nexport const uploadAudio = (file, name) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: UPLOAD_AUDIO });\n return ApiUploadAudio(token, file, name)\n .then(response => {\n dispatch({ type: UPLOAD_AUDIO_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: UPLOAD_AUDIO_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const resetAudio = () => {\n return { type: RESET_AUDIO };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n item: null\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case UPLOAD_AUDIO: {\n return { ...state, loading: true, item: null };\n }\n\n case UPLOAD_AUDIO_SUCCESS: {\n return { ...state, item: action.payload, loading: false };\n }\n\n case UPLOAD_AUDIO_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n case RESET_AUDIO: {\n return { ...state, error: false, loading: false, item: null };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.audio;\n\nexport const getAudio = state => {\n return moduleState(state).item;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadPayments as ApiLoadPayments,\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_PAYMENTS = 'payments/LOAD_PAYMENTS';\nconst LOAD_PAYMENTS_SUCCESS = 'payments/LOAD_PAYMENTS_SUCCESS';\nconst LOAD_PAYMENTS_FAIL = 'payments/LOAD_PAYMENTS_FAIL';\n\nexport const loadPayments = (from, to) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_PAYMENTS });\n return ApiLoadPayments(token, from, to)\n .then(response => {\n dispatch({ type: LOAD_PAYMENTS_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_PAYMENTS_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n items: []\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_PAYMENTS: {\n return { ...state, loading: true };\n }\n\n case LOAD_PAYMENTS_SUCCESS: {\n return { ...state, items: action.payload, loading: false };\n }\n\n case LOAD_PAYMENTS_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.payments;\n\nexport const getPayments = state => {\n return moduleState(state).items;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","const INITIAL_STATE = {\n items: [\n {\n id: 1,\n name: 'ПуÑтой иÑходÑщий звонок',\n tag: 'default',\n scenario_type: 'outcoming',\n description: 'Ð”Ð»Ñ ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ Ð¾Ð±Ð·Ð²Ð¾Ð½Ð¾Ð² по базе.',\n serialized_model: JSON.parse(\"{\\\"id\\\":\\\"f6ba910c-f7df-41b8-8452-54d15b84df42\\\",\\\"zoom\\\":88.00000000000013,\\\"links\\\":[],\\\"nodes\\\":[{\\\"x\\\":100,\\\"y\\\":100,\\\"id\\\":\\\"233f9dbf-cbc7-48c3-ada4-2f042beb63e2\\\",\\\"name\\\":\\\"ИÑходÑщий звонок\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"44dd6fb0-6da0-4317-b6d5-8f52ced7e0c3\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[],\\\"selected\\\":false,\\\"parentNode\\\":\\\"233f9dbf-cbc7-48c3-ada4-2f042beb63e2\\\"}],\\\"config\\\":{\\\"static\\\":true,\\\"blockType\\\":\\\"outcomingcall\\\",\\\"voicemailDetector\\\":true,\\\"maxDuration\\\":3600,\\\"phoneNumber\\\":\\\"{{phone_number}}\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":98.61280740180584,\\\"y\\\":227.03539164224992,\\\"id\\\":\\\"ce04e342-84e2-48d0-97e9-08fd62a2b44a\\\",\\\"name\\\":\\\"Глобальный контекÑÑ‚\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[],\\\"config\\\":{\\\"ports\\\":[],\\\"static\\\":true,\\\"blockType\\\":\\\"globalcontext\\\"},\\\"extras\\\":{},\\\"selected\\\":false}],\\\"offsetX\\\":-28.695019847959657,\\\"offsetY\\\":-23.077866820122836,\\\"gridSize\\\":0}\"),\n },\n {\n id: 2,\n name: 'ПуÑтой входÑщий звонок',\n tag: 'default',\n scenario_type: 'incoming',\n description: 'Ð”Ð»Ñ ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ Ð£Ð¼Ð½Ð¾Ð³Ð¾ IVR. Перенаправьте звонки колл-центра на SIP-номер ÑценариÑ.',\n serialized_model: JSON.parse(\"{\\\"id\\\":\\\"f6ba910c-f7df-41b8-8452-54d15b84df42\\\",\\\"zoom\\\":82.83333333333336,\\\"links\\\":[],\\\"nodes\\\":[{\\\"x\\\":100,\\\"y\\\":100,\\\"id\\\":\\\"233f9dbf-cbc7-48c3-ada4-2f042beb63e2\\\",\\\"name\\\":\\\"ВходÑщий звонок\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"44dd6fb0-6da0-4317-b6d5-8f52ced7e0c3\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[],\\\"selected\\\":false,\\\"parentNode\\\":\\\"233f9dbf-cbc7-48c3-ada4-2f042beb63e2\\\"}],\\\"config\\\":{\\\"static\\\":true,\\\"blockType\\\":\\\"incomingcall\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":105.28072220350829,\\\"y\\\":259.11490125673254,\\\"id\\\":\\\"89370991-1879-4aaf-b09b-1b2edb86a8a9\\\",\\\"name\\\":\\\"Глобальный контекÑÑ‚\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[],\\\"config\\\":{\\\"ports\\\":[],\\\"static\\\":true,\\\"blockType\\\":\\\"globalcontext\\\"},\\\"extras\\\":{},\\\"selected\\\":false}],\\\"offsetX\\\":-35.38980976713117,\\\"offsetY\\\":-42.99288330704966,\\\"gridSize\\\":0}\")\n },\n {\n id: 3,\n name: 'Ð˜Ð½Ð´ÐµÐºÑ NPS Ñ Ð¾Ñ‚Ð²ÐµÑ‚Ð¾Ð¼ голоÑом (иÑходÑщий)',\n tag: 'default',\n scenario_type: 'outcoming',\n description: 'Клиент отвечает на Ð²Ð¾Ð¿Ñ€Ð¾Ñ Ð³Ð¾Ð»Ð¾Ñом. ÐžÐ¿Ñ€Ð¾Ñ Ð¸Ñпользуют Ð´Ð»Ñ Ð¾Ñ†ÐµÐ½ÐºÐ¸ качеÑтва обÑлуживаниÑ.',\n serialized_model: JSON.parse(\"{\\\"id\\\":\\\"f6ba910c-f7df-41b8-8452-54d15b84df42\\\",\\\"zoom\\\":63.96666666666659,\\\"links\\\":[{\\\"id\\\":\\\"b3736a80-06e3-4b7b-b994-5231a502f6c3\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":185.00002212959646,\\\"y\\\":222.60934607427265,\\\"id\\\":\\\"35cce16d-4043-4b9f-a84e-e369a647183b\\\",\\\"selected\\\":false},{\\\"x\\\":245.76565679853218,\\\"y\\\":224.07810192652317,\\\"id\\\":\\\"a416e5a5-5c9d-4147-9195-42c9da569fe1\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"233f9dbf-cbc7-48c3-ada4-2f042beb63e2\\\",\\\"target\\\":\\\"8fa8201e-3e7b-412d-b941-ce22c0cde599\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"44dd6fb0-6da0-4317-b6d5-8f52ced7e0c3\\\",\\\"targetPort\\\":\\\"73d2f0ca-70e2-4e49-9c7e-b3d23a5d28f2\\\"},{\\\"id\\\":\\\"db6aca57-c886-47c6-8805-3430dcbdf7d0\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1044.5937499928236,\\\"y\\\":224.67188271444982,\\\"id\\\":\\\"432d3821-803b-4538-9036-6f9a0ae1ff0f\\\",\\\"selected\\\":false},{\\\"x\\\":1112.7968635427685,\\\"y\\\":228.14062927943323,\\\"id\\\":\\\"865f0b62-3af8-48c8-bb01-1c3a2ca9f63c\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"f778348e-3864-40a5-8289-c7a76cffaf7d\\\",\\\"target\\\":\\\"766eab97-cbd3-413f-909d-2c269fa84b25\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"f7c4192b-4acb-4bcf-b30b-a8323bdc38d9\\\",\\\"targetPort\\\":\\\"bf63b525-2eac-4da4-bca9-608193b09b10\\\"},{\\\"id\\\":\\\"17106061-fd43-4488-9c1d-2251ed860586\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1266.5937209860172,\\\"y\\\":228.14062927943323,\\\"id\\\":\\\"3698dc9c-8e5e-4d6f-965e-882d9824348b\\\",\\\"selected\\\":false},{\\\"x\\\":1336.6405797014938,\\\"y\\\":225.23436668437233,\\\"id\\\":\\\"fd8e1812-4746-40e3-8400-c49a2a3ced49\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"766eab97-cbd3-413f-909d-2c269fa84b25\\\",\\\"target\\\":\\\"79452d17-f464-4dd3-ab70-3043e0f64ed9\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"53b2d1e0-56fd-4c9b-9894-7c239fbcf3c1\\\",\\\"targetPort\\\":\\\"cf2b00e4-4dfb-4c3b-b0e2-79d18df63f88\\\"},{\\\"id\\\":\\\"5fd1bc99-1ce3-4b36-b348-34d0338f4128\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":798.4218533649411,\\\"y\\\":225.51560866933357,\\\"id\\\":\\\"517d3add-e5f2-43a4-83da-8a8e38868d20\\\",\\\"selected\\\":false},{\\\"x\\\":890.7968925495751,\\\"y\\\":224.67188271444982,\\\"id\\\":\\\"2a12b58a-2334-4988-9132-5b02dd402608\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d42e50c7-5750-487d-b62c-39c82e9142b4\\\",\\\"target\\\":\\\"f778348e-3864-40a5-8289-c7a76cffaf7d\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"58c13f76-cb5a-4265-a316-286253f2d2cf\\\",\\\"targetPort\\\":\\\"7cb00877-2887-44fa-8798-1640cb8613c4\\\"},{\\\"id\\\":\\\"1df895d2-0e15-4f50-bb04-5978b386d7f5\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1450.843813604243,\\\"y\\\":225.23436668437233,\\\"id\\\":\\\"b78339e4-546f-4ac2-bfa2-6695047eb911\\\",\\\"selected\\\":false},{\\\"x\\\":1529.3906209216934,\\\"y\\\":238.53126827394536,\\\"id\\\":\\\"3b1abc03-17f7-4268-bf09-f9ba8bd4a0f7\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"79452d17-f464-4dd3-ab70-3043e0f64ed9\\\",\\\"target\\\":\\\"3964c840-1e97-4efa-8208-5a22c300b0c5\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"9fd1705b-0499-4457-9846-b3455c685a92\\\",\\\"targetPort\\\":\\\"f97b5f7c-08aa-4013-abfa-a75370395fe1\\\"},{\\\"id\\\":\\\"bc7b3697-34c7-439a-a325-bf3eeec59110\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1043.8749727671366,\\\"y\\\":307.3593640126928,\\\"id\\\":\\\"ebc43dd6-ae13-407f-848a-b5e5efb990cc\\\",\\\"selected\\\":false},{\\\"x\\\":1117.1718342815159,\\\"y\\\":304.20310854211084,\\\"id\\\":\\\"32f2a40a-cda4-4606-b45f-7e3435096cfd\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"e98d0ec5-0d76-4ad8-8a03-ef5ea2655f81\\\",\\\"target\\\":\\\"dc44c612-2b01-4a27-b318-3e0ec4806762\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"efb0f739-d65b-4520-ab15-551fa92e7f22\\\",\\\"targetPort\\\":\\\"f4916c2b-b976-48e0-b7a2-2d512045addd\\\"},{\\\"id\\\":\\\"a2bb98ae-1913-4ca7-8543-3200cf3c1818\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1270.9687871418926,\\\"y\\\":304.20310854211084,\\\"id\\\":\\\"6beae4f6-d696-4f4b-bd8a-c552ab18f99f\\\",\\\"selected\\\":false},{\\\"x\\\":1332.812444523667,\\\"y\\\":296.35939123838,\\\"id\\\":\\\"f0bf0bb5-4da2-4e34-85de-efc6236bd742\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"dc44c612-2b01-4a27-b318-3e0ec4806762\\\",\\\"target\\\":\\\"588b9f2d-a842-47b2-9fe1-542b03e3d815\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"fd7404f3-025d-4173-b0e8-cb041894b5a8\\\",\\\"targetPort\\\":\\\"07e2a890-ea60-4777-b59e-69422836abba\\\"},{\\\"id\\\":\\\"840a832b-2f7b-4634-a4d0-71d9ba3e99ed\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1447.015678426416,\\\"y\\\":296.35939123838,\\\"id\\\":\\\"e9c5b98f-eb67-4990-a4cb-934f8f1bb678\\\",\\\"selected\\\":false},{\\\"x\\\":1529.3906209216934,\\\"y\\\":306.79688004277034,\\\"id\\\":\\\"ae8a8f99-5967-4942-95ce-025f616c5fbd\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"588b9f2d-a842-47b2-9fe1-542b03e3d815\\\",\\\"target\\\":\\\"cb47632b-3f18-4bd2-8bd1-b8810ce135fc\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"b1c69183-2f1f-40cf-b745-05e643bb3345\\\",\\\"targetPort\\\":\\\"007f90f3-983a-4bc7-b5be-ecc2c5ca093c\\\"},{\\\"id\\\":\\\"fc864887-55bb-4598-b013-29c30af63db7\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":796.3437637328899,\\\"y\\\":347.1406253355254,\\\"id\\\":\\\"cf232633-a048-4827-9495-82839c3763c8\\\",\\\"selected\\\":false},{\\\"x\\\":890.0312655140098,\\\"y\\\":383.46874079381263,\\\"id\\\":\\\"c0110f2c-c7de-4e96-93fe-ae44e7a7af89\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"bd2def24-a5a7-4dc6-bcf3-60e44e8da5a7\\\",\\\"target\\\":\\\"893a6136-e17a-480c-b5fb-d2c6b3d11de0\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"4564dc1c-5531-476c-b678-f1f0116300f9\\\",\\\"targetPort\\\":\\\"35e59c5f-dabb-4710-997d-c1bccd00c8b7\\\"},{\\\"id\\\":\\\"3d1015de-c97a-4929-8e41-236d88af55b2\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1683.18757378207,\\\"y\\\":238.53126827394536,\\\"id\\\":\\\"3f517041-bb41-40d4-8768-7dfca9c2292c\\\",\\\"selected\\\":false},{\\\"x\\\":1875.9219665932676,\\\"y\\\":295.4062218376098,\\\"id\\\":\\\"caa73ca2-0bfe-418c-bb65-7583681dab0b\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"3964c840-1e97-4efa-8208-5a22c300b0c5\\\",\\\"target\\\":\\\"e367c35a-73a2-4dce-bcb4-fb77e0eeeae5\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"72563a48-ba7f-40f5-a79f-c36a518689fe\\\",\\\"targetPort\\\":\\\"ebe594bd-4b25-47dd-92e2-9ac4b394abae\\\"},{\\\"id\\\":\\\"f4b02bfc-86c8-4306-817a-d2227c96514e\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1683.18757378207,\\\"y\\\":306.79688004277034,\\\"id\\\":\\\"7b104c3d-3148-41fe-ba3c-df48607e54c0\\\",\\\"selected\\\":false},{\\\"x\\\":1875.9219665932676,\\\"y\\\":295.4062218376098,\\\"id\\\":\\\"745993da-23d2-4283-aa5a-f677fafaf766\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"cb47632b-3f18-4bd2-8bd1-b8810ce135fc\\\",\\\"target\\\":\\\"e367c35a-73a2-4dce-bcb4-fb77e0eeeae5\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"d9a20132-d2f5-4140-b5ec-d6ff0bf90f9b\\\",\\\"targetPort\\\":\\\"ebe594bd-4b25-47dd-92e2-9ac4b394abae\\\"},{\\\"id\\\":\\\"4a757165-4890-418d-b6b6-a159a5afe146\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":802.9374689504511,\\\"y\\\":160.23435841488782,\\\"id\\\":\\\"d881dc77-36ac-4009-8ba7-bbf65e3c6dc7\\\",\\\"selected\\\":false},{\\\"x\\\":887.2812484661495,\\\"y\\\":147.53123761324144,\\\"id\\\":\\\"46e8acad-232a-4d28-8423-118ac59bfece\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"f4801dc7-2dc9-48f6-b5ac-cf4aeb0d0874\\\",\\\"target\\\":\\\"5709cbc0-864a-426f-b1c6-277ec2c44bdc\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"73baeb76-3579-47e0-84ef-4478c80b1b9a\\\",\\\"targetPort\\\":\\\"ce4d1d39-99c1-45a8-a6c9-b27032d59527\\\"},{\\\"id\\\":\\\"a5062793-f1cb-4303-872c-c4a5746a86d6\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1041.0781059093981,\\\"y\\\":147.53123761324144,\\\"id\\\":\\\"1dc747a1-2764-44a0-bfa1-65ce4938d2bc\\\",\\\"selected\\\":false},{\\\"x\\\":1123.296850566039,\\\"y\\\":148.4218610865674,\\\"id\\\":\\\"769578c4-2da9-4625-8f3c-8cf74b876fbe\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"5709cbc0-864a-426f-b1c6-277ec2c44bdc\\\",\\\"target\\\":\\\"41fc6427-fcd1-4b93-ab19-550717718274\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"d634df15-f74f-45ae-9f33-9a554a9ed0f8\\\",\\\"targetPort\\\":\\\"13ddb7de-9cac-43fe-a23b-d2ea5e67dacd\\\"},{\\\"id\\\":\\\"895b39d4-96ee-4b97-93ed-5aa61152f71f\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":798.8436924881009,\\\"y\\\":288.98436286768725,\\\"id\\\":\\\"fb9c071c-8e60-4f84-ae4c-a4a9d59d006c\\\",\\\"selected\\\":false},{\\\"x\\\":890.0781153238879,\\\"y\\\":307.3593640126928,\\\"id\\\":\\\"1f059be9-551b-4a8d-98e6-10789b20f275\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"fc43273f-bb9e-47dd-968a-99eeca029f43\\\",\\\"target\\\":\\\"e98d0ec5-0d76-4ad8-8a03-ef5ea2655f81\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"db30e149-4069-4551-9ccf-3b4247cd4acd\\\",\\\"targetPort\\\":\\\"556cc858-fb94-4710-aed0-89c4be638abe\\\"},{\\\"id\\\":\\\"e6854eba-797c-4120-b86b-78297e680d9b\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1043.8281229572583,\\\"y\\\":383.46874079381263,\\\"id\\\":\\\"2b6c655f-0245-4e4b-b7c2-f2b71f865c50\\\",\\\"selected\\\":false},{\\\"x\\\":1137.046840388212,\\\"y\\\":389.8906474722992,\\\"id\\\":\\\"83d8e86a-ebb8-4cd6-9296-4c5f35bbea9b\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"893a6136-e17a-480c-b5fb-d2c6b3d11de0\\\",\\\"target\\\":\\\"db33b411-964d-4a8b-b7f4-d738f35b31b2\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"3612a2e7-cb17-4db8-bfbe-fbb51249ba68\\\",\\\"targetPort\\\":\\\"46181f40-8081-4f08-8302-97d09f4dd682\\\"},{\\\"id\\\":\\\"b7c2d993-82a0-4ac9-bd21-728c4d6e20ce\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":359.968747575589,\\\"y\\\":224.07810192652317,\\\"id\\\":\\\"6251203b-4ad8-4064-a14e-fdf49adc5fef\\\",\\\"selected\\\":false},{\\\"x\\\":453.57810272882654,\\\"y\\\":227.40625135330797,\\\"id\\\":\\\"b4d45e2e-437c-4bf8-8537-b08c8c2aae84\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"8fa8201e-3e7b-412d-b941-ce22c0cde599\\\",\\\"target\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"d06b690b-c3fb-4c3b-86e8-ebb45dee272e\\\",\\\"targetPort\\\":\\\"663511ca-7436-4d46-97c2-b6bb5f9d6d48\\\"},{\\\"id\\\":\\\"46e0c275-60eb-4cee-a61f-153326204ec8\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":576.0000432485879,\\\"y\\\":227.40625135330797,\\\"id\\\":\\\"aed63f43-7927-4434-ac77-7273cc94291f\\\",\\\"selected\\\":false},{\\\"x\\\":688.7344258819583,\\\"y\\\":160.23435841488782,\\\"id\\\":\\\"5e5bc130-7793-46a6-a17b-c219838befcf\\\",\\\"selected\\\":true}],\\\"source\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"target\\\":\\\"f4801dc7-2dc9-48f6-b5ac-cf4aeb0d0874\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"a297fadf-a7f1-41cc-936c-0d599c9a9c9e\\\",\\\"targetPort\\\":\\\"21f98af4-e0fb-4ee3-bd39-7e8b94d13238\\\"},{\\\"id\\\":\\\"200286b9-6823-4b57-b8ef-e15b0190a407\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":576.0000432485879,\\\"y\\\":243.40622476373497,\\\"id\\\":\\\"588843ca-9531-4fd9-a0df-af4926a4ebdb\\\",\\\"selected\\\":false},{\\\"x\\\":684.2187148793201,\\\"y\\\":225.51560866933357,\\\"id\\\":\\\"13374b96-a5d8-41cb-bf8b-1212c7b54d20\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"target\\\":\\\"d42e50c7-5750-487d-b62c-39c82e9142b4\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"d3594b2a-9592-4ea2-a2af-11bd497e5254\\\",\\\"targetPort\\\":\\\"d50b81b1-dc62-49d6-ae36-12b490f9ffe8\\\"},{\\\"id\\\":\\\"f8ce181c-df67-4e24-97b3-b58ef3d7d0e4\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":576.0000432485879,\\\"y\\\":259.406245882726,\\\"id\\\":\\\"e402d21d-ba0b-475f-a560-109ea7f9da77\\\",\\\"selected\\\":false},{\\\"x\\\":684.2187148793201,\\\"y\\\":225.51560866933357,\\\"id\\\":\\\"f95abd92-4d6d-4ee1-836b-3026b6762bba\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"target\\\":\\\"d42e50c7-5750-487d-b62c-39c82e9142b4\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"ab77a219-084b-4190-be19-0204b6da20f6\\\",\\\"targetPort\\\":\\\"d50b81b1-dc62-49d6-ae36-12b490f9ffe8\\\"},{\\\"id\\\":\\\"a37d4cdf-b17d-45a6-893a-b1756e7aace7\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":576.0000432485879,\\\"y\\\":275.406267001717,\\\"id\\\":\\\"ef976b5b-984b-490d-a1c0-faac651e88a7\\\",\\\"selected\\\":false},{\\\"x\\\":684.2187148793201,\\\"y\\\":225.51560866933357,\\\"id\\\":\\\"e5500553-027e-4023-b9c7-ebbe1ce5afe5\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"target\\\":\\\"d42e50c7-5750-487d-b62c-39c82e9142b4\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"f1770417-be46-4c27-b1c6-6c2f767a731a\\\",\\\"targetPort\\\":\\\"d50b81b1-dc62-49d6-ae36-12b490f9ffe8\\\"},{\\\"id\\\":\\\"1eb8077f-c838-42e4-96a0-c4117d5bcaea\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":576.0000432485879,\\\"y\\\":291.40624041214403,\\\"id\\\":\\\"b2468184-0a4e-4dbd-8044-7979dccf31c0\\\",\\\"selected\\\":false},{\\\"x\\\":684.2187148793201,\\\"y\\\":225.51560866933357,\\\"id\\\":\\\"67ce5b49-8a30-4d62-a77f-ceb22d962114\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"target\\\":\\\"d42e50c7-5750-487d-b62c-39c82e9142b4\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"92165d9b-69f8-4e8d-9e38-9cb67a3b608e\\\",\\\"targetPort\\\":\\\"d50b81b1-dc62-49d6-ae36-12b490f9ffe8\\\"},{\\\"id\\\":\\\"4de85b75-b899-4dcd-8e03-74da7b4342c8\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":576.0000432485879,\\\"y\\\":307.40626153113504,\\\"id\\\":\\\"3c2d2937-4926-4fb5-a5f5-947417a760a9\\\",\\\"selected\\\":false},{\\\"x\\\":684.2187148793201,\\\"y\\\":225.51560866933357,\\\"id\\\":\\\"e258780a-6130-42db-92fa-6eef6e9619a5\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"target\\\":\\\"d42e50c7-5750-487d-b62c-39c82e9142b4\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"a985c988-8f0f-43b8-8056-86a6d965a2b1\\\",\\\"targetPort\\\":\\\"d50b81b1-dc62-49d6-ae36-12b490f9ffe8\\\"},{\\\"id\\\":\\\"4a70929b-84b7-4945-af9e-80c540524338\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":576.0000432485879,\\\"y\\\":323.40623494156205,\\\"id\\\":\\\"f93068c9-21f6-4463-934c-80b2c4cc852d\\\",\\\"selected\\\":false},{\\\"x\\\":684.2187148793201,\\\"y\\\":225.51560866933357,\\\"id\\\":\\\"fe63f179-79dc-4908-abfd-31d90de87301\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"target\\\":\\\"d42e50c7-5750-487d-b62c-39c82e9142b4\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"f4c82de4-cf7f-4f7a-92e4-119273ca1986\\\",\\\"targetPort\\\":\\\"d50b81b1-dc62-49d6-ae36-12b490f9ffe8\\\"},{\\\"id\\\":\\\"8b8b850f-1ad6-47bb-b155-7cf73e60e81c\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":576.0000432485879,\\\"y\\\":339.40625606055306,\\\"id\\\":\\\"cf5babea-2b90-410b-b42d-45344bafc5df\\\",\\\"selected\\\":false},{\\\"x\\\":684.2187148793201,\\\"y\\\":225.51560866933357,\\\"id\\\":\\\"b90fe436-ab93-43e6-9aa8-581dfb0d07b8\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"target\\\":\\\"d42e50c7-5750-487d-b62c-39c82e9142b4\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"38651cbf-a237-45ce-bfa2-b0788d2c151b\\\",\\\"targetPort\\\":\\\"d50b81b1-dc62-49d6-ae36-12b490f9ffe8\\\"},{\\\"id\\\":\\\"1bda46f1-2207-46d6-960e-dc5be65c7bca\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":576.0000432485879,\\\"y\\\":355.40622947098007,\\\"id\\\":\\\"edddf8a6-a1a0-436b-9e37-adb4534d3152\\\",\\\"selected\\\":false},{\\\"x\\\":684.640649419608,\\\"y\\\":288.98436286768725,\\\"id\\\":\\\"219fa1d0-d726-4f8b-8f95-71769c3e3525\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"target\\\":\\\"fc43273f-bb9e-47dd-968a-99eeca029f43\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"68cfea54-5f7b-4e84-94dd-b39d702ff5a9\\\",\\\"targetPort\\\":\\\"6ef3338f-be89-4c20-b230-4cd1535f5dba\\\"},{\\\"id\\\":\\\"2b6b8883-eb8d-4449-991a-08f4915b9512\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":576.0000432485879,\\\"y\\\":371.4062505899711,\\\"id\\\":\\\"82a0205b-df89-4862-ac44-5cc4cf10e38b\\\",\\\"selected\\\":false},{\\\"x\\\":684.640649419608,\\\"y\\\":288.98436286768725,\\\"id\\\":\\\"512b84b3-aabc-46a2-a733-5c522b26d4ff\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"target\\\":\\\"fc43273f-bb9e-47dd-968a-99eeca029f43\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"0d1b3ebe-bd6d-4552-8084-a181ac963e30\\\",\\\"targetPort\\\":\\\"6ef3338f-be89-4c20-b230-4cd1535f5dba\\\"},{\\\"id\\\":\\\"d90cceb6-1f0b-4e1c-8b7e-766c8054da75\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":576.0000432485879,\\\"y\\\":387.4062240003981,\\\"id\\\":\\\"8e2a8eb2-127e-473e-b541-215ae7234ec7\\\",\\\"selected\\\":false},{\\\"x\\\":682.140625247269,\\\"y\\\":347.1406253355254,\\\"id\\\":\\\"266367ae-2a8f-44da-b93e-68c5916e9f81\\\",\\\"selected\\\":true}],\\\"source\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"target\\\":\\\"bd2def24-a5a7-4dc6-bcf3-60e44e8da5a7\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"0129db66-e2de-4591-8f51-c27b5d4520c2\\\",\\\"targetPort\\\":\\\"ea75436d-6155-4068-a67c-6e0e9ce253e6\\\"},{\\\"id\\\":\\\"80949d4a-3d4c-4fc5-9b56-14c17a2e16dc\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":576.0000432485879,\\\"y\\\":403.40629282795317,\\\"id\\\":\\\"bda88550-429a-4320-baef-594910435c7b\\\",\\\"selected\\\":false},{\\\"x\\\":682.140625247269,\\\"y\\\":347.1406253355254,\\\"id\\\":\\\"4f38ca42-a6f9-41f7-956b-f4006f72fae5\\\",\\\"selected\\\":true}],\\\"source\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"target\\\":\\\"bd2def24-a5a7-4dc6-bcf3-60e44e8da5a7\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"f297015f-7826-4947-8bd5-73fc299d9a74\\\",\\\"targetPort\\\":\\\"ea75436d-6155-4068-a67c-6e0e9ce253e6\\\"}],\\\"nodes\\\":[{\\\"x\\\":72.11111111111111,\\\"y\\\":189.11111111111111,\\\"id\\\":\\\"233f9dbf-cbc7-48c3-ada4-2f042beb63e2\\\",\\\"name\\\":\\\"ИÑходÑщий звонок\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"44dd6fb0-6da0-4317-b6d5-8f52ced7e0c3\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"b3736a80-06e3-4b7b-b994-5231a502f6c3\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"233f9dbf-cbc7-48c3-ada4-2f042beb63e2\\\"}],\\\"config\\\":{\\\"static\\\":true,\\\"blockType\\\":\\\"outcomingcall\\\",\\\"voicemailDetector\\\":true,\\\"maxDuration\\\":3600,\\\"phoneNumber\\\":\\\"{{phone_number}}\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":246.28107967718094,\\\"y\\\":190.58301104009436,\\\"id\\\":\\\"8fa8201e-3e7b-412d-b941-ce22c0cde599\\\",\\\"name\\\":\\\"Пауза\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"73d2f0ca-70e2-4e49-9c7e-b3d23a5d28f2\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"b3736a80-06e3-4b7b-b994-5231a502f6c3\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"8fa8201e-3e7b-412d-b941-ce22c0cde599\\\"},{\\\"id\\\":\\\"d06b690b-c3fb-4c3b-86e8-ebb45dee272e\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"b7c2d993-82a0-4ac9-bd21-728c4d6e20ce\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"8fa8201e-3e7b-412d-b941-ce22c0cde599\\\"}],\\\"config\\\":{\\\"seconds\\\":\\\"1,5\\\",\\\"blockType\\\":\\\"delay\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":891.3054956896551,\\\"y\\\":191.1831413631381,\\\"id\\\":\\\"f778348e-3864-40a5-8289-c7a76cffaf7d\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"f7c4192b-4acb-4bcf-b30b-a8323bdc38d9\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"db6aca57-c886-47c6-8805-3430dcbdf7d0\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"f778348e-3864-40a5-8289-c7a76cffaf7d\\\"},{\\\"id\\\":\\\"7cb00877-2887-44fa-8798-1640cb8613c4\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"5fd1bc99-1ce3-4b36-b348-34d0338f4128\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"f778348e-3864-40a5-8289-c7a76cffaf7d\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"text\\\":\\\"Что мы могли бы иÑправить в нашей работе, чтобы получить более выÑокую оценку?\\\\nПоÑле звукового Ñигнала начнетÑÑ Ð·Ð°Ð¿Ð¸ÑÑŒ вашего ответа.\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1113.3054956896551,\\\"y\\\":194.65459740166395,\\\"id\\\":\\\"766eab97-cbd3-413f-909d-2c269fa84b25\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"53b2d1e0-56fd-4c9b-9894-7c239fbcf3c1\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"17106061-fd43-4488-9c1d-2251ed860586\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"766eab97-cbd3-413f-909d-2c269fa84b25\\\"},{\\\"id\\\":\\\"bf63b525-2eac-4da4-bca9-608193b09b10\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"db6aca57-c886-47c6-8805-3430dcbdf7d0\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"766eab97-cbd3-413f-909d-2c269fa84b25\\\"}],\\\"config\\\":{\\\"url\\\":\\\"https://enjoybook.s3.amazonaws.com/pbx/audio/file/11/%D0%A1%D0%B8%D0%B3%D0%BD%D0%B0%D0%BB_%D0%B4%D0%BB%D1%8F_%D0%B7%D0%B0%D0%BF%D0%B8%D1%81%D0%B8.mp3\\\",\\\"text\\\":\\\"\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"play\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1337.1443844787154,\\\"y\\\":191.73486550106915,\\\"id\\\":\\\"79452d17-f464-4dd3-ab70-3043e0f64ed9\\\",\\\"name\\\":\\\"ЗапиÑÑŒ\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"cf2b00e4-4dfb-4c3b-b0e2-79d18df63f88\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"17106061-fd43-4488-9c1d-2251ed860586\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"79452d17-f464-4dd3-ab70-3043e0f64ed9\\\"},{\\\"id\\\":\\\"9fd1705b-0499-4457-9846-b3455c685a92\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"1df895d2-0e15-4f50-bb04-5978b386d7f5\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"79452d17-f464-4dd3-ab70-3043e0f64ed9\\\"}],\\\"config\\\":{\\\"needSTT\\\":false,\\\"blockType\\\":\\\"record\\\",\\\"urlVarName\\\":\\\"record_url\\\",\\\"textVarName\\\":\\\"record_text\\\",\\\"waitSilence\\\":\\\"1500\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":684.7192887931035,\\\"y\\\":192.02231765826312,\\\"id\\\":\\\"d42e50c7-5750-487d-b62c-39c82e9142b4\\\",\\\"name\\\":\\\"СтатуÑ\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"d50b81b1-dc62-49d6-ae36-12b490f9ffe8\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"200286b9-6823-4b57-b8ef-e15b0190a407\\\",\\\"f8ce181c-df67-4e24-97b3-b58ef3d7d0e4\\\",\\\"a37d4cdf-b17d-45a6-893a-b1756e7aace7\\\",\\\"1eb8077f-c838-42e4-96a0-c4117d5bcaea\\\",\\\"4de85b75-b899-4dcd-8e03-74da7b4342c8\\\",\\\"4a70929b-84b7-4945-af9e-80c540524338\\\",\\\"8b8b850f-1ad6-47bb-b155-7cf73e60e81c\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d42e50c7-5750-487d-b62c-39c82e9142b4\\\"},{\\\"id\\\":\\\"58c13f76-cb5a-4265-a316-286253f2d2cf\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"5fd1bc99-1ce3-4b36-b348-34d0338f4128\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d42e50c7-5750-487d-b62c-39c82e9142b4\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"status\\\",\\\"statusName\\\":\\\"Ðедоволен качеÑтвом\\\",\\\"successful\\\":true},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":682.6503232758621,\\\"y\\\":313.65517241379314,\\\"id\\\":\\\"bd2def24-a5a7-4dc6-bcf3-60e44e8da5a7\\\",\\\"name\\\":\\\"СтатуÑ\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"ea75436d-6155-4068-a67c-6e0e9ce253e6\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"d90cceb6-1f0b-4e1c-8b7e-766c8054da75\\\",\\\"80949d4a-3d4c-4fc5-9b56-14c17a2e16dc\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"bd2def24-a5a7-4dc6-bcf3-60e44e8da5a7\\\"},{\\\"id\\\":\\\"4564dc1c-5531-476c-b678-f1f0116300f9\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"fc864887-55bb-4598-b013-29c30af63db7\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"bd2def24-a5a7-4dc6-bcf3-60e44e8da5a7\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"status\\\",\\\"statusName\\\":\\\"Точно порекомендуют\\\",\\\"successful\\\":true},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1529.891702586207,\\\"y\\\":205.0344827586207,\\\"id\\\":\\\"3964c840-1e97-4efa-8208-5a22c300b0c5\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"72563a48-ba7f-40f5-a79f-c36a518689fe\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"3d1015de-c97a-4929-8e41-236d88af55b2\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"3964c840-1e97-4efa-8208-5a22c300b0c5\\\"},{\\\"id\\\":\\\"f97b5f7c-08aa-4013-abfa-a75370395fe1\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"1df895d2-0e15-4f50-bb04-5978b386d7f5\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"3964c840-1e97-4efa-8208-5a22c300b0c5\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"text\\\":\\\"СпаÑибо за обратную ÑвÑзь. Мы обÑзательно разрешим ÑложившуюÑÑ Ñитуацию. До ÑвиданиÑ!\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":890.5813577586207,\\\"y\\\":273.86235647158185,\\\"id\\\":\\\"e98d0ec5-0d76-4ad8-8a03-ef5ea2655f81\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"efb0f739-d65b-4520-ab15-551fa92e7f22\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"bc7b3697-34c7-439a-a325-bf3eeec59110\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"e98d0ec5-0d76-4ad8-8a03-ef5ea2655f81\\\"},{\\\"id\\\":\\\"556cc858-fb94-4710-aed0-89c4be638abe\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"895b39d4-96ee-4b97-93ed-5aa61152f71f\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"e98d0ec5-0d76-4ad8-8a03-ef5ea2655f81\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"text\\\":\\\"Что мы могли бы иÑправить в нашей работе, чтобы получить более выÑокую оценку?\\\\nПоÑле звукового Ñигнала начнетÑÑ Ð·Ð°Ð¿Ð¸ÑÑŒ вашего ответа.\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1117.6850935405475,\\\"y\\\":270.71254784280615,\\\"id\\\":\\\"dc44c612-2b01-4a27-b318-3e0ec4806762\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"fd7404f3-025d-4173-b0e8-cb041894b5a8\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"a2bb98ae-1913-4ca7-8543-3200cf3c1818\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"dc44c612-2b01-4a27-b318-3e0ec4806762\\\"},{\\\"id\\\":\\\"f4916c2b-b976-48e0-b7a2-2d512045addd\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"bc7b3697-34c7-439a-a325-bf3eeec59110\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"dc44c612-2b01-4a27-b318-3e0ec4806762\\\"}],\\\"config\\\":{\\\"url\\\":\\\"https://enjoybook.s3.amazonaws.com/pbx/audio/file/11/%D0%A1%D0%B8%D0%B3%D0%BD%D0%B0%D0%BB_%D0%B4%D0%BB%D1%8F_%D0%B7%D0%B0%D0%BF%D0%B8%D1%81%D0%B8.mp3\\\",\\\"text\\\":\\\"\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"play\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1333.3167982718187,\\\"y\\\":262.87279653555186,\\\"id\\\":\\\"588b9f2d-a842-47b2-9fe1-542b03e3d815\\\",\\\"name\\\":\\\"ЗапиÑÑŒ\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"07e2a890-ea60-4777-b59e-69422836abba\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"a2bb98ae-1913-4ca7-8543-3200cf3c1818\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"588b9f2d-a842-47b2-9fe1-542b03e3d815\\\"},{\\\"id\\\":\\\"b1c69183-2f1f-40cf-b745-05e643bb3345\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"840a832b-2f7b-4634-a4d0-71d9ba3e99ed\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"588b9f2d-a842-47b2-9fe1-542b03e3d815\\\"}],\\\"config\\\":{\\\"needSTT\\\":false,\\\"blockType\\\":\\\"record\\\",\\\"urlVarName\\\":\\\"record_url\\\",\\\"textVarName\\\":\\\"record_text\\\",\\\"waitSilence\\\":\\\"1500\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1529.8917025862067,\\\"y\\\":273.3103448275862,\\\"id\\\":\\\"cb47632b-3f18-4bd2-8bd1-b8810ce135fc\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"d9a20132-d2f5-4140-b5ec-d6ff0bf90f9b\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"f4b02bfc-86c8-4306-817a-d2227c96514e\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"cb47632b-3f18-4bd2-8bd1-b8810ce135fc\\\"},{\\\"id\\\":\\\"007f90f3-983a-4bc7-b5be-ecc2c5ca093c\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"840a832b-2f7b-4634-a4d0-71d9ba3e99ed\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"cb47632b-3f18-4bd2-8bd1-b8810ce135fc\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"text\\\":\\\"Мы обÑзательно передадим Ваши Ð¿Ð¾Ð¶ÐµÐ»Ð°Ð½Ð¸Ñ Ñ€ÑƒÐºÐ¾Ð²Ð¾Ð´Ñтву и поÑтараемÑÑ ÑƒÑ‡ÐµÑÑ‚ÑŒ их в дальнейшей работе.\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":890.534997405707,\\\"y\\\":349.9779698478015,\\\"id\\\":\\\"893a6136-e17a-480c-b5fb-d2c6b3d11de0\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"3612a2e7-cb17-4db8-bfbe-fbb51249ba68\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"e6854eba-797c-4120-b86b-78297e680d9b\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"893a6136-e17a-480c-b5fb-d2c6b3d11de0\\\"},{\\\"id\\\":\\\"35e59c5f-dabb-4710-997d-c1bccd00c8b7\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"fc864887-55bb-4598-b013-29c30af63db7\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"893a6136-e17a-480c-b5fb-d2c6b3d11de0\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"text\\\":\\\"СпаÑибо за макÑимальную оценку! Мы рады, что вы ÑвлÑетеÑÑŒ нашим клиентом. До ÑвиданиÑ!\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1876.4256563068884,\\\"y\\\":261.9173830161056,\\\"id\\\":\\\"e367c35a-73a2-4dce-bcb4-fb77e0eeeae5\\\",\\\"name\\\":\\\"Конец\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"ebe594bd-4b25-47dd-92e2-9ac4b394abae\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"3d1015de-c97a-4929-8e41-236d88af55b2\\\",\\\"f4b02bfc-86c8-4306-817a-d2227c96514e\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"e367c35a-73a2-4dce-bcb4-fb77e0eeeae5\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"end\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":689.2468805876015,\\\"y\\\":126.73472746719034,\\\"id\\\":\\\"f4801dc7-2dc9-48f6-b5ac-cf4aeb0d0874\\\",\\\"name\\\":\\\"СтатуÑ\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"21f98af4-e0fb-4ee3-bd39-7e8b94d13238\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"46e0c275-60eb-4cee-a61f-153326204ec8\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"f4801dc7-2dc9-48f6-b5ac-cf4aeb0d0874\\\"},{\\\"id\\\":\\\"73baeb76-3579-47e0-84ef-4478c80b1b9a\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"4a757165-4890-418d-b6b6-a159a5afe146\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"f4801dc7-2dc9-48f6-b5ac-cf4aeb0d0874\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"status\\\",\\\"statusName\\\":\\\"Ошибка раÑпознованиÑ\\\",\\\"successful\\\":false},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1123.799532209039,\\\"y\\\":114.93591398260301,\\\"id\\\":\\\"41fc6427-fcd1-4b93-ab19-550717718274\\\",\\\"name\\\":\\\"Конец\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"13ddb7de-9cac-43fe-a23b-d2ea5e67dacd\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"a5062793-f1cb-4303-872c-c4a5746a86d6\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"41fc6427-fcd1-4b93-ab19-550717718274\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"end\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":887.7829771122338,\\\"y\\\":114.04241977488265,\\\"id\\\":\\\"5709cbc0-864a-426f-b1c6-277ec2c44bdc\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"d634df15-f74f-45ae-9f33-9a554a9ed0f8\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"a5062793-f1cb-4303-872c-c4a5746a86d6\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"5709cbc0-864a-426f-b1c6-277ec2c44bdc\\\"},{\\\"id\\\":\\\"ce4d1d39-99c1-45a8-a6c9-b27032d59527\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"4a757165-4890-418d-b6b6-a159a5afe146\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"5709cbc0-864a-426f-b1c6-277ec2c44bdc\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"text\\\":\\\"Извините, не раÑÑлышала ответ. Видимо проблемы Ñо ÑвÑзью. Я перезвоню позже. До ÑвиданиÑ!\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":685.1432528951239,\\\"y\\\":255.49440429086974,\\\"id\\\":\\\"fc43273f-bb9e-47dd-968a-99eeca029f43\\\",\\\"name\\\":\\\"СтатуÑ\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"6ef3338f-be89-4c20-b230-4cd1535f5dba\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"1bda46f1-2207-46d6-960e-dc5be65c7bca\\\",\\\"2b6b8883-eb8d-4449-991a-08f4915b9512\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"fc43273f-bb9e-47dd-968a-99eeca029f43\\\"},{\\\"id\\\":\\\"db30e149-4069-4551-9ccf-3b4247cd4acd\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"895b39d4-96ee-4b97-93ed-5aa61152f71f\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"fc43273f-bb9e-47dd-968a-99eeca029f43\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"status\\\",\\\"statusName\\\":\\\"Возможно порекомендует\\\",\\\"successful\\\":true},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1137.548792912069,\\\"y\\\":356.40599481532865,\\\"id\\\":\\\"db33b411-964d-4a8b-b7f4-d738f35b31b2\\\",\\\"name\\\":\\\"Конец\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"46181f40-8081-4f08-8302-97d09f4dd682\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"e6854eba-797c-4120-b86b-78297e680d9b\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"db33b411-964d-4a8b-b7f4-d738f35b31b2\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"end\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":454.0933800288119,\\\"y\\\":193.9116677383881,\\\"id\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\",\\\"name\\\":\\\"ГолоÑовое меню\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"663511ca-7436-4d46-97c2-b6bb5f9d6d48\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"b7c2d993-82a0-4ac9-bd21-728c4d6e20ce\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"},{\\\"id\\\":\\\"a297fadf-a7f1-41cc-936c-0d599c9a9c9e\\\",\\\"in\\\":false,\\\"name\\\":\\\"errout\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Ошибка\\\",\\\"links\\\":[\\\"46e0c275-60eb-4cee-a61f-153326204ec8\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"},{\\\"id\\\":\\\"d3594b2a-9592-4ea2-a2af-11bd497e5254\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 1\\\",\\\"links\\\":[\\\"200286b9-6823-4b57-b8ef-e15b0190a407\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"},{\\\"id\\\":\\\"ab77a219-084b-4190-be19-0204b6da20f6\\\",\\\"in\\\":false,\\\"name\\\":\\\"out2\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 2\\\",\\\"links\\\":[\\\"f8ce181c-df67-4e24-97b3-b58ef3d7d0e4\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"},{\\\"id\\\":\\\"f1770417-be46-4c27-b1c6-6c2f767a731a\\\",\\\"in\\\":false,\\\"name\\\":\\\"out3\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 3\\\",\\\"links\\\":[\\\"a37d4cdf-b17d-45a6-893a-b1756e7aace7\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"},{\\\"id\\\":\\\"92165d9b-69f8-4e8d-9e38-9cb67a3b608e\\\",\\\"in\\\":false,\\\"name\\\":\\\"out4\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 4\\\",\\\"links\\\":[\\\"1eb8077f-c838-42e4-96a0-c4117d5bcaea\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"},{\\\"id\\\":\\\"a985c988-8f0f-43b8-8056-86a6d965a2b1\\\",\\\"in\\\":false,\\\"name\\\":\\\"out5\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 5\\\",\\\"links\\\":[\\\"4de85b75-b899-4dcd-8e03-74da7b4342c8\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"},{\\\"id\\\":\\\"f4c82de4-cf7f-4f7a-92e4-119273ca1986\\\",\\\"in\\\":false,\\\"name\\\":\\\"out6\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 6\\\",\\\"links\\\":[\\\"4a70929b-84b7-4945-af9e-80c540524338\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"},{\\\"id\\\":\\\"38651cbf-a237-45ce-bfa2-b0788d2c151b\\\",\\\"in\\\":false,\\\"name\\\":\\\"out7\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 7\\\",\\\"links\\\":[\\\"8b8b850f-1ad6-47bb-b155-7cf73e60e81c\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"},{\\\"id\\\":\\\"68cfea54-5f7b-4e84-94dd-b39d702ff5a9\\\",\\\"in\\\":false,\\\"name\\\":\\\"out8\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 8\\\",\\\"links\\\":[\\\"1bda46f1-2207-46d6-960e-dc5be65c7bca\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"},{\\\"id\\\":\\\"0d1b3ebe-bd6d-4552-8084-a181ac963e30\\\",\\\"in\\\":false,\\\"name\\\":\\\"out9\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 9\\\",\\\"links\\\":[\\\"2b6b8883-eb8d-4449-991a-08f4915b9512\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"},{\\\"id\\\":\\\"0129db66-e2de-4591-8f51-c27b5d4520c2\\\",\\\"in\\\":false,\\\"name\\\":\\\"out10\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 10\\\",\\\"links\\\":[\\\"d90cceb6-1f0b-4e1c-8b7e-766c8054da75\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"},{\\\"id\\\":\\\"f297015f-7826-4947-8bd5-73fc299d9a74\\\",\\\"in\\\":false,\\\"name\\\":\\\"out11\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 11\\\",\\\"links\\\":[\\\"80949d4a-3d4c-4fc5-9b56-14c17a2e16dc\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"528595cd-dd21-469b-ba22-645df503d552\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"ports\\\":[{\\\"name\\\":\\\"out1\\\",\\\"title\\\":\\\"Порт 1\\\",\\\"simple\\\":true,\\\"variants\\\":[\\\"*ноль*\\\",\\\"*нуль*\\\",\\\"*нолик*\\\"]},{\\\"name\\\":\\\"out2\\\",\\\"title\\\":\\\"Порт 2\\\",\\\"simple\\\":true,\\\"variants\\\":[\\\"*1*\\\",\\\"*один*\\\",\\\"*еденица*\\\",\\\"*единица*\\\",\\\"*еденицу*\\\",\\\"*единицу*\\\",\\\"*еденичка*\\\",\\\"*еденичку?\\\"]},{\\\"name\\\":\\\"out3\\\",\\\"title\\\":\\\"Порт 3\\\",\\\"simple\\\":true,\\\"variants\\\":[\\\"*2*\\\",\\\"*два*\\\",\\\"*двойка*\\\",\\\"*двойку*\\\",\\\"*двоичка*\\\",\\\"*двоичку*\\\",\\\"*двоечка*\\\",\\\"*двоечку*\\\"]},{\\\"name\\\":\\\"out4\\\",\\\"title\\\":\\\"Порт 4\\\",\\\"simple\\\":true,\\\"variants\\\":[\\\"*3*\\\",\\\"*три*\\\",\\\"*тройка*\\\",\\\"*удовлетворительно*\\\",\\\"*троечка*\\\",\\\"*троечку*\\\",\\\"*троичку*\\\",\\\"*троичка*\\\",\\\"*тройку*\\\"]},{\\\"name\\\":\\\"out5\\\",\\\"title\\\":\\\"Порт 5\\\",\\\"simple\\\":true,\\\"variants\\\":[\\\"*4*\\\",\\\"*четыре*\\\",\\\"*четвёрка*\\\",\\\"*четвёрку*\\\",\\\"*четверочку*\\\",\\\"*четвёрочка*\\\",\\\"*четвёрачка*\\\",\\\"*четвёрачку*\\\",\\\"*читвёрачка*\\\",\\\"*читвёрачку*\\\"]},{\\\"name\\\":\\\"out6\\\",\\\"title\\\":\\\"Порт 6\\\",\\\"simple\\\":true,\\\"variants\\\":[\\\"*5*\\\",\\\"*пÑÑ‚ÑŒ*\\\",\\\"*пÑтерка*\\\",\\\"*пÑтёрку*\\\",\\\"*пÑтёрочку*\\\",\\\"*пÑтёрочка*\\\",\\\"*питёрочка*\\\",\\\"*питёрочку*\\\"]},{\\\"name\\\":\\\"out7\\\",\\\"title\\\":\\\"Порт 7\\\",\\\"simple\\\":true,\\\"variants\\\":[\\\"*6*\\\",\\\"*шеÑÑ‚ÑŒ*\\\",\\\"*шеÑтерка*\\\",\\\"*шиÑтёрка*\\\",\\\"*шеÑтёрка*\\\",\\\"*шиÑтёрочка*\\\",\\\"*шеÑтёрку*\\\",\\\"*шиÑтёрку*\\\",\\\"*шеÑтёрочку*\\\",\\\"*шиÑтёрочку*\\\"]},{\\\"name\\\":\\\"out8\\\",\\\"title\\\":\\\"Порт 8\\\",\\\"simple\\\":true,\\\"variants\\\":[\\\"*7*\\\",\\\"*Ñемь*\\\",\\\"*Ñемёрка*\\\",\\\"*Ñимёрка*\\\",\\\"*Ñемёрку*\\\",\\\"*Ñимёрку*\\\",\\\"*Ñимёрочка*\\\",\\\"*Ñимёрочку*\\\",\\\"*Ñемёрочка*\\\",\\\"*Ñемёрочку*\\\"]},{\\\"name\\\":\\\"out9\\\",\\\"title\\\":\\\"Порт 9\\\",\\\"simple\\\":true,\\\"variants\\\":[\\\"*8*\\\",\\\"*воÑемь*\\\",\\\"*воÑьмёрка*\\\",\\\"*ваÑьмёрка*\\\",\\\"*ваÑьмёрку*\\\",\\\"*воÑьмёрочка*\\\",\\\"*воÑьмёрочку*\\\",\\\"*ваÑьмёрочка*\\\",\\\"*ваÑьмёрачку*\\\"]},{\\\"name\\\":\\\"out10\\\",\\\"title\\\":\\\"Порт 10\\\",\\\"simple\\\":true,\\\"variants\\\":[\\\"*9*\\\",\\\"*девÑÑ‚ÑŒ*\\\",\\\"*девÑтка*\\\",\\\"*девÑтку*\\\",\\\"*дивÑтка*\\\",\\\"*дивÑтку*\\\",\\\"*дивÑточку*\\\",\\\"*дивÑточка*\\\",\\\"*девÑточка*\\\"]},{\\\"name\\\":\\\"out11\\\",\\\"title\\\":\\\"Порт 11\\\",\\\"simple\\\":true,\\\"variants\\\":[\\\"*10*\\\",\\\"*деÑÑÑ‚ÑŒ*\\\",\\\"*деÑÑточка*\\\",\\\"*деÑÑтку*\\\",\\\"*деÑÑточку*\\\",\\\"*диÑÑточку*\\\",\\\"*диÑÑтка*\\\",\\\"*деÑÑтка*\\\"]}],\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"asrDelay\\\":\\\"15\\\",\\\"question\\\":\\\"Добрый день. ÐœÐµÐ½Ñ Ð·Ð¾Ð²ÑƒÑ‚ Ðнна. ÐšÐ¾Ð¼Ð¿Ð°Ð½Ð¸Ñ \\\\\\\"название компании\\\\\\\". ПодÑкажите пожалуйÑта. ÐаÑколько велика вероÑтноÑÑ‚ÑŒ, что вы порекомендуете Ð½Ð°Ñ Ñвоему другу или коллеге? Оцените по 10 бальной шкале. Где 0 - ни в коем Ñлучае, а 10 - точно буду рекомендовать.\\\",\\\"retryUrl\\\":\\\"\\\",\\\"asrFiller\\\":false,\\\"blockType\\\":\\\"menu\\\",\\\"retryText\\\":\\\"Извините, не раÑÑлышала. ПроизнеÑите оценку от 0 до 10.\\\\nГде 1 - Ñовершенно недоволен. 10 - точно буду рекомендовать. \\\",\\\"outputType\\\":\\\"say\\\",\\\"retryCount\\\":\\\"2\\\",\\\"retryVoice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"retryOutputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":74.20802307206313,\\\"y\\\":403.3957740437557,\\\"id\\\":\\\"e4bc5817-2784-4b1b-82ae-565352946c63\\\",\\\"name\\\":\\\"Глобальный контекÑÑ‚\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[],\\\"config\\\":{\\\"ports\\\":[],\\\"static\\\":true,\\\"blockType\\\":\\\"globalcontext\\\"},\\\"extras\\\":{},\\\"selected\\\":false}],\\\"offsetX\\\":-4.984023758429657,\\\"offsetY\\\":147.96116987001125,\\\"gridSize\\\":0}\")\n },\n {\n id: 4,\n name: 'Ð˜Ð½Ð´ÐµÐºÑ NPS Ñ Ð¸Ñпользованием IVR (иÑходÑщий)',\n tag: 'default',\n scenario_type: 'outcoming',\n description: 'Клиент отвечает Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ кнопок на телефоне. ÐžÐ¿Ñ€Ð¾Ñ Ð¸Ñпользуют Ð´Ð»Ñ Ð¾Ñ†ÐµÐ½ÐºÐ¸ качеÑтва обÑлуживаниÑ.',\n serialized_model: JSON.parse(\"{\\\"id\\\":\\\"f6ba910c-f7df-41b8-8452-54d15b84df42\\\",\\\"zoom\\\":76.76666666666664,\\\"links\\\":[{\\\"id\\\":\\\"225763cc-9950-4ae4-9691-55f7d22499d9\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":184.37499696593616,\\\"y\\\":245.98438673012078,\\\"id\\\":\\\"9422a069-4895-4c34-a0b8-3f257594a7b6\\\",\\\"selected\\\":false},{\\\"x\\\":252.0468585026885,\\\"y\\\":246.49999201229346,\\\"id\\\":\\\"89e3391d-cdb7-4806-984b-593ad0dd316c\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"233f9dbf-cbc7-48c3-ada4-2f042beb63e2\\\",\\\"target\\\":\\\"8cc46b4f-c2c2-48aa-8930-e4f4028e7c24\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"44dd6fb0-6da0-4317-b6d5-8f52ced7e0c3\\\",\\\"targetPort\\\":\\\"6ea55eaf-2791-46df-9dfc-caa94aaaf563\\\"},{\\\"id\\\":\\\"c6cd5c26-80c0-4616-ac6d-c4e8d2bf4023\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":366.25000968711515,\\\"y\\\":246.49999201229346,\\\"id\\\":\\\"0f7da3c9-41c5-4624-997d-59cc2670054b\\\",\\\"selected\\\":false},{\\\"x\\\":448.04683221225224,\\\"y\\\":244.49998416756648,\\\"id\\\":\\\"382de988-8e4d-4d83-89ca-506ae3a4cbd4\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"8cc46b4f-c2c2-48aa-8930-e4f4028e7c24\\\",\\\"target\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"0089d53a-02a3-4374-8f4e-120ece2d304c\\\",\\\"targetPort\\\":\\\"e12fd316-640f-4880-a84c-f39fae63ff72\\\"},{\\\"id\\\":\\\"66c578c8-5972-414f-a547-39ad9713712d\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":786.656230322394,\\\"y\\\":138.84375579357058,\\\"id\\\":\\\"628bcf0b-2dce-4aa9-b78e-ddb52380abb9\\\",\\\"selected\\\":false},{\\\"x\\\":858.2031617196205,\\\"y\\\":139.23437549307937,\\\"id\\\":\\\"d26372b7-25ad-451e-8faf-dbf850db5364\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"a07ce828-29f2-40e4-b125-bbbd0506df7a\\\",\\\"target\\\":\\\"29609ac2-d8a9-4e2c-9c93-1ba2dc939374\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"2b0bf275-3099-4a3d-aef7-f42e9b7a615a\\\",\\\"targetPort\\\":\\\"623ed28b-ff89-4487-9c84-9899adf381e4\\\"},{\\\"id\\\":\\\"5b20c883-f5d5-4026-98ae-5320737e8db0\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1011.9999883791407,\\\"y\\\":139.23437549307937,\\\"id\\\":\\\"17c202d8-69b5-4853-b89c-19a3102a0f03\\\",\\\"selected\\\":false},{\\\"x\\\":1101.0468890335183,\\\"y\\\":132.50002190706385,\\\"id\\\":\\\"9921712c-4997-48b8-b17e-8a5086da034c\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"29609ac2-d8a9-4e2c-9c93-1ba2dc939374\\\",\\\"target\\\":\\\"e5477b5f-c02e-4bb0-99f7-bcaf426fe9e3\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"7d96fda9-9d27-4757-a1f6-6518b296714d\\\",\\\"targetPort\\\":\\\"b12712ce-8738-410c-9ba5-b14bfdaf6ced\\\"},{\\\"id\\\":\\\"54f061b8-b83b-47cf-b141-0feff849adf1\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":784.4531606595223,\\\"y\\\":247.64060471515387,\\\"id\\\":\\\"3bbfe48e-a5ae-4a55-bad8-8b3754e6209b\\\",\\\"selected\\\":false},{\\\"x\\\":857.8750348114437,\\\"y\\\":247.40625674765903,\\\"id\\\":\\\"a3d18249-8ee1-4120-8d47-bf7bfd2aa50d\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d4c624e3-c481-451d-85ea-76062f7dae53\\\",\\\"target\\\":\\\"2d686215-76bd-46b5-918f-c4ddd79ba3ec\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"40ead76a-f30b-4012-85ec-3f61ec1912e8\\\",\\\"targetPort\\\":\\\"e965e50a-6f86-43b2-bce5-d513733ab879\\\"},{\\\"id\\\":\\\"aee8b181-8b5b-4154-b4db-4ff21aa65dc9\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1011.6718614709639,\\\"y\\\":247.40625674765903,\\\"id\\\":\\\"c3254bbb-7561-407a-9801-0ecd1bdb9dcf\\\",\\\"selected\\\":false},{\\\"x\\\":1088.7187945643475,\\\"y\\\":247.40625674765903,\\\"id\\\":\\\"36a08407-8746-48fd-93e6-5a1c1380d1a3\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"2d686215-76bd-46b5-918f-c4ddd79ba3ec\\\",\\\"target\\\":\\\"5860abdd-b1fe-490b-9422-0f5c5afdd9ef\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"e5779aa3-6d20-497d-bb9d-7e348750d234\\\",\\\"targetPort\\\":\\\"c00f72fc-a4a1-4541-8b07-8ec62c698a68\\\"},{\\\"id\\\":\\\"e530d554-bd21-4909-8800-be7d8c0b4791\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":784.9531029901779,\\\"y\\\":326.7187522952465,\\\"id\\\":\\\"7783a989-aea9-4e48-829d-5e3a016e7a6e\\\",\\\"selected\\\":false},{\\\"x\\\":858.8906619316401,\\\"y\\\":324.70312125268646,\\\"id\\\":\\\"62127f9e-a4ae-4dd5-aa7c-cdec7c1a983d\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"59ea4e0f-c7b1-435e-9c3f-4874a330dd10\\\",\\\"target\\\":\\\"e6a3c204-7d78-4576-b06f-6e84d76d329f\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"b2fea7fe-a7ba-4179-9b7b-c2b02cbda86a\\\",\\\"targetPort\\\":\\\"88afbd2a-2638-4b8a-a4cf-9b4ec9f36f65\\\"},{\\\"id\\\":\\\"ac133821-455a-43ef-8fd9-de01d4e07961\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1012.6874885911604,\\\"y\\\":324.70312125268646,\\\"id\\\":\\\"4baadfd7-7741-47a1-8ff4-2161c3d54c45\\\",\\\"selected\\\":false},{\\\"x\\\":1089.5000339633652,\\\"y\\\":320.1718770832268,\\\"id\\\":\\\"1950f40e-8924-43d4-9a25-8bad66678933\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"e6a3c204-7d78-4576-b06f-6e84d76d329f\\\",\\\"target\\\":\\\"2c1c08e1-7a02-4eae-90dd-434fec775f01\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"184f9b8b-b342-45a5-905a-b971bf5885e8\\\",\\\"targetPort\\\":\\\"5b93d2ad-f021-4016-927b-ba08e006ca89\\\"},{\\\"id\\\":\\\"4dbc0edd-d8d1-4199-beee-e66f9917a31c\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":782.9218487497849,\\\"y\\\":393.8437621541601,\\\"id\\\":\\\"ef1bd26e-a0aa-4b88-bfb0-009afdc87bda\\\",\\\"selected\\\":false},{\\\"x\\\":857.9843574425905,\\\"y\\\":394.2031354580029,\\\"id\\\":\\\"cc15bee3-cf20-4d0e-b499-fb7cc551df62\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"e094e7b7-f505-4b51-813c-2d62cd34a39b\\\",\\\"target\\\":\\\"6b867b6a-d6bd-4012-aa6c-babf7381b538\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"df416934-402c-4155-b7b2-9947f0545faf\\\",\\\"targetPort\\\":\\\"b2e1ffa7-ec56-4166-a4fa-83ef095fb13e\\\"},{\\\"id\\\":\\\"f97dae72-0fa2-4860-bd36-0f57b940de1f\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1011.7812636094789,\\\"y\\\":394.2031354580029,\\\"id\\\":\\\"2d4dff31-bac1-4ef4-b2ce-90a900e1bcdb\\\",\\\"selected\\\":false},{\\\"x\\\":1195.5000521970549,\\\"y\\\":387.7343364814642,\\\"id\\\":\\\"0ae86965-6992-40a6-bfde-11dc10f34b81\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"6b867b6a-d6bd-4012-aa6c-babf7381b538\\\",\\\"target\\\":\\\"a5f86d27-2ed9-4824-82fb-6c2c5c8cb0c6\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"09bab498-e0cb-4e76-ac5c-72b4e0ff3739\\\",\\\"targetPort\\\":\\\"a9573d2a-4edc-4292-ae29-923e83c324f8\\\"},{\\\"id\\\":\\\"81358a45-2d1e-4871-9445-5243688ad604\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1692.8906733807014,\\\"y\\\":323.39061361997915,\\\"id\\\":\\\"b6c504bf-02ab-4e1a-a643-9b1b160347b6\\\",\\\"selected\\\":false},{\\\"x\\\":1834.5624673891957,\\\"y\\\":298.15624710076503,\\\"id\\\":\\\"36bf659c-e895-46fc-88d3-202d1719829d\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"42b90608-1ce9-4635-9a89-90ac3bc69a3c\\\",\\\"target\\\":\\\"bb889181-673a-4d64-89ab-18506be23c11\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"3d981647-3926-4c80-b90b-56cd46ce25b8\\\",\\\"targetPort\\\":\\\"1132a045-a802-48da-a19c-80641d8533cb\\\"},{\\\"id\\\":\\\"073db085-e2dd-42af-b728-8a25c4ecc9e2\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1697.421798289109,\\\"y\\\":250.9374969947552,\\\"id\\\":\\\"48774773-64ac-42fc-b1d3-71b82833812b\\\",\\\"selected\\\":false},{\\\"x\\\":1834.5624673891957,\\\"y\\\":298.15624710076503,\\\"id\\\":\\\"98478a27-9ba6-41cc-8e59-13722ca31d00\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"6cfda119-4498-48bf-9ab0-8f21463624cb\\\",\\\"target\\\":\\\"bb889181-673a-4d64-89ab-18506be23c11\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"2f73648b-4ed8-4951-84f6-7b9cc819c04f\\\",\\\"targetPort\\\":\\\"1132a045-a802-48da-a19c-80641d8533cb\\\"},{\\\"id\\\":\\\"c452e2a7-8cb4-499b-9a43-aa3c90932948\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":570.4687792989328,\\\"y\\\":244.49998416756648,\\\"id\\\":\\\"e0fda301-38d7-4c0a-9ea5-5f01a49495fc\\\",\\\"selected\\\":false},{\\\"x\\\":672.4531188916515,\\\"y\\\":138.84375579357058,\\\"id\\\":\\\"b978a7d5-b0ce-471a-951d-7f6ce22455fc\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"target\\\":\\\"a07ce828-29f2-40e4-b125-bbbd0506df7a\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"aef2945e-fa13-4259-af2a-3c109ccc7c7c\\\",\\\"targetPort\\\":\\\"f45f563f-3417-42e5-ab68-6144c7fdd1da\\\"},{\\\"id\\\":\\\"70f2fbda-9dbc-4df9-af8b-e16367d85957\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":570.4687792989328,\\\"y\\\":260.50000717169837,\\\"id\\\":\\\"5aae8934-3ec0-4571-bcf1-9eff458346ce\\\",\\\"selected\\\":false},{\\\"x\\\":670.2499697214116,\\\"y\\\":247.64060471515387,\\\"id\\\":\\\"0732b109-1274-4c09-bb91-1fd4568ec839\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"target\\\":\\\"d4c624e3-c481-451d-85ea-76062f7dae53\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"807a1c94-655b-42f1-ac90-6043f9991d17\\\",\\\"targetPort\\\":\\\"cb04b905-85ef-46f2-8c19-0d8098e7a3a5\\\"},{\\\"id\\\":\\\"014d74dd-45a7-4e56-b14d-fe0987dff024\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":570.4687792989328,\\\"y\\\":276.49999042214614,\\\"id\\\":\\\"7fb8c3ad-5642-4ac7-938e-ad0d6c174209\\\",\\\"selected\\\":false},{\\\"x\\\":670.2499697214116,\\\"y\\\":247.64060471515387,\\\"id\\\":\\\"98ee76db-a3c7-4594-853c-191f74ebc94c\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"target\\\":\\\"d4c624e3-c481-451d-85ea-76062f7dae53\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"4cad92f2-6587-431b-8fff-5b74ba04d739\\\",\\\"targetPort\\\":\\\"cb04b905-85ef-46f2-8c19-0d8098e7a3a5\\\"},{\\\"id\\\":\\\"79b61484-3dae-448d-bca0-eeeaa62630d1\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":570.4687792989328,\\\"y\\\":292.500013426278,\\\"id\\\":\\\"49c6a680-53bd-46fb-8ed8-d12170c63ff7\\\",\\\"selected\\\":false},{\\\"x\\\":670.2499697214116,\\\"y\\\":247.64060471515387,\\\"id\\\":\\\"c5880ff7-199d-4abf-a3a5-9db8958383d8\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"target\\\":\\\"d4c624e3-c481-451d-85ea-76062f7dae53\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"c22601c8-0ea8-4b68-ae1f-0ca1cf622a3d\\\",\\\"targetPort\\\":\\\"cb04b905-85ef-46f2-8c19-0d8098e7a3a5\\\"},{\\\"id\\\":\\\"418def1d-4e51-4bfb-ba97-bfe5b33c4a22\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":570.4687792989328,\\\"y\\\":308.49999667672574,\\\"id\\\":\\\"b9a6c58f-9a80-42ea-8ec0-02703924ea96\\\",\\\"selected\\\":false},{\\\"x\\\":670.2499697214116,\\\"y\\\":247.64060471515387,\\\"id\\\":\\\"fbd2d4d2-3861-47bc-9046-db52378fa8fb\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"target\\\":\\\"d4c624e3-c481-451d-85ea-76062f7dae53\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"1c71a7d9-0333-46b5-9a0a-260c44744b06\\\",\\\"targetPort\\\":\\\"cb04b905-85ef-46f2-8c19-0d8098e7a3a5\\\"},{\\\"id\\\":\\\"c9619d83-01f0-4c99-890d-16503654fa51\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":570.4687792989328,\\\"y\\\":324.49997992717357,\\\"id\\\":\\\"04c22608-6e41-480e-be76-a6b780837343\\\",\\\"selected\\\":false},{\\\"x\\\":670.2499697214116,\\\"y\\\":247.64060471515387,\\\"id\\\":\\\"2bda296e-3691-42ae-9275-de0afb3024c9\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"target\\\":\\\"d4c624e3-c481-451d-85ea-76062f7dae53\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"eb9cd008-dab5-4e74-8d13-a6eb189fa20d\\\",\\\"targetPort\\\":\\\"cb04b905-85ef-46f2-8c19-0d8098e7a3a5\\\"},{\\\"id\\\":\\\"6f8a29b6-c036-48b8-8113-68a44162a280\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":570.4687792989328,\\\"y\\\":340.5000029313054,\\\"id\\\":\\\"9fb5b228-7bf1-4a7f-99be-0f25f7431ffd\\\",\\\"selected\\\":false},{\\\"x\\\":670.2499697214116,\\\"y\\\":247.64060471515387,\\\"id\\\":\\\"9f0405dd-f057-4755-ace8-82ce4214fe6a\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"target\\\":\\\"d4c624e3-c481-451d-85ea-76062f7dae53\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"452938ca-5cd5-474d-b6cd-cd7b09ca01f4\\\",\\\"targetPort\\\":\\\"cb04b905-85ef-46f2-8c19-0d8098e7a3a5\\\"},{\\\"id\\\":\\\"8e60b223-d7cc-4cab-be3e-b20d9809a031\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":570.4687792989328,\\\"y\\\":356.50002593543724,\\\"id\\\":\\\"755620a4-f06e-4da9-8acb-9dda67c62c96\\\",\\\"selected\\\":false},{\\\"x\\\":670.7499915594353,\\\"y\\\":326.7187522952465,\\\"id\\\":\\\"2ae4d6f6-cf66-42c5-a2be-4364406ce9b1\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"target\\\":\\\"59ea4e0f-c7b1-435e-9c3f-4874a330dd10\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"07e067a0-5277-4fe7-9878-e3f85fe6d632\\\",\\\"targetPort\\\":\\\"202c29a1-480e-4c1c-886a-0a5e79a35c6b\\\"},{\\\"id\\\":\\\"631415d2-46d6-4576-a21e-cfccc6cdfabc\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":570.4687792989328,\\\"y\\\":372.500009185885,\\\"id\\\":\\\"9188eba9-efa4-4d42-a242-23a2fc077ea7\\\",\\\"selected\\\":false},{\\\"x\\\":670.7499915594353,\\\"y\\\":326.7187522952465,\\\"id\\\":\\\"2f84de82-4b22-43d5-ad73-988d95822c89\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"target\\\":\\\"59ea4e0f-c7b1-435e-9c3f-4874a330dd10\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"fb76bd80-52d0-4977-8dbf-645acc55b46c\\\",\\\"targetPort\\\":\\\"202c29a1-480e-4c1c-886a-0a5e79a35c6b\\\"},{\\\"id\\\":\\\"6619f14b-149b-41ec-adaf-45a6e5c6d6c5\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":570.4687792989328,\\\"y\\\":388.49999243633283,\\\"id\\\":\\\"e5823a39-0fa7-485f-a659-394f21ff45cf\\\",\\\"selected\\\":false},{\\\"x\\\":668.7187373190424,\\\"y\\\":393.8437621541601,\\\"id\\\":\\\"a500e42c-5b2c-44ed-a9c7-393fecfbf3d1\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"target\\\":\\\"e094e7b7-f505-4b51-813c-2d62cd34a39b\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"29afd046-b7d0-421d-b4cf-8de31256232d\\\",\\\"targetPort\\\":\\\"3b62089e-f09b-4daa-bf49-d771a9f7f558\\\"},{\\\"id\\\":\\\"3b7584ac-5a4c-417b-ad2d-c8f2e3e5609f\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":570.4687792989328,\\\"y\\\":404.50005519414873,\\\"id\\\":\\\"c1674021-c8d3-4df0-9aac-975ac49943d0\\\",\\\"selected\\\":false},{\\\"x\\\":668.7187373190424,\\\"y\\\":393.8437621541601,\\\"id\\\":\\\"7487500b-9dfd-4af9-a98f-53ad74dccb5b\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"target\\\":\\\"e094e7b7-f505-4b51-813c-2d62cd34a39b\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"9959d0d0-85fb-4683-a238-91916770762b\\\",\\\"targetPort\\\":\\\"3b62089e-f09b-4daa-bf49-d771a9f7f558\\\"},{\\\"id\\\":\\\"a1978466-d13e-4819-9518-815730f6f6eb\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1242.5156212238678,\\\"y\\\":247.40625674765903,\\\"id\\\":\\\"aac93ac1-f11e-4fc7-9ddc-39bbcceece17\\\",\\\"selected\\\":false},{\\\"x\\\":1343.250025482579,\\\"y\\\":249.89062347889276,\\\"id\\\":\\\"2f855bda-e36d-4774-9f0c-e9c71a3c1187\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"5860abdd-b1fe-490b-9422-0f5c5afdd9ef\\\",\\\"target\\\":\\\"b601237e-2a6c-4630-a580-55f2eea479bf\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"b01fafbf-94cc-4899-849a-808de2ccc83c\\\",\\\"targetPort\\\":\\\"8f1c0257-58d6-4bd7-b9dd-279274e508a5\\\"},{\\\"id\\\":\\\"321c2e51-9981-468d-bd12-3ab66550b7c4\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1457.4531369133217,\\\"y\\\":249.89062347889276,\\\"id\\\":\\\"872150cf-b2bd-42a4-8ecf-eb4265e32e60\\\",\\\"selected\\\":false},{\\\"x\\\":1543.6249716295886,\\\"y\\\":250.9374969947552,\\\"id\\\":\\\"040cb9e4-aaa5-4327-bb97-ba8d3272d431\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"b601237e-2a6c-4630-a580-55f2eea479bf\\\",\\\"target\\\":\\\"6cfda119-4498-48bf-9ab0-8f21463624cb\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"a0f25291-50d3-4b08-8a84-6f5fd8f461f7\\\",\\\"targetPort\\\":\\\"f614d9d8-87ca-49f8-835b-eb2893ebc8d1\\\"},{\\\"id\\\":\\\"5e7c1b72-4cf8-44b9-80d2-f6d812911b6b\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1243.2968606228853,\\\"y\\\":320.1718770832268,\\\"id\\\":\\\"f1a0146e-c42c-44c4-ba2b-3a2126b2d5cc\\\",\\\"selected\\\":false},{\\\"x\\\":1340.7344123556795,\\\"y\\\":320.24999307239176,\\\"id\\\":\\\"7f350f99-30ff-4b72-b859-d1b7a2c2692f\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"2c1c08e1-7a02-4eae-90dd-434fec775f01\\\",\\\"target\\\":\\\"f37b7cde-0fbe-44da-871b-6452e211595b\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"88573544-91c4-4f11-b06a-9516255c74e0\\\",\\\"targetPort\\\":\\\"1e66b757-6eec-416a-8d16-b56f909c8cdc\\\"},{\\\"id\\\":\\\"be513d76-806c-4e0a-a51a-e0ac0e4f1efe\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"rgba(255,255,255,0.5)\\\",\\\"width\\\":3,\\\"extras\\\":{},\\\"labels\\\":[],\\\"points\\\":[{\\\"x\\\":1454.937523786422,\\\"y\\\":320.24999307239176,\\\"id\\\":\\\"1adcc0b0-7e00-47ea-be89-ad50a68662c9\\\",\\\"selected\\\":false},{\\\"x\\\":1539.0936877064448,\\\"y\\\":323.39061361997915,\\\"id\\\":\\\"d2334bc3-ab4c-4077-ad7d-94159f1cd659\\\",\\\"selected\\\":false}],\\\"source\\\":\\\"f37b7cde-0fbe-44da-871b-6452e211595b\\\",\\\"target\\\":\\\"42b90608-1ce9-4635-9a89-90ac3bc69a3c\\\",\\\"selected\\\":false,\\\"curvyness\\\":50,\\\"sourcePort\\\":\\\"03e4fc01-eff0-4403-ba80-6a6bf28df40c\\\",\\\"targetPort\\\":\\\"4a9101e0-382e-41dc-af28-79ebf539b1da\\\"}],\\\"nodes\\\":[{\\\"x\\\":71.48743718592965,\\\"y\\\":212.48743718592965,\\\"id\\\":\\\"233f9dbf-cbc7-48c3-ada4-2f042beb63e2\\\",\\\"name\\\":\\\"ИÑходÑщий звонок\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"44dd6fb0-6da0-4317-b6d5-8f52ced7e0c3\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"225763cc-9950-4ae4-9691-55f7d22499d9\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"233f9dbf-cbc7-48c3-ada4-2f042beb63e2\\\"}],\\\"config\\\":{\\\"static\\\":true,\\\"blockType\\\":\\\"outcomingcall\\\",\\\"voicemailDetector\\\":true,\\\"maxDuration\\\":3600,\\\"phoneNumber\\\":\\\"{{phone_number}}\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":252.546875,\\\"y\\\":213,\\\"id\\\":\\\"8cc46b4f-c2c2-48aa-8930-e4f4028e7c24\\\",\\\"name\\\":\\\"Пауза\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"6ea55eaf-2791-46df-9dfc-caa94aaaf563\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"225763cc-9950-4ae4-9691-55f7d22499d9\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"8cc46b4f-c2c2-48aa-8930-e4f4028e7c24\\\"},{\\\"id\\\":\\\"0089d53a-02a3-4374-8f4e-120ece2d304c\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"c6cd5c26-80c0-4616-ac6d-c4e8d2bf4023\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"8cc46b4f-c2c2-48aa-8930-e4f4028e7c24\\\"}],\\\"config\\\":{\\\"seconds\\\":\\\"1,5\\\",\\\"blockType\\\":\\\"delay\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":448.546875,\\\"y\\\":211,\\\"id\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\",\\\"name\\\":\\\"IVR\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"e12fd316-640f-4880-a84c-f39fae63ff72\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"c6cd5c26-80c0-4616-ac6d-c4e8d2bf4023\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\"},{\\\"id\\\":\\\"aef2945e-fa13-4259-af2a-3c109ccc7c7c\\\",\\\"in\\\":false,\\\"name\\\":\\\"errout\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Ошибка\\\",\\\"links\\\":[\\\"c452e2a7-8cb4-499b-9a43-aa3c90932948\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\"},{\\\"id\\\":\\\"807a1c94-655b-42f1-ac90-6043f9991d17\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 1\\\",\\\"links\\\":[\\\"70f2fbda-9dbc-4df9-af8b-e16367d85957\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\"},{\\\"id\\\":\\\"4cad92f2-6587-431b-8fff-5b74ba04d739\\\",\\\"in\\\":false,\\\"name\\\":\\\"out2\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 2\\\",\\\"links\\\":[\\\"014d74dd-45a7-4e56-b14d-fe0987dff024\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\"},{\\\"id\\\":\\\"c22601c8-0ea8-4b68-ae1f-0ca1cf622a3d\\\",\\\"in\\\":false,\\\"name\\\":\\\"out3\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 3\\\",\\\"links\\\":[\\\"79b61484-3dae-448d-bca0-eeeaa62630d1\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\"},{\\\"id\\\":\\\"1c71a7d9-0333-46b5-9a0a-260c44744b06\\\",\\\"in\\\":false,\\\"name\\\":\\\"out4\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 4\\\",\\\"links\\\":[\\\"418def1d-4e51-4bfb-ba97-bfe5b33c4a22\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\"},{\\\"id\\\":\\\"eb9cd008-dab5-4e74-8d13-a6eb189fa20d\\\",\\\"in\\\":false,\\\"name\\\":\\\"out5\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 5\\\",\\\"links\\\":[\\\"c9619d83-01f0-4c99-890d-16503654fa51\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\"},{\\\"id\\\":\\\"452938ca-5cd5-474d-b6cd-cd7b09ca01f4\\\",\\\"in\\\":false,\\\"name\\\":\\\"out6\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 6\\\",\\\"links\\\":[\\\"6f8a29b6-c036-48b8-8113-68a44162a280\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\"},{\\\"id\\\":\\\"07e067a0-5277-4fe7-9878-e3f85fe6d632\\\",\\\"in\\\":false,\\\"name\\\":\\\"out7\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 7\\\",\\\"links\\\":[\\\"8e60b223-d7cc-4cab-be3e-b20d9809a031\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\"},{\\\"id\\\":\\\"fb76bd80-52d0-4977-8dbf-645acc55b46c\\\",\\\"in\\\":false,\\\"name\\\":\\\"out8\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 8\\\",\\\"links\\\":[\\\"631415d2-46d6-4576-a21e-cfccc6cdfabc\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\"},{\\\"id\\\":\\\"29afd046-b7d0-421d-b4cf-8de31256232d\\\",\\\"in\\\":false,\\\"name\\\":\\\"out9\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 9\\\",\\\"links\\\":[\\\"6619f14b-149b-41ec-adaf-45a6e5c6d6c5\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\"},{\\\"id\\\":\\\"9959d0d0-85fb-4683-a238-91916770762b\\\",\\\"in\\\":false,\\\"name\\\":\\\"out10\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Порт 10\\\",\\\"links\\\":[\\\"3b7584ac-5a4c-417b-ad2d-c8f2e3e5609f\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d32640d3-acc4-4ede-986d-653bf93b3c00\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"ports\\\":[{\\\"name\\\":\\\"out1\\\",\\\"tone\\\":\\\"0\\\",\\\"title\\\":\\\"Порт 1\\\"},{\\\"name\\\":\\\"out2\\\",\\\"tone\\\":\\\"1\\\",\\\"title\\\":\\\"Порт 2\\\"},{\\\"name\\\":\\\"out3\\\",\\\"tone\\\":\\\"2\\\",\\\"title\\\":\\\"Порт 3\\\"},{\\\"name\\\":\\\"out4\\\",\\\"tone\\\":\\\"3\\\",\\\"title\\\":\\\"Порт 4\\\"},{\\\"name\\\":\\\"out5\\\",\\\"tone\\\":\\\"4\\\",\\\"title\\\":\\\"Порт 5\\\"},{\\\"name\\\":\\\"out6\\\",\\\"tone\\\":\\\"5\\\",\\\"title\\\":\\\"Порт 6\\\"},{\\\"name\\\":\\\"out7\\\",\\\"tone\\\":\\\"6\\\",\\\"title\\\":\\\"Порт 7\\\"},{\\\"name\\\":\\\"out8\\\",\\\"tone\\\":\\\"7\\\",\\\"title\\\":\\\"Порт 8\\\"},{\\\"name\\\":\\\"out9\\\",\\\"tone\\\":\\\"8\\\",\\\"title\\\":\\\"Порт 9\\\"},{\\\"name\\\":\\\"out10\\\",\\\"tone\\\":\\\"9\\\",\\\"title\\\":\\\"Порт 10\\\"}],\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"question\\\":\\\"Добрый день. ÐœÐµÐ½Ñ Ð·Ð¾Ð²ÑƒÑ‚ Ðнна. ÐšÐ¾Ð¼Ð¿Ð°Ð½Ð¸Ñ \\\\\\\"название компании\\\\\\\". ПодÑкажите пожалуйÑта. ÐаÑколько велика вероÑтноÑÑ‚ÑŒ, что вы порекомендуете Ð½Ð°Ñ Ñвоему другу или коллеге? Оцените по 9 бальной шкале. Где 0 - ни в коем Ñлучае. 9 - точно буду порекомендовать. Ðажмите нужную цифру на Ñкране вашего телефона.\\\",\\\"retryUrl\\\":\\\"\\\",\\\"blockType\\\":\\\"ivr\\\",\\\"retryText\\\":\\\"Ðто ÐºÐ¾Ð¼Ð¿Ð°Ð½Ð¸Ñ \\\\\\\"название компании\\\\\\\". Оцените нашу работу по 9 бальной шкале. Где 0 - Ñовершенно недоволен. 9 - буду рекомендовать знакомым. Ðажмите нужную цифру на Ñкране вашего телефона.\\\",\\\"outputType\\\":\\\"say\\\",\\\"retryCount\\\":\\\"2\\\",\\\"retryVoice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"retryOutputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":672.9670215695368,\\\"y\\\":105.3578417617498,\\\"id\\\":\\\"a07ce828-29f2-40e4-b125-bbbd0506df7a\\\",\\\"name\\\":\\\"СтатуÑ\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"f45f563f-3417-42e5-ab68-6144c7fdd1da\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"c452e2a7-8cb4-499b-9a43-aa3c90932948\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"a07ce828-29f2-40e4-b125-bbbd0506df7a\\\"},{\\\"id\\\":\\\"2b0bf275-3099-4a3d-aef7-f42e9b7a615a\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"66c578c8-5972-414f-a547-39ad9713712d\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"a07ce828-29f2-40e4-b125-bbbd0506df7a\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"status\\\",\\\"statusName\\\":\\\"Ошибка ввода\\\",\\\"successful\\\":false},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1101.546875,\\\"y\\\":99,\\\"id\\\":\\\"e5477b5f-c02e-4bb0-99f7-bcaf426fe9e3\\\",\\\"name\\\":\\\"Конец\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"b12712ce-8738-410c-9ba5-b14bfdaf6ced\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"5b20c883-f5d5-4026-98ae-5320737e8db0\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"e5477b5f-c02e-4bb0-99f7-bcaf426fe9e3\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"end\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":858.7070556063212,\\\"y\\\":105.74027090948184,\\\"id\\\":\\\"29609ac2-d8a9-4e2c-9c93-1ba2dc939374\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"7d96fda9-9d27-4757-a1f6-6518b296714d\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"5b20c883-f5d5-4026-98ae-5320737e8db0\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"29609ac2-d8a9-4e2c-9c93-1ba2dc939374\\\"},{\\\"id\\\":\\\"623ed28b-ff89-4487-9c84-9899adf381e4\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"66c578c8-5972-414f-a547-39ad9713712d\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"29609ac2-d8a9-4e2c-9c93-1ba2dc939374\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"text\\\":\\\"Видимо проблемы Ñо ÑвÑзью. Ðе получили Ваш ответ. Я перезвоню позднее. До ÑвиданиÑ.\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":670.7502648305085,\\\"y\\\":214.15254237288136,\\\"id\\\":\\\"d4c624e3-c481-451d-85ea-76062f7dae53\\\",\\\"name\\\":\\\"СтатуÑ\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"cb04b905-85ef-46f2-8c19-0d8098e7a3a5\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"70f2fbda-9dbc-4df9-af8b-e16367d85957\\\",\\\"014d74dd-45a7-4e56-b14d-fe0987dff024\\\",\\\"79b61484-3dae-448d-bca0-eeeaa62630d1\\\",\\\"418def1d-4e51-4bfb-ba97-bfe5b33c4a22\\\",\\\"c9619d83-01f0-4c99-890d-16503654fa51\\\",\\\"6f8a29b6-c036-48b8-8113-68a44162a280\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d4c624e3-c481-451d-85ea-76062f7dae53\\\"},{\\\"id\\\":\\\"40ead76a-f30b-4012-85ec-3f61ec1912e8\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"54f061b8-b83b-47cf-b141-0feff849adf1\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"d4c624e3-c481-451d-85ea-76062f7dae53\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"status\\\",\\\"statusName\\\":\\\"Точно не порекомендует\\\",\\\"successful\\\":true},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":858.3773834745763,\\\"y\\\":213.90707188778487,\\\"id\\\":\\\"2d686215-76bd-46b5-918f-c4ddd79ba3ec\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"e5779aa3-6d20-497d-bb9d-7e348750d234\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"aee8b181-8b5b-4154-b4db-4ff21aa65dc9\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"2d686215-76bd-46b5-918f-c4ddd79ba3ec\\\"},{\\\"id\\\":\\\"e965e50a-6f86-43b2-bce5-d513733ab879\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"54f061b8-b83b-47cf-b141-0feff849adf1\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"2d686215-76bd-46b5-918f-c4ddd79ba3ec\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"text\\\":\\\"Что мы могли бы иÑправить в нашей работе, чтобы получить более выÑокую оценку?\\\\nПоÑле звукового Ñигнала начнетÑÑ Ð·Ð°Ð¿Ð¸ÑÑŒ вашего ответа.\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1089.224841101695,\\\"y\\\":213.90707188778492,\\\"id\\\":\\\"5860abdd-b1fe-490b-9422-0f5c5afdd9ef\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"b01fafbf-94cc-4899-849a-808de2ccc83c\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"a1978466-d13e-4819-9518-815730f6f6eb\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"5860abdd-b1fe-490b-9422-0f5c5afdd9ef\\\"},{\\\"id\\\":\\\"c00f72fc-a4a1-4541-8b07-8ec62c698a68\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"aee8b181-8b5b-4154-b4db-4ff21aa65dc9\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"5860abdd-b1fe-490b-9422-0f5c5afdd9ef\\\"}],\\\"config\\\":{\\\"url\\\":\\\"https://enjoybook.s3.amazonaws.com/pbx/audio/file/11/%D0%A1%D0%B8%D0%B3%D0%BD%D0%B0%D0%BB_%D0%B4%D0%BB%D1%8F_%D0%B7%D0%B0%D0%BF%D0%B8%D1%81%D0%B8.mp3\\\",\\\"text\\\":\\\"\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"play\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":671.2587394067797,\\\"y\\\":293.22910578609,\\\"id\\\":\\\"59ea4e0f-c7b1-435e-9c3f-4874a330dd10\\\",\\\"name\\\":\\\"СтатуÑ\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"202c29a1-480e-4c1c-886a-0a5e79a35c6b\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"8e60b223-d7cc-4cab-be3e-b20d9809a031\\\",\\\"631415d2-46d6-4576-a21e-cfccc6cdfabc\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"59ea4e0f-c7b1-435e-9c3f-4874a330dd10\\\"},{\\\"id\\\":\\\"b2fea7fe-a7ba-4179-9b7b-c2b02cbda86a\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"e530d554-bd21-4909-8800-be7d8c0b4791\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"59ea4e0f-c7b1-435e-9c3f-4874a330dd10\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"status\\\",\\\"statusName\\\":\\\"Возможно порекомендует\\\",\\\"successful\\\":true},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":859.3943326271186,\\\"y\\\":291.21439520086454,\\\"id\\\":\\\"e6a3c204-7d78-4576-b06f-6e84d76d329f\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"184f9b8b-b342-45a5-905a-b971bf5885e8\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"ac133821-455a-43ef-8fd9-de01d4e07961\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"e6a3c204-7d78-4576-b06f-6e84d76d329f\\\"},{\\\"id\\\":\\\"88afbd2a-2638-4b8a-a4cf-9b4ec9f36f65\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"e530d554-bd21-4909-8800-be7d8c0b4791\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"e6a3c204-7d78-4576-b06f-6e84d76d329f\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"text\\\":\\\"Что мы могли бы иÑправить в нашей работе, чтобы получить более выÑокую оценку?\\\\nПоÑле звукового Ñигнала начнетÑÑ Ð·Ð°Ð¿Ð¸ÑÑŒ вашего ответа.\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1090.0115376159256,\\\"y\\\":286.68609331407214,\\\"id\\\":\\\"2c1c08e1-7a02-4eae-90dd-434fec775f01\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"88573544-91c4-4f11-b06a-9516255c74e0\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"5e7c1b72-4cf8-44b9-80d2-f6d812911b6b\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"2c1c08e1-7a02-4eae-90dd-434fec775f01\\\"},{\\\"id\\\":\\\"5b93d2ad-f021-4016-927b-ba08e006ca89\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"ac133821-455a-43ef-8fd9-de01d4e07961\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"2c1c08e1-7a02-4eae-90dd-434fec775f01\\\"}],\\\"config\\\":{\\\"url\\\":\\\"https://enjoybook.s3.amazonaws.com/pbx/audio/file/11/%D0%A1%D0%B8%D0%B3%D0%BD%D0%B0%D0%BB_%D0%B4%D0%BB%D1%8F_%D0%B7%D0%B0%D0%BF%D0%B8%D1%81%D0%B8.mp3\\\",\\\"text\\\":\\\"\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"play\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":858.492509793732,\\\"y\\\":360.71231653121316,\\\"id\\\":\\\"6b867b6a-d6bd-4012-aa6c-babf7381b538\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"09bab498-e0cb-4e76-ac5c-72b4e0ff3739\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"f97dae72-0fa2-4860-bd36-0f57b940de1f\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"6b867b6a-d6bd-4012-aa6c-babf7381b538\\\"},{\\\"id\\\":\\\"b2e1ffa7-ec56-4166-a4fa-83ef095fb13e\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"4dbc0edd-d8d1-4199-beee-e66f9917a31c\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"6b867b6a-d6bd-4012-aa6c-babf7381b538\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"text\\\":\\\"СпаÑибо за макÑимальную оценку! Мы рады, что вы ÑвлÑетеÑÑŒ нашим клиентом. До ÑвиданиÑ!\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":669.2248411016948,\\\"y\\\":360.3477498538866,\\\"id\\\":\\\"e094e7b7-f505-4b51-813c-2d62cd34a39b\\\",\\\"name\\\":\\\"СтатуÑ\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"3b62089e-f09b-4daa-bf49-d771a9f7f558\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"6619f14b-149b-41ec-adaf-45a6e5c6d6c5\\\",\\\"3b7584ac-5a4c-417b-ad2d-c8f2e3e5609f\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"e094e7b7-f505-4b51-813c-2d62cd34a39b\\\"},{\\\"id\\\":\\\"df416934-402c-4155-b7b2-9947f0545faf\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"4dbc0edd-d8d1-4199-beee-e66f9917a31c\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"e094e7b7-f505-4b51-813c-2d62cd34a39b\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"status\\\",\\\"statusName\\\":\\\"ОбÑзательно порекомендую\\\",\\\"successful\\\":true},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1196.0045021186438,\\\"y\\\":354.24605493863237,\\\"id\\\":\\\"a5f86d27-2ed9-4824-82fb-6c2c5c8cb0c6\\\",\\\"name\\\":\\\"Конец\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"a9573d2a-4edc-4292-ae29-923e83c324f8\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"f97dae72-0fa2-4860-bd36-0f57b940de1f\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"a5f86d27-2ed9-4824-82fb-6c2c5c8cb0c6\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"end\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1835.069803150451,\\\"y\\\":264.66631122153564,\\\"id\\\":\\\"bb889181-673a-4d64-89ab-18506be23c11\\\",\\\"name\\\":\\\"Конец\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[{\\\"id\\\":\\\"1132a045-a802-48da-a19c-80641d8533cb\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"81358a45-2d1e-4871-9445-5243688ad604\\\",\\\"073db085-e2dd-42af-b728-8a25c4ecc9e2\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"bb889181-673a-4d64-89ab-18506be23c11\\\"}],\\\"config\\\":{\\\"blockType\\\":\\\"end\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1544.126406924036,\\\"y\\\":217.43997106167828,\\\"id\\\":\\\"6cfda119-4498-48bf-9ab0-8f21463624cb\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"2f73648b-4ed8-4951-84f6-7b9cc819c04f\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"073db085-e2dd-42af-b728-8a25c4ecc9e2\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"6cfda119-4498-48bf-9ab0-8f21463624cb\\\"},{\\\"id\\\":\\\"f614d9d8-87ca-49f8-835b-eb2893ebc8d1\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"321c2e51-9981-468d-bd12-3ab66550b7c4\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"6cfda119-4498-48bf-9ab0-8f21463624cb\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"text\\\":\\\"СпаÑибо за обратную ÑвÑзь. Мы обÑзательно разрешим ÑложившуюÑÑ Ñитуацию. До ÑвиданиÑ!\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1539.5981050372436,\\\"y\\\":289.89280125035754,\\\"id\\\":\\\"42b90608-1ce9-4635-9a89-90ac3bc69a3c\\\",\\\"name\\\":\\\"Сказать или проиграть\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"3d981647-3926-4c80-b90b-56cd46ce25b8\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"81358a45-2d1e-4871-9445-5243688ad604\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"42b90608-1ce9-4635-9a89-90ac3bc69a3c\\\"},{\\\"id\\\":\\\"4a9101e0-382e-41dc-af28-79ebf539b1da\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"be513d76-806c-4e0a-a51a-e0ac0e4f1efe\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"42b90608-1ce9-4635-9a89-90ac3bc69a3c\\\"}],\\\"config\\\":{\\\"url\\\":\\\"\\\",\\\"text\\\":\\\"Мы обÑзательно передадим Ваши Ð·Ð°Ð¼ÐµÑ‡Ð°Ð½Ð¸Ñ Ñ€ÑƒÐºÐ¾Ð²Ð¾Ð´Ñтву и поÑтараемÑÑ ÑƒÑ‡ÐµÑÑ‚ÑŒ их в дальнейшей работе.\\\",\\\"voice\\\":\\\"RU_RUSSIAN_FEMALE\\\",\\\"blockType\\\":\\\"sayorplay\\\",\\\"outputType\\\":\\\"say\\\"},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1343.7561661142624,\\\"y\\\":216.40522419051115,\\\"id\\\":\\\"b601237e-2a6c-4630-a580-55f2eea479bf\\\",\\\"name\\\":\\\"ЗапиÑÑŒ\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"8f1c0257-58d6-4bd7-b9dd-279274e508a5\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"a1978466-d13e-4819-9518-815730f6f6eb\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"b601237e-2a6c-4630-a580-55f2eea479bf\\\"},{\\\"id\\\":\\\"a0f25291-50d3-4b08-8a84-6f5fd8f461f7\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"321c2e51-9981-468d-bd12-3ab66550b7c4\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"b601237e-2a6c-4630-a580-55f2eea479bf\\\"}],\\\"config\\\":{\\\"needSTT\\\":false,\\\"blockType\\\":\\\"record\\\",\\\"urlVarName\\\":\\\"record_url\\\",\\\"textVarName\\\":\\\"record_text\\\",\\\"waitSilence\\\":1500},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":1341.2436033001923,\\\"y\\\":286.756982984481,\\\"id\\\":\\\"f37b7cde-0fbe-44da-871b-6452e211595b\\\",\\\"name\\\":\\\"ЗапиÑÑŒ\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#00b388\\\",\\\"ports\\\":[{\\\"id\\\":\\\"1e66b757-6eec-416a-8d16-b56f909c8cdc\\\",\\\"in\\\":true,\\\"name\\\":\\\"in\\\",\\\"type\\\":\\\"base_in\\\",\\\"label\\\":\\\"Вход\\\",\\\"links\\\":[\\\"5e7c1b72-4cf8-44b9-80d2-f6d812911b6b\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"f37b7cde-0fbe-44da-871b-6452e211595b\\\"},{\\\"id\\\":\\\"03e4fc01-eff0-4403-ba80-6a6bf28df40c\\\",\\\"in\\\":false,\\\"name\\\":\\\"out1\\\",\\\"type\\\":\\\"base_out\\\",\\\"label\\\":\\\"Выход\\\",\\\"links\\\":[\\\"be513d76-806c-4e0a-a51a-e0ac0e4f1efe\\\"],\\\"selected\\\":false,\\\"parentNode\\\":\\\"f37b7cde-0fbe-44da-871b-6452e211595b\\\"}],\\\"config\\\":{\\\"needSTT\\\":false,\\\"blockType\\\":\\\"record\\\",\\\"urlVarName\\\":\\\"record_url\\\",\\\"textVarName\\\":\\\"record_text\\\",\\\"waitSilence\\\":1500},\\\"extras\\\":{},\\\"selected\\\":false},{\\\"x\\\":74.88799596268144,\\\"y\\\":464.0682096355012,\\\"id\\\":\\\"c7a4074b-c427-4b76-ada3-d847b6c6eb16\\\",\\\"name\\\":\\\"Глобальный контекÑÑ‚\\\",\\\"type\\\":\\\"default\\\",\\\"color\\\":\\\"#ff0000\\\",\\\"ports\\\":[],\\\"config\\\":{\\\"ports\\\":[],\\\"static\\\":true,\\\"blockType\\\":\\\"globalcontext\\\"},\\\"extras\\\":{},\\\"selected\\\":false}],\\\"offsetX\\\":7.737301726936181,\\\"offsetY\\\":126.94234565012528,\\\"gridSize\\\":0}\"),\n },\n {\n id: 5,\n name: 'ПуÑтой иÑходÑщий звонок klientiks_crm',\n tag: 'klientiks_crm',\n scenario_type: 'outcoming',\n description: 'Ð”Ð»Ñ ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ Ð¾Ð±Ð·Ð²Ð¾Ð½Ð¾Ð² по базе.',\n serialized_model: {\n \"id\":\"f6ba910c-f7df-41b8-8452-54d15b84df42\",\n \"zoom\":100,\n \"links\":[],\n \"nodes\":[\n {\n \"x\":100, \"y\":100, \"id\":\"233f9dbf-cbc7-48c3-ada4-2f042beb63e2\", \"name\":\"ИÑходÑщий звонок\", \"type\":\"default\", \"color\":\"#ff0000\",\n \"ports\":[{\"id\":\"44dd6fb0-6da0-4317-b6d5-8f52ced7e0c3\", \"in\":false, \"name\":\"out1\", \"type\":\"base_out\", \"label\":\"Выход\", \"links\":[], \"selected\":false, \"parentNode\":\"233f9dbf-cbc7-48c3-ada4-2f042beb63e2\"}],\n \"config\":{\"static\":true, \"voicemailDetector\":true, \"blockType\":\"outcomingcall\"}, \"extras\":{}, \"selected\":false\n }\n ],\n \"offsetX\":0,\n \"offsetY\":0,\n \"gridSize\":0\n }\n },\n ]\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.templates;\n\nexport const getTemplates = state => {\n return moduleState(state).items;\n};\n","import {\n createInvoice as ApiCreateInvoice,\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst CREATE_INVOICE = 'invoice/CREATE_INVOICE';\nconst CREATE_INVOICE_SUCCESS = 'invoice/CREATE_INVOICE_SUCCESS';\nconst CREATE_INVOICE_FAIL = 'invoice/CREATE_SCENARIO_FAIL';\n\nexport const createInvoice = (amount) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: CREATE_INVOICE });\n return ApiCreateInvoice(token, amount)\n .then(response => {\n dispatch({ type: CREATE_INVOICE_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: CREATE_INVOICE_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n item: null,\n loading: false,\n error: false\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case CREATE_INVOICE: {\n return { ...state, loading: true, error: null };\n }\n\n case CREATE_INVOICE_SUCCESS: {\n return { ...state, item: action.payload, loading: false };\n }\n\n case CREATE_INVOICE_FAIL: {\n return { ...state, error: action.payload.message, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.invoice;\n\nexport const getInvoice = state => {\n return moduleState(state).item;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadUser as ApiLoadUser,\n updateUser as ApiUpdateUser\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_USER = 'user/LOAD_USER';\nconst LOAD_USER_SUCCESS = 'user/LOAD_USER_SUCCESS';\nconst LOAD_USER_FAIL = 'user/LOAD_USER_FAIL';\n\nconst UPDATE_USER = 'scenario/UPDATE_USER';\nconst UPDATE_USER_SUCCESS = 'scenario/UPDATE_USER_SUCCESS';\nconst UPDATE_USER_FAIL = 'scenario/UPDATE_USER_FAIL';\n\nexport const loadUser = (id) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_USER });\n return ApiLoadUser(token, id)\n .then(response => {\n dispatch({ type: LOAD_USER_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_USER_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const updateUser = user => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: UPDATE_USER });\n return ApiUpdateUser(token, user)\n .then(response => {\n dispatch({ type: UPDATE_USER_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: UPDATE_USER_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n item: null,\n loading: false,\n error: false\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_USER: {\n return { ...state, loading: true, error: false, item: null };\n }\n\n case LOAD_USER_SUCCESS: {\n return { ...state, item: action.payload, loading: false };\n }\n\n case LOAD_USER_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n case UPDATE_USER: {\n return { ...state, loading: true, error: false };\n }\n\n case UPDATE_USER_SUCCESS: {\n return { ...state, item: action.payload, loading: false };\n }\n\n case UPDATE_USER_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.user;\n\nexport const getUser = state => {\n return moduleState(state).item;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadFeatures as ApiLoadFeatures,\n updateFeatures as ApiUpdateFeatures\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_FEATURES = 'features/LOAD_FEATURES';\nconst LOAD_FEATURES_SUCCESS = 'features/LOAD_FEATURES_SUCCESS';\nconst LOAD_FEATURES_FAIL = 'features/LOAD_FEATURES_FAIL';\n\nconst UPDATE_FEATURES = 'features/UPDATE_FEATURES';\nconst UPDATE_FEATURES_SUCCESS = 'features/UPDATE_FEATURES_SUCCESS';\nconst UPDATE_FEATURES_FAIL = 'features/UPDATE_FEATURES_FAIL';\n\nexport const loadFeatures = () => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_FEATURES });\n return ApiLoadFeatures(token)\n .then(response => {\n dispatch({ type: LOAD_FEATURES_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_FEATURES_FAIL, payload: error.response.data });\n });\n };\n};\n\nexport const updateFeatures = (features) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({type: UPDATE_FEATURES});\n return ApiUpdateFeatures(token, features)\n .then(response => {\n dispatch({ type: UPDATE_FEATURES_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: UPDATE_FEATURES_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n items: {}\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_FEATURES: {\n return { ...state, loading: true };\n }\n\n case LOAD_FEATURES_SUCCESS: {\n return { ...state, items: action.payload, loading: false };\n }\n\n case LOAD_FEATURES_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n case UPDATE_FEATURES_SUCCESS: {\n return { ...state, items: action.payload, loading: false };\n }\n\n case UPDATE_FEATURES_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.features;\n\nexport const getFeatures = state => {\n return moduleState(state).items;\n};\n","import {\n loadDashboardCalls as ApiLoadDashboardCalls,\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_DASHBOARD_CALLS = 'user/LOAD_DASHBOARD_CALLS';\nconst LOAD_DASHBOARD_CALLS_SUCCESS = 'user/LOAD_DASHBOARD_CALLS_SUCCESS';\nconst LOAD_DASHBOARD_CALLS_FAIL = 'user/LOAD_DASHBOARD_CALLS_FAIL';\n\nexport const loadCalls = (from, to) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_DASHBOARD_CALLS });\n return ApiLoadDashboardCalls(token, from, to)\n .then(response => {\n dispatch({ type: LOAD_DASHBOARD_CALLS_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_DASHBOARD_CALLS_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n calls: null,\n calls_loading: false,\n calls_error: false\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_DASHBOARD_CALLS: {\n return { ...state, calls_loading: true, calls_error: false };\n }\n\n case LOAD_DASHBOARD_CALLS_SUCCESS: {\n return { ...state, calls: action.payload, calls_loading: false };\n }\n\n case LOAD_DASHBOARD_CALLS_FAIL: {\n return { ...state, calls_error: action.payload.error, calls_loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.dashboard;\n\nexport const getCalls = state => {\n return moduleState(state).calls;\n};\n\nexport const getCallsLoading = state => {\n return moduleState(state).calls_loading;\n};\n\nexport const getCallsError = state => {\n return moduleState(state).calls_error;\n};\n","import {\n loadContactActivities as ApiLoadContactActivities,\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_CONTACT_ACTIVITIES = 'contact_activities/LOAD_CONTACT_ACTIVITIES';\nconst LOAD_CONTACT_ACTIVITIES_SUCCESS = 'contact_activities/LOAD_CONTACT_ACTIVITIES_SUCCESS';\nconst LOAD_CONTACT_ACTIVITIES_FAIL = 'contact_activities/LOAD_CONTACT_ACTIVITIES_FAIL';\n\nexport const loadContactActivities = (contactId) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_CONTACT_ACTIVITIES });\n return ApiLoadContactActivities(token, contactId)\n .then(response => {\n dispatch({ type: LOAD_CONTACT_ACTIVITIES_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_CONTACT_ACTIVITIES_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n items: []\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_CONTACT_ACTIVITIES: {\n return { ...state, loading: true };\n }\n\n case LOAD_CONTACT_ACTIVITIES_SUCCESS: {\n return { ...state, items: action.payload, loading: false };\n }\n\n case LOAD_CONTACT_ACTIVITIES_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.contact_activities;\n\nexport const getContactActivities = state => {\n return moduleState(state).items;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadContacts as ApiLoadContacts,\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_CONTACTS = 'contacts/LOAD_CONTACTS';\nconst LOAD_CONTACTS_SUCCESS = 'contacts/LOAD_CONTACTS_SUCCESS';\nconst LOAD_CONTACTS_FAIL = 'contacts/LOAD_CONTACTS_FAIL';\n\nexport const loadContacts = () => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_CONTACTS });\n return ApiLoadContacts(token)\n .then(response => {\n dispatch({ type: LOAD_CONTACTS_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_CONTACTS_FAIL, payload: error.response.data });\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n items: []\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_CONTACTS: {\n return { ...state, loading: true };\n }\n\n case LOAD_CONTACTS_SUCCESS: {\n return { ...state, items: action.payload, loading: false };\n }\n\n case LOAD_CONTACTS_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.contacts;\n\nexport const getContacts = state => {\n return moduleState(state).items;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import {\n loadAcdQueues as ApiLoadAcdQueues,\n createAcdQueue as ApiCreateAcdQueue,\n deleteAcdQueue as ApiDeleteAcdQueue\n} from 'api/speechrobot';\nimport { getToken } from './auth';\n\nconst LOAD_ACD_QUEUES = 'acd_queues/LOAD_ACD_QUEUES';\nconst LOAD_ACD_QUEUES_SUCCESS = 'acd_queues/LOAD_ACD_QUEUES_SUCCESS';\nconst LOAD_ACD_QUEUES_FAIL = 'acd_queues/LOAD_ACD_QUEUES_FAIL';\n\nconst CREATE_ACD_QUEUE = 'acd_queues/CREATE_ACD_QUEUE';\nconst CREATE_ACD_QUEUE_SUCCESS = 'acd_queues/CREATE_ACD_QUEUE_SUCCESS';\nconst CREATE_ACD_QUEUE_FAIL = 'acd_queues/CREATE_ACD_QUEUE_FAIL';\n\nconst DELETE_ACD_QUEUE = 'acd_queues/DELETE_ACD_QUEUE';\nconst DELETE_ACD_QUEUE_SUCCESS = 'acd_queues/DELETE_ACD_QUEUE_SUCCESS';\nconst DELETE_ACD_QUEUE_FAIL = 'acd_queues/DELETE_ACD_QUEUE_FAIL';\n\nexport const loadAcdQueues = () => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: LOAD_ACD_QUEUES });\n return ApiLoadAcdQueues(token)\n .then(response => {\n dispatch({ type: LOAD_ACD_QUEUES_SUCCESS, payload: response.data });\n })\n .catch(error => {\n dispatch({ type: LOAD_ACD_QUEUES_FAIL, payload: error });\n });\n };\n};\n\nexport const createAcdQueue = (operator, operatorsIds) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({ type: CREATE_ACD_QUEUE });\n return ApiCreateAcdQueue(token, operator, operatorsIds)\n .then(response => {\n dispatch({ type: CREATE_ACD_QUEUE_SUCCESS, payload: response.data });\n return response.data;\n })\n .catch(error => {\n dispatch({ type: CREATE_ACD_QUEUE_FAIL, payload: error.response.data });\n throw error.response.data.error;\n });\n };\n};\n\nexport const deleteAcdQueue = (id) => {\n return (dispatch, getState) => {\n const token = getToken(getState());\n dispatch({type: DELETE_ACD_QUEUE});\n return ApiDeleteAcdQueue(token, id)\n .then(response => {\n dispatch(loadAcdQueues());\n dispatch({type: DELETE_ACD_QUEUE_SUCCESS, payload: response.data});\n })\n .catch(error => {\n dispatch({type: DELETE_ACD_QUEUE_FAIL, payload: error.response.data});\n });\n };\n};\n\nconst INITIAL_STATE = {\n loading: false,\n error: false,\n items: []\n};\n\nexport default (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case LOAD_ACD_QUEUES: {\n return { ...state, loading: true };\n }\n\n case LOAD_ACD_QUEUES_SUCCESS: {\n return { ...state, items: action.payload, loading: false };\n }\n\n case LOAD_ACD_QUEUES_FAIL: {\n return { ...state, error: action.payload.error, loading: false };\n }\n\n default:\n return state;\n }\n};\n\nconst moduleState = state => state.acd_queues;\n\nexport const getAcdQueues = state => {\n return moduleState(state).items;\n};\n\nexport const getLoading = state => {\n return moduleState(state).loading;\n};\n\nexport const getError = state => {\n return moduleState(state).error;\n};\n","import { combineReducers } from 'redux';\nimport auth from './auth';\nimport account from './account';\nimport operator from './operator';\nimport operators from './operators';\nimport scenarios from './scenarios';\nimport scenario from './scenario';\nimport call_lists from './call_lists';\nimport call_list from './call_list';\nimport tasks from './tasks';\nimport task from './task';\nimport phone_numbers from './phone_numbers';\nimport phone_number from './phone_number';\nimport calls from './calls';\nimport calls_chart from './calls_chart';\nimport audios from './audios';\nimport audio from './audio';\nimport payments from './payments';\nimport templates from './templates';\nimport invoice from './invoice';\nimport user from './user';\nimport features from './features';\nimport dashboard from './dashboard';\nimport contact_activities from './contact_activities';\nimport contacts from './contacts';\nimport acd_queues from './acd_queues';\n\nexport default combineReducers({\n auth,\n account,\n operator,\n operators,\n scenarios,\n scenario,\n call_lists,\n call_list,\n tasks,\n task,\n phone_numbers,\n phone_number,\n calls,\n calls_chart,\n audios,\n audio,\n payments,\n templates,\n invoice,\n user,\n features,\n dashboard,\n contact_activities,\n contacts,\n acd_queues\n});\n","import { createStore, applyMiddleware } from 'redux';\nimport thunk from 'redux-thunk';\nimport { createLogger } from 'redux-logger';\nimport rootReducer from './store';\n\nconst middlewares = [thunk];\n\n// in dev mode\nif (process.env.NODE_ENV === 'development') {\n const logger = createLogger({});\n middlewares.push(logger);\n}\n\nexport default function (initialState = {}) {\n return createStore(rootReducer, initialState, applyMiddleware(...middlewares));\n}\n","export default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}","function isAbsolute(pathname) {\n return pathname.charAt(0) === '/';\n} // About 1.5x faster than the two-arg version of Array#splice()\n\n\nfunction spliceOne(list, index) {\n for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {\n list[i] = list[k];\n }\n\n list.pop();\n} // This implementation is based heavily on node's url.parse\n\n\nfunction resolvePathname(to, from) {\n if (from === undefined) from = '';\n var toParts = to && to.split('/') || [];\n var fromParts = from && from.split('/') || [];\n var isToAbs = to && isAbsolute(to);\n var isFromAbs = from && isAbsolute(from);\n var mustEndAbs = isToAbs || isFromAbs;\n\n if (to && isAbsolute(to)) {\n // to is absolute\n fromParts = toParts;\n } else if (toParts.length) {\n // to is relative, drop the filename\n fromParts.pop();\n fromParts = fromParts.concat(toParts);\n }\n\n if (!fromParts.length) return '/';\n var hasTrailingSlash;\n\n if (fromParts.length) {\n var last = fromParts[fromParts.length - 1];\n hasTrailingSlash = last === '.' || last === '..' || last === '';\n } else {\n hasTrailingSlash = false;\n }\n\n var up = 0;\n\n for (var i = fromParts.length; i >= 0; i--) {\n var part = fromParts[i];\n\n if (part === '.') {\n spliceOne(fromParts, i);\n } else if (part === '..') {\n spliceOne(fromParts, i);\n up++;\n } else if (up) {\n spliceOne(fromParts, i);\n up--;\n }\n }\n\n if (!mustEndAbs) for (; up--; up) {\n fromParts.unshift('..');\n }\n if (mustEndAbs && fromParts[0] !== '' && (!fromParts[0] || !isAbsolute(fromParts[0]))) fromParts.unshift('');\n var result = fromParts.join('/');\n if (hasTrailingSlash && result.substr(-1) !== '/') result += '/';\n return result;\n}\n\nexport default resolvePathname;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nfunction valueOf(obj) {\n return obj.valueOf ? obj.valueOf() : Object.prototype.valueOf.call(obj);\n}\n\nfunction valueEqual(a, b) {\n // Test for strict equality first.\n if (a === b) return true; // Otherwise, if either of them == null they are not equal.\n\n if (a == null || b == null) return false;\n\n if (Array.isArray(a)) {\n return Array.isArray(b) && a.length === b.length && a.every(function (item, index) {\n return valueEqual(item, b[index]);\n });\n }\n\n if (_typeof(a) === 'object' || _typeof(b) === 'object') {\n var aValue = valueOf(a);\n var bValue = valueOf(b);\n if (aValue !== a || bValue !== b) return valueEqual(aValue, bValue);\n return Object.keys(Object.assign({}, a, b)).every(function (key) {\n return valueEqual(a[key], b[key]);\n });\n }\n\n return false;\n}\n\nexport default valueEqual;","var isProduction = process.env.NODE_ENV === 'production';\nvar prefix = 'Invariant failed';\n\nfunction invariant(condition, message) {\n if (condition) {\n return;\n }\n\n if (isProduction) {\n throw new Error(prefix);\n }\n\n throw new Error(prefix + \": \" + (message || ''));\n}\n\nexport default invariant;","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport resolvePathname from 'resolve-pathname';\nimport valueEqual from 'value-equal';\nimport warning from 'tiny-warning';\nimport invariant from 'tiny-invariant';\n\nfunction addLeadingSlash(path) {\n return path.charAt(0) === '/' ? path : '/' + path;\n}\n\nfunction stripLeadingSlash(path) {\n return path.charAt(0) === '/' ? path.substr(1) : path;\n}\n\nfunction hasBasename(path, prefix) {\n return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;\n}\n\nfunction stripBasename(path, prefix) {\n return hasBasename(path, prefix) ? path.substr(prefix.length) : path;\n}\n\nfunction stripTrailingSlash(path) {\n return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;\n}\n\nfunction parsePath(path) {\n var pathname = path || '/';\n var search = '';\n var hash = '';\n var hashIndex = pathname.indexOf('#');\n\n if (hashIndex !== -1) {\n hash = pathname.substr(hashIndex);\n pathname = pathname.substr(0, hashIndex);\n }\n\n var searchIndex = pathname.indexOf('?');\n\n if (searchIndex !== -1) {\n search = pathname.substr(searchIndex);\n pathname = pathname.substr(0, searchIndex);\n }\n\n return {\n pathname: pathname,\n search: search === '?' ? '' : search,\n hash: hash === '#' ? '' : hash\n };\n}\n\nfunction createPath(location) {\n var pathname = location.pathname,\n search = location.search,\n hash = location.hash;\n var path = pathname || '/';\n if (search && search !== '?') path += search.charAt(0) === '?' ? search : \"?\" + search;\n if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : \"#\" + hash;\n return path;\n}\n\nfunction createLocation(path, state, key, currentLocation) {\n var location;\n\n if (typeof path === 'string') {\n // Two-arg form: push(path, state)\n location = parsePath(path);\n location.state = state;\n } else {\n // One-arg form: push(location)\n location = _extends({}, path);\n if (location.pathname === undefined) location.pathname = '';\n\n if (location.search) {\n if (location.search.charAt(0) !== '?') location.search = '?' + location.search;\n } else {\n location.search = '';\n }\n\n if (location.hash) {\n if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;\n } else {\n location.hash = '';\n }\n\n if (state !== undefined && location.state === undefined) location.state = state;\n }\n\n try {\n location.pathname = decodeURI(location.pathname);\n } catch (e) {\n if (e instanceof URIError) {\n throw new URIError('Pathname \"' + location.pathname + '\" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');\n } else {\n throw e;\n }\n }\n\n if (key) location.key = key;\n\n if (currentLocation) {\n // Resolve incomplete/relative pathname relative to current location.\n if (!location.pathname) {\n location.pathname = currentLocation.pathname;\n } else if (location.pathname.charAt(0) !== '/') {\n location.pathname = resolvePathname(location.pathname, currentLocation.pathname);\n }\n } else {\n // When there is no prior location and pathname is empty, set it to /\n if (!location.pathname) {\n location.pathname = '/';\n }\n }\n\n return location;\n}\n\nfunction locationsAreEqual(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && valueEqual(a.state, b.state);\n}\n\nfunction createTransitionManager() {\n var prompt = null;\n\n function setPrompt(nextPrompt) {\n process.env.NODE_ENV !== \"production\" ? warning(prompt == null, 'A history supports only one prompt at a time') : void 0;\n prompt = nextPrompt;\n return function () {\n if (prompt === nextPrompt) prompt = null;\n };\n }\n\n function confirmTransitionTo(location, action, getUserConfirmation, callback) {\n // TODO: If another transition starts while we're still confirming\n // the previous one, we may end up in a weird state. Figure out the\n // best way to handle this.\n if (prompt != null) {\n var result = typeof prompt === 'function' ? prompt(location, action) : prompt;\n\n if (typeof result === 'string') {\n if (typeof getUserConfirmation === 'function') {\n getUserConfirmation(result, callback);\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;\n callback(true);\n }\n } else {\n // Return false from a transition hook to cancel the transition.\n callback(result !== false);\n }\n } else {\n callback(true);\n }\n }\n\n var listeners = [];\n\n function appendListener(fn) {\n var isActive = true;\n\n function listener() {\n if (isActive) fn.apply(void 0, arguments);\n }\n\n listeners.push(listener);\n return function () {\n isActive = false;\n listeners = listeners.filter(function (item) {\n return item !== listener;\n });\n };\n }\n\n function notifyListeners() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n listeners.forEach(function (listener) {\n return listener.apply(void 0, args);\n });\n }\n\n return {\n setPrompt: setPrompt,\n confirmTransitionTo: confirmTransitionTo,\n appendListener: appendListener,\n notifyListeners: notifyListeners\n };\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nfunction getConfirmation(message, callback) {\n callback(window.confirm(message)); // eslint-disable-line no-alert\n}\n/**\n * Returns true if the HTML5 history API is supported. Taken from Modernizr.\n *\n * https://github.com/Modernizr/Modernizr/blob/master/LICENSE\n * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586\n */\n\n\nfunction supportsHistory() {\n var ua = window.navigator.userAgent;\n if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;\n return window.history && 'pushState' in window.history;\n}\n/**\n * Returns true if browser fires popstate on hash change.\n * IE10 and IE11 do not.\n */\n\n\nfunction supportsPopStateOnHashChange() {\n return window.navigator.userAgent.indexOf('Trident') === -1;\n}\n/**\n * Returns false if using go(n) with hash history causes a full page reload.\n */\n\n\nfunction supportsGoWithoutReloadUsingHash() {\n return window.navigator.userAgent.indexOf('Firefox') === -1;\n}\n/**\n * Returns true if a given popstate event is an extraneous WebKit event.\n * Accounts for the fact that Chrome on iOS fires real popstate events\n * containing undefined state when pressing the back button.\n */\n\n\nfunction isExtraneousPopstateEvent(event) {\n return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;\n}\n\nvar PopStateEvent = 'popstate';\nvar HashChangeEvent = 'hashchange';\n\nfunction getHistoryState() {\n try {\n return window.history.state || {};\n } catch (e) {\n // IE 11 sometimes throws when accessing window.history.state\n // See https://github.com/ReactTraining/history/pull/289\n return {};\n }\n}\n/**\n * Creates a history object that uses the HTML5 history API including\n * pushState, replaceState, and the popstate event.\n */\n\n\nfunction createBrowserHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Browser history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canUseHistory = supportsHistory();\n var needsHashChangeListener = !supportsPopStateOnHashChange();\n var _props = props,\n _props$forceRefresh = _props.forceRefresh,\n forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n\n function getDOMLocation(historyState) {\n var _ref = historyState || {},\n key = _ref.key,\n state = _ref.state;\n\n var _window$location = window.location,\n pathname = _window$location.pathname,\n search = _window$location.search,\n hash = _window$location.hash;\n var path = pathname + search + hash;\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path, state, key);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function handlePopState(event) {\n // Ignore extraneous popstate events in WebKit.\n if (isExtraneousPopstateEvent(event)) return;\n handlePop(getDOMLocation(event.state));\n }\n\n function handleHashChange() {\n handlePop(getDOMLocation(getHistoryState()));\n }\n\n var forceNextPop = false;\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of keys we've seen in sessionStorage.\n // Instead, we just default to 0 for keys we don't know.\n\n var toIndex = allKeys.indexOf(toLocation.key);\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allKeys.indexOf(fromLocation.key);\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n }\n\n var initialLocation = getDOMLocation(getHistoryState());\n var allKeys = [initialLocation.key]; // Public interface\n\n function createHref(location) {\n return basename + createPath(location);\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(_typeof(path) === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.pushState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.href = href;\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n var nextKeys = allKeys.slice(0, prevIndex + 1);\n nextKeys.push(location.key);\n allKeys = nextKeys;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;\n window.location.href = href;\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(_typeof(path) === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.replaceState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.replace(href);\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n if (prevIndex !== -1) allKeys[prevIndex] = location.key;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;\n window.location.replace(href);\n }\n });\n }\n\n function go(n) {\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nvar HashChangeEvent$1 = 'hashchange';\nvar HashPathCoders = {\n hashbang: {\n encodePath: function encodePath(path) {\n return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);\n },\n decodePath: function decodePath(path) {\n return path.charAt(0) === '!' ? path.substr(1) : path;\n }\n },\n noslash: {\n encodePath: stripLeadingSlash,\n decodePath: addLeadingSlash\n },\n slash: {\n encodePath: addLeadingSlash,\n decodePath: addLeadingSlash\n }\n};\n\nfunction stripHash(url) {\n var hashIndex = url.indexOf('#');\n return hashIndex === -1 ? url : url.slice(0, hashIndex);\n}\n\nfunction getHashPath() {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var hashIndex = href.indexOf('#');\n return hashIndex === -1 ? '' : href.substring(hashIndex + 1);\n}\n\nfunction pushHashPath(path) {\n window.location.hash = path;\n}\n\nfunction replaceHashPath(path) {\n window.location.replace(stripHash(window.location.href) + '#' + path);\n}\n\nfunction createHashHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Hash history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canGoWithoutReload = supportsGoWithoutReloadUsingHash();\n var _props = props,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$hashType = _props.hashType,\n hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n var _HashPathCoders$hashT = HashPathCoders[hashType],\n encodePath = _HashPathCoders$hashT.encodePath,\n decodePath = _HashPathCoders$hashT.decodePath;\n\n function getDOMLocation() {\n var path = decodePath(getHashPath());\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n var forceNextPop = false;\n var ignorePath = null;\n\n function locationsAreEqual$$1(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;\n }\n\n function handleHashChange() {\n var path = getHashPath();\n var encodedPath = encodePath(path);\n\n if (path !== encodedPath) {\n // Ensure we always have a properly-encoded hash.\n replaceHashPath(encodedPath);\n } else {\n var location = getDOMLocation();\n var prevLocation = history.location;\n if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.\n\n if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.\n\n ignorePath = null;\n handlePop(location);\n }\n }\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of paths we've seen in sessionStorage.\n // Instead, we just default to 0 for paths we don't know.\n\n var toIndex = allPaths.lastIndexOf(createPath(toLocation));\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n } // Ensure the hash is encoded properly before doing anything else.\n\n\n var path = getHashPath();\n var encodedPath = encodePath(path);\n if (path !== encodedPath) replaceHashPath(encodedPath);\n var initialLocation = getDOMLocation();\n var allPaths = [createPath(initialLocation)]; // Public interface\n\n function createHref(location) {\n var baseTag = document.querySelector('base');\n var href = '';\n\n if (baseTag && baseTag.getAttribute('href')) {\n href = stripHash(window.location.href);\n }\n\n return href + '#' + encodePath(basename + createPath(location));\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a PUSH, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n pushHashPath(encodedPath);\n var prevIndex = allPaths.lastIndexOf(createPath(history.location));\n var nextPaths = allPaths.slice(0, prevIndex + 1);\n nextPaths.push(path);\n allPaths = nextPaths;\n setState({\n action: action,\n location: location\n });\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;\n setState();\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a REPLACE, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n replaceHashPath(encodedPath);\n }\n\n var prevIndex = allPaths.indexOf(createPath(history.location));\n if (prevIndex !== -1) allPaths[prevIndex] = path;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n process.env.NODE_ENV !== \"production\" ? warning(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(HashChangeEvent$1, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(HashChangeEvent$1, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nfunction clamp(n, lowerBound, upperBound) {\n return Math.min(Math.max(n, lowerBound), upperBound);\n}\n/**\n * Creates a history object that stores locations in memory.\n */\n\n\nfunction createMemoryHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n var _props = props,\n getUserConfirmation = _props.getUserConfirmation,\n _props$initialEntries = _props.initialEntries,\n initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,\n _props$initialIndex = _props.initialIndex,\n initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = history.entries.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var index = clamp(initialIndex, 0, initialEntries.length - 1);\n var entries = initialEntries.map(function (entry) {\n return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());\n }); // Public interface\n\n var createHref = createPath;\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(_typeof(path) === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var prevIndex = history.index;\n var nextIndex = prevIndex + 1;\n var nextEntries = history.entries.slice(0);\n\n if (nextEntries.length > nextIndex) {\n nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);\n } else {\n nextEntries.push(location);\n }\n\n setState({\n action: action,\n location: location,\n index: nextIndex,\n entries: nextEntries\n });\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(_typeof(path) === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n history.entries[history.index] = location;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);\n var action = 'POP';\n var location = history.entries[nextIndex];\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location,\n index: nextIndex\n });\n } else {\n // Mimic the behavior of DOM histories by\n // causing a render after a cancelled POP.\n setState();\n }\n });\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n function canGo(n) {\n var nextIndex = history.index + n;\n return nextIndex >= 0 && nextIndex < history.entries.length;\n }\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n return transitionManager.setPrompt(prompt);\n }\n\n function listen(listener) {\n return transitionManager.appendListener(listener);\n }\n\n var history = {\n length: entries.length,\n action: 'POP',\n location: entries[index],\n index: index,\n entries: entries,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n canGo: canGo,\n block: block,\n listen: listen\n };\n return history;\n}\n\nexport { createBrowserHistory, createHashHistory, createMemoryHistory, createLocation, locationsAreEqual, parsePath, createPath };","import React, { Component } from 'react';\nimport _inheritsLoose from '@babel/runtime/helpers/inheritsLoose';\nimport PropTypes from 'prop-types';\nimport gud from 'gud';\nimport warning from 'tiny-warning';\nvar MAX_SIGNED_31_BIT_INT = 1073741823;\n\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-' + gud() + '__';\n\n var Provider = /*#__PURE__*/function (_Component) {\n _inheritsLoose(Provider, _Component);\n\n function Provider() {\n var _this;\n\n _this = _Component.apply(this, arguments) || this;\n _this.emitter = createEventEmitter(_this.props.value);\n return _this;\n }\n\n var _proto = Provider.prototype;\n\n _proto.getChildContext = function getChildContext() {\n var _ref;\n\n return _ref = {}, _ref[contextProp] = this.emitter, _ref;\n };\n\n _proto.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;\n\n if (objectIs(oldValue, newValue)) {\n changedBits = 0;\n } else {\n changedBits = typeof calculateChangedBits === 'function' ? calculateChangedBits(oldValue, newValue) : MAX_SIGNED_31_BIT_INT;\n\n if (process.env.NODE_ENV !== 'production') {\n warning((changedBits & MAX_SIGNED_31_BIT_INT) === changedBits, 'calculateChangedBits: Expected the return value to be a ' + '31-bit integer. Instead received: ' + changedBits);\n }\n\n changedBits |= 0;\n\n if (changedBits !== 0) {\n this.emitter.set(nextProps.value, changedBits);\n }\n }\n }\n };\n\n _proto.render = function render() {\n return this.props.children;\n };\n\n return Provider;\n }(Component);\n\n Provider.childContextTypes = (_Provider$childContex = {}, _Provider$childContex[contextProp] = PropTypes.object.isRequired, _Provider$childContex);\n\n var Consumer = /*#__PURE__*/function (_Component2) {\n _inheritsLoose(Consumer, _Component2);\n\n function Consumer() {\n var _this2;\n\n _this2 = _Component2.apply(this, arguments) || this;\n _this2.state = {\n value: _this2.getValue()\n };\n\n _this2.onUpdate = function (newValue, changedBits) {\n var observedBits = _this2.observedBits | 0;\n\n if ((observedBits & changedBits) !== 0) {\n _this2.setState({\n value: _this2.getValue()\n });\n }\n };\n\n return _this2;\n }\n\n var _proto2 = Consumer.prototype;\n\n _proto2.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n var observedBits = nextProps.observedBits;\n this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT : observedBits;\n };\n\n _proto2.componentDidMount = function componentDidMount() {\n if (this.context[contextProp]) {\n this.context[contextProp].on(this.onUpdate);\n }\n\n var observedBits = this.props.observedBits;\n this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT : observedBits;\n };\n\n _proto2.componentWillUnmount = function componentWillUnmount() {\n if (this.context[contextProp]) {\n this.context[contextProp].off(this.onUpdate);\n }\n };\n\n _proto2.getValue = function getValue() {\n if (this.context[contextProp]) {\n return this.context[contextProp].get();\n } else {\n return defaultValue;\n }\n };\n\n _proto2.render = function render() {\n return onlyChild(this.props.children)(this.state.value);\n };\n\n return Consumer;\n }(Component);\n\n Consumer.contextTypes = (_Consumer$contextType = {}, _Consumer$contextType[contextProp] = PropTypes.object, _Consumer$contextType);\n return {\n Provider: Provider,\n Consumer: Consumer\n };\n}\n\nvar index = React.createContext || createReactContext;\nexport default index;","import _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { createMemoryHistory, createLocation, locationsAreEqual, createPath } from 'history';\nimport warning from 'tiny-warning';\nimport createContext from 'mini-create-react-context';\nimport invariant from 'tiny-invariant';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport pathToRegexp from 'path-to-regexp';\nimport { isValidElementType } from 'react-is';\nimport _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';\nimport hoistStatics from 'hoist-non-react-statics'; // TODO: Replace with React.createContext once we can assume React 16+\n\nvar createNamedContext = function createNamedContext(name) {\n var context = createContext();\n context.displayName = name;\n return context;\n};\n\nvar context = /*#__PURE__*/createNamedContext(\"Router\");\n/**\n * The public API for putting history on context.\n */\n\nvar Router = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Router, _React$Component);\n\n Router.computeRootMatch = function computeRootMatch(pathname) {\n return {\n path: \"/\",\n url: \"/\",\n params: {},\n isExact: pathname === \"/\"\n };\n };\n\n function Router(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n _this.state = {\n location: props.history.location\n }; // This is a bit of a hack. We have to start listening for location\n // changes here in the constructor in case there are any <Redirect>s\n // on the initial render. If there are, they will replace/push when\n // they mount and since cDM fires in children before parents, we may\n // get a new location before the <Router> is mounted.\n\n _this._isMounted = false;\n _this._pendingLocation = null;\n\n if (!props.staticContext) {\n _this.unlisten = props.history.listen(function (location) {\n if (_this._isMounted) {\n _this.setState({\n location: location\n });\n } else {\n _this._pendingLocation = location;\n }\n });\n }\n\n return _this;\n }\n\n var _proto = Router.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this._isMounted = true;\n\n if (this._pendingLocation) {\n this.setState({\n location: this._pendingLocation\n });\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n if (this.unlisten) this.unlisten();\n };\n\n _proto.render = function render() {\n return React.createElement(context.Provider, {\n children: this.props.children || null,\n value: {\n history: this.props.history,\n location: this.state.location,\n match: Router.computeRootMatch(this.state.location.pathname),\n staticContext: this.props.staticContext\n }\n });\n };\n\n return Router;\n}(React.Component);\n\nif (process.env.NODE_ENV !== \"production\") {\n Router.prototype.componentDidUpdate = function (prevProps) {\n process.env.NODE_ENV !== \"production\" ? warning(prevProps.history === this.props.history, \"You cannot change <Router history>\") : void 0;\n };\n}\n/**\n * The public API for a <Router> that stores location in memory.\n */\n\n\nvar MemoryRouter = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(MemoryRouter, _React$Component);\n\n function MemoryRouter() {\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 _this.history = createMemoryHistory(_this.props);\n return _this;\n }\n\n var _proto = MemoryRouter.prototype;\n\n _proto.render = function render() {\n return React.createElement(Router, {\n history: this.history,\n children: this.props.children\n });\n };\n\n return MemoryRouter;\n}(React.Component);\n\nif (process.env.NODE_ENV !== \"production\") {\n MemoryRouter.prototype.componentDidMount = function () {\n process.env.NODE_ENV !== \"production\" ? warning(!this.props.history, \"<MemoryRouter> ignores the history prop. To use a custom history, \" + \"use `import { Router }` instead of `import { MemoryRouter as Router }`.\") : void 0;\n };\n}\n\nvar Lifecycle = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Lifecycle, _React$Component);\n\n function Lifecycle() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = Lifecycle.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n if (this.props.onMount) this.props.onMount.call(this, this);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n if (this.props.onUpdate) this.props.onUpdate.call(this, this, prevProps);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n if (this.props.onUnmount) this.props.onUnmount.call(this, this);\n };\n\n _proto.render = function render() {\n return null;\n };\n\n return Lifecycle;\n}(React.Component);\n/**\n * The public API for prompting the user before navigating away from a screen.\n */\n\n\nfunction Prompt(_ref) {\n var message = _ref.message,\n _ref$when = _ref.when,\n when = _ref$when === void 0 ? true : _ref$when;\n return React.createElement(context.Consumer, null, function (context) {\n !context ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"You should not use <Prompt> outside a <Router>\") : invariant(false) : void 0;\n if (!when || context.staticContext) return null;\n var method = context.history.block;\n return React.createElement(Lifecycle, {\n onMount: function onMount(self) {\n self.release = method(message);\n },\n onUpdate: function onUpdate(self, prevProps) {\n if (prevProps.message !== message) {\n self.release();\n self.release = method(message);\n }\n },\n onUnmount: function onUnmount(self) {\n self.release();\n },\n message: message\n });\n });\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n var messageType = PropTypes.oneOfType([PropTypes.func, PropTypes.string]);\n}\n\nvar cache = {};\nvar cacheLimit = 10000;\nvar cacheCount = 0;\n\nfunction compilePath(path) {\n if (cache[path]) return cache[path];\n var generator = pathToRegexp.compile(path);\n\n if (cacheCount < cacheLimit) {\n cache[path] = generator;\n cacheCount++;\n }\n\n return generator;\n}\n/**\n * Public API for generating a URL pathname from a path and parameters.\n */\n\n\nfunction generatePath(path, params) {\n if (path === void 0) {\n path = \"/\";\n }\n\n if (params === void 0) {\n params = {};\n }\n\n return path === \"/\" ? path : compilePath(path)(params, {\n pretty: true\n });\n}\n/**\n * The public API for navigating programmatically with a component.\n */\n\n\nfunction Redirect(_ref) {\n var computedMatch = _ref.computedMatch,\n to = _ref.to,\n _ref$push = _ref.push,\n push = _ref$push === void 0 ? false : _ref$push;\n return React.createElement(context.Consumer, null, function (context) {\n !context ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"You should not use <Redirect> outside a <Router>\") : invariant(false) : void 0;\n var history = context.history,\n staticContext = context.staticContext;\n var method = push ? history.push : history.replace;\n var location = createLocation(computedMatch ? typeof to === \"string\" ? generatePath(to, computedMatch.params) : _extends({}, to, {\n pathname: generatePath(to.pathname, computedMatch.params)\n }) : to); // When rendering in a static context,\n // set the new location immediately.\n\n if (staticContext) {\n method(location);\n return null;\n }\n\n return React.createElement(Lifecycle, {\n onMount: function onMount() {\n method(location);\n },\n onUpdate: function onUpdate(self, prevProps) {\n var prevLocation = createLocation(prevProps.to);\n\n if (!locationsAreEqual(prevLocation, _extends({}, location, {\n key: prevLocation.key\n }))) {\n method(location);\n }\n },\n to: to\n });\n });\n}\n\nif (process.env.NODE_ENV !== \"production\") {}\n\nvar cache$1 = {};\nvar cacheLimit$1 = 10000;\nvar cacheCount$1 = 0;\n\nfunction compilePath$1(path, options) {\n var cacheKey = \"\" + options.end + options.strict + options.sensitive;\n var pathCache = cache$1[cacheKey] || (cache$1[cacheKey] = {});\n if (pathCache[path]) return pathCache[path];\n var keys = [];\n var regexp = pathToRegexp(path, keys, options);\n var result = {\n regexp: regexp,\n keys: keys\n };\n\n if (cacheCount$1 < cacheLimit$1) {\n pathCache[path] = result;\n cacheCount$1++;\n }\n\n return result;\n}\n/**\n * Public API for matching a URL pathname to a path.\n */\n\n\nfunction matchPath(pathname, options) {\n if (options === void 0) {\n options = {};\n }\n\n if (typeof options === \"string\" || Array.isArray(options)) {\n options = {\n path: options\n };\n }\n\n var _options = options,\n path = _options.path,\n _options$exact = _options.exact,\n exact = _options$exact === void 0 ? false : _options$exact,\n _options$strict = _options.strict,\n strict = _options$strict === void 0 ? false : _options$strict,\n _options$sensitive = _options.sensitive,\n sensitive = _options$sensitive === void 0 ? false : _options$sensitive;\n var paths = [].concat(path);\n return paths.reduce(function (matched, path) {\n if (!path && path !== \"\") return null;\n if (matched) return matched;\n\n var _compilePath = compilePath$1(path, {\n end: exact,\n strict: strict,\n sensitive: sensitive\n }),\n regexp = _compilePath.regexp,\n keys = _compilePath.keys;\n\n var match = regexp.exec(pathname);\n if (!match) return null;\n var url = match[0],\n values = match.slice(1);\n var isExact = pathname === url;\n if (exact && !isExact) return null;\n return {\n path: path,\n // the path used to match\n url: path === \"/\" && url === \"\" ? \"/\" : url,\n // the matched portion of the URL\n isExact: isExact,\n // whether or not we matched exactly\n params: keys.reduce(function (memo, key, index) {\n memo[key.name] = values[index];\n return memo;\n }, {})\n };\n }, null);\n}\n\nfunction isEmptyChildren(children) {\n return React.Children.count(children) === 0;\n}\n\nfunction evalChildrenDev(children, props, path) {\n var value = children(props);\n process.env.NODE_ENV !== \"production\" ? warning(value !== undefined, \"You returned `undefined` from the `children` function of \" + (\"<Route\" + (path ? \" path=\\\"\" + path + \"\\\"\" : \"\") + \">, but you \") + \"should have returned a React element or `null`\") : void 0;\n return value || null;\n}\n/**\n * The public API for matching a single path and rendering.\n */\n\n\nvar Route = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Route, _React$Component);\n\n function Route() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = Route.prototype;\n\n _proto.render = function render() {\n var _this = this;\n\n return React.createElement(context.Consumer, null, function (context$1) {\n !context$1 ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"You should not use <Route> outside a <Router>\") : invariant(false) : void 0;\n var location = _this.props.location || context$1.location;\n var match = _this.props.computedMatch ? _this.props.computedMatch // <Switch> already computed the match for us\n : _this.props.path ? matchPath(location.pathname, _this.props) : context$1.match;\n\n var props = _extends({}, context$1, {\n location: location,\n match: match\n });\n\n var _this$props = _this.props,\n children = _this$props.children,\n component = _this$props.component,\n render = _this$props.render; // Preact uses an empty array as children by\n // default, so use null if that's the case.\n\n if (Array.isArray(children) && children.length === 0) {\n children = null;\n }\n\n return React.createElement(context.Provider, {\n value: props\n }, props.match ? children ? typeof children === \"function\" ? process.env.NODE_ENV !== \"production\" ? evalChildrenDev(children, props, _this.props.path) : children(props) : children : component ? React.createElement(component, props) : render ? render(props) : null : typeof children === \"function\" ? process.env.NODE_ENV !== \"production\" ? evalChildrenDev(children, props, _this.props.path) : children(props) : null);\n });\n };\n\n return Route;\n}(React.Component);\n\nif (process.env.NODE_ENV !== \"production\") {\n Route.prototype.componentDidMount = function () {\n process.env.NODE_ENV !== \"production\" ? warning(!(this.props.children && !isEmptyChildren(this.props.children) && this.props.component), \"You should not use <Route component> and <Route children> in the same route; <Route component> will be ignored\") : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!(this.props.children && !isEmptyChildren(this.props.children) && this.props.render), \"You should not use <Route render> and <Route children> in the same route; <Route render> will be ignored\") : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!(this.props.component && this.props.render), \"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored\") : void 0;\n };\n\n Route.prototype.componentDidUpdate = function (prevProps) {\n process.env.NODE_ENV !== \"production\" ? warning(!(this.props.location && !prevProps.location), '<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no \"location\" prop and then provided one on a subsequent render.') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!(!this.props.location && prevProps.location), '<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a \"location\" prop initially but omitted it on a subsequent render.') : void 0;\n };\n}\n\nfunction addLeadingSlash(path) {\n return path.charAt(0) === \"/\" ? path : \"/\" + path;\n}\n\nfunction addBasename(basename, location) {\n if (!basename) return location;\n return _extends({}, location, {\n pathname: addLeadingSlash(basename) + location.pathname\n });\n}\n\nfunction stripBasename(basename, location) {\n if (!basename) return location;\n var base = addLeadingSlash(basename);\n if (location.pathname.indexOf(base) !== 0) return location;\n return _extends({}, location, {\n pathname: location.pathname.substr(base.length)\n });\n}\n\nfunction createURL(location) {\n return typeof location === \"string\" ? location : createPath(location);\n}\n\nfunction staticHandler(methodName) {\n return function () {\n process.env.NODE_ENV !== \"production\" ? invariant(false, \"You cannot %s with <StaticRouter>\", methodName) : invariant(false);\n };\n}\n\nfunction noop() {}\n/**\n * The public top-level API for a \"static\" <Router>, so-called because it\n * can't actually change the current location. Instead, it just records\n * location changes in a context object. Useful mainly in testing and\n * server-rendering scenarios.\n */\n\n\nvar StaticRouter = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(StaticRouter, _React$Component);\n\n function StaticRouter() {\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 _this.handlePush = function (location) {\n return _this.navigateTo(location, \"PUSH\");\n };\n\n _this.handleReplace = function (location) {\n return _this.navigateTo(location, \"REPLACE\");\n };\n\n _this.handleListen = function () {\n return noop;\n };\n\n _this.handleBlock = function () {\n return noop;\n };\n\n return _this;\n }\n\n var _proto = StaticRouter.prototype;\n\n _proto.navigateTo = function navigateTo(location, action) {\n var _this$props = this.props,\n _this$props$basename = _this$props.basename,\n basename = _this$props$basename === void 0 ? \"\" : _this$props$basename,\n _this$props$context = _this$props.context,\n context = _this$props$context === void 0 ? {} : _this$props$context;\n context.action = action;\n context.location = addBasename(basename, createLocation(location));\n context.url = createURL(context.location);\n };\n\n _proto.render = function render() {\n var _this$props2 = this.props,\n _this$props2$basename = _this$props2.basename,\n basename = _this$props2$basename === void 0 ? \"\" : _this$props2$basename,\n _this$props2$context = _this$props2.context,\n context = _this$props2$context === void 0 ? {} : _this$props2$context,\n _this$props2$location = _this$props2.location,\n location = _this$props2$location === void 0 ? \"/\" : _this$props2$location,\n rest = _objectWithoutPropertiesLoose(_this$props2, [\"basename\", \"context\", \"location\"]);\n\n var history = {\n createHref: function createHref(path) {\n return addLeadingSlash(basename + createURL(path));\n },\n action: \"POP\",\n location: stripBasename(basename, createLocation(location)),\n push: this.handlePush,\n replace: this.handleReplace,\n go: staticHandler(\"go\"),\n goBack: staticHandler(\"goBack\"),\n goForward: staticHandler(\"goForward\"),\n listen: this.handleListen,\n block: this.handleBlock\n };\n return React.createElement(Router, _extends({}, rest, {\n history: history,\n staticContext: context\n }));\n };\n\n return StaticRouter;\n}(React.Component);\n\nif (process.env.NODE_ENV !== \"production\") {\n StaticRouter.prototype.componentDidMount = function () {\n process.env.NODE_ENV !== \"production\" ? warning(!this.props.history, \"<StaticRouter> ignores the history prop. To use a custom history, \" + \"use `import { Router }` instead of `import { StaticRouter as Router }`.\") : void 0;\n };\n}\n/**\n * The public API for rendering the first <Route> that matches.\n */\n\n\nvar Switch = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Switch, _React$Component);\n\n function Switch() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = Switch.prototype;\n\n _proto.render = function render() {\n var _this = this;\n\n return React.createElement(context.Consumer, null, function (context) {\n !context ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"You should not use <Switch> outside a <Router>\") : invariant(false) : void 0;\n var location = _this.props.location || context.location;\n var element, match; // We use React.Children.forEach instead of React.Children.toArray().find()\n // here because toArray adds keys to all child elements and we do not want\n // to trigger an unmount/remount for two <Route>s that render the same\n // component at different URLs.\n\n React.Children.forEach(_this.props.children, function (child) {\n if (match == null && React.isValidElement(child)) {\n element = child;\n var path = child.props.path || child.props.from;\n match = path ? matchPath(location.pathname, _extends({}, child.props, {\n path: path\n })) : context.match;\n }\n });\n return match ? React.cloneElement(element, {\n location: location,\n computedMatch: match\n }) : null;\n });\n };\n\n return Switch;\n}(React.Component);\n\nif (process.env.NODE_ENV !== \"production\") {\n Switch.prototype.componentDidUpdate = function (prevProps) {\n process.env.NODE_ENV !== \"production\" ? warning(!(this.props.location && !prevProps.location), '<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no \"location\" prop and then provided one on a subsequent render.') : void 0;\n process.env.NODE_ENV !== \"production\" ? warning(!(!this.props.location && prevProps.location), '<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a \"location\" prop initially but omitted it on a subsequent render.') : void 0;\n };\n}\n/**\n * A public higher-order component to access the imperative API\n */\n\n\nfunction withRouter(Component) {\n var displayName = \"withRouter(\" + (Component.displayName || Component.name) + \")\";\n\n var C = function C(props) {\n var wrappedComponentRef = props.wrappedComponentRef,\n remainingProps = _objectWithoutPropertiesLoose(props, [\"wrappedComponentRef\"]);\n\n return React.createElement(context.Consumer, null, function (context) {\n !context ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"You should not use <\" + displayName + \" /> outside a <Router>\") : invariant(false) : void 0;\n return React.createElement(Component, _extends({}, remainingProps, context, {\n ref: wrappedComponentRef\n }));\n });\n };\n\n C.displayName = displayName;\n C.WrappedComponent = Component;\n\n if (process.env.NODE_ENV !== \"production\") {}\n\n return hoistStatics(C, Component);\n}\n\nvar useContext = React.useContext;\n\nfunction useHistory() {\n if (process.env.NODE_ENV !== \"production\") {\n !(typeof useContext === \"function\") ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"You must use React >= 16.8 in order to use useHistory()\") : invariant(false) : void 0;\n }\n\n return useContext(context).history;\n}\n\nfunction useLocation() {\n if (process.env.NODE_ENV !== \"production\") {\n !(typeof useContext === \"function\") ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"You must use React >= 16.8 in order to use useLocation()\") : invariant(false) : void 0;\n }\n\n return useContext(context).location;\n}\n\nfunction useParams() {\n if (process.env.NODE_ENV !== \"production\") {\n !(typeof useContext === \"function\") ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"You must use React >= 16.8 in order to use useParams()\") : invariant(false) : void 0;\n }\n\n var match = useContext(context).match;\n return match ? match.params : {};\n}\n\nfunction useRouteMatch(path) {\n if (process.env.NODE_ENV !== \"production\") {\n !(typeof useContext === \"function\") ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"You must use React >= 16.8 in order to use useRouteMatch()\") : invariant(false) : void 0;\n }\n\n return path ? matchPath(useLocation().pathname, path) : useContext(context).match;\n}\n\nif (process.env.NODE_ENV !== \"production\") {\n if (typeof window !== \"undefined\") {\n var global = window;\n var key = \"__react_router_build__\";\n var buildNames = {\n cjs: \"CommonJS\",\n esm: \"ES modules\",\n umd: \"UMD\"\n };\n\n if (global[key] && global[key] !== \"esm\") {\n var initialBuildName = buildNames[global[key]];\n var secondaryBuildName = buildNames[\"esm\"]; // TODO: Add link to article that explains in detail how to avoid\n // loading 2 different builds.\n\n throw new Error(\"You are loading the \" + secondaryBuildName + \" build of React Router \" + (\"on a page that is already running the \" + initialBuildName + \" \") + \"build, so things won't work right.\");\n }\n\n global[key] = \"esm\";\n }\n}\n\nexport { MemoryRouter, Prompt, Redirect, Route, Router, StaticRouter, Switch, context as __RouterContext, generatePath, matchPath, useHistory, useLocation, useParams, useRouteMatch, withRouter };","import { Router, __RouterContext, matchPath } from 'react-router';\nexport * from 'react-router';\nimport _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport React from 'react';\nimport { createBrowserHistory, createHashHistory, createLocation } from 'history';\nimport PropTypes from 'prop-types';\nimport warning from 'tiny-warning';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';\nimport invariant from 'tiny-invariant';\n/**\n * The public API for a <Router> that uses HTML5 history.\n */\n\nvar BrowserRouter = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(BrowserRouter, _React$Component);\n\n function BrowserRouter() {\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 _this.history = createBrowserHistory(_this.props);\n return _this;\n }\n\n var _proto = BrowserRouter.prototype;\n\n _proto.render = function render() {\n return React.createElement(Router, {\n history: this.history,\n children: this.props.children\n });\n };\n\n return BrowserRouter;\n}(React.Component);\n\nif (process.env.NODE_ENV !== \"production\") {\n BrowserRouter.prototype.componentDidMount = function () {\n process.env.NODE_ENV !== \"production\" ? warning(!this.props.history, \"<BrowserRouter> ignores the history prop. To use a custom history, \" + \"use `import { Router }` instead of `import { BrowserRouter as Router }`.\") : void 0;\n };\n}\n/**\n * The public API for a <Router> that uses window.location.hash.\n */\n\n\nvar HashRouter = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(HashRouter, _React$Component);\n\n function HashRouter() {\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 _this.history = createHashHistory(_this.props);\n return _this;\n }\n\n var _proto = HashRouter.prototype;\n\n _proto.render = function render() {\n return React.createElement(Router, {\n history: this.history,\n children: this.props.children\n });\n };\n\n return HashRouter;\n}(React.Component);\n\nif (process.env.NODE_ENV !== \"production\") {\n HashRouter.prototype.componentDidMount = function () {\n process.env.NODE_ENV !== \"production\" ? warning(!this.props.history, \"<HashRouter> ignores the history prop. To use a custom history, \" + \"use `import { Router }` instead of `import { HashRouter as Router }`.\") : void 0;\n };\n}\n\nvar resolveToLocation = function resolveToLocation(to, currentLocation) {\n return typeof to === \"function\" ? to(currentLocation) : to;\n};\n\nvar normalizeToLocation = function normalizeToLocation(to, currentLocation) {\n return typeof to === \"string\" ? createLocation(to, null, null, currentLocation) : to;\n};\n\nvar forwardRefShim = function forwardRefShim(C) {\n return C;\n};\n\nvar forwardRef = React.forwardRef;\n\nif (typeof forwardRef === \"undefined\") {\n forwardRef = forwardRefShim;\n}\n\nfunction isModifiedEvent(event) {\n return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);\n}\n\nvar LinkAnchor = forwardRef(function (_ref, forwardedRef) {\n var innerRef = _ref.innerRef,\n navigate = _ref.navigate,\n _onClick = _ref.onClick,\n rest = _objectWithoutPropertiesLoose(_ref, [\"innerRef\", \"navigate\", \"onClick\"]);\n\n var target = rest.target;\n\n var props = _extends({}, rest, {\n onClick: function onClick(event) {\n try {\n if (_onClick) _onClick(event);\n } catch (ex) {\n event.preventDefault();\n throw ex;\n }\n\n if (!event.defaultPrevented && // onClick prevented default\n event.button === 0 && ( // ignore everything but left clicks\n !target || target === \"_self\") && // let browser handle \"target=_blank\" etc.\n !isModifiedEvent(event) // ignore clicks with modifier keys\n ) {\n event.preventDefault();\n navigate();\n }\n }\n }); // React 15 compat\n\n\n if (forwardRefShim !== forwardRef) {\n props.ref = forwardedRef || innerRef;\n } else {\n props.ref = innerRef;\n }\n\n return React.createElement(\"a\", props);\n});\n\nif (process.env.NODE_ENV !== \"production\") {\n LinkAnchor.displayName = \"LinkAnchor\";\n}\n/**\n * The public API for rendering a history-aware <a>.\n */\n\n\nvar Link = forwardRef(function (_ref2, forwardedRef) {\n var _ref2$component = _ref2.component,\n component = _ref2$component === void 0 ? LinkAnchor : _ref2$component,\n replace = _ref2.replace,\n to = _ref2.to,\n innerRef = _ref2.innerRef,\n rest = _objectWithoutPropertiesLoose(_ref2, [\"component\", \"replace\", \"to\", \"innerRef\"]);\n\n return React.createElement(__RouterContext.Consumer, null, function (context) {\n !context ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"You should not use <Link> outside a <Router>\") : invariant(false) : void 0;\n var history = context.history;\n var location = normalizeToLocation(resolveToLocation(to, context.location), context.location);\n var href = location ? history.createHref(location) : \"\";\n\n var props = _extends({}, rest, {\n href: href,\n navigate: function navigate() {\n var location = resolveToLocation(to, context.location);\n var method = replace ? history.replace : history.push;\n method(location);\n }\n }); // React 15 compat\n\n\n if (forwardRefShim !== forwardRef) {\n props.ref = forwardedRef || innerRef;\n } else {\n props.innerRef = innerRef;\n }\n\n return React.createElement(component, props);\n });\n});\n\nif (process.env.NODE_ENV !== \"production\") {\n var toType = PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.func]);\n var refType = PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.shape({\n current: PropTypes.any\n })]);\n Link.displayName = \"Link\";\n}\n\nvar forwardRefShim$1 = function forwardRefShim(C) {\n return C;\n};\n\nvar forwardRef$1 = React.forwardRef;\n\nif (typeof forwardRef$1 === \"undefined\") {\n forwardRef$1 = forwardRefShim$1;\n}\n\nfunction joinClassnames() {\n for (var _len = arguments.length, classnames = new Array(_len), _key = 0; _key < _len; _key++) {\n classnames[_key] = arguments[_key];\n }\n\n return classnames.filter(function (i) {\n return i;\n }).join(\" \");\n}\n/**\n * A <Link> wrapper that knows if it's \"active\" or not.\n */\n\n\nvar NavLink = forwardRef$1(function (_ref, forwardedRef) {\n var _ref$ariaCurrent = _ref[\"aria-current\"],\n ariaCurrent = _ref$ariaCurrent === void 0 ? \"page\" : _ref$ariaCurrent,\n _ref$activeClassName = _ref.activeClassName,\n activeClassName = _ref$activeClassName === void 0 ? \"active\" : _ref$activeClassName,\n activeStyle = _ref.activeStyle,\n classNameProp = _ref.className,\n exact = _ref.exact,\n isActiveProp = _ref.isActive,\n locationProp = _ref.location,\n strict = _ref.strict,\n styleProp = _ref.style,\n to = _ref.to,\n innerRef = _ref.innerRef,\n rest = _objectWithoutPropertiesLoose(_ref, [\"aria-current\", \"activeClassName\", \"activeStyle\", \"className\", \"exact\", \"isActive\", \"location\", \"strict\", \"style\", \"to\", \"innerRef\"]);\n\n return React.createElement(__RouterContext.Consumer, null, function (context) {\n !context ? process.env.NODE_ENV !== \"production\" ? invariant(false, \"You should not use <NavLink> outside a <Router>\") : invariant(false) : void 0;\n var currentLocation = locationProp || context.location;\n var toLocation = normalizeToLocation(resolveToLocation(to, currentLocation), currentLocation);\n var path = toLocation.pathname; // Regex taken from: https://github.com/pillarjs/path-to-regexp/blob/master/index.js#L202\n\n var escapedPath = path && path.replace(/([.+*?=^!:${}()[\\]|/\\\\])/g, \"\\\\$1\");\n var match = escapedPath ? matchPath(currentLocation.pathname, {\n path: escapedPath,\n exact: exact,\n strict: strict\n }) : null;\n var isActive = !!(isActiveProp ? isActiveProp(match, currentLocation) : match);\n var className = isActive ? joinClassnames(classNameProp, activeClassName) : classNameProp;\n var style = isActive ? _extends({}, styleProp, {}, activeStyle) : styleProp;\n\n var props = _extends({\n \"aria-current\": isActive && ariaCurrent || null,\n className: className,\n style: style,\n to: toLocation\n }, rest); // React 15 compat\n\n\n if (forwardRefShim$1 !== forwardRef$1) {\n props.ref = forwardedRef || innerRef;\n } else {\n props.innerRef = innerRef;\n }\n\n return React.createElement(Link, props);\n });\n});\n\nif (process.env.NODE_ENV !== \"production\") {\n NavLink.displayName = \"NavLink\";\n var ariaCurrentType = PropTypes.oneOf([\"page\", \"step\", \"location\", \"date\", \"time\", \"true\"]);\n}\n\nexport { BrowserRouter, HashRouter, Link, NavLink };","import React from 'react';\nimport { withRouter } from 'react-router-dom';\n\nclass ScrollToTop extends React.Component {\n componentDidUpdate(prevProps) {\n if (this.props.location.pathname !== prevProps.location.pathname) {\n window.scrollTo(0, 0);\n }\n }\n\n render() {\n return this.props.children;\n }\n}\n\nexport default withRouter(ScrollToTop);","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getStatus,\n setup\n} from 'store/auth';\n\nclass AuthenticateContainer extends Component {\n componentDidMount() {\n this.props.setup();\n }\n\n render() {\n const { status, authenticated, unauthenticated } = this.props;\n\n if (status === 'auth_success') {\n return authenticated;\n }\n\n if (status === null) {\n return null;\n }\n\n return unauthenticated;\n }\n}\n\nconst mapStateToProps = state => ({\n status: getStatus(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n setup: () => dispatch(setup())\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AuthenticateContainer);\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n loadFeatures\n} from 'store/features';\n\nclass FeaturesLoaderContainer extends Component {\n componentDidMount() {\n this.props.loadFeatures();\n }\n\n render() {\n return null;\n }\n}\n\nconst mapStateToProps = state => ({\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadFeatures: () => dispatch(loadFeatures())\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(FeaturesLoaderContainer);\n","import React from 'react';\n\nclass ActionButton extends React.Component {\n renderContent = () => {\n const { loading, children } = this.props;\n if (loading) {\n return 'Загрузка';\n } else {\n return children;\n }\n };\n\n render() {\n const { action, loading, className } = this.props;\n return (\n <button\n onClick={action}\n disabled={loading}\n className={className}\n >\n {this.renderContent()}\n </button>\n );\n }\n}\n\nexport default ActionButton;\n","// The minimum length of the national significant number.\nexport var MIN_LENGTH_FOR_NSN = 2; // The ITU says the maximum length should be 15,\n// but one can find longer numbers in Germany.\n\nexport var MAX_LENGTH_FOR_NSN = 17; // The maximum length of the country calling code.\n\nexport var MAX_LENGTH_COUNTRY_CODE = 3; // Digits accepted in phone numbers\n// (ascii, fullwidth, arabic-indic, and eastern arabic digits).\n\nexport var VALID_DIGITS = \"0-9\\uFF10-\\uFF19\\u0660-\\u0669\\u06F0-\\u06F9\"; // `DASHES` will be right after the opening square bracket of the \"character class\"\n\nvar DASHES = \"-\\u2010-\\u2015\\u2212\\u30FC\\uFF0D\";\nvar SLASHES = \"\\uFF0F/\";\nvar DOTS = \"\\uFF0E.\";\nexport var WHITESPACE = \" \\xA0\\xAD\\u200B\\u2060\\u3000\";\nvar BRACKETS = \"()\\uFF08\\uFF09\\uFF3B\\uFF3D\\\\[\\\\]\"; // export const OPENING_BRACKETS = '(\\uFF08\\uFF3B\\\\\\['\n\nvar TILDES = \"~\\u2053\\u223C\\uFF5E\"; // Regular expression of acceptable punctuation found in phone numbers. This\n// excludes punctuation found as a leading character only. This consists of dash\n// characters, white space characters, full stops, slashes, square brackets,\n// parentheses and tildes. Full-width variants are also present.\n\nexport var VALID_PUNCTUATION = \"\".concat(DASHES).concat(SLASHES).concat(DOTS).concat(WHITESPACE).concat(BRACKETS).concat(TILDES);\nexport var PLUS_CHARS = \"+\\uFF0B\"; // const LEADING_PLUS_CHARS_PATTERN = new RegExp('^[' + PLUS_CHARS + ']+')","/**\r\n * Checks whether the entire input sequence can be matched\r\n * against the regular expression.\r\n * @return {boolean}\r\n */\nexport function matchesEntirely(text, regular_expression) {\n // If assigning the `''` default value is moved to the arguments above,\n // code coverage would decrease for some weird reason.\n text = text || '';\n return new RegExp('^(?:' + regular_expression + ')$').test(text);\n}\n/**\r\n * Merges two arrays.\r\n * @param {*} a\r\n * @param {*} b\r\n * @return {*}\r\n */\n\nexport function mergeArrays(a, b) {\n var merged = a.slice();\n\n for (var _iterator = b, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var element = _ref;\n\n if (a.indexOf(element) < 0) {\n merged.push(element);\n }\n }\n\n return merged.sort(function (a, b) {\n return a - b;\n }); // ES6 version, requires Set polyfill.\n // let merged = new Set(a)\n // for (const element of b)\n // {\n // \tmerged.add(i)\n // }\n // return Array.from(merged).sort((a, b) => a - b)\n}","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n} // https://stackoverflow.com/a/46971044/970769\n\n\nvar ParseError = function ParseError(code) {\n _classCallCheck(this, ParseError);\n\n this.name = this.constructor.name;\n this.message = code;\n this.stack = new Error(code).stack;\n};\n\nexport { ParseError as default };\nParseError.prototype = Object.create(Error.prototype);\nParseError.prototype.constructor = ParseError;","// Copy-pasted from:\n// https://github.com/substack/semver-compare/blob/master/index.js\n//\n// Inlining this function because some users reported issues with\n// importing from `semver-compare` in a browser with ES6 \"native\" modules.\n//\n// Fixes `semver-compare` not being able to compare versions with alpha/beta/etc \"tags\".\n// https://github.com/catamphetamine/libphonenumber-js/issues/381\nexport default function (a, b) {\n a = a.split('-');\n b = b.split('-');\n var pa = a[0].split('.');\n var pb = b[0].split('.');\n\n for (var i = 0; i < 3; i++) {\n var na = Number(pa[i]);\n var nb = Number(pb[i]);\n if (na > nb) return 1;\n if (nb > na) return -1;\n if (!isNaN(na) && isNaN(nb)) return 1;\n if (isNaN(na) && !isNaN(nb)) return -1;\n }\n\n if (a[1] && b[1]) {\n return a[1] > b[1] ? 1 : a[1] < b[1] ? -1 : 0;\n }\n\n return !a[1] && b[1] ? 1 : a[1] && !b[1] ? -1 : 0;\n}","function _typeof2(obj) { \"@babel/helpers - typeof\"; return _typeof2 = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof2(obj); }\n\nfunction _typeof(obj) {\n if (typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\") {\n _typeof = function _typeof(obj) {\n return _typeof2(obj);\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(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\nimport compare from './tools/semver-compare'; // Added \"possibleLengths\" and renamed\n// \"country_phone_code_to_countries\" to \"country_calling_codes\".\n\nvar V2 = '1.0.18'; // Added \"idd_prefix\" and \"default_idd_prefix\".\n\nvar V3 = '1.2.0'; // Moved `001` country code to \"nonGeographic\" section of metadata.\n\nvar V4 = '1.7.35';\nvar DEFAULT_EXT_PREFIX = ' ext. ';\n/**\r\n * See: https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/METADATA.md\r\n */\n\nvar Metadata = /*#__PURE__*/function () {\n function Metadata(metadata) {\n _classCallCheck(this, Metadata);\n\n validateMetadata(metadata);\n this.metadata = metadata;\n setVersion.call(this, metadata);\n }\n\n _createClass(Metadata, [{\n key: \"getCountries\",\n value: function getCountries() {\n return Object.keys(this.metadata.countries).filter(function (_) {\n return _ !== '001';\n });\n }\n }, {\n key: \"getCountryMetadata\",\n value: function getCountryMetadata(countryCode) {\n return this.metadata.countries[countryCode];\n }\n }, {\n key: \"nonGeographic\",\n value: function nonGeographic() {\n if (this.v1 || this.v2 || this.v3) return; // `nonGeographical` was a typo.\n // It's present in metadata generated from `1.7.35` to `1.7.37`.\n\n return this.metadata.nonGeographic || this.metadata.nonGeographical;\n }\n }, {\n key: \"hasCountry\",\n value: function hasCountry(country) {\n return this.getCountryMetadata(country) !== undefined;\n }\n }, {\n key: \"hasCallingCode\",\n value: function hasCallingCode(callingCode) {\n if (this.getCountryCodesForCallingCode(callingCode)) {\n return true;\n }\n\n if (this.nonGeographic()) {\n if (this.nonGeographic()[callingCode]) {\n return true;\n }\n } else {\n // A hacky workaround for old custom metadata (generated before V4).\n var countryCodes = this.countryCallingCodes()[callingCode];\n\n if (countryCodes && countryCodes.length === 1 && countryCodes[0] === '001') {\n return true;\n }\n }\n }\n }, {\n key: \"isNonGeographicCallingCode\",\n value: function isNonGeographicCallingCode(callingCode) {\n if (this.nonGeographic()) {\n return this.nonGeographic()[callingCode] ? true : false;\n } else {\n return this.getCountryCodesForCallingCode(callingCode) ? false : true;\n }\n } // Deprecated.\n\n }, {\n key: \"country\",\n value: function country(countryCode) {\n return this.selectNumberingPlan(countryCode);\n }\n }, {\n key: \"selectNumberingPlan\",\n value: function selectNumberingPlan(countryCode, callingCode) {\n if (countryCode && countryCode !== '001') {\n if (!this.hasCountry(countryCode)) {\n throw new Error(\"Unknown country: \".concat(countryCode));\n }\n\n this.numberingPlan = new NumberingPlan(this.getCountryMetadata(countryCode), this);\n } else if (callingCode) {\n if (!this.hasCallingCode(callingCode)) {\n throw new Error(\"Unknown calling code: \".concat(callingCode));\n }\n\n this.numberingPlan = new NumberingPlan(this.getNumberingPlanMetadata(callingCode), this);\n } else {\n this.numberingPlan = undefined;\n }\n\n return this;\n }\n }, {\n key: \"getCountryCodesForCallingCode\",\n value: function getCountryCodesForCallingCode(callingCode) {\n var countryCodes = this.countryCallingCodes()[callingCode];\n\n if (countryCodes) {\n // Metadata before V4 included \"non-geographic entity\" calling codes\n // inside `country_calling_codes` (for example, `\"881\":[\"001\"]`).\n // Now the semantics of `country_calling_codes` has changed:\n // it's specifically for \"countries\" now.\n // Older versions of custom metadata will simply skip parsing\n // \"non-geographic entity\" phone numbers with new versions\n // of this library: it's not considered a bug,\n // because such numbers are extremely rare,\n // and developers extremely rarely use custom metadata.\n if (countryCodes.length === 1 && countryCodes[0].length === 3) {\n return;\n }\n\n return countryCodes;\n }\n }\n }, {\n key: \"getCountryCodeForCallingCode\",\n value: function getCountryCodeForCallingCode(callingCode) {\n var countryCodes = this.getCountryCodesForCallingCode(callingCode);\n\n if (countryCodes) {\n return countryCodes[0];\n }\n }\n }, {\n key: \"getNumberingPlanMetadata\",\n value: function getNumberingPlanMetadata(callingCode) {\n var countryCode = this.getCountryCodeForCallingCode(callingCode);\n\n if (countryCode) {\n return this.getCountryMetadata(countryCode);\n }\n\n if (this.nonGeographic()) {\n var metadata = this.nonGeographic()[callingCode];\n\n if (metadata) {\n return metadata;\n }\n } else {\n // A hacky workaround for old custom metadata (generated before V4).\n var countryCodes = this.countryCallingCodes()[callingCode];\n\n if (countryCodes && countryCodes.length === 1 && countryCodes[0] === '001') {\n return this.metadata.countries['001'];\n }\n }\n } // Deprecated.\n\n }, {\n key: \"countryCallingCode\",\n value: function countryCallingCode() {\n return this.numberingPlan.callingCode();\n } // Deprecated.\n\n }, {\n key: \"IDDPrefix\",\n value: function IDDPrefix() {\n return this.numberingPlan.IDDPrefix();\n } // Deprecated.\n\n }, {\n key: \"defaultIDDPrefix\",\n value: function defaultIDDPrefix() {\n return this.numberingPlan.defaultIDDPrefix();\n } // Deprecated.\n\n }, {\n key: \"nationalNumberPattern\",\n value: function nationalNumberPattern() {\n return this.numberingPlan.nationalNumberPattern();\n } // Deprecated.\n\n }, {\n key: \"possibleLengths\",\n value: function possibleLengths() {\n return this.numberingPlan.possibleLengths();\n } // Deprecated.\n\n }, {\n key: \"formats\",\n value: function formats() {\n return this.numberingPlan.formats();\n } // Deprecated.\n\n }, {\n key: \"nationalPrefixForParsing\",\n value: function nationalPrefixForParsing() {\n return this.numberingPlan.nationalPrefixForParsing();\n } // Deprecated.\n\n }, {\n key: \"nationalPrefixTransformRule\",\n value: function nationalPrefixTransformRule() {\n return this.numberingPlan.nationalPrefixTransformRule();\n } // Deprecated.\n\n }, {\n key: \"leadingDigits\",\n value: function leadingDigits() {\n return this.numberingPlan.leadingDigits();\n } // Deprecated.\n\n }, {\n key: \"hasTypes\",\n value: function hasTypes() {\n return this.numberingPlan.hasTypes();\n } // Deprecated.\n\n }, {\n key: \"type\",\n value: function type(_type) {\n return this.numberingPlan.type(_type);\n } // Deprecated.\n\n }, {\n key: \"ext\",\n value: function ext() {\n return this.numberingPlan.ext();\n }\n }, {\n key: \"countryCallingCodes\",\n value: function countryCallingCodes() {\n if (this.v1) return this.metadata.country_phone_code_to_countries;\n return this.metadata.country_calling_codes;\n } // Deprecated.\n\n }, {\n key: \"chooseCountryByCountryCallingCode\",\n value: function chooseCountryByCountryCallingCode(callingCode) {\n this.selectNumberingPlan(null, callingCode);\n }\n }, {\n key: \"hasSelectedNumberingPlan\",\n value: function hasSelectedNumberingPlan() {\n return this.numberingPlan !== undefined;\n }\n }]);\n\n return Metadata;\n}();\n\nexport { Metadata as default };\n\nvar NumberingPlan = /*#__PURE__*/function () {\n function NumberingPlan(metadata, globalMetadataObject) {\n _classCallCheck(this, NumberingPlan);\n\n this.globalMetadataObject = globalMetadataObject;\n this.metadata = metadata;\n setVersion.call(this, globalMetadataObject.metadata);\n }\n\n _createClass(NumberingPlan, [{\n key: \"callingCode\",\n value: function callingCode() {\n return this.metadata[0];\n } // Formatting information for regions which share\n // a country calling code is contained by only one region\n // for performance reasons. For example, for NANPA region\n // (\"North American Numbering Plan Administration\",\n // which includes USA, Canada, Cayman Islands, Bahamas, etc)\n // it will be contained in the metadata for `US`.\n\n }, {\n key: \"getDefaultCountryMetadataForRegion\",\n value: function getDefaultCountryMetadataForRegion() {\n return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());\n }\n }, {\n key: \"IDDPrefix\",\n value: function IDDPrefix() {\n if (this.v1 || this.v2) return;\n return this.metadata[1];\n }\n }, {\n key: \"defaultIDDPrefix\",\n value: function defaultIDDPrefix() {\n if (this.v1 || this.v2) return;\n return this.metadata[12];\n }\n }, {\n key: \"nationalNumberPattern\",\n value: function nationalNumberPattern() {\n if (this.v1 || this.v2) return this.metadata[1];\n return this.metadata[2];\n }\n }, {\n key: \"possibleLengths\",\n value: function possibleLengths() {\n if (this.v1) return;\n return this.metadata[this.v2 ? 2 : 3];\n }\n }, {\n key: \"_getFormats\",\n value: function _getFormats(metadata) {\n return metadata[this.v1 ? 2 : this.v2 ? 3 : 4];\n } // For countries of the same region (e.g. NANPA)\n // formats are all stored in the \"main\" country for that region.\n // E.g. \"RU\" and \"KZ\", \"US\" and \"CA\".\n\n }, {\n key: \"formats\",\n value: function formats() {\n var _this = this;\n\n var formats = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];\n return formats.map(function (_) {\n return new Format(_, _this);\n });\n }\n }, {\n key: \"nationalPrefix\",\n value: function nationalPrefix() {\n return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];\n }\n }, {\n key: \"_getNationalPrefixFormattingRule\",\n value: function _getNationalPrefixFormattingRule(metadata) {\n return metadata[this.v1 ? 4 : this.v2 ? 5 : 6];\n } // For countries of the same region (e.g. NANPA)\n // national prefix formatting rule is stored in the \"main\" country for that region.\n // E.g. \"RU\" and \"KZ\", \"US\" and \"CA\".\n\n }, {\n key: \"nationalPrefixFormattingRule\",\n value: function nationalPrefixFormattingRule() {\n return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());\n }\n }, {\n key: \"_nationalPrefixForParsing\",\n value: function _nationalPrefixForParsing() {\n return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];\n }\n }, {\n key: \"nationalPrefixForParsing\",\n value: function nationalPrefixForParsing() {\n // If `national_prefix_for_parsing` is not set explicitly,\n // then infer it from `national_prefix` (if any)\n return this._nationalPrefixForParsing() || this.nationalPrefix();\n }\n }, {\n key: \"nationalPrefixTransformRule\",\n value: function nationalPrefixTransformRule() {\n return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];\n }\n }, {\n key: \"_getNationalPrefixIsOptionalWhenFormatting\",\n value: function _getNationalPrefixIsOptionalWhenFormatting() {\n return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];\n } // For countries of the same region (e.g. NANPA)\n // \"national prefix is optional when formatting\" flag is\n // stored in the \"main\" country for that region.\n // E.g. \"RU\" and \"KZ\", \"US\" and \"CA\".\n\n }, {\n key: \"nationalPrefixIsOptionalWhenFormattingInNationalFormat\",\n value: function nationalPrefixIsOptionalWhenFormattingInNationalFormat() {\n return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());\n }\n }, {\n key: \"leadingDigits\",\n value: function leadingDigits() {\n return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];\n }\n }, {\n key: \"types\",\n value: function types() {\n return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];\n }\n }, {\n key: \"hasTypes\",\n value: function hasTypes() {\n // Versions 1.2.0 - 1.2.4: can be `[]`.\n\n /* istanbul ignore next */\n if (this.types() && this.types().length === 0) {\n return false;\n } // Versions <= 1.2.4: can be `undefined`.\n // Version >= 1.2.5: can be `0`.\n\n\n return !!this.types();\n }\n }, {\n key: \"type\",\n value: function type(_type2) {\n if (this.hasTypes() && getType(this.types(), _type2)) {\n return new Type(getType(this.types(), _type2), this);\n }\n }\n }, {\n key: \"ext\",\n value: function ext() {\n if (this.v1 || this.v2) return DEFAULT_EXT_PREFIX;\n return this.metadata[13] || DEFAULT_EXT_PREFIX;\n }\n }]);\n\n return NumberingPlan;\n}();\n\nvar Format = /*#__PURE__*/function () {\n function Format(format, metadata) {\n _classCallCheck(this, Format);\n\n this._format = format;\n this.metadata = metadata;\n }\n\n _createClass(Format, [{\n key: \"pattern\",\n value: function pattern() {\n return this._format[0];\n }\n }, {\n key: \"format\",\n value: function format() {\n return this._format[1];\n }\n }, {\n key: \"leadingDigitsPatterns\",\n value: function leadingDigitsPatterns() {\n return this._format[2] || [];\n }\n }, {\n key: \"nationalPrefixFormattingRule\",\n value: function nationalPrefixFormattingRule() {\n return this._format[3] || this.metadata.nationalPrefixFormattingRule();\n }\n }, {\n key: \"nationalPrefixIsOptionalWhenFormattingInNationalFormat\",\n value: function nationalPrefixIsOptionalWhenFormattingInNationalFormat() {\n return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();\n }\n }, {\n key: \"nationalPrefixIsMandatoryWhenFormattingInNationalFormat\",\n value: function nationalPrefixIsMandatoryWhenFormattingInNationalFormat() {\n // National prefix is omitted if there's no national prefix formatting rule\n // set for this country, or when the national prefix formatting rule\n // contains no national prefix itself, or when this rule is set but\n // national prefix is optional for this phone number format\n // (and it is not enforced explicitly)\n return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();\n } // Checks whether national prefix formatting rule contains national prefix.\n\n }, {\n key: \"usesNationalPrefix\",\n value: function usesNationalPrefix() {\n return this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a \"dummy\" one.\n !FIRST_GROUP_ONLY_PREFIX_PATTERN.test(this.nationalPrefixFormattingRule()); // Previously, `FIRST_GROUP_ONLY_PREFIX_PATTERN` check was instead done via:\n // // Check that national prefix formatting rule is not a \"dummy\" one.\n // this.nationalPrefixFormattingRule() !== '$1' &&\n // // Check that national prefix formatting rule actually has national prefix digit(s).\n // // Filters out cases like \"($1)\".\n // // Is used in place of `libphonenumber`'s `FIRST_GROUP_ONLY_PREFIX_PATTERN_` regexp.\n // /\\d/.test(this.nationalPrefixFormattingRule().replace('$1', ''))\n }\n }, {\n key: \"internationalFormat\",\n value: function internationalFormat() {\n return this._format[5] || this.format();\n }\n }]);\n\n return Format;\n}();\n/**\r\n * A pattern that is used to determine if the national prefix formatting rule\r\n * has the first group only, i.e., does not start with the national prefix.\r\n * Note that the pattern explicitly allows for unbalanced parentheses.\r\n */\n\n\nvar FIRST_GROUP_ONLY_PREFIX_PATTERN = /^\\(?\\$1\\)?$/;\n\nvar Type = /*#__PURE__*/function () {\n function Type(type, metadata) {\n _classCallCheck(this, Type);\n\n this.type = type;\n this.metadata = metadata;\n }\n\n _createClass(Type, [{\n key: \"pattern\",\n value: function pattern() {\n if (this.metadata.v1) return this.type;\n return this.type[0];\n }\n }, {\n key: \"possibleLengths\",\n value: function possibleLengths() {\n if (this.metadata.v1) return;\n return this.type[1] || this.metadata.possibleLengths();\n }\n }]);\n\n return Type;\n}();\n\nfunction getType(types, type) {\n switch (type) {\n case 'FIXED_LINE':\n return types[0];\n\n case 'MOBILE':\n return types[1];\n\n case 'TOLL_FREE':\n return types[2];\n\n case 'PREMIUM_RATE':\n return types[3];\n\n case 'PERSONAL_NUMBER':\n return types[4];\n\n case 'VOICEMAIL':\n return types[5];\n\n case 'UAN':\n return types[6];\n\n case 'PAGER':\n return types[7];\n\n case 'VOIP':\n return types[8];\n\n case 'SHARED_COST':\n return types[9];\n }\n}\n\nexport function validateMetadata(metadata) {\n if (!metadata) {\n throw new Error('[libphonenumber-js] `metadata` argument not passed. Check your arguments.');\n } // `country_phone_code_to_countries` was renamed to\n // `country_calling_codes` in `1.0.18`.\n\n\n if (!is_object(metadata) || !is_object(metadata.countries)) {\n throw new Error(\"[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got \".concat(is_object(metadata) ? 'an object of shape: { ' + Object.keys(metadata).join(', ') + ' }' : 'a ' + type_of(metadata) + ': ' + metadata, \".\"));\n }\n} // Babel transforms `typeof` into some \"branches\"\n// so istanbul will show this as \"branch not covered\".\n\n/* istanbul ignore next */\n\nvar is_object = function is_object(_) {\n return _typeof(_) === 'object';\n}; // Babel transforms `typeof` into some \"branches\"\n// so istanbul will show this as \"branch not covered\".\n\n/* istanbul ignore next */\n\n\nvar type_of = function type_of(_) {\n return _typeof(_);\n};\n/**\r\n * Returns extension prefix for a country.\r\n * @param {string} country\r\n * @param {object} metadata\r\n * @return {string?}\r\n * @example\r\n * // Returns \" ext. \"\r\n * getExtPrefix(\"US\")\r\n */\n\n\nexport function getExtPrefix(country, metadata) {\n metadata = new Metadata(metadata);\n\n if (metadata.hasCountry(country)) {\n return metadata.country(country).ext();\n }\n\n return DEFAULT_EXT_PREFIX;\n}\n/**\r\n * Returns \"country calling code\" for a country.\r\n * Throws an error if the country doesn't exist or isn't supported by this library.\r\n * @param {string} country\r\n * @param {object} metadata\r\n * @return {string}\r\n * @example\r\n * // Returns \"44\"\r\n * getCountryCallingCode(\"GB\")\r\n */\n\nexport function getCountryCallingCode(country, metadata) {\n metadata = new Metadata(metadata);\n\n if (metadata.hasCountry(country)) {\n return metadata.country(country).countryCallingCode();\n }\n\n throw new Error(\"Unknown country: \".concat(country));\n}\nexport function isSupportedCountry(country, metadata) {\n // metadata = new Metadata(metadata)\n // return metadata.hasCountry(country)\n return metadata.countries[country] !== undefined;\n}\n\nfunction setVersion(metadata) {\n this.v1 = !metadata.version;\n this.v2 = metadata.version !== undefined && compare(metadata.version, V3) === -1;\n this.v3 = metadata.version !== undefined && compare(metadata.version, V4) === -1;\n this.v4 = metadata.version !== undefined; // && compare(metadata.version, V5) === -1\n} // const ISO_COUNTRY_CODE = /^[A-Z]{2}$/\n// function isCountryCode(countryCode) {\n// \treturn ISO_COUNTRY_CODE.test(countryCodeOrCountryCallingCode)\n// }","import { VALID_DIGITS } from './constants'; // The RFC 3966 format for extensions.\n\nvar RFC3966_EXTN_PREFIX = ';ext='; // Pattern to capture digits used in an extension.\n// Places a maximum length of '7' for an extension.\n\nvar CAPTURING_EXTN_DIGITS = '([' + VALID_DIGITS + ']{1,7})';\n/**\r\n * Regexp of all possible ways to write extensions, for use when parsing. This\r\n * will be run as a case-insensitive regexp match. Wide character versions are\r\n * also provided after each ASCII version. There are three regular expressions\r\n * here. The first covers RFC 3966 format, where the extension is added using\r\n * ';ext='. The second more generic one starts with optional white space and\r\n * ends with an optional full stop (.), followed by zero or more spaces/tabs\r\n * /commas and then the numbers themselves. The other one covers the special\r\n * case of American numbers where the extension is written with a hash at the\r\n * end, such as '- 503#'. Note that the only capturing groups should be around\r\n * the digits that you want to capture as part of the extension, or else parsing\r\n * will fail! We allow two options for representing the accented o - the\r\n * character itself, and one in the unicode decomposed form with the combining\r\n * acute accent.\r\n */\n\nfunction create_extension_pattern(purpose) {\n // One-character symbols that can be used to indicate an extension.\n var single_extension_characters = \"x\\uFF58#\\uFF03~\\uFF5E\";\n\n switch (purpose) {\n // For parsing, we are slightly more lenient in our interpretation than for matching. Here we\n // allow \"comma\" and \"semicolon\" as possible extension indicators. When matching, these are\n case 'parsing':\n single_extension_characters = ',;' + single_extension_characters;\n }\n\n return RFC3966_EXTN_PREFIX + CAPTURING_EXTN_DIGITS + '|' + \"[ \\xA0\\\\t,]*\" + \"(?:e?xt(?:ensi(?:o\\u0301?|\\xF3))?n?|\\uFF45?\\uFF58\\uFF54\\uFF4E?|\" + // \"доб.\"\n \"\\u0434\\u043E\\u0431|\" + '[' + single_extension_characters + \"]|int|anexo|\\uFF49\\uFF4E\\uFF54)\" + \"[:\\\\.\\uFF0E]?[ \\xA0\\\\t,-]*\" + CAPTURING_EXTN_DIGITS + '#?|' + '[- ]+([' + VALID_DIGITS + ']{1,5})#';\n}\n/**\r\n * Regexp of all possible ways to write extensions, for use when parsing. This\r\n * will be run as a case-insensitive regexp match. Wide character versions are\r\n * also provided after each ASCII version. There are three regular expressions\r\n * here. The first covers RFC 3966 format, where the extension is added using\r\n * ';ext='. The second more generic one starts with optional white space and\r\n * ends with an optional full stop (.), followed by zero or more spaces/tabs\r\n * /commas and then the numbers themselves. The other one covers the special\r\n * case of American numbers where the extension is written with a hash at the\r\n * end, such as '- 503#'. Note that the only capturing groups should be around\r\n * the digits that you want to capture as part of the extension, or else parsing\r\n * will fail! We allow two options for representing the accented o - the\r\n * character itself, and one in the unicode decomposed form with the combining\r\n * acute accent.\r\n */\n\n\nexport var EXTN_PATTERNS_FOR_PARSING = create_extension_pattern('parsing');\nexport var EXTN_PATTERNS_FOR_MATCHING = create_extension_pattern('matching'); // Regexp of all known extension prefixes used by different regions followed by\n// 1 or more valid digits, for use when parsing.\n\nvar EXTN_PATTERN = new RegExp('(?:' + EXTN_PATTERNS_FOR_PARSING + ')$', 'i'); // Strips any extension (as in, the part of the number dialled after the call is\n// connected, usually indicated with extn, ext, x or similar) from the end of\n// the number, and returns it.\n\nexport function extractExtension(number) {\n var start = number.search(EXTN_PATTERN);\n\n if (start < 0) {\n return {};\n } // If we find a potential extension, and the number preceding this is a viable\n // number, we assume it is an extension.\n\n\n var number_without_extension = number.slice(0, start);\n var matches = number.match(EXTN_PATTERN);\n var i = 1;\n\n while (i < matches.length) {\n if (matches[i] != null && matches[i].length > 0) {\n return {\n number: number_without_extension,\n ext: matches[i]\n };\n }\n\n i++;\n }\n}","import { MIN_LENGTH_FOR_NSN, VALID_DIGITS, VALID_PUNCTUATION, PLUS_CHARS } from './constants';\nimport { EXTN_PATTERNS_FOR_PARSING } from './extension'; // Regular expression of viable phone numbers. This is location independent.\n// Checks we have at least three leading digits, and only valid punctuation,\n// alpha characters and digits in the phone number. Does not include extension\n// data. The symbol 'x' is allowed here as valid punctuation since it is often\n// used as a placeholder for carrier codes, for example in Brazilian phone\n// numbers. We also allow multiple '+' characters at the start.\n//\n// Corresponds to the following:\n// [digits]{minLengthNsn}|\n// plus_sign*\n// (([punctuation]|[star])*[digits]){3,}([punctuation]|[star]|[digits]|[alpha])*\n//\n// The first reg-ex is to allow short numbers (two digits long) to be parsed if\n// they are entered as \"15\" etc, but only if there is no punctuation in them.\n// The second expression restricts the number of digits to three or more, but\n// then allows them to be in international form, and to have alpha-characters\n// and punctuation. We split up the two reg-exes here and combine them when\n// creating the reg-ex VALID_PHONE_NUMBER_PATTERN itself so we can prefix it\n// with ^ and append $ to each branch.\n//\n// \"Note VALID_PUNCTUATION starts with a -,\n// so must be the first in the range\" (c) Google devs.\n// (wtf did they mean by saying that; probably nothing)\n//\n\nvar MIN_LENGTH_PHONE_NUMBER_PATTERN = '[' + VALID_DIGITS + ']{' + MIN_LENGTH_FOR_NSN + '}'; //\n// And this is the second reg-exp:\n// (see MIN_LENGTH_PHONE_NUMBER_PATTERN for a full description of this reg-exp)\n//\n\nvar VALID_PHONE_NUMBER = '[' + PLUS_CHARS + ']{0,1}' + '(?:' + '[' + VALID_PUNCTUATION + ']*' + '[' + VALID_DIGITS + ']' + '){3,}' + '[' + VALID_PUNCTUATION + VALID_DIGITS + ']*'; // The combined regular expression for valid phone numbers:\n//\n\nvar VALID_PHONE_NUMBER_PATTERN = new RegExp( // Either a short two-digit-only phone number\n'^' + MIN_LENGTH_PHONE_NUMBER_PATTERN + '$' + '|' + // Or a longer fully parsed phone number (min 3 characters)\n'^' + VALID_PHONE_NUMBER + // Phone number extensions\n'(?:' + EXTN_PATTERNS_FOR_PARSING + ')?' + '$', 'i'); // Checks to see if the string of characters could possibly be a phone number at\n// all. At the moment, checks to see that the string begins with at least 2\n// digits, ignoring any punctuation commonly found in phone numbers. This method\n// does not require the number to be normalized in advance - but does assume\n// that leading non-number symbols have been removed, such as by the method\n// `extract_possible_number`.\n//\n\nexport default function isViablePhoneNumber(number) {\n return number.length >= MIN_LENGTH_FOR_NSN && VALID_PHONE_NUMBER_PATTERN.test(number);\n}","// These mappings map a character (key) to a specific digit that should\n// replace it for normalization purposes. Non-European digits that\n// may be used in phone numbers are mapped to a European equivalent.\n//\n// E.g. in Iraq they don't write `+442323234` but rather `+٤٤٢٣٢٣٢٣٤`.\n//\nexport var DIGITS = {\n '0': '0',\n '1': '1',\n '2': '2',\n '3': '3',\n '4': '4',\n '5': '5',\n '6': '6',\n '7': '7',\n '8': '8',\n '9': '9',\n \"\\uFF10\": '0',\n // Fullwidth digit 0\n \"\\uFF11\": '1',\n // Fullwidth digit 1\n \"\\uFF12\": '2',\n // Fullwidth digit 2\n \"\\uFF13\": '3',\n // Fullwidth digit 3\n \"\\uFF14\": '4',\n // Fullwidth digit 4\n \"\\uFF15\": '5',\n // Fullwidth digit 5\n \"\\uFF16\": '6',\n // Fullwidth digit 6\n \"\\uFF17\": '7',\n // Fullwidth digit 7\n \"\\uFF18\": '8',\n // Fullwidth digit 8\n \"\\uFF19\": '9',\n // Fullwidth digit 9\n \"\\u0660\": '0',\n // Arabic-indic digit 0\n \"\\u0661\": '1',\n // Arabic-indic digit 1\n \"\\u0662\": '2',\n // Arabic-indic digit 2\n \"\\u0663\": '3',\n // Arabic-indic digit 3\n \"\\u0664\": '4',\n // Arabic-indic digit 4\n \"\\u0665\": '5',\n // Arabic-indic digit 5\n \"\\u0666\": '6',\n // Arabic-indic digit 6\n \"\\u0667\": '7',\n // Arabic-indic digit 7\n \"\\u0668\": '8',\n // Arabic-indic digit 8\n \"\\u0669\": '9',\n // Arabic-indic digit 9\n \"\\u06F0\": '0',\n // Eastern-Arabic digit 0\n \"\\u06F1\": '1',\n // Eastern-Arabic digit 1\n \"\\u06F2\": '2',\n // Eastern-Arabic digit 2\n \"\\u06F3\": '3',\n // Eastern-Arabic digit 3\n \"\\u06F4\": '4',\n // Eastern-Arabic digit 4\n \"\\u06F5\": '5',\n // Eastern-Arabic digit 5\n \"\\u06F6\": '6',\n // Eastern-Arabic digit 6\n \"\\u06F7\": '7',\n // Eastern-Arabic digit 7\n \"\\u06F8\": '8',\n // Eastern-Arabic digit 8\n \"\\u06F9\": '9' // Eastern-Arabic digit 9\n\n};\nexport function parseDigit(character) {\n return DIGITS[character];\n}\n/**\r\n * Parses phone number digits from a string.\r\n * Drops all punctuation leaving only digits.\r\n * Also converts wide-ascii and arabic-indic numerals to conventional numerals.\r\n * E.g. in Iraq they don't write `+442323234` but rather `+٤٤٢٣٢٣٢٣٤`.\r\n * @param {string} string\r\n * @return {string}\r\n * @example\r\n * ```js\r\n * parseDigits('8 (800) 555')\r\n * // Outputs '8800555'.\r\n * ```\r\n */\n\nexport default function parseDigits(string) {\n var result = ''; // Using `.split('')` here instead of normal `for ... of`\n // because the importing application doesn't neccessarily include an ES6 polyfill.\n // The `.split('')` approach discards \"exotic\" UTF-8 characters\n // (the ones consisting of four bytes) but digits\n // (including non-European ones) don't fall into that range\n // so such \"exotic\" characters would be discarded anyway.\n\n for (var _iterator = string.split(''), _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var character = _ref;\n var digit = parseDigit(character);\n\n if (digit) {\n result += digit;\n }\n }\n\n return result;\n}","import { parseDigit } from './parseDigits';\n/**\r\n * Parses phone number characters from a string.\r\n * Drops all punctuation leaving only digits and the leading `+` sign (if any).\r\n * Also converts wide-ascii and arabic-indic numerals to conventional numerals.\r\n * E.g. in Iraq they don't write `+442323234` but rather `+٤٤٢٣٢٣٢٣٤`.\r\n * @param {string} string\r\n * @return {string}\r\n * @example\r\n * ```js\r\n * // Outputs '8800555'.\r\n * parseIncompletePhoneNumber('8 (800) 555')\r\n * // Outputs '+7800555'.\r\n * parseIncompletePhoneNumber('+7 800 555')\r\n * ```\r\n */\n\nexport default function parseIncompletePhoneNumber(string) {\n var result = ''; // Using `.split('')` here instead of normal `for ... of`\n // because the importing application doesn't neccessarily include an ES6 polyfill.\n // The `.split('')` approach discards \"exotic\" UTF-8 characters\n // (the ones consisting of four bytes) but digits\n // (including non-European ones) don't fall into that range\n // so such \"exotic\" characters would be discarded anyway.\n\n for (var _iterator = string.split(''), _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var character = _ref;\n result += parsePhoneNumberCharacter(character, result) || '';\n }\n\n return result;\n}\n/**\r\n * `input-format` `parse()` function.\r\n * https://gitlab.com/catamphetamine/input-format\r\n * @param {string} character - Yet another character from raw input string.\r\n * @param {string} value - The value parsed so far.\r\n * @param {object} meta - Optional custom use-case-specific metadata.\r\n * @return {string?} The parsed character.\r\n */\n\nexport function parsePhoneNumberCharacter(character, value) {\n // Only allow a leading `+`.\n if (character === '+') {\n // If this `+` is not the first parsed character\n // then discard it.\n if (value) {\n return;\n }\n\n return '+';\n } // Allow digits.\n\n\n return parseDigit(character);\n}","import Metadata from './metadata';\nimport { matchesEntirely, mergeArrays } from './util';\nvar NON_FIXED_LINE_PHONE_TYPES = ['MOBILE', 'PREMIUM_RATE', 'TOLL_FREE', 'SHARED_COST', 'VOIP', 'PERSONAL_NUMBER', 'PAGER', 'UAN', 'VOICEMAIL']; // Finds out national phone number type (fixed line, mobile, etc)\n\nexport default function getNumberType(input, options, metadata) {\n // If assigning the `{}` default value is moved to the arguments above,\n // code coverage would decrease for some weird reason.\n options = options || {}; // When `parse()` returned `{}`\n // meaning that the phone number is not a valid one.\n\n if (!input.country) {\n return;\n }\n\n metadata = new Metadata(metadata);\n metadata.selectNumberingPlan(input.country, input.countryCallingCode);\n var nationalNumber = options.v2 ? input.nationalNumber : input.phone; // The following is copy-pasted from the original function:\n // https://github.com/googlei18n/libphonenumber/blob/3ea547d4fbaa2d0b67588904dfa5d3f2557c27ff/javascript/i18n/phonenumbers/phonenumberutil.js#L2835\n // Is this national number even valid for this country\n\n if (!matchesEntirely(nationalNumber, metadata.nationalNumberPattern())) {\n return;\n } // Is it fixed line number\n\n\n if (is_of_type(nationalNumber, 'FIXED_LINE', metadata)) {\n // Because duplicate regular expressions are removed\n // to reduce metadata size, if \"mobile\" pattern is \"\"\n // then it means it was removed due to being a duplicate of the fixed-line pattern.\n //\n if (metadata.type('MOBILE') && metadata.type('MOBILE').pattern() === '') {\n return 'FIXED_LINE_OR_MOBILE';\n } // v1 metadata.\n // Legacy.\n // Deprecated.\n\n\n if (!metadata.type('MOBILE')) {\n return 'FIXED_LINE_OR_MOBILE';\n } // Check if the number happens to qualify as both fixed line and mobile.\n // (no such country in the minimal metadata set)\n\n /* istanbul ignore if */\n\n\n if (is_of_type(nationalNumber, 'MOBILE', metadata)) {\n return 'FIXED_LINE_OR_MOBILE';\n }\n\n return 'FIXED_LINE';\n }\n\n for (var _i = 0, _NON_FIXED_LINE_PHONE = NON_FIXED_LINE_PHONE_TYPES; _i < _NON_FIXED_LINE_PHONE.length; _i++) {\n var _type = _NON_FIXED_LINE_PHONE[_i];\n\n if (is_of_type(nationalNumber, _type, metadata)) {\n return _type;\n }\n }\n}\nexport function is_of_type(nationalNumber, type, metadata) {\n type = metadata.type(type);\n\n if (!type || !type.pattern()) {\n return false;\n } // Check if any possible number lengths are present;\n // if so, we use them to avoid checking\n // the validation pattern if they don't match.\n // If they are absent, this means they match\n // the general description, which we have\n // already checked before a specific number type.\n\n\n if (type.possibleLengths() && type.possibleLengths().indexOf(nationalNumber.length) < 0) {\n return false;\n }\n\n return matchesEntirely(nationalNumber, type.pattern());\n} // Should only be called for the \"new\" metadata which has \"possible lengths\".\n\nexport function checkNumberLengthForType(nationalNumber, type, metadata) {\n var type_info = metadata.type(type); // There should always be \"<possiblePengths/>\" set for every type element.\n // This is declared in the XML schema.\n // For size efficiency, where a sub-description (e.g. fixed-line)\n // has the same \"<possiblePengths/>\" as the \"general description\", this is missing,\n // so we fall back to the \"general description\". Where no numbers of the type\n // exist at all, there is one possible length (-1) which is guaranteed\n // not to match the length of any real phone number.\n\n var possible_lengths = type_info && type_info.possibleLengths() || metadata.possibleLengths(); // let local_lengths = type_info && type.possibleLengthsLocal() || metadata.possibleLengthsLocal()\n // Metadata before version `1.0.18` didn't contain `possible_lengths`.\n\n if (!possible_lengths) {\n return 'IS_POSSIBLE';\n }\n\n if (type === 'FIXED_LINE_OR_MOBILE') {\n // No such country in metadata.\n\n /* istanbul ignore next */\n if (!metadata.type('FIXED_LINE')) {\n // The rare case has been encountered where no fixedLine data is available\n // (true for some non-geographic entities), so we just check mobile.\n return checkNumberLengthForType(nationalNumber, 'MOBILE', metadata);\n }\n\n var mobile_type = metadata.type('MOBILE');\n\n if (mobile_type) {\n // Merge the mobile data in if there was any. \"Concat\" creates a new\n // array, it doesn't edit possible_lengths in place, so we don't need a copy.\n // Note that when adding the possible lengths from mobile, we have\n // to again check they aren't empty since if they are this indicates\n // they are the same as the general desc and should be obtained from there.\n possible_lengths = mergeArrays(possible_lengths, mobile_type.possibleLengths()); // The current list is sorted; we need to merge in the new list and\n // re-sort (duplicates are okay). Sorting isn't so expensive because\n // the lists are very small.\n // if (local_lengths)\n // {\n // \tlocal_lengths = mergeArrays(local_lengths, mobile_type.possibleLengthsLocal())\n // }\n // else\n // {\n // \tlocal_lengths = mobile_type.possibleLengthsLocal()\n // }\n }\n } // If the type doesn't exist then return 'INVALID_LENGTH'.\n else if (type && !type_info) {\n return 'INVALID_LENGTH';\n }\n\n var actual_length = nationalNumber.length; // In `libphonenumber-js` all \"local-only\" formats are dropped for simplicity.\n // // This is safe because there is never an overlap beween the possible lengths\n // // and the local-only lengths; this is checked at build time.\n // if (local_lengths && local_lengths.indexOf(nationalNumber.length) >= 0)\n // {\n // \treturn 'IS_POSSIBLE_LOCAL_ONLY'\n // }\n\n var minimum_length = possible_lengths[0];\n\n if (minimum_length === actual_length) {\n return 'IS_POSSIBLE';\n }\n\n if (minimum_length > actual_length) {\n return 'TOO_SHORT';\n }\n\n if (possible_lengths[possible_lengths.length - 1] < actual_length) {\n return 'TOO_LONG';\n } // We skip the first element since we've already checked it.\n\n\n return possible_lengths.indexOf(actual_length, 1) >= 0 ? 'IS_POSSIBLE' : 'INVALID_LENGTH';\n}","import Metadata from './metadata';\nimport { checkNumberLengthForType } from './getNumberType_';\nexport default function isPossiblePhoneNumber(input, options, metadata) {\n /* istanbul ignore if */\n if (options === undefined) {\n options = {};\n }\n\n metadata = new Metadata(metadata);\n\n if (options.v2) {\n if (!input.countryCallingCode) {\n throw new Error('Invalid phone number object passed');\n }\n\n metadata.chooseCountryByCountryCallingCode(input.countryCallingCode);\n } else {\n if (!input.phone) {\n return false;\n }\n\n if (input.country) {\n if (!metadata.hasCountry(input.country)) {\n throw new Error(\"Unknown country: \".concat(input.country));\n }\n\n metadata.country(input.country);\n } else {\n if (!input.countryCallingCode) {\n throw new Error('Invalid phone number object passed');\n }\n\n metadata.chooseCountryByCountryCallingCode(input.countryCallingCode);\n }\n }\n\n if (metadata.possibleLengths()) {\n return isPossibleNumber(input.phone || input.nationalNumber, undefined, metadata);\n } else {\n // There was a bug between `1.7.35` and `1.7.37` where \"possible_lengths\"\n // were missing for \"non-geographical\" numbering plans.\n // Just assume the number is possible in such cases:\n // it's unlikely that anyone generated their custom metadata\n // in that short period of time (one day).\n // This code can be removed in some future major version update.\n if (input.countryCallingCode && metadata.isNonGeographicCallingCode(input.countryCallingCode)) {\n // \"Non-geographic entities\" did't have `possibleLengths`\n // due to a bug in metadata generation process.\n return true;\n } else {\n throw new Error('Missing \"possibleLengths\" in metadata. Perhaps the metadata has been generated before v1.0.18.');\n }\n }\n}\nexport function isPossibleNumber(nationalNumber, isInternational, metadata) {\n switch (checkNumberLengthForType(nationalNumber, undefined, metadata)) {\n case 'IS_POSSIBLE':\n return true;\n // case 'IS_POSSIBLE_LOCAL_ONLY':\n // \treturn !isInternational\n\n default:\n return false;\n }\n}","import Metadata from './metadata';\nimport { VALID_DIGITS } from './constants';\nvar CAPTURING_DIGIT_PATTERN = new RegExp('([' + VALID_DIGITS + '])');\n/**\r\n * Pattern that makes it easy to distinguish whether a region has a single\r\n * international dialing prefix or not. If a region has a single international\r\n * prefix (e.g. 011 in USA), it will be represented as a string that contains\r\n * a sequence of ASCII digits, and possibly a tilde, which signals waiting for\r\n * the tone. If there are multiple available international prefixes in a\r\n * region, they will be represented as a regex string that always contains one\r\n * or more characters that are not ASCII digits or a tilde.\r\n */\n\nvar SINGLE_IDD_PREFIX = /^[\\d]+(?:[~\\u2053\\u223C\\uFF5E][\\d]+)?$/; // For regions that have multiple IDD prefixes\n// a preferred IDD prefix is returned.\n\nexport function getIDDPrefix(country, callingCode, metadata) {\n var countryMetadata = new Metadata(metadata);\n countryMetadata.selectNumberingPlan(country, callingCode);\n\n if (SINGLE_IDD_PREFIX.test(countryMetadata.IDDPrefix())) {\n return countryMetadata.IDDPrefix();\n }\n\n return countryMetadata.defaultIDDPrefix();\n}\nexport function stripIDDPrefix(number, country, callingCode, metadata) {\n if (!country) {\n return;\n } // Check if the number is IDD-prefixed.\n\n\n var countryMetadata = new Metadata(metadata);\n countryMetadata.selectNumberingPlan(country, callingCode);\n var IDDPrefixPattern = new RegExp(countryMetadata.IDDPrefix());\n\n if (number.search(IDDPrefixPattern) !== 0) {\n return;\n } // Strip IDD prefix.\n\n\n number = number.slice(number.match(IDDPrefixPattern)[0].length); // Some kind of a weird edge case.\n // No explanation from Google given.\n\n var matchedGroups = number.match(CAPTURING_DIGIT_PATTERN);\n /* istanbul ignore next */\n\n if (matchedGroups && matchedGroups[1] != null && matchedGroups[1].length > 0) {\n if (matchedGroups[1] === '0') {\n return;\n }\n }\n\n return number;\n}","function _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nimport isViablePhoneNumber from './isViablePhoneNumber'; // https://www.ietf.org/rfc/rfc3966.txt\n\n/**\r\n * @param {string} text - Phone URI (RFC 3966).\r\n * @return {object} `{ ?number, ?ext }`.\r\n */\n\nexport function parseRFC3966(text) {\n var number;\n var ext; // Replace \"tel:\" with \"tel=\" for parsing convenience.\n\n text = text.replace(/^tel:/, 'tel=');\n\n for (var _iterator = text.split(';'), _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var part = _ref;\n\n var _part$split = part.split('='),\n _part$split2 = _slicedToArray(_part$split, 2),\n name = _part$split2[0],\n value = _part$split2[1];\n\n switch (name) {\n case 'tel':\n number = value;\n break;\n\n case 'ext':\n ext = value;\n break;\n\n case 'phone-context':\n // Only \"country contexts\" are supported.\n // \"Domain contexts\" are ignored.\n if (value[0] === '+') {\n number = value + number;\n }\n\n break;\n }\n } // If the phone number is not viable, then abort.\n\n\n if (!isViablePhoneNumber(number)) {\n return {};\n }\n\n var result = {\n number: number\n };\n\n if (ext) {\n result.ext = ext;\n }\n\n return result;\n}\n/**\r\n * @param {object} - `{ ?number, ?extension }`.\r\n * @return {string} Phone URI (RFC 3966).\r\n */\n\nexport function formatRFC3966(_ref2) {\n var number = _ref2.number,\n ext = _ref2.ext;\n\n if (!number) {\n return '';\n }\n\n if (number[0] !== '+') {\n throw new Error(\"\\\"formatRFC3966()\\\" expects \\\"number\\\" to be in E.164 format.\");\n }\n\n return \"tel:\".concat(number).concat(ext ? ';ext=' + ext : '');\n}","function _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n }\n\n return target;\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} // This is a port of Google Android `libphonenumber`'s\n// `phonenumberutil.js` of December 31th, 2018.\n//\n// https://github.com/googlei18n/libphonenumber/commits/master/javascript/i18n/phonenumbers/phonenumberutil.js\n\n\nimport { VALID_PUNCTUATION } from './constants';\nimport { matchesEntirely } from './util';\nimport Metadata from './metadata';\nimport { getIDDPrefix } from './IDD';\nimport { formatRFC3966 } from './RFC3966';\nvar DEFAULT_OPTIONS = {\n formatExtension: function formatExtension(formattedNumber, extension, metadata) {\n return \"\".concat(formattedNumber).concat(metadata.ext()).concat(extension);\n } // Formats a phone number\n //\n // Example use cases:\n //\n // ```js\n // formatNumber('8005553535', 'RU', 'INTERNATIONAL')\n // formatNumber('8005553535', 'RU', 'INTERNATIONAL', metadata)\n // formatNumber({ phone: '8005553535', country: 'RU' }, 'INTERNATIONAL')\n // formatNumber({ phone: '8005553535', country: 'RU' }, 'INTERNATIONAL', metadata)\n // formatNumber('+78005553535', 'NATIONAL')\n // formatNumber('+78005553535', 'NATIONAL', metadata)\n // ```\n //\n\n};\nexport default function formatNumber(input, format, options, metadata) {\n // Apply default options.\n if (options) {\n options = _objectSpread({}, DEFAULT_OPTIONS, options);\n } else {\n options = DEFAULT_OPTIONS;\n }\n\n metadata = new Metadata(metadata);\n\n if (input.country && input.country !== '001') {\n // Validate `input.country`.\n if (!metadata.hasCountry(input.country)) {\n throw new Error(\"Unknown country: \".concat(input.country));\n }\n\n metadata.country(input.country);\n } else if (input.countryCallingCode) {\n metadata.chooseCountryByCountryCallingCode(input.countryCallingCode);\n } else return input.phone || '';\n\n var countryCallingCode = metadata.countryCallingCode();\n var nationalNumber = options.v2 ? input.nationalNumber : input.phone; // This variable should have been declared inside `case`s\n // but Babel has a bug and it says \"duplicate variable declaration\".\n\n var number;\n\n switch (format) {\n case 'NATIONAL':\n // Legacy argument support.\n // (`{ country: ..., phone: '' }`)\n if (!nationalNumber) {\n return '';\n }\n\n number = formatNationalNumber(nationalNumber, 'NATIONAL', metadata, options);\n return addExtension(number, input.ext, metadata, options.formatExtension);\n\n case 'INTERNATIONAL':\n // Legacy argument support.\n // (`{ country: ..., phone: '' }`)\n if (!nationalNumber) {\n return \"+\".concat(countryCallingCode);\n }\n\n number = formatNationalNumber(nationalNumber, 'INTERNATIONAL', metadata, options);\n number = \"+\".concat(countryCallingCode, \" \").concat(number);\n return addExtension(number, input.ext, metadata, options.formatExtension);\n\n case 'E.164':\n // `E.164` doesn't define \"phone number extensions\".\n return \"+\".concat(countryCallingCode).concat(nationalNumber);\n\n case 'RFC3966':\n return formatRFC3966({\n number: \"+\".concat(countryCallingCode).concat(nationalNumber),\n ext: input.ext\n });\n\n case 'IDD':\n if (!options.fromCountry) {\n return; // throw new Error('`fromCountry` option not passed for IDD-prefixed formatting.')\n }\n\n var IDDPrefix = getIDDPrefix(options.fromCountry, undefined, metadata.metadata);\n\n if (!IDDPrefix) {\n return;\n }\n\n if (options.humanReadable) {\n var formattedForSameCountryCallingCode = countryCallingCode && formatIDDSameCountryCallingCodeNumber(nationalNumber, metadata.countryCallingCode(), options.fromCountry, metadata, options);\n\n if (formattedForSameCountryCallingCode) {\n number = formattedForSameCountryCallingCode;\n } else {\n number = \"\".concat(IDDPrefix, \" \").concat(countryCallingCode, \" \").concat(formatNationalNumber(nationalNumber, 'INTERNATIONAL', metadata, options));\n }\n\n return addExtension(number, input.ext, metadata, options.formatExtension);\n }\n\n return \"\".concat(IDDPrefix).concat(countryCallingCode).concat(nationalNumber);\n\n default:\n throw new Error(\"Unknown \\\"format\\\" argument passed to \\\"formatNumber()\\\": \\\"\".concat(format, \"\\\"\"));\n }\n} // This was originally set to $1 but there are some countries for which the\n// first group is not used in the national pattern (e.g. Argentina) so the $1\n// group does not match correctly. Therefore, we use \\d, so that the first\n// group actually used in the pattern will be matched.\n\nexport var FIRST_GROUP_PATTERN = /(\\$\\d)/;\nexport function formatNationalNumberUsingFormat(number, format, useInternationalSeparator, useNationalPrefixFormattingRule, metadata) {\n var formattedNumber = number.replace(new RegExp(format.pattern()), useInternationalSeparator ? format.internationalFormat() : useNationalPrefixFormattingRule && format.nationalPrefixFormattingRule() ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule()) : format.format());\n\n if (useInternationalSeparator) {\n return applyInternationalSeparatorStyle(formattedNumber);\n }\n\n return formattedNumber;\n}\n\nfunction formatNationalNumber(number, formatAs, metadata, options) {\n var format = chooseFormatForNumber(metadata.formats(), number);\n\n if (!format) {\n return number;\n }\n\n return formatNationalNumberUsingFormat(number, format, formatAs === 'INTERNATIONAL', format.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && options.nationalPrefix === false ? false : true, metadata);\n}\n\nfunction chooseFormatForNumber(availableFormats, nationalNnumber) {\n for (var _iterator = availableFormats, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var format = _ref; // Validate leading digits\n\n if (format.leadingDigitsPatterns().length > 0) {\n // The last leading_digits_pattern is used here, as it is the most detailed\n var lastLeadingDigitsPattern = format.leadingDigitsPatterns()[format.leadingDigitsPatterns().length - 1]; // If leading digits don't match then move on to the next phone number format\n\n if (nationalNnumber.search(lastLeadingDigitsPattern) !== 0) {\n continue;\n }\n } // Check that the national number matches the phone number format regular expression\n\n\n if (matchesEntirely(nationalNnumber, format.pattern())) {\n return format;\n }\n }\n} // Removes brackets and replaces dashes with spaces.\n//\n// E.g. \"(999) 111-22-33\" -> \"999 111 22 33\"\n//\n// For some reason Google's metadata contains `<intlFormat/>`s with brackets and dashes.\n// Meanwhile, there's no single opinion about using punctuation in international phone numbers.\n//\n// For example, Google's `<intlFormat/>` for USA is `+1 213-373-4253`.\n// And here's a quote from WikiPedia's \"North American Numbering Plan\" page:\n// https://en.wikipedia.org/wiki/North_American_Numbering_Plan\n//\n// \"The country calling code for all countries participating in the NANP is 1.\n// In international format, an NANP number should be listed as +1 301 555 01 00,\n// where 301 is an area code (Maryland).\"\n//\n// I personally prefer the international format without any punctuation.\n// For example, brackets are remnants of the old age, meaning that the\n// phone number part in brackets (so called \"area code\") can be omitted\n// if dialing within the same \"area\".\n// And hyphens were clearly introduced for splitting local numbers into memorizable groups.\n// For example, remembering \"5553535\" is difficult but \"555-35-35\" is much simpler.\n// Imagine a man taking a bus from home to work and seeing an ad with a phone number.\n// He has a couple of seconds to memorize that number until it passes by.\n// If it were spaces instead of hyphens the man wouldn't necessarily get it,\n// but with hyphens instead of spaces the grouping is more explicit.\n// I personally think that hyphens introduce visual clutter,\n// so I prefer replacing them with spaces in international numbers.\n// In the modern age all output is done on displays where spaces are clearly distinguishable\n// so hyphens can be safely replaced with spaces without losing any legibility.\n//\n\n\nexport function applyInternationalSeparatorStyle(local) {\n return local.replace(new RegExp(\"[\".concat(VALID_PUNCTUATION, \"]+\"), 'g'), ' ').trim();\n}\n\nfunction addExtension(formattedNumber, ext, metadata, formatExtension) {\n return ext ? formatExtension(formattedNumber, ext, metadata) : formattedNumber;\n}\n\nfunction formatIDDSameCountryCallingCodeNumber(number, toCountryCallingCode, fromCountry, toCountryMetadata, options) {\n var fromCountryMetadata = new Metadata(toCountryMetadata.metadata);\n fromCountryMetadata.country(fromCountry); // If calling within the same country calling code.\n\n if (toCountryCallingCode === fromCountryMetadata.countryCallingCode()) {\n // For NANPA regions, return the national format for these regions\n // but prefix it with the country calling code.\n if (toCountryCallingCode === '1') {\n return toCountryCallingCode + ' ' + formatNationalNumber(number, 'NATIONAL', toCountryMetadata, options);\n } // If regions share a country calling code, the country calling code need\n // not be dialled. This also applies when dialling within a region, so this\n // if clause covers both these cases. Technically this is the case for\n // dialling from La Reunion to other overseas departments of France (French\n // Guiana, Martinique, Guadeloupe), but not vice versa - so we don't cover\n // this edge case for now and for those cases return the version including\n // country calling code. Details here:\n // http://www.petitfute.com/voyage/225-info-pratiques-reunion\n //\n\n\n return formatNationalNumber(number, 'NATIONAL', toCountryMetadata, options);\n }\n}","function _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n }\n\n return target;\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 _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\nimport Metadata from './metadata';\nimport isPossibleNumber from './isPossibleNumber_';\nimport isValidNumber from './validate_';\nimport isValidNumberForRegion from './isValidNumberForRegion_';\nimport getNumberType from './getNumberType_';\nimport formatNumber from './format_';\nvar USE_NON_GEOGRAPHIC_COUNTRY_CODE = false;\n\nvar PhoneNumber = /*#__PURE__*/function () {\n function PhoneNumber(countryCallingCode, nationalNumber, metadata) {\n _classCallCheck(this, PhoneNumber);\n\n if (!countryCallingCode) {\n throw new TypeError('`country` or `countryCallingCode` not passed');\n }\n\n if (!nationalNumber) {\n throw new TypeError('`nationalNumber` not passed');\n }\n\n var _metadata = new Metadata(metadata); // If country code is passed then derive `countryCallingCode` from it.\n // Also store the country code as `.country`.\n\n\n if (isCountryCode(countryCallingCode)) {\n this.country = countryCallingCode;\n\n _metadata.country(countryCallingCode);\n\n countryCallingCode = _metadata.countryCallingCode();\n } else {\n /* istanbul ignore if */\n if (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {\n if (_metadata.isNonGeographicCallingCode(countryCallingCode)) {\n this.country = '001';\n }\n }\n }\n\n this.countryCallingCode = countryCallingCode;\n this.nationalNumber = nationalNumber;\n this.number = '+' + this.countryCallingCode + this.nationalNumber;\n this.metadata = metadata;\n }\n\n _createClass(PhoneNumber, [{\n key: \"isPossible\",\n value: function isPossible() {\n return isPossibleNumber(this, {\n v2: true\n }, this.metadata);\n }\n }, {\n key: \"isValid\",\n value: function isValid() {\n return isValidNumber(this, {\n v2: true\n }, this.metadata);\n }\n }, {\n key: \"isNonGeographic\",\n value: function isNonGeographic() {\n var metadata = new Metadata(this.metadata);\n return metadata.isNonGeographicCallingCode(this.countryCallingCode);\n }\n }, {\n key: \"isEqual\",\n value: function isEqual(phoneNumber) {\n return this.number === phoneNumber.number && this.ext === phoneNumber.ext;\n } // // Is just an alias for `this.isValid() && this.country === country`.\n // // https://github.com/googlei18n/libphonenumber/blob/master/FAQ.md#when-should-i-use-isvalidnumberforregion\n // isValidForRegion(country) {\n // \treturn isValidNumberForRegion(this, country, { v2: true }, this.metadata)\n // }\n\n }, {\n key: \"getType\",\n value: function getType() {\n return getNumberType(this, {\n v2: true\n }, this.metadata);\n }\n }, {\n key: \"format\",\n value: function format(_format, options) {\n return formatNumber(this, _format, options ? _objectSpread({}, options, {\n v2: true\n }) : {\n v2: true\n }, this.metadata);\n }\n }, {\n key: \"formatNational\",\n value: function formatNational(options) {\n return this.format('NATIONAL', options);\n }\n }, {\n key: \"formatInternational\",\n value: function formatInternational(options) {\n return this.format('INTERNATIONAL', options);\n }\n }, {\n key: \"getURI\",\n value: function getURI(options) {\n return this.format('RFC3966', options);\n }\n }]);\n\n return PhoneNumber;\n}();\n\nexport { PhoneNumber as default };\n\nvar isCountryCode = function isCountryCode(value) {\n return /^[A-Z]{2}$/.test(value);\n};","import Metadata from './metadata';\nimport { matchesEntirely } from './util';\nimport getNumberType from './getNumberType_';\n/**\r\n * Checks if a given phone number is valid.\r\n *\r\n * If the `number` is a string, it will be parsed to an object,\r\n * but only if it contains only valid phone number characters (including punctuation).\r\n * If the `number` is an object, it is used as is.\r\n *\r\n * The optional `defaultCountry` argument is the default country.\r\n * I.e. it does not restrict to just that country,\r\n * e.g. in those cases where several countries share\r\n * the same phone numbering rules (NANPA, Britain, etc).\r\n * For example, even though the number `07624 369230`\r\n * belongs to the Isle of Man (\"IM\" country code)\r\n * calling `isValidNumber('07624369230', 'GB', metadata)`\r\n * still returns `true` because the country is not restricted to `GB`,\r\n * it's just that `GB` is the default one for the phone numbering rules.\r\n * For restricting the country see `isValidNumberForRegion()`\r\n * though restricting a country might not be a good idea.\r\n * https://github.com/googlei18n/libphonenumber/blob/master/FAQ.md#when-should-i-use-isvalidnumberforregion\r\n *\r\n * Examples:\r\n *\r\n * ```js\r\n * isValidNumber('+78005553535', metadata)\r\n * isValidNumber('8005553535', 'RU', metadata)\r\n * isValidNumber('88005553535', 'RU', metadata)\r\n * isValidNumber({ phone: '8005553535', country: 'RU' }, metadata)\r\n * ```\r\n */\n\nexport default function isValidNumber(input, options, metadata) {\n // If assigning the `{}` default value is moved to the arguments above,\n // code coverage would decrease for some weird reason.\n options = options || {};\n metadata = new Metadata(metadata); // This is just to support `isValidNumber({})`\n // for cases when `parseNumber()` returns `{}`.\n\n if (!input.country) {\n return false;\n }\n\n metadata.selectNumberingPlan(input.country, input.countryCallingCode); // By default, countries only have type regexps when it's required for\n // distinguishing different countries having the same `countryCallingCode`.\n\n if (metadata.hasTypes()) {\n return getNumberType(input, options, metadata.metadata) !== undefined;\n } // If there are no type regexps for this country in metadata then use\n // `nationalNumberPattern` as a \"better than nothing\" replacement.\n\n\n var national_number = options.v2 ? input.nationalNumber : input.phone;\n return matchesEntirely(national_number, metadata.nationalNumberPattern());\n}","// This is a port of Google Android `libphonenumber`'s\n// `phonenumberutil.js` of December 31th, 2018.\n//\n// https://github.com/googlei18n/libphonenumber/commits/master/javascript/i18n/phonenumbers/phonenumberutil.js\nimport { VALID_DIGITS, PLUS_CHARS, MIN_LENGTH_FOR_NSN, MAX_LENGTH_FOR_NSN, MAX_LENGTH_COUNTRY_CODE } from './constants';\nimport { matchesEntirely } from './util';\nimport ParseError from './ParseError';\nimport Metadata from './metadata';\nimport isViablePhoneNumber from './isViablePhoneNumber';\nimport { extractExtension } from './extension';\nimport parseIncompletePhoneNumber from './parseIncompletePhoneNumber';\nimport getCountryCallingCode from './getCountryCallingCode';\nimport getNumberType, { checkNumberLengthForType } from './getNumberType_';\nimport { isPossibleNumber } from './isPossibleNumber_';\nimport { stripIDDPrefix } from './IDD';\nimport { parseRFC3966 } from './RFC3966';\nimport PhoneNumber from './PhoneNumber'; // We don't allow input strings for parsing to be longer than 250 chars.\n// This prevents malicious input from consuming CPU.\n\nvar MAX_INPUT_STRING_LENGTH = 250; // This consists of the plus symbol, digits, and arabic-indic digits.\n\nvar PHONE_NUMBER_START_PATTERN = new RegExp('[' + PLUS_CHARS + VALID_DIGITS + ']'); // Regular expression of trailing characters that we want to remove.\n\nvar AFTER_PHONE_NUMBER_END_PATTERN = new RegExp('[^' + VALID_DIGITS + ']+$');\nvar USE_NON_GEOGRAPHIC_COUNTRY_CODE = false; // `options`:\n// {\n// country:\n// {\n// restrict - (a two-letter country code)\n// the phone number must be in this country\n//\n// default - (a two-letter country code)\n// default country to use for phone number parsing and validation\n// (if no country code could be derived from the phone number)\n// }\n// }\n//\n// Returns `{ country, number }`\n//\n// Example use cases:\n//\n// ```js\n// parse('8 (800) 555-35-35', 'RU')\n// parse('8 (800) 555-35-35', 'RU', metadata)\n// parse('8 (800) 555-35-35', { country: { default: 'RU' } })\n// parse('8 (800) 555-35-35', { country: { default: 'RU' } }, metadata)\n// parse('+7 800 555 35 35')\n// parse('+7 800 555 35 35', metadata)\n// ```\n//\n\nexport default function parse(text, options, metadata) {\n // If assigning the `{}` default value is moved to the arguments above,\n // code coverage would decrease for some weird reason.\n options = options || {};\n metadata = new Metadata(metadata); // Validate `defaultCountry`.\n\n if (options.defaultCountry && !metadata.hasCountry(options.defaultCountry)) {\n if (options.v2) {\n throw new ParseError('INVALID_COUNTRY');\n }\n\n throw new Error(\"Unknown country: \".concat(options.defaultCountry));\n } // Parse the phone number.\n\n\n var _parseInput = parseInput(text, options.v2),\n formattedPhoneNumber = _parseInput.number,\n ext = _parseInput.ext; // If the phone number is not viable then return nothing.\n\n\n if (!formattedPhoneNumber) {\n if (options.v2) {\n throw new ParseError('NOT_A_NUMBER');\n }\n\n return {};\n }\n\n var _parsePhoneNumber = parsePhoneNumber(formattedPhoneNumber, options.defaultCountry, options.defaultCallingCode, metadata),\n country = _parsePhoneNumber.country,\n nationalNumber = _parsePhoneNumber.nationalNumber,\n countryCallingCode = _parsePhoneNumber.countryCallingCode,\n carrierCode = _parsePhoneNumber.carrierCode;\n\n if (!metadata.hasSelectedNumberingPlan()) {\n if (options.v2) {\n throw new ParseError('INVALID_COUNTRY');\n }\n\n return {};\n } // Validate national (significant) number length.\n\n\n if (!nationalNumber || nationalNumber.length < MIN_LENGTH_FOR_NSN) {\n // Won't throw here because the regexp already demands length > 1.\n\n /* istanbul ignore if */\n if (options.v2) {\n throw new ParseError('TOO_SHORT');\n } // Google's demo just throws an error in this case.\n\n\n return {};\n } // Validate national (significant) number length.\n //\n // A sidenote:\n //\n // They say that sometimes national (significant) numbers\n // can be longer than `MAX_LENGTH_FOR_NSN` (e.g. in Germany).\n // https://github.com/googlei18n/libphonenumber/blob/7e1748645552da39c4e1ba731e47969d97bdb539/resources/phonenumber.proto#L36\n // Such numbers will just be discarded.\n //\n\n\n if (nationalNumber.length > MAX_LENGTH_FOR_NSN) {\n if (options.v2) {\n throw new ParseError('TOO_LONG');\n } // Google's demo just throws an error in this case.\n\n\n return {};\n }\n\n if (options.v2) {\n var phoneNumber = new PhoneNumber(countryCallingCode, nationalNumber, metadata.metadata);\n\n if (country) {\n phoneNumber.country = country;\n }\n\n if (carrierCode) {\n phoneNumber.carrierCode = carrierCode;\n }\n\n if (ext) {\n phoneNumber.ext = ext;\n }\n\n return phoneNumber;\n } // Check if national phone number pattern matches the number.\n // National number pattern is different for each country,\n // even for those ones which are part of the \"NANPA\" group.\n\n\n var valid = (options.extended ? metadata.hasSelectedNumberingPlan() : country) ? matchesEntirely(nationalNumber, metadata.nationalNumberPattern()) : false;\n\n if (!options.extended) {\n return valid ? result(country, nationalNumber, ext) : {};\n }\n\n return {\n country: country,\n countryCallingCode: countryCallingCode,\n carrierCode: carrierCode,\n valid: valid,\n possible: valid ? true : options.extended === true && metadata.possibleLengths() && isPossibleNumber(nationalNumber, countryCallingCode !== undefined, metadata) ? true : false,\n phone: nationalNumber,\n ext: ext\n };\n}\n/**\r\n * Extracts a formatted phone number from text.\r\n * Doesn't guarantee that the extracted phone number\r\n * is a valid phone number (for example, doesn't validate its length).\r\n * @param {string} text\r\n * @param {boolean} throwOnError — By default, it won't throw if the text is too long.\r\n * @return {string}\r\n * @example\r\n * // Returns \"(213) 373-4253\".\r\n * extractFormattedPhoneNumber(\"Call (213) 373-4253 for assistance.\")\r\n */\n\nexport function extractFormattedPhoneNumber(text, throwOnError) {\n if (!text) {\n return;\n }\n\n if (text.length > MAX_INPUT_STRING_LENGTH) {\n if (throwOnError) {\n throw new ParseError('TOO_LONG');\n }\n\n return;\n } // Attempt to extract a possible number from the string passed in\n\n\n var startsAt = text.search(PHONE_NUMBER_START_PATTERN);\n\n if (startsAt < 0) {\n return;\n }\n\n return text // Trim everything to the left of the phone number\n .slice(startsAt) // Remove trailing non-numerical characters\n .replace(AFTER_PHONE_NUMBER_END_PATTERN, '');\n}\n/**\r\n * Strips any national prefix (such as 0, 1) present in a\r\n * (possibly incomplete) number provided.\r\n * \"Carrier codes\" are only used in Colombia and Brazil,\r\n * and only when dialing within those countries from a mobile phone to a fixed line number.\r\n * Sometimes it won't actually strip national prefix\r\n * and will instead prepend some digits to the `number`:\r\n * for example, when number `2345678` is passed with `VI` country selected,\r\n * it will return `{ number: \"3402345678\" }`, because `340` area code is prepended.\r\n * @param {string} number — National number digits.\r\n * @param {object} metadata — Metadata with country selected.\r\n * @return {object} `{ nationalNumber: string, carrierCode: string? }`.\r\n */\n\nexport function stripNationalPrefixAndCarrierCode(number, metadata) {\n if (number && metadata.nationalPrefixForParsing()) {\n // See METADATA.md for the description of\n // `national_prefix_for_parsing` and `national_prefix_transform_rule`.\n // Attempt to parse the first digits as a national prefix.\n var prefixPattern = new RegExp('^(?:' + metadata.nationalPrefixForParsing() + ')');\n var prefixMatch = prefixPattern.exec(number);\n\n if (prefixMatch) {\n var nationalNumber;\n var carrierCode; // If a \"capturing group\" didn't match\n // then its element in `prefixMatch[]` array will be `undefined`.\n\n var capturedGroupsCount = prefixMatch.length - 1;\n\n if (metadata.nationalPrefixTransformRule() && capturedGroupsCount > 0 && prefixMatch[capturedGroupsCount]) {\n nationalNumber = number.replace(prefixPattern, metadata.nationalPrefixTransformRule()); // Carrier code is the last captured group,\n // but only when there's more than one captured group.\n\n if (capturedGroupsCount > 1 && prefixMatch[capturedGroupsCount]) {\n carrierCode = prefixMatch[1];\n }\n } // If it's a simple-enough case then just\n // strip the national prefix from the number.\n else {\n // National prefix is the whole substring matched by\n // the `national_prefix_for_parsing` regexp.\n var nationalPrefix = prefixMatch[0];\n nationalNumber = number.slice(nationalPrefix.length); // Carrier code is the last captured group.\n\n if (capturedGroupsCount > 0) {\n carrierCode = prefixMatch[1];\n }\n } // We require that the national (significant) number remaining after\n // stripping the national prefix and carrier code be long enough\n // to be a possible length for the region. Otherwise, we don't do\n // the stripping, since the original number could be a valid number.\n // For example, in some countries (Russia, Belarus) the same digit\n // could be both a national prefix and a leading digit of a valid\n // national phone number, like `8` is the national prefix for Russia\n // and `800 555 35 35` is a valid national (significant) number.\n\n\n if (matchesEntirely(number, metadata.nationalNumberPattern()) && !matchesEntirely(nationalNumber, metadata.nationalNumberPattern())) {// Don't strip national prefix or carrier code.\n } else {\n return {\n nationalNumber: nationalNumber,\n carrierCode: carrierCode\n };\n }\n }\n }\n\n return {\n nationalNumber: number\n };\n}\nexport function findCountryCode(callingCode, nationalPhoneNumber, metadata) {\n /* istanbul ignore if */\n if (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {\n if (metadata.isNonGeographicCallingCode(callingCode)) {\n return '001';\n }\n } // Is always non-empty, because `callingCode` is always valid\n\n\n var possibleCountries = metadata.getCountryCodesForCallingCode(callingCode);\n\n if (!possibleCountries) {\n return;\n } // If there's just one country corresponding to the country code,\n // then just return it, without further phone number digits validation.\n\n\n if (possibleCountries.length === 1) {\n return possibleCountries[0];\n }\n\n return _findCountryCode(possibleCountries, nationalPhoneNumber, metadata.metadata);\n} // Changes `metadata` `country`.\n\nfunction _findCountryCode(possibleCountries, nationalPhoneNumber, metadata) {\n metadata = new Metadata(metadata);\n\n for (var _iterator = possibleCountries, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var country = _ref;\n metadata.country(country); // Leading digits check would be the simplest one\n\n if (metadata.leadingDigits()) {\n if (nationalPhoneNumber && nationalPhoneNumber.search(metadata.leadingDigits()) === 0) {\n return country;\n }\n } // Else perform full validation with all of those\n // fixed-line/mobile/etc regular expressions.\n else if (getNumberType({\n phone: nationalPhoneNumber,\n country: country\n }, undefined, metadata.metadata)) {\n return country;\n }\n }\n}\n/**\r\n * @param {string} text - Input.\r\n * @return {object} `{ ?number, ?ext }`.\r\n */\n\n\nfunction parseInput(text, v2) {\n // Parse RFC 3966 phone number URI.\n if (text && text.indexOf('tel:') === 0) {\n return parseRFC3966(text);\n }\n\n var number = extractFormattedPhoneNumber(text, v2); // If the phone number is not viable, then abort.\n\n if (!number || !isViablePhoneNumber(number)) {\n return {};\n } // Attempt to parse extension first, since it doesn't require region-specific\n // data and we want to have the non-normalised number here.\n\n\n var withExtensionStripped = extractExtension(number);\n\n if (withExtensionStripped.ext) {\n return withExtensionStripped;\n }\n\n return {\n number: number\n };\n}\n/**\r\n * Creates `parse()` result object.\r\n */\n\n\nfunction result(country, nationalNumber, ext) {\n var result = {\n country: country,\n phone: nationalNumber\n };\n\n if (ext) {\n result.ext = ext;\n }\n\n return result;\n}\n/**\r\n * Parses a viable phone number.\r\n * @param {string} formattedPhoneNumber — Example: \"(213) 373-4253\".\r\n * @param {string} [defaultCountry]\r\n * @param {string} [defaultCallingCode]\r\n * @param {Metadata} metadata\r\n * @return {object} Returns `{ country: string?, countryCallingCode: string?, nationalNumber: string? }`.\r\n */\n\n\nfunction parsePhoneNumber(formattedPhoneNumber, defaultCountry, defaultCallingCode, metadata) {\n // Extract calling code from phone number.\n var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber), defaultCountry, defaultCallingCode, metadata.metadata),\n countryCallingCode = _extractCountryCallin.countryCallingCode,\n number = _extractCountryCallin.number; // Choose a country by `countryCallingCode`.\n\n\n var country;\n\n if (countryCallingCode) {\n metadata.chooseCountryByCountryCallingCode(countryCallingCode);\n } // If `formattedPhoneNumber` is in \"national\" format\n // then `number` is defined and `countryCallingCode` isn't.\n else if (number && (defaultCountry || defaultCallingCode)) {\n metadata.selectNumberingPlan(defaultCountry, defaultCallingCode);\n\n if (defaultCountry) {\n country = defaultCountry;\n } else {\n /* istanbul ignore if */\n if (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {\n if (metadata.isNonGeographicCallingCode(defaultCallingCode)) {\n country = '001';\n }\n }\n }\n\n countryCallingCode = defaultCallingCode || getCountryCallingCode(defaultCountry, metadata.metadata);\n } else return {};\n\n if (!number) {\n return {\n countryCallingCode: countryCallingCode\n };\n }\n\n var _stripNationalPrefixA = stripNationalPrefixAndCarrierCodeFromCompleteNumber(parseIncompletePhoneNumber(number), metadata),\n nationalNumber = _stripNationalPrefixA.nationalNumber,\n carrierCode = _stripNationalPrefixA.carrierCode; // Sometimes there are several countries\n // corresponding to the same country phone code\n // (e.g. NANPA countries all having `1` country phone code).\n // Therefore, to reliably determine the exact country,\n // national (significant) number should have been parsed first.\n //\n // When `metadata.json` is generated, all \"ambiguous\" country phone codes\n // get their countries populated with the full set of\n // \"phone number type\" regular expressions.\n //\n\n\n var exactCountry = findCountryCode(countryCallingCode, nationalNumber, metadata);\n\n if (exactCountry) {\n country = exactCountry;\n /* istanbul ignore if */\n\n if (exactCountry === '001') {// Can't happen with `USE_NON_GEOGRAPHIC_COUNTRY_CODE` being `false`.\n // If `USE_NON_GEOGRAPHIC_COUNTRY_CODE` is set to `true` for some reason,\n // then remove the \"istanbul ignore if\".\n } else {\n metadata.country(country);\n }\n }\n\n return {\n country: country,\n countryCallingCode: countryCallingCode,\n nationalNumber: nationalNumber,\n carrierCode: carrierCode\n };\n}\n/**\r\n * Strips national prefix and carrier code from a complete phone number.\r\n * The difference from the non-\"FromCompleteNumber\" function is that\r\n * it won't extract national prefix if the resultant number is too short\r\n * to be a complete number for the selected phone numbering plan.\r\n * @param {string} number — Complete phone number digits.\r\n * @param {Metadata} metadata — Metadata with a phone numbering plan selected.\r\n * @return {object} `{ nationalNumber: string, carrierCode: string? }`.\r\n */\n\n\nexport function stripNationalPrefixAndCarrierCodeFromCompleteNumber(number, metadata) {\n // Parsing national prefixes and carrier codes\n // is only required for local phone numbers\n // but some people don't understand that\n // and sometimes write international phone numbers\n // with national prefixes (or maybe even carrier codes).\n // http://ucken.blogspot.ru/2016/03/trunk-prefixes-in-skype4b.html\n // Google's original library forgives such mistakes\n // and so does this library, because it has been requested:\n // https://github.com/catamphetamine/libphonenumber-js/issues/127\n var _stripNationalPrefixA2 = stripNationalPrefixAndCarrierCode(parseIncompletePhoneNumber(number), metadata),\n nationalNumber = _stripNationalPrefixA2.nationalNumber,\n carrierCode = _stripNationalPrefixA2.carrierCode; // If a national prefix has been extracted, check to see\n // if the resultant number isn't too short.\n\n\n if (nationalNumber.length !== number.length + (carrierCode ? carrierCode.length : 0)) {\n // If not using legacy generated metadata (before version `1.0.18`)\n // then it has \"possible lengths\", so use those to validate the number length.\n if (metadata.possibleLengths()) {\n // \"We require that the NSN remaining after stripping the national prefix and\n // carrier code be long enough to be a possible length for the region.\n // Otherwise, we don't do the stripping, since the original number could be\n // a valid short number.\"\n // https://github.com/google/libphonenumber/blob/876268eb1ad6cdc1b7b5bef17fc5e43052702d57/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L3236-L3250\n switch (checkNumberLengthForType(nationalNumber, undefined, metadata)) {\n case 'TOO_SHORT':\n case 'INVALID_LENGTH':\n // case 'IS_POSSIBLE_LOCAL_ONLY':\n // Don't strip the national prefix.\n return {\n nationalNumber: number\n };\n }\n }\n }\n\n return {\n nationalNumber: nationalNumber,\n carrierCode: carrierCode\n };\n}\n/**\r\n * Converts a phone number digits (possibly with a `+`)\r\n * into a calling code and the rest phone number digits.\r\n * The \"rest phone number digits\" could include\r\n * a national prefix, carrier code, and national\r\n * (significant) number.\r\n * @param {string} number — Phone number digits (possibly with a `+`).\r\n * @param {string} [country] — Default country.\r\n * @param {string} [callingCode] — Default calling code (some phone numbering plans are non-geographic).\r\n * @param {object} metadata\r\n * @return {object} `{ countryCallingCode: string?, number: string }`\r\n * @example\r\n * // Returns `{ countryCallingCode: \"1\", number: \"2133734253\" }`.\r\n * extractCountryCallingCode('2133734253', 'US', null, metadata)\r\n * extractCountryCallingCode('2133734253', null, '1', metadata)\r\n * extractCountryCallingCode('+12133734253', null, null, metadata)\r\n * extractCountryCallingCode('+12133734253', 'RU', null, metadata)\r\n */\n\nexport function extractCountryCallingCode(number, country, callingCode, metadata) {\n if (!number) {\n return {};\n } // If this is not an international phone number,\n // then either extract an \"IDD\" prefix, or extract a\n // country calling code from a number by autocorrecting it\n // by prepending a leading `+` in cases when it starts\n // with the country calling code.\n // https://wikitravel.org/en/International_dialling_prefix\n // https://github.com/catamphetamine/libphonenumber-js/issues/376\n\n\n if (number[0] !== '+') {\n // Convert an \"out-of-country\" dialing phone number\n // to a proper international phone number.\n var numberWithoutIDD = stripIDDPrefix(number, country, callingCode, metadata); // If an IDD prefix was stripped then\n // convert the number to international one\n // for subsequent parsing.\n\n if (numberWithoutIDD && numberWithoutIDD !== number) {\n number = '+' + numberWithoutIDD;\n } else {\n // Check to see if the number starts with the country calling code\n // for the default country. If so, we remove the country calling code,\n // and do some checks on the validity of the number before and after.\n // https://github.com/catamphetamine/libphonenumber-js/issues/376\n if (country || callingCode) {\n var _extractCountryCallin2 = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number, country, callingCode, metadata),\n countryCallingCode = _extractCountryCallin2.countryCallingCode,\n shorterNumber = _extractCountryCallin2.number;\n\n if (countryCallingCode) {\n return {\n countryCallingCode: countryCallingCode,\n number: shorterNumber\n };\n }\n }\n\n return {\n number: number\n };\n }\n } // Fast abortion: country codes do not begin with a '0'\n\n\n if (number[1] === '0') {\n return {};\n }\n\n metadata = new Metadata(metadata); // The thing with country phone codes\n // is that they are orthogonal to each other\n // i.e. there's no such country phone code A\n // for which country phone code B exists\n // where B starts with A.\n // Therefore, while scanning digits,\n // if a valid country code is found,\n // that means that it is the country code.\n //\n\n var i = 2;\n\n while (i - 1 <= MAX_LENGTH_COUNTRY_CODE && i <= number.length) {\n var _countryCallingCode = number.slice(1, i);\n\n if (metadata.hasCallingCode(_countryCallingCode)) {\n metadata.selectNumberingPlan(undefined, _countryCallingCode);\n return {\n countryCallingCode: _countryCallingCode,\n number: number.slice(i)\n };\n }\n\n i++;\n }\n\n return {};\n}\n/**\r\n * Sometimes some people incorrectly input international phone numbers\r\n * without the leading `+`. This function corrects such input.\r\n * @param {string} number — Phone number digits.\r\n * @param {string?} country\r\n * @param {string?} callingCode\r\n * @param {object} metadata\r\n * @return {object} `{ countryCallingCode: string?, number: string }`.\r\n */\n\nexport function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number, country, callingCode, metadata) {\n var countryCallingCode = country ? getCountryCallingCode(country, metadata) : callingCode;\n\n if (number.indexOf(countryCallingCode) === 0) {\n metadata = new Metadata(metadata);\n metadata.selectNumberingPlan(country, callingCode);\n var possibleShorterNumber = number.slice(countryCallingCode.length);\n\n var _stripNationalPrefixA3 = stripNationalPrefixAndCarrierCode(possibleShorterNumber, metadata),\n possibleShorterNationalNumber = _stripNationalPrefixA3.nationalNumber;\n\n var _stripNationalPrefixA4 = stripNationalPrefixAndCarrierCode(number, metadata),\n nationalNumber = _stripNationalPrefixA4.nationalNumber; // If the number was not valid before but is valid now,\n // or if it was too long before, we consider the number\n // with the country calling code stripped to be a better result\n // and keep that instead.\n // For example, in Germany (+49), `49` is a valid area code,\n // so if a number starts with `49`, it could be both a valid\n // national German number or an international number without\n // a leading `+`.\n\n\n if (!matchesEntirely(nationalNumber, metadata.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata.nationalNumberPattern()) || checkNumberLengthForType(nationalNumber, undefined, metadata) === 'TOO_LONG') {\n return {\n countryCallingCode: countryCallingCode,\n number: possibleShorterNumber\n };\n }\n }\n\n return {\n number: number\n };\n}","function _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n }\n\n return target;\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\nimport parseNumber from './parse_';\nexport default function parsePhoneNumber(text, options, metadata) {\n return parseNumber(text, _objectSpread({}, options, {\n v2: true\n }), metadata);\n}","function _typeof2(obj) { \"@babel/helpers - typeof\"; return _typeof2 = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof2(obj); }\n\nfunction _typeof(obj) {\n if (typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\") {\n _typeof = function _typeof(obj) {\n return _typeof2(obj);\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n }\n\n return target;\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 _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nimport parsePhoneNumber_ from './parsePhoneNumber_';\nexport default function parsePhoneNumber() {\n var _normalizeArguments = normalizeArguments(arguments),\n text = _normalizeArguments.text,\n options = _normalizeArguments.options,\n metadata = _normalizeArguments.metadata;\n\n return parsePhoneNumber_(text, options, metadata);\n}\nexport function normalizeArguments(args) {\n var _Array$prototype$slic = Array.prototype.slice.call(args),\n _Array$prototype$slic2 = _slicedToArray(_Array$prototype$slic, 4),\n arg_1 = _Array$prototype$slic2[0],\n arg_2 = _Array$prototype$slic2[1],\n arg_3 = _Array$prototype$slic2[2],\n arg_4 = _Array$prototype$slic2[3];\n\n var text;\n var options;\n var metadata; // If the phone number is passed as a string.\n // `parsePhoneNumber('88005553535', ...)`.\n\n if (typeof arg_1 === 'string') {\n text = arg_1;\n } else throw new TypeError('A text for parsing must be a string.'); // If \"default country\" argument is being passed then move it to `options`.\n // `parsePhoneNumber('88005553535', 'RU', [options], metadata)`.\n\n\n if (!arg_2 || typeof arg_2 === 'string') {\n if (arg_4) {\n options = arg_3;\n metadata = arg_4;\n } else {\n options = undefined;\n metadata = arg_3;\n }\n\n if (arg_2) {\n options = _objectSpread({\n defaultCountry: arg_2\n }, options);\n }\n } // `defaultCountry` is not passed.\n // Example: `parsePhoneNumber('+78005553535', [options], metadata)`.\n else if (isObject(arg_2)) {\n if (arg_3) {\n options = arg_2;\n metadata = arg_3;\n } else {\n metadata = arg_2;\n }\n } else throw new Error(\"Invalid second argument: \".concat(arg_2));\n\n return {\n text: text,\n options: options,\n metadata: metadata\n };\n} // Otherwise istanbul would show this as \"branch not covered\".\n\n/* istanbul ignore next */\n\nvar isObject = function isObject(_) {\n return _typeof(_) === 'object';\n};","function _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n }\n\n return target;\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\nimport parsePhoneNumber from './parsePhoneNumber_';\nimport ParseError from './ParseError';\nimport { isSupportedCountry } from './metadata';\nexport default function parsePhoneNumberFromString(text, options, metadata) {\n // Validate `defaultCountry`.\n if (options && options.defaultCountry && !isSupportedCountry(options.defaultCountry, metadata)) {\n options = _objectSpread({}, options, {\n defaultCountry: undefined\n });\n } // Parse phone number.\n\n\n try {\n return parsePhoneNumber(text, options, metadata);\n } catch (error) {\n /* istanbul ignore else */\n if (error instanceof ParseError) {//\n } else {\n throw error;\n }\n }\n}","import { normalizeArguments } from './parsePhoneNumber';\nimport parsePhoneNumberFromString_ from './parsePhoneNumberFromString_';\nexport default function parsePhoneNumberFromString() {\n var _normalizeArguments = normalizeArguments(arguments),\n text = _normalizeArguments.text,\n options = _normalizeArguments.options,\n metadata = _normalizeArguments.metadata;\n\n return parsePhoneNumberFromString_(text, options, metadata);\n}","import Metadata from './metadata';\nexport default function getCountries(metadata) {\n return new Metadata(metadata).getCountries();\n}","// Counts all occurences of a symbol in a string\nexport function count_occurences(symbol, string) {\n var count = 0; // Using `.split('')` here instead of normal `for ... of`\n // because the importing application doesn't neccessarily include an ES6 polyfill.\n // The `.split('')` approach discards \"exotic\" UTF-8 characters\n // (the ones consisting of four bytes)\n // but template placeholder characters don't fall into that range\n // so skipping such miscellaneous \"exotic\" characters\n // won't matter here for just counting placeholder character occurrences.\n\n for (var _iterator = string.split(''), _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var character = _ref;\n\n if (character === symbol) {\n count++;\n }\n }\n\n return count;\n}","import { count_occurences } from './helpers';\nexport default function close_braces(retained_template, template) {\n var placeholder = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'x';\n var empty_placeholder = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : ' ';\n var cut_before = retained_template.length;\n var opening_braces = count_occurences('(', retained_template);\n var closing_braces = count_occurences(')', retained_template);\n var dangling_braces = opening_braces - closing_braces;\n\n while (dangling_braces > 0 && cut_before < template.length) {\n retained_template += template[cut_before].replace(placeholder, empty_placeholder);\n\n if (template[cut_before] === ')') {\n dangling_braces--;\n }\n\n cut_before++;\n }\n\n return retained_template;\n} //# sourceMappingURL=close braces.js.map","import template_formatter from './template formatter'; // Formats `value` value preserving `caret` at the same character.\n//\n// `{ value, caret }` attribute is the result of `parse()` function call.\n//\n// Returns `{ text, caret }` where the new `caret` is the caret position\n// inside `text` text corresponding to the original `caret` position inside `value`.\n//\n// `formatter(value)` is a function returning `{ text, template }`.\n//\n// `text` is the `value` value formatted using `template`.\n// It may either cut off the non-filled right part of the `template`\n// or it may fill the non-filled character placeholders\n// in the right part of the `template` with `spacer`\n// which is a space (' ') character by default.\n//\n// `template` is the template used to format the `value`.\n// It can be either a full-length template or a partial template.\n//\n// `formatter` can also be a string — a `template`\n// where character placeholders are denoted by 'x'es.\n// In this case `formatter` function is automatically created.\n//\n// Example:\n//\n// `value` is '880',\n// `caret` is `2` (before the first `0`)\n//\n// `formatter` is `'880' =>\n// { text: '8 (80 )', template: 'x (xxx) xxx-xx-xx' }`\n//\n// The result is `{ text: '8 (80 )', caret: 4 }`.\n//\n\nexport default function format(value, caret, formatter) {\n if (typeof formatter === 'string') {\n formatter = template_formatter(formatter);\n }\n\n var _ref = formatter(value) || {},\n text = _ref.text,\n template = _ref.template;\n\n if (text === undefined) {\n text = value;\n }\n\n if (template) {\n if (caret === undefined) {\n caret = text.length;\n } else {\n var index = 0;\n var found = false;\n var possibly_last_input_character_index = -1;\n\n while (index < text.length && index < template.length) {\n // Character placeholder found\n if (text[index] !== template[index]) {\n if (caret === 0) {\n found = true;\n caret = index;\n break;\n }\n\n possibly_last_input_character_index = index;\n caret--;\n }\n\n index++;\n } // If the caret was positioned after last input character,\n // then the text caret index is just after the last input character.\n\n\n if (!found) {\n caret = possibly_last_input_character_index + 1;\n }\n }\n }\n\n return {\n text: text,\n caret: caret\n };\n}","import { count_occurences } from './helpers';\nimport close_braces from './close braces'; // Takes a `template` where character placeholders\n// are denoted by 'x'es (e.g. 'x (xxx) xxx-xx-xx').\n//\n// Returns a function which takes `value` characters\n// and returns the `template` filled with those characters.\n// If the `template` can only be partially filled\n// then it is cut off.\n//\n// If `should_close_braces` is `true`,\n// then it will also make sure all dangling braces are closed,\n// e.g. \"8 (8\" -> \"8 (8 )\" (iPhone style phone number input).\n//\n\nexport default function (template) {\n var placeholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'x';\n var should_close_braces = arguments.length > 2 ? arguments[2] : undefined;\n\n if (!template) {\n return function (value) {\n return {\n text: value\n };\n };\n }\n\n var characters_in_template = count_occurences(placeholder, template);\n return function (value) {\n if (!value) {\n return {\n text: '',\n template: template\n };\n }\n\n var value_character_index = 0;\n var filled_in_template = ''; // Using `.split('')` here instead of normal `for ... of`\n // because the importing application doesn't neccessarily include an ES6 polyfill.\n // The `.split('')` approach discards \"exotic\" UTF-8 characters\n // (the ones consisting of four bytes)\n // but template placeholder characters don't fall into that range\n // and appending UTF-8 characters to a string in parts still works.\n\n for (var _iterator = template.split(''), _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var character = _ref;\n\n if (character !== placeholder) {\n filled_in_template += character;\n continue;\n }\n\n filled_in_template += value[value_character_index];\n value_character_index++; // If the last available value character has been filled in,\n // then return the filled in template\n // (either trim the right part or retain it,\n // if no more character placeholders in there)\n\n if (value_character_index === value.length) {\n // If there are more character placeholders\n // in the right part of the template\n // then simply trim it.\n if (value.length < characters_in_template) {\n break;\n }\n }\n }\n\n if (should_close_braces) {\n filled_in_template = close_braces(filled_in_template, template);\n }\n\n return {\n text: filled_in_template,\n template: template\n };\n };\n} //# sourceMappingURL=template formatter.js.map","// Gets <input/> selection bounds\nexport function getSelection(element) {\n // If no selection, return nothing\n if (element.selectionStart === element.selectionEnd) {\n return;\n }\n\n return {\n start: element.selectionStart,\n end: element.selectionEnd\n };\n} // Key codes\n\nexport var Keys = {\n Backspace: 8,\n Delete: 46\n}; // Finds out the operation to be intercepted and performed\n// based on the key down event `keyCode`.\n\nexport function getOperation(event) {\n switch (event.keyCode) {\n case Keys.Backspace:\n return 'Backspace';\n\n case Keys.Delete:\n return 'Delete';\n }\n} // Gets <input/> caret position\n\nexport function getCaretPosition(element) {\n return element.selectionStart;\n} // Sets <input/> caret position\n\nexport function setCaretPosition(element, caret_position) {\n // Sanity check\n if (caret_position === undefined) {\n return;\n } // Set caret position.\n // There has been an issue with caret positioning on Android devices.\n // https://github.com/catamphetamine/input-format/issues/2\n // I was revisiting this issue and looked for similar issues in other libraries.\n // For example, there's [`text-mask`](https://github.com/text-mask/text-mask) library.\n // They've had exactly the same issue when the caret seemingly refused to be repositioned programmatically.\n // The symptoms were the same: whenever the caret passed through a non-digit character of a mask (a whitespace, a bracket, a dash, etc), it looked as if it placed itself one character before its correct position.\n // https://github.com/text-mask/text-mask/issues/300\n // They seem to have found a basic fix for it: calling `input.setSelectionRange()` in a timeout rather than instantly for Android devices.\n // https://github.com/text-mask/text-mask/pull/400/files\n // I've implemented the same workaround here.\n\n\n if (isAndroid()) {\n setTimeout(function () {\n return element.setSelectionRange(caret_position, caret_position);\n }, 0);\n } else {\n element.setSelectionRange(caret_position, caret_position);\n }\n}\n\nfunction isAndroid() {\n // `navigator` is not defined when running mocha tests.\n if (typeof navigator !== 'undefined') {\n return ANDROID_USER_AGENT_REG_EXP.test(navigator.userAgent);\n }\n}\n\nvar ANDROID_USER_AGENT_REG_EXP = /Android/i;","import edit from './edit';\nimport parse from './parse';\nimport format from './format';\nimport { getOperation, getSelection, getCaretPosition, setCaretPosition } from './dom';\nexport function onCut(event, input, _parse, _format, on_change) {\n // The actual cut hasn't happened just yet hence the timeout.\n setTimeout(function () {\n return format_input_text(input, _parse, _format, undefined, on_change);\n }, 0);\n}\nexport function onPaste(event, input, _parse, _format, on_change) {\n var selection = getSelection(input); // If selection is made,\n // just erase the selected text\n // prior to pasting\n\n if (selection) {\n erase_selection(input, selection);\n }\n\n format_input_text(input, _parse, _format, undefined, on_change);\n}\nexport function onChange(event, input, _parse, _format, on_change) {\n format_input_text(input, _parse, _format, undefined, on_change);\n} // Intercepts \"Delete\" and \"Backspace\" keys.\n// (hitting \"Delete\" or \"Backspace\" at any caret\n// position should always result in rasing a digit)\n\nexport function onKeyDown(event, input, _parse, _format, on_change) {\n var operation = getOperation(event);\n\n switch (operation) {\n case 'Delete':\n case 'Backspace':\n // Intercept this operation and perform it manually.\n event.preventDefault();\n var selection = getSelection(input); // If selection is made,\n // just erase the selected text,\n // and don't apply any more operations to it.\n\n if (selection) {\n erase_selection(input, selection);\n return format_input_text(input, _parse, _format, undefined, on_change);\n } // Else, perform the (character erasing) operation manually\n\n\n return format_input_text(input, _parse, _format, operation, on_change);\n\n default: // Will be handled when `onChange` fires.\n\n }\n}\n/**\r\n * Erases the selected text inside an `<input/>`.\r\n * @param {DOMElement} input\r\n * @param {Selection} selection\r\n */\n\nfunction erase_selection(input, selection) {\n var text = input.value;\n text = text.slice(0, selection.start) + text.slice(selection.end);\n input.value = text;\n setCaretPosition(input, selection.start);\n}\n/**\r\n * Parses and re-formats `<input/>` textual value.\r\n * E.g. when a user enters something into the `<input/>`\r\n * that raw input must first be parsed and the re-formatted properly.\r\n * Is called either after some user input (e.g. entered a character, pasted something)\r\n * or after the user performed an `operation` (e.g. \"Backspace\", \"Delete\").\r\n * @param {DOMElement} input\r\n * @param {Function} parse\r\n * @param {Function} format\r\n * @param {string} [operation] - The operation that triggered `<input/>` textual value change. E.g. \"Backspace\", \"Delete\".\r\n * @param {Function} onChange\r\n */\n\n\nfunction format_input_text(input, _parse, _format, operation, on_change) {\n // Parse `<input/>` textual value.\n // Get `value` and `caret` position.\n var _parse2 = parse(input.value, getCaretPosition(input), _parse),\n value = _parse2.value,\n caret = _parse2.caret; // If a user performed an operation (e.g. \"Backspace\", \"Delete\")\n // then apply that operation and get new `value` and `caret` position.\n\n\n if (operation) {\n var operation_applied = edit(value, caret, operation);\n value = operation_applied.value;\n caret = operation_applied.caret;\n } // Format the `value`.\n // (and reposition the caret accordingly)\n\n\n var formatted = format(value, caret, _format);\n var text = formatted.text;\n caret = formatted.caret; // Set `<input/>` textual value manually\n // to prevent React from resetting the caret position\n // later inside subsequent `render()`.\n // Doesn't work for custom `inputComponent`s for some reason.\n\n input.value = text; // Position the caret properly.\n\n setCaretPosition(input, caret); // `<input/>` textual value may have changed,\n // so the parsed `value` may have changed too.\n // The `value` didn't neccessarily change\n // but it might have.\n\n on_change(value);\n} //# sourceMappingURL=input control.js.map","// Parses the `text`.\n//\n// Returns `{ value, caret }` where `caret` is\n// the caret position inside `value`\n// corresponding to the `caret_position` inside `text`.\n//\n// The `text` is parsed by feeding each character sequentially to\n// `parse_character(character, value)` function\n// and appending the result (if it's not `undefined`) to `value`.\n//\n// Example:\n//\n// `text` is `8 (800) 555-35-35`,\n// `caret_position` is `4` (before the first `0`).\n// `parse_character` is `(character, value) =>\n// if (character >= '0' && character <= '9') { return character }`.\n//\n// then `parse()` outputs `{ value: '88005553535', caret: 2 }`.\n//\nexport default function parse(text, caret_position, parse_character) {\n var value = '';\n var focused_input_character_index = 0;\n var index = 0;\n\n while (index < text.length) {\n var character = parse_character(text[index], value);\n\n if (character !== undefined) {\n value += character;\n\n if (caret_position !== undefined) {\n if (caret_position === index) {\n focused_input_character_index = value.length - 1;\n } else if (caret_position > index) {\n focused_input_character_index = value.length;\n }\n }\n }\n\n index++;\n } // If caret position wasn't specified\n\n\n if (caret_position === undefined) {\n // Then set caret position to \"after the last input character\"\n focused_input_character_index = value.length;\n }\n\n var result = {\n value: value,\n caret: focused_input_character_index\n };\n return result;\n}","// Edits text `value` (if `operation` is passed) and repositions the `caret` if needed.\n//\n// Example:\n//\n// value - '88005553535'\n// caret - 2 // starting from 0; is positioned before the first zero\n// operation - 'Backspace'\n//\n// Returns\n// {\n// \tvalue: '8005553535'\n// \tcaret: 1\n// }\n//\n// Currently supports just 'Delete' and 'Backspace' operations\n//\nexport default function edit(value, caret, operation) {\n switch (operation) {\n case 'Backspace':\n // If there exists the previous character,\n // then erase it and reposition the caret.\n if (caret > 0) {\n // Remove the previous character\n value = value.slice(0, caret - 1) + value.slice(caret); // Position the caret where the previous (erased) character was\n\n caret--;\n }\n\n break;\n\n case 'Delete':\n // Remove current digit (if any)\n value = value.slice(0, caret) + value.slice(caret + 1);\n break;\n }\n\n return {\n value: value,\n caret: caret\n };\n}","function _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 _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 _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} // This is just `./ReactInput.js` rewritten in Hooks.\n\n\nimport React, { useCallback, useRef } from 'react';\nimport { onChange as onInputChange, onCut as onInputCut, onPaste as onInputPaste, onKeyDown as onInputKeyDown } from '../input control'; // Usage:\n//\n// <ReactInput\n// \tvalue={this.state.phone}\n// \tonChange={phone => this.setState({ phone })}\n// \tparse={character => character}\n// \tformat={value => ({ text: value, template: 'xxxxxxxx' })}/>\n//\n\nfunction Input(_ref, ref) {\n var value = _ref.value,\n parse = _ref.parse,\n format = _ref.format,\n InputComponent = _ref.inputComponent,\n onChange = _ref.onChange,\n onCut = _ref.onCut,\n onPaste = _ref.onPaste,\n onKeyDown = _ref.onKeyDown,\n rest = _objectWithoutProperties(_ref, [\"value\", \"parse\", \"format\", \"inputComponent\", \"onChange\", \"onCut\", \"onPaste\", \"onKeyDown\"]);\n\n var ownRef = useRef();\n ref = ref || ownRef;\n\n var _onChange = useCallback(function (event) {\n return onInputChange(event, ref.current, parse, format, onChange);\n }, [ref, parse, format, onChange]);\n\n var _onPaste = useCallback(function (event) {\n if (onPaste) {\n onPaste(event);\n }\n\n return onInputPaste(event, ref.current, parse, format, onChange);\n }, [ref, parse, format, onChange, onPaste]);\n\n var _onCut = useCallback(function (event) {\n if (onCut) {\n onCut(event);\n }\n\n return onInputCut(event, ref.current, parse, format, onChange);\n }, [ref, parse, format, onChange, onCut]);\n\n var _onKeyDown = useCallback(function (event) {\n if (onKeyDown) {\n onKeyDown(event);\n }\n\n return onInputKeyDown(event, ref.current, parse, format, onChange);\n }, [ref, parse, format, onChange, onKeyDown]);\n\n return React.createElement(InputComponent, _extends({}, rest, {\n ref: ref,\n value: format(isEmptyValue(value) ? '' : value).text,\n onKeyDown: _onKeyDown,\n onChange: _onChange,\n onPaste: _onPaste,\n onCut: _onCut\n }));\n}\n\nInput = React.forwardRef(Input);\nInput.defaultProps = {\n // Renders `<input/>` by default.\n inputComponent: 'input',\n // `<input/>` `type` attribute.\n type: 'text'\n};\nexport default Input;\n\nfunction isEmptyValue(value) {\n return value === undefined || value === null;\n}","function _typeof2(obj) { \"@babel/helpers - typeof\"; return _typeof2 = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof2(obj); }\n\nfunction _typeof(obj) {\n if (typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\") {\n _typeof = function _typeof(obj) {\n return _typeof2(obj);\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(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} // This is an enhanced port of Google Android `libphonenumber`'s\n// `asyoutypeformatter.js` of December 31th, 2018.\n//\n// https://github.com/googlei18n/libphonenumber/blob/8d21a365061de2ba0675c878a710a7b24f74d2ae/javascript/i18n/phonenumbers/asyoutypeformatter.js\n//\n// Simplified: does not differentiate between \"local-only\" numbers\n// and \"internationally dialable\" numbers.\n// For example, doesn't include changes like this:\n// https://github.com/googlei18n/libphonenumber/commit/865da605da12b01053c4f053310bac7c5fbb7935\n\n\nimport Metadata from './metadata';\nimport PhoneNumber from './PhoneNumber';\nimport { VALID_DIGITS, VALID_PUNCTUATION, PLUS_CHARS } from './constants';\nimport { matchesEntirely } from './util';\nimport { extractCountryCallingCode as _extractCountryCallingCode, findCountryCode, stripNationalPrefixAndCarrierCode, stripNationalPrefixAndCarrierCodeFromCompleteNumber, extractCountryCallingCodeFromInternationalNumberWithoutPlusSign } from './parse_';\nimport { FIRST_GROUP_PATTERN, formatNationalNumberUsingFormat, applyInternationalSeparatorStyle } from './format_';\nimport { stripIDDPrefix } from './IDD';\nimport { checkNumberLengthForType } from './getNumberType_';\nimport parseDigits from './parseDigits'; // Used in phone number format template creation.\n// Could be any digit, I guess.\n\nvar DUMMY_DIGIT = '9'; // I don't know why is it exactly `15`\n\nvar LONGEST_NATIONAL_PHONE_NUMBER_LENGTH = 15; // Create a phone number consisting only of the digit 9 that matches the\n// `number_pattern` by applying the pattern to the \"longest phone number\" string.\n\nvar LONGEST_DUMMY_PHONE_NUMBER = repeat(DUMMY_DIGIT, LONGEST_NATIONAL_PHONE_NUMBER_LENGTH); // The digits that have not been entered yet will be represented by a \\u2008,\n// the punctuation space.\n\nexport var DIGIT_PLACEHOLDER = 'x'; // '\\u2008' (punctuation space)\n\nvar DIGIT_PLACEHOLDER_MATCHER = new RegExp(DIGIT_PLACEHOLDER); // A set of characters that, if found in a national prefix formatting rules, are an indicator to\n// us that we should separate the national prefix from the number when formatting.\n\nvar NATIONAL_PREFIX_SEPARATORS_PATTERN = /[- ]/; // Deprecated: Google has removed some formatting pattern related code from their repo.\n// https://github.com/googlei18n/libphonenumber/commit/a395b4fef3caf57c4bc5f082e1152a4d2bd0ba4c\n// \"We no longer have numbers in formatting matching patterns, only \\d.\"\n// Because this library supports generating custom metadata\n// some users may still be using old metadata so the relevant\n// code seems to stay until some next major version update.\n\nvar SUPPORT_LEGACY_FORMATTING_PATTERNS = true; // A pattern that is used to match character classes in regular expressions.\n// An example of a character class is \"[1-4]\".\n\nvar CREATE_CHARACTER_CLASS_PATTERN = SUPPORT_LEGACY_FORMATTING_PATTERNS && function () {\n return /\\[([^\\[\\]])*\\]/g;\n}; // Any digit in a regular expression that actually denotes a digit. For\n// example, in the regular expression \"80[0-2]\\d{6,10}\", the first 2 digits\n// (8 and 0) are standalone digits, but the rest are not.\n// Two look-aheads are needed because the number following \\\\d could be a\n// two-digit number, since the phone number can be as long as 15 digits.\n\n\nvar CREATE_STANDALONE_DIGIT_PATTERN = SUPPORT_LEGACY_FORMATTING_PATTERNS && function () {\n return /\\d(?=[^,}][^,}])/g;\n}; // A pattern that is used to determine if a `format` is eligible\n// to be used by the \"as you type formatter\".\n// It is eligible when the `format` contains groups of the dollar sign\n// followed by a single digit, separated by valid phone number punctuation.\n// This prevents invalid punctuation (such as the star sign in Israeli star numbers)\n// getting into the output of the \"as you type formatter\".\n\n\nvar ELIGIBLE_FORMAT_PATTERN = new RegExp('^' + '[' + VALID_PUNCTUATION + ']*' + '(\\\\$\\\\d[' + VALID_PUNCTUATION + ']*)+' + '$'); // This is the minimum length of the leading digits of a phone number\n// to guarantee the first \"leading digits pattern\" for a phone number format\n// to be preemptive.\n\nvar MIN_LEADING_DIGITS_LENGTH = 3;\nvar VALID_FORMATTED_PHONE_NUMBER_PART = '[' + VALID_PUNCTUATION + VALID_DIGITS + ']+';\nvar VALID_FORMATTED_PHONE_NUMBER_PART_PATTERN = new RegExp('^' + VALID_FORMATTED_PHONE_NUMBER_PART + '$', 'i');\nvar VALID_PHONE_NUMBER = '(?:' + '[' + PLUS_CHARS + ']' + '[' + VALID_PUNCTUATION + VALID_DIGITS + ']*' + '|' + '[' + VALID_PUNCTUATION + VALID_DIGITS + ']+' + ')';\nvar AFTER_PHONE_NUMBER_DIGITS_END_PATTERN = new RegExp('[^' + VALID_PUNCTUATION + VALID_DIGITS + ']+' + '.*' + '$');\nvar USE_NON_GEOGRAPHIC_COUNTRY_CODE = false;\n\nvar AsYouType = /*#__PURE__*/function () {\n // Not setting `options` to a constructor argument\n // not to break backwards compatibility\n // for older versions of the library.\n\n /**\r\n * @param {(string|object)?} [optionsOrDefaultCountry] - The default country used for parsing non-international phone numbers. Can also be an `options` object.\r\n * @param {Object} metadata\r\n */\n function AsYouType(optionsOrDefaultCountry, metadata) {\n _classCallCheck(this, AsYouType);\n\n _defineProperty(this, \"options\", {});\n\n this.metadata = new Metadata(metadata); // Set `defaultCountry` and `defaultCallingCode` options.\n\n var defaultCountry;\n var defaultCallingCode; // Turns out `null` also has type \"object\". Weird.\n\n if (optionsOrDefaultCountry) {\n if (_typeof(optionsOrDefaultCountry) === 'object') {\n defaultCountry = optionsOrDefaultCountry.defaultCountry;\n defaultCallingCode = optionsOrDefaultCountry.defaultCallingCode;\n } else {\n defaultCountry = optionsOrDefaultCountry;\n }\n }\n\n if (defaultCountry && this.metadata.hasCountry(defaultCountry)) {\n this.defaultCountry = defaultCountry;\n }\n\n if (defaultCallingCode) {\n /* istanbul ignore if */\n if (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {\n if (this.metadata.isNonGeographicCallingCode(defaultCallingCode)) {\n this.defaultCountry = '001';\n }\n }\n\n this.defaultCallingCode = defaultCallingCode;\n } // Reset.\n\n\n this.reset();\n }\n\n _createClass(AsYouType, [{\n key: \"reset\",\n value: function reset() {\n this.formattedOutput = '';\n this.international = undefined;\n this.internationalPrefix = undefined;\n this.countryCallingCode = undefined;\n this.digits = '';\n this.nationalNumberDigits = '';\n this.nationalPrefix = '';\n this.carrierCode = '';\n this.setCountry(this.defaultCountry, this.defaultCallingCode);\n return this;\n }\n }, {\n key: \"setCountry\",\n value: function setCountry(country, callingCode) {\n this.country = country;\n this.metadata.selectNumberingPlan(country, callingCode);\n\n if (this.metadata.hasSelectedNumberingPlan()) {\n this.initializePhoneNumberFormatsForCountry();\n } else {\n this.matchingFormats = [];\n }\n\n this.resetFormat();\n }\n }, {\n key: \"resetFormat\",\n value: function resetFormat() {\n this.chosenFormat = undefined;\n this.template = undefined;\n this.populatedNationalNumberTemplate = undefined;\n this.populatedNationalNumberTemplatePosition = -1;\n }\n /**\r\n * Inputs \"next\" phone number characters.\r\n * @param {string} text\r\n * @return {string} Formatted phone number characters that have been input so far.\r\n */\n\n }, {\n key: \"input\",\n value: function input(text) {\n var formattedDigits = this.extractFormattedDigits(text); // If the extracted phone number part\n // can possibly be a part of some valid phone number\n // then parse phone number characters from a formatted phone number.\n\n if (VALID_FORMATTED_PHONE_NUMBER_PART_PATTERN.test(formattedDigits)) {\n this.formattedOutput = this.getFullNumber(this.inputDigits(parseDigits(formattedDigits)) || this.getNonFormattedNationalNumber());\n }\n\n return this.formattedOutput;\n }\n /**\r\n * Extracts formatted phone number digits from text (if there're any).\r\n * @param {string} text\r\n * @return {string}\r\n */\n\n }, {\n key: \"extractFormattedDigits\",\n value: function extractFormattedDigits(text) {\n // Extract a formatted phone number part from text.\n var extractedNumber = extractFormattedPhoneNumber(text) || ''; // Trim a `+`.\n\n if (extractedNumber[0] === '+') {\n // Trim the `+`.\n extractedNumber = extractedNumber.slice('+'.length);\n\n if (this.digits) {// If an out of position `+` is detected\n // (or a second `+`) then just ignore it.\n } else {\n this.formattedOutput = '+';\n this.startInternationalNumber();\n }\n }\n\n return extractedNumber;\n }\n }, {\n key: \"startInternationalNumber\",\n value: function startInternationalNumber() {\n // Prepend the `+` to parsed input.\n this.international = true; // If a default country was set then reset it\n // because an explicitly international phone\n // number is being entered.\n\n this.setCountry();\n }\n /**\r\n * Inputs \"next\" phone number digits.\r\n * @param {string} digits\r\n * @return {string} [formattedNumber] Formatted national phone number (if it can be formatted at this stage). Returning `undefined` means \"don't format the national phone number at this stage\".\r\n */\n\n }, {\n key: \"inputDigits\",\n value: function inputDigits(nextDigits) {\n // Some users input their phone number in \"out-of-country\"\n // dialing format instead of using the leading `+`.\n // https://github.com/catamphetamine/libphonenumber-js/issues/185\n // Detect such numbers.\n if (!this.digits) {\n var numberWithoutIDD = stripIDDPrefix(nextDigits, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata);\n\n if (numberWithoutIDD && numberWithoutIDD !== nextDigits) {\n // If an IDD prefix was stripped then\n // convert the number to international one\n // for subsequent parsing.\n this.internationalPrefix = nextDigits.slice(0, nextDigits.length - numberWithoutIDD.length);\n nextDigits = numberWithoutIDD;\n this.startInternationalNumber();\n }\n } // Append phone number digits.\n\n\n this.digits += nextDigits; // Try to format the parsed input\n\n if (this.isInternational()) {\n if (this.countryCallingCode) {\n this.nationalNumberDigits += nextDigits; // `this.country` could be `undefined`, for example, when there is\n // ambiguity in a form of several different countries,\n // each corresponding to the same country phone code\n // (e.g. NANPA: USA, Canada, etc), and there's not enough digits\n // to reliably determine the country the phone number belongs to.\n // Therefore, in cases of such ambiguity, each time something is input,\n // try to determine the country (if it hasn't been determined yet).\n\n if (!this.country || this.isCountryCallingCodeAmbiguous()) {\n this.determineTheCountry();\n }\n } else {\n // Extract country calling code from the digits entered so far.\n // There must be some digits in order to extract anything from them.\n //\n // If one looks at country phone codes\n // then they can notice that no one country phone code\n // is ever a (leftmost) substring of another country phone code.\n // So if a valid country code is extracted so far\n // then it means that this is the country code.\n //\n // If no country phone code could be extracted so far,\n // then don't format the phone number.\n //\n if (!this.extractCountryCallingCode()) {\n // Don't format the phone number.\n return;\n } // Possibly extract a national prefix.\n // Some people incorrectly input national prefix\n // in an international phone number.\n // For example, some people write British phone numbers as `+44(0)...`.\n // Also, mobile phone numbers in Mexico are supposed to be dialled\n // internationally using a `15` national prefix.\n //\n // https://www.mexperience.com/dialing-cell-phones-in-mexico/\n //\n // \"Dialing a Mexican cell phone from abroad\n // When you are calling a cell phone number in Mexico from outside Mexico,\n // it’s necessary to dial an additional “1†after Mexico’s country code\n // (which is “52â€) and before the area code.\n // You also ignore the 045, and simply dial the area code and the\n // cell phone’s number.\n //\n // If you don’t add the “1â€, you’ll receive a recorded announcement\n // asking you to redial using it.\n //\n // For example, if you are calling from the USA to a cell phone\n // in Mexico City, you would dial +52 – 1 – 55 – 1234 5678.\n // (Note that this is different to calling a land line in Mexico City\n // from abroad, where the number dialed would be +52 – 55 – 1234 5678)\".\n //\n\n\n this.nationalNumberDigits = this.digits.slice(this.countryCallingCode.length); // this.extractNationalPrefix()\n //\n // Determine the country from country calling code and national number.\n\n this.determineTheCountry();\n }\n } else {\n this.nationalNumberDigits += nextDigits; // If `defaultCallingCode` is set,\n // see if the `country` could be derived.\n\n if (!this.country) {\n this.determineTheCountry();\n } // Some national prefixes are substrings of other national prefixes\n // (for the same country), therefore try to extract national prefix each time\n // because a longer national prefix might be available at some point in time.\n\n\n var previousNationalPrefix = this.nationalPrefix;\n this.nationalNumberDigits = this.nationalPrefix + this.nationalNumberDigits; // Re-extract national prefix.\n\n this.extractNationalPrefix(); // If another national prefix has been extracted.\n\n if (this.nationalPrefix !== previousNationalPrefix) {\n // National number has changed\n // (due to another national prefix been extracted)\n // therefore national number has changed\n // therefore reset all previous formatting data.\n // (and leading digits matching state)\n this.initializePhoneNumberFormatsForCountry();\n this.resetFormat();\n }\n }\n\n if (this.nationalNumberDigits) {\n // Match the available formats by the currently available leading digits.\n this.matchFormats(this.nationalNumberDigits);\n } // Format the phone number (given the next digits)\n\n\n return this.formatNationalNumberWithNextDigits(nextDigits);\n }\n }, {\n key: \"formatNationalNumberWithNextDigits\",\n value: function formatNationalNumberWithNextDigits(nextDigits) {\n // See if the phone number digits can be formatted as a complete phone number.\n // If not, use the results from `formatNextNationalNumberDigits()`,\n // which formats based on the chosen formatting pattern.\n // Attempting to format complete phone number first is how it's done\n // in Google's `libphonenumber`.\n var formattedNumber = this.attemptToFormatCompletePhoneNumber(); // Just because a phone number doesn't have a suitable format\n // that doesn't mean that the phone number is invalid,\n // because phone number formats only format phone numbers,\n // they don't validate them and some (rare) phone numbers\n // are meant to stay non-formatted.\n\n if (formattedNumber) {\n return formattedNumber;\n } // Format the next phone number digits\n // using the previously chosen phone number format.\n //\n // This is done here because if `attemptToFormatCompletePhoneNumber`\n // was placed before this call then the `template`\n // wouldn't reflect the situation correctly (and would therefore be inconsistent)\n //\n\n\n var previouslyChosenFormat = this.chosenFormat; // Choose a format from the list of matching ones.\n\n var newlyChosenFormat = this.chooseFormat();\n\n if (newlyChosenFormat) {\n if (newlyChosenFormat === previouslyChosenFormat) {\n // If could format the next (current) digit\n // using the previously chosen phone number format\n // then return the formatted number so far.\n //\n // If no new phone number format could be chosen,\n // and couldn't format the supplied national number\n // using the previously chosen phone number pattern,\n // then return `undefined`.\n //\n return this.formatNextNationalNumberDigits(nextDigits);\n } else {\n // If a more appropriate phone number format\n // has been chosen for these \"leading digits\",\n // then format the national phone number (so far)\n // using the newly selected format.\n //\n // Will return `undefined` if it couldn't format\n // the supplied national number\n // using the selected phone number pattern.\n //\n return this.reformatNationalNumber();\n }\n }\n }\n }, {\n key: \"chooseFormat\",\n value: function chooseFormat() {\n // When there are multiple available formats, the formatter uses the first\n // format where a formatting template could be created.\n for (var _iterator = this.matchingFormats, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref = _i.value;\n }\n\n var format = _ref; // If this format is currently being used\n // and is still possible, then stick to it.\n\n if (this.chosenFormat === format) {\n break;\n }\n\n if (!this.createFormattingTemplate(format)) {\n continue;\n }\n\n this.chosenFormat = format; // With a new formatting template, the matched position\n // using the old template needs to be reset.\n\n this.populatedNationalNumberTemplatePosition = -1;\n break;\n }\n\n if (!this.chosenFormat) {\n // No format matches the national phone number entered.\n this.resetFormat();\n }\n\n return this.chosenFormat;\n } // Formats each digit of the national phone number (so far)\n // using the selected format.\n\n }, {\n key: \"reformatNationalNumber\",\n value: function reformatNationalNumber() {\n return this.formatNextNationalNumberDigits(this.nationalPrefix + this.nationalNumberDigits);\n }\n }, {\n key: \"initializePhoneNumberFormatsForCountry\",\n value: function initializePhoneNumberFormatsForCountry() {\n // Get all \"eligible\" phone number formats for this country\n this.matchingFormats = this.metadata.formats().filter(function (format) {\n // Compared to `libphonenumber`'s code, the two \"Discard a few formats\n // that we know are not relevant based on the presence of the national prefix\"\n // checks have changed: the first one has been moved to `.matchFormats()`,\n // and the second one doesn't apply to this library because it doesn't deal with\n // \"incomplete\" phone numbers (for example, phone numbers, entered without \"area code\").\n return ELIGIBLE_FORMAT_PATTERN.test(format.internationalFormat());\n });\n }\n }, {\n key: \"matchFormats\",\n value: function matchFormats(leadingDigits) {\n var _this = this; // \"leading digits\" pattern list starts with a\n // \"leading digits\" pattern fitting a maximum of 3 leading digits.\n // So, after a user inputs 3 digits of a national (significant) phone number\n // this national (significant) number can already be formatted.\n // The next \"leading digits\" pattern is for 4 leading digits max,\n // and the \"leading digits\" pattern after it is for 5 leading digits max, etc.\n // This implementation is different from Google's\n // in that it searches for a fitting format\n // even if the user has entered less than\n // `MIN_LEADING_DIGITS_LENGTH` digits of a national number.\n // Because some leading digit patterns already match for a single first digit.\n\n\n var leadingDigitsPatternIndex = leadingDigits.length - MIN_LEADING_DIGITS_LENGTH;\n\n if (leadingDigitsPatternIndex < 0) {\n leadingDigitsPatternIndex = 0;\n }\n\n this.matchingFormats = this.matchingFormats.filter(function (format) {\n // If national prefix is mandatory for this phone number format\n // and the user didn't input the national prefix\n // then this phone number format isn't suitable.\n if (!_this.isInternational() && !_this.nationalPrefix && format.nationalPrefixIsMandatoryWhenFormattingInNationalFormat()) {\n return false;\n }\n\n var leadingDigitsPatternsCount = format.leadingDigitsPatterns().length; // If this format is not restricted to a certain\n // leading digits pattern then it fits.\n\n if (leadingDigitsPatternsCount === 0) {\n return true;\n } // Start excluding any non-matching formats only when the\n // national number entered so far is at least 3 digits long,\n // otherwise format matching would give false negatives.\n // For example, when the digits entered so far are `2`\n // and the leading digits pattern is `21` –\n // it's quite obvious in this case that the format could be the one\n // but due to the absence of further digits it would give false negative.\n\n\n if (leadingDigits.length < MIN_LEADING_DIGITS_LENGTH) {\n return true;\n } // If at least `MIN_LEADING_DIGITS_LENGTH` digits of a national number are available\n // then format matching starts narrowing down the list of possible formats\n // (only previously matched formats are considered for next digits).\n\n\n leadingDigitsPatternIndex = Math.min(leadingDigitsPatternIndex, leadingDigitsPatternsCount - 1);\n var leadingDigitsPattern = format.leadingDigitsPatterns()[leadingDigitsPatternIndex]; // Brackets are required for `^` to be applied to\n // all or-ed (`|`) parts, not just the first one.\n\n return new RegExp(\"^(\".concat(leadingDigitsPattern, \")\")).test(leadingDigits);\n }); // If there was a phone number format chosen\n // and it no longer holds given the new leading digits then reset it.\n // The test for this `if` condition is marked as:\n // \"Reset a chosen format when it no longer holds given the new leading digits\".\n // To construct a valid test case for this one can find a country\n // in `PhoneNumberMetadata.xml` yielding one format for 3 `<leadingDigits>`\n // and yielding another format for 4 `<leadingDigits>` (Australia in this case).\n\n if (this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1) {\n this.resetFormat();\n }\n }\n }, {\n key: \"getSeparatorAfterNationalPrefix\",\n value: function getSeparatorAfterNationalPrefix(format) {\n if (this.metadata.countryCallingCode() === '1') {\n return ' ';\n }\n\n if (format && format.nationalPrefixFormattingRule() && NATIONAL_PREFIX_SEPARATORS_PATTERN.test(format.nationalPrefixFormattingRule())) {\n return ' ';\n }\n\n return '';\n } // This is in accordance to how Google's `libphonenumber` does it.\n // \"Check to see if there is an exact pattern match for these digits.\n // If so, we should use this instead of any other formatting template\n // whose `leadingDigitsPattern` also matches the input.\"\n\n }, {\n key: \"attemptToFormatCompletePhoneNumber\",\n value: function attemptToFormatCompletePhoneNumber() {\n for (var _iterator2 = this.matchingFormats, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) {\n var _ref2;\n\n if (_isArray2) {\n if (_i2 >= _iterator2.length) break;\n _ref2 = _iterator2[_i2++];\n } else {\n _i2 = _iterator2.next();\n if (_i2.done) break;\n _ref2 = _i2.value;\n }\n\n var format = _ref2;\n var matcher = new RegExp(\"^(?:\".concat(format.pattern(), \")$\"));\n\n if (!matcher.test(this.nationalNumberDigits)) {\n continue;\n } // Here, national number is formatted without \"national prefix\n // formatting rule\", because otherwise there'd be a bug\n // when \"area code\" is \"duplicated\" during input:\n // https://github.com/catamphetamine/libphonenumber-js/issues/318\n\n\n var formattedNationalNumber = formatNationalNumberUsingFormat(this.nationalNumberDigits, format, this.isInternational(), false, // Don't prepend national prefix (it will be prepended manually).\n this.metadata); // Check if this `format` preserves all digits.\n // This is how it's done in Google's `libphonenumber`.\n // Also, it fixes the bug when \"area code\" is \"duplicated\" during input:\n // https://github.com/catamphetamine/libphonenumber-js/issues/318\n //\n // \"Check that we didn't remove nor add any extra digits when we matched\n // this formatting pattern. This usually happens after we entered the last\n // digit during AYTF. Eg: In case of MX, we swallow mobile token (1) when\n // formatted but AYTF should retain all the number entered and not change\n // in order to match a format (of same leading digits and length) display\n // in that way.\"\n // \"If it's the same (i.e entered number and format is same), then it's\n // safe to return this in formatted number as nothing is lost / added.\"\n // Otherwise, don't use this format.\n // https://github.com/google/libphonenumber/commit/3e7c1f04f5e7200f87fb131e6f85c6e99d60f510#diff-9149457fa9f5d608a11bb975c6ef4bc5\n // https://github.com/google/libphonenumber/commit/3ac88c7106e7dcb553bcc794b15f19185928a1c6#diff-2dcb77e833422ee304da348b905cde0b\n //\n\n if (parseDigits(formattedNationalNumber) !== this.nationalNumberDigits) {\n continue;\n } // Prepend national prefix (if any).\n\n\n if (this.nationalPrefix) {\n // Here, national number is formatted with \"national prefix\n // formatting rule\". The reason is that \"national prefix\n // formatting rule\" often adds parentheses, and while Google's\n // `libphonenumber` dismisses those preferring simply prepending\n // national prefix followed by a \" \" character, this library\n // looks if the national prefix could be formatted better.\n var formattedNationalNumberWithNationalPrefix = formatNationalNumberUsingFormat(this.nationalNumberDigits, format, this.isInternational(), true, // Prepend national prefix.\n this.metadata);\n\n if (parseDigits(formattedNationalNumberWithNationalPrefix) === this.nationalPrefix + this.nationalNumberDigits) {\n formattedNationalNumber = formattedNationalNumberWithNationalPrefix;\n } else {\n formattedNationalNumber = this.nationalPrefix + this.getSeparatorAfterNationalPrefix(format) + formattedNationalNumber;\n }\n } // formats national number (probably) without national prefix.\n // Formatting a national number with national prefix could result in\n // bugs when \"area code\" is \"duplicated\" during input:\n // https://github.com/catamphetamine/libphonenumber-js/issues/318\n // The \"are all digits preserved\" check fixes that type of bug.\n // To leave the formatter in a consistent state\n\n\n this.resetFormat();\n this.chosenFormat = format; // Set `this.template` and `this.populatedNationalNumberTemplate`.\n\n /* istanbul ignore else */\n\n if (this.createFormattingTemplate(format)) {\n // Populate `this.populatedNationalNumberTemplate` with phone number digits.\n this.reformatNationalNumber();\n } else {\n // If the formatting template couldn't be created for a format,\n // create it manually from the formatted phone number.\n // This case doesn't ever happen with the current metadata.\n this.template = this.getFullNumber(formattedNationalNumber).replace(/[\\d\\+]/g, DIGIT_PLACEHOLDER);\n this.populatedNationalNumberTemplate = formattedNationalNumber;\n this.populatedNationalNumberTemplatePosition = this.populatedNationalNumberTemplate.length - 1;\n }\n\n return formattedNationalNumber;\n }\n }\n }, {\n key: \"getInternationalPrefix\",\n value: function getInternationalPrefix(options) {\n return this.internationalPrefix ? options && options.spacing === false ? this.internationalPrefix : this.internationalPrefix + ' ' : '+';\n } // Prepends `+CountryCode ` in case of an international phone number\n\n }, {\n key: \"getFullNumber\",\n value: function getFullNumber(formattedNationalNumber) {\n if (this.isInternational()) {\n var prefix = this.getInternationalPrefix();\n\n if (!this.countryCallingCode) {\n return \"\".concat(prefix).concat(this.digits);\n }\n\n if (!formattedNationalNumber) {\n return \"\".concat(prefix).concat(this.countryCallingCode);\n }\n\n return \"\".concat(prefix).concat(this.countryCallingCode, \" \").concat(formattedNationalNumber);\n }\n\n return formattedNationalNumber;\n }\n }, {\n key: \"getNonFormattedNationalNumber\",\n value: function getNonFormattedNationalNumber() {\n return this.nationalPrefix + (this.nationalPrefix && this.nationalNumberDigits && this.getSeparatorAfterNationalPrefix()) + this.nationalNumberDigits;\n } // Extracts the country calling code from the beginning\n // of the entered `national_number` (so far),\n // and places the remaining input into the `national_number`.\n\n }, {\n key: \"extractCountryCallingCode\",\n value: function extractCountryCallingCode() {\n var _extractCountryCallin = _extractCountryCallingCode('+' + this.digits, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata),\n countryCallingCode = _extractCountryCallin.countryCallingCode,\n number = _extractCountryCallin.number;\n\n if (!countryCallingCode) {\n return;\n }\n\n this.nationalNumberDigits = number;\n this.countryCallingCode = countryCallingCode;\n this.metadata.chooseCountryByCountryCallingCode(countryCallingCode);\n this.initializePhoneNumberFormatsForCountry();\n this.resetFormat();\n return this.metadata.hasSelectedNumberingPlan();\n }\n }, {\n key: \"extractNationalPrefix\",\n value: function extractNationalPrefix() {\n this.nationalPrefix = '';\n\n if (!this.metadata.hasSelectedNumberingPlan()) {\n return;\n } // Only strip national prefixes for non-international phone numbers\n // because national prefixes can't be present in international phone numbers.\n // While `parseNumber()` is forgiving is such cases, `AsYouType` is not.\n\n\n var _stripNationalPrefixA = stripNationalPrefixAndCarrierCode(this.nationalNumberDigits, this.metadata),\n nationalNumber = _stripNationalPrefixA.nationalNumber,\n carrierCode = _stripNationalPrefixA.carrierCode; // Sometimes `stripNationalPrefixAndCarrierCode()` won't actually\n // strip national prefix and will instead prepend some digits to the `number`:\n // for example, when number `2345678` is passed with `VI` country selected,\n // it will return `{ number: \"3402345678\" }`, because `340` area code is prepended.\n // So check if the `nationalNumber` is actually at the end of `this.nationalNumberDigits`.\n\n\n if (nationalNumber) {\n var index = this.nationalNumberDigits.indexOf(nationalNumber);\n\n if (index < 0 || index !== this.nationalNumberDigits.length - nationalNumber.length) {\n return;\n }\n }\n\n if (carrierCode) {\n this.carrierCode = carrierCode;\n }\n\n this.nationalPrefix = this.nationalNumberDigits.slice(0, this.nationalNumberDigits.length - nationalNumber.length);\n this.nationalNumberDigits = nationalNumber;\n return this.nationalPrefix;\n } // isPossibleNumber(number) {\n // \tswitch (checkNumberLengthForType(number, undefined, this.metadata)) {\n // \t\tcase 'IS_POSSIBLE':\n // \t\t\treturn true\n // \t\t// case 'IS_POSSIBLE_LOCAL_ONLY':\n // \t\t// \treturn !this.isInternational()\n // \t\tdefault:\n // \t\t\treturn false\n // \t}\n // }\n\n }, {\n key: \"isCountryCallingCodeAmbiguous\",\n value: function isCountryCallingCodeAmbiguous() {\n var countryCodes = this.metadata.getCountryCodesForCallingCode(this.countryCallingCode);\n return countryCodes && countryCodes.length > 1;\n }\n }, {\n key: \"createFormattingTemplate\",\n value: function createFormattingTemplate(format) {\n // The formatter doesn't format numbers when numberPattern contains '|', e.g.\n // (20|3)\\d{4}. In those cases we quickly return.\n // (Though there's no such format in current metadata)\n\n /* istanbul ignore if */\n if (SUPPORT_LEGACY_FORMATTING_PATTERNS && format.pattern().indexOf('|') >= 0) {\n return;\n } // Get formatting template for this phone number format\n\n\n var template = this.getTemplateForNumberFormatPattern(format, this.nationalPrefix); // If the national number entered is too long\n // for any phone number format, then abort.\n\n if (!template) {\n return;\n }\n\n this.template = template;\n this.populatedNationalNumberTemplate = template; // For convenience, the public `.template` property\n // contains the whole international number\n // if the phone number being input is international:\n // 'x' for the '+' sign, 'x'es for the country phone code,\n // a spacebar and then the template for the formatted national number.\n\n if (this.isInternational()) {\n this.template = this.getInternationalPrefix().replace(/[\\d\\+]/g, DIGIT_PLACEHOLDER) + repeat(DIGIT_PLACEHOLDER, this.countryCallingCode.length) + ' ' + template;\n }\n\n return this.template;\n }\n /**\r\n * Generates formatting template for a national phone number,\r\n * optionally containing a national prefix, for a format.\r\n * @param {Format} format\r\n * @param {string} nationalPrefix\r\n * @return {string}\r\n */\n\n }, {\n key: \"getTemplateForNumberFormatPattern\",\n value: function getTemplateForNumberFormatPattern(format, nationalPrefix) {\n var pattern = format.pattern();\n /* istanbul ignore else */\n\n if (SUPPORT_LEGACY_FORMATTING_PATTERNS) {\n pattern = pattern // Replace anything in the form of [..] with \\d\n .replace(CREATE_CHARACTER_CLASS_PATTERN(), '\\\\d') // Replace any standalone digit (not the one in `{}`) with \\d\n .replace(CREATE_STANDALONE_DIGIT_PATTERN(), '\\\\d');\n } // Generate a dummy national number (consisting of `9`s)\n // that fits this format's `pattern`.\n //\n // This match will always succeed,\n // because the \"longest dummy phone number\"\n // has enough length to accomodate any possible\n // national phone number format pattern.\n //\n\n\n var digits = LONGEST_DUMMY_PHONE_NUMBER.match(pattern)[0]; // If the national number entered is too long\n // for any phone number format, then abort.\n\n if (this.nationalNumberDigits.length > digits.length) {\n return;\n } // Get a formatting template which can be used to efficiently format\n // a partial number where digits are added one by one.\n // Below `strictPattern` is used for the\n // regular expression (with `^` and `$`).\n // This wasn't originally in Google's `libphonenumber`\n // and I guess they don't really need it\n // because they're not using \"templates\" to format phone numbers\n // but I added `strictPattern` after encountering\n // South Korean phone number formatting bug.\n //\n // Non-strict regular expression bug demonstration:\n //\n // this.nationalNumberDigits : `111111111` (9 digits)\n //\n // pattern : (\\d{2})(\\d{3,4})(\\d{4})\n // format : `$1 $2 $3`\n // digits : `9999999999` (10 digits)\n //\n // '9999999999'.replace(new RegExp(/(\\d{2})(\\d{3,4})(\\d{4})/g), '$1 $2 $3') = \"99 9999 9999\"\n //\n // template : xx xxxx xxxx\n //\n // But the correct template in this case is `xx xxx xxxx`.\n // The template was generated incorrectly because of the\n // `{3,4}` variability in the `pattern`.\n //\n // The fix is, if `this.nationalNumberDigits` has already sufficient length\n // to satisfy the `pattern` completely then `this.nationalNumberDigits`\n // is used instead of `digits`.\n\n\n var strictPattern = new RegExp('^' + pattern + '$');\n var nationalNumberDummyDigits = this.nationalNumberDigits.replace(/\\d/g, DUMMY_DIGIT); // If `this.nationalNumberDigits` has already sufficient length\n // to satisfy the `pattern` completely then use it\n // instead of `digits`.\n\n if (strictPattern.test(nationalNumberDummyDigits)) {\n digits = nationalNumberDummyDigits;\n }\n\n var numberFormat = this.getFormatFormat(format);\n var includesNationalPrefix;\n\n if (nationalPrefix) {\n if (format.nationalPrefixFormattingRule()) {\n var numberFormatWithNationalPrefix = numberFormat.replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule());\n\n if (parseDigits(numberFormatWithNationalPrefix) === nationalPrefix + parseDigits(numberFormat)) {\n numberFormat = numberFormatWithNationalPrefix;\n includesNationalPrefix = true;\n var i = nationalPrefix.length;\n\n while (i > 0) {\n numberFormat = numberFormat.replace(/\\d/, DIGIT_PLACEHOLDER);\n i--;\n }\n }\n }\n } // Generate formatting template for this phone number format.\n\n\n var template = digits // Format the dummy phone number according to the format.\n .replace(new RegExp(pattern), numberFormat) // Replace each dummy digit with a DIGIT_PLACEHOLDER.\n .replace(new RegExp(DUMMY_DIGIT, 'g'), DIGIT_PLACEHOLDER);\n\n if (nationalPrefix) {\n if (!includesNationalPrefix) {\n // Prepend national prefix to the template manually.\n template = repeat(DIGIT_PLACEHOLDER, nationalPrefix.length) + this.getSeparatorAfterNationalPrefix(format) + template;\n }\n }\n\n return template;\n }\n }, {\n key: \"formatNextNationalNumberDigits\",\n value: function formatNextNationalNumberDigits(digits) {\n // Using `.split('')` to iterate through a string here\n // to avoid requiring `Symbol.iterator` polyfill.\n // `.split('')` is generally not safe for Unicode,\n // but in this particular case for `digits` it is safe.\n // for (const digit of digits)\n for (var _iterator3 = digits.split(''), _isArray3 = Array.isArray(_iterator3), _i3 = 0, _iterator3 = _isArray3 ? _iterator3 : _iterator3[Symbol.iterator]();;) {\n var _ref3;\n\n if (_isArray3) {\n if (_i3 >= _iterator3.length) break;\n _ref3 = _iterator3[_i3++];\n } else {\n _i3 = _iterator3.next();\n if (_i3.done) break;\n _ref3 = _i3.value;\n }\n\n var digit = _ref3; // If there is room for more digits in current `template`,\n // then set the next digit in the `template`,\n // and return the formatted digits so far.\n // If more digits are entered than the current format could handle.\n\n if (this.populatedNationalNumberTemplate.slice(this.populatedNationalNumberTemplatePosition + 1).search(DIGIT_PLACEHOLDER_MATCHER) < 0) {\n // Reset the format.\n this.resetFormat();\n return;\n }\n\n this.populatedNationalNumberTemplatePosition = this.populatedNationalNumberTemplate.search(DIGIT_PLACEHOLDER_MATCHER);\n this.populatedNationalNumberTemplate = this.populatedNationalNumberTemplate.replace(DIGIT_PLACEHOLDER_MATCHER, digit);\n } // Return the formatted phone number so far.\n\n\n return cutAndStripNonPairedParens(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1); // The old way which was good for `input-format` but is not so good\n // for `react-phone-number-input`'s default input (`InputBasic`).\n // return closeNonPairedParens(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1)\n // \t.replace(new RegExp(DIGIT_PLACEHOLDER, 'g'), ' ')\n }\n }, {\n key: \"isInternational\",\n value: function isInternational() {\n return this.international;\n }\n }, {\n key: \"getFormatFormat\",\n value: function getFormatFormat(format) {\n if (this.isInternational()) {\n return applyInternationalSeparatorStyle(format.internationalFormat());\n }\n\n return format.format();\n } // Determines the country of the phone number\n // entered so far based on the country phone code\n // and the national phone number.\n\n }, {\n key: \"determineTheCountry\",\n value: function determineTheCountry() {\n this.country = findCountryCode(this.isInternational() ? this.countryCallingCode : this.defaultCallingCode, this.nationalNumberDigits, this.metadata);\n }\n /**\r\n * Returns an instance of `PhoneNumber` class.\r\n * Will return `undefined` if no national (significant) number\r\n * digits have been entered so far, or if no `defaultCountry` has been\r\n * set and the user enters a phone number not in international format.\r\n */\n\n }, {\n key: \"getNumber\",\n value: function getNumber() {\n if (this.isInternational()) {\n if (!this.countryCallingCode) {\n return;\n }\n } else {\n if (!this.country && !this.defaultCallingCode) {\n return;\n }\n }\n\n if (!this.nationalNumberDigits) {\n return undefined;\n }\n\n var countryCode = this.country;\n /* istanbul ignore if */\n\n if (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {\n if (this.country === '001') {\n countryCode = undefined;\n }\n }\n\n var callingCode = this.countryCallingCode || this.defaultCallingCode;\n var nationalNumber = this.nationalNumberDigits;\n var carrierCode = this.carrierCode; // When an international number without a leading `+` has been autocorrected,\n // extract country calling code, because normally it's only extracted\n // for international numbers with a leading `+`.\n // Could also just use `parsePhoneNumberFromString()` here\n // instead of hacking around this single case.\n\n if (!this.isInternational() && this.nationalNumberDigits === this.digits) {\n var _extractCountryCallin2 = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(this.digits, countryCode, callingCode, this.metadata.metadata),\n countryCallingCode = _extractCountryCallin2.countryCallingCode,\n number = _extractCountryCallin2.number;\n\n if (countryCallingCode) {\n var _stripNationalPrefixA2 = stripNationalPrefixAndCarrierCodeFromCompleteNumber(number, this.metadata),\n shorterNationalNumber = _stripNationalPrefixA2.nationalNumber,\n newCarrierCode = _stripNationalPrefixA2.carrierCode;\n\n nationalNumber = shorterNationalNumber;\n carrierCode = newCarrierCode;\n }\n }\n\n var phoneNumber = new PhoneNumber(countryCode || callingCode, nationalNumber, this.metadata.metadata);\n\n if (carrierCode) {\n phoneNumber.carrierCode = carrierCode;\n } // Phone number extensions are not supported by \"As You Type\" formatter.\n\n\n return phoneNumber;\n }\n /**\r\n * @deprecated\r\n * This method is used in `react-phone-number-input/source/input-control.js`\r\n * in versions before `3.0.16`.\r\n */\n\n }, {\n key: \"getNationalNumber\",\n value: function getNationalNumber() {\n return this.nationalNumberDigits;\n }\n }, {\n key: \"getNonFormattedTemplate\",\n value: function getNonFormattedTemplate() {\n return this.getFullNumber(this.getNonFormattedNationalNumber()).replace(/[\\+\\d]/g, DIGIT_PLACEHOLDER);\n }\n /**\r\n * Returns formatted phone number template.\r\n * @return {string} [template]\r\n */\n\n }, {\n key: \"getTemplate\",\n value: function getTemplate() {\n if (!this.template) {\n return this.getNonFormattedTemplate();\n }\n\n var index = -1;\n var i = 0;\n\n while (i < (this.isInternational() ? this.getInternationalPrefix({\n spacing: false\n }).length : 0) + this.digits.length) {\n index = this.template.indexOf(DIGIT_PLACEHOLDER, index + 1);\n i++;\n }\n\n return cutAndStripNonPairedParens(this.template, index + 1);\n }\n }]);\n\n return AsYouType;\n}();\n\nexport { AsYouType as default };\nexport function stripNonPairedParens(string) {\n var dangling_braces = [];\n var i = 0;\n\n while (i < string.length) {\n if (string[i] === '(') {\n dangling_braces.push(i);\n } else if (string[i] === ')') {\n dangling_braces.pop();\n }\n\n i++;\n }\n\n var start = 0;\n var cleared_string = '';\n dangling_braces.push(string.length);\n\n for (var _i4 = 0, _dangling_braces = dangling_braces; _i4 < _dangling_braces.length; _i4++) {\n var index = _dangling_braces[_i4];\n cleared_string += string.slice(start, index);\n start = index + 1;\n }\n\n return cleared_string;\n}\nexport function cutAndStripNonPairedParens(string, cutBeforeIndex) {\n if (string[cutBeforeIndex] === ')') {\n cutBeforeIndex++;\n }\n\n return stripNonPairedParens(string.slice(0, cutBeforeIndex));\n}\nexport function closeNonPairedParens(template, cut_before) {\n var retained_template = template.slice(0, cut_before);\n var opening_braces = countOccurences('(', retained_template);\n var closing_braces = countOccurences(')', retained_template);\n var dangling_braces = opening_braces - closing_braces;\n\n while (dangling_braces > 0 && cut_before < template.length) {\n if (template[cut_before] === ')') {\n dangling_braces--;\n }\n\n cut_before++;\n }\n\n return template.slice(0, cut_before);\n} // Counts all occurences of a symbol in a string.\n// Unicode-unsafe (because using `.split()`).\n\nexport function countOccurences(symbol, string) {\n var count = 0; // Using `.split('')` to iterate through a string here\n // to avoid requiring `Symbol.iterator` polyfill.\n // `.split('')` is generally not safe for Unicode,\n // but in this particular case for counting brackets it is safe.\n // for (const character of string)\n\n for (var _iterator4 = string.split(''), _isArray4 = Array.isArray(_iterator4), _i5 = 0, _iterator4 = _isArray4 ? _iterator4 : _iterator4[Symbol.iterator]();;) {\n var _ref4;\n\n if (_isArray4) {\n if (_i5 >= _iterator4.length) break;\n _ref4 = _iterator4[_i5++];\n } else {\n _i5 = _iterator4.next();\n if (_i5.done) break;\n _ref4 = _i5.value;\n }\n\n var character = _ref4;\n\n if (character === symbol) {\n count++;\n }\n }\n\n return count;\n} // Repeats a string (or a symbol) N times.\n// http://stackoverflow.com/questions/202605/repeat-string-javascript\n\nexport function repeat(string, times) {\n if (times < 1) {\n return '';\n }\n\n var result = '';\n\n while (times > 1) {\n if (times & 1) {\n result += string;\n }\n\n times >>= 1;\n string += string;\n }\n\n return result + string;\n}\n/**\r\n * Extracts formatted phone number from text (if there's any).\r\n * @param {string} text\r\n * @return {string} [formattedPhoneNumber]\r\n */\n\nfunction extractFormattedPhoneNumber(text) {\n // Attempt to extract a possible number from the string passed in.\n var startsAt = text.search(VALID_PHONE_NUMBER);\n\n if (startsAt < 0) {\n return;\n } // Trim everything to the left of the phone number.\n\n\n text = text.slice(startsAt); // Trim the `+`.\n\n var hasPlus;\n\n if (text[0] === '+') {\n hasPlus = true;\n text = text.slice('+'.length);\n } // Trim everything to the right of the phone number.\n\n\n text = text.replace(AFTER_PHONE_NUMBER_DIGITS_END_PATTERN, ''); // Re-add the previously trimmed `+`.\n\n if (hasPlus) {\n text = '+' + text;\n }\n\n return text;\n}","import { getCountryCallingCode } from 'libphonenumber-js/core';\nexport function getInputValuePrefix(country, international, metadata) {\n return country && international ? \"+\".concat(getCountryCallingCode(country, metadata)) : '';\n}\nexport function removeInputValuePrefix(value, prefix) {\n if (prefix) {\n value = value.slice(prefix.length);\n\n if (value[0] === ' ') {\n value = value.slice(1);\n }\n }\n\n return value;\n}","function _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 _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 _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\nimport React, { useCallback } from 'react';\nimport Input from 'input-format/react';\nimport { AsYouType, parsePhoneNumberCharacter } from 'libphonenumber-js/core';\nimport { getInputValuePrefix, removeInputValuePrefix } from './inputValuePrefix';\n/**\r\n * This input uses `input-format` library\r\n * for \"smart\" caret positioning.\r\n */\n\nexport function createInput(defaultMetadata) {\n function InputSmart(_ref, ref) {\n var country = _ref.country,\n international = _ref.international,\n metadata = _ref.metadata,\n rest = _objectWithoutProperties(_ref, [\"country\", \"international\", \"metadata\"]);\n\n var format = useCallback(function (value) {\n // \"As you type\" formatter.\n var formatter = new AsYouType(country, metadata);\n var prefix = getInputValuePrefix(country, international, metadata); // Format the number.\n\n var text = formatter.input(prefix + value);\n var template = formatter.getTemplate();\n\n if (prefix) {\n text = removeInputValuePrefix(text, prefix); // `AsYouType.getTemplate()` can be `undefined`.\n\n if (template) {\n template = removeInputValuePrefix(template, prefix);\n }\n }\n\n return {\n text: text,\n template: template\n };\n }, [country, metadata]);\n return React.createElement(Input, _extends({}, rest, {\n ref: ref,\n parse: parsePhoneNumberCharacter,\n format: format\n }));\n }\n\n InputSmart = React.forwardRef(InputSmart);\n InputSmart.defaultProps = {\n metadata: defaultMetadata\n };\n return InputSmart;\n}\nexport default createInput();","function _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 _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 _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\nimport React, { useCallback } from 'react';\nimport { parseIncompletePhoneNumber, formatIncompletePhoneNumber } from 'libphonenumber-js/core';\nimport { getInputValuePrefix, removeInputValuePrefix } from './inputValuePrefix';\nexport function createInput(defaultMetadata) {\n /**\r\n * `InputBasic`'s caret is not as \"smart\" as the default `inputComponent`'s\r\n * but still works good enough. When erasing or inserting digits in the middle\r\n * of a phone number the caret usually jumps to the end: this is the expected\r\n * behaviour and it's the workaround for the [Samsung Galaxy smart caret positioning bug](https://github.com/catamphetamine/react-phone-number-input/issues/75).\r\n */\n function InputBasic(_ref, ref) {\n var value = _ref.value,\n onChange = _ref.onChange,\n country = _ref.country,\n international = _ref.international,\n metadata = _ref.metadata,\n Input = _ref.inputComponent,\n rest = _objectWithoutProperties(_ref, [\"value\", \"onChange\", \"country\", \"international\", \"metadata\", \"inputComponent\"]);\n\n var prefix = getInputValuePrefix(country, international, metadata);\n\n var _onChange = useCallback(function (event) {\n var newValue = parseIncompletePhoneNumber(event.target.value); // By default, if a value is something like `\"(123)\"`\n // then Backspace would only erase the rightmost brace\n // becoming something like `\"(123\"`\n // which would give the same `\"123\"` value\n // which would then be formatted back to `\"(123)\"`\n // and so a user wouldn't be able to erase the phone number.\n // Working around this issue with this simple hack.\n\n if (newValue === value) {\n var newValueFormatted = format(prefix, newValue, country, metadata);\n\n if (newValueFormatted.indexOf(event.target.value) === 0) {\n // Trim the last digit (or plus sign).\n newValue = newValue.slice(0, -1);\n }\n }\n\n onChange(newValue);\n }, [prefix, value, onChange, country, metadata]);\n\n return React.createElement(Input, _extends({}, rest, {\n ref: ref,\n value: format(prefix, value, country, metadata),\n onChange: _onChange\n }));\n }\n\n InputBasic = React.forwardRef(InputBasic);\n InputBasic.defaultProps = {\n metadata: defaultMetadata,\n inputComponent: 'input'\n };\n return InputBasic;\n}\nexport default createInput();\n\nfunction format(prefix, value, country, metadata) {\n return removeInputValuePrefix(formatIncompletePhoneNumber(prefix + value, country, metadata), prefix);\n}","import AsYouType from './AsYouType';\n/**\r\n * Formats a (possibly incomplete) phone number.\r\n * The phone number can be either in E.164 format\r\n * or in a form of national number digits.\r\n * @param {string} value - A possibly incomplete phone number. Either in E.164 format or in a form of national number digits.\r\n * @param {string?} country - Two-letter (\"ISO 3166-1 alpha-2\") country code.\r\n * @return {string} Formatted (possibly incomplete) phone number.\r\n */\n\nexport default function formatIncompletePhoneNumber(value, country, metadata) {\n if (!metadata) {\n metadata = country;\n country = undefined;\n }\n\n return new AsYouType(country, metadata).input(value);\n}","function _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 _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 _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\nimport React from 'react';\nimport classNames from 'classnames'; // Default country flag icon.\n// `<img/>` is wrapped in a `<div/>` to prevent SVGs from exploding in size in IE 11.\n// https://github.com/catamphetamine/react-phone-number-input/issues/111\n\nexport default function FlagComponent(_ref) {\n var country = _ref.country,\n countryName = _ref.countryName,\n flags = _ref.flags,\n flagUrl = _ref.flagUrl,\n rest = _objectWithoutProperties(_ref, [\"country\", \"countryName\", \"flags\", \"flagUrl\"]);\n\n if (flags && flags[country]) {\n return flags[country]({\n title: countryName\n });\n }\n\n return React.createElement(\"img\", _extends({}, rest, {\n alt: countryName,\n role: \"presentation\",\n src: flagUrl.replace('{XX}', country).replace('{xx}', country.toLowerCase())\n }));\n}","function _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 _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 _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\nimport React from 'react';\nexport default function InternationalIcon(_ref) {\n var aspectRatio = _ref.aspectRatio,\n rest = _objectWithoutProperties(_ref, [\"aspectRatio\"]);\n\n if (aspectRatio === 1) {\n return React.createElement(InternationalIcon1x1, rest);\n } else {\n return React.createElement(InternationalIcon3x2, rest);\n }\n}\n\n// 3x2.\n// Using `<title/>` in `<svg/>`s:\n// https://developer.mozilla.org/en-US/docs/Web/SVG/Element/title\nfunction InternationalIcon3x2(_ref2) {\n var title = _ref2.title,\n rest = _objectWithoutProperties(_ref2, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({}, rest, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 75 50\"\n }), React.createElement(\"title\", null, title), React.createElement(\"g\", {\n className: \"PhoneInputInternationalIconGlobe\",\n stroke: \"currentColor\",\n fill: \"none\",\n strokeWidth: \"2\",\n strokeMiterlimit: \"10\"\n }, React.createElement(\"path\", {\n strokeLinecap: \"round\",\n d: \"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3\"\n }), React.createElement(\"path\", {\n d: \"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3\"\n }), React.createElement(\"line\", {\n x1: \"26\",\n y1: \"25\",\n x2: \"74\",\n y2: \"25\"\n }), React.createElement(\"line\", {\n x1: \"50\",\n y1: \"1\",\n x2: \"50\",\n y2: \"49\"\n }), React.createElement(\"path\", {\n strokeLinecap: \"round\",\n d: \"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8\"\n }), React.createElement(\"path\", {\n strokeLinecap: \"round\",\n d: \"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2\"\n })), React.createElement(\"path\", {\n className: \"PhoneInputInternationalIconPhone\",\n stroke: \"none\",\n fill: \"currentColor\",\n d: \"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z\"\n }));\n}\n\n// 1x1.\n// Using `<title/>` in `<svg/>`s:\n// https://developer.mozilla.org/en-US/docs/Web/SVG/Element/title\nfunction InternationalIcon1x1(_ref3) {\n var title = _ref3.title,\n rest = _objectWithoutProperties(_ref3, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({}, rest, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 50 50\"\n }), React.createElement(\"title\", null, title), React.createElement(\"g\", {\n className: \"PhoneInputInternationalIconGlobe\",\n stroke: \"currentColor\",\n fill: \"none\",\n strokeWidth: \"2\",\n strokeLinecap: \"round\"\n }, React.createElement(\"path\", {\n d: \"M8.45,13A21.44,21.44,0,1,1,37.08,41.56\"\n }), React.createElement(\"path\", {\n d: \"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21\"\n }), React.createElement(\"path\", {\n d: \"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86\"\n }), React.createElement(\"path\", {\n d: \"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54\"\n }), React.createElement(\"line\", {\n x1: \"27.8\",\n y1: \"0.85\",\n x2: \"27.8\",\n y2: \"34.61\"\n }), React.createElement(\"line\", {\n x1: \"15.2\",\n y1: \"22.23\",\n x2: \"49.15\",\n y2: \"22.23\"\n })), React.createElement(\"path\", {\n className: \"PhoneInputInternationalIconPhone\",\n stroke: \"transparent\",\n fill: \"currentColor\",\n d: \"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z\"\n }));\n}","import { isSupportedCountry } from 'libphonenumber-js/core';\nexport { getCountries } from 'libphonenumber-js/core';\n/**\r\n * Sorts country `<select/>` options.\r\n * Can move some country `<select/>` options\r\n * to the top of the list, for example.\r\n * @param {object[]} countryOptions — Country `<select/>` options.\r\n * @param {string[]} [countryOptionsOrder] — Country `<select/>` options order. Example: `[\"US\", \"CA\", \"AU\", \"|\", \"...\"]`.\r\n * @return {object[]}\r\n */\n\nexport function sortCountryOptions(options, order) {\n if (!order) {\n return options;\n }\n\n var optionsOnTop = [];\n var optionsOnBottom = [];\n var appendTo = optionsOnTop;\n\n var _loop = function _loop() {\n if (_isArray) {\n if (_i >= _iterator.length) return \"break\";\n _ref = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) return \"break\";\n _ref = _i.value;\n }\n\n var element = _ref;\n\n if (element === '|') {\n appendTo.push({\n divider: true\n });\n } else if (element === '...' || element === '…') {\n appendTo = optionsOnBottom;\n } else {\n // Find the position of the option.\n var index = options.indexOf(options.filter(function (option) {\n return option.value === element;\n })[0]); // Get the option.\n\n var option = options[index]; // Remove the option from its default position.\n\n options.splice(index, 1); // Add the option on top.\n\n appendTo.push(option);\n }\n };\n\n for (var _iterator = order, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref;\n\n var _ret = _loop();\n\n if (_ret === \"break\") break;\n }\n\n return optionsOnTop.concat(options).concat(optionsOnBottom);\n}\nexport function getSupportedCountryOptions(countryOptions, metadata) {\n if (countryOptions) {\n countryOptions = countryOptions.filter(function (option) {\n switch (option) {\n case '|':\n case '...':\n case '…':\n return true;\n\n default:\n return isCountrySupportedWithError(option, metadata);\n }\n });\n\n if (countryOptions.length > 0) {\n return countryOptions;\n }\n }\n}\nexport function isCountrySupportedWithError(country, metadata) {\n if (isSupportedCountry(country, metadata)) {\n return true;\n } else {\n console.error(\"Country not found: \".concat(country));\n return false;\n }\n}\nexport function getSupportedCountries(countries, metadata) {\n if (countries) {\n countries = countries.filter(function (country) {\n return isCountrySupportedWithError(country, metadata);\n });\n\n if (countries.length === 0) {\n countries = undefined;\n }\n }\n\n return countries;\n}","import React from 'react';\nimport classNames from 'classnames';\nimport DefaultInternationalIcon from './InternationalIcon';\nimport Flag from './Flag';\nexport function createCountryIconComponent(_ref) {\n var flags = _ref.flags,\n flagUrl = _ref.flagUrl,\n FlagComponent = _ref.flagComponent,\n InternationalIcon = _ref.internationalIcon;\n\n function CountryIcon(_ref2) {\n var country = _ref2.country,\n label = _ref2.label,\n aspectRatio = _ref2.aspectRatio; // `aspectRatio` is currently a hack for the default \"International\" icon\n // to render it as a square when Unicode flag icons are used.\n // So `aspectRatio` property is only used with the default \"International\" icon.\n\n var _aspectRatio = InternationalIcon === DefaultInternationalIcon ? aspectRatio : undefined;\n\n return React.createElement(\"div\", {\n className: classNames('PhoneInputCountryIcon', {\n 'PhoneInputCountryIcon--square': _aspectRatio === 1,\n 'PhoneInputCountryIcon--border': country\n })\n }, country ? React.createElement(FlagComponent, {\n country: country,\n countryName: label,\n flags: flags,\n flagUrl: flagUrl,\n className: \"PhoneInputCountryIconImg\"\n }) : React.createElement(InternationalIcon, {\n title: label,\n aspectRatio: _aspectRatio,\n className: \"PhoneInputCountryIconImg\"\n }));\n }\n\n return CountryIcon;\n}\nexport default createCountryIconComponent({\n // Must be equal to `defaultProps.flagUrl` in `./PhoneInputWithCountry.js`.\n flagUrl: 'https://catamphetamine.gitlab.io/country-flag-icons/3x2/{XX}.svg',\n flagComponent: Flag,\n internationalIcon: DefaultInternationalIcon\n});","import { parsePhoneNumberFromString, getCountryCallingCode, AsYouType, Metadata } from 'libphonenumber-js/core';\n/**\r\n * Decides which country should be pre-selected\r\n * when the phone number input component is first mounted.\r\n * @param {object?} phoneNumber - An instance of `PhoneNumber` class.\r\n * @param {string?} country - Pre-defined country (two-letter code).\r\n * @param {string[]?} countries - A list of countries available.\r\n * @param {boolean} includeInternationalOption - Whether \"International\" country option is available.\r\n * @param {object} metadata - `libphonenumber-js` metadata\r\n * @return {string?}\r\n */\n\nexport function getPreSelectedCountry(phoneNumber, country, countries, includeInternationalOption, metadata) {\n // If can get country from E.164 phone number\n // then it overrides the `country` passed (or not passed).\n if (phoneNumber && phoneNumber.country) {\n // `country` will be left `undefined` in case of non-detection.\n country = phoneNumber.country;\n } // Only pre-select a country if it's in the available `countries` list.\n\n\n if (countries && countries.indexOf(country) < 0) {\n country = undefined;\n } // If there will be no \"International\" option\n // then some `country` must be selected.\n // It will still be the wrong country though.\n // But still country `<select/>` can't be left in a broken state.\n\n\n if (!country && !includeInternationalOption && countries && countries.length > 0) {\n country = countries[0];\n }\n\n return country;\n}\n/**\r\n * Generates a sorted list of country `<select/>` options.\r\n * @param {string[]} countries - A list of two-letter (\"ISO 3166-1 alpha-2\") country codes.\r\n * @param {object} labels - Custom country labels. E.g. `{ RU: 'РоÑÑиÑ', US: 'СШÐ', ... }`.\r\n * @param {boolean} includeInternationalOption - Whether should include \"International\" option at the top of the list.\r\n * @return {object[]} A list of objects having shape `{ value : string, label : string }`.\r\n */\n\nexport function getCountrySelectOptions(countries, country_names, includeInternationalOption) {\n // Generates a `<Select/>` option for each country.\n var country_select_options = countries.map(function (country) {\n return {\n value: country,\n // All `locale` country names included in this library\n // include all countries (this is checked at build time).\n // The only case when a country name might be missing\n // is when a developer supplies their own `labels` property.\n // To guard against such cases, a missing country name\n // is substituted by country code.\n label: country_names[country] || country\n };\n }); // Sort the list of countries alphabetically.\n\n country_select_options.sort(function (a, b) {\n return compare_strings(a.label, b.label);\n }); // Add the \"International\" option to the country list (if suitable)\n\n if (includeInternationalOption) {\n country_select_options.unshift({\n label: country_names.ZZ\n });\n }\n\n return country_select_options;\n}\n/**\r\n * Parses a E.164 phone number to an instance of `PhoneNumber` class.\r\n * @param {string?} value = E.164 phone number.\r\n * @param {object} metadata - `libphonenumber-js` metadata\r\n * @return {object} Object having shape `{ country: string?, countryCallingCode: string, number: string }`. `PhoneNumber`: https://gitlab.com/catamphetamine/libphonenumber-js#phonenumber.\r\n * @example\r\n * parsePhoneNumber('+78005553535')\r\n */\n\nexport function parsePhoneNumber(value, metadata) {\n return parsePhoneNumberFromString(value || '', metadata);\n}\n/**\r\n * Generates national number digits for a parsed phone.\r\n * May prepend national prefix.\r\n * The phone number must be a complete and valid phone number.\r\n * @param {object} phoneNumber - An instance of `PhoneNumber` class.\r\n * @param {object} metadata - `libphonenumber-js` metadata\r\n * @return {string}\r\n * @example\r\n * getNationalNumberDigits({ country: 'RU', phone: '8005553535' })\r\n * // returns '88005553535'\r\n */\n\nexport function generateNationalNumberDigits(phoneNumber) {\n return phoneNumber.formatNational().replace(/\\D/g, '');\n}\n/**\r\n * Migrates parsed `<input/>` `value` for the newly selected `country`.\r\n * @param {string?} value - The `value` parsed from phone number `<input/>` (it's the `parsed_input` state property, not the `value` property).\r\n * @param {string?} previousCountry - Previously selected country.\r\n * @param {string?} newCountry - Newly selected country. Can't be same as previously selected country.\r\n * @param {object} metadata - `libphonenumber-js` metadata.\r\n * @param {boolean} preferNationalFormat - whether should attempt to convert from international to national number for the new country.\r\n * @return {string?}\r\n */\n\nexport function migrateParsedInputForNewCountry(value, previous_country, new_country, metadata, preferNationalFormat) {\n // If `parsed_input` is empty\n // then no need to migrate anything.\n if (!value) {\n if (preferNationalFormat) {\n return '';\n } else {\n // If `parsedInput` is empty then set `parsedInput` to\n // `+{getCountryCallingCode(newCountry)}`.\n return '+' + getCountryCallingCode(new_country, metadata);\n }\n } // If switching to some country.\n // (from \"International\" or another country)\n // If switching from \"International\" then `value` starts with a `+`.\n // Otherwise it may or may not start with a `+`.\n\n\n if (new_country) {\n // If the phone number was entered in international format\n // then migrate it to the newly selected country.\n // The phone number may be incomplete.\n // The phone number entered not necessarily starts with\n // the previously selected country phone prefix.\n if (value[0] === '+') {\n // If the international phone number is for the new country\n // then convert it to local if required.\n if (preferNationalFormat) {\n // // If a phone number is being input in international form\n // // and the country can already be derived from it,\n // // and if it is the new country, then format as a national number.\n // const derived_country = get_country_from_possibly_incomplete_international_phone_number(value, metadata)\n // if (derived_country === new_country)\n // {\n // \treturn strip_country_calling_code(value, derived_country, metadata)\n // }\n // Actually, the two countries don't necessarily need to match:\n // the condition could be looser here, because several countries\n // might share the same international phone number format\n // (for example, \"NANPA\" countries like US, Canada, etc).\n // The looser condition would be just \"same nternational phone number format\"\n // which would mean \"same country calling code\" in the context of `libphonenumber-js`.\n if (value.indexOf('+' + getCountryCallingCode(new_country, metadata)) === 0) {\n return strip_country_calling_code(value, new_country, metadata);\n } // Simply discard the previously entered international phone number,\n // because otherwise any \"smart\" transformation like getting the\n // \"national (significant) number\" part and then prepending the\n // newly selected country's \"country calling code\" to it\n // would just be confusing for a user without being actually useful.\n\n\n return ''; // // Simply strip the leading `+` character\n // // therefore simply converting all digits into a \"local\" phone number.\n // // https://github.com/catamphetamine/react-phone-number-input/issues/287\n // return value.slice(1)\n }\n\n if (previous_country) {\n if (getCountryCallingCode(new_country, metadata) === getCountryCallingCode(previous_country, metadata)) {\n return value;\n } else {\n return \"+\".concat(getCountryCallingCode(new_country, metadata));\n }\n } else {\n var defaultValue = \"+\".concat(getCountryCallingCode(new_country, metadata)); // If `parsedInput`'s country calling code part is the same\n // as for the new `country`, then leave `parsedInput` as is.\n\n if (value.indexOf(defaultValue) === 0) {\n return value;\n } // If `parsedInput`'s country calling code part is not the same\n // as for the new `country`, then set `parsedInput` to\n // `+{getCountryCallingCode(newCountry)}`.\n\n\n return defaultValue;\n } // // If the international phone number already contains\n // // any country calling code then trim the country calling code part.\n // // (that could also be the newly selected country phone code prefix as well)\n // // `value` doesn't neccessarily belong to `previous_country`.\n // // (e.g. if a user enters an international number\n // // not belonging to any of the reduced `countries` list).\n // value = strip_country_calling_code(value, previous_country, metadata)\n // // Prepend country calling code prefix\n // // for the newly selected country.\n // return e164(value, new_country, metadata) || `+${getCountryCallingCode(new_country, metadata)}`\n\n }\n } // If switching to \"International\" from a country.\n else {\n // If the phone number was entered in national format.\n if (value[0] !== '+') {\n // Format the national phone number as an international one.\n // The phone number entered not necessarily even starts with\n // the previously selected country phone prefix.\n // Even if the phone number belongs to whole another country\n // it will still be parsed into some national phone number.\n return e164(value, previous_country, metadata) || '';\n }\n }\n\n return value;\n}\n/**\r\n * Converts phone number digits to a (possibly incomplete) E.164 phone number.\r\n * @param {string?} number - A possibly incomplete phone number digits string. Can be a possibly incomplete E.164 phone number.\r\n * @param {string?} country\r\n * @param {[object} metadata - `libphonenumber-js` metadata.\r\n * @return {string?}\r\n */\n\nexport function e164(number, country, metadata) {\n if (!number) {\n return;\n } // If the phone number is being input in international format.\n\n\n if (number[0] === '+') {\n // If it's just the `+` sign then return nothing.\n if (number === '+') {\n return;\n } // If there are any digits then the `value` is returned as is.\n\n\n return number;\n } // For non-international phone numbers\n // an accompanying country code is required.\n\n\n if (!country) {\n return;\n }\n\n var partial_national_significant_number = getNationalSignificantNumberDigits(number, country, metadata);\n\n if (partial_national_significant_number) {\n return \"+\".concat(getCountryCallingCode(country, metadata)).concat(partial_national_significant_number);\n }\n}\n/**\r\n * Trims phone number digits if they exceed the maximum possible length\r\n * for a national (significant) number for the country.\r\n * @param {string} number - A possibly incomplete phone number digits string. Can be a possibly incomplete E.164 phone number.\r\n * @param {string} country\r\n * @param {object} metadata - `libphonenumber-js` metadata.\r\n * @return {string} Can be empty.\r\n */\n\nexport function trimNumber(number, country, metadata) {\n var nationalSignificantNumberPart = getNationalSignificantNumberDigits(number, country, metadata);\n\n if (nationalSignificantNumberPart) {\n var overflowDigitsCount = nationalSignificantNumberPart.length - getMaxNumberLength(country, metadata);\n\n if (overflowDigitsCount > 0) {\n return number.slice(0, number.length - overflowDigitsCount);\n }\n }\n\n return number;\n}\n\nfunction getMaxNumberLength(country, metadata) {\n // Get \"possible lengths\" for a phone number of the country.\n metadata = new Metadata(metadata);\n metadata.country(country); // Return the last \"possible length\".\n\n return metadata.possibleLengths()[metadata.possibleLengths().length - 1];\n} // If the phone number being input is an international one\n// then tries to derive the country from the phone number.\n// (regardless of whether there's any country currently selected)\n\n/**\r\n * @param {string} parsedInput - A possibly incomplete E.164 phone number.\r\n * @param {string?} country - Currently selected country.\r\n * @param {string[]?} countries - A list of available countries. If not passed then \"all countries\" are assumed.\r\n * @param {boolean} includeInternationalOption - Whether \"International\" country option is available.\r\n * @param {object} metadata - `libphonenumber-js` metadata.\r\n * @return {string?}\r\n */\n\n\nexport function getCountryForPartialE164Number(partialE164Number, country, countries, includeInternationalOption, metadata) {\n if (partialE164Number === '+') {\n // Don't change the currently selected country yet.\n return country;\n }\n\n var derived_country = get_country_from_possibly_incomplete_international_phone_number(partialE164Number, metadata); // If a phone number is being input in international form\n // and the country can already be derived from it,\n // then select that country.\n\n if (derived_country && (!countries || countries.indexOf(derived_country) >= 0)) {\n return derived_country;\n } // If \"International\" country option has not been disabled\n // and the international phone number entered doesn't correspond\n // to the currently selected country then reset the currently selected country.\n else if (country && includeInternationalOption && !could_number_belong_to_country(partialE164Number, country, metadata)) {\n return undefined;\n } // Don't change the currently selected country.\n\n\n return country;\n}\n/**\r\n * Parses `<input/>` value. Derives `country` from `input`. Derives an E.164 `value`.\r\n * @param {string?} input — Parsed `<input/>` value. Examples: `\"\"`, `\"+\"`, `\"+123\"`, `\"123\"`.\r\n * @param {string?} prevInput — Previous parsed `<input/>` value. Examples: `\"\"`, `\"+\"`, `\"+123\"`, `\"123\"`.\r\n * @param {string?} country - Currently selected country.\r\n * @param {string[]?} countries - A list of available countries. If not passed then \"all countries\" are assumed.\r\n * @param {boolean} includeInternationalOption - Whether \"International\" country option is available.\r\n * @param {boolean} international - Set to `true` to force international phone number format (leading `+`).\r\n * @param {boolean} limitMaxLength — Whether to enable limiting phone number max length.\r\n * @param {object} metadata - `libphonenumber-js` metadata.\r\n * @return {object} An object of shape `{ input, country, value }`.\r\n */\n\nexport function parseInput(input, prevInput, country, defaultCountry, countries, includeInternationalOption, international, limitMaxLength, metadata) {\n // Trim the input to not exceed the maximum possible number length.\n if (input && country && limitMaxLength) {\n input = trimNumber(input, country, metadata);\n } // If this `onChange()` event was triggered\n // as a result of selecting \"International\" country\n // then force-prepend a `+` sign if the phone number\n // `<input/>` value isn't in international format.\n // Also, force-prepend a `+` sign if international\n // phone number input format is set.\n\n\n if (input && input[0] !== '+' && (!country || international)) {\n input = '+' + input;\n } // If the previously entered phone number\n // has been entered in international format\n // and the user decides to erase it,\n // then also reset the `country`\n // because it was most likely automatically selected\n // while the user was typing in the phone number\n // in international format.\n // This fixes the issue when a user is presented\n // with a phone number input with no country selected\n // and then types in their local phone number\n // then discovers that the input's messed up\n // (a `+` has been prepended at the start of their input\n // and a random country has been selected),\n // decides to undo it all by erasing everything\n // and then types in their local phone number again\n // resulting in a seemingly correct phone number\n // but in reality that phone number has incorrect country.\n // https://github.com/catamphetamine/react-phone-number-input/issues/273\n\n\n if (!input && prevInput && prevInput[0] === '+') {\n if (international) {\n country = undefined;\n } else {\n country = defaultCountry;\n }\n } // Also resets such \"randomly\" selected country\n // as soon as the user erases the number\n // digit-by-digit up to the leading `+` sign.\n\n\n if (input === '+' && prevInput && prevInput[0] === '+' && prevInput.length > '+'.length) {\n country = undefined;\n } // Generate the new `value` property.\n\n\n var value;\n\n if (input) {\n if (input[0] === '+') {\n if (input !== '+') {\n value = input;\n }\n } else {\n value = e164(input, country, metadata);\n }\n } // Derive the country from the phone number.\n // (regardless of whether there's any country currently selected)\n\n\n if (value) {\n country = getCountryForPartialE164Number(value, country, countries, includeInternationalOption, metadata);\n }\n\n return {\n input: input,\n country: country,\n value: value\n };\n}\n/**\r\n * Determines the country for a given (possibly incomplete) E.164 phone number.\r\n * @param {string} number - A possibly incomplete E.164 phone number.\r\n * @param {object} metadata - `libphonenumber-js` metadata.\r\n * @return {string?}\r\n */\n\nexport function get_country_from_possibly_incomplete_international_phone_number(number, metadata) {\n var formatter = new AsYouType(null, metadata);\n formatter.input(number); // // `001` is a special \"non-geograpical entity\" code\n // // in Google's `libphonenumber` library.\n // if (formatter.country === '001') {\n // \treturn\n // }\n\n return formatter.country;\n}\n/**\r\n * Compares two strings.\r\n * A helper for `Array.sort()`.\r\n */\n\nexport function compare_strings(a, b) {\n // Use `String.localeCompare` if it's available.\n // https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare\n // Which means everyone except IE <= 10 and Safari <= 10.\n // `localeCompare()` is available in latest Node.js versions.\n\n /* istanbul ignore else */\n if (String.prototype.localeCompare) {\n return a.localeCompare(b);\n }\n /* istanbul ignore next */\n\n\n return a < b ? -1 : a > b ? 1 : 0;\n}\n/**\r\n * Strips `+${countryCallingCode}` prefix from an E.164 phone number.\r\n * @param {string} number - (possibly incomplete) E.164 phone number.\r\n * @param {string?} country - A possible country for this phone number.\r\n * @param {object} metadata - `libphonenumber-js` metadata.\r\n * @return {string}\r\n */\n\nexport function strip_country_calling_code(number, country, metadata) {\n // Just an optimization, so that it\n // doesn't have to iterate through all country calling codes.\n if (country) {\n var country_calling_prefix = '+' + getCountryCallingCode(country, metadata); // If `country` fits the actual `number`.\n\n if (number.length < country_calling_prefix.length) {\n if (country_calling_prefix.indexOf(number) === 0) {\n return '';\n }\n } else {\n if (number.indexOf(country_calling_prefix) === 0) {\n return number.slice(country_calling_prefix.length);\n }\n }\n } // If `country` doesn't fit the actual `number`.\n // Try all available country calling codes.\n\n\n for (var _i = 0, _Object$keys = Object.keys(metadata.country_calling_codes); _i < _Object$keys.length; _i++) {\n var country_calling_code = _Object$keys[_i];\n\n if (number.indexOf(country_calling_code) === '+'.length) {\n return number.slice('+'.length + country_calling_code.length);\n }\n }\n\n return '';\n}\n/**\r\n * Parses a partially entered national phone number digits\r\n * (or a partially entered E.164 international phone number)\r\n * and returns the national significant number part.\r\n * National significant number returned doesn't come with a national prefix.\r\n * @param {string} number - National number digits. Or possibly incomplete E.164 phone number.\r\n * @param {string?} country\r\n * @param {object} metadata - `libphonenumber-js` metadata.\r\n * @return {string} [result]\r\n */\n\nexport function getNationalSignificantNumberDigits(number, country, metadata) {\n // Create \"as you type\" formatter.\n var formatter = new AsYouType(country, metadata); // Input partial national phone number.\n\n formatter.input(number); // Return the parsed partial national phone number.\n\n var phoneNumber = formatter.getNumber();\n return phoneNumber && phoneNumber.nationalNumber;\n}\n/**\r\n * Checks if a partially entered E.164 phone number could belong to a country.\r\n * @param {string} number\r\n * @param {string} country\r\n * @return {boolean}\r\n */\n\nexport function could_number_belong_to_country(number, country, metadata) {\n var country_calling_code = getCountryCallingCode(country, metadata);\n var i = 0;\n\n while (i + 1 < number.length && i < country_calling_code.length) {\n if (number[i + 1] !== country_calling_code[i]) {\n return false;\n }\n\n i++;\n }\n\n return true;\n}\nexport function getInitialParsedInput(value, country, international, metadata) {\n // If `international` property is `true`,\n // then always show country calling code in the input field.\n if (!value && international && country) {\n return \"+\".concat(getCountryCallingCode(country, metadata));\n }\n\n return value;\n}","function _typeof2(obj) { \"@babel/helpers - typeof\"; return _typeof2 = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof2(obj); }\n\nfunction _typeof(obj) {\n if (typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\") {\n _typeof = function _typeof(obj) {\n return _typeof2(obj);\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n }\n\n return _typeof(obj);\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 _objectSpread(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(Object(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(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\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 _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 _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 _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 _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return _assertThisInitialized(self);\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 _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 _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 _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 _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\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport InputSmart from './InputSmart';\nimport InputBasic from './InputBasic';\nimport Flag from './Flag';\nimport InternationalIcon from './InternationalIcon';\nimport { sortCountryOptions, isCountrySupportedWithError, getSupportedCountries, getSupportedCountryOptions, getCountries } from './countries';\nimport { createCountryIconComponent } from './CountryIcon';\nimport { metadata as metadataPropType, labels as labelsPropType } from './PropTypes';\nimport { getPreSelectedCountry, getCountrySelectOptions, parsePhoneNumber, generateNationalNumberDigits, migrateParsedInputForNewCountry, getCountryForPartialE164Number, getInitialParsedInput, parseInput, e164 } from './phoneInputHelpers';\n\nvar PhoneNumberInput_ = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(PhoneNumberInput_, _React$PureComponent);\n\n function PhoneNumberInput_(props) {\n var _this;\n\n _classCallCheck(this, PhoneNumberInput_);\n\n _this = _possibleConstructorReturn(this, _getPrototypeOf(PhoneNumberInput_).call(this, props));\n\n _defineProperty(_assertThisInitialized(_this), \"inputRef\", React.createRef());\n\n _defineProperty(_assertThisInitialized(_this), \"isCountrySupportedWithError\", function (country) {\n var metadata = _this.props.metadata;\n return isCountrySupportedWithError(country, metadata);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onCountryChange\", function (newCountry) {\n var _this$props = _this.props,\n international = _this$props.international,\n metadata = _this$props.metadata,\n onChange = _this$props.onChange;\n var _this$state = _this.state,\n prevParsedInput = _this$state.parsedInput,\n prevCountry = _this$state.country; // After the new `country` has been selected,\n // if the phone number `<input/>` holds any digits\n // then migrate those digits for the new `country`.\n\n var newParsedInput = migrateParsedInputForNewCountry(prevParsedInput, prevCountry, newCountry, metadata, // Convert the phone number to \"national\" format\n // when the user changes the selected country by hand.\n international ? false : true);\n var newValue = e164(newParsedInput, newCountry, metadata); // Focus phone number `<input/>` upon country selection.\n\n _this.getInputRef().current.focus(); // If the user has already manually selected a country\n // then don't override that already selected country\n // if the `defaultCountry` property changes.\n // That's what `hasUserSelectedACountry` flag is for.\n\n\n _this.setState({\n country: newCountry,\n hasUserSelectedACountry: true,\n parsedInput: newParsedInput,\n value: newValue\n }, function () {\n // Update the new `value` property.\n // Doing it after the `state` has been updated\n // because `onChange()` will trigger `getDerivedStateFromProps()`\n // with the new `value` which will be compared to `state.value` there.\n onChange(newValue);\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onChange\", function (_input) {\n var _this$props2 = _this.props,\n defaultCountry = _this$props2.defaultCountry,\n onChange = _this$props2.onChange,\n addInternationalOption = _this$props2.addInternationalOption,\n international = _this$props2.international,\n limitMaxLength = _this$props2.limitMaxLength,\n metadata = _this$props2.metadata;\n\n var _parseInput = parseInput(_input, _this.state.parsedInput, _this.state.country, defaultCountry, _this.state.countries, addInternationalOption, international, limitMaxLength, metadata),\n input = _parseInput.input,\n country = _parseInput.country,\n value = _parseInput.value;\n\n _this.setState({\n parsedInput: input,\n value: value,\n country: country\n }, // Update the new `value` property.\n // Doing it after the `state` has been updated\n // because `onChange()` will trigger `getDerivedStateFromProps()`\n // with the new `value` which will be compared to `state.value` there.\n function () {\n return onChange(value);\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"_onFocus\", function () {\n return _this.setState({\n isFocused: true\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"_onBlur\", function () {\n return _this.setState({\n isFocused: false\n });\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onFocus\", function (event) {\n _this._onFocus();\n\n var onFocus = _this.props.onFocus;\n\n if (onFocus) {\n onFocus(event);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onBlur\", function (event) {\n var onBlur = _this.props.onBlur;\n\n _this._onBlur();\n\n if (onBlur) {\n onBlur(event);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onCountryFocus\", function (event) {\n _this._onFocus(); // this.setState({ countrySelectFocused: true })\n\n\n var countrySelectProps = _this.props.countrySelectProps;\n\n if (countrySelectProps) {\n var onFocus = countrySelectProps.onFocus;\n\n if (onFocus) {\n onFocus(event);\n }\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"onCountryBlur\", function (event) {\n _this._onBlur(); // this.setState({ countrySelectFocused: false })\n\n\n var countrySelectProps = _this.props.countrySelectProps;\n\n if (countrySelectProps) {\n var onBlur = countrySelectProps.onBlur;\n\n if (onBlur) {\n onBlur(event);\n }\n }\n });\n\n var _this$props3 = _this.props,\n _value = _this$props3.value,\n labels = _this$props3.labels,\n _addInternationalOption = _this$props3.addInternationalOption,\n _metadata = _this$props3.metadata,\n countryOptionsOrder = _this$props3.countryOptionsOrder;\n var _this$props4 = _this.props,\n _defaultCountry = _this$props4.defaultCountry,\n countries = _this$props4.countries; // Validate `defaultCountry`.\n\n if (_defaultCountry) {\n if (!_this.isCountrySupportedWithError(_defaultCountry)) {\n _defaultCountry = undefined;\n }\n } // Validate `countries`.\n\n\n countries = getSupportedCountries(countries, _metadata);\n var phoneNumber = parsePhoneNumber(_value, _metadata);\n _this.CountryIcon = createCountryIconComponent(_this.props);\n _this.state = {\n // Workaround for `this.props` inside `getDerivedStateFromProps()`.\n props: _this.props,\n // The country selected.\n country: getPreSelectedCountry(phoneNumber, _defaultCountry, countries || getCountries(_metadata), _addInternationalOption, _metadata),\n // `countries` are stored in `this.state` because they're filtered.\n // For example, a developer might theoretically pass some unsupported\n // countries as part of the `countries` property, and because of that\n // the component uses `this.state.countries` (which are filtered)\n // instead of `this.props.countries`\n // (which could potentially contain unsupported countries).\n countries: countries,\n // `parsedInput` state property holds non-formatted user's input.\n // The reason is that there's no way of finding out\n // in which form should `value` be displayed: international or national.\n // E.g. if `value` is `+78005553535` then it could be input\n // by a user both as `8 (800) 555-35-35` and `+7 800 555 35 35`.\n // Hence storing just `value`is not sufficient for correct formatting.\n // E.g. if a user entered `8 (800) 555-35-35`\n // then value is `+78005553535` and `parsedInput` is `88005553535`\n // and if a user entered `+7 800 555 35 35`\n // then value is `+78005553535` and `parsedInput` is `+78005553535`.\n parsedInput: generateInitialParsedInput(_value, phoneNumber, _this.props),\n // `value` property is duplicated in state.\n // The reason is that `getDerivedStateFromProps()`\n // needs this `value` to compare to the new `value` property\n // to find out if `parsedInput` needs updating:\n // If the `value` property was changed externally\n // then it won't be equal to `state.value`\n // in which case `parsedInput` and `country` should be updated.\n value: _value\n };\n return _this;\n }\n\n _createClass(PhoneNumberInput_, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var onCountryChange = this.props.onCountryChange;\n var defaultCountry = this.props.defaultCountry;\n var selectedCountry = this.state.country;\n\n if (onCountryChange) {\n if (defaultCountry) {\n if (!this.isCountrySupportedWithError(defaultCountry)) {\n defaultCountry = undefined;\n }\n }\n\n if (selectedCountry !== defaultCountry) {\n onCountryChange(selectedCountry);\n }\n }\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps, prevState) {\n var onCountryChange = this.props.onCountryChange;\n var country = this.state.country; // Call `onCountryChange` when user selects another country.\n\n if (onCountryChange && country !== prevState.country) {\n onCountryChange(country);\n }\n } // A shorthand for not passing `metadata` as a second argument.\n\n }, {\n key: \"getInputRef\",\n value: function getInputRef() {\n var inputRef = this.props.inputRef;\n return inputRef || this.inputRef;\n } // `state` holds previous props as `props`, and also:\n // * `country` — The currently selected country, e.g. `\"RU\"`.\n // * `value` — The currently entered phone number (E.164), e.g. `+78005553535`.\n // * `parsedInput` — The parsed `<input/>` value, e.g. `8005553535`.\n // (and a couple of other less significant properties)\n\n }, {\n key: \"render\",\n value: function render() {\n var _this$props5 = this.props,\n name = _this$props5.name,\n disabled = _this$props5.disabled,\n autoComplete = _this$props5.autoComplete,\n style = _this$props5.style,\n className = _this$props5.className,\n inputRef = _this$props5.inputRef,\n inputComponent = _this$props5.inputComponent,\n numberInputProps = _this$props5.numberInputProps,\n smartCaret = _this$props5.smartCaret,\n CountrySelectComponent = _this$props5.countrySelectComponent,\n countrySelectProps = _this$props5.countrySelectProps,\n defaultCountry = _this$props5.defaultCountry,\n countries = _this$props5.countries,\n countryOptionsOrder = _this$props5.countryOptionsOrder,\n labels = _this$props5.labels,\n flags = _this$props5.flags,\n flagComponent = _this$props5.flagComponent,\n flagUrl = _this$props5.flagUrl,\n addInternationalOption = _this$props5.addInternationalOption,\n internationalIcon = _this$props5.internationalIcon,\n displayInitialValueAsLocalNumber = _this$props5.displayInitialValueAsLocalNumber,\n onCountryChange = _this$props5.onCountryChange,\n limitMaxLength = _this$props5.limitMaxLength,\n reset = _this$props5.reset,\n metadata = _this$props5.metadata,\n international = _this$props5.international,\n rest = _objectWithoutProperties(_this$props5, [\"name\", \"disabled\", \"autoComplete\", \"style\", \"className\", \"inputRef\", \"inputComponent\", \"numberInputProps\", \"smartCaret\", \"countrySelectComponent\", \"countrySelectProps\", \"defaultCountry\", \"countries\", \"countryOptionsOrder\", \"labels\", \"flags\", \"flagComponent\", \"flagUrl\", \"addInternationalOption\", \"internationalIcon\", \"displayInitialValueAsLocalNumber\", \"onCountryChange\", \"limitMaxLength\", \"reset\", \"metadata\", \"international\"]);\n\n var _this$state2 = this.state,\n country = _this$state2.country,\n parsedInput = _this$state2.parsedInput,\n isFocused = _this$state2.isFocused;\n var InputComponent = smartCaret ? InputSmart : InputBasic;\n var countrySelectOptions = useMemoCountrySelectOptions(function () {\n return sortCountryOptions(getCountrySelectOptions(countries || getCountries(metadata), labels, addInternationalOption), getSupportedCountryOptions(countryOptionsOrder, metadata));\n }, [countries, countryOptionsOrder, addInternationalOption, labels, metadata]);\n return React.createElement(\"div\", {\n style: style,\n className: classNames(className, 'PhoneInput', {\n 'PhoneInput--focus': isFocused\n })\n }, React.createElement(CountrySelectComponent, _extends({\n name: name ? \"\".concat(name, \"Country\") : undefined,\n \"aria-label\": labels.country\n }, countrySelectProps, {\n value: country,\n options: countrySelectOptions,\n onChange: this.onCountryChange,\n onFocus: this.onCountryFocus,\n onBlur: this.onCountryBlur,\n disabled: disabled || countrySelectProps && countrySelectProps.disabled,\n iconComponent: this.CountryIcon\n })), React.createElement(InputComponent, _extends({\n ref: this.getInputRef(),\n type: \"tel\",\n autoComplete: autoComplete\n }, numberInputProps, rest, {\n name: name,\n metadata: metadata,\n country: country,\n value: parsedInput || '',\n onChange: this.onChange,\n onFocus: this.onFocus,\n onBlur: this.onBlur,\n disabled: disabled,\n inputComponent: inputComponent,\n className: classNames('PhoneInputInput', numberInputProps && numberInputProps.className, rest.className)\n })));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(props, state) {\n var country = state.country,\n hasUserSelectedACountry = state.hasUserSelectedACountry,\n value = state.value,\n _state$props = state.props,\n prevDefaultCountry = _state$props.defaultCountry,\n prevValue = _state$props.value,\n prevReset = _state$props.reset;\n var metadata = props.metadata,\n countries = props.countries,\n newDefaultCountry = props.defaultCountry,\n newValue = props.value,\n newReset = props.reset,\n international = props.international;\n var newState = {\n // Emulate `prevProps` via `state.props`.\n props: props,\n // If the user has already manually selected a country\n // then don't override that already selected country\n // if the `defaultCountry` property changes.\n // That's what `hasUserSelectedACountry` flag is for.\n hasUserSelectedACountry: hasUserSelectedACountry\n }; // Some users requested a way to reset the component\n // (both number `<input/>` and country `<select/>`).\n // Whenever `reset` property changes both number `<input/>`\n // and country `<select/>` are reset.\n // It's not implemented as some instance `.reset()` method\n // because `ref` is forwarded to `<input/>`.\n // It's also not replaced with just resetting `country` on\n // external `value` reset, because a user could select a country\n // and then not input any `value`, and so the selected country\n // would be \"stuck\", if not using this `reset` property.\n // https://github.com/catamphetamine/react-phone-number-input/issues/300\n\n if (newReset !== prevReset) {\n return _objectSpread({}, newState, {\n parsedInput: undefined,\n value: undefined,\n country: newDefaultCountry,\n hasUserSelectedACountry: undefined\n });\n } // If the default country changed.\n // (e.g. in case of ajax GeoIP detection after page loaded)\n // then select it but only if the user hasn't already manually\n // selected a country and no phone number has been entered so far.\n // Because if the user has already started inputting a phone number\n // then he's okay with no country being selected at all (\"International\")\n // and doesn't want to be disturbed, doesn't want his input to be screwed, etc.\n\n\n if (newDefaultCountry !== prevDefaultCountry && !hasUserSelectedACountry && (!value && !newValue || international && value === getInitialParsedInput(undefined, prevDefaultCountry, international, metadata) && value === getInitialParsedInput(undefined, newDefaultCountry, international, metadata))) {\n return _objectSpread({}, newState, {\n country: isCountrySupportedWithError(newDefaultCountry, metadata) ? newDefaultCountry : prevDefaultCountry,\n // If `parsedInput` is empty, then automatically select the new `country`\n // and set `parsedInput` to `+{getCountryCallingCode(newCountry)}`.\n parsedInput: generateInitialParsedInput(newValue, undefined, props) // `value` is `undefined`.\n // `parsedInput` is `undefined` because `value` is `undefined`.\n\n });\n } // If a new `value` is set externally.\n // (e.g. as a result of an ajax API request\n // to get user's phone after page loaded)\n // The first part — `newValue !== prevValue` —\n // is basically `props.value !== prevProps.value`\n // so it means \"if value property was changed externally\".\n // The second part — `newValue !== value` —\n // is for ignoring the `getDerivedStateFromProps()` call\n // which happens in `this.onChange()` right after `this.setState()`.\n // If this `getDerivedStateFromProps()` call isn't ignored\n // then the country flag would reset on each input.\n else if (newValue !== prevValue && newValue !== value) {\n var phoneNumber = parsePhoneNumber(newValue, metadata);\n var parsedCountry;\n\n if (phoneNumber) {\n var _countries = getSupportedCountries(props.countries, metadata);\n\n if (!_countries || _countries.indexOf(phoneNumber.country) >= 0) {\n parsedCountry = phoneNumber.country;\n }\n }\n\n if (!newValue) {\n newState.hasUserSelectedACountry = undefined;\n }\n\n return _objectSpread({}, newState, {\n parsedInput: generateInitialParsedInput(newValue, phoneNumber, props),\n value: newValue,\n country: newValue ? parsedCountry : newDefaultCountry\n });\n } // `defaultCountry` didn't change.\n // `value` didn't change.\n // `parsedInput` didn't change, because `value` didn't change.\n //\n // So no need to update state here really.\n // Could as well return `null` explicitly\n // to indicate that the `state` hasn't changed.\n // But just in case, returns `newState`.\n // (who knows if someone adds something\n // changing `newState` above in some future)\n\n\n return newState;\n }\n }]);\n\n return PhoneNumberInput_;\n}(React.PureComponent); // This wrapper is only to `.forwardRef()` to the `<input/>`.\n\n\nvar PhoneNumberInput = React.forwardRef(function (props, ref) {\n return React.createElement(PhoneNumberInput_, _extends({}, props, {\n inputRef: ref\n }));\n});\nPhoneNumberInput.defaultProps = {\n /**\r\n * Remember (and autofill) the value as a phone number.\r\n */\n autoComplete: 'tel',\n\n /**\r\n * Flag icon component.\r\n */\n flagComponent: Flag,\n\n /**\r\n * By default, uses icons from `country-flag-icons` gitlab pages website.\r\n */\n // Must be equal to `flagUrl` in `./CountryIcon.js`.\n flagUrl: 'https://catamphetamine.gitlab.io/country-flag-icons/3x2/{XX}.svg',\n\n /**\r\n * Default \"International\" country `<select/>` option icon.\r\n */\n internationalIcon: InternationalIcon,\n\n /**\r\n * Phone number `<input/>` component.\r\n */\n inputComponent: 'input',\n\n /**\r\n * Some users requested a way to reset the component:\r\n * both number `<input/>` and country `<select/>`.\r\n * Whenever `reset` property changes both number `<input/>`\r\n * and country `<select/>` are reset.\r\n * It's not implemented as some instance `.reset()` method\r\n * because `ref` is forwarded to `<input/>`.\r\n * It's also not replaced with just resetting `country` on\r\n * external `value` reset, because a user could select a country\r\n * and then not input any `value`, and so the selected country\r\n * would be \"stuck\", if not using this `reset` property.\r\n */\n // https://github.com/catamphetamine/react-phone-number-input/issues/300\n reset: PropTypes.any,\n\n /**\r\n * Don't convert the initially passed phone number `value`\r\n * to a national phone number for its country.\r\n * The reason is that the newer generation grows up when\r\n * there are no stationary phones and therefore everyone inputs\r\n * phone numbers with a `+` in their smartphones\r\n * so phone numbers written in international form\r\n * are gradually being considered more natural than local ones.\r\n */\n displayInitialValueAsLocalNumber: false,\n\n /**\r\n * Set to `false` to use \"basic\" caret instead of the \"smart\" one.\r\n */\n smartCaret: true,\n\n /**\r\n * Whether to add the \"International\" option\r\n * to the list of countries.\r\n */\n addInternationalOption: true,\n\n /**\r\n * If set to `true` the phone number input will get trimmed\r\n * if it exceeds the maximum length for the country.\r\n */\n limitMaxLength: false\n};\nexport default PhoneNumberInput;\n/**\r\n * Gets initial `parsedInput` value.\r\n * @param {string} [value]\r\n * @param {PhoneNumber} [phoneNumber]\r\n * @param {boolean} [options.international]\r\n * @param {string} [options.defaultCountry]\r\n * @param {boolean} options.displayInitialValueAsLocalNumber\r\n * @param {object} options.metadata\r\n * @return {string} [parsedInput]\r\n */\n\nfunction generateInitialParsedInput(value, phoneNumber, _ref) {\n var international = _ref.international,\n defaultCountry = _ref.defaultCountry,\n metadata = _ref.metadata,\n displayInitialValueAsLocalNumber = _ref.displayInitialValueAsLocalNumber; // If the `value` (E.164 phone number)\n // belongs to the currently selected country\n // and `displayInitialValueAsLocalNumber` property is `true`\n // then convert `value` (E.164 phone number)\n // to a local phone number digits.\n // E.g. '+78005553535' -> '88005553535'.\n\n if (displayInitialValueAsLocalNumber && phoneNumber && phoneNumber.country) {\n return generateNationalNumberDigits(phoneNumber);\n }\n\n return getInitialParsedInput(value, defaultCountry, international, metadata);\n}\n\nvar countrySelectOptionsMemo;\nvar countrySelectOptionsMemoDependencies;\n\nfunction useMemoCountrySelectOptions(generator, dependencies) {\n if (!countrySelectOptionsMemoDependencies || !areEqualArrays(dependencies, countrySelectOptionsMemoDependencies)) {\n countrySelectOptionsMemo = generator();\n countrySelectOptionsMemoDependencies = dependencies;\n }\n\n return countrySelectOptionsMemo;\n}\n\nfunction areEqualArrays(a, b) {\n if (a.length !== b.length) {\n return false;\n }\n\n var i = 0;\n\n while (i < a.length) {\n if (a[i] !== b[i]) {\n return false;\n }\n\n i++;\n }\n\n return true;\n}","/**\r\n * Creates Unicode flag from a two-letter ISO country code.\r\n * https://stackoverflow.com/questions/24050671/how-to-put-japan-flag-character-in-a-string\r\n * @param {string} country — A two-letter ISO country code (case-insensitive).\r\n * @return {string}\r\n */\nexport default function getCountryFlag(country) {\n return getRegionalIndicatorSymbol(country[0]) + getRegionalIndicatorSymbol(country[1]);\n}\n/**\r\n * Converts a letter to a Regional Indicator Symbol.\r\n * @param {string} letter\r\n * @return {string}\r\n */\n\nfunction getRegionalIndicatorSymbol(letter) {\n return String.fromCodePoint(0x1F1E6 - 65 + letter.toUpperCase().charCodeAt(0));\n}","function _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 _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 _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\nimport React, { useCallback, useMemo } from 'react';\nimport classNames from 'classnames';\nimport getUnicodeFlagIcon from 'country-flag-icons/unicode';\nexport default function CountrySelect(_ref) {\n var value = _ref.value,\n onChange = _ref.onChange,\n options = _ref.options,\n rest = _objectWithoutProperties(_ref, [\"value\", \"onChange\", \"options\"]);\n\n var onChange_ = useCallback(function (event) {\n var value = event.target.value;\n onChange(value === 'ZZ' ? undefined : value);\n }, [onChange]);\n var selectedOption = useMemo(function () {\n return getSelectedOption(options, value);\n }, [options, value]); // \"ZZ\" means \"International\".\n // (HTML requires each `<option/>` have some string `value`).\n\n return React.createElement(\"select\", _extends({}, rest, {\n value: value || 'ZZ',\n onChange: onChange_\n }), options.map(function (_ref2) {\n var value = _ref2.value,\n label = _ref2.label,\n divider = _ref2.divider;\n return React.createElement(\"option\", {\n key: divider ? '|' : value || 'ZZ',\n value: divider ? '|' : value || 'ZZ',\n disabled: divider ? true : false,\n style: divider ? DIVIDER_STYLE : undefined\n }, label);\n }));\n}\nvar DIVIDER_STYLE = {\n fontSize: '1px',\n backgroundColor: 'currentColor',\n color: 'inherit'\n};\nexport function CountrySelectWithIcon(_ref3) {\n var value = _ref3.value,\n options = _ref3.options,\n className = _ref3.className,\n Icon = _ref3.iconComponent,\n getIconAspectRatio = _ref3.getIconAspectRatio,\n Arrow = _ref3.arrowComponent,\n unicodeFlags = _ref3.unicodeFlags,\n rest = _objectWithoutProperties(_ref3, [\"value\", \"options\", \"className\", \"iconComponent\", \"getIconAspectRatio\", \"arrowComponent\", \"unicodeFlags\"]);\n\n var selectedOption = useMemo(function () {\n return getSelectedOption(options, value);\n }, [options, value]);\n return React.createElement(\"div\", {\n className: \"PhoneInputCountry\"\n }, React.createElement(CountrySelect, _extends({}, rest, {\n value: value,\n options: options,\n className: classNames('PhoneInputCountrySelect', className)\n })), unicodeFlags && value && React.createElement(\"div\", {\n className: \"PhoneInputCountryIconUnicode\"\n }, getUnicodeFlagIcon(value)), !(unicodeFlags && value) && React.createElement(Icon, {\n country: value,\n label: selectedOption && selectedOption.label,\n aspectRatio: unicodeFlags ? 1 : undefined\n }), React.createElement(Arrow, null));\n}\nCountrySelectWithIcon.defaultProps = {\n // Is \"International\" icon square?\n arrowComponent: function arrowComponent() {\n return React.createElement(\"div\", {\n className: \"PhoneInputCountrySelectArrow\"\n });\n }\n};\n\nfunction getSelectedOption(options, value) {\n for (var _iterator = options, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {\n var _ref4;\n\n if (_isArray) {\n if (_i >= _iterator.length) break;\n _ref4 = _iterator[_i++];\n } else {\n _i = _iterator.next();\n if (_i.done) break;\n _ref4 = _i.value;\n }\n\n var option = _ref4;\n\n if (!option.divider && option.value === value) {\n return option;\n }\n }\n}","function _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\nimport React from 'react';\nimport labels from '../locale/en.json';\nimport { metadata as metadataPropType, labels as labelsPropType } from './PropTypes';\nimport PhoneInput from './PhoneInputWithCountry';\nimport { CountrySelectWithIcon as CountrySelect } from './CountrySelect';\nexport function createPhoneInput(defaultMetadata) {\n var PhoneInputDefault = React.forwardRef(function (props, ref) {\n return React.createElement(PhoneInput, _extends({\n ref: ref\n }, props));\n });\n PhoneInputDefault.defaultProps = {\n metadata: defaultMetadata,\n labels: labels,\n countrySelectComponent: CountrySelect\n };\n return PhoneInputDefault;\n}\nexport default createPhoneInput();","import metadata from 'libphonenumber-js/metadata.min.json';\nimport { parsePhoneNumber as _parsePhoneNumber, formatPhoneNumber as _formatPhoneNumber, formatPhoneNumberIntl as _formatPhoneNumberIntl, isValidPhoneNumber as _isValidPhoneNumber, isPossiblePhoneNumber as _isPossiblePhoneNumber, getCountries as _getCountries, getCountryCallingCode as _getCountryCallingCode } from '../core/index';\nimport { createPhoneInput } from '../modules/PhoneInputWithCountryDefault';\n\nfunction call(func, _arguments) {\n var args = Array.prototype.slice.call(_arguments);\n args.push(metadata);\n return func.apply(this, args);\n}\n\nexport default createPhoneInput(metadata);\nexport function parsePhoneNumber() {\n return call(_parsePhoneNumber, arguments);\n}\nexport function formatPhoneNumber() {\n return call(_formatPhoneNumber, arguments);\n}\nexport function formatPhoneNumberIntl() {\n return call(_formatPhoneNumberIntl, arguments);\n}\nexport function isValidPhoneNumber() {\n return call(_isValidPhoneNumber, arguments);\n}\nexport function isPossiblePhoneNumber() {\n return call(_isPossiblePhoneNumber, arguments);\n}\nexport function getCountries() {\n return call(_getCountries, arguments);\n}\nexport function getCountryCallingCode() {\n return call(_getCountryCallingCode, arguments);\n}","function _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 _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 _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\nimport React from \"react\";\nexport default {\n AC: function AC(_ref) {\n var title = _ref.title,\n rest = _objectWithoutProperties(_ref, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z\"\n }), React.createElement(\"path\", {\n fill: \"#29DBFF\",\n d: \"M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4\"\n }), React.createElement(\"path\", {\n fill: \"#29DBFF\",\n d: \"M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1\"\n }), React.createElement(\"path\", {\n fill: \"#29DBFF\",\n d: \"M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5\"\n }), React.createElement(\"path\", {\n fill: \"#5CC85C\",\n d: \"M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z\"\n }), React.createElement(\"ellipse\", {\n transform: \"rotate(-82.3 291.431 225.686)\",\n fill: \"#F7A226\",\n cx: 291.4,\n cy: 225.7,\n rx: 48.7,\n ry: 15.7\n }), React.createElement(\"ellipse\", {\n transform: \"rotate(-68.099 303.087 164.67)\",\n fill: \"#DDC7AB\",\n cx: 303.1,\n cy: 164.7,\n rx: 11.7,\n ry: 7.2\n }), React.createElement(\"ellipse\", {\n transform: \"rotate(-81.738 291.697 271.697)\",\n fill: \"#DDC7AB\",\n cx: 291.7,\n cy: 271.7,\n rx: 11.4,\n ry: 3.3\n }), React.createElement(\"ellipse\", {\n transform: \"matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)\",\n fill: \"#DDC7AB\",\n cx: 299.6,\n cy: 269.4,\n rx: 3.3,\n ry: 11\n }), React.createElement(\"ellipse\", {\n transform: \"rotate(-21.518 314.54 201.06)\",\n fill: \"#DDC7AB\",\n cx: 314.5,\n cy: 201.1,\n rx: 4.1,\n ry: 13.7\n }), React.createElement(\"ellipse\", {\n transform: \"rotate(-21.518 317.511 178.077)\",\n fill: \"#DDC7AB\",\n cx: 317.5,\n cy: 178.1,\n rx: 13.7,\n ry: 4.1\n }), React.createElement(\"ellipse\", {\n transform: \"rotate(-7.7 473.781 225.857)\",\n fill: \"#F7A226\",\n cx: 473.6,\n cy: 225.9,\n rx: 15.7,\n ry: 48.7\n }), React.createElement(\"ellipse\", {\n transform: \"rotate(-21.901 462.057 164.866)\",\n fill: \"#DDC7AB\",\n cx: 462,\n cy: 164.9,\n rx: 7.2,\n ry: 11.7\n }), React.createElement(\"ellipse\", {\n transform: \"rotate(-8.27 473.27 271.908)\",\n fill: \"#DDC7AB\",\n cx: 473.4,\n cy: 271.9,\n rx: 3.3,\n ry: 11.4\n }), React.createElement(\"ellipse\", {\n transform: \"matrix(.05353 -.9986 .9986 .05353 171.34 719.998)\",\n fill: \"#DDC7AB\",\n cx: 465.5,\n cy: 269.6,\n rx: 11,\n ry: 3.3\n }), React.createElement(\"ellipse\", {\n transform: \"rotate(-68.482 450.552 201.247)\",\n fill: \"#DDC7AB\",\n cx: 450.6,\n cy: 201.2,\n rx: 13.7,\n ry: 4.1\n }), React.createElement(\"ellipse\", {\n transform: \"rotate(-68.482 447.58 178.265)\",\n fill: \"#DDC7AB\",\n cx: 447.6,\n cy: 178.3,\n rx: 4.1,\n ry: 13.7\n }), React.createElement(\"path\", {\n fill: \"#B0C6CC\",\n d: \"M373.3 130.3L356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z\"\n }), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M256 22.7v30.7h-46.1z\"\n }), React.createElement(\"g\", null, React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z\"\n }));\n },\n AD: function AD(_ref2) {\n var title = _ref2.title,\n rest = _objectWithoutProperties(_ref2, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h171v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M342 0h171v342H342zM198.92 113.58H256v64.8h-57.08zM309.16 228.68L256 243.18v-64.8h57.08z\"\n }), React.createElement(\"path\", {\n fill: \"#BC8B00\",\n d: \"M182.24 95.92v92.2c0 34.32 27.26 54.17 48.63 64.46-.8 1.37 25.13 8.26 25.13 8.26s25.93-6.9 25.13-8.26c21.38-10.29 48.63-30.14 48.63-64.46v-92.2H182.24zm129.86 92.2c0 16.88-10 29.43-32.76 43.9-8.62 5.48-17.54 9.03-23.34 11.01-5.8-1.98-14.72-5.53-23.34-11.01-22.76-14.47-32.76-28.02-32.76-43.9v-74.54h112.2v74.54z\"\n }));\n },\n AE: function AE(_ref3) {\n var title = _ref3.title,\n rest = _objectWithoutProperties(_ref3, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 0h513v114H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 228h513v114H0z\"\n }), React.createElement(\"path\", {\n fill: \"#dd0d12\",\n d: \"M0 0h171v342H0z\"\n }));\n },\n AF: function AF(_ref4) {\n var title = _ref4.title,\n rest = _objectWithoutProperties(_ref4, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#DB3E00\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#479900\",\n d: \"M331 0h182v342H331z\"\n }), React.createElement(\"path\", {\n d: \"M0 0h181.8v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 126.7c-19.4 0-35.2 15.8-35.2 35.2v52.8h70.4v-52.8c0-19.5-15.8-35.2-35.2-35.2z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 84.3c-47.7 0-86.4 38.7-86.4 86.4S208.3 257 256 257s86.4-38.7 86.4-86.4-38.7-86.3-86.4-86.3zm0 157.7c-39.4 0-71.4-32-71.4-71.4 0-39.4 32-71.4 71.4-71.4 39.4 0 71.4 32 71.4 71.4 0 39.5-32 71.4-71.4 71.4z\"\n }));\n },\n AG: function AG(_ref5) {\n var title = _ref5.title,\n rest = _objectWithoutProperties(_ref5, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#186DD2\",\n d: \"M88.8 136.5c-2.2 12.9-3.4 26.2-3.4 39.8 0 13.6 1.2 27 3.4 39.8L256 228.3l167.2-12.1c2.2-12.9 3.4-26.2 3.4-39.8s-1.2-27-3.4-39.8\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M423.2 219H88.8c15.8 69.8 84.7 122.3 167.2 122.3S407.4 288.8 423.2 219z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M365.9 136.5H146.1l44.9-21.1-23.9-43.5 48.8 9.4L222 32l34 36.2L290 32l6.1 49.3 48.8-9.4-23.9 43.5z\"\n }), React.createElement(\"g\", {\n fill: \"#C32500\"\n }, React.createElement(\"path\", {\n d: \"M256.5 342L0 0v342z\"\n }), React.createElement(\"path\", {\n d: \"M513 342V0L256 342z\"\n })));\n },\n AI: function AI(_ref6) {\n var title = _ref6.title,\n rest = _objectWithoutProperties(_ref6, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M454.8 265.38c7.94-10.93 13.24-24.27 13.24-40.42V104.89a59.754 59.754 0 01-36.02 12.01c-19.64 0-37.07-9.43-48.03-24.01-10.95 14.58-28.39 24.01-48.03 24.01-13.52 0-25.99-4.47-36.02-12v120.06c0 16.16 5.3 29.5 13.24 40.42H454.8z\"\n }), React.createElement(\"path\", {\n fill: \"#8DCCFF\",\n d: \"M310.23 260.98C332.65 296.96 384 309 384 309s51.35-12.04 73.77-48.02H310.23z\"\n }), React.createElement(\"path\", {\n fill: \"#D87B00\",\n d: \"M396.66 172.21c.32 1.42 8.72 10.17 17.56 20.15 1.39 1.57-8.74 12.63-6.91 12.59 4.75-.12 19.27-17.26 19.34 6.65.05 15.94-30 27.51-30 27.51h17.47l.65 14.96s4.97-13.34 7.59-16.57c8.1-9.97 20.18-30.07 34.59-27.1 14.41 2.97-13.66-13.92-13.66-13.92s-5.2-15.19-16.63-16.97c-10.06-1.57-14.29-2.51-26.64-7.3-1.68-.65-3.88-2.32-3.36 0z\"\n }), React.createElement(\"path\", {\n fill: \"#D87B00\",\n d: \"M359.69 198.69c1.07-.99 4.46-12.63 8.69-25.28.67-1.99 15.31 1.27 14.35-.3-2.47-4.06-24.58-8.08-3.9-20.08 13.79-8 38.82 12.27 38.82 12.27l-8.72-15.14 12.64-8.03s-14.05 2.35-18.14 1.69c-12.68-2.04-36.13-2.48-40.75-16.45-4.62-13.97-5.25 18.79-5.25 18.79s-10.56 12.08-6.4 22.88c3.66 9.5 4.96 13.64 6.97 26.73.29 1.79-.06 4.53 1.69 2.92z\"\n }), React.createElement(\"path\", {\n fill: \"#D87B00\",\n d: \"M395.67 219.87c-1.39-.43-13.16 2.49-26.22 5.18-2.06.42-6.59-13.88-7.47-12.26-2.27 4.17 5.36 25.31-15.41 13.45-13.84-7.91-8.89-39.73-8.89-39.73l-8.71 15.14-13.29-6.9s9.09 10.96 10.57 14.84c4.6 11.99 16 32.49 6.24 43.49-9.76 11.01 18.88-4.9 18.88-4.9s15.76 3.07 23-5.96c6.38-7.94 9.3-11.14 19.61-19.45 1.43-1.12 3.97-2.19 1.69-2.9z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256.5 0h-23.1L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1V171h22.6L96 121.8V171h64v-49.2l73.4 49.2h23.1v-22.9l-46.6-30.7h46.6v-64h-46.6l46.6-30.7z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M144 0h-32v69.4H0v32h112V171h32v-69.6h112.5v-32H144z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 171v-11.3l62.5-42.3h22.6L7.3 171zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256.5.1v11l-63 42.3h-22.6L248.7.1zM248.7 171l-77.8-53.6h22.6l63 42.3V171z\"\n }));\n },\n AL: function AL(_ref7) {\n var title = _ref7.title,\n rest = _objectWithoutProperties(_ref7, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 90 60\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#ED2024\",\n d: \"M0 0h90v60H0z\"\n }), React.createElement(\"path\", {\n fill: \"#212121\",\n d: \"M32.5 12.2v16l7.1 2.5-5 4.9 2.4 3 5.3-5.5 1.2 2.3-3 4.9 3.6 5.6-1.8 2.6 2.8 3.6 2.7-3.7-1.5-2.6 3-5.8-2.7-4.6 1.2-2.3 5.2 5.5 2.5-2.9-5.2-5.1 7.2-2.6V12.2l-5.2 1.9-.1 3.8-3.3.3v-2.6l1.7-2.3 5.6-2.2-2.3-.4 1.4-1.2.9.4-.8-1.4L54 9l-1-1.1L47.5 9l1.4 1.1-3.8 4.9-3.8-4.8 1.3-1.1-5-1.2L36.2 9l-1.5-.4-.8 1.4.9-.6 1.6 1.1-2.3.5 5.5 2 1.6 2.3v2.9l-3.3-.3v-3.6z\"\n }), React.createElement(\"g\", {\n fill: \"#212121\"\n }, React.createElement(\"path\", {\n d: \"M26.2 25h6.4v2.5h-6.4zM26.2 20.9h6.4v2.7h-6.4zM26.2 16.7h6.4v2.6h-6.4zM26.2 12.7h6.4v2.5h-6.4z\"\n })), React.createElement(\"g\", {\n fill: \"#212121\"\n }, React.createElement(\"path\", {\n d: \"M57.4 25h6.4v2.5h-6.4zM57.4 20.9h6.4v2.7h-6.4zM57.4 16.7h6.4v2.6h-6.4zM57.4 12.7h6.4v2.5h-6.4z\"\n })), React.createElement(\"path\", {\n fill: \"#212121\",\n d: \"M53.4 36.1h6.4V38h-6.4zM30.2 36.1h6.4V38h-6.4z\"\n }));\n },\n AM: function AM(_ref8) {\n var title = _ref8.title,\n rest = _objectWithoutProperties(_ref8, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 0h513v114H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M0 228h513v114H0z\"\n }));\n },\n AO: function AO(_ref9) {\n var title = _ref9.title,\n rest = _objectWithoutProperties(_ref9, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n d: \"M0 171h513v171H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 0h513v171H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M197.01 139.81c-9.32 12.37-9 27.81 3.37 37.12 0 0 162.62 122.13 164.64 123.93 2.02 1.8 6.3 2.38 11-3.27 4.46-5.36 3.31-9.78 1.04-11.63S197.01 139.81 197.01 139.81zM264.42 79.12l11.72 24.03 26.45 3.96-19.23 18.58 4.4 26.38-23.61-12.55-23.73 12.33 4.64-26.33L226 106.77l26.47-3.73z\"\n }), React.createElement(\"path\", {\n d: \"M268.67 39.2l-3.2 22.04c51.81 3.9 92.64 47.18 92.64 99.99 0 55.38-44.9 100.28-100.28 100.28-40.82 0-75.94-24.39-91.59-59.4l-18.4 13.11c19.96 40.59 61.71 68.52 110 68.52 67.66 0 122.51-54.85 122.51-122.51-.01-64.01-49.1-116.54-111.68-122.03z\"\n })));\n },\n AQ: function AQ(_ref10) {\n var title = _ref10.title,\n rest = _objectWithoutProperties(_ref10, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 744 496\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#3A7DCE\",\n d: \"M0 0h744v496H0V0z\"\n }), React.createElement(\"path\", {\n fill: \"#fff\",\n d: \"M120 125l90 63 54-14 23-81 61-36 92 14 105 55 6 90 34 12v92l-65 115-78 24-72-17 18-30-8-32-10 9-162-25-49-85 20-46-49-62z\"\n }));\n },\n AR: function AR(_ref11) {\n var title = _ref11.title,\n rest = _objectWithoutProperties(_ref11, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 0h512v114H0zM0 228h512v114H0z\"\n }), React.createElement(\"circle\", {\n fill: \"#FFDA44\",\n stroke: \"#d6ab00\",\n strokeWidth: 5,\n cx: 256.5,\n cy: 171,\n r: 40\n }));\n },\n AS: function AS(_ref12) {\n var title = _ref12.title,\n rest = _objectWithoutProperties(_ref12, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M513 33L95.3 171 513 310.76v30.57L0 171 513 0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M513 287.18v24.58L81.72 171 513 30v24.16\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M476.98 140.21l-21.89 10.68-3.18-15.32 31.19-29.77s-9.42-40.65-13.75-44.98l-112.32 55.82-6.84 36.76-31.9 28.59-.4 34.2 34.29-22.76 67.23-2.66-1.51 38.11h22.23l11.9-44.64 31.55-24.61-6.6-19.42z\"\n }), React.createElement(\"path\", {\n fill: \"#EFC100\",\n stroke: \"#231F20\",\n strokeMiterlimit: 10,\n d: \"M317.89 238.41l-22.24-11.11 22.24-11.11h144.46v22.22z\"\n }));\n },\n AT: function AT(_ref13) {\n var title = _ref13.title,\n rest = _objectWithoutProperties(_ref13, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 114h513v114H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 0h513v114H0zM0 228h513v114H0z\"\n }));\n },\n AU: function AU(_ref14) {\n var title = _ref14.title,\n rest = _objectWithoutProperties(_ref14, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M222.2 170.7c.3-.3.5-.6.8-.9-.2.3-.5.6-.8.9zM188 212.6l11 22.9 24.7-5.7-11 22.8 19.9 15.8-24.8 5.6.1 25.4-19.9-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zM385.9 241.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM337.3 125.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9L332 136zM385.9 58.9l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zM428.4 108.6l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.4-7.6-9.5 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM398 166.5l4.1 12.7h13.3l-10.8 7.8 4.2 12.7-10.8-7.9-10.8 7.9 4.1-12.7-10.7-7.8h13.3z\"\n }), React.createElement(\"path\", {\n d: \"M254.8 0v30.6l-45.1 25.1h45.1V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9H99v-48.6l-87.4 48.6H-1.2v-30.6L44 115H-1.2V55.7h59.1L-1.2 22.8V0h26.7L99 40.8V0h55.6v48.6L242.1 0z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M142.8 0h-32v69.3h-112v32h112v69.4h32v-69.4h112v-32h-112z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M154.6 115l100.2 55.7v-15.8L183 115z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M154.6 115l100.2 55.7v-15.8L183 115z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M154.6 115l100.2 55.7v-15.8L183 115zM70.7 115l-71.9 39.9v15.8L99 115z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M99 55.7L-1.2 0v15.7l71.9 40z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M99 55.7L-1.2 0v15.7l71.9 40z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M99 55.7L-1.2 0v15.7l71.9 40zM183 55.7l71.8-40V0L154.6 55.7z\"\n })));\n },\n AW: function AW(_ref15) {\n var title = _ref15.title,\n rest = _objectWithoutProperties(_ref15, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 363 242\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 0h363v242H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M57 96.9L14.7 78.2 57 59.6l18.6-42.2 18.6 42.2 42.3 18.6-42.3 18.7-18.6 42.2z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M75.6 40.6l11.5 26.1 26.1 11.5-26.1 11.5-11.5 26.1-11.5-26.1L38 78.2l26.1-11.5z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M0 152.2h363v15.7H0zM0 183.6h363v15.7H0z\"\n })));\n },\n AX: function AX(_ref16) {\n var title = _ref16.title,\n rest = _objectWithoutProperties(_ref16, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M513 210.9H202.2V342h-79.8V210.9H0V131.1h122.4V0h79.8v131.1H513v61.2z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M513 149.7v42.6H183.7V342H141V192.3H0v-42.6h141V0h42.7v149.7z\"\n }));\n },\n AZ: function AZ(_ref17) {\n var title = _ref17.title,\n rest = _objectWithoutProperties(_ref17, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 0h513v114H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 228h513v114H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M265.6 212.6c-23 0-41.6-18.6-41.6-41.6s18.6-41.6 41.6-41.6c7.2 0 13.9 1.8 19.8 5-9.2-9-21.9-14.6-35.8-14.6-28.3 0-51.2 22.9-51.2 51.2s22.9 51.2 51.2 51.2c13.9 0 26.6-5.6 35.8-14.6-5.9 3.2-12.6 5-19.8 5z\"\n }), React.createElement(\"path\", {\n d: \"M297.6 142.2l5.5 15.5 14.9-7.1-7.1 14.9 15.5 5.5-15.5 5.5 7.1 14.9-14.9-7.1-5.5 15.5-5.5-15.5-14.9 7.1 7.1-14.9-15.5-5.5 15.5-5.5-7.1-14.9 14.9 7.1z\"\n })));\n },\n BA: function BA(_ref18) {\n var title = _ref18.title,\n rest = _objectWithoutProperties(_ref18, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.334h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M99.905 85.329h341.333v341.334\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M36.561 100.645l14.843-10.807 14.867 10.794-4.979-15.302H41.525z\"\n }), React.createElement(\"path\", {\n d: \"M88.332 103.632L82.649 86.16l-5.672 17.472-18.365.012 14.867 10.796-5.661 17.461 14.843-10.806 14.866 10.795-5.684-17.474 14.854-10.795z\"\n }), React.createElement(\"path\", {\n d: \"M119.59 134.89l-5.684-17.474-5.673 17.474-18.365.011 14.867 10.795-5.661 17.462 14.844-10.807 14.866 10.796-5.685-17.474 14.856-10.794z\"\n }), React.createElement(\"path\", {\n d: \"M150.846 166.146l-5.683-17.473-5.673 17.473-18.364.011 14.866 10.796-5.661 17.461 14.843-10.806 14.866 10.795-5.683-17.474 14.855-10.794z\"\n }), React.createElement(\"path\", {\n d: \"M182.103 197.403l-5.683-17.474-5.672 17.474-18.366.011 14.866 10.795-5.66 17.462 14.843-10.807 14.866 10.796-5.684-17.473 14.855-10.795z\"\n }), React.createElement(\"path\", {\n d: \"M213.359 228.659l-5.683-17.472-5.672 17.472-18.365.012 14.866 10.795-5.66 17.462 14.842-10.806 14.866 10.794-5.683-17.473 14.855-10.795z\"\n }), React.createElement(\"path\", {\n d: \"M244.616 259.916l-5.683-17.473-5.672 17.473-18.366.012 14.867 10.795-5.661 17.462 14.844-10.807 14.866 10.794-5.685-17.472 14.855-10.794z\"\n }), React.createElement(\"path\", {\n d: \"M275.872 291.173L270.19 273.7l-5.673 17.473-18.365.011 14.867 10.796-5.661 17.461 14.843-10.806 14.866 10.795-5.683-17.474 14.853-10.794z\"\n }), React.createElement(\"path\", {\n d: \"M307.13 322.43l-5.683-17.474-5.674 17.474-18.364.011 14.866 10.795-5.661 17.462 14.844-10.807 14.866 10.796-5.684-17.474 14.855-10.794z\"\n }), React.createElement(\"path\", {\n d: \"M338.386 353.686l-5.683-17.472-5.672 17.472-18.365.012 14.866 10.795-5.661 17.462 14.843-10.807 14.866 10.795-5.683-17.472 14.855-10.796z\"\n }), React.createElement(\"path\", {\n d: \"M369.643 384.943l-5.683-17.473-5.672 17.473-18.366.012 14.866 10.794-5.66 17.463 14.843-10.807 14.866 10.795-5.684-17.473 14.855-10.795z\"\n }), React.createElement(\"path\", {\n d: \"M395.216 398.727l-5.672 17.472-18.365.012 14.394 10.453h19.278l14.414-10.476-18.366.011z\"\n })));\n },\n BB: function BB(_ref19) {\n var title = _ref19.title,\n rest = _objectWithoutProperties(_ref19, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.33\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 0h512v341.34H0z\"\n }), React.createElement(\"g\", {\n fill: \"#0052B4\"\n }, React.createElement(\"path\", {\n d: \"M0 0h170.66v341.34H0zM341.34 0H512v341.34H341.34z\"\n })), React.createElement(\"path\", {\n d: \"M325.74 101.02l-31.97 12.4c-.68 1.35-5.79 7.54-8.18 53.06h-17.05v-60.42L256 78.68l-12.54 27v60.8H226.4c-2.39-45.53-7.8-52.48-8.47-53.84l-31.68-11.63c.15.31 15.4 31.34 15.4 78.01v12.54h41.81v71.07h25.08v-71.07h41.81v-12.54c0-24.13 4.17-44.02 7.68-56.46 3.82-13.57 7.7-21.49 7.74-21.57l-.03.03z\"\n }));\n },\n BD: function BD(_ref20) {\n var title = _ref20.title,\n rest = _objectWithoutProperties(_ref20, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"circle\", {\n fill: \"#F40B32\",\n cx: 218.902,\n cy: 255.994,\n r: 115\n }));\n },\n BE: function BE(_ref21) {\n var title = _ref21.title,\n rest = _objectWithoutProperties(_ref21, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.331h170.663v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M341.337 85.331H512v341.337H341.337z\"\n }));\n },\n BF: function BF(_ref22) {\n var title = _ref22.title,\n rest = _objectWithoutProperties(_ref22, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 0h512v170.7H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M256 66.9l25.8 79.3h83.3l-67.4 49 25.7 79.3-67.4-49-67.4 49 25.7-79.3-67.4-49h83.3z\"\n }));\n },\n BG: function BG(_ref23) {\n var title = _ref23.title,\n rest = _objectWithoutProperties(_ref23, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 312.888h512v113.775H0z\"\n }));\n },\n BH: function BH(_ref24) {\n var title = _ref24.title,\n rest = _objectWithoutProperties(_ref24, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M2.216 86.076H512v339.848H2.216z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M209.455 154.969l-50.236 25.267 50.236 25.257-50.236 25.267 50.236 25.257-50.236 25.266 50.236 25.257-50.236 25.268 50.236 25.257-50.236 25.267 50.236 25.268-36.45 18.33H0V86.07h172.939l36.516 18.364-50.236 25.267z\"\n }));\n },\n BI: function BI(_ref25) {\n var title = _ref25.title,\n rest = _objectWithoutProperties(_ref25, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"g\", {\n fill: \"#6DA544\"\n }, React.createElement(\"path\", {\n d: \"M215.9 170.7L0 314.6V26.8zM512 26.8v287.8L296.1 170.7z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M512 26.8L296.1 170.7 512 314.6v26.7h-40.1L256 197.4 40.1 341.3H0v-26.7l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H512z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M512 26.8L296.1 170.7 512 314.6v26.7h-40.1L256 197.4 40.1 341.3H0v-26.7l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H512z\"\n }), React.createElement(\"circle\", {\n fill: \"#FFF\",\n cx: 251.6,\n cy: 170.7,\n r: 100.2\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M251.6 93.3l10.1 17.5h20.2l-10.1 17.5 10.1 17.5h-20.2l-10.1 17.5-10.1-17.5h-20.2l10.1-17.5-10.1-17.5h20.2zM210.3 163.4l10.1 17.5h20.3l-10.1 17.5 10.1 17.5h-20.3l-10.1 17.5-10.1-17.5H180l10.1-17.5-10.1-17.5h20.2zM292.8 163.4l10.1 17.5h20.2L313 198.4l10.1 17.5h-20.2l-10.1 17.5-10.1-17.5h-20.2l10.1-17.5-10.1-17.5h20.2z\"\n })));\n },\n BJ: function BJ(_ref26) {\n var title = _ref26.title,\n rest = _objectWithoutProperties(_ref26, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M196.641 85.337H512V256H196.641z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M196.641 256H512v170.663H196.641z\"\n }));\n },\n BL: function BL(_ref27) {\n var title = _ref27.title,\n rest = _objectWithoutProperties(_ref27, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.33\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v341.33H0z\"\n }), React.createElement(\"path\", {\n fill: \"#E6BC00\",\n d: \"M157.31 199.76s-9.04 43.93-19.31 40.39c-10.62-3.54-17.53-18.76-17.53-18.76l-14.52 21.24s38.18 8.48 41.01 5.47c1.22-1.14 8.21-15.1 10.34-26.05v-22.29zm-56.13 60.57s-2.48 20.18-1.06 22.66c1.24 2.3 39.48 11.33 39.48 11.33s-24.96 16.46-29.74 20.54L91.8 284.94l-.71-24.61h10.09zM112.51 94.64s39.65 41.6 40.36 45.5c.71 3.72-4.25 3.19-4.25 3.19s-44.79-37.53-49.92-41.07c-5.31-3.55 13.81-7.62 13.81-7.62z\"\n }), React.createElement(\"path\", {\n fill: \"#ADADAD\",\n d: \"M99.41 104.73s16.99-.71 16.64-11.51c-.35-10.62-11.15-14.87-19.12-12.39-7.97 2.3-23.01 13.45-13.63 35.05 9.38 21.42 23.37 29.39 26.2 47.8 0 0-5.46 9.86-19.12.35-16.9-11.77-6.2-38.24-10.44-44.96-4.25-7.08-40.95-38.92-40.95-38.92s-30.24 39.37-18 74.92c16.95 49.21 51.74 31.98 64.61 36.76 0 0-42.13 61.96-49.57 67.09 0 0 24.08 8.32 47.8-18.76 0 0 5.84 9.74 7.08 20.18h10.27c4.78-26.2 51.51-64.26 49.92-82.32-1.77-21.25-49.21-49.39-51.69-73.29z\"\n }), React.createElement(\"path\", {\n fill: \"#E6BC00\",\n d: \"M359.17 201.27s8.96 42.43 19.23 38.89c10.62-3.54 17.53-18.76 17.53-18.76l14.52 21.24s-37 8.48-39.83 5.47c-1.21-1.14-9.32-13.79-11.52-24.66l.07-22.18zm56.05 59.06s2.48 20.18 1.06 22.66c-1.24 2.3-39.48 11.33-39.48 11.33s24.96 16.46 29.74 20.54l18.06-29.92.71-24.61h-10.09zM403.89 94.64s-39.65 41.6-40.36 45.5c-.71 3.72 4.25 3.19 4.25 3.19s44.79-37.53 49.92-41.07c5.14-3.55-13.81-7.62-13.81-7.62z\"\n }), React.createElement(\"path\", {\n fill: \"#125ECC\",\n d: \"M157.31 87.06H359.1v145.46c0 16.06-9.69 21.39-21.91 31.85l-45.92 39.41c-18.25 15.62-47.91 15.57-66.07 0l-46.01-39.43c-12.08-10.35-21.88-15.71-21.88-31.82V87.06z\"\n }), React.createElement(\"path\", {\n fill: \"#FFE600\",\n d: \"M200.55 147.71c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65-3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zM214.96 274.43c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c.01 7.96-6.45 14.41-14.41 14.41zm43.24 14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c0 7.95-6.45 14.41-14.41 14.41zm43.24-14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z\"\n }), React.createElement(\"path\", {\n fill: \"#D60537\",\n d: \"M157.31 175.36H359.1v57.65H157.31v-57.65z\"\n }), React.createElement(\"path\", {\n fill: \"#EACE00\",\n d: \"M142.9 43.82s57.65-14.41 115.31-14.41 115.31 14.41 115.31 14.41l-14.41 57.65s-50.45-14.41-100.89-14.41-100.89 14.41-100.89 14.41L142.9 43.82z\"\n }), React.createElement(\"path\", {\n fill: \"#7A6920\",\n d: \"M258.2 72.65c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 5c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm-115.3 0c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z\"\n }), React.createElement(\"path\", {\n fill: \"#ADADAD\",\n d: \"M365.08 178.02c-1.59 18.06 45.14 56.12 49.92 82.32h10.27c1.24-10.44 7.08-20.18 7.08-20.18 23.72 27.09 47.8 18.76 47.8 18.76-7.44-5.13-49.57-67.09-49.57-67.09 12.88-4.78 47.67 12.45 64.61-36.76 12.24-35.55-18-74.92-18-74.92s-36.7 31.84-40.95 38.92c-4.25 6.73 6.46 33.2-10.44 44.96-13.66 9.51-19.12-.35-19.12-.35 2.83-18.41 16.82-26.38 26.2-47.8 9.38-21.6-5.66-32.75-13.63-35.05-7.97-2.48-18.76 1.77-19.12 12.39-.35 10.8 16.64 11.51 16.64 11.51-2.48 23.9-49.92 52.04-51.69 73.29z\"\n }), React.createElement(\"circle\", {\n fill: \"#FFF\",\n cx: 258.2,\n cy: 204.19,\n r: 16.93\n }));\n },\n BM: function BM(_ref28) {\n var title = _ref28.title,\n rest = _objectWithoutProperties(_ref28, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.33\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 0h512v341.34H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 .1h256v170.6H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 0h-22.6L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1v22.6h22.6L96 121.8v48.9h64v-48.9l73.4 48.9H256v-22.6l-46.1-30.7H256v-64h-46.1L256 22.7z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z\"\n }), React.createElement(\"g\", {\n transform: \"translate(13 5)\"\n }, React.createElement(\"path\", {\n fill: \"#fff\",\n d: \"M303.9 94.94v99.69c0 59.81 79.75 99.69 79.75 99.69s79.75-39.88 79.75-99.69V94.94H303.9z\"\n }), React.createElement(\"path\", {\n fill: \"#2F8F22\",\n d: \"M436.37 254.44H330.93c23.13 25.08 52.72 39.88 52.72 39.88s29.59-14.8 52.72-39.88z\"\n }), React.createElement(\"circle\", {\n fill: \"#65B5D2\",\n cx: 383.65,\n cy: 214.56,\n r: 39.88\n }), React.createElement(\"circle\", {\n fill: \"#D80027\",\n cx: 343.77,\n cy: 194.63,\n r: 19.94\n }), React.createElement(\"circle\", {\n fill: \"#D80027\",\n cx: 423.52,\n cy: 194.63,\n r: 19.94\n }), React.createElement(\"circle\", {\n fill: \"#D80027\",\n cx: 383.65,\n cy: 154.75,\n r: 19.94\n })));\n },\n BN: function BN(_ref29) {\n var title = _ref29.title,\n rest = _objectWithoutProperties(_ref29, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.33\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 0h512v341.33H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 193.74l512 127.19V214.26L0 97.08z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M512 234.26v-86.67L0 20.41v86.67\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\",\n stroke: \"#231F20\",\n strokeWidth: 3,\n strokeMiterlimit: 10\n }, React.createElement(\"path\", {\n d: \"M306.4 134.01a50.28 50.28 0 016.07 24.02c0 21.55-13.51 39.94-32.52 47.19v-59.51c5.7-1.19 10-6.37 10-12.59 6.9 0 12.5-5.75 12.5-12.85h-.42c6.9 0 12.91-5.75 12.91-12.85h-34.99V76.58l-14.99-27.71-15 27.71v30.84h-34.99c0 7.1 6.01 12.85 12.91 12.85h-.42c0 7.1 5.6 12.85 12.5 12.85 0 6.22 4.29 11.4 9.99 12.59v61.37c-22.09-5.39-38.48-25.3-38.48-49.05 0-8.7 2.2-16.88 6.07-24.02-10.96 11.21-17.72 26.53-17.72 43.44 0 34.32 27.82 62.15 62.15 62.15s62.15-27.83 62.15-62.15c0-16.91-6.77-32.24-17.72-43.44z\"\n }), React.createElement(\"path\", {\n d: \"M198.46 226.81s20.69 27.71 66.5 27.71 66.5-27.71 66.5-27.71l13.47 28.37s-21.03 27.71-79.97 27.71-79.97-27.71-79.97-27.71l13.47-28.37zM129.24 133.18h20.88l24.93 27.26v73.45h-26.28v-68.37zM400 133.18h-20.88l-24.93 27.26v73.45h26.27v-68.37z\"\n })));\n },\n BO: function BO(_ref30) {\n var title = _ref30.title,\n rest = _objectWithoutProperties(_ref30, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 312.888h512v113.775H0z\"\n }));\n },\n BQ: function BQ(_ref31) {\n var title = _ref31.title,\n rest = _objectWithoutProperties(_ref31, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 341.3h512V0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M250.4 0H0v166.9z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M140.4 118.3l12.2 21.2h24.5l-12.3 21.1 12.3 21.2h-24.5L140.4 203l-12.2-21.2h-24.5l12.3-21.2-12.3-21.1h24.5z\"\n }), React.createElement(\"circle\", {\n fill: \"none\",\n stroke: \"#000\",\n strokeWidth: 9,\n strokeMiterlimit: 10,\n cx: 140.4,\n cy: 160.6,\n r: 57.7\n }));\n },\n BR: function BR(_ref32) {\n var title = _ref32.title,\n rest = _objectWithoutProperties(_ref32, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M256 19.3l205.4 151.4L256 322 50.6 170.7z\"\n }), React.createElement(\"circle\", {\n fill: \"#FFF\",\n cx: 256,\n cy: 170.7,\n r: 86.5\n }), React.createElement(\"g\", {\n fill: \"#0052B4\"\n }, React.createElement(\"path\", {\n d: \"M212.8 165.3c-15 0-29.5 2.3-43.2 6.5.6 47.2 39.1 85.3 86.4 85.3 29.3 0 55.2-14.6 70.8-36.9-26.7-33.4-67.9-54.9-114-54.9zM340.9 187.2c1-5.4 1.6-10.9 1.6-16.6 0-47.8-38.7-86.5-86.5-86.5-35.6 0-66.2 21.6-79.5 52.3 11.7-2.4 23.8-3.7 36.2-3.7 50.3.1 95.7 21 128.2 54.5z\"\n })));\n },\n BS: function BS(_ref33) {\n var title = _ref33.title,\n rest = _objectWithoutProperties(_ref33, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#338AF3\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z\"\n })), React.createElement(\"path\", {\n d: \"M256 256.006L0 426.668V85.331z\"\n }));\n },\n BT: function BT(_ref34) {\n var title = _ref34.title,\n rest = _objectWithoutProperties(_ref34, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FF7415\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M512 0H0v341.3\"\n }), React.createElement(\"path\", {\n fill: \"none\",\n stroke: \"#FFF\",\n strokeWidth: 42,\n strokeMiterlimit: 10,\n d: \"M128.7 255.5s35 54 67.3 32.4c56.9-37.9-68.9-108.6-2.9-152.6 58.3-38.8 76.6 103.5 137.6 62.8 59-39.3-64.7-111.4-9.2-148.4 33.4-22.2 67.1 32.6 67.1 32.6\"\n }));\n },\n BV: function BV(_ref35) {\n var title = _ref35.title,\n rest = _objectWithoutProperties(_ref35, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 33.333 1100 733.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#ef2b2d\",\n d: \"M0 0h1100v800H0z\"\n }), React.createElement(\"path\", {\n fill: \"#fff\",\n d: \"M300 0h200v800H300z\"\n }), React.createElement(\"path\", {\n fill: \"#fff\",\n d: \"M0 300h1100v200H0z\"\n }), React.createElement(\"path\", {\n fill: \"#002868\",\n d: \"M350 0h100v800H350z\"\n }), React.createElement(\"path\", {\n fill: \"#002868\",\n d: \"M0 350h1100v100H0z\"\n }));\n },\n BW: function BW(_ref36) {\n var title = _ref36.title,\n rest = _objectWithoutProperties(_ref36, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#338AF3\"\n }, React.createElement(\"path\", {\n d: \"M0 322.783h512v103.88H0zM0 85.337h512v104.515H0z\"\n })), React.createElement(\"path\", {\n d: \"M0 210.877h512v89.656H0z\"\n }));\n },\n BY: function BY(_ref37) {\n var title = _ref37.title,\n rest = _objectWithoutProperties(_ref37, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#75AF2B\",\n d: \"M.6.2H512v341H.6z\"\n }), React.createElement(\"path\", {\n fill: \"#D32424\",\n d: \"M0 230h512V.2H0\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M100.1 230V.2H0v340.9h511.4-411.3z\"\n }), React.createElement(\"path\", {\n fill: \"#D32424\",\n d: \"M51.6 218l-38-47.7 38-46.9 38 46.9zM51.6 113.4l-38-47.7 38-46.9 38 46.9zM51.6 322.6l-38-47.7 38-46.9 38 46.9z\"\n }));\n },\n BZ: function BZ(_ref38) {\n var title = _ref38.title,\n rest = _objectWithoutProperties(_ref38, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"circle\", {\n fill: \"#FFF\",\n cx: 260.9,\n cy: 170.9,\n r: 118.9\n }), React.createElement(\"circle\", {\n fill: \"none\",\n stroke: \"#6DA544\",\n strokeWidth: 18,\n strokeMiterlimit: 10,\n cx: 261.9,\n cy: 173.1,\n r: 94.5\n }), React.createElement(\"g\", {\n stroke: \"#000\"\n }, React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M261.9 151.5l-50.6 23.4v20c0 11.8 6.1 22.8 16.2 28.9L262 239l34.5-15.2c10-6.2 16.2-17.1 16.2-28.9v-20l-50.8-23.4z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M211.3 128.1h101.3v46.7H211.3z\"\n })), React.createElement(\"g\", {\n fill: \"#BC0029\"\n }, React.createElement(\"path\", {\n d: \"M0 0h512v35H0zM0 306h512v35H0z\"\n })));\n },\n CA: function CA(_ref39) {\n var title = _ref39.title,\n rest = _objectWithoutProperties(_ref39, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 0h142v341.3H0zM370 0h142v341.3H370zM306.5 206l50.4-25.2-25.2-12.6V143l-50.4 25.2 25.2-50.4h-25.2L256.1 80l-25.2 37.8h-25.2l25.2 50.4-50.4-25.2v25.2l-25.2 12.6 50.4 25.2-12.6 25.2h50.4V269h25.2v-37.8h50.4z\"\n })));\n },\n CC: function CC(_ref40) {\n var title = _ref40.title,\n rest = _objectWithoutProperties(_ref40, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M422.7 252.4l6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.2V301l-11.1-8.9-11.1 8.9v-14.2l-13.8-3.2 11.1-8.8-6.2-12.8 13.9 3.2zM376.1 116.1l6.2 12.9 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.1v14.3l-11.1-8.9-11.1 8.9.1-14.3-13.9-3.1 11.1-8.8-6.2-12.8L370 129zM413.1 38.3l6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.9-13.9 3.1v14.2L413.1 78 402 86.9l.1-14.2-13.9-3.1 11.1-8.9-6.2-12.8 13.9 3.2zM464.9 96.7l6.2 12.8 13.9-3.2-6.3 12.8 11.2 8.9-13.9 3.1.1 14.2-11.2-8.9-11.1 8.9.1-14.2L440 128l11.2-8.9-6.3-12.8 13.9 3.2zM436.9 164.8l4.9 14.8h15.6l-12.6 9.2 4.8 14.9-12.7-9.2-12.6 9.2 4.8-14.9-12.6-9.2h15.6z\"\n })), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M306.8 254.7c-49.2 0-89.1-39.9-89.1-89.1s39.9-89.1 89.1-89.1c15.3 0 29.8 3.9 42.4 10.7C329.4 67.9 302.3 56 272.5 56c-60.5 0-109.6 49.1-109.6 109.6S212 275.3 272.5 275.3c29.8 0 56.9-11.9 76.6-31.3-12.6 6.8-27 10.7-42.3 10.7zM140.4 59.5C129.7 41 109.7 28.6 86.8 28.6S44 41 33.3 59.5h107.1zM140.6 59.9l-53.8 53.8-53.7-53.8C28 68.9 25 79.3 25 90.5c0 34.2 27.7 61.9 61.9 61.9s61.9-27.7 61.9-61.9c-.1-11.2-3.1-21.6-8.2-30.6z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M71.4 98.2v52.2c4.9 1.3 10.1 1.9 15.5 1.9s10.5-.7 15.5-1.9V98.2h-31z\"\n }));\n },\n CD: function CD(_ref41) {\n var title = _ref41.title,\n rest = _objectWithoutProperties(_ref41, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M512 66.9V0H411.7L0 274.4v66.9h100.3z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M512 0v40.1L60.2 341.3H0v-40.1L451.8 0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M93.6 31.2l16.3 50.4H163l-42.9 31.2 16.4 50.5-42.9-31.2-43 31.2L67 112.8 24.1 81.6h53.1z\"\n }));\n },\n CF: function CF(_ref42) {\n var title = _ref42.title,\n rest = _objectWithoutProperties(_ref42, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"g\", {\n fill: \"#6DA544\"\n }, React.createElement(\"path\", {\n d: \"M0 170.7h211.5V256H0zM300.5 170.7H512V256H300.5z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0v85.3h211.5V0h89v85.3H512V0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M300.5 85.3H512v85.3H300.5zM0 85.3h211.5v85.3H0z\"\n })), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M300.5 341.3h-89V256H0v85.3h512V256H300.5zM105.7 8.6l8.6 26.2h27.5L119.5 51l8.6 26.2L105.7 61 83.4 77.2 91.9 51 69.6 34.8h27.6z\"\n })));\n },\n CG: function CG(_ref43) {\n var title = _ref43.title,\n rest = _objectWithoutProperties(_ref43, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M443.726 85.331L102.4 426.657H0V85.331z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M500.124 85.331L158.798 426.657H11.876L353.202 85.331z\"\n }));\n },\n CH: function CH(_ref44) {\n var title = _ref44.title,\n rest = _objectWithoutProperties(_ref44, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M356.174 222.609h-66.783v-66.783h-66.782v66.783h-66.783v66.782h66.783v66.783h66.782v-66.783h66.783z\"\n }));\n },\n CI: function CI(_ref45) {\n var title = _ref45.title,\n rest = _objectWithoutProperties(_ref45, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M330.207 85.331H512v341.337H330.207z\"\n }), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M0 85.331h181.793v341.337H0z\"\n }));\n },\n CK: function CK(_ref46) {\n var title = _ref46.title,\n rest = _objectWithoutProperties(_ref46, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.332h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M384 156.705l5.283 16.254h17.089l-13.826 10.045 5.281 16.254L384 189.211l-13.825 10.047 5.28-16.254-13.825-10.045h17.089zM313.791 185.786l15.228 7.758 12.084-12.083-2.673 16.879 15.227 7.759-16.879 2.673-2.674 16.88-7.76-15.227-16.878 2.673 12.086-12.084zM284.71 255.995l16.254-5.281.001-17.089 10.044 13.825 16.254-5.282-10.046 13.827 10.046 13.826-16.254-5.28-10.044 13.825v-17.09zM313.791 326.204l7.759-15.229-12.084-12.084 16.881 2.674 7.757-15.227 2.674 16.879 16.879 2.672-15.227 7.759 2.673 16.882-12.084-12.087zM384 355.284l-5.281-16.253h-17.091l13.827-10.045-5.28-16.254L384 322.776l13.827-10.044-5.281 16.254 13.826 10.045h-17.089zM454.209 326.204l-15.229-7.758-12.083 12.084 2.673-16.882-15.227-7.756 16.879-2.675 2.675-16.879 7.756 15.227 16.881-2.674-12.086 12.085zM483.29 255.995l-16.254 5.281v17.09l-10.045-13.826-16.254 5.281 10.046-13.826-10.046-13.827 16.254 5.282 10.045-13.825v17.089zM454.209 185.788l-7.757 15.226 12.082 12.084-16.881-2.673-7.756 15.227-2.675-16.88-16.879-2.675 15.227-7.757-2.673-16.878 12.084 12.082zM0 186.665v16h46.069L0 233.377v7.539l57.377-38.252H80L0 255.998h112v-69.334H0zm96 69.331H22.628L96 207.083v48.913zM176 138.665l80-53.334H144v69.334h112v-16h-46.069L256 107.951v-7.539l-57.377 38.251H176v.002zm-16-53.332h73.372L160 134.246V85.333zM144 255.998h112l-80-53.334h22.623L256 240.917v-7.539l-46.069-30.713H256v-16H144v69.333zm16-48.915l73.372 48.913H160v-48.913zM112 85.331H0l80 53.334H57.377L0 100.413v7.539l46.069 30.712H0v16h112V85.331zm-16 48.915L22.628 85.333H96v48.913z\"\n })), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M144 85.331h-32v69.334H0v32h112v69.333h32v-69.333h112v-32H144z\"\n }), React.createElement(\"path\", {\n d: \"M80 138.665L0 85.331v15.082l57.377 38.252zM176 138.665h22.623L256 100.413V85.331zM57.377 202.665L0 240.917v15.081l80-53.333zM176 202.665l80 53.333v-15.081l-57.377-38.252z\"\n })));\n },\n CL: function CL(_ref47) {\n var title = _ref47.title,\n rest = _objectWithoutProperties(_ref47, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 85.337h256V256H256z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.337h256V256H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M128 109.801l15.108 46.498H192l-39.554 28.739 15.108 46.498L128 202.799l-39.554 28.737 15.108-46.498L64 156.299h48.892z\"\n }));\n },\n CM: function CM(_ref48) {\n var title = _ref48.title,\n rest = _objectWithoutProperties(_ref48, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 0h170.7v341.3H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M341.3 0H512v341.3H341.3zM256 102.2l17.2 53H329L283.9 188l17.2 53-45.1-32.7-45.1 32.7 17.2-53-45.1-32.8h55.8z\"\n })));\n },\n CN: function CN(_ref49) {\n var title = _ref49.title,\n rest = _objectWithoutProperties(_ref49, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M352.3 312.6L328 294.9l-24.4 17.7 9.3-28.6-24.3-17.7h30.1l9.3-28.6 9.3 28.6h30.1L343 284zM415.9 120.9l-24.4 17.7 9.3 28.6-24.3-17.7-24.4 17.7 9.3-28.6-24.3-17.7h30.1l9.3-28.6 9.3 28.6zM367.4 57.4L343 75l9.3 28.7L328 86l-24.4 17.7 9.3-28.7-24.3-17.6h30.1l9.3-28.7 9.3 28.7zM415.9 204.4L391.5 222l9.3 28.7-24.3-17.7-24.4 17.7 9.3-28.7-24.3-17.6h30.1l9.3-28.7 9.3 28.7z\"\n })), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M167.6 64.4l26 80.3h84.5l-68.3 49.6 26.1 80.4-68.3-49.7-68.4 49.7 26.1-80.4L57 144.7h84.5z\"\n }));\n },\n CO: function CO(_ref50) {\n var title = _ref50.title,\n rest = _objectWithoutProperties(_ref50, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 343.096h512v83.567H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 256h512v87.096H0z\"\n }));\n },\n CR: function CR(_ref51) {\n var title = _ref51.title,\n rest = _objectWithoutProperties(_ref51, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 211.473h512v89.043H0z\"\n }), React.createElement(\"g\", {\n fill: \"#0052B4\"\n }, React.createElement(\"path\", {\n d: \"M0 352.462h512v74.207H0zM0 85.331h512v74.207H0z\"\n })));\n },\n CU: function CU(_ref52) {\n var title = _ref52.title,\n rest = _objectWithoutProperties(_ref52, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M0-40.8v422.9-211.4z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"g\", {\n fill: \"#0052B4\"\n }, React.createElement(\"path\", {\n d: \"M0 0h512v68.3H0zM0 136.5h512v68.3H0zM0 273.1h512v68.3H0z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M256 170.7L0 341.3V0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M81.5 94.8l16.9 51.9H153l-44.2 32.1 16.9 52-44.2-32.1-44.2 32.1 16.9-52L10 146.7h54.6z\"\n }));\n },\n CV: function CV(_ref53) {\n var title = _ref53.title,\n rest = _objectWithoutProperties(_ref53, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 182.2h512v41.4H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 140.8h512v41.4H0zM0 223.6h512V265H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\",\n stroke: \"#000\",\n strokeMiterlimit: 10\n }, React.createElement(\"path\", {\n d: \"M150.4 70l6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13.1-17.9 13.1 6.8-21.1-17.9-13.1h22.2zM150.4 279.7l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13h22.2zM52.8 208.8l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13H46zM90.1 91l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-18-13h22.3zM23.8 162H46l6.8-21.1 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13-17.9 13 6.8-21.1zM72.2 310.9l6.8-21.1-18-13h22.3l6.8-21.2 6.9 21.2h22.2l-18 13 6.9 21.1-18-13zM248 208.8l-6.9 21.1h-22.2l18 13-6.9 21.2 18-13.1 18 13.1-6.9-21.2 18-13h-22.2zM210.7 91l-6.8 21.1h-22.2l17.9 13-6.8 21.2 17.9-13.1 18 13.1-6.9-21.2 18-13h-22.2zM277.1 162h-22.2l-6.9-21.1-6.9 21.1h-22.2l18 13.1-6.9 21.1 18-13 18 13-6.9-21.1zM228.7 310.9l-6.9-21.1 18-13h-22.2l-6.9-21.2-6.8 21.2h-22.2l17.9 13-6.8 21.1 17.9-13z\"\n })));\n },\n CW: function CW(_ref54) {\n var title = _ref54.title,\n rest = _objectWithoutProperties(_ref54, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 233.5h512v51H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M168.7 86.5l12.9 39.8h41.8l-33.8 24.5 12.9 39.7-33.8-24.5-33.8 24.5 12.9-39.7-33.8-24.5h41.8zM85.4 32.5l7.8 23.9h25L97.9 71.1l7.8 23.8-20.3-14.7-20.3 14.7 7.8-23.8-20.3-14.7h25.1z\"\n })));\n },\n CX: function CX(_ref55) {\n var title = _ref55.title,\n rest = _objectWithoutProperties(_ref55, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 0h512v341.3\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M77.6 272l5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9V317l-10.3-8.3-10.2 8.3v-13.2l-12.8-2.9 10.3-8.1-5.8-11.9 12.9 3zM40.5 173.1l5.7 11.9 12.8-3-5.7 11.8 10.3 8.2-12.9 2.9.1 13.2-10.3-8.3-10.3 8.3.1-13.2-12.9-2.9 10.4-8.2L22 182l12.8 3zM77.6 92.2l5.7 11.8 12.8-2.9-5.7 11.8 10.3 8.2-12.8 2.9v13.1l-10.3-8.2-10.2 8.2V124l-12.8-2.9 10.3-8.2-5.8-11.8L72 104zM123.7 155.1l5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9v13.2l-10.3-8.2-10.2 8.2v-13.2l-12.8-2.9 10.3-8.1-5.7-11.9 12.8 3zM90.8 209.1l4.4 13.7h14.5L98 231.3l4.5 13.7-11.7-8.4-11.7 8.4 4.5-13.7-11.7-8.5h14.4z\"\n })), React.createElement(\"circle\", {\n fill: \"#FFDA44\",\n cx: 267.1,\n cy: 170.7,\n r: 74.5\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M267.1 220.3h24.8s10.8-19 0-37.2l24.8-24.8-12.4-24.8h-12.4s-6.2 18.6-31 18.6-31-18.6-31-18.6h-12.4l12.4 24.8-12.4 24.8 12.4 12.4s12.4-24.8 37.2-12.4c0 0 10.5 15.5 0 37.2z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M464.4 92.2c.6-2.9-.2-17.6-.2-20.7 0-21.3-13.9-39.4-33.2-45.7 5.9 12 9.2 25.4 9.2 39.7 0 4.8-.4 9.5-1.1 14.1-2.9-4.7-6.6-8.9-11.2-12.6-17.1-13.6-40.6-14-57.9-2.5 13.4 2.9 26.3 8.9 37.7 18 9 7.1 16.2 16.8 21.7 26.1 0 0-17.8 10.9-31 15.1s-42.3 7.9-42.3 7.9c72 12 132-36 132-36-6.5-13.4-15.8-4-23.7-3.4z\"\n }));\n },\n CY: function CY(_ref56) {\n var title = _ref56.title,\n rest = _objectWithoutProperties(_ref56, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M371.5 275.9l-11.1-15c-22.4 16.1-67.7 35.8-104.3 35.8-35.8 0-79.6-17.1-104.3-35.8l-11.1 15c10 10.3 46.9 27 88.4 38.4-3.9 6-1.6 6.1 2.6 10.8 8.5-6.6 17.4-1.5 24.9-7.3 7.5 5.8 16.3.7 24.9 7.3 5.4-5.6 5.4-5.6 2.5-11.1 41-11.7 77-27.6 87.5-38.1z\"\n }), React.createElement(\"path\", {\n fill: \"#DB7D00\",\n d: \"M113.7 168.7s.2 79.9 89 77.8L208 263h10.6s-8.9-49 71.7-49.4c0 0 0-32.9 32.9-32.9h49.4S294 119 442.8 40.1l2.2-15.6s-154.8 84.6-237 68.1c0 0 12.7 50.7-12.9 50.7-12.8 0-11.6-9.6-38.4-9.6-22.3 0-20.6 23.5-31.3 23.2S103 142.3 102 144.8s11.7 23.9 11.7 23.9z\"\n }));\n },\n CZ: function CZ(_ref57) {\n var title = _ref57.title,\n rest = _objectWithoutProperties(_ref57, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M512 256v170.663H0L215.185 256z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M512 85.337V256H215.185L0 85.337z\"\n }));\n },\n DE: function DE(_ref58) {\n var title = _ref58.title,\n rest = _objectWithoutProperties(_ref58, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.331h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 312.882h512v113.775H0z\"\n }));\n },\n DJ: function DJ(_ref59) {\n var title = _ref59.title,\n rest = _objectWithoutProperties(_ref59, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M512 0v166.7L0 170.8V0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 170.7L0 341.3V0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M89.8 92.5l17 52.4H162l-44.6 32.5 17 52.4-44.6-32.4-44.6 32.4 17-52.4-44.6-32.5h55.2z\"\n }));\n },\n DK: function DK(_ref60) {\n var title = _ref60.title,\n rest = _objectWithoutProperties(_ref60, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M190 0h-60v140H0v60h130v142h60V200h323v-60H190z\"\n }));\n },\n DM: function DM(_ref61) {\n var title = _ref61.title,\n rest = _objectWithoutProperties(_ref61, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 110.7v120h512v-120z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 110.7h512v40H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 190.7h512v40H0z\"\n }), React.createElement(\"path\", {\n d: \"M196 0h120v341.3H196z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M196 0h40v341.3h-40z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M274.7 0h40v341.3h-40z\"\n }), React.createElement(\"circle\", {\n fill: \"#D80027\",\n cx: 256,\n cy: 170.7,\n r: 123.1\n }), React.createElement(\"g\", {\n fill: \"#496E2D\"\n }, React.createElement(\"path\", {\n d: \"M256 58.6l4.6 14.2h15l-12.1 8.9 4.6 14.2-12.1-8.8-12.1 8.8 4.6-14.2-12.1-8.9h15zM190.1 80l12.2 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15l-4.6 14.2-4.7-14.2h-15l12.1-8.8zM149.4 136h15l4.6-14.2 4.7 14.2h15l-12.2 8.8 4.7 14.3-12.2-8.8-12.1 8.8 4.6-14.3zM149.4 205.3l12.1-8.8-4.6-14.3L169 191l12.2-8.8-4.7 14.3 12.2 8.8h-15l-4.7 14.3-4.6-14.3zM190.1 261.4l4.6-14.3-12.1-8.8h15l4.7-14.3 4.6 14.3h15l-12.1 8.8 4.6 14.3-12.1-8.9zM256 282.8l-4.6-14.3h-15l12.1-8.8-4.6-14.3 12.1 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15zM321.9 261.4l-12.2-8.9-12.1 8.9 4.6-14.3-12.1-8.8h15l4.6-14.3 4.7 14.3h15l-12.1 8.8zM362.6 205.3h-15l-4.6 14.3-4.7-14.3h-15l12.2-8.8-4.7-14.3L343 191l12.1-8.8-4.6 14.3zM362.6 136l-12.1 8.8 4.6 14.3-12.1-8.8-12.2 8.8 4.7-14.3-12.2-8.8h15l4.7-14.2 4.6 14.2zM321.9 80l-4.6 14.3 12.1 8.8h-15l-4.7 14.2-4.6-14.2h-15l12.1-8.8-4.6-14.3 12.1 8.8z\"\n })), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M279.3 168.7c-11-21.1-14.5-25.1-14.5-25.1s.4-9.7.4-15.6c0-8.8-7.4-15.8-16.5-15.8-8.6 0-15.7 2.9-16.5 11-4.2.9-8.6 4.1-8.6 10.7 0 4.8 1 7.3 5.2 9.3 2.1-4.6 4.3-4.8 9.3-6.4.8.6 1.7 3 2.6 3.4l.3 1s-13.3 6.6-13.3 30.9c0 29.5 22 45.4 22 45.4l-1.8.3-1.9 7.1h22v-7.2l11 17.5c.3-.3 10.2-47.6.3-66.5z\"\n }));\n },\n DO: function DO(_ref62) {\n var title = _ref62.title,\n rest = _objectWithoutProperties(_ref62, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 215.2h211.5v126.1H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h211.5v126.2H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M300.5 0H512v126.2H300.5z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M300.5 215.2H512v126.1H300.5z\"\n }), React.createElement(\"g\", {\n stroke: \"#FFF\",\n strokeWidth: 5,\n strokeMiterlimit: 10\n }, React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M256 130h-49.9v49.4s19.5 6 49.9 6V130z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M206.1 179.4v6c0 27.5 22.3 49.9 49.9 49.9v-49.9c-30.4 0-49.9-6-49.9-6z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M256 235.3c27.5 0 49.9-22.3 49.9-49.9v-6s-19.5 6-49.9 6v49.9z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M256 130v55.4c30.4 0 49.9-6 49.9-6V130H256z\"\n })));\n },\n DZ: function DZ(_ref63) {\n var title = _ref63.title,\n rest = _objectWithoutProperties(_ref63, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#41662E\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 0h256v341.3H256z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M341.5 105.3l-29.4 40.4-47.5-15.4 29.4 40.4-29.4 40.4 47.5-15.4 29.4 40.4v-50l47.5-15.5-47.5-15.4z\"\n }), React.createElement(\"path\", {\n d: \"M309.9 276.7c-58.5 0-106-47.5-106-106s47.5-106 106-106c18.3 0 35.4 4.6 50.4 12.7-23.5-23-55.7-37.2-91.2-37.2-72 0-130.4 58.4-130.4 130.4S197.1 301 269.1 301c35.5 0 67.7-14.2 91.2-37.2-14.9 8.2-32.1 12.9-50.4 12.9z\"\n })));\n },\n EC: function EC(_ref64) {\n var title = _ref64.title,\n rest = _objectWithoutProperties(_ref64, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 170.7h512V256H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 256h512v85.3H0z\"\n }), React.createElement(\"circle\", {\n fill: \"#FFDA44\",\n cx: 256,\n cy: 170.7,\n r: 59.4\n }), React.createElement(\"path\", {\n fill: \"#4C1F00\",\n d: \"M369.2 79.9s-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7 0 10.3-13.5 12-15.5 12s-2-5.3-14.8-5.3-13.7 4.8-15.8 4.8c-2.2 0-14.5-1-14.5-11.5 0-5.2-42.9 4-49.1 7-6.1 3.1-33.9 16-33.9 16s45.8 2.7 53.9 6.2 43.8 16.5 43.8 16.5l-2.8 13.3h37.8l-3.8-13.3s35.1-12.7 43.8-16.5 53.9-6.2 53.9-6.2z\"\n }), React.createElement(\"path\", {\n fill: \"#57BA17\",\n d: \"M217.7 171.7c0 21.1 17.2 38.3 38.3 38.3 21.1 0 38.3-17.2 38.3-38.3v-11.5h-76.5v11.5z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M256 110.5c-21.1 0-38.3 17.2-38.3 38.3v11.5h76.5v-11.5c.1-21.1-17.1-38.3-38.2-38.3z\"\n }));\n },\n EE: function EE(_ref65) {\n var title = _ref65.title,\n rest = _objectWithoutProperties(_ref65, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#111\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#368FD8\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 312.888h512v113.775H0z\"\n }));\n },\n EG: function EG(_ref66) {\n var title = _ref66.title,\n rest = _objectWithoutProperties(_ref66, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 0h512v113.8H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 227.6h512v113.8H0z\"\n }), React.createElement(\"path\", {\n fill: \"#C09300\",\n d: \"M220.3 204.4s0-58.4 4.5-64.7c3.1-4.3 16.8 5.2 22.7 4.5 0 0 4.2-7.5 4.5-12 .3-4.6-1.1-7.6-4.9-6.2 0 0-1.2-2.1.5-3.3 1.6-1.2 5.6.1 5.6.1s-.5-1 1.6-.9c2.9.2 7.2 1.4 7.4 5.6.2 3.1.3 7.7.4 8.7.7 6.8 2.7 8.7 2.7 8.7s18.4-9.2 22-5.2c3.3 3.8 4.5 64.7 4.5 64.7l-18.1-16.8 12.1 29.5s-14.4 2.4-28.9 2.4c-14.5 0-31.1-4.2-31.1-4.2l13.8-28.2-19.3 17.3z\"\n }));\n },\n EH: function EH(_ref67) {\n var title = _ref67.title,\n rest = _objectWithoutProperties(_ref67, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 0h512v113.8H0z\"\n }), React.createElement(\"path\", {\n fill: \"#428823\",\n d: \"M0 227.6h512v113.8H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M256 170.7L0 341.3V0zM309.1 170.7c0-22.9 13.1-42.1 34.6-46.8-3.3-.7-6.7-1.1-10.3-1.1-26.4 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9c3.5 0 7-.4 10.3-1.1-21.5-4.8-34.6-23.9-34.6-46.8z\"\n }), React.createElement(\"path\", {\n d: \"M365 129.2l10.3 31.7h33.3l-27 19.6 10.3 31.7-26.9-19.6-27 19.6 10.3-31.7-27-19.6h33.4z\"\n })));\n },\n ER: function ER(_ref68) {\n var title = _ref68.title,\n rest = _objectWithoutProperties(_ref68, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#56AF35\",\n d: \"M0 0h512v170.7H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 341.3l512-170.7L0 0v341.3z\"\n }), React.createElement(\"g\", {\n fill: \"#ffc945\"\n }, React.createElement(\"path\", {\n d: \"M134.7 231.5c33.6 0 60.8-27.2 60.8-60.8s-27.2-60.8-60.8-60.8-60.8 27.2-60.8 60.8 27.2 60.8 60.8 60.8zm0 24.3c-47 0-85.2-38.1-85.2-85.2s38.1-85.2 85.2-85.2 85.2 38.1 85.2 85.2-38.2 85.2-85.2 85.2z\"\n }), React.createElement(\"circle\", {\n cx: 119.5,\n cy: 148.3,\n r: 17.5\n }), React.createElement(\"circle\", {\n cx: 148.9,\n cy: 158.5,\n r: 17.5\n }), React.createElement(\"circle\", {\n cx: 134.7,\n cy: 135.2,\n r: 17.5\n }), React.createElement(\"circle\", {\n cx: 119.5,\n cy: 172.7,\n r: 17.5\n }), React.createElement(\"circle\", {\n cx: 149.9,\n cy: 182.8,\n r: 17.5\n }), React.createElement(\"circle\", {\n cx: 122.5,\n cy: 198,\n r: 17.5\n }), React.createElement(\"circle\", {\n cx: 145.9,\n cy: 205.2,\n r: 17.5\n })));\n },\n ES: function ES(_ref69) {\n var title = _ref69.title,\n rest = _objectWithoutProperties(_ref69, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 85.331h512v113.775H0zM0 312.882h512v113.775H0z\"\n })));\n },\n ET: function ET(_ref70) {\n var title = _ref70.title,\n rest = _objectWithoutProperties(_ref70, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 22.5 15\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#20AA46\",\n d: \"M0 0h22.5v5H0V0z\"\n }), React.createElement(\"path\", {\n fill: \"#E92F3B\",\n d: \"M0 10h22.5v5H0v-5z\"\n }), React.createElement(\"path\", {\n fill: \"#FADF50\",\n d: \"M0 5h22.5v5H0V5z\"\n }), React.createElement(\"circle\", {\n fill: \"#205CCA\",\n cx: 11.3,\n cy: 7.5,\n r: 5.2\n }), React.createElement(\"path\", {\n fill: \"#FFDB3D\",\n d: \"M11.2 9.2L8.8 11l.9-2.9-2.4-1.8h3l1-2.8 1 2.9h3l-2.4 1.8.9 2.9-2.6-1.9zm0-1l.9.6-.3-1.1.9-.7h-1.1l-.4-1.1-.4 1.1H9.7l.9.7-.3 1.1c0 .1.9-.6.9-.6z\"\n }));\n },\n FI: function FI(_ref71) {\n var title = _ref71.title,\n rest = _objectWithoutProperties(_ref71, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M512 129.3V212H203.7v129.3H121V212H0v-82.7h121V0h82.7v129.3z\"\n }));\n },\n FJ: function FJ(_ref72) {\n var title = _ref72.title,\n rest = _objectWithoutProperties(_ref72, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z\"\n }), React.createElement(\"path\", {\n d: \"M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176z\"\n }), React.createElement(\"path\", {\n d: \"M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zM256 170.7v-15.1l-57.4-38.3H176z\"\n })), React.createElement(\"path\", {\n fill: \"#F3F3F3\",\n d: \"M307.1 127.1v92c0 61.6 80.5 80.5 80.5 80.5s80.4-19 80.4-80.6v-92l-80.5-23-80.4 23.1z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M468 132.8V98.3H307.1v34.5h69v69h-69v23h69V296c6.9 2.5 11.5 3.5 11.5 3.5s4.6-1.1 11.5-3.5v-71.2h69v-23h-69v-69H468z\"\n }));\n },\n FK: function FK(_ref73) {\n var title = _ref73.title,\n rest = _objectWithoutProperties(_ref73, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M155.8 115L256 170.7v-15.8L184.2 115z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M155.8 115L256 170.7v-15.8L184.2 115z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M155.8 115L256 170.7v-15.8L184.2 115zM71.8 115L0 154.9v15.8L100.2 115z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M100.2 55.6L0 0v15.7l71.8 39.9z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M100.2 55.6L0 0v15.7l71.8 39.9z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M100.2 55.6L0 0v15.7l71.8 39.9zM184.2 55.6L256 15.7V0L155.8 55.6z\"\n })), React.createElement(\"path\", {\n fill: \"#1F8BDE\",\n d: \"M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3zm79.6 86.3c7.9-4.5 15.9-10 23.2-16.7 20.5-18.5 32.6-41.4 32.6-69.7v-90c0-.3-120.4-.3-120.4-.3v90.3c0 28.3 12.1 51.2 32.6 69.7 8.3 7.5 17.6 13.9 27.6 19 1.4-.6 2.8-1.4 4.4-2.3z\"\n }), React.createElement(\"path\", {\n fill: \"#187536\",\n d: \"M347.1 193.4c-2.6-7.9 1.7-14.3 10.1-14.3h60.5c8.2 0 12.8 6.3 10.1 14.3l-5.5 16.5c-2.6 7.9-8.9 9.2-15.8 4 0 0 2.6-4.8-19.1-4.8-21.7 0-19.1 4.8-19.1 4.8-6.1 5.7-13.1 4-15.8-4 .1.1-5.4-16.5-5.4-16.5z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M357.4 179.1c8.1 1.6 17.8-15 30.1-15 13.1 0 21.8 17.1 30.1 15 7.4-1.8 15-22.2 15-30.1 0-16.6-20.2-30.1-45.1-30.1-24.9 0-45.1 13.5-45.1 30.1-.1 8.5 6.6 28.5 15 30.1zM356 270.7c6.2.4 12.5-1.8 17.2-6.5l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c4.7 4.7 11 6.9 17.1 6.5 5.3-.3 32.5-33.5 25.7-32.6-4.6.6-9.1 2.8-12.7 6.3l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-3.5-3.5-7.8-5.6-12.3-6.3-6.7-1.1 20.1 32.2 25.3 32.5zM322.1 210c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0 0 0 5.5-14.8 2.5-15.9-7.9-2.9-17.2-1.2-23.5 5.2l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-6.2-6.2-15.1-8-22.8-5.5-3.1 1.1 1.9 16.1 1.9 16.1z\"\n }));\n },\n FM: function FM(_ref74) {\n var title = _ref74.title,\n rest = _objectWithoutProperties(_ref74, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M256 37.9l10.1 31.2H299l-26.6 19.3 10.2 31.2-26.6-19.3-26.6 19.3 10.2-31.2L213 69.1h32.9zM123.2 170.7l31.2-10.2v-32.8l19.3 26.6 31.2-10.2-19.3 26.6 19.3 26.5-31.2-10.1-19.3 26.5v-32.8zM256 303.5l-10.1-31.2H213l26.6-19.3-10.2-31.3L256 241l26.6-19.3-10.2 31.3 26.6 19.3h-32.9zM388.8 170.7l-31.2 10.1v32.8l-19.3-26.5-31.2 10.1 19.3-26.5-19.3-26.6 31.2 10.2 19.3-26.6v32.8z\"\n })));\n },\n FO: function FO(_ref75) {\n var title = _ref75.title,\n rest = _objectWithoutProperties(_ref75, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0F61A5\",\n d: \"M512 214.5H206.2v126.8H118.4V214.5H0v-87.7h118.4V0H206.2v126.8H512V192z\"\n }), React.createElement(\"path\", {\n fill: \"#E50E3D\",\n d: \"M512 149.3V192H183.7v149.3H141V192H0v-42.7h141V0h42.7v149.3z\"\n }));\n },\n FR: function FR(_ref76) {\n var title = _ref76.title,\n rest = _objectWithoutProperties(_ref76, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.331h170.663v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M341.337 85.331H512v341.337H341.337z\"\n }));\n },\n GA: function GA(_ref77) {\n var title = _ref77.title,\n rest = _objectWithoutProperties(_ref77, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 312.888h512v113.775H0z\"\n }));\n },\n GB: function GB(_ref78) {\n var title = _ref78.title,\n rest = _objectWithoutProperties(_ref78, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.333h512V426.67H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M288 85.33h-64v138.666H0v64h224v138.666h64V287.996h224v-64H288z\"\n }), React.createElement(\"g\", {\n fill: \"#0052B4\"\n }, React.createElement(\"path\", {\n d: \"M393.785 315.358L512 381.034v-65.676zM311.652 315.358L512 426.662v-31.474l-143.693-79.83zM458.634 426.662l-146.982-81.664v81.664z\"\n })), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M311.652 315.358L512 426.662v-31.474l-143.693-79.83z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M311.652 315.358L512 426.662v-31.474l-143.693-79.83z\"\n }), React.createElement(\"g\", {\n fill: \"#0052B4\"\n }, React.createElement(\"path\", {\n d: \"M90.341 315.356L0 365.546v-50.19zM200.348 329.51v97.151H25.491z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M143.693 315.358L0 395.188v31.474l200.348-111.304z\"\n }), React.createElement(\"g\", {\n fill: \"#0052B4\"\n }, React.createElement(\"path\", {\n d: \"M118.215 196.634L0 130.958v65.676zM200.348 196.634L0 85.33v31.474l143.693 79.83zM53.366 85.33l146.982 81.664V85.33z\"\n })), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M200.348 196.634L0 85.33v31.474l143.693 79.83z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M200.348 196.634L0 85.33v31.474l143.693 79.83z\"\n }), React.createElement(\"g\", {\n fill: \"#0052B4\"\n }, React.createElement(\"path\", {\n d: \"M421.659 196.636L512 146.446v50.19zM311.652 182.482V85.331h174.857z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M368.307 196.634L512 116.804V85.33L311.652 196.634z\"\n }));\n },\n GD: function GD(_ref79) {\n var title = _ref79.title,\n rest = _objectWithoutProperties(_ref79, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#c60a0a\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#3E8446\",\n d: \"M256 170.7L44.5 296.8V44.5z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M256 170.7l211.5 126.1h-423zM467.5 44.5L256 170.7 44.5 44.5z\"\n })), React.createElement(\"path\", {\n fill: \"#3E8446\",\n d: \"M467.5 44.5v252.3L256 170.7z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M256 10.4l3.3 10.2H270l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM170.1 10.4l3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM341.9 10.4l3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM256 304.2l3.3 10.2H270l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM170.1 304.2l3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM341.9 304.2l3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7z\"\n })), React.createElement(\"circle\", {\n fill: \"#c60a0a\",\n cx: 244.5,\n cy: 170.7,\n r: 76.2\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M244.5 110.1l13.6 41.8h44l-35.6 25.8 13.6 41.8-35.6-25.8-35.5 25.8 13.6-41.8-35.6-25.8h44zM107.7 167.8c4.4 6.9 2.3 16.1-4.6 20.5s-16.1 2.3-20.5-4.6c-7.9-12.5-3.3-33-3.3-33s20.4 4.6 28.4 17.1z\"\n }), React.createElement(\"circle\", {\n fill: \"#A2001D\",\n cx: 99.1,\n cy: 182.1,\n r: 7.4\n }));\n },\n GE: function GE(_ref80) {\n var title = _ref80.title,\n rest = _objectWithoutProperties(_ref80, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 22.5 15\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M.8 0h21v15H.8V0z\"\n }), React.createElement(\"path\", {\n fill: \"#eb000e\",\n d: \"M9.8 6H0v3h9.8v6h3V9h9.8V6h-9.8V0h-3v6z\"\n }), React.createElement(\"path\", {\n fill: \"#eb000e\",\n d: \"M17.3 2.7l-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm-12.7 0l-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm0 9l-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm12.7 0l-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2z\"\n }));\n },\n GF: function GF(_ref81) {\n var title = _ref81.title,\n rest = _objectWithoutProperties(_ref81, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 90 60\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FDEB01\",\n d: \"M0 0l90 60H0z\"\n }), React.createElement(\"path\", {\n fill: \"#58A846\",\n d: \"M90 0v60L0 0z\"\n }), React.createElement(\"path\", {\n fill: \"#ED3D24\",\n stroke: \"#A02021\",\n strokeMiterlimit: 10,\n d: \"M50.8 32l9.4-6.8H48.6l-3.6-11-3.6 11H29.8l9.4 6.8-3.6 11.1 9.4-6.8 9.4 6.8z\"\n }));\n },\n GG: function GG(_ref82) {\n var title = _ref82.title,\n rest = _objectWithoutProperties(_ref82, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.333h512V426.67H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M288 85.33h-64v138.666H0v64h224v138.666h64V287.996h224v-64H288z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M319.304 265.735l14.609 9.739v-38.956l-14.609 9.739h-53.565v-53.565l9.739-14.609h-38.956l9.739 14.609v53.565h-53.565l-14.609-9.739v38.956l14.609-9.739h53.565V319.3l-9.739 14.609h38.956l-9.739-14.609v-53.565z\"\n }));\n },\n GH: function GH(_ref83) {\n var title = _ref83.title,\n rest = _objectWithoutProperties(_ref83, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"path\", {\n d: \"M255.883 199.111l14.119 43.458 40.366 3.2-36.969 26.861 19.453 40.259-36.969-26.859-36.97 26.859 14.123-43.459-36.969-26.861h45.696z\"\n }));\n },\n GI: function GI(_ref84) {\n var title = _ref84.title,\n rest = _objectWithoutProperties(_ref84, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 312.882h512v113.775H0zM322.783 226.313v-22.261h7.42v-14.84h-14.841v7.419h-14.84v-7.419h-14.84v14.84h7.419v22.261h-14.84v-51.94h7.421v-14.842H270.84v7.42h-7.419v-7.42h-14.842v7.42h-7.419v-7.42h-14.842v14.842h7.421v51.94h-14.84v-22.261h7.419v-14.84h-14.84v7.419h-14.84v-7.419h-14.841v14.84h7.42v22.261h-14.84v59.362h163.246v-59.362z\"\n })), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M256 278.255c-12.295 0-22.261 9.966-22.261 22.261 0 9.691 6.195 17.933 14.84 20.989v30.953h-22.261v29.682h37.101v-60.634c8.646-3.055 14.841-11.297 14.841-20.989.001-12.296-9.965-22.262-22.26-22.262zm0 29.681a7.421 7.421 0 110-14.842 7.421 7.421 0 010 14.842z\"\n }));\n },\n GL: function GL(_ref85) {\n var title = _ref85.title,\n rest = _objectWithoutProperties(_ref85, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.34h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M512 85.334v166.69L0 256.175V85.334z\"\n }), React.createElement(\"circle\", {\n cx: 204.054,\n cy: 256.003,\n r: 81.619\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M122.435 256.003c0-45.078 36.545-81.623 81.623-81.623 45.079 0 81.623 36.545 81.623 81.623\"\n }));\n },\n GM: function GM(_ref86) {\n var title = _ref86.title,\n rest = _objectWithoutProperties(_ref86, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 322.783h512v103.88H0z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M0 85.337h512v104.515H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 210.877h512v89.656H0z\"\n }));\n },\n GN: function GN(_ref87) {\n var title = _ref87.title,\n rest = _objectWithoutProperties(_ref87, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M330.207 85.331H512v341.337H330.207z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h181.793v341.337H0z\"\n }));\n },\n GP: function GP(_ref88) {\n var title = _ref88.title,\n rest = _objectWithoutProperties(_ref88, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.331h170.663v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M341.337 85.331H512v341.337H341.337z\"\n }));\n },\n GQ: function GQ(_ref89) {\n var title = _ref89.title,\n rest = _objectWithoutProperties(_ref89, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M256 256.006L0 426.668V85.331z\"\n }), React.createElement(\"path\", {\n fill: \"#DEDDE0\",\n d: \"M279.807 219.71v44.444c0 27.216 35.555 35.556 35.555 35.556s35.555-8.339 35.555-35.556V219.71h-71.11z\"\n }), React.createElement(\"path\", {\n fill: \"#786145\",\n d: \"M306.477 256.156h17.778v25.778h-17.778z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M333.141 246.377c0-9.818-7.959-17.778-17.778-17.778s-17.778 7.959-17.778 17.778c-4.91 0-8.889 3.979-8.889 8.889s3.979 8.889 8.889 8.889h35.555c4.91 0 8.889-3.979 8.889-8.889s-3.979-8.889-8.888-8.889z\"\n }));\n },\n GR: function GR(_ref90) {\n var title = _ref90.title,\n rest = _objectWithoutProperties(_ref90, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"g\", {\n fill: \"#1571CC\"\n }, React.createElement(\"path\", {\n d: \"M0 0h513v38H0zM0 76h513v38H0zM0 152h513v38H0zM0 228h513v38H0zM0 304h513v38H0z\"\n })), React.createElement(\"path\", {\n fill: \"#1571CC\",\n d: \"M0 0h190v190H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M0 76h190v38H0z\"\n }), React.createElement(\"path\", {\n d: \"M76 0h38v190H76z\"\n })));\n },\n GS: function GS(_ref91) {\n var title = _ref91.title,\n rest = _objectWithoutProperties(_ref91, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z\"\n }), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M256 22.7v30.7h-46.1z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z\"\n }), React.createElement(\"g\", null, React.createElement(\"ellipse\", {\n fill: \"#FFF\",\n cx: 443.4,\n cy: 233.6,\n rx: 29,\n ry: 43.5\n }), React.createElement(\"ellipse\", {\n fill: \"#FFCE00\",\n cx: 406.9,\n cy: 317.7,\n rx: 22,\n ry: 9.3\n }), React.createElement(\"ellipse\", {\n fill: \"#FFCE00\",\n cx: 364,\n cy: 317.7,\n rx: 22,\n ry: 9.3\n }), React.createElement(\"path\", {\n fill: \"#39B200\",\n d: \"M342 190.1l43.4 86.9 43.5-86.9z\"\n }), React.createElement(\"ellipse\", {\n fill: \"#9B9B9B\",\n cx: 327.5,\n cy: 233.6,\n rx: 29,\n ry: 43.5\n }), React.createElement(\"path\", {\n fill: \"#757575\",\n d: \"M371 175.6l-14.5 14.5h57.9l-14.5-14.5 14.5-43.5s-13-29-29-29-29 29-29 29l14.6 43.5z\"\n }), React.createElement(\"circle\", {\n fill: \"#C6B56F\",\n cx: 385.4,\n cy: 67,\n r: 29\n }), React.createElement(\"circle\", {\n fill: \"#A54A00\",\n cx: 386,\n cy: 88.7,\n r: 29\n }), React.createElement(\"circle\", {\n fill: \"#FFF\",\n cx: 443.4,\n cy: 117.7,\n r: 29\n }), React.createElement(\"circle\", {\n fill: \"#0049FF\",\n cx: 342.2,\n cy: 146.7,\n r: 29\n }), React.createElement(\"circle\", {\n fill: \"#0041F9\",\n cx: 429.8,\n cy: 146.7,\n r: 29\n }), React.createElement(\"circle\", {\n fill: \"#F7D71E\",\n cx: 386,\n cy: 233.6,\n r: 29\n }), React.createElement(\"circle\", {\n fill: \"#CEC851\",\n cx: 457.9,\n cy: 190.1,\n r: 29\n }), React.createElement(\"circle\", {\n fill: \"#FFF\",\n cx: 385.4,\n cy: 289.5,\n r: 29\n }), React.createElement(\"path\", {\n fill: \"#7C0B29\",\n d: \"M371 135.7l14.5-3.5 14.5 3.5c0 7.5-14.5 11-14.5 11s-14.5-3.5-14.5-11z\"\n }), React.createElement(\"circle\", {\n fill: \"#FFF\",\n cx: 327.5,\n cy: 117.4,\n r: 29\n })));\n },\n GT: function GT(_ref92) {\n var title = _ref92.title,\n rest = _objectWithoutProperties(_ref92, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#338AF3\"\n }, React.createElement(\"path\", {\n d: \"M0 85.331h170.663v341.337H0zM341.337 85.331H512v341.337H341.337z\"\n })), React.createElement(\"path\", {\n fill: \"#ACABB1\",\n d: \"M304.083 286.736l-31.112-31.112 29.615-29.616-1.342-15.642-8.478-8.48L256 238.652l-36.766-36.766-8.478 8.48-1.342 15.642 29.615 29.616-31.112 31.112 16.97 16.97L256 272.594l31.113 31.112z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M301.255 210.367l-16.971 16.971c7.238 7.239 11.716 17.239 11.716 28.285 0 22.092-17.909 40.001-40.001 40.001s-40.001-17.909-40.001-40.001c0-11.045 4.478-21.045 11.716-28.285l-16.971-16.971C199.162 221.949 192 237.949 192 255.623c0 35.346 28.654 64 64 64s64-28.654 64-64c0-17.674-7.164-33.674-18.745-45.256z\"\n }));\n },\n GU: function GU(_ref93) {\n var title = _ref93.title,\n rest = _objectWithoutProperties(_ref93, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M11.13 96.462h489.739v319.076H11.13z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M246.342 363.726c-2.333-1.999-57.125-49.632-57.125-107.731s54.792-105.732 57.125-107.731l9.658-8.279 9.658 8.279c2.333 1.999 57.125 49.632 57.125 107.731s-54.792 105.732-57.125 107.731L256 372.005l-9.658-8.279z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M307.942 255.994c0-51.942-51.942-96.464-51.942-96.464s-51.942 44.524-51.942 96.464c0 15.89 4.865 31.083 11.613 44.522h80.658c6.748-13.439 11.613-28.632 11.613-44.522z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M307.942 255.994c0 15.89-4.865 31.083-11.613 44.522L256 307.937l-40.329-7.421c-6.748-13.439-11.613-28.632-11.613-44.522h103.884z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M256 352.459s25.019-21.452 40.329-51.942h-80.658c15.31 30.49 40.329 51.942 40.329 51.942z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M222.609 226.313h66.782L256 259.704z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M244.87 248.57h22.261v66.783H244.87z\"\n }));\n },\n GW: function GW(_ref94) {\n var title = _ref94.title,\n rest = _objectWithoutProperties(_ref94, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.331h512v170.663H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h181.793v341.337H0z\"\n }), React.createElement(\"path\", {\n d: \"M98.32 195.127l15.107 46.497h48.894l-39.555 28.74 15.108 46.498-39.554-28.737-39.556 28.737 15.111-46.498-39.554-28.74h48.891z\"\n }));\n },\n GY: function GY(_ref95) {\n var title = _ref95.title,\n rest = _objectWithoutProperties(_ref95, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 900 600\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#009E49\",\n d: \"M0 0h900v600H0V0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0l947 300L0 600V0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFD00D\",\n d: \"M0 26.1L870 300 0 573.9V26.1z\"\n }), React.createElement(\"path\", {\n fill: \"#2D2D2D\",\n d: \"M0 0l450 300L0 600V0z\"\n }), React.createElement(\"path\", {\n fill: \"#D3132F\",\n d: \"M0 35l397.5 265L0 565V35z\"\n }));\n },\n HK: function HK(_ref96) {\n var title = _ref96.title,\n rest = _objectWithoutProperties(_ref96, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M273.621 214.44c-3.878 16.132-10.77 13.056-14.152 27.125-19.921-4.789-32.191-24.823-27.401-44.747 4.788-19.921 24.823-32.191 44.745-27.402-6.765 28.139.277 30.595-3.192 45.024zM221.924 226.394c14.145 8.674 9.088 14.278 21.423 21.842-10.712 17.467-33.555 22.944-51.023 12.232-17.467-10.711-22.945-33.556-12.233-51.023 24.671 15.129 29.181 9.191 41.833 16.949zM217.318 279.255c12.621-10.772 16.387-4.232 27.393-13.626 13.303 15.585 11.452 39.003-4.132 52.306-15.586 13.303-39.004 11.451-52.306-4.133 22.011-18.786 17.757-24.912 29.045-34.547zM266.17 299.971c-6.347-15.331 1.037-16.894-4.494-30.263 18.933-7.835 40.634 1.161 48.471 20.094 7.835 18.933-1.162 40.634-20.095 48.47-11.068-26.74-18.207-24.587-23.882-38.301zM300.967 259.912c-16.542 1.298-15.747-6.209-30.171-5.077-1.602-20.427 13.66-38.286 34.088-39.89 20.427-1.599 38.286 13.663 39.888 34.09-28.851 2.262-29.012 9.718-43.805 10.877z\"\n })));\n },\n HM: function HM(_ref97) {\n var title = _ref97.title,\n rest = _objectWithoutProperties(_ref97, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.333h512V426.67H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M223.397 255.996c.273-.304.543-.609.813-.916-.27.308-.546.61-.82.916h.007zM189.217 297.923l10.958 22.913 24.747-5.718-11.083 22.853 19.9 15.781-24.776 5.585.069 25.398-19.815-15.89-19.814 15.89.069-25.398-24.776-5.585 19.9-15.781-11.083-22.853 24.746 5.718zM387.076 326.387l5.227 10.929 11.803-2.728-5.286 10.9 9.492 7.528-11.818 2.663.032 12.114-9.45-7.578-9.45 7.578.032-12.114-11.817-2.663 9.491-7.528-5.285-10.9 11.803 2.728zM338.453 210.448l5.227 10.93 11.803-2.729-5.286 10.901 9.491 7.528-11.817 2.663.032 12.115-9.45-7.58-9.451 7.58.033-12.115-11.818-2.663 9.491-7.528-5.284-10.901 11.802 2.729zM387.076 144.198l5.227 10.93 11.803-2.73-5.286 10.902 9.491 7.527-11.817 2.664.032 12.114-9.45-7.58-9.45 7.58.032-12.114-11.817-2.664 9.491-7.527-5.285-10.902 11.803 2.73zM429.547 193.886l5.227 10.929 11.802-2.728-5.284 10.9 9.491 7.527-11.818 2.664.033 12.114-9.451-7.578-9.45 7.578.032-12.114-11.817-2.664 9.491-7.527-5.286-10.9 11.803 2.728zM399.179 251.856l4.11 12.652h13.304l-10.763 7.82 4.112 12.652-10.763-7.819-10.765 7.819 4.112-12.652-10.763-7.82h13.304z\"\n }), React.createElement(\"path\", {\n d: \"M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.553l45.167-25.099H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.827V85.333h55.652v48.573l87.43-48.573z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M155.826 200.344L256 255.996v-15.737l-71.847-39.915z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M155.826 200.344L256 255.996v-15.737l-71.847-39.915z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M155.826 200.344L256 255.996v-15.737l-71.847-39.915zM71.846 200.344L0 240.259v15.737l100.174-55.652z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M100.174 140.982L0 85.33v15.737l71.847 39.915z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M100.174 140.982L0 85.33v15.737l71.847 39.915z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M100.174 140.982L0 85.33v15.737l71.847 39.915zM184.154 140.982L256 101.067V85.33l-100.174 55.652z\"\n })));\n },\n HN: function HN(_ref98) {\n var title = _ref98.title,\n rest = _objectWithoutProperties(_ref98, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#338AF3\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512v113.775H0zM0 312.888h512v113.775H0zM203.491 208.511l4.421 13.605h14.305l-11.574 8.408 4.421 13.604-11.573-8.408-11.572 8.408 4.421-13.604-11.574-8.408h14.305zM203.491 267.872l4.421 13.606h14.305l-11.574 8.406 4.421 13.605-11.573-8.408-11.572 8.408 4.421-13.605-11.574-8.406h14.305zM308.509 208.511l4.42 13.605h14.305l-11.574 8.408 4.421 13.604-11.572-8.408-11.573 8.408 4.421-13.604-11.574-8.408h14.305zM308.509 267.872l4.42 13.606h14.305l-11.574 8.406 4.421 13.605-11.572-8.408-11.573 8.408 4.421-13.605-11.574-8.406h14.305zM256 238.191l4.421 13.605h14.304l-11.573 8.408 4.421 13.605L256 265.401l-11.573 8.408 4.421-13.605-11.573-8.408h14.304z\"\n })));\n },\n HR: function HR(_ref99) {\n var title = _ref99.title,\n rest = _objectWithoutProperties(_ref99, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"g\", {\n fill: \"#338AF3\"\n }, React.createElement(\"path\", {\n d: \"M300.522 204.059H270.84l4.948-37.102 19.787-14.841 19.787 14.841v29.681zM211.478 204.059h29.682l-4.948-37.102-19.787-14.841-19.787 14.841v29.681z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M275.788 204.059h-39.576v-37.102L256 152.116l19.788 14.841z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M196.638 196.638v81.623c0 19.436 9.389 36.719 23.868 47.555l10.388-2.6 13.109 13.188a59.433 59.433 0 0011.996 1.219c4.087 0 8.077-.415 11.934-1.205l14.964-12.459 8.595 1.834c14.474-10.834 23.868-28.101 23.868-47.531v-81.623l-118.722-.001z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M196.641 196.641h23.745v23.745h-23.745zM244.124 196.641h23.745v23.745h-23.745zM291.617 196.641h23.745v23.745h-23.745z\"\n }), React.createElement(\"path\", {\n d: \"M220.383 220.383h23.745v23.745h-23.745zM267.876 220.383h23.745v23.745h-23.745z\"\n }), React.createElement(\"path\", {\n d: \"M196.641 244.124h23.745v23.745h-23.745z\"\n }), React.createElement(\"path\", {\n d: \"M220.383 267.865h23.745v23.745h-23.745z\"\n }), React.createElement(\"path\", {\n d: \"M244.124 244.124h23.745v23.745h-23.745zM291.617 244.124h23.745v23.745h-23.745z\"\n }), React.createElement(\"path\", {\n d: \"M267.876 267.865h23.745v23.745h-23.745zM244.124 291.617h23.745v23.745h-23.745zM220.383 291.613h-22.212a59.168 59.168 0 0011.536 23.745h10.676v-23.745zM291.617 315.357h10.677a59.188 59.188 0 0011.536-23.745h-22.213v23.745z\"\n }), React.createElement(\"path\", {\n d: \"M220.383 315.357v10.361a59.113 59.113 0 0023.745 10.71v-21.071h-23.745zM267.873 315.357v21.071a59.1 59.1 0 0023.745-10.71v-10.361h-23.745z\"\n })));\n },\n HT: function HT(_ref100) {\n var title = _ref100.title,\n rest = _objectWithoutProperties(_ref100, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M0 85.34h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M512 85.334v166.69L0 256.175V85.334z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M315.362 300.525L256 293.104l-59.362 7.421v-89.044h118.724z\"\n }), React.createElement(\"circle\", {\n fill: \"#0052B4\",\n cx: 256,\n cy: 263.427,\n r: 29.682\n }), React.createElement(\"circle\", {\n fill: \"#A2001D\",\n cx: 256,\n cy: 263.427,\n r: 14.84\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M233.739 226.321h44.522L256 248.582z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M248.576 241.166h14.84v44.522h-14.84z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M279.746 281.232h-47.492l-35.616 19.293h118.724z\"\n }));\n },\n HU: function HU(_ref101) {\n var title = _ref101.title,\n rest = _objectWithoutProperties(_ref101, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 312.888h512v113.775H0z\"\n }));\n },\n ID: function ID(_ref102) {\n var title = _ref102.title,\n rest = _objectWithoutProperties(_ref102, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M0 85.337h512V256H0z\"\n }));\n },\n IE: function IE(_ref103) {\n var title = _ref103.title,\n rest = _objectWithoutProperties(_ref103, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.331h170.663v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M341.337 85.331H512v341.337H341.337z\"\n }));\n },\n IL: function IL(_ref104) {\n var title = _ref104.title,\n rest = _objectWithoutProperties(_ref104, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#2E52B2\"\n }, React.createElement(\"path\", {\n d: \"M320 219.045h-42.667L256 182.094l-21.333 36.95H192l21.335 36.951L192 292.944h42.667L256 329.895l21.333-36.95H320l-21.335-36.951L320 219.045zm-37.791 36.949l-13.104 22.699h-26.209l-13.105-22.699 13.105-22.699h26.209l13.104 22.699zM256 210.597l4.877 8.448h-9.754l4.877-8.448zm-39.315 22.698h9.755l-4.877 8.448-4.878-8.448zm0 45.399l4.877-8.448 4.877 8.448h-9.754zM256 301.392l-4.876-8.448h9.754L256 301.392zm39.315-22.698h-9.755l4.877-8.448 4.878 8.448zm-9.755-45.399h9.755l-4.877 8.448-4.878-8.448zM0 106.657h512v42.663H0zM0 362.657h512v42.663H0z\"\n })));\n },\n IM: function IM(_ref105) {\n var title = _ref105.title,\n rest = _objectWithoutProperties(_ref105, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M319.192 199.736l-12.062 43.048-36.194-6.684-23.297-48.023-62.938 22.334-4.964-13.986-16.466-2.029 12.407 34.966 43.313-11.077 12.309 34.686-29.941 44.188 50.81 43.337-9.631 11.292 6.476 15.277 24.078-28.229-31.249-31.971 23.885-28.002 53.238 3.837 12.127-65.673 14.594 2.695 9.993-13.246-36.488-6.74zm-63.205 56.242z\"\n }));\n },\n IN: function IN(_ref106) {\n var title = _ref106.title,\n rest = _objectWithoutProperties(_ref106, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"circle\", {\n fill: \"#0052B4\",\n cx: 256,\n cy: 256,\n r: 43.896\n }), React.createElement(\"circle\", {\n fill: \"#FFF\",\n cx: 256,\n cy: 256,\n r: 27.434\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M256 222.146l8.464 19.195 20.855-2.268L272.927 256l12.392 16.927-20.855-2.268L256 289.854l-8.464-19.195-20.855 2.268L239.073 256l-12.392-16.927 20.855 2.268z\"\n }));\n },\n IO: function IO(_ref107) {\n var title = _ref107.title,\n rest = _objectWithoutProperties(_ref107, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#f0f0f0\",\n d: \"M0 85h512v342H0z\"\n }), React.createElement(\"path\", {\n d: \"M462 283c-4 0-14-5-21-9-11-6-21-12-31-12s-20 6-31 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32-12-9 0-20 6-31 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31-12-10 0-21 6-32 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31-12s-20 6-31 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30-12v22l19 10c11 6 21 12 31 12s21-6 32-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31 12s20-6 31-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31 12s20-6 31-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31 12s20-6 31-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32 12s20-6 31-12l19-10v-22c-10 0-20 6-30 12-7 4-16 9-20 9zM0 117l19 10c11 6 21 12 31 12s21-6 32-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31 12s20-6 31-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31 12s20-6 31-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31 12s20-6 31-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32 12s20-6 31-12l19-10V95c-10 1-20 6-30 12-7 4-16 9-20 9s-14-5-21-9c-11-6-21-12-31-12s-20 6-31 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32-12s-20 6-31 12c-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31-12s-21 6-32 12c-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31-12s-20 6-31 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-11-30-12v22zm462 55c-4 0-14-5-21-9-11-6-21-12-31-12s-20 6-31 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32-12-9 0-20 6-31 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31-12-10 0-21 6-32 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31-12s-20 6-31 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30-12v22l19 9c11 6 21 12 31 12s21-6 32-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31 12s20-6 31-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31 12s20-6 31-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31 12s20-6 31-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32 12s20-6 31-12l19-9v-22c-10 0-20 6-30 12-7 4-16 9-20 9zm50 34c-10 1-20 6-30 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31-12s-20 6-31 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32-12s-20 6-31 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31-12s-21 6-32 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31-12s-20 6-31 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30-12v23c4 1 13 5 19 9 11 6 21 12 31 12s21-6 32-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31 12s20-6 31-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31 12s20-6 31-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31 12s20-6 31-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32 12s20-6 31-12c6-4 15-8 19-9v-23zm-50 133c-4 0-14-5-21-9-11-6-21-12-31-12s-20 6-31 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32-12-9 0-20 6-31 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31-12-10 0-21 6-32 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31-12s-20 6-31 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30-12v22l19 9c11 6 21 12 31 12s21-6 32-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31 12s20-6 31-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31 12s20-6 31-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31 12s20-6 31-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32 12s20-6 31-12l19-9v-22c-10 0-20 6-30 12-7 4-16 9-20 9zm50 34c-10 1-20 6-30 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31-12s-20 6-31 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32-12s-20 6-31 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31-12s-21 6-32 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31-12s-20 6-31 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30-12v23c4 0 13 5 19 9 11 6 21 12 31 12s21-6 32-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31 12s20-6 31-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31 12s20-6 31-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31 12s20-6 31-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32 12s20-6 31-12c6-4 15-9 19-9v-23z\",\n fill: \"#0052b4\"\n }), React.createElement(\"path\", {\n d: \"M256 85zm0 171z\",\n fill: \"#f0f0f0\"\n }), React.createElement(\"path\", {\n fill: \"#6da544\",\n d: \"M351 169h66l-33 33z\"\n }), React.createElement(\"path\", {\n d: \"M377 195h14v41h-14zm0 107h14v41h-14z\",\n fill: \"#a2001d\"\n }), React.createElement(\"path\", {\n d: \"M429 280a22 22 0 00-38-16v-14h8v-14h-8v-8h-14v8h-8v14h8v14c-4-4-10-6-15-6a22 22 0 00-15 39v13h74v-13c5-4 8-10 8-17z\",\n fill: \"#ffda44\"\n }), React.createElement(\"path\", {\n d: \"M406 273l-5 2-10 8h-14l-10-8-5-2a7 7 0 00-5 13l5 4v5h44v-5l5-4c1-1 3-3 3-6 0-4-4-7-8-7z\",\n fill: \"#d80027\"\n }), React.createElement(\"path\", {\n fill: \"#f0f0f0\",\n d: \"M0 85h256v171H0z\"\n }), React.createElement(\"g\", {\n fill: \"#d80027\"\n }, React.createElement(\"path\", {\n d: \"M144 85h-32v70H0v32h112v69h32v-69h112v-32H144z\"\n }), React.createElement(\"path\", {\n d: \"M0 85v15l57 39h23z\"\n })), React.createElement(\"path\", {\n d: \"M0 108v31h46zm96-23v49L23 85z\",\n fill: \"#2e52b2\"\n }), React.createElement(\"path\", {\n fill: \"#d80027\",\n d: \"M256 85v15l-57 39h-23z\"\n }), React.createElement(\"path\", {\n d: \"M256 108v31h-46zm-96-23v49l73-49z\",\n fill: \"#2e52b2\"\n }), React.createElement(\"path\", {\n fill: \"#d80027\",\n d: \"M0 85v15l57 39h23z\"\n }), React.createElement(\"path\", {\n d: \"M0 108v31h46zm96-23v49L23 85z\",\n fill: \"#2e52b2\"\n }), React.createElement(\"path\", {\n fill: \"#d80027\",\n d: \"M256 85v15l-57 39h-23z\"\n }), React.createElement(\"path\", {\n d: \"M256 108v31h-46zm-96-23v49l73-49z\",\n fill: \"#2e52b2\"\n }), React.createElement(\"path\", {\n fill: \"#d80027\",\n d: \"M0 256v-15l57-38h23z\"\n }), React.createElement(\"path\", {\n d: \"M0 233v-30h46zm96 23v-49l-73 49z\",\n fill: \"#2e52b2\"\n }), React.createElement(\"path\", {\n fill: \"#d80027\",\n d: \"M256 256v-15l-57-38h-23z\"\n }), React.createElement(\"path\", {\n d: \"M256 233v-30h-46zm-96 23v-49l73 49z\",\n fill: \"#2e52b2\"\n }));\n },\n IQ: function IQ(_ref108) {\n var title = _ref108.title,\n rest = _objectWithoutProperties(_ref108, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"g\", {\n fill: \"#496E2D\"\n }, React.createElement(\"path\", {\n d: \"M219.186 246.069c-.083 0-.165.006-.248.007v-.007H189.83c1.476-5.702 6.649-9.931 12.806-9.931v-19.863c-18.254 0-33.103 14.85-33.103 33.103v16.551H219.188a3.314 3.314 0 013.31 3.31v6.62H156.29v19.862h86.069V269.24c0-12.776-10.395-23.171-23.173-23.171zM268.841 275.862v-59.587H248.98v79.449h33.103v-19.862zM335.048 275.862v-59.587h-19.862v59.587h-6.62v-19.861h-19.863v39.723h59.587v-19.862z\"\n })));\n },\n IR: function IR(_ref109) {\n var title = _ref109.title,\n rest = _objectWithoutProperties(_ref109, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 312.888h512v113.775H0zM300.345 220.383h-17.863c.148 1.963.232 3.944.232 5.936 0 13.207-3.301 26.01-9.057 35.122-1.775 2.812-4.759 6.78-8.753 9.456v-50.514h-17.809v50.514c-3.994-2.677-6.977-6.646-8.753-9.456-5.756-9.113-9.056-21.915-9.056-35.122 0-1.992.085-3.974.232-5.936h-17.863a100.953 100.953 0 00-.177 5.936c.001 36.617 19.557 65.299 44.523 65.299s44.522-28.682 44.522-65.299a102.71 102.71 0 00-.178-5.936z\"\n })), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M44.522 184.275h22.261v24.421H44.522zM0 184.275h22.261v24.421H0zM89.043 184.275h22.261v24.421H89.043zM133.565 184.275h22.261v24.421h-22.261zM178.087 184.275h22.261v24.421h-22.261zM222.609 184.275h22.261v24.421h-22.261zM267.13 184.275h22.261v24.421H267.13zM311.652 184.275h22.261v24.421h-22.261zM356.174 184.275h22.261v24.421h-22.261zM400.696 184.275h22.261v24.421h-22.261zM445.217 184.275h22.261v24.421h-22.261zM489.739 184.275H512v24.421h-22.261zM44.522 302.191h22.261v25.534H44.522zM0 302.191h22.261v25.534H0zM89.043 302.191h22.261v25.534H89.043zM133.565 302.191h22.261v25.534h-22.261zM178.087 302.191h22.261v25.534h-22.261zM222.609 302.191h22.261v25.534h-22.261zM267.13 302.191h22.261v25.534H267.13zM311.652 302.191h22.261v25.534h-22.261zM356.174 302.191h22.261v25.534h-22.261zM400.696 302.191h22.261v25.534h-22.261zM445.217 302.191h22.261v25.534h-22.261zM489.739 302.191H512v25.534h-22.261z\"\n })));\n },\n IS: function IS(_ref110) {\n var title = _ref110.title,\n rest = _objectWithoutProperties(_ref110, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.334h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M512 295.883H202.195v130.783H122.435V295.883H0V216.111h122.435V85.329H202.195v130.782H512V277.329z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z\"\n }));\n },\n IT: function IT(_ref111) {\n var title = _ref111.title,\n rest = _objectWithoutProperties(_ref111, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M341.334 85.33H0v341.332h512V85.33z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.333h170.663V426.67H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M341.337 85.333H512V426.67H341.337z\"\n }));\n },\n JE: function JE(_ref112) {\n var title = _ref112.title,\n rest = _objectWithoutProperties(_ref112, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.334h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.334h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M301.255 255.997L512 115.499v-30.17h-45.255L256 225.826 45.255 85.329H0v30.17l210.745 140.498L0 396.494v30.169h45.255L256 286.167l210.745 140.496H512v-30.169z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M233.739 166.953L256 172.518l22.261-5.565v-18.922l-8.904 4.453L256 139.127l-13.357 13.357-8.904-4.453z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M233.739 166.953v13.914c0 17.04 22.261 22.261 22.261 22.261s22.261-5.221 22.261-22.261v-13.914h-44.522z\"\n }));\n },\n JM: function JM(_ref113) {\n var title = _ref113.title,\n rest = _objectWithoutProperties(_ref113, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n d: \"M215.864 256.006L0 399.911V112.089zM512 112.089v287.822L296.136 256.006z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M512 112.089L296.136 256.006 512 399.911v26.757h-40.125L256 282.752 40.125 426.668H0v-26.757l215.864-143.905L0 112.089V85.331h40.125L256 229.248 471.875 85.331H512z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M512 112.089L296.136 256.006 512 399.911v26.757h-40.125L256 282.752 40.125 426.668H0v-26.757l215.864-143.905L0 112.089V85.331h40.125L256 229.248 471.875 85.331H512z\"\n }));\n },\n JO: function JO(_ref114) {\n var title = _ref114.title,\n rest = _objectWithoutProperties(_ref114, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.339h512v341.326H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.339h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 312.89h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M256 256.006L0 426.669V85.331z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M77.913 224.802l7.876 16.469 17.786-4.11-7.965 16.426 14.303 11.343-17.808 4.014.049 18.255-14.241-11.421-14.241 11.421.05-18.255-17.809-4.014 14.303-11.343-7.965-16.426 17.786 4.11z\"\n }));\n },\n JP: function JP(_ref115) {\n var title = _ref115.title,\n rest = _objectWithoutProperties(_ref115, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"circle\", {\n fill: \"#D80027\",\n cx: 256,\n cy: 255.994,\n r: 96\n }));\n },\n KE: function KE(_ref116) {\n var title = _ref116.title,\n rest = _objectWithoutProperties(_ref116, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.331h512v90.579H0z\"\n }), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 336.089h512v90.568H0z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M0 198.606h512v114.799H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M323.265 139.803l-25.583-11.809L256 222.376l-41.682-94.382-25.583 11.809 51.749 116.191-51.749 116.192 25.583 11.808L256 289.613l41.682 94.381 25.583-11.808-51.749-116.192z\"\n }), React.createElement(\"path\", {\n d: \"M273.376 150.931C263.472 140.115 256 133.898 256 133.898s-7.472 6.216-17.376 17.032v210.127C248.528 371.873 256 378.091 256 378.091s7.472-6.216 17.376-17.033V150.931z\"\n })), React.createElement(\"g\", {\n fill: \"#A2001D\"\n }, React.createElement(\"path\", {\n d: \"M209.04 191.226v129.535c10.465 18.542 23.274 33.742 32.872 43.818V147.408c-9.599 10.076-22.408 25.275-32.872 43.818zM302.96 191.226c-10.465-18.543-23.274-33.742-32.872-43.818V364.58c9.599-10.077 22.407-25.276 32.872-43.818V191.226z\"\n })), React.createElement(\"path\", {\n d: \"M302.96 191.226v129.535c10.594-18.774 18.784-40.973 18.784-64.767s-8.19-45.993-18.784-64.768zM209.04 191.226v129.535c-10.594-18.774-18.784-40.973-18.784-64.767s8.19-45.993 18.784-64.768z\"\n }));\n },\n KG: function KG(_ref117) {\n var title = _ref117.title,\n rest = _objectWithoutProperties(_ref117, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"circle\", {\n cx: 256,\n cy: 255.994,\n r: 170.663\n })), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M339.465 255.994l-34.104 16.042 18.161 33.031-37.035-7.085-4.691 37.409L256 307.879l-25.795 27.512-4.693-37.409-37.033 7.083 18.161-33.031-34.105-16.04 34.106-16.04-18.162-33.033 37.031 7.087 4.696-37.41L256 204.111l25.797-27.513 4.69 37.41 37.036-7.087-18.161 33.034z\"\n }), React.createElement(\"circle\", {\n fill: \"#D80027\",\n cx: 256,\n cy: 255.994,\n r: 51.942\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M230.029 255.994c-1.251 0-2.487.063-3.705.186a29.551 29.551 0 006.947 18.894 52.064 52.064 0 0110.035-16.614 36.902 36.902 0 00-13.277-2.466zM246.017 283.95c3.12 1.114 6.48 1.726 9.983 1.726s6.863-.611 9.983-1.726A37.122 37.122 0 00256 266.634a37.122 37.122 0 00-9.983 17.316zM281.702 241.159c-5.132-8.871-14.717-14.845-25.702-14.845s-20.571 5.974-25.704 14.845A51.61 51.61 0 01256 248.143a51.6 51.6 0 0125.702-6.984zM268.695 258.46a52.02 52.02 0 0110.035 16.614 29.555 29.555 0 006.947-18.894 36.898 36.898 0 00-16.982 2.28z\"\n })));\n },\n KH: function KH(_ref118) {\n var title = _ref118.title,\n rest = _objectWithoutProperties(_ref118, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#0052B4\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z\"\n })), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M303.49 281.971v-17.809h-11.873v-23.745l-11.872-11.872-11.872 11.872v-23.744L256 204.8l-11.873 11.873v23.744l-11.872-11.872-11.872 11.872v23.745H208.51v17.809h-11.872v17.808h118.724v-17.808z\"\n }));\n },\n KI: function KI(_ref119) {\n var title = _ref119.title,\n rest = _objectWithoutProperties(_ref119, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 450 300\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#CE1126\",\n d: \"M0 0h450v300H0V0z\"\n }), React.createElement(\"g\", {\n fill: \"#FCD116\",\n stroke: \"#BD9C08\",\n strokeWidth: 1.2\n }, React.createElement(\"circle\", {\n cx: 225,\n cy: 150,\n r: 80\n }), React.createElement(\"path\", {\n d: \"M225 16l-14.5 40h27zM287.6 33l-32.1 27.9L279 74zM158.3 33.2l7.6 41.9 23.4-13.7zM333.4 74.1l-41 11.2 15.5 22zM114.8 73.2l24.2 35 15.6-22.1zM355.4 128.9l-41.7-8.1 4.2 26.6zM93.4 127.7l37.6 19.8 3.7-26.8z\"\n })), React.createElement(\"path\", {\n fill: \"#003F87\",\n d: \"M0 165h450v135H0V165z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 257c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21z\"\n }));\n },\n KM: function KM(_ref120) {\n var title = _ref120.title,\n rest = _objectWithoutProperties(_ref120, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.337h512v85.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 170.663h512V256H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 256h512v85.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M256 256.006L0 426.668V85.331z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M68.638 256c0-24.865 17.476-45.638 40.812-50.734a52.059 52.059 0 00-11.13-1.208c-28.688 0-51.942 23.255-51.942 51.942s23.255 51.942 51.942 51.942c3.822 0 7.543-.425 11.13-1.208-23.337-5.096-40.812-25.869-40.812-50.734z\"\n }), React.createElement(\"path\", {\n d: \"M108.877 211.478l2.762 8.503h8.94l-7.232 5.256 2.762 8.502-7.232-5.255-7.234 5.255 2.764-8.502-7.234-5.256h8.94zM108.877 233.739l2.762 8.503h8.94l-7.232 5.255 2.762 8.503-7.232-5.255-7.234 5.255 2.764-8.503-7.234-5.255h8.94zM108.877 256l2.762 8.503h8.94l-7.232 5.255 2.762 8.503-7.232-5.255-7.234 5.255 2.764-8.503-7.234-5.255h8.94zM108.877 278.261l2.762 8.502h8.94l-7.232 5.256 2.762 8.503-7.232-5.255-7.234 5.255 2.764-8.503-7.234-5.256h8.94z\"\n })));\n },\n KN: function KN(_ref121) {\n var title = _ref121.title,\n rest = _objectWithoutProperties(_ref121, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.333h512V426.67H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M512 85.33H0v341.333\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M446.679 85.33h-28.845L0 363.887V426.663H94.165L512 148.105V85.33z\"\n }), React.createElement(\"path\", {\n d: \"M512 85.33h-65.321L0 383.117v43.546h65.32L512 128.876z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M186.241 265.94l18.902 14.53 19.659-13.487-7.977 22.467 18.902 14.53-23.832-.644-7.979 22.467-6.751-22.867-23.833-.644 19.66-13.487zM289.182 195.323l18.902 14.53 19.659-13.487-7.977 22.467 18.902 14.53-23.833-.645-7.978 22.468-6.752-22.867-23.832-.644 19.66-13.487z\"\n })));\n },\n KP: function KP(_ref122) {\n var title = _ref122.title,\n rest = _objectWithoutProperties(_ref122, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#91DC5A\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#0052B4\"\n }, React.createElement(\"path\", {\n d: \"M0 85.331h512v57.188H0zM0 369.48h512v57.177H0z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 165.215h512v181.582H0z\"\n }), React.createElement(\"circle\", {\n fill: \"#FFF\",\n cx: 190.33,\n cy: 255.994,\n r: 65.668\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M190.332 190.332l14.734 45.346h47.757l-38.65 28.028 14.849 45.481-38.69-28.16-38.631 28.107 14.79-45.428-38.616-28.028h47.722z\"\n }));\n },\n KR: function KR(_ref123) {\n var title = _ref123.title,\n rest = _objectWithoutProperties(_ref123, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M318.33 255.994c0 15.583-27.906 54.539-62.33 54.539s-62.33-38.957-62.33-54.539c0-34.424 27.906-62.33 62.33-62.33s62.33 27.906 62.33 62.33z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M318.33 255.994c0 34.424-27.906 62.33-62.33 62.33s-62.33-27.906-62.33-62.33\"\n }), React.createElement(\"path\", {\n d: \"M322.114 311.096l16.528-16.528 11.018 11.018-16.528 16.528zM294.566 338.63l16.528-16.527 11.018 11.018-16.528 16.528zM355.17 344.132l16.527-16.528 11.018 11.018-16.527 16.528zM327.621 371.689l16.528-16.528 11.018 11.018-16.528 16.528zM338.641 327.614l16.528-16.527 11.018 11.018-16.527 16.527zM311.094 355.16l16.528-16.528 11.018 11.018-16.528 16.527zM355.177 200.896l-44.073-44.073 11.018-11.018 44.073 44.073zM311.099 189.881l-16.528-16.527 11.017-11.018 16.528 16.528zM338.635 217.431l-16.528-16.527 11.017-11.018 16.528 16.528zM344.135 156.825l-16.528-16.528 11.018-11.018 16.528 16.528zM371.694 184.374l-16.528-16.527 11.019-11.019 16.527 16.528zM140.31 327.61l44.073 44.074-11.018 11.018-44.074-44.073zM184.368 338.635l16.527 16.527-11.017 11.018-16.528-16.528zM156.832 311.087l16.528 16.528-11.019 11.018-16.527-16.528zM173.363 294.564l44.073 44.073-11.018 11.019-44.073-44.074zM184.384 140.287l-44.073 44.074-11.018-11.018 44.073-44.074zM200.895 156.823l-44.073 44.074-11.018-11.018 44.073-44.074zM217.424 173.351l-44.074 44.074-11.017-11.017 44.074-44.074z\"\n }));\n },\n KW: function KW(_ref124) {\n var title = _ref124.title,\n rest = _objectWithoutProperties(_ref124, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"path\", {\n d: \"M166.957 312.889L0 426.663V85.337l166.957 113.774z\"\n }));\n },\n KY: function KY(_ref125) {\n var title = _ref125.title,\n rest = _objectWithoutProperties(_ref125, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.334h512v341.337H0z\"\n }), React.createElement(\"circle\", {\n fill: \"#6DA544\",\n cx: 384,\n cy: 181.79,\n r: 29.682\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M332.054 174.377h103.88v44.522h-103.88z\"\n }), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M435.942 255.997v-.001.001z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M332.058 285.678v29.682h15.616c9.364 9.176 22.18 14.84 36.326 14.84 14.147 0 26.962-5.664 36.326-14.84h15.616v-29.682H332.058z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M332.058 211.475v44.522c0 39.759 51.942 51.942 51.942 51.942s51.942-12.182 51.942-51.942v-44.522H332.058z\"\n }), React.createElement(\"g\", {\n fill: \"#F3F3F3\"\n }, React.createElement(\"path\", {\n d: \"M383.997 235.256c-12.985 0-12.985 11.873-25.97 11.873s-12.985-11.873-25.97-11.873v20.777c12.985 0 12.985 11.873 25.97 11.873s12.985-11.873 25.97-11.873c12.986 0 12.986 11.873 25.973 11.873 12.986 0 12.986-11.873 25.973-11.873v-20.777c-12.986 0-12.986 11.873-25.973 11.873-12.986-.001-12.986-11.873-25.973-11.873zM383.997 193.666c-12.985 0-12.985 11.873-25.97 11.873s-12.985-11.873-25.97-11.873v20.777c12.985 0 12.985 11.873 25.97 11.873s12.985-11.873 25.97-11.873c12.986 0 12.986 11.873 25.973 11.873 12.986 0 12.986-11.873 25.973-11.873v-20.777c-12.986 0-12.986 11.873-25.973 11.873-12.986 0-12.986-11.873-25.973-11.873z\"\n })), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 85.334v22.617l-46.069 30.709H256v64h-46.069L256 233.38v22.617h-22.628L160 207.078v48.919H96v-48.919l-73.372 48.919H0V233.38l46.069-30.72H0v-64h46.069L0 107.951V85.334h22.628L96 134.241V85.334h64v48.907l73.372-48.907z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M144 85.329h-32v69.334H0v32h112v69.334h32v-69.334h112v-32H144z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.329v15.082l57.377 38.252H80zM256 85.329v15.082l-57.377 38.252H176z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.329v15.082l57.377 38.252H80zM256 85.329v15.082l-57.377 38.252H176zM0 255.997v-15.082l57.377-38.252H80zM256 255.997v-15.082l-57.377-38.252H176z\"\n })));\n },\n KZ: function KZ(_ref126) {\n var title = _ref126.title,\n rest = _objectWithoutProperties(_ref126, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M352 265.768H160c0 13.255 11.544 23.999 24.799 23.999H184c0 13.255 10.744 24.001 24.001 24.001 0 13.255 10.744 24.001 24.001 24.001h48c13.255 0 24.001-10.744 24.001-24.001 13.255 0 24.001-10.744 24.001-24.001h-.799c13.249 0 24.795-10.744 24.795-23.999z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M322.462 234.384c0 36.705-29.756 66.462-66.462 66.462s-66.462-29.756-66.462-66.462\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M321.882 228.163l-26.92 10.899 14.335 22.441-29.232-4.814-3.704 25.415L256 263.412l-20.362 18.692-3.703-25.415-29.232 4.812 14.334-22.44-26.919-10.898 26.92-10.899-14.335-22.439 29.231 4.813 3.705-25.417L256 192.915l20.362-18.694 3.703 25.417 29.233-4.813-14.335 22.44z\"\n }));\n },\n LA: function LA(_ref127) {\n var title = _ref127.title,\n rest = _objectWithoutProperties(_ref127, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z\"\n })), React.createElement(\"circle\", {\n fill: \"#F0F0F0\",\n cx: 256,\n cy: 256,\n r: 47.49\n }));\n },\n LB: function LB(_ref128) {\n var title = _ref128.title,\n rest = _objectWithoutProperties(_ref128, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z\"\n })), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M290.286 278.857L256 216.001l-34.286 62.856h25.714v17.144h17.144v-17.144z\"\n }));\n },\n LC: function LC(_ref129) {\n var title = _ref129.title,\n rest = _objectWithoutProperties(_ref129, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#F3F3F3\",\n d: \"M192.927 315.356h126.146L256 166.951z\"\n }), React.createElement(\"path\", {\n fill: \"#333\",\n d: \"M214.847 300.516L256 206.91l41.153 93.606z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M192.927 315.356h126.146L256 255.994z\"\n }));\n },\n LI: function LI(_ref130) {\n var title = _ref130.title,\n rest = _objectWithoutProperties(_ref130, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.34h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M512 85.334v166.69L0 256.175V85.334z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M211.478 204.06c0-12.295-9.966-22.261-22.261-22.261a22.173 22.173 0 00-14.84 5.672v-13.093h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093a22.175 22.175 0 00-14.84-5.672c-12.295 0-22.261 9.966-22.261 22.261 0 6.591 2.867 12.512 7.421 16.589v13.093h74.203v-13.093c4.551-4.077 7.418-9.997 7.418-16.589z\"\n }));\n },\n LK: function LK(_ref131) {\n var title = _ref131.title,\n rest = _objectWithoutProperties(_ref131, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.329v341.337h512V85.329H0zm489.739 319.076h-267.13V107.59h267.13v296.815z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M222.609 107.595h267.13V404.41h-267.13z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M22.261 107.595h200.348V404.41H22.261z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M200.348 85.334h22.261v341.337h-22.261z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M22.261 107.595h89.043V404.41H22.261z\"\n }), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M111.304 107.595h89.043V404.41h-89.043z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M358.675 250.438v-44.522c0-7.424-11.13-14.848-11.13-14.848s-11.13 7.424-11.13 14.848h-44.522v44.522h22.261v22.261c0 4.875.979 9.539 2.76 13.768l-10.184 8.493h-29.674V157.677c-12.299 0-22.261 9.973-22.261 22.261v96.467a22.19 22.19 0 007.413 16.584v35.361h14.848v-18.554h66.783v29.685H328.99v14.837h29.685v-29.685l13.601-14.837h44.288v29.685h-14.848v14.837h29.685v-29.685l13.601-14.837 12.552-40.259-11.038-19.1h-38.945c-14.169-.122-40.637.09-48.896.001z\"\n }), React.createElement(\"path\", {\n d: \"M370.551 211.844v25.229h71.513v13.365h4.452v-17.817h-71.513v-16.325h75.965v-4.452zM222.609 107.595h22.261v22.261h-22.261zM467.478 107.595h22.261v22.261h-22.261zM222.609 382.138h22.261v22.261h-22.261zM467.478 382.138h22.261v22.261h-22.261z\"\n })));\n },\n LR: function LR(_ref132) {\n var title = _ref132.title,\n rest = _objectWithoutProperties(_ref132, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 91.476h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 91.476h512v31.031H0zM0 153.539h512v31.031H0zM0 215.603h512v31.031H0zM0 277.666h512v31.031H0zM0 339.729h512v31.031H0zM0 401.793h512v31.031H0z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 79.177h256v167.457H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M127.999 118.382l11.05 34.01h35.764l-28.932 21.021 11.05 34.012-28.932-21.021-28.933 21.021 11.053-34.012-28.932-21.021h35.762z\"\n }));\n },\n LS: function LS(_ref133) {\n var title = _ref133.title,\n rest = _objectWithoutProperties(_ref133, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"path\", {\n d: \"M267.13 252.29v-40.812h-22.26v40.812l-26.887 26.888c7.819 12.799 21.92 21.344 38.017 21.344s30.198-8.545 38.017-21.345L267.13 252.29z\"\n }));\n },\n LT: function LT(_ref134) {\n var title = _ref134.title,\n rest = _objectWithoutProperties(_ref134, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 312.888h512v113.775H0z\"\n }));\n },\n LU: function LU(_ref135) {\n var title = _ref135.title,\n rest = _objectWithoutProperties(_ref135, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 312.888h512v113.775H0z\"\n }));\n },\n LV: function LV(_ref136) {\n var title = _ref136.title,\n rest = _objectWithoutProperties(_ref136, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#A2001D\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z\"\n })));\n },\n LY: function LY(_ref137) {\n var title = _ref137.title,\n rest = _objectWithoutProperties(_ref137, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M281.424 236.026l8.962 12.35 14.513-4.706-8.975 12.339 8.961 12.349-14.509-4.724-8.976 12.34.01-15.258-14.51-4.725 14.514-4.706z\"\n }), React.createElement(\"path\", {\n d: \"M256.965 286.868c-17.048 0-30.868-13.821-30.868-30.868s13.821-30.868 30.868-30.868a30.742 30.742 0 0114.684 3.71c-6.851-6.698-16.218-10.833-26.556-10.833-20.982 0-37.992 17.01-37.992 37.992s17.01 37.992 37.992 37.992c10.338 0 19.706-4.135 26.556-10.833a30.738 30.738 0 01-14.684 3.708z\"\n })));\n },\n MA: function MA(_ref138) {\n var title = _ref138.title,\n rest = _objectWithoutProperties(_ref138, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337v341.326h512V85.337z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M352 226.484h-73.337L256 156.738l-22.663 69.748H160l59.331 43.107-22.663 69.749L256 296.232l59.332 43.107-22.663-69.749L352 226.484zm-116.063 37.711l7.663-23.585h24.8l7.663 23.585v.001L256 278.772l-20.063-14.577zm27.873-37.711h-15.619L256 202.447l7.81 24.037zm24.269 28.982l-4.827-14.856h25.274l-20.447 14.856zm-59.331-14.856l-4.827 14.856-20.447-14.856h25.274zm-5.211 61.748l7.81-24.036 12.636 9.181-20.446 14.855zm44.479-14.856l12.636-9.181 7.81 24.036-20.446-14.855z\"\n }));\n },\n MC: function MC(_ref139) {\n var title = _ref139.title,\n rest = _objectWithoutProperties(_ref139, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.34h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M512 85.334v166.69L0 256.175V85.334z\"\n }));\n },\n MD: function MD(_ref140) {\n var title = _ref140.title,\n rest = _objectWithoutProperties(_ref140, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M330.207 85.331H512v341.337H330.207z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.331h181.793v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M315.362 219.607H274.55c0-10.244-8.306-18.551-18.551-18.551-10.246 0-18.551 8.306-18.551 18.551h-40.812c0 10.088 8.787 18.265 18.874 18.265h-.608c0 10.088 8.176 18.266 18.265 18.266 0 8.931 6.414 16.353 14.886 17.939l-14.393 32.495c6.896 2.804 14.434 4.362 22.338 4.362s15.441-1.558 22.338-4.362l-14.392-32.495c8.471-1.586 14.886-9.008 14.886-17.939 10.089 0 18.265-8.179 18.265-18.266h-.609c10.09-.001 18.876-8.179 18.876-18.265z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M256 244.864l-24.116 11.13v22.261L256 293.095l24.116-14.84v-22.261z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M231.88 233.734h48.228v22.261H231.88z\"\n }));\n },\n ME: function ME(_ref141) {\n var title = _ref141.title,\n rest = _objectWithoutProperties(_ref141, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M0 115.011h512v281.978H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M218.899 211.478h74.202v-29.681l-14.84 7.42L256 166.957l-22.261 22.26-14.84-7.42zM322.783 256h-37.088a17 17 0 002.3-8.543c0-9.458-7.668-17.124-17.124-17.124-6.534 0-12.209 3.661-15.096 9.041-2.887-5.38-8.562-9.041-15.096-9.041-9.456 0-17.124 7.666-17.124 17.124 0 3.114.846 6.026 2.3 8.543h-36.636c0 11.349 9.885 20.549 21.232 20.549h-.685c0 9.31 6.192 17.168 14.68 19.694l-16.678 16.678 15.741 15.741 22.329-22.329c.875.321 1.78.577 2.714.752l-13.492 30.464c6.466 2.629 13.531 4.088 20.941 4.088s14.475-1.46 20.941-4.088l-13.492-30.464a17.108 17.108 0 002.714-.752l22.329 22.329 15.741-15.741-16.678-16.678c8.488-2.526 14.68-10.385 14.68-19.694h-.685c11.347 0 21.232-9.2 21.232-20.549z\"\n })), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M256 267.13l-24.116 11.131v22.261L256 315.362l24.116-14.84v-22.261z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M231.88 256h48.228v29.682H231.88z\"\n }));\n },\n MF: function MF(_ref142) {\n var title = _ref142.title,\n rest = _objectWithoutProperties(_ref142, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n width: 900,\n height: 600,\n viewBox: \"0 0 108 72\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n d: \"M0 0h108v72H0z\",\n fill: \"#003787\"\n }), React.createElement(\"path\", {\n d: \"M0 0h108L60 48v24H48V48z\",\n fill: \"#fff\"\n }), React.createElement(\"circle\", {\n cx: 54,\n cy: 30,\n r: 8,\n fill: \"#f9d90f\"\n }), React.createElement(\"path\", {\n d: \"M44 30h20L54 48z\",\n fill: \"#fff\"\n }), React.createElement(\"path\", {\n d: \"M54 48L38 33h32z\",\n fill: \"#cf142b\"\n }));\n },\n MG: function MG(_ref143) {\n var title = _ref143.title,\n rest = _objectWithoutProperties(_ref143, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M512 426.666V85.329H0v341.337h512z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M512 85.331H0v170.666h512V85.331z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.334h181.793v341.337H0z\"\n }));\n },\n MH: function MH(_ref144) {\n var title = _ref144.title,\n rest = _objectWithoutProperties(_ref144, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M233.839 185.115l-20.844 9.803 11.1 20.187-22.633-4.33-2.868 22.864-15.765-16.816-15.766 16.816-2.867-22.864-22.634 4.33 11.1-20.187-20.843-9.803 20.843-9.805-11.1-20.185 22.633 4.328 2.869-22.864 15.765 16.816 15.765-16.816 2.868 22.864 22.634-4.328-11.1 20.186zM426.917 85.337L0 421.52v3.762L503.756 85.337z\"\n })), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M512 85.337h-8.244L0 425.282v1.381h3.723L512 136.998z\"\n }));\n },\n MK: function MK(_ref145) {\n var title = _ref145.title,\n rest = _objectWithoutProperties(_ref145, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.333h512V426.67H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M383.875 426.662L256 252.286l26.827 174.376zM133.565 85.33L256 252.286 230.314 85.33zM229.171 426.662L256 252.286 128.124 426.662zM0 85.33V212.9l256 39.386L28.333 85.33zM0 426.662h18.212L256 252.286 0 291.67zM256 252.286L512 212.9V85.33h-28.331zM281.686 85.33L256 252.286 378.434 85.33zM512 426.662V291.671l-256-39.385 237.787 174.376z\"\n }), React.createElement(\"circle\", {\n cx: 256,\n cy: 252.29,\n r: 59.359\n })), React.createElement(\"circle\", {\n fill: \"#FFDA44\",\n cx: 256,\n cy: 252.29,\n r: 44.522\n }));\n },\n ML: function ML(_ref146) {\n var title = _ref146.title,\n rest = _objectWithoutProperties(_ref146, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.331h170.663v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M341.337 85.331H512v341.337H341.337z\"\n }));\n },\n MM: function MM(_ref147) {\n var title = _ref147.title,\n rest = _objectWithoutProperties(_ref147, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M384 227.261h-97.783L256 134.265l-30.217 92.997H128l79.108 57.475-30.217 92.998L256 320.925l79.108 56.81-30.217-92.998L384 227.261z\"\n }));\n },\n MN: function MN(_ref148) {\n var title = _ref148.title,\n rest = _objectWithoutProperties(_ref148, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#A2001D\"\n }, React.createElement(\"path\", {\n d: \"M330.207 85.331H512v341.337H330.207zM0 85.331h181.793v341.337H0z\"\n })), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M113.163 267.125h14.84v59.359h-14.84zM53.793 267.125h14.84v59.359h-14.84z\"\n }), React.createElement(\"circle\", {\n cx: 90.902,\n cy: 289.386,\n r: 14.84\n }), React.createElement(\"circle\", {\n cx: 90.902,\n cy: 237.44,\n r: 7.421\n }), React.createElement(\"path\", {\n d: \"M76.054 311.647h29.682v14.84H76.054zM76.054 252.288h29.682v14.84H76.054zM90.897 185.502l5.255 16.173h17.006l-13.757 9.996 5.252 16.173-13.756-9.996-13.756 9.996 5.251-16.173-13.756-9.996h17.005z\"\n })));\n },\n MO: function MO(_ref149) {\n var title = _ref149.title,\n rest = _objectWithoutProperties(_ref149, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M285.682 248.878c-4.19 0-8.166.836-11.861 2.164 2.023-4.509 3.379-9.527 3.379-14.885 0-21.201-21.201-37.101-21.201-37.101s-21.201 15.901-21.201 37.101c0 5.357 1.356 10.375 3.379 14.885-3.693-1.328-7.671-2.164-11.861-2.164-21.201 0-37.101 21.201-37.101 21.201s15.901 21.201 37.101 21.201c12.429 0 23.031-7.286 29.682-13.315 6.65 6.03 17.251 13.315 29.682 13.315 21.201 0 37.101-21.201 37.101-21.201s-15.899-21.201-37.099-21.201z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M256 152.111l4.38 13.476h14.171l-11.464 8.332 4.376 13.476-11.463-8.33-11.463 8.33 4.376-13.476-11.464-8.332h14.171zM202.112 175.683l8.425 7.585 9.818-5.667-4.61 10.355 8.423 7.588-11.274-1.185-4.611 10.355-2.358-11.088-11.275-1.185 9.818-5.669zM162.662 215.132l11.09 2.358 5.668-9.818 1.186 11.274 11.089 2.358-10.357 4.61 1.186 11.274-7.587-8.423-10.357 4.61 5.669-9.818zM309.889 175.683l-8.425 7.585-9.818-5.667 4.611 10.355-8.425 7.588 11.275-1.185 4.61 10.355 2.359-11.088 11.275-1.185-9.818-5.669zM349.338 215.132l-11.089 2.358-5.669-9.818-1.186 11.274-11.088 2.358 10.357 4.61-1.185 11.274 7.586-8.423 10.357 4.61-5.669-9.818z\"\n })), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M256 350.642c16.84 0 32.363-5.619 44.816-15.073h-89.63c12.451 9.454 27.974 15.073 44.814 15.073zM187.977 306.12a74.138 74.138 0 008.85 15.073h118.345a74.13 74.13 0 008.85-15.073H187.977z\"\n })));\n },\n MP: function MP(_ref150) {\n var title = _ref150.title,\n rest = _objectWithoutProperties(_ref150, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 750 500\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0071BC\",\n d: \"M0 0h750v500H0V0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\",\n stroke: \"#000\",\n strokeWidth: 1.9\n }, React.createElement(\"circle\", {\n cx: 375,\n cy: 245,\n r: 225,\n fill: \"#fff\"\n }), React.createElement(\"circle\", {\n cx: 375,\n cy: 245,\n r: 165,\n fill: \"#0071BC\"\n })), React.createElement(\"g\", {\n stroke: \"#000\"\n }, React.createElement(\"path\", {\n fill: \"#8C8A8C\",\n strokeWidth: 1.9,\n d: \"M444.7 450c.7 11-7.8 20-18.8 20H323.6c-11 0-19.5-9-19-20l16.7-325c.6-11 10-20 21-20h61.4c11 0 20.5 9 21.2 20l19.8 325z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n strokeWidth: 2,\n strokeLinejoin: \"round\",\n d: \"M373 114l30 93h97l-78 56 29 92-78-56-78 57 30-93-79-57h97l30-92z\"\n })));\n },\n MQ: function MQ(_ref151) {\n var title = _ref151.title,\n rest = _objectWithoutProperties(_ref151, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M512 233.734v44.521H278.261v148.402h-44.522V278.255H0v-44.521h233.739V85.331h44.522v148.403z\"\n }), React.createElement(\"path\", {\n d: \"M386.607 175.885a4.119 4.119 0 014.115-4.114h8.816c13.936 0 25.274-11.337 25.274-25.273 0-13.935-11.337-25.273-25.274-25.273h-8.372c-2.733-2.052-6.399-3.318-10.443-3.318-8.436 0-15.273 5.471-15.273 12.219 0 6.683 6.707 12.104 15.029 12.209l-.003.049h19.062c2.27 0 4.115 1.845 4.115 4.115s-1.845 4.114-4.115 4.114h-8.816c-13.936 0-25.273 11.337-25.273 25.273 0 13.935 11.336 25.273 25.273 25.273h34.09V180h-34.09a4.12 4.12 0 01-4.115-4.115zM108.346 175.885a4.119 4.119 0 014.115-4.114h8.816c13.936 0 25.274-11.337 25.274-25.273 0-13.935-11.337-25.273-25.274-25.273h-8.372c-2.733-2.052-6.399-3.318-10.443-3.318-8.436 0-15.273 5.471-15.273 12.219 0 6.683 6.707 12.104 15.029 12.209l-.003.049h19.062c2.27 0 4.115 1.845 4.115 4.115s-1.845 4.114-4.115 4.114h-8.816c-13.936 0-25.273 11.337-25.273 25.273 0 13.935 11.336 25.273 25.273 25.273h34.09V180h-34.09a4.12 4.12 0 01-4.115-4.115zM386.607 368.809a4.119 4.119 0 014.115-4.114h8.816c13.936 0 25.274-11.337 25.274-25.273 0-13.935-11.337-25.273-25.274-25.273h-8.372c-2.733-2.052-6.399-3.318-10.443-3.318-8.436 0-15.273 5.471-15.273 12.219 0 6.683 6.707 12.104 15.029 12.209l-.003.049h19.062c2.27 0 4.115 1.845 4.115 4.115s-1.845 4.114-4.115 4.114h-8.816c-13.936 0-25.273 11.337-25.273 25.273 0 13.935 11.336 25.273 25.273 25.273h34.09v-21.159h-34.09a4.119 4.119 0 01-4.115-4.115zM108.346 368.809a4.119 4.119 0 014.115-4.114h8.816c13.936 0 25.274-11.337 25.274-25.273 0-13.935-11.337-25.273-25.274-25.273h-8.372c-2.733-2.052-6.399-3.318-10.443-3.318-8.436 0-15.273 5.471-15.273 12.219 0 6.683 6.707 12.104 15.029 12.209l-.003.049h19.062c2.27 0 4.115 1.845 4.115 4.115s-1.845 4.114-4.115 4.114h-8.816c-13.936 0-25.273 11.337-25.273 25.273 0 13.935 11.336 25.273 25.273 25.273h34.09v-21.159h-34.09a4.119 4.119 0 01-4.115-4.115z\"\n })));\n },\n MR: function MR(_ref152) {\n var title = _ref152.title,\n rest = _objectWithoutProperties(_ref152, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M256 298.851c-45.956 0-84.348-32.298-93.767-75.429A96.288 96.288 0 00160 243.994c0 53.02 42.979 96 96 96s96-42.98 96-96c0-7.066-.785-13.942-2.233-20.572-9.419 43.131-47.811 75.429-93.767 75.429z\"\n }), React.createElement(\"path\", {\n d: \"M255.999 171.994l8.935 27.502h28.918l-23.394 16.996 8.936 27.503-23.395-16.998-23.394 16.998 8.937-27.503-23.394-16.996h28.915z\"\n })));\n },\n MS: function MS(_ref153) {\n var title = _ref153.title,\n rest = _objectWithoutProperties(_ref153, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.333h512V426.67H0z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M334.222 191.996v78.221c0 38.103 49.777 49.779 49.777 49.779s49.778-11.675 49.778-49.779v-78.221h-99.555z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M334.222 270.217c0 38.103 49.777 49.779 49.777 49.779s49.778-11.675 49.778-49.779h-99.555z\"\n }), React.createElement(\"path\", {\n d: \"M405.334 227.552H391.11v-14.223h-14.222v14.223h-14.222v14.223h14.222v42.665h14.222v-42.665h14.224z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M155.826 200.344L256 255.996v-15.737l-71.847-39.915z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M155.826 200.344L256 255.996v-15.737l-71.847-39.915z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M155.826 200.344L256 255.996v-15.737l-71.847-39.915zM71.846 200.344L0 240.259v15.737l100.174-55.652z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M100.174 140.982L0 85.33v15.737l71.847 39.915z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M100.174 140.982L0 85.33v15.737l71.847 39.915z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M100.174 140.982L0 85.33v15.737l71.847 39.915zM184.154 140.982L256 101.067V85.33l-100.174 55.652z\"\n })));\n },\n MT: function MT(_ref154) {\n var title = _ref154.title,\n rest = _objectWithoutProperties(_ref154, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M256 85.331h256v341.337H256z\"\n }), React.createElement(\"path\", {\n fill: \"#ACABB1\",\n d: \"M208.231 138.671v-21.334h-21.332v21.334h-21.334v21.332h21.334v21.334h21.332v-21.334h21.334v-21.332z\"\n }));\n },\n MU: function MU(_ref155) {\n var title = _ref155.title,\n rest = _objectWithoutProperties(_ref155, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h512v85.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 170.657h512v85.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 341.331h512v85.337H0z\"\n }));\n },\n MV: function MV(_ref156) {\n var title = _ref156.title,\n rest = _objectWithoutProperties(_ref156, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M144.696 174.375h222.609v163.25H144.696z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M283.484 304.226c-26.637 0-48.232-21.594-48.232-48.232s21.594-48.232 48.232-48.232c8.306 0 16.12 2.1 22.943 5.797-10.703-10.467-25.341-16.927-41.494-16.927-32.784 0-59.362 26.577-59.362 59.362s26.578 59.362 59.362 59.362c16.154 0 30.791-6.461 41.494-16.927-6.822 3.698-14.636 5.797-22.943 5.797z\"\n }));\n },\n MW: function MW(_ref157) {\n var title = _ref157.title,\n rest = _objectWithoutProperties(_ref157, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M307.01 166.957l-20.842-9.804 11.099-20.186-22.634 4.329-2.868-22.864L256 135.248l-15.764-16.816-2.869 22.864-22.633-4.329 11.099 20.186-20.843 9.804z\"\n }));\n },\n MX: function MX(_ref158) {\n var title = _ref158.title,\n rest = _objectWithoutProperties(_ref158, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M341.334 85.33H0v341.332h512V85.33z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.333h170.663V426.67H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M170.663 85.333h170.663V426.67H170.663z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M208 255.996c0 26.509 21.491 48 48 48s48-21.491 48-48v-16h-96v16z\"\n }), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M320 223.996h-48c0-8.836-7.164-16-16-16s-16 7.164-16 16h-48c0 8.836 7.697 16 16.533 16H208c0 8.836 7.164 16 16 16 0 8.836 7.164 16 16 16h32c8.836 0 16-7.164 16-16 8.836 0 16-7.164 16-16h-.533c8.836 0 16.533-7.163 16.533-16z\"\n }));\n },\n MY: function MY(_ref159) {\n var title = _ref159.title,\n rest = _objectWithoutProperties(_ref159, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 42.7h512v42.7H0zM0 128h512v42.7H0zM0 213.3h512V256H0zM0 298.7h512v42.7H0z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h256v170.7H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M141.1 134.8c-28 0-45.9-24.8-45.9-49.5 0-24.8 17.9-49.5 45.9-49.5 8.7 0 18.1 1 25.3 4.9-11.2-11-26.6-17.8-43.6-17.8-34.4 0-62.4 27.9-62.4 62.4s27.9 62.4 62.4 62.4c17 0 32.3-6.8 43.6-17.8-7.1 3.9-16.5 4.9-25.3 4.9z\"\n }), React.createElement(\"path\", {\n d: \"M171 49.7l9 18.8 20.3-4.7-9.1 18.8 16.4 12.9-20.4 4.6.1 20.9-16.3-13.1-16.2 13.1v-20.9l-20.3-4.6 16.3-12.9-9.1-18.8 20.3 4.7z\"\n })));\n },\n MZ: function MZ(_ref160) {\n var title = _ref160.title,\n rest = _objectWithoutProperties(_ref160, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 322.783h512v103.88H0z\"\n }), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 85.337h512v104.515H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 210.877h512v89.656H0z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M256 256.006L0 426.668V85.331z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M83.477 195.132l15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M39.268 256h88.42v40.578h-88.42z\"\n }), React.createElement(\"path\", {\n d: \"M144.443 209.479l-14.347-14.347-46.618 46.618-46.617-46.618-14.347 14.347 46.658 46.577-46.658 46.658 14.347 14.154 46.617-46.534 46.618 46.534 14.347-14.154-46.659-46.658z\"\n }));\n },\n NA: function NA(_ref161) {\n var title = _ref161.title,\n rest = _objectWithoutProperties(_ref161, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 426.663V85.337h512\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M512 152.222V85.337H411.67L0 359.778v66.885h100.33z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M187.737 189.212l-22.741 10.696 12.11 22.024-24.693-4.724-3.129 24.945-17.199-18.347-17.2 18.347-3.129-24.945-24.693 4.723 12.109-22.023-22.739-10.696 22.74-10.697-12.11-22.022 24.693 4.722 3.13-24.944 17.199 18.347 17.2-18.347 3.128 24.944 24.693-4.722-12.108 22.024z\"\n }));\n },\n NC: function NC(_ref162) {\n var title = _ref162.title,\n rest = _objectWithoutProperties(_ref162, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 640 426.7\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#009543\",\n d: \"M0 293h640v133.7H0V293z\"\n }), React.createElement(\"path\", {\n fill: \"#ED4135\",\n d: \"M0 132h640v161.3H0V132z\"\n }), React.createElement(\"path\", {\n fill: \"#0035AD\",\n d: \"M0 0h640v133.3H0V0z\"\n }), React.createElement(\"circle\", {\n fill: \"#FAE600\",\n stroke: \"#000\",\n strokeWidth: 5.3,\n cx: 240,\n cy: 213.3,\n r: 157.3\n }), React.createElement(\"path\", {\n d: \"M307.9 354.5l-31.8 12-36.1 4.2-37.8-2.4-35.9-15.5s28.6-29.3 40.7-33.5c8.6-3 22.4-3.7 22.4-3.7V122l-.3-66H246l-.5 67.5v191.7s15.3 1.2 22.1 4.1c11.3 4.9 40.3 35.2 40.3 35.2z\"\n }), React.createElement(\"path\", {\n d: \"M212.727 102.375l42.955-21.418 5.577 11.187-42.955 21.417z\"\n }), React.createElement(\"ellipse\", {\n cx: 237.8,\n cy: 280.5,\n rx: 16.8,\n ry: 26.5\n }), React.createElement(\"circle\", {\n cx: 237.4,\n cy: 143.4,\n r: 20.9\n }), React.createElement(\"ellipse\", {\n cx: 238.4,\n cy: 211.1,\n rx: 19.9,\n ry: 12.1\n }), React.createElement(\"path\", {\n d: \"M213.8 177h47v10h-47zM213.8 234h47v10h-47z\"\n }));\n },\n NE: function NE(_ref163) {\n var title = _ref163.title,\n rest = _objectWithoutProperties(_ref163, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"circle\", {\n fill: \"#FF9811\",\n cx: 256,\n cy: 256,\n r: 32\n }));\n },\n NF: function NF(_ref164) {\n var title = _ref164.title,\n rest = _objectWithoutProperties(_ref164, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#6DA544\"\n }, React.createElement(\"path\", {\n d: \"M0 85.331h170.663v341.337H0zM341.337 85.331H512v341.337H341.337zM304 311.995l-48-152.001-48 152.001h36v39.999h24v-39.999z\"\n })));\n },\n NG: function NG(_ref165) {\n var title = _ref165.title,\n rest = _objectWithoutProperties(_ref165, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#6DA544\"\n }, React.createElement(\"path\", {\n d: \"M0 85.331h170.663v341.337H0zM341.337 85.331H512v341.337H341.337z\"\n })));\n },\n NI: function NI(_ref166) {\n var title = _ref166.title,\n rest = _objectWithoutProperties(_ref166, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#338AF3\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z\"\n })), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M256 214.447c-22.949 0-41.553 18.603-41.553 41.553S233.05 297.553 256 297.553c22.949 0 41.553-18.603 41.553-41.553S278.949 214.447 256 214.447zm0 65.298c-13.114 0-23.745-10.631-23.745-23.745s10.631-23.745 23.745-23.745 23.745 10.631 23.745 23.745-10.631 23.745-23.745 23.745z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M276.563 261.936L256 256l-20.563 5.936-6.855 11.873h54.836z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M256 226.32l-13.709 23.744L256 256l13.709-5.936z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M235.437 261.936h41.126l-6.854-11.872h-27.418z\"\n }));\n },\n NL: function NL(_ref167) {\n var title = _ref167.title,\n rest = _objectWithoutProperties(_ref167, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 312.888h512v113.775H0z\"\n }));\n },\n NO: function NO(_ref168) {\n var title = _ref168.title,\n rest = _objectWithoutProperties(_ref168, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.334h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M512 295.883H202.195v130.783H122.435V295.883H0V216.111h122.435V85.329H202.195v130.782H512V277.329z\"\n }), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z\"\n }));\n },\n NP: function NP(_ref169) {\n var title = _ref169.title,\n rest = _objectWithoutProperties(_ref169, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 426.663V85.337l280.419 174.75H87.61l183.576 166.576z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M244.769 249.888L10.199 103.71v312.754h234.57L61.193 249.888z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M98.003 324.433l-14.589-6.863 7.77-14.13-15.844 3.03-2.008-16.005-11.035 11.772-11.036-11.772-2.008 16.005-15.843-3.031 7.77 14.131-14.591 6.863 14.591 6.862-7.77 14.13 15.844-3.029 2.007 16.004 11.036-11.772L73.332 358.4l2.008-16.004 15.843 3.03-7.769-14.13zM88.268 191.662l-10.612-4.991 5.651-10.278-11.523 2.205-1.461-11.641-8.026 8.561-8.026-8.561-1.46 11.641-11.525-2.205 5.652 10.278-10.613 4.991 25.972 5.194z\"\n }), React.createElement(\"path\", {\n d: \"M93.462 191.662c0 17.212-13.953 31.165-31.165 31.165s-31.165-13.953-31.165-31.165\"\n })));\n },\n NR: function NR(_ref170) {\n var title = _ref170.title,\n rest = _objectWithoutProperties(_ref170, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 239.994h512v32H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M174.802 341.329l-19.124 8.996 10.184 18.521-20.767-3.973-2.631 20.978L128 370.422l-14.465 15.429-2.63-20.978-20.767 3.973 10.183-18.521-19.123-8.996 19.124-8.995-10.184-18.52 20.766 3.971 2.632-20.978L128 312.236l14.465-15.429 2.63 20.978 20.767-3.971-10.183 18.521z\"\n }));\n },\n NU: function NU(_ref171) {\n var title = _ref171.title,\n rest = _objectWithoutProperties(_ref171, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.334h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.334h256v170.663H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.329v15.083l57.377 38.251H80z\"\n })), React.createElement(\"g\", {\n fill: \"#2E52B2\"\n }, React.createElement(\"path\", {\n d: \"M0 107.951v30.712h46.069zM96 85.331v48.913L22.628 85.331z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M256 85.329v15.083l-57.377 38.251H176z\"\n }), React.createElement(\"g\", {\n fill: \"#2E52B2\"\n }, React.createElement(\"path\", {\n d: \"M256 107.951v30.712h-46.069zM160 85.331v48.913l73.372-48.913z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.329v15.083l57.377 38.251H80z\"\n }), React.createElement(\"g\", {\n fill: \"#2E52B2\"\n }, React.createElement(\"path\", {\n d: \"M0 107.951v30.712h46.069zM96 85.331v48.913L22.628 85.331z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M256 85.329v15.083l-57.377 38.251H176z\"\n }), React.createElement(\"g\", {\n fill: \"#2E52B2\"\n }, React.createElement(\"path\", {\n d: \"M256 107.951v30.712h-46.069zM160 85.331v48.913l73.372-48.913z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 255.997v-15.082l57.377-38.252H80z\"\n }), React.createElement(\"g\", {\n fill: \"#2E52B2\"\n }, React.createElement(\"path\", {\n d: \"M0 233.376v-30.713h46.069zM96 255.994v-48.912l-73.372 48.912z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M256 255.997v-15.082l-57.377-38.252H176z\"\n }), React.createElement(\"g\", {\n fill: \"#2E52B2\"\n }, React.createElement(\"path\", {\n d: \"M256 233.376v-30.713h-46.069zM160 255.994v-48.912l73.372 48.912z\"\n }), React.createElement(\"circle\", {\n cx: 128,\n cy: 170.66,\n r: 22.627\n })), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M128 154.663l3.97 12.222h12.854l-10.398 7.556 3.971 12.222L128 179.109l-10.398 7.554 3.972-12.222-10.398-7.556h12.853zM128 219.803l2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zM128 102.469l2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zM197.931 161.136l2.365 7.277h7.653l-6.192 4.499 2.365 7.279-6.191-4.498-6.191 4.498 2.365-7.279-6.191-4.499h7.652zM58.069 161.136l2.364 7.277h7.653l-6.191 4.499 2.364 7.279-6.19-4.498-6.191 4.498 2.365-7.279-6.192-4.499h7.653z\"\n })));\n },\n NZ: function NZ(_ref172) {\n var title = _ref172.title,\n rest = _objectWithoutProperties(_ref172, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.334h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M425.301 233.745l3.388 10.428h10.963l-8.87 6.444 3.388 10.427-8.869-6.444-8.871 6.444 3.388-10.427-8.87-6.444h10.963zM386.107 308.817l5.083 15.642h16.445l-13.305 9.667 5.082 15.64-13.305-9.667-13.305 9.667 5.083-15.64-13.305-9.667h16.445zM387.588 185.971l4.236 13.036h13.704l-11.088 8.054 4.235 13.034-11.087-8.056-11.088 8.056 4.235-13.034-11.087-8.054h13.704zM349.876 233.291l5.082 15.641h16.446l-13.306 9.666 5.084 15.641-13.306-9.666-13.305 9.666 5.082-15.641-13.305-9.666h16.445z\"\n })), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256.003 85.329v30.564l-45.178 25.088h45.178v59.359H196.89l59.113 32.846v22.806h-26.69l-73.484-40.826v40.826h-55.652v-48.573l-87.429 48.573H.003v-30.553l45.168-25.099H.003v-59.359h59.103L.003 108.147V85.329h26.68l73.494 40.838V85.329h55.652v48.573l87.43-48.573z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M144 85.33h-32v69.334H0v32h112v69.334h32v-69.334h112v-32H144z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M155.826 200.344L256 255.998v-15.739l-71.847-39.915z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M155.826 200.344L256 255.998v-15.739l-71.847-39.915z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M155.826 200.344L256 255.998v-15.739l-71.847-39.915zM71.846 200.344L0 240.259v15.739l100.174-55.654z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M100.174 140.983L0 85.33v15.738l71.847 39.915z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M100.174 140.983L0 85.33v15.738l71.847 39.915z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M100.174 140.983L0 85.33v15.738l71.847 39.915zM184.154 140.983L256 101.068V85.33l-100.174 55.653z\"\n })));\n },\n OM: function OM(_ref173) {\n var title = _ref173.title,\n rest = _objectWithoutProperties(_ref173, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.331h512v341.337H0z\"\n })), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M189.746 160.439l-15.739-15.741-10.494 10.494-10.493-10.494-15.741 15.741 10.494 10.493-10.495 10.494 15.74 15.741 10.494-10.494 10.495 10.494 15.739-15.741-10.494-10.494zM211.478 85.331H512v111.315H211.478z\"\n })), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M211.478 315.353H512v111.304H211.478z\"\n }));\n },\n PA: function PA(_ref174) {\n var title = _ref174.title,\n rest = _objectWithoutProperties(_ref174, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M256 256v170.663H0V256h256z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M512 85.337V256H256V85.337h256z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M128 123.034l11.824 36.389h38.263l-30.955 22.491 11.823 36.389L128 195.813l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M384 293.697l11.824 36.389h38.263l-30.955 22.491 11.823 36.389L384 366.476l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z\"\n }));\n },\n PE: function PE(_ref175) {\n var title = _ref175.title,\n rest = _objectWithoutProperties(_ref175, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 85.331h170.663v341.337H0zM341.337 85.331H512v341.337H341.337z\"\n })));\n },\n PF: function PF(_ref176) {\n var title = _ref176.title,\n rest = _objectWithoutProperties(_ref176, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z\"\n })), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M293.991 256c0 20.982-17.01 33.243-37.992 33.243S218.008 276.982 218.008 256s17.01-37.992 37.992-37.992 37.991 17.01 37.991 37.992z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M293.991 256c0 20.982-17.01 37.992-37.992 37.992s-37.992-17.01-37.992-37.992\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M232.259 246.506h9.498v19h-9.498zM270.247 246.506h9.498v19h-9.498zM251.247 232.259h9.498v33.243h-9.498z\"\n })));\n },\n PG: function PG(_ref177) {\n var title = _ref177.title,\n rest = _objectWithoutProperties(_ref177, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n d: \"M0 85.333h512V426.67H0z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M0 85.33h512v341.332\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M204.631 326.488l2.762 8.504h8.941l-7.233 5.255 2.763 8.502-7.233-5.254-7.233 5.254 2.762-8.502-7.233-5.255h8.94zM181.797 244.866l4.605 14.172h14.901l-12.056 8.757 4.605 14.172-12.055-8.759-12.055 8.759 4.606-14.172-12.056-8.757h14.901zM181.797 348.749l4.604 14.173h14.902l-12.057 8.757 4.606 14.173-12.055-8.759-12.055 8.759 4.604-14.173-12.054-8.757h14.899zM225.363 281.967l4.606 14.172h14.901l-12.056 8.758 4.605 14.172-12.056-8.759-12.054 8.759 4.606-14.172-12.056-8.758h14.901zM138.23 281.967l4.606 14.172h14.899l-12.054 8.758 4.603 14.172-12.054-8.759-12.055 8.759 4.605-14.172-12.055-8.758h14.9z\"\n })), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M376.526 204.163c-7.628-7.628-17.538-12.133-28.189-12.908l31.88-24.795c-12.698-12.698-29.714-18.431-46.319-17.218a44.31 44.31 0 00-11.396-19.511l-12.593 25.186a18.47 18.47 0 00-3.148-4.197c-7.245-7.245-18.991-7.244-26.234 0s-7.245 18.99 0 26.234a18.536 18.536 0 004.197 3.148l-25.186 12.593a44.303 44.303 0 0019.519 11.399c-1.217 16.606 4.511 33.619 17.209 46.317L324.12 214.6a11.053 11.053 0 017.807-3.202c2.973 0 5.768 1.158 7.87 3.26a11.055 11.055 0 013.26 7.87c0 2.974-1.158 5.768-3.26 7.87l10.494 10.494c4.905-4.905 7.607-11.428 7.607-18.364 0-5.675-1.81-11.071-5.153-15.534a29.492 29.492 0 0113.288 7.662c11.573 11.572 11.573 30.403 0 41.975l10.494 10.494c8.409-8.409 13.039-19.59 13.039-31.481-.001-11.892-4.632-23.072-13.04-31.481z\"\n }));\n },\n PH: function PH(_ref178) {\n var title = _ref178.title,\n rest = _objectWithoutProperties(_ref178, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M512 85.337V256H256L0 85.337z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M512 256v170.663H0L256 256z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M161.908 256l-27.288-12.835 14.532-26.428-29.632 5.668-3.755-29.933-20.64 22.015-20.639-22.015-3.755 29.933-29.631-5.669 14.531 26.428L28.343 256l27.288 12.835L41.1 295.263l29.633-5.668 3.753 29.933 20.639-22.015 20.64 22.015 3.755-29.933 29.631 5.669-14.532-26.427zM21.789 117.607l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.694-14.809-4.932-9.268 12.559.117-15.608-14.809-4.934 14.88-4.712zM21.789 353.53l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.695-14.809-4.933-9.268 12.558.117-15.607-14.809-4.934 14.88-4.712zM210.395 235.569l-9.081 12.695-14.879-4.713 9.268 12.559-9.081 12.696 14.809-4.933 9.268 12.558-.117-15.607 14.809-4.934-14.88-4.713z\"\n })));\n },\n PK: function PK(_ref179) {\n var title = _ref179.title,\n rest = _objectWithoutProperties(_ref179, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M393.508 170.516l17.512 18.875 23.363-10.821-12.541 22.487 17.513 18.876-25.263-4.978-12.539 22.488-3.073-25.564-25.263-4.978 23.363-10.82z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.343h512v341.326H0z\"\n })), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M128 85.331h384v341.337H128z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M361.909 298.793c-31.037 22.426-74.378 15.446-96.804-15.592-22.427-31.038-15.446-74.379 15.593-96.804 9.677-6.992 20.55-11.125 31.613-12.563-21.283-3.183-43.777 1.613-62.598 15.211-38.2 27.602-46.792 80.944-19.191 119.145 27.601 38.199 80.944 46.792 119.145 19.189 18.82-13.598 30.436-33.448 34.096-54.655-4.839 10.05-12.176 19.076-21.854 26.069zM360.58 172.889l17.484 18.842 23.322-10.802-12.519 22.447 17.483 18.844-25.219-4.968-12.519 22.45-3.067-25.521-25.22-4.969 23.323-10.802z\"\n })));\n },\n PL: function PL(_ref180) {\n var title = _ref180.title,\n rest = _objectWithoutProperties(_ref180, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.337h512V256H0z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 256h512v170.663H0z\"\n }));\n },\n PM: function PM(_ref181) {\n var title = _ref181.title,\n rest = _objectWithoutProperties(_ref181, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 26.666 640 426.666\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"g\", {\n fillRule: \"evenodd\",\n strokeWidth: \"1pt\"\n }, React.createElement(\"path\", {\n fill: \"#fff\",\n d: \"M0 0h640v480H0z\"\n }), React.createElement(\"path\", {\n fill: \"#00267f\",\n d: \"M0 0h213.3v480H0z\"\n }), React.createElement(\"path\", {\n fill: \"#f31830\",\n d: \"M426.7 0H640v480H426.7z\"\n })));\n },\n PN: function PN(_ref182) {\n var title = _ref182.title,\n rest = _objectWithoutProperties(_ref182, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.333h512V426.67H0z\"\n }), React.createElement(\"path\", {\n fill: \"#ACABB1\",\n d: \"M400.696 219.822L384 225.387l-16.696-5.565-5.565-13.913 5.565-13.913h33.392l-5.566 13.913z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M345.043 219.822v61.217c0 29.821 38.957 38.957 38.957 38.957s38.957-9.137 38.957-38.957v-61.217h-77.914z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M348.555 295.541C358.131 313.927 384 319.996 384 319.996s25.869-6.069 35.445-24.455L384 236.518l-35.445 59.023z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M422.957 280.421L384 219.822l-38.957 60.599v.618c0 5.518 1.337 10.328 3.512 14.503L384 240.405l35.445 55.137c2.175-4.175 3.512-8.983 3.512-14.503v-.618z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M155.826 200.344L256 255.996v-15.737l-71.847-39.915z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M155.826 200.344L256 255.996v-15.737l-71.847-39.915z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M155.826 200.344L256 255.996v-15.737l-71.847-39.915zM71.846 200.344L0 240.259v15.737l100.174-55.652z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M100.174 140.982L0 85.33v15.737l71.847 39.915z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M100.174 140.982L0 85.33v15.737l71.847 39.915z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M100.174 140.982L0 85.33v15.737l71.847 39.915zM184.154 140.982L256 101.067V85.33l-100.174 55.652z\"\n })));\n },\n PR: function PR(_ref183) {\n var title = _ref183.title,\n rest = _objectWithoutProperties(_ref183, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512V153.6H0zM0 221.863h512v68.263H0zM0 358.4h512v68.263H0z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M256 256.006L0 426.668V85.331z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M83.477 195.132l15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z\"\n }));\n },\n PS: function PS(_ref184) {\n var title = _ref184.title,\n rest = _objectWithoutProperties(_ref184, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M256 256.006L0 426.668V85.331z\"\n }));\n },\n PT: function PT(_ref185) {\n var title = _ref185.title,\n rest = _objectWithoutProperties(_ref185, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M196.641 85.337v341.326H0V85.337z\"\n }), React.createElement(\"circle\", {\n fill: \"#FFDA44\",\n cx: 196.641,\n cy: 256,\n r: 64\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M160.638 224v40.001c0 19.882 16.118 36 36 36s36-16.118 36-36V224h-72z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M196.638 276c-6.617 0-12-5.383-12-12v-16h24.001v16c-.001 6.616-5.385 12-12.001 12z\"\n }));\n },\n PW: function PW(_ref186) {\n var title = _ref186.title,\n rest = _objectWithoutProperties(_ref186, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"circle\", {\n fill: \"#FFDA44\",\n cx: 218.902,\n cy: 255.994,\n r: 74.207\n }));\n },\n PY: function PY(_ref187) {\n var title = _ref187.title,\n rest = _objectWithoutProperties(_ref187, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M289.579 216.738l-12.592 12.592c5.37 5.372 8.693 12.792 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.112-5.316-24.985-13.91-33.579z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M256 232.51l4.421 13.605h14.304l-11.573 8.408 4.421 13.604L256 259.719l-11.573 8.408 4.421-13.604-11.573-8.408h14.304z\"\n }));\n },\n QA: function QA(_ref188) {\n var title = _ref188.title,\n rest = _objectWithoutProperties(_ref188, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#751A46\",\n d: \"M2.216 86.076H512v339.848H2.216z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M209.455 154.969l-50.236 25.267 50.236 25.257-50.236 25.267 50.236 25.257-50.236 25.266 50.236 25.257-50.236 25.268 50.236 25.257-50.236 25.267 50.236 25.268-36.45 18.33H0V86.07h172.939l36.516 18.364-50.236 25.267z\"\n }));\n },\n RE: function RE(_ref189) {\n var title = _ref189.title,\n rest = _objectWithoutProperties(_ref189, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 26.666 640 426.666\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"g\", {\n fillRule: \"evenodd\",\n strokeWidth: \"1pt\"\n }, React.createElement(\"path\", {\n fill: \"#fff\",\n d: \"M0 0h640v480H0z\"\n }), React.createElement(\"path\", {\n fill: \"#00267f\",\n d: \"M0 0h213.3v480H0z\"\n }), React.createElement(\"path\", {\n fill: \"#f31830\",\n d: \"M426.7 0H640v480H426.7z\"\n })));\n },\n RO: function RO(_ref190) {\n var title = _ref190.title,\n rest = _objectWithoutProperties(_ref190, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.331h170.663v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M341.337 85.331H512v341.337H341.337z\"\n }));\n },\n RS: function RS(_ref191) {\n var title = _ref191.title,\n rest = _objectWithoutProperties(_ref191, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 312.882h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M129.468 181.793v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.356 256 266.929v-85.136H129.468z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M155.634 196.634h74.201v-29.681l-14.841 7.42-22.261-22.26-22.259 22.26-14.84-7.42zM241.16 278.782l-48.231-48.231-48.231 48.231 15.741 15.74 32.49-32.49 32.49 32.49z\"\n })), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M241.16 233.734h-22.504a14.74 14.74 0 002.001-7.418c0-8.196-6.645-14.84-14.84-14.84-5.663 0-10.581 3.172-13.083 7.836-2.502-4.663-7.421-7.836-13.083-7.836-8.195 0-14.84 6.644-14.84 14.84 0 2.706.736 5.235 2.001 7.418h-22.114c0 8.196 7.139 14.84 15.334 14.84h-.494c0 8.196 6.644 14.84 14.84 14.84 0 7.257 5.211 13.286 12.094 14.576l-11.694 26.401a48.075 48.075 0 0018.149 3.544 48.079 48.079 0 0018.149-3.544l-11.694-26.401c6.883-1.29 12.094-7.319 12.094-14.576 8.196 0 14.84-6.644 14.84-14.84h-.494c8.199 0 15.338-6.644 15.338-14.84z\"\n }));\n },\n RU: function RU(_ref192) {\n var title = _ref192.title,\n rest = _objectWithoutProperties(_ref192, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.33v341.332h512V85.33z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.333h512V426.67H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.333h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 312.884h512v113.775H0z\"\n }));\n },\n RW: function RW(_ref193) {\n var title = _ref193.title,\n rest = _objectWithoutProperties(_ref193, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 255.994h512v81.619H0z\"\n }), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 337.614h512v89.043H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M278.261 185.209l20.844 9.804-11.099 20.186 22.632-4.33 2.868 22.865 15.765-16.816 15.766 16.816 2.867-22.865 22.633 4.33-11.099-20.186 20.843-9.804-20.844-9.805 11.1-20.185-22.633 4.329-2.868-22.864-15.765 16.816-15.766-16.816-2.867 22.864-22.634-4.329 11.1 20.187z\"\n }));\n },\n SA: function SA(_ref194) {\n var title = _ref194.title,\n rest = _objectWithoutProperties(_ref194, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M183.548 289.386c0 12.295 9.731 22.261 21.736 22.261h65.208c0 10.244 8.11 18.551 18.114 18.551h21.736c10.004 0 18.114-8.306 18.114-18.551v-22.261H183.548zM330.264 181.791v51.942c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942h-21.735zM174.491 233.734c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942H174.49v51.942z\"\n }), React.createElement(\"path\", {\n d: \"M297.661 181.788h21.736v51.942h-21.736zM265.057 211.473c0 2.046-1.625 3.71-3.623 3.71-1.998 0-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 2.046-1.625 3.71-3.623 3.71s-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 14.32 11.376 25.971 25.358 25.971 5.385 0 10.38-1.733 14.491-4.677 4.11 2.944 9.106 4.677 14.491 4.677 1.084 0 2.15-.078 3.2-.215-1.54 6.499-7.255 11.345-14.068 11.345v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.943h-21.736l.002 29.682z\"\n }), React.createElement(\"path\", {\n d: \"M207.093 248.57h32.601v22.261h-32.601z\"\n })));\n },\n SB: function SB(_ref195) {\n var title = _ref195.title,\n rest = _objectWithoutProperties(_ref195, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 85.334h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 426.663V85.329h512\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 396.494v30.169h45.255L512 115.499v-30.17h-45.255z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M85.688 108.787l5.12 15.756h16.566l-13.403 9.737 5.12 15.757-13.403-9.738-13.405 9.738 5.12-15.757L64 124.543h16.567zM170.312 108.787l5.121 15.756H192l-13.403 9.737 5.12 15.757-13.405-9.738-13.403 9.738 5.12-15.757-13.403-9.737h16.566zM85.688 191.289l5.12 15.756h16.566l-13.403 9.738 5.12 15.757-13.403-9.739-13.405 9.739 5.12-15.757L64 207.045h16.567zM170.312 191.289l5.121 15.756H192l-13.403 9.738 5.12 15.757-13.405-9.739-13.403 9.739 5.12-15.757-13.403-9.738h16.566zM128 150.037l5.12 15.756h16.568l-13.405 9.738 5.12 15.758L128 181.55l-13.403 9.739 5.12-15.758-13.405-9.738h16.568z\"\n })));\n },\n SC: function SC(_ref196) {\n var title = _ref196.title,\n rest = _objectWithoutProperties(_ref196, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M235.454 85.337L0 426.663 427.345 85.337z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M512 329.393L0 426.663h512z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M512 85.337h-84.655L0 426.663l512-204.512z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.337v341.326L235.454 85.337z\"\n }));\n },\n SD: function SD(_ref197) {\n var title = _ref197.title,\n rest = _objectWithoutProperties(_ref197, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 426.668V85.331l256 170.675z\"\n }));\n },\n SE: function SE(_ref198) {\n var title = _ref198.title,\n rest = _objectWithoutProperties(_ref198, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.333h512V426.67H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z\"\n }));\n },\n SG: function SG(_ref199) {\n var title = _ref199.title,\n rest = _objectWithoutProperties(_ref199, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512V256H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M83.478 170.666c0-24.865 17.476-45.637 40.812-50.734a52.059 52.059 0 00-11.13-1.208c-28.688 0-51.942 23.254-51.942 51.941s23.255 51.942 51.942 51.942c3.822 0 7.543-.425 11.13-1.208-23.336-5.095-40.812-25.867-40.812-50.733zM150.261 122.435l3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921z\"\n }), React.createElement(\"path\", {\n d: \"M121.344 144.696l3.683 11.337h11.921l-9.645 7.007 3.684 11.337-9.643-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921zM179.178 144.696l3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.685-11.337-9.645-7.007h11.921zM168.047 178.087l3.684 11.337h11.921l-9.644 7.007 3.684 11.337-9.645-7.006-9.643 7.006 3.684-11.337-9.644-7.007h11.92zM132.474 178.087l3.683 11.337h11.921l-9.644 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.684-11.337-9.644-7.007h11.92z\"\n })));\n },\n SH: function SH(_ref200) {\n var title = _ref200.title,\n rest = _objectWithoutProperties(_ref200, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z\"\n }), React.createElement(\"path\", {\n d: \"M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z\"\n })), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M256 22.7v30.7h-46.1z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z\"\n })), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M256 22.7v30.7h-46.1z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 170.7v-15.1l57.4-38.2H80zM256 170.7v-15.1l-57.4-38.2H176z\"\n })), React.createElement(\"path\", {\n fill: \"#29DBFF\",\n d: \"M449 139.7c-.1 44.4-7.2 92.1-65 114.9-57.8-22.8-64.9-70.5-65-114.9h130z\"\n }), React.createElement(\"path\", {\n fill: \"#ffda44\",\n d: \"M449 139.7c0-16.7-.9-32.9-.5-47.1C426.9 83 398.4 81 383.9 81s-42.9 2-64.6 11.6c.4 14.2-.5 30.4-.5 47.1H449z\"\n }), React.createElement(\"path\", {\n fill: \"#BF521B\",\n d: \"M369.5 204.5l.3 10.3-12.8.2 4.9 13.2h-17.3c-18-20.2-23.4-42.4-24.9-68.1l9.1-9.7 8.3 14.3 10.8-12.8 7 7.8.8 15.7 13.8 29.1z\"\n }), React.createElement(\"path\", {\n fill: \"#474747\",\n d: \"M436.6 192.5l-8.6 18.3h-47l-29.2-19.5 25.7 10.5h25.1l3.7-6.5 7.2.2 2-3z\"\n }));\n },\n SI: function SI(_ref201) {\n var title = _ref201.title,\n rest = _objectWithoutProperties(_ref201, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 199.112h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l14.848 14.837 29.674-22.261 29.685 22.261 14.837-14.837z\"\n }));\n },\n SJ: function SJ(_ref202) {\n var title = _ref202.title,\n rest = _objectWithoutProperties(_ref202, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.334h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M512 295.883H202.195v130.783H122.435V295.883H0V216.111h122.435V85.329H202.195v130.782H512V277.329z\"\n }), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z\"\n }));\n },\n SK: function SK(_ref203) {\n var title = _ref203.title,\n rest = _objectWithoutProperties(_ref203, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 196.641h512v118.717H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 315.359h512v111.304H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M129.468 181.799v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.362 256 266.935v-85.136H129.468z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M146.126 184.294v81.941c0 5.472 1.215 10.64 3.623 15.485h85.97c2.408-4.844 3.623-10.012 3.623-15.485v-81.941h-93.216z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M221.301 241.427h-21.425v-14.283h14.284v-14.283h-14.284v-14.284h-14.283v14.284h-14.282v14.283h14.282v14.283h-21.426v14.284h21.426v14.283h14.283v-14.283h21.425z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M169.232 301.658c9.204 5.783 18.66 9.143 23.502 10.636 4.842-1.494 14.298-4.852 23.502-10.636 9.282-5.833 15.79-12.506 19.484-19.939a24.878 24.878 0 00-14.418-4.583c-1.956 0-3.856.232-5.682.657-3.871-8.796-12.658-14.94-22.884-14.94-10.227 0-19.013 6.144-22.884 14.94a25.048 25.048 0 00-5.682-.657 24.88 24.88 0 00-14.418 4.583c3.691 7.433 10.198 14.106 19.48 19.939z\"\n }));\n },\n SL: function SL(_ref204) {\n var title = _ref204.title,\n rest = _objectWithoutProperties(_ref204, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 312.888h512v113.775H0z\"\n }));\n },\n SM: function SM(_ref205) {\n var title = _ref205.title,\n rest = _objectWithoutProperties(_ref205, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 85.34h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M512 85.334v166.69L0 256.175V85.334z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M323.744 203.099L256 270.843l-67.744-67.744a81.156 81.156 0 00-13.879 45.483v22.261c0 35.744 23.097 66.193 55.148 77.213-4.277 8.385-3.556 18.848 2.712 26.671l24.258-19.439 24.258 19.439c6.342-7.915 7.011-18.534 2.564-26.968 31.614-11.261 54.308-41.485 54.308-76.916v-22.261a81.174 81.174 0 00-13.881-45.483z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M256 330.206c-32.732 0-59.362-26.63-59.362-59.362v-22.261c0-32.733 26.63-59.363 59.362-59.363s59.362 26.63 59.362 59.362v22.261c0 32.733-26.63 59.363-59.362 59.363z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M293.101 270.843v-22.261c0-20.458-16.643-37.101-37.101-37.101s-37.101 16.643-37.101 37.101v22.261L256 278.264l37.101-7.421z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M218.899 270.843c0 20.458 16.643 37.101 37.101 37.101s37.101-16.643 37.101-37.101h-74.202z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M300.522 189.22c0-12.295-9.966-22.261-22.261-22.261a22.173 22.173 0 00-14.84 5.672v-13.093h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093a22.177 22.177 0 00-14.841-5.672c-12.295 0-22.261 9.966-22.261 22.261 0 6.591 2.867 12.512 7.421 16.589v13.093h74.203v-13.093c4.552-4.077 7.419-9.997 7.419-16.589z\"\n }));\n },\n SN: function SN(_ref206) {\n var title = _ref206.title,\n rest = _objectWithoutProperties(_ref206, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M330.207 85.331H512v341.337H330.207z\"\n }), React.createElement(\"g\", {\n fill: \"#496E2D\"\n }, React.createElement(\"path\", {\n d: \"M0 85.331h181.793v341.337H0zM255.999 196.632l14.733 45.347h47.685l-38.576 28.029 14.734 45.348-38.576-28.026-38.577 28.026 14.737-45.348-38.576-28.029h47.681z\"\n })));\n },\n SO: function SO(_ref207) {\n var title = _ref207.title,\n rest = _objectWithoutProperties(_ref207, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 157.273l22.663 69.748H352l-59.332 43.106 22.664 69.749L256 296.769l-59.332 43.107 22.664-69.749L160 227.021h73.337z\"\n }));\n },\n SR: function SR(_ref208) {\n var title = _ref208.title,\n rest = _objectWithoutProperties(_ref208, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M0 196.636h512v118.728H0z\"\n }), React.createElement(\"g\", {\n fill: \"#6DA544\"\n }, React.createElement(\"path\", {\n d: \"M0 352.462h512v74.207H0zM0 85.331h512v74.207H0z\"\n })), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M256.742 218.003l9.43 29.021h30.518L272 264.963l9.431 29.023-24.689-17.937-24.689 17.937 9.431-29.023-24.69-17.939h30.518z\"\n }));\n },\n SS: function SS(_ref209) {\n var title = _ref209.title,\n rest = _objectWithoutProperties(_ref209, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 322.783h512v103.88H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.337h512v104.515H0z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M0 210.877h512v89.656H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M256 256.006L0 426.668V85.331z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M73.178 209.188l20.831 29.067 34.084-10.83-21.207 28.795 20.83 29.069-33.939-11.271-21.208 28.794.234-35.762-33.94-11.273 34.083-10.83z\"\n }));\n },\n ST: function ST(_ref210) {\n var title = _ref210.title,\n rest = _objectWithoutProperties(_ref210, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#6DA544\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M256 256.006L0 426.668V85.331z\"\n }), React.createElement(\"path\", {\n d: \"M302.049 226.318l7.368 22.674h23.842l-19.288 14.016 7.366 22.674-19.288-14.015-19.287 14.015 7.366-22.674-19.288-14.016h23.842zM376.252 226.318l7.367 22.674h23.842l-19.288 14.016 7.367 22.674-19.288-14.015-19.288 14.015 7.367-22.674-19.288-14.016h23.842z\"\n }));\n },\n SV: function SV(_ref211) {\n var title = _ref211.title,\n rest = _objectWithoutProperties(_ref211, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#0052B4\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z\"\n })), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M228.582 261.936L256 214.447l27.418 47.489z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M291.616 277.616L256 295.425l-35.616-17.809v-23.744h71.232z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M289.579 216.485l-12.592 12.592c5.37 5.372 8.693 12.791 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.114-5.316-24.987-13.91-33.579z\"\n }));\n },\n SX: function SX(_ref212) {\n var title = _ref212.title,\n rest = _objectWithoutProperties(_ref212, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M512 85.331v166.69L0 256.173V85.331z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 256.006L0 426.668V85.331z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M59.621 256a59.546 59.546 0 00-.193 4.57c0 32.821 26.607 59.429 59.429 59.429s59.429-26.607 59.429-59.429c0-1.539-.078-3.061-.193-4.57H59.621z\"\n }), React.createElement(\"circle\", {\n cx: 118.862,\n cy: 210.287,\n r: 18.286\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M77.715 205.714v59.429c0 31.494 41.144 41.143 41.144 41.143s41.144-9.649 41.144-41.143v-59.429H77.715z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M118.877 287.148c-7.632-2.746-22.876-9.767-22.876-22.006v-41.144h45.715v41.144c-.001 12.28-15.244 19.283-22.839 22.006z\"\n }), React.createElement(\"path\", {\n fill: \"#F3F3F3\",\n d: \"M128.001 246.856v-9.142l-9.144-4.571-9.142 4.571v9.142l-4.571 4.573v18.285h27.428v-18.285z\"\n }));\n },\n SY: function SY(_ref213) {\n var title = _ref213.title,\n rest = _objectWithoutProperties(_ref213, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h512v113.775H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 312.882h512v113.775H0z\"\n }), React.createElement(\"g\", {\n fill: \"#6DA544\"\n }, React.createElement(\"path\", {\n d: \"M187.31 215.184l9.208 28.341h29.802l-24.11 17.518 9.209 28.342-24.109-17.516-24.11 17.516 9.209-28.342-24.109-17.518h29.801zM324.69 215.184l9.209 28.341H363.7l-24.109 17.518 9.209 28.342-24.11-17.516-24.109 17.516 9.209-28.342-24.11-17.518h29.802z\"\n })));\n },\n SZ: function SZ(_ref214) {\n var title = _ref214.title,\n rest = _objectWithoutProperties(_ref214, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 900 600\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#2B5DEA\",\n d: \"M0 0h900v600H0V0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDF29\",\n d: \"M0 100h900v400H0V100z\"\n }), React.createElement(\"path\", {\n fill: \"#D70000\",\n d: \"M0 150h900v300H0V150z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M450 171.4v257.2c114.3 0 171.4-85.7 214.3-128.6-42.9-42.9-100-128.6-214.3-128.6z\"\n }), React.createElement(\"path\", {\n d: \"M450 171.4c-100 0-171.4 85.7-214.3 128.6C278.6 342.9 350 428.6 450 428.6V171.4z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M346.3 254.3h21v91.3h-21zM398.2 254.3h21v91.3h-21z\"\n }), React.createElement(\"path\", {\n d: \"M477.8 254.3h21v91.3h-21zM529.7 254.3h21v91.3h-21z\"\n }));\n },\n TA: function TA(_ref215) {\n var title = _ref215.title,\n rest = _objectWithoutProperties(_ref215, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z\"\n }), React.createElement(\"path\", {\n d: \"M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z\"\n })), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M256 22.7v30.7h-46.1z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z\"\n })), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M256 22.7v30.7h-46.1z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 170.7v-15.1l57.4-38.2H80zM256 170.7v-15.1l-57.4-38.2H176z\"\n })), React.createElement(\"path\", {\n fill: \"#29DBFF\",\n d: \"M448.9 169.5c0 9.6-.3 29.6-1.4 39.2-4.1 34.9-23.5 68.8-62.1 85.9-45.3-17.9-60.8-51-64.9-85.9-1.1-9.6-1.5-19.4-1.5-29l.3-47.1h129.2l.4 36.9z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M447.5 208.7c-.2 1.6-.4 3.3-.6 4.9-4.8 33.1-22.9 65.4-61.5 81-43.2-17-59.4-47.9-64.2-81-.2-1.6-.4-3.2-.6-4.9\"\n }), React.createElement(\"path\", {\n fill: \"#29DBFF\",\n d: \"M385.4 251.7l-22.9-43h45.8z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M385.4 165.8l-22.9 42.9h45.8z\"\n }), React.createElement(\"ellipse\", {\n fill: \"#FFBE57\",\n cx: 474.8,\n cy: 236.8,\n rx: 16.8,\n ry: 43.3\n }), React.createElement(\"ellipse\", {\n fill: \"#FFBE57\",\n cx: 295.3,\n cy: 236.8,\n rx: 16.8,\n ry: 43.3\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M385.4 31.5l-33.4 44h68.5zM315.5 280s33.8 29.5 69.9 29.5 67.1-29.5 67.1-29.5l8.5 14.6S439.2 326 385.4 326 307 294.6 307 294.6l8.5-14.6z\"\n }), React.createElement(\"ellipse\", {\n fill: \"#A5A5A5\",\n cx: 386.3,\n cy: 104.3,\n rx: 34.3,\n ry: 23.3\n }));\n },\n TC: function TC(_ref216) {\n var title = _ref216.title,\n rest = _objectWithoutProperties(_ref216, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.333h512V426.67H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M332.058 191.996v78.221c0 38.103 51.942 49.779 51.942 49.779s51.942-11.675 51.942-49.779v-78.221H332.058z\"\n }), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M376.579 220.44c0 7.855-6.644 28.445-14.84 28.445s-14.84-20.589-14.84-28.445c0-7.856 14.84-14.222 14.84-14.222s14.84 6.367 14.84 14.222z\"\n }), React.createElement(\"path\", {\n fill: \"#A2001D\",\n d: \"M415.961 235.93c2.394-5.6 4.257-13.785 4.257-17.86 0-6.546-8.904-11.852-8.904-11.852s-8.904 5.306-8.904 11.852c0 4.075 1.862 12.26 4.257 17.86l-5.141 11.123a26.898 26.898 0 009.788 1.831c3.463 0 6.766-.654 9.788-1.831l-5.141-11.123z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M372.87 270.217s-7.421 14.222-7.421 28.445h37.101c0-14.222-7.421-28.445-7.421-28.445l-11.13-7.111-11.129 7.111z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M395.13 270.217v-3.555c0-5.891-4.983-10.666-11.13-10.666-6.147 0-11.13 4.776-11.13 10.666v3.555h22.26z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M155.826 200.344L256 255.996v-15.737l-71.847-39.915z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M155.826 200.344L256 255.996v-15.737l-71.847-39.915z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M155.826 200.344L256 255.996v-15.737l-71.847-39.915zM71.846 200.344L0 240.259v15.737l100.174-55.652z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M100.174 140.982L0 85.33v15.737l71.847 39.915z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M100.174 140.982L0 85.33v15.737l71.847 39.915z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M100.174 140.982L0 85.33v15.737l71.847 39.915zM184.154 140.982L256 101.067V85.33l-100.174 55.652z\"\n })));\n },\n TD: function TD(_ref217) {\n var title = _ref217.title,\n rest = _objectWithoutProperties(_ref217, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.331h170.663v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M341.337 85.331H512v341.337H341.337z\"\n }));\n },\n TG: function TG(_ref218) {\n var title = _ref218.title,\n rest = _objectWithoutProperties(_ref218, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#496E2D\"\n }, React.createElement(\"path\", {\n d: \"M0 85.337h512V153.6H0zM0 358.4h512v68.263H0zM0 221.863h512v68.263H0z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h204.054v204.054H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M102.026 133.938l13.26 40.812h42.916l-34.718 25.226 13.26 40.814-34.718-25.224-34.719 25.224 13.263-40.814-34.718-25.226h42.913z\"\n }));\n },\n TH: function TH(_ref219) {\n var title = _ref219.title,\n rest = _objectWithoutProperties(_ref219, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.334h512V426.66H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 194.056h512v123.882H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 85.334h512v54.522H0zM0 372.143h512v54.522H0z\"\n })));\n },\n TJ: function TJ(_ref220) {\n var title = _ref220.title,\n rest = _objectWithoutProperties(_ref220, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 312.888h512v113.775H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M226.318 300.522h59.364v-25.23l-11.873 5.937L256 263.421l-17.809 17.808-11.873-5.937zM192.355 270.84l2.763 8.504h8.94l-7.233 5.255 2.763 8.502-7.233-5.255-7.234 5.255 2.763-8.502-7.233-5.255h8.94zM200.921 241.16l2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zM225.409 218.899l2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zM319.645 270.84l-2.763 8.504h-8.94l7.233 5.255-2.763 8.502 7.233-5.255 7.234 5.255-2.763-8.502 7.233-5.255h-8.94zM311.079 241.16l-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM286.591 218.899l-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM256 207.767l2.763 8.503h8.941l-7.234 5.256 2.763 8.502-7.233-5.254-7.233 5.254 2.763-8.502-7.234-5.256h8.941z\"\n })));\n },\n TK: function TK(_ref221) {\n var title = _ref221.title,\n rest = _objectWithoutProperties(_ref221, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M210.715 174.377l3.684 11.338h11.919l-9.643 7.006 3.684 11.337-9.644-7.007-9.644 7.007 3.684-11.337-9.645-7.006h11.921zM116.816 281.971l4.605 14.172h14.9l-12.055 8.757 4.606 14.173-12.056-8.76-12.055 8.76 4.604-14.173-12.054-8.757h14.899zM144.696 119.679l4.604 14.172h14.901l-12.056 8.758 4.606 14.171-12.055-8.759-12.056 8.759 4.606-14.171-12.055-8.758h14.9zM69.539 175.331l4.604 14.172h14.9l-12.055 8.758 4.606 14.171-12.055-8.758-12.056 8.758 4.606-14.171-12.055-8.758h14.9z\"\n })), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M483.386 354.503H117.801s109.234-88.562 310.593-220.938c.001 0-88.443 128.935 54.992 220.938zM117.801 366.089c-11.177 0-11.195 17.37 0 17.37h365.585c11.177 0 11.195-17.37 0-17.37H117.801z\"\n })));\n },\n TL: function TL(_ref222) {\n var title = _ref222.title,\n rest = _objectWithoutProperties(_ref222, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M256 256L0 90.691v44.242L155.826 256 0 377.067v44.242z\"\n }), React.createElement(\"path\", {\n d: \"M0 90.691v330.618L189.217 256z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M44.184 213.36l24.912 23.577 30.121-16.41-14.723 30.98 24.911 23.575-34.012-4.43L60.67 301.63l-6.296-33.716-34.012-4.43 30.119-16.408z\"\n }));\n },\n TM: function TM(_ref223) {\n var title = _ref223.title,\n rest = _objectWithoutProperties(_ref223, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M357.208 183.679c8.397-23.404-1.036-48.858-21.281-61.536a52.131 52.131 0 0110.884 2.621c27.002 9.688 41.038 39.428 31.35 66.431s-39.428 41.038-66.431 31.35a52.182 52.182 0 01-10.069-4.895c23.686 3.084 47.15-10.566 55.547-33.971zM310.637 115.729l-7.297 9.427-11.22-4.026 6.712 9.852-7.296 9.427 11.443-3.338 6.712 9.852.361-11.914 11.444-3.339-11.221-4.025z\"\n }), React.createElement(\"path\", {\n d: \"M330.338 146.448l-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.443-3.339 6.712 9.853.36-11.915 11.445-3.34-11.221-4.024zM275.9 126.916l-7.296 9.427-11.219-4.024 6.711 9.851-7.296 9.426 11.443-3.338 6.712 9.852.361-11.915 11.444-3.337-11.221-4.027zM275.101 162.105l-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.444-3.338 6.711 9.852.362-11.915 11.443-3.338-11.22-4.026zM308.585 174.118l-7.296 9.427-11.22-4.026 6.712 9.853-7.297 9.426 11.444-3.338 6.712 9.852.36-11.915 11.443-3.338-11.219-4.025z\"\n })), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M83.478 85.337h89.043v341.326H83.478z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M117.458 175.191l-14.908-11.105v-15.705l14.908-11.105h21.084l14.908 11.105v15.705l-14.908 11.105z\"\n }), React.createElement(\"g\", {\n fill: \"#FF9811\"\n }, React.createElement(\"path\", {\n d: \"M128 137.276h-10.542l-14.908 11.105v7.678H128zM128 175.191h10.542l14.908-11.105v-8.012H128z\"\n })), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M117.458 374.725l-14.908-11.106v-15.704l14.908-11.105h21.084l14.908 11.105v15.704l-14.908 11.106z\"\n }), React.createElement(\"g\", {\n fill: \"#FF9811\"\n }, React.createElement(\"path\", {\n d: \"M128 336.81h-10.542l-14.908 11.105v7.678H128zM128 374.725h10.542l14.908-11.106v-8.011H128z\"\n })), React.createElement(\"g\", {\n fill: \"#496E2D\"\n }, React.createElement(\"path\", {\n d: \"M117.458 274.957l-14.908-11.105v-15.703l14.908-11.106h21.084l14.908 11.106v15.703l-14.908 11.105zM153.971 299.391h-6.493v-6.493h-11.411l-8.068-8.068-8.067 8.068h-11.41v6.493h-6.493v12.986h6.493v6.492h11.41l8.068 8.069 8.068-8.069h11.41v-6.492h6.493zM153.971 199.623h-6.493v-6.492h-11.411l-8.068-8.069-8.067 8.069h-11.41v6.492h-6.493v12.986h6.493v6.492h11.41l8.068 8.07 8.068-8.07h11.41v-6.492h6.493z\"\n })), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M120.576 248.576h14.84v14.84h-14.84z\"\n }), React.createElement(\"circle\", {\n cx: 128,\n cy: 206.113,\n r: 7.421\n }), React.createElement(\"circle\", {\n cx: 128,\n cy: 305.887,\n r: 7.421\n })));\n },\n TN: function TN(_ref224) {\n var title = _ref224.title,\n rest = _objectWithoutProperties(_ref224, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"circle\", {\n fill: \"#FFF\",\n cx: 256,\n cy: 255.994,\n r: 96\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M267.826 219.291l16.47 22.695 26.673-8.649-16.496 22.676 16.468 22.695-26.664-8.681-16.495 22.676.017-28.04-26.664-8.682 26.674-8.648z\"\n }), React.createElement(\"path\", {\n d: \"M277.818 312.724c-31.33 0-56.727-25.397-56.727-56.727s25.397-56.727 56.727-56.727c9.769 0 18.96 2.47 26.985 6.819-12.589-12.31-29.804-19.909-48.803-19.909-38.558 0-69.818 31.259-69.818 69.818s31.26 69.818 69.818 69.818c18.999 0 36.215-7.599 48.803-19.909-8.026 4.347-17.216 6.817-26.985 6.817z\"\n })));\n },\n TO: function TO(_ref225) {\n var title = _ref225.title,\n rest = _objectWithoutProperties(_ref225, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.331h256v170.663H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M141.357 157.303V130.59h-26.714v26.713H87.93v26.713h26.713v26.713h26.714v-26.713h26.713v-26.713z\"\n }));\n },\n TR: function TR(_ref226) {\n var title = _ref226.title,\n rest = _objectWithoutProperties(_ref226, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 450 300\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#d80027\",\n d: \"M0 150V0h450v300H0V150z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M247.3 118.3l35.2 5.8L307.4 99l5.1 32.8L344 150l-31.5 18.2-4.9 33.5-25.1-25.9-35.2 5.8L263 150z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M240.6 228.6c-43.3 0-78.3-35.1-78.3-78.3S197.4 72 240.6 72c8.1 0 15.8 1.2 23.2 3.5-17.3-15-39.8-24-64.5-24-54.4 0-98.6 44.1-98.6 98.6s44.1 98.6 98.6 98.6c24.2 0 46.3-8.7 63.4-23.1-7 1.9-14.4 3-22.1 3z\"\n }));\n },\n TT: function TT(_ref227) {\n var title = _ref227.title,\n rest = _objectWithoutProperties(_ref227, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M6.066 85.337l207.961 212.636 131.584 128.69h160.323L297.973 214.027 166.389 85.337z\"\n }), React.createElement(\"path\", {\n d: \"M43.364 85.337L384.69 426.663h83.946L127.31 85.337z\"\n }));\n },\n TV: function TV(_ref228) {\n var title = _ref228.title,\n rest = _objectWithoutProperties(_ref228, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 900 600\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h900v600H0z\"\n }), React.createElement(\"path\", {\n fill: \"#00B2EE\",\n d: \"M0 300h450V0h450v600H0V300z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M345.3 480.9l29.4 90.6-77.1-56H393l-77.1 56 29.4-90.6zM706.4 340l29.4 90.6-77.1-56H754l-77.1 56 29.5-90.6zM812.8 261.5l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM812.8 37.4l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M449.9 0v206.3h-81l81 54V300h-39.7l-129-85.9V300H168.7v-85.9L39.7 300H0v-39.7l81-54H0V93.8h81L0 39.9V0h39.7l129 85.9V0h112.5v85.9L410.2 0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M253.1 0h-56.3v122H0v56.2h196.8V300h56.3V178.2h196.8V122H253.1z\"\n }), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M449.9 39.9v53.9h-81z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 300v-19.3l109.9-74.4h39.7L12.8 300zM12.8.1l136.8 93.7h-39.7L0 19.4V.1zM449.9.2v19.3L340 93.8h-39.7L437.1.2zM437.1 300l-136.8-93.7H340l109.9 74.4V300z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M719.9 131.6l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM584 187.7l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM614 430.6l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM488 332l29.4 90.6-77.1-56h95.3l-77.1 56L488 332zM488 464l29.4 90.6-77.1-56h95.3l-77.1 56L488 464z\"\n }));\n },\n TW: function TW(_ref229) {\n var title = _ref229.title,\n rest = _objectWithoutProperties(_ref229, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.337h256V256H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M186.435 170.669L162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z\"\n }), React.createElement(\"circle\", {\n fill: \"#0052B4\",\n cx: 128,\n cy: 170.674,\n r: 29.006\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z\"\n }));\n },\n TZ: function TZ(_ref230) {\n var title = _ref230.title,\n rest = _objectWithoutProperties(_ref230, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 426.663V85.337h512\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M512 152.222V85.337H411.67L0 359.778v66.885h100.33z\"\n }), React.createElement(\"path\", {\n d: \"M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z\"\n }));\n },\n UA: function UA(_ref231) {\n var title = _ref231.title,\n rest = _objectWithoutProperties(_ref231, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 85.337h512V256H0z\"\n }));\n },\n UG: function UG(_ref232) {\n var title = _ref232.title,\n rest = _objectWithoutProperties(_ref232, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#232323\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 56.9h512v56.9H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D32300\",\n d: \"M0 113.8h512v56.9H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 227.6h512v56.9H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D32300\",\n d: \"M0 284.4h512v56.9H0z\"\n }), React.createElement(\"circle\", {\n fill: \"#FFF\",\n cx: 256,\n cy: 170.7,\n r: 80.7\n }), React.createElement(\"path\", {\n d: \"M234.5 127.5c.9-1.4-19.6-2-19.6-2 1.7-2.5 18.4-10.5 18.4-10.5s-.9-6 2.7-9.8l-4.5-9.8s7-3.4 18.4-3.4 19.9 7 21 13.1l-6.4 3.4c-.1 4.7 1.7 11.6-4.3 17.3-5.9 5.7-8.3 6.9-8.5 18.8 0 3.9 2.3 8.2 8.8 11.7 17.4 9.3 38.6 28.2 44.6 33.9 6.1 5.7 5.1 19.2 2.6 25.2s-12.1 14.3-14.3 13.6c-2.2-.6 1.2-9.2-3.5-11.6 0 0-8.9-7.6-16.8.6s-.2 25.2 3.9 28c4.1 2.8 1.7 5-1.9 5H247c-3.8 0-5.4-2.3-1.9-5 7.6-3.8 12.4-15.3 7.4-20.3-4.9-4.9-18.3 1.5-21.5 6.3-2.8 2.8-8.8 3.6-12.9-1.4s-4.1-10.4-1.1-12.5c7-4.8 0 0 .1-.1 0 0 11.9-8.6 29.9-9 3.9 0 4.8-2.2 2.2-4.8 0 0-30.9-27.4-28.1-44.2 3-18.3 20-26.3 13.4-32.5-1.3-1.8 0 0 0 0z\"\n }));\n },\n US: function US(_ref233) {\n var title = _ref233.title,\n rest = _objectWithoutProperties(_ref233, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 0h513v38H0zM0 76h513v38H0zM0 152h513v38H0zM0 228h513v38H0zM0 304h513v38H0z\"\n })), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M0 0h256.5v190H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M47.8 141.9l-4-12.8-4.3 12.8H26.3l10.7 7.7-4 12.8 10.8-7.9 10.7 7.9-4.2-12.8 10.9-7.7zM104.2 141.9l-4.1-12.8-4.2 12.8H82.7l10.7 7.7-4.1 12.8 10.8-7.9 10.7 7.9-4-12.8 10.8-7.7zM160.6 141.9l-4.2-12.8-4 12.8h-13.5l10.9 7.7-4.2 12.8 10.8-7.9 10.9 7.9-4.2-12.8 10.8-7.7zM216.9 141.9l-4.1-12.8-4.2 12.8h-13.2l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4.2-12.8 10.9-7.7zM100.1 78.3l-4.2 12.8H82.7L93.4 99l-4.1 12.6 10.8-7.8 10.7 7.8-4-12.6 10.8-7.9h-13.4zM43.8 78.3l-4.3 12.8H26.3L37 99l-4 12.6 10.8-7.8 10.7 7.8L50.3 99l10.9-7.9H47.8zM156.4 78.3l-4 12.8h-13.5l10.9 7.9-4.2 12.6 10.8-7.8 10.9 7.8-4.2-12.6 10.8-7.9h-13.3zM212.8 78.3l-4.2 12.8h-13.2l10.7 7.9-4 12.6 10.7-7.8 10.8 7.8-4.2-12.6 10.9-7.9h-13.4zM43.8 27.7l-4.3 12.6H26.3L37 48.2l-4 12.7L43.8 53l10.7 7.9-4.2-12.7 10.9-7.9H47.8zM100.1 27.7l-4.2 12.6H82.7l10.7 7.9-4.1 12.7 10.8-7.9 10.7 7.9-4-12.7 10.8-7.9h-13.4zM156.4 27.7l-4 12.6h-13.5l10.9 7.9-4.2 12.7 10.8-7.9 10.9 7.9-4.2-12.7 10.8-7.9h-13.3zM212.8 27.7l-4.2 12.6h-13.2l10.7 7.9-4 12.7 10.7-7.9 10.8 7.9-4.2-12.7 10.9-7.9h-13.4z\"\n })));\n },\n UY: function UY(_ref234) {\n var title = _ref234.title,\n rest = _objectWithoutProperties(_ref234, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 513 342\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h513v342H0z\"\n }), React.createElement(\"g\", {\n fill: \"#338AF3\"\n }, React.createElement(\"path\", {\n d: \"M0 38h513v38H0zM0 114h513v38H0zM0 190h513v38H0zM0 266h513v38H0z\"\n })), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h256.5v190H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M192 95l-26.2 12.3 14 25.3-28.4-5.4-3.6 28.7-19.8-21.1-19.8 21.1-3.6-28.7-28.4 5.4 14-25.3L64 95l26.2-12.3-14-25.3 28.4 5.4 3.6-28.7L128 55.2l19.8-21.1 3.6 28.7 28.4-5.4-14 25.3z\"\n }));\n },\n UZ: function UZ(_ref235) {\n var title = _ref235.title,\n rest = _objectWithoutProperties(_ref235, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 322.783h512v103.88H0z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 85.337h512v104.515H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 210.877h512v89.656H0z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 85.337h512v104.515H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M188.688 137.589c0-15.984 11.234-29.339 26.236-32.614a33.531 33.531 0 00-7.155-.777c-18.442 0-33.391 14.949-33.391 33.391s14.949 33.391 33.391 33.391c2.458 0 4.85-.273 7.155-.777-15.002-3.275-26.236-16.63-26.236-32.614zM234.658 152.766l2.261 6.957h7.315l-5.918 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.261-6.956-5.918-4.301h7.315zM258.006 152.766l2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zM281.353 152.766l2.26 6.957h7.315l-5.917 4.301 2.26 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.918-4.301h7.315zM304.7 152.766l2.262 6.957h7.315l-5.919 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.262-6.956-5.919-4.301h7.314zM328.048 152.766l2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zM258.006 128.482l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zM281.353 128.482l2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.918-4.3h7.315zM304.7 128.482l2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.299-5.918 4.299 2.262-6.957-5.919-4.3h7.314zM328.048 128.482l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zM281.353 104.198l2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.918-4.3h7.315zM304.7 104.198l2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.3-5.918 4.3 2.262-6.957-5.919-4.3h7.314zM328.048 104.198l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.917-4.3h7.314z\"\n })));\n },\n VA: function VA(_ref236) {\n var title = _ref236.title,\n rest = _objectWithoutProperties(_ref236, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.331h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 85.331h256v341.337H256z\"\n }), React.createElement(\"path\", {\n fill: \"#ACABB1\",\n d: \"M321.353 233.837l32.073 42.43c-5.053 7.651-5.026 17.961.817 25.692 7.414 9.807 21.374 11.748 31.182 4.335 9.807-7.414 11.748-21.374 4.334-31.182-5.843-7.731-15.756-10.568-24.495-7.795l-49.988-66.129-11.838 8.949-17.759 13.424 17.899 23.677 17.775-13.401zm46.175 48.78a7.421 7.421 0 118.95 11.84 7.421 7.421 0 01-8.95-11.84z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M376.367 247.24l17.899-23.677-17.759-13.424-11.838-8.949-49.988 66.129c-8.74-2.775-18.651.063-24.495 7.795-7.414 9.808-5.473 23.768 4.334 31.182 9.808 7.414 23.768 5.473 31.182-4.335 5.845-7.731 5.871-18.041.817-25.692l32.073-42.43 17.775 13.401zm-62.504 45.771a7.42 7.42 0 11-11.84-8.95 7.42 7.42 0 0111.84 8.95z\"\n }));\n },\n VC: function VC(_ref237) {\n var title = _ref237.title,\n rest = _objectWithoutProperties(_ref237, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#338AF3\",\n d: \"M0 85.331h170.663v341.337H0z\"\n }), React.createElement(\"g\", {\n fill: \"#6DA544\"\n }, React.createElement(\"path\", {\n d: \"M341.337 85.331H512v341.337H341.337zM214.261 283.82l-33.393-50.086 33.392-50.087 33.392 50.087zM297.739 283.82l-33.391-50.086 33.391-50.087 33.393 50.087zM256 350.603l-33.391-50.087L256 250.429l33.391 50.087z\"\n })));\n },\n VE: function VE(_ref238) {\n var title = _ref238.title,\n rest = _objectWithoutProperties(_ref238, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 22.5 15\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFCE00\",\n d: \"M0 0h22.5v5H0z\"\n }), React.createElement(\"path\", {\n fill: \"#203899\",\n d: \"M0 5h22.5v5H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D82B2B\",\n d: \"M0 10h22.5v5H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M12.13 5.38l.14.46.45.14-.39.27.01.48-.38-.29-.45.15.15-.44-.28-.38h.47zM10.36 5.38l.27.39h.47l-.28.38.15.45-.45-.16-.38.28.01-.47-.39-.28.45-.13zM13.8 5.94l-.01.48.39.27-.46.14-.14.45-.27-.38h-.48l.29-.38-.15-.45.45.16zM8.69 5.96l.4.27.44-.18-.13.46.3.36-.47.02-.26.4-.16-.44-.46-.12.37-.3zM15.24 7.13l-.2.44.25.4-.47-.05-.31.36-.1-.46-.43-.18.41-.24.03-.47.35.31zM15.43 8.25l.21.43.47.07-.34.33.08.46-.42-.22-.42.22.08-.46-.34-.33.47-.07zM7 8.2l.21.43.47.06-.34.33.08.47L7 9.27l-.42.22.08-.47-.34-.33.47-.06zM7.31 7.05l.45.14.38-.29v.48l.39.26-.45.15-.13.46-.28-.38-.47.01.27-.38z\"\n }));\n },\n VG: function VG(_ref239) {\n var title = _ref239.title,\n rest = _objectWithoutProperties(_ref239, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.334h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M256 85.334V202.66h-46.069L256 233.38v22.617h-22.628L160 207.078v48.919H96v-48.919l-73.372 48.919H0V233.38l46.069-30.72H0v-64h46.069L0 107.951V85.334h22.628L96 134.241V85.334h64v48.907l73.372-48.907z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z\"\n }), React.createElement(\"path\", {\n d: \"M0 85.329v15.083l57.377 38.251H80zM256 85.329v15.083l-57.377 38.251H176z\"\n })), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M256 107.951v30.712h-46.069z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 85.329v15.083l57.377 38.251H80zM256 85.329v15.083l-57.377 38.251H176z\"\n })), React.createElement(\"path\", {\n fill: \"#2E52B2\",\n d: \"M256 107.951v30.712h-46.069z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 255.997v-15.082l57.377-38.252H80zM256 255.997v-15.082l-57.377-38.252H176z\"\n })), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M384 259.706l-46.129 46.129c8.645 16.675 26.051 28.074 46.129 28.074s37.484-11.4 46.129-28.074L384 259.706z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M332.058 178.084V259.708c.001 39.759 51.942 51.941 51.942 51.941s51.941-12.182 51.942-51.942v-81.623H332.058z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M372.87 215.181h22.261v59.359H372.87z\"\n }), React.createElement(\"circle\", {\n fill: \"#A2001D\",\n cx: 384,\n cy: 215.181,\n r: 11.13\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M346.902 192.92h14.84v14.84h-14.84zM346.902 226.312h14.84v14.84h-14.84zM346.902 259.703h14.84v14.84h-14.84zM406.261 192.92h14.84v14.84h-14.84zM406.261 226.312h14.84v14.84h-14.84zM406.261 259.703h14.84v14.84h-14.84z\"\n })));\n },\n VI: function VI(_ref240) {\n var title = _ref240.title,\n rest = _objectWithoutProperties(_ref240, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.3\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h512v341.3H0z\"\n }), React.createElement(\"path\", {\n fill: \"#1583C4\",\n d: \"M397.7 166.3l-51 97.7c-1.1 2-.3 4.5 1.8 5.6 2 1.1 4.5.3 5.6-1.8l51-97.7c1-2.1.1-4.6-2-5.5-2-.9-4.3-.2-5.4 1.7z\"\n }), React.createElement(\"path\", {\n fill: \"#1583C4\",\n d: \"M404.9 188l-57.8 75.4c-1.3 1.9-.8 4.5 1.1 5.8 1.7 1.2 4.1.9 5.5-.7l57.8-75.4c1.4-1.8 1.1-4.4-.8-5.8-1.8-1.5-4.4-1.1-5.8.7z\"\n }), React.createElement(\"path\", {\n fill: \"#1583C4\",\n d: \"M379 181.3l-32.5 83.1c-.8 2.1.2 4.6 2.4 5.4 2.1.8 4.6-.2 5.4-2.4l32.5-83.1c.7-2.2-.4-4.5-2.6-5.3-2.1-.6-4.3.4-5.2 2.3z\"\n }), React.createElement(\"path\", {\n fill: \"#409347\",\n d: \"M122.1 171.9c.4 1.7 1.2 4.7 2.2 8.5 1.7 6.4 3.6 12.8 5.6 18.7 2.3 6.9 14.7 31.4 20.2 39.1 6.9 9.7 14.1 19.3 21.5 28.6 1.6 1.9 4.5 2.1 6.4.5 1.8-1.6 2.1-4.3.7-6.2-7.3-9.2-14.4-18.6-21.2-28.2-4.2-5.8-17.2-31.1-19-36.7-2.9-8.7-5.4-17.6-7.6-26.5-.5-2.4-2.9-4-5.3-3.5s-4 2.9-3.5 5.3c-.1.2 0 .3 0 .4z\"\n }), React.createElement(\"g\", {\n fill: \"#FFD836\",\n stroke: \"#231F20\",\n strokeMiterlimit: 10\n }, React.createElement(\"path\", {\n d: \"M297.1 114.9S279.5 42.8 261 42.8c-6.9 0-11.9-.6-15.4 6.4-.9 1.7-20.7-1.6-19.1 20.8.5 6.9 1.1-9.8 14.9-3.4 6.3 3-16.4 48.2-16.4 48.2h72.1z\"\n }), React.createElement(\"path\", {\n d: \"M466.1 48.4l-90.9 22c-75.3 18.3-42.1 44.4-42.1 44.4l-72.1 12-72.1-12s33.2-26.1-42.1-44.4l-90.9-22C43.1 45.3 38.1 51.8 45.3 63c0 0 106.6 104 126.8 112 20.2 8.1 40.8 0 40.8 0s-14.9 8.7-24 24c-9.2 15.3-4.6 34.7-38.9 40.2-5.5 6.6-5 14 2.9 19.9 7.9 5.8 72.1-48.1 72.1-48.1s-24 24.4-24 36.1c0 5.1 44.1 53.8 60.1 53.8s60.1-48.7 60.1-53.8c0-11.7-24-36.1-24-36.1s64.2 53.9 72.1 48.1 11.4-19.3 2.8-19.9c-28-1.8-29.7-24.9-38.9-40.2-9.2-15.3-24-24-24-24s20.6 8.1 40.8 0S476.7 63 476.7 63c7.2-11.2 2.3-17.7-10.6-14.6z\"\n })), React.createElement(\"path\", {\n fill: \"#FFF\",\n stroke: \"#231F20\",\n strokeMiterlimit: 10,\n d: \"M201.3 111.8v80.3c0 45.7 59.7 59.7 59.7 59.7s59.7-14 59.7-59.7v-80.3H201.3h0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M225.2 137.7V235c8.2 6 17 10.2 23.9 12.9V137.7h-23.9zM296.8 137.7V235c-8.2 6-17 10.2-23.9 12.9V137.7h23.9z\"\n })), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M201.3 111.8h119.4v37.9H201.3z\"\n }), React.createElement(\"path\", {\n fill: \"#1583C4\",\n d: \"M60.1 210.5l-21.9-58.1H15.7l31.8 80.8h25.2l31.5-80.8H81.7zM451.5 151.9h18.9v81.7h-18.9z\"\n }));\n },\n VN: function VN(_ref241) {\n var title = _ref241.title,\n rest = _objectWithoutProperties(_ref241, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M196.641 85.337H0v341.326h512V85.337z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M256 157.279l22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z\"\n }));\n },\n VU: function VU(_ref242) {\n var title = _ref242.title,\n rest = _objectWithoutProperties(_ref242, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M512 256v170.663H0L215.185 256z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M512 85.337V256H215.185L0 85.337z\"\n }), React.createElement(\"path\", {\n d: \"M221.001 239.304L26.868 85.337H8.956l208.168 165.098H512v-11.131zM8.956 426.663h17.912l194.133-153.967H512v-11.131H217.124zM0 92.44v14.206L188.317 256 0 405.354v14.205L206.229 256z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M8.956 85.337H0v7.103L206.229 256 0 419.559v7.104h8.956l208.168-165.098H512v-11.13H217.124z\"\n }), React.createElement(\"path\", {\n d: \"M63.718 292.382v-14.295c14.265 0 25.87-11.606 25.87-25.869 0-10.092-8.211-18.303-18.304-18.303-6.875 0-12.469 5.593-12.469 12.469 0 4.397 3.577 7.974 7.974 7.974a4.514 4.514 0 004.508-4.508h14.295c0 10.368-8.435 18.804-18.802 18.804-12.279-.002-22.269-9.993-22.269-22.271 0-14.758 12.006-26.764 26.764-26.764 17.975 0 32.599 14.623 32.599 32.599 0 22.145-18.018 40.164-40.166 40.164z\"\n })));\n },\n WF: function WF(_ref243) {\n var title = _ref243.title,\n rest = _objectWithoutProperties(_ref243, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 150 100\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#ED2939\",\n d: \"M0 0h150v100H0z\"\n }), React.createElement(\"path\", {\n fill: \"#002395\",\n d: \"M0 0h20v44.33H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M20 0h20v44.33H20z\"\n }), React.createElement(\"path\", {\n fill: \"none\",\n stroke: \"#FFF\",\n strokeWidth: 3,\n d: \"M0 44.33h62.75V0\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M108.08 43.29L87.96 23.17h40.25l-20.13 20.12zm-6.7 6.71L81.25 29.88v40.25L101.38 50zm6.7 6.71L87.96 76.83h40.25l-20.13-20.12zm6.71-6.71l20.13-20.13v40.25L114.79 50z\"\n }));\n },\n WS: function WS(_ref244) {\n var title = _ref244.title,\n rest = _objectWithoutProperties(_ref244, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 85.331h256v170.663H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M165.483 181.79l2.764 8.504h8.939l-7.232 5.254 2.763 8.503-7.234-5.255-7.233 5.255 2.763-8.503-7.233-5.254h8.94zM120.579 115.007l4.606 14.173h14.9l-12.055 8.757 4.605 14.171-12.056-8.758-12.054 8.758 4.605-14.171-12.056-8.757h14.901zM165.101 129.848l4.606 14.172h14.9l-12.055 8.757 4.604 14.173-12.055-8.76-12.054 8.76 4.604-14.173-12.055-8.757h14.9zM129.909 189.211l4.606 14.172h14.9l-12.055 8.758 4.604 14.171-12.055-8.759-12.054 8.759 4.604-14.171-12.055-8.758h14.9zM90.899 152.108l4.605 14.173h14.9l-12.055 8.757 4.604 14.173-12.054-8.76-12.055 8.76 4.604-14.173-12.055-8.757h14.9z\"\n })));\n },\n XK: function XK(_ref245) {\n var title = _ref245.title,\n rest = _objectWithoutProperties(_ref245, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 512 341.33\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M0 0h512v341.34H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFF\"\n }, React.createElement(\"path\", {\n d: \"M220.72 42.63l7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.36-15.9 8.36 3.03-17.7-12.86-12.54 17.78-2.58zM291.28 42.57l7.95 16.1 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59zM353.36 53.93l7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.87-12.54 17.78-2.58zM416.37 72.23l7.95 16.11 17.77 2.59-12.86 12.53 3.04 17.71-15.9-8.36-15.9 8.36 3.03-17.71-12.86-12.53 17.78-2.59zM158.64 53.93l7.95 16.11 17.78 2.58-12.87 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.86-12.54 17.77-2.58zM95.63 72.23l7.95 16.11 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59z\"\n })), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M217.53 259.33l-27.22-13.61-27.22-54.43h27.22l27.22-27.22 13.61-27.22 27.22-13.61 13.61 13.61 27.22 13.61v13.61l13.61 13.61 40.83 27.22L340 245.73l-40.83 40.83-13.61-27.22-40.83 27.22v27.22l-13.61-13.61-13.59-40.84z\"\n }));\n },\n YE: function YE(_ref246) {\n var title = _ref246.title,\n rest = _objectWithoutProperties(_ref246, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M0 85.337h512v113.775H0z\"\n }), React.createElement(\"path\", {\n d: \"M0 312.888h512v113.775H0z\"\n }));\n },\n YT: function YT(_ref247) {\n var title = _ref247.title,\n rest = _objectWithoutProperties(_ref247, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 0 90 60\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 0h90v60H0z\"\n }), React.createElement(\"path\", {\n stroke: \"#7f7f7f\",\n strokeWidth: 0.25,\n fill: \"#ABABAB\",\n d: \"M12.8 38.5s4 1.6 1.2-.5c-2.4-1.7-5 2.4-5 5.1s1.2 7 7.5 7c7.6 0 11.4-5.7 11.4-11.4 0-4.8-3.7-13.5-6.5-14.6-3.1-1.2-6.7-3.5-6.8-5 0-.5 1.4-.1 3.3.9 3.1 1.7 6.6 2.5 6.6 1.4s-2.9-3.1-4-4.6c-1.2-1.6-.9-5.5-3-5.5-7.6 0-9.9 7.7-7 11.7 1.9 2.6-4.3 1-4.3 1s0 5.3 3.2 7.3c3 1.8 4.8 3.9 4.8 3.9s-.2-4.6.5-3.9c.6.7 11.1 4.5 10.3 12-.3 3-4.5 5.4-8.5 5.2-4-.2-6.8-2.4-6.4-5.4.2-4.2 2.7-4.6 2.7-4.6zM77.2 38.5s-4 1.6-1.2-.5c2.4-1.8 5.1 2.3 5.1 5.1s-1.2 7-7.5 7c-7.6 0-11.4-5.7-11.4-11.4 0-4.8 3.7-13.5 6.5-14.6 3.1-1.2 6.7-3.5 6.8-5 0-.5-1.4-.1-3.3.9-3.1 1.7-6.6 2.5-6.6 1.4s2.9-3.1 4-4.6c1.2-1.6.9-5.5 3-5.5 7.6 0 9.9 7.7 7 11.7-1.9 2.6 4.3 1 4.3 1s0 5.3-3.2 7.3c-3 1.8-4.8 3.9-4.8 3.9s.2-4.6-.5-3.9c-.6.7-11.1 4.5-10.3 12 .3 3 4.5 5.4 8.5 5.2 4-.2 6.8-2.4 6.4-5.4-.3-4.2-2.8-4.6-2.8-4.6z\"\n }), React.createElement(\"path\", {\n fill: \"#DE393A\",\n d: \"M31 28.8v14c0 1.9 2.1 1.6 2.1 1.6h9.3c1.2 0 2.6 2.3 2.6 2.3s1.4-2.3 2.5-2.3h9.6s2 .2 2-1.8V28.7H31z\"\n }), React.createElement(\"path\", {\n fill: \"#3951A3\",\n d: \"M31 13.1h28v15.7H31z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M50.1 16.5c-.4 2.4-2.5 4.2-5.1 4.2-2.5 0-4.6-1.8-5.1-4.2-.5.9-.8 1.9-.8 3 0 3.3 2.6 5.9 5.9 5.9 3.3 0 5.9-2.6 5.9-5.9 0-1.1-.3-2.1-.8-3z\"\n }), React.createElement(\"circle\", {\n fill: \"#FEE05F\",\n cx: 39.1,\n cy: 36.5,\n r: 3\n }), React.createElement(\"circle\", {\n fill: \"#FEE05F\",\n cx: 50.9,\n cy: 36.5,\n r: 3\n }));\n },\n ZA: function ZA(_ref248) {\n var title = _ref248.title,\n rest = _objectWithoutProperties(_ref248, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M0 85.337h512v341.326H0z\"\n }), React.createElement(\"path\", {\n d: \"M114.024 256.001L0 141.926v228.17z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M161.192 256L0 94.7v47.226l114.024 114.075L0 370.096v47.138z\"\n }), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M509.833 289.391c.058-.44.804-.878 2.167-1.318v-65.464H222.602L85.33 85.337H0V94.7L161.192 256 0 417.234v9.429h85.33l137.272-137.272h287.231z\"\n }), React.createElement(\"path\", {\n fill: \"#0052B4\",\n d: \"M503.181 322.783H236.433l-103.881 103.88H512v-103.88z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M503.181 189.217H512V85.337H132.552l103.881 103.88z\"\n }));\n },\n ZM: function ZM(_ref249) {\n var title = _ref249.title,\n rest = _objectWithoutProperties(_ref249, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n fill: \"#496E2D\",\n d: \"M0 85.331h512v341.337H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M490.668 195.476h-48c0-8.836-7.164-16-16-16s-16 7.164-16 16h-48c0 8.836 7.697 16 16.533 16h-.533c0 8.836 7.162 16 16 16 0 8.836 7.162 16 16 16h32c8.836 0 16-7.164 16-16 8.836 0 16-7.164 16-16h-.533c8.837 0 16.533-7.164 16.533-16z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M341.337 255.994h56.888v170.663h-56.888z\"\n }), React.createElement(\"path\", {\n fill: \"#FF9811\",\n d: \"M455.112 255.994H512v170.663h-56.888z\"\n }), React.createElement(\"path\", {\n d: \"M398.225 255.994h56.888v170.663h-56.888z\"\n }));\n },\n ZW: function ZW(_ref250) {\n var title = _ref250.title,\n rest = _objectWithoutProperties(_ref250, [\"title\"]);\n\n return React.createElement(\"svg\", _extends({\n viewBox: \"0 85.333 512 341.333\"\n }, rest), title && React.createElement(\"title\", null, title), React.createElement(\"path\", {\n d: \"M0 85.333h512V426.67H0z\"\n }), React.createElement(\"g\", {\n fill: \"#FFDA44\"\n }, React.createElement(\"path\", {\n d: \"M0 134.196h512v48.868H0zM0 329.668h512v48.868H0z\"\n })), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 85.333h512v48.868H0z\"\n }), React.createElement(\"g\", {\n fill: \"#D80027\"\n }, React.createElement(\"path\", {\n d: \"M0 183.069h512v48.868H0zM0 280.806h512v48.868H0z\"\n })), React.createElement(\"path\", {\n fill: \"#6DA544\",\n d: \"M0 378.542h512v48.128H0z\"\n }), React.createElement(\"path\", {\n fill: \"#FFF\",\n d: \"M276.992 255.996L106.329 426.659H0V85.333h106.329z\"\n }), React.createElement(\"path\", {\n d: \"M256 255.996L85.334 426.662h20.987l170.667-170.666L106.321 85.33H85.334z\"\n }), React.createElement(\"path\", {\n fill: \"#D80027\",\n d: \"M102.465 202.57l13.259 40.812h42.917l-34.718 25.226 13.26 40.814-34.718-25.224-34.72 25.224 13.262-40.814-34.718-25.226h42.915z\"\n }), React.createElement(\"path\", {\n fill: \"#FFDA44\",\n d: \"M138.94 259.335l-34.559-12.243s-2.553-23.955-2.708-24.766c-1.173-6.18-6.603-10.851-13.123-10.851-7.376 0-13.357 5.98-13.357 13.357 0 1.223.178 2.402.486 3.528l-9.689 9.755h17.229c0 17.882-13.344 17.882-13.344 35.691l7.402 17.809h44.522l7.422-17.809h-.004a17.782 17.782 0 001.381-5.231c6.397-2.589 8.342-9.24 8.342-9.24z\"\n }));\n }\n};","import React from 'react';\nimport { default as ReactPhoneInput } from 'react-phone-number-input';\nimport flags from 'react-phone-number-input/flags';\nimport ru from 'react-phone-number-input/locale/ru.json';\n\nclass PhoneInput extends React.Component {\n render() {\n const { value, onChange, ...rest } = this.props;\n return (\n <div>\n <ReactPhoneInput\n placeholder=\"000 000-00-00\"\n value={value}\n onChange={onChange}\n labels={ru}\n defaultCountry=\"RU\"\n flags={flags}\n {...rest}\n />\n </div>\n );\n }\n}\n\nexport default PhoneInput;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport ActionButton from 'components/ActionButton';\nimport PhoneInput from 'components/PhoneInput';\n\nclass Registration extends React.Component {\n state = {\n phone: '+7',\n email: '',\n comment: '',\n code: ''\n };\n\n onChangePhone = (value) => {\n this.setState({ phone: value });\n };\n\n onChangeEmail = (event) => {\n this.setState({ email: event.target.value });\n };\n\n onChangeComment = (event) => {\n this.setState({ comment: event.target.value });\n };\n\n onCodeChange = (event) => {\n const code = event.target.value;\n this.setState({ code });\n if (code.length === 4) {\n window.analytics.track('app_registration_verify');\n this.props.verifyCode(this.state.phone, code);\n }\n };\n\n onSubmit = (event) => {\n event.preventDefault();\n window.analytics.track('app_registration_submit');\n\n const { email, phone, comment } = this.state;\n\n this.props.createUser(phone, email, comment);\n };\n\n resendSMS = () => {\n this.setState({ phone: '', email: '', comment: '', code: '' });\n this.props.logout();\n };\n\n renderError = () => {\n const { error } = this.props;\n return (\n <>\n {error &&\n <div className=\"registration__error\" dangerouslySetInnerHTML={{ __html: error }} />\n }\n </>\n );\n };\n\n renderStepOne = () => {\n const { status } = this.props;\n const locked = status === 'code_locked';\n const { email, phone, comment } = this.state;\n return (\n <form action=\"#\" onSubmit={this.onSubmit}>\n <div className=\"registration__field\">\n <label>\n Телефон\n <PhoneInput\n value={phone}\n onChange={this.onChangePhone}\n required={true}\n />\n <p>Укажите реальный номер. Подтвердим Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ СМС</p>\n </label>\n </div>\n\n <div className=\"registration__field\">\n <label>\n Email\n <input type=\"email\" value={email} onChange={this.onChangeEmail} required={true} />\n <p>Отправим пиÑьмо Ñ Ð¿Ð°Ñ€Ð¾Ð»ÐµÐ¼ поÑле региÑтрации</p>\n </label>\n </div>\n\n <div className=\"registration__field\">\n <label>\n (Опционально) Ð”Ð»Ñ ÐºÐ°ÐºÐ¸Ñ… целей планируетÑÑ Ð¸Ñпользовать?\n <textarea style={{ display: 'block', width: '100%', height: '100px' }} value={comment} onChange={this.onChangeComment} />\n </label>\n </div>\n\n <ActionButton\n action={() => {}}\n loading={locked}\n >\n ЗарегиÑтрироватьÑÑ\n </ActionButton>\n\n <p className=\"registration__policies\">\n ÐÐ°Ð¶Ð¸Ð¼Ð°Ñ Ð½Ð° кнопку, вы даете ÑоглаÑие на <a href=\"/l/agreement\">обработку перÑональных данных</a> и\n ÑоглашаетеÑÑŒ c <a href=\"/l/policy\">политикой конфиденциальноÑти</a>.\n </p>\n </form>\n );\n };\n\n renderStepTwo = () => {\n const { status } = this.props;\n const locked = status === 'auth_locked';\n return (\n <div>\n <p>Отправили код на {this.state.phone}. Введите код из СМС.</p>\n <div className=\"registration__field\">\n <label>\n Код из СМС\n <input\n name=\"code\"\n type=\"tel\"\n value={this.state.code}\n onChange={this.onCodeChange}\n placeholder=\"* * * *\"\n disabled={locked}\n />\n </label>\n </div>\n\n <button onClick={this.resendSMS}>Отправить на другой номер</button>\n </div>\n );\n };\n\n renderSteps = () => {\n if (['code_success', 'auth_locked', 'auth_success', 'verify_error'].includes(this.props.status)) {\n return this.renderStepTwo();\n } else {\n return this.renderStepOne();\n }\n };\n\n render() {\n return (\n <div className=\"registration_wrap\">\n <div className=\"registration\">\n <h1>РегиÑтрациÑ</h1>\n {this.renderError()}\n {this.renderSteps()}\n </div>\n\n <div className=\"registration__links\">\n <a href=\"/\">Ðа главную</a>\n | \n <Link to=\"/app/login\">Вход</Link>\n </div>\n </div>\n );\n }\n}\n\nexport default Registration;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n sendCode,\n verifyCode,\n createUser,\n logout,\n getStatus,\n getError,\n isLoginProcess\n} from 'store/auth';\nimport Registration from 'components/registration/Registration';\n\nclass RegistrationContainer extends Component {\n render() {\n const { createUser, sendCode, verifyCode, logout, status, error, isLoginProcess } = this.props;\n return (\n <Registration\n status={status}\n error={error}\n isLoginProcess={isLoginProcess}\n createUser={createUser}\n sendCode={sendCode}\n verifyCode={verifyCode}\n logout={logout}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n status: getStatus(state),\n error: getError(state),\n isLoginProcess: isLoginProcess(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n createUser: (phone, email, comment) => dispatch(createUser(phone, email, comment)),\n sendCode: (phone, email, comment) => dispatch(sendCode(phone, email, comment)),\n verifyCode: (phone, code) => dispatch(verifyCode(phone, code)),\n logout: () => dispatch(logout())\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(RegistrationContainer);\n","import React from 'react';\n\nclass Recharge extends React.Component {\n state = {\n amount: 1000\n };\n\n redirectTo = (url) => {\n window.location.href = url;\n };\n\n onSubmit = (event) => {\n event.preventDefault();\n this.props.createInvoice(this.state.amount);\n };\n\n onChangeAmount = (event) => {\n this.setState({ amount: event.target.value });\n };\n\n renderForm = () => {\n const { amount } = this.state;\n return (\n <form action=\"#\" onSubmit={this.onSubmit}>\n <label>\n Сумма пополнениÑ\n <input value={amount} onChange={this.onChangeAmount} type=\"number\" required={true} min=\"1\" max=\"1000000\" step=\"1\" />\n </label>\n\n <button>Оплатить</button>\n </form>\n );\n };\n\n renderButtons = () => {\n const { close } = this.props;\n return (\n <div className=\"recharge__buttons\">\n <button onClick={close}>Отмена</button>\n </div>\n );\n };\n\n render() {\n const { invoice } = this.props;\n if (invoice) {\n this.redirectTo(invoice.pay_url);\n }\n\n return (\n <div className=\"recharge\">\n <h2>Пополнение Ñчета</h2>\n {this.renderForm()}\n {this.renderButtons()}\n </div>\n );\n }\n}\n\nexport default Recharge;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getInvoice,\n getLoading,\n getError,\n createInvoice\n} from 'store/invoice';\nimport Recharge from 'components/recharge/Recharge';\n\nclass RechargeContainer extends Component {\n render() {\n const { invoice, loading, error, createInvoice, close } = this.props;\n return (\n <Recharge\n invoice={invoice}\n loading={loading}\n error={error}\n createInvoice={createInvoice}\n close={close}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n invoice: getInvoice(state),\n loading: getLoading(state),\n error: getError(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n createInvoice: (amount) => dispatch(createInvoice(amount))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(RechargeContainer);\n","function replaceClassName(origClass, classToRemove) {\n return origClass.replace(new RegExp(\"(^|\\\\s)\" + classToRemove + \"(?:\\\\s|$)\", 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n\nexport default function removeClass(element, className) {\n if (element.classList) {\n element.classList.remove(className);\n } else if (typeof element.className === 'string') {\n ;\n element.className = replaceClassName(element.className, className);\n } else {\n element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n }\n}","export default {\n disabled: false\n};","import React from 'react';\nexport default React.createContext(null);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * <Transition in={inProp} timeout={duration}>\n * {state => (\n * <div style={{\n * ...defaultStyle,\n * ...transitionStyles[state]\n * }}>\n * I'm a fade Transition!\n * </div>\n * )}\n * </Transition>\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <Transition in={inProp} timeout={500}>\n * {state => (\n * // ...\n * )}\n * </Transition>\n * <button onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n }; // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n var node = ReactDOM.findDOMNode(this);\n\n if (nextStatus === ENTERING) {\n this.performEnter(node, mounting);\n } else {\n this.performExit(node);\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(node, mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(node);\n });\n return;\n }\n\n this.props.onEnter(node, appearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(node, appearing);\n\n _this2.onTransitionEnd(node, enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(node, appearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit(node) {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts(); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(node);\n });\n return;\n }\n\n this.props.onExit(node);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(node);\n\n _this3.onTransitionEnd(node, timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(node);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(node, timeout, handler) {\n this.setNextCallback(handler);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n this.props.addEndListener(node, this.nextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\"]); // filter props for Transtition\n\n\n delete childProps.in;\n delete childProps.mountOnEnter;\n delete childProps.unmountOnExit;\n delete childProps.appear;\n delete childProps.enter;\n delete childProps.exit;\n delete childProps.timeout;\n delete childProps.addEndListener;\n delete childProps.onEnter;\n delete childProps.onEntering;\n delete childProps.onEntered;\n delete childProps.onExit;\n delete childProps.onExiting;\n delete childProps.onExited;\n\n if (typeof children === 'function') {\n // allows for nested Transitions\n return React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, children(status, childProps));\n }\n\n var child = React.Children.only(children);\n return (// allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, React.cloneElement(child, childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = 0;\nTransition.EXITED = 1;\nTransition.ENTERING = 2;\nTransition.ENTERED = 3;\nTransition.EXITING = 4;\nexport default Transition;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport addOneClass from 'dom-helpers/addClass';\nimport removeOneClass from 'dom-helpers/removeClass';\nimport React from 'react';\nimport Transition from './Transition';\nimport { classNamesShape } from './utils/PropTypes';\n\nvar _addClass = function addClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return addOneClass(node, c);\n });\n};\n\nvar removeClass = function removeClass(node, classes) {\n return node && classes && classes.split(' ').forEach(function (c) {\n return removeOneClass(node, c);\n });\n};\n/**\n * A transition component inspired by the excellent\n * [ng-animate](http://www.nganimate.org/) library, you should use it if you're\n * using CSS transitions or animations. It's built upon the\n * [`Transition`](https://reactcommunity.org/react-transition-group/transition)\n * component, so it inherits all of its props.\n *\n * `CSSTransition` applies a pair of class names during the `appear`, `enter`,\n * and `exit` states of the transition. The first class is applied and then a\n * second `*-active` class in order to activate the CSS transition. After the\n * transition, matching `*-done` class names are applied to persist the\n * transition state.\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <CSSTransition in={inProp} timeout={200} classNames=\"my-node\">\n * <div>\n * {\"I'll receive my-node-* classes\"}\n * </div>\n * </CSSTransition>\n * <button type=\"button\" onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the `in` prop is set to `true`, the child component will first receive\n * the class `example-enter`, then the `example-enter-active` will be added in\n * the next tick. `CSSTransition` [forces a\n * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215)\n * between before adding the `example-enter-active`. This is an important trick\n * because it allows us to transition between `example-enter` and\n * `example-enter-active` even though they were added immediately one after\n * another. Most notably, this is what makes it possible for us to animate\n * _appearance_.\n *\n * ```css\n * .my-node-enter {\n * opacity: 0;\n * }\n * .my-node-enter-active {\n * opacity: 1;\n * transition: opacity 200ms;\n * }\n * .my-node-exit {\n * opacity: 1;\n * }\n * .my-node-exit-active {\n * opacity: 0;\n * transition: opacity 200ms;\n * }\n * ```\n *\n * `*-active` classes represent which styles you want to animate **to**.\n *\n * **Note**: If you're using the\n * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear)\n * prop, make sure to define styles for `.appear-*` classes as well.\n */\n\n\nvar CSSTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(CSSTransition, _React$Component);\n\n function CSSTransition() {\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 _this.appliedClasses = {\n appear: {},\n enter: {},\n exit: {}\n };\n\n _this.onEnter = function (node, appearing) {\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, appearing ? 'appear' : 'enter', 'base');\n\n if (_this.props.onEnter) {\n _this.props.onEnter(node, appearing);\n }\n };\n\n _this.onEntering = function (node, appearing) {\n var type = appearing ? 'appear' : 'enter';\n\n _this.addClass(node, type, 'active');\n\n if (_this.props.onEntering) {\n _this.props.onEntering(node, appearing);\n }\n };\n\n _this.onEntered = function (node, appearing) {\n var type = appearing ? 'appear' : 'enter';\n\n _this.removeClasses(node, type);\n\n _this.addClass(node, type, 'done');\n\n if (_this.props.onEntered) {\n _this.props.onEntered(node, appearing);\n }\n };\n\n _this.onExit = function (node) {\n _this.removeClasses(node, 'appear');\n\n _this.removeClasses(node, 'enter');\n\n _this.addClass(node, 'exit', 'base');\n\n if (_this.props.onExit) {\n _this.props.onExit(node);\n }\n };\n\n _this.onExiting = function (node) {\n _this.addClass(node, 'exit', 'active');\n\n if (_this.props.onExiting) {\n _this.props.onExiting(node);\n }\n };\n\n _this.onExited = function (node) {\n _this.removeClasses(node, 'exit');\n\n _this.addClass(node, 'exit', 'done');\n\n if (_this.props.onExited) {\n _this.props.onExited(node);\n }\n };\n\n _this.getClassNames = function (type) {\n var classNames = _this.props.classNames;\n var isStringClassNames = typeof classNames === 'string';\n var prefix = isStringClassNames && classNames ? classNames + \"-\" : '';\n var baseClassName = isStringClassNames ? \"\" + prefix + type : classNames[type];\n var activeClassName = isStringClassNames ? baseClassName + \"-active\" : classNames[type + \"Active\"];\n var doneClassName = isStringClassNames ? baseClassName + \"-done\" : classNames[type + \"Done\"];\n return {\n baseClassName: baseClassName,\n activeClassName: activeClassName,\n doneClassName: doneClassName\n };\n };\n\n return _this;\n }\n\n var _proto = CSSTransition.prototype;\n\n _proto.addClass = function addClass(node, type, phase) {\n var className = this.getClassNames(type)[phase + \"ClassName\"];\n\n if (type === 'appear' && phase === 'done') {\n className += \" \" + this.getClassNames('enter').doneClassName;\n } // This is for to force a repaint,\n // which is necessary in order to transition styles when adding a class name.\n\n\n if (phase === 'active') {\n /* eslint-disable no-unused-expressions */\n node && node.scrollTop;\n }\n\n this.appliedClasses[type][phase] = className;\n\n _addClass(node, className);\n };\n\n _proto.removeClasses = function removeClasses(node, type) {\n var _this$appliedClasses$ = this.appliedClasses[type],\n baseClassName = _this$appliedClasses$.base,\n activeClassName = _this$appliedClasses$.active,\n doneClassName = _this$appliedClasses$.done;\n this.appliedClasses[type] = {};\n\n if (baseClassName) {\n removeClass(node, baseClassName);\n }\n\n if (activeClassName) {\n removeClass(node, activeClassName);\n }\n\n if (doneClassName) {\n removeClass(node, doneClassName);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n _ = _this$props.classNames,\n props = _objectWithoutPropertiesLoose(_this$props, [\"classNames\"]);\n\n return React.createElement(Transition, _extends({}, props, {\n onEnter: this.onEnter,\n onEntered: this.onEntered,\n onEntering: this.onEntering,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }));\n };\n\n return CSSTransition;\n}(React.Component);\n\nCSSTransition.defaultProps = {\n classNames: ''\n};\nexport default CSSTransition;","import hasClass from './hasClass';\nexport default function addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + \" \" + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + \" \" + className);\n}","export default function hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);\n return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nimport React, { Component } from 'react';\nimport ReactDom from 'react-dom';\nimport CSSTransition from 'react-transition-group/CSSTransition';\nimport cx from 'classnames';\nimport noScroll from 'no-scroll';\nimport FocusTrap from 'focus-trap-react';\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 _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n _defineProperty(target, key, source[key]);\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 _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 CloseIcon = function CloseIcon(_ref) {\n var classes = _ref.classes,\n classNames = _ref.classNames,\n styles = _ref.styles,\n closeIconSize = _ref.closeIconSize,\n closeIconSvgPath = _ref.closeIconSvgPath,\n onClickCloseIcon = _ref.onClickCloseIcon,\n id = _ref.id;\n return React.createElement(\"button\", {\n className: cx(classes.closeButton, classNames.closeButton),\n style: styles.closeButton,\n onClick: onClickCloseIcon,\n id: id\n }, React.createElement(\"svg\", {\n className: cx(classes.closeIcon, classNames.closeIcon),\n style: styles.closeIcon,\n xmlns: \"http://www.w3.org/2000/svg\",\n width: closeIconSize,\n height: closeIconSize,\n viewBox: \"0 0 36 36\"\n }, closeIconSvgPath));\n};\n\nCloseIcon.defaultProps = {\n id: null\n};\nvar _modals = [];\n/**\n * Handle the order of the modals.\n * Inspired by the material-ui implementation.\n */\n\nvar modalManager = {\n /**\n * Return the modals array\n */\n modals: function modals() {\n return _modals;\n },\n\n /**\n * Register a new modal\n */\n add: function add(modal) {\n if (_modals.indexOf(modal) === -1) {\n _modals.push(modal);\n }\n },\n\n /**\n * Remove a modal\n */\n remove: function remove(modal) {\n var index = _modals.indexOf(modal);\n\n if (index !== -1) {\n _modals.splice(index, 1);\n }\n },\n\n /**\n * Check if the modal is the first one on the screen\n */\n isTopModal: function isTopModal(modal) {\n return !!_modals.length && _modals[_modals.length - 1] === modal;\n }\n};\n\nfunction styleInject(css, ref) {\n if (ref === void 0) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') {\n return;\n }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar css = \".styles_overlay__CLSq- {\\n background: rgba(0, 0, 0, 0.75);\\n display: flex;\\n align-items: flex-start;\\n position: fixed;\\n top: 0;\\n left: 0;\\n right: 0;\\n bottom: 0;\\n overflow-y: auto;\\n overflow-x: hidden;\\n z-index: 1000;\\n padding: 1.2rem;\\n}\\n.styles_modal__gNwvD {\\n max-width: 800px;\\n position: relative;\\n padding: 1.2rem;\\n background: #ffffff;\\n background-clip: padding-box;\\n box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.25);\\n margin: 0 auto;\\n}\\n.styles_modalCenter__L9F2w {\\n margin: auto;\\n}\\n.styles_closeButton__20ID4 {\\n position: absolute;\\n top: 14px;\\n right: 14px;\\n border: none;\\n padding: 0;\\n background-color: transparent;\\n display: flex;\\n}\\n.styles_closeIcon__1QwbI {\\n}\\n.styles_transitionEnter__3j_-a {\\n opacity: 0.01;\\n}\\n.styles_transitionEnterActive___eQs7 {\\n opacity: 1;\\n transition: opacity 500ms cubic-bezier(0.23, 1, 0.32, 1);\\n}\\n.styles_transitionExit__1KmEf {\\n opacity: 1;\\n}\\n.styles_transitionExitActive__1nQXw {\\n opacity: 0.01;\\n transition: opacity 500ms cubic-bezier(0.23, 1, 0.32, 1);\\n}\\n\";\nvar cssClasses = {\n \"overlay\": \"styles_overlay__CLSq-\",\n \"modal\": \"styles_modal__gNwvD\",\n \"modalCenter\": \"styles_modalCenter__L9F2w\",\n \"closeButton\": \"styles_closeButton__20ID4\",\n \"closeIcon\": \"styles_closeIcon__1QwbI\",\n \"transitionEnter\": \"styles_transitionEnter__3j_-a\",\n \"transitionEnterActive\": \"styles_transitionEnterActive___eQs7\",\n \"transitionExit\": \"styles_transitionExit__1KmEf\",\n \"transitionExitActive\": \"styles_transitionExitActive__1nQXw\"\n};\nstyleInject(css, {\n \"insertAt\": \"top\"\n});\nvar isBrowser = typeof window !== 'undefined';\n\nvar Modal = /*#__PURE__*/function (_Component) {\n _inherits(Modal, _Component);\n\n _createClass(Modal, null, [{\n key: \"blockScroll\",\n value: function blockScroll() {\n noScroll.on();\n }\n }]);\n\n function Modal(props) {\n var _this;\n\n _classCallCheck(this, Modal);\n\n _this = _possibleConstructorReturn(this, _getPrototypeOf(Modal).call(this, props));\n\n _defineProperty(_assertThisInitialized(_this), \"shouldClose\", null);\n\n _defineProperty(_assertThisInitialized(_this), \"handleOpen\", function () {\n modalManager.add(_assertThisInitialized(_this));\n\n if (isBrowser && !_this.props.container) {\n document.body.appendChild(_this.container);\n }\n\n if (_this.props.blockScroll) {\n Modal.blockScroll();\n }\n\n document.addEventListener('keydown', _this.handleKeydown);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handleClose\", function () {\n modalManager.remove(_assertThisInitialized(_this));\n\n if (_this.props.blockScroll) {\n Modal.unblockScroll();\n }\n\n if (isBrowser && !_this.props.container) {\n document.body.removeChild(_this.container);\n }\n\n document.removeEventListener('keydown', _this.handleKeydown);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handleClickOverlay\", function (event) {\n if (_this.shouldClose === null) {\n _this.shouldClose = true;\n }\n\n if (!_this.shouldClose) {\n _this.shouldClose = null;\n return;\n }\n\n if (_this.props.onOverlayClick) {\n _this.props.onOverlayClick(event);\n }\n\n if (_this.props.closeOnOverlayClick) {\n _this.props.onClose(event);\n }\n\n _this.shouldClose = null;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handleClickCloseIcon\", function (event) {\n _this.props.onClose(event);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handleKeydown\", function (event) {\n // Only the last modal need to be escaped when pressing the esc key\n if (event.keyCode !== 27 || !modalManager.isTopModal(_assertThisInitialized(_this))) {\n return;\n }\n\n if (_this.props.onEscKeyDown) {\n _this.props.onEscKeyDown(event);\n }\n\n if (_this.props.closeOnEsc) {\n _this.props.onClose(event);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handleModalEvent\", function () {\n _this.shouldClose = false;\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handleEntered\", function () {\n if (_this.props.onEntered) {\n _this.props.onEntered();\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handleExited\", function () {\n if (_this.props.onExited) {\n _this.props.onExited();\n }\n\n _this.setState({\n showPortal: false\n });\n\n if (_this.props.blockScroll) {\n Modal.unblockScroll();\n }\n });\n\n _this.container = isBrowser && document.createElement('div');\n _this.state = {\n showPortal: _this.props.open\n };\n return _this;\n }\n\n _createClass(Modal, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n // Block scroll when initial prop is open\n if (this.props.open) {\n this.handleOpen();\n }\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps, prevState) {\n if (prevState.showPortal && !this.state.showPortal) {\n this.handleClose();\n } else if (!prevProps.open && this.props.open) {\n this.handleOpen();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this.state.showPortal) {\n this.handleClose();\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n open = _this$props.open,\n center = _this$props.center,\n classes = _this$props.classes,\n classNames = _this$props.classNames,\n styles = _this$props.styles,\n showCloseIcon = _this$props.showCloseIcon,\n closeIconSize = _this$props.closeIconSize,\n closeIconSvgPath = _this$props.closeIconSvgPath,\n animationDuration = _this$props.animationDuration,\n focusTrapped = _this$props.focusTrapped,\n focusTrapOptions = _this$props.focusTrapOptions,\n overlayId = _this$props.overlayId,\n modalId = _this$props.modalId,\n closeIconId = _this$props.closeIconId,\n role = _this$props.role,\n ariaLabelledby = _this$props.ariaLabelledby,\n ariaDescribedby = _this$props.ariaDescribedby;\n var showPortal = this.state.showPortal;\n\n if (!showPortal) {\n return null;\n }\n\n var content = React.createElement(React.Fragment, null, this.props.children, showCloseIcon && React.createElement(CloseIcon, {\n classes: classes,\n classNames: classNames,\n styles: styles,\n closeIconSize: closeIconSize,\n closeIconSvgPath: closeIconSvgPath,\n onClickCloseIcon: this.handleClickCloseIcon,\n id: closeIconId\n }));\n return ReactDom.createPortal(React.createElement(CSSTransition, {\n \"in\": open,\n appear: true,\n classNames: {\n appear: classNames.transitionEnter || classes.transitionEnter,\n appearActive: classNames.transitionEnterActive || classes.transitionEnterActive,\n enter: classNames.transitionEnter || classes.transitionEnter,\n enterActive: classNames.transitionEnterActive || classes.transitionEnterActive,\n exit: classNames.transitionExit || classes.transitionExit,\n exitActive: classNames.transitionExitActive || classes.transitionExitActive\n },\n timeout: animationDuration,\n onEntered: this.handleEntered,\n onExited: this.handleExited\n }, React.createElement(\"div\", {\n className: cx(classes.overlay, classNames.overlay),\n onClick: this.handleClickOverlay,\n style: styles.overlay,\n id: overlayId\n }, React.createElement(\"div\", {\n className: cx(classes.modal, center && classes.modalCenter, classNames.modal),\n style: styles.modal,\n onMouseDown: this.handleModalEvent,\n onMouseUp: this.handleModalEvent,\n onClick: this.handleModalEvent,\n id: modalId,\n role: role,\n \"aria-modal\": \"true\",\n \"aria-labelledby\": ariaLabelledby,\n \"aria-describedby\": ariaDescribedby\n }, focusTrapped ? React.createElement(FocusTrap, {\n focusTrapOptions: _objectSpread({}, {\n clickOutsideDeactivates: true\n }, focusTrapOptions)\n }, content) : content))), this.props.container || this.container);\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps, prevState) {\n if (!prevState.showPortal && nextProps.open) {\n return {\n showPortal: true\n };\n }\n\n return null;\n }\n }]);\n\n return Modal;\n}(Component);\n\n_defineProperty(Modal, \"unblockScroll\", function () {\n // Restore the scroll only if there is no modal on the screen\n if (modalManager.modals().length === 0) {\n noScroll.off();\n }\n});\n\nModal.defaultProps = {\n classes: cssClasses,\n closeOnEsc: true,\n closeOnOverlayClick: true,\n onEntered: undefined,\n onExited: undefined,\n onEscKeyDown: undefined,\n onOverlayClick: undefined,\n showCloseIcon: true,\n closeIconSize: 28,\n closeIconSvgPath: React.createElement(\"path\", {\n d: \"M28.5 9.62L26.38 7.5 18 15.88 9.62 7.5 7.5 9.62 15.88 18 7.5 26.38l2.12 2.12L18 20.12l8.38 8.38 2.12-2.12L20.12 18z\"\n }),\n classNames: {},\n styles: {},\n children: null,\n center: false,\n animationDuration: 500,\n blockScroll: true,\n focusTrapped: true,\n focusTrapOptions: {},\n overlayId: undefined,\n modalId: undefined,\n closeIconId: undefined,\n role: 'dialog',\n ariaLabelledby: undefined,\n ariaDescribedby: undefined\n};\nexport default Modal;","import React from 'react';\nimport ReactResponsiveModal from 'react-responsive-modal';\n\nclass Modal extends React.Component {\n render() {\n const { isOpen, onClose, children } = this.props;\n return (\n <ReactResponsiveModal\n open={isOpen}\n onClose={onClose}\n center={true}\n modalId=\"app-modal__content\"\n overlayId=\"app-modal__overlay\"\n closeIconId=\"app-modal__close\"\n >\n {children}\n </ReactResponsiveModal>\n );\n }\n}\n\nexport default Modal;","import React from 'react';\n\nclass Balance extends React.Component {\n state = {\n zeroBalanceShowed: false\n };\n\n componentDidMount() {\n this.refresh();\n this.intervalID = setInterval(this.refresh, 120000);\n }\n\n componentWillUnmount() {\n clearInterval(this.intervalID);\n }\n\n refresh = () => {\n this.props.loadAccount();\n };\n\n isZeroBalance = () => {\n const { account } = this.props;\n if (account) {\n return account.balance <= 0;\n }\n\n return false;\n };\n\n renderZeroBalance = () => {\n return (\n <div className=\"profile-widget-balance__zero-balance\" onClick={() => this.setState({ zeroBalanceShowed: true })}>\n ЗакончилиÑÑŒ деньги на баланÑе.\n <br />\n При нулевом баланÑе Ð½ÐµÐ»ÑŒÐ·Ñ Ñовершать и принимать звонки.\n </div>\n );\n };\n\n render() {\n const { account } = this.props;\n const { zeroBalanceShowed } = this.state;\n return (\n <span className=\"profile-widget-balance\">\n <span>БаланÑ: {account ? account.balance : '-'} руб.</span>\n {!zeroBalanceShowed && this.isZeroBalance() && this.renderZeroBalance()}\n </span>\n );\n }\n}\n\nexport default Balance;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport RechargeContainer from 'containers/RechargeContainer';\nimport Modal from 'components/Modal';\nimport Balance from './Balance';\n\nclass ProfileWidget extends React.Component {\n state = {\n showMenu: false,\n isOpenModal: false\n };\n\n wrapperRef = React.createRef();\n\n componentDidMount() {\n document.addEventListener('click', this.handleClickOutside);\n }\n\n componentWillUnmount() {\n document.removeEventListener('click', this.handleClickOutside);\n }\n\n toggleShow = () => {\n this.setState({ showMenu: !this.state.showMenu });\n };\n\n handleClickOutside = (event) => {\n if (!this.wrapperRef.current.contains(event.target)) {\n this.setState({ showMenu: false });\n }\n }\n\n openModal = () => {\n this.setState({ isOpenModal: true });\n };\n\n closeModal = () => {\n this.setState({ isOpenModal: false });\n };\n\n renderMenu = () => {\n const { logout } = this.props;\n return (\n <div className=\"profile-widget__menu\">\n <div className=\"profile-widget__menu-item\" onClick={this.openModal}>\n Пополнить баланÑ\n </div>\n\n <div className=\"profile-widget__menu-item\">\n <Link to=\"/app/profile\">Профиль</Link>\n </div>\n\n <div className=\"profile-widget__menu-item\" onClick={logout}>\n Выйти\n </div>\n </div>\n );\n };\n\n renderModal = () => {\n const { isOpenModal } = this.state;\n return (\n <Modal\n isOpen={isOpenModal}\n onClose={this.closeModal}\n >\n <RechargeContainer\n close={this.closeModal}\n />\n </Modal>\n );\n };\n\n render() {\n const { account, loadAccount } = this.props;\n const { showMenu } = this.state;\n return (\n <div className=\"profile-widget\" ref={this.wrapperRef}>\n <div className=\"profile-widget__toggler\" onClick={this.toggleShow}>\n <Balance\n account={account}\n loadAccount={loadAccount}\n />\n\n <div className={showMenu ? 'profile-widget__toggler-icon profile-widget__toggler-icon--opened' : 'profile-widget__toggler-icon'} />\n </div>\n\n {showMenu && this.renderMenu()}\n\n {this.renderModal()}\n </div>\n );\n }\n}\n\nexport default ProfileWidget;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n logout\n} from 'store/auth';\nimport {\n getAccount,\n loadAccount\n} from 'store/account';\nimport ProfileWidget from 'components/profile_widget/ProfileWidget';\n\nclass ProfileWidgetContainer extends Component {\n render() {\n const { account, loadAccount, logout } = this.props;\n return (\n <ProfileWidget\n account={account}\n loadAccount={loadAccount}\n logout={logout}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n account: getAccount(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadAccount: () => dispatch(loadAccount()),\n logout: () => dispatch(logout())\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ProfileWidgetContainer);\n","import React from 'react';\nimport { Link, withRouter } from 'react-router-dom';\nimport { disableBodyScroll, clearAllBodyScrollLocks } from 'body-scroll-lock';\nimport ProfileWidgetContainer from 'containers/ProfileWidgetContainer';\nimport FullLogo from 'images/logo.svg';\n\nclass TopMenu extends React.Component {\n state = {\n opened: false\n };\n\n targetRef = React.createRef();\n\n componentDidMount() {\n this.targetElement = this.targetRef.current;\n }\n\n componentDidUpdate(prevProps) {\n if (this.props.location.pathname !== prevProps.location.pathname) {\n clearAllBodyScrollLocks();\n this.setState({ opened: false });\n }\n }\n\n componentWillUnmount() {\n clearAllBodyScrollLocks();\n }\n\n toggle = () => {\n if (this.state.opened) {\n clearAllBodyScrollLocks();\n } else {\n disableBodyScroll(this.targetElement);\n }\n this.setState({ opened: !this.state.opened });\n };\n\n mobileLinks = () => {\n const { features } = this.props;\n const result = [];\n\n if (features.supervisor) {\n result.push(<Link to=\"/app/call_lists\">Обзвоны</Link>);\n result.push(<Link to=\"/app/scenarios\">Сценарии</Link>);\n result.push(<Link to=\"/app/phone_numbers\">Ðомера</Link>);\n result.push(<Link to=\"/app/calls\">Звонки</Link>);\n }\n\n if (features.operators) {\n result.push(<Link to=\"/app/operators\">Операторы</Link>);\n result.push(<Link to=\"/app/acd_queues\">Очереди</Link>);\n }\n\n if (features.operator) {\n result.push(<Link to=\"/app/operator\">Рабочее меÑто оператора</Link>);\n }\n\n if (features.supervisor) {\n result.push(<Link to=\"/app/profile\">Профиль</Link>);\n }\n\n result.push(<a href=\"/l/help\">Справка</a>);\n\n return result;\n };\n\n desktopLinks = () => {\n const { features } = this.props;\n const result = [];\n\n if (features.supervisor) {\n result.push(<Link to=\"/app/call_lists\">Обзвоны</Link>);\n result.push(<Link to=\"/app/scenarios\">Сценарии</Link>);\n result.push(<Link to=\"/app/phone_numbers\">Ðомера</Link>);\n result.push(<Link to=\"/app/calls\">Звонки</Link>);\n }\n\n if (features.operators) {\n result.push(<Link to=\"/app/operators\">Операторы</Link>);\n result.push(<Link to=\"/app/acd_queues\">Очереди</Link>);\n }\n\n if (features.operator) {\n result.push(<Link to=\"/app/operator\">Рабочее меÑто оператора</Link>);\n }\n\n result.push(<a href=\"/l/help\">Справка</a>);\n\n return result;\n };\n\n render() {\n const { opened } = this.state;\n return (\n <div className={'top-menu ' + (opened ? 'opened' : '')}>\n <div className=\"top-menu__bar\">\n <div className=\"top-menu__burger\" onClick={this.toggle}></div>\n\n <div className=\"top-menu__logo\">\n <a href=\"/\">\n <img src={FullLogo} alt=\"\"/>\n </a>\n </div>\n\n <div className=\"top-menu__links\">\n {this.desktopLinks().map((link, index) => (\n <div key={index} className=\"top-menu__menu-item\">\n {link}\n </div>\n ))}\n </div>\n\n <div className=\"top-menu__right\">\n <ProfileWidgetContainer />\n </div>\n </div>\n\n <div className=\"top-menu__overlay\" onClick={this.toggle}></div>\n <aside className=\"top-menu__side\" ref={this.targetRef}>\n {this.mobileLinks().map((link, index) => (\n <div key={index} className=\"top-menu__side-item\">\n {link}\n </div>\n ))}\n </aside>\n </div>\n );\n }\n}\n\nexport default withRouter(TopMenu);\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport TopMenu from 'components/top_menu/TopMenu';\nimport {\n getFeatures\n} from 'store/features';\n\nclass TopMenuContainer extends Component {\n render() {\n const { features } = this.props;\n return (\n <TopMenu\n features={features}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n features: getFeatures(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(TopMenuContainer);\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport ActionButton from 'components/ActionButton';\n\nclass Login extends React.Component {\n state = {\n email: '',\n password: ''\n };\n\n onChangeEmail = (event) => {\n this.setState({ email: event.target.value });\n };\n\n onChangePassword = (event) => {\n this.setState({ password: event.target.value });\n };\n\n onSubmit = (event) => {\n event.preventDefault();\n window.analytics.track('app_login_submit');\n\n const { email, password } = this.state;\n this.props.authenticate(email, password)\n };\n\n renderError = () => {\n const { error } = this.props;\n return (\n <>\n {error &&\n <div className=\"login__error\">\n {error}\n </div>\n }\n </>\n );\n };\n\n renderForm = () => {\n const { isLoginProcess } = this.props;\n const { email, password } = this.state;\n return (\n <form action=\"#\" onSubmit={this.onSubmit}>\n <div className=\"login__field\">\n <label>\n Email\n <input type=\"email\" value={email} onChange={this.onChangeEmail} required={true} />\n </label>\n </div>\n\n <div className=\"login__field\">\n <label>\n Пароль\n <input type=\"password\" value={password} onChange={this.onChangePassword} required={true} />\n </label>\n </div>\n\n <ActionButton\n action={() => {}}\n loading={isLoginProcess}\n >\n Войти\n </ActionButton>\n </form>\n );\n };\n\n render() {\n return (\n <div className=\"login__wrap\">\n <div className=\"login\">\n <h1>Вход на Ñайт</h1>\n {this.renderError()}\n {this.renderForm()}\n </div>\n\n <div className=\"login__links\">\n <a href=\"/\">Ðа главную</a>\n | \n <Link to=\"/app/registration\">РегиÑтрациÑ</Link>\n | \n <a href=\"/users/password/new\">ВоÑÑтановление паролÑ</a>\n </div>\n </div>\n );\n }\n}\n\nexport default Login;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getStatus,\n getError,\n isLoginProcess,\n authenticate\n} from 'store/auth';\nimport Login from 'components/login/Login';\n\nclass LoginContainer extends Component {\n render() {\n const { status, error, isLoginProcess, authenticate } = this.props;\n return (\n <Login\n status={status}\n error={error}\n authenticate={authenticate}\n isLoginProcess={isLoginProcess}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n status: getStatus(state),\n error: getError(state),\n isLoginProcess: isLoginProcess(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n authenticate: (email, password) => dispatch(authenticate(email, password))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(LoginContainer);\n","import React from 'react';\nimport ActionButton from 'components/ActionButton';\n\nclass UserUpdater extends React.Component {\n state = {\n password: ''\n };\n\n onClickSave = () => {\n const { updateUser } = this.props;\n const { password } = this.state;\n updateUser({ password });\n };\n\n onChangePassword = (event) => {\n this.setState({ password: event.target.value });\n };\n\n render() {\n const { password } = this.state;\n const { error, loading } = this.props;\n return (\n <div className=\"user-updater\">\n <h2>Изменение паролÑ</h2>\n {error &&\n error\n }\n\n <br />\n <label>\n Ðовый пароль\n <input type=\"password\" value={password} onChange={this.onChangePassword} />\n </label>\n <br />\n <ActionButton\n action={this.onClickSave}\n loading={loading}\n >Сохранить</ActionButton>\n </div>\n )\n }\n}\n\nexport default UserUpdater;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getUser,\n getLoading,\n getError,\n updateUser\n} from 'store/user';\nimport UserUpdater from 'components/user_updater/UserUpdater';\n\nclass UserUpdaterContainer extends Component {\n render() {\n const { user, loading, error, updateUser } = this.props;\n return (\n <UserUpdater\n user={user}\n loading={loading}\n error={error}\n updateUser={updateUser}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n user: getUser(state),\n loading: getLoading(state),\n error: getError(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n updateUser: (user) => dispatch(updateUser(user))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(UserUpdaterContainer);\n","import React from 'react';\nimport Modal from 'components/Modal';\nimport UserUpdaterContainer from 'containers/UserUpdaterContainer';\n\nclass Settings extends React.Component {\n state = {\n isOpenModal: false\n };\n\n openModal = () => {\n this.setState({ isOpenModal: true });\n };\n\n closeModal = () => {\n this.setState({ isOpenModal: false });\n };\n\n renderUser = (user) => {\n return (\n <div className=\"settings__user\">\n Email: {user.email}\n <br />\n Телефон: {user.phone}\n </div>\n );\n };\n\n renderModal = () => {\n const { isOpenModal } = this.state;\n return (\n <Modal\n isOpen={isOpenModal}\n onClose={this.closeModal}\n >\n <UserUpdaterContainer />\n </Modal>\n );\n };\n\n render() {\n const { user, logout } = this.props;\n return (\n <div className=\"settings\">\n <h2>ÐаÑтройки</h2>\n {user && this.renderUser(user)}\n <br />\n\n <div className=\"settings__buttons\">\n <button onClick={this.openModal}>Изменить пароль</button>\n <button onClick={logout}>Выйти</button>\n </div>\n\n {this.renderModal()}\n </div>\n )\n }\n}\n\nexport default Settings;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n logout\n} from 'store/auth';\nimport {\n getUser,\n getLoading,\n getError,\n loadUser,\n} from 'store/user';\nimport Settings from 'components/settings/Settings';\n\nclass SettingsContainer extends Component {\n componentDidMount() {\n this.props.loadUser();\n }\n\n render() {\n const { logout, user, loading, error } = this.props;\n return (\n <Settings\n logout={logout}\n user={user}\n loading={loading}\n error={error}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n user: getUser(state),\n loading: getLoading(state),\n error: getError(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n logout: () => dispatch(logout()),\n loadUser: () => dispatch(loadUser()),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(SettingsContainer);\n","import React from 'react';\nimport Loader from \"react-loader-spinner\";\n\nclass Spinner extends React.Component {\n render() {\n return (\n <div className=\"spinner\">\n <Loader type=\"TailSpin\" color=\"#00b388\" height={40} width={40} />\n </div>\n );\n }\n}\n\nexport default Spinner;\n","import React from 'react';\nimport Flatpickr from 'react-flatpickr';\nimport dayjs from 'dayjs';\nimport { Russian } from 'flatpickr/dist/l10n/ru.js';\n\nclass RangePicker extends React.Component {\n onChange = (range) => {\n if (range.length === 2) {\n this.props.onChange([range[0], dayjs(range[1]).endOf('day').toDate()]);\n }\n };\n\n render() {\n const { range } = this.props;\n return (\n <Flatpickr\n options={{\n mode: \"range\",\n dateFormat: \"d M y\",\n locale: Russian\n }}\n\n value={range}\n onChange={this.onChange}\n />\n );\n }\n}\n\nexport default RangePicker;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport dayjs from 'dayjs';\n\nclass PaymentPreview extends React.Component {\n\n render() {\n const { payment } = this.props;\n return (\n <tr className=\"payment-preview\">\n <td>\n {payment.id}\n </td>\n <td>\n {dayjs(payment.created_at).format('H:mm:ss D MMM YY')}\n </td>\n <td>\n {payment.value}\n </td>\n <td>\n {payment.description}\n </td>\n <td>\n {payment.call_id &&\n <Link to={`/app/calls/${payment.session_id}`}>\n {payment.session_id}\n </Link>\n }\n </td>\n </tr>\n );\n }\n}\n\nexport default PaymentPreview;\n","import React from 'react';\nimport dayjs from 'dayjs';\nimport Spinner from 'components/Spinner';\nimport RangePicker from 'components/RangePicker';\nimport Modal from 'components/Modal';\nimport RechargeContainer from 'containers/RechargeContainer';\nimport PaymentPreview from './PaymentPreview';\n\nclass Payments extends React.Component {\n state = {\n startDate: dayjs().subtract(30, 'day').toDate(),\n endDate: dayjs().toDate(),\n isOpenModal: false\n };\n\n componentDidMount() {\n const { startDate, endDate } = this.state;\n this.props.loadPayments(startDate, endDate);\n }\n\n openModal = () => {\n this.setState({ isOpenModal: true });\n };\n\n closeModal = () => {\n this.setState({ isOpenModal: false });\n };\n\n onChangeRange = (range) => {\n const [startDate, endDate] = range;\n this.setState({ startDate, endDate });\n this.props.loadPayments(startDate, endDate)\n };\n\n renderActions = () => {\n const { startDate, endDate } = this.state;\n return (\n <div className=\"payments__actions\">\n <div className=\"payments__actions-item\">\n <button onClick={this.openModal}>Пополнить</button>\n </div>\n\n <div className=\"payments__actions-item\">\n <RangePicker\n range={[startDate, endDate]}\n onChange={this.onChangeRange}\n />\n </div>\n </div>\n );\n };\n\n renderList = () => {\n const { payments, loading, error } = this.props;\n\n if (loading) return (<Spinner />);\n if (error) return (<div>{error}</div>);\n return this.renderPayments(payments);\n };\n\n renderPayments = (payments) => {\n return (\n <div className=\"payments__list\">\n <table>\n <tbody>\n <tr>\n <th>Id</th>\n <th>Когда</th>\n <th>Сумма</th>\n <th>ОпиÑание</th>\n <th>Звонок</th>\n </tr>\n {payments.map(payment => (\n <PaymentPreview\n key={payment.id}\n payment={payment}\n />\n ))}\n </tbody>\n </table>\n </div>\n );\n };\n\n renderModal = () => {\n const { isOpenModal } = this.state;\n return (\n <Modal\n isOpen={isOpenModal}\n onClose={this.closeModal}\n >\n <RechargeContainer\n close={this.closeModal}\n />\n </Modal>\n );\n };\n\n render() {\n return (\n <div className=\"payments\">\n <h2>Платежи</h2>\n <div className=\"payments__wrap\">\n {this.renderActions()}\n {this.renderList()}\n </div>\n\n {this.renderModal()}\n </div>\n )\n }\n}\n\nexport default Payments;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getPayments,\n getLoading,\n getError,\n loadPayments,\n} from 'store/payments';\nimport Payments from 'components/payments/Payments';\n\nclass PaymentsContainer extends Component {\n render() {\n const { payments, loading, error, loadPayments } = this.props;\n return (\n <Payments\n payments={payments}\n loading={loading}\n error={error}\n loadPayments={loadPayments}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n payments: getPayments(state),\n loading: getLoading(state),\n error: getError(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadPayments: (from, to) => dispatch(loadPayments(from, to)),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(PaymentsContainer);\n","import React from 'react';\nimport SettingsContainer from 'containers/SettingsContainer';\nimport PaymentsContainer from 'containers/PaymentsContainer';\n\nclass Profile extends React.Component {\n\n render() {\n return (\n <div className=\"profile\">\n <h1>Профиль</h1>\n <div className=\"profile__wrap\">\n <SettingsContainer/>\n <PaymentsContainer/>\n </div>\n </div>\n )\n }\n}\n\nexport default Profile;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport Profile from 'components/profile/Profile';\n\nclass ProfileContainer extends Component {\n render() {\n return (\n <Profile\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n});\n\nconst mapDispatchToProps = dispatch => ({\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ProfileContainer);\n","import React from 'react';\n\nclass Tip extends React.Component {\n state = {\n opened: false\n };\n\n renderBalloon = () => {\n const { opened } = this.state;\n const classes = 'tip__balloon' + (opened ? ` tip__balloon--opened` : '');\n return (\n <div className={classes}>\n {this.props.children}\n </div>\n );\n };\n\n render() {\n return (\n <span className=\"tip\" onMouseLeave={() => this.setState({ opened: false })} {...this.props}>\n <span className=\"tip__sign\" onMouseEnter={() => this.setState({ opened: true })}>?</span>\n {this.renderBalloon()}\n </span>\n );\n }\n}\n\nexport default Tip;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\n\nclass ScenarioPreview extends React.Component {\n\n onClickDuplicate = () => {\n const { scenario, duplicateScenario } = this.props;\n duplicateScenario(scenario.id);\n };\n\n onClickDelete = () => {\n const { scenario, deleteScenario } = this.props;\n const answer = confirm('Ð’Ñ‹ уверены?');\n if (answer) {\n deleteScenario(scenario.id);\n }\n };\n\n render() {\n const { scenario } = this.props;\n return (\n <tr className=\"scenario-preview\">\n <td>\n <Link to={`/app/scenarios/${scenario.id}`} className=\"scenario-preview__title\">\n {scenario.name}\n </Link>\n </td>\n\n <td style={{width: '1px'}}>\n {scenario.scenario_type === 'outcoming' && 'ИÑходÑщий'}\n\n {scenario.scenario_type === 'incoming' &&\n <>\n ВходÑщий\n <br />\n <span style={{ fontSize: '14px' }}>sip:{scenario.uid}@testcall.lenarakhmadeev.voximplant.com</span>\n </>\n }\n </td>\n\n <td style={{width: '1px'}}>\n <div className=\"scenario-preview__controls\">\n <button className=\"button--secondary\" onClick={this.onClickDelete}>Удалить</button>\n <button className=\"button--secondary\" onClick={this.onClickDuplicate}>Дублировать</button>\n </div>\n </td>\n </tr>\n );\n }\n}\n\nexport default ScenarioPreview;\n","import React from 'react';\n\nclass Templates extends React.Component {\n createScenario = (template) => {\n const request = this.props.createScenario({\n name: template.name,\n scenario_type: template.scenario_type,\n serialized_model: template.serialized_model\n });\n\n request.then(response => {\n this.props.history.push(`/app/scenarios/${response.id}`);\n });\n };\n\n renderTemplates = () => {\n const { templates, features } = this.props;\n var preparedTemplates;\n\n if (features.klientiks_crm) {\n preparedTemplates = templates;\n } else {\n preparedTemplates = templates.filter(t => t.tag !== 'klientiks_crm');\n }\n\n return preparedTemplates.map(this.renderTemplate);\n };\n\n renderTemplate = (template) => {\n return (\n <div key={template.id} className=\"scenarios-templates__template\" onClick={() => this.createScenario(template)}>\n <h3>{template.name}</h3>\n <p>{template.description}</p>\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenarios-templates\">\n {this.renderTemplates()}\n </div>\n );\n }\n}\n\nexport default Templates;\n","import React from 'react';\nimport Spinner from 'components/Spinner';\nimport Modal from 'components/Modal';\nimport Tip from 'components/Tip';\nimport ScenarioPreview from './ScenarioPreview';\nimport Templates from './Templates';\n\nclass Scenarios extends React.Component {\n state = {\n isOpenModal: false\n };\n\n openModal = () => {\n this.setState({ isOpenModal: true });\n };\n\n closeModal = () => {\n this.setState({ isOpenModal: false });\n };\n\n onClickNew = () => {\n this.openModal();\n };\n\n renderActions = () => {\n return (\n <div className=\"scenarios__actions\">\n <button onClick={this.onClickNew}>Ðовый Ñценарий</button>\n\n <div className=\"scenarios__actions-tip\">\n <Tip>\n ЗдеÑÑŒ вы можете Ñоздать Ñценарии Ð´Ð»Ñ Ð·Ð²Ð¾Ð½ÐºÐ¾Ð².\n <br />\n <br />\n При Ñоздании вы можете выбрать один из готовых шаблонов Ñценариев и модифицировать его под Ñвои требованиÑ.\n <br />\n <br />\n Сценарии могут быть Ð´Ð»Ñ Ð²Ñ…Ð¾Ð´Ñщих и иÑходÑщих звонков.<br />\n Сценарии Ð´Ð»Ñ Ð¸ÑходÑщих запуÑкаютÑÑ Ñ‡ÐµÑ€ÐµÐ· Ñоздание Обзвона.<br />\n Сценарии Ð´Ð»Ñ Ð²Ñ…Ð¾Ð´Ñщих выполнÑÑŽÑ‚ÑÑ Ð¿Ñ€Ð¸ переадреÑации на SIP-номер ÑÑ†ÐµÐ½Ð°Ñ€Ð¸Ñ Ð¸Ð· вашей ÐТС.\n </Tip>\n </div>\n </div>\n );\n };\n\n renderModal = () => {\n const { isOpenModal } = this.state;\n const { history, createScenario, templates, features } = this.props\n return (\n <Modal\n isOpen={isOpenModal}\n onClose={this.closeModal}\n >\n <Templates\n templates={templates}\n features={features}\n history={history}\n createScenario={createScenario}\n />\n </Modal>\n );\n };\n\n renderList = () => {\n const { scenarios, loading, error } = this.props;\n\n if (loading) return (<Spinner />);\n if (error) return (<div>{error}</div>);\n\n if (scenarios.length) {\n return this.renderScenarios(scenarios);\n } else {\n return this.renderEmptyScenarios();\n }\n };\n\n renderEmptyScenarios = () => {\n return (\n <div className=\"scenarios__empty\">\n У Ð²Ð°Ñ Ð¿Ð¾ÐºÐ° нет ни одного СценариÑ.\n <br />\n <br />\n При Ñоздании Ð¡Ñ†ÐµÐ½Ð°Ñ€Ð¸Ñ Ð¼Ð¾Ð¶Ð½Ð¾ будет выбрать один из шаблонов\n <br />\n и адаптировать его под вашу задачу или Ñоздать Сценарий Ñ Ð½ÑƒÐ»Ñ.\n </div>\n );\n };\n\n renderScenarios = (scenarios) => {\n const { deleteScenario, duplicateScenario } = this.props;\n return (\n <div className=\"scenarios__list\">\n <table>\n <tbody>\n <tr>\n <th>ИмÑ</th>\n <th>Тип</th>\n <th></th>\n </tr>\n {scenarios.map(scenario => (\n <ScenarioPreview\n key={scenario.id}\n scenario={scenario}\n deleteScenario={deleteScenario}\n duplicateScenario={duplicateScenario}\n />\n ))}\n </tbody>\n </table>\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenarios\">\n <h1>Сценарии</h1>\n <div className=\"scenarios__wrap\">\n {this.renderActions()}\n {this.renderList()}\n </div>\n\n {this.renderModal()}\n </div>\n )\n }\n}\n\nexport default Scenarios;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getScenarios,\n getLoading,\n getError,\n loadScenarios,\n createScenario,\n deleteScenario,\n duplicateScenario\n} from 'store/scenarios';\nimport {\n getTemplates\n} from 'store/templates';\nimport {\n getFeatures\n} from 'store/features';\nimport Scenarios from 'components/scenarios/Scenarios';\n\nclass ScenariosContainer extends Component {\n componentDidMount() {\n this.props.loadScenarios();\n }\n\n render() {\n const {\n history, scenarios, loading, error,\n templates, features,\n createScenario, deleteScenario, duplicateScenario\n } = this.props;\n return (\n <Scenarios\n history={history}\n scenarios={scenarios}\n loading={loading}\n error={error}\n templates={templates}\n features={features}\n createScenario={createScenario}\n deleteScenario={deleteScenario}\n duplicateScenario={duplicateScenario}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n scenarios: getScenarios(state),\n loading: getLoading(state),\n error: getError(state),\n templates: getTemplates(state),\n features: getFeatures(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadScenarios: () => dispatch(loadScenarios()),\n createScenario: (scenario) => dispatch(createScenario(scenario)),\n deleteScenario: (id) => dispatch(deleteScenario(id)),\n duplicateScenario: (id) => dispatch(duplicateScenario(id))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ScenariosContainer);\n","import React from 'react';\nimport { Link } from 'react-router-dom';\n\nclass Button extends React.Component {\n render() {\n const { to, children, className } = this.props;\n return (\n <Link to={to}>\n <button className={className}>{children}</button>\n </Link>\n );\n }\n}\n\nexport default Button;\n","import React from 'react';\n\nclass Paginator extends React.Component {\n renderPage = (page) => {\n const isCurrent = page === this.props.page;\n const { onChange } = this.props;\n return (\n <>\n {isCurrent &&\n <div className=\"paginator__page paginator__page--current\">\n {page}\n </div>\n }\n\n {!isCurrent &&\n <div className=\"paginator__page\" onClick={() => onChange(page)}>\n {page}\n </div>\n }\n </>\n );\n };\n\n renderSpace = () => {\n return (<div className=\"paginator__space\">...</div>);\n };\n\n renderLeft = () => {\n const { page } = this.props;\n\n // *1* -\n if (page < 2) {\n return null;\n }\n\n // 1 *2* -\n if (page < 3) {\n return (\n <>\n {this.renderPage(1)}\n </>\n )\n }\n\n // 1 2 *3* -\n if (page < 4) {\n return (\n <>\n {this.renderPage(1)}\n {this.renderPage(2)}\n </>\n )\n }\n\n // 1 .. 12 *13* -\n return (\n <>\n {this.renderPage(1)}\n {this.renderSpace()}\n {this.renderPage(page - 1)}\n </>\n );\n };\n\n renderRight = () => {\n const { page, maxPages } = this.props;\n\n // - *13*\n if (maxPages - page < 1) {\n return null;\n }\n\n // - *12* 13\n if (maxPages - page < 2) {\n return this.renderPage(maxPages);\n }\n\n // - *12* 13 14\n if (maxPages - page < 3) {\n return (\n <>\n {this.renderPage(maxPages - 1)}\n {this.renderPage(maxPages)}\n </>\n )\n }\n\n return (\n <>\n {this.renderPage(page + 1)}\n {this.renderSpace()}\n {this.renderPage(maxPages)}\n </>\n );\n };\n\n render() {\n const { page } = this.props;\n return (\n <div className=\"paginator\">\n Страницы: \n {this.renderLeft()}\n {this.renderPage(page)}\n {this.renderRight()}\n </div>\n );\n }\n}\n\nexport default Paginator;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport Tip from 'components/Tip';\n\nclass CallListPreview extends React.Component {\n\n onClickDelete = () => {\n const { callList, deleteCallList } = this.props;\n const answer = confirm('Ð’Ñ‹ уверены?');\n if (answer) {\n deleteCallList(callList.id);\n }\n };\n\n renderDetail = () => {\n const { callList } = this.props;\n const detail = callList.detail;\n return (\n <div>\n <span style={{color: '#0d78ff'}}>\n {detail.recent || 0}\n </span>\n {\" | \"}\n <span style={{color: '#ff4fe0'}}>\n {detail.in_progress || 0}\n </span>\n {\" | \"}\n <span style={{color: '#00ce2e'}}>\n {detail.processed || 0}\n </span>\n {\" | \"}\n <span style={{color: '#ffd416'}}>\n {detail.pending || 0}\n </span>\n {\" | \"}\n <span style={{color: '#a33122'}}>\n {detail.canceled || 0}\n </span>\n {\" \"}\n <Tip>\n Ðовый: {detail.recent || 0}\n <br/>\n Идет звонок: {detail.in_progress || 0}\n <br/>\n Обработан: {detail.processed || 0}\n <br/>\n Ожидает повтора: {detail.pending || 0}\n <br/>\n Отменен: {detail.canceled || 0}\n </Tip>\n </div>\n );\n };\n\n render() {\n const { callList } = this.props;\n return (\n <tr className=\"call-list-preview\">\n <td>\n <Link to={`/app/call_lists/${callList.id}`} className=\"call-list-preview__title\">\n {callList.name}\n </Link>\n </td>\n\n <td>\n {callList.status_human}\n </td>\n\n <td>\n {this.renderDetail()}\n </td>\n\n <td style={{width: '1px'}}>\n <div className=\"scenario-preview__controls\">\n <button className=\"button--secondary\" onClick={this.onClickDelete}>Удалить</button>\n </div>\n </td>\n </tr>\n );\n }\n}\n\nexport default CallListPreview;\n","import React from 'react';\nimport Spinner from 'components/Spinner';\nimport Tip from 'components/Tip';\nimport Paginator from 'components/Paginator';\nimport CallListPreview from './CallListPreview';\n\nclass List extends React.Component {\n\n renderList = () => {\n const { callLists, loading, error } = this.props;\n\n if (loading) return (<Spinner />);\n if (error) return (<div>{error}</div>);\n\n if (callLists.length) {\n return this.renderCallLists(callLists);\n } else {\n return this.renderEmptyCallList();\n }\n };\n\n renderEmptyCallList = () => {\n return (\n <div className=\"call-lists__empty\">\n У Ð²Ð°Ñ Ð¿Ð¾ÐºÐ° нет ни одного Обзвона.\n <br />\n <br />\n Перед Ñозданием обзвона:\n <br />\n 1. Подтвердите номер\n <br />\n 2. Создайте Сценарий обзвона\n <br />\n 3. Пополните Ð±Ð°Ð»Ð°Ð½Ñ Ð½Ð° доÑтаточную Ñумму\n </div>\n );\n };\n\n renderHeader = () => {\n return (\n <tr>\n <th>ИмÑ</th>\n <th>\n СтатуÑ\n <Tip>\n <strong>Ðовый</strong> - обзвон ещё не запуÑкалÑÑ.\n <br />\n <br />\n <strong>Запущен</strong> - в текущий момент обзвон идет. Даже еÑли вÑе Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð²Ñ‹Ð¿Ð¾Ð»Ð½ÐµÐ½Ñ‹, обзвон ждет добавлÑÐ½Ð¸Ñ Ð½Ð¾Ð²Ñ‹Ñ… заданий.\n <br />\n <br />\n <strong>ОÑтановлен</strong> - в текущий момент обзвон не идет.\n </Tip>\n </th>\n <th>СоÑтоÑние заданий</th>\n <th></th>\n </tr>\n );\n };\n\n renderCallLists = (callLists) => {\n const { deleteCallList } = this.props;\n return (\n <table>\n <tbody>\n {this.renderHeader()}\n {callLists.map(callList => (\n <CallListPreview\n key={callList.id}\n callList={callList}\n deleteCallList={deleteCallList}\n />\n ))}\n </tbody>\n </table>\n );\n };\n\n renderPaginator = () => {\n const { page, totalCalls, maxPages, onChangePage } = this.props;\n return (\n <div className=\"calls-list__paginator\">\n <Paginator\n page={page}\n maxPages={maxPages}\n total={totalCalls}\n onChange={onChangePage}\n />\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"call-lists__list\">\n {this.renderList()}\n {this.renderPaginator()}\n </div>\n );\n }\n}\n\nexport default List;\n","import React from 'react';\nimport Button from 'components/Button';\nimport Tip from 'components/Tip';\nimport List from './List';\n\nclass CallLists extends React.Component {\n componentDidMount() {\n this.loadCallLists();\n }\n\n loadCallLists = (option) => {\n const { page } = this.props;\n const options = {\n page, ...option\n };\n this.props.loadCallLists(options);\n };\n\n onChangePage = (page) => {\n this.loadCallLists({ page });\n };\n\n renderList = () => {\n const { callLists, page, totalCallLists, maxPages, loading, error, deleteCallList } = this.props;\n return (\n <List\n callLists={callLists}\n page={page}\n totalCallLists={totalCallLists}\n maxPages={maxPages}\n loading={loading}\n error={error}\n onChangePage={this.onChangePage}\n deleteCallList={deleteCallList}\n />\n );\n };\n\n renderActions = () => {\n return (\n <div className=\"call-lists__actions\">\n <Button to={'/app/call_lists/new'}>Ðовый обзвон</Button>\n <div className=\"call-lists__actions-tip\">\n <Tip>\n ЗдеÑÑŒ вы можете Ñоздавать и управлÑÑ‚ÑŒ иÑходÑщими обзовнами.\n <br/>\n <br/>\n Перед Ñозданием Обзвона вам необходимо иметь Ñценарий иÑходÑщего звонка и подтвержденный номер телефона.\n Создать Ñценарий можно на Ñтранице \"Сценарии\", а подтвердить номер на Ñтранице \"Ðомера\".\n <br/>\n <br/>\n При Ñоздании обзвона вы Ñможете загрузить таблицу (xls/xlsx/csv) Ñ Ð½Ð¾Ð¼ÐµÑ€Ð°Ð¼Ð¸ и другими полÑми, необходимыми Ð´Ð»Ñ ÑценариÑ.\n Шаблон таблицы можно Ñкачать при Ñоздании обзвона.\n </Tip>\n </div>\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"call-lists\">\n <h1>Обзвоны</h1>\n <div className=\"call-lists__wrap\">\n {this.renderActions()}\n {this.renderList()}\n </div>\n </div>\n );\n }\n}\n\nexport default CallLists;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getCallLists,\n getLoading,\n getError,\n getPage,\n getTotalCallLists,\n getMaxPages,\n loadCallLists,\n deleteCallList\n} from 'store/call_lists';\nimport CallLists from 'components/call_lists/CallLists'\n\nclass CallListsContainer extends Component {\n render() {\n const { callLists, page, totalCallLists, maxPages, loading, error, deleteCallList, loadCallLists } = this.props;\n return (\n <CallLists\n callLists={callLists}\n page={page}\n totalCallLists={totalCallLists}\n maxPages={maxPages}\n loading={loading}\n error={error}\n deleteCallList={deleteCallList}\n loadCallLists={loadCallLists}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n callLists: getCallLists(state),\n loading: getLoading(state),\n error: getError(state),\n page: getPage(state),\n totalCalls: getTotalCallLists(state),\n maxPages: getMaxPages(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadCallLists: (options) => dispatch(loadCallLists(options)),\n deleteCallList: (id) => dispatch(deleteCallList(id))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(CallListsContainer);\n","import React from 'react';\n\nclass NameInput extends React.Component {\n targetRef = React.createRef();\n\n componentDidMount() {\n this.targetElement = this.targetRef.current;\n }\n\n onChangeName = () => {\n const value = this.filterTags(this.targetElement.innerHTML);\n this.props.onChange(value);\n }\n\n filterTags = (str) => {\n const tagsRe = /<[^>]*>/g;\n return str.replace(tagsRe, '');\n };\n\n render() {\n const { name } = this.props;\n return (\n <div\n className=\"scenario-controls__name\"\n contentEditable={true}\n onBlur={this.onChangeName}\n ref={this.targetRef}\n dangerouslySetInnerHTML={{ __html: name }}\n />\n );\n }\n}\n\nexport default NameInput;\n","import React from 'react';\n\nclass TestingIncoming extends React.Component {\n render() {\n const { scenario } = this.props;\n return (\n <div className=\"scenario-testing\">\n Позвоните на номер +74999387480 и добавочный {scenario.uid}\n </div>\n );\n }\n}\n\nexport default TestingIncoming;\n","import React from 'react';\n\nclass KeyValue extends React.Component {\n addRow = () => {\n const { rows, onChange } = this.props;\n const id = rows[rows.length - 1].id + 1;\n onChange([...rows, { id: id, name: '', value: '' }]);\n };\n\n onClickRemove = (row) => {\n const { rows, onChange } = this.props;\n const newRows = _.filter(rows, r => r.id !== row.id);\n onChange(newRows);\n };\n\n onChangeRow = (row) => {\n const { rows, onChange } = this.props;\n const newRows = [...rows];\n const newRow = newRows.find(r => r.id === row.id);\n newRow.name = row.name;\n newRow.value = row.value;\n onChange(newRows)\n };\n\n renderRows = (rows) => {\n return rows.map(row =>\n <div className=\"scenario-key-value__row\" key={row.id}>\n <div className=\"scenario-key-value__row-name\">\n <input\n type=\"text\"\n placeholder=\"ИмÑ\"\n value={row.name}\n onChange={(event) => this.onChangeRow({ ...row, name: event.target.value })}\n />\n </div>\n <div className=\"scenario-key-value__row-value\">\n <input\n type=\"text\"\n placeholder=\"Значение\"\n value={row.value}\n onChange={(event) => this.onChangeRow({ ...row, value: event.target.value })}\n />\n </div>\n\n <div onClick={() => this.onClickRemove(row)} className=\"scenario-key-value__row-close\">✕</div>\n </div>\n );\n };\n\n render () {\n const { rows } = this.props;\n return (\n <div className=\"scenario-key-value\">\n {this.renderRows(rows)}\n <button onClick={this.addRow}>+</button>\n </div>\n );\n };\n}\n\nexport default KeyValue;\n","import React from 'react';\nimport KeyValue from 'components/KeyValue';\nimport { testingCallScenario } from 'api/speechrobot';\nimport { connect } from \"react-redux\";\nimport {\n getToken\n} from 'store/auth';\n\nclass TestingOutcoming extends React.Component {\n state = {\n data: [\n { id: 1, name: 'phone_number', value: '' }\n ]\n };\n\n onClickTest = (e) => {\n const { scenario, token } = this.props;\n const data = this.prepareData();\n testingCallScenario(token, scenario.id, data)\n };\n\n onChangeData = (value) => {\n this.setState({ data: value });\n };\n\n prepareData = () => {\n return this.state.data.reduce((acc, item) => {\n if (item.name) {\n acc[item.name] = item.value;\n }\n return acc;\n }, {});\n };\n\n renderKeyValue = () => {\n const { data } = this.state;\n return (\n <KeyValue\n rows={data}\n onChange={this.onChangeData}\n />\n );\n };\n\n render() {\n return (\n <div className=\"scenario-testing\">\n <p>\n Укажите переменные Ð´Ð»Ñ Ñ‚ÐµÑтового звонка\n </p>\n {this.renderKeyValue()}\n <button onClick={this.onClickTest}>ЗапуÑк</button>\n </div>\n );\n }\n}\n\nconst mapStateToProps = state => ({\n token: getToken(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(TestingOutcoming);\n","import React from 'react';\nimport Modal from 'components/Modal';\nimport TestingIncoming from './TestingIncoming';\nimport TestingOutcoming from './TestingOutcoming';\n\nclass TestingButton extends React.Component {\n state = {\n isModalOpen: false\n };\n\n openModal = () => {\n this.setState({ isModalOpen: true });\n };\n\n closeModal = () => {\n this.setState({ isModalOpen: false });\n };\n\n renderModalContent = () => {\n const { scenario } = this.props;\n if (scenario.scenario_type === 'outcoming') {\n return (\n <TestingOutcoming\n scenario={scenario}\n />\n );\n } else {\n return (\n <TestingIncoming\n scenario={scenario}\n />\n );\n }\n };\n\n render() {\n const { unsaved } = this.props;\n const { isModalOpen } = this.state;\n return (\n <>\n <button onClick={this.openModal} disabled={unsaved} style={{ marginRight: '10px' }}>ТеÑтировать</button>\n <Modal\n isOpen={isModalOpen}\n onClose={this.closeModal}\n >\n {this.renderModalContent()}\n </Modal>\n </>\n );\n }\n}\n\nexport default TestingButton;\n","import React from 'react';\nimport ActionButton from 'components/ActionButton';\nimport NameInput from './NameInput';\nimport TestingButton from './TestingButton';\n\nclass Controls extends React.Component {\n state = {\n name: this.props.scenario.name\n };\n\n onClickSave = () => {\n const updatedScenario = {\n ...this.props.scenario,\n name: this.state.name,\n serialized_model: this.props.diagram.diagramModel.serializeDiagram()\n };\n this.props.updateScenario(updatedScenario);\n };\n\n onChangeName = (value) => {\n if (value !== this.state.name) {\n this.props.onChangeUnsaved(true);\n }\n\n this.setState({ name: value });\n }\n\n renderStatus = () => {\n const { loading, error, unsaved } = this.props;\n var message = '';\n\n if (error) {\n message = `Ошибка: ${error}`;\n } else if (loading) {\n message = '';\n } else if (unsaved) {\n message = 'Ðе Ñохранено';\n }\n\n return (\n <div className=\"scenario-controls__status\">\n {message}\n </div>\n );\n };\n\n renderTestingButton = () => {\n const { unsaved, scenario } = this.props;\n return (\n <TestingButton\n unsaved={unsaved}\n scenario={scenario}\n />\n );\n };\n\n render() {\n const { loading } = this.props;\n const { name } = this.state;\n return (\n <div className=\"scenario-controls\">\n <NameInput\n name={name}\n onChange={this.onChangeName}\n />\n\n <div className=\"scenario-controls__buttons\">\n {this.renderStatus()}\n {this.renderTestingButton()}\n\n <ActionButton\n action={this.onClickSave}\n loading={loading}\n >Сохранить</ActionButton>\n </div>\n </div>\n );\n }\n}\n\nexport default Controls;\n","import React from 'react';\nimport Tip from 'components/Tip';\n\nclass Panel extends React.Component {\n onDragStartWrap = (blockType) => {\n return (event) => event.dataTransfer.setData('blockType', blockType);\n };\n\n renderItem = (title, blockType, tip) => {\n return (\n <div\n className=\"scenario-panel__item\"\n draggable={true}\n onDragStart={this.onDragStartWrap(blockType)}\n >\n <div style={{flex: 1}}>{title}</div>\n\n <span></span>\n {/*<Tip>{tip}</Tip>*/}\n </div>\n );\n };\n\n renderIncoming = () => {\n const { features } = this.props;\n return (\n <div className=\"scenario-panel\">\n {this.renderItem('Сказать или проиграть', 'sayorplay')}\n {/*{this.renderItem('Сказать', 'say')}*/}\n {/*{this.renderItem('Проиграть', 'play')}*/}\n {this.renderItem('IVR', 'ivr')}\n {this.renderItem('ГолоÑовое меню', 'menu')}\n {this.renderItem('Тональный ввод', 'toneinput')}\n {this.renderItem('Пауза', 'delay')}\n {this.renderItem('Детектор звука', 'micdetector')}\n {this.renderItem('ЗапиÑÑŒ', 'record')}\n {this.renderItem('ПереадреÑациÑ', 'transfer')}\n {this.renderItem('DTMF', 'senddigits')}\n {this.renderItem('ПеременнаÑ', 'variable')}\n {this.renderItem('УÑловие', 'condition')}\n {this.renderItem('Комментарий', 'comment')}\n {this.renderItem('Http-запроÑ', 'http')}\n {this.renderItem('Отправить Email', 'sendemail')}\n {this.renderItem('AB-теÑÑ‚', 'abtest')}\n {this.renderItem('Рабочее времÑ', 'workingtime')}\n {features.operators && this.renderItem('Перевод на оператора', 'operator')}\n {this.renderItem('СтатуÑ', 'status')}\n {this.renderItem('Конец', 'end')}\n\n {features.experimental &&\n <>\n {this.renderItem('Свитч', 'valueswitch')}\n {this.renderItem('Хранилище получить', 'getvalue')}\n {this.renderItem('Хранилище запиÑать', 'setvalue')}\n {this.renderItem('Отправить SMS', 'sendsms')}\n {this.renderItem('Ввод чиÑла', 'numberinput')}\n {this.renderItem('Ввод даты', 'dateinput')}\n {this.renderItem('Выбор времени', 'timepicker')}\n {this.renderItem('Глобальный контекÑÑ‚', 'globalcontext')}\n {this.renderItem('Трек-номер PonyExpress', 'ponytrack')}\n {this.renderItem('NLU', 'nlu')}\n </>\n }\n </div>\n );\n };\n\n renderOutcoming = () => {\n const { features } = this.props;\n return (\n <div className=\"scenario-panel\">\n {this.renderItem('Сказать или проиграть', 'sayorplay')}\n {/*{this.renderItem('Сказать', 'say')}*/}\n {/*{this.renderItem('Проиграть', 'play')}*/}\n {this.renderItem('IVR', 'ivr')}\n {this.renderItem('ГолоÑовое меню', 'menu')}\n {this.renderItem('Тональный ввод', 'toneinput')}\n {this.renderItem('Пауза', 'delay')}\n {this.renderItem('Детектор звука', 'micdetector')}\n {this.renderItem('ЗапиÑÑŒ', 'record')}\n {this.renderItem('ПереадреÑациÑ', 'transfer')}\n {this.renderItem('DTMF', 'senddigits')}\n {this.renderItem('ПеременнаÑ', 'variable')}\n {this.renderItem('УÑловие', 'condition')}\n {this.renderItem('Комментарий', 'comment')}\n {this.renderItem('Http-запроÑ', 'http')}\n {this.renderItem('Отправить Email', 'sendemail')}\n {this.renderItem('AB-теÑÑ‚', 'abtest')}\n {this.renderItem('Рабочее времÑ', 'workingtime')}\n {features.operators && this.renderItem('Перевод на оператора', 'operator')}\n {this.renderItem('СтатуÑ', 'status')}\n {this.renderItem('Конец', 'end')}\n\n {features.experimental &&\n <>\n {this.renderItem('Ðедозвон', 'failedcall')}\n {this.renderItem('СброÑ', 'disconnectedcall')}\n {this.renderItem('Свитч', 'valueswitch')}\n {this.renderItem('Хранилище получить', 'getvalue')}\n {this.renderItem('Хранилище запиÑать', 'setvalue')}\n {this.renderItem('Отправить SMS', 'sendsms')}\n {this.renderItem('Ввод чиÑла', 'numberinput')}\n {this.renderItem('Ввод даты', 'dateinput')}\n {this.renderItem('Выбор времени', 'timepicker')}\n {this.renderItem('Глобальный контекÑÑ‚', 'globalcontext')}\n {this.renderItem('Трек-номер PonyExpress', 'ponytrack')}\n {this.renderItem('Обзвон', 'calllist')}\n {this.renderItem('NLU', 'nlu')}\n </>\n }\n </div>\n );\n };\n\n render() {\n return this.props.scenarioType === 'incoming' ? this.renderIncoming() : this.renderOutcoming();\n }\n}\n\nexport default Panel;\n","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nvar getRandomValues;\nvar rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n // find the complete implementation of crypto (msCrypto) on IE11.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import { DefaultNodeModel } from '@projectstorm/react-diagrams';\n\nclass BaseNodeModel extends DefaultNodeModel {\n constructor(name, color='#00b388', config={}) {\n super(name, color);\n this.config = config;\n }\n\n serialize() {\n return {\n ...super.serialize(),\n config: this.config\n };\n }\n\n deSerialize(object, engine) {\n super.deSerialize(object, engine);\n this.config = object.config;\n }\n\n remove() {\n if (this.config.static) return;\n super.remove();\n }\n}\n\nexport default BaseNodeModel;","export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;","import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (var i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;","import React from 'react';\nimport {\n DefaultNodeWidget\n} from '@projectstorm/react-diagrams';\nimport { v4 as uuidv4 } from 'uuid';\n\nclass BaseNodeWidget extends DefaultNodeWidget {\n\n duplicate = () => {\n let { diagramEngine } = this.props;\n let model = diagramEngine.getDiagramModel();\n let offset = { x: 20, y: 20 };\n let newItem = this.props.node.clone({});\n\n newItem.id = uuidv4();\n newItem.listeners = {};\n newItem.config = { ...this.props.node.config };\n newItem.setPosition(newItem.x + offset.x, newItem.y + offset.y);\n newItem.selected = false;\n\n model.addNode(newItem);\n }\n\n render() {\n return (\n <div {...this.getProps()} style={{ background: this.props.node.color }}>\n <div className={this.bem(\"__title\")}>\n <div className={this.bem(\"__name\")}>{this.props.node.name}</div>\n\n {!this.props.node.config.static &&\n <>\n <div className={this.bem(\"__close\")} onClick={this.duplicate}>D</div>\n <div className={this.bem(\"__close\")} onClick={() => this.props.node.remove()}>✕</div>\n </>\n }\n </div>\n <div className={this.bem(\"__ports\")}>\n <div className={this.bem(\"__in\")}>\n {_.map(this.props.node.getInPorts(), this.generatePort.bind(this))}\n </div>\n <div className={this.bem(\"__out\")}>\n {_.map(this.props.node.getOutPorts(), this.generatePort.bind(this))}\n </div>\n </div>\n </div>\n );\n }\n}\n\nexport default BaseNodeWidget;\n","import React from 'react';\nimport {\n DefaultNodeFactory\n} from '@projectstorm/react-diagrams';\nimport BaseNodeModel from './BaseNodeModel';\nimport BaseNodeWidget from './BaseNodeWidget';\n\nclass BaseNodeFactory extends DefaultNodeFactory {\n getNewInstance() {\n return new BaseNodeModel();\n }\n\n generateReactWidget(diagramEngine, node) {\n return React.createElement(BaseNodeWidget, {\n node: node,\n diagramEngine: diagramEngine\n });\n }\n}\n\nexport default BaseNodeFactory;","import { DefaultPortModel } from '@projectstorm/react-diagrams';\n\nclass BaseInPortModel extends DefaultPortModel {\n\n constructor(name, label) {\n super(true, name, label);\n this.type = 'base_in';\n }\n\n canLinkToPort(port) {\n return false;\n }\n}\n\nexport default BaseInPortModel;","import {\n AbstractPortFactory,\n} from '@projectstorm/react-diagrams';\nimport BaseInPortModel from './BaseInPortModel';\n\nclass BaseInPortFactory extends AbstractPortFactory {\n constructor() {\n super(\"base_in\");\n }\n\n getNewInstance (initialConfig){\n return new BaseInPortModel();\n }\n}\n\nexport default BaseInPortFactory;","import { DefaultPortModel } from '@projectstorm/react-diagrams';\n\nclass BaseOutPortModel extends DefaultPortModel {\n\n constructor(name, label) {\n super(false, name, label);\n this.type = 'base_out';\n }\n\n canLinkToPort(port) {\n if (Object.values(this.links).length > 1) return false;\n return super.canLinkToPort(port);\n }\n}\n\nexport default BaseOutPortModel;","import {\n AbstractPortFactory,\n} from '@projectstorm/react-diagrams';\nimport BaseOutPortModel from './BaseOutPortModel';\n\nclass BaseOutPortFactory extends AbstractPortFactory {\n constructor() {\n super(\"base_out\");\n }\n\n getNewInstance (initialConfig){\n return new BaseOutPortModel();\n }\n}\n\nexport default BaseOutPortFactory;","import BaseNodeModel from './BaseNodeModel';\nimport BaseOutPortModel from './BaseOutPortModel';\nimport BaseInPortModel from './BaseInPortModel';\n\nconst nodeBuilder = (blockType) => {\n let result;\n switch (blockType) {\n case 'start': {\n result = new BaseNodeModel('Старт', '#ff0000', {\n blockType: 'start',\n static: true\n });\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'globalcontext': {\n result = new BaseNodeModel('Глобальный контекÑÑ‚', '#ff0000', {\n blockType: 'globalcontext',\n ports: [\n {\n title: 'Порт 1',\n name: 'out1',\n simple: true,\n variants: ['вы кто']\n },\n {\n title: 'Порт 2',\n name: 'out2',\n simple: true,\n variants: ['перезвоните через']\n }\n ]\n });\n result.addPort(new BaseOutPortModel('out1', 'Порт 1'));\n result.addPort(new BaseOutPortModel('out2', 'Порт 2'));\n break;\n }\n case 'outcomingcall': {\n result = new BaseNodeModel('ИÑходÑщий звонок', '#ff0000', {\n blockType: 'outcomingcall',\n static: true,\n voicemailDetector: true,\n backgroundMusic: '',\n maxDuration: 3600,\n phoneNumber: '{{phone_number}}'\n });\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'incomingcall': {\n result = new BaseNodeModel('ВходÑщий звонок', '#ff0000', {\n blockType: 'incomingcall',\n backgroundMusic: '',\n static: true\n });\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'failedcall': {\n result = new BaseNodeModel('Ðедозвон', '#ff0000', {\n blockType: 'failedcall',\n static: true\n });\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'disconnectedcall': {\n result = new BaseNodeModel('СброÑ', '#ff0000', {\n blockType: 'disconnectedcall',\n static: true\n });\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'sayorplay': {\n result = new BaseNodeModel('Сказать или проиграть', '#00b388', {\n blockType: 'sayorplay',\n outputType: 'say',\n lazyPlay: false,\n text: '',\n voice: 'RU_RUSSIAN_FEMALE',\n url: ''\n });\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n result.addPort(new BaseInPortModel('in', 'Вход'));\n break;\n }\n case 'say': {\n result = new BaseNodeModel('Сказать', '#00b388', {\n blockType: 'say',\n text: '',\n voice: 'RU_RUSSIAN_FEMALE'\n });\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n result.addPort(new BaseInPortModel('in', 'Вход'));\n break;\n }\n case 'play': {\n result = new BaseNodeModel('Играть', '#00b388', {\n blockType: 'play',\n url: ''\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'ivr': {\n result = new BaseNodeModel('IVR', '#00b388', {\n blockType: 'ivr',\n outputType: 'say',\n question: 'Да - 1, нет - 2',\n voice: 'RU_RUSSIAN_FEMALE',\n url: '',\n\n retryCount: 1,\n retryOutputType: 'say',\n retryText: 'Да - 1, нет - 2',\n retryVoice: 'RU_RUSSIAN_FEMALE',\n retryUrl: '',\n\n ports: [\n {\n title: 'Порт 1',\n name: 'out1',\n tone: '1'\n },\n {\n title: 'Порт 2',\n name: 'out2',\n tone: '2'\n }\n ]\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'Порт 1'));\n result.addPort(new BaseOutPortModel('out2', 'Порт 2'));\n break;\n }\n case 'menu': {\n result = new BaseNodeModel('ГолоÑовое меню', '#00b388', {\n blockType: 'menu',\n outputType: 'say',\n question: 'Да или нет?',\n voice: 'RU_RUSSIAN_FEMALE',\n url: '',\n asrDelay: 0.0,\n\n retryCount: 1,\n retryOutputType: 'say',\n retryText: 'Извините, не раÑÑлышала. Повторите: да или нет?',\n retryVoice: 'RU_RUSSIAN_FEMALE',\n retryUrl: '',\n retryAsrDelay: 0.0,\n\n silenceDuration: 1.0,\n interrupting: false,\n silenceTimeout: 8.0,\n\n asrFiller: false,\n\n storeAnswers: false,\n answerPrefix: 'menu_answer',\n\n intentBased: false,\n intentPrefix: '',\n\n ports: [\n {\n title: 'Порт 1',\n name: 'out1',\n simple: true,\n variants: ['да', 'ага', 'ÑоглаÑен', 'отлично', 'было бы здорово'],\n intent: ''\n },\n {\n title: 'Порт 2',\n name: 'out2',\n simple: true,\n variants: ['нет', 'точно нет', 'не нужно', 'Ñкорее нет'],\n intent: ''\n }\n ]\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'Порт 1'));\n result.addPort(new BaseOutPortModel('out2', 'Порт 2'));\n break;\n }\n case 'delay': {\n result = new BaseNodeModel('Пауза', '#00b388', {\n blockType: 'delay',\n seconds: 3\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'micdetector': {\n result = new BaseNodeModel('Детектор звука', '#00b388', {\n blockType: 'micdetector',\n seconds: 5\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'variable': {\n result = new BaseNodeModel('ПеременнаÑ', '#0090ff', {\n blockType: 'variable',\n name: 'test',\n type: 'string',\n value: '',\n rows: []\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'toneinput': {\n result = new BaseNodeModel('Тональный ввод', '#00b388', {\n blockType: 'toneinput',\n varName: 'tone_result'\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'dateinput': {\n result = new BaseNodeModel('Ввод даты', '#00b388', {\n blockType: 'dateinput',\n varName: 'date_input'\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'УÑпех'));\n break;\n }\n case 'timepicker': {\n result = new BaseNodeModel('Выбор времени', '#00b388', {\n blockType: 'timepicker',\n intervals: '10:00-15:00,15:00-22:00',\n varName: 'time_interval'\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'УÑпех'));\n break;\n }\n case 'ponytrack': {\n result = new BaseNodeModel('Трек-номер PonyExpress', '#00b388', {\n blockType: 'ponytrack',\n varName: 'pony_track'\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'УÑпех'));\n break;\n }\n case 'nlu': {\n result = new BaseNodeModel('NLU', '#0090ff', {\n blockType: 'nlu',\n varName: 'nlu_answer',\n avatarId: '',\n text: ''\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'УÑпех'));\n break;\n }\n case 'numberinput': {\n result = new BaseNodeModel('Ввод чиÑла', '#00b388', {\n blockType: 'numberinput',\n varName: 'number_input'\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'УÑпех'));\n break;\n }\n case 'http': {\n result = new BaseNodeModel('Http-запроÑ', '#0090ff', {\n blockType: 'http',\n method: 'GET',\n url: 'https://example.com',\n headers: [{ id: 1, name: 'Test', value: '1' }, { id: 2, name: 'Test2', value: '2' }],\n params: [{ id: 1, name: 'Test', value: '1' }],\n body: '',\n varName: 'http_response'\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out2', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'УÑпех'));\n break;\n }\n case 'sendemail': {\n result = new BaseNodeModel('Отправить Email', '#0090ff', {\n blockType: 'sendemail',\n from: '',\n to: '',\n subject: '',\n text: ''\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'УÑпех'));\n break;\n }\n case 'sendsms': {\n result = new BaseNodeModel('Отправить SMS', '#0090ff', {\n blockType: 'sendsms',\n from: '',\n to: '',\n text: ''\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'УÑпех'));\n break;\n }\n case 'getvalue': {\n result = new BaseNodeModel('Хранилище получить', '#0090ff', {\n blockType: 'getvalue',\n key: '',\n varName: 'storage_value'\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'setvalue': {\n result = new BaseNodeModel('Хранилище запиÑать', '#0090ff', {\n blockType: 'setvalue',\n key: '',\n value: ''\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'comment': {\n result = new BaseNodeModel('Комментарий', '#ffd416', {\n blockType: 'comment',\n value: '',\n isLog: false\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'transfer': {\n result = new BaseNodeModel('ПереадреÑациÑ', '#00b388', {\n blockType: 'transfer',\n isSip: false,\n phoneNumber: '',\n callerId: '{{phone_number}}',\n sipRegistration: '',\n notificationText: ''\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'УÑпех'));\n break;\n }\n case 'operator': {\n result = new BaseNodeModel('Перевод на оператора', '#00b388', {\n blockType: 'operator',\n queue: ''\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'УÑпех'));\n break;\n }\n case 'senddigits': {\n result = new BaseNodeModel('DTMF', '#00b388', {\n blockType: 'senddigits',\n digits: ''\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'success': {\n result = new BaseNodeModel('УÑпех', '#0090ff', {\n blockType: 'success'\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'condition': {\n result = new BaseNodeModel('УÑловие', '#0090ff', {\n blockType: 'condition',\n var1: '1',\n var2: '2',\n operation: '='\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Верное'));\n result.addPort(new BaseOutPortModel('out2', 'Ðеверное'));\n break;\n }\n case 'valueswitch': {\n result = new BaseNodeModel('Свитч', '#0090ff', {\n blockType: 'valueswitch',\n value: 'да',\n ports: [\n {\n title: 'Порт 1',\n name: 'out1',\n condition: 'да'\n },\n {\n title: 'Порт 2',\n name: 'out2',\n condition: 'нет'\n }\n ]\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('errout', 'Ошибка'));\n result.addPort(new BaseOutPortModel('out1', 'Порт 1'));\n result.addPort(new BaseOutPortModel('out2', 'Порт 2'));\n break;\n }\n case 'abtest': {\n result = new BaseNodeModel('AB-теÑÑ‚', '#0090ff', {\n blockType: 'abtest',\n ratio: 50\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'A'));\n result.addPort(new BaseOutPortModel('out2', 'B'));\n break;\n }\n case 'workingtime': {\n result = new BaseNodeModel('Рабочее времÑ', '#0090ff', {\n blockType: 'workingtime',\n daysOfWeek: [1,2,3,4,5],\n fromTime: '08:00',\n toTime: '18:00'\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Да'));\n result.addPort(new BaseOutPortModel('out2', 'Ðет'));\n break;\n }\n case 'calllist': {\n result = new BaseNodeModel('Обзвон', '#0090ff', {\n blockType: 'calllist',\n attemptIntervals: [3600, 3600, 3600, 3600],\n });\n break;\n }\n case 'record': {\n result = new BaseNodeModel('ЗапиÑÑŒ', '#00b388', {\n blockType: 'record',\n waitSilence: 1500,\n needSTT: false,\n urlVarName: 'record_url',\n textVarName: 'record_text',\n autoPunctuation: true,\n asrFiller: false\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'status': {\n result = new BaseNodeModel('СтатуÑ', '#ff0000', {\n blockType: 'status',\n statusName: 'УÑпех',\n successful: true,\n interval: 0\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n result.addPort(new BaseOutPortModel('out1', 'Выход'));\n break;\n }\n case 'end': {\n result = new BaseNodeModel('Конец', '#ff0000', {\n blockType: 'end'\n });\n result.addPort(new BaseInPortModel('in', 'Вход'));\n break;\n }\n }\n\n return result;\n};\n\nexport default nodeBuilder;","import {\n DiagramEngine,\n DiagramModel,\n DefaultLinkFactory,\n DefaultLabelFactory,\n Toolkit\n} from '@projectstorm/react-diagrams';\nimport BaseNodeFactory from './diagram/BaseNodeFactory';\nimport BaseInPortFactory from './diagram/BaseInPortFactory';\nimport BaseOutPortFactory from './diagram/BaseOutPortFactory';\nimport nodeBuilder from './diagram/nodeBuilder';\n\n// Monkeypatch!!!\nToolkit.generateCurvePath = function (firstPoint, lastPoint, curvy=0) {\n var isHorizontal = Math.abs(firstPoint.x - lastPoint.x) > Math.abs(firstPoint.y - lastPoint.y);\n isHorizontal = true;\n curvy = 80;\n\n var xOrY = isHorizontal ? \"x\" : \"y\";\n\n // make sure that smoothening works\n // without disrupting the line direction\n let curvyness = curvy;\n if (firstPoint[xOrY] > firstPoint[xOrY]) {\n curvyness = -curvy;\n }\n\n var curvyX = isHorizontal ? curvyness : 0;\n var curvyY = isHorizontal ? 0 : curvyness;\n\n return `M${firstPoint.x},${firstPoint.y} C ${firstPoint.x + curvyX},${firstPoint.y + curvyY}\n ${lastPoint.x - curvyX},${lastPoint.y - curvyY} ${lastPoint.x},${lastPoint.y}`;\n};\n\nclass Diagram {\n constructor(serializedModel = {}) {\n this.diagramEngine = new DiagramEngine();\n\n this.diagramEngine.registerNodeFactory(new BaseNodeFactory());\n this.diagramEngine.registerLinkFactory(new DefaultLinkFactory());\n this.diagramEngine.registerPortFactory(new BaseOutPortFactory());\n this.diagramEngine.registerPortFactory(new BaseInPortFactory());\n this.diagramEngine.registerLabelFactory(new DefaultLabelFactory());\n\n this.diagramModel = new DiagramModel();\n this.diagramModel.deSerializeDiagram(serializedModel, this.diagramEngine);\n this.diagramEngine.setDiagramModel(this.diagramModel);\n }\n\n dropNode (event, onClick) {\n const engine = this.diagramEngine;\n const model = this.diagramModel;\n const point = engine.getRelativeMousePoint(event);\n const node = nodeBuilder(event.dataTransfer.getData('blockType'));\n node.setPosition(point.x, point.y);\n node.addListener({ selectionChanged: onClick });\n model.addNode(node);\n return node;\n }\n}\n\nexport default Diagram;","import React from 'react';\nimport { DiagramWidget } from '@projectstorm/react-diagrams';\n\nclass Map extends React.Component {\n state = {\n focused: false\n };\n\n ZOOM_DELTA = 10;\n\n componentDidMount() {\n const nodes = Object.values(this.props.diagram.diagramModel.nodes);\n nodes.forEach(node => node.addListener({ selectionChanged: this.onClick }));\n this.addDiagramModelListener(this.props.diagram.diagramModel);\n }\n\n addDiagramModelListener = (diagramModel) => {\n Object.values(diagramModel.nodes).forEach(node => node.addListener({ positionChanged: this.onChangeListener }));\n\n diagramModel.addListener({\n nodesUpdated: this.onChangeListener,\n linksUpdated: this.onChangeListener,\n offsetUpdated: this.onChangeListener,\n zoomUpdated: this.onChangeListener,\n gridUpdated: this.onChangeListener\n });\n };\n\n onChangeListener = (event) => {\n this.props.onChangeUnsaved(true)\n };\n\n onClick = (event) => {\n if (!event.isSelected) {\n this.props.setCurrentNode(null);\n }\n\n if (event.isSelected) {\n this.props.setCurrentNode(event.entity);\n }\n };\n\n onDrop = (event) => {\n const node = this.props.diagram.dropNode(event, this.onClick);\n node.addListener({ positionChanged: this.onChangeListener });\n this.forceUpdate();\n };\n\n onClickZoomPlus = () => {\n const model = this.props.diagram.diagramModel;\n model.setZoomLevel(model.getZoomLevel() + this.ZOOM_DELTA);\n };\n\n onClickZoomMinus = () => {\n const model = this.props.diagram.diagramModel;\n model.setZoomLevel(model.getZoomLevel() - this.ZOOM_DELTA);\n };\n\n render() {\n const { diagram } = this.props;\n return (\n <div\n className=\"scenario-map\"\n tabIndex=\"0\"\n onClick={() => this.setState({ focused: true })}\n onBlur={() => this.setState({ focused: false})}\n onDrop={this.onDrop}\n onDragOver={event => {\n event.preventDefault();\n }}\n >\n <DiagramWidget\n deleteKeys={this.state.focused ? [46, 8] : []}\n className=\"scenario-diagram\"\n diagramEngine={diagram.diagramEngine}\n allowLooseLinks={false}\n maxNumberPointsPerLink={0}\n />\n\n <div className=\"scenario-map__overlay\">\n <div onClick={this.onClickZoomPlus} className=\"scenario-map__zoom-plus\">+</div>\n <div onClick={this.onClickZoomMinus} className=\"scenario-map__zoom-minus\">-</div>\n </div>\n </div>\n );\n }\n}\n\nexport default Map;\n","import React from 'react';\n\nclass BaseConfigurator extends React.Component {\n state = this.props.config;\n\n updateValue = (object) => {\n this.setState(object);\n this.props.onChangeConfig({ ...this.state, ...object});\n };\n}\n\nexport default BaseConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass StartConfigurator extends BaseConfigurator {\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Любой Ñценарий начинаетÑÑ Ñ Ñтого блока.\n Во Ð²Ñ€ÐµÐ¼Ñ Ð²Ñ‹Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ ÑÑ†ÐµÐ½Ð°Ñ€Ð¸Ñ Ð¿Ñ€Ð¾Ð¸Ñходит дозвон на номер {'{{phone_number}}'}.\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__start-configurator\">\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default StartConfigurator;\n","import React from 'react';\nimport _ from 'lodash';\nimport BaseOutPortModel from \"../diagram/BaseOutPortModel\";\n\nclass Ports extends React.Component {\n onClickAddPort = () => {\n const { node, newPort, ports, onChangePorts } = this.props;\n const port = newPort();\n\n node.addPort(new BaseOutPortModel(port.name, port.title));\n onChangePorts([...ports, port]);\n };\n\n onClickRemove = (port) => {\n const { ports, onChangePorts, node } = this.props;\n const newPorts = _.filter(ports, p => p !== port);\n\n const nodePort = node.getPort(port.name);\n node.removePort(nodePort);\n\n onChangePorts(newPorts);\n };\n\n renderPorts = () => {\n const { ports } = this.props;\n return ports.map(this.renderPortContainer);\n };\n\n renderPortContainer = (port) => {\n const { renderPort } = this.props;\n return (\n <div key={port.name} className=\"scenario-configurator__port\">\n {port.title}\n {/*<div onClick={() => this.onClickRemove(port)} className=\"scenario-configurator__port-close\">✕</div>*/}\n {renderPort(port)}\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__ports\">\n {this.renderPorts()}\n <button onClick={this.onClickAddPort}>Добавить ветку</button>\n </div>\n );\n }\n}\n\nexport default Ports;\n","import React from 'react';\nimport TagsInput from 'react-tagsinput';\n\nclass VariantsInput extends React.Component {\n copyText = () => {\n const { value } = this.props;\n navigator.clipboard.writeText(value)\n };\n\n render() {\n const { value, onChange } = this.props;\n return (\n <>\n <button onClick={this.copyText}>copy</button>\n <TagsInput\n value={value}\n onChange={onChange}\n onlyUnique={true}\n addKeys={[9, 13]} // tab, enter\n addOnPaste\n pasteSplit={(data) => data.split(',').map(d => d.trim())}\n inputProps={{\n className: 'react-tagsinput-input',\n placeholder: 'Фразы через Enter'\n }}\n />\n </>\n );\n }\n}\n\nexport default VariantsInput;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\nimport Ports from './Ports';\nimport VariantsInput from './VariantsInput';\n\nclass GlobalcontextConfigurator extends BaseConfigurator {\n onChangePort = (port, variants) => {\n const ports = [...this.state.ports];\n ports.find(p => p.name === port.name).variants = variants;\n\n this.updateValue({ ports: ports });\n };\n\n onChangePorts = (ports) => {\n this.updateValue({ ports: ports });\n };\n\n newPort = () => {\n const count = this.state.ports.length + 1;\n return {\n title: `Порт ${count}`,\n name: `out${count}`,\n simple: true,\n variants: []\n };\n };\n\n renderPort = (port) => {\n return (\n <>\n {port.simple &&\n <VariantsInput\n value={port.variants}\n onChange={value => this.onChangePort(port, value)}\n />\n }\n\n {!port.simple &&\n <textarea value={port.variants} onChange={event => this.onChangePort(port, event.target.value)} />\n }\n </>\n );\n };\n\n renderPorts = () => {\n const { ports } = this.state;\n const { node } = this.props;\n return (\n <>\n <h3>Варианты ответа</h3>\n <Ports\n ports={ports}\n node={node}\n newPort={this.newPort}\n renderPort={this.renderPort}\n onChangePorts={this.onChangePorts}\n />\n </>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n ВызываетÑÑ Ð¿Ñ€Ð¸ ошибочных блоках\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__menu-configurator\">\n {this.renderPorts()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default GlobalcontextConfigurator;\n","class RecordAudio {\n started = false;\n\n record() {\n return new Promise(resolve => {\n if (this.started) return;\n\n this._initStream().then(stream => {\n this.mediaRecorder = new MediaRecorder(this.stream);\n this.audioChunks = [];\n\n this.mediaRecorder.addEventListener('dataavailable', event => {\n this.audioChunks.push(event.data);\n });\n\n this.started = true;\n this.mediaRecorder.start();\n resolve(true);\n })\n });\n }\n\n stop() {\n return new Promise(resolve => {\n if (!this.started) return;\n\n this.mediaRecorder.addEventListener('stop', () => {\n const audioBlob = new Blob(this.audioChunks);\n resolve(audioBlob);\n });\n\n this.started = false;\n this.mediaRecorder.stop();\n this._stopStream();\n });\n }\n\n _initStream() {\n return new Promise(resolve => {\n if (this.stream) return resolve(this.stream);\n\n navigator.mediaDevices.getUserMedia({ audio: true })\n .then(stream => {\n this.stream = stream;\n resolve(stream);\n });\n });\n }\n\n _stopStream() {\n this.stream.getTracks().forEach(track => track.stop());\n this.stream = null;\n }\n}\n\nexport default RecordAudio;\n","import React from 'react';\nimport dayjs from 'dayjs';\nimport RecordAudio from 'RecordAudio';\n\nclass AddAudio extends React.Component {\n state = {\n name: `ЗапиÑÑŒ ${dayjs().format('H:mm:ss D MMM YY')}`,\n recording: false,\n audioBlob: null,\n };\n\n constructor() {\n super();\n this.recorder = new RecordAudio();\n }\n\n onClickStart = () => {\n this.recorder.record()\n .then(() => {\n this.setState({ recording: true, audioBlob: null });\n })\n };\n\n onClickStop = () => {\n this.recorder.stop()\n .then((result) => {\n this.setState({ recording: false, audioBlob: result });\n this.forceUpdate();\n });\n };\n\n onClickUpload = () => {\n const { audioBlob, name } = this.state;\n this.props.uploadAudio(audioBlob, name);\n };\n\n onChangeName = (event) => {\n this.setState({ name: event.target.value });\n };\n\n onChangeFile = (event) => {\n const file = event.target.files[0];\n if (!file) return;\n const audioBlob = new Blob([file],{ type: 'audio/mp3' });\n event.target.value = null;\n this.setState({ audioBlob });\n };\n\n renderRecording = () => {\n const { recording } = this.state;\n return (\n <div>\n <h3>Запишите Ñ Ð¼Ð¸ÐºÑ€Ð¾Ñ„Ð¾Ð½Ð°</h3>\n {!recording &&\n <button onClick={this.onClickStart}>Ðачать запиÑÑŒ</button>\n }\n\n {recording &&\n <>\n <button onClick={this.onClickStop}>ОÑтановить запиÑÑŒ</button>\n Идет запиÑÑŒ\n </>\n }\n </div>\n );\n };\n\n renderFileInput = () => {\n return (\n <div>\n <h3>Выберите файл (.mp3)</h3>\n\n <input type=\"file\" accept=\"audio/*\" onChange={this.onChangeFile} />\n </div>\n );\n };\n\n renderAudioPreview = () => {\n const { audioBlob } = this.state;\n return (\n <div className=\"add-audio__preview\">\n <h3>ПроÑлушивание</h3>\n {audioBlob &&\n <audio src={URL.createObjectURL(audioBlob)} controls />\n }\n\n {!audioBlob &&\n <audio controls />\n }\n </div>\n );\n };\n\n renderAudio = () => {\n const { audio, resetAudio, onFinish } = this.props;\n // HACK!!\n if (audio) {\n setTimeout(() => {\n resetAudio();\n onFinish(audio);\n }, 0);\n }\n\n return null;\n };\n\n renderButtons = () => {\n const { audioBlob } = this.state;\n const { loading } = this.props;\n return (\n <div>\n {loading &&\n <button disabled>Загружаем...</button>\n }\n\n {!loading &&\n <button onClick={this.onClickUpload} disabled={!audioBlob}>Загрузить и добавить</button>\n }\n </div>\n );\n };\n\n renderName = () => {\n const { name } = this.state;\n return (\n <div className=\"add-audio__name\">\n <label>\n Ð˜Ð¼Ñ Ñ„Ð°Ð¹Ð»Ð°\n <input type=\"text\" value={name} onChange={this.onChangeName} />\n </label>\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"audio-picker-add-audio\">\n {this.renderAudio()}\n <h2>Добавление аудио</h2>\n\n {this.renderName()}\n {this.renderRecording()}\n <p>ИЛИ</p>\n {this.renderFileInput()}\n {this.renderAudioPreview()}\n {this.renderButtons()}\n </div>\n );\n }\n}\n\nexport default AddAudio;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n uploadAudio,\n resetAudio,\n getAudio,\n getError,\n getLoading\n} from 'store/audio';\nimport AddAudio from 'components/add_audio/AddAudio';\n\nclass AddAudioContainer extends Component {\n render() {\n const { audio, error, loading, uploadAudio, resetAudio, onFinish } = this.props;\n return (\n <AddAudio\n audio={audio}\n error={error}\n loading={loading}\n uploadAudio={uploadAudio}\n resetAudio={resetAudio}\n onFinish={onFinish}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n audio: getAudio(state),\n loading: getLoading(state),\n error: getError(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n uploadAudio: (audio, name) => dispatch(uploadAudio(audio, name)),\n resetAudio: () => dispatch(resetAudio())\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AddAudioContainer);\n","import React from 'react';\nimport Modal from 'components/Modal';\nimport AddAudioContainer from 'containers/AddAudioContainer';\n\nclass AudioPicker extends React.Component {\n state = {\n isModalOpen: false\n };\n\n componentDidMount() {\n this.props.loadAudios();\n }\n\n onChangeFileUrl = (event) => {\n this.props.onChangeFileUrl(event.target.value);\n };\n\n openModal = () => {\n this.setState({ isModalOpen: true });\n };\n\n closeModal = () => {\n this.setState({ isModalOpen: false });\n };\n\n onAddAudioFinish = (result) => {\n console.log('AUDIO ADD', result);\n this.props.loadAudios();\n this.closeModal();\n this.props.onChangeFileUrl(result.file_url);\n };\n\n renderAudios = () => {\n const { url, audios } = this.props;\n return (\n <>\n <select value={url} onChange={this.onChangeFileUrl}>\n <option key=\"\" value=\"\" />\n {audios.map(audio => (\n <option key={audio.id} value={audio.file_url}>{audio.name}</option>\n ))}\n </select>\n\n <audio src={url} controls />\n </>\n );\n };\n\n renderAddAudio = () => {\n const { isModalOpen } = this.state;\n return (\n <>\n <button onClick={this.openModal}>Добавить новое</button>\n <Modal\n isOpen={isModalOpen}\n onClose={this.closeModal}\n >\n <AddAudioContainer\n onFinish={this.onAddAudioFinish}\n />\n </Modal>\n </>\n );\n };\n\n render() {\n return (\n <div className=\"audio-picker\">\n {this.renderAudios()}\n {this.renderAddAudio()}\n </div>\n );\n }\n}\n\nexport default AudioPicker;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getAudios,\n loadAudios,\n} from 'store/audios';\nimport AudioPicker from 'components/audio_picker/AudioPicker';\n\nclass AudioPickerContainer extends Component {\n render() {\n const { url, audios, loadAudios, onChangeFileUrl } = this.props;\n return (\n <AudioPicker\n url={url}\n audios={audios}\n loadAudios={loadAudios}\n onChangeFileUrl={onChangeFileUrl}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n audios: getAudios(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadAudios: () => dispatch(loadAudios())\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AudioPickerContainer);\n","import React from 'react';\nimport AudioPickerContainer from 'containers/AudioPickerContainer';\nimport BaseConfigurator from './BaseConfigurator';\nimport { connect } from \"react-redux\";\nimport {\n getFeatures\n} from 'store/features';\n\nclass OutcomingcallConfigurator extends BaseConfigurator {\n onChangeVoicemailDetector = (event) => {\n this.updateValue({ voicemailDetector: event.target.checked });\n };\n\n onChangeMaxDuration = (event) => {\n this.updateValue({ maxDuration: event.target.value });\n };\n\n onChangePhoneNumber = (event) => {\n this.updateValue({ phoneNumber: event.target.value });\n };\n\n onChangeBackgroundMusic = (value) => {\n this.updateValue({ backgroundMusic: value });\n };\n\n renderBackgroundMusic = () => {\n const { backgroundMusic } = this.state;\n return (\n <label>\n Ð¤Ð¾Ð½Ð¾Ð²Ð°Ñ Ð¼ÑƒÐ·Ñ‹ÐºÐ°\n <AudioPickerContainer url={backgroundMusic} onChangeFileUrl={this.onChangeBackgroundMusic} />\n </label>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n ИÑходÑщий звонок.\n Во Ð²Ñ€ÐµÐ¼Ñ Ð²Ñ‹Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ ÑÑ†ÐµÐ½Ð°Ñ€Ð¸Ñ Ð¿Ñ€Ð¾Ð¸Ñходит дозвон на номер {'{{phone_number}}'}.\n <br />\n <br />\n Детектор голоÑовой почты определÑет Ðвтоответчик/ГолоÑовую почту и прерывает звонок.\n ОплачиваетÑÑ Ð² ÑоответÑтвие Ñ Ð²Ð°ÑˆÐ¸Ð¼ тарифом.\n </div>\n );\n };\n\n render() {\n const { voicemailDetector, maxDuration, phoneNumber } = this.state\n const { features } = this.props;\n\n return (\n <div className=\"scenario-configurator__outcomingcall-configurator\">\n <label>\n Ðомер телефона абонента\n <input type=\"text\" value={phoneNumber} onChange={this.onChangePhoneNumber} disabled={!features.experimental} />\n </label>\n\n <label>\n <input checked={voicemailDetector} type=\"checkbox\" onChange={this.onChangeVoicemailDetector} />\n Детектор ГолоÑовой почты\n </label>\n\n <label>\n МакÑ. длительноÑÑ‚ÑŒ звонка (Ñек)\n <input type=\"number\" value={maxDuration} onChange={this.onChangeMaxDuration} min={0} step={1} />\n </label>\n\n {this.renderBackgroundMusic()}\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\n\nconst mapStateToProps = state => ({\n features: getFeatures(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(OutcomingcallConfigurator);\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\nimport AudioPickerContainer from 'containers/AudioPickerContainer';\n\nclass IncomingcallConfigurator extends BaseConfigurator {\n onChangeBackgroundMusic = (value) => {\n this.updateValue({ backgroundMusic: value });\n };\n\n renderBackgroundMusic = () => {\n const { backgroundMusic } = this.state;\n return (\n <label>\n Ð¤Ð¾Ð½Ð¾Ð²Ð°Ñ Ð¼ÑƒÐ·Ñ‹ÐºÐ°\n <AudioPickerContainer url={backgroundMusic} onChangeFileUrl={this.onChangeBackgroundMusic} />\n </label>\n );\n }\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n ВходÑщий звонок.\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__incomingcall-configurator\">\n {this.renderBackgroundMusic()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default IncomingcallConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass FailedcallConfigurator extends BaseConfigurator {\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Логика при недозвоне. Можно иÑпользовать только Ñиние блоки и блок \"Конец\".\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__failedcall-configurator\">\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default FailedcallConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass DisconnectedcallConfigurator extends BaseConfigurator {\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Логика при ÑброÑе звонка. Можно иÑпользовать только Ñиние блоки и блок \"Конец\".\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__disconnectededcall-configurator\">\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default DisconnectedcallConfigurator;\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport {\n getFeatures\n} from 'store/features';\n\nclass VoicePicker extends React.Component {\n getVoices = () => {\n const voices = [\n {\n name: 'ЖенÑкий',\n value: 'RU_RUSSIAN_FEMALE'\n },\n {\n name: 'МужÑкой',\n value: 'RU_RUSSIAN_MALE'\n },\n {\n name: 'ЖенÑкий Платный 1',\n value: 'Premium_ru_RU_alena'\n },\n {\n name: 'МужÑкой Платный 1',\n value: 'Premium_ru_RU_filipp'\n },\n {\n name: 'ЖенÑкий Платный 2',\n value: 'tinkoff_ru_female'\n },\n {\n name: 'МужÑкой Платный 2',\n value: 'tinkoff_ru_male'\n },\n\n {\n name: 'МужÑкой Платный 2',\n value: 'tinkoff_ru_male'\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_alena\",\n \"value\": \"ya3_alena\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_alexander\",\n \"value\": \"ya3_alexander\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_anton\",\n \"value\": \"ya3_anton\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_dasha\",\n \"value\": \"ya3_dasha\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_ermil\",\n \"value\": \"ya3_ermil\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_filipp\",\n \"value\": \"ya3_filipp\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_jane\",\n \"value\": \"ya3_jane\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_julia\",\n \"value\": \"ya3_julia\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_kirill\",\n \"value\": \"ya3_kirill\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_lera\",\n \"value\": \"ya3_lera\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_madirus\",\n \"value\": \"ya3_madirus\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_marina\",\n \"value\": \"ya3_marina\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_masha\",\n \"value\": \"ya3_masha\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_omazh\",\n \"value\": \"ya3_omazh\"\n },\n {\n \"name\": \"VoiceList.YandexV3.ru_RU_zahar\",\n \"value\": \"ya3_zahar\"\n },\n {\n \"name\": \"VoiceList.TBank.ru_RU_Alyona\",\n \"value\": \"tbank_Alyona\"\n },\n {\n \"name\": \"VoiceList.TBank.ru_RU_Alyona_flirt\",\n \"value\": \"tbank_Alyona_flirt\"\n },\n {\n \"name\": \"VoiceList.TBank.ru_RU_Alyona_funny\",\n \"value\": \"tbank_Alyona_funny\"\n },\n {\n \"name\": \"VoiceList.TBank.ru_RU_Alyona_sad\",\n \"value\": \"tbank_Alyona_sad\"\n },\n {\n \"name\": \"VoiceList.TBank.ru_RU_Dorofeev_comedy\",\n \"value\": \"tbank_Dorofeev_comedy\"\n },\n {\n \"name\": \"VoiceList.TBank.ru_RU_Dorofeev_drama\",\n \"value\": \"tbank_Dorofeev_drama\"\n },\n {\n \"name\": \"VoiceList.TBank.ru_RU_Dorofeev_info\",\n \"value\": \"tbank_Dorofeev_info\"\n },\n {\n \"name\": \"VoiceList.TBank.ru_RU_Dorofeev_neutral\",\n \"value\": \"tbank_Dorofeev_neutral\"\n },\n {\n \"name\": \"VoiceList.TBank.ru_RU_Dorofeev_tragedy\",\n \"value\": \"tbank_Dorofeev_tragedy\"\n }\n ];\n\n return voices;\n };\n\n onChangeVoice = (event) => {\n this.props.onChange(event.target.value);\n };\n\n render() {\n const { value } = this.props;\n return (\n <select value={value} onChange={this.onChangeVoice}>\n {this.getVoices().map(voice =>\n <option key={voice.value} value={voice.value}>{voice.name}</option>\n )}\n </select>\n );\n }\n}\n\nconst mapStateToProps = state => ({\n features: getFeatures(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(VoicePicker);\n\n","import React from 'react';\nimport AudioPickerContainer from 'containers/AudioPickerContainer';\nimport VoicePicker from \"./VoicePicker\";\n\nclass SayOrPlay extends React.Component {\n\n onChangeOutputType = (event) => {\n const { onChangeOutputType } = this.props;\n onChangeOutputType(event.target.value);\n };\n\n renderOutputTypeSwitch = () => {\n const { outputType } = this.props;\n return (\n <div className=\"scenario-configurator__output-type-switch\">\n <label>\n <input type=\"radio\" value=\"say\" checked={outputType === 'say'} onChange={this.onChangeOutputType} />\n Сказать\n </label>\n\n <label>\n <input type=\"radio\" value=\"play\" checked={outputType === 'play'} onChange={this.onChangeOutputType} />\n Играть\n </label>\n </div>\n );\n };\n\n renderText = () => {\n const { text, onChangeText } = this.props;\n return (\n <label>\n Что Ñказать\n <textarea value={text} onChange={event => onChangeText(event.target.value)} />\n </label>\n );\n };\n\n renderVoicePicker = () => {\n const { voice, onChangeVoice } = this.props;\n return (\n <label>\n ГолоÑ\n <VoicePicker\n value={voice}\n onChange={onChangeVoice}\n />\n </label>\n );\n };\n\n renderPlay = () => {\n const { url, onChangeUrl } = this.props;\n return (\n <div>\n <label>\n Проиграть\n <AudioPickerContainer url={url} onChangeFileUrl={onChangeUrl} />\n </label>\n </div>\n );\n };\n\n renderSay = () => {\n return (\n <div>\n {this.renderText()}\n {this.renderVoicePicker()}\n </div>\n );\n };\n\n render() {\n const { outputType } = this.props;\n return (\n <div>\n {this.renderOutputTypeSwitch()}\n {outputType === 'play' && this.renderPlay()}\n {outputType === 'say' && this.renderSay()}\n </div>\n );\n }\n}\n\nexport default SayOrPlay;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\nimport SayOrPlay from './SayOrPlay';\n\nclass SayorplayConfigurator extends BaseConfigurator {\n onChangeOutputType = (value) => {\n this.updateValue({ outputType: value });\n };\n\n onChangeText = (value) => {\n this.updateValue({ text: value });\n };\n\n onChangeVoice = (value) => {\n this.updateValue({ voice: value });\n };\n\n onChangeUrl = (value) => {\n this.updateValue({ url: value });\n };\n\n onChangeLazyPlay = (event) => {\n this.updateValue({ lazyPlay: event.target.checked });\n };\n\n renderSayOrPlay = () => {\n const { outputType, text, voice, url } = this.state;\n return (\n <SayOrPlay\n outputType={outputType}\n text={text}\n voice={voice}\n url={url}\n onChangeOutputType={this.onChangeOutputType}\n onChangeVoice={this.onChangeVoice}\n onChangeText={this.onChangeText}\n onChangeUrl={this.onChangeUrl}\n />\n );\n };\n\n renderLazyPlay = () => {\n const { lazyPlay } = this.state;\n return (\n <label>\n <input type=\"checkbox\" checked={lazyPlay} onChange={this.onChangeLazyPlay} />\n Переходить к Ñледующему блоку Ñразу\n </label>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Синтез речи позволÑет озвучивать текÑÑ‚ мужÑким или женÑким голоÑами.\n Ð’ текÑте можно иÑпользовать переменные.\n Ð”Ð»Ñ Ñ‚Ð¾Ð³Ð¾, чтобы вÑтавить значение переменной, иÑпользуйте шаблон {'{{var_name}}'}.\n <br />\n <br />\n Ð’Ñ‹ можете иÑпользовать тег {'<break>'}, чтобы контролировать паузу.\n Длина паузы может быть Ñекундах или милиÑекундах: \"2s\" или \"250ms\".\n <br />\n Ðапример: \"СпаÑибо за ваш звонок!{'<break time=\"200ms\"/>'}До ÑвиданиÑ!\".\n <br/>\n <br/>\n Ð’Ñ‹ можете выбрать из ранее загруженных или добавить новую запиÑÑŒ Ð´Ð»Ñ Ð²Ð¾ÑпроизведениÑ.\n <br/>\n <br/>\n ЕÑли выбрана Ð¾Ð¿Ñ†Ð¸Ñ Ð±Ñ‹Ñтрого перехода к Ñледующему блоку, то переход оÑущеÑтвлÑетÑÑ Ð´Ð¾ Ð¾ÐºÐ¾Ð½Ñ‡Ð°Ð½Ð¸Ñ Ð²Ð¾ÑпроизведениÑ/Ñинтеза.\n Ðто удобно, еÑли подразумеваетÑÑ Ð²Ð²Ð¾Ð´ от абонента в Ñледующем блоке.\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__sayorplay-configurator\">\n {this.renderSayOrPlay()}\n {this.renderLazyPlay()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default SayorplayConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\nimport VoicePicker from './VoicePicker';\n\nclass SayConfigurator extends BaseConfigurator {\n onChangeText = (event) => {\n this.updateValue({ text: event.target.value });\n };\n\n onChangeVoice = (value) => {\n this.updateValue({ voice: value });\n };\n\n renderText = () => {\n const { text } = this.state;\n return (\n <label>\n Что Ñказать\n <textarea value={text} onChange={this.onChangeText} />\n </label>\n );\n };\n\n renderVoicePicker = () => {\n const { voice } = this.state;\n return (\n <label>\n ГолоÑ\n <VoicePicker\n value={voice}\n onChange={this.onChangeVoice}\n />\n </label>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Синтез речи позволÑет озвучивать текÑÑ‚ мужÑким или женÑким голоÑами.\n Ð’ текÑте можно иÑпользовать переменные.\n Ð”Ð»Ñ Ñ‚Ð¾Ð³Ð¾, чтобы вÑтавить значение переменной, иÑпользуйте шаблон {'{{var_name}}'}.\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__say-configurator\">\n {this.renderText()}\n {this.renderVoicePicker()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default SayConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\nimport AudioPickerContainer from 'containers/AudioPickerContainer';\n\nclass PlayConfigurator extends BaseConfigurator {\n\n onChangeFileUrl = (fileUrl) => {\n this.updateValue({ url: fileUrl });\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Блок воÑÑпроизводит запиÑÑŒ. Ð’Ñ‹ можете выбрать из ранее загруженных или добавить новую запиÑÑŒ.\n </div>\n );\n };\n\n render() {\n const { url } = this.state;\n return (\n <div className=\"scenario-configurator__play-configurator\">\n <label>\n Проиграть\n <AudioPickerContainer url={url} onChangeFileUrl={this.onChangeFileUrl} />\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default PlayConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass DelayConfigurator extends BaseConfigurator {\n onChangeSeconds = (event) => {\n this.updateValue({ seconds: event.target.value});\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n УÑтанавливает паузу в выполнении ÑÑ†ÐµÐ½Ð°Ñ€Ð¸Ñ Ð½Ð° указанное кол-во Ñекунд.\n Может быть иÑпользовано, чтобы дождатьÑÑ Ð¿Ð¾ÐºÐ° человек поднеÑет трубку к уху.\n </div>\n );\n };\n\n render() {\n const { seconds } = this.state;\n return (\n <div className=\"scenario-configurator__delay-configurator\">\n <label>\n Пауза в Ñек\n <br/>\n <input value={parseFloat(seconds)} type=\"number\" step={0.1} onChange={this.onChangeSeconds} />\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default DelayConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass MicdetectorConfigurator extends BaseConfigurator {\n onChangeSeconds = (event) => {\n this.updateValue({ seconds: event.target.value});\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Ожидаем звук от микрофона. ЕÑли звука нет в течение указаного времени - Ошибка.\n </div>\n );\n };\n\n render() {\n const { seconds } = this.state;\n return (\n <div className=\"scenario-configurator__micdetector-configurator\">\n <label>\n Ð’Ñ€ÐµÐ¼Ñ Ð¾Ð¶Ð¸Ð´Ð°Ð½Ð¸Ñ (Ñек.)\n <input value={seconds} type=\"text\" onChange={this.onChangeSeconds} />\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default MicdetectorConfigurator;\n","import React from 'react';\n\nclass KeyValue extends React.Component {\n addRow = () => {\n const { rows, onChange } = this.props;\n const id = rows.length ? rows[rows.length - 1].id + 1 : 1;\n onChange([...rows, { id: id, name: '', value: '' }]);\n };\n\n onClickRemove = (row) => {\n const { rows, onChange } = this.props;\n const newRows = _.filter(rows, r => r.id !== row.id);\n onChange(newRows);\n };\n\n onChangeRow = (row) => {\n const { rows, onChange } = this.props;\n const newRows = [...rows];\n const newRow = newRows.find(r => r.id === row.id);\n newRow.name = row.name;\n newRow.value = row.value;\n onChange(newRows)\n };\n\n renderRows = (rows) => {\n return rows.map(row =>\n <div className=\"scenario-key-value__row\" key={row.id}>\n <div className=\"scenario-key-value__row-name\">\n <input\n type=\"text\"\n placeholder=\"ИмÑ\"\n value={row.name}\n onChange={(event) => this.onChangeRow({ ...row, name: event.target.value })}\n />\n </div>\n <div className=\"scenario-key-value__row-value\">\n <input\n type=\"text\"\n placeholder=\"Значение\"\n value={row.value}\n onChange={(event) => this.onChangeRow({ ...row, value: event.target.value })}\n />\n </div>\n\n <div onClick={() => this.onClickRemove(row)} className=\"scenario-key-value__row-close\">✕</div>\n </div>\n );\n };\n\n render () {\n const { rows } = this.props;\n return (\n <div className=\"scenario-key-value\">\n {this.renderRows(rows)}\n <button onClick={this.addRow}>+</button>\n </div>\n );\n };\n}\n\nexport default KeyValue;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\nimport KeyValue from \"./KeyValue\";\n\nclass VariableConfigurator extends BaseConfigurator {\n onChangeName = (event) => {\n this.updateValue({ name: event.target.value });\n };\n\n onChangeValue = (event) => {\n this.updateValue({ value: event.target.value });\n };\n\n onChangeType = (event) => {\n this.updateValue({ type: event.target.value });\n };\n\n onChangeRows = (rows) => {\n this.updateValue({ rows });\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n УÑтанавливает значение переменной. Ð’ дальнейшем может быть иÑпользовано Ð´Ð»Ñ Ñ‚Ð¾Ð³Ð¾,\n чтобы понÑÑ‚ÑŒ ÐºÐ°ÐºÐ°Ñ Ð²ÐµÑ‚ÐºÐ° была иÑпользована в Ñценарии. Или иÑпользованы в шаблонах {'{{var_name}}'}.\n <br/>\n <br/>\n Так же в поле \"Значение\" могут быть иÑпользованы шаблоны переменных.\n <br/>\n <br/>\n Значение автоматичеÑки конвертируетÑÑ Ð² выбранный тип:\n <br/>\n Строка - указывайте Ñтроку без кавычек.\n <br/>\n ЧиÑло - можно указать как 123 или 123.5.\n <br/>\n ЛогичеÑкий - Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ true или false.\n <br/>\n JSON - Указывайте валидную JSON-Ñтроку.\n </div>\n );\n };\n\n renderTextInput = () => {\n const { value } = this.state;\n return (\n <label>\n Значение\n <textarea value={value} onChange={this.onChangeValue} />\n </label>\n );\n };\n\n renderObjectInput = () => {\n let { rows } = this.state;\n rows = rows || [];\n return (\n <label>\n Объект\n <KeyValue\n rows={rows}\n onChange={this.onChangeRows}\n />\n </label>\n );\n };\n\n renderValueInput = () => {\n const { type } = this.state;\n\n if (type === 'json_object') {\n return this.renderObjectInput();\n }\n\n return this.renderTextInput();\n };\n\n render() {\n const { name, type } = this.state;\n return (\n <div className=\"scenario-configurator__variable-configurator\">\n <label>\n ИмÑ\n <input value={name} type=\"text\" onChange={this.onChangeName} />\n </label>\n\n <label>\n Тип\n <select value={type} onChange={this.onChangeType}>\n <option value=\"string\">Строка</option>\n <option value=\"number\">ЧиÑло</option>\n <option value=\"boolean\">ЛогичеÑкий</option>\n <option value=\"json\">JSON</option>\n <option value=\"json_object\">JSON (объект)</option>\n </select>\n </label>\n\n {this.renderValueInput()}\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default VariableConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass SuccessConfigurator extends BaseConfigurator {\n\n render() {\n return (\n <div className=\"scenario-configurator__success-configurator\">\n УÑпех!\n </div>\n );\n }\n}\n\nexport default SuccessConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass EndConfigurator extends BaseConfigurator {\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Завершает звонок.\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__end-configurator\">\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default EndConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\nimport Ports from './Ports';\nimport SayOrPlay from './SayOrPlay';\n\nclass IVRConfigurator extends BaseConfigurator {\n onChangeOutputType = (value) => {\n this.updateValue({ outputType: value });\n };\n\n onChangeQuestion = (value) => {\n this.updateValue({ question: value });\n };\n\n onChangeVoice = (value) => {\n this.updateValue({ voice: value });\n };\n\n onChangeUrl = (value) => {\n this.updateValue({ url: value });\n };\n\n onChangeRetryCount = (event) => {\n this.updateValue({ retryCount: event.target.value });\n };\n\n onChangeRetryOutputType = (value) => {\n this.updateValue({ retryOutputType: value });\n };\n\n onChangeRetryText = (value) => {\n this.updateValue({ retryText: value });\n };\n\n onChangeRetryVoice = (value) => {\n this.updateValue({ retryVoice: value });\n };\n\n onChangeRetryUrl = (value) => {\n this.updateValue({ retryUrl: value });\n };\n\n onChangePort = (port, tone) => {\n const ports = [...this.state.ports];\n ports.find(p => p.name === port.name).tone = tone;\n\n this.updateValue({ ports: ports });\n };\n\n onChangePorts = (ports) => {\n this.updateValue({ ports: ports });\n };\n\n newPort = () => {\n const count = this.state.ports.length + 1;\n return {\n title: `Порт ${count}`,\n name: `out${count}`,\n tone: '1'\n };\n };\n\n renderPort = (port) => {\n return this.renderTonePicker(port);\n };\n\n renderTonePicker = (port) => {\n const tones = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '*', '#'];\n return (\n <select value={port.tone} onChange={event => this.onChangePort(port, event.target.value)}>\n {tones.map(tone =>\n <option value={tone} key={tone}>{tone}</option>\n )}\n </select>\n );\n };\n\n renderQuestion = () => {\n const { outputType, question, voice, url } = this.state;\n return (\n <>\n <h3>ВопроÑ</h3>\n\n <SayOrPlay\n outputType={outputType}\n text={question}\n voice={voice}\n url={url}\n onChangeOutputType={this.onChangeOutputType}\n onChangeVoice={this.onChangeVoice}\n onChangeText={this.onChangeQuestion}\n onChangeUrl={this.onChangeUrl}\n />\n </>\n );\n };\n\n renderRetry = () => {\n const { retryCount, retryOutputType, retryText, retryVoice, retryUrl } = this.state;\n const retryCounts = [0, 1, 2, 3];\n return (\n <div className=\"scenario-configurator__retry\">\n <h3>Повтор при ошибке</h3>\n <label>\n КоличеÑтво повторов при ошибке\n <select value={retryCount} onChange={this.onChangeRetryCount}>\n {retryCounts.map(count =>\n <option key={count} value={count}>{count}</option>\n )}\n </select>\n </label>\n\n <SayOrPlay\n outputType={retryOutputType}\n text={retryText}\n voice={retryVoice}\n url={retryUrl}\n onChangeOutputType={this.onChangeRetryOutputType}\n onChangeVoice={this.onChangeRetryVoice}\n onChangeText={this.onChangeRetryText}\n onChangeUrl={this.onChangeRetryUrl}\n />\n </div>\n );\n };\n\n renderPorts = () => {\n const { ports } = this.state;\n const { node } = this.props;\n return (\n <>\n <h3>Варианты ответа</h3>\n <Ports\n ports={ports}\n node={node}\n newPort={this.newPort}\n renderPort={this.renderPort}\n onChangePorts={this.onChangePorts}\n />\n </>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n ЗадаетÑÑ Ð²Ð¾Ð¿Ñ€Ð¾Ñ Ð½Ð° который ожидаетÑÑ Ð½Ð°Ð¶Ð°Ñ‚Ð¸Ðµ одной кнопки в тоновом режиме.\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__menu-configurator\">\n {this.renderQuestion()}\n {this.renderRetry()}\n {this.renderPorts()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default IVRConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\nimport Ports from './Ports';\nimport SayOrPlay from './SayOrPlay';\nimport VariantsInput from './VariantsInput';\nimport { connect } from \"react-redux\";\nimport {\n getFeatures\n} from 'store/features';\n\nclass MenuConfigurator extends BaseConfigurator {\n onChangeOutputType = (value) => {\n this.updateValue({ outputType: value });\n };\n\n onChangeQuestion = (value) => {\n this.updateValue({ question: value });\n };\n\n onChangeVoice = (value) => {\n this.updateValue({ voice: value });\n };\n\n onChangeUrl = (value) => {\n this.updateValue({ url: value });\n };\n\n onChangeAsrDelay = (event) => {\n this.updateValue({ asrDelay: event.target.value });\n };\n\n onChangeSilenceDuration = (event) => {\n this.updateValue({ silenceDuration: event.target.value });\n };\n\n onChangeSilenceTimeout = (event) => {\n this.updateValue({ silenceTimeout: event.target.value });\n };\n\n onChangeInterrupting = (event) => {\n this.updateValue({ interrupting: event.target.checked });\n };\n\n onChangeAsrFiller = (event) => {\n this.updateValue({ asrFiller: event.target.checked });\n };\n\n onChangeRetryCount = (event) => {\n this.updateValue({ retryCount: event.target.value });\n };\n\n onChangeRetryOutputType = (value) => {\n this.updateValue({ retryOutputType: value });\n };\n\n onChangeRetryText = (value) => {\n this.updateValue({ retryText: value });\n };\n\n onChangeRetryVoice = (value) => {\n this.updateValue({ retryVoice: value });\n };\n\n onChangeRetryUrl = (value) => {\n this.updateValue({ retryUrl: value });\n };\n\n onChangeRetryAsrDelay= (event) => {\n this.updateValue({ retryAsrDelay: event.target.value });\n };\n\n onChangeStoreAnswers = (event) => {\n this.updateValue({ storeAnswers: event.target.checked });\n };\n\n onChangeAnswerPrefix = (event) => {\n this.updateValue({ answerPrefix: event.target.value });\n };\n\n onChangePort = (port, variants) => {\n const ports = [...this.state.ports];\n ports.find(p => p.name === port.name).variants = variants;\n\n this.updateValue({ ports: ports });\n };\n\n onChangeIntent = (port, intent) => {\n const ports = [...this.state.ports];\n ports.find(p => p.name === port.name).intent = intent;\n\n this.updateValue({ ports: ports });\n };\n\n onChangePorts = (ports) => {\n this.updateValue({ ports: ports });\n };\n\n newPort = () => {\n const count = this.state.ports.length + 1;\n return {\n title: `Порт ${count}`,\n name: `out${count}`,\n simple: true,\n variants: [],\n intent: ''\n };\n };\n\n renderPort = (port) => {\n if (this.state.intentBased) {\n return (\n <textarea value={port.intent} onChange={event => this.onChangeIntent(port, event.target.value)} />\n );\n }\n\n return (\n <>\n {port.simple &&\n <VariantsInput\n value={port.variants}\n onChange={value => this.onChangePort(port, value)}\n />\n }\n\n {!port.simple &&\n <textarea value={port.variants} onChange={event => this.onChangePort(port, event.target.value)} />\n }\n </>\n );\n };\n\n renderQuestion = () => {\n const { outputType, question, voice, url, asrDelay } = this.state;\n return (\n <>\n <h3>ВопроÑ</h3>\n\n <SayOrPlay\n outputType={outputType}\n text={question}\n voice={voice}\n url={url}\n onChangeOutputType={this.onChangeOutputType}\n onChangeVoice={this.onChangeVoice}\n onChangeText={this.onChangeQuestion}\n onChangeUrl={this.onChangeUrl}\n />\n\n <label>\n Ðачало раÑÐ¿Ð¾Ð·Ð½Ð°Ð²Ð°Ð½Ð¸Ñ Ð² Ñек от начала\n <br/>\n <input type=\"number\" step=\"0.1\" min=\"0\" value={asrDelay} onChange={this.onChangeAsrDelay} />\n </label>\n </>\n );\n };\n\n renderSilenceDuration = () => {\n const { silenceDuration } = this.state;\n return (\n <>\n <label>\n Ð’Ñ€ÐµÐ¼Ñ Ð¼Ð¾Ð»Ñ‡Ð°Ð½Ð¸Ñ Ð´Ð»Ñ Ð·Ð°Ð²ÐµÑ€ÑˆÐµÐ½Ð¸Ñ Ñ€Ð°ÑÐ¿Ð¾Ð·Ð½Ð°Ð²Ð°Ð½Ð¸Ñ Ð² Ñек (не Ñтавить 0, рек 1)\n <br/>\n <input type=\"number\" step=\"0.1\" min=\"0\" value={silenceDuration} onChange={this.onChangeSilenceDuration} />\n </label>\n </>\n );\n };\n\n renderSilenceTimeout = () => {\n const { silenceTimeout } = this.state;\n return (\n <>\n <label>\n Ð’Ñ€ÐµÐ¼Ñ Ð¼Ð¾Ð»Ñ‡Ð°Ð½Ð¸Ñ Ð±ÐµÐ· ответа в Ñек (рек 8)\n <br/>\n <input type=\"number\" step=\"0.1\" min=\"0\" value={silenceTimeout} onChange={this.onChangeSilenceTimeout} />\n </label>\n </>\n );\n };\n\n renderInterrupting = () => {\n const { interrupting } = this.state;\n return (\n <>\n <label>\n <input type=\"checkbox\" checked={interrupting} onChange={this.onChangeInterrupting} />\n Перебивание вопроÑа абонентом\n </label>\n </>\n );\n };\n\n renderAsrFiller = () => {\n const { asrFiller } = this.state;\n return (\n <>\n <label>\n <input type=\"checkbox\" checked={asrFiller} onChange={this.onChangeAsrFiller} />\n Добавить звук Ð¿ÐµÑ‡Ð°Ñ‚Ð°Ð½Ð¸Ñ Ð´Ð»Ñ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ Ð¿Ð°ÑƒÐ·Ñ‹ раÑпознаваниÑ\n </label>\n </>\n );\n };\n\n renderRetry = () => {\n const { retryCount, retryOutputType, retryText, retryVoice, retryUrl, retryAsrDelay } = this.state;\n const retryCounts = [0, 1, 2, 3];\n return (\n <div className=\"scenario-configurator__retry\">\n <h3>Повтор при ошибке</h3>\n <label>\n КоличеÑтво повторов при ошибке\n <select value={retryCount} onChange={this.onChangeRetryCount}>\n {retryCounts.map(count =>\n <option key={count} value={count}>{count}</option>\n )}\n </select>\n </label>\n\n <SayOrPlay\n outputType={retryOutputType}\n text={retryText}\n voice={retryVoice}\n url={retryUrl}\n onChangeOutputType={this.onChangeRetryOutputType}\n onChangeVoice={this.onChangeRetryVoice}\n onChangeText={this.onChangeRetryText}\n onChangeUrl={this.onChangeRetryUrl}\n />\n\n <label>Ðачало раÑÐ¿Ð¾Ð·Ð½Ð°Ð²Ð°Ð½Ð¸Ñ Ð² Ñек от начала\n <input type=\"number\" step=\"0.1\" min=\"0\" value={retryAsrDelay} onChange={this.onChangeRetryAsrDelay} />\n </label>\n </div>\n );\n };\n\n renderPorts = () => {\n const { ports } = this.state;\n const { node } = this.props;\n return (\n <>\n <h3>Варианты ответа</h3>\n <p>\n Во фразе можно иÑпользовать <strong>*</strong> - обозначает пропущенные Ñлова.\n </p>\n <Ports\n ports={ports}\n node={node}\n newPort={this.newPort}\n renderPort={this.renderPort}\n onChangePorts={this.onChangePorts}\n />\n </>\n );\n };\n\n renderAnswerPrefix = () => {\n const { storeAnswers, answerPrefix } = this.state;\n return (\n <>\n <label>\n <input type=\"checkbox\" checked={storeAnswers} onChange={this.onChangeStoreAnswers} />\n СохранÑÑ‚ÑŒ ответы в переменные\n </label>\n\n {storeAnswers &&\n <label>\n ÐŸÑ€ÐµÑ„Ð¸ÐºÑ Ð´Ð»Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ñ‹Ñ…\n <input value={answerPrefix} type=\"text\" onChange={this.onChangeAnswerPrefix} />\n </label>\n }\n </>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n ЗадаетÑÑ Ð²Ð¾Ð¿Ñ€Ð¾Ñ Ð½Ð° который ожидаетÑÑ Ð¾Ñ‚Ð²ÐµÑ‚ голоÑом.\n <br/>\n <br/>\n РаÑпознанный ответ проверÑетÑÑ Ð½Ð° ÑоответÑтвие портам поÑледовательно.\n ЕÑли не нашлоÑÑŒ ÑÐ¾Ð²Ð¿Ð°Ð´ÐµÐ½Ð¸Ñ - ÑовершаетÑÑ Ð¿ÐµÑ€ÐµÑ…Ð¾Ð´ по выходу \"Ошибка\".\n <br/>\n <br/>\n РаÑпознавание речи длитÑÑ ÐºÐ°ÐºÐ¾Ðµ-то времÑ.\n Чтобы абоненту была незаметна пауза - можно добавить звук Ð¿ÐµÑ‡Ð°Ñ‚Ð°Ð½Ð¸Ñ Ð½Ð° клавиатуре. Субьективно Ñто Ñокращает паузу.\n <br/>\n <br/>\n РаÑпознавание платное в ÑоответÑтвии Ñ Ð²Ð°ÑˆÐ¸Ð¼ тарифом.\n </div>\n );\n };\n\n renderIntentFlag = () => {\n const { features } = this.props;\n if (!features || !features.experimental) return;\n\n const { intentBased, intentPrefix } = this.state;\n return (\n <>\n <label>\n <input type=\"checkbox\" checked={intentBased} onChange={e => this.updateValue({ intentBased: e.target.checked })} />\n ПоиÑк по интентам (ÑкÑперимент)\n </label>\n\n {intentBased &&\n <label>\n ÐŸÑ€ÐµÑ„Ð¸ÐºÑ Ð¸Ð½Ñ‚ÐµÐ½Ñ‚Ð¾Ð²\n <input value={intentPrefix} type=\"text\" onChange={e => this.updateValue({ intentPrefix: e.target.value })} />\n </label>\n }\n </>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__menu-configurator\">\n {this.renderQuestion()}\n {this.renderRetry()}\n <h3>Опции</h3>\n {this.renderSilenceDuration()}\n {this.renderSilenceTimeout()}\n {this.renderInterrupting()}\n {this.renderAsrFiller()}\n {this.renderAnswerPrefix()}\n {this.renderIntentFlag()}\n\n {this.renderPorts()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nconst mapStateToProps = state => ({\n features: getFeatures(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(MenuConfigurator);\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\nimport KeyValue from './KeyValue';\n\nclass HttpConfigurator extends BaseConfigurator {\n\n onChangeMethod = (event) => {\n this.updateValue({ method: event.target.value });\n };\n\n onChangeUrl = (event) => {\n this.updateValue({ url: event.target.value });\n };\n\n onChangeHeaders = (headers) => {\n this.updateValue({ headers });\n };\n\n onChangeParams = (params) => {\n this.updateValue({ params });\n };\n\n onChangeBody = (event) => {\n this.updateValue({ body: event.target.value });\n };\n\n onChangeVarName = (event) => {\n this.updateValue({ varName: event.target.value });\n };\n\n renderEndpoint = () => {\n const { method, url } = this.state;\n return (\n <div>\n <h3>Endpoint</h3>\n\n <div className=\"scenario-configurator__http-configurator-endpoint-row\">\n <label style={{ marginRight: '10px' }}>\n Метод\n <select value={method} onChange={this.onChangeMethod}>\n <option value=\"GET\">GET</option>\n <option value=\"POST\">POST</option>\n <option value=\"PUT\">PUT</option>\n <option value=\"DELETE\">DELETE</option>\n </select>\n </label>\n\n <label style={{ flex: 1 }}>\n URL\n <input value={url} type=\"text\" onChange={this.onChangeUrl} style={{ width: '100%' }} />\n </label>\n </div>\n </div>\n );\n };\n\n renderHeaders = () => {\n const { headers } = this.state;\n return (\n <div>\n <h3>Заголовки</h3>\n <KeyValue\n rows={headers}\n onChange={this.onChangeHeaders}\n />\n </div>\n );\n };\n\n renderParams = () => {\n const { params } = this.state;\n return (\n <div>\n <h3>Параметры</h3>\n <KeyValue\n rows={params}\n onChange={this.onChangeParams}\n />\n </div>\n );\n };\n\n renderBody = () => {\n const { method, body } = this.state;\n if (method === 'GET' || method === 'DELETE') return null;\n return (\n <div>\n <h3>Тело запроÑа</h3>\n <textarea value={body} onChange={this.onChangeBody} />\n </div>\n );\n };\n\n renderVarName = () => {\n const { varName } = this.state;\n return (\n <label>\n Ð˜Ð¼Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ Ð´Ð»Ñ Ð¾Ñ‚Ð²ÐµÑ‚Ð° Ñервера\n <input value={varName} type=\"text\" onChange={this.onChangeVarName} />\n </label>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Блок выполнÑет HTTP-Ð·Ð°Ð¿Ñ€Ð¾Ñ Ñ Ð²Ð°ÑˆÐ¸Ð¼Ð¸ наÑтройками.\n <br />\n <br />\n Ð’ полÑÑ… Значение можно иÑпользовать шаблоны переменных. Ðапример, {'{{var_name}}'}.\n <br />\n <br />\n При уÑпешном выполнении запроÑа результат запиÑываетÑÑ Ð² переменную. Важно, чтобы ответ от Ñервера был валидным JSON.\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__http-configurator\">\n {this.renderEndpoint()}\n {this.renderHeaders()}\n {this.renderParams()}\n {this.renderBody()}\n {this.renderVarName()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default HttpConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass SetvalueConfigurator extends BaseConfigurator {\n onChangeKey = (event) => {\n this.updateValue({ key: event.target.value });\n };\n\n onChangeValue = (event) => {\n this.updateValue({ value: event.target.value });\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Делает запиÑÑŒ в общее хранилище.\n <br/>\n <br/>\n Получть данные из хранилища можно в любом Ñценарии.\n <br/>\n <br/>\n Значение в хранилище запиÑываетÑÑ Ð² виде Ñтроки,\n поÑтому нужно не забывать о Ñериализации/деÑериализации при работе.\n </div>\n );\n };\n\n render() {\n const { key, value } = this.state;\n return (\n <div className=\"scenario-configurator__setvalue-configurator\">\n <label>\n ИмÑ\n <input value={key} type=\"text\" onChange={this.onChangeKey} />\n </label>\n\n <label>\n Значение\n <textarea value={value} onChange={this.onChangeValue} />\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default SetvalueConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass GetvalueConfigurator extends BaseConfigurator {\n onChangeKey = (event) => {\n this.updateValue({ key: event.target.value });\n };\n\n onChangeVarName = (event) => {\n this.updateValue({ varName: event.target.value });\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Получает запиÑÑŒ и общего хранилища.\n <br/>\n <br/>\n Результат будет запиÑан в переменну в виде Ñтроки.\n <br/>\n <br/>\n ЕÑли данные будут не найдены в хранилище, тогда вернетÑÑ Ñтрока \"null\".\n </div>\n );\n };\n\n render() {\n const { key, varName} = this.state;\n return (\n <div className=\"scenario-configurator__getvalue-configurator\">\n <label>\n ИмÑ\n <input value={key} type=\"text\" onChange={this.onChangeKey} />\n </label>\n\n <label>\n Ð˜Ð¼Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ Ð´Ð»Ñ Ñ Ñ€ÐµÐ·ÑƒÐ»ÑŒÑ‚Ð°Ñ‚Ð¾Ð¼\n <input value={varName} type=\"text\" onChange={this.onChangeVarName} />\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default GetvalueConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass SendemailConfigurator extends BaseConfigurator {\n\n onChangeFrom = (event) => {\n this.updateValue({ from: event.target.value });\n };\n\n onChangeTo = (event) => {\n this.updateValue({ to: event.target.value });\n };\n\n onChangeSubject = (event) => {\n this.updateValue({ subject: event.target.value });\n };\n\n onChangeText = (event) => {\n this.updateValue({ text: event.target.value });\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Отправка email. Ð’ поле Кому можно указать email'Ñ‹ через запÑтую.\n <br/>\n <br/>\n Чтобы пиÑьма лучше доходили (не попадали в Ñпам) иÑпользуйте Ð°Ð´Ñ€ÐµÑ Ð¾Ñ‚Ð¿Ñ€Ð°Ð²Ð¸Ñ‚ÐµÐ»Ñ scenario@speechrobot.ru.\n <br/>\n <br/>\n Чтобы отправить пиÑьмо абоненту можно иÑпользовать произвольный email отправителÑ, например, email вашей компании.\n </div>\n );\n };\n\n render() {\n const { from, to, subject, text } = this.state;\n return (\n <div className=\"scenario-configurator__sendemail-configurator\">\n <label>\n От кого\n <input value={from} type=\"text\" onChange={this.onChangeFrom} />\n </label>\n\n <label>\n Кому\n <input value={to} type=\"text\" onChange={this.onChangeTo} />\n </label>\n\n <label>\n Тема пиÑьма\n <input value={subject} type=\"text\" onChange={this.onChangeSubject} />\n </label>\n\n <label>\n ТекÑÑ‚ пиÑьма\n <textarea value={text} onChange={this.onChangeText} />\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default SendemailConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass SendsmsConfigurator extends BaseConfigurator {\n\n onChangeFrom = (event) => {\n this.updateValue({ from: event.target.value });\n };\n\n onChangeTo = (event) => {\n this.updateValue({ to: event.target.value });\n };\n\n onChangeText = (event) => {\n this.updateValue({ text: event.target.value });\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Отправка sms. Ð’ поле Кому можно указать телефон.\n <br/>\n <br/>\n Ðомер мобильный Ð¾Ñ‚Ð¿Ñ€Ð°Ð²Ð¸Ñ‚ÐµÐ»Ñ Ð´Ð¾Ð»Ð¶ÐµÐ½ быть куплен\n </div>\n );\n };\n\n render() {\n const { from, to, text } = this.state;\n return (\n <div className=\"scenario-configurator__sendemail-configurator\">\n <label>\n От кого\n <input value={from} type=\"text\" onChange={this.onChangeFrom} />\n </label>\n\n <label>\n Кому\n <input value={to} type=\"text\" onChange={this.onChangeTo} />\n </label>\n\n <label>\n ТекÑÑ‚\n <textarea value={text} onChange={this.onChangeText} />\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default SendsmsConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass TransferConfigurator extends BaseConfigurator {\n onChangePhoneNumber = (event) => {\n this.updateValue({ phoneNumber: event.target.value });\n };\n\n onChangeCallerId = (event) => {\n this.updateValue({ callerId: event.target.value });\n };\n\n onChangeIsSip = (event) => {\n this.updateValue({ isSip: event.target.checked });\n };\n\n onChangeSipRegistration = (event) => {\n this.updateValue({ sipRegistration: event.target.value });\n };\n\n onChangeNotificationText = (event) => {\n this.updateValue({ notificationText: event.target.value });\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n ИÑпользуетÑÑ Ð´Ð»Ñ Ð¿ÐµÑ€ÐµÐ°Ð´Ñ€ÐµÑации звонка.\n <br />\n <br />\n Ð’ поле Ðомере можно иÑпользовать шаблоны переменных.\n <br />\n <br />\n Ð”Ð»Ñ Ð¿ÐµÑ€ÐµÐ°Ð´Ñ€ÐµÑации на SIP отметьте галочку isSIP и вводите номер Ð½Ð°Ñ‡Ð¸Ð½Ð°Ñ Ñ \"sip:\"\n <br />\n <br />\n При необходимоÑти можно указать id SIP-региÑтрации\n <br/>\n <br/>\n Ð’ качеÑтве CallerID Ð´Ð»Ñ Ð¿ÐµÑ€ÐµÐ°Ð´Ñ€ÐµÑации на номер телефона лучше иÑпользовать арендованный номер.\n Ð’ оÑтальных ÑлучаÑÑ… переадреÑÐ°Ñ†Ð¸Ñ Ð¼Ð¾Ð¶ÐµÑ‚ оказатьÑÑ Ð½ÐµÑƒÑпешной.\n </div>\n );\n };\n\n render() {\n const { isSip, phoneNumber, callerId, sipRegistration, notificationText } = this.state;\n return (\n <div className=\"scenario-configurator__transfer-configurator\">\n <label>\n isSip\n <input checked={isSip} type=\"checkbox\" onChange={this.onChangeIsSip} />\n </label>\n\n\n <label>\n Ðомер\n <input value={phoneNumber} type=\"text\" onChange={this.onChangePhoneNumber} />\n </label>\n\n <label>\n CallerId\n <input value={callerId} type=\"text\" onChange={this.onChangeCallerId} />\n </label>\n\n {isSip &&\n <label>\n SIP-региÑтрациÑ\n <input value={sipRegistration} type=\"text\" onChange={this.onChangeSipRegistration} />\n </label>\n }\n\n <label>\n ТекÑÑ‚ оповещениÑ\n <textarea value={notificationText} onChange={this.onChangeNotificationText} />\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default TransferConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\nimport { connect } from 'react-redux';\nimport {\n getAcdQueues,\n loadAcdQueues,\n} from 'store/acd_queues';\n\nclass OperatorConfigurator extends BaseConfigurator {\n componentDidMount() {\n this.props.loadAcdQueues();\n }\n\n onChangeQueue = (event) => {\n this.updateValue({ queue: event.target.value });\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Перевод звонка на оперторов.\n <br/>\n Выберите в какую очередь перевеÑти звонок.\n </div>\n );\n };\n\n render() {\n const { queue } = this.state;\n const { acdQueues } = this.props;\n return (\n <div className=\"scenario-configurator__operator-configurator\">\n <label>\n Очередь\n <select value={queue} onChange={this.onChangeQueue}>\n <option value=\"\">Выберите очередь...</option>\n {acdQueues.map(acdQueue => (\n <option value={acdQueue.id} key={acdQueue.id}>{acdQueue.name}</option>\n ))}\n </select>\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nconst mapStateToProps = state => ({\n acdQueues: getAcdQueues(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadAcdQueues: () => dispatch(loadAcdQueues()),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(OperatorConfigurator);\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass ConditionConfigurator extends BaseConfigurator {\n\n onChangeVar1 = (event) => {\n this.updateValue({ var1: event.target.value});\n };\n\n onChangeVar2 = (event) => {\n this.updateValue({ var2: event.target.value});\n };\n\n onChangeOperation = (event) => {\n this.updateValue({ operation: event.target.value});\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Ð’ завиÑимоÑти от иÑтиноÑти заданного уÑÐ»Ð¾Ð²Ð¸Ñ Ð¿ÐµÑ€ÐµÐ²Ð¾Ð´Ð¸Ñ‚ выполнение ÑÑ†ÐµÐ½Ð°Ñ€Ð¸Ñ Ð² ветку \"Верное\" или \"Ðеверное\".\n <br/>\n <br/>\n Ð’ полÑÑ… \"Значение 1\" и \"Значение 2\" могут быть иÑÑпользованы шаблоны переменных. Ðапример, {'{{var_name}}'}.\n </div>\n );\n };\n\n render() {\n const { var1, var2, operation } = this.state;\n return (\n <div className=\"scenario-configurator__condition-configurator\">\n <label>\n Значение 1\n <input value={var1} type=\"text\" onChange={this.onChangeVar1} />\n </label>\n\n <label>\n ОперациÑ\n <select value={operation} onChange={this.onChangeOperation}>\n <option value=\">\">{'>'}</option>\n <option value=\"<\">{'<'}</option>\n <option value=\"=\">=</option>\n <option value=\"!=\">!=</option>\n </select>\n </label>\n\n <label>\n Значение 2\n <input value={var2} type=\"text\" onChange={this.onChangeVar2} />\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default ConditionConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\nimport Ports from './Ports';\n\nclass ValueswitchConfigurator extends BaseConfigurator {\n onChangeValue = (value) => {\n this.updateValue({ value: value });\n };\n\n onChangePort = (port, condition) => {\n const ports = [...this.state.ports];\n ports.find(p => p.name === port.name).condition = condition;\n\n this.updateValue({ ports: ports });\n };\n\n onChangePorts = (ports) => {\n this.updateValue({ ports: ports });\n };\n\n newPort = () => {\n const count = this.state.ports.length + 1;\n return {\n title: `Порт ${count}`,\n name: `out${count}`,\n condition: ''\n };\n };\n\n renderPort = (port) => {\n return this.renderTonePicker(port);\n };\n\n renderTonePicker = (port) => {\n return (\n <input value={port.condition} type=\"text\" onChange={event => this.onChangePort(port, event.target.value)} style={{ width: '100%' }} />\n );\n };\n\n renderValue = () => {\n const { value } = this.state;\n return (\n <>\n <h3>Значение</h3>\n <input value={value} type=\"text\" onChange={event => this.onChangeValue(event.target.value)} style={{ width: '100%' }} />\n </>\n );\n };\n\n renderPorts = () => {\n const { ports } = this.state;\n const { node } = this.props;\n return (\n <>\n <h3>Варианты ответа</h3>\n <Ports\n ports={ports}\n node={node}\n newPort={this.newPort}\n renderPort={this.renderPort}\n onChangePorts={this.onChangePorts}\n />\n </>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"switch-configurator__menu-configurator\">\n {this.renderValue()}\n {this.renderPorts()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default ValueswitchConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass CommentConfigurator extends BaseConfigurator {\n onChangeValue = (event) => {\n this.updateValue({ value: event.target.value });\n };\n\n onChangeIsLog = (event) => {\n this.updateValue({ isLog: event.target.checked });\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Блок иÑпользуетÑÑ Ð´Ð»Ñ ÐºÐ¾Ð¼Ð¼ÐµÐ½Ñ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ ÑƒÑ‡Ð°Ñтков или Ð´Ð»Ñ Ð¾Ñ‚Ð»Ð°Ð´ÐºÐ¸.\n <br/>\n <br/>\n ЕÑли указана \"Выводить в лог\", то текÑÑ‚ ÐºÐ¾Ð¼Ð¼ÐµÐ½Ñ‚Ð°Ñ€Ð¸Ñ Ð±ÑƒÐ´ÐµÑ‚ выведен в логе звонка.\n <br/>\n <br/>\n Также может быть иÑпользован Ð´Ð»Ñ Ð¾Ð±ÑŠÐµÐ´Ð¸Ð½ÐµÐ½Ð¸Ñ Ð¿ÐµÑ€ÐµÑ…Ð¾Ð´Ð¾Ð² в одну точку.\n </div>\n );\n };\n\n render() {\n const { value, isLog } = this.state;\n return (\n <div className=\"scenario-configurator__comment-configurator\">\n <label>\n Комментарий\n <textarea value={value} onChange={this.onChangeValue} />\n </label>\n\n <label>\n <input type=\"checkbox\" checked={isLog} onChange={this.onChangeIsLog} />\n Выводить в лог\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default CommentConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass RecordConfigurator extends BaseConfigurator {\n\n onChangeWaitSilence = (event) => {\n this.updateValue({ waitSilence: event.target.value });\n };\n\n onChangeUrlVarName = (event) => {\n this.updateValue({ urlVarName: event.target.value });\n };\n\n onChangeNeedSTT = (event) => {\n this.updateValue({ needSTT: event.target.checked });\n };\n\n onChangeTextVarName = (event) => {\n this.updateValue({ textVarName: event.target.value });\n };\n\n onChangeAutoPunctuation = (event) => {\n this.updateValue({ autoPunctuation: event.target.checked });\n };\n\n onChangeAsrFiller = (event) => {\n this.updateValue({ asrFiller: event.target.checked });\n };\n\n renderUrlVarName = () => {\n const { urlVarName } = this.state;\n return (\n <label>\n Ð˜Ð¼Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ Ð´Ð»Ñ URL запиÑи\n <input value={urlVarName} type=\"text\" onChange={this.onChangeUrlVarName} />\n </label>\n );\n };\n\n renderTextVarName = () => {\n const { needSTT, textVarName, autoPunctuation } = this.state;\n return (\n <>\n <label>\n <input type=\"checkbox\" checked={needSTT} onChange={this.onChangeNeedSTT} style={{display: 'inline-block'}}/>\n РаÑпознавать запиÑÑŒ в текÑÑ‚\n </label>\n\n {needSTT &&\n <>\n <label>\n Ð˜Ð¼Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ Ð´Ð»Ñ Ñ€Ð°Ñпознаного текÑта\n <input value={textVarName} type=\"text\" onChange={this.onChangeTextVarName} />\n </label>\n\n <label>\n <input type=\"checkbox\" checked={autoPunctuation} onChange={this.onChangeAutoPunctuation} style={{display: 'inline-block'}}/>\n РаÑпознать Ñ Ð¿ÑƒÐ½ÐºÑ‚ÑƒÐ°Ñ†Ð¸ÐµÐ¹\n </label>\n </>\n }\n </>\n );\n };\n\n renderAsrFiller = () => {\n const { asrFiller, needSTT } = this.state;\n if (!needSTT) return null;\n return (\n <>\n <h3>Заполнение паузы раÑпознаваниÑ</h3>\n <label>\n <input type=\"checkbox\" checked={asrFiller} onChange={this.onChangeAsrFiller} />\n Добавить звук печатаниÑ\n </label>\n </>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n ЗапиÑывает ответ в mp3 файл.\n <br />\n ЗапиÑÑŒ оÑтанавливаетÑÑ, когда человек молчит больше указанного значение (рекомендуем 1-2 Ñек).\n </div>\n );\n };\n\n render() {\n const { waitSilence } = this.state;\n return (\n <div className=\"scenario-configurator__record-configurator\">\n <label>\n Молчать мÑек Ð´Ð»Ñ Ð¾Ñтановки\n <input value={waitSilence} type=\"text\" onChange={this.onChangeWaitSilence} />\n </label>\n\n {this.renderUrlVarName()}\n {this.renderTextVarName()}\n {this.renderAsrFiller()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default RecordConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\nimport { connect } from \"react-redux\";\nimport {\n getFeatures\n} from 'store/features';\n\nclass StatusConfigurator extends BaseConfigurator {\n\n onChangeStatusName = (event) => {\n this.updateValue({ statusName: event.target.value });\n };\n\n onChangeSuccessful = (event) => {\n this.updateValue({ successful: event.target.checked });\n };\n\n onChangeInterval = (event) => {\n this.updateValue({ interval: event.target.value });\n };\n\n renderInterval = () => {\n const { features } = this.props;\n const { successful, interval } = this.state;\n if (!features.experimental || successful) return null;\n\n return (\n <label>\n Интервал до Ñлед попытки (Ñек)\n <input type=\"number\" value={interval} onChange={this.onChangeInterval} required />\n </label>\n );\n };\n\n renderDescription = () => {\n const { features } = this.props;\n return (\n <div className=\"scenario-configurator__description\">\n Ð”Ð»Ñ Ð¸ÑходÑщих звонков знак \"УÑпешный\" обозначает оÑтановку попыток дозвонов.\n {features.experimental &&\n <>\n <br/>\n <br/>\n ЕÑли уÑтановлен интервал отличный от 0, то он будет иÑпользован Ð´Ð»Ñ Ñледующей попытки дозвона.\n </>\n }\n </div>\n );\n };\n\n render() {\n const { statusName, successful } = this.state;\n return (\n <div className=\"scenario-configurator__status-configurator\">\n <label>\n Ð˜Ð¼Ñ ÑтатуÑа\n <input value={statusName} type=\"text\" onChange={this.onChangeStatusName} />\n </label>\n\n <label>\n <input checked={successful} type=\"checkbox\" onChange={this.onChangeSuccessful} />\n УÑпешный\n </label>\n\n {this.renderInterval()}\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nconst mapStateToProps = state => ({\n features: getFeatures(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(StatusConfigurator);\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass ToneinputConfigurator extends BaseConfigurator {\n\n onChangeVarName = (event) => {\n this.updateValue({ varName: event.target.value});\n };\n\n render() {\n const { varName } = this.state;\n return (\n <div className=\"scenario-configurator__variable-configurator\">\n <label>\n Ð˜Ð¼Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸Ñи команды\n <input value={varName} type=\"text\" onChange={this.onChangeVarName} />\n </label>\n </div>\n );\n }\n}\n\nexport default ToneinputConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass WorkingtimeConfigurator extends BaseConfigurator {\n\n onChangeDaysOfWeek = (dayIndex, checked) => {\n const { daysOfWeek } = this.state;\n var newValue;\n\n if (checked) {\n newValue = [...daysOfWeek, dayIndex];\n } else {\n newValue = daysOfWeek.filter(day => day !== dayIndex);\n }\n\n this.updateValue({ daysOfWeek: newValue });\n };\n\n onChangeFromTime = (event) => {\n this.updateValue({ fromTime: event.target.value });\n };\n\n onChangeToTime = (event) => {\n this.updateValue({ toTime: event.target.value });\n };\n\n renderDaysOfWeek = () => {\n const { daysOfWeek } = this.state;\n const daysNames = ['Пн', 'Ð’Ñ‚', 'Ср', 'Чт', 'Пт', 'Сб', 'Ð’Ñ'];\n return (\n <>\n <label>\n Дни недели\n </label>\n\n <div className=\"scenario-configurator__workingtime-configurator-days\">\n {daysNames.map((dayName, index) =>\n <label>\n {dayName}\n <input checked={daysOfWeek.includes(index + 1)} type=\"checkbox\" onChange={event => this.onChangeDaysOfWeek(index + 1, event.target.checked)} />\n </label>\n )}\n </div>\n </>\n );\n };\n\n render() {\n const { fromTime, toTime } = this.state;\n return (\n <div className=\"scenario-configurator__workingtime-configurator\">\n {this.renderDaysOfWeek()}\n\n <label>\n От\n <input type=\"time\" value={fromTime} onChange={this.onChangeFromTime} />\n </label>\n\n <label>\n До\n <input type=\"time\" value={toTime} onChange={this.onChangeToTime} />\n </label>\n </div>\n );\n }\n}\n\nexport default WorkingtimeConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass SenddigitsConfigurator extends BaseConfigurator {\n onChangeDigits = (event) => {\n const value = event.target.value;\n if (!/^[0-9p*#]*$/.test(value)) return;\n this.updateValue({ digits: value });\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n ОтправлÑет тоновый Ñигнал\n </div>\n );\n };\n\n render() {\n const { digits } = this.state;\n return (\n <div className=\"scenario-configurator__senddigits-configurator\">\n <label>\n Сообщение\n <input type=\"text\" value={digits} onChange={this.onChangeDigits} placeholder=\"1234567890*#p\" />\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default SenddigitsConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass AbtestConfigurator extends BaseConfigurator {\n onChangeRatio = (event) => {\n this.updateValue({ ratio: event.target.value});\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Делит звонки в ÑоответÑтие Ñ ÑƒÑтановленным раÑпеделением.\n Рекомендуем поÑле уÑтановить переменную Ñо значение имени ветки Ð´Ð»Ñ Ð´Ð°Ð»ÑŒÐ½ÐµÐ¹ÑˆÐµÐ³Ð¾ анализа.\n </div>\n );\n };\n\n render() {\n const { ratio } = this.state;\n return (\n <div className=\"scenario-configurator__abtest-configurator\">\n <label>\n РаÑпределение\n <div style={{ display: 'flex' }}>\n A = {ratio}%\n <input type=\"range\" min=\"0\" max=\"100\" value={ratio} step=\"5\" onChange={this.onChangeRatio} />\n B = {100-ratio}%\n </div>\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default AbtestConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass DateinputConfigurator extends BaseConfigurator {\n\n onChangeVarName = (event) => {\n this.updateValue({ varName: event.target.value });\n };\n\n renderVarName = () => {\n const { varName } = this.state;\n return (\n <label>\n Ð˜Ð¼Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ Ð´Ð»Ñ Ð¾Ñ‚Ð²ÐµÑ‚Ð° Ñервера\n <input value={varName} type=\"text\" onChange={this.onChangeVarName} />\n </label>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Ввод даты в Ñвободной форме. ЗапиÑывает ввод в формате dd-mm-yyyy в переменную.\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__dateinput-configurator\">\n {this.renderVarName()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default DateinputConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass TimepickerConfigurator extends BaseConfigurator {\n\n onChangeVarName = (event) => {\n this.updateValue({ varName: event.target.value });\n };\n\n onChangeIntervals = (event) => {\n this.updateValue({ intervals: event.target.value });\n };\n\n renderVarName = () => {\n const { varName } = this.state;\n return (\n <label>\n Ð˜Ð¼Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ Ð´Ð»Ñ Ð¾Ñ‚Ð²ÐµÑ‚Ð° Ñервера\n <input value={varName} type=\"text\" onChange={this.onChangeVarName} />\n </label>\n );\n };\n\n renderIntervals = () => {\n const { intervals } = this.state;\n return (\n <label>\n ДоÑтупные интервалы времени\n <input value={intervals} type=\"text\" onChange={this.onChangeIntervals} />\n </label>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Выбор времени в переменную time_interval\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__timepicker-configurator\">\n {this.renderVarName()}\n {this.renderIntervals()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default TimepickerConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass PonytrackConfigurator extends BaseConfigurator {\n\n onChangeVarName = (event) => {\n this.updateValue({ varName: event.target.value });\n };\n\n renderVarName = () => {\n const { varName } = this.state;\n return (\n <label>\n Ð˜Ð¼Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ Ð´Ð»Ñ Ñ‚Ñ€ÐµÐºÐ½Ð¾Ð¼ÐµÑ€Ð°\n <input value={varName} type=\"text\" onChange={this.onChangeVarName} />\n </label>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n Трек-номер будет запиÑан в переменную\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__ponytrack-configurator\">\n {this.renderVarName()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default PonytrackConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass NumberinputConfigurator extends BaseConfigurator {\n\n onChangeVarName = (event) => {\n this.updateValue({ varName: event.target.value });\n };\n\n renderVarName = () => {\n const { varName } = this.state;\n return (\n <label>\n Ð˜Ð¼Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ Ð´Ð»Ñ Ñ‡Ð¸Ñла\n <input value={varName} type=\"text\" onChange={this.onChangeVarName} />\n </label>\n );\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n РаÑпознанное чиÑло будет запиÑано в переменную\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"scenario-configurator__numberinput-configurator\">\n {this.renderVarName()}\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default NumberinputConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass CalllistConfigurator extends BaseConfigurator {\n onChangeAttemptIntervals = (offset, event) => {\n const { attemptIntervals } = this.state;\n attemptIntervals[offset] = event.target.value;\n this.updateValue({ attemptIntervals });\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n\n </div>\n );\n };\n\n render() {\n const { attemptIntervals } = this.state;\n return (\n <div className=\"scenario-configurator__calllist-configurator\">\n <label>\n Интервал 1\n <input value={attemptIntervals[0]} type=\"text\" onChange={e => this.onChangeAttemptIntervals(0, e)} />\n </label>\n\n <label>\n Интервал 2\n <input value={attemptIntervals[1]} type=\"text\" onChange={e => this.onChangeAttemptIntervals(1, e)} />\n </label>\n\n\n <label>\n Интервал 3\n <input value={attemptIntervals[2]} type=\"text\" onChange={e => this.onChangeAttemptIntervals(2, e)} />\n </label>\n\n\n <label>\n Интервал 4\n <input value={attemptIntervals[3]} type=\"text\" onChange={e => this.onChangeAttemptIntervals(3, e)} />\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default CalllistConfigurator;\n","import React from 'react';\nimport BaseConfigurator from './BaseConfigurator';\n\nclass NluConfigurator extends BaseConfigurator {\n onChangeVarName = (event) => {\n this.updateValue({ varName: event.target.value});\n };\n\n onChangeText = (event) => {\n this.updateValue({ text: event.target.value});\n };\n\n onChangeAvatarId = (event) => {\n this.updateValue({ avatarId: event.target.value});\n };\n\n renderDescription = () => {\n return (\n <div className=\"scenario-configurator__description\">\n NLU\n </div>\n );\n };\n\n render() {\n const { varName, text, avatarId } = this.state;\n return (\n <div className=\"scenario-configurator__nlu-configurator\">\n <label>\n AvatarId\n <input value={avatarId} type=\"text\" onChange={this.onChangeAvatarId} />\n </label>\n\n <label>\n Ð˜Ð¼Ñ Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð¾Ð¹ Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸Ñи ответа\n <input value={varName} type=\"text\" onChange={this.onChangeVarName} />\n </label>\n\n <label>\n Значение\n <textarea value={text} onChange={this.onChangeText} />\n </label>\n\n {this.renderDescription()}\n </div>\n );\n }\n}\n\nexport default NluConfigurator;\n","import React from 'react';\nimport StartConfigurator from './configurators/StartConfigurator';\nimport GlobalcontextConfigurator from './configurators/GlobalcontextConfigurator';\nimport OutcomingcallConfigurator from './configurators/OutcomingcallConfigurator';\nimport IncomingcallConfigurator from './configurators/IncomingcallConfigurator';\nimport FailedcallConfigurator from './configurators/FailedcallConfigurator';\nimport DisconnectedcallConfigurator from './configurators/DisconnectedcallConfigurator';\nimport SayorplayConfigurator from './configurators/SayorplayConfigurator';\nimport SayConfigurator from './configurators/SayConfigurator';\nimport PlayConfigurator from './configurators/PlayConfigurator';\nimport DelayConfigurator from './configurators/DelayConfigurator';\nimport MicdetectorConfigurator from './configurators/MicdetectorConfigurator';\nimport VariableConfigurator from './configurators/VariableConfigurator';\nimport SuccessConfigurator from './configurators/SuccessConfigurator';\nimport EndConfigurator from './configurators/EndConfigurator';\nimport IVRConfigurator from './configurators/IVRConfigurator';\nimport MenuConfigurator from './configurators/MenuConfigurator';\nimport HttpConfigurator from './configurators/HttpConfigurator';\nimport SetvalueConfigurator from './configurators/SetvalueConfigurator';\nimport GetvalueConfigurator from './configurators/GetvalueConfigurator';\nimport SendemailConfigurator from './configurators/SendemailConfigurator';\nimport SendsmsConfigurator from './configurators/SendsmsConfigurator';\nimport TransferConfigurator from './configurators/TransferConfigurator';\nimport OperatorConfigurator from './configurators/OperatorConfigurator';\nimport ConditionConfigurator from './configurators/ConditionConfigurator';\nimport ValueswitchConfigurator from './configurators/ValueswitchConfigurator';\nimport CommentConfigurator from './configurators/CommentConfigurator';\nimport RecordConfigurator from './configurators/RecordConfigurator';\nimport StatusConfigurator from './configurators/StatusConfigurator';\nimport ToneinputConfigurator from './configurators/ToneinputConfigurator';\nimport WorkingtimeConfigurator from './configurators/WorkingtimeConfigurator';\nimport SenddigitsConfigurator from './configurators/SenddigitsConfigurator';\nimport AbtestConfigurator from './configurators/AbtestConfigurator';\nimport DateinputConfigurator from './configurators/DateinputConfigurator';\nimport TimepickerConfigurator from './configurators/TimepickerConfigurator';\nimport PonytrackConfigurator from './configurators/PonytrackConfigurator';\nimport NumberinputConfigurator from './configurators/NumberinputConfigurator';\nimport CalllistConfigurator from './configurators/CalllistConfigurator';\nimport NluConfigurator from './configurators/NluConfigurator';\n\nclass Configurator extends React.Component {\n configurators = {\n start: StartConfigurator,\n globalcontext: GlobalcontextConfigurator,\n outcomingcall: OutcomingcallConfigurator,\n incomingcall: IncomingcallConfigurator,\n failedcall: FailedcallConfigurator,\n disconnectedcall: DisconnectedcallConfigurator,\n sayorplay: SayorplayConfigurator,\n play: PlayConfigurator,\n say: SayConfigurator,\n delay: DelayConfigurator,\n micdetector: MicdetectorConfigurator,\n variable: VariableConfigurator,\n http: HttpConfigurator,\n setvalue: SetvalueConfigurator,\n getvalue: GetvalueConfigurator,\n sendemail: SendemailConfigurator,\n sendsms: SendsmsConfigurator,\n nlu: NluConfigurator,\n success: SuccessConfigurator,\n ivr: IVRConfigurator,\n menu: MenuConfigurator,\n transfer: TransferConfigurator,\n operator: OperatorConfigurator,\n senddigits: SenddigitsConfigurator,\n condition: ConditionConfigurator,\n valueswitch: ValueswitchConfigurator,\n comment: CommentConfigurator,\n record: RecordConfigurator,\n status: StatusConfigurator,\n toneinput: ToneinputConfigurator,\n workingtime: WorkingtimeConfigurator,\n abtest: AbtestConfigurator,\n dateinput: DateinputConfigurator,\n timepicker: TimepickerConfigurator,\n ponytrack: PonytrackConfigurator,\n numberinput: NumberinputConfigurator,\n calllist: CalllistConfigurator,\n end: EndConfigurator\n };\n\n onChangeConfig = (config) => {\n this.props.node.config = config;\n this.props.onChangeUnsaved(true);\n };\n\n renderNodeConfigurator = (node) => {\n if (!node) return this.renderTips();\n const component = this.configurators[node.config.blockType];\n return React.createElement(component, {\n key: node.id,\n node: node,\n config: node.config,\n onChangeConfig: this.onChangeConfig\n });\n };\n\n renderTips = () => {\n return (\n <div className=\"scenario-configurator__tips\">\n Сценарий начинаетÑÑ Ñ Ð±Ð»Ð¾ÐºÐ° 'Старт'.\n <br />\n <br />\n СоединÑйте блоки от Выхода ко Входу.\n <br />\n <br />\n Завершайте ветки Ð¡Ñ†ÐµÐ½Ð°Ñ€Ð¸Ñ Ð±Ð»Ð¾ÐºÐ¾Ð¼ Конец, чтобы робот клал трубку в Ñтот момент.\n ЕÑли Сценарий доходит до Выхода не Ñоединенного Ñ Ð´Ñ€ÑƒÐ³Ð¸Ð¼ блоком, на Ñтом меÑте Ñценарий оÑтанавливаетÑÑ,\n но звонок продолжаетÑÑ.\n <br />\n <br />\n Ð’ Сценарии можно иÑпользовать переменные, которые были заданы в таблице на обзвон или через блок ПеременнаÑ.\n Значение переменной вÑтавлÑетÑÑ Ñ‡ÐµÑ€ÐµÐ· {'{{var_name}}'}.\n </div>\n );\n };\n\n render() {\n const { node } = this.props;\n return (\n <div className=\"scenario-configurator\">\n {this.renderNodeConfigurator(node)}\n </div>\n );\n }\n}\n\nexport default Configurator;\n","import React from 'react';\nimport { Prompt } from 'react-router-dom';\n\nclass OnUnload extends React.Component {\n componentDidMount() {\n window.addEventListener('beforeunload', this.handleLeavePage);\n }\n\n componentWillUnmount() {\n window.removeEventListener('beforeunload', this.handleLeavePage);\n }\n\n handleLeavePage = (e) => {\n const { message } = this.props;\n e.returnValue = message; // Gecko, Trident, Chrome 34+\n return message; // Gecko, WebKit, Chrome <34\n }\n\n render() {\n const { message } = this.props;\n return (\n <Prompt\n when={true}\n message={message}\n />\n );\n }\n}\n\nexport default OnUnload;","import React from 'react';\nimport Controls from './controls/Controls';\nimport Panel from './Panel';\nimport Diagram from './Diagram';\nimport Map from './Map';\nimport Configurator from './Configurator';\nimport OnUnload from 'components/OnUnload';\n\nclass Scenario extends React.Component {\n state = {\n diagram: null,\n currentNode: null,\n unsaved: false\n };\n\n onChangeUnsaved = (value) => {\n this.setState({ unsaved: value });\n };\n\n saveScenario = (updatedScenario) => {\n this.onChangeUnsaved(false);\n this.props.updateScenario(updatedScenario);\n };\n\n componentDidMount() {\n const diagram = new Diagram(this.props.scenario.serialized_model)\n this.setState({ diagram })\n }\n\n setCurrentNode = (node) => {\n this.setState({ currentNode: node });\n };\n\n render() {\n const { scenario, loading, error, features } = this.props;\n const { diagram, currentNode, unsaved } = this.state;\n return (\n <div className=\"scenario\">\n {unsaved &&\n <OnUnload\n message=\"Ðе вÑе Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ñохранены. Выйти?\"\n />\n }\n\n {diagram &&\n <>\n <Controls\n diagram={diagram}\n scenario={scenario}\n loading={loading}\n error={error}\n unsaved={unsaved}\n updateScenario={this.saveScenario}\n onChangeUnsaved={this.onChangeUnsaved}\n />\n <div className=\"scenario__wrap\">\n <Panel\n scenarioType={scenario.scenario_type}\n features={features}\n />\n\n <Map\n diagram={diagram}\n setCurrentNode={this.setCurrentNode}\n onChangeUnsaved={this.onChangeUnsaved}\n />\n\n <Configurator\n node={currentNode}\n onChangeUnsaved={this.onChangeUnsaved}\n />\n </div>\n </>\n }\n </div>\n );\n }\n}\n\nexport default Scenario;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getScenario,\n getLoading,\n getError,\n loadScenario,\n updateScenario\n} from 'store/scenario';\nimport {\n getFeatures\n} from 'store/features';\nimport Scenario from 'components/scenario/Scenario';\nimport Spinner from 'components/Spinner';\n\nclass ScenarioContainer extends Component {\n componentDidMount() {\n this.props.loadScenario(this.props.scenarioId);\n }\n\n renderScenario = () => {\n const { scenario, loading, error, updateScenario, features } = this.props;\n return (\n <Scenario\n scenario={scenario}\n loading={loading}\n error={error}\n updateScenario={updateScenario}\n features={features}\n />\n );\n };\n\n renderNoScenario = () => {\n const { loading, error } = this.props;\n if (loading) {\n return (<Spinner />);\n }\n\n if (error) {\n return (<div>{error}</div>);\n }\n\n return null;\n };\n\n render() {\n const { scenario } = this.props;\n return scenario ? this.renderScenario() : this.renderNoScenario();\n }\n}\n\nconst mapStateToProps = state => ({\n scenario: getScenario(state),\n loading: getLoading(state),\n error: getError(state),\n features: getFeatures(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadScenario: (id) => dispatch(loadScenario(id)),\n updateScenario: (scenario) => dispatch(updateScenario(scenario))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ScenarioContainer);\n","const formatInterval = (value) => {\n const hours = Math.floor(value / 3600);\n const minutes = Math.floor(value % 3600 / 60);\n const seconds = Math.floor(value % 3600 % 60);\n\n var hDisplay = hours > 0 ? hours + \" ч. \" : \"\";\n var mDisplay = minutes > 0 ? minutes + \" мин. \" : \"\";\n var sDisplay = seconds > 0 ? seconds + \" Ñек.\" : \"\";\n return hDisplay + mDisplay + sDisplay;\n};\n\nexport default formatInterval;","import React from 'react';\nimport KeyValue from 'components/KeyValue';\n\nclass AddTask extends React.Component {\n state = {\n data: []\n };\n\n componentDidMount() {\n const { callList } = this.props;\n const vars = callList.scenario_blocks_variables;\n const data = vars.map((variable, index) => {\n return {\n id: index,\n name: variable,\n value: ''\n };\n });\n\n this.setState({ data });\n }\n\n onClickAdd = () => {\n const data = this.prepareData();\n const { callList, appendTask } = this.props;\n appendTask(callList.id, data);\n };\n\n prepareData = () => {\n return this.state.data.reduce((acc, item) => {\n if (item.name) {\n acc[item.name] = item.value;\n }\n return acc;\n }, {});\n };\n\n onChangeData = (value) => {\n this.setState({ data: value });\n };\n\n renderError = () => {\n const { error } = this.props;\n if (!error) return null;\n\n return (\n <div>\n {error}\n </div>\n );\n };\n\n renderTask = () => {\n const { task, resetTask, onFinish } = this.props;\n // HACK!!\n if (task) {\n setTimeout(() => {\n resetTask();\n onFinish(task);\n }, 0);\n }\n\n return null;\n };\n\n renderKeyValue = () => {\n const { data } = this.state;\n return (\n <KeyValue\n rows={data}\n onChange={this.onChangeData}\n />\n );\n };\n\n renderButtons = () => {\n const { loading } = this.props;\n return (\n <div>\n {loading &&\n <button disabled>Загружаем...</button>\n }\n\n {!loading &&\n <button onClick={this.onClickAdd}>Добавить задание</button>\n }\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"call-list-add-task\">\n <h2>Добавление заданиÑ</h2>\n {this.renderError()}\n {this.renderTask()}\n {this.renderKeyValue()}\n {this.renderButtons()}\n </div>\n );\n }\n}\n\nexport default AddTask;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n appendTask,\n resetTask,\n getTask,\n getError,\n getLoading\n} from 'store/task';\nimport AddTask from 'components/add_task/AddTask';\n\nclass AddTaskContainer extends Component {\n render() {\n const { callList, task, error, loading, appendTask, resetTask, onFinish } = this.props;\n return (\n <AddTask\n callList={callList}\n task={task}\n error={error}\n loading={loading}\n appendTask={appendTask}\n resetTask={resetTask}\n onFinish={onFinish}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n task: getTask(state),\n loading: getLoading(state),\n error: getError(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n appendTask: (callListId, data) => dispatch(appendTask(callListId, data)),\n resetTask: () => dispatch(resetTask())\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AddTaskContainer);\n","import React from 'react';\nimport dayjs from 'dayjs';\nimport ReactJson from \"react-json-view\";\nimport Tip from 'components/Tip';\n\nclass TaskPreview extends React.Component {\n state = {\n showDetail: false\n };\n\n onShowDetail = () => {\n this.setState({ showDetail: true });\n };\n\n onHideDetail = () => {\n this.setState({ showDetail: false });\n };\n\n onClickCancel = (e) => {\n const { task, cancelTask } = this.props;\n cancelTask(task.id);\n };\n\n renderCancelButton = () => {\n const { task } = this.props;\n const canCancel = ['recent', 'pending'].find(s => s === task.status);\n return (\n <div>\n <button className=\"button--danger\" disabled={!canCancel} onClick={this.onClickCancel}>Отменить задачу</button>\n <Tip>\n Отменить можно только еÑли ждет повтора или новый\n </Tip>\n </div>\n );\n };\n\n renderDetail = () => {\n const { task } = this.props;\n return (\n <>\n <tr>\n <td colSpan=\"7\">\n <br/>\n {this.renderCancelButton()}\n </td>\n </tr>\n <tr>\n <td colSpan=\"7\">\n <br/>\n Переменные Ð´Ð»Ñ ÑценариÑ:\n <br/>\n <ReactJson\n src={task.data}\n name={null}\n collapsed={false}\n enableClipboard={false}\n displayObjectSize={false}\n displayDataTypes={false}\n />\n </td>\n </tr>\n </>\n );\n };\n\n renderRow = () => {\n const { showDetail } = this.state;\n const { task } = this.props;\n return (\n <tr key={task.id} className=\"call-list-tasks__row\">\n <td>\n {task.id}\n </td>\n\n <td>\n {this.renderStatusCell(task)}\n </td>\n\n <td>\n {this.renderPhoneNumber()}\n </td>\n\n <td>\n {task.attempts}\n </td>\n\n <td>\n {task.last_attempt_at && dayjs(task.last_attempt_at).format('H:mm:ss D MMM YY')}\n </td>\n\n <td>\n {this.renderTimes(task)}\n </td>\n\n <td style={{width: '1px'}}>\n {showDetail &&\n <button className=\"button--secondary\" onClick={this.onHideDetail}>Скрыть</button>\n }\n\n {!showDetail &&\n <button className=\"button--secondary\" onClick={this.onShowDetail}>Подробнее</button>\n }\n </td>\n </tr>\n );\n };\n\n renderTimes = (task) => {\n return (\n <span>\n Запланировано на: {task.next_attempt_at && dayjs(task.next_attempt_at).format('H:mm:ss D MMM YY')}\n <br/>\n Можно звонить: {task.execution_from || '00:00:00'} - {task.execution_to || '24:00:00'}\n </span>\n );\n };\n\n renderStatusCell = (task) => {\n var klass = 'call-list-tasks__status ';\n var title;\n switch (task.status) {\n case 'pending': {\n title = 'Ожидает повтора'\n klass += 'call-list-tasks__status--pending';\n break;\n }\n case 'processed': {\n title = 'Обработан'\n klass += 'call-list-tasks__status--processed';\n break;\n }\n\n case 'in_progress': {\n title = 'Идет звонок'\n klass += 'call-list-tasks__status--in-progress';\n break;\n }\n\n case 'canceled': {\n title = 'Отменен'\n klass += 'call-list-tasks__status--canceled';\n break;\n }\n\n default: {\n title = 'Ðовый'\n klass += 'call-list-tasks__status--recent';\n }\n }\n\n return (\n <div className={klass}>\n {title}\n </div>\n );\n };\n\n renderPhoneNumber = () => {\n const { task } = this.props;\n\n return (\n <>\n {task.data.phone_number}\n </>\n );\n };\n\n render() {\n const { showDetail } = this.state;\n return (\n <>\n {this.renderRow()}\n {showDetail && this.renderDetail()}\n </>\n );\n }\n}\n\nexport default TaskPreview;\n","import React from 'react';\nimport Paginator from 'components/Paginator';\nimport Tip from 'components/Tip';\nimport TaskPreview from './TaskPreview';\n\nclass Tasks extends React.Component {\n\n onChangePage = (value) => {\n this.props.loadTasks(value);\n };\n\n renderRows = (tasks) => {\n const { cancelTask } = this.props;\n return tasks.map(task =>\n <TaskPreview\n key={task.id}\n task={task}\n cancelTask={cancelTask}\n />\n );\n };\n\n renderPaginator = () => {\n const { page, maxPages, totalTasks } = this.props;\n return (\n <div className=\"call-list-tasks__paginator\">\n <Paginator\n page={page}\n maxPages={maxPages}\n total={totalTasks}\n onChange={this.onChangePage}\n />\n </div>\n );\n };\n\n renderStatusTip = () => {\n return (\n <Tip>\n СоÑтоÑние\n Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð¾Ð±Ð·Ð²Ð¾Ð½Ð°.\n <br/>\n <br/>\n Ðовый - еще не было звонка по заданию.\n <br/>\n <br/>\n Идет звонок - ÑовершаетÑÑ Ð·Ð²Ð¾Ð½Ð¾Ðº на номер.\n <br/>\n <br/>\n Ожидает повтора - уже были звонки. Ждет повторного звонка.\n <br/>\n <br/>\n Обработан - задание завершено уÑпешно или закончилиÑÑŒ попытки звонков.\n </Tip>\n );\n };\n\n renderTimeTip = () => {\n return (\n <Tip>\n Каждое задание запланировано на определенное времÑ, но обрабатываетÑÑ Ð² указанное кол-во потоков.\n ПоÑтому может быть обработано позже.\n <br/>\n <br/>\n ЕÑли необходимо ограничить Ð²Ñ€ÐµÐ¼Ñ Ð¾Ð±Ð·Ð²Ð¾Ð½Ð°, например, нужно звонить только в рабочее времÑ,\n то можно при загрузке Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð½Ð° обзон указать Ð¿Ð¾Ð»Ñ <strong>__execution_from</strong> и <strong>__execution_to</strong>.\n Формате времени HH:MM по МоÑковÑкому времени.\n <br/>\n <br/>\n Планируемое Ð²Ñ€ÐµÐ¼Ñ Ñтарта Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð¼Ð¾Ð¶Ð½Ð¾ так же указать в параметре <strong>__start_at</strong>.\n Формат YYYY-mm-dd HH:MM:SS. Ðапример, 2020-12-01 12:13:12 по МоÑковÑкому времени.\n </Tip>\n );\n };\n\n render() {\n const { tasks } = this.props;\n return (\n <div className=\"call-list-tasks\">\n <table>\n <tbody>\n <tr>\n <th>Id</th>\n <th>СоÑтоÑние {this.renderStatusTip()}</th>\n <th>Телефон</th>\n <th>Совершено попыток</th>\n <th>ПоÑледнÑÑ Ð¿Ð¾Ð¿Ñ‹Ñ‚ÐºÐ°</th>\n <th>Ð’Ñ€ÐµÐ¼Ñ {this.renderTimeTip()}</th>\n <th></th>\n </tr>\n {this.renderRows(tasks)}\n </tbody>\n </table>\n\n {this.renderPaginator()}\n </div>\n );\n }\n}\n\nexport default Tasks;\n","import React from 'react';\nimport _ from 'lodash';\nimport { Bar } from 'react-chartjs-2';\n\nclass Chart extends React.Component {\n round = (number, pecision) => {\n const dec = Math.pow(10, pecision);\n return Math.round(number * dec) / dec;\n };\n\n toPercent = (value, total) => {\n return this.round(value / total * 100, 2);\n };\n\n chartData = (callList) => {\n const groups = callList.detail;\n var groupsEntries = _.sortBy(Object.entries(groups), entry => -entry[1]);\n groupsEntries = groupsEntries.map(entry => [this.humanizeStatus(entry[0]), entry[1]]);\n const total = groupsEntries.reduce((acc, el) => (acc + el[1]), 0);\n const data = groupsEntries.map(entry => entry[1]);\n\n const labels = groupsEntries.map(entry => {\n return `${entry[0]} (${this.toPercent(entry[1], total)}%)`;\n });\n\n return {\n datasets: [{\n data: data,\n backgroundColor: '#00b388',\n }],\n\n labels: labels\n };\n };\n\n humanizeStatus = (status) => {\n var title;\n switch (status) {\n case 'pending': {\n title = 'Ожидает повтора'\n break;\n }\n case 'processed': {\n title = 'Обработан'\n break;\n }\n\n case 'in_progress': {\n title = 'Идет звонок'\n break;\n }\n\n case 'canceled': {\n title = 'Отменен'\n break;\n }\n\n default: {\n title = 'Ðовый'\n }\n }\n\n return title;\n };\n\n renderChart = () => {\n const data = this.chartData(this.props.callList);\n return (\n <Bar\n data={data}\n options={{\n legend: null,\n scales: {\n yAxes: [{\n ticks: {\n min: 0,\n // stepSize: 1\n }\n }]\n }}}\n />\n );\n };\n\n render() {\n return (\n <div className=\"call-list__chart\">\n {this.renderChart()}\n </div>\n );\n }\n}\n\nexport default Chart;\n","import React from 'react';\nimport dayjs from 'dayjs';\nimport { Link } from 'react-router-dom';\nimport formatPhoneNumber from 'utils/formatPhoneNumber';\nimport formatInterval from 'utils/formatInterval';\nimport AddTaskContainer from 'containers/AddTaskContainer';\nimport Modal from 'components/Modal';\nimport Tasks from './Tasks';\nimport Chart from './Chart';\n\nclass CallList extends React.Component {\n state = {\n isOpenModal: false\n };\n\n componentDidMount() {\n this.loadTasks();\n this.props.subscribeCallList();\n this.props.subscribeTasks(this.props.callList.id);\n }\n\n componentWillUnmount() {\n this.props.unsubscribeCallList();\n this.props.unsubscribeTasks();\n }\n\n openModal = () => {\n this.setState({ isOpenModal: true });\n };\n\n closeModal = () => {\n this.setState({ isOpenModal: false });\n };\n\n onFinishAddTask = (task) => {\n this.loadTasks();\n this.closeModal();\n };\n\n onClickAddTask = () => {\n this.openModal();\n };\n\n loadTasks = (page) => {\n this.props.loadTasks(this.props.callList.id, page);\n };\n\n renderModal = () => {\n const { isOpenModal } = this.state;\n const { callList } = this.props;\n return (\n <Modal\n isOpen={isOpenModal}\n onClose={this.closeModal}\n >\n <AddTaskContainer\n callList={callList}\n onFinish={this.onFinishAddTask}\n />\n </Modal>\n );\n };\n\n renderActions = () => {\n const { callList, startCallList, stopCallList, resumeCallList } = this.props;\n const status = callList.status;\n return (\n <div className=\"call-list__actions\">\n <div className=\"call-list__actions-item\">\n {status === 'recent' &&\n <button onClick={startCallList}>ЗапуÑтить</button>\n }\n\n {status === 'in_progress' &&\n <button onClick={stopCallList}>ОÑтановить</button>\n }\n\n {status === 'canceled' &&\n <button onClick={resumeCallList}>Продолжить</button>\n }\n </div>\n\n <div className=\"call-list__actions-item\">\n <button onClick={this.onClickAddTask}>Добавить задание</button>\n </div>\n </div>\n );\n };\n\n renderHeader = () => {\n const { callList } = this.props;\n return (\n <div className=\"call-list__header\">\n <div className=\"call-list__header-row\">\n <div className=\"call-list__meta\">\n Сценарий: <Link to={`/app/scenarios/${callList.scenario_id}`}>\n {callList.scenario_name}\n </Link>\n <br/>\n Телефон: {callList.phone_number_number}\n <br/>\n Лимит попыток дозвона: {callList.max_attempts}\n <br/>\n Параллельных потоков: {callList.max_simultaneous}\n <br/>\n Интервал: {formatInterval(callList.interval)}\n <br/>\n Старт обзвона: {dayjs(callList.start_at).format('H:mm:ss D MMM YY')}\n </div>\n\n <div className=\"call-list__chart\">\n <Chart callList={callList} />\n </div>\n </div>\n\n {this.renderActions()}\n {this.renderModal()}\n </div>\n );\n };\n\n renderName = () => {\n const { callList } = this.props;\n\n return (\n <h1>{`[${callList.status_human}] ${callList.name}`}</h1>\n );\n };\n\n render() {\n const { tasks, page, maxPages, totalTasks, cancelTask } = this.props;\n return (\n <div className=\"call-list\">\n {this.renderName()}\n <div className=\"call-list__wrap\">\n {this.renderHeader()}\n\n <Tasks\n tasks={tasks}\n page={page}\n maxPages={maxPages}\n totalTasks={totalTasks}\n loadTasks={this.loadTasks}\n cancelTask={cancelTask}\n />\n </div>\n </div>\n );\n }\n}\n\nexport default CallList;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getCallList,\n subscribeCallList,\n unsubscribeCallList,\n getLoading,\n getError,\n loadCallList,\n startCallList,\n stopCallList,\n resumeCallList\n} from 'store/call_list';\nimport {\n getTasks,\n loadTasks,\n subscribeTasks,\n unsubscribeTasks,\n getPage,\n getTotalTasks,\n getMaxPages,\n cancelTask\n} from 'store/tasks';\nimport {\n getToken\n} from 'store/auth';\nimport CallList from 'components/call_list/CallList';\nimport Spinner from 'components/Spinner';\n\nclass CallListContainer extends Component {\n componentDidMount() {\n this.props.loadCallList(this.props.callListId);\n }\n\n render() {\n const {\n callList, loading, error, token,\n tasks, page, maxPages, totalTasks, loadTasks,\n subscribeCallList, unsubscribeCallList,\n subscribeTasks, unsubscribeTasks,\n startCallList, stopCallList, resumeCallList,\n cancelTask\n } = this.props;\n return (\n <div>\n {loading &&\n <Spinner/>\n }\n\n {error &&\n <div>{error}</div>\n }\n\n {callList &&\n <CallList\n callList={callList}\n tasks={tasks}\n page={page}\n maxPages={maxPages}\n totalTasks={totalTasks}\n loadTasks={loadTasks}\n cancelTask={cancelTask}\n subscribeCallList={subscribeCallList}\n unsubscribeCallList={unsubscribeCallList}\n subscribeTasks={subscribeTasks}\n unsubscribeTasks={unsubscribeTasks}\n startCallList={startCallList}\n stopCallList={stopCallList}\n resumeCallList={resumeCallList}\n token={token}\n />\n }\n </div>\n );\n }\n}\n\nconst mapStateToProps = state => ({\n callList: getCallList(state),\n loading: getLoading(state),\n error: getError(state),\n tasks: getTasks(state),\n page: getPage(state),\n totalTasks: getTotalTasks(state),\n maxPages: getMaxPages(state),\n token: getToken(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadCallList: (id) => dispatch(loadCallList(id)),\n subscribeCallList: () => dispatch(subscribeCallList()),\n unsubscribeCallList: () => dispatch(unsubscribeCallList()),\n subscribeTasks: (callListId) => dispatch(subscribeTasks(callListId)),\n unsubscribeTasks: () => dispatch(unsubscribeTasks()),\n loadTasks: (callListId, page) => dispatch(loadTasks(callListId, page)),\n startCallList: () => dispatch(startCallList()),\n stopCallList: () => dispatch(stopCallList()),\n resumeCallList: () => dispatch(resumeCallList()),\n cancelTask: (id) => dispatch(cancelTask(id))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(CallListContainer);\n","import React from 'react';\nimport formatPhoneNumber from 'utils/formatPhoneNumber';\nimport Flatpickr from 'react-flatpickr';\nimport { Russian } from 'flatpickr/dist/l10n/ru.js';\n\nclass NewCallList extends React.Component {\n state = {\n error: null,\n name: '',\n scenarioId: '',\n phoneNumberId: '',\n maxAttempts: 1,\n maxSimultaneous: 1,\n interval: 1800,\n startAt: new Date(),\n file: null\n };\n\n componentDidUpdate(prevProps, prevState) {\n if (this.props.scenarios !== prevProps.scenarios && this.props.scenarios.length) {\n this.setState({ scenarioId: this.props.scenarios[0].id });\n }\n\n if (this.props.phoneNumbers !== prevProps.phoneNumbers && this.props.phoneNumbers.length) {\n this.setState({ phoneNumberId: this.props.phoneNumbers[0].id });\n }\n }\n\n onChangeName = (event) => {\n this.setState({ name: event.target.value });\n };\n\n onChangeMaxAttempts = (event) => {\n this.setState({ maxAttempts: event.target.value });\n };\n\n onChangeMaxSimultaneous = (event) => {\n this.setState({ maxSimultaneous: event.target.value });\n };\n\n onChangeInterval = (event) => {\n this.setState({ interval: event.target.value });\n };\n\n onChangeScenario = (event) => {\n this.setState({ scenarioId: event.target.value });\n };\n\n onChangePhoneNumber = (event) => {\n this.setState({ phoneNumberId: event.target.value });\n };\n\n onChangeStartAt = (date) => {\n this.setState({ startAt: date });\n };\n\n onChangeFile = (event) => {\n this.setState({ file: event.target.files[0] });\n };\n\n onSubmit = (event) => {\n event.preventDefault();\n\n const { file, name, maxAttempts, maxSimultaneous, interval, startAt, scenarioId, phoneNumberId } = this.state;\n const options = {\n file, name, maxAttempts, maxSimultaneous, interval, startAt, scenarioId, phoneNumberId\n }\n const request = this.props.importCallList(options);\n\n request\n .then(response => {\n this.props.history.push(`/app/call_lists/${response.id}`);\n })\n .catch(error => {\n this.setState({ error: error });\n });\n };\n\n renderCallListTemplate = () => {\n const { scenarioId } = this.state;\n if (!scenarioId) return null;\n const { token } = this.props;\n const url = `/api/v1/scenarios/${scenarioId}/call_list_template?token=${token}`;\n\n return (\n <div>\n <a href={url} target=\"_blank\">Скачать шаблон файла Ð´Ð»Ñ Ð·Ð°Ð³Ñ€ÑƒÐ·ÐºÐ¸</a>\n </div>\n );\n };\n\n renderScenarioSelect = () => {\n const { scenarios } = this.props;\n const { scenarioId } = this.state;\n return (\n <label>\n Сценарий\n <select value={scenarioId} onChange={this.onChangeScenario} required>\n {scenarios.map(scenario => (\n <option value={scenario.id} key={scenario.id}>\n {scenario.name}\n </option>\n ))}\n </select>\n </label>\n );\n };\n\n renderPhoneNumberSelect = () => {\n const { phoneNumbers } = this.props;\n const { phoneNumberId } = this.state;\n return (\n <label>\n Ðомер телефона\n <select value={phoneNumberId} onChange={this.onChangePhoneNumber} required>\n {phoneNumbers.map(phoneNumber => (\n <option value={phoneNumber.id} key={phoneNumber.id}>\n {phoneNumber.number}\n </option>\n ))}\n </select>\n </label>\n );\n };\n\n renderMaxAttempts = () => {\n const { maxAttempts } = this.state;\n return (\n <label>\n Кол-во попыток\n <select value={maxAttempts} onChange={this.onChangeMaxAttempts} required>\n <option value=\"1\">1</option>\n <option value=\"2\">2</option>\n <option value=\"3\">3</option>\n <option value=\"4\">4</option>\n <option value=\"5\">5</option>\n <option value=\"6\">6</option>\n <option value=\"7\">7</option>\n <option value=\"8\">8</option>\n <option value=\"9\">9</option>\n <option value=\"10\">10</option>\n </select>\n </label>\n );\n };\n\n renderStartAt = () => {\n const { startAt } = this.state;\n return (\n <label>\n Старт обзвона\n\n <Flatpickr\n options={{\n dateFormat: \"H:i d M y\",\n enableTime: true,\n time_24hr: true,\n locale: Russian\n }}\n\n value={startAt}\n onChange={this.onChangeStartAt}\n />\n </label>\n );\n };\n\n renderFileInput = () => {\n return (\n <label>\n Файл xlsx/xls/csv\n\n <input\n type=\"file\"\n onChange={this.onChangeFile}\n accept=\".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel\"\n required\n />\n\n <br />\n {this.renderCallListTemplate()}\n </label>\n );\n };\n\n renderForm = () => {\n const { name, maxSimultaneous, interval } = this.state;\n return (\n <form action=\"#\" onSubmit={this.onSubmit}>\n <label>\n Ð˜Ð¼Ñ Ð¾Ð±Ð·Ð²Ð¾Ð½Ð°\n <input type=\"text\" value={name} onChange={this.onChangeName} required />\n </label>\n\n {this.renderScenarioSelect()}\n {this.renderPhoneNumberSelect()}\n {this.renderMaxAttempts()}\n\n <label>\n Интервал между попытками\n\n <select value={interval} onChange={this.onChangeInterval} required>\n <option value=\"60\">1 минута</option>\n <option value=\"300\">5 минут</option>\n <option value=\"600\">10 минут</option>\n <option value=\"900\">15 минут</option>\n <option value=\"1200\">20 минут</option>\n <option value=\"1800\">30 минут</option>\n <option value=\"2700\">45 минут</option>\n\n <option value=\"3600\">1 чаÑ</option>\n <option value=\"5400\">1 Ñ‡Ð°Ñ 30 минут</option>\n <option value=\"7200\">2 чаÑа</option>\n <option value=\"10800\">3 чаÑа</option>\n <option value=\"14400\">4 чаÑа</option>\n <option value=\"18000\">5 чаÑов</option>\n <option value=\"36000\">10 чаÑов</option>\n <option value=\"54000\">15 чаÑов</option>\n <option value=\"86400\">24 чаÑа</option>\n <option value=\"172800\">48 чаÑов</option>\n </select>\n </label>\n\n <label>\n Параллельных потоков\n <select value={maxSimultaneous} onChange={this.onChangeMaxSimultaneous} required>\n <option value=\"1\">1</option>\n <option value=\"2\">2</option>\n <option value=\"5\">5</option>\n <option value=\"10\">10</option>\n <option value=\"20\">20</option>\n <option value=\"50\">50</option>\n <option value=\"100\">100</option>\n </select>\n </label>\n\n {this.renderStartAt()}\n {this.renderFileInput()}\n\n <p>\n Ð’ таблице обÑзательно Ð¿ÐµÑ€Ð²Ð°Ñ Ñтрока должна быть Ñ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñми Ñтолбцов.\n <br />\n Среди Ñтолбцов обÑзательно должен быть Ñтолбец phone_number. По Ñтому номеру будет произведен звонок.\n <br />\n Ð—Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ð¾Ñтальных Ñтолбцов можно будет иÑпользовать в Сценарии через {'{{var_name}}'}.\n </p>\n\n <button>Создать</button>\n </form>\n );\n };\n\n render() {\n const { error } = this.state;\n return (\n <div className=\"new-call-list\">\n <h1>Ðовый обзвон</h1>\n <div className=\"new-call-list__wrap\">\n {error &&\n <div className=\"new-call-list__error\">{error}</div>\n }\n\n {this.renderForm()}\n </div>\n </div>\n );\n }\n}\n\nexport default NewCallList;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n loadPhoneNumbers,\n getPhoneNumbers,\n} from 'store/phone_numbers';\nimport {\n loadScenarios,\n getScenarios,\n} from 'store/scenarios';\nimport {\n importCallList\n} from 'store/call_lists';\nimport {\n getToken\n} from 'store/auth';\nimport NewCallList from 'components/new_call_list/NewCallList';\n\nclass NewCallListContainer extends Component {\n componentDidMount() {\n this.props.loadScenarios();\n this.props.loadPhoneNumbers();\n }\n\n outcomingScenarios = () => {\n const { scenarios } = this.props;\n return scenarios.filter(scenario => scenario.scenario_type === 'outcoming');\n };\n\n render() {\n const { history, phoneNumbers, token, importCallList } = this.props;\n return (\n <NewCallList\n history={history}\n scenarios={this.outcomingScenarios()}\n phoneNumbers={phoneNumbers}\n token={token}\n importCallList={importCallList}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n scenarios: getScenarios(state),\n phoneNumbers: getPhoneNumbers(state),\n token: getToken(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadScenarios: () => dispatch(loadScenarios()),\n loadPhoneNumbers: () => dispatch(loadPhoneNumbers()),\n importCallList: (options) => dispatch(importCallList(options)),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(NewCallListContainer);\n","import React from 'react';\nimport PhoneInput from 'components/PhoneInput';\n\nclass PhoneNumberVerificator extends React.Component {\n state = {\n phoneNumber: '+7',\n code: ''\n };\n\n onChangePhoneNumber = (value) => {\n this.setState({ phoneNumber: value });\n };\n\n onChangeCode = (event) => {\n this.setState({ code: event.target.value });\n };\n\n onClickRequestVerify = (event) => {\n event.preventDefault();\n this.props.requestPhoneNumberVerifyCode(this.state.phoneNumber);\n };\n\n onClickActivate = (event) => {\n event.preventDefault();\n this.props.activatePhoneNumber(this.state.phoneNumber, this.state.code);\n };\n\n onClickReset = () => {\n this.setState({ phoneNumber: '', code: '' });\n this.props.resetPhoneNumberActivation();\n };\n\n renderFirstStep = () => {\n const { phoneNumber } = this.state;\n const { status, error } = this.props;\n return (\n <form action=\"#\" onSubmit={this.onClickRequestVerify}>\n {error &&\n <div>{error}</div>\n }\n\n Ð”Ð»Ñ Ð¿Ð¾Ð´Ñ‚Ð²ÐµÑ€Ð¶Ð´ÐµÐ½Ð¸Ñ Ð½Ð¾Ð¼ÐµÑ€Ð° мы позвоним на него и продиктуем код.\n <br />\n Подтвердить можно только городÑкой номер.\n <br />\n <br />\n\n <label>\n Ðомер телефона\n <PhoneInput\n value={phoneNumber}\n onChange={this.onChangePhoneNumber}\n required={true}\n />\n </label>\n\n <button disabled={status === 'code_requested'}>ЗапроÑить код</button>\n </form>\n );\n };\n\n renderSecondStep = () => {\n const { code } = this.state;\n const { status, error } = this.props;\n return (\n <>\n <form action=\"#\" onSubmit={this.onClickActivate}>\n {error &&\n <div>{error}</div>\n }\n\n <label>\n Код\n <input type=\"text\" value={code} onChange={this.onChangeCode} />\n </label>\n\n <button disabled={status === 'activate_requested'}>Отправить код</button>\n </form>\n\n <button onClick={this.onClickReset}>Другой номер</button>\n </>\n );\n };\n\n isFirstStep = () => {\n const { status } = this.props;\n return status === null || status === 'code_requested' || status === 'code_error'\n };\n\n render() {\n return (\n <div className=\"phone-numbers-verificator\">\n <h2>Подтверждение номера</h2>\n {this.isFirstStep() ? this.renderFirstStep() : this.renderSecondStep()}\n </div>\n );\n }\n}\n\nexport default PhoneNumberVerificator;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getStatus,\n getError,\n requestPhoneNumberVerifyCode,\n activatePhoneNumber,\n resetPhoneNumberActivation\n} from 'store/phone_number';\nimport PhoneNumberVerificator from 'components/phone_number_verificator/PhoneNumberVerificator';\n\nclass PhoneNumberVerificatorContainer extends Component {\n componentDidUpdate(prevProps, prevState, snapshot) {\n if (this.props.status === 'activate_successful') {\n this.props.resetPhoneNumberActivation();\n this.props.onClose();\n }\n }\n\n render() {\n const { status, error, requestPhoneNumberVerifyCode, activatePhoneNumber, resetPhoneNumberActivation } = this.props;\n return (\n <PhoneNumberVerificator\n status={status}\n error={error}\n requestPhoneNumberVerifyCode={requestPhoneNumberVerifyCode}\n activatePhoneNumber={activatePhoneNumber}\n resetPhoneNumberActivation={resetPhoneNumberActivation}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n status: getStatus(state),\n error: getError(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n requestPhoneNumberVerifyCode: (phoneNumber) => dispatch(requestPhoneNumberVerifyCode(phoneNumber)),\n activatePhoneNumber: (phoneNumber, code) => dispatch(activatePhoneNumber(phoneNumber, code)),\n resetPhoneNumberActivation: () => dispatch(resetPhoneNumberActivation())\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(PhoneNumberVerificatorContainer);\n","import React from 'react';\nimport dayjs from 'dayjs';\nimport Spinner from 'components/Spinner';\nimport Modal from 'components/Modal';\nimport Tip from 'components/Tip';\nimport formatPhoneNumber from 'utils/formatPhoneNumber';\nimport PhoneNumberVerificatorContainer from 'containers/PhoneNumberVerificatorContainer';\nimport { Link } from \"react-router-dom\";\n\nclass PhoneNumbers extends React.Component {\n state = {\n isOpenVerify: false\n };\n\n openVerify = () => {\n this.setState({ isOpenVerify: true });\n };\n\n closeVerify = () => {\n this.setState({ isOpenVerify: false });\n this.props.loadPhoneNumbers();\n };\n\n renderList = () => {\n const { phoneNumbers, loading, error } = this.props;\n\n if (loading) return (<Spinner />);\n if (error) return (<div>{error}</div>);\n\n if (phoneNumbers.length) {\n return this.renderPhoneNumbers(phoneNumbers);\n } else {\n return this.renderEmptyPhoneNumbers();\n }\n };\n\n renderActions = () => {\n return (\n <div className=\"phone-numbers__actions\">\n <button onClick={this.openVerify}>Подтвердить номер</button>\n\n <div className=\"phone-numbers__actions-tip\">\n <Tip>\n Ðомера телефонов Ñ ÐºÐ¾Ñ‚Ð¾Ñ€Ñ‹Ñ… можно оÑущеÑтвлÑÑ‚ÑŒ обзвоны.\n <br/>\n <br/>\n РекомендуетÑÑ Ð¿Ð¾Ð´Ñ‚Ð²ÐµÑ€Ð´Ð¸Ñ‚ÑŒ ÑобÑтвенный номер, чтобы,\n еÑли абонент будет перезванивать, он Ñмог дозвонитьÑÑ Ð´Ð¾ ваÑ.\n Однако по умолчанию доÑтупен номер Ð´Ð»Ñ Ñ‚ÐµÑÑ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ ÑервиÑа.\n <br/>\n <br/>\n Подтвредить можно только городÑкой номер.\n </Tip>\n </div>\n </div>\n );\n };\n\n renderEmptyPhoneNumbers = () => {\n return (\n <div className=\"phone-numbers__empty\">\n У Ð²Ð°Ñ Ð¿Ð¾ÐºÐ° нет ни одного подтвержденного номера.\n </div>\n );\n };\n\n renderPhoneNumbers = (phoneNumbers) => {\n return (\n <div className=\"phone-numbers__list\">\n <table>\n <tbody>\n <tr>\n <th>Ðомер</th>\n <th>\n Тип номера\n <Tip>\n ЕÑли у Ð²Ð°Ñ ÑƒÐ¶Ðµ еÑÑ‚ÑŒ Ñвой номер - его можно иÑпользовать Ð´Ð»Ñ Ð¸ÑходÑщих звоноков.\n Ð”Ð»Ñ Ñтого надо его подтвердить.\n <br/>\n <br/>\n Ð’Ñ‹ можете также купить номер у наÑ. Такой номер так же можно иÑпользовать Ð´Ð»Ñ Ð²Ñ…Ð¾Ð´Ñщих Ñценариев.\n Ð”Ð»Ñ Ð¿Ð¾ÐºÑƒÐ¿ÐºÐ¸ обратитеÑÑŒ в Ñлужбу поддержки.\n </Tip>\n </th>\n <th>\n Cценарий\n <Tip>\n ВходÑщие звонки на Ñтот номер будут привÑзаны на Ñценарий входÑщего звонка.\n <br/>\n <br/>\n ПривÑзать можно только купленные номера. Ð”Ð»Ñ Ñтого обратитеÑÑŒ в Ñлужбу поддержки.\n </Tip>\n </th>\n </tr>\n {phoneNumbers.map(this.renderPhoneNumber)}\n </tbody>\n </table>\n </div>\n );\n };\n\n renderPhoneNumber = (phoneNumber) => {\n return (\n <tr key={phoneNumber.id} className=\"phone-number-preview\">\n <td>{phoneNumber.number}</td>\n <td>\n {this.renderPhoneNumberType(phoneNumber)}\n </td>\n <td>\n {phoneNumber.scenario_id &&\n <Link to={`/app/scenarios/${phoneNumber.scenario_id}`}>{phoneNumber.scenario_name}</Link>\n }\n </td>\n </tr>\n );\n };\n\n renderPhoneNumberType = (phoneNumber) => {\n if (phoneNumber.own) {\n return (\n <>\n СобÑтвенный номер\n </>\n );\n } else {\n if (phoneNumber.verified_until) {\n return (\n <>\n Подтвержден до: {dayjs(phoneNumber.verified_until).format('D MMM YY')}\n </>\n );\n } else {\n return (\n <>\n Подтвержден\n </>\n );\n }\n }\n };\n\n render() {\n const { isOpenVerify } = this.state;\n return (\n <div className=\"phone-numbers\">\n <h1>Телефоные номера</h1>\n <div className=\"phone-numbers__wrap\">\n {this.renderActions()}\n {this.renderList()}\n </div>\n\n <Modal\n isOpen={isOpenVerify}\n onClose={this.closeVerify}\n >\n <PhoneNumberVerificatorContainer\n onClose={this.closeVerify}\n />\n </Modal>\n </div>\n );\n }\n}\n\nexport default PhoneNumbers;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getPhoneNumbers,\n getLoading,\n getError,\n loadPhoneNumbers\n} from 'store/phone_numbers';\nimport PhoneNumbers from 'components/phone_numbers/PhoneNumbers';\n\nclass PhoneNumbersContainer extends Component {\n componentDidMount() {\n this.props.loadPhoneNumbers();\n }\n\n render() {\n const { phoneNumbers, loadPhoneNumbers, loading, error } = this.props;\n return (\n <PhoneNumbers\n phoneNumbers={phoneNumbers}\n loading={loading}\n error={error}\n loadPhoneNumbers={loadPhoneNumbers}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n phoneNumbers: getPhoneNumbers(state),\n loading: getLoading(state),\n error: getError(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadPhoneNumbers: () => dispatch(loadPhoneNumbers())\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(PhoneNumbersContainer);\n","import React from 'react';\nimport { Bar } from 'react-chartjs-2';\nimport Spinner from 'components/Spinner';\n\nclass CallsChart extends React.Component {\n onChangeMeasure = (event) => {\n this.props.onChangeSelectors({ measure: event.target.value });\n };\n\n onChangeProperty = (event) => {\n this.props.onChangeSelectors({ property: event.target.value });\n };\n\n chartData = () => {\n const { callsChart } = this.props;\n return {\n labels: callsChart.categories,\n datasets: callsChart.series.map(item => ({ label: item.name, data: item.data, backgroundColor: '#00b388' }))\n }\n };\n\n renderChart = () => {\n const { callsChart } = this.props;\n if (!callsChart) return;\n const data = this.chartData();\n return (\n <div className=\"calls-chart__chart\">\n <Bar\n data={data}\n options={{\n legend: null,\n scales: {\n yAxes: [{\n ticks: {\n min: 0,\n precision: 0\n }\n }]\n }}}\n />\n </div>\n );\n };\n\n renderCallsChart = () => {\n const { loading, error } = this.props;\n if (loading) return (<Spinner />);\n if (error) return (<div>{error}</div>);\n return this.renderChart();\n };\n\n renderMeasurePicker = () => {\n const { measure } = this.props;\n return (\n <select value={measure} onChange={this.onChangeMeasure}>\n <option value=\"auto\">Ðвто</option>\n <option value=\"days\">По днÑм</option>\n <option value=\"weeks\">По неделÑм</option>\n <option value=\"months\">По меÑÑцам</option>\n </select>\n );\n };\n\n renderPropertyPicker = () => {\n const { property } = this.props;\n return (\n <select value={property} onChange={this.onChangeProperty}>\n <option value=\"count\">КоличеÑтво звонков</option>\n <option value=\"duration\">ДлительноÑÑ‚ÑŒ звонков</option>\n <option value=\"result\">Ð¡Ñ‚Ð°Ñ‚ÑƒÑ Ð·Ð²Ð¾Ð½ÐºÐ¾Ð²</option>\n <option value=\"price\">Цена звонков</option>\n </select>\n );\n };\n\n renderSelectors = () => {\n return (\n <div className=\"calls-chart__selectors\">\n <div className=\"calls-chart__item\">\n {this.renderPropertyPicker()}\n </div>\n\n <div className=\"calls-chart__item\">\n {this.renderMeasurePicker()}\n </div>\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"calls-chart\">\n {this.renderSelectors()}\n {this.renderCallsChart()}\n </div>\n );\n }\n}\n\nexport default CallsChart;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n loadCallsChart,\n getCallsChart,\n getLoading,\n getError,\n} from 'store/calls_chart';\nimport {\n getToken\n} from 'store/auth';\nimport CallsChart from 'components/calls_chart/CallsChart';\n\nclass CallsChartContainer extends Component {\n state = {\n measure: 'days',\n property: 'count'\n };\n\n componentDidMount() {\n this.loadCallsChart();\n }\n\n componentDidUpdate(prevProps, prevState) {\n if (\n this.props.filters !== prevProps.filters\n ) {\n this.loadCallsChart();\n }\n }\n\n loadCallsChart = (option) => {\n const { measure, property } = this.state;\n const { filters } = this.props;\n const options = { ...filters, measure, property, ...option };\n this.props.loadCallsChart(options);\n };\n\n onChangeSelectors = (selector) => {\n this.setState(selector);\n this.loadCallsChart(selector);\n };\n\n render() {\n const { callsChart, loading, error } = this.props;\n const { measure, property } = this.state;\n return (\n <CallsChart\n measure={measure}\n property={property}\n callsChart={callsChart}\n loading={loading}\n error={error}\n onChangeSelectors={this.onChangeSelectors}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n callsChart: getCallsChart(state),\n loading: getLoading(state),\n error: getError(state),\n token: getToken(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadCallsChart: (options) => dispatch(loadCallsChart(options))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(CallsChartContainer);\n","import React from 'react';\nimport RangePicker from 'components/RangePicker';\n\nclass Actions extends React.Component {\n state = {\n callLists: [],\n };\n\n componentDidMount() {\n const { token } = this.props;\n this.props.loadCallLists(token)\n .then(response => {\n this.setState({ callLists: response.data });\n })\n .catch(error => {\n console.log(error);\n });\n }\n\n formatDate = (date) => {\n if (!date) return '';\n return date.toISOString();\n };\n\n onChangeFilters = (option={}) => {\n const { filters } = this.props;\n this.props.onChangeFilters({ ...filters, ...option });\n }\n\n renderDateInput = () => {\n const { filters } = this.props;\n return (\n <div className=\"calls-actions__range\">\n <RangePicker\n range={[filters.startDate, filters.endDate]}\n onChange={(range) => this.onChangeFilters({ startDate: range[0], endDate: range[1] })}\n />\n </div>\n )\n }\n\n renderScenarioSelect = () => {\n const { filters, scenarios } = this.props;\n return (\n <select\n value={filters.scenarioId}\n onChange={(e) => this.onChangeFilters({ scenarioId: e.target.value })}\n className=\"calls-actions__scenario-select\"\n >\n <option value=\"\">Выберите Ñценарий</option>\n {scenarios.map(scenario =>\n <option key={scenario.id} value={scenario.id}>{scenario.name}</option>\n )}\n </select>\n );\n };\n\n renderCallListSelect = () => {\n const { callLists } = this.state;\n const { filters } = this.props;\n return (\n <select\n value={filters.callListId}\n onChange={(e) => this.onChangeFilters({ callListId: e.target.value })}\n className=\"calls-actions__scenario-select\"\n >\n <option value=\"\">Выберите обзвон</option>\n {callLists.map(callList =>\n <option key={callList.id} value={callList.id}>{callList.name}</option>\n )}\n </select>\n );\n };\n\n renderCallIdInput = () => {\n const { callListId } = this.props;\n return (\n <input\n type=\"text\"\n placeholder=\"Ðомер звонка\"\n value={callListId}\n onChange={(e) => this.onChangeFilters({ callId: e.target.value })}\n />\n );\n };\n\n renderReportButton = () => {\n const { filters, token } = this.props;\n const url = `/api/v1/sessions/report?token=${token}&scenario_id=${filters.scenarioId}&call_list_id=${filters.callListId}&operator_id=${filters.operatorId}&from=${this.formatDate(filters.startDate)}&to=${this.formatDate(filters.endDate)}&phone_number=${filters.phoneNumber}&session_id=${filters.callId}`;\n return (\n <a href={url} target=\"_blank\">\n <button>Скачать отчет</button>\n </a>\n );\n };\n\n renderReportMBAButton = () => {\n const { filters, token } = this.props;\n const url = `/api/v1/sessions/report_mba?token=${token}&scenario_id=${filters.scenarioId}&call_list_id=${filters.callListId}&operator_id=${filters.operatorId}&from=${this.formatDate(filters.startDate)}&to=${this.formatDate(filters.endDate)}&phone_number=${filters.phoneNumber}&session_id=${filters.callId}`;\n return (\n <a href={url} target=\"_blank\">\n <button>Отчет MBA</button>\n </a>\n );\n };\n\n renderViewMode = () => {\n const { viewMode, onChangeViewMode } = this.props;\n return (\n <div className=\"calls-actions__view-mode\">\n <label>\n <input type=\"radio\" checked={viewMode === 'list'} onChange={(event => onChangeViewMode('list'))} />\n СпиÑок звонков\n </label>\n\n <label>\n <input type=\"radio\" checked={viewMode === 'chart'} onChange={(event => onChangeViewMode('chart'))} />\n Графики\n </label>\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"calls-actions\">\n <div className=\"calls-actions__item\">\n {this.renderDateInput()}\n </div>\n\n <div className=\"calls-actions__item\">\n {this.renderCallIdInput()}\n </div>\n\n <div className=\"calls-actions__item\">\n {this.renderScenarioSelect()}\n </div>\n\n <div className=\"calls-actions__item\">\n {this.renderCallListSelect()}\n </div>\n\n {/*<div className=\"calls-actions__item\">*/}\n {/* <input type=\"text\" placeholder='Телефон' value={phoneNumber} onChange={onChangePhoneNumber}/>*/}\n {/*</div>*/}\n\n <div className=\"calls-actions__item\">\n {this.renderReportButton()}\n </div>\n\n <div className=\"calls-actions__item\">\n {this.renderReportMBAButton()}\n </div>\n\n {this.renderViewMode()}\n </div>\n );\n }\n}\n\nexport default Actions;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport dayjs from 'dayjs';\nimport OutSuccessful from 'images/call/out-successful.svg';\nimport OutFailed from 'images/call/out-failed.svg';\nimport InSuccessful from 'images/call/in-successful.svg';\nimport InFailed from 'images/call/in-failed.svg';\n\nclass CallPreview extends React.Component {\n state = {\n showDetail: false\n };\n\n onShowDetail = () => {\n this.setState({ showDetail: true });\n };\n\n onHideDetail = () => {\n this.setState({ showDetail: false });\n };\n\n renderResult = (call) => {\n if (!call.result) return null;\n\n return (\n <div className=\"call-preview__result\">\n {call.result}\n </div>\n );\n };\n\n renderCallIcon = (call) => {\n let icon;\n if (call.call_incoming) {\n if (call.call_successful) {\n icon = InSuccessful;\n } else {\n icon = InFailed;\n }\n } else {\n if (call.call_successful) {\n icon = OutSuccessful;\n } else {\n icon = OutFailed;\n }\n }\n\n return (<img src={icon} alt=\"\"/>);\n };\n\n renderNumber = (number) => {\n return number;\n };\n\n renderStartTime = (call) => {\n const time = dayjs(call.start_time);\n return time.format('H:mm:ss D MMM YY');\n };\n\n renderDetail = () => {\n const { call } = this.props;\n return (\n <>\n <tr>\n <td colSpan=\"7\">\n <br/>\n <audio controls src={call.call_record_url} />\n </td>\n </tr>\n\n <tr>\n <td colSpan=\"7\">\n <ul>\n <li>ДлительноÑÑ‚ÑŒ: {call.call_duration} Ñек.</li>\n <li>\n Оператор: {call.operator_username}\n </li>\n\n <li>\n Сценарий: <Link to={`/app/scenarios/${call.scenario_id}`}>{call.scenario_name}</Link>\n </li>\n\n <li>\n Обзвон: <Link to={`/app/call_lists/${call.call_list_id}`}>{call.call_list_name}</Link>\n </li>\n\n <li>Платежи:</li>\n {this.renderPayments(call.payments)}\n\n <li>Логи:</li>\n {this.renderLogs(call.logs)}\n </ul>\n </td>\n </tr>\n </>\n );\n };\n\n renderPayments = (payments) => {\n return (\n <ul>\n {payments.map((payment, index) =>\n <li key={index}>{payment.description}: {payment.value} руб.</li>\n )}\n </ul>\n );\n };\n\n renderLogs = (logs) => {\n const data = logs.data || [];\n return (\n <table style={{ 'table-layout': 'fixed'}}>\n {data.map((log, index) =>\n <tr key={index}>\n <td style={{ width: '11%' }}>{dayjs(log.t).format('H:mm:ss:SSS')}</td>\n <td style={{ 'overflow-wrap': 'break-word' }}>{log.msg}</td>\n </tr>\n )}\n </table>\n );\n };\n\n render() {\n const { showDetail } = this.state;\n const { call } = this.props;\n return (\n <>\n <tr className=\"call-preview\">\n <td>\n {call.id}\n </td>\n\n <td>\n {this.renderCallIcon(call)}\n </td>\n\n <td>\n {this.renderResult(call)}\n </td>\n\n <td>\n {this.renderNumber(call.call_caller_number)}\n </td>\n\n <td>\n {this.renderNumber(call.call_callee_number)}\n </td>\n\n <td>\n {this.renderStartTime(call)}\n </td>\n\n <td style={{width: '1px'}}>\n {showDetail &&\n <button className=\"button--secondary\" onClick={this.onHideDetail}>Скрыть</button>\n }\n\n {!showDetail &&\n <button className=\"button--secondary\" onClick={this.onShowDetail}>Подробнее</button>\n }\n </td>\n </tr>\n\n {showDetail && this.renderDetail()}\n </>\n );\n }\n}\n\nexport default CallPreview;\n","import React from 'react';\nimport Spinner from 'components/Spinner';\nimport Paginator from 'components/Paginator';\nimport Tip from 'components/Tip';\nimport CallPreview from './CallPreview';\n\nclass List extends React.Component {\n renderList = () => {\n const { calls, loading, error } = this.props;\n\n if (loading) return (<Spinner />);\n if (error) return (<div>{error}</div>);\n\n if (calls.length) {\n return this.renderCalls(calls);\n } else {\n return this.renderEmptyCalls();\n }\n };\n\n renderEmptyCalls = () => {\n return (\n <div className=\"calls-list__empty\">\n Звонков не найдено.\n </div>\n );\n };\n\n renderCalls = (calls) => {\n return (\n <table>\n <tbody>\n <tr>\n <th>Id</th>\n <th></th>\n <th>\n СтатуÑ\n <Tip>\n Ð¡Ñ‚Ð°Ñ‚ÑƒÑ Ð·Ð²Ð¾Ð½ÐºÐ° уÑтанавливаетÑÑ Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ блока Ð¡Ñ‚Ð°Ñ‚ÑƒÑ Ð² Ñценарии.\n <br />\n <br />\n ЕÑли блок Ð¡Ñ‚Ð°Ñ‚ÑƒÑ Ð½Ðµ вызывалÑÑ Ð²Ð¾ Ð²Ñ€ÐµÐ¼Ñ Ð·Ð²Ð¾Ð½ÐºÐ°, то ÑÑ‚Ð°Ñ‚ÑƒÑ Ð±ÑƒÐ´ÐµÑ‚ уÑтановлен как\n \"Сценарий выполнен\" - еÑли Ñценарий завершилÑÑ Ð±Ð»Ð¾ÐºÐ¾Ð¼ Конец и \"Сценарий не выполнен\" - еÑли абонент положил трубку раньше.\n </Tip>\n </th>\n <th>От</th>\n <th>Кому</th>\n <th>ВремÑ</th>\n <th></th>\n </tr>\n {calls.map(call => <CallPreview key={call.id} call={call}/>)}\n </tbody>\n </table>\n );\n };\n\n renderPaginator = () => {\n const { page, totalCalls, maxPages, onChangePage } = this.props;\n return (\n <div className=\"calls-list__paginator\">\n <Paginator\n page={page}\n maxPages={maxPages}\n total={totalCalls}\n onChange={onChangePage}\n />\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"calls-list\">\n {this.renderList()}\n {this.renderPaginator()}\n </div>\n );\n }\n}\n\nexport default List;\n","import React from 'react';\nimport dayjs from 'dayjs';\nimport CallsChartContainer from 'containers/CallsChartContainer';\nimport Actions from './Actions';\nimport List from './List';\n\nclass Calls extends React.Component {\n state = {\n viewMode: 'list',\n filters: {\n scenarioId: '',\n callListId: '',\n operatorId: '',\n startDate: dayjs().subtract(6, 'day').startOf('day').toDate(),\n endDate: dayjs().endOf('day').toDate(),\n phoneNumber: '',\n callId: ''\n },\n };\n\n componentDidMount() {\n this.loadCalls();\n }\n\n loadCalls = (option={}) => {\n const { filters } = this.state;\n const { page } = this.props;\n\n const options = { ...filters, page, ...option };\n this.props.loadCalls(options);\n };\n\n onChangeViewMode = (value) => {\n this.setState({ viewMode: value });\n };\n\n onChangeFilters = (newFilters) => {\n this.setState({ filters: newFilters });\n this.loadCalls(newFilters);\n };\n\n onChangePage = (page) => {\n this.loadCalls({ page });\n };\n\n renderActions = () => {\n const { viewMode, filters } = this.state;\n const { scenarios, operators, token, loadCallLists } = this.props;\n return (\n <Actions\n viewMode={viewMode}\n filters={filters}\n scenarios={scenarios}\n operators={operators}\n onChangeViewMode={this.onChangeViewMode}\n onChangeFilters={this.onChangeFilters}\n token={token}\n loadCallLists={loadCallLists}\n />\n );\n };\n\n renderList = () => {\n const { calls, loading, error, page, totalCalls, maxPages } = this.props;\n return (\n <List\n calls={calls}\n loading={loading}\n error={error}\n page={page}\n totalCalls={totalCalls}\n maxPages={maxPages}\n onChangePage={this.onChangePage}\n />\n );\n };\n\n renderChart = () => {\n const { filters } = this.state;\n\n return (\n <CallsChartContainer\n filters={filters}\n />\n );\n };\n\n render() {\n const { viewMode } = this.state;\n return (\n <div className=\"calls\">\n <h1>Звонки</h1>\n <div className=\"calls__wrap\">\n {this.renderActions()}\n {viewMode === 'list' && this.renderList()}\n {viewMode === 'chart' && this.renderChart()}\n </div>\n </div>\n );\n }\n}\n\nexport default Calls;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getCalls,\n getLoading,\n getError,\n getPage,\n getTotalCalls,\n getMaxPages,\n loadCalls\n} from 'store/calls';\nimport {\n getScenarios,\n loadScenarios\n} from 'store/scenarios';\nimport {\n loadCallListsShort\n} from 'api/speechrobot';\nimport {\n getOperators,\n loadOperators\n} from 'store/operators';\nimport {\n getToken\n} from 'store/auth';\nimport Calls from 'components/calls/Calls'\n\nclass CallsContainer extends Component {\n componentDidMount() {\n this.props.loadScenarios();\n // this.props.loadOperators();\n }\n\n render() {\n const {\n calls, page, totalCalls, maxPages, loading, error, loadCalls,\n scenarios, operators, token\n } = this.props;\n return (\n <Calls\n calls={calls}\n page={page}\n totalCalls={totalCalls}\n maxPages={maxPages}\n loading={loading}\n error={error}\n loadCalls={loadCalls}\n scenarios={scenarios}\n operators={operators}\n token={token}\n loadCallLists={loadCallListsShort}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n calls: getCalls(state),\n loading: getLoading(state),\n error: getError(state),\n page: getPage(state),\n totalCalls: getTotalCalls(state),\n maxPages: getMaxPages(state),\n scenarios: getScenarios(state),\n operators: getOperators(state),\n token: getToken(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadCalls: (options) => dispatch(loadCalls(options)),\n loadScenarios: () => dispatch(loadScenarios()),\n loadOperators: () => dispatch(loadOperators()),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(CallsContainer);\n","import React from 'react';\nimport * as VoxImplant from 'voximplant-websdk';\n\nclass ACDStatus extends React.Component {\n state = {\n status: ''\n };\n\n componentDidMount() {\n this.clientEvents();\n }\n\n componentWillUnmount() {\n const voximplant = VoxImplant.getInstance();\n voximplant.off(VoxImplant.Events.ACDStatusUpdated, this.onVIStatusChange);\n }\n\n clientEvents = () => {\n const voximplant = VoxImplant.getInstance();\n voximplant.on(VoxImplant.Events.ACDStatusUpdated, this.onVIStatusChange);\n voximplant.setOperatorACDStatus('READY');\n };\n\n onVIStatusChange = (e) => {\n this.setState({ status: e.status });\n };\n\n onChange = (event) => {\n const status = event.target.value;\n const { client } = this.props;\n this.setState({ status });\n client.setOperatorACDStatus(status);\n };\n\n render() {\n const { status } = this.state;\n return (\n <div className=\"operator__acd-status\">\n <label>СтатуÑ</label>\n\n <select value={status} onChange={this.onChange}>\n <option value=\"OFFLINE\">Ðе на линии</option>\n {/*<option value=\"ONLINE\">Online</option>*/}\n <option value=\"READY\">Ðа линии</option>\n {/*<option value=\"DND\">DND</option>*/}\n {/*<option value=\"TIMEOUT\">TIMEOUT</option>*/}\n {/*<option value=\"IN_SERVICE\">IN_SERVICE</option>*/}\n {/*<option value=\"AFTER_SERVICE\">AFTER_SERVICE</option>*/}\n {/*<option value=\"NONE\">NONE</option>*/}\n </select>\n </div>\n )\n }\n}\n\nexport default ACDStatus;\n","import React from 'react';\n\nclass OfflinePhone extends React.Component {\n render() {\n return (\n <div className=\"operator-phone-offline-phone\">\n Оффлайн\n </div>\n )\n }\n}\n\nexport default OfflinePhone;\n","import React from 'react';\n\nclass OnlinePhone extends React.Component {\n onClickCall = () => {\n const { phoneNumber, callerId } = this.props;\n this.props.startOutcomingCall(phoneNumber, callerId);\n };\n\n onChangePhoneNumber = (event) => {\n this.props.onChangePhoneNumber(event.target.value);\n };\n\n onChangeCallerId = (event) => {\n this.props.onChangeCallerId(event.target.value);\n };\n\n renderPhoneNumbers = () => {\n const { phoneNumbers, callerId } = this.props;\n return (\n <label>\n Звонить Ñ Ð½Ð¾Ð¼ÐµÑ€Ð°\n <select value={callerId} onChange={this.onChangeCallerId}>\n {phoneNumbers.map(phoneNumber => (\n <option value={phoneNumber.number} key={phoneNumber.id}>{phoneNumber.number}</option>\n ))}\n </select>\n </label>\n );\n };\n\n render() {\n const { phoneNumber } = this.props;\n return (\n <div className=\"operator-phone__online-phone\">\n {this.renderPhoneNumbers()}\n\n <label>\n Ðомер куда звонить\n <input type=\"text\" value={phoneNumber} onChange={this.onChangePhoneNumber} style={{display: 'block'}}/>\n </label>\n\n <button className=\"operator-phone-number-input__call-button\" onClick={this.onClickCall}>Позвонить</button>\n </div>\n )\n }\n}\n\nexport default OnlinePhone;\n","import React from 'react';\nimport * as VoxImplant from 'voximplant-websdk';\n\nclass OutcomingPhone extends React.Component {\n state = {\n status: 'calling', // calling, connected, failed\n reason: '',\n duration: 0\n };\n\n componentDidMount() {\n this.callEvents();\n }\n\n componentDidUpdate(prevProps, prevState) {\n if (this.state.status === 'connected' && this.state.status !== prevState.status) {\n this.connectedInterval = setInterval(this.updateDuration, 1000);\n }\n\n if (prevState.status === 'connected' && this.state.status !== prevState.status) {\n clearInterval(this.connectedInterval);\n }\n }\n\n componentWillUnmount() {\n clearInterval(this.connectedInterval);\n }\n\n callEvents = () => {\n const { call } = this.props;\n\n call.on(VoxImplant.CallEvents.Connected, event => {\n console.log(\"CALL.CONNECTED\", event);\n this.setState({ status: 'connected' });\n });\n\n call.on(VoxImplant.CallEvents.Disconnected, event => {\n console.log(\"CALL.DISCONNECTED\", event);\n this.props.onFinished();\n });\n\n call.on(VoxImplant.CallEvents.Failed, event => {\n console.log(\"CALL.FAILED\", event);\n this.setState({ status: 'failed', reason: event.reason });\n });\n\n call.on(VoxImplant.CallEvents.ProgressToneStart, event => {\n console.log(\"CALL.PROGRESS TONE START\", event);\n });\n\n call.on(VoxImplant.CallEvents.ProgressToneStop, event => {\n console.log(\"CALL.PROGRESS TONE STOP\", event);\n });\n };\n\n onClickHangout = () => {\n const { call, onFinished } = this.props\n call.hangup();\n onFinished();\n };\n\n updateDuration = () => {\n const { call } = this.props;\n this.setState({ duration: call.getCallDuration() })\n };\n\n renderDuration = () => {\n const { duration } = this.state;\n const seconds = Math.floor(duration / 1000) % 60;\n const minutes = Math.floor(duration / 60000);\n const formatted = `${('0' + minutes).slice(-2)}:${('0' + seconds).slice(-2)}`;\n return (\n <span>\n {formatted}\n </span>\n );\n };\n\n renderCalling = () => {\n const { call } = this.props;\n return (\n <div>\n Звоним на номер: {call.number()}...\n <br />\n <button onClick={this.onClickHangout}>СброÑить</button>\n </div>\n )\n };\n\n renderConnected = () => {\n const { call } = this.props;\n return (\n <div>\n ДозвонилиÑÑŒ: {call.number()}\n <br />\n {this.renderDuration()}\n <br />\n <button onClick={this.onClickHangout}>СброÑить</button>\n </div>\n )\n };\n\n renderFailed = () => {\n const { reason } = this.state;\n return (\n <div>\n Ошибка: {reason}\n <br />\n <button onClick={() => this.props.onFinished()}>ОК</button>\n </div>\n )\n };\n\n render() {\n const { status } = this.state;\n return (\n <div className=\"operator-phone__outcoming-phone\">\n {status === 'calling' && this.renderCalling()}\n {status === 'connected' && this.renderConnected()}\n {status === 'failed' && this.renderFailed()}\n </div>\n )\n }\n}\n\nexport default OutcomingPhone;\n","import React from 'react';\nimport * as VoxImplant from \"voximplant-websdk\"\n\nclass IncomingPhone extends React.Component {\n state = {\n status: 'calling', // calling, connected\n duration: 0\n };\n\n componentDidMount() {\n this.playRingtone();\n this.callEvents();\n }\n\n componentDidUpdate(prevProps, prevState) {\n if (this.state.status === 'connected' && this.state.status !== prevState.status) {\n this.connectedInterval = setInterval(this.updateDuration, 1000);\n }\n\n if (prevState.status === 'connected' && this.state.status !== prevState.status) {\n clearInterval(this.connectedInterval);\n }\n }\n\n componentWillUnmount() {\n clearInterval(this.connectedInterval);\n }\n\n callEvents = () => {\n const { call } = this.props;\n\n call.on(VoxImplant.CallEvents.Connected, event => {\n console.log(\"CALL.CONNECTED\", event);\n this.stopRingtone();\n this.setState({ status: 'connected' });\n });\n\n call.on(VoxImplant.CallEvents.Disconnected, event => {\n console.log(\"CALL.DISCONNECTED\", event);\n this.stopRingtone();\n this.props.onFinished();\n });\n\n call.on(VoxImplant.CallEvents.Failed, event => {\n // TODO: posible?\n console.log(\"CALL.FAILED\", event);\n });\n\n call.on(VoxImplant.CallEvents.ProgressToneStart, event => {\n console.log(\"CALL.PROGRESS TONE START\", event);\n });\n\n call.on(VoxImplant.CallEvents.ProgressToneStop, event => {\n console.log(\"CALL.PROGRESS TONE STOP\", event);\n });\n };\n\n playRingtone = () => {\n this.ringtone = new Audio('/audio/ringtone.mp3');\n this.ringtone.loop = true;\n this.ringtone.play();\n };\n\n stopRingtone = () => {\n if (!this.ringtone) return;\n this.ringtone.pause();\n };\n\n onClickAnswer = () => {\n const { call } = this.props;\n call.answer();\n };\n\n onClickDecline = () => {\n const { call } = this.props;\n call.decline();\n };\n\n onClickHangup = () => {\n const { call } = this.props;\n call.hangup();\n };\n\n updateDuration = () => {\n const { call } = this.props;\n this.setState({ duration: call.getCallDuration() })\n };\n\n renderDuration = () => {\n const { duration } = this.state;\n const seconds = Math.floor(duration / 1000) % 60;\n const minutes = Math.floor(duration / 60000);\n const formatted = `${('0' + minutes).slice(-2)}:${('0' + seconds).slice(-2)}`;\n return (\n <span>\n {formatted}\n </span>\n );\n };\n\n renderCall = () => {\n const { call } = this.props;\n return (\n <div>\n {call.displayName()}\n </div>\n );\n };\n\n renderCalling = () => {\n return (\n <div>\n ВходÑщий звонок\n <br />\n {this.renderCall()}\n <button onClick={this.onClickAnswer}>ПринÑÑ‚ÑŒ</button>\n <button onClick={this.onClickDecline}>Отклонить</button>\n </div>\n )\n };\n\n renderConnected = () => {\n return (\n <div>\n ВходÑщий звонок принÑÑ‚\n <br />\n {this.renderCall()}\n {this.renderDuration()}\n <br/>\n <button onClick={this.onClickHangup}>СброÑить</button>\n </div>\n )\n };\n\n render() {\n const { status } = this.state;\n return (\n <div className=\"operator-phone__incoming-phone\">\n {status === 'calling' && this.renderCalling()}\n {status === 'connected' && this.renderConnected()}\n </div>\n )\n }\n}\n\nexport default IncomingPhone;\n","import React from 'react';\nimport ACDStatus from './ACDStatus';\nimport OfflinePhone from './OfflinePhone';\nimport OnlinePhone from './OnlinePhone';\nimport OutcomingPhone from './OutcomingPhone';\nimport IncomingPhone from './IncomingPhone';\n\nclass Phone extends React.Component {\n state = {\n phoneNumber: ''\n }\n\n onOutcomingFinished = () => {\n this.props.onChangeStatus('online');\n this.props.onChangeCall(null);\n };\n\n onIncomingFinished = () => {\n this.props.onChangeStatus('online');\n this.props.onChangeCall(null);\n };\n\n renderOffline = () => {\n return (\n <OfflinePhone />\n );\n };\n\n renderOnline = () => {\n const { callerId, phoneNumbers, startOutcomingCall, onChangeCallerId } = this.props;\n const { phoneNumber } = this.state;\n return (\n <OnlinePhone\n phoneNumber={phoneNumber}\n onChangePhoneNumber={(phoneNumber) => this.setState({ phoneNumber })}\n startOutcomingCall={startOutcomingCall}\n phoneNumbers={phoneNumbers}\n callerId={callerId}\n onChangeCallerId={onChangeCallerId}\n />\n );\n };\n\n renderOutcoming = () => {\n const { call } = this.props;\n return (\n <OutcomingPhone\n call={call}\n onFinished={this.onOutcomingFinished}\n />\n );\n };\n\n renderIncoming = () => {\n const { call } = this.props;\n return (\n <IncomingPhone\n call={call}\n onFinished={this.onIncomingFinished}\n />\n );\n };\n\n renderACDStatus = () => {\n if (!this.props.connected) return null;\n return (\n <ACDStatus />\n );\n };\n\n render() {\n const { status } = this.props;\n return (\n <div className=\"operator-phone\">\n {this.renderACDStatus()}\n {status === 'offline' && this.renderOffline()}\n {status === 'online' && this.renderOnline()}\n {status === 'outcoming' && this.renderOutcoming()}\n {status === 'incoming' && this.renderIncoming()}\n </div>\n )\n }\n}\n\nexport default Phone;\n","import React from 'react';\nimport Spinner from 'components/Spinner';\n\nclass Contacts extends React.Component {\n\n onClickContact = (contact) => {\n const { onChangeContact } = this.props;\n onChangeContact(contact);\n };\n\n renderList = () => {\n const { contacts, loading, error } = this.props;\n\n if (loading) return (<Spinner />);\n if (error) return (<div>{error}</div>);\n\n if (contacts.length) {\n return this.renderContacts(contacts);\n } else {\n return this.renderEmptyContacts();\n }\n };\n\n renderContacts = (contacts) => {\n return (\n <>\n {this.renderAllContacts()}\n {contacts.map(this.renderContact)}\n </>\n );\n };\n\n renderEmptyContacts = () => {\n return (\n <div className=\"contacts__empty\">\n ПуÑто\n </div>\n );\n };\n\n renderAllContacts = () => {\n const { selectedContact } = this.props;\n const isSelected = selectedContact === null;\n return (\n <div className={isSelected ? 'contacts__item contacts__item--selected' : 'contacts__item'} onClick={() => this.onClickContact(null)}>\n Ð’Ñе ÑобытиÑ\n </div>\n );\n };\n\n renderContact = (contact) => {\n const { selectedContact } = this.props;\n const isSelected = selectedContact && selectedContact.id === contact.id;\n return (\n <div className={isSelected ? 'contacts__item contacts__item--selected' : 'contacts__item'} key={contact.id} onClick={() => this.onClickContact(contact)}>\n {contact.phone_number}\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"contacts\">\n {this.renderList()}\n </div>\n )\n }\n}\n\nexport default Contacts;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getContacts,\n getLoading,\n getError,\n loadContacts\n} from 'store/contacts';\nimport Contacts from 'components/contacts/Contacts';\n\nclass ContactsContainer extends Component {\n componentDidMount() {\n this.props.loadContacts();\n }\n\n render() {\n const {\n contacts, loading, error,\n selectedContact, onChangeContact\n } = this.props;\n return (\n <Contacts\n contacts={contacts}\n loading={loading}\n error={error}\n selectedContact={selectedContact}\n onChangeContact={onChangeContact}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n contacts: getContacts(state),\n loading: getLoading(state),\n error: getError(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadContacts: () => dispatch(loadContacts()),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ContactsContainer);\n","import React from 'react';\nimport dayjs from 'dayjs';\n\nclass Activity extends React.Component {\n\n renderStartTime = (start_time) => {\n const time = dayjs(start_time);\n return time.format('H:mm:ss D MMM YY');\n };\n\n render() {\n const { contactActivity } = this.props;\n const { session } = contactActivity;\n return (\n <div className=\"contact-activities__item\">\n <strong>\n {session && session.call_incoming ? 'ВходÑщий' : 'ИÑходÑщий'}\n </strong>\n <br/>\n От: {session && session.call_caller_number}\n <br/>\n Кому: {session && session.call_callee_number}\n <br/>\n СтатуÑ: {session && session.result}\n <br/>\n ВремÑ: {session && this.renderStartTime(session.start_time)}\n <br/>\n <audio controls src={session && session.call_record_url} />\n </div>\n )\n }\n}\n\nexport default Activity;\n","import React from 'react';\nimport Spinner from 'components/Spinner';\nimport Activity from './Activity';\n\nclass ContactActivities extends React.Component {\n\n onClickCall = () => {\n const { contact, callPhoneNumber } = this.props;\n callPhoneNumber(contact.phone_number);\n };\n\n renderHeader = () => {\n const { contact } = this.props;\n if (!contact) return null;\n\n return (\n <div className=\"contact-activities__header\">\n <div className=\"contact-activities__header-title\">{contact.phone_number}</div>\n <button onClick={this.onClickCall}>Позвонить</button>\n </div>\n );\n };\n\n renderList = () => {\n const { contactActivities, loading, error } = this.props;\n\n if (loading) return (<Spinner />);\n if (error) return (<div>{error}</div>);\n\n if (contactActivities.length) {\n return this.renderContactActivities(contactActivities);\n } else {\n return this.renderEmptyContactActivities();\n }\n };\n\n renderContactActivities = (contactActivities) => {\n return (\n <div className=\"contact-activities__list\">\n {contactActivities.map(this.renderContactActivity)}\n </div>\n )\n };\n\n renderEmptyContactActivities = () => {\n return (\n <div className=\"contact-activities__empty\">\n Ðет Ñобытий\n </div>\n );\n };\n\n renderContactActivity = (contactActivity) => {\n return (\n <Activity\n key={contactActivity.id}\n contactActivity={contactActivity}\n />\n );\n };\n\n render() {\n return (\n <div className=\"contact-activities\">\n {this.renderHeader()}\n {this.renderList()}\n </div>\n )\n }\n}\n\nexport default ContactActivities;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getContactActivities,\n getLoading,\n getError,\n loadContactActivities\n} from 'store/contact_activities';\nimport ContactActivities from 'components/contact_activities/ContactActivities';\n\nclass ContactActivitiesContainer extends Component {\n componentDidMount() {\n this.props.loadContactActivities(this.contactId());\n }\n\n componentDidUpdate(prevProps, prevState) {\n if (\n this.props.contact !== prevProps.contact\n ) {\n this.props.loadContactActivities(this.contactId());\n }\n }\n\n contactId = () => {\n return this.props.contact && this.props.contact.id;\n };\n\n render() {\n const {\n contactActivities, loading, error,\n contact, callPhoneNumber\n } = this.props;\n return (\n <ContactActivities\n contactActivities={contactActivities}\n loading={loading}\n error={error}\n contact={contact}\n callPhoneNumber={callPhoneNumber}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n contactActivities: getContactActivities(state),\n loading: getLoading(state),\n error: getError(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadContactActivities: (id) => dispatch(loadContactActivities(id)),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ContactActivitiesContainer);\n","import React from 'react';\nimport Phone from './phone/Phone';\nimport ContactsContainer from 'containers/ContactsContainer';\nimport ContactActivitiesContainer from 'containers/ContactActivitiesContainer';\nimport * as VoxImplant from \"voximplant-websdk\";\n\nclass Operator extends React.Component {\n state = {\n callerId: '',\n contact: null,\n connected: false,\n status: 'offline', // offline, online, outcoming, incoming\n call: null\n };\n\n static getDerivedStateFromProps(props, state) {\n if (props.phoneNumbers.length && !state.callerId) {\n return { callerId: props.phoneNumbers[0].number};\n }\n\n return null;\n }\n\n componentDidMount() {\n this.connectToSDK();\n }\n\n componentWillUnmount() {\n const voximplant = VoxImplant.getInstance();\n voximplant.disconnect();\n }\n\n connectToSDK = () => {\n const voximplant = VoxImplant.getInstance();\n\n voximplant.on(VoxImplant.Events.SDKReady, () => {\n console.log(\"SDK.INIT\");\n voximplant.connect();\n });\n\n // SDK initialized\n voximplant.on(VoxImplant.Events.ConnectionEstablished, () => {\n // Connection was established successfully\n console.log(\"SDK.CONNECTED\");\n\n const { operator } = this.props;\n voximplant.login(`${operator.vi_username}@testcall.lenarakhmadeev.voximplant.com`, operator.vi_password);\n });\n\n voximplant.on(VoxImplant.Events.ConnectionFailed, () => {\n // Connection failed\n console.log(\"SDK.FAILED\");\n });\n\n voximplant.on(VoxImplant.Events.ConnectionClosed, () => {\n // Connection was closed\n console.log(\"SDK.CLOSED\");\n });\n\n voximplant.on(VoxImplant.Events.AuthResult, (event) => {\n console.log(\"SDK.AUTH\", event);\n if (event.result) {\n // Authorization success\n this.onConnect();\n } else {\n // Authorization failure\n console.log(\"SDK.AUTH ERR\");\n }\n });\n\n voximplant.on(VoxImplant.Events.IncomingCall, (event) => {\n this.onIncomingCall(event);\n });\n\n voximplant.init();\n };\n\n onConnect = () => {\n this.setState({ connected: true });\n this.onChangeStatus('online');\n };\n\n onDisconnect = () => {\n // try to reconnect\n this.onChangeStatus('offline');\n };\n\n onIncomingCall = (event) => {\n this.onChangeCall(event.call);\n this.onChangeStatus('incoming');\n };\n\n startOutcomingCall = (phoneNumber, callerId) => {\n const { operator } = this.props;\n const customData = {\n callerId: callerId,\n operatorId: operator.id\n };\n const call = VoxImplant.getInstance().call(phoneNumber, false, JSON.stringify(customData));\n\n this.onChangeCall(call);\n this.onChangeStatus('outcoming');\n };\n\n callPhoneNumber = (phoneNumber) => {\n this.startOutcomingCall(phoneNumber, this.state.callerId);\n };\n\n onChangeStatus = (status) => {\n this.setState({ status });\n };\n\n onChangeCall = (call) => {\n this.setState({ call });\n };\n\n onChangeContact = (value) => {\n this.setState({ contact: value });\n };\n\n onChangeCallerId = (value) => {\n this.setState({ callerId: value });\n }\n\n renderPhone = () => {\n const { operator, phoneNumbers } = this.props;\n const { connected, status, call } = this.state\n return (\n <Phone\n call={call}\n status={status}\n connected={connected}\n operator={operator}\n phoneNumbers={phoneNumbers}\n onChangeStatus={this.onChangeStatus}\n onChangeCall={this.onChangeCall}\n onChangeCallerId={this.onChangeCallerId}\n startOutcomingCall={this.startOutcomingCall}\n />\n );\n };\n\n renderFeed = () => {\n return (\n <div className=\"operator__feed\">\n <div className=\"operator__contacts\">\n {this.renderContacts()}\n </div>\n\n <div className=\"operator__contact-activities\">\n {this.renderContactActivities()}\n </div>\n </div>\n );\n };\n\n renderContacts = () => {\n const { contact } = this.state;\n return (\n <ContactsContainer\n selectedContact={contact}\n onChangeContact={this.onChangeContact}\n />\n );\n };\n\n renderContactActivities = () => {\n const { contact } = this.state;\n return (\n <ContactActivitiesContainer\n contact={contact}\n callPhoneNumber={this.callPhoneNumber}\n />\n );\n };\n\n render() {\n const { operator } = this.props;\n return (\n <div className=\"operator\">\n <h1>Рабочее меÑто оператора {operator.username}</h1>\n {this.renderPhone()}\n {this.renderFeed()}\n </div>\n )\n }\n}\n\nexport default Operator;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getOperator,\n getLoading,\n getError,\n loadOperator\n} from 'store/operator';\nimport {\n loadPhoneNumbers,\n getPhoneNumbers,\n} from 'store/phone_numbers';\nimport Operator from 'components/operator/Operator';\nimport Spinner from 'components/Spinner';\n\nclass OperatorContainer extends Component {\n componentDidMount() {\n this.props.loadOperator();\n this.props.loadPhoneNumbers();\n }\n\n renderOperator = () => {\n const { operator, phoneNumbers } = this.props;\n return (\n <Operator\n operator={operator}\n phoneNumbers={phoneNumbers}\n />\n );\n };\n\n renderNoOperator = () => {\n const { loading, error } = this.props;\n if (loading) {\n return (<Spinner />);\n }\n\n if (error) {\n return (<div>{error}</div>);\n }\n\n return null;\n };\n\n render() {\n const { operator} = this.props;\n return operator ? this.renderOperator() : this.renderNoOperator();\n }\n}\n\nconst mapStateToProps = state => ({\n operator: getOperator(state),\n loading: getLoading(state),\n error: getError(state),\n phoneNumbers: getPhoneNumbers(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadOperator: () => dispatch(loadOperator()),\n loadPhoneNumbers: () => dispatch(loadPhoneNumbers())\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(OperatorContainer);\n","import React from 'react';\nimport dayjs from 'dayjs';\nimport RangePicker from 'components/RangePicker';\n\nclass Dashboard extends React.Component {\n state = {\n from: dayjs().subtract(30, 'day').toDate(),\n to: dayjs().toDate()\n };\n\n componentDidMount() {\n const { from, to } = this.state;\n this.props.loadCalls(from, to);\n }\n\n onChangeRange = (range) => {\n const [from, to] = range;\n this.setState({ from, to });\n this.props.loadCalls(from, to);\n };\n\n renderRangePicker = () => {\n const { from, to } = this.state;\n return (\n <div className=\"dashboard__range\">\n <RangePicker\n range={[from, to]}\n onChange={this.onChangeRange}\n />\n </div>\n );\n };\n\n renderCalls = () => {\n const { calls } = this.props;\n return (\n <div>\n {JSON.stringify(calls)}\n </div>\n );\n };\n\n render() {\n return (\n <div className=\"dashboard\">\n <h1>Дешборд</h1>\n {this.renderRangePicker()}\n {this.renderCalls()}\n </div>\n );\n }\n}\n\nexport default Dashboard;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport Dashboard from 'components/dashboard/Dashboard';\nimport {\n loadCalls,\n getCalls,\n getCallsLoading,\n getCallsError\n} from 'store/dashboard';\n\nclass DashboardContainer extends Component {\n render() {\n const { calls, calls_loading, calls_error, loadCalls } = this.props;\n return (\n <Dashboard\n calls={calls}\n calls_loading={calls_loading}\n calls_error={calls_error}\n loadCalls={loadCalls}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n calls: getCalls(state),\n calls_loading: getCallsLoading(state),\n calls_error: getCallsError(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadCalls: (from, to) => dispatch(loadCalls(from, to))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(DashboardContainer);\n","import React from 'react';\n\nclass Integrations extends React.Component {\n onChange = (event) => {\n const { features, updateFeatures } = this.props;\n updateFeatures({ ...features, klientiks_crm: event.target.checked });\n };\n\n render() {\n const { features } = this.props;\n return (\n <div className=\"integrations\">\n <h1>Интеграции</h1>\n\n <div className=\"integrations__wrap\">\n <label>\n <input type=\"checkbox\" checked={!!features.klientiks_crm} onChange={this.onChange} />\n ÐšÐ»Ð¸ÐµÐ½Ñ‚Ð¸ÐºÑ CRM\n </label>\n </div>\n </div>\n );\n }\n}\n\nexport default Integrations;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getFeatures,\n updateFeatures\n} from 'store/features';\nimport Integrations from 'components/integrations/Integrations';\n\nclass IntegrationsContainer extends Component {\n render() {\n const { features, updateFeatures } = this.props;\n return (\n <Integrations\n features={features}\n updateFeatures={updateFeatures}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n features: getFeatures(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n updateFeatures: (features) => dispatch(updateFeatures(features))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(IntegrationsContainer);\n","import React from 'react';\n\nclass OperatorPreview extends React.Component {\n onClickDelete = () => {\n const { operator, deleteOperator } = this.props;\n const answer = confirm('Ð’Ñ‹ уверены?');\n if (answer) {\n deleteOperator(operator.id);\n }\n };\n\n render() {\n const { operator } = this.props;\n return (\n <tr className=\"operator-preview\">\n <td>\n {operator.id}\n </td>\n\n <td>\n {operator.username}\n </td>\n\n <td>\n {operator.user.email}\n </td>\n\n <td style={{width: '1px'}}>\n <div className=\"operator-preview__controls\">\n <button className=\"button--secondary\" onClick={this.onClickDelete}>Удалить</button>\n </div>\n </td>\n </tr>\n );\n }\n}\n\nexport default OperatorPreview;\n","import React from 'react';\n\nclass AddOperator extends React.Component {\n state = {\n username: '',\n email: '',\n password: '',\n error: null,\n loading: false\n };\n\n onSubmit = (event) => {\n event.preventDefault();\n\n const { username, email, password } = this.state;\n const { onFinish } = this.props;\n\n this.setState({ loading: true, error: null });\n const request = this.props.createOperator({ username, email, password });\n\n request.then(response => {\n this.setState({ loading: false });\n onFinish(response);\n });\n\n request.catch(error => {\n this.setState({ loading: false, error: error });\n });\n };\n\n onChangeUsername = (event) => {\n this.setState({ username: event.target.value });\n };\n\n onChangeEmail = (event) => {\n this.setState({ email: event.target.value });\n };\n\n onChangePassword = (event) => {\n this.setState({ password: event.target.value });\n };\n\n renderButtons = () => {\n const { loading } = this.state;\n return (\n <div>\n {loading &&\n <button disabled>Загружаем...</button>\n }\n\n {!loading &&\n <button>Добавить оператора</button>\n }\n </div>\n );\n };\n\n renderError = () => {\n const { error } = this.state;\n return (\n <div>\n {error}\n </div>\n );\n };\n\n renderForm = () => {\n const { username, email, password } = this.state;\n return (\n <form action=\"#\" onSubmit={this.onSubmit}>\n <label>\n ИмÑ\n <input type=\"text\" value={username} onChange={this.onChangeUsername} required={true} />\n </label>\n\n <label>\n Email\n <input type=\"text\" value={email} onChange={this.onChangeEmail} required={true} />\n </label>\n\n <label>\n Пароль\n <input type=\"text\" value={password} onChange={this.onChangePassword} required={true} />\n </label>\n\n {this.renderButtons()}\n </form>\n );\n };\n\n render() {\n return (\n <div className=\"operators-add-operator\">\n <h2>Добавление оператора</h2>\n {this.renderError()}\n {this.renderForm()}\n </div>\n );\n }\n}\n\nexport default AddOperator;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport AddOperator from 'components/add_operator/AddOperator';\nimport {\n createOperator,\n} from 'store/operators';\n\nclass AddOperatorContainer extends Component {\n render() {\n const { onFinish, createOperator } = this.props;\n return (\n <AddOperator\n onFinish={onFinish}\n createOperator={createOperator}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n\n});\n\nconst mapDispatchToProps = dispatch => ({\n createOperator: (operator) => dispatch(createOperator(operator))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AddOperatorContainer);\n","import React from 'react';\nimport Tip from 'components/Tip';\nimport Modal from 'components/Modal';\nimport AddOperatorContainer from 'containers/AddOperatorContainer';\n\nclass Actions extends React.Component {\n state = {\n isOpenModal: false\n };\n\n openModal = () => {\n this.setState({ isOpenModal: true });\n };\n\n closeModal = () => {\n this.setState({ isOpenModal: false });\n };\n\n onClickNew = () => {\n this.openModal();\n };\n\n onFinishAddOperator = (operator) => {\n this.props.loadOperators();\n this.closeModal();\n };\n\n renderModal = () => {\n const { isOpenModal } = this.state;\n return (\n <Modal\n isOpen={isOpenModal}\n onClose={this.closeModal}\n >\n <AddOperatorContainer\n onFinish={this.onFinishAddOperator}\n />\n </Modal>\n );\n };\n\n render() {\n return (\n <div className=\"operators__actions\">\n <button onClick={this.onClickNew}>Добавить Оператора</button>\n\n <div className=\"operators__actions-tip\">\n <Tip>\n ЗдеÑÑŒ вы можете Ñоздать аккаунты Операторов\n </Tip>\n </div>\n\n {this.renderModal()}\n </div>\n );\n }\n}\n\nexport default Actions;\n","import React from 'react';\nimport Spinner from 'components/Spinner';\nimport OperatorPreview from './OperatorPreview';\nimport Actions from './Actions';\n\nclass Operators extends React.Component {\n componentDidMount() {\n this.props.loadOperators();\n }\n\n renderList = () => {\n const { operators, loading, error } = this.props;\n\n if (loading) return (<Spinner />);\n if (error) return (<div>{error}</div>);\n\n if (operators.length) {\n return this.renderOperators(operators);\n } else {\n return this.renderEmptyOperators();\n }\n };\n\n renderActions = () => {\n const { loadOperators } = this.props;\n return (\n <Actions\n loadOperators={loadOperators}\n />\n );\n };\n\n renderEmptyOperators = () => {\n return (\n <div className=\"operators__empty\">\n У Ð²Ð°Ñ Ð¿Ð¾ÐºÐ° нет ни одного Оператора.\n </div>\n );\n };\n\n renderOperators = (operators) => {\n return (\n <div className=\"operators__list\">\n <table>\n <tbody>\n <tr>\n <th>Id</th>\n <th>ИмÑ</th>\n <th>Email</th>\n <th></th>\n </tr>\n {operators.map(this.renderOperator)}\n </tbody>\n </table>\n </div>\n );\n };\n\n renderOperator = (operator) => {\n const { deleteOperator } = this.props;\n return (\n <OperatorPreview\n key={operator.id}\n operator={operator}\n deleteOperator={deleteOperator}\n />\n );\n };\n\n render() {\n return (\n <div className=\"operators\">\n <h1>Операторы</h1>\n <div className=\"operators__wrap\">\n {this.renderActions()}\n {this.renderList()}\n </div>\n </div>\n )\n }\n}\n\nexport default Operators;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getOperators,\n getLoading,\n getError,\n loadOperators,\n deleteOperator\n} from 'store/operators';\nimport Operators from 'components/operators/Operators';\n\nclass OperatorsContainer extends Component {\n render() {\n const {\n operators, loading, error, loadOperators, deleteOperator\n } = this.props;\n return (\n <Operators\n operators={operators}\n loading={loading}\n error={error}\n loadOperators={loadOperators}\n deleteOperator={deleteOperator}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n operators: getOperators(state),\n loading: getLoading(state),\n error: getError(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadOperators: () => dispatch(loadOperators()),\n deleteOperator: (id) => dispatch(deleteOperator(id))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(OperatorsContainer);\n","import React from 'react';\n\nclass AcdQueuePreview extends React.Component {\n onClickDelete = () => {\n const { acdQueue, deleteAcdQueue } = this.props;\n const answer = confirm('Ð’Ñ‹ уверены?');\n if (answer) {\n deleteAcdQueue(acdQueue.id);\n }\n };\n\n render() {\n const { acdQueue } = this.props;\n return (\n <tr className=\"acd-queue-preview\">\n <td>\n {acdQueue.id}\n </td>\n\n <td>\n {acdQueue.name}\n </td>\n\n <td>\n {acdQueue.operators.map(operator => (\n <div>\n {operator.username}\n </div>\n ))}\n </td>\n\n <td style={{width: '1px'}}>\n <div className=\"acd-queue-preview__controls\">\n <button className=\"button--secondary\" onClick={this.onClickDelete}>Удалить</button>\n </div>\n </td>\n </tr>\n );\n }\n}\n\nexport default AcdQueuePreview;\n","import React from 'react';\n\nclass AddAcdQueue extends React.Component {\n state = {\n name: '',\n operatorsIds: [],\n error: null,\n loading: false\n };\n\n onSubmit = (event) => {\n event.preventDefault();\n\n const { name, operatorsIds } = this.state;\n const { onFinish } = this.props;\n\n this.setState({ loading: true, error: null });\n const request = this.props.createAcdQueue({ name }, operatorsIds);\n\n request.then(response => {\n this.setState({ loading: false });\n onFinish(response);\n });\n\n request.catch(error => {\n this.setState({ loading: false, error: error });\n });\n };\n\n onChangeName = (event) => {\n this.setState({ name: event.target.value });\n };\n\n onChangeOperatorsIds = (value) => {\n this.setState({ operatorsIds: value });\n };\n\n renderButtons = () => {\n const { loading } = this.state;\n return (\n <div>\n {loading &&\n <button disabled>Загружаем...</button>\n }\n\n {!loading &&\n <button>Добавить очередь</button>\n }\n </div>\n );\n };\n\n renderError = () => {\n const { error } = this.state;\n return (\n <div>\n {error}\n </div>\n );\n };\n\n renderOperatorsSelect = () => {\n const { operators } = this.props;\n const { operatorsIds } = this.state;\n\n const isChecked = (operator) => {\n return operatorsIds.includes(operator.id);\n };\n\n const changeChecked = (operator, checked) => {\n if (checked) {\n this.onChangeOperatorsIds([...operatorsIds, operator.id]);\n } else {\n this.onChangeOperatorsIds(operatorsIds.filter(id => id !== operator.id));\n }\n };\n\n return (\n <label>\n Операторы\n {operators.map(operator => (\n <label key={operator.id}>\n <input type=\"checkbox\" checked={isChecked(operator)} onChange={(e) => changeChecked(operator, e.target.checked)} style={{ display: 'inline-block' }}/>\n {operator.username}\n </label>\n ))}\n </label>\n );\n };\n\n renderForm = () => {\n const { name } = this.state;\n return (\n <form action=\"#\" onSubmit={this.onSubmit}>\n <label>\n ИмÑ\n <input type=\"text\" value={name} onChange={this.onChangeName} required={true} />\n </label>\n\n {this.renderOperatorsSelect()}\n {this.renderButtons()}\n </form>\n );\n };\n\n render() {\n return (\n <div className=\"acd-queues-add-queue\">\n <h2>Добавление очереди</h2>\n {this.renderError()}\n {this.renderForm()}\n </div>\n );\n }\n}\n\nexport default AddAcdQueue;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport AddAcdQueue from 'components/add_acd_queue/AddAcdQueue';\nimport {\n createAcdQueue,\n} from 'store/acd_queues';\nimport {\n getOperators,\n loadOperators\n} from 'store/operators';\n\nclass AddAcdQueueContainer extends Component {\n componentDidMount() {\n this.props.loadOperators();\n }\n\n render() {\n const {\n onFinish, createAcdQueue,\n operators\n } = this.props;\n return (\n <AddAcdQueue\n onFinish={onFinish}\n createAcdQueue={createAcdQueue}\n operators={operators}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n operators: getOperators(state)\n});\n\nconst mapDispatchToProps = dispatch => ({\n createAcdQueue: (acdQueue, operatorsIds) => dispatch(createAcdQueue(acdQueue, operatorsIds)),\n loadOperators: () => dispatch(loadOperators())\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AddAcdQueueContainer);\n","import React from 'react';\nimport Tip from 'components/Tip';\nimport Modal from 'components/Modal';\nimport AddAcdQueueContainer from 'containers/AddAcdQueueContainer';\n\nclass Actions extends React.Component {\n state = {\n isOpenModal: false\n };\n\n openModal = () => {\n this.setState({ isOpenModal: true });\n };\n\n closeModal = () => {\n this.setState({ isOpenModal: false });\n };\n\n onClickNew = () => {\n this.openModal();\n };\n\n onFinishAddAcdQueue = (acdQueue) => {\n this.props.loadAcdQueues();\n this.closeModal();\n };\n\n renderModal = () => {\n const { isOpenModal } = this.state;\n return (\n <Modal\n isOpen={isOpenModal}\n onClose={this.closeModal}\n >\n <AddAcdQueueContainer\n onFinish={this.onFinishAddAcdQueue}\n />\n </Modal>\n );\n };\n\n render() {\n return (\n <div className=\"acd-queues__actions\">\n <button onClick={this.onClickNew}>Добавить Очередь</button>\n\n <div className=\"acd-queues__actions-tip\">\n <Tip>\n ЗдеÑÑŒ вы можете Ñоздать Очереди\n </Tip>\n </div>\n\n {this.renderModal()}\n </div>\n );\n }\n}\n\nexport default Actions;\n","import React from 'react';\nimport Spinner from 'components/Spinner';\nimport AcdQueuePreview from './AcdQueuePreview';\nimport Actions from './Actions';\n\nclass AcdQueues extends React.Component {\n componentDidMount() {\n this.props.loadAcdQueues();\n }\n\n renderList = () => {\n const { acdQueues, loading, error } = this.props;\n\n if (loading) return (<Spinner />);\n if (error) return (<div>{error}</div>);\n\n if (acdQueues.length) {\n return this.renderAcdQueues(acdQueues);\n } else {\n return this.renderEmptyAcdQueues();\n }\n };\n\n renderActions = () => {\n const { loadAcdQueues } = this.props;\n return (\n <Actions\n loadAcdQueues={loadAcdQueues}\n />\n );\n };\n\n renderEmptyAcdQueues = () => {\n return (\n <div className=\"acd-queues__empty\">\n У Ð²Ð°Ñ Ð¿Ð¾ÐºÐ° нет ни одной Очереди.\n </div>\n );\n };\n\n renderAcdQueues = (acdQueues) => {\n return (\n <div className=\"acd-queues__list\">\n <table>\n <tbody>\n <tr>\n <th>Id</th>\n <th>ИмÑ</th>\n <th>Операторы</th>\n <th></th>\n </tr>\n {acdQueues.map(this.renderAcdQueue)}\n </tbody>\n </table>\n </div>\n );\n };\n\n renderAcdQueue = (acdQueue) => {\n const { deleteAcdQueue } = this.props;\n return (\n <AcdQueuePreview\n key={acdQueue.id}\n acdQueue={acdQueue}\n deleteAcdQueue={deleteAcdQueue}\n />\n );\n };\n\n render() {\n return (\n <div className=\"acd-queues\">\n <h1>Очереди</h1>\n <div className=\"acd-queues__wrap\">\n {this.renderActions()}\n {this.renderList()}\n </div>\n </div>\n )\n }\n}\n\nexport default AcdQueues;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport {\n getAcdQueues,\n getLoading,\n getError,\n loadAcdQueues,\n deleteAcdQueue\n} from 'store/acd_queues';\nimport AcdQueues from 'components/acd_queues/AcdQueues';\n\nclass AcdQueuesContainer extends Component {\n render() {\n const {\n acdQueues, loading, error, loadAcdQueues, deleteAcdQueue\n } = this.props;\n return (\n <AcdQueues\n acdQueues={acdQueues}\n loading={loading}\n error={error}\n loadAcdQueues={loadAcdQueues}\n deleteAcdQueue={deleteAcdQueue}\n />\n );\n }\n}\n\nconst mapStateToProps = state => ({\n acdQueues: getAcdQueues(state),\n loading: getLoading(state),\n error: getError(state),\n});\n\nconst mapDispatchToProps = dispatch => ({\n loadAcdQueues: () => dispatch(loadAcdQueues()),\n deleteAcdQueue: (id) => dispatch(deleteAcdQueue(id))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AcdQueuesContainer);\n","import React from 'react'\nimport { BrowserRouter, Switch, Route, Redirect } from 'react-router-dom';\nimport ScrollToTop from 'components/ScrollToTop';\nimport AuthenticateContainer from 'containers/AuthenticateContainer';\nimport FeaturesLoaderContainer from 'containers/FeaturesLoaderContainer';\nimport RegistrationContainer from 'containers/RegistrationContainer';\nimport TopMenuContainer from 'containers/TopMenuContainer';\nimport LoginContainer from 'containers/LoginContainer';\nimport ProfileContainer from 'containers/ProfileContainer';\nimport ScenariosContainer from 'containers/ScenariosContainer';\nimport CallListsContainer from 'containers/CallListsContainer';\nimport ScenarioContainer from 'containers/ScenarioContainer';\nimport CallListContainer from 'containers/CallListContainer';\nimport NewCallListContainer from 'containers/NewCallListContainer';\nimport PhoneNumbersContainer from 'containers/PhoneNumbersContainer';\nimport CallsContainer from 'containers/CallsContainer';\nimport OperatorContainer from 'containers/OperatorContainer';\nimport DashboardContainer from 'containers/DashboardContainer';\nimport IntegrationsContainer from 'containers/IntegrationsContainer';\nimport OperatorsContainer from 'containers/OperatorsContainer';\nimport AcdQueuesContainer from 'containers/AcdQueuesContainer';\n\nconst App = props => {\n return (\n <AuthenticateContainer\n authenticated={\n <BrowserRouter>\n <FeaturesLoaderContainer />\n <TopMenuContainer />\n <ScrollToTop>\n <Switch>\n <Route exact path=\"/app/profile\" component={ProfileContainer} />\n <Route exact path=\"/app/scenarios\" component={ScenariosContainer} />\n\n <Route exact path=\"/app/scenarios/:id\" render={props =>\n <ScenarioContainer\n scenarioId={props.match.params.id}\n />\n }/>\n\n <Route exact path=\"/app/call_lists\" component={CallListsContainer} />\n <Route exact path=\"/app/call_lists/new\" component={NewCallListContainer} />\n\n <Route exact path=\"/app/call_lists/:id(\\d+)\" render={props =>\n <CallListContainer\n callListId={props.match.params.id}\n />\n }/>\n\n <Route exact path=\"/app/phone_numbers\" component={PhoneNumbersContainer} />\n <Route exact path=\"/app/calls\" component={CallsContainer} />\n <Route exact path=\"/app/operator\" component={OperatorContainer} />\n <Route exact path=\"/app/operators\" component={OperatorsContainer} />\n <Route exact path=\"/app/acd_queues\" component={AcdQueuesContainer} />\n <Route exact path=\"/app/dashboard\" component={DashboardContainer} />\n <Route exact path=\"/app/integrations\" component={IntegrationsContainer} />\n\n <Route path=\"*\" render={props =>\n <Redirect push to=\"/app/call_lists\" />\n }/>\n </Switch>\n </ScrollToTop>\n </BrowserRouter>\n }\n unauthenticated={\n <BrowserRouter>\n <ScrollToTop>\n <Switch>\n <Route exact path=\"/app/login\" component={LoginContainer} />\n <Route exact path=\"/app/registration\" component={RegistrationContainer} />\n\n <Route path=\"*\" render={props =>\n <Redirect push to=\"/app/login\" />\n }/>\n </Switch>\n </ScrollToTop>\n </BrowserRouter>\n }\n />\n );\n};\n\nexport default App;\n","import React from 'react'\nimport ReactDOM from 'react-dom'\nimport { Provider } from 'react-redux';\nimport dayjs from 'dayjs';\nimport 'dayjs/locale/ru';\nimport configureStore from 'configureStore';\nimport App from 'App';\n\nimport 'styles/web_app';\ndayjs.locale('ru');\n\nconst store = configureStore();\n\ndocument.addEventListener('DOMContentLoaded', () => {\n ReactDOM.render(\n <Provider store={store}>\n <App />\n </Provider>,\n document.body.appendChild(document.createElement('div')),\n )\n});\n"],"sourceRoot":""}